A free open source IT asset/license management system
Merge branch 'develop' into snipeit_v7_laravel10
Brady Wetherington8b52bad16f19
diff --cc composer.jsonindex 408e93e488,20d76a1d91..ec48f460a5--- a/composer.json+++ b/composer.json@@@ -54,18 -66,20 +54,19 @@@"phpdocumentor/reflection-docblock": "^5.1","phpspec/prophecy": "^1.10","pragmarx/google2fa-laravel": "^1.3",- "rollbar/rollbar-laravel": "^7.0",- "spatie/laravel-backup": "^6.16",- "symfony/polyfill-mbstring": "^1.22",+ "rollbar/rollbar-laravel": "^8.0",+ "spatie/laravel-backup": "^8.0","tecnickcom/tc-lib-barcode": "^1.15",+ "tecnickcom/tcpdf": "^6.5","unicodeveloper/laravel-password": "^1.0",- "watson/validating": "^6.1"+ "watson/validating": "^8.1"},"require-dev": {- "brianium/paratest": "^6.6",+ "brianium/paratest": "^v6.4.4","fakerphp/faker": "^1.16",- "laravel/dusk": "^6.25",+ "laravel/dusk": "^v7.9.0","mockery/mockery": "^1.4",- "nunomaduro/larastan": "^1.0",+ "nunomaduro/larastan": "^2.0","nunomaduro/phpinsights": "^2.7","phpunit/php-token-stream": "^3.1","phpunit/phpunit": "^9.0",diff --cc composer.lockindex 8352954fe4,6221937a3d..911723bb53--- a/composer.lock+++ b/composer.lock@@@ -4,7 -4,7 +4,7 @@@"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies","This file is @generated automatically"],- "content-hash": "13b994417396cd9249640d9dfce1b394",- "content-hash": "f30d1bebf56af36eb55a56d093b54650",++ "content-hash": "7ae0b408bfe4312a67752d97db504e3b","packages": [{"name": "alek13/slack",@@@ -188,16 -243,16 +188,16 @@@},{"name": "aws/aws-sdk-php",- "version": "3.277.4",- "version": "3.231.12",++ "version": "3.278.3","source": {"type": "git","url": "https://github.com/aws/aws-sdk-php.git",- "reference": "9f36e76a3e1f8c7eba8cacbfa1d5f1257cd04241"- "reference": "8f8742caa42b260950320c98ddc5da4926e2373d"++ "reference": "596534c0627d8b38597061341e99b460437d1a16"},"dist": {"type": "zip",- "url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/9f36e76a3e1f8c7eba8cacbfa1d5f1257cd04241",- "reference": "9f36e76a3e1f8c7eba8cacbfa1d5f1257cd04241",- "url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/8f8742caa42b260950320c98ddc5da4926e2373d",- "reference": "8f8742caa42b260950320c98ddc5da4926e2373d",++ "url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/596534c0627d8b38597061341e99b460437d1a16",++ "reference": "596534c0627d8b38597061341e99b460437d1a16","shasum": ""},"require": {@@@ -277,9 -329,9 +277,9 @@@"support": {"forum": "https://forums.aws.amazon.com/forum.jspa?forumID=80","issues": "https://github.com/aws/aws-sdk-php/issues",- "source": "https://github.com/aws/aws-sdk-php/tree/3.277.4"- "source": "https://github.com/aws/aws-sdk-php/tree/3.231.12"++ "source": "https://github.com/aws/aws-sdk-php/tree/3.278.3"},- "time": "2023-07-28T22:10:53+00:00"- "time": "2022-07-22T18:19:47+00:00"++ "time": "2023-08-15T18:07:55+00:00"},{"name": "bacon/bacon-qr-code",@@@ -337,16 -389,16 +337,16 @@@},{"name": "barryvdh/laravel-debugbar",- "version": "v3.8.1",- "version": "v3.7.0",++ "version": "v3.8.2","source": {"type": "git","url": "https://github.com/barryvdh/laravel-debugbar.git",- "reference": "aff3235fecb4104203b1e62c32239c56530eee32"- "reference": "3372ed65e6d2039d663ed19aa699956f9d346271"++ "reference": "56a2dc1da9d3219164074713983eef68996386cf"},"dist": {"type": "zip",- "url": "https://api.github.com/repos/barryvdh/laravel-debugbar/zipball/aff3235fecb4104203b1e62c32239c56530eee32",- "reference": "aff3235fecb4104203b1e62c32239c56530eee32",- "url": "https://api.github.com/repos/barryvdh/laravel-debugbar/zipball/3372ed65e6d2039d663ed19aa699956f9d346271",- "reference": "3372ed65e6d2039d663ed19aa699956f9d346271",++ "url": "https://api.github.com/repos/barryvdh/laravel-debugbar/zipball/56a2dc1da9d3219164074713983eef68996386cf",++ "reference": "56a2dc1da9d3219164074713983eef68996386cf","shasum": ""},"require": {@@@ -405,7 -457,7 +405,7 @@@],"support": {"issues": "https://github.com/barryvdh/laravel-debugbar/issues",- "source": "https://github.com/barryvdh/laravel-debugbar/tree/v3.8.1"- "source": "https://github.com/barryvdh/laravel-debugbar/tree/v3.7.0"++ "source": "https://github.com/barryvdh/laravel-debugbar/tree/v3.8.2"},"funding": [{@@@ -417,7 -469,7 +417,7 @@@"type": "github"}],- "time": "2023-02-21T14:21:02+00:00"- "time": "2022-07-11T09:26:42+00:00"++ "time": "2023-07-26T04:57:49+00:00"},{"name": "barryvdh/laravel-dompdf",@@@ -1394,16 -1872,16 +1394,16 @@@},{"name": "dragonmantank/cron-expression",- "version": "v3.3.2",- "version": "v3.3.1",++ "version": "v3.3.3","source": {"type": "git","url": "https://github.com/dragonmantank/cron-expression.git",- "reference": "782ca5968ab8b954773518e9e49a6f892a34b2a8"- "reference": "be85b3f05b46c39bbc0d95f6c071ddff669510fa"++ "reference": "adfb1f505deb6384dc8b39804c5065dd3c8c8c0a"},"dist": {"type": "zip",- "url": "https://api.github.com/repos/dragonmantank/cron-expression/zipball/782ca5968ab8b954773518e9e49a6f892a34b2a8",- "reference": "782ca5968ab8b954773518e9e49a6f892a34b2a8",- "url": "https://api.github.com/repos/dragonmantank/cron-expression/zipball/be85b3f05b46c39bbc0d95f6c071ddff669510fa",- "reference": "be85b3f05b46c39bbc0d95f6c071ddff669510fa",++ "url": "https://api.github.com/repos/dragonmantank/cron-expression/zipball/adfb1f505deb6384dc8b39804c5065dd3c8c8c0a",++ "reference": "adfb1f505deb6384dc8b39804c5065dd3c8c8c0a","shasum": ""},"require": {@@@ -1443,7 -1921,7 +1443,7 @@@],"support": {"issues": "https://github.com/dragonmantank/cron-expression/issues",- "source": "https://github.com/dragonmantank/cron-expression/tree/v3.3.2"- "source": "https://github.com/dragonmantank/cron-expression/tree/v3.3.1"++ "source": "https://github.com/dragonmantank/cron-expression/tree/v3.3.3"},"funding": [{@@@ -1451,7 -1929,7 +1451,7 @@@"type": "github"}],- "time": "2022-09-10T18:51:20+00:00"- "time": "2022-01-18T15:43:28+00:00"++ "time": "2023-08-10T19:36:49+00:00"},{"name": "eduardokum/laravel-mail-auto-embed",@@@ -2158,16 -2948,16 +2158,16 @@@},{"name": "guzzlehttp/psr7",- "version": "2.5.0",- "version": "2.4.0",++ "version": "2.6.0","source": {"type": "git","url": "https://github.com/guzzle/psr7.git",- "reference": "b635f279edd83fc275f822a1188157ffea568ff6"- "reference": "13388f00956b1503577598873fffb5ae994b5737"++ "reference": "8bd7c33a0734ae1c5d074360512beb716bef3f77"},"dist": {"type": "zip",- "url": "https://api.github.com/repos/guzzle/psr7/zipball/b635f279edd83fc275f822a1188157ffea568ff6",- "reference": "b635f279edd83fc275f822a1188157ffea568ff6",- "url": "https://api.github.com/repos/guzzle/psr7/zipball/13388f00956b1503577598873fffb5ae994b5737",- "reference": "13388f00956b1503577598873fffb5ae994b5737",++ "url": "https://api.github.com/repos/guzzle/psr7/zipball/8bd7c33a0734ae1c5d074360512beb716bef3f77",++ "reference": "8bd7c33a0734ae1c5d074360512beb716bef3f77","shasum": ""},"require": {@@@ -2254,7 -3043,7 +2254,7 @@@],"support": {"issues": "https://github.com/guzzle/psr7/issues",- "source": "https://github.com/guzzle/psr7/tree/2.5.0"- "source": "https://github.com/guzzle/psr7/tree/2.4.0"++ "source": "https://github.com/guzzle/psr7/tree/2.6.0"},"funding": [{@@@ -2270,15 -3059,15 +2270,15 @@@"type": "tidelift"}],- "time": "2023-04-17T16:11:26+00:00"- "time": "2022-06-20T21:43:11+00:00"++ "time": "2023-08-03T15:06:02+00:00"},{- "name": "intervention/image",- "version": "2.7.2",+ "name": "guzzlehttp/uri-template",+ "version": "v1.0.1","source": {"type": "git",- "url": "https://github.com/Intervention/image.git",- "reference": "04be355f8d6734c826045d02a1079ad658322dad"+ "url": "https://github.com/guzzle/uri-template.git",+ "reference": "b945d74a55a25a949158444f09ec0d3c120d69e2"},"dist": {"type": "zip",@@@ -2476,58 -3181,49 +2476,59 @@@},{"name": "laravel/framework",- "version": "v10.16.1",- "version": "v8.83.22",++ "version": "v10.19.0","source": {"type": "git","url": "https://github.com/laravel/framework.git",- "reference": "5c93d2795c393b462481179ce42dedfb30cc19b5"- "reference": "96aecced5126d48e277e5339193c376fe82b6565"++ "reference": "b8557e4a708a1bd2bc8229bd53feecfa2ac1c6fb"},"dist": {"type": "zip",- "url": "https://api.github.com/repos/laravel/framework/zipball/5c93d2795c393b462481179ce42dedfb30cc19b5",- "reference": "5c93d2795c393b462481179ce42dedfb30cc19b5",- "url": "https://api.github.com/repos/laravel/framework/zipball/96aecced5126d48e277e5339193c376fe82b6565",- "reference": "96aecced5126d48e277e5339193c376fe82b6565",++ "url": "https://api.github.com/repos/laravel/framework/zipball/b8557e4a708a1bd2bc8229bd53feecfa2ac1c6fb",++ "reference": "b8557e4a708a1bd2bc8229bd53feecfa2ac1c6fb","shasum": ""},"require": {- "doctrine/inflector": "^1.4|^2.0",- "dragonmantank/cron-expression": "^3.0.2",- "egulias/email-validator": "^2.1.10",- "ext-json": "*",+ "brick/math": "^0.9.3|^0.10.2|^0.11",+ "composer-runtime-api": "^2.2",+ "doctrine/inflector": "^2.0.5",+ "dragonmantank/cron-expression": "^3.3.2",+ "egulias/email-validator": "^3.2.1|^4.0",+ "ext-ctype": "*",+ "ext-filter": "*",+ "ext-hash": "*","ext-mbstring": "*","ext-openssl": "*",- "laravel/serializable-closure": "^1.0",- "league/commonmark": "^1.3|^2.0.2",- "league/flysystem": "^1.1",- "monolog/monolog": "^2.0",- "nesbot/carbon": "^2.53.1",- "opis/closure": "^3.6",- "php": "^7.3|^8.0",- "psr/container": "^1.0",- "psr/log": "^1.0|^2.0",- "psr/simple-cache": "^1.0",- "ramsey/uuid": "^4.2.2",- "swiftmailer/swiftmailer": "^6.3",- "symfony/console": "^5.4",- "symfony/error-handler": "^5.4",- "symfony/finder": "^5.4",- "symfony/http-foundation": "^5.4",- "symfony/http-kernel": "^5.4",- "symfony/mime": "^5.4",- "symfony/process": "^5.4",- "symfony/routing": "^5.4",- "symfony/var-dumper": "^5.4",- "tijsverkoyen/css-to-inline-styles": "^2.2.2",+ "ext-session": "*",+ "ext-tokenizer": "*",+ "fruitcake/php-cors": "^1.2",+ "guzzlehttp/uri-template": "^1.0",++ "laravel/prompts": "^0.1",+ "laravel/serializable-closure": "^1.3",+ "league/commonmark": "^2.2.1",+ "league/flysystem": "^3.8.0",+ "monolog/monolog": "^3.0",- "nesbot/carbon": "^2.62.1",++ "nesbot/carbon": "^2.67",+ "nunomaduro/termwind": "^1.13",+ "php": "^8.1",+ "psr/container": "^1.1.1|^2.0.1",+ "psr/log": "^1.0|^2.0|^3.0",+ "psr/simple-cache": "^1.0|^2.0|^3.0",+ "ramsey/uuid": "^4.7",+ "symfony/console": "^6.2",+ "symfony/error-handler": "^6.2",+ "symfony/finder": "^6.2",+ "symfony/http-foundation": "^6.2",+ "symfony/http-kernel": "^6.2",+ "symfony/mailer": "^6.2",+ "symfony/mime": "^6.2",+ "symfony/process": "^6.2",+ "symfony/routing": "^6.2",+ "symfony/uid": "^6.2",+ "symfony/var-dumper": "^6.2",+ "tijsverkoyen/css-to-inline-styles": "^2.2.5","vlucas/phpdotenv": "^5.4.1",- "voku/portable-ascii": "^1.6.1"+ "voku/portable-ascii": "^2.0"},"conflict": {"tightenco/collect": "<5.5.33"@@@ -2572,26 -3266,17 +2573,25 @@@"illuminate/view": "self.version"},"require-dev": {- "aws/aws-sdk-php": "^3.198.1",- "doctrine/dbal": "^2.13.3|^3.1.4",- "filp/whoops": "^2.14.3",- "guzzlehttp/guzzle": "^6.5.5|^7.0.1",- "league/flysystem-cached-adapter": "^1.0",- "mockery/mockery": "^1.4.4",- "orchestra/testbench-core": "^6.27",+ "ably/ably-php": "^1.0",+ "aws/aws-sdk-php": "^3.235.5",+ "doctrine/dbal": "^3.5.1",+ "ext-gmp": "*",+ "fakerphp/faker": "^1.21",+ "guzzlehttp/guzzle": "^7.5",+ "league/flysystem-aws-s3-v3": "^3.0",+ "league/flysystem-ftp": "^3.0",+ "league/flysystem-path-prefixing": "^3.3",+ "league/flysystem-read-only": "^3.3",+ "league/flysystem-sftp-v3": "^3.0",+ "mockery/mockery": "^1.5.1",+ "orchestra/testbench-core": "^8.4","pda/pheanstalk": "^4.0",- "phpstan/phpdoc-parser": "^1.15",- "phpunit/phpunit": "^8.5.19|^9.5.8",- "predis/predis": "^1.1.9",- "symfony/cache": "^5.4"+ "phpstan/phpstan": "^1.4.7",+ "phpunit/phpunit": "^10.0.7",+ "predis/predis": "^2.0.2",+ "symfony/cache": "^6.2",+ "symfony/http-client": "^6.2.4"},"suggest": {"ably/ably-php": "Required to use the Ably broadcast driver (^1.0).",@@@ -2672,7 -3350,7 +2672,7 @@@"issues": "https://github.com/laravel/framework/issues","source": "https://github.com/laravel/framework"},- "time": "2023-07-26T03:30:46+00:00"- "time": "2022-07-22T14:16:24+00:00"++ "time": "2023-08-15T13:42:57+00:00"},{"name": "laravel/helpers",@@@ -2806,11 -3483,11 +2806,59 @@@"issues": "https://github.com/laravel/passport/issues","source": "https://github.com/laravel/passport"},- "time": "2022-04-16T13:38:08+00:00"+ "time": "2023-07-07T06:37:11+00:00"+ },++ {++ "name": "laravel/prompts",++ "version": "v0.1.5",++ "source": {++ "type": "git",++ "url": "https://github.com/laravel/prompts.git",++ "reference": "d880a909df144a4bf5760ebd09aba114f79d9adc"++ },++ "dist": {++ "type": "zip",++ "url": "https://api.github.com/repos/laravel/prompts/zipball/d880a909df144a4bf5760ebd09aba114f79d9adc",++ "reference": "d880a909df144a4bf5760ebd09aba114f79d9adc",++ "shasum": ""++ },++ "require": {++ "ext-mbstring": "*",++ "illuminate/collections": "^10.0|^11.0",++ "php": "^8.1",++ "symfony/console": "^6.2"++ },++ "require-dev": {++ "mockery/mockery": "^1.5",++ "pestphp/pest": "^2.3",++ "phpstan/phpstan": "^1.10",++ "phpstan/phpstan-mockery": "^1.1"++ },++ "suggest": {++ "ext-pcntl": "Required for the spinner to be animated."++ },++ "type": "library",++ "autoload": {++ "files": [++ "src/helpers.php"++ ],++ "psr-4": {++ "Laravel\\Prompts\\": "src/"++ }++ },++ "notification-url": "https://packagist.org/downloads/",++ "license": [++ "MIT"++ ],++ "support": {++ "issues": "https://github.com/laravel/prompts/issues",++ "source": "https://github.com/laravel/prompts/tree/v0.1.5"++ },++ "time": "2023-08-15T14:29:44+00:00"+ },{"name": "laravel/serializable-closure",- "version": "v1.2.0",+ "version": "v1.3.1","source": {"type": "git","url": "https://github.com/laravel/serializable-closure.git",@@@ -3530,37 -4201,34 +3578,38 @@@},{"name": "league/csv",- "version": "9.9.0",- "version": "9.8.0",++ "version": "9.10.0","source": {"type": "git","url": "https://github.com/thephpleague/csv.git",- "reference": "b4418ede47fbd88facc34e40a16c8ce9153b961b"- "reference": "9d2e0265c5d90f5dd601bc65ff717e05cec19b47"++ "reference": "d24b0d484812313b07ab74b0fe4db9661606df6c"},"dist": {"type": "zip",- "url": "https://api.github.com/repos/thephpleague/csv/zipball/b4418ede47fbd88facc34e40a16c8ce9153b961b",- "reference": "b4418ede47fbd88facc34e40a16c8ce9153b961b",- "url": "https://api.github.com/repos/thephpleague/csv/zipball/9d2e0265c5d90f5dd601bc65ff717e05cec19b47",- "reference": "9d2e0265c5d90f5dd601bc65ff717e05cec19b47",++ "url": "https://api.github.com/repos/thephpleague/csv/zipball/d24b0d484812313b07ab74b0fe4db9661606df6c",++ "reference": "d24b0d484812313b07ab74b0fe4db9661606df6c","shasum": ""},"require": {"ext-json": "*","ext-mbstring": "*",- "php": "^7.4 || ^8.0"+ "php": "^8.1.2"},"require-dev": {- "doctrine/collections": "^2.1.2",- "ext-curl": "*",++ "doctrine/collections": "^2.1.3","ext-dom": "*",- "friendsofphp/php-cs-fixer": "^v3.4.0",- "phpstan/phpstan": "^1.3.0",- "phpstan/phpstan-phpunit": "^1.0.0",- "phpstan/phpstan-strict-rules": "^1.1.0",- "phpunit/phpunit": "^9.5.11"+ "ext-xdebug": "*",- "friendsofphp/php-cs-fixer": "^v3.14.3",- "phpbench/phpbench": "^1.2.8",- "phpstan/phpstan": "^1.10.4",- "phpstan/phpstan-deprecation-rules": "^1.1.2",- "phpstan/phpstan-phpunit": "^1.3.10",- "phpstan/phpstan-strict-rules": "^1.5.0",- "phpunit/phpunit": "^10.0.14"++ "friendsofphp/php-cs-fixer": "^v3.22.0",++ "phpbench/phpbench": "^1.2.14",++ "phpstan/phpstan": "^1.10.26",++ "phpstan/phpstan-deprecation-rules": "^1.1.3",++ "phpstan/phpstan-phpunit": "^1.3.13",++ "phpstan/phpstan-strict-rules": "^1.5.1",++ "phpunit/phpunit": "^10.3.1",++ "symfony/var-dumper": "^6.3.3"},"suggest": {- "ext-dom": "Required to use the XMLConverter and or the HTMLConverter classes",+ "ext-dom": "Required to use the XMLConverter and the HTMLConverter classes","ext-iconv": "Needed to ease transcoding CSV using iconv stream filters"},"type": "library",@@@ -3613,7 -4281,7 +3662,7 @@@"type": "github"}],- "time": "2023-03-11T15:57:12+00:00"- "time": "2022-01-04T00:13:07+00:00"++ "time": "2023-08-04T15:12:48+00:00"},{"name": "league/event",@@@ -3885,26 -4549,26 +3934,26 @@@},{"name": "league/mime-type-detection",-- "version": "1.11.0",++ "version": "1.13.0","source": {"type": "git","url": "https://github.com/thephpleague/mime-type-detection.git",-- "reference": "ff6248ea87a9f116e78edd6002e39e5128a0d4dd"++ "reference": "a6dfb1194a2946fcdc1f38219445234f65b35c96"},"dist": {"type": "zip",-- "url": "https://api.github.com/repos/thephpleague/mime-type-detection/zipball/ff6248ea87a9f116e78edd6002e39e5128a0d4dd",-- "reference": "ff6248ea87a9f116e78edd6002e39e5128a0d4dd",++ "url": "https://api.github.com/repos/thephpleague/mime-type-detection/zipball/a6dfb1194a2946fcdc1f38219445234f65b35c96",++ "reference": "a6dfb1194a2946fcdc1f38219445234f65b35c96","shasum": ""},"require": {"ext-fileinfo": "*",-- "php": "^7.2 || ^8.0"++ "php": "^7.4 || ^8.0"},"require-dev": {"friendsofphp/php-cs-fixer": "^3.2","phpstan/phpstan": "^0.12.68",-- "phpunit/phpunit": "^8.5.8 || ^9.3"++ "phpunit/phpunit": "^8.5.8 || ^9.3 || ^10.0"},"type": "library","autoload": {@@@ -3925,7 -4589,7 +3974,7 @@@"description": "Mime-type detection for Flysystem","support": {"issues": "https://github.com/thephpleague/mime-type-detection/issues",-- "source": "https://github.com/thephpleague/mime-type-detection/tree/1.11.0"++ "source": "https://github.com/thephpleague/mime-type-detection/tree/1.13.0"},"funding": [{@@@ -3937,7 -4601,7 +3986,7 @@@"type": "tidelift"}],-- "time": "2022-04-17T13:12:02+00:00"++ "time": "2023-08-05T12:09:49+00:00"},{"name": "league/oauth1-client",@@@ -4276,16 -4939,16 +4325,16 @@@},{"name": "livewire/livewire",- "version": "v2.12.4",- "version": "v2.10.6",++ "version": "v2.12.6","source": {"type": "git","url": "https://github.com/livewire/livewire.git",- "reference": "cca62ce8f751279c36404886b74a02e6dd0110f2"- "reference": "020ad095cf1239138b097d22b584e2701ec3edfb"++ "reference": "7d3a57b3193299cf1a0639a3935c696f4da2cf92"},"dist": {"type": "zip",- "url": "https://api.github.com/repos/livewire/livewire/zipball/cca62ce8f751279c36404886b74a02e6dd0110f2",- "reference": "cca62ce8f751279c36404886b74a02e6dd0110f2",- "url": "https://api.github.com/repos/livewire/livewire/zipball/020ad095cf1239138b097d22b584e2701ec3edfb",- "reference": "020ad095cf1239138b097d22b584e2701ec3edfb",++ "url": "https://api.github.com/repos/livewire/livewire/zipball/7d3a57b3193299cf1a0639a3935c696f4da2cf92",++ "reference": "7d3a57b3193299cf1a0639a3935c696f4da2cf92","shasum": ""},"require": {@@@ -4337,7 -5000,7 +4386,7 @@@"description": "A front-end framework for Laravel.","support": {"issues": "https://github.com/livewire/livewire/issues",- "source": "https://github.com/livewire/livewire/tree/v2.12.4"- "source": "https://github.com/livewire/livewire/tree/v2.10.6"++ "source": "https://github.com/livewire/livewire/tree/v2.12.6"},"funding": [{@@@ -4345,7 -5008,269 +4394,7 @@@"type": "github"}],- "time": "2023-07-28T20:46:24+00:00"- "time": "2022-06-19T02:54:20+00:00"- },- {- "name": "maatwebsite/excel",- "version": "3.1.40",- "source": {- "type": "git",- "url": "https://github.com/SpartnerNL/Laravel-Excel.git",- "reference": "8a54972e3d616c74687c3cbff15765555761885c"- },- "dist": {- "type": "zip",- "url": "https://api.github.com/repos/SpartnerNL/Laravel-Excel/zipball/8a54972e3d616c74687c3cbff15765555761885c",- "reference": "8a54972e3d616c74687c3cbff15765555761885c",- "shasum": ""- },- "require": {- "ext-json": "*",- "illuminate/support": "5.8.*|^6.0|^7.0|^8.0|^9.0",- "php": "^7.0|^8.0",- "phpoffice/phpspreadsheet": "^1.18"- },- "require-dev": {- "orchestra/testbench": "^6.0|^7.0",- "predis/predis": "^1.1"- },- "type": "library",- "extra": {- "laravel": {- "providers": [- "Maatwebsite\\Excel\\ExcelServiceProvider"- ],- "aliases": {- "Excel": "Maatwebsite\\Excel\\Facades\\Excel"- }- }- },- "autoload": {- "psr-4": {- "Maatwebsite\\Excel\\": "src/"- }- },- "notification-url": "https://packagist.org/downloads/",- "license": [- "MIT"- ],- "authors": [- {- "name": "Patrick Brouwers",- "email": "[email protected]"- }- ],- "description": "Supercharged Excel exports and imports in Laravel",- "keywords": [- "PHPExcel",- "batch",- "csv",- "excel",- "export",- "import",- "laravel",- "php",- "phpspreadsheet"- ],- "support": {- "issues": "https://github.com/SpartnerNL/Laravel-Excel/issues",- "source": "https://github.com/SpartnerNL/Laravel-Excel/tree/3.1.40"- },- "funding": [- {- "url": "https://laravel-excel.com/commercial-support",- "type": "custom"- },- {- "url": "https://github.com/patrickbrouwers",- "type": "github"- }- ],- "time": "2022-05-02T13:50:01+00:00"- },- {- "name": "maennchen/zipstream-php",- "version": "2.2.1",- "source": {- "type": "git",- "url": "https://github.com/maennchen/ZipStream-PHP.git",- "reference": "211e9ba1530ea5260b45d90c9ea252f56ec52729"- },- "dist": {- "type": "zip",- "url": "https://api.github.com/repos/maennchen/ZipStream-PHP/zipball/211e9ba1530ea5260b45d90c9ea252f56ec52729",- "reference": "211e9ba1530ea5260b45d90c9ea252f56ec52729",- "shasum": ""- },- "require": {- "myclabs/php-enum": "^1.5",- "php": "^7.4 || ^8.0",- "psr/http-message": "^1.0",- "symfony/polyfill-mbstring": "^1.0"- },- "require-dev": {- "ext-zip": "*",- "guzzlehttp/guzzle": "^6.5.3 || ^7.2.0",- "mikey179/vfsstream": "^1.6",- "php-coveralls/php-coveralls": "^2.4",- "phpunit/phpunit": "^8.5.8 || ^9.4.2",- "vimeo/psalm": "^4.1"- },- "type": "library",- "autoload": {- "psr-4": {- "ZipStream\\": "src/"- }- },- "notification-url": "https://packagist.org/downloads/",- "license": [- "MIT"- ],- "authors": [- {- "name": "Paul Duncan",- "email": "[email protected]"- },- {- "name": "Jonatan Männchen",- "email": "[email protected]"- },- {- "name": "Jesse Donat",- "email": "[email protected]"- },- {- "name": "András Kolesár",- "email": "[email protected]"- }- ],- "description": "ZipStream is a library for dynamically streaming dynamic zip files from PHP without writing to the disk at all on the server.",- "keywords": [- "stream",- "zip"- ],- "support": {- "issues": "https://github.com/maennchen/ZipStream-PHP/issues",- "source": "https://github.com/maennchen/ZipStream-PHP/tree/2.2.1"- },- "funding": [- {- "url": "https://github.com/maennchen",- "type": "github"- },- {- "url": "https://opencollective.com/zipstream",- "type": "open_collective"- }- ],- "time": "2022-05-18T15:52:06+00:00"- },- {- "name": "markbaker/complex",- "version": "3.0.1",- "source": {- "type": "git",- "url": "https://github.com/MarkBaker/PHPComplex.git",- "reference": "ab8bc271e404909db09ff2d5ffa1e538085c0f22"- },- "dist": {- "type": "zip",- "url": "https://api.github.com/repos/MarkBaker/PHPComplex/zipball/ab8bc271e404909db09ff2d5ffa1e538085c0f22",- "reference": "ab8bc271e404909db09ff2d5ffa1e538085c0f22",- "shasum": ""- },- "require": {- "php": "^7.2 || ^8.0"- },- "require-dev": {- "dealerdirect/phpcodesniffer-composer-installer": "^0.7.0",- "phpcompatibility/php-compatibility": "^9.0",- "phpunit/phpunit": "^7.0 || ^8.0 || ^9.3",- "squizlabs/php_codesniffer": "^3.4"- },- "type": "library",- "autoload": {- "psr-4": {- "Complex\\": "classes/src/"- }- },- "notification-url": "https://packagist.org/downloads/",- "license": [- "MIT"- ],- "authors": [- {- "name": "Mark Baker",- "email": "[email protected]"- }- ],- "description": "PHP Class for working with complex numbers",- "homepage": "https://github.com/MarkBaker/PHPComplex",- "keywords": [- "complex",- "mathematics"- ],- "support": {- "issues": "https://github.com/MarkBaker/PHPComplex/issues",- "source": "https://github.com/MarkBaker/PHPComplex/tree/3.0.1"- },- "time": "2021-06-29T15:32:53+00:00"- },- {- "name": "markbaker/matrix",- "version": "3.0.0",- "source": {- "type": "git",- "url": "https://github.com/MarkBaker/PHPMatrix.git",- "reference": "c66aefcafb4f6c269510e9ac46b82619a904c576"- },- "dist": {- "type": "zip",- "url": "https://api.github.com/repos/MarkBaker/PHPMatrix/zipball/c66aefcafb4f6c269510e9ac46b82619a904c576",- "reference": "c66aefcafb4f6c269510e9ac46b82619a904c576",- "shasum": ""- },- "require": {- "php": "^7.1 || ^8.0"- },- "require-dev": {- "dealerdirect/phpcodesniffer-composer-installer": "^0.7.0",- "phpcompatibility/php-compatibility": "^9.0",- "phpdocumentor/phpdocumentor": "2.*",- "phploc/phploc": "^4.0",- "phpmd/phpmd": "2.*",- "phpunit/phpunit": "^7.0 || ^8.0 || ^9.3",- "sebastian/phpcpd": "^4.0",- "squizlabs/php_codesniffer": "^3.4"- },- "type": "library",- "autoload": {- "psr-4": {- "Matrix\\": "classes/src/"- }- },- "notification-url": "https://packagist.org/downloads/",- "license": [- "MIT"- ],- "authors": [- {- "name": "Mark Baker",- "email": "[email protected]"- }- ],- "description": "PHP Class for working with matrices",- "homepage": "https://github.com/MarkBaker/PHPMatrix",- "keywords": [- "mathematics",- "matrix",- "vector"- ],- "support": {- "issues": "https://github.com/MarkBaker/PHPMatrix/issues",- "source": "https://github.com/MarkBaker/PHPMatrix/tree/3.0.0"- },- "time": "2021-07-01T19:01:15+00:00"++ "time": "2023-08-11T04:02:34+00:00"},{"name": "masterminds/html5",@@@ -4787,21 -5840,21 +4836,21 @@@},{"name": "nette/schema",- "version": "v1.2.3",- "version": "v1.2.2",++ "version": "v1.2.4","source": {"type": "git","url": "https://github.com/nette/schema.git",- "reference": "abbdbb70e0245d5f3bf77874cea1dfb0c930d06f"- "reference": "9a39cef03a5b34c7de64f551538cbba05c2be5df"++ "reference": "c9ff517a53903b3d4e29ec547fb20feecb05b8ab"},"dist": {"type": "zip",- "url": "https://api.github.com/repos/nette/schema/zipball/abbdbb70e0245d5f3bf77874cea1dfb0c930d06f",- "reference": "abbdbb70e0245d5f3bf77874cea1dfb0c930d06f",- "url": "https://api.github.com/repos/nette/schema/zipball/9a39cef03a5b34c7de64f551538cbba05c2be5df",- "reference": "9a39cef03a5b34c7de64f551538cbba05c2be5df",++ "url": "https://api.github.com/repos/nette/schema/zipball/c9ff517a53903b3d4e29ec547fb20feecb05b8ab",++ "reference": "c9ff517a53903b3d4e29ec547fb20feecb05b8ab","shasum": ""},"require": {"nette/utils": "^2.5.7 || ^3.1.5 || ^4.0",- "php": ">=7.1 <8.3"- "php": ">=7.1 <8.2"++ "php": "7.1 - 8.3"},"require-dev": {"nette/tester": "^2.3 || ^2.4",@@@ -4843,9 -5896,9 +4892,9 @@@],"support": {"issues": "https://github.com/nette/schema/issues",- "source": "https://github.com/nette/schema/tree/v1.2.3"- "source": "https://github.com/nette/schema/tree/v1.2.2"++ "source": "https://github.com/nette/schema/tree/v1.2.4"},- "time": "2022-10-13T01:24:26+00:00"- "time": "2021-10-15T11:40:02+00:00"++ "time": "2023-08-05T18:56:25+00:00"},{"name": "nette/utils",@@@ -4936,16 -5987,16 +4985,16 @@@},{"name": "nikic/php-parser",- "version": "v4.16.0",- "version": "v4.14.0",++ "version": "v4.17.1","source": {"type": "git","url": "https://github.com/nikic/PHP-Parser.git",- "reference": "19526a33fb561ef417e822e85f08a00db4059c17"- "reference": "34bea19b6e03d8153165d8f30bba4c3be86184c1"++ "reference": "a6303e50c90c355c7eeee2c4a8b27fe8dc8fef1d"},"dist": {"type": "zip",- "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/19526a33fb561ef417e822e85f08a00db4059c17",- "reference": "19526a33fb561ef417e822e85f08a00db4059c17",- "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/34bea19b6e03d8153165d8f30bba4c3be86184c1",- "reference": "34bea19b6e03d8153165d8f30bba4c3be86184c1",++ "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/a6303e50c90c355c7eeee2c4a8b27fe8dc8fef1d",++ "reference": "a6303e50c90c355c7eeee2c4a8b27fe8dc8fef1d","shasum": ""},"require": {@@@ -4986,9 -6037,9 +5035,9 @@@],"support": {"issues": "https://github.com/nikic/PHP-Parser/issues",- "source": "https://github.com/nikic/PHP-Parser/tree/v4.16.0"- "source": "https://github.com/nikic/PHP-Parser/tree/v4.14.0"++ "source": "https://github.com/nikic/PHP-Parser/tree/v4.17.1"},- "time": "2023-06-25T14:52:30+00:00"- "time": "2022-05-31T20:59:12+00:00"++ "time": "2023-08-13T19:53:39+00:00"},{"name": "nunomaduro/collision",@@@ -5702,16 -6784,16 +5751,16 @@@},{"name": "phpdocumentor/type-resolver",- "version": "1.7.2",- "version": "1.6.1",++ "version": "1.7.3","source": {"type": "git","url": "https://github.com/phpDocumentor/TypeResolver.git",- "reference": "b2fe4d22a5426f38e014855322200b97b5362c0d"- "reference": "77a32518733312af16a44300404e945338981de3"++ "reference": "3219c6ee25c9ea71e3d9bbaf39c67c9ebd499419"},"dist": {"type": "zip",- "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/b2fe4d22a5426f38e014855322200b97b5362c0d",- "reference": "b2fe4d22a5426f38e014855322200b97b5362c0d",- "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/77a32518733312af16a44300404e945338981de3",- "reference": "77a32518733312af16a44300404e945338981de3",++ "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/3219c6ee25c9ea71e3d9bbaf39c67c9ebd499419",++ "reference": "3219c6ee25c9ea71e3d9bbaf39c67c9ebd499419","shasum": ""},"require": {@@@ -5754,17 -6828,17 +5803,17 @@@"description": "A PSR-5 based resolver of Class names, Types and Structural Element Names","support": {"issues": "https://github.com/phpDocumentor/TypeResolver/issues",- "source": "https://github.com/phpDocumentor/TypeResolver/tree/1.7.2"- "source": "https://github.com/phpDocumentor/TypeResolver/tree/1.6.1"++ "source": "https://github.com/phpDocumentor/TypeResolver/tree/1.7.3"},- "time": "2023-05-30T18:13:47+00:00"- "time": "2022-03-15T21:29:03+00:00"++ "time": "2023-08-12T11:01:26+00:00"},{- "name": "phpoffice/phpspreadsheet",- "version": "1.24.1",+ "name": "phpoption/phpoption",+ "version": "1.9.1","source": {"type": "git",- "url": "https://github.com/PHPOffice/PhpSpreadsheet.git",- "reference": "69991111e05fca3ff7398e1e7fca9ebed33efec6"+ "url": "https://github.com/schmittjoh/php-option.git",+ "reference": "dd3a383e599f49777d8b628dadbb90cae435b87e"},"dist": {"type": "zip",@@@ -6007,56 -7179,9 +6056,56 @@@],"support": {"issues": "https://github.com/phpspec/prophecy/issues",- "source": "https://github.com/phpspec/prophecy/tree/v1.15.0"+ "source": "https://github.com/phpspec/prophecy/tree/v1.17.0"},- "time": "2021-12-08T12:19:24+00:00"+ "time": "2023-02-02T15:41:36+00:00"+ },+ {+ "name": "phpstan/phpdoc-parser",- "version": "1.23.0",++ "version": "1.23.1",+ "source": {+ "type": "git",+ "url": "https://github.com/phpstan/phpdoc-parser.git",- "reference": "a2b24135c35852b348894320d47b3902a94bc494"++ "reference": "846ae76eef31c6d7790fac9bc399ecee45160b26"+ },+ "dist": {+ "type": "zip",- "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/a2b24135c35852b348894320d47b3902a94bc494",- "reference": "a2b24135c35852b348894320d47b3902a94bc494",++ "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/846ae76eef31c6d7790fac9bc399ecee45160b26",++ "reference": "846ae76eef31c6d7790fac9bc399ecee45160b26",+ "shasum": ""+ },+ "require": {+ "php": "^7.2 || ^8.0"+ },+ "require-dev": {+ "doctrine/annotations": "^2.0",+ "nikic/php-parser": "^4.15",+ "php-parallel-lint/php-parallel-lint": "^1.2",+ "phpstan/extension-installer": "^1.0",+ "phpstan/phpstan": "^1.5",+ "phpstan/phpstan-phpunit": "^1.1",+ "phpstan/phpstan-strict-rules": "^1.0",+ "phpunit/phpunit": "^9.5",+ "symfony/process": "^5.2"+ },+ "type": "library",+ "autoload": {+ "psr-4": {+ "PHPStan\\PhpDocParser\\": [+ "src/"+ ]+ }+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "MIT"+ ],+ "description": "PHPDoc parser with support for nullable, intersection and generic types",+ "support": {+ "issues": "https://github.com/phpstan/phpdoc-parser/issues",- "source": "https://github.com/phpstan/phpdoc-parser/tree/1.23.0"++ "source": "https://github.com/phpstan/phpdoc-parser/tree/1.23.1"+ },- "time": "2023-07-23T22:17:56+00:00"++ "time": "2023-08-03T16:32:59+00:00"},{"name": "pragmarx/google2fa",@@@ -6710,16 -7782,16 +6759,16 @@@},{"name": "psy/psysh",- "version": "v0.11.19",- "version": "v0.11.7",++ "version": "v0.11.20","source": {"type": "git","url": "https://github.com/bobthecow/psysh.git",- "reference": "1724ceff278daeeac5a006744633bacbb2dc4706"- "reference": "77fc7270031fbc28f9a7bea31385da5c4855cb7a"++ "reference": "0fa27040553d1d280a67a4393194df5228afea5b"},"dist": {"type": "zip",- "url": "https://api.github.com/repos/bobthecow/psysh/zipball/1724ceff278daeeac5a006744633bacbb2dc4706",- "reference": "1724ceff278daeeac5a006744633bacbb2dc4706",- "url": "https://api.github.com/repos/bobthecow/psysh/zipball/77fc7270031fbc28f9a7bea31385da5c4855cb7a",- "reference": "77fc7270031fbc28f9a7bea31385da5c4855cb7a",++ "url": "https://api.github.com/repos/bobthecow/psysh/zipball/0fa27040553d1d280a67a4393194df5228afea5b",++ "reference": "0fa27040553d1d280a67a4393194df5228afea5b","shasum": ""},"require": {@@@ -6780,9 -7852,9 +6829,9 @@@],"support": {"issues": "https://github.com/bobthecow/psysh/issues",- "source": "https://github.com/bobthecow/psysh/tree/v0.11.19"- "source": "https://github.com/bobthecow/psysh/tree/v0.11.7"++ "source": "https://github.com/bobthecow/psysh/tree/v0.11.20"},- "time": "2023-07-15T19:42:19+00:00"- "time": "2022-07-07T13:49:11+00:00"++ "time": "2023-07-31T14:32:22+00:00"},{"name": "ralouphie/getallheaders",@@@ -7795,54 -8446,29 +7844,54 @@@"type": "github"}],- "time": "2020-10-26T13:10:38+00:00"+ "time": "2023-06-28T13:24:59+00:00"},{- "name": "sebastian/exporter",- "version": "4.0.4",+ "name": "spatie/laravel-backup",- "version": "8.1.11",++ "version": "8.3.1","source": {"type": "git",- "url": "https://github.com/sebastianbergmann/exporter.git",- "reference": "65e8b7db476c5dd267e65eea9cab77584d3cfff9"+ "url": "https://github.com/spatie/laravel-backup.git",- "reference": "e4f5c3f6783d40a219a02bc99dc4171ecdd6d20c"++ "reference": "3a86fbc39d04f52024dfd57a334a078748e1b5f5"},"dist": {"type": "zip",- "url": "https://api.github.com/repos/spatie/laravel-backup/zipball/e4f5c3f6783d40a219a02bc99dc4171ecdd6d20c",- "reference": "e4f5c3f6783d40a219a02bc99dc4171ecdd6d20c",- "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/65e8b7db476c5dd267e65eea9cab77584d3cfff9",- "reference": "65e8b7db476c5dd267e65eea9cab77584d3cfff9",++ "url": "https://api.github.com/repos/spatie/laravel-backup/zipball/3a86fbc39d04f52024dfd57a334a078748e1b5f5",++ "reference": "3a86fbc39d04f52024dfd57a334a078748e1b5f5","shasum": ""},"require": {- "php": ">=7.3",- "sebastian/recursion-context": "^4.0"+ "ext-zip": "^1.14.0",- "illuminate/console": "^9.0|^10.0",- "illuminate/contracts": "^9.0|^10.0",- "illuminate/events": "^9.0|^10.0",- "illuminate/filesystem": "^9.0|^10.0",- "illuminate/notifications": "^9.0|^10.0",- "illuminate/support": "^9.0|^10.0",++ "illuminate/console": "^10.10.0",++ "illuminate/contracts": "^10.10.0",++ "illuminate/events": "^10.10.0",++ "illuminate/filesystem": "^10.10.0",++ "illuminate/notifications": "^10.10.0",++ "illuminate/support": "^10.10.0",+ "league/flysystem": "^3.0",- "php": "^8.0",++ "php": "^8.1",+ "spatie/db-dumper": "^3.0",+ "spatie/laravel-package-tools": "^1.6.2",+ "spatie/laravel-signal-aware-command": "^1.2",+ "spatie/temporary-directory": "^2.0",+ "symfony/console": "^6.0",+ "symfony/finder": "^6.0"+ },+ "require-dev": {+ "composer-runtime-api": "^2.0",+ "ext-pcntl": "*",+ "laravel/slack-notification-channel": "^2.5",+ "league/flysystem-aws-s3-v3": "^2.0|^3.0",+ "mockery/mockery": "^1.4",+ "nunomaduro/larastan": "^2.1",- "orchestra/testbench": "^7.0|^8.0",++ "orchestra/testbench": "^8.0",+ "pestphp/pest": "^1.20",+ "phpstan/extension-installer": "^1.1",+ "phpstan/phpstan-deprecation-rules": "^1.0",+ "phpstan/phpstan-phpunit": "^1.1"},- "require-dev": {- "ext-mbstring": "*",- "phpunit/phpunit": "^9.3"+ "suggest": {+ "laravel/slack-notification-channel": "Required for sending notifications via Slack"},"type": "library","extra": {@@@ -7866,43 -8487,51 +7915,43 @@@],"authors": [{- "name": "Sebastian Bergmann",- "email": "[email protected]"- },- {- "name": "Jeff Welch",- "email": "[email protected]"- },- {- "name": "Volker Dusch",- "email": "[email protected]"- },- {- "name": "Adam Harvey",- "email": "[email protected]"- },- {- "name": "Bernhard Schussek",- "email": "[email protected]"+ "name": "Freek Van der Herten",+ "email": "[email protected]",+ "homepage": "https://spatie.be",+ "role": "Developer"}],- "description": "Provides the functionality to export PHP variables for visualization",- "homepage": "https://www.github.com/sebastianbergmann/exporter",+ "description": "A Laravel package to backup your application",+ "homepage": "https://github.com/spatie/laravel-backup","keywords": [- "export",- "exporter"+ "backup",+ "database",+ "laravel-backup",+ "spatie"],"support": {- "issues": "https://github.com/sebastianbergmann/exporter/issues",- "source": "https://github.com/sebastianbergmann/exporter/tree/4.0.4"+ "issues": "https://github.com/spatie/laravel-backup/issues",- "source": "https://github.com/spatie/laravel-backup/tree/8.1.11"++ "source": "https://github.com/spatie/laravel-backup/tree/8.3.1"},"funding": [{- "url": "https://github.com/sebastianbergmann",+ "url": "https://github.com/sponsors/spatie","type": "github"+ },+ {+ "url": "https://spatie.be/open-source/support-us",+ "type": "other"}],- "time": "2023-06-02T08:56:10+00:00"- "time": "2021-11-11T14:18:36+00:00"++ "time": "2023-08-10T07:53:36+00:00"},{- "name": "sebastian/recursion-context",- "version": "4.0.4",+ "name": "spatie/laravel-ignition",+ "version": "2.2.0","source": {"type": "git",- "url": "https://github.com/sebastianbergmann/recursion-context.git",- "reference": "cd9d8cf3c5804de4341c283ed787f099f5506172"+ "url": "https://github.com/spatie/laravel-ignition.git",+ "reference": "dd15fbe82ef5392798941efae93c49395a87d943"},"dist": {"type": "zip",@@@ -7986,20 -8586,20 +8035,20 @@@"type": "github"}],- "time": "2020-10-26T13:17:30+00:00"+ "time": "2023-06-28T13:51:52+00:00"},{- "name": "spatie/db-dumper",- "version": "2.21.1",+ "name": "spatie/laravel-package-tools",- "version": "1.15.0",++ "version": "1.16.0","source": {"type": "git",- "url": "https://github.com/spatie/db-dumper.git",- "reference": "05e5955fb882008a8947c5a45146d86cfafa10d1"+ "url": "https://github.com/spatie/laravel-package-tools.git",- "reference": "efab1844b8826443135201c4443690f032c3d533"++ "reference": "38fe533e93f86a1b2fb1000bf7df09c4748e6458"},"dist": {"type": "zip",- "url": "https://api.github.com/repos/spatie/laravel-package-tools/zipball/efab1844b8826443135201c4443690f032c3d533",- "reference": "efab1844b8826443135201c4443690f032c3d533",- "url": "https://api.github.com/repos/spatie/db-dumper/zipball/05e5955fb882008a8947c5a45146d86cfafa10d1",- "reference": "05e5955fb882008a8947c5a45146d86cfafa10d1",++ "url": "https://api.github.com/repos/spatie/laravel-package-tools/zipball/38fe533e93f86a1b2fb1000bf7df09c4748e6458",++ "reference": "38fe533e93f86a1b2fb1000bf7df09c4748e6458","shasum": ""},"require": {@@@ -8037,8 -8637,8 +8086,8 @@@"spatie"],"support": {- "issues": "https://github.com/spatie/db-dumper/issues",- "source": "https://github.com/spatie/db-dumper/tree/2.21.1"+ "issues": "https://github.com/spatie/laravel-package-tools/issues",- "source": "https://github.com/spatie/laravel-package-tools/tree/1.15.0"++ "source": "https://github.com/spatie/laravel-package-tools/tree/1.16.0"},"funding": [{@@@ -8046,15 -8646,15 +8095,15 @@@"type": "github"}],- "time": "2023-04-27T08:09:01+00:00"- "time": "2021-02-24T14:56:42+00:00"++ "time": "2023-08-09T14:08:04+00:00"},{- "name": "spatie/laravel-backup",- "version": "6.16.5",+ "name": "spatie/laravel-signal-aware-command",+ "version": "1.3.0","source": {"type": "git",- "url": "https://github.com/spatie/laravel-backup.git",- "reference": "332fae80b12cacb9e4161824ba195d984b28c8fb"+ "url": "https://github.com/spatie/laravel-signal-aware-command.git",+ "reference": "46cda09a85aef3fd47fb73ddc7081f963e255571"},"dist": {"type": "zip",@@@ -10792,11 -11376,83 +10841,83 @@@"type": "custom"}],- "time": "2022-06-14T09:09:40+00:00"+ "time": "2023-05-18T08:09:02+00:00"},+ {+ "name": "tecnickcom/tcpdf",+ "version": "6.6.2",+ "source": {+ "type": "git",+ "url": "https://github.com/tecnickcom/TCPDF.git",+ "reference": "e3cffc9bcbc76e89e167e9eb0bbda0cab7518459"+ },+ "dist": {+ "type": "zip",+ "url": "https://api.github.com/repos/tecnickcom/TCPDF/zipball/e3cffc9bcbc76e89e167e9eb0bbda0cab7518459",+ "reference": "e3cffc9bcbc76e89e167e9eb0bbda0cab7518459",+ "shasum": ""+ },+ "require": {+ "php": ">=5.3.0"+ },+ "type": "library",+ "autoload": {+ "classmap": [+ "config",+ "include",+ "tcpdf.php",+ "tcpdf_parser.php",+ "tcpdf_import.php",+ "tcpdf_barcodes_1d.php",+ "tcpdf_barcodes_2d.php",+ "include/tcpdf_colors.php",+ "include/tcpdf_filters.php",+ "include/tcpdf_font_data.php",+ "include/tcpdf_fonts.php",+ "include/tcpdf_images.php",+ "include/tcpdf_static.php",+ "include/barcodes/datamatrix.php",+ "include/barcodes/pdf417.php",+ "include/barcodes/qrcode.php"+ ]+ },+ "notification-url": "https://packagist.org/downloads/",+ "license": [+ "LGPL-3.0-only"+ ],+ "authors": [+ {+ "name": "Nicola Asuni",+ "email": "[email protected]",+ "role": "lead"+ }+ ],+ "description": "TCPDF is a PHP class for generating PDF documents and barcodes.",+ "homepage": "http://www.tcpdf.org/",+ "keywords": [+ "PDFD32000-2008",+ "TCPDF",+ "barcodes",+ "datamatrix",+ "pdf",+ "pdf417",+ "qrcode"+ ],+ "support": {+ "issues": "https://github.com/tecnickcom/TCPDF/issues",+ "source": "https://github.com/tecnickcom/TCPDF/tree/6.6.2"+ },+ "funding": [+ {+ "url": "https://www.paypal.com/cgi-bin/webscr?cmd=_donations¤cy_code=GBP&[email protected]&item_name=donation%20for%20tcpdf%20project",+ "type": "custom"+ }+ ],+ "time": "2022-12-17T10:28:59+00:00"+ },{"name": "tijsverkoyen/css-to-inline-styles",- "version": "2.2.4",+ "version": "2.2.6","source": {"type": "git","url": "https://github.com/tijsverkoyen/CssToInlineStyles.git",@@@ -11628,42 -12533,34 +11749,41 @@@"type": "github"},{- "url": "https://tidelift.com/funding/github/packagist/composer/composer",- "type": "tidelift"+ "url": "https://paypal.me/filippotessarotto",+ "type": "paypal"}],- "time": "2022-07-13T13:48:23+00:00"+ "time": "2023-05-25T13:47:58+00:00"},{- "name": "composer/metadata-minifier",- "version": "1.0.0",+ "name": "cmgmyr/phploc",- "version": "8.0.2",++ "version": "8.0.3","source": {"type": "git",- "url": "https://github.com/composer/metadata-minifier.git",- "reference": "c549d23829536f0d0e984aaabbf02af91f443207"+ "url": "https://github.com/cmgmyr/phploc.git",- "reference": "35e308033e02264a59cb1b56cc2abb1a22483ca8"++ "reference": "e61d4729df46c5920ab61973bfa3f70f81a70b5f"},"dist": {"type": "zip",- "url": "https://api.github.com/repos/cmgmyr/phploc/zipball/35e308033e02264a59cb1b56cc2abb1a22483ca8",- "reference": "35e308033e02264a59cb1b56cc2abb1a22483ca8",- "url": "https://api.github.com/repos/composer/metadata-minifier/zipball/c549d23829536f0d0e984aaabbf02af91f443207",- "reference": "c549d23829536f0d0e984aaabbf02af91f443207",++ "url": "https://api.github.com/repos/cmgmyr/phploc/zipball/e61d4729df46c5920ab61973bfa3f70f81a70b5f",++ "reference": "e61d4729df46c5920ab61973bfa3f70f81a70b5f","shasum": ""},"require": {- "php": "^5.3.2 || ^7.0 || ^8.0"+ "ext-dom": "*",+ "ext-json": "*",+ "php": "^7.4 || ^8.0",+ "phpunit/php-file-iterator": "^3.0|^4.0",- "sebastian/cli-parser": "^1.0|^2.0",- "sebastian/version": "^3.0|^4.0"++ "sebastian/cli-parser": "^1.0|^2.0"},"require-dev": {- "composer/composer": "^2",- "phpstan/phpstan": "^0.12.55",- "symfony/phpunit-bridge": "^4.2 || ^5"+ "friendsofphp/php-cs-fixer": "^3.2",+ "phpunit/phpunit": "^9.0|^10.0",+ "vimeo/psalm": "^5.7"},+ "bin": [+ "phploc"+ ],"type": "library","extra": {"branch-alias": {@@@ -11681,24 -12578,35 +11801,24 @@@],"authors": [{- "name": "Jordi Boggiano",- "email": "[email protected]",- "homepage": "http://seld.be"+ "name": "Chris Gmyr",+ "email": "[email protected]",+ "role": "lead"}],- "description": "Small utility library that handles metadata minification and expansion.",- "keywords": [- "composer",- "compression"- ],+ "description": "A tool for quickly measuring the size of a PHP project.",+ "homepage": "https://github.com/cmgmyr/phploc","support": {- "issues": "https://github.com/composer/metadata-minifier/issues",- "source": "https://github.com/composer/metadata-minifier/tree/1.0.0"+ "issues": "https://github.com/cmgmyr/phploc/issues",- "source": "https://github.com/cmgmyr/phploc/tree/8.0.2"++ "source": "https://github.com/cmgmyr/phploc/tree/8.0.3"},"funding": [{- "url": "https://packagist.com",- "type": "custom"- },- {- "url": "https://github.com/composer",+ "url": "https://github.com/cmgmyr","type": "github"- },- {- "url": "https://tidelift.com/funding/github/packagist/composer/composer",- "type": "tidelift"}],- "time": "2023-03-19T10:37:20+00:00"- "time": "2021-04-07T13:37:33+00:00"++ "time": "2023-08-05T16:49:39+00:00"},{"name": "composer/pcre",@@@ -12341,16 -13252,16 +12461,16 @@@},{"name": "friendsofphp/php-cs-fixer",- "version": "v3.22.0",- "version": "v3.13.2",++ "version": "v3.23.0","source": {"type": "git","url": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer.git",- "reference": "92b019f6c8d79aa26349d0db7671d37440dc0ff3"- "reference": "3952f08a81bd3b1b15e11c3de0b6bf037faa8496"++ "reference": "35af3cbbacfa91e164b252a28ec0b644f1ed4e78"},"dist": {"type": "zip",- "url": "https://api.github.com/repos/PHP-CS-Fixer/PHP-CS-Fixer/zipball/92b019f6c8d79aa26349d0db7671d37440dc0ff3",- "reference": "92b019f6c8d79aa26349d0db7671d37440dc0ff3",- "url": "https://api.github.com/repos/PHP-CS-Fixer/PHP-CS-Fixer/zipball/3952f08a81bd3b1b15e11c3de0b6bf037faa8496",- "reference": "3952f08a81bd3b1b15e11c3de0b6bf037faa8496",++ "url": "https://api.github.com/repos/PHP-CS-Fixer/PHP-CS-Fixer/zipball/35af3cbbacfa91e164b252a28ec0b644f1ed4e78",++ "reference": "35af3cbbacfa91e164b252a28ec0b644f1ed4e78","shasum": ""},"require": {@@@ -12418,15 -13327,9 +12538,15 @@@}],"description": "A tool to automatically fix PHP code style",+ "keywords": [+ "Static code analysis",+ "fixer",+ "standards",+ "static analysis"+ ],"support": {"issues": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues",- "source": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/tree/v3.22.0"- "source": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/tree/v3.13.2"++ "source": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/tree/v3.23.0"},"funding": [{@@@ -12434,7 -13337,7 +12554,7 @@@"type": "github"}],- "time": "2023-07-16T23:08:06+00:00"- "time": "2023-01-02T23:53:50+00:00"++ "time": "2023-08-14T12:27:35+00:00"},{"name": "hamcrest/hamcrest-php",@@@ -12618,16 -13521,16 +12738,16 @@@},{"name": "laravel/dusk",- "version": "v7.9.1",- "version": "v6.25.2",++ "version": "v7.9.3","source": {"type": "git","url": "https://github.com/laravel/dusk.git",- "reference": "c7261854fa3be500c2e331600eb1b265052690be"- "reference": "25a595ac3dc82089a91af10dd23b0d58fd3f6d0b"++ "reference": "8d7ce583fb362472558cc1852adccfcd86cf87e4"},"dist": {"type": "zip",- "url": "https://api.github.com/repos/laravel/dusk/zipball/c7261854fa3be500c2e331600eb1b265052690be",- "reference": "c7261854fa3be500c2e331600eb1b265052690be",- "url": "https://api.github.com/repos/laravel/dusk/zipball/25a595ac3dc82089a91af10dd23b0d58fd3f6d0b",- "reference": "25a595ac3dc82089a91af10dd23b0d58fd3f6d0b",++ "url": "https://api.github.com/repos/laravel/dusk/zipball/8d7ce583fb362472558cc1852adccfcd86cf87e4",++ "reference": "8d7ce583fb362472558cc1852adccfcd86cf87e4","shasum": ""},"require": {@@@ -12688,9 -13588,9 +12808,9 @@@],"support": {"issues": "https://github.com/laravel/dusk/issues",- "source": "https://github.com/laravel/dusk/tree/v7.9.1"- "source": "https://github.com/laravel/dusk/tree/v6.25.2"++ "source": "https://github.com/laravel/dusk/tree/v7.9.3"},- "time": "2023-07-27T02:09:52+00:00"- "time": "2022-09-29T09:37:07+00:00"++ "time": "2023-08-03T16:00:26+00:00"},{"name": "league/container",@@@ -12776,40 -13676,38 +12896,40 @@@},{"name": "mockery/mockery",- "version": "1.6.4",- "version": "1.5.0",++ "version": "1.6.6","source": {"type": "git","url": "https://github.com/mockery/mockery.git",- "reference": "d1413755e26fe56a63455f7753221c86cbb88f66"- "reference": "c10a5f6e06fc2470ab1822fa13fa2a7380f8fbac"++ "reference": "b8e0bb7d8c604046539c1115994632c74dcb361e"},"dist": {"type": "zip",- "url": "https://api.github.com/repos/mockery/mockery/zipball/d1413755e26fe56a63455f7753221c86cbb88f66",- "reference": "d1413755e26fe56a63455f7753221c86cbb88f66",- "url": "https://api.github.com/repos/mockery/mockery/zipball/c10a5f6e06fc2470ab1822fa13fa2a7380f8fbac",- "reference": "c10a5f6e06fc2470ab1822fa13fa2a7380f8fbac",++ "url": "https://api.github.com/repos/mockery/mockery/zipball/b8e0bb7d8c604046539c1115994632c74dcb361e",++ "reference": "b8e0bb7d8c604046539c1115994632c74dcb361e","shasum": ""},"require": {"hamcrest/hamcrest-php": "^2.0.1","lib-pcre": ">=7.0",- "php": ">=7.4,<8.3"- "php": "^7.3 || ^8.0"++ "php": ">=7.3"},"conflict": {"phpunit/phpunit": "<8.0"},"require-dev": {- "phpunit/phpunit": "^8.5 || ^9.3",- "phpunit/phpunit": "^8.5 || ^9.3"++ "phpunit/phpunit": "^8.5 || ^9.6.10",+ "psalm/plugin-phpunit": "^0.18.4",+ "symplify/easy-coding-standard": "^11.5.0",- "vimeo/psalm": "^5.13.1"++ "vimeo/psalm": "^4.30"},"type": "library",- "extra": {- "branch-alias": {- "dev-master": "1.4.x-dev"- }- },"autoload": {- "psr-0": {- "Mockery": "library/"+ "files": [+ "library/helpers.php",+ "library/Mockery.php"+ ],+ "psr-4": {+ "Mockery\\": "library/Mockery"}},"notification-url": "https://packagist.org/downloads/",@@@ -12851,13 -13741,10 +12971,13 @@@"testing"],"support": {+ "docs": "https://docs.mockery.io/","issues": "https://github.com/mockery/mockery/issues",- "source": "https://github.com/mockery/mockery/tree/1.5.0"+ "rss": "https://github.com/mockery/mockery/releases.atom",+ "security": "https://github.com/mockery/mockery/security/advisories",+ "source": "https://github.com/mockery/mockery"},- "time": "2023-07-19T15:51:02+00:00"- "time": "2022-01-20T13:18:17+00:00"++ "time": "2023-08-09T00:03:52+00:00"},{"name": "myclabs/deep-copy",@@@ -13494,16 -14342,16 +13614,16 @@@},{"name": "phpstan/phpstan",- "version": "1.10.26",- "version": "1.8.11",++ "version": "1.10.29","source": {"type": "git","url": "https://github.com/phpstan/phpstan.git",- "reference": "5d660cbb7e1b89253a47147ae44044f49832351f"- "reference": "46e223dd68a620da18855c23046ddb00940b4014"++ "reference": "ee5d8f2d3977fb09e55603eee6fb53bdd76ee9c1"},"dist": {"type": "zip",- "url": "https://api.github.com/repos/phpstan/phpstan/zipball/5d660cbb7e1b89253a47147ae44044f49832351f",- "reference": "5d660cbb7e1b89253a47147ae44044f49832351f",- "url": "https://api.github.com/repos/phpstan/phpstan/zipball/46e223dd68a620da18855c23046ddb00940b4014",- "reference": "46e223dd68a620da18855c23046ddb00940b4014",++ "url": "https://api.github.com/repos/phpstan/phpstan/zipball/ee5d8f2d3977fb09e55603eee6fb53bdd76ee9c1",++ "reference": "ee5d8f2d3977fb09e55603eee6fb53bdd76ee9c1","shasum": ""},"require": {@@@ -13552,7 -14397,7 +13672,7 @@@"type": "tidelift"}],- "time": "2023-07-19T12:44:37+00:00"- "time": "2022-10-24T15:45:13+00:00"++ "time": "2023-08-14T13:24:11+00:00"},{"name": "phpunit/php-code-coverage",@@@ -14325,16 -15240,16 +14445,16 @@@},{"name": "sebastian/global-state",-- "version": "5.0.5",++ "version": "5.0.6","source": {"type": "git","url": "https://github.com/sebastianbergmann/global-state.git",-- "reference": "0ca8db5a5fc9c8646244e629625ac486fa286bf2"++ "reference": "bde739e7565280bda77be70044ac1047bc007e34"},"dist": {"type": "zip",-- "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/0ca8db5a5fc9c8646244e629625ac486fa286bf2",-- "reference": "0ca8db5a5fc9c8646244e629625ac486fa286bf2",++ "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/bde739e7565280bda77be70044ac1047bc007e34",++ "reference": "bde739e7565280bda77be70044ac1047bc007e34","shasum": ""},"require": {@@@ -14377,7 -15292,7 +14497,7 @@@],"support": {"issues": "https://github.com/sebastianbergmann/global-state/issues",-- "source": "https://github.com/sebastianbergmann/global-state/tree/5.0.5"++ "source": "https://github.com/sebastianbergmann/global-state/tree/5.0.6"},"funding": [{@@@ -14385,7 -15300,7 +14505,7 @@@"type": "github"}],-- "time": "2022-02-14T08:28:10+00:00"++ "time": "2023-08-02T09:26:13+00:00"},{"name": "sebastian/lines-of-code",@@@ -15661,16 -16615,16 +15781,16 @@@},{"name": "vimeo/psalm",- "version": "5.14.0",- "version": "5.13.1",++ "version": "5.14.1","source": {"type": "git","url": "https://github.com/vimeo/psalm.git",- "reference": "b2942cefed8443002bd3f245c4cd0a54193716d8"- "reference": "086b94371304750d1c673315321a55d15fc59015"++ "reference": "b9d355e0829c397b9b3b47d0c0ed042a8a70284d"},"dist": {"type": "zip",- "url": "https://api.github.com/repos/vimeo/psalm/zipball/b2942cefed8443002bd3f245c4cd0a54193716d8",- "reference": "b2942cefed8443002bd3f245c4cd0a54193716d8",- "url": "https://api.github.com/repos/vimeo/psalm/zipball/086b94371304750d1c673315321a55d15fc59015",- "reference": "086b94371304750d1c673315321a55d15fc59015",++ "url": "https://api.github.com/repos/vimeo/psalm/zipball/b9d355e0829c397b9b3b47d0c0ed042a8a70284d",++ "reference": "b9d355e0829c397b9b3b47d0c0ed042a8a70284d","shasum": ""},"require": {@@@ -15761,9 -16715,9 +15881,9 @@@],"support": {"issues": "https://github.com/vimeo/psalm/issues",- "source": "https://github.com/vimeo/psalm/tree/5.14.0"- "source": "https://github.com/vimeo/psalm/tree/5.13.1"++ "source": "https://github.com/vimeo/psalm/tree/5.14.1"},- "time": "2023-07-30T20:18:56+00:00"- "time": "2023-06-27T16:39:49+00:00"++ "time": "2023-08-01T05:16:55+00:00"}],"aliases": [],diff --cc package-lock.jsonindex c34a5d405b,649581f940..e3d3350493--- a/package-lock.json+++ b/package-lock.json@@@ -1,103 -1,48 +1,104 @@@{+ "name": "snipe-it",+ "lockfileVersion": 3,"requires": true,- "lockfileVersion": 1,- "dependencies": {- "@ampproject/remapping": {- "version": "2.2.0",- "resolved": "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.2.0.tgz",- "integrity": "sha512-qRmjj8nj9qmLTQXXmaR1cck3UXSRMPrbsLJAasZpF+t3riI71BXed5ebIOYwQntykeZuhjsdweEc9BxH5Jc26w==",+ "packages": {+ "": {+ "dependencies": {+ "@fortawesome/fontawesome-free": "^6.4.0",+ "acorn": "^8.9.0",+ "acorn-import-assertions": "^1.9.0",+ "admin-lte": "^2.4.18",+ "ajv": "^6.12.6",++ "alpinejs": "^3.10.5",+ "blueimp-file-upload": "^9.34.0",+ "bootstrap": "^3.4.1",+ "bootstrap-colorpicker": "^2.5.3",+ "bootstrap-datepicker": "^1.10.0",+ "bootstrap-less": "^3.3.8",+ "bootstrap-table": "1.22.1",+ "chart.js": "^2.9.4",+ "css-loader": "^4.0.0",+ "ekko-lightbox": "^5.1.1",+ "imagemin": "^8.0.1",+ "jquery-slimscroll": "^1.3.8",+ "jquery-ui": "^1.13.2",+ "jquery-ui-bundle": "^1.12.1",+ "jquery.iframe-transport": "^1.0.0",- "jspdf-autotable": "^3.5.24",++ "jspdf-autotable": "^3.5.30",+ "less": "^4.1.2",+ "less-loader": "^6.0",+ "list.js": "^1.5.0",+ "morris.js": "github:morrisjs/morris.js",+ "papaparse": "^4.3.3",+ "select2": "4.0.13",+ "sheetjs": "^2.0.0",+ "tableexport.jquery.plugin": "1.28.0",+ "tether": "^1.4.0",+ "vue-resource": "^1.5.2",- "webpack": "^5.87.0"++ "webpack": "^5.88.2"+ },+ "devDependencies": {+ "axios": "^0.27.2",+ "babel-preset-latest": "^6.24.1",+ "jquery": "<3.6.0",+ "laravel-mix": "^6.0.49",+ "lodash": "^4.17.20",+ "postcss": "^8.4.5",+ "vue": "2.4.4",+ "vue-loader": "^15.9.7",+ "vue-template-compiler": "2.4.4"+ },+ "engines": {+ "node": ">=0.12"+ }+ },+ "node_modules/@ampproject/remapping": {+ "version": "2.2.1","dev": true,- "requires": {- "@jridgewell/gen-mapping": "^0.1.0",+ "license": "Apache-2.0",+ "dependencies": {+ "@jridgewell/gen-mapping": "^0.3.0","@jridgewell/trace-mapping": "^0.3.9"+ },+ "engines": {+ "node": ">=6.0.0"}},- "@babel/code-frame": {- "version": "7.16.7",- "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.16.7.tgz",- "integrity": "sha512-iAXqUn8IIeBTNd72xsFlgaXHkMBMt6y4HJp1tIaK465CWLT/fG1aqB7ykr95gHHmlBdGbFeWWfyB4NJJ0nmeIg==",+ "node_modules/@babel/code-frame": {+ "version": "7.21.4","dev": true,- "requires": {- "@babel/highlight": "^7.16.7"+ "license": "MIT",+ "dependencies": {+ "@babel/highlight": "^7.18.6"+ },+ "engines": {+ "node": ">=6.9.0"}},- "@babel/compat-data": {- "version": "7.18.5",- "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.18.5.tgz",- "integrity": "sha512-BxhE40PVCBxVEJsSBhB6UWyAuqJRxGsAw8BdHMJ3AKGydcwuWW4kOO3HmqBQAdcq/OP+/DlTVxLvsCzRTnZuGg==",- "dev": true+ "node_modules/@babel/compat-data": {+ "version": "7.21.7",+ "dev": true,+ "license": "MIT",+ "engines": {+ "node": ">=6.9.0"+ }},- "@babel/core": {- "version": "7.18.5",- "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.18.5.tgz",- "integrity": "sha512-MGY8vg3DxMnctw0LdvSEojOsumc70g0t18gNyUdAZqB1Rpd1Bqo/svHGvt+UJ6JcGX+DIekGFDxxIWofBxLCnQ==",- "dev": true,- "requires": {- "@ampproject/remapping": "^2.1.0",- "@babel/code-frame": "^7.16.7",- "@babel/generator": "^7.18.2",- "@babel/helper-compilation-targets": "^7.18.2",- "@babel/helper-module-transforms": "^7.18.0",- "@babel/helpers": "^7.18.2",- "@babel/parser": "^7.18.5",- "@babel/template": "^7.16.7",- "@babel/traverse": "^7.18.5",- "@babel/types": "^7.18.4",+ "node_modules/@babel/core": {+ "version": "7.21.5",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "@ampproject/remapping": "^2.2.0",+ "@babel/code-frame": "^7.21.4",+ "@babel/generator": "^7.21.5",+ "@babel/helper-compilation-targets": "^7.21.5",+ "@babel/helper-module-transforms": "^7.21.5",+ "@babel/helpers": "^7.21.5",+ "@babel/parser": "^7.21.5",+ "@babel/template": "^7.20.7",+ "@babel/traverse": "^7.21.5",+ "@babel/types": "^7.21.5","convert-source-map": "^1.7.0","debug": "^4.1.0","gensync": "^1.0.0-beta.2",@@@ -2251,71 -1806,114 +2252,84 @@@"source-map": "~0.6.1","vue-template-es2015-compiler": "^1.9.0"},+ "optionalDependencies": {+ "prettier": "^1.18.2 || ^2.0.0"+ }+ },+ "node_modules/@vue/component-compiler-utils/node_modules/lru-cache": {+ "version": "4.1.5",+ "dev": true,+ "license": "ISC","dependencies": {- "ansi-styles": {- "version": "3.2.1",- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz",- "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==",- "dev": true,- "requires": {- "color-convert": "^1.9.0"- }- },- "chalk": {- "version": "2.4.2",- "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz",- "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==",- "dev": true,- "requires": {- "ansi-styles": "^3.2.1",- "escape-string-regexp": "^1.0.5",- "supports-color": "^5.3.0"- },- "dependencies": {- "supports-color": {- "version": "5.5.0",- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz",- "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==",- "dev": true,- "requires": {- "has-flag": "^3.0.0"- }- }- }- },- "lru-cache": {- "version": "4.1.5",- "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-4.1.5.tgz",- "integrity": "sha512-sWZlbEP2OsHNkXrMl5GYk/jKk70MBng6UU4YI/qGDYbgf6YbP4EvmqISbXCoJiRKs+1bSpFHVgQxvJ17F2li5g==",- "dev": true,- "requires": {- "pseudomap": "^1.0.2",- "yallist": "^2.1.2"- }- },- "postcss": {- "version": "7.0.36",- "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.36.tgz",- "integrity": "sha512-BebJSIUMwJHRH0HAQoxN4u1CN86glsrwsW0q7T+/m44eXOUAxSNdHRkNZPYz5vVUbg17hFgOQDE7fZk7li3pZw==",- "dev": true,- "requires": {- "chalk": "^2.4.2",- "source-map": "^0.6.1",- "supports-color": "^6.1.0"- }- },- "source-map": {- "version": "0.6.1",- "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz",- "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==",- "dev": true- },- "supports-color": {- "version": "6.1.0",- "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz",- "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==",- "dev": true,- "requires": {- "has-flag": "^3.0.0"- }- },- "yallist": {- "version": "2.1.2",- "resolved": "https://registry.npmjs.org/yallist/-/yallist-2.1.2.tgz",- "integrity": "sha1-HBH5IY8HYImkfdUS+TxmmaaoHVI=",- "dev": true- }+ "pseudomap": "^1.0.2",+ "yallist": "^2.1.2"+ }+ },+ "node_modules/@vue/component-compiler-utils/node_modules/picocolors": {+ "version": "0.2.1",+ "dev": true,+ "license": "ISC"+ },+ "node_modules/@vue/component-compiler-utils/node_modules/postcss": {+ "version": "7.0.39",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "picocolors": "^0.2.1",+ "source-map": "^0.6.1"+ },+ "engines": {+ "node": ">=6.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/postcss/"+ }+ },+ "node_modules/@vue/component-compiler-utils/node_modules/yallist": {+ "version": "2.1.2",+ "dev": true,+ "license": "ISC"+ },++ "node_modules/@vue/reactivity": {++ "version": "3.1.5",++ "resolved": "https://registry.npmjs.org/@vue/reactivity/-/reactivity-3.1.5.tgz",++ "integrity": "sha512-1tdfLmNjWG6t/CsPldh+foumYFo3cpyCHgBYQ34ylaMsJ+SNHQ1kApMIa8jN+i593zQuaw3AdWH0nJTARzCFhg==",++ "dependencies": {++ "@vue/shared": "3.1.5"++ }++ },++ "node_modules/@vue/shared": {++ "version": "3.1.5",++ "resolved": "https://registry.npmjs.org/@vue/shared/-/shared-3.1.5.tgz",++ "integrity": "sha512-oJ4F3TnvpXaQwZJNF3ZK+kLPHKarDmJjJ6jyzVNDKH9md1dptjC7lWR//jrGuLdek/U6iltWxqAnYOu8gCiOvA=="++ },+ "node_modules/@webassemblyjs/ast": {+ "version": "1.11.5",+ "license": "MIT",+ "dependencies": {+ "@webassemblyjs/helper-numbers": "1.11.5",+ "@webassemblyjs/helper-wasm-bytecode": "1.11.5"}},- "@webassemblyjs/ast": {- "version": "1.11.6",- "resolved": "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.11.6.tgz",- "integrity": "sha512-IN1xI7PwOvLPgjcf180gC1bqn3q/QaOCwYUahIOhbYUu8KA/3tw2RT/T0Gidi1l7Hhj5D/INhJxiICObqpMu4Q==",- "requires": {- "@webassemblyjs/helper-numbers": "1.11.6",- "@webassemblyjs/helper-wasm-bytecode": "1.11.6"- }- },- "@webassemblyjs/floating-point-hex-parser": {- "version": "1.11.6",- "resolved": "https://registry.npmjs.org/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.11.6.tgz",- "integrity": "sha512-ejAj9hfRJ2XMsNHk/v6Fu2dGS+i4UaXBXGemOfQ/JfQ6mdQg/WXtwleQRLLS4OvfDhv8rYnVwH27YJLMyYsxhw=="- },- "@webassemblyjs/helper-api-error": {- "version": "1.11.6",- "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-api-error/-/helper-api-error-1.11.6.tgz",- "integrity": "sha512-o0YkoP4pVu4rN8aTJgAyj9hC2Sv5UlkzCHhxqWj8butaLvnpdc2jOwh4ewE6CX0txSfLn/UYaV/pheS2Txg//Q=="- },- "@webassemblyjs/helper-buffer": {- "version": "1.11.6",- "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-buffer/-/helper-buffer-1.11.6.tgz",- "integrity": "sha512-z3nFzdcp1mb8nEOFFk8DrYLpHvhKC3grJD2ardfKOzmbmJvEf/tPIqCY+sNcwZIY8ZD7IkB2l7/pqhUhqm7hLA=="- },- "@webassemblyjs/helper-numbers": {- "version": "1.11.6",- "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-numbers/-/helper-numbers-1.11.6.tgz",- "integrity": "sha512-vUIhZ8LZoIWHBohiEObxVm6hwP034jwmc9kuq5GdHZH0wiLVLIPcMCdpJzG4C11cHoQ25TFIQj9kaVADVX7N3g==",- "requires": {- "@webassemblyjs/floating-point-hex-parser": "1.11.6",- "@webassemblyjs/helper-api-error": "1.11.6",+ "node_modules/@webassemblyjs/floating-point-hex-parser": {+ "version": "1.11.5",+ "license": "MIT"+ },+ "node_modules/@webassemblyjs/helper-api-error": {+ "version": "1.11.5",+ "license": "MIT"+ },+ "node_modules/@webassemblyjs/helper-buffer": {+ "version": "1.11.5",+ "license": "MIT"+ },+ "node_modules/@webassemblyjs/helper-numbers": {+ "version": "1.11.5",+ "license": "MIT",+ "dependencies": {+ "@webassemblyjs/floating-point-hex-parser": "1.11.5",+ "@webassemblyjs/helper-api-error": "1.11.5","@xtuc/long": "4.2.2"}},@@@ -2578,102 -2182,69 +2592,110 @@@}}},- "ajv-keywords": {+ "node_modules/ajv-formats/node_modules/ajv": {+ "version": "8.12.0",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "fast-deep-equal": "^3.1.1",+ "json-schema-traverse": "^1.0.0",+ "require-from-string": "^2.0.2",+ "uri-js": "^4.2.2"+ },+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/epoberezkin"+ }+ },+ "node_modules/ajv-formats/node_modules/json-schema-traverse": {+ "version": "1.0.0",+ "dev": true,+ "license": "MIT"+ },+ "node_modules/ajv-keywords": {"version": "3.5.2",- "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-3.5.2.tgz",- "integrity": "sha512-5p6WTN0DdTGVQk6VjcEju19IgaHudalcfabD7yhDGeA6bcQnmL+CpveLJq/3hvfwd1aof6L386Ougkx6RfyMIQ=="+ "license": "MIT",+ "peerDependencies": {+ "ajv": "^6.9.1"+ }+ },++ "node_modules/alpinejs": {++ "version": "3.12.3",++ "resolved": "https://registry.npmjs.org/alpinejs/-/alpinejs-3.12.3.tgz",++ "integrity": "sha512-fLz2dfYQ3xCk7Ip8LiIpV2W+9brUyex2TAE7Z0BCvZdUDklJE+n+a8gCgLWzfZ0GzZNZu7HUP8Z0z6Xbm6fsSA==",++ "dependencies": {++ "@vue/reactivity": "~3.1.1"++ }+ },- "ansi-html-community": {+ "node_modules/ansi-html-community": {"version": "0.0.8",- "resolved": "https://registry.npmjs.org/ansi-html-community/-/ansi-html-community-0.0.8.tgz",- "integrity": "sha512-1APHAyr3+PCamwNw3bXCPp4HFLONZt/yIH0sZp0/469KWNTEy+qN5jQ3GVX6DMZ1UXAi34yVwtTeaG/HpBuuzw==",- "dev": true+ "dev": true,+ "engines": [+ "node >= 0.8.0"+ ],+ "license": "Apache-2.0",+ "bin": {+ "ansi-html": "bin/ansi-html"+ }},- "ansi-regex": {+ "node_modules/ansi-regex": {"version": "2.1.1",- "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz",- "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=",- "dev": true+ "dev": true,+ "license": "MIT",+ "engines": {+ "node": ">=0.10.0"+ }},- "ansi-styles": {+ "node_modules/ansi-styles": {"version": "2.2.1",- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz",- "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=",- "dev": true+ "dev": true,+ "license": "MIT",+ "engines": {+ "node": ">=0.10.0"+ }},- "anymatch": {- "version": "3.1.2",- "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.2.tgz",- "integrity": "sha512-P43ePfOAIupkguHUycrc4qJ9kz8ZiuOUijaETwX7THt0Y/GNK7v0aa8rY816xWjZ7rJdA5XdMcpVFTKMq+RvWg==",+ "node_modules/anymatch": {+ "version": "3.1.3","dev": true,- "requires": {+ "license": "ISC",+ "dependencies": {"normalize-path": "^3.0.0","picomatch": "^2.0.4"+ },+ "engines": {+ "node": ">= 8"}},- "array-buffer-byte-length": {+ "node_modules/array-buffer-byte-length": {"version": "1.0.0",- "resolved": "https://registry.npmjs.org/array-buffer-byte-length/-/array-buffer-byte-length-1.0.0.tgz",- "integrity": "sha512-LPuwb2P+NrQw3XhxGc36+XSvuBPopovXYTR9Ew++Du9Yb/bx5AzBfrIsBoj0EZUifjQU+sHL21sseZ3jerWO/A==",- "requires": {+ "license": "MIT",+ "dependencies": {"call-bind": "^1.0.2","is-array-buffer": "^3.0.1"+ },+ "funding": {+ "url": "https://github.com/sponsors/ljharb"}},- "array-filter": {- "version": "1.0.0",- "resolved": "https://registry.npmjs.org/array-filter/-/array-filter-1.0.0.tgz",- "integrity": "sha1-uveeYubvTCpMC4MSMtr/7CUfnYM="- },- "array-flatten": {+ "node_modules/array-flatten": {"version": "2.1.2",- "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-2.1.2.tgz",- "integrity": "sha512-hNfzcOV8W4NdualtqBFPyVO+54DSJuZGY9qT4pRroB6S9e3iiido2ISIC5h9R2sPJ8H3FHCIiEnsv1lPXO3KtQ==",- "dev": true+ "dev": true,+ "license": "MIT"},- "array-union": {+ "node_modules/array-union": {"version": "3.0.1",- "resolved": "https://registry.npmjs.org/array-union/-/array-union-3.0.1.tgz",- "integrity": "sha512-1OvF9IbWwaeiM9VhzYXVQacMibxpXOMYVNIvMtKRyX9SImBXpKcFr8XvFDeEslCyuH/t6KRt7HEO94AlP8Iatw=="+ "license": "MIT",+ "engines": {+ "node": ">=12"+ },+ "funding": {+ "url": "https://github.com/sponsors/sindresorhus"+ }},- "asn1.js": {+ "node_modules/asn1.js": {"version": "5.4.1",- "resolved": "https://registry.npmjs.org/asn1.js/-/asn1.js-5.4.1.tgz",- "integrity": "sha512-+I//4cYPccV8LdmBLiX8CYvf9Sp3vQsrqu2QNXRcrbiWvcx/UdlFiqUJJzxRQxgsZmvhXhn4cSKeSmoFjVdupA==",- "requires": {+ "license": "MIT",+ "dependencies": {"bn.js": "^4.0.0","inherits": "^2.0.1","minimalistic-assert": "^1.0.0",@@@ -7028,36 -15949,33 +7050,37 @@@"canvg": "^3.0.6","core-js": "^3.6.0","dompurify": "^2.2.0",- "fflate": "^0.4.8","html2canvas": "^1.0.0-rc.5"- },- "dependencies": {- "core-js": {- "version": "3.32.0",- "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.32.0.tgz",- "integrity": "sha512-rd4rYZNlF3WuoYuRIDEmbR/ga9CeuWX9U05umAvgrrZoHY4Z++cp/xwPQMvUpBB4Ag6J8KfD80G0zwCyaSxDww==",- "optional": true- }}},- "jspdf-autotable": {+ "node_modules/jspdf-autotable": {- "version": "3.5.28",- "license": "MIT",+ "version": "3.5.31",+ "resolved": "https://registry.npmjs.org/jspdf-autotable/-/jspdf-autotable-3.5.31.tgz",- "integrity": "sha512-Lc1KuLGDQWW/5t57Z/+c2E94XQV3jV2QVU3xMRiwvcm/nMx79aCkpPCsxLzJZVFneZvz4XoA8+egQR1QajYiWw=="++ "integrity": "sha512-Lc1KuLGDQWW/5t57Z/+c2E94XQV3jV2QVU3xMRiwvcm/nMx79aCkpPCsxLzJZVFneZvz4XoA8+egQR1QajYiWw==",+ "peerDependencies": {+ "jspdf": "^2.5.1"+ }+ },+ "node_modules/jspdf/node_modules/core-js": {+ "version": "3.30.1",+ "hasInstallScript": true,+ "license": "MIT",+ "optional": true,+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/core-js"+ }},- "junk": {+ "node_modules/junk": {"version": "3.1.0",- "resolved": "https://registry.npmjs.org/junk/-/junk-3.1.0.tgz",- "integrity": "sha512-pBxcB3LFc8QVgdggvZWyeys+hnrNWg4OcZIU/1X59k5jQdLBlCsYGRQaz234SqoRLTCgMH00fY0xRJH+F9METQ=="+ "license": "MIT",+ "engines": {+ "node": ">=8"+ }},- "jvectormap": {+ "node_modules/jvectormap": {"version": "1.2.2",- "resolved": "https://registry.npmjs.org/jvectormap/-/jvectormap-1.2.2.tgz",- "integrity": "sha1-LkQIskpgRz/xBsHnJD43WuXKhdo=",- "requires": {+ "dependencies": {"jquery": ">=1.5"}},diff --cc package.jsonindex 3a7f433e55,7a497786e3..8f8c5ed7b4--- a/package.json+++ b/package.json@@@ -43,11 -45,10 +44,11 @@@"jquery-ui": "^1.13.2","jquery-ui-bundle": "^1.12.1","jquery.iframe-transport": "^1.0.0",- "jspdf-autotable": "^3.5.24",+ "jspdf-autotable": "^3.5.30","less": "^4.1.2",- "less-loader": "^5.0",+ "less-loader": "^6.0","list.js": "^1.5.0",+ "morris.js": "github:morrisjs/morris.js","papaparse": "^4.3.3","select2": "4.0.13","sheetjs": "^2.0.0",diff --cc public/js/dist/all-defer.jsindex 0000000000,3eac3595a9..177a88ef9bmode 000000,100644..100644--- a/public/js/dist/all-defer.js+++ b/public/js/dist/all-defer.js@@@ -1,0 -1,2968 +1,1 @@@-(() => {- // packages/alpinejs/src/scheduler.js- var flushPending = false;- var flushing = false;- var queue = [];- function scheduler(callback) {- queueJob(callback);- }- function queueJob(job) {- if (!queue.includes(job))- queue.push(job);- queueFlush();- }- function dequeueJob(job) {- let index = queue.indexOf(job);- if (index !== -1)- queue.splice(index, 1);- }- function queueFlush() {- if (!flushing && !flushPending) {- flushPending = true;- queueMicrotask(flushJobs);- }- }- function flushJobs() {- flushPending = false;- flushing = true;- for (let i = 0; i < queue.length; i++) {- queue[i]();- }- queue.length = 0;- flushing = false;- }-- // packages/alpinejs/src/reactivity.js- var reactive;- var effect;- var release;- var raw;- var shouldSchedule = true;- function disableEffectScheduling(callback) {- shouldSchedule = false;- callback();- shouldSchedule = true;- }- function setReactivityEngine(engine) {- reactive = engine.reactive;- release = engine.release;- effect = (callback) => engine.effect(callback, {scheduler: (task) => {- if (shouldSchedule) {- scheduler(task);- } else {- task();- }- }});- raw = engine.raw;- }- function overrideEffect(override) {- effect = override;- }- function elementBoundEffect(el) {- let cleanup2 = () => {- };- let wrappedEffect = (callback) => {- let effectReference = effect(callback);- if (!el._x_effects) {- el._x_effects = new Set();- el._x_runEffects = () => {- el._x_effects.forEach((i) => i());- };- }- el._x_effects.add(effectReference);- cleanup2 = () => {- if (effectReference === void 0)- return;- el._x_effects.delete(effectReference);- release(effectReference);- };- return effectReference;- };- return [wrappedEffect, () => {- cleanup2();- }];- }-- // packages/alpinejs/src/mutation.js- var onAttributeAddeds = [];- var onElRemoveds = [];- var onElAddeds = [];- function onElAdded(callback) {- onElAddeds.push(callback);- }- function onElRemoved(el, callback) {- if (typeof callback === "function") {- if (!el._x_cleanups)- el._x_cleanups = [];- el._x_cleanups.push(callback);- } else {- callback = el;- onElRemoveds.push(callback);- }- }- function onAttributesAdded(callback) {- onAttributeAddeds.push(callback);- }- function onAttributeRemoved(el, name, callback) {- if (!el._x_attributeCleanups)- el._x_attributeCleanups = {};- if (!el._x_attributeCleanups[name])- el._x_attributeCleanups[name] = [];- el._x_attributeCleanups[name].push(callback);- }- function cleanupAttributes(el, names) {- if (!el._x_attributeCleanups)- return;- Object.entries(el._x_attributeCleanups).forEach(([name, value]) => {- if (names === void 0 || names.includes(name)) {- value.forEach((i) => i());- delete el._x_attributeCleanups[name];- }- });- }- var observer = new MutationObserver(onMutate);- var currentlyObserving = false;- function startObservingMutations() {- observer.observe(document, {subtree: true, childList: true, attributes: true, attributeOldValue: true});- currentlyObserving = true;- }- function stopObservingMutations() {- flushObserver();- observer.disconnect();- currentlyObserving = false;- }- var recordQueue = [];- var willProcessRecordQueue = false;- function flushObserver() {- recordQueue = recordQueue.concat(observer.takeRecords());- if (recordQueue.length && !willProcessRecordQueue) {- willProcessRecordQueue = true;- queueMicrotask(() => {- processRecordQueue();- willProcessRecordQueue = false;- });- }- }- function processRecordQueue() {- onMutate(recordQueue);- recordQueue.length = 0;- }- function mutateDom(callback) {- if (!currentlyObserving)- return callback();- stopObservingMutations();- let result = callback();- startObservingMutations();- return result;- }- var isCollecting = false;- var deferredMutations = [];- function deferMutations() {- isCollecting = true;- }- function flushAndStopDeferringMutations() {- isCollecting = false;- onMutate(deferredMutations);- deferredMutations = [];- }- function onMutate(mutations) {- if (isCollecting) {- deferredMutations = deferredMutations.concat(mutations);- return;- }- let addedNodes = [];- let removedNodes = [];- let addedAttributes = new Map();- let removedAttributes = new Map();- for (let i = 0; i < mutations.length; i++) {- if (mutations[i].target._x_ignoreMutationObserver)- continue;- if (mutations[i].type === "childList") {- mutations[i].addedNodes.forEach((node) => node.nodeType === 1 && addedNodes.push(node));- mutations[i].removedNodes.forEach((node) => node.nodeType === 1 && removedNodes.push(node));- }- if (mutations[i].type === "attributes") {- let el = mutations[i].target;- let name = mutations[i].attributeName;- let oldValue = mutations[i].oldValue;- let add2 = () => {- if (!addedAttributes.has(el))- addedAttributes.set(el, []);- addedAttributes.get(el).push({name, value: el.getAttribute(name)});- };- let remove = () => {- if (!removedAttributes.has(el))- removedAttributes.set(el, []);- removedAttributes.get(el).push(name);- };- if (el.hasAttribute(name) && oldValue === null) {- add2();- } else if (el.hasAttribute(name)) {- remove();- add2();- } else {- remove();- }- }- }- removedAttributes.forEach((attrs, el) => {- cleanupAttributes(el, attrs);- });- addedAttributes.forEach((attrs, el) => {- onAttributeAddeds.forEach((i) => i(el, attrs));- });- for (let node of removedNodes) {- if (addedNodes.includes(node))- continue;- onElRemoveds.forEach((i) => i(node));- if (node._x_cleanups) {- while (node._x_cleanups.length)- node._x_cleanups.pop()();- }- }- addedNodes.forEach((node) => {- node._x_ignoreSelf = true;- node._x_ignore = true;- });- for (let node of addedNodes) {- if (removedNodes.includes(node))- continue;- if (!node.isConnected)- continue;- delete node._x_ignoreSelf;- delete node._x_ignore;- onElAddeds.forEach((i) => i(node));- node._x_ignore = true;- node._x_ignoreSelf = true;- }- addedNodes.forEach((node) => {- delete node._x_ignoreSelf;- delete node._x_ignore;- });- addedNodes = null;- removedNodes = null;- addedAttributes = null;- removedAttributes = null;- }-- // packages/alpinejs/src/scope.js- function scope(node) {- return mergeProxies(closestDataStack(node));- }- function addScopeToNode(node, data2, referenceNode) {- node._x_dataStack = [data2, ...closestDataStack(referenceNode || node)];- return () => {- node._x_dataStack = node._x_dataStack.filter((i) => i !== data2);- };- }- function refreshScope(element, scope2) {- let existingScope = element._x_dataStack[0];- Object.entries(scope2).forEach(([key, value]) => {- existingScope[key] = value;- });- }- function closestDataStack(node) {- if (node._x_dataStack)- return node._x_dataStack;- if (typeof ShadowRoot === "function" && node instanceof ShadowRoot) {- return closestDataStack(node.host);- }- if (!node.parentNode) {- return [];- }- return closestDataStack(node.parentNode);- }- function mergeProxies(objects) {- let thisProxy = new Proxy({}, {- ownKeys: () => {- return Array.from(new Set(objects.flatMap((i) => Object.keys(i))));- },- has: (target, name) => {- return objects.some((obj) => obj.hasOwnProperty(name));- },- get: (target, name) => {- return (objects.find((obj) => {- if (obj.hasOwnProperty(name)) {- let descriptor = Object.getOwnPropertyDescriptor(obj, name);- if (descriptor.get && descriptor.get._x_alreadyBound || descriptor.set && descriptor.set._x_alreadyBound) {- return true;- }- if ((descriptor.get || descriptor.set) && descriptor.enumerable) {- let getter = descriptor.get;- let setter = descriptor.set;- let property = descriptor;- getter = getter && getter.bind(thisProxy);- setter = setter && setter.bind(thisProxy);- if (getter)- getter._x_alreadyBound = true;- if (setter)- setter._x_alreadyBound = true;- Object.defineProperty(obj, name, {- ...property,- get: getter,- set: setter- });- }- return true;- }- return false;- }) || {})[name];- },- set: (target, name, value) => {- let closestObjectWithKey = objects.find((obj) => obj.hasOwnProperty(name));- if (closestObjectWithKey) {- closestObjectWithKey[name] = value;- } else {- objects[objects.length - 1][name] = value;- }- return true;- }- });- return thisProxy;- }-- // packages/alpinejs/src/interceptor.js- function initInterceptors(data2) {- let isObject2 = (val) => typeof val === "object" && !Array.isArray(val) && val !== null;- let recurse = (obj, basePath = "") => {- Object.entries(Object.getOwnPropertyDescriptors(obj)).forEach(([key, {value, enumerable}]) => {- if (enumerable === false || value === void 0)- return;- let path = basePath === "" ? key : `${basePath}.${key}`;- if (typeof value === "object" && value !== null && value._x_interceptor) {- obj[key] = value.initialize(data2, path, key);- } else {- if (isObject2(value) && value !== obj && !(value instanceof Element)) {- recurse(value, path);- }- }- });- };- return recurse(data2);- }- function interceptor(callback, mutateObj = () => {- }) {- let obj = {- initialValue: void 0,- _x_interceptor: true,- initialize(data2, path, key) {- return callback(this.initialValue, () => get(data2, path), (value) => set(data2, path, value), path, key);- }- };- mutateObj(obj);- return (initialValue) => {- if (typeof initialValue === "object" && initialValue !== null && initialValue._x_interceptor) {- let initialize = obj.initialize.bind(obj);- obj.initialize = (data2, path, key) => {- let innerValue = initialValue.initialize(data2, path, key);- obj.initialValue = innerValue;- return initialize(data2, path, key);- };- } else {- obj.initialValue = initialValue;- }- return obj;- };- }- function get(obj, path) {- return path.split(".").reduce((carry, segment) => carry[segment], obj);- }- function set(obj, path, value) {- if (typeof path === "string")- path = path.split(".");- if (path.length === 1)- obj[path[0]] = value;- else if (path.length === 0)- throw error;- else {- if (obj[path[0]])- return set(obj[path[0]], path.slice(1), value);- else {- obj[path[0]] = {};- return set(obj[path[0]], path.slice(1), value);- }- }- }-- // packages/alpinejs/src/magics.js- var magics = {};- function magic(name, callback) {- magics[name] = callback;- }- function injectMagics(obj, el) {- Object.entries(magics).forEach(([name, callback]) => {- Object.defineProperty(obj, `$${name}`, {- get() {- let [utilities, cleanup2] = getElementBoundUtilities(el);- utilities = {interceptor, ...utilities};- onElRemoved(el, cleanup2);- return callback(el, utilities);- },- enumerable: false- });- });- return obj;- }-- // packages/alpinejs/src/utils/error.js- function tryCatch(el, expression, callback, ...args) {- try {- return callback(...args);- } catch (e) {- handleError(e, el, expression);- }- }- function handleError(error2, el, expression = void 0) {- Object.assign(error2, {el, expression});- console.warn(`Alpine Expression Error: ${error2.message}--${expression ? 'Expression: "' + expression + '"\n\n' : ""}`, el);- setTimeout(() => {- throw error2;- }, 0);- }-- // packages/alpinejs/src/evaluator.js- var shouldAutoEvaluateFunctions = true;- function dontAutoEvaluateFunctions(callback) {- let cache = shouldAutoEvaluateFunctions;- shouldAutoEvaluateFunctions = false;- callback();- shouldAutoEvaluateFunctions = cache;- }- function evaluate(el, expression, extras = {}) {- let result;- evaluateLater(el, expression)((value) => result = value, extras);- return result;- }- function evaluateLater(...args) {- return theEvaluatorFunction(...args);- }- var theEvaluatorFunction = normalEvaluator;- function setEvaluator(newEvaluator) {- theEvaluatorFunction = newEvaluator;- }- function normalEvaluator(el, expression) {- let overriddenMagics = {};- injectMagics(overriddenMagics, el);- let dataStack = [overriddenMagics, ...closestDataStack(el)];- if (typeof expression === "function") {- return generateEvaluatorFromFunction(dataStack, expression);- }- let evaluator = generateEvaluatorFromString(dataStack, expression, el);- return tryCatch.bind(null, el, expression, evaluator);- }- function generateEvaluatorFromFunction(dataStack, func) {- return (receiver = () => {- }, {scope: scope2 = {}, params = []} = {}) => {- let result = func.apply(mergeProxies([scope2, ...dataStack]), params);- runIfTypeOfFunction(receiver, result);- };- }- var evaluatorMemo = {};- function generateFunctionFromString(expression, el) {- if (evaluatorMemo[expression]) {- return evaluatorMemo[expression];- }- let AsyncFunction = Object.getPrototypeOf(async function() {- }).constructor;- let rightSideSafeExpression = /^[\n\s]*if.*\(.*\)/.test(expression) || /^(let|const)\s/.test(expression) ? `(() => { ${expression} })()` : expression;- const safeAsyncFunction = () => {- try {- return new AsyncFunction(["__self", "scope"], `with (scope) { __self.result = ${rightSideSafeExpression} }; __self.finished = true; return __self.result;`);- } catch (error2) {- handleError(error2, el, expression);- return Promise.resolve();- }- };- let func = safeAsyncFunction();- evaluatorMemo[expression] = func;- return func;- }- function generateEvaluatorFromString(dataStack, expression, el) {- let func = generateFunctionFromString(expression, el);- return (receiver = () => {- }, {scope: scope2 = {}, params = []} = {}) => {- func.result = void 0;- func.finished = false;- let completeScope = mergeProxies([scope2, ...dataStack]);- if (typeof func === "function") {- let promise = func(func, completeScope).catch((error2) => handleError(error2, el, expression));- if (func.finished) {- runIfTypeOfFunction(receiver, func.result, completeScope, params, el);- func.result = void 0;- } else {- promise.then((result) => {- runIfTypeOfFunction(receiver, result, completeScope, params, el);- }).catch((error2) => handleError(error2, el, expression)).finally(() => func.result = void 0);- }- }- };- }- function runIfTypeOfFunction(receiver, value, scope2, params, el) {- if (shouldAutoEvaluateFunctions && typeof value === "function") {- let result = value.apply(scope2, params);- if (result instanceof Promise) {- result.then((i) => runIfTypeOfFunction(receiver, i, scope2, params)).catch((error2) => handleError(error2, el, value));- } else {- receiver(result);- }- } else {- receiver(value);- }- }-- // packages/alpinejs/src/directives.js- var prefixAsString = "x-";- function prefix(subject = "") {- return prefixAsString + subject;- }- function setPrefix(newPrefix) {- prefixAsString = newPrefix;- }- var directiveHandlers = {};- function directive(name, callback) {- directiveHandlers[name] = callback;- }- function directives(el, attributes, originalAttributeOverride) {- attributes = Array.from(attributes);- if (el._x_virtualDirectives) {- let vAttributes = Object.entries(el._x_virtualDirectives).map(([name, value]) => ({name, value}));- let staticAttributes = attributesOnly(vAttributes);- vAttributes = vAttributes.map((attribute) => {- if (staticAttributes.find((attr) => attr.name === attribute.name)) {- return {- name: `x-bind:${attribute.name}`,- value: `"${attribute.value}"`- };- }- return attribute;- });- attributes = attributes.concat(vAttributes);- }- let transformedAttributeMap = {};- let directives2 = attributes.map(toTransformedAttributes((newName, oldName) => transformedAttributeMap[newName] = oldName)).filter(outNonAlpineAttributes).map(toParsedDirectives(transformedAttributeMap, originalAttributeOverride)).sort(byPriority);- return directives2.map((directive2) => {- return getDirectiveHandler(el, directive2);- });- }- function attributesOnly(attributes) {- return Array.from(attributes).map(toTransformedAttributes()).filter((attr) => !outNonAlpineAttributes(attr));- }- var isDeferringHandlers = false;- var directiveHandlerStacks = new Map();- var currentHandlerStackKey = Symbol();- function deferHandlingDirectives(callback) {- isDeferringHandlers = true;- let key = Symbol();- currentHandlerStackKey = key;- directiveHandlerStacks.set(key, []);- let flushHandlers = () => {- while (directiveHandlerStacks.get(key).length)- directiveHandlerStacks.get(key).shift()();- directiveHandlerStacks.delete(key);- };- let stopDeferring = () => {- isDeferringHandlers = false;- flushHandlers();- };- callback(flushHandlers);- stopDeferring();- }- function getElementBoundUtilities(el) {- let cleanups = [];- let cleanup2 = (callback) => cleanups.push(callback);- let [effect3, cleanupEffect] = elementBoundEffect(el);- cleanups.push(cleanupEffect);- let utilities = {- Alpine: alpine_default,- effect: effect3,- cleanup: cleanup2,- evaluateLater: evaluateLater.bind(evaluateLater, el),- evaluate: evaluate.bind(evaluate, el)- };- let doCleanup = () => cleanups.forEach((i) => i());- return [utilities, doCleanup];- }- function getDirectiveHandler(el, directive2) {- let noop = () => {- };- let handler3 = directiveHandlers[directive2.type] || noop;- let [utilities, cleanup2] = getElementBoundUtilities(el);- onAttributeRemoved(el, directive2.original, cleanup2);- let fullHandler = () => {- if (el._x_ignore || el._x_ignoreSelf)- return;- handler3.inline && handler3.inline(el, directive2, utilities);- handler3 = handler3.bind(handler3, el, directive2, utilities);- isDeferringHandlers ? directiveHandlerStacks.get(currentHandlerStackKey).push(handler3) : handler3();- };- fullHandler.runCleanups = cleanup2;- return fullHandler;- }- var startingWith = (subject, replacement) => ({name, value}) => {- if (name.startsWith(subject))- name = name.replace(subject, replacement);- return {name, value};- };- var into = (i) => i;- function toTransformedAttributes(callback = () => {- }) {- return ({name, value}) => {- let {name: newName, value: newValue} = attributeTransformers.reduce((carry, transform) => {- return transform(carry);- }, {name, value});- if (newName !== name)- callback(newName, name);- return {name: newName, value: newValue};- };- }- var attributeTransformers = [];- function mapAttributes(callback) {- attributeTransformers.push(callback);- }- function outNonAlpineAttributes({name}) {- return alpineAttributeRegex().test(name);- }- var alpineAttributeRegex = () => new RegExp(`^${prefixAsString}([^:^.]+)\\b`);- function toParsedDirectives(transformedAttributeMap, originalAttributeOverride) {- return ({name, value}) => {- let typeMatch = name.match(alpineAttributeRegex());- let valueMatch = name.match(/:([a-zA-Z0-9\-:]+)/);- let modifiers = name.match(/\.[^.\]]+(?=[^\]]*$)/g) || [];- let original = originalAttributeOverride || transformedAttributeMap[name] || name;- return {- type: typeMatch ? typeMatch[1] : null,- value: valueMatch ? valueMatch[1] : null,- modifiers: modifiers.map((i) => i.replace(".", "")),- expression: value,- original- };- };- }- var DEFAULT = "DEFAULT";- var directiveOrder = [- "ignore",- "ref",- "data",- "id",- "radio",- "tabs",- "switch",- "disclosure",- "menu",- "listbox",- "list",- "item",- "combobox",- "bind",- "init",- "for",- "mask",- "model",- "modelable",- "transition",- "show",- "if",- DEFAULT,- "teleport"- ];- function byPriority(a, b) {- let typeA = directiveOrder.indexOf(a.type) === -1 ? DEFAULT : a.type;- let typeB = directiveOrder.indexOf(b.type) === -1 ? DEFAULT : b.type;- return directiveOrder.indexOf(typeA) - directiveOrder.indexOf(typeB);- }-- // packages/alpinejs/src/utils/dispatch.js- function dispatch(el, name, detail = {}) {- el.dispatchEvent(new CustomEvent(name, {- detail,- bubbles: true,- composed: true,- cancelable: true- }));- }-- // packages/alpinejs/src/nextTick.js- var tickStack = [];- var isHolding = false;- function nextTick(callback = () => {- }) {- queueMicrotask(() => {- isHolding || setTimeout(() => {- releaseNextTicks();- });- });- return new Promise((res) => {- tickStack.push(() => {- callback();- res();- });- });- }- function releaseNextTicks() {- isHolding = false;- while (tickStack.length)- tickStack.shift()();- }- function holdNextTicks() {- isHolding = true;- }-- // packages/alpinejs/src/utils/walk.js- function walk(el, callback) {- if (typeof ShadowRoot === "function" && el instanceof ShadowRoot) {- Array.from(el.children).forEach((el2) => walk(el2, callback));- return;- }- let skip = false;- callback(el, () => skip = true);- if (skip)- return;- let node = el.firstElementChild;- while (node) {- walk(node, callback, false);- node = node.nextElementSibling;- }- }-- // packages/alpinejs/src/utils/warn.js- function warn(message, ...args) {- console.warn(`Alpine Warning: ${message}`, ...args);- }-- // packages/alpinejs/src/lifecycle.js- function start() {- if (!document.body)- warn("Unable to initialize. Trying to load Alpine before `<body>` is available. Did you forget to add `defer` in Alpine's `<script>` tag?");- dispatch(document, "alpine:init");- dispatch(document, "alpine:initializing");- startObservingMutations();- onElAdded((el) => initTree(el, walk));- onElRemoved((el) => destroyTree(el));- onAttributesAdded((el, attrs) => {- directives(el, attrs).forEach((handle) => handle());- });- let outNestedComponents = (el) => !closestRoot(el.parentElement, true);- Array.from(document.querySelectorAll(allSelectors())).filter(outNestedComponents).forEach((el) => {- initTree(el);- });- dispatch(document, "alpine:initialized");- }- var rootSelectorCallbacks = [];- var initSelectorCallbacks = [];- function rootSelectors() {- return rootSelectorCallbacks.map((fn) => fn());- }- function allSelectors() {- return rootSelectorCallbacks.concat(initSelectorCallbacks).map((fn) => fn());- }- function addRootSelector(selectorCallback) {- rootSelectorCallbacks.push(selectorCallback);- }- function addInitSelector(selectorCallback) {- initSelectorCallbacks.push(selectorCallback);- }- function closestRoot(el, includeInitSelectors = false) {- return findClosest(el, (element) => {- const selectors = includeInitSelectors ? allSelectors() : rootSelectors();- if (selectors.some((selector) => element.matches(selector)))- return true;- });- }- function findClosest(el, callback) {- if (!el)- return;- if (callback(el))- return el;- if (el._x_teleportBack)- el = el._x_teleportBack;- if (!el.parentElement)- return;- return findClosest(el.parentElement, callback);- }- function isRoot(el) {- return rootSelectors().some((selector) => el.matches(selector));- }- function initTree(el, walker = walk) {- deferHandlingDirectives(() => {- walker(el, (el2, skip) => {- directives(el2, el2.attributes).forEach((handle) => handle());- el2._x_ignore && skip();- });- });- }- function destroyTree(root) {- walk(root, (el) => cleanupAttributes(el));- }-- // packages/alpinejs/src/utils/classes.js- function setClasses(el, value) {- if (Array.isArray(value)) {- return setClassesFromString(el, value.join(" "));- } else if (typeof value === "object" && value !== null) {- return setClassesFromObject(el, value);- } else if (typeof value === "function") {- return setClasses(el, value());- }- return setClassesFromString(el, value);- }- function setClassesFromString(el, classString) {- let split = (classString2) => classString2.split(" ").filter(Boolean);- let missingClasses = (classString2) => classString2.split(" ").filter((i) => !el.classList.contains(i)).filter(Boolean);- let addClassesAndReturnUndo = (classes) => {- el.classList.add(...classes);- return () => {- el.classList.remove(...classes);- };- };- classString = classString === true ? classString = "" : classString || "";- return addClassesAndReturnUndo(missingClasses(classString));- }- function setClassesFromObject(el, classObject) {- let split = (classString) => classString.split(" ").filter(Boolean);- let forAdd = Object.entries(classObject).flatMap(([classString, bool]) => bool ? split(classString) : false).filter(Boolean);- let forRemove = Object.entries(classObject).flatMap(([classString, bool]) => !bool ? split(classString) : false).filter(Boolean);- let added = [];- let removed = [];- forRemove.forEach((i) => {- if (el.classList.contains(i)) {- el.classList.remove(i);- removed.push(i);- }- });- forAdd.forEach((i) => {- if (!el.classList.contains(i)) {- el.classList.add(i);- added.push(i);- }- });- return () => {- removed.forEach((i) => el.classList.add(i));- added.forEach((i) => el.classList.remove(i));- };- }-- // packages/alpinejs/src/utils/styles.js- function setStyles(el, value) {- if (typeof value === "object" && value !== null) {- return setStylesFromObject(el, value);- }- return setStylesFromString(el, value);- }- function setStylesFromObject(el, value) {- let previousStyles = {};- Object.entries(value).forEach(([key, value2]) => {- previousStyles[key] = el.style[key];- if (!key.startsWith("--")) {- key = kebabCase(key);- }- el.style.setProperty(key, value2);- });- setTimeout(() => {- if (el.style.length === 0) {- el.removeAttribute("style");- }- });- return () => {- setStyles(el, previousStyles);- };- }- function setStylesFromString(el, value) {- let cache = el.getAttribute("style", value);- el.setAttribute("style", value);- return () => {- el.setAttribute("style", cache || "");- };- }- function kebabCase(subject) {- return subject.replace(/([a-z])([A-Z])/g, "$1-$2").toLowerCase();- }-- // packages/alpinejs/src/utils/once.js- function once(callback, fallback = () => {- }) {- let called = false;- return function() {- if (!called) {- called = true;- callback.apply(this, arguments);- } else {- fallback.apply(this, arguments);- }- };- }-- // packages/alpinejs/src/directives/x-transition.js- directive("transition", (el, {value, modifiers, expression}, {evaluate: evaluate2}) => {- if (typeof expression === "function")- expression = evaluate2(expression);- if (!expression) {- registerTransitionsFromHelper(el, modifiers, value);- } else {- registerTransitionsFromClassString(el, expression, value);- }- });- function registerTransitionsFromClassString(el, classString, stage) {- registerTransitionObject(el, setClasses, "");- let directiveStorageMap = {- enter: (classes) => {- el._x_transition.enter.during = classes;- },- "enter-start": (classes) => {- el._x_transition.enter.start = classes;- },- "enter-end": (classes) => {- el._x_transition.enter.end = classes;- },- leave: (classes) => {- el._x_transition.leave.during = classes;- },- "leave-start": (classes) => {- el._x_transition.leave.start = classes;- },- "leave-end": (classes) => {- el._x_transition.leave.end = classes;- }- };- directiveStorageMap[stage](classString);- }- function registerTransitionsFromHelper(el, modifiers, stage) {- registerTransitionObject(el, setStyles);- let doesntSpecify = !modifiers.includes("in") && !modifiers.includes("out") && !stage;- let transitioningIn = doesntSpecify || modifiers.includes("in") || ["enter"].includes(stage);- let transitioningOut = doesntSpecify || modifiers.includes("out") || ["leave"].includes(stage);- if (modifiers.includes("in") && !doesntSpecify) {- modifiers = modifiers.filter((i, index) => index < modifiers.indexOf("out"));- }- if (modifiers.includes("out") && !doesntSpecify) {- modifiers = modifiers.filter((i, index) => index > modifiers.indexOf("out"));- }- let wantsAll = !modifiers.includes("opacity") && !modifiers.includes("scale");- let wantsOpacity = wantsAll || modifiers.includes("opacity");- let wantsScale = wantsAll || modifiers.includes("scale");- let opacityValue = wantsOpacity ? 0 : 1;- let scaleValue = wantsScale ? modifierValue(modifiers, "scale", 95) / 100 : 1;- let delay = modifierValue(modifiers, "delay", 0);- let origin = modifierValue(modifiers, "origin", "center");- let property = "opacity, transform";- let durationIn = modifierValue(modifiers, "duration", 150) / 1e3;- let durationOut = modifierValue(modifiers, "duration", 75) / 1e3;- let easing = `cubic-bezier(0.4, 0.0, 0.2, 1)`;- if (transitioningIn) {- el._x_transition.enter.during = {- transformOrigin: origin,- transitionDelay: delay,- transitionProperty: property,- transitionDuration: `${durationIn}s`,- transitionTimingFunction: easing- };- el._x_transition.enter.start = {- opacity: opacityValue,- transform: `scale(${scaleValue})`- };- el._x_transition.enter.end = {- opacity: 1,- transform: `scale(1)`- };- }- if (transitioningOut) {- el._x_transition.leave.during = {- transformOrigin: origin,- transitionDelay: delay,- transitionProperty: property,- transitionDuration: `${durationOut}s`,- transitionTimingFunction: easing- };- el._x_transition.leave.start = {- opacity: 1,- transform: `scale(1)`- };- el._x_transition.leave.end = {- opacity: opacityValue,- transform: `scale(${scaleValue})`- };- }- }- function registerTransitionObject(el, setFunction, defaultValue = {}) {- if (!el._x_transition)- el._x_transition = {- enter: {during: defaultValue, start: defaultValue, end: defaultValue},- leave: {during: defaultValue, start: defaultValue, end: defaultValue},- in(before = () => {- }, after = () => {- }) {- transition(el, setFunction, {- during: this.enter.during,- start: this.enter.start,- end: this.enter.end- }, before, after);- },- out(before = () => {- }, after = () => {- }) {- transition(el, setFunction, {- during: this.leave.during,- start: this.leave.start,- end: this.leave.end- }, before, after);- }- };- }- window.Element.prototype._x_toggleAndCascadeWithTransitions = function(el, value, show, hide) {- const nextTick2 = document.visibilityState === "visible" ? requestAnimationFrame : setTimeout;- let clickAwayCompatibleShow = () => nextTick2(show);- if (value) {- if (el._x_transition && (el._x_transition.enter || el._x_transition.leave)) {- el._x_transition.enter && (Object.entries(el._x_transition.enter.during).length || Object.entries(el._x_transition.enter.start).length || Object.entries(el._x_transition.enter.end).length) ? el._x_transition.in(show) : clickAwayCompatibleShow();- } else {- el._x_transition ? el._x_transition.in(show) : clickAwayCompatibleShow();- }- return;- }- el._x_hidePromise = el._x_transition ? new Promise((resolve, reject) => {- el._x_transition.out(() => {- }, () => resolve(hide));- el._x_transitioning.beforeCancel(() => reject({isFromCancelledTransition: true}));- }) : Promise.resolve(hide);- queueMicrotask(() => {- let closest = closestHide(el);- if (closest) {- if (!closest._x_hideChildren)- closest._x_hideChildren = [];- closest._x_hideChildren.push(el);- } else {- nextTick2(() => {- let hideAfterChildren = (el2) => {- let carry = Promise.all([- el2._x_hidePromise,- ...(el2._x_hideChildren || []).map(hideAfterChildren)- ]).then(([i]) => i());- delete el2._x_hidePromise;- delete el2._x_hideChildren;- return carry;- };- hideAfterChildren(el).catch((e) => {- if (!e.isFromCancelledTransition)- throw e;- });- });- }- });- };- function closestHide(el) {- let parent = el.parentNode;- if (!parent)- return;- return parent._x_hidePromise ? parent : closestHide(parent);- }- function transition(el, setFunction, {during, start: start2, end} = {}, before = () => {- }, after = () => {- }) {- if (el._x_transitioning)- el._x_transitioning.cancel();- if (Object.keys(during).length === 0 && Object.keys(start2).length === 0 && Object.keys(end).length === 0) {- before();- after();- return;- }- let undoStart, undoDuring, undoEnd;- performTransition(el, {- start() {- undoStart = setFunction(el, start2);- },- during() {- undoDuring = setFunction(el, during);- },- before,- end() {- undoStart();- undoEnd = setFunction(el, end);- },- after,- cleanup() {- undoDuring();- undoEnd();- }- });- }- function performTransition(el, stages) {- let interrupted, reachedBefore, reachedEnd;- let finish = once(() => {- mutateDom(() => {- interrupted = true;- if (!reachedBefore)- stages.before();- if (!reachedEnd) {- stages.end();- releaseNextTicks();- }- stages.after();- if (el.isConnected)- stages.cleanup();- delete el._x_transitioning;- });- });- el._x_transitioning = {- beforeCancels: [],- beforeCancel(callback) {- this.beforeCancels.push(callback);- },- cancel: once(function() {- while (this.beforeCancels.length) {- this.beforeCancels.shift()();- }- ;- finish();- }),- finish- };- mutateDom(() => {- stages.start();- stages.during();- });- holdNextTicks();- requestAnimationFrame(() => {- if (interrupted)- return;- let duration = Number(getComputedStyle(el).transitionDuration.replace(/,.*/, "").replace("s", "")) * 1e3;- let delay = Number(getComputedStyle(el).transitionDelay.replace(/,.*/, "").replace("s", "")) * 1e3;- if (duration === 0)- duration = Number(getComputedStyle(el).animationDuration.replace("s", "")) * 1e3;- mutateDom(() => {- stages.before();- });- reachedBefore = true;- requestAnimationFrame(() => {- if (interrupted)- return;- mutateDom(() => {- stages.end();- });- releaseNextTicks();- setTimeout(el._x_transitioning.finish, duration + delay);- reachedEnd = true;- });- });- }- function modifierValue(modifiers, key, fallback) {- if (modifiers.indexOf(key) === -1)- return fallback;- const rawValue = modifiers[modifiers.indexOf(key) + 1];- if (!rawValue)- return fallback;- if (key === "scale") {- if (isNaN(rawValue))- return fallback;- }- if (key === "duration") {- let match = rawValue.match(/([0-9]+)ms/);- if (match)- return match[1];- }- if (key === "origin") {- if (["top", "right", "left", "center", "bottom"].includes(modifiers[modifiers.indexOf(key) + 2])) {- return [rawValue, modifiers[modifiers.indexOf(key) + 2]].join(" ");- }- }- return rawValue;- }-- // packages/alpinejs/src/clone.js- var isCloning = false;- function skipDuringClone(callback, fallback = () => {- }) {- return (...args) => isCloning ? fallback(...args) : callback(...args);- }- function clone(oldEl, newEl) {- if (!newEl._x_dataStack)- newEl._x_dataStack = oldEl._x_dataStack;- isCloning = true;- dontRegisterReactiveSideEffects(() => {- cloneTree(newEl);- });- isCloning = false;- }- function cloneTree(el) {- let hasRunThroughFirstEl = false;- let shallowWalker = (el2, callback) => {- walk(el2, (el3, skip) => {- if (hasRunThroughFirstEl && isRoot(el3))- return skip();- hasRunThroughFirstEl = true;- callback(el3, skip);- });- };- initTree(el, shallowWalker);- }- function dontRegisterReactiveSideEffects(callback) {- let cache = effect;- overrideEffect((callback2, el) => {- let storedEffect = cache(callback2);- release(storedEffect);- return () => {- };- });- callback();- overrideEffect(cache);- }-- // packages/alpinejs/src/utils/bind.js- function bind(el, name, value, modifiers = []) {- if (!el._x_bindings)- el._x_bindings = reactive({});- el._x_bindings[name] = value;- name = modifiers.includes("camel") ? camelCase(name) : name;- switch (name) {- case "value":- bindInputValue(el, value);- break;- case "style":- bindStyles(el, value);- break;- case "class":- bindClasses(el, value);- break;- default:- bindAttribute(el, name, value);- break;- }- }- function bindInputValue(el, value) {- if (el.type === "radio") {- if (el.attributes.value === void 0) {- el.value = value;- }- if (window.fromModel) {- el.checked = checkedAttrLooseCompare(el.value, value);- }- } else if (el.type === "checkbox") {- if (Number.isInteger(value)) {- el.value = value;- } else if (!Number.isInteger(value) && !Array.isArray(value) && typeof value !== "boolean" && ![null, void 0].includes(value)) {- el.value = String(value);- } else {- if (Array.isArray(value)) {- el.checked = value.some((val) => checkedAttrLooseCompare(val, el.value));- } else {- el.checked = !!value;- }- }- } else if (el.tagName === "SELECT") {- updateSelect(el, value);- } else {- if (el.value === value)- return;- el.value = value;- }- }- function bindClasses(el, value) {- if (el._x_undoAddedClasses)- el._x_undoAddedClasses();- el._x_undoAddedClasses = setClasses(el, value);- }- function bindStyles(el, value) {- if (el._x_undoAddedStyles)- el._x_undoAddedStyles();- el._x_undoAddedStyles = setStyles(el, value);- }- function bindAttribute(el, name, value) {- if ([null, void 0, false].includes(value) && attributeShouldntBePreservedIfFalsy(name)) {- el.removeAttribute(name);- } else {- if (isBooleanAttr(name))- value = name;- setIfChanged(el, name, value);- }- }- function setIfChanged(el, attrName, value) {- if (el.getAttribute(attrName) != value) {- el.setAttribute(attrName, value);- }- }- function updateSelect(el, value) {- const arrayWrappedValue = [].concat(value).map((value2) => {- return value2 + "";- });- Array.from(el.options).forEach((option) => {- option.selected = arrayWrappedValue.includes(option.value);- });- }- function camelCase(subject) {- return subject.toLowerCase().replace(/-(\w)/g, (match, char) => char.toUpperCase());- }- function checkedAttrLooseCompare(valueA, valueB) {- return valueA == valueB;- }- function isBooleanAttr(attrName) {- const booleanAttributes = [- "disabled",- "checked",- "required",- "readonly",- "hidden",- "open",- "selected",- "autofocus",- "itemscope",- "multiple",- "novalidate",- "allowfullscreen",- "allowpaymentrequest",- "formnovalidate",- "autoplay",- "controls",- "loop",- "muted",- "playsinline",- "default",- "ismap",- "reversed",- "async",- "defer",- "nomodule"- ];- return booleanAttributes.includes(attrName);- }- function attributeShouldntBePreservedIfFalsy(name) {- return !["aria-pressed", "aria-checked", "aria-expanded", "aria-selected"].includes(name);- }- function getBinding(el, name, fallback) {- if (el._x_bindings && el._x_bindings[name] !== void 0)- return el._x_bindings[name];- let attr = el.getAttribute(name);- if (attr === null)- return typeof fallback === "function" ? fallback() : fallback;- if (attr === "")- return true;- if (isBooleanAttr(name)) {- return !![name, "true"].includes(attr);- }- return attr;- }-- // packages/alpinejs/src/utils/debounce.js- function debounce(func, wait) {- var timeout;- return function() {- var context = this, args = arguments;- var later = function() {- timeout = null;- func.apply(context, args);- };- clearTimeout(timeout);- timeout = setTimeout(later, wait);- };- }-- // packages/alpinejs/src/utils/throttle.js- function throttle(func, limit) {- let inThrottle;- return function() {- let context = this, args = arguments;- if (!inThrottle) {- func.apply(context, args);- inThrottle = true;- setTimeout(() => inThrottle = false, limit);- }- };- }-- // packages/alpinejs/src/plugin.js- function plugin(callback) {- callback(alpine_default);- }-- // packages/alpinejs/src/store.js- var stores = {};- var isReactive = false;- function store(name, value) {- if (!isReactive) {- stores = reactive(stores);- isReactive = true;- }- if (value === void 0) {- return stores[name];- }- stores[name] = value;- if (typeof value === "object" && value !== null && value.hasOwnProperty("init") && typeof value.init === "function") {- stores[name].init();- }- initInterceptors(stores[name]);- }- function getStores() {- return stores;- }-- // packages/alpinejs/src/binds.js- var binds = {};- function bind2(name, bindings) {- let getBindings = typeof bindings !== "function" ? () => bindings : bindings;- if (name instanceof Element) {- applyBindingsObject(name, getBindings());- } else {- binds[name] = getBindings;- }- }- function injectBindingProviders(obj) {- Object.entries(binds).forEach(([name, callback]) => {- Object.defineProperty(obj, name, {- get() {- return (...args) => {- return callback(...args);- };- }- });- });- return obj;- }- function applyBindingsObject(el, obj, original) {- let cleanupRunners = [];- while (cleanupRunners.length)- cleanupRunners.pop()();- let attributes = Object.entries(obj).map(([name, value]) => ({name, value}));- let staticAttributes = attributesOnly(attributes);- attributes = attributes.map((attribute) => {- if (staticAttributes.find((attr) => attr.name === attribute.name)) {- return {- name: `x-bind:${attribute.name}`,- value: `"${attribute.value}"`- };- }- return attribute;- });- directives(el, attributes, original).map((handle) => {- cleanupRunners.push(handle.runCleanups);- handle();- });- }-- // packages/alpinejs/src/datas.js- var datas = {};- function data(name, callback) {- datas[name] = callback;- }- function injectDataProviders(obj, context) {- Object.entries(datas).forEach(([name, callback]) => {- Object.defineProperty(obj, name, {- get() {- return (...args) => {- return callback.bind(context)(...args);- };- },- enumerable: false- });- });- return obj;- }-- // packages/alpinejs/src/alpine.js- var Alpine = {- get reactive() {- return reactive;- },- get release() {- return release;- },- get effect() {- return effect;- },- get raw() {- return raw;- },- version: "3.10.5",- flushAndStopDeferringMutations,- dontAutoEvaluateFunctions,- disableEffectScheduling,- setReactivityEngine,- closestDataStack,- skipDuringClone,- addRootSelector,- addInitSelector,- addScopeToNode,- deferMutations,- mapAttributes,- evaluateLater,- setEvaluator,- mergeProxies,- findClosest,- closestRoot,- interceptor,- transition,- setStyles,- mutateDom,- directive,- throttle,- debounce,- evaluate,- initTree,- nextTick,- prefixed: prefix,- prefix: setPrefix,- plugin,- magic,- store,- start,- clone,- bound: getBinding,- $data: scope,- data,- bind: bind2- };- var alpine_default = Alpine;-- // node_modules/@vue/shared/dist/shared.esm-bundler.js- function makeMap(str, expectsLowerCase) {- const map = Object.create(null);- const list = str.split(",");- for (let i = 0; i < list.length; i++) {- map[list[i]] = true;- }- return expectsLowerCase ? (val) => !!map[val.toLowerCase()] : (val) => !!map[val];- }- var PatchFlagNames = {- [1]: `TEXT`,- [2]: `CLASS`,- [4]: `STYLE`,- [8]: `PROPS`,- [16]: `FULL_PROPS`,- [32]: `HYDRATE_EVENTS`,- [64]: `STABLE_FRAGMENT`,- [128]: `KEYED_FRAGMENT`,- [256]: `UNKEYED_FRAGMENT`,- [512]: `NEED_PATCH`,- [1024]: `DYNAMIC_SLOTS`,- [2048]: `DEV_ROOT_FRAGMENT`,- [-1]: `HOISTED`,- [-2]: `BAIL`- };- var slotFlagsText = {- [1]: "STABLE",- [2]: "DYNAMIC",- [3]: "FORWARDED"- };- var specialBooleanAttrs = `itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly`;- var isBooleanAttr2 = /* @__PURE__ */ makeMap(specialBooleanAttrs + `,async,autofocus,autoplay,controls,default,defer,disabled,hidden,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected`);- var EMPTY_OBJ = true ? Object.freeze({}) : {};- var EMPTY_ARR = true ? Object.freeze([]) : [];- var extend = Object.assign;- var hasOwnProperty = Object.prototype.hasOwnProperty;- var hasOwn = (val, key) => hasOwnProperty.call(val, key);- var isArray = Array.isArray;- var isMap = (val) => toTypeString(val) === "[object Map]";- var isString = (val) => typeof val === "string";- var isSymbol = (val) => typeof val === "symbol";- var isObject = (val) => val !== null && typeof val === "object";- var objectToString = Object.prototype.toString;- var toTypeString = (value) => objectToString.call(value);- var toRawType = (value) => {- return toTypeString(value).slice(8, -1);- };- var isIntegerKey = (key) => isString(key) && key !== "NaN" && key[0] !== "-" && "" + parseInt(key, 10) === key;- var cacheStringFunction = (fn) => {- const cache = Object.create(null);- return (str) => {- const hit = cache[str];- return hit || (cache[str] = fn(str));- };- };- var camelizeRE = /-(\w)/g;- var camelize = cacheStringFunction((str) => {- return str.replace(camelizeRE, (_, c) => c ? c.toUpperCase() : "");- });- var hyphenateRE = /\B([A-Z])/g;- var hyphenate = cacheStringFunction((str) => str.replace(hyphenateRE, "-$1").toLowerCase());- var capitalize = cacheStringFunction((str) => str.charAt(0).toUpperCase() + str.slice(1));- var toHandlerKey = cacheStringFunction((str) => str ? `on${capitalize(str)}` : ``);- var hasChanged = (value, oldValue) => value !== oldValue && (value === value || oldValue === oldValue);-- // node_modules/@vue/reactivity/dist/reactivity.esm-bundler.js- var targetMap = new WeakMap();- var effectStack = [];- var activeEffect;- var ITERATE_KEY = Symbol(true ? "iterate" : "");- var MAP_KEY_ITERATE_KEY = Symbol(true ? "Map key iterate" : "");- function isEffect(fn) {- return fn && fn._isEffect === true;- }- function effect2(fn, options = EMPTY_OBJ) {- if (isEffect(fn)) {- fn = fn.raw;- }- const effect3 = createReactiveEffect(fn, options);- if (!options.lazy) {- effect3();- }- return effect3;- }- function stop(effect3) {- if (effect3.active) {- cleanup(effect3);- if (effect3.options.onStop) {- effect3.options.onStop();- }- effect3.active = false;- }- }- var uid = 0;- function createReactiveEffect(fn, options) {- const effect3 = function reactiveEffect() {- if (!effect3.active) {- return fn();- }- if (!effectStack.includes(effect3)) {- cleanup(effect3);- try {- enableTracking();- effectStack.push(effect3);- activeEffect = effect3;- return fn();- } finally {- effectStack.pop();- resetTracking();- activeEffect = effectStack[effectStack.length - 1];- }- }- };- effect3.id = uid++;- effect3.allowRecurse = !!options.allowRecurse;- effect3._isEffect = true;- effect3.active = true;- effect3.raw = fn;- effect3.deps = [];- effect3.options = options;- return effect3;- }- function cleanup(effect3) {- const {deps} = effect3;- if (deps.length) {- for (let i = 0; i < deps.length; i++) {- deps[i].delete(effect3);- }- deps.length = 0;- }- }- var shouldTrack = true;- var trackStack = [];- function pauseTracking() {- trackStack.push(shouldTrack);- shouldTrack = false;- }- function enableTracking() {- trackStack.push(shouldTrack);- shouldTrack = true;- }- function resetTracking() {- const last = trackStack.pop();- shouldTrack = last === void 0 ? true : last;- }- function track(target, type, key) {- if (!shouldTrack || activeEffect === void 0) {- return;- }- let depsMap = targetMap.get(target);- if (!depsMap) {- targetMap.set(target, depsMap = new Map());- }- let dep = depsMap.get(key);- if (!dep) {- depsMap.set(key, dep = new Set());- }- if (!dep.has(activeEffect)) {- dep.add(activeEffect);- activeEffect.deps.push(dep);- if (activeEffect.options.onTrack) {- activeEffect.options.onTrack({- effect: activeEffect,- target,- type,- key- });- }- }- }- function trigger(target, type, key, newValue, oldValue, oldTarget) {- const depsMap = targetMap.get(target);- if (!depsMap) {- return;- }- const effects = new Set();- const add2 = (effectsToAdd) => {- if (effectsToAdd) {- effectsToAdd.forEach((effect3) => {- if (effect3 !== activeEffect || effect3.allowRecurse) {- effects.add(effect3);- }- });- }- };- if (type === "clear") {- depsMap.forEach(add2);- } else if (key === "length" && isArray(target)) {- depsMap.forEach((dep, key2) => {- if (key2 === "length" || key2 >= newValue) {- add2(dep);- }- });- } else {- if (key !== void 0) {- add2(depsMap.get(key));- }- switch (type) {- case "add":- if (!isArray(target)) {- add2(depsMap.get(ITERATE_KEY));- if (isMap(target)) {- add2(depsMap.get(MAP_KEY_ITERATE_KEY));- }- } else if (isIntegerKey(key)) {- add2(depsMap.get("length"));- }- break;- case "delete":- if (!isArray(target)) {- add2(depsMap.get(ITERATE_KEY));- if (isMap(target)) {- add2(depsMap.get(MAP_KEY_ITERATE_KEY));- }- }- break;- case "set":- if (isMap(target)) {- add2(depsMap.get(ITERATE_KEY));- }- break;- }- }- const run = (effect3) => {- if (effect3.options.onTrigger) {- effect3.options.onTrigger({- effect: effect3,- target,- key,- type,- newValue,- oldValue,- oldTarget- });- }- if (effect3.options.scheduler) {- effect3.options.scheduler(effect3);- } else {- effect3();- }- };- effects.forEach(run);- }- var isNonTrackableKeys = /* @__PURE__ */ makeMap(`__proto__,__v_isRef,__isVue`);- var builtInSymbols = new Set(Object.getOwnPropertyNames(Symbol).map((key) => Symbol[key]).filter(isSymbol));- var get2 = /* @__PURE__ */ createGetter();- var shallowGet = /* @__PURE__ */ createGetter(false, true);- var readonlyGet = /* @__PURE__ */ createGetter(true);- var shallowReadonlyGet = /* @__PURE__ */ createGetter(true, true);- var arrayInstrumentations = {};- ["includes", "indexOf", "lastIndexOf"].forEach((key) => {- const method = Array.prototype[key];- arrayInstrumentations[key] = function(...args) {- const arr = toRaw(this);- for (let i = 0, l = this.length; i < l; i++) {- track(arr, "get", i + "");- }- const res = method.apply(arr, args);- if (res === -1 || res === false) {- return method.apply(arr, args.map(toRaw));- } else {- return res;- }- };- });- ["push", "pop", "shift", "unshift", "splice"].forEach((key) => {- const method = Array.prototype[key];- arrayInstrumentations[key] = function(...args) {- pauseTracking();- const res = method.apply(this, args);- resetTracking();- return res;- };- });- function createGetter(isReadonly = false, shallow = false) {- return function get3(target, key, receiver) {- if (key === "__v_isReactive") {- return !isReadonly;- } else if (key === "__v_isReadonly") {- return isReadonly;- } else if (key === "__v_raw" && receiver === (isReadonly ? shallow ? shallowReadonlyMap : readonlyMap : shallow ? shallowReactiveMap : reactiveMap).get(target)) {- return target;- }- const targetIsArray = isArray(target);- if (!isReadonly && targetIsArray && hasOwn(arrayInstrumentations, key)) {- return Reflect.get(arrayInstrumentations, key, receiver);- }- const res = Reflect.get(target, key, receiver);- if (isSymbol(key) ? builtInSymbols.has(key) : isNonTrackableKeys(key)) {- return res;- }- if (!isReadonly) {- track(target, "get", key);- }- if (shallow) {- return res;- }- if (isRef(res)) {- const shouldUnwrap = !targetIsArray || !isIntegerKey(key);- return shouldUnwrap ? res.value : res;- }- if (isObject(res)) {- return isReadonly ? readonly(res) : reactive2(res);- }- return res;- };- }- var set2 = /* @__PURE__ */ createSetter();- var shallowSet = /* @__PURE__ */ createSetter(true);- function createSetter(shallow = false) {- return function set3(target, key, value, receiver) {- let oldValue = target[key];- if (!shallow) {- value = toRaw(value);- oldValue = toRaw(oldValue);- if (!isArray(target) && isRef(oldValue) && !isRef(value)) {- oldValue.value = value;- return true;- }- }- const hadKey = isArray(target) && isIntegerKey(key) ? Number(key) < target.length : hasOwn(target, key);- const result = Reflect.set(target, key, value, receiver);- if (target === toRaw(receiver)) {- if (!hadKey) {- trigger(target, "add", key, value);- } else if (hasChanged(value, oldValue)) {- trigger(target, "set", key, value, oldValue);- }- }- return result;- };- }- function deleteProperty(target, key) {- const hadKey = hasOwn(target, key);- const oldValue = target[key];- const result = Reflect.deleteProperty(target, key);- if (result && hadKey) {- trigger(target, "delete", key, void 0, oldValue);- }- return result;- }- function has(target, key) {- const result = Reflect.has(target, key);- if (!isSymbol(key) || !builtInSymbols.has(key)) {- track(target, "has", key);- }- return result;- }- function ownKeys(target) {- track(target, "iterate", isArray(target) ? "length" : ITERATE_KEY);- return Reflect.ownKeys(target);- }- var mutableHandlers = {- get: get2,- set: set2,- deleteProperty,- has,- ownKeys- };- var readonlyHandlers = {- get: readonlyGet,- set(target, key) {- if (true) {- console.warn(`Set operation on key "${String(key)}" failed: target is readonly.`, target);- }- return true;- },- deleteProperty(target, key) {- if (true) {- console.warn(`Delete operation on key "${String(key)}" failed: target is readonly.`, target);- }- return true;- }- };- var shallowReactiveHandlers = extend({}, mutableHandlers, {- get: shallowGet,- set: shallowSet- });- var shallowReadonlyHandlers = extend({}, readonlyHandlers, {- get: shallowReadonlyGet- });- var toReactive = (value) => isObject(value) ? reactive2(value) : value;- var toReadonly = (value) => isObject(value) ? readonly(value) : value;- var toShallow = (value) => value;- var getProto = (v) => Reflect.getPrototypeOf(v);- function get$1(target, key, isReadonly = false, isShallow = false) {- target = target["__v_raw"];- const rawTarget = toRaw(target);- const rawKey = toRaw(key);- if (key !== rawKey) {- !isReadonly && track(rawTarget, "get", key);- }- !isReadonly && track(rawTarget, "get", rawKey);- const {has: has2} = getProto(rawTarget);- const wrap = isShallow ? toShallow : isReadonly ? toReadonly : toReactive;- if (has2.call(rawTarget, key)) {- return wrap(target.get(key));- } else if (has2.call(rawTarget, rawKey)) {- return wrap(target.get(rawKey));- } else if (target !== rawTarget) {- target.get(key);- }- }- function has$1(key, isReadonly = false) {- const target = this["__v_raw"];- const rawTarget = toRaw(target);- const rawKey = toRaw(key);- if (key !== rawKey) {- !isReadonly && track(rawTarget, "has", key);- }- !isReadonly && track(rawTarget, "has", rawKey);- return key === rawKey ? target.has(key) : target.has(key) || target.has(rawKey);- }- function size(target, isReadonly = false) {- target = target["__v_raw"];- !isReadonly && track(toRaw(target), "iterate", ITERATE_KEY);- return Reflect.get(target, "size", target);- }- function add(value) {- value = toRaw(value);- const target = toRaw(this);- const proto = getProto(target);- const hadKey = proto.has.call(target, value);- if (!hadKey) {- target.add(value);- trigger(target, "add", value, value);- }- return this;- }- function set$1(key, value) {- value = toRaw(value);- const target = toRaw(this);- const {has: has2, get: get3} = getProto(target);- let hadKey = has2.call(target, key);- if (!hadKey) {- key = toRaw(key);- hadKey = has2.call(target, key);- } else if (true) {- checkIdentityKeys(target, has2, key);- }- const oldValue = get3.call(target, key);- target.set(key, value);- if (!hadKey) {- trigger(target, "add", key, value);- } else if (hasChanged(value, oldValue)) {- trigger(target, "set", key, value, oldValue);- }- return this;- }- function deleteEntry(key) {- const target = toRaw(this);- const {has: has2, get: get3} = getProto(target);- let hadKey = has2.call(target, key);- if (!hadKey) {- key = toRaw(key);- hadKey = has2.call(target, key);- } else if (true) {- checkIdentityKeys(target, has2, key);- }- const oldValue = get3 ? get3.call(target, key) : void 0;- const result = target.delete(key);- if (hadKey) {- trigger(target, "delete", key, void 0, oldValue);- }- return result;- }- function clear() {- const target = toRaw(this);- const hadItems = target.size !== 0;- const oldTarget = true ? isMap(target) ? new Map(target) : new Set(target) : void 0;- const result = target.clear();- if (hadItems) {- trigger(target, "clear", void 0, void 0, oldTarget);- }- return result;- }- function createForEach(isReadonly, isShallow) {- return function forEach(callback, thisArg) {- const observed = this;- const target = observed["__v_raw"];- const rawTarget = toRaw(target);- const wrap = isShallow ? toShallow : isReadonly ? toReadonly : toReactive;- !isReadonly && track(rawTarget, "iterate", ITERATE_KEY);- return target.forEach((value, key) => {- return callback.call(thisArg, wrap(value), wrap(key), observed);- });- };- }- function createIterableMethod(method, isReadonly, isShallow) {- return function(...args) {- const target = this["__v_raw"];- const rawTarget = toRaw(target);- const targetIsMap = isMap(rawTarget);- const isPair = method === "entries" || method === Symbol.iterator && targetIsMap;- const isKeyOnly = method === "keys" && targetIsMap;- const innerIterator = target[method](...args);- const wrap = isShallow ? toShallow : isReadonly ? toReadonly : toReactive;- !isReadonly && track(rawTarget, "iterate", isKeyOnly ? MAP_KEY_ITERATE_KEY : ITERATE_KEY);- return {- next() {- const {value, done} = innerIterator.next();- return done ? {value, done} : {- value: isPair ? [wrap(value[0]), wrap(value[1])] : wrap(value),- done- };- },- [Symbol.iterator]() {- return this;- }- };- };- }- function createReadonlyMethod(type) {- return function(...args) {- if (true) {- const key = args[0] ? `on key "${args[0]}" ` : ``;- console.warn(`${capitalize(type)} operation ${key}failed: target is readonly.`, toRaw(this));- }- return type === "delete" ? false : this;- };- }- var mutableInstrumentations = {- get(key) {- return get$1(this, key);- },- get size() {- return size(this);- },- has: has$1,- add,- set: set$1,- delete: deleteEntry,- clear,- forEach: createForEach(false, false)- };- var shallowInstrumentations = {- get(key) {- return get$1(this, key, false, true);- },- get size() {- return size(this);- },- has: has$1,- add,- set: set$1,- delete: deleteEntry,- clear,- forEach: createForEach(false, true)- };- var readonlyInstrumentations = {- get(key) {- return get$1(this, key, true);- },- get size() {- return size(this, true);- },- has(key) {- return has$1.call(this, key, true);- },- add: createReadonlyMethod("add"),- set: createReadonlyMethod("set"),- delete: createReadonlyMethod("delete"),- clear: createReadonlyMethod("clear"),- forEach: createForEach(true, false)- };- var shallowReadonlyInstrumentations = {- get(key) {- return get$1(this, key, true, true);- },- get size() {- return size(this, true);- },- has(key) {- return has$1.call(this, key, true);- },- add: createReadonlyMethod("add"),- set: createReadonlyMethod("set"),- delete: createReadonlyMethod("delete"),- clear: createReadonlyMethod("clear"),- forEach: createForEach(true, true)- };- var iteratorMethods = ["keys", "values", "entries", Symbol.iterator];- iteratorMethods.forEach((method) => {- mutableInstrumentations[method] = createIterableMethod(method, false, false);- readonlyInstrumentations[method] = createIterableMethod(method, true, false);- shallowInstrumentations[method] = createIterableMethod(method, false, true);- shallowReadonlyInstrumentations[method] = createIterableMethod(method, true, true);- });- function createInstrumentationGetter(isReadonly, shallow) {- const instrumentations = shallow ? isReadonly ? shallowReadonlyInstrumentations : shallowInstrumentations : isReadonly ? readonlyInstrumentations : mutableInstrumentations;- return (target, key, receiver) => {- if (key === "__v_isReactive") {- return !isReadonly;- } else if (key === "__v_isReadonly") {- return isReadonly;- } else if (key === "__v_raw") {- return target;- }- return Reflect.get(hasOwn(instrumentations, key) && key in target ? instrumentations : target, key, receiver);- };- }- var mutableCollectionHandlers = {- get: createInstrumentationGetter(false, false)- };- var shallowCollectionHandlers = {- get: createInstrumentationGetter(false, true)- };- var readonlyCollectionHandlers = {- get: createInstrumentationGetter(true, false)- };- var shallowReadonlyCollectionHandlers = {- get: createInstrumentationGetter(true, true)- };- function checkIdentityKeys(target, has2, key) {- const rawKey = toRaw(key);- if (rawKey !== key && has2.call(target, rawKey)) {- const type = toRawType(target);- console.warn(`Reactive ${type} contains both the raw and reactive versions of the same object${type === `Map` ? ` as keys` : ``}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`);- }- }- var reactiveMap = new WeakMap();- var shallowReactiveMap = new WeakMap();- var readonlyMap = new WeakMap();- var shallowReadonlyMap = new WeakMap();- function targetTypeMap(rawType) {- switch (rawType) {- case "Object":- case "Array":- return 1;- case "Map":- case "Set":- case "WeakMap":- case "WeakSet":- return 2;- default:- return 0;- }- }- function getTargetType(value) {- return value["__v_skip"] || !Object.isExtensible(value) ? 0 : targetTypeMap(toRawType(value));- }- function reactive2(target) {- if (target && target["__v_isReadonly"]) {- return target;- }- return createReactiveObject(target, false, mutableHandlers, mutableCollectionHandlers, reactiveMap);- }- function readonly(target) {- return createReactiveObject(target, true, readonlyHandlers, readonlyCollectionHandlers, readonlyMap);- }- function createReactiveObject(target, isReadonly, baseHandlers, collectionHandlers, proxyMap) {- if (!isObject(target)) {- if (true) {- console.warn(`value cannot be made reactive: ${String(target)}`);- }- return target;- }- if (target["__v_raw"] && !(isReadonly && target["__v_isReactive"])) {- return target;- }- const existingProxy = proxyMap.get(target);- if (existingProxy) {- return existingProxy;- }- const targetType = getTargetType(target);- if (targetType === 0) {- return target;- }- const proxy = new Proxy(target, targetType === 2 ? collectionHandlers : baseHandlers);- proxyMap.set(target, proxy);- return proxy;- }- function toRaw(observed) {- return observed && toRaw(observed["__v_raw"]) || observed;- }- function isRef(r) {- return Boolean(r && r.__v_isRef === true);- }-- // packages/alpinejs/src/magics/$nextTick.js- magic("nextTick", () => nextTick);-- // packages/alpinejs/src/magics/$dispatch.js- magic("dispatch", (el) => dispatch.bind(dispatch, el));-- // packages/alpinejs/src/magics/$watch.js- magic("watch", (el, {evaluateLater: evaluateLater2, effect: effect3}) => (key, callback) => {- let evaluate2 = evaluateLater2(key);- let firstTime = true;- let oldValue;- let effectReference = effect3(() => evaluate2((value) => {- JSON.stringify(value);- if (!firstTime) {- queueMicrotask(() => {- callback(value, oldValue);- oldValue = value;- });- } else {- oldValue = value;- }- firstTime = false;- }));- el._x_effects.delete(effectReference);- });-- // packages/alpinejs/src/magics/$store.js- magic("store", getStores);-- // packages/alpinejs/src/magics/$data.js- magic("data", (el) => scope(el));-- // packages/alpinejs/src/magics/$root.js- magic("root", (el) => closestRoot(el));-- // packages/alpinejs/src/magics/$refs.js- magic("refs", (el) => {- if (el._x_refs_proxy)- return el._x_refs_proxy;- el._x_refs_proxy = mergeProxies(getArrayOfRefObject(el));- return el._x_refs_proxy;- });- function getArrayOfRefObject(el) {- let refObjects = [];- let currentEl = el;- while (currentEl) {- if (currentEl._x_refs)- refObjects.push(currentEl._x_refs);- currentEl = currentEl.parentNode;- }- return refObjects;- }-- // packages/alpinejs/src/ids.js- var globalIdMemo = {};- function findAndIncrementId(name) {- if (!globalIdMemo[name])- globalIdMemo[name] = 0;- return ++globalIdMemo[name];- }- function closestIdRoot(el, name) {- return findClosest(el, (element) => {- if (element._x_ids && element._x_ids[name])- return true;- });- }- function setIdRoot(el, name) {- if (!el._x_ids)- el._x_ids = {};- if (!el._x_ids[name])- el._x_ids[name] = findAndIncrementId(name);- }-- // packages/alpinejs/src/magics/$id.js- magic("id", (el) => (name, key = null) => {- let root = closestIdRoot(el, name);- let id = root ? root._x_ids[name] : findAndIncrementId(name);- return key ? `${name}-${id}-${key}` : `${name}-${id}`;- });-- // packages/alpinejs/src/magics/$el.js- magic("el", (el) => el);-- // packages/alpinejs/src/magics/index.js- warnMissingPluginMagic("Focus", "focus", "focus");- warnMissingPluginMagic("Persist", "persist", "persist");- function warnMissingPluginMagic(name, magicName, slug) {- magic(magicName, (el) => warn(`You can't use [$${directiveName}] without first installing the "${name}" plugin here: https://alpinejs.dev/plugins/${slug}`, el));- }-- // packages/alpinejs/src/directives/x-modelable.js- directive("modelable", (el, {expression}, {effect: effect3, evaluateLater: evaluateLater2}) => {- let func = evaluateLater2(expression);- let innerGet = () => {- let result;- func((i) => result = i);- return result;- };- let evaluateInnerSet = evaluateLater2(`${expression} = __placeholder`);- let innerSet = (val) => evaluateInnerSet(() => {- }, {scope: {__placeholder: val}});- let initialValue = innerGet();- innerSet(initialValue);- queueMicrotask(() => {- if (!el._x_model)- return;- el._x_removeModelListeners["default"]();- let outerGet = el._x_model.get;- let outerSet = el._x_model.set;- effect3(() => innerSet(outerGet()));- effect3(() => outerSet(innerGet()));- });- });-- // packages/alpinejs/src/directives/x-teleport.js- directive("teleport", (el, {expression}, {cleanup: cleanup2}) => {- if (el.tagName.toLowerCase() !== "template")- warn("x-teleport can only be used on a <template> tag", el);- let target = document.querySelector(expression);- if (!target)- warn(`Cannot find x-teleport element for selector: "${expression}"`);- let clone2 = el.content.cloneNode(true).firstElementChild;- el._x_teleport = clone2;- clone2._x_teleportBack = el;- if (el._x_forwardEvents) {- el._x_forwardEvents.forEach((eventName) => {- clone2.addEventListener(eventName, (e) => {- e.stopPropagation();- el.dispatchEvent(new e.constructor(e.type, e));- });- });- }- addScopeToNode(clone2, {}, el);- mutateDom(() => {- target.appendChild(clone2);- initTree(clone2);- clone2._x_ignore = true;- });- cleanup2(() => clone2.remove());- });-- // packages/alpinejs/src/directives/x-ignore.js- var handler = () => {- };- handler.inline = (el, {modifiers}, {cleanup: cleanup2}) => {- modifiers.includes("self") ? el._x_ignoreSelf = true : el._x_ignore = true;- cleanup2(() => {- modifiers.includes("self") ? delete el._x_ignoreSelf : delete el._x_ignore;- });- };- directive("ignore", handler);-- // packages/alpinejs/src/directives/x-effect.js- directive("effect", (el, {expression}, {effect: effect3}) => effect3(evaluateLater(el, expression)));-- // packages/alpinejs/src/utils/on.js- function on(el, event, modifiers, callback) {- let listenerTarget = el;- let handler3 = (e) => callback(e);- let options = {};- let wrapHandler = (callback2, wrapper) => (e) => wrapper(callback2, e);- if (modifiers.includes("dot"))- event = dotSyntax(event);- if (modifiers.includes("camel"))- event = camelCase2(event);- if (modifiers.includes("passive"))- options.passive = true;- if (modifiers.includes("capture"))- options.capture = true;- if (modifiers.includes("window"))- listenerTarget = window;- if (modifiers.includes("document"))- listenerTarget = document;- if (modifiers.includes("prevent"))- handler3 = wrapHandler(handler3, (next, e) => {- e.preventDefault();- next(e);- });- if (modifiers.includes("stop"))- handler3 = wrapHandler(handler3, (next, e) => {- e.stopPropagation();- next(e);- });- if (modifiers.includes("self"))- handler3 = wrapHandler(handler3, (next, e) => {- e.target === el && next(e);- });- if (modifiers.includes("away") || modifiers.includes("outside")) {- listenerTarget = document;- handler3 = wrapHandler(handler3, (next, e) => {- if (el.contains(e.target))- return;- if (e.target.isConnected === false)- return;- if (el.offsetWidth < 1 && el.offsetHeight < 1)- return;- if (el._x_isShown === false)- return;- next(e);- });- }- if (modifiers.includes("once")) {- handler3 = wrapHandler(handler3, (next, e) => {- next(e);- listenerTarget.removeEventListener(event, handler3, options);- });- }- handler3 = wrapHandler(handler3, (next, e) => {- if (isKeyEvent(event)) {- if (isListeningForASpecificKeyThatHasntBeenPressed(e, modifiers)) {- return;- }- }- next(e);- });- if (modifiers.includes("debounce")) {- let nextModifier = modifiers[modifiers.indexOf("debounce") + 1] || "invalid-wait";- let wait = isNumeric(nextModifier.split("ms")[0]) ? Number(nextModifier.split("ms")[0]) : 250;- handler3 = debounce(handler3, wait);- }- if (modifiers.includes("throttle")) {- let nextModifier = modifiers[modifiers.indexOf("throttle") + 1] || "invalid-wait";- let wait = isNumeric(nextModifier.split("ms")[0]) ? Number(nextModifier.split("ms")[0]) : 250;- handler3 = throttle(handler3, wait);- }- listenerTarget.addEventListener(event, handler3, options);- return () => {- listenerTarget.removeEventListener(event, handler3, options);- };- }- function dotSyntax(subject) {- return subject.replace(/-/g, ".");- }- function camelCase2(subject) {- return subject.toLowerCase().replace(/-(\w)/g, (match, char) => char.toUpperCase());- }- function isNumeric(subject) {- return !Array.isArray(subject) && !isNaN(subject);- }- function kebabCase2(subject) {- return subject.replace(/([a-z])([A-Z])/g, "$1-$2").replace(/[_\s]/, "-").toLowerCase();- }- function isKeyEvent(event) {- return ["keydown", "keyup"].includes(event);- }- function isListeningForASpecificKeyThatHasntBeenPressed(e, modifiers) {- let keyModifiers = modifiers.filter((i) => {- return !["window", "document", "prevent", "stop", "once"].includes(i);- });- if (keyModifiers.includes("debounce")) {- let debounceIndex = keyModifiers.indexOf("debounce");- keyModifiers.splice(debounceIndex, isNumeric((keyModifiers[debounceIndex + 1] || "invalid-wait").split("ms")[0]) ? 2 : 1);- }- if (keyModifiers.length === 0)- return false;- if (keyModifiers.length === 1 && keyToModifiers(e.key).includes(keyModifiers[0]))- return false;- const systemKeyModifiers = ["ctrl", "shift", "alt", "meta", "cmd", "super"];- const selectedSystemKeyModifiers = systemKeyModifiers.filter((modifier) => keyModifiers.includes(modifier));- keyModifiers = keyModifiers.filter((i) => !selectedSystemKeyModifiers.includes(i));- if (selectedSystemKeyModifiers.length > 0) {- const activelyPressedKeyModifiers = selectedSystemKeyModifiers.filter((modifier) => {- if (modifier === "cmd" || modifier === "super")- modifier = "meta";- return e[`${modifier}Key`];- });- if (activelyPressedKeyModifiers.length === selectedSystemKeyModifiers.length) {- if (keyToModifiers(e.key).includes(keyModifiers[0]))- return false;- }- }- return true;- }- function keyToModifiers(key) {- if (!key)- return [];- key = kebabCase2(key);- let modifierToKeyMap = {- ctrl: "control",- slash: "/",- space: "-",- spacebar: "-",- cmd: "meta",- esc: "escape",- up: "arrow-up",- down: "arrow-down",- left: "arrow-left",- right: "arrow-right",- period: ".",- equal: "="- };- modifierToKeyMap[key] = key;- return Object.keys(modifierToKeyMap).map((modifier) => {- if (modifierToKeyMap[modifier] === key)- return modifier;- }).filter((modifier) => modifier);- }-- // packages/alpinejs/src/directives/x-model.js- directive("model", (el, {modifiers, expression}, {effect: effect3, cleanup: cleanup2}) => {- let evaluate2 = evaluateLater(el, expression);- let assignmentExpression = `${expression} = rightSideOfExpression($event, ${expression})`;- let evaluateAssignment = evaluateLater(el, assignmentExpression);- var event = el.tagName.toLowerCase() === "select" || ["checkbox", "radio"].includes(el.type) || modifiers.includes("lazy") ? "change" : "input";- let assigmentFunction = generateAssignmentFunction(el, modifiers, expression);- let removeListener = on(el, event, modifiers, (e) => {- evaluateAssignment(() => {- }, {scope: {- $event: e,- rightSideOfExpression: assigmentFunction- }});- });- if (!el._x_removeModelListeners)- el._x_removeModelListeners = {};- el._x_removeModelListeners["default"] = removeListener;- cleanup2(() => el._x_removeModelListeners["default"]());- let evaluateSetModel = evaluateLater(el, `${expression} = __placeholder`);- el._x_model = {- get() {- let result;- evaluate2((value) => result = value);- return result;- },- set(value) {- evaluateSetModel(() => {- }, {scope: {__placeholder: value}});- }- };- el._x_forceModelUpdate = () => {- evaluate2((value) => {- if (value === void 0 && expression.match(/\./))- value = "";- window.fromModel = true;- mutateDom(() => bind(el, "value", value));- delete window.fromModel;- });- };- effect3(() => {- if (modifiers.includes("unintrusive") && document.activeElement.isSameNode(el))- return;- el._x_forceModelUpdate();- });- });- function generateAssignmentFunction(el, modifiers, expression) {- if (el.type === "radio") {- mutateDom(() => {- if (!el.hasAttribute("name"))- el.setAttribute("name", expression);- });- }- return (event, currentValue) => {- return mutateDom(() => {- if (event instanceof CustomEvent && event.detail !== void 0) {- return event.detail || event.target.value;- } else if (el.type === "checkbox") {- if (Array.isArray(currentValue)) {- let newValue = modifiers.includes("number") ? safeParseNumber(event.target.value) : event.target.value;- return event.target.checked ? currentValue.concat([newValue]) : currentValue.filter((el2) => !checkedAttrLooseCompare2(el2, newValue));- } else {- return event.target.checked;- }- } else if (el.tagName.toLowerCase() === "select" && el.multiple) {- return modifiers.includes("number") ? Array.from(event.target.selectedOptions).map((option) => {- let rawValue = option.value || option.text;- return safeParseNumber(rawValue);- }) : Array.from(event.target.selectedOptions).map((option) => {- return option.value || option.text;- });- } else {- let rawValue = event.target.value;- return modifiers.includes("number") ? safeParseNumber(rawValue) : modifiers.includes("trim") ? rawValue.trim() : rawValue;- }- });- };- }- function safeParseNumber(rawValue) {- let number = rawValue ? parseFloat(rawValue) : null;- return isNumeric2(number) ? number : rawValue;- }- function checkedAttrLooseCompare2(valueA, valueB) {- return valueA == valueB;- }- function isNumeric2(subject) {- return !Array.isArray(subject) && !isNaN(subject);- }-- // packages/alpinejs/src/directives/x-cloak.js- directive("cloak", (el) => queueMicrotask(() => mutateDom(() => el.removeAttribute(prefix("cloak")))));-- // packages/alpinejs/src/directives/x-init.js- addInitSelector(() => `[${prefix("init")}]`);- directive("init", skipDuringClone((el, {expression}, {evaluate: evaluate2}) => {- if (typeof expression === "string") {- return !!expression.trim() && evaluate2(expression, {}, false);- }- return evaluate2(expression, {}, false);- }));-- // packages/alpinejs/src/directives/x-text.js- directive("text", (el, {expression}, {effect: effect3, evaluateLater: evaluateLater2}) => {- let evaluate2 = evaluateLater2(expression);- effect3(() => {- evaluate2((value) => {- mutateDom(() => {- el.textContent = value;- });- });- });- });-- // packages/alpinejs/src/directives/x-html.js- directive("html", (el, {expression}, {effect: effect3, evaluateLater: evaluateLater2}) => {- let evaluate2 = evaluateLater2(expression);- effect3(() => {- evaluate2((value) => {- mutateDom(() => {- el.innerHTML = value;- el._x_ignoreSelf = true;- initTree(el);- delete el._x_ignoreSelf;- });- });- });- });-- // packages/alpinejs/src/directives/x-bind.js- mapAttributes(startingWith(":", into(prefix("bind:"))));- directive("bind", (el, {value, modifiers, expression, original}, {effect: effect3}) => {- if (!value) {- let bindingProviders = {};- injectBindingProviders(bindingProviders);- let getBindings = evaluateLater(el, expression);- getBindings((bindings) => {- applyBindingsObject(el, bindings, original);- }, {scope: bindingProviders});- return;- }- if (value === "key")- return storeKeyForXFor(el, expression);- let evaluate2 = evaluateLater(el, expression);- effect3(() => evaluate2((result) => {- if (result === void 0 && typeof expression === "string" && expression.match(/\./)) {- result = "";- }- mutateDom(() => bind(el, value, result, modifiers));- }));- });- function storeKeyForXFor(el, expression) {- el._x_keyExpression = expression;- }-- // packages/alpinejs/src/directives/x-data.js- addRootSelector(() => `[${prefix("data")}]`);- directive("data", skipDuringClone((el, {expression}, {cleanup: cleanup2}) => {- expression = expression === "" ? "{}" : expression;- let magicContext = {};- injectMagics(magicContext, el);- let dataProviderContext = {};- injectDataProviders(dataProviderContext, magicContext);- let data2 = evaluate(el, expression, {scope: dataProviderContext});- if (data2 === void 0)- data2 = {};- injectMagics(data2, el);- let reactiveData = reactive(data2);- initInterceptors(reactiveData);- let undo = addScopeToNode(el, reactiveData);- reactiveData["init"] && evaluate(el, reactiveData["init"]);- cleanup2(() => {- reactiveData["destroy"] && evaluate(el, reactiveData["destroy"]);- undo();- });- }));-- // packages/alpinejs/src/directives/x-show.js- directive("show", (el, {modifiers, expression}, {effect: effect3}) => {- let evaluate2 = evaluateLater(el, expression);- if (!el._x_doHide)- el._x_doHide = () => {- mutateDom(() => {- el.style.setProperty("display", "none", modifiers.includes("important") ? "important" : void 0);- });- };- if (!el._x_doShow)- el._x_doShow = () => {- mutateDom(() => {- if (el.style.length === 1 && el.style.display === "none") {- el.removeAttribute("style");- } else {- el.style.removeProperty("display");- }- });- };- let hide = () => {- el._x_doHide();- el._x_isShown = false;- };- let show = () => {- el._x_doShow();- el._x_isShown = true;- };- let clickAwayCompatibleShow = () => setTimeout(show);- let toggle = once((value) => value ? show() : hide(), (value) => {- if (typeof el._x_toggleAndCascadeWithTransitions === "function") {- el._x_toggleAndCascadeWithTransitions(el, value, show, hide);- } else {- value ? clickAwayCompatibleShow() : hide();- }- });- let oldValue;- let firstTime = true;- effect3(() => evaluate2((value) => {- if (!firstTime && value === oldValue)- return;- if (modifiers.includes("immediate"))- value ? clickAwayCompatibleShow() : hide();- toggle(value);- oldValue = value;- firstTime = false;- }));- });-- // packages/alpinejs/src/directives/x-for.js- directive("for", (el, {expression}, {effect: effect3, cleanup: cleanup2}) => {- let iteratorNames = parseForExpression(expression);- let evaluateItems = evaluateLater(el, iteratorNames.items);- let evaluateKey = evaluateLater(el, el._x_keyExpression || "index");- el._x_prevKeys = [];- el._x_lookup = {};- effect3(() => loop(el, iteratorNames, evaluateItems, evaluateKey));- cleanup2(() => {- Object.values(el._x_lookup).forEach((el2) => el2.remove());- delete el._x_prevKeys;- delete el._x_lookup;- });- });- function loop(el, iteratorNames, evaluateItems, evaluateKey) {- let isObject2 = (i) => typeof i === "object" && !Array.isArray(i);- let templateEl = el;- evaluateItems((items) => {- if (isNumeric3(items) && items >= 0) {- items = Array.from(Array(items).keys(), (i) => i + 1);- }- if (items === void 0)- items = [];- let lookup = el._x_lookup;- let prevKeys = el._x_prevKeys;- let scopes = [];- let keys = [];- if (isObject2(items)) {- items = Object.entries(items).map(([key, value]) => {- let scope2 = getIterationScopeVariables(iteratorNames, value, key, items);- evaluateKey((value2) => keys.push(value2), {scope: {index: key, ...scope2}});- scopes.push(scope2);- });- } else {- for (let i = 0; i < items.length; i++) {- let scope2 = getIterationScopeVariables(iteratorNames, items[i], i, items);- evaluateKey((value) => keys.push(value), {scope: {index: i, ...scope2}});- scopes.push(scope2);- }- }- let adds = [];- let moves = [];- let removes = [];- let sames = [];- for (let i = 0; i < prevKeys.length; i++) {- let key = prevKeys[i];- if (keys.indexOf(key) === -1)- removes.push(key);- }- prevKeys = prevKeys.filter((key) => !removes.includes(key));- let lastKey = "template";- for (let i = 0; i < keys.length; i++) {- let key = keys[i];- let prevIndex = prevKeys.indexOf(key);- if (prevIndex === -1) {- prevKeys.splice(i, 0, key);- adds.push([lastKey, i]);- } else if (prevIndex !== i) {- let keyInSpot = prevKeys.splice(i, 1)[0];- let keyForSpot = prevKeys.splice(prevIndex - 1, 1)[0];- prevKeys.splice(i, 0, keyForSpot);- prevKeys.splice(prevIndex, 0, keyInSpot);- moves.push([keyInSpot, keyForSpot]);- } else {- sames.push(key);- }- lastKey = key;- }- for (let i = 0; i < removes.length; i++) {- let key = removes[i];- if (!!lookup[key]._x_effects) {- lookup[key]._x_effects.forEach(dequeueJob);- }- lookup[key].remove();- lookup[key] = null;- delete lookup[key];- }- for (let i = 0; i < moves.length; i++) {- let [keyInSpot, keyForSpot] = moves[i];- let elInSpot = lookup[keyInSpot];- let elForSpot = lookup[keyForSpot];- let marker = document.createElement("div");- mutateDom(() => {- elForSpot.after(marker);- elInSpot.after(elForSpot);- elForSpot._x_currentIfEl && elForSpot.after(elForSpot._x_currentIfEl);- marker.before(elInSpot);- elInSpot._x_currentIfEl && elInSpot.after(elInSpot._x_currentIfEl);- marker.remove();- });- refreshScope(elForSpot, scopes[keys.indexOf(keyForSpot)]);- }- for (let i = 0; i < adds.length; i++) {- let [lastKey2, index] = adds[i];- let lastEl = lastKey2 === "template" ? templateEl : lookup[lastKey2];- if (lastEl._x_currentIfEl)- lastEl = lastEl._x_currentIfEl;- let scope2 = scopes[index];- let key = keys[index];- let clone2 = document.importNode(templateEl.content, true).firstElementChild;- addScopeToNode(clone2, reactive(scope2), templateEl);- mutateDom(() => {- lastEl.after(clone2);- initTree(clone2);- });- if (typeof key === "object") {- warn("x-for key cannot be an object, it must be a string or an integer", templateEl);- }- lookup[key] = clone2;- }- for (let i = 0; i < sames.length; i++) {- refreshScope(lookup[sames[i]], scopes[keys.indexOf(sames[i])]);- }- templateEl._x_prevKeys = keys;- });- }- function parseForExpression(expression) {- let forIteratorRE = /,([^,\}\]]*)(?:,([^,\}\]]*))?$/;- let stripParensRE = /^\s*\(|\)\s*$/g;- let forAliasRE = /([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/;- let inMatch = expression.match(forAliasRE);- if (!inMatch)- return;- let res = {};- res.items = inMatch[2].trim();- let item = inMatch[1].replace(stripParensRE, "").trim();- let iteratorMatch = item.match(forIteratorRE);- if (iteratorMatch) {- res.item = item.replace(forIteratorRE, "").trim();- res.index = iteratorMatch[1].trim();- if (iteratorMatch[2]) {- res.collection = iteratorMatch[2].trim();- }- } else {- res.item = item;- }- return res;- }- function getIterationScopeVariables(iteratorNames, item, index, items) {- let scopeVariables = {};- if (/^\[.*\]$/.test(iteratorNames.item) && Array.isArray(item)) {- let names = iteratorNames.item.replace("[", "").replace("]", "").split(",").map((i) => i.trim());- names.forEach((name, i) => {- scopeVariables[name] = item[i];- });- } else if (/^\{.*\}$/.test(iteratorNames.item) && !Array.isArray(item) && typeof item === "object") {- let names = iteratorNames.item.replace("{", "").replace("}", "").split(",").map((i) => i.trim());- names.forEach((name) => {- scopeVariables[name] = item[name];- });- } else {- scopeVariables[iteratorNames.item] = item;- }- if (iteratorNames.index)- scopeVariables[iteratorNames.index] = index;- if (iteratorNames.collection)- scopeVariables[iteratorNames.collection] = items;- return scopeVariables;- }- function isNumeric3(subject) {- return !Array.isArray(subject) && !isNaN(subject);- }-- // packages/alpinejs/src/directives/x-ref.js- function handler2() {- }- handler2.inline = (el, {expression}, {cleanup: cleanup2}) => {- let root = closestRoot(el);- if (!root._x_refs)- root._x_refs = {};- root._x_refs[expression] = el;- cleanup2(() => delete root._x_refs[expression]);- };- directive("ref", handler2);-- // packages/alpinejs/src/directives/x-if.js- directive("if", (el, {expression}, {effect: effect3, cleanup: cleanup2}) => {- let evaluate2 = evaluateLater(el, expression);- let show = () => {- if (el._x_currentIfEl)- return el._x_currentIfEl;- let clone2 = el.content.cloneNode(true).firstElementChild;- addScopeToNode(clone2, {}, el);- mutateDom(() => {- el.after(clone2);- initTree(clone2);- });- el._x_currentIfEl = clone2;- el._x_undoIf = () => {- walk(clone2, (node) => {- if (!!node._x_effects) {- node._x_effects.forEach(dequeueJob);- }- });- clone2.remove();- delete el._x_currentIfEl;- };- return clone2;- };- let hide = () => {- if (!el._x_undoIf)- return;- el._x_undoIf();- delete el._x_undoIf;- };- effect3(() => evaluate2((value) => {- value ? show() : hide();- }));- cleanup2(() => el._x_undoIf && el._x_undoIf());- });-- // packages/alpinejs/src/directives/x-id.js- directive("id", (el, {expression}, {evaluate: evaluate2}) => {- let names = evaluate2(expression);- names.forEach((name) => setIdRoot(el, name));- });-- // packages/alpinejs/src/directives/x-on.js- mapAttributes(startingWith("@", into(prefix("on:"))));- directive("on", skipDuringClone((el, {value, modifiers, expression}, {cleanup: cleanup2}) => {- let evaluate2 = expression ? evaluateLater(el, expression) : () => {- };- if (el.tagName.toLowerCase() === "template") {- if (!el._x_forwardEvents)- el._x_forwardEvents = [];- if (!el._x_forwardEvents.includes(value))- el._x_forwardEvents.push(value);- }- let removeListener = on(el, value, modifiers, (e) => {- evaluate2(() => {- }, {scope: {$event: e}, params: [e]});- });- cleanup2(() => removeListener());- }));-- // packages/alpinejs/src/directives/index.js- warnMissingPluginDirective("Collapse", "collapse", "collapse");- warnMissingPluginDirective("Intersect", "intersect", "intersect");- warnMissingPluginDirective("Focus", "trap", "focus");- warnMissingPluginDirective("Mask", "mask", "mask");- function warnMissingPluginDirective(name, directiveName2, slug) {- directive(directiveName2, (el) => warn(`You can't use [x-${directiveName2}] without first installing the "${name}" plugin here: https://alpinejs.dev/plugins/${slug}`, el));- }-- // packages/alpinejs/src/index.js- alpine_default.setEvaluator(normalEvaluator);- alpine_default.setReactivityEngine({reactive: reactive2, effect: effect2, release: stop, raw: toRaw});- var src_default = alpine_default;-- // packages/alpinejs/builds/cdn.js- window.Alpine = src_default;- queueMicrotask(() => {- src_default.start();- });-})();++(()=>{var e,t,n,r,i=!1,o=!1,a=[],s=-1;function l(e){!function(e){a.includes(e)||a.push(e);o||i||(i=!0,queueMicrotask(u))}(e)}function c(e){let t=a.indexOf(e);-1!==t&&t>s&&a.splice(t,1)}function u(){i=!1,o=!0;for(let e=0;e<a.length;e++)a[e](),s=e;a.length=0,s=-1,o=!1}var f=!0;function d(e){t=e}var _=[],p=[],h=[];function x(e,t){"function"==typeof t?(e._x_cleanups||(e._x_cleanups=[]),e._x_cleanups.push(t)):(t=e,p.push(t))}function g(e,t){e._x_attributeCleanups&&Object.entries(e._x_attributeCleanups).forEach((([n,r])=>{(void 0===t||t.includes(n))&&(r.forEach((e=>e())),delete e._x_attributeCleanups[n])}))}var m=new MutationObserver(S),v=!1;function y(){m.observe(document,{subtree:!0,childList:!0,attributes:!0,attributeOldValue:!0}),v=!0}function b(){(w=w.concat(m.takeRecords())).length&&!E&&(E=!0,queueMicrotask((()=>{S(w),w.length=0,E=!1}))),m.disconnect(),v=!1}var w=[],E=!1;function A(e){if(!v)return e();b();let t=e();return y(),t}var O=!1,k=[];function S(e){if(O)return void(k=k.concat(e));let t=[],n=[],r=new Map,i=new Map;for(let o=0;o<e.length;o++)if(!e[o].target._x_ignoreMutationObserver&&("childList"===e[o].type&&(e[o].addedNodes.forEach((e=>1===e.nodeType&&t.push(e))),e[o].removedNodes.forEach((e=>1===e.nodeType&&n.push(e)))),"attributes"===e[o].type)){let t=e[o].target,n=e[o].attributeName,a=e[o].oldValue,s=()=>{r.has(t)||r.set(t,[]),r.get(t).push({name:n,value:t.getAttribute(n)})},l=()=>{i.has(t)||i.set(t,[]),i.get(t).push(n)};t.hasAttribute(n)&&null===a?s():t.hasAttribute(n)?(l(),s()):l()}i.forEach(((e,t)=>{g(t,e)})),r.forEach(((e,t)=>{_.forEach((n=>n(t,e)))}));for(let e of n)if(!t.includes(e)&&(p.forEach((t=>t(e))),e._x_cleanups))for(;e._x_cleanups.length;)e._x_cleanups.pop()();t.forEach((e=>{e._x_ignoreSelf=!0,e._x_ignore=!0}));for(let e of t)n.includes(e)||e.isConnected&&(delete e._x_ignoreSelf,delete e._x_ignore,h.forEach((t=>t(e))),e._x_ignore=!0,e._x_ignoreSelf=!0);t.forEach((e=>{delete e._x_ignoreSelf,delete e._x_ignore})),t=null,n=null,r=null,i=null}function C(e){return N(j(e))}function $(e,t,n){return e._x_dataStack=[t,...j(n||e)],()=>{e._x_dataStack=e._x_dataStack.filter((e=>e!==t))}}function j(e){return e._x_dataStack?e._x_dataStack:"function"==typeof ShadowRoot&&e instanceof ShadowRoot?j(e.host):e.parentNode?j(e.parentNode):[]}function N(e){let t=new Proxy({},{ownKeys:()=>Array.from(new Set(e.flatMap((e=>Object.keys(e))))),has:(t,n)=>e.some((e=>e.hasOwnProperty(n))),get:(n,r)=>(e.find((e=>{if(e.hasOwnProperty(r)){let n=Object.getOwnPropertyDescriptor(e,r);if(n.get&&n.get._x_alreadyBound||n.set&&n.set._x_alreadyBound)return!0;if((n.get||n.set)&&n.enumerable){let i=n.get,o=n.set,a=n;i=i&&i.bind(t),o=o&&o.bind(t),i&&(i._x_alreadyBound=!0),o&&(o._x_alreadyBound=!0),Object.defineProperty(e,r,{...a,get:i,set:o})}return!0}return!1}))||{})[r],set:(t,n,r)=>{let i=e.find((e=>e.hasOwnProperty(n)));return i?i[n]=r:e[e.length-1][n]=r,!0}});return t}function M(e){let t=(n,r="")=>{Object.entries(Object.getOwnPropertyDescriptors(n)).forEach((([i,{value:o,enumerable:a}])=>{if(!1===a||void 0===o)return;let s=""===r?i:`${r}.${i}`;var l;"object"==typeof o&&null!==o&&o._x_interceptor?n[i]=o.initialize(e,s,i):"object"!=typeof(l=o)||Array.isArray(l)||null===l||o===n||o instanceof Element||t(o,s)}))};return t(e)}function L(e,t=(()=>{})){let n={initialValue:void 0,_x_interceptor:!0,initialize(t,n,r){return e(this.initialValue,(()=>function(e,t){return t.split(".").reduce(((e,t)=>e[t]),e)}(t,n)),(e=>P(t,n,e)),n,r)}};return t(n),e=>{if("object"==typeof e&&null!==e&&e._x_interceptor){let t=n.initialize.bind(n);n.initialize=(r,i,o)=>{let a=e.initialize(r,i,o);return n.initialValue=a,t(r,i,o)}}else n.initialValue=e;return n}}function P(e,t,n){if("string"==typeof t&&(t=t.split(".")),1!==t.length){if(0===t.length)throw error;return e[t[0]]||(e[t[0]]={}),P(e[t[0]],t.slice(1),n)}e[t[0]]=n}var T={};function R(e,t){T[e]=t}function B(e,t){return Object.entries(T).forEach((([n,r])=>{let i=null;Object.defineProperty(e,`$${n}`,{get:()=>r(t,function(){if(i)return i;{let[e,n]=re(t);return i={interceptor:L,...e},x(t,n),i}}()),enumerable:!1})})),e}function z(e,t,n,...r){try{return n(...r)}catch(n){I(n,e,t)}}function I(e,t,n=void 0){Object.assign(e,{el:t,expression:n}),console.warn(`Alpine Expression Error: ${e.message}\n\n${n?'Expression: "'+n+'"\n\n':""}`,t),setTimeout((()=>{throw e}),0)}var D=!0;function q(e){let t=D;D=!1;let n=e();return D=t,n}function F(e,t,n={}){let r;return W(e,t)((e=>r=e),n),r}function W(...e){return U(...e)}var U=V;function V(e,t){let n={};B(n,e);let r=[n,...j(e)],i="function"==typeof t?function(e,t){return(n=(()=>{}),{scope:r={},params:i=[]}={})=>{H(n,t.apply(N([r,...e]),i))}}(r,t):function(e,t,n){let r=function(e,t){if(K[e])return K[e];let n=Object.getPrototypeOf((async function(){})).constructor,r=/^[\n\s]*if.*\(.*\)/.test(e)||/^(let|const)\s/.test(e)?`(async()=>{ ${e} })()`:e;const i=()=>{try{return new n(["__self","scope"],`with (scope) { __self.result = ${r} }; __self.finished = true; return __self.result;`)}catch(n){return I(n,t,e),Promise.resolve()}};let o=i();return K[e]=o,o}(t,n);return(i=(()=>{}),{scope:o={},params:a=[]}={})=>{r.result=void 0,r.finished=!1;let s=N([o,...e]);if("function"==typeof r){let e=r(r,s).catch((e=>I(e,n,t)));r.finished?(H(i,r.result,s,a,n),r.result=void 0):e.then((e=>{H(i,e,s,a,n)})).catch((e=>I(e,n,t))).finally((()=>r.result=void 0))}}}(r,t,e);return z.bind(null,e,t,i)}var K={};function H(e,t,n,r,i){if(D&&"function"==typeof t){let o=t.apply(n,r);o instanceof Promise?o.then((t=>H(e,t,n,r))).catch((e=>I(e,i,t))):e(o)}else"object"==typeof t&&t instanceof Promise?t.then((t=>e(t))):e(t)}var J="x-";function Z(e=""){return J+e}var X={};function Y(e,t){return X[e]=t,{before(t){if(!X[t])return void console.warn("Cannot find directive `${directive}`. `${name}` will use the default order of execution");const n=fe.indexOf(t);fe.splice(n>=0?n:fe.indexOf("DEFAULT"),0,e)}}}function G(e,t,n){if(t=Array.from(t),e._x_virtualDirectives){let n=Object.entries(e._x_virtualDirectives).map((([e,t])=>({name:e,value:t}))),r=Q(n);n=n.map((e=>r.find((t=>t.name===e.name))?{name:`x-bind:${e.name}`,value:`"${e.value}"`}:e)),t=t.concat(n)}let r={},i=t.map(oe(((e,t)=>r[e]=t))).filter(le).map(function(e,t){return({name:n,value:r})=>{let i=n.match(ce()),o=n.match(/:([a-zA-Z0-9\-:]+)/),a=n.match(/\.[^.\]]+(?=[^\]]*$)/g)||[],s=t||e[n]||n;return{type:i?i[1]:null,value:o?o[1]:null,modifiers:a.map((e=>e.replace(".",""))),expression:r,original:s}}}(r,n)).sort(de);return i.map((t=>function(e,t){let n=()=>{},r=X[t.type]||n,[i,o]=re(e);!function(e,t,n){e._x_attributeCleanups||(e._x_attributeCleanups={}),e._x_attributeCleanups[t]||(e._x_attributeCleanups[t]=[]),e._x_attributeCleanups[t].push(n)}(e,t.original,o);let a=()=>{e._x_ignore||e._x_ignoreSelf||(r.inline&&r.inline(e,t,i),r=r.bind(r,e,t,i),ee?te.get(ne).push(r):r())};return a.runCleanups=o,a}(e,t)))}function Q(e){return Array.from(e).map(oe()).filter((e=>!le(e)))}var ee=!1,te=new Map,ne=Symbol();function re(e){let r=[],[i,o]=function(e){let r=()=>{};return[i=>{let o=t(i);return e._x_effects||(e._x_effects=new Set,e._x_runEffects=()=>{e._x_effects.forEach((e=>e()))}),e._x_effects.add(o),r=()=>{void 0!==o&&(e._x_effects.delete(o),n(o))},o},()=>{r()}]}(e);r.push(o);return[{Alpine:et,effect:i,cleanup:e=>r.push(e),evaluateLater:W.bind(W,e),evaluate:F.bind(F,e)},()=>r.forEach((e=>e()))]}var ie=(e,t)=>({name:n,value:r})=>(n.startsWith(e)&&(n=n.replace(e,t)),{name:n,value:r});function oe(e=(()=>{})){return({name:t,value:n})=>{let{name:r,value:i}=ae.reduce(((e,t)=>t(e)),{name:t,value:n});return r!==t&&e(r,t),{name:r,value:i}}}var ae=[];function se(e){ae.push(e)}function le({name:e}){return ce().test(e)}var ce=()=>new RegExp(`^${J}([^:^.]+)\\b`);var ue="DEFAULT",fe=["ignore","ref","data","id","bind","init","for","model","modelable","transition","show","if",ue,"teleport"];function de(e,t){let n=-1===fe.indexOf(e.type)?ue:e.type,r=-1===fe.indexOf(t.type)?ue:t.type;return fe.indexOf(n)-fe.indexOf(r)}function _e(e,t,n={}){e.dispatchEvent(new CustomEvent(t,{detail:n,bubbles:!0,composed:!0,cancelable:!0}))}function pe(e,t){if("function"==typeof ShadowRoot&&e instanceof ShadowRoot)return void Array.from(e.children).forEach((e=>pe(e,t)));let n=!1;if(t(e,(()=>n=!0)),n)return;let r=e.firstElementChild;for(;r;)pe(r,t),r=r.nextElementSibling}function he(e,...t){console.warn(`Alpine Warning: ${e}`,...t)}var xe=!1;var ge=[],me=[];function ve(){return ge.map((e=>e()))}function ye(){return ge.concat(me).map((e=>e()))}function be(e){ge.push(e)}function we(e){me.push(e)}function Ee(e,t=!1){return Ae(e,(e=>{if((t?ye():ve()).some((t=>e.matches(t))))return!0}))}function Ae(e,t){if(e){if(t(e))return e;if(e._x_teleportBack&&(e=e._x_teleportBack),e.parentElement)return Ae(e.parentElement,t)}}var Oe=[];function ke(e,t=pe,n=(()=>{})){!function(e){ee=!0;let t=Symbol();ne=t,te.set(t,[]);let n=()=>{for(;te.get(t).length;)te.get(t).shift()();te.delete(t)};e(n),ee=!1,n()}((()=>{t(e,((e,t)=>{n(e,t),Oe.forEach((n=>n(e,t))),G(e,e.attributes).forEach((e=>e())),e._x_ignore&&t()}))}))}function Se(e){pe(e,(e=>g(e)))}var Ce=[],$e=!1;function je(e=(()=>{})){return queueMicrotask((()=>{$e||setTimeout((()=>{Ne()}))})),new Promise((t=>{Ce.push((()=>{e(),t()}))}))}function Ne(){for($e=!1;Ce.length;)Ce.shift()()}function Me(e,t){return Array.isArray(t)?Le(e,t.join(" ")):"object"==typeof t&&null!==t?function(e,t){let n=e=>e.split(" ").filter(Boolean),r=Object.entries(t).flatMap((([e,t])=>!!t&&n(e))).filter(Boolean),i=Object.entries(t).flatMap((([e,t])=>!t&&n(e))).filter(Boolean),o=[],a=[];return i.forEach((t=>{e.classList.contains(t)&&(e.classList.remove(t),a.push(t))})),r.forEach((t=>{e.classList.contains(t)||(e.classList.add(t),o.push(t))})),()=>{a.forEach((t=>e.classList.add(t))),o.forEach((t=>e.classList.remove(t)))}}(e,t):"function"==typeof t?Me(e,t()):Le(e,t)}function Le(e,t){return t=!0===t?t="":t||"",n=t.split(" ").filter((t=>!e.classList.contains(t))).filter(Boolean),e.classList.add(...n),()=>{e.classList.remove(...n)};var n}function Pe(e,t){return"object"==typeof t&&null!==t?function(e,t){let n={};return Object.entries(t).forEach((([t,r])=>{n[t]=e.style[t],t.startsWith("--")||(t=t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()),e.style.setProperty(t,r)})),setTimeout((()=>{0===e.style.length&&e.removeAttribute("style")})),()=>{Pe(e,n)}}(e,t):function(e,t){let n=e.getAttribute("style",t);return e.setAttribute("style",t),()=>{e.setAttribute("style",n||"")}}(e,t)}function Te(e,t=(()=>{})){let n=!1;return function(){n?t.apply(this,arguments):(n=!0,e.apply(this,arguments))}}function Re(e,t,n={}){e._x_transition||(e._x_transition={enter:{during:n,start:n,end:n},leave:{during:n,start:n,end:n},in(n=(()=>{}),r=(()=>{})){ze(e,t,{during:this.enter.during,start:this.enter.start,end:this.enter.end},n,r)},out(n=(()=>{}),r=(()=>{})){ze(e,t,{during:this.leave.during,start:this.leave.start,end:this.leave.end},n,r)}})}function Be(e){let t=e.parentNode;if(t)return t._x_hidePromise?t:Be(t)}function ze(e,t,{during:n,start:r,end:i}={},o=(()=>{}),a=(()=>{})){if(e._x_transitioning&&e._x_transitioning.cancel(),0===Object.keys(n).length&&0===Object.keys(r).length&&0===Object.keys(i).length)return o(),void a();let s,l,c;!function(e,t){let n,r,i,o=Te((()=>{A((()=>{n=!0,r||t.before(),i||(t.end(),Ne()),t.after(),e.isConnected&&t.cleanup(),delete e._x_transitioning}))}));e._x_transitioning={beforeCancels:[],beforeCancel(e){this.beforeCancels.push(e)},cancel:Te((function(){for(;this.beforeCancels.length;)this.beforeCancels.shift()();o()})),finish:o},A((()=>{t.start(),t.during()})),$e=!0,requestAnimationFrame((()=>{if(n)return;let o=1e3*Number(getComputedStyle(e).transitionDuration.replace(/,.*/,"").replace("s","")),a=1e3*Number(getComputedStyle(e).transitionDelay.replace(/,.*/,"").replace("s",""));0===o&&(o=1e3*Number(getComputedStyle(e).animationDuration.replace("s",""))),A((()=>{t.before()})),r=!0,requestAnimationFrame((()=>{n||(A((()=>{t.end()})),Ne(),setTimeout(e._x_transitioning.finish,o+a),i=!0)}))}))}(e,{start(){s=t(e,r)},during(){l=t(e,n)},before:o,end(){s(),c=t(e,i)},after:a,cleanup(){l(),c()}})}function Ie(e,t,n){if(-1===e.indexOf(t))return n;const r=e[e.indexOf(t)+1];if(!r)return n;if("scale"===t&&isNaN(r))return n;if("duration"===t||"delay"===t){let e=r.match(/([0-9]+)ms/);if(e)return e[1]}return"origin"===t&&["top","right","left","center","bottom"].includes(e[e.indexOf(t)+2])?[r,e[e.indexOf(t)+2]].join(" "):r}Y("transition",((e,{value:t,modifiers:n,expression:r},{evaluate:i})=>{"function"==typeof r&&(r=i(r)),!1!==r&&(r&&"boolean"!=typeof r?function(e,t,n){Re(e,Me,"");let r={enter:t=>{e._x_transition.enter.during=t},"enter-start":t=>{e._x_transition.enter.start=t},"enter-end":t=>{e._x_transition.enter.end=t},leave:t=>{e._x_transition.leave.during=t},"leave-start":t=>{e._x_transition.leave.start=t},"leave-end":t=>{e._x_transition.leave.end=t}};r[n](t)}(e,r,t):function(e,t,n){Re(e,Pe);let r=!t.includes("in")&&!t.includes("out")&&!n,i=r||t.includes("in")||["enter"].includes(n),o=r||t.includes("out")||["leave"].includes(n);t.includes("in")&&!r&&(t=t.filter(((e,n)=>n<t.indexOf("out"))));t.includes("out")&&!r&&(t=t.filter(((e,n)=>n>t.indexOf("out"))));let a=!t.includes("opacity")&&!t.includes("scale"),s=a||t.includes("opacity"),l=a||t.includes("scale"),c=s?0:1,u=l?Ie(t,"scale",95)/100:1,f=Ie(t,"delay",0)/1e3,d=Ie(t,"origin","center"),_="opacity, transform",p=Ie(t,"duration",150)/1e3,h=Ie(t,"duration",75)/1e3,x="cubic-bezier(0.4, 0.0, 0.2, 1)";i&&(e._x_transition.enter.during={transformOrigin:d,transitionDelay:`${f}s`,transitionProperty:_,transitionDuration:`${p}s`,transitionTimingFunction:x},e._x_transition.enter.start={opacity:c,transform:`scale(${u})`},e._x_transition.enter.end={opacity:1,transform:"scale(1)"});o&&(e._x_transition.leave.during={transformOrigin:d,transitionDelay:`${f}s`,transitionProperty:_,transitionDuration:`${h}s`,transitionTimingFunction:x},e._x_transition.leave.start={opacity:1,transform:"scale(1)"},e._x_transition.leave.end={opacity:c,transform:`scale(${u})`})}(e,n,t))})),window.Element.prototype._x_toggleAndCascadeWithTransitions=function(e,t,n,r){const i="visible"===document.visibilityState?requestAnimationFrame:setTimeout;let o=()=>i(n);t?e._x_transition&&(e._x_transition.enter||e._x_transition.leave)?e._x_transition.enter&&(Object.entries(e._x_transition.enter.during).length||Object.entries(e._x_transition.enter.start).length||Object.entries(e._x_transition.enter.end).length)?e._x_transition.in(n):o():e._x_transition?e._x_transition.in(n):o():(e._x_hidePromise=e._x_transition?new Promise(((t,n)=>{e._x_transition.out((()=>{}),(()=>t(r))),e._x_transitioning.beforeCancel((()=>n({isFromCancelledTransition:!0})))})):Promise.resolve(r),queueMicrotask((()=>{let t=Be(e);t?(t._x_hideChildren||(t._x_hideChildren=[]),t._x_hideChildren.push(e)):i((()=>{let t=e=>{let n=Promise.all([e._x_hidePromise,...(e._x_hideChildren||[]).map(t)]).then((([e])=>e()));return delete e._x_hidePromise,delete e._x_hideChildren,n};t(e).catch((e=>{if(!e.isFromCancelledTransition)throw e}))}))})))};var De=!1;function qe(e,t=(()=>{})){return(...n)=>De?t(...n):e(...n)}function Fe(t,n,r,i=[]){switch(t._x_bindings||(t._x_bindings=e({})),t._x_bindings[n]=r,n=i.includes("camel")?n.toLowerCase().replace(/-(\w)/g,((e,t)=>t.toUpperCase())):n){case"value":!function(e,t){if("radio"===e.type)void 0===e.attributes.value&&(e.value=t),window.fromModel&&(e.checked=Ue(e.value,t));else if("checkbox"===e.type)Number.isInteger(t)?e.value=t:Number.isInteger(t)||Array.isArray(t)||"boolean"==typeof t||[null,void 0].includes(t)?Array.isArray(t)?e.checked=t.some((t=>Ue(t,e.value))):e.checked=!!t:e.value=String(t);else if("SELECT"===e.tagName)!function(e,t){const n=[].concat(t).map((e=>e+""));Array.from(e.options).forEach((e=>{e.selected=n.includes(e.value)}))}(e,t);else{if(e.value===t)return;e.value=t}}(t,r);break;case"style":!function(e,t){e._x_undoAddedStyles&&e._x_undoAddedStyles();e._x_undoAddedStyles=Pe(e,t)}(t,r);break;case"class":!function(e,t){e._x_undoAddedClasses&&e._x_undoAddedClasses();e._x_undoAddedClasses=Me(e,t)}(t,r);break;case"selected":case"checked":!function(e,t,n){We(e,t,n),function(e,t,n){e[t]!==n&&(e[t]=n)}(e,t,n)}(t,n,r);break;default:We(t,n,r)}}function We(e,t,n){[null,void 0,!1].includes(n)&&function(e){return!["aria-pressed","aria-checked","aria-expanded","aria-selected"].includes(e)}(t)?e.removeAttribute(t):(Ve(t)&&(n=t),function(e,t,n){e.getAttribute(t)!=n&&e.setAttribute(t,n)}(e,t,n))}function Ue(e,t){return e==t}function Ve(e){return["disabled","checked","required","readonly","hidden","open","selected","autofocus","itemscope","multiple","novalidate","allowfullscreen","allowpaymentrequest","formnovalidate","autoplay","controls","loop","muted","playsinline","default","ismap","reversed","async","defer","nomodule"].includes(e)}function Ke(e,t,n){let r=e.getAttribute(t);return null===r?"function"==typeof n?n():n:""===r||(Ve(t)?!![t,"true"].includes(r):r)}function He(e,t){var n;return function(){var r=this,i=arguments;clearTimeout(n),n=setTimeout((function(){n=null,e.apply(r,i)}),t)}}function Je(e,t){let n;return function(){let r=this,i=arguments;n||(e.apply(r,i),n=!0,setTimeout((()=>n=!1),t))}}var Ze={},Xe=!1;var Ye={};function Ge(e,t,n){let r=[];for(;r.length;)r.pop()();let i=Object.entries(t).map((([e,t])=>({name:e,value:t}))),o=Q(i);i=i.map((e=>o.find((t=>t.name===e.name))?{name:`x-bind:${e.name}`,value:`"${e.value}"`}:e)),G(e,i,n).map((e=>{r.push(e.runCleanups),e()}))}var Qe={};var et={get reactive(){return e},get release(){return n},get effect(){return t},get raw(){return r},version:"3.12.3",flushAndStopDeferringMutations:function(){O=!1,S(k),k=[]},dontAutoEvaluateFunctions:q,disableEffectScheduling:function(e){f=!1,e(),f=!0},startObservingMutations:y,stopObservingMutations:b,setReactivityEngine:function(i){e=i.reactive,n=i.release,t=e=>i.effect(e,{scheduler:e=>{f?l(e):e()}}),r=i.raw},closestDataStack:j,skipDuringClone:qe,onlyDuringClone:function(e){return(...t)=>De&&e(...t)},addRootSelector:be,addInitSelector:we,addScopeToNode:$,deferMutations:function(){O=!0},mapAttributes:se,evaluateLater:W,interceptInit:function(e){Oe.push(e)},setEvaluator:function(e){U=e},mergeProxies:N,extractProp:function(e,t,n,r=!0){if(e._x_bindings&&void 0!==e._x_bindings[t])return e._x_bindings[t];if(e._x_inlineBindings&&void 0!==e._x_inlineBindings[t]){let n=e._x_inlineBindings[t];return n.extract=r,q((()=>F(e,n.expression)))}return Ke(e,t,n)},findClosest:Ae,closestRoot:Ee,destroyTree:Se,interceptor:L,transition:ze,setStyles:Pe,mutateDom:A,directive:Y,throttle:Je,debounce:He,evaluate:F,initTree:ke,nextTick:je,prefixed:Z,prefix:function(e){J=e},plugin:function(e){(Array.isArray(e)?e:[e]).forEach((e=>e(et)))},magic:R,store:function(t,n){if(Xe||(Ze=e(Ze),Xe=!0),void 0===n)return Ze[t];Ze[t]=n,"object"==typeof n&&null!==n&&n.hasOwnProperty("init")&&"function"==typeof n.init&&Ze[t].init(),M(Ze[t])},start:function(){var e;xe&&he("Alpine has already been initialized on this page. Calling Alpine.start() more than once can cause problems."),xe=!0,document.body||he("Unable to initialize. Trying to load Alpine before `<body>` is available. Did you forget to add `defer` in Alpine's `<script>` tag?"),_e(document,"alpine:init"),_e(document,"alpine:initializing"),y(),e=e=>ke(e,pe),h.push(e),x((e=>Se(e))),function(e){_.push(e)}(((e,t)=>{G(e,t).forEach((e=>e()))})),Array.from(document.querySelectorAll(ye())).filter((e=>!Ee(e.parentElement,!0))).forEach((e=>{ke(e)})),_e(document,"alpine:initialized")},clone:function(e,r){r._x_dataStack||(r._x_dataStack=e._x_dataStack),De=!0,function(e){let r=t;d(((e,t)=>{let i=r(e);return n(i),()=>{}})),e(),d(r)}((()=>{!function(e){let t=!1;ke(e,((e,n)=>{pe(e,((e,r)=>{if(t&&function(e){return ve().some((t=>e.matches(t)))}(e))return r();t=!0,n(e,r)}))}))}(r)})),De=!1},bound:function(e,t,n){return e._x_bindings&&void 0!==e._x_bindings[t]?e._x_bindings[t]:Ke(e,t,n)},$data:C,walk:pe,data:function(e,t){Qe[e]=t},bind:function(e,t){let n="function"!=typeof t?()=>t:t;e instanceof Element?Ge(e,n()):Ye[e]=n}};function tt(e,t){const n=Object.create(null),r=e.split(",");for(let e=0;e<r.length;e++)n[r[e]]=!0;return t?e=>!!n[e.toLowerCase()]:e=>!!n[e]}var nt,rt=Object.freeze({}),it=(Object.freeze([]),Object.assign),ot=Object.prototype.hasOwnProperty,at=(e,t)=>ot.call(e,t),st=Array.isArray,lt=e=>"[object Map]"===dt(e),ct=e=>"symbol"==typeof e,ut=e=>null!==e&&"object"==typeof e,ft=Object.prototype.toString,dt=e=>ft.call(e),_t=e=>dt(e).slice(8,-1),pt=e=>"string"==typeof e&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,ht=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},xt=/-(\w)/g,gt=(ht((e=>e.replace(xt,((e,t)=>t?t.toUpperCase():"")))),/\B([A-Z])/g),mt=(ht((e=>e.replace(gt,"-$1").toLowerCase())),ht((e=>e.charAt(0).toUpperCase()+e.slice(1)))),vt=(ht((e=>e?`on${mt(e)}`:"")),(e,t)=>e!==t&&(e==e||t==t)),yt=new WeakMap,bt=[],wt=Symbol("iterate"),Et=Symbol("Map key iterate");var At=0;function Ot(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}var kt=!0,St=[];function Ct(){const e=St.pop();kt=void 0===e||e}function $t(e,t,n){if(!kt||void 0===nt)return;let r=yt.get(e);r||yt.set(e,r=new Map);let i=r.get(n);i||r.set(n,i=new Set),i.has(nt)||(i.add(nt),nt.deps.push(i),nt.options.onTrack&&nt.options.onTrack({effect:nt,target:e,type:t,key:n}))}function jt(e,t,n,r,i,o){const a=yt.get(e);if(!a)return;const s=new Set,l=e=>{e&&e.forEach((e=>{(e!==nt||e.allowRecurse)&&s.add(e)}))};if("clear"===t)a.forEach(l);else if("length"===n&&st(e))a.forEach(((e,t)=>{("length"===t||t>=r)&&l(e)}));else switch(void 0!==n&&l(a.get(n)),t){case"add":st(e)?pt(n)&&l(a.get("length")):(l(a.get(wt)),lt(e)&&l(a.get(Et)));break;case"delete":st(e)||(l(a.get(wt)),lt(e)&&l(a.get(Et)));break;case"set":lt(e)&&l(a.get(wt))}s.forEach((a=>{a.options.onTrigger&&a.options.onTrigger({effect:a,target:e,key:n,type:t,newValue:r,oldValue:i,oldTarget:o}),a.options.scheduler?a.options.scheduler(a):a()}))}var Nt=tt("__proto__,__v_isRef,__isVue"),Mt=new Set(Object.getOwnPropertyNames(Symbol).map((e=>Symbol[e])).filter(ct)),Lt=zt(),Pt=zt(!1,!0),Tt=zt(!0),Rt=zt(!0,!0),Bt={};function zt(e=!1,t=!1){return function(n,r,i){if("__v_isReactive"===r)return!e;if("__v_isReadonly"===r)return e;if("__v_raw"===r&&i===(e?t?pn:_n:t?dn:fn).get(n))return n;const o=st(n);if(!e&&o&&at(Bt,r))return Reflect.get(Bt,r,i);const a=Reflect.get(n,r,i);if(ct(r)?Mt.has(r):Nt(r))return a;if(e||$t(n,"get",r),t)return a;if(vn(a)){return!o||!pt(r)?a.value:a}return ut(a)?e?xn(a):hn(a):a}}function It(e=!1){return function(t,n,r,i){let o=t[n];if(!e&&(r=mn(r),o=mn(o),!st(t)&&vn(o)&&!vn(r)))return o.value=r,!0;const a=st(t)&&pt(n)?Number(n)<t.length:at(t,n),s=Reflect.set(t,n,r,i);return t===mn(i)&&(a?vt(r,o)&&jt(t,"set",n,r,o):jt(t,"add",n,r)),s}}["includes","indexOf","lastIndexOf"].forEach((e=>{const t=Array.prototype[e];Bt[e]=function(...e){const n=mn(this);for(let e=0,t=this.length;e<t;e++)$t(n,"get",e+"");const r=t.apply(n,e);return-1===r||!1===r?t.apply(n,e.map(mn)):r}})),["push","pop","shift","unshift","splice"].forEach((e=>{const t=Array.prototype[e];Bt[e]=function(...e){St.push(kt),kt=!1;const n=t.apply(this,e);return Ct(),n}}));var Dt={get:Lt,set:It(),deleteProperty:function(e,t){const n=at(e,t),r=e[t],i=Reflect.deleteProperty(e,t);return i&&n&&jt(e,"delete",t,void 0,r),i},has:function(e,t){const n=Reflect.has(e,t);return ct(t)&&Mt.has(t)||$t(e,"has",t),n},ownKeys:function(e){return $t(e,"iterate",st(e)?"length":wt),Reflect.ownKeys(e)}},qt={get:Tt,set:(e,t)=>(console.warn(`Set operation on key "${String(t)}" failed: target is readonly.`,e),!0),deleteProperty:(e,t)=>(console.warn(`Delete operation on key "${String(t)}" failed: target is readonly.`,e),!0)},Ft=(it({},Dt,{get:Pt,set:It(!0)}),it({},qt,{get:Rt}),e=>ut(e)?hn(e):e),Wt=e=>ut(e)?xn(e):e,Ut=e=>e,Vt=e=>Reflect.getPrototypeOf(e);function Kt(e,t,n=!1,r=!1){const i=mn(e=e.__v_raw),o=mn(t);t!==o&&!n&&$t(i,"get",t),!n&&$t(i,"get",o);const{has:a}=Vt(i),s=r?Ut:n?Wt:Ft;return a.call(i,t)?s(e.get(t)):a.call(i,o)?s(e.get(o)):void(e!==i&&e.get(t))}function Ht(e,t=!1){const n=this.__v_raw,r=mn(n),i=mn(e);return e!==i&&!t&&$t(r,"has",e),!t&&$t(r,"has",i),e===i?n.has(e):n.has(e)||n.has(i)}function Jt(e,t=!1){return e=e.__v_raw,!t&&$t(mn(e),"iterate",wt),Reflect.get(e,"size",e)}function Zt(e){e=mn(e);const t=mn(this);return Vt(t).has.call(t,e)||(t.add(e),jt(t,"add",e,e)),this}function Xt(e,t){t=mn(t);const n=mn(this),{has:r,get:i}=Vt(n);let o=r.call(n,e);o?un(n,r,e):(e=mn(e),o=r.call(n,e));const a=i.call(n,e);return n.set(e,t),o?vt(t,a)&&jt(n,"set",e,t,a):jt(n,"add",e,t),this}function Yt(e){const t=mn(this),{has:n,get:r}=Vt(t);let i=n.call(t,e);i?un(t,n,e):(e=mn(e),i=n.call(t,e));const o=r?r.call(t,e):void 0,a=t.delete(e);return i&&jt(t,"delete",e,void 0,o),a}function Gt(){const e=mn(this),t=0!==e.size,n=lt(e)?new Map(e):new Set(e),r=e.clear();return t&&jt(e,"clear",void 0,void 0,n),r}function Qt(e,t){return function(n,r){const i=this,o=i.__v_raw,a=mn(o),s=t?Ut:e?Wt:Ft;return!e&&$t(a,"iterate",wt),o.forEach(((e,t)=>n.call(r,s(e),s(t),i)))}}function en(e,t,n){return function(...r){const i=this.__v_raw,o=mn(i),a=lt(o),s="entries"===e||e===Symbol.iterator&&a,l="keys"===e&&a,c=i[e](...r),u=n?Ut:t?Wt:Ft;return!t&&$t(o,"iterate",l?Et:wt),{next(){const{value:e,done:t}=c.next();return t?{value:e,done:t}:{value:s?[u(e[0]),u(e[1])]:u(e),done:t}},[Symbol.iterator](){return this}}}}function tn(e){return function(...t){{const n=t[0]?`on key "${t[0]}" `:"";console.warn(`${mt(e)} operation ${n}failed: target is readonly.`,mn(this))}return"delete"!==e&&this}}var nn={get(e){return Kt(this,e)},get size(){return Jt(this)},has:Ht,add:Zt,set:Xt,delete:Yt,clear:Gt,forEach:Qt(!1,!1)},rn={get(e){return Kt(this,e,!1,!0)},get size(){return Jt(this)},has:Ht,add:Zt,set:Xt,delete:Yt,clear:Gt,forEach:Qt(!1,!0)},on={get(e){return Kt(this,e,!0)},get size(){return Jt(this,!0)},has(e){return Ht.call(this,e,!0)},add:tn("add"),set:tn("set"),delete:tn("delete"),clear:tn("clear"),forEach:Qt(!0,!1)},an={get(e){return Kt(this,e,!0,!0)},get size(){return Jt(this,!0)},has(e){return Ht.call(this,e,!0)},add:tn("add"),set:tn("set"),delete:tn("delete"),clear:tn("clear"),forEach:Qt(!0,!0)};function sn(e,t){const n=t?e?an:rn:e?on:nn;return(t,r,i)=>"__v_isReactive"===r?!e:"__v_isReadonly"===r?e:"__v_raw"===r?t:Reflect.get(at(n,r)&&r in t?n:t,r,i)}["keys","values","entries",Symbol.iterator].forEach((e=>{nn[e]=en(e,!1,!1),on[e]=en(e,!0,!1),rn[e]=en(e,!1,!0),an[e]=en(e,!0,!0)}));var ln={get:sn(!1,!1)},cn=(sn(!1,!0),{get:sn(!0,!1)});sn(!0,!0);function un(e,t,n){const r=mn(n);if(r!==n&&t.call(e,r)){const t=_t(e);console.warn(`Reactive ${t} contains both the raw and reactive versions of the same object${"Map"===t?" as keys":""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`)}}var fn=new WeakMap,dn=new WeakMap,_n=new WeakMap,pn=new WeakMap;function hn(e){return e&&e.__v_isReadonly?e:gn(e,!1,Dt,ln,fn)}function xn(e){return gn(e,!0,qt,cn,_n)}function gn(e,t,n,r,i){if(!ut(e))return console.warn(`value cannot be made reactive: ${String(e)}`),e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const o=i.get(e);if(o)return o;const a=(s=e).__v_skip||!Object.isExtensible(s)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}(_t(s));var s;if(0===a)return e;const l=new Proxy(e,2===a?r:n);return i.set(e,l),l}function mn(e){return e&&mn(e.__v_raw)||e}function vn(e){return Boolean(e&&!0===e.__v_isRef)}R("nextTick",(()=>je)),R("dispatch",(e=>_e.bind(_e,e))),R("watch",((e,{evaluateLater:t,effect:n})=>(r,i)=>{let o,a=t(r),s=!0,l=n((()=>a((e=>{JSON.stringify(e),s?o=e:queueMicrotask((()=>{i(e,o),o=e})),s=!1}))));e._x_effects.delete(l)})),R("store",(function(){return Ze})),R("data",(e=>C(e))),R("root",(e=>Ee(e))),R("refs",(e=>(e._x_refs_proxy||(e._x_refs_proxy=N(function(e){let t=[],n=e;for(;n;)n._x_refs&&t.push(n._x_refs),n=n.parentNode;return t}(e))),e._x_refs_proxy)));var yn={};function bn(e){return yn[e]||(yn[e]=0),++yn[e]}function wn(e,t,n){R(t,(t=>he(`You can't use [$${directiveName}] without first installing the "${e}" plugin here: https://alpinejs.dev/plugins/${n}`,t)))}R("id",(e=>(t,n=null)=>{let r=function(e,t){return Ae(e,(e=>{if(e._x_ids&&e._x_ids[t])return!0}))}(e,t),i=r?r._x_ids[t]:bn(t);return n?`${t}-${i}-${n}`:`${t}-${i}`})),R("el",(e=>e)),wn("Focus","focus","focus"),wn("Persist","persist","persist"),Y("modelable",((e,{expression:r},{effect:i,evaluateLater:o,cleanup:a})=>{let s=o(r),l=()=>{let e;return s((t=>e=t)),e},c=o(`${r} = __placeholder`),u=e=>c((()=>{}),{scope:{__placeholder:e}}),f=l();u(f),queueMicrotask((()=>{if(!e._x_model)return;e._x_removeModelListeners.default();let r=e._x_model.get,i=e._x_model.set,o=function({get:e,set:r},{get:i,set:o}){let a,s,l,c,u=!0,f=t((()=>{let t,n;u?(t=e(),o(t),n=i(),u=!1):(t=e(),n=i(),l=JSON.stringify(t),c=JSON.stringify(n),l!==a?(n=i(),o(t),n=t):(r(n),t=n)),a=JSON.stringify(t),s=JSON.stringify(n)}));return()=>{n(f)}}({get:()=>r(),set(e){i(e)}},{get:()=>l(),set(e){u(e)}});a(o)}))}));var En=document.createElement("div");Y("teleport",((e,{modifiers:t,expression:n},{cleanup:r})=>{"template"!==e.tagName.toLowerCase()&&he("x-teleport can only be used on a <template> tag",e);let i=qe((()=>document.querySelector(n)),(()=>En))();i||he(`Cannot find x-teleport element for selector: "${n}"`);let o=e.content.cloneNode(!0).firstElementChild;e._x_teleport=o,o._x_teleportBack=e,e._x_forwardEvents&&e._x_forwardEvents.forEach((t=>{o.addEventListener(t,(t=>{t.stopPropagation(),e.dispatchEvent(new t.constructor(t.type,t))}))})),$(o,{},e),A((()=>{t.includes("prepend")?i.parentNode.insertBefore(o,i):t.includes("append")?i.parentNode.insertBefore(o,i.nextSibling):i.appendChild(o),ke(o),o._x_ignore=!0})),r((()=>o.remove()))}));var An=()=>{};function On(e,t,n,r){let i=e,o=e=>r(e),a={},s=(e,t)=>n=>t(e,n);if(n.includes("dot")&&(t=t.replace(/-/g,".")),n.includes("camel")&&(t=function(e){return e.toLowerCase().replace(/-(\w)/g,((e,t)=>t.toUpperCase()))}(t)),n.includes("passive")&&(a.passive=!0),n.includes("capture")&&(a.capture=!0),n.includes("window")&&(i=window),n.includes("document")&&(i=document),n.includes("debounce")){let e=n[n.indexOf("debounce")+1]||"invalid-wait",t=kn(e.split("ms")[0])?Number(e.split("ms")[0]):250;o=He(o,t)}if(n.includes("throttle")){let e=n[n.indexOf("throttle")+1]||"invalid-wait",t=kn(e.split("ms")[0])?Number(e.split("ms")[0]):250;o=Je(o,t)}return n.includes("prevent")&&(o=s(o,((e,t)=>{t.preventDefault(),e(t)}))),n.includes("stop")&&(o=s(o,((e,t)=>{t.stopPropagation(),e(t)}))),n.includes("self")&&(o=s(o,((t,n)=>{n.target===e&&t(n)}))),(n.includes("away")||n.includes("outside"))&&(i=document,o=s(o,((t,n)=>{e.contains(n.target)||!1!==n.target.isConnected&&(e.offsetWidth<1&&e.offsetHeight<1||!1!==e._x_isShown&&t(n))}))),n.includes("once")&&(o=s(o,((e,n)=>{e(n),i.removeEventListener(t,o,a)}))),o=s(o,((e,r)=>{(function(e){return["keydown","keyup"].includes(e)})(t)&&function(e,t){let n=t.filter((e=>!["window","document","prevent","stop","once","capture"].includes(e)));if(n.includes("debounce")){let e=n.indexOf("debounce");n.splice(e,kn((n[e+1]||"invalid-wait").split("ms")[0])?2:1)}if(n.includes("throttle")){let e=n.indexOf("throttle");n.splice(e,kn((n[e+1]||"invalid-wait").split("ms")[0])?2:1)}if(0===n.length)return!1;if(1===n.length&&Sn(e.key).includes(n[0]))return!1;const r=["ctrl","shift","alt","meta","cmd","super"].filter((e=>n.includes(e)));if(n=n.filter((e=>!r.includes(e))),r.length>0){if(r.filter((t=>("cmd"!==t&&"super"!==t||(t="meta"),e[`${t}Key`]))).length===r.length&&Sn(e.key).includes(n[0]))return!1}return!0}(r,n)||e(r)})),i.addEventListener(t,o,a),()=>{i.removeEventListener(t,o,a)}}function kn(e){return!Array.isArray(e)&&!isNaN(e)}function Sn(e){if(!e)return[];var t;e=[" ","_"].includes(t=e)?t:t.replace(/([a-z])([A-Z])/g,"$1-$2").replace(/[_\s]/,"-").toLowerCase();let n={ctrl:"control",slash:"/",space:" ",spacebar:" ",cmd:"meta",esc:"escape",up:"arrow-up",down:"arrow-down",left:"arrow-left",right:"arrow-right",period:".",equal:"=",minus:"-",underscore:"_"};return n[e]=e,Object.keys(n).map((t=>{if(n[t]===e)return t})).filter((e=>e))}function Cn(e){let t=e?parseFloat(e):null;return n=t,Array.isArray(n)||isNaN(n)?e:t;var n}function $n(e){return null!==e&&"object"==typeof e&&"function"==typeof e.get&&"function"==typeof e.set}An.inline=(e,{modifiers:t},{cleanup:n})=>{t.includes("self")?e._x_ignoreSelf=!0:e._x_ignore=!0,n((()=>{t.includes("self")?delete e._x_ignoreSelf:delete e._x_ignore}))},Y("ignore",An),Y("effect",((e,{expression:t},{effect:n})=>n(W(e,t)))),Y("model",((e,{modifiers:t,expression:n},{effect:r,cleanup:i})=>{let o=e;t.includes("parent")&&(o=e.parentNode);let a,s=W(o,n);a="string"==typeof n?W(o,`${n} = __placeholder`):"function"==typeof n&&"string"==typeof n()?W(o,`${n()} = __placeholder`):()=>{};let l=()=>{let e;return s((t=>e=t)),$n(e)?e.get():e},c=e=>{let t;s((e=>t=e)),$n(t)?t.set(e):a((()=>{}),{scope:{__placeholder:e}})};"string"==typeof n&&"radio"===e.type&&A((()=>{e.hasAttribute("name")||e.setAttribute("name",n)}));var u="select"===e.tagName.toLowerCase()||["checkbox","radio"].includes(e.type)||t.includes("lazy")?"change":"input";let f=De?()=>{}:On(e,u,t,(n=>{c(function(e,t,n,r){return A((()=>{if(n instanceof CustomEvent&&void 0!==n.detail)return n.detail??n.target.value;if("checkbox"===e.type){if(Array.isArray(r)){let e=t.includes("number")?Cn(n.target.value):n.target.value;return n.target.checked?r.concat([e]):r.filter((t=>!(t==e)))}return n.target.checked}if("select"===e.tagName.toLowerCase()&&e.multiple)return t.includes("number")?Array.from(n.target.selectedOptions).map((e=>Cn(e.value||e.text))):Array.from(n.target.selectedOptions).map((e=>e.value||e.text));{let e=n.target.value;return t.includes("number")?Cn(e):t.includes("trim")?e.trim():e}}))}(e,t,n,l()))}));if(t.includes("fill")&&[null,""].includes(l())&&e.dispatchEvent(new Event(u,{})),e._x_removeModelListeners||(e._x_removeModelListeners={}),e._x_removeModelListeners.default=f,i((()=>e._x_removeModelListeners.default())),e.form){let t=On(e.form,"reset",[],(t=>{je((()=>e._x_model&&e._x_model.set(e.value)))}));i((()=>t()))}e._x_model={get:()=>l(),set(e){c(e)}},e._x_forceModelUpdate=t=>{void 0===(t=void 0===t?l():t)&&"string"==typeof n&&n.match(/\./)&&(t=""),window.fromModel=!0,A((()=>Fe(e,"value",t))),delete window.fromModel},r((()=>{let n=l();t.includes("unintrusive")&&document.activeElement.isSameNode(e)||e._x_forceModelUpdate(n)}))})),Y("cloak",(e=>queueMicrotask((()=>A((()=>e.removeAttribute(Z("cloak")))))))),we((()=>`[${Z("init")}]`)),Y("init",qe(((e,{expression:t},{evaluate:n})=>"string"==typeof t?!!t.trim()&&n(t,{},!1):n(t,{},!1)))),Y("text",((e,{expression:t},{effect:n,evaluateLater:r})=>{let i=r(t);n((()=>{i((t=>{A((()=>{e.textContent=t}))}))}))})),Y("html",((e,{expression:t},{effect:n,evaluateLater:r})=>{let i=r(t);n((()=>{i((t=>{A((()=>{e.innerHTML=t,e._x_ignoreSelf=!0,ke(e),delete e._x_ignoreSelf}))}))}))})),se(ie(":",Z("bind:")));var jn=(e,{value:t,modifiers:n,expression:r,original:i},{effect:o})=>{if(!t){let t={};return a=t,Object.entries(Ye).forEach((([e,t])=>{Object.defineProperty(a,e,{get:()=>(...e)=>t(...e)})})),void W(e,r)((t=>{Ge(e,t,i)}),{scope:t})}var a;if("key"===t)return function(e,t){e._x_keyExpression=t}(e,r);if(e._x_inlineBindings&&e._x_inlineBindings[t]&&e._x_inlineBindings[t].extract)return;let s=W(e,r);o((()=>s((i=>{void 0===i&&"string"==typeof r&&r.match(/\./)&&(i=""),A((()=>Fe(e,t,i,n)))}))))};function Nn(e,t,n,r){let i={};if(/^\[.*\]$/.test(e.item)&&Array.isArray(t)){e.item.replace("[","").replace("]","").split(",").map((e=>e.trim())).forEach(((e,n)=>{i[e]=t[n]}))}else if(/^\{.*\}$/.test(e.item)&&!Array.isArray(t)&&"object"==typeof t){e.item.replace("{","").replace("}","").split(",").map((e=>e.trim())).forEach((e=>{i[e]=t[e]}))}else i[e.item]=t;return e.index&&(i[e.index]=n),e.collection&&(i[e.collection]=r),i}function Mn(){}function Ln(e,t,n){Y(t,(r=>he(`You can't use [x-${t}] without first installing the "${e}" plugin here: https://alpinejs.dev/plugins/${n}`,r)))}jn.inline=(e,{value:t,modifiers:n,expression:r})=>{t&&(e._x_inlineBindings||(e._x_inlineBindings={}),e._x_inlineBindings[t]={expression:r,extract:!1})},Y("bind",jn),be((()=>`[${Z("data")}]`)),Y("data",qe(((t,{expression:n},{cleanup:r})=>{n=""===n?"{}":n;let i={};B(i,t);let o={};var a,s;a=o,s=i,Object.entries(Qe).forEach((([e,t])=>{Object.defineProperty(a,e,{get:()=>(...e)=>t.bind(s)(...e),enumerable:!1})}));let l=F(t,n,{scope:o});void 0!==l&&!0!==l||(l={}),B(l,t);let c=e(l);M(c);let u=$(t,c);c.init&&F(t,c.init),r((()=>{c.destroy&&F(t,c.destroy),u()}))}))),Y("show",((e,{modifiers:t,expression:n},{effect:r})=>{let i=W(e,n);e._x_doHide||(e._x_doHide=()=>{A((()=>{e.style.setProperty("display","none",t.includes("important")?"important":void 0)}))}),e._x_doShow||(e._x_doShow=()=>{A((()=>{1===e.style.length&&"none"===e.style.display?e.removeAttribute("style"):e.style.removeProperty("display")}))});let o,a=()=>{e._x_doHide(),e._x_isShown=!1},s=()=>{e._x_doShow(),e._x_isShown=!0},l=()=>setTimeout(s),c=Te((e=>e?s():a()),(t=>{"function"==typeof e._x_toggleAndCascadeWithTransitions?e._x_toggleAndCascadeWithTransitions(e,t,s,a):t?l():a()})),u=!0;r((()=>i((e=>{(u||e!==o)&&(t.includes("immediate")&&(e?l():a()),c(e),o=e,u=!1)}))))})),Y("for",((t,{expression:n},{effect:r,cleanup:i})=>{let o=function(e){let t=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,n=/^\s*\(|\)\s*$/g,r=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,i=e.match(r);if(!i)return;let o={};o.items=i[2].trim();let a=i[1].replace(n,"").trim(),s=a.match(t);s?(o.item=a.replace(t,"").trim(),o.index=s[1].trim(),s[2]&&(o.collection=s[2].trim())):o.item=a;return o}(n),a=W(t,o.items),s=W(t,t._x_keyExpression||"index");t._x_prevKeys=[],t._x_lookup={},r((()=>function(t,n,r,i){let o=e=>"object"==typeof e&&!Array.isArray(e),a=t;r((r=>{var s;s=r,!Array.isArray(s)&&!isNaN(s)&&r>=0&&(r=Array.from(Array(r).keys(),(e=>e+1))),void 0===r&&(r=[]);let l=t._x_lookup,u=t._x_prevKeys,f=[],d=[];if(o(r))r=Object.entries(r).map((([e,t])=>{let o=Nn(n,t,e,r);i((e=>d.push(e)),{scope:{index:e,...o}}),f.push(o)}));else for(let e=0;e<r.length;e++){let t=Nn(n,r[e],e,r);i((e=>d.push(e)),{scope:{index:e,...t}}),f.push(t)}let _=[],p=[],h=[],x=[];for(let e=0;e<u.length;e++){let t=u[e];-1===d.indexOf(t)&&h.push(t)}u=u.filter((e=>!h.includes(e)));let g="template";for(let e=0;e<d.length;e++){let t=d[e],n=u.indexOf(t);if(-1===n)u.splice(e,0,t),_.push([g,e]);else if(n!==e){let t=u.splice(e,1)[0],r=u.splice(n-1,1)[0];u.splice(e,0,r),u.splice(n,0,t),p.push([t,r])}else x.push(t);g=t}for(let e=0;e<h.length;e++){let t=h[e];l[t]._x_effects&&l[t]._x_effects.forEach(c),l[t].remove(),l[t]=null,delete l[t]}for(let e=0;e<p.length;e++){let[t,n]=p[e],r=l[t],i=l[n],o=document.createElement("div");A((()=>{i||he('x-for ":key" is undefined or invalid',a),i.after(o),r.after(i),i._x_currentIfEl&&i.after(i._x_currentIfEl),o.before(r),r._x_currentIfEl&&r.after(r._x_currentIfEl),o.remove()})),i._x_refreshXForScope(f[d.indexOf(n)])}for(let t=0;t<_.length;t++){let[n,r]=_[t],i="template"===n?a:l[n];i._x_currentIfEl&&(i=i._x_currentIfEl);let o=f[r],s=d[r],c=document.importNode(a.content,!0).firstElementChild,u=e(o);$(c,u,a),c._x_refreshXForScope=e=>{Object.entries(e).forEach((([e,t])=>{u[e]=t}))},A((()=>{i.after(c),ke(c)})),"object"==typeof s&&he("x-for key cannot be an object, it must be a string or an integer",a),l[s]=c}for(let e=0;e<x.length;e++)l[x[e]]._x_refreshXForScope(f[d.indexOf(x[e])]);a._x_prevKeys=d}))}(t,o,a,s))),i((()=>{Object.values(t._x_lookup).forEach((e=>e.remove())),delete t._x_prevKeys,delete t._x_lookup}))})),Mn.inline=(e,{expression:t},{cleanup:n})=>{let r=Ee(e);r._x_refs||(r._x_refs={}),r._x_refs[t]=e,n((()=>delete r._x_refs[t]))},Y("ref",Mn),Y("if",((e,{expression:t},{effect:n,cleanup:r})=>{let i=W(e,t);n((()=>i((t=>{t?(()=>{if(e._x_currentIfEl)return e._x_currentIfEl;let t=e.content.cloneNode(!0).firstElementChild;$(t,{},e),A((()=>{e.after(t),ke(t)})),e._x_currentIfEl=t,e._x_undoIf=()=>{pe(t,(e=>{e._x_effects&&e._x_effects.forEach(c)})),t.remove(),delete e._x_currentIfEl}})():e._x_undoIf&&(e._x_undoIf(),delete e._x_undoIf)})))),r((()=>e._x_undoIf&&e._x_undoIf()))})),Y("id",((e,{expression:t},{evaluate:n})=>{n(t).forEach((t=>function(e,t){e._x_ids||(e._x_ids={}),e._x_ids[t]||(e._x_ids[t]=bn(t))}(e,t)))})),se(ie("@",Z("on:"))),Y("on",qe(((e,{value:t,modifiers:n,expression:r},{cleanup:i})=>{let o=r?W(e,r):()=>{};"template"===e.tagName.toLowerCase()&&(e._x_forwardEvents||(e._x_forwardEvents=[]),e._x_forwardEvents.includes(t)||e._x_forwardEvents.push(t));let a=On(e,t,n,(e=>{o((()=>{}),{scope:{$event:e},params:[e]})}));i((()=>a()))}))),Ln("Collapse","collapse","collapse"),Ln("Intersect","intersect","intersect"),Ln("Focus","trap","focus"),Ln("Mask","mask","mask"),et.setEvaluator(V),et.setReactivityEngine({reactive:hn,effect:function(e,t=rt){(function(e){return e&&!0===e._isEffect})(e)&&(e=e.raw);const n=function(e,t){const n=function(){if(!n.active)return e();if(!bt.includes(n)){Ot(n);try{return St.push(kt),kt=!0,bt.push(n),nt=n,e()}finally{bt.pop(),Ct(),nt=bt[bt.length-1]}}};return n.id=At++,n.allowRecurse=!!t.allowRecurse,n._isEffect=!0,n.active=!0,n.raw=e,n.deps=[],n.options=t,n}(e,t);return t.lazy||n(),n},release:function(e){e.active&&(Ot(e),e.options.onStop&&e.options.onStop(),e.active=!1)},raw:mn});var Pn=et;window.Alpine=Pn,queueMicrotask((()=>{Pn.start()}))})();diff --cc public/js/dist/bootstrap-table.jsindex 46495a2732,c01fba3e19..a2298ba8bd--- a/public/js/dist/bootstrap-table.js+++ b/public/js/dist/bootstrap-table.js@@@ -1,1 -1,22070 +1,1 @@@- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],t):(e="undefined"!=typeof globalThis?globalThis:e||self).BootstrapTable=t(e.jQuery)}(this,(function(e){"use strict";function t(e){return t="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},t(e)}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function n(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,(a=n.key,o=void 0,"symbol"==typeof(o=function(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(a,"string"))?o:String(o)),n)}var a,o}function a(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,a,o,i,s=[],c=!0,l=!1;try{if(o=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=o.call(r)).done)&&(s.push(n.value),s.length!==t);c=!0);}catch(e){l=!0,a=e}finally{try{if(!c&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(l)throw a}}return s}}(e,t)||s(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 i(e){return function(e){if(Array.isArray(e))return c(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||s(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 s(e,t){if(e){if("string"==typeof e)return c(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?c(e,t):void 0}}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function l(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=s(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,a=function(){};return{s:a,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:a}}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 o,i=!0,c=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return i=e.done,e},e:function(e){c=!0,o=e},f:function(){try{i||null==r.return||r.return()}finally{if(c)throw o}}}}var u="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},f=function(e){return e&&e.Math==Math&&e},h=f("object"==typeof globalThis&&globalThis)||f("object"==typeof window&&window)||f("object"==typeof self&&self)||f("object"==typeof u&&u)||function(){return this}()||Function("return this")(),d={},p=function(e){try{return!!e()}catch(e){return!0}},g=!p((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),m=!p((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})),v=m,b=Function.prototype.call,y=v?b.bind(b):function(){return b.apply(b,arguments)},w={},S={}.propertyIsEnumerable,x=Object.getOwnPropertyDescriptor,A=x&&!S.call({1:2},1);w.f=A?function(e){var t=x(this,e);return!!t&&t.enumerable}:S;var k,T,E=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},_=m,N=Function.prototype,C=N.call,O=_&&N.bind.bind(C,C),R=_?O:function(e){return function(){return C.apply(e,arguments)}},P=R,L=P({}.toString),I=P("".slice),F=function(e){return I(L(e),8,-1)},D=p,M=F,j=Object,B=R("".split),W=D((function(){return!j("z").propertyIsEnumerable(0)}))?function(e){return"String"==M(e)?B(e,""):j(e)}:j,U=function(e){return null==e},H=U,z=TypeError,V=function(e){if(H(e))throw z("Can't call method on "+e);return e},q=W,$=V,G=function(e){return q($(e))},X="object"==typeof document&&document.all,Y={all:X,IS_HTMLDDA:void 0===X&&void 0!==X},K=Y.all,J=Y.IS_HTMLDDA?function(e){return"function"==typeof e||e===K}:function(e){return"function"==typeof e},Z=J,Q=Y.all,ee=Y.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:Z(e)||e===Q}:function(e){return"object"==typeof e?null!==e:Z(e)},te=h,re=J,ne=function(e,t){return arguments.length<2?(r=te[e],re(r)?r:void 0):te[e]&&te[e][t];var r},ae=R({}.isPrototypeOf),oe="undefined"!=typeof navigator&&String(navigator.userAgent)||"",ie=h,se=oe,ce=ie.process,le=ie.Deno,ue=ce&&ce.versions||le&&le.version,fe=ue&&ue.v8;fe&&(T=(k=fe.split("."))[0]>0&&k[0]<4?1:+(k[0]+k[1])),!T&&se&&(!(k=se.match(/Edge\/(\d+)/))||k[1]>=74)&&(k=se.match(/Chrome\/(\d+)/))&&(T=+k[1]);var he=T,de=he,pe=p,ge=!!Object.getOwnPropertySymbols&&!pe((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&de&&de<41})),me=ge&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,ve=ne,be=J,ye=ae,we=Object,Se=me?function(e){return"symbol"==typeof e}:function(e){var t=ve("Symbol");return be(t)&&ye(t.prototype,we(e))},xe=String,Ae=function(e){try{return xe(e)}catch(e){return"Object"}},ke=J,Te=Ae,Ee=TypeError,_e=function(e){if(ke(e))return e;throw Ee(Te(e)+" is not a function")},Ne=_e,Ce=U,Oe=function(e,t){var r=e[t];return Ce(r)?void 0:Ne(r)},Re=y,Pe=J,Le=ee,Ie=TypeError,Fe={},De={get exports(){return Fe},set exports(e){Fe=e}},Me=h,je=Object.defineProperty,Be=function(e,t){try{je(Me,e,{value:t,configurable:!0,writable:!0})}catch(r){Me[e]=t}return t},We=Be,Ue="__core-js_shared__",He=h[Ue]||We(Ue,{}),ze=He;(De.exports=function(e,t){return ze[e]||(ze[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.29.0",mode:"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.29.0/LICENSE",source:"https://github.com/zloirock/core-js"});var Ve=V,qe=Object,$e=function(e){return qe(Ve(e))},Ge=$e,Xe=R({}.hasOwnProperty),Ye=Object.hasOwn||function(e,t){return Xe(Ge(e),t)},Ke=R,Je=0,Ze=Math.random(),Qe=Ke(1..toString),et=function(e){return"Symbol("+(void 0===e?"":e)+")_"+Qe(++Je+Ze,36)},tt=Fe,rt=Ye,nt=et,at=ge,ot=me,it=h.Symbol,st=tt("wks"),ct=ot?it.for||it:it&&it.withoutSetter||nt,lt=function(e){return rt(st,e)||(st[e]=at&&rt(it,e)?it[e]:ct("Symbol."+e)),st[e]},ut=y,ft=ee,ht=Se,dt=Oe,pt=function(e,t){var r,n;if("string"===t&&Pe(r=e.toString)&&!Le(n=Re(r,e)))return n;if(Pe(r=e.valueOf)&&!Le(n=Re(r,e)))return n;if("string"!==t&&Pe(r=e.toString)&&!Le(n=Re(r,e)))return n;throw Ie("Can't convert object to primitive value")},gt=TypeError,mt=lt("toPrimitive"),vt=function(e,t){if(!ft(e)||ht(e))return e;var r,n=dt(e,mt);if(n){if(void 0===t&&(t="default"),r=ut(n,e,t),!ft(r)||ht(r))return r;throw gt("Can't convert object to primitive value")}return void 0===t&&(t="number"),pt(e,t)},bt=vt,yt=Se,wt=function(e){var t=bt(e,"string");return yt(t)?t:t+""},St=ee,xt=h.document,At=St(xt)&&St(xt.createElement),kt=function(e){return At?xt.createElement(e):{}},Tt=kt,Et=!g&&!p((function(){return 7!=Object.defineProperty(Tt("div"),"a",{get:function(){return 7}}).a})),_t=g,Nt=y,Ct=w,Ot=E,Rt=G,Pt=wt,Lt=Ye,It=Et,Ft=Object.getOwnPropertyDescriptor;d.f=_t?Ft:function(e,t){if(e=Rt(e),t=Pt(t),It)try{return Ft(e,t)}catch(e){}if(Lt(e,t))return Ot(!Nt(Ct.f,e,t),e[t])};var Dt={},Mt=g&&p((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),jt=ee,Bt=String,Wt=TypeError,Ut=function(e){if(jt(e))return e;throw Wt(Bt(e)+" is not an object")},Ht=g,zt=Et,Vt=Mt,qt=Ut,$t=wt,Gt=TypeError,Xt=Object.defineProperty,Yt=Object.getOwnPropertyDescriptor,Kt="enumerable",Jt="configurable",Zt="writable";Dt.f=Ht?Vt?function(e,t,r){if(qt(e),t=$t(t),qt(r),"function"==typeof e&&"prototype"===t&&"value"in r&&Zt in r&&!r[Zt]){var n=Yt(e,t);n&&n[Zt]&&(e[t]=r.value,r={configurable:Jt in r?r[Jt]:n[Jt],enumerable:Kt in r?r[Kt]:n[Kt],writable:!1})}return Xt(e,t,r)}:Xt:function(e,t,r){if(qt(e),t=$t(t),qt(r),zt)try{return Xt(e,t,r)}catch(e){}if("get"in r||"set"in r)throw Gt("Accessors not supported");return"value"in r&&(e[t]=r.value),e};var Qt=Dt,er=E,tr=g?function(e,t,r){return Qt.f(e,t,er(1,r))}:function(e,t,r){return e[t]=r,e},rr={},nr={get exports(){return rr},set exports(e){rr=e}},ar=g,or=Ye,ir=Function.prototype,sr=ar&&Object.getOwnPropertyDescriptor,cr=or(ir,"name"),lr={EXISTS:cr,PROPER:cr&&"something"===function(){}.name,CONFIGURABLE:cr&&(!ar||ar&&sr(ir,"name").configurable)},ur=J,fr=He,hr=R(Function.toString);ur(fr.inspectSource)||(fr.inspectSource=function(e){return hr(e)});var dr,pr,gr,mr=fr.inspectSource,vr=J,br=h.WeakMap,yr=vr(br)&&/native code/.test(String(br)),wr=et,Sr=Fe("keys"),xr=function(e){return Sr[e]||(Sr[e]=wr(e))},Ar={},kr=yr,Tr=h,Er=ee,_r=tr,Nr=Ye,Cr=He,Or=xr,Rr=Ar,Pr="Object already initialized",Lr=Tr.TypeError,Ir=Tr.WeakMap;if(kr||Cr.state){var Fr=Cr.state||(Cr.state=new Ir);Fr.get=Fr.get,Fr.has=Fr.has,Fr.set=Fr.set,dr=function(e,t){if(Fr.has(e))throw Lr(Pr);return t.facade=e,Fr.set(e,t),t},pr=function(e){return Fr.get(e)||{}},gr=function(e){return Fr.has(e)}}else{var Dr=Or("state");Rr[Dr]=!0,dr=function(e,t){if(Nr(e,Dr))throw Lr(Pr);return t.facade=e,_r(e,Dr,t),t},pr=function(e){return Nr(e,Dr)?e[Dr]:{}},gr=function(e){return Nr(e,Dr)}}var Mr={set:dr,get:pr,has:gr,enforce:function(e){return gr(e)?pr(e):dr(e,{})},getterFor:function(e){return function(t){var r;if(!Er(t)||(r=pr(t)).type!==e)throw Lr("Incompatible receiver, "+e+" required");return r}}},jr=R,Br=p,Wr=J,Ur=Ye,Hr=g,zr=lr.CONFIGURABLE,Vr=mr,qr=Mr.enforce,$r=Mr.get,Gr=String,Xr=Object.defineProperty,Yr=jr("".slice),Kr=jr("".replace),Jr=jr([].join),Zr=Hr&&!Br((function(){return 8!==Xr((function(){}),"length",{value:8}).length})),Qr=String(String).split("String"),en=nr.exports=function(e,t,r){"Symbol("===Yr(Gr(t),0,7)&&(t="["+Kr(Gr(t),/^Symbol\(([^)]*)\)/,"$1")+"]"),r&&r.getter&&(t="get "+t),r&&r.setter&&(t="set "+t),(!Ur(e,"name")||zr&&e.name!==t)&&(Hr?Xr(e,"name",{value:t,configurable:!0}):e.name=t),Zr&&r&&Ur(r,"arity")&&e.length!==r.arity&&Xr(e,"length",{value:r.arity});try{r&&Ur(r,"constructor")&&r.constructor?Hr&&Xr(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var n=qr(e);return Ur(n,"source")||(n.source=Jr(Qr,"string"==typeof t?t:"")),e};Function.prototype.toString=en((function(){return Wr(this)&&$r(this).source||Vr(this)}),"toString");var tn=J,rn=Dt,nn=rr,an=Be,on=function(e,t,r,n){n||(n={});var a=n.enumerable,o=void 0!==n.name?n.name:t;if(tn(r)&&nn(r,o,n),n.global)a?e[t]=r:an(t,r);else{try{n.unsafe?e[t]&&(a=!0):delete e[t]}catch(e){}a?e[t]=r:rn.f(e,t,{value:r,enumerable:!1,configurable:!n.nonConfigurable,writable:!n.nonWritable})}return e},sn={},cn=Math.ceil,ln=Math.floor,un=Math.trunc||function(e){var t=+e;return(t>0?ln:cn)(t)},fn=function(e){var t=+e;return t!=t||0===t?0:un(t)},hn=fn,dn=Math.max,pn=Math.min,gn=function(e,t){var r=hn(e);return r<0?dn(r+t,0):pn(r,t)},mn=fn,vn=Math.min,bn=function(e){return e>0?vn(mn(e),9007199254740991):0},yn=bn,wn=function(e){return yn(e.length)},Sn=G,xn=gn,An=wn,kn=function(e){return function(t,r,n){var a,o=Sn(t),i=An(o),s=xn(n,i);if(e&&r!=r){for(;i>s;)if((a=o[s++])!=a)return!0}else for(;i>s;s++)if((e||s in o)&&o[s]===r)return e||s||0;return!e&&-1}},Tn={includes:kn(!0),indexOf:kn(!1)},En=Ye,_n=G,Nn=Tn.indexOf,Cn=Ar,On=R([].push),Rn=function(e,t){var r,n=_n(e),a=0,o=[];for(r in n)!En(Cn,r)&&En(n,r)&&On(o,r);for(;t.length>a;)En(n,r=t[a++])&&(~Nn(o,r)||On(o,r));return o},Pn=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Ln=Rn,In=Pn.concat("length","prototype");sn.f=Object.getOwnPropertyNames||function(e){return Ln(e,In)};var Fn={};Fn.f=Object.getOwnPropertySymbols;var Dn=ne,Mn=sn,jn=Fn,Bn=Ut,Wn=R([].concat),Un=Dn("Reflect","ownKeys")||function(e){var t=Mn.f(Bn(e)),r=jn.f;return r?Wn(t,r(e)):t},Hn=Ye,zn=Un,Vn=d,qn=Dt,$n=p,Gn=J,Xn=/#|\.prototype\./,Yn=function(e,t){var r=Jn[Kn(e)];return r==Qn||r!=Zn&&(Gn(t)?$n(t):!!t)},Kn=Yn.normalize=function(e){return String(e).replace(Xn,".").toLowerCase()},Jn=Yn.data={},Zn=Yn.NATIVE="N",Qn=Yn.POLYFILL="P",ea=Yn,ta=h,ra=d.f,na=tr,aa=on,oa=Be,ia=function(e,t,r){for(var n=zn(t),a=qn.f,o=Vn.f,i=0;i<n.length;i++){var s=n[i];Hn(e,s)||r&&Hn(r,s)||a(e,s,o(t,s))}},sa=ea,ca=function(e,t){var r,n,a,o,i,s=e.target,c=e.global,l=e.stat;if(r=c?ta:l?ta[s]||oa(s,{}):(ta[s]||{}).prototype)for(n in t){if(o=t[n],a=e.dontCallGetSet?(i=ra(r,n))&&i.value:r[n],!sa(c?n:s+(l?".":"#")+n,e.forced)&&void 0!==a){if(typeof o==typeof a)continue;ia(o,a)}(e.sham||a&&a.sham)&&na(o,"sham",!0),aa(r,n,o,e)}},la=Rn,ua=Pn,fa=Object.keys||function(e){return la(e,ua)},ha=g,da=R,pa=y,ga=p,ma=fa,va=Fn,ba=w,ya=$e,wa=W,Sa=Object.assign,xa=Object.defineProperty,Aa=da([].concat),ka=!Sa||ga((function(){if(ha&&1!==Sa({b:1},Sa(xa({},"a",{enumerable:!0,get:function(){xa(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},r=Symbol(),n="abcdefghijklmnopqrst";return e[r]=7,n.split("").forEach((function(e){t[e]=e})),7!=Sa({},e)[r]||ma(Sa({},t)).join("")!=n}))?function(e,t){for(var r=ya(e),n=arguments.length,a=1,o=va.f,i=ba.f;n>a;)for(var s,c=wa(arguments[a++]),l=o?Aa(ma(c),o(c)):ma(c),u=l.length,f=0;u>f;)s=l[f++],ha&&!pa(i,c,s)||(r[s]=c[s]);return r}:Sa,Ta=ka;ca({target:"Object",stat:!0,arity:2,forced:Object.assign!==Ta},{assign:Ta});var Ea={};Ea[lt("toStringTag")]="z";var _a="[object z]"===String(Ea),Na=_a,Ca=J,Oa=F,Ra=lt("toStringTag"),Pa=Object,La="Arguments"==Oa(function(){return arguments}()),Ia=Na?Oa:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=Pa(e),Ra))?r:La?Oa(t):"Object"==(n=Oa(t))&&Ca(t.callee)?"Arguments":n},Fa=Ia,Da=String,Ma=function(e){if("Symbol"===Fa(e))throw TypeError("Cannot convert a Symbol value to a string");return Da(e)},ja="\t\n\v\f\r \u2028\u2029\ufeff",Ba=V,Wa=Ma,Ua=ja,Ha=R("".replace),za=RegExp("^["+Ua+"]+"),Va=RegExp("(^|[^"+Ua+"])["+Ua+"]+$"),qa=function(e){return function(t){var r=Wa(Ba(t));return 1&e&&(r=Ha(r,za,"")),2&e&&(r=Ha(r,Va,"$1")),r}},$a={start:qa(1),end:qa(2),trim:qa(3)},Ga=lr.PROPER,Xa=p,Ya=ja,Ka=$a.trim;ca({target:"String",proto:!0,forced:function(e){return Xa((function(){return!!Ya[e]()||" "!==" "[e]()||Ga&&Ya[e].name!==e}))}("trim")},{trim:function(){return Ka(this)}});var Ja=p,Za=function(e,t){var r=[][e];return!!r&&Ja((function(){r.call(null,t||function(){return 1},1)}))},Qa=ca,eo=W,to=G,ro=Za,no=R([].join);Qa({target:"Array",proto:!0,forced:eo!=Object||!ro("join",",")},{join:function(e){return no(to(this),void 0===e?",":e)}});var ao=Ut,oo=function(){var e=ao(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t},io=p,so=h.RegExp,co=io((function(){var e=so("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),lo=co||io((function(){return!so("a","y").sticky})),uo={BROKEN_CARET:co||io((function(){var e=so("^r","gy");return e.lastIndex=2,null!=e.exec("str")})),MISSED_STICKY:lo,UNSUPPORTED_Y:co},fo={},ho=g,po=Mt,go=Dt,mo=Ut,vo=G,bo=fa;fo.f=ho&&!po?Object.defineProperties:function(e,t){mo(e);for(var r,n=vo(t),a=bo(t),o=a.length,i=0;o>i;)go.f(e,r=a[i++],n[r]);return e};var yo,wo=ne("document","documentElement"),So=Ut,xo=fo,Ao=Pn,ko=Ar,To=wo,Eo=kt,_o="prototype",No="script",Co=xr("IE_PROTO"),Oo=function(){},Ro=function(e){return"<"+No+">"+e+"</"+No+">"},Po=function(e){e.write(Ro("")),e.close();var t=e.parentWindow.Object;return e=null,t},Lo=function(){try{yo=new ActiveXObject("htmlfile")}catch(e){}var e,t,r;Lo="undefined"!=typeof document?document.domain&&yo?Po(yo):(t=Eo("iframe"),r="java"+No+":",t.style.display="none",To.appendChild(t),t.src=String(r),(e=t.contentWindow.document).open(),e.write(Ro("document.F=Object")),e.close(),e.F):Po(yo);for(var n=Ao.length;n--;)delete Lo[_o][Ao[n]];return Lo()};ko[Co]=!0;var Io=Object.create||function(e,t){var r;return null!==e?(Oo[_o]=So(e),r=new Oo,Oo[_o]=null,r[Co]=e):r=Lo(),void 0===t?r:xo.f(r,t)},Fo=p,Do=h.RegExp,Mo=Fo((function(){var e=Do(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)})),jo=p,Bo=h.RegExp,Wo=jo((function(){var e=Bo("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")})),Uo=y,Ho=R,zo=Ma,Vo=oo,qo=uo,$o=Io,Go=Mr.get,Xo=Mo,Yo=Wo,Ko=Fe("native-string-replace",String.prototype.replace),Jo=RegExp.prototype.exec,Zo=Jo,Qo=Ho("".charAt),ei=Ho("".indexOf),ti=Ho("".replace),ri=Ho("".slice),ni=function(){var e=/a/,t=/b*/g;return Uo(Jo,e,"a"),Uo(Jo,t,"a"),0!==e.lastIndex||0!==t.lastIndex}(),ai=qo.BROKEN_CARET,oi=void 0!==/()??/.exec("")[1];(ni||oi||ai||Xo||Yo)&&(Zo=function(e){var t,r,n,a,o,i,s,c=this,l=Go(c),u=zo(e),f=l.raw;if(f)return f.lastIndex=c.lastIndex,t=Uo(Zo,f,u),c.lastIndex=f.lastIndex,t;var h=l.groups,d=ai&&c.sticky,p=Uo(Vo,c),g=c.source,m=0,v=u;if(d&&(p=ti(p,"y",""),-1===ei(p,"g")&&(p+="g"),v=ri(u,c.lastIndex),c.lastIndex>0&&(!c.multiline||c.multiline&&"\n"!==Qo(u,c.lastIndex-1))&&(g="(?: "+g+")",v=" "+v,m++),r=new RegExp("^(?:"+g+")",p)),oi&&(r=new RegExp("^"+g+"$(?!\\s)",p)),ni&&(n=c.lastIndex),a=Uo(Jo,d?r:c,v),d?a?(a.input=ri(a.input,m),a[0]=ri(a[0],m),a.index=c.lastIndex,c.lastIndex+=a[0].length):c.lastIndex=0:ni&&a&&(c.lastIndex=c.global?a.index+a[0].length:n),oi&&a&&a.length>1&&Uo(Ko,a[0],r,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(a[o]=void 0)})),a&&h)for(a.groups=i=$o(null),o=0;o<h.length;o++)i[(s=h[o])[0]]=a[s[1]];return a});var ii=Zo;ca({target:"RegExp",proto:!0,forced:/./.exec!==ii},{exec:ii});var si=m,ci=Function.prototype,li=ci.apply,ui=ci.call,fi="object"==typeof Reflect&&Reflect.apply||(si?ui.bind(li):function(){return ui.apply(li,arguments)}),hi=F,di=R,pi=function(e){if("Function"===hi(e))return di(e)},gi=pi,mi=on,vi=ii,bi=p,yi=lt,wi=tr,Si=yi("species"),xi=RegExp.prototype,Ai=function(e,t,r,n){var a=yi(e),o=!bi((function(){var t={};return t[a]=function(){return 7},7!=""[e](t)})),i=o&&!bi((function(){var t=!1,r=/a/;return"split"===e&&((r={}).constructor={},r.constructor[Si]=function(){return r},r.flags="",r[a]=/./[a]),r.exec=function(){return t=!0,null},r[a](""),!t}));if(!o||!i||r){var s=gi(/./[a]),c=t(a,""[e],(function(e,t,r,n,a){var i=gi(e),c=t.exec;return c===vi||c===xi.exec?o&&!a?{done:!0,value:s(t,r,n)}:{done:!0,value:i(r,t,n)}:{done:!1}}));mi(String.prototype,e,c[0]),mi(xi,a,c[1])}n&&wi(xi[a],"sham",!0)},ki=ee,Ti=F,Ei=lt("match"),_i=function(e){var t;return ki(e)&&(void 0!==(t=e[Ei])?!!t:"RegExp"==Ti(e))},Ni=R,Ci=p,Oi=J,Ri=Ia,Pi=mr,Li=function(){},Ii=[],Fi=ne("Reflect","construct"),Di=/^\s*(?:class|function)\b/,Mi=Ni(Di.exec),ji=!Di.exec(Li),Bi=function(e){if(!Oi(e))return!1;try{return Fi(Li,Ii,e),!0}catch(e){return!1}},Wi=function(e){if(!Oi(e))return!1;switch(Ri(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return ji||!!Mi(Di,Pi(e))}catch(e){return!0}};Wi.sham=!0;var Ui=!Fi||Ci((function(){var e;return Bi(Bi.call)||!Bi(Object)||!Bi((function(){e=!0}))||e}))?Wi:Bi,Hi=Ui,zi=Ae,Vi=TypeError,qi=Ut,$i=function(e){if(Hi(e))return e;throw Vi(zi(e)+" is not a constructor")},Gi=U,Xi=lt("species"),Yi=R,Ki=fn,Ji=Ma,Zi=V,Qi=Yi("".charAt),es=Yi("".charCodeAt),ts=Yi("".slice),rs=function(e){return function(t,r){var n,a,o=Ji(Zi(t)),i=Ki(r),s=o.length;return i<0||i>=s?e?"":void 0:(n=es(o,i))<55296||n>56319||i+1===s||(a=es(o,i+1))<56320||a>57343?e?Qi(o,i):n:e?ts(o,i,i+2):a-56320+(n-55296<<10)+65536}},ns={codeAt:rs(!1),charAt:rs(!0)}.charAt,as=function(e,t,r){return t+(r?ns(e,t).length:1)},os=wt,is=Dt,ss=E,cs=function(e,t,r){var n=os(t);n in e?is.f(e,n,ss(0,r)):e[n]=r},ls=gn,us=wn,fs=cs,hs=Array,ds=Math.max,ps=function(e,t,r){for(var n=us(e),a=ls(t,n),o=ls(void 0===r?n:r,n),i=hs(ds(o-a,0)),s=0;a<o;a++,s++)fs(i,s,e[a]);return i.length=s,i},gs=y,ms=Ut,vs=J,bs=F,ys=ii,ws=TypeError,Ss=function(e,t){var r=e.exec;if(vs(r)){var n=gs(r,e,t);return null!==n&&ms(n),n}if("RegExp"===bs(e))return gs(ys,e,t);throw ws("RegExp#exec called on incompatible receiver")},xs=fi,As=y,ks=R,Ts=Ai,Es=Ut,_s=U,Ns=_i,Cs=V,Os=function(e,t){var r,n=qi(e).constructor;return void 0===n||Gi(r=qi(n)[Xi])?t:$i(r)},Rs=as,Ps=bn,Ls=Ma,Is=Oe,Fs=ps,Ds=Ss,Ms=ii,js=p,Bs=uo.UNSUPPORTED_Y,Ws=4294967295,Us=Math.min,Hs=[].push,zs=ks(/./.exec),Vs=ks(Hs),qs=ks("".slice),$s=!js((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var r="ab".split(e);return 2!==r.length||"a"!==r[0]||"b"!==r[1]}));Ts("split",(function(e,t,r){var n;return n="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,r){var n=Ls(Cs(this)),a=void 0===r?Ws:r>>>0;if(0===a)return[];if(void 0===e)return[n];if(!Ns(e))return As(t,n,e,a);for(var o,i,s,c=[],l=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),u=0,f=new RegExp(e.source,l+"g");(o=As(Ms,f,n))&&!((i=f.lastIndex)>u&&(Vs(c,qs(n,u,o.index)),o.length>1&&o.index<n.length&&xs(Hs,c,Fs(o,1)),s=o[0].length,u=i,c.length>=a));)f.lastIndex===o.index&&f.lastIndex++;return u===n.length?!s&&zs(f,"")||Vs(c,""):Vs(c,qs(n,u)),c.length>a?Fs(c,0,a):c}:"0".split(void 0,0).length?function(e,r){return void 0===e&&0===r?[]:As(t,this,e,r)}:t,[function(t,r){var a=Cs(this),o=_s(t)?void 0:Is(t,e);return o?As(o,t,a,r):As(n,Ls(a),t,r)},function(e,a){var o=Es(this),i=Ls(e),s=r(n,o,i,a,n!==t);if(s.done)return s.value;var c=Os(o,RegExp),l=o.unicode,u=(o.ignoreCase?"i":"")+(o.multiline?"m":"")+(o.unicode?"u":"")+(Bs?"g":"y"),f=new c(Bs?"^(?:"+o.source+")":o,u),h=void 0===a?Ws:a>>>0;if(0===h)return[];if(0===i.length)return null===Ds(f,i)?[i]:[];for(var d=0,p=0,g=[];p<i.length;){f.lastIndex=Bs?0:p;var m,v=Ds(f,Bs?qs(i,p):i);if(null===v||(m=Us(Ps(f.lastIndex+(Bs?p:0)),i.length))===d)p=Rs(i,p,l);else{if(Vs(g,qs(i,d,p)),g.length===h)return g;for(var b=1;b<=v.length-1;b++)if(Vs(g,v[b]),g.length===h)return g;p=d=m}}return Vs(g,qs(i,d)),g}]}),!$s,Bs);var Gs=g,Xs=R,Ys=fa,Ks=G,Js=Xs(w.f),Zs=Xs([].push),Qs=function(e){return function(t){for(var r,n=Ks(t),a=Ys(n),o=a.length,i=0,s=[];o>i;)r=a[i++],Gs&&!Js(n,r)||Zs(s,e?[r,n[r]]:n[r]);return s}},ec={entries:Qs(!0),values:Qs(!1)}.entries;ca({target:"Object",stat:!0},{entries:function(e){return ec(e)}});var tc=lt,rc=Io,nc=Dt.f,ac=tc("unscopables"),oc=Array.prototype;null==oc[ac]&&nc(oc,ac,{configurable:!0,value:rc(null)});var ic=function(e){oc[ac][e]=!0},sc=Tn.includes,cc=ic;ca({target:"Array",proto:!0,forced:p((function(){return!Array(1).includes()}))},{includes:function(e){return sc(this,e,arguments.length>1?arguments[1]:void 0)}}),cc("includes");var lc=F,uc=Array.isArray||function(e){return"Array"==lc(e)},fc=TypeError,hc=function(e){if(e>9007199254740991)throw fc("Maximum allowed index exceeded");return e},dc=uc,pc=Ui,gc=ee,mc=lt("species"),vc=Array,bc=function(e){var t;return dc(e)&&(t=e.constructor,(pc(t)&&(t===vc||dc(t.prototype))||gc(t)&&null===(t=t[mc]))&&(t=void 0)),void 0===t?vc:t},yc=function(e,t){return new(bc(e))(0===t?0:t)},wc=p,Sc=he,xc=lt("species"),Ac=function(e){return Sc>=51||!wc((function(){var t=[];return(t.constructor={})[xc]=function(){return{foo:1}},1!==t[e](Boolean).foo}))},kc=ca,Tc=p,Ec=uc,_c=ee,Nc=$e,Cc=wn,Oc=hc,Rc=cs,Pc=yc,Lc=Ac,Ic=he,Fc=lt("isConcatSpreadable"),Dc=Ic>=51||!Tc((function(){var e=[];return e[Fc]=!1,e.concat()[0]!==e})),Mc=function(e){if(!_c(e))return!1;var t=e[Fc];return void 0!==t?!!t:Ec(e)};kc({target:"Array",proto:!0,arity:1,forced:!Dc||!Lc("concat")},{concat:function(e){var t,r,n,a,o,i=Nc(this),s=Pc(i,0),c=0;for(t=-1,n=arguments.length;t<n;t++)if(Mc(o=-1===t?i:arguments[t]))for(a=Cc(o),Oc(c+a),r=0;r<a;r++,c++)r in o&&Rc(s,c,o[r]);else Oc(c+1),Rc(s,c++,o);return s.length=c,s}});var jc=_e,Bc=m,Wc=pi(pi.bind),Uc=function(e,t){return jc(e),void 0===t?e:Bc?Wc(e,t):function(){return e.apply(t,arguments)}},Hc=W,zc=$e,Vc=wn,qc=yc,$c=R([].push),Gc=function(e){var t=1==e,r=2==e,n=3==e,a=4==e,o=6==e,i=7==e,s=5==e||o;return function(c,l,u,f){for(var h,d,p=zc(c),g=Hc(p),m=Uc(l,u),v=Vc(g),b=0,y=f||qc,w=t?y(c,v):r||i?y(c,0):void 0;v>b;b++)if((s||b in g)&&(d=m(h=g[b],b,p),e))if(t)w[b]=d;else if(d)switch(e){case 3:return!0;case 5:return h;case 6:return b;case 2:$c(w,h)}else switch(e){case 4:return!1;case 7:$c(w,h)}return o?-1:n||a?a:w}},Xc={forEach:Gc(0),map:Gc(1),filter:Gc(2),some:Gc(3),every:Gc(4),find:Gc(5),findIndex:Gc(6),filterReject:Gc(7)},Yc=ca,Kc=Xc.find,Jc=ic,Zc="find",Qc=!0;Zc in[]&&Array(1)[Zc]((function(){Qc=!1})),Yc({target:"Array",proto:!0,forced:Qc},{find:function(e){return Kc(this,e,arguments.length>1?arguments[1]:void 0)}}),Jc(Zc);var el=Ia,tl=_a?{}.toString:function(){return"[object "+el(this)+"]"};_a||on(Object.prototype,"toString",tl,{unsafe:!0});var rl=_i,nl=TypeError,al=function(e){if(rl(e))throw nl("The method doesn't accept regular expressions");return e},ol=lt("match"),il=function(e){var t=/./;try{"/./"[e](t)}catch(r){try{return t[ol]=!1,"/./"[e](t)}catch(e){}}return!1},sl=ca,cl=al,ll=V,ul=Ma,fl=il,hl=R("".indexOf);sl({target:"String",proto:!0,forced:!fl("includes")},{includes:function(e){return!!~hl(ul(ll(this)),ul(cl(e)),arguments.length>1?arguments[1]:void 0)}});var dl={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},pl=kt("span").classList,gl=pl&&pl.constructor&&pl.constructor.prototype,ml=gl===Object.prototype?void 0:gl,vl=Xc.forEach,bl=Za("forEach")?[].forEach:function(e){return vl(this,e,arguments.length>1?arguments[1]:void 0)},yl=h,wl=dl,Sl=ml,xl=bl,Al=tr,kl=function(e){if(e&&e.forEach!==xl)try{Al(e,"forEach",xl)}catch(t){e.forEach=xl}};for(var Tl in wl)wl[Tl]&&kl(yl[Tl]&&yl[Tl].prototype);kl(Sl);var El=h,_l=p,Nl=Ma,Cl=$a.trim,Ol=ja,Rl=R("".charAt),Pl=El.parseFloat,Ll=El.Symbol,Il=Ll&&Ll.iterator,Fl=1/Pl(Ol+"-0")!=-1/0||Il&&!_l((function(){Pl(Object(Il))}))?function(e){var t=Cl(Nl(e)),r=Pl(t);return 0===r&&"-"==Rl(t,0)?-0:r}:Pl;ca({global:!0,forced:parseFloat!=Fl},{parseFloat:Fl});var Dl=$e,Ml=fa;ca({target:"Object",stat:!0,forced:p((function(){Ml(1)}))},{keys:function(e){return Ml(Dl(e))}});var jl=ca,Bl=Tn.indexOf,Wl=Za,Ul=pi([].indexOf),Hl=!!Ul&&1/Ul([1],1,-0)<0;jl({target:"Array",proto:!0,forced:Hl||!Wl("indexOf")},{indexOf:function(e){var t=arguments.length>1?arguments[1]:void 0;return Hl?Ul(this,e,t)||0:Bl(this,e,t)}});var zl=Ae,Vl=TypeError,ql=function(e,t){if(!delete e[t])throw Vl("Cannot delete property "+zl(t)+" of "+zl(e))},$l=ps,Gl=Math.floor,Xl=function(e,t){var r=e.length,n=Gl(r/2);return r<8?Yl(e,t):Kl(e,Xl($l(e,0,n),t),Xl($l(e,n),t),t)},Yl=function(e,t){for(var r,n,a=e.length,o=1;o<a;){for(n=o,r=e[o];n&&t(e[n-1],r)>0;)e[n]=e[--n];n!==o++&&(e[n]=r)}return e},Kl=function(e,t,r,n){for(var a=t.length,o=r.length,i=0,s=0;i<a||s<o;)e[i+s]=i<a&&s<o?n(t[i],r[s])<=0?t[i++]:r[s++]:i<a?t[i++]:r[s++];return e},Jl=Xl,Zl=oe.match(/firefox\/(\d+)/i),Ql=!!Zl&&+Zl[1],eu=/MSIE|Trident/.test(oe),tu=oe.match(/AppleWebKit\/(\d+)\./),ru=!!tu&&+tu[1],nu=ca,au=R,ou=_e,iu=$e,su=wn,cu=ql,lu=Ma,uu=p,fu=Jl,hu=Za,du=Ql,pu=eu,gu=he,mu=ru,vu=[],bu=au(vu.sort),yu=au(vu.push),wu=uu((function(){vu.sort(void 0)})),Su=uu((function(){vu.sort(null)})),xu=hu("sort"),Au=!uu((function(){if(gu)return gu<70;if(!(du&&du>3)){if(pu)return!0;if(mu)return mu<603;var e,t,r,n,a="";for(e=65;e<76;e++){switch(t=String.fromCharCode(e),e){case 66:case 69:case 70:case 72:r=3;break;case 68:case 71:r=4;break;default:r=2}for(n=0;n<47;n++)vu.push({k:t+n,v:r})}for(vu.sort((function(e,t){return t.v-e.v})),n=0;n<vu.length;n++)t=vu[n].k.charAt(0),a.charAt(a.length-1)!==t&&(a+=t);return"DGBEFHACIJK"!==a}}));nu({target:"Array",proto:!0,forced:wu||!Su||!xu||!Au},{sort:function(e){void 0!==e&&ou(e);var t=iu(this);if(Au)return void 0===e?bu(t):bu(t,e);var r,n,a=[],o=su(t);for(n=0;n<o;n++)n in t&&yu(a,t[n]);for(fu(a,function(e){return function(t,r){return void 0===r?-1:void 0===t?1:void 0!==e?+e(t,r)||0:lu(t)>lu(r)?1:-1}}(e)),r=su(a),n=0;n<r;)t[n]=a[n++];for(;n<o;)cu(t,n++);return t}});var ku=R,Tu=$e,Eu=Math.floor,_u=ku("".charAt),Nu=ku("".replace),Cu=ku("".slice),Ou=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,Ru=/\$([$&'`]|\d{1,2})/g,Pu=fi,Lu=y,Iu=R,Fu=Ai,Du=p,Mu=Ut,ju=J,Bu=U,Wu=fn,Uu=bn,Hu=Ma,zu=V,Vu=as,qu=Oe,$u=function(e,t,r,n,a,o){var i=r+e.length,s=n.length,c=Ru;return void 0!==a&&(a=Tu(a),c=Ou),Nu(o,c,(function(o,c){var l;switch(_u(c,0)){case"$":return"$";case"&":return e;case"`":return Cu(t,0,r);case"'":return Cu(t,i);case"<":l=a[Cu(c,1,-1)];break;default:var u=+c;if(0===u)return o;if(u>s){var f=Eu(u/10);return 0===f?o:f<=s?void 0===n[f-1]?_u(c,1):n[f-1]+_u(c,1):o}l=n[u-1]}return void 0===l?"":l}))},Gu=Ss,Xu=lt("replace"),Yu=Math.max,Ku=Math.min,Ju=Iu([].concat),Zu=Iu([].push),Qu=Iu("".indexOf),ef=Iu("".slice),tf="$0"==="a".replace(/./,"$0"),rf=!!/./[Xu]&&""===/./[Xu]("a","$0");Fu("replace",(function(e,t,r){var n=rf?"$":"$0";return[function(e,r){var n=zu(this),a=Bu(e)?void 0:qu(e,Xu);return a?Lu(a,e,n,r):Lu(t,Hu(n),e,r)},function(e,a){var o=Mu(this),i=Hu(e);if("string"==typeof a&&-1===Qu(a,n)&&-1===Qu(a,"$<")){var s=r(t,o,i,a);if(s.done)return s.value}var c=ju(a);c||(a=Hu(a));var l=o.global;if(l){var u=o.unicode;o.lastIndex=0}for(var f=[];;){var h=Gu(o,i);if(null===h)break;if(Zu(f,h),!l)break;""===Hu(h[0])&&(o.lastIndex=Vu(i,Uu(o.lastIndex),u))}for(var d,p="",g=0,m=0;m<f.length;m++){for(var v=Hu((h=f[m])[0]),b=Yu(Ku(Wu(h.index),i.length),0),y=[],w=1;w<h.length;w++)Zu(y,void 0===(d=h[w])?d:String(d));var S=h.groups;if(c){var x=Ju([v],y,b,i);void 0!==S&&Zu(x,S);var A=Hu(Pu(a,void 0,x))}else A=$u(v,i,b,y,S,a);b>=g&&(p+=ef(i,g,b)+A,g=b+v.length)}return p+ef(i,g)}]}),!!Du((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}))||!tf||rf);var nf=Xc.filter;ca({target:"Array",proto:!0,forced:!Ac("filter")},{filter:function(e){return nf(this,e,arguments.length>1?arguments[1]:void 0)}});var af=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t},of=y,sf=Ut,cf=U,lf=V,uf=af,ff=Ma,hf=Oe,df=Ss;Ai("search",(function(e,t,r){return[function(t){var r=lf(this),n=cf(t)?void 0:hf(t,e);return n?of(n,t,r):new RegExp(t)[e](ff(r))},function(e){var n=sf(this),a=ff(e),o=r(t,n,a);if(o.done)return o.value;var i=n.lastIndex;uf(i,0)||(n.lastIndex=0);var s=df(n,a);return uf(n.lastIndex,i)||(n.lastIndex=i),null===s?-1:s.index}]}));var pf=h,gf=p,mf=R,vf=Ma,bf=$a.trim,yf=ja,wf=pf.parseInt,Sf=pf.Symbol,xf=Sf&&Sf.iterator,Af=/^[+-]?0x/i,kf=mf(Af.exec),Tf=8!==wf(yf+"08")||22!==wf(yf+"0x16")||xf&&!gf((function(){wf(Object(xf))}))?function(e,t){var r=bf(vf(e));return wf(r,t>>>0||(kf(Af,r)?16:10))}:wf;ca({global:!0,forced:parseInt!=Tf},{parseInt:Tf});var Ef=Xc.map;ca({target:"Array",proto:!0,forced:!Ac("map")},{map:function(e){return Ef(this,e,arguments.length>1?arguments[1]:void 0)}});var _f=ca,Nf=Xc.findIndex,Cf=ic,Of="findIndex",Rf=!0;Of in[]&&Array(1)[Of]((function(){Rf=!1})),_f({target:"Array",proto:!0,forced:Rf},{findIndex:function(e){return Nf(this,e,arguments.length>1?arguments[1]:void 0)}}),Cf(Of);var Pf=R,Lf=_e,If=J,Ff=String,Df=TypeError,Mf=function(e,t,r){try{return Pf(Lf(Object.getOwnPropertyDescriptor(e,t)[r]))}catch(e){}},jf=Ut,Bf=function(e){if("object"==typeof e||If(e))return e;throw Df("Can't set "+Ff(e)+" as a prototype")},Wf=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,r={};try{(e=Mf(Object.prototype,"__proto__","set"))(r,[]),t=r instanceof Array}catch(e){}return function(r,n){return jf(r),Bf(n),t?e(r,n):r.__proto__=n,r}}():void 0),Uf=J,Hf=ee,zf=Wf,Vf=function(e,t,r){var n,a;return zf&&Uf(n=t.constructor)&&n!==r&&Hf(a=n.prototype)&&a!==r.prototype&&zf(e,a),e},qf=y,$f=Ye,Gf=ae,Xf=oo,Yf=RegExp.prototype,Kf=function(e){var t=e.flags;return void 0!==t||"flags"in Yf||$f(e,"flags")||!Gf(Yf,e)?t:qf(Xf,e)},Jf=Dt.f,Zf=rr,Qf=Dt,eh=ne,th=function(e,t,r){return r.get&&Zf(r.get,t,{getter:!0}),r.set&&Zf(r.set,t,{setter:!0}),Qf.f(e,t,r)},rh=g,nh=lt("species"),ah=g,oh=h,ih=R,sh=ea,ch=Vf,lh=tr,uh=sn.f,fh=ae,hh=_i,dh=Ma,ph=Kf,gh=uo,mh=function(e,t,r){r in e||Jf(e,r,{configurable:!0,get:function(){return t[r]},set:function(e){t[r]=e}})},vh=on,bh=p,yh=Ye,wh=Mr.enforce,Sh=function(e){var t=eh(e);rh&&t&&!t[nh]&&th(t,nh,{configurable:!0,get:function(){return this}})},xh=Mo,Ah=Wo,kh=lt("match"),Th=oh.RegExp,Eh=Th.prototype,_h=oh.SyntaxError,Nh=ih(Eh.exec),Ch=ih("".charAt),Oh=ih("".replace),Rh=ih("".indexOf),Ph=ih("".slice),Lh=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,Ih=/a/g,Fh=/a/g,Dh=new Th(Ih)!==Ih,Mh=gh.MISSED_STICKY,jh=gh.UNSUPPORTED_Y,Bh=ah&&(!Dh||Mh||xh||Ah||bh((function(){return Fh[kh]=!1,Th(Ih)!=Ih||Th(Fh)==Fh||"/a/i"!=Th(Ih,"i")})));if(sh("RegExp",Bh)){for(var Wh=function(e,t){var r,n,a,o,i,s,c=fh(Eh,this),l=hh(e),u=void 0===t,f=[],h=e;if(!c&&l&&u&&e.constructor===Wh)return e;if((l||fh(Eh,e))&&(e=e.source,u&&(t=ph(h))),e=void 0===e?"":dh(e),t=void 0===t?"":dh(t),h=e,xh&&"dotAll"in Ih&&(n=!!t&&Rh(t,"s")>-1)&&(t=Oh(t,/s/g,"")),r=t,Mh&&"sticky"in Ih&&(a=!!t&&Rh(t,"y")>-1)&&jh&&(t=Oh(t,/y/g,"")),Ah&&(o=function(e){for(var t,r=e.length,n=0,a="",o=[],i={},s=!1,c=!1,l=0,u="";n<=r;n++){if("\\"===(t=Ch(e,n)))t+=Ch(e,++n);else if("]"===t)s=!1;else if(!s)switch(!0){case"["===t:s=!0;break;case"("===t:Nh(Lh,Ph(e,n+1))&&(n+=2,c=!0),a+=t,l++;continue;case">"===t&&c:if(""===u||yh(i,u))throw new _h("Invalid capture group name");i[u]=!0,o[o.length]=[u,l],c=!1,u="";continue}c?u+=t:a+=t}return[a,o]}(e),e=o[0],f=o[1]),i=ch(Th(e,t),c?this:Eh,Wh),(n||a||f.length)&&(s=wh(i),n&&(s.dotAll=!0,s.raw=Wh(function(e){for(var t,r=e.length,n=0,a="",o=!1;n<=r;n++)"\\"!==(t=Ch(e,n))?o||"."!==t?("["===t?o=!0:"]"===t&&(o=!1),a+=t):a+="[\\s\\S]":a+=t+Ch(e,++n);return a}(e),r)),a&&(s.sticky=!0),f.length&&(s.groups=f)),e!==h)try{lh(i,"source",""===h?"(?:)":h)}catch(e){}return i},Uh=uh(Th),Hh=0;Uh.length>Hh;)mh(Wh,Th,Uh[Hh++]);Eh.constructor=Wh,Wh.prototype=Eh,vh(oh,"RegExp",Wh,{constructor:!0})}Sh("RegExp");var zh=lr.PROPER,Vh=on,qh=Ut,$h=Ma,Gh=p,Xh=Kf,Yh="toString",Kh=RegExp.prototype[Yh],Jh=Gh((function(){return"/a/b"!=Kh.call({source:"a",flags:"b"})})),Zh=zh&&Kh.name!=Yh;(Jh||Zh)&&Vh(RegExp.prototype,Yh,(function(){var e=qh(this);return"/"+$h(e.source)+"/"+$h(Xh(e))}),{unsafe:!0});var Qh=R([].slice),ed=ca,td=uc,rd=Ui,nd=ee,ad=gn,od=wn,id=G,sd=cs,cd=lt,ld=Qh,ud=Ac("slice"),fd=cd("species"),hd=Array,dd=Math.max;ed({target:"Array",proto:!0,forced:!ud},{slice:function(e,t){var r,n,a,o=id(this),i=od(o),s=ad(e,i),c=ad(void 0===t?i:t,i);if(td(o)&&(r=o.constructor,(rd(r)&&(r===hd||td(r.prototype))||nd(r)&&null===(r=r[fd]))&&(r=void 0),r===hd||void 0===r))return ld(o,s,c);for(n=new(void 0===r?hd:r)(dd(c-s,0)),a=0;s<c;s++,a++)s in o&&sd(n,a,o[s]);return n.length=a,n}});var pd,gd,md,vd={},bd=!p((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),yd=Ye,wd=J,Sd=$e,xd=bd,Ad=xr("IE_PROTO"),kd=Object,Td=kd.prototype,Ed=xd?kd.getPrototypeOf:function(e){var t=Sd(e);if(yd(t,Ad))return t[Ad];var r=t.constructor;return wd(r)&&t instanceof r?r.prototype:t instanceof kd?Td:null},_d=p,Nd=J,Cd=ee,Od=Ed,Rd=on,Pd=lt("iterator"),Ld=!1;[].keys&&("next"in(md=[].keys())?(gd=Od(Od(md)))!==Object.prototype&&(pd=gd):Ld=!0);var Id=!Cd(pd)||_d((function(){var e={};return pd[Pd].call(e)!==e}));Id&&(pd={}),Nd(pd[Pd])||Rd(pd,Pd,(function(){return this}));var Fd={IteratorPrototype:pd,BUGGY_SAFARI_ITERATORS:Ld},Dd=Dt.f,Md=Ye,jd=lt("toStringTag"),Bd=function(e,t,r){e&&!r&&(e=e.prototype),e&&!Md(e,jd)&&Dd(e,jd,{configurable:!0,value:t})},Wd=Fd.IteratorPrototype,Ud=Io,Hd=E,zd=Bd,Vd=vd,qd=function(){return this},$d=ca,Gd=y,Xd=J,Yd=function(e,t,r,n){var a=t+" Iterator";return e.prototype=Ud(Wd,{next:Hd(+!n,r)}),zd(e,a,!1),Vd[a]=qd,e},Kd=Ed,Jd=Wf,Zd=Bd,Qd=tr,ep=on,tp=vd,rp=lr.PROPER,np=lr.CONFIGURABLE,ap=Fd.IteratorPrototype,op=Fd.BUGGY_SAFARI_ITERATORS,ip=lt("iterator"),sp="keys",cp="values",lp="entries",up=function(){return this},fp=G,hp=ic,dp=vd,pp=Mr,gp=Dt.f,mp=function(e,t,r,n,a,o,i){Yd(r,t,n);var s,c,l,u=function(e){if(e===a&&g)return g;if(!op&&e in d)return d[e];switch(e){case sp:case cp:case lp:return function(){return new r(this,e)}}return function(){return new r(this)}},f=t+" Iterator",h=!1,d=e.prototype,p=d[ip]||d["@@iterator"]||a&&d[a],g=!op&&p||u(a),m="Array"==t&&d.entries||p;if(m&&(s=Kd(m.call(new e)))!==Object.prototype&&s.next&&(Kd(s)!==ap&&(Jd?Jd(s,ap):Xd(s[ip])||ep(s,ip,up)),Zd(s,f,!0)),rp&&a==cp&&p&&p.name!==cp&&(np?Qd(d,"name",cp):(h=!0,g=function(){return Gd(p,this)})),a)if(c={values:u(cp),keys:o?g:u(sp),entries:u(lp)},i)for(l in c)(op||h||!(l in d))&&ep(d,l,c[l]);else $d({target:t,proto:!0,forced:op||h},c);return d[ip]!==g&&ep(d,ip,g,{name:a}),tp[t]=g,c},vp=function(e,t){return{value:e,done:t}},bp=g,yp="Array Iterator",wp=pp.set,Sp=pp.getterFor(yp),xp=mp(Array,"Array",(function(e,t){wp(this,{type:yp,target:fp(e),index:0,kind:t})}),(function(){var e=Sp(this),t=e.target,r=e.kind,n=e.index++;return!t||n>=t.length?(e.target=void 0,vp(void 0,!0)):vp("keys"==r?n:"values"==r?t[n]:[n,t[n]],!1)}),"values"),Ap=dp.Arguments=dp.Array;if(hp("keys"),hp("values"),hp("entries"),bp&&"values"!==Ap.name)try{gp(Ap,"name",{value:"values"})}catch(e){}var kp=h,Tp=dl,Ep=ml,_p=xp,Np=tr,Cp=lt,Op=Cp("iterator"),Rp=Cp("toStringTag"),Pp=_p.values,Lp=function(e,t){if(e){if(e[Op]!==Pp)try{Np(e,Op,Pp)}catch(t){e[Op]=Pp}if(e[Rp]||Np(e,Rp,t),Tp[t])for(var r in _p)if(e[r]!==_p[r])try{Np(e,r,_p[r])}catch(t){e[r]=_p[r]}}};for(var Ip in Tp)Lp(kp[Ip]&&kp[Ip].prototype,Ip);Lp(Ep,"DOMTokenList");var Fp=g,Dp=uc,Mp=TypeError,jp=Object.getOwnPropertyDescriptor,Bp=Fp&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}(),Wp=ca,Up=$e,Hp=gn,zp=fn,Vp=wn,qp=Bp?function(e,t){if(Dp(e)&&!jp(e,"length").writable)throw Mp("Cannot set read only .length");return e.length=t}:function(e,t){return e.length=t},$p=hc,Gp=yc,Xp=cs,Yp=ql,Kp=Ac("splice"),Jp=Math.max,Zp=Math.min;Wp({target:"Array",proto:!0,forced:!Kp},{splice:function(e,t){var r,n,a,o,i,s,c=Up(this),l=Vp(c),u=Hp(e,l),f=arguments.length;for(0===f?r=n=0:1===f?(r=0,n=l-u):(r=f-2,n=Zp(Jp(zp(t),0),l-u)),$p(l+r-n),a=Gp(c,n),o=0;o<n;o++)(i=u+o)in c&&Xp(a,o,c[i]);if(a.length=n,r<n){for(o=u;o<l-n;o++)s=o+r,(i=o+n)in c?c[s]=c[i]:Yp(c,s);for(o=l;o>l-n+r;o--)Yp(c,o-1)}else if(r>n)for(o=l-n;o>u;o--)s=o+r-1,(i=o+n-1)in c?c[s]=c[i]:Yp(c,s);for(o=0;o<r;o++)c[o+u]=arguments[o+2];return qp(c,l-n+r),a}});var Qp=h,eg=R(1..valueOf),tg=ca,rg=g,ng=h,ag=Qp,og=R,ig=ea,sg=Ye,cg=Vf,lg=ae,ug=Se,fg=vt,hg=p,dg=sn.f,pg=d.f,gg=Dt.f,mg=eg,vg=$a.trim,bg="Number",yg=ng[bg];ag[bg];var wg=yg.prototype,Sg=ng.TypeError,xg=og("".slice),Ag=og("".charCodeAt),kg=function(e){var t,r,n,a,o,i,s,c,l=fg(e,"number");if(ug(l))throw Sg("Cannot convert a Symbol value to a number");if("string"==typeof l&&l.length>2)if(l=vg(l),43===(t=Ag(l,0))||45===t){if(88===(r=Ag(l,2))||120===r)return NaN}else if(48===t){switch(Ag(l,1)){case 66:case 98:n=2,a=49;break;case 79:case 111:n=8,a=55;break;default:return+l}for(i=(o=xg(l,2)).length,s=0;s<i;s++)if((c=Ag(o,s))<48||c>a)return NaN;return parseInt(o,n)}return+l},Tg=ig(bg,!yg(" 0o1")||!yg("0b1")||yg("+0x1")),Eg=function(e){var t,r=arguments.length<1?0:yg(function(e){var t=fg(e,"number");return"bigint"==typeof t?t:kg(t)}(e));return lg(wg,t=this)&&hg((function(){mg(t)}))?cg(Object(r),this,Eg):r};Eg.prototype=wg,Tg&&(wg.constructor=Eg),tg({global:!0,constructor:!0,wrap:!0,forced:Tg},{Number:Eg});Tg&&function(e,t){for(var r,n=rg?dg(t):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),a=0;n.length>a;a++)sg(t,r=n[a])&&!sg(e,r)&&gg(e,r,pg(t,r))}(ag[bg],yg);var _g=ca,Ng=uc,Cg=R([].reverse),Og=[1,2];_g({target:"Array",proto:!0,forced:String(Og)===String(Og.reverse())},{reverse:function(){return Ng(this)&&(this.length=this.length),Cg(this)}});var Rg=y,Pg=Ut,Lg=U,Ig=bn,Fg=Ma,Dg=V,Mg=Oe,jg=as,Bg=Ss;Ai("match",(function(e,t,r){return[function(t){var r=Dg(this),n=Lg(t)?void 0:Mg(t,e);return n?Rg(n,t,r):new RegExp(t)[e](Fg(r))},function(e){var n=Pg(this),a=Fg(e),o=r(t,n,a);if(o.done)return o.value;if(!n.global)return Bg(n,a);var i=n.unicode;n.lastIndex=0;for(var s,c=[],l=0;null!==(s=Bg(n,a));){var u=Fg(s[0]);c[l]=u,""===u&&(n.lastIndex=jg(a,Ig(n.lastIndex),i)),l++}return 0===l?null:c}]}));var Wg,Ug=ca,Hg=pi,zg=d.f,Vg=bn,qg=Ma,$g=al,Gg=V,Xg=il,Yg=Hg("".startsWith),Kg=Hg("".slice),Jg=Math.min,Zg=Xg("startsWith");Ug({target:"String",proto:!0,forced:!!(Zg||(Wg=zg(String.prototype,"startsWith"),!Wg||Wg.writable))&&!Zg},{startsWith:function(e){var t=qg(Gg(this));$g(e);var r=Vg(Jg(arguments.length>1?arguments[1]:void 0,t.length)),n=qg(e);return Yg?Yg(t,n,r):Kg(t,r,r+n.length)===n}});var Qg=ca,em=pi,tm=d.f,rm=bn,nm=Ma,am=al,om=V,im=il,sm=em("".endsWith),cm=em("".slice),lm=Math.min,um=im("endsWith"),fm=!um&&!!function(){var e=tm(String.prototype,"endsWith");return e&&!e.writable}();Qg({target:"String",proto:!0,forced:!fm&&!um},{endsWith:function(e){var t=nm(om(this));am(e);var r=arguments.length>1?arguments[1]:void 0,n=t.length,a=void 0===r?n:lm(rm(r),n),o=nm(e);return sm?sm(t,o,a):cm(t,a-o.length,a)===o}});var hm={getBootstrapVersion:function(){var t=5;try{var r=e.fn.dropdown.Constructor.VERSION;void 0!==r&&(t=parseInt(r,10))}catch(e){}try{var n=bootstrap.Tooltip.VERSION;void 0!==n&&(t=parseInt(n,10))}catch(e){}return t},getIconsPrefix:function(e){return{bootstrap3:"glyphicon",bootstrap4:"fa",bootstrap5:"bi","bootstrap-table":"icon",bulma:"fa",foundation:"fa",materialize:"material-icons",semantic:"fa"}[e]||"fa"},getIcons:function(e){return{glyphicon:{paginationSwitchDown:"glyphicon-collapse-down icon-chevron-down",paginationSwitchUp:"glyphicon-collapse-up icon-chevron-up",refresh:"glyphicon-refresh icon-refresh",toggleOff:"glyphicon-list-alt icon-list-alt",toggleOn:"glyphicon-list-alt icon-list-alt",columns:"glyphicon-th icon-th",detailOpen:"glyphicon-plus icon-plus",detailClose:"glyphicon-minus icon-minus",fullscreen:"glyphicon-fullscreen",search:"glyphicon-search",clearSearch:"glyphicon-trash"},fa:{paginationSwitchDown:"fa-caret-square-down",paginationSwitchUp:"fa-caret-square-up",refresh:"fa-sync",toggleOff:"fa-toggle-off",toggleOn:"fa-toggle-on",columns:"fa-th-list",detailOpen:"fa-plus",detailClose:"fa-minus",fullscreen:"fa-arrows-alt",search:"fa-search",clearSearch:"fa-trash"},bi:{paginationSwitchDown:"bi-caret-down-square",paginationSwitchUp:"bi-caret-up-square",refresh:"bi-arrow-clockwise",toggleOff:"bi-toggle-off",toggleOn:"bi-toggle-on",columns:"bi-list-ul",detailOpen:"bi-plus",detailClose:"bi-dash",fullscreen:"bi-arrows-move",search:"bi-search",clearSearch:"bi-trash"},icon:{paginationSwitchDown:"icon-arrow-up-circle",paginationSwitchUp:"icon-arrow-down-circle",refresh:"icon-refresh-cw",toggleOff:"icon-toggle-right",toggleOn:"icon-toggle-right",columns:"icon-list",detailOpen:"icon-plus",detailClose:"icon-minus",fullscreen:"icon-maximize",search:"icon-search",clearSearch:"icon-trash-2"},"material-icons":{paginationSwitchDown:"grid_on",paginationSwitchUp:"grid_off",refresh:"refresh",toggleOff:"tablet",toggleOn:"tablet_android",columns:"view_list",detailOpen:"add",detailClose:"remove",fullscreen:"fullscreen",sort:"sort",search:"search",clearSearch:"delete"}}[e]},getSearchInput:function(t){return"string"==typeof t.options.searchSelector?e(t.options.searchSelector):t.$toolbar.find(".search input")},extend:function(){for(var e=this,r=arguments.length,n=new Array(r),a=0;a<r;a++)n[a]=arguments[a];var o,i=n[0]||{},s=1,c=!1;for("boolean"==typeof i&&(c=i,i=n[s]||{},s++),"object"!==t(i)&&"function"!=typeof i&&(i={});s<n.length;s++){var l=n[s];if(null!=l)for(var u in l){var f=l[u];if("__proto__"!==u&&i!==f){var h=Array.isArray(f);if(c&&f&&(this.isObject(f)||h)){var d=i[u];if(h&&Array.isArray(d)&&d.every((function(t){return!e.isObject(t)&&!Array.isArray(t)}))){i[u]=f;continue}o=h&&!Array.isArray(d)?[]:h||this.isObject(d)?d:{},i[u]=this.extend(c,o,f)}else void 0!==f&&(i[u]=f)}}}return i},sprintf:function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];var a=!0,o=0,i=e.replace(/%s/g,(function(){var e=r[o++];return void 0===e?(a=!1,""):e}));return a?i:""},isObject:function(e){return"object"===t(e)&&null!==e&&!Array.isArray(e)},isEmptyObject:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return 0===Object.entries(e).length&&e.constructor===Object},isNumeric:function(e){return!isNaN(parseFloat(e))&&isFinite(e)},getFieldTitle:function(e,t){var r,n=l(e);try{for(n.s();!(r=n.n()).done;){var a=r.value;if(a.field===t)return a.title}}catch(e){n.e(e)}finally{n.f()}return""},setFieldIndex:function(e){var t,r=0,n=[],a=l(e[0]);try{for(a.s();!(t=a.n()).done;){r+=t.value.colspan||1}}catch(e){a.e(e)}finally{a.f()}for(var o=0;o<e.length;o++){n[o]=[];for(var i=0;i<r;i++)n[o][i]=!1}for(var s=0;s<e.length;s++){var c,u=l(e[s]);try{for(u.s();!(c=u.n()).done;){var f=c.value,h=f.rowspan||1,d=f.colspan||1,p=n[s].indexOf(!1);f.colspanIndex=p,1===d?(f.fieldIndex=p,void 0===f.field&&(f.field=p)):f.colspanGroup=f.colspan;for(var g=0;g<h;g++)for(var m=0;m<d;m++)n[s+g][p+m]=!0}}catch(e){u.e(e)}finally{u.f()}}},normalizeAccent:function(e){return"string"!=typeof e?e:e.normalize("NFD").replace(/[\u0300-\u036f]/g,"")},updateFieldGroup:function(e,t){var r,n,a=(r=[]).concat.apply(r,i(e)),o=l(e);try{for(o.s();!(n=o.n()).done;){var s,c=l(n.value);try{for(c.s();!(s=c.n()).done;){var u=s.value;if(u.colspanGroup>1){for(var f=0,h=function(e){a.find((function(t){return t.fieldIndex===e})).visible&&f++},d=u.colspanIndex;d<u.colspanIndex+u.colspanGroup;d++)h(d);u.colspan=f,u.visible=f>0}}}catch(e){c.e(e)}finally{c.f()}}}catch(e){o.e(e)}finally{o.f()}if(!(e.length<2)){var p,g=l(t);try{var m=function(){var e=p.value,t=a.filter((function(t){return t.fieldIndex===e.fieldIndex}));if(t.length>1){var r,n=l(t);try{for(n.s();!(r=n.n()).done;){r.value.visible=e.visible}}catch(e){n.e(e)}finally{n.f()}}};for(g.s();!(p=g.n()).done;)m()}catch(e){g.e(e)}finally{g.f()}}},getScrollBarWidth:function(){if(void 0===this.cachedWidth){var t=e("<div/>").addClass("fixed-table-scroll-inner"),r=e("<div/>").addClass("fixed-table-scroll-outer");r.append(t),e("body").append(r);var n=t[0].offsetWidth;r.css("overflow","scroll");var a=t[0].offsetWidth;n===a&&(a=r[0].clientWidth),r.remove(),this.cachedWidth=n-a}return this.cachedWidth},calculateObjectValue:function(e,r,n,a){var o=r;if("string"==typeof r){var s=r.split(".");if(s.length>1){o=window;var c,u=l(s);try{for(u.s();!(c=u.n()).done;){o=o[c.value]}}catch(e){u.e(e)}finally{u.f()}}else o=window[r]}return null!==o&&"object"===t(o)?o:"function"==typeof o?o.apply(e,n||[]):!o&&"string"==typeof r&&n&&this.sprintf.apply(this,[r].concat(i(n)))?this.sprintf.apply(this,[r].concat(i(n))):a},compareObjects:function(e,t,r){var n=Object.keys(e),a=Object.keys(t);if(r&&n.length!==a.length)return!1;for(var o=0,i=n;o<i.length;o++){var s=i[o];if(a.includes(s)&&e[s]!==t[s])return!1}return!0},regexCompare:function(e,t){try{var r=t.match(/^\/(.*?)\/([gim]*)$/);if(-1!==e.toString().search(r?new RegExp(r[1],r[2]):new RegExp(t,"gim")))return!0}catch(e){return!1}return!1},escapeApostrophe:function(e){return e.toString().replace(/'/g,"'")},escapeHTML:function(e){return e?e.toString().replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'"):e},unescapeHTML:function(e){return"string"==typeof e&&e?e.toString().replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,'"').replace(/'/g,"'"):e},removeHTML:function(e){return e?e.toString().replace(/(<([^>]+)>)/gi,"").replace(/&[#A-Za-z0-9]+;/gi,"").trim():e},getRealDataAttr:function(e){for(var t=0,r=Object.entries(e);t<r.length;t++){var n=o(r[t],2),a=n[0],i=n[1],s=a.split(/(?=[A-Z])/).join("-").toLowerCase();s!==a&&(e[s]=i,delete e[a])}return e},getItemField:function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:void 0,a=e;if(void 0!==n&&(r=n),"string"!=typeof t||e.hasOwnProperty(t))return r?this.escapeHTML(e[t]):e[t];var o,i=l(t.split("."));try{for(i.s();!(o=i.n()).done;){var s=o.value;a=a&&a[s]}}catch(e){i.e(e)}finally{i.f()}return r?this.escapeHTML(a):a},isIEBrowser:function(){return navigator.userAgent.includes("MSIE ")||/Trident.*rv:11\./.test(navigator.userAgent)},findIndex:function(e,t){var r,n=l(e);try{for(n.s();!(r=n.n()).done;){var a=r.value;if(JSON.stringify(a)===JSON.stringify(t))return e.indexOf(a)}}catch(e){n.e(e)}finally{n.f()}return-1},trToData:function(t,r){var n=this,a=[],o=[];return r.each((function(r,i){var s=e(i),c={};c._id=s.attr("id"),c._class=s.attr("class"),c._data=n.getRealDataAttr(s.data()),c._style=s.attr("style"),s.find(">td,>th").each((function(a,i){for(var s=e(i),l=+s.attr("colspan")||1,u=+s.attr("rowspan")||1,f=a;o[r]&&o[r][f];f++);for(var h=f;h<f+l;h++)for(var d=r;d<r+u;d++)o[d]||(o[d]=[]),o[d][h]=!0;var p=t[f].field;c[p]=n.escapeApostrophe(s.html().trim()),c["_".concat(p,"_id")]=s.attr("id"),c["_".concat(p,"_class")]=s.attr("class"),c["_".concat(p,"_rowspan")]=s.attr("rowspan"),c["_".concat(p,"_colspan")]=s.attr("colspan"),c["_".concat(p,"_title")]=s.attr("title"),c["_".concat(p,"_data")]=n.getRealDataAttr(s.data()),c["_".concat(p,"_style")]=s.attr("style")})),a.push(c)})),a},sort:function(e,t,r,n,a,o){if(null==e&&(e=""),null==t&&(t=""),n.sortStable&&e===t&&(e=a,t=o),this.isNumeric(e)&&this.isNumeric(t))return(e=parseFloat(e))<(t=parseFloat(t))?-1*r:e>t?r:0;if(n.sortEmptyLast){if(""===e)return 1;if(""===t)return-1}return e===t?0:("string"!=typeof e&&(e=e.toString()),-1===e.localeCompare(t)?-1*r:r)},getEventName:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return t=t||"".concat(+new Date).concat(~~(1e6*Math.random())),"".concat(e,"-").concat(t)},hasDetailViewIcon:function(e){return e.detailView&&e.detailViewIcon&&!e.cardView},getDetailViewIndexOffset:function(e){return this.hasDetailViewIcon(e)&&"right"!==e.detailViewAlign?1:0},checkAutoMergeCells:function(e){var t,r=l(e);try{for(r.s();!(t=r.n()).done;)for(var n=t.value,a=0,o=Object.keys(n);a<o.length;a++){var i=o[a];if(i.startsWith("_")&&(i.endsWith("_rowspan")||i.endsWith("_colspan")))return!0}}catch(e){r.e(e)}finally{r.f()}return!1},deepCopy:function(e){return void 0===e?e:this.extend(!0,Array.isArray(e)?[]:{},e)},debounce:function(e,t,r){var n;return function(){var a=this,o=arguments,i=r&&!n;clearTimeout(n),n=setTimeout((function(){n=null,r||e.apply(a,o)}),t),i&&e.apply(a,o)}}},dm=hm.getBootstrapVersion(),pm={3:{classes:{buttonsPrefix:"btn",buttons:"default",buttonsGroup:"btn-group",buttonsDropdown:"btn-group",pull:"pull",inputGroup:"input-group",inputPrefix:"input-",input:"form-control",select:"form-control",paginationDropdown:"btn-group dropdown",dropup:"dropup",dropdownActive:"active",paginationActive:"active",buttonActive:"active"},html:{toolbarDropdown:['<ul class="dropdown-menu" role="menu">',"</ul>"],toolbarDropdownItem:'<li class="dropdown-item-marker" role="menuitem"><label>%s</label></li>',toolbarDropdownSeparator:'<li class="divider"></li>',pageDropdown:['<ul class="dropdown-menu" role="menu">',"</ul>"],pageDropdownItem:'<li role="menuitem" class="%s"><a href="#">%s</a></li>',dropdownCaret:'<span class="caret"></span>',pagination:['<ul class="pagination%s">',"</ul>"],paginationItem:'<li class="page-item%s"><a class="page-link" aria-label="%s" href="javascript:void(0)">%s</a></li>',icon:'<i class="%s %s"></i>',inputGroup:'<div class="input-group">%s<span class="input-group-btn">%s</span></div>',searchInput:'<input class="%s%s" type="text" placeholder="%s">',searchButton:'<button class="%s" type="button" name="search" title="%s">%s %s</button>',searchClearButton:'<button class="%s" type="button" name="clearSearch" title="%s">%s %s</button>'}},4:{classes:{buttonsPrefix:"btn",buttons:"secondary",buttonsGroup:"btn-group",buttonsDropdown:"btn-group",pull:"float",inputGroup:"btn-group",inputPrefix:"form-control-",input:"form-control",select:"form-control",paginationDropdown:"btn-group dropdown",dropup:"dropup",dropdownActive:"active",paginationActive:"active",buttonActive:"active"},html:{toolbarDropdown:['<div class="dropdown-menu dropdown-menu-right">',"</div>"],toolbarDropdownItem:'<label class="dropdown-item dropdown-item-marker">%s</label>',pageDropdown:['<div class="dropdown-menu">',"</div>"],pageDropdownItem:'<a class="dropdown-item %s" href="#">%s</a>',toolbarDropdownSeparator:'<div class="dropdown-divider"></div>',dropdownCaret:'<span class="caret"></span>',pagination:['<ul class="pagination%s">',"</ul>"],paginationItem:'<li class="page-item%s"><a class="page-link" aria-label="%s" href="javascript:void(0)">%s</a></li>',icon:'<i class="%s %s"></i>',inputGroup:'<div class="input-group">%s<div class="input-group-append">%s</div></div>',searchInput:'<input class="%s%s" type="text" placeholder="%s">',searchButton:'<button class="%s" type="button" name="search" title="%s">%s %s</button>',searchClearButton:'<button class="%s" type="button" name="clearSearch" title="%s">%s %s</button>'}},5:{classes:{buttonsPrefix:"btn",buttons:"secondary",buttonsGroup:"btn-group",buttonsDropdown:"btn-group",pull:"float",inputGroup:"btn-group",inputPrefix:"form-control-",input:"form-control",select:"form-select",paginationDropdown:"btn-group dropdown",dropup:"dropup",dropdownActive:"active",paginationActive:"active",buttonActive:"active"},html:{dataToggle:"data-bs-toggle",toolbarDropdown:['<div class="dropdown-menu dropdown-menu-end">',"</div>"],toolbarDropdownItem:'<label class="dropdown-item dropdown-item-marker">%s</label>',pageDropdown:['<div class="dropdown-menu">',"</div>"],pageDropdownItem:'<a class="dropdown-item %s" href="#">%s</a>',toolbarDropdownSeparator:'<div class="dropdown-divider"></div>',dropdownCaret:'<span class="caret"></span>',pagination:['<ul class="pagination%s">',"</ul>"],paginationItem:'<li class="page-item%s"><a class="page-link" aria-label="%s" href="javascript:void(0)">%s</a></li>',icon:'<i class="%s %s"></i>',inputGroup:'<div class="input-group">%s%s</div>',searchInput:'<input class="%s%s" type="text" placeholder="%s">',searchButton:'<button class="%s" type="button" name="search" title="%s">%s %s</button>',searchClearButton:'<button class="%s" type="button" name="clearSearch" title="%s">%s %s</button>'}}}[dm],gm={height:void 0,classes:"table table-bordered table-hover",buttons:{},theadClasses:"",headerStyle:function(e){return{}},rowStyle:function(e,t){return{}},rowAttributes:function(e,t){return{}},undefinedText:"-",locale:void 0,virtualScroll:!1,virtualScrollItemHeight:void 0,sortable:!0,sortClass:void 0,silentSort:!0,sortEmptyLast:!1,sortName:void 0,sortOrder:void 0,sortReset:!1,sortStable:!1,sortResetPage:!1,rememberOrder:!1,serverSort:!0,customSort:void 0,columns:[[]],data:[],url:void 0,method:"get",cache:!0,contentType:"application/json",dataType:"json",ajax:void 0,ajaxOptions:{},queryParams:function(e){return e},queryParamsType:"limit",responseHandler:function(e){return e},totalField:"total",totalNotFilteredField:"totalNotFiltered",dataField:"rows",footerField:"footer",pagination:!1,paginationParts:["pageInfo","pageSize","pageList"],showExtendedPagination:!1,paginationLoop:!0,sidePagination:"client",totalRows:0,totalNotFiltered:0,pageNumber:1,pageSize:10,pageList:[10,25,50,100],paginationHAlign:"right",paginationVAlign:"bottom",paginationDetailHAlign:"left",paginationPreText:"‹",paginationNextText:"›",paginationSuccessivelySize:5,paginationPagesBySide:1,paginationUseIntermediate:!1,search:!1,searchable:!1,searchHighlight:!1,searchOnEnterKey:!1,strictSearch:!1,regexSearch:!1,searchSelector:!1,visibleSearch:!1,showButtonIcons:!0,showButtonText:!1,showSearchButton:!1,showSearchClearButton:!1,trimOnSearch:!0,searchAlign:"right",searchTimeOut:500,searchText:"",customSearch:void 0,showHeader:!0,showFooter:!1,footerStyle:function(e){return{}},searchAccentNeutralise:!1,showColumns:!1,showColumnsToggleAll:!1,showColumnsSearch:!1,minimumCountColumns:1,showPaginationSwitch:!1,showRefresh:!1,showToggle:!1,showFullscreen:!1,smartDisplay:!0,escape:!1,escapeTitle:!0,filterOptions:{filterAlgorithm:"and"},idField:void 0,selectItemName:"btSelectItem",clickToSelect:!1,ignoreClickToSelectOn:function(e){var t=e.tagName;return["A","BUTTON"].includes(t)},singleSelect:!1,checkboxHeader:!0,maintainMetaData:!1,multipleSelectRow:!1,uniqueId:void 0,cardView:!1,detailView:!1,detailViewIcon:!0,detailViewByClick:!1,detailViewAlign:"left",detailFormatter:function(e,t){return""},detailFilter:function(e,t){return!0},toolbar:void 0,toolbarAlign:"left",buttonsToolbar:void 0,buttonsAlign:"right",buttonsOrder:["paginationSwitch","refresh","toggle","fullscreen","columns"],buttonsPrefix:pm.classes.buttonsPrefix,buttonsClass:pm.classes.buttons,iconsPrefix:void 0,icons:{},iconSize:void 0,loadingFontSize:"auto",loadingTemplate:function(e){return'<span class="loading-wrap">\n <span class="loading-text">'.concat(e,'</span>\n <span class="animation-wrap"><span class="animation-dot"></span></span>\n </span>\n ')},onAll:function(e,t){return!1},onClickCell:function(e,t,r,n){return!1},onDblClickCell:function(e,t,r,n){return!1},onClickRow:function(e,t){return!1},onDblClickRow:function(e,t){return!1},onSort:function(e,t){return!1},onCheck:function(e){return!1},onUncheck:function(e){return!1},onCheckAll:function(e){return!1},onUncheckAll:function(e){return!1},onCheckSome:function(e){return!1},onUncheckSome:function(e){return!1},onLoadSuccess:function(e){return!1},onLoadError:function(e){return!1},onColumnSwitch:function(e,t){return!1},onColumnSwitchAll:function(e){return!1},onPageChange:function(e,t){return!1},onSearch:function(e){return!1},onToggle:function(e){return!1},onPreBody:function(e){return!1},onPostBody:function(){return!1},onPostHeader:function(){return!1},onPostFooter:function(){return!1},onExpandRow:function(e,t,r){return!1},onCollapseRow:function(e,t){return!1},onRefreshOptions:function(e){return!1},onRefresh:function(e){return!1},onResetView:function(){return!1},onScrollBody:function(){return!1},onTogglePagination:function(e){return!1},onVirtualScroll:function(e,t){return!1}},mm={formatLoadingMessage:function(){return"Loading, please wait"},formatRecordsPerPage:function(e){return"".concat(e," rows per page")},formatShowingRows:function(e,t,r,n){return void 0!==n&&n>0&&n>r?"Showing ".concat(e," to ").concat(t," of ").concat(r," rows (filtered from ").concat(n," total rows)"):"Showing ".concat(e," to ").concat(t," of ").concat(r," rows")},formatSRPaginationPreText:function(){return"previous page"},formatSRPaginationPageText:function(e){return"to page ".concat(e)},formatSRPaginationNextText:function(){return"next page"},formatDetailPagination:function(e){return"Showing ".concat(e," rows")},formatSearch:function(){return"Search"},formatClearSearch:function(){return"Clear Search"},formatNoMatches:function(){return"No matching records found"},formatPaginationSwitch:function(){return"Hide/Show pagination"},formatPaginationSwitchDown:function(){return"Show pagination"},formatPaginationSwitchUp:function(){return"Hide pagination"},formatRefresh:function(){return"Refresh"},formatToggleOn:function(){return"Show card view"},formatToggleOff:function(){return"Hide card view"},formatColumns:function(){return"Columns"},formatColumnsToggleAll:function(){return"Toggle all"},formatFullscreen:function(){return"Fullscreen"},formatAllRows:function(){return"All"}},vm={field:void 0,title:void 0,titleTooltip:void 0,class:void 0,width:void 0,widthUnit:"px",rowspan:void 0,colspan:void 0,align:void 0,halign:void 0,falign:void 0,valign:void 0,cellStyle:void 0,radio:!1,checkbox:!1,checkboxEnabled:!0,clickToSelect:!0,showSelectTitle:!1,sortable:!1,sortName:void 0,order:"asc",sorter:void 0,visible:!0,switchable:!0,switchableLabel:void 0,cardVisible:!0,searchable:!0,formatter:void 0,footerFormatter:void 0,detailFormatter:void 0,searchFormatter:!0,searchHighlightFormatter:!1,escape:void 0,events:void 0};Object.assign(gm,mm);var bm={VERSION:"1.22.0",THEME:"bootstrap".concat(dm),CONSTANTS:pm,DEFAULTS:gm,COLUMN_DEFAULTS:vm,METHODS:["getOptions","refreshOptions","getData","getSelections","load","append","prepend","remove","removeAll","insertRow","updateRow","getRowByUniqueId","updateByUniqueId","removeByUniqueId","updateCell","updateCellByUniqueId","showRow","hideRow","getHiddenRows","showColumn","hideColumn","getVisibleColumns","getHiddenColumns","showAllColumns","hideAllColumns","mergeCells","checkAll","uncheckAll","checkInvert","check","uncheck","checkBy","uncheckBy","refresh","destroy","resetView","showLoading","hideLoading","togglePagination","toggleFullscreen","toggleView","resetSearch","filterBy","sortBy","scrollTo","getScrollPosition","selectPage","prevPage","nextPage","toggleDetailView","expandRow","collapseRow","expandRowByUniqueId","collapseRowByUniqueId","expandAllRows","collapseAllRows","updateColumnTitle","updateFormatText"],EVENTS:{"all.bs.table":"onAll","click-row.bs.table":"onClickRow","dbl-click-row.bs.table":"onDblClickRow","click-cell.bs.table":"onClickCell","dbl-click-cell.bs.table":"onDblClickCell","sort.bs.table":"onSort","check.bs.table":"onCheck","uncheck.bs.table":"onUncheck","check-all.bs.table":"onCheckAll","uncheck-all.bs.table":"onUncheckAll","check-some.bs.table":"onCheckSome","uncheck-some.bs.table":"onUncheckSome","load-success.bs.table":"onLoadSuccess","load-error.bs.table":"onLoadError","column-switch.bs.table":"onColumnSwitch","column-switch-all.bs.table":"onColumnSwitchAll","page-change.bs.table":"onPageChange","search.bs.table":"onSearch","toggle.bs.table":"onToggle","pre-body.bs.table":"onPreBody","post-body.bs.table":"onPostBody","post-header.bs.table":"onPostHeader","post-footer.bs.table":"onPostFooter","expand-row.bs.table":"onExpandRow","collapse-row.bs.table":"onCollapseRow","refresh-options.bs.table":"onRefreshOptions","reset-view.bs.table":"onResetView","refresh.bs.table":"onRefresh","scroll-body.bs.table":"onScrollBody","toggle-pagination.bs.table":"onTogglePagination","virtual-scroll.bs.table":"onVirtualScroll"},LOCALES:{en:mm,"en-US":mm}},ym=function(){function e(t){var n=this;r(this,e),this.rows=t.rows,this.scrollEl=t.scrollEl,this.contentEl=t.contentEl,this.callback=t.callback,this.itemHeight=t.itemHeight,this.cache={},this.scrollTop=this.scrollEl.scrollTop,this.initDOM(this.rows,t.fixedScroll),this.scrollEl.scrollTop=this.scrollTop,this.lastCluster=0;var a=function(){n.lastCluster!==(n.lastCluster=n.getNum())&&(n.initDOM(n.rows),n.callback(n.startIndex,n.endIndex))};this.scrollEl.addEventListener("scroll",a,!1),this.destroy=function(){n.contentEl.innerHtml="",n.scrollEl.removeEventListener("scroll",a,!1)}}return a(e,[{key:"initDOM",value:function(e,t){void 0===this.clusterHeight&&(this.cache.scrollTop=this.scrollEl.scrollTop,this.cache.data=this.contentEl.innerHTML=e[0]+e[0]+e[0],this.getRowsHeight(e));var r=this.initData(e,this.getNum(t)),n=r.rows.join(""),a=this.checkChanges("data",n),o=this.checkChanges("top",r.topOffset),i=this.checkChanges("bottom",r.bottomOffset),s=[];a&&o?(r.topOffset&&s.push(this.getExtra("top",r.topOffset)),s.push(n),r.bottomOffset&&s.push(this.getExtra("bottom",r.bottomOffset)),this.startIndex=r.start,this.endIndex=r.end,this.contentEl.innerHTML=s.join(""),t&&(this.contentEl.scrollTop=this.cache.scrollTop)):i&&(this.contentEl.lastChild.style.height="".concat(r.bottomOffset,"px"))}},{key:"getRowsHeight",value:function(){if(void 0===this.itemHeight){var e=this.contentEl.children,t=e[Math.floor(e.length/2)];this.itemHeight=t.offsetHeight}this.blockHeight=50*this.itemHeight,this.clusterRows=200,this.clusterHeight=4*this.blockHeight}},{key:"getNum",value:function(e){return this.scrollTop=e?this.cache.scrollTop:this.scrollEl.scrollTop,Math.floor(this.scrollTop/(this.clusterHeight-this.blockHeight))||0}},{key:"initData",value:function(e,t){if(e.length<50)return{topOffset:0,bottomOffset:0,rowsAbove:0,rows:e};var r=Math.max((this.clusterRows-50)*t,0),n=r+this.clusterRows,a=Math.max(r*this.itemHeight,0),o=Math.max((e.length-n)*this.itemHeight,0),i=[],s=r;a<1&&s++;for(var c=r;c<n;c++)e[c]&&i.push(e[c]);return{start:r,end:n,topOffset:a,bottomOffset:o,rowsAbove:s,rows:i}}},{key:"checkChanges",value:function(e,t){var r=t!==this.cache[e];return this.cache[e]=t,r}},{key:"getExtra",value:function(e,t){var r=document.createElement("tr");return r.className="virtual-scroll-".concat(e),t&&(r.style.height="".concat(t,"px")),r.outerHTML}}]),e}(),wm=function(){function n(t,a){r(this,n),this.options=a,this.$el=e(t),this.$el_=this.$el.clone(),this.timeoutId_=0,this.timeoutFooter_=0}return a(n,[{key:"init",value:function(){this.initConstants(),this.initLocale(),this.initContainer(),this.initTable(),this.initHeader(),this.initData(),this.initHiddenRows(),this.initToolbar(),this.initPagination(),this.initBody(),this.initSearchText(),this.initServer()}},{key:"initConstants",value:function(){var r=this.options;this.constants=bm.CONSTANTS,this.constants.theme=e.fn.bootstrapTable.theme,this.constants.dataToggle=this.constants.html.dataToggle||"data-toggle";var n=hm.getIconsPrefix(e.fn.bootstrapTable.theme),a=hm.getIcons(n);"string"==typeof r.icons&&(r.icons=hm.calculateObjectValue(null,r.icons)),r.iconsPrefix=r.iconsPrefix||e.fn.bootstrapTable.defaults.iconsPrefix||n,r.icons=Object.assign(a,e.fn.bootstrapTable.defaults.icons,r.icons);var o=r.buttonsPrefix?"".concat(r.buttonsPrefix,"-"):"";this.constants.buttonsClass=[r.buttonsPrefix,o+r.buttonsClass,hm.sprintf("".concat(o,"%s"),r.iconSize)].join(" ").trim(),this.buttons=hm.calculateObjectValue(this,r.buttons,[],{}),"object"!==t(this.buttons)&&(this.buttons={})}},{key:"initLocale",value:function(){if(this.options.locale){var t=e.fn.bootstrapTable.locales,r=this.options.locale.split(/-|_/);r[0]=r[0].toLowerCase(),r[1]&&(r[1]=r[1].toUpperCase());var a={};t[this.options.locale]?a=t[this.options.locale]:t[r.join("-")]?a=t[r.join("-")]:t[r[0]]&&(a=t[r[0]]);for(var i=0,s=Object.entries(a);i<s.length;i++){var c=o(s[i],2),l=c[0],u=c[1];this.options[l]===n.DEFAULTS[l]&&(this.options[l]=u)}}}},{key:"initContainer",value:function(){var t=["top","both"].includes(this.options.paginationVAlign)?'<div class="fixed-table-pagination clearfix"></div>':"",r=["bottom","both"].includes(this.options.paginationVAlign)?'<div class="fixed-table-pagination"></div>':"",n=hm.calculateObjectValue(this.options,this.options.loadingTemplate,[this.options.formatLoadingMessage()]);this.$container=e('\n <div class="bootstrap-table '.concat(this.constants.theme,'">\n <div class="fixed-table-toolbar"></div>\n ').concat(t,'\n <div class="fixed-table-container">\n <div class="fixed-table-header"><table></table></div>\n <div class="fixed-table-body">\n <div class="fixed-table-loading">\n ').concat(n,'\n </div>\n </div>\n <div class="fixed-table-footer"></div>\n </div>\n ').concat(r,"\n </div>\n ")),this.$container.insertAfter(this.$el),this.$tableContainer=this.$container.find(".fixed-table-container"),this.$tableHeader=this.$container.find(".fixed-table-header"),this.$tableBody=this.$container.find(".fixed-table-body"),this.$tableLoading=this.$container.find(".fixed-table-loading"),this.$tableFooter=this.$el.find("tfoot"),this.options.buttonsToolbar?this.$toolbar=e("body").find(this.options.buttonsToolbar):this.$toolbar=this.$container.find(".fixed-table-toolbar"),this.$pagination=this.$container.find(".fixed-table-pagination"),this.$tableBody.append(this.$el),this.$container.after('<div class="clearfix"></div>'),this.$el.addClass(this.options.classes),this.$tableLoading.addClass(this.options.classes),this.options.height&&(this.$tableContainer.addClass("fixed-height"),this.options.showFooter&&this.$tableContainer.addClass("has-footer"),this.options.classes.split(" ").includes("table-bordered")&&(this.$tableBody.append('<div class="fixed-table-border"></div>'),this.$tableBorder=this.$tableBody.find(".fixed-table-border"),this.$tableLoading.addClass("fixed-table-border")),this.$tableFooter=this.$container.find(".fixed-table-footer"))}},{key:"initTable",value:function(){var t=this,r=[];if(this.$header=this.$el.find(">thead"),this.$header.length?this.options.theadClasses&&this.$header.addClass(this.options.theadClasses):this.$header=e('<thead class="'.concat(this.options.theadClasses,'"></thead>')).appendTo(this.$el),this._headerTrClasses=[],this._headerTrStyles=[],this.$header.find("tr").each((function(n,a){var o=e(a),i=[];o.find("th").each((function(t,r){var n=e(r);void 0!==n.data("field")&&n.data("field","".concat(n.data("field")));var a=Object.assign({},n.data());for(var o in a)e.fn.bootstrapTable.columnDefaults.hasOwnProperty(o)&&delete a[o];i.push(hm.extend({},{_data:hm.getRealDataAttr(a),title:n.html(),class:n.attr("class"),titleTooltip:n.attr("title"),rowspan:n.attr("rowspan")?+n.attr("rowspan"):void 0,colspan:n.attr("colspan")?+n.attr("colspan"):void 0},n.data()))})),r.push(i),o.attr("class")&&t._headerTrClasses.push(o.attr("class")),o.attr("style")&&t._headerTrStyles.push(o.attr("style"))})),Array.isArray(this.options.columns[0])||(this.options.columns=[this.options.columns]),this.options.columns=hm.extend(!0,[],r,this.options.columns),this.columns=[],this.fieldsColumnsIndex=[],hm.setFieldIndex(this.options.columns),this.options.columns.forEach((function(e,r){e.forEach((function(e,a){var o=hm.extend({},n.COLUMN_DEFAULTS,e,{passed:e});void 0!==o.fieldIndex&&(t.columns[o.fieldIndex]=o,t.fieldsColumnsIndex[o.field]=o.fieldIndex),t.options.columns[r][a]=o}))})),!this.options.data.length){var a=hm.trToData(this.columns,this.$el.find(">tbody>tr"));a.length&&(this.options.data=a,this.fromHtml=!0)}this.options.pagination&&"server"!==this.options.sidePagination||(this.footerData=hm.trToData(this.columns,this.$el.find(">tfoot>tr"))),this.footerData&&this.$el.find("tfoot").html("<tr></tr>"),!this.options.showFooter||this.options.cardView?this.$tableFooter.hide():this.$tableFooter.show()}},{key:"initHeader",value:function(){var r=this,n={},a=[];this.header={fields:[],styles:[],classes:[],formatters:[],detailFormatters:[],events:[],sorters:[],sortNames:[],cellStyles:[],searchables:[]},hm.updateFieldGroup(this.options.columns,this.columns),this.options.columns.forEach((function(e,i){var s=[];s.push("<tr".concat(hm.sprintf(' class="%s"',r._headerTrClasses[i])," ").concat(hm.sprintf(' style="%s"',r._headerTrStyles[i]),">"));var c="";if(0===i&&hm.hasDetailViewIcon(r.options)){var l=r.options.columns.length>1?' rowspan="'.concat(r.options.columns.length,'"'):"";c='<th class="detail"'.concat(l,'>\n <div class="fht-cell"></div>\n </th>')}c&&"right"!==r.options.detailViewAlign&&s.push(c),e.forEach((function(e,a){var c=hm.sprintf(' class="%s"',e.class),l=e.widthUnit,u=parseFloat(e.width),f=e.halign?e.halign:e.align,h=hm.sprintf("text-align: %s; ",f),d=hm.sprintf("text-align: %s; ",e.align),p=hm.sprintf("vertical-align: %s; ",e.valign);if(p+=hm.sprintf("width: %s; ",!e.checkbox&&!e.radio||u?u?u+l:void 0:e.showSelectTitle?void 0:"36px"),void 0!==e.fieldIndex||e.visible){var g=hm.calculateObjectValue(null,r.options.headerStyle,[e]),m=[],v=[],b="";if(g&&g.css)for(var y=0,w=Object.entries(g.css);y<w.length;y++){var S=o(w[y],2),x=S[0],A=S[1];m.push("".concat(x,": ").concat(A))}if(g&&g.classes&&(b=hm.sprintf(' class="%s"',e.class?[e.class,g.classes].join(" "):g.classes)),void 0!==e.fieldIndex){if(r.header.fields[e.fieldIndex]=e.field,r.header.styles[e.fieldIndex]=d+p,r.header.classes[e.fieldIndex]=c,r.header.formatters[e.fieldIndex]=e.formatter,r.header.detailFormatters[e.fieldIndex]=e.detailFormatter,r.header.events[e.fieldIndex]=e.events,r.header.sorters[e.fieldIndex]=e.sorter,r.header.sortNames[e.fieldIndex]=e.sortName,r.header.cellStyles[e.fieldIndex]=e.cellStyle,r.header.searchables[e.fieldIndex]=e.searchable,!e.visible)return;if(r.options.cardView&&!e.cardVisible)return;n[e.field]=e}if(Object.keys(e._data||{}).length>0)for(var k=0,T=Object.entries(e._data);k<T.length;k++){var E=o(T[k],2),_=E[0],N=E[1];v.push("data-".concat(_,"='").concat("object"===t(N)?JSON.stringify(N):N,"'"))}s.push("<th".concat(hm.sprintf(' title="%s"',e.titleTooltip)),e.checkbox||e.radio?hm.sprintf(' class="bs-checkbox %s"',e.class||""):b||c,hm.sprintf(' style="%s"',h+p+m.join("; ")),hm.sprintf(' rowspan="%s"',e.rowspan),hm.sprintf(' colspan="%s"',e.colspan),hm.sprintf(' data-field="%s"',e.field),0===a&&i>0?" data-not-first-th":"",v.length>0?v.join(" "):"",">"),s.push(hm.sprintf('<div class="th-inner %s">',r.options.sortable&&e.sortable?"sortable".concat("center"===f?" sortable-center":""," both"):""));var C=r.options.escape&&r.options.escapeTitle?hm.escapeHTML(e.title):e.title,O=C;e.checkbox&&(C="",!r.options.singleSelect&&r.options.checkboxHeader&&(C='<label><input name="btSelectAll" type="checkbox" /><span></span></label>'),r.header.stateField=e.field),e.radio&&(C="",r.header.stateField=e.field),!C&&e.showSelectTitle&&(C+=O),s.push(C),s.push("</div>"),s.push('<div class="fht-cell"></div>'),s.push("</div>"),s.push("</th>")}})),c&&"right"===r.options.detailViewAlign&&s.push(c),s.push("</tr>"),s.length>3&&a.push(s.join(""))})),this.$header.html(a.join("")),this.$header.find("th[data-field]").each((function(t,r){e(r).data(n[e(r).data("field")])})),this.$container.off("click",".th-inner").on("click",".th-inner",(function(t){var n=e(t.currentTarget);if(r.options.detailView&&!n.parent().hasClass("bs-checkbox")&&n.closest(".bootstrap-table")[0]!==r.$container[0])return!1;r.options.sortable&&n.parent().data().sortable&&r.onSort(t)}));var i=hm.getEventName("resize.bootstrap-table",this.$el.attr("id"));e(window).off(i),!this.options.showHeader||this.options.cardView?(this.$header.hide(),this.$tableHeader.hide(),this.$tableLoading.css("top",0)):(this.$header.show(),this.$tableHeader.show(),this.$tableLoading.css("top",this.$header.outerHeight()+1),this.getCaret(),e(window).on(i,(function(){return r.resetView()}))),this.$selectAll=this.$header.find('[name="btSelectAll"]'),this.$selectAll.off("click").on("click",(function(t){t.stopPropagation();var n=e(t.currentTarget).prop("checked");r[n?"checkAll":"uncheckAll"](),r.updateSelected()}))}},{key:"initData",value:function(e,t){"append"===t?this.options.data=this.options.data.concat(e):"prepend"===t?this.options.data=[].concat(e).concat(this.options.data):(e=e||hm.deepCopy(this.options.data),this.options.data=Array.isArray(e)?e:e[this.options.dataField]),this.data=i(this.options.data),this.options.sortReset&&(this.unsortedData=i(this.data)),"server"!==this.options.sidePagination&&this.initSort()}},{key:"initSort",value:function(){var e=this,t=this.options.sortName,r="desc"===this.options.sortOrder?-1:1,n=this.header.fields.indexOf(this.options.sortName),a=0;-1!==n?(this.options.sortStable&&this.data.forEach((function(e,t){e.hasOwnProperty("_position")||(e._position=t)})),this.options.customSort?hm.calculateObjectValue(this.options,this.options.customSort,[this.options.sortName,this.options.sortOrder,this.data]):this.data.sort((function(a,o){e.header.sortNames[n]&&(t=e.header.sortNames[n]);var i=hm.getItemField(a,t,e.options.escape),s=hm.getItemField(o,t,e.options.escape),c=hm.calculateObjectValue(e.header,e.header.sorters[n],[i,s,a,o]);return void 0!==c?e.options.sortStable&&0===c?r*(a._position-o._position):r*c:hm.sort(i,s,r,e.options,a._position,o._position)})),void 0!==this.options.sortClass&&(clearTimeout(a),a=setTimeout((function(){e.$el.removeClass(e.options.sortClass);var t=e.$header.find('[data-field="'.concat(e.options.sortName,'"]')).index();e.$el.find("tr td:nth-child(".concat(t+1,")")).addClass(e.options.sortClass)}),250))):this.options.sortReset&&(this.data=i(this.unsortedData))}},{key:"sortBy",value:function(e){this.options.sortName=e.field,this.options.sortOrder=e.hasOwnProperty("sortOrder")?e.sortOrder:"asc",this._sort()}},{key:"onSort",value:function(t){var r=t.type,n=t.currentTarget,a="keypress"===r?e(n):e(n).parent(),o=this.$header.find("th").eq(a.index());if(this.$header.add(this.$header_).find("span.order").remove(),this.options.sortName===a.data("field")){var i=this.options.sortOrder,s=this.columns[this.fieldsColumnsIndex[a.data("field")]].sortOrder||this.columns[this.fieldsColumnsIndex[a.data("field")]].order;void 0===i?this.options.sortOrder="asc":"asc"===i?this.options.sortOrder=this.options.sortReset?"asc"===s?"desc":void 0:"desc":"desc"===this.options.sortOrder&&(this.options.sortOrder=this.options.sortReset?"desc"===s?"asc":void 0:"asc"),void 0===this.options.sortOrder&&(this.options.sortName=void 0)}else this.options.sortName=a.data("field"),this.options.rememberOrder?this.options.sortOrder="asc"===a.data("order")?"desc":"asc":this.options.sortOrder=this.columns[this.fieldsColumnsIndex[a.data("field")]].sortOrder||this.columns[this.fieldsColumnsIndex[a.data("field")]].order;a.add(o).data("order",this.options.sortOrder),this.getCaret(),this._sort()}},{key:"_sort",value:function(){if(this.trigger("sort",this.options.sortName,this.options.sortOrder),"server"===this.options.sidePagination&&this.options.serverSort)return this.options.pageNumber=1,void this.initServer(this.options.silentSort);this.options.pagination&&this.options.sortResetPage&&(this.options.pageNumber=1,this.initPagination()),this.initSort(),this.initBody()}},{key:"initToolbar",value:function(){var r,n=this,a=this.options,i=[],s=0,c=0;this.$toolbar.find(".bs-bars").children().length&&e("body").append(e(a.toolbar)),this.$toolbar.html(""),"string"!=typeof a.toolbar&&"object"!==t(a.toolbar)||e(hm.sprintf('<div class="bs-bars %s-%s"></div>',this.constants.classes.pull,a.toolbarAlign)).appendTo(this.$toolbar).append(e(a.toolbar)),i=['<div class="'.concat(["columns","columns-".concat(a.buttonsAlign),this.constants.classes.buttonsGroup,"".concat(this.constants.classes.pull,"-").concat(a.buttonsAlign)].join(" "),'">')],"string"==typeof a.buttonsOrder&&(a.buttonsOrder=a.buttonsOrder.replace(/\[|\]| |'/g,"").split(",")),this.buttons=Object.assign(this.buttons,{paginationSwitch:{text:a.pagination?a.formatPaginationSwitchUp():a.formatPaginationSwitchDown(),icon:a.pagination?a.icons.paginationSwitchDown:a.icons.paginationSwitchUp,render:!1,event:this.togglePagination,attributes:{"aria-label":a.formatPaginationSwitch(),title:a.formatPaginationSwitch()}},refresh:{text:a.formatRefresh(),icon:a.icons.refresh,render:!1,event:this.refresh,attributes:{"aria-label":a.formatRefresh(),title:a.formatRefresh()}},toggle:{text:a.formatToggleOn(),icon:a.icons.toggleOff,render:!1,event:this.toggleView,attributes:{"aria-label":a.formatToggleOn(),title:a.formatToggleOn()}},fullscreen:{text:a.formatFullscreen(),icon:a.icons.fullscreen,render:!1,event:this.toggleFullscreen,attributes:{"aria-label":a.formatFullscreen(),title:a.formatFullscreen()}},columns:{render:!1,html:function(){var e=[];if(e.push('<div class="keep-open '.concat(n.constants.classes.buttonsDropdown,'">\n <button class="').concat(n.constants.buttonsClass,' dropdown-toggle" type="button" ').concat(n.constants.dataToggle,'="dropdown"\n aria-label="').concat(a.formatColumns(),'" title="').concat(a.formatColumns(),'">\n ').concat(a.showButtonIcons?hm.sprintf(n.constants.html.icon,a.iconsPrefix,a.icons.columns):"","\n ").concat(a.showButtonText?a.formatColumns():"","\n ").concat(n.constants.html.dropdownCaret,"\n </button>\n ").concat(n.constants.html.toolbarDropdown[0])),a.showColumnsSearch&&(e.push(hm.sprintf(n.constants.html.toolbarDropdownItem,hm.sprintf('<input type="text" class="%s" name="columnsSearch" placeholder="%s" autocomplete="off">',n.constants.classes.input,a.formatSearch()))),e.push(n.constants.html.toolbarDropdownSeparator)),a.showColumnsToggleAll){var t=n.getVisibleColumns().length===n.columns.filter((function(e){return!n.isSelectionColumn(e)})).length;e.push(hm.sprintf(n.constants.html.toolbarDropdownItem,hm.sprintf('<input type="checkbox" class="toggle-all" %s> <span>%s</span>',t?'checked="checked"':"",a.formatColumnsToggleAll()))),e.push(n.constants.html.toolbarDropdownSeparator)}var r=0;return n.columns.forEach((function(e){e.visible&&r++})),n.columns.forEach((function(t,o){if(!n.isSelectionColumn(t)&&(!a.cardView||t.cardVisible)){var i=t.visible?' checked="checked"':"",s=r<=a.minimumCountColumns&&i?' disabled="disabled"':"";t.switchable&&(e.push(hm.sprintf(n.constants.html.toolbarDropdownItem,hm.sprintf('<input type="checkbox" data-field="%s" value="%s"%s%s> <span>%s</span>',t.field,o,i,s,t.switchableLabel?t.switchableLabel:t.title))),c++)}})),e.push(n.constants.html.toolbarDropdown[1],"</div>"),e.join("")}}});for(var u={},f=0,h=Object.entries(this.buttons);f<h.length;f++){var d=o(h[f],2),p=d[0],g=d[1],m=void 0;if(g.hasOwnProperty("html"))"function"==typeof g.html?m=g.html():"string"==typeof g.html&&(m=g.html);else{var v=this.constants.buttonsClass;if(g.hasOwnProperty("attributes")&&g.attributes.class&&(v+=" ".concat(g.attributes.class)),m='<button class="'.concat(v,'" type="button" name="').concat(p,'"'),g.hasOwnProperty("attributes"))for(var b=0,y=Object.entries(g.attributes);b<y.length;b++){var w=o(y[b],2),S=w[0],x=w[1];"class"!==S&&(m+=" ".concat(S,'="').concat(x,'"'))}m+=">",a.showButtonIcons&&g.hasOwnProperty("icon")&&(m+="".concat(hm.sprintf(this.constants.html.icon,a.iconsPrefix,g.icon)," ")),a.showButtonText&&g.hasOwnProperty("text")&&(m+=g.text),m+="</button>"}u[p]=m;var A="show".concat(p.charAt(0).toUpperCase()).concat(p.substring(1)),k=a[A];!(!g.hasOwnProperty("render")||g.hasOwnProperty("render")&&g.render)||void 0!==k&&!0!==k||(a[A]=!0),a.buttonsOrder.includes(p)||a.buttonsOrder.push(p)}var T,E=l(a.buttonsOrder);try{for(E.s();!(T=E.n()).done;){var _=T.value;a["show".concat(_.charAt(0).toUpperCase()).concat(_.substring(1))]&&i.push(u[_])}}catch(e){E.e(e)}finally{E.f()}i.push("</div>"),(this.showToolbar||i.length>2)&&this.$toolbar.append(i.join(""));for(var N=0,C=Object.entries(this.buttons);N<C.length;N++){var O=o(C[N],2),R=O[0],P=O[1];if(P.hasOwnProperty("event")){if("function"==typeof P.event||"string"==typeof P.event)if("continue"===function(){var e="string"==typeof P.event?window[P.event]:P.event;return n.$toolbar.find('button[name="'.concat(R,'"]')).off("click").on("click",(function(){return e.call(n)})),"continue"}())continue;for(var L=function(){var e=o(F[I],2),t=e[0],r=e[1],a="string"==typeof r?window[r]:r;n.$toolbar.find('button[name="'.concat(R,'"]')).off(t).on(t,(function(){return a.call(n)}))},I=0,F=Object.entries(P.event);I<F.length;I++)L()}}if(a.showColumns){var D=(r=this.$toolbar.find(".keep-open")).find('input[type="checkbox"]:not(".toggle-all")'),M=r.find('input[type="checkbox"].toggle-all');if(c<=a.minimumCountColumns&&r.find("input").prop("disabled",!0),r.find("li, label").off("click").on("click",(function(e){e.stopImmediatePropagation()})),D.off("click").on("click",(function(t){var r=t.currentTarget,a=e(r);n._toggleColumn(a.val(),a.prop("checked"),!1),n.trigger("column-switch",a.data("field"),a.prop("checked")),M.prop("checked",D.filter(":checked").length===n.columns.filter((function(e){return!n.isSelectionColumn(e)})).length)})),M.off("click").on("click",(function(t){var r=t.currentTarget;n._toggleAllColumns(e(r).prop("checked")),n.trigger("column-switch-all",e(r).prop("checked"))})),a.showColumnsSearch){var j=r.find('[name="columnsSearch"]'),B=r.find(".dropdown-item-marker");j.on("keyup paste change",(function(t){var r=t.currentTarget,n=e(r).val().toLowerCase();B.show(),D.each((function(t,r){var a=e(r).parents(".dropdown-item-marker");a.text().toLowerCase().includes(n)||a.hide()}))}))}}var W=function(e){var t=e.is("select")?"change":"keyup drop blur mouseup";e.off(t).on(t,(function(e){a.searchOnEnterKey&&13!==e.keyCode||[37,38,39,40].includes(e.keyCode)||(clearTimeout(s),s=setTimeout((function(){n.onSearch({currentTarget:e.currentTarget})}),a.searchTimeOut))}))};if((a.search||this.showSearchClearButton)&&"string"!=typeof a.searchSelector){i=[];var U=hm.sprintf(this.constants.html.searchButton,this.constants.buttonsClass,a.formatSearch(),a.showButtonIcons?hm.sprintf(this.constants.html.icon,a.iconsPrefix,a.icons.search):"",a.showButtonText?a.formatSearch():""),H=hm.sprintf(this.constants.html.searchClearButton,this.constants.buttonsClass,a.formatClearSearch(),a.showButtonIcons?hm.sprintf(this.constants.html.icon,a.iconsPrefix,a.icons.clearSearch):"",a.showButtonText?a.formatClearSearch():""),z='<input class="'.concat(this.constants.classes.input,"\n ").concat(hm.sprintf(" %s%s",this.constants.classes.inputPrefix,a.iconSize),'\n search-input" type="search" aria-label="').concat(a.formatSearch(),'" placeholder="').concat(a.formatSearch(),'" autocomplete="off">'),V=z;if(a.showSearchButton||a.showSearchClearButton){var q=(a.showSearchButton?U:"")+(a.showSearchClearButton?H:"");V=a.search?hm.sprintf(this.constants.html.inputGroup,z,q):q}i.push(hm.sprintf('\n <div class="'.concat(this.constants.classes.pull,"-").concat(a.searchAlign," search ").concat(this.constants.classes.inputGroup,'">\n %s\n </div>\n '),V)),this.$toolbar.append(i.join(""));var $=hm.getSearchInput(this);a.showSearchButton?(this.$toolbar.find(".search button[name=search]").off("click").on("click",(function(){clearTimeout(s),s=setTimeout((function(){n.onSearch({currentTarget:$})}),a.searchTimeOut)})),a.searchOnEnterKey&&W($)):W($),a.showSearchClearButton&&this.$toolbar.find(".search button[name=clearSearch]").click((function(){n.resetSearch()}))}else if("string"==typeof a.searchSelector){W(hm.getSearchInput(this))}}},{key:"onSearch",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=t.currentTarget,n=t.firedByInitSearchText,a=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(void 0!==r&&e(r).length&&a){var o=e(r).val().trim();if(this.options.trimOnSearch&&e(r).val()!==o&&e(r).val(o),this.searchText===o)return;var i=hm.getSearchInput(this),s=r instanceof jQuery?r:e(r);(s.is(i)||s.hasClass("search-input"))&&(this.searchText=o,this.options.searchText=o)}n||(this.options.pageNumber=1),this.initSearch(),n?"client"===this.options.sidePagination&&this.updatePagination():this.updatePagination(),this.trigger("search",this.searchText)}},{key:"initSearch",value:function(){var e=this;if(this.filterOptions=this.filterOptions||this.options.filterOptions,"server"!==this.options.sidePagination){if(this.options.customSearch)return this.data=hm.calculateObjectValue(this.options,this.options.customSearch,[this.options.data,this.searchText,this.filterColumns]),this.options.sortReset&&(this.unsortedData=i(this.data)),void this.initSort();var t=this.searchText&&(this.fromHtml?hm.escapeHTML(this.searchText):this.searchText),r=t?t.toLowerCase():"",n=hm.isEmptyObject(this.filterColumns)?null:this.filterColumns;this.options.searchAccentNeutralise&&(r=hm.normalizeAccent(r)),"function"==typeof this.filterOptions.filterAlgorithm?this.data=this.options.data.filter((function(t){return e.filterOptions.filterAlgorithm.apply(null,[t,n])})):"string"==typeof this.filterOptions.filterAlgorithm&&(this.data=n?this.options.data.filter((function(t){var r=e.filterOptions.filterAlgorithm;if("and"===r){for(var a in n)if(Array.isArray(n[a])&&!n[a].includes(t[a])||!Array.isArray(n[a])&&t[a]!==n[a])return!1}else if("or"===r){var o=!1;for(var i in n)(Array.isArray(n[i])&&n[i].includes(t[i])||!Array.isArray(n[i])&&t[i]===n[i])&&(o=!0);return o}return!0})):i(this.options.data));var a=this.getVisibleFields();this.data=r?this.data.filter((function(n,o){for(var i=0;i<e.header.fields.length;i++)if(e.header.searchables[i]&&(!e.options.visibleSearch||-1!==a.indexOf(e.header.fields[i]))){var s=hm.isNumeric(e.header.fields[i])?parseInt(e.header.fields[i],10):e.header.fields[i],c=e.columns[e.fieldsColumnsIndex[s]],l=void 0;if("string"==typeof s){l=n;for(var u=s.split("."),f=0;f<u.length;f++){if(null===l[u[f]]){l=null;break}l=l[u[f]]}}else l=n[s];if(e.options.searchAccentNeutralise&&(l=hm.normalizeAccent(l)),c&&c.searchFormatter&&(l=hm.calculateObjectValue(c,e.header.formatters[i],[l,n,o,c.field],l)),"string"==typeof l||"number"==typeof l){if(e.options.strictSearch&&"".concat(l).toLowerCase()===r||e.options.regexSearch&&hm.regexCompare(l,t))return!0;var h=/(?:(<=|=>|=<|>=|>|<)(?:\s+)?(-?\d+)?|(-?\d+)?(\s+)?(<=|=>|=<|>=|>|<))/gm.exec(e.searchText),d=!1;if(h){var p=h[1]||"".concat(h[5],"l"),g=h[2]||h[3],m=parseInt(l,10),v=parseInt(g,10);switch(p){case">":case"<l":d=m>v;break;case"<":case">l":d=m<v;break;case"<=":case"=<":case">=l":case"=>l":d=m<=v;break;case">=":case"=>":case"<=l":case"=<l":d=m>=v}}if(d||"".concat(l).toLowerCase().includes(r))return!0}}return!1})):this.data,this.options.sortReset&&(this.unsortedData=i(this.data)),this.initSort()}}},{key:"initPagination",value:function(){var e=this,t=this.options;if(t.pagination){this.$pagination.show();var r,n,a,o,i,s,c,l=[],u=!1,f=this.getData({includeHiddenRows:!1}),h=t.pageList;if("string"==typeof h&&(h=h.replace(/\[|\]| /g,"").toLowerCase().split(",")),h=h.map((function(e){return"string"==typeof e?e.toLowerCase()===t.formatAllRows().toLowerCase()||["all","unlimited"].includes(e.toLowerCase())?t.formatAllRows():+e:e})),this.paginationParts=t.paginationParts,"string"==typeof this.paginationParts&&(this.paginationParts=this.paginationParts.replace(/\[|\]| |'/g,"").split(",")),"server"!==t.sidePagination&&(t.totalRows=f.length),this.totalPages=0,t.totalRows&&(t.pageSize===t.formatAllRows()&&(t.pageSize=t.totalRows,u=!0),this.totalPages=1+~~((t.totalRows-1)/t.pageSize),t.totalPages=this.totalPages),this.totalPages>0&&t.pageNumber>this.totalPages&&(t.pageNumber=this.totalPages),this.pageFrom=(t.pageNumber-1)*t.pageSize+1,this.pageTo=t.pageNumber*t.pageSize,this.pageTo>t.totalRows&&(this.pageTo=t.totalRows),this.options.pagination&&"server"!==this.options.sidePagination&&(this.options.totalNotFiltered=this.options.data.length),this.options.showExtendedPagination||(this.options.totalNotFiltered=void 0),(this.paginationParts.includes("pageInfo")||this.paginationParts.includes("pageInfoShort")||this.paginationParts.includes("pageSize"))&&l.push('<div class="'.concat(this.constants.classes.pull,"-").concat(t.paginationDetailHAlign,' pagination-detail">')),this.paginationParts.includes("pageInfo")||this.paginationParts.includes("pageInfoShort")){var d=this.paginationParts.includes("pageInfoShort")?t.formatDetailPagination(t.totalRows):t.formatShowingRows(this.pageFrom,this.pageTo,t.totalRows,t.totalNotFiltered);l.push('<span class="pagination-info">\n '.concat(d,"\n </span>"))}if(this.paginationParts.includes("pageSize")){l.push('<div class="page-list">');var p=['<div class="'.concat(this.constants.classes.paginationDropdown,'">\n <button class="').concat(this.constants.buttonsClass,' dropdown-toggle" type="button" ').concat(this.constants.dataToggle,'="dropdown">\n <span class="page-size">\n ').concat(u?t.formatAllRows():t.pageSize,"\n </span>\n ").concat(this.constants.html.dropdownCaret,"\n </button>\n ").concat(this.constants.html.pageDropdown[0])];h.forEach((function(r,n){var a;(!t.smartDisplay||0===n||h[n-1]<t.totalRows||r===t.formatAllRows())&&(a=u?r===t.formatAllRows()?e.constants.classes.dropdownActive:"":r===t.pageSize?e.constants.classes.dropdownActive:"",p.push(hm.sprintf(e.constants.html.pageDropdownItem,a,r)))})),p.push("".concat(this.constants.html.pageDropdown[1],"</div>")),l.push(t.formatRecordsPerPage(p.join("")))}if((this.paginationParts.includes("pageInfo")||this.paginationParts.includes("pageInfoShort")||this.paginationParts.includes("pageSize"))&&l.push("</div></div>"),this.paginationParts.includes("pageList")){l.push('<div class="'.concat(this.constants.classes.pull,"-").concat(t.paginationHAlign,' pagination">'),hm.sprintf(this.constants.html.pagination[0],hm.sprintf(" pagination-%s",t.iconSize)),hm.sprintf(this.constants.html.paginationItem," page-pre",t.formatSRPaginationPreText(),t.paginationPreText)),this.totalPages<t.paginationSuccessivelySize?(n=1,a=this.totalPages):a=(n=t.pageNumber-t.paginationPagesBySide)+2*t.paginationPagesBySide,t.pageNumber<t.paginationSuccessivelySize-1&&(a=t.paginationSuccessivelySize),t.paginationSuccessivelySize>this.totalPages-n&&(n=n-(t.paginationSuccessivelySize-(this.totalPages-n))+1),n<1&&(n=1),a>this.totalPages&&(a=this.totalPages);var g=Math.round(t.paginationPagesBySide/2),m=function(r){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return hm.sprintf(e.constants.html.paginationItem,n+(r===t.pageNumber?" ".concat(e.constants.classes.paginationActive):""),t.formatSRPaginationPageText(r),r)};if(n>1){var v=t.paginationPagesBySide;for(v>=n&&(v=n-1),r=1;r<=v;r++)l.push(m(r));n-1===v+1?(r=n-1,l.push(m(r))):n-1>v&&(n-2*t.paginationPagesBySide>t.paginationPagesBySide&&t.paginationUseIntermediate?(r=Math.round((n-g)/2+g),l.push(m(r," page-intermediate"))):l.push(hm.sprintf(this.constants.html.paginationItem," page-first-separator disabled","","...")))}for(r=n;r<=a;r++)l.push(m(r));if(this.totalPages>a){var b=this.totalPages-(t.paginationPagesBySide-1);for(a>=b&&(b=a+1),a+1===b-1?(r=a+1,l.push(m(r))):b>a+1&&(this.totalPages-a>2*t.paginationPagesBySide&&t.paginationUseIntermediate?(r=Math.round((this.totalPages-g-a)/2+a),l.push(m(r," page-intermediate"))):l.push(hm.sprintf(this.constants.html.paginationItem," page-last-separator disabled","","..."))),r=b;r<=this.totalPages;r++)l.push(m(r))}l.push(hm.sprintf(this.constants.html.paginationItem," page-next",t.formatSRPaginationNextText(),t.paginationNextText)),l.push(this.constants.html.pagination[1],"</div>")}this.$pagination.html(l.join(""));var y=["bottom","both"].includes(t.paginationVAlign)?" ".concat(this.constants.classes.dropup):"";this.$pagination.last().find(".page-list > div").addClass(y),t.onlyInfoPagination||(o=this.$pagination.find(".page-list a"),i=this.$pagination.find(".page-pre"),s=this.$pagination.find(".page-next"),c=this.$pagination.find(".page-item").not(".page-next, .page-pre, .page-last-separator, .page-first-separator"),this.totalPages<=1&&this.$pagination.find("div.pagination").hide(),t.smartDisplay&&(h.length<2||t.totalRows<=h[0])&&this.$pagination.find("div.page-list").hide(),this.$pagination[this.getData().length?"show":"hide"](),t.paginationLoop||(1===t.pageNumber&&i.addClass("disabled"),t.pageNumber===this.totalPages&&s.addClass("disabled")),u&&(t.pageSize=t.formatAllRows()),o.off("click").on("click",(function(t){return e.onPageListChange(t)})),i.off("click").on("click",(function(t){return e.onPagePre(t)})),s.off("click").on("click",(function(t){return e.onPageNext(t)})),c.off("click").on("click",(function(t){return e.onPageNumber(t)})))}else this.$pagination.hide()}},{key:"updatePagination",value:function(t){t&&e(t.currentTarget).hasClass("disabled")||(this.options.maintainMetaData||this.resetRows(),this.initPagination(),this.trigger("page-change",this.options.pageNumber,this.options.pageSize),"server"===this.options.sidePagination?this.initServer():this.initBody())}},{key:"onPageListChange",value:function(t){t.preventDefault();var r=e(t.currentTarget);return r.parent().addClass(this.constants.classes.dropdownActive).siblings().removeClass(this.constants.classes.dropdownActive),this.options.pageSize=r.text().toUpperCase()===this.options.formatAllRows().toUpperCase()?this.options.formatAllRows():+r.text(),this.$toolbar.find(".page-size").text(this.options.pageSize),this.updatePagination(t),!1}},{key:"onPagePre",value:function(t){if(!e(t.target).hasClass("disabled"))return t.preventDefault(),this.options.pageNumber-1==0?this.options.pageNumber=this.options.totalPages:this.options.pageNumber--,this.updatePagination(t),!1}},{key:"onPageNext",value:function(t){if(!e(t.target).hasClass("disabled"))return t.preventDefault(),this.options.pageNumber+1>this.options.totalPages?this.options.pageNumber=1:this.options.pageNumber++,this.updatePagination(t),!1}},{key:"onPageNumber",value:function(t){if(t.preventDefault(),this.options.pageNumber!==+e(t.currentTarget).text())return this.options.pageNumber=+e(t.currentTarget).text(),this.updatePagination(t),!1}},{key:"initRow",value:function(e,r,n,a){var i=this,s=[],c={},l=[],u="",f={},h=[];if(!(hm.findIndex(this.hiddenRows,e)>-1)){if((c=hm.calculateObjectValue(this.options,this.options.rowStyle,[e,r],c))&&c.css)for(var d=0,p=Object.entries(c.css);d<p.length;d++){var g=o(p[d],2),m=g[0],v=g[1];l.push("".concat(m,": ").concat(v))}if(f=hm.calculateObjectValue(this.options,this.options.rowAttributes,[e,r],f))for(var b=0,y=Object.entries(f);b<y.length;b++){var w=o(y[b],2),S=w[0],x=w[1];h.push("".concat(S,'="').concat(hm.escapeHTML(x),'"'))}if(e._data&&!hm.isEmptyObject(e._data))for(var A=0,k=Object.entries(e._data);A<k.length;A++){var T=o(k[A],2),E=T[0],_=T[1];if("index"===E)return;u+=" data-".concat(E,"='").concat("object"===t(_)?JSON.stringify(_):_,"'")}s.push("<tr",hm.sprintf(" %s",h.length?h.join(" "):void 0),hm.sprintf(' id="%s"',Array.isArray(e)?void 0:e._id),hm.sprintf(' class="%s"',c.classes||(Array.isArray(e)?void 0:e._class)),hm.sprintf(' style="%s"',Array.isArray(e)?void 0:e._style),' data-index="'.concat(r,'"'),hm.sprintf(' data-uniqueid="%s"',hm.getItemField(e,this.options.uniqueId,!1)),hm.sprintf(' data-has-detail-view="%s"',this.options.detailView&&hm.calculateObjectValue(null,this.options.detailFilter,[r,e])?"true":void 0),hm.sprintf("%s",u),">"),this.options.cardView&&s.push('<td colspan="'.concat(this.header.fields.length,'"><div class="card-views">'));var N="";return hm.hasDetailViewIcon(this.options)&&(N="<td>",hm.calculateObjectValue(null,this.options.detailFilter,[r,e])&&(N+='\n <a class="detail-icon" href="#">\n '.concat(hm.sprintf(this.constants.html.icon,this.options.iconsPrefix,this.options.icons.detailOpen),"\n </a>\n ")),N+="</td>"),N&&"right"!==this.options.detailViewAlign&&s.push(N),this.header.fields.forEach((function(t,n){var a=i.columns[n],c="",u=hm.getItemField(e,t,i.options.escape,a.escape),f="",h="",d={},p="",g=i.header.classes[n],m="",v="",b="",y="",w="",S="";if((!i.fromHtml&&!i.autoMergeCells||void 0!==u||a.checkbox||a.radio)&&a.visible&&(!i.options.cardView||a.cardVisible)){if(l.concat([i.header.styles[n]]).length&&(v+="".concat(l.concat([i.header.styles[n]]).join("; "))),e["_".concat(t,"_style")]&&(v+="".concat(e["_".concat(t,"_style")])),v&&(m=' style="'.concat(v,'"')),e["_".concat(t,"_id")]&&(p=hm.sprintf(' id="%s"',e["_".concat(t,"_id")])),e["_".concat(t,"_class")]&&(g=hm.sprintf(' class="%s"',e["_".concat(t,"_class")])),e["_".concat(t,"_rowspan")]&&(y=hm.sprintf(' rowspan="%s"',e["_".concat(t,"_rowspan")])),e["_".concat(t,"_colspan")]&&(w=hm.sprintf(' colspan="%s"',e["_".concat(t,"_colspan")])),e["_".concat(t,"_title")]&&(S=hm.sprintf(' title="%s"',e["_".concat(t,"_title")])),(d=hm.calculateObjectValue(i.header,i.header.cellStyles[n],[u,e,r,t],d)).classes&&(g=' class="'.concat(d.classes,'"')),d.css){for(var x=[],A=0,k=Object.entries(d.css);A<k.length;A++){var T=o(k[A],2),E=T[0],_=T[1];x.push("".concat(E,": ").concat(_))}m=' style="'.concat(x.concat(i.header.styles[n]).join("; "),'"')}if(f=hm.calculateObjectValue(a,i.header.formatters[n],[u,e,r,t],u),a.checkbox||a.radio||(f=null==f?i.options.undefinedText:f),a.searchable&&i.searchText&&i.options.searchHighlight&&!a.checkbox&&!a.radio){var N="",C=i.searchText.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");if(i.options.searchAccentNeutralise){var O=new RegExp("".concat(hm.normalizeAccent(C)),"gmi").exec(hm.normalizeAccent(f));O&&(C=f.substring(O.index,O.index+C.length))}var R=new RegExp("(".concat(C,")"),"gim"),P="<mark>$1</mark>";if(f&&/<(?=.*? .*?\/ ?>|br|hr|input|!--|wbr)[a-z]+.*?>|<([a-z]+).*?<\/\1>/i.test(f)){var L=(new DOMParser).parseFromString(f.toString(),"text/html").documentElement.textContent,I=L.replace(R,P);L=L.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),N=f.replace(new RegExp("(>\\s*)(".concat(L,")(\\s*)"),"gm"),"$1".concat(I,"$3"))}else N=f.toString().replace(R,P);f=hm.calculateObjectValue(a,a.searchHighlightFormatter,[f,i.searchText],N)}if(e["_".concat(t,"_data")]&&!hm.isEmptyObject(e["_".concat(t,"_data")]))for(var F=0,D=Object.entries(e["_".concat(t,"_data")]);F<D.length;F++){var M=o(D[F],2),j=M[0],B=M[1];if("index"===j)return;b+=" data-".concat(j,'="').concat(B,'"')}if(a.checkbox||a.radio){h=a.checkbox?"checkbox":h,h=a.radio?"radio":h;var W=a.class||"",U=hm.isObject(f)&&f.hasOwnProperty("checked")?f.checked:(!0===f||u)&&!1!==f,H=!a.checkboxEnabled||f&&f.disabled;c=[i.options.cardView?'<div class="card-view '.concat(W,'">'):'<td class="bs-checkbox '.concat(W,'"').concat(g).concat(m,">"),'<label>\n <input\n data-index="'.concat(r,'"\n name="').concat(i.options.selectItemName,'"\n type="').concat(h,'"\n ').concat(hm.sprintf('value="%s"',e[i.options.idField]),"\n ").concat(hm.sprintf('checked="%s"',U?"checked":void 0),"\n ").concat(hm.sprintf('disabled="%s"',H?"disabled":void 0)," />\n <span></span>\n </label>"),i.header.formatters[n]&&"string"==typeof f?f:"",i.options.cardView?"</div>":"</td>"].join(""),e[i.header.stateField]=!0===f||!!u||f&&f.checked}else if(i.options.cardView){var z=i.options.showHeader?'<span class="card-view-title '.concat(d.classes||"",'"').concat(m,">").concat(hm.getFieldTitle(i.columns,t),"</span>"):"";c='<div class="card-view">'.concat(z,'<span class="card-view-value ').concat(d.classes||"",'"').concat(m,">").concat(f,"</span></div>"),i.options.smartDisplay&&""===f&&(c='<div class="card-view"></div>')}else c="<td".concat(p).concat(g).concat(m).concat(b).concat(y).concat(w).concat(S,">").concat(f,"</td>");s.push(c)}})),N&&"right"===this.options.detailViewAlign&&s.push(N),this.options.cardView&&s.push("</div></td>"),s.push("</tr>"),s.join("")}}},{key:"initBody",value:function(t,r){var n=this,a=this.getData();this.trigger("pre-body",a),this.$body=this.$el.find(">tbody"),this.$body.length||(this.$body=e("<tbody></tbody>").appendTo(this.$el)),this.options.pagination&&"server"!==this.options.sidePagination||(this.pageFrom=1,this.pageTo=a.length);var o=[],i=e(document.createDocumentFragment()),s=!1,c=[];this.autoMergeCells=hm.checkAutoMergeCells(a.slice(this.pageFrom-1,this.pageTo));for(var l=this.pageFrom-1;l<this.pageTo;l++){var u=a[l],f=this.initRow(u,l,a,i);if(s=s||!!f,f&&"string"==typeof f){var h=this.options.uniqueId;if(h&&u.hasOwnProperty(h)){var d=u[h],p=this.$body.find(hm.sprintf('> tr[data-uniqueid="%s"][data-has-detail-view]',d)).next();p.is("tr.detail-view")&&(c.push(l),r&&d===r||(f+=p[0].outerHTML))}this.options.virtualScroll?o.push(f):i.append(f)}}s?this.options.virtualScroll?(this.virtualScroll&&this.virtualScroll.destroy(),this.virtualScroll=new ym({rows:o,fixedScroll:t,scrollEl:this.$tableBody[0],contentEl:this.$body[0],itemHeight:this.options.virtualScrollItemHeight,callback:function(e,t){n.fitHeader(),n.initBodyEvent(),n.trigger("virtual-scroll",e,t)}})):this.$body.html(i):this.$body.html('<tr class="no-records-found">'.concat(hm.sprintf('<td colspan="%s">%s</td>',this.getVisibleFields().length+hm.getDetailViewIndexOffset(this.options),this.options.formatNoMatches()),"</tr>")),c.forEach((function(e){n.expandRow(e)})),t||this.scrollTo(0),this.initBodyEvent(),this.initFooter(),this.resetView(),this.updateSelected(),"server"!==this.options.sidePagination&&(this.options.totalRows=a.length),this.trigger("post-body",a)}},{key:"initBodyEvent",value:function(){var t=this;this.$body.find("> tr[data-index] > td").off("click dblclick").on("click dblclick",(function(r){var n=e(r.currentTarget);if(!(n.find(".detail-icon").length||n.index()-hm.getDetailViewIndexOffset(t.options)<0)){var a=n.parent(),o=e(r.target).parents(".card-views").children(),i=e(r.target).parents(".card-view"),s=a.data("index"),c=t.data[s],l=t.options.cardView?o.index(i):n[0].cellIndex,u=t.getVisibleFields()[l-hm.getDetailViewIndexOffset(t.options)],f=t.columns[t.fieldsColumnsIndex[u]],h=hm.getItemField(c,u,t.options.escape,f.escape);if(t.trigger("click"===r.type?"click-cell":"dbl-click-cell",u,h,c,n),t.trigger("click"===r.type?"click-row":"dbl-click-row",c,a,u),"click"===r.type&&t.options.clickToSelect&&f.clickToSelect&&!hm.calculateObjectValue(t.options,t.options.ignoreClickToSelectOn,[r.target])){var d=a.find(hm.sprintf('[name="%s"]',t.options.selectItemName));d.length&&d[0].click()}"click"===r.type&&t.options.detailViewByClick&&t.toggleDetailView(s,t.header.detailFormatters[t.fieldsColumnsIndex[u]])}})).off("mousedown").on("mousedown",(function(e){t.multipleSelectRowCtrlKey=e.ctrlKey||e.metaKey,t.multipleSelectRowShiftKey=e.shiftKey})),this.$body.find("> tr[data-index] > td > .detail-icon").off("click").on("click",(function(r){return r.preventDefault(),t.toggleDetailView(e(r.currentTarget).parent().parent().data("index")),!1})),this.$selectItem=this.$body.find(hm.sprintf('[name="%s"]',this.options.selectItemName)),this.$selectItem.off("click").on("click",(function(r){r.stopImmediatePropagation();var n=e(r.currentTarget);t._toggleCheck(n.prop("checked"),n.data("index"))})),this.header.events.forEach((function(r,n){var a=r;if(a){if("string"==typeof a&&(a=hm.calculateObjectValue(null,a)),!a)throw new Error("Unknown event in the scope: ".concat(r));var o=t.header.fields[n],i=t.getVisibleFields().indexOf(o);if(-1!==i){i+=hm.getDetailViewIndexOffset(t.options);var s=function(r){if(!a.hasOwnProperty(r))return"continue";var n=a[r];t.$body.find(">tr:not(.no-records-found)").each((function(a,s){var c=e(s),l=c.find(t.options.cardView?".card-views>.card-view":">td").eq(i),u=r.indexOf(" "),f=r.substring(0,u),h=r.substring(u+1);l.find(h).off(f).on(f,(function(e){var r=c.data("index"),a=t.data[r],i=a[o];n.apply(t,[e,i,a,r])}))}))};for(var c in a)s(c)}}}))}},{key:"initServer",value:function(t,r,n){var a=this,o={},i=this.header.fields.indexOf(this.options.sortName),s={searchText:this.searchText,sortName:this.options.sortName,sortOrder:this.options.sortOrder};if(this.header.sortNames[i]&&(s.sortName=this.header.sortNames[i]),this.options.pagination&&"server"===this.options.sidePagination&&(s.pageSize=this.options.pageSize===this.options.formatAllRows()?this.options.totalRows:this.options.pageSize,s.pageNumber=this.options.pageNumber),n||this.options.url||this.options.ajax){if("limit"===this.options.queryParamsType&&(s={search:s.searchText,sort:s.sortName,order:s.sortOrder},this.options.pagination&&"server"===this.options.sidePagination&&(s.offset=this.options.pageSize===this.options.formatAllRows()?0:this.options.pageSize*(this.options.pageNumber-1),s.limit=this.options.pageSize,0!==s.limit&&this.options.pageSize!==this.options.formatAllRows()||delete s.limit)),this.options.search&&"server"===this.options.sidePagination&&this.options.searchable&&this.columns.filter((function(e){return e.searchable})).length){s.searchable=[];var c,u=l(this.columns);try{for(u.s();!(c=u.n()).done;){var f=c.value;!f.checkbox&&f.searchable&&(this.options.visibleSearch&&f.visible||!this.options.visibleSearch)&&s.searchable.push(f.field)}}catch(e){u.e(e)}finally{u.f()}}if(hm.isEmptyObject(this.filterColumnsPartial)||(s.filter=JSON.stringify(this.filterColumnsPartial,null)),hm.extend(s,r||{}),!1!==(o=hm.calculateObjectValue(this.options,this.options.queryParams,[s],o))){t||this.showLoading();var h=hm.extend({},hm.calculateObjectValue(null,this.options.ajaxOptions),{type:this.options.method,url:n||this.options.url,data:"application/json"===this.options.contentType&&"post"===this.options.method?JSON.stringify(o):o,cache:this.options.cache,contentType:this.options.contentType,dataType:this.options.dataType,success:function(e,r,n){var o=hm.calculateObjectValue(a.options,a.options.responseHandler,[e,n],e);a.load(o),a.trigger("load-success",o,n&&n.status,n),t||a.hideLoading(),"server"===a.options.sidePagination&&a.options.pageNumber>1&&o[a.options.totalField]>0&&!o[a.options.dataField].length&&a.updatePagination()},error:function(e){if(e&&0===e.status&&a._xhrAbort)a._xhrAbort=!1;else{var r=[];"server"===a.options.sidePagination&&((r={})[a.options.totalField]=0,r[a.options.dataField]=[]),a.load(r),a.trigger("load-error",e&&e.status,e),t||a.hideLoading()}}});return this.options.ajax?hm.calculateObjectValue(this,this.options.ajax,[h],null):(this._xhr&&4!==this._xhr.readyState&&(this._xhrAbort=!0,this._xhr.abort()),this._xhr=e.ajax(h)),o}}}},{key:"initSearchText",value:function(){if(this.options.search&&(this.searchText="",""!==this.options.searchText)){var e=hm.getSearchInput(this);e.val(this.options.searchText),this.onSearch({currentTarget:e,firedByInitSearchText:!0})}}},{key:"getCaret",value:function(){var t=this;this.$header.find("th").each((function(r,n){e(n).find(".sortable").removeClass("desc asc").addClass(e(n).data("field")===t.options.sortName?t.options.sortOrder:"both")}))}},{key:"updateSelected",value:function(){var t=this.$selectItem.filter(":enabled").length&&this.$selectItem.filter(":enabled").length===this.$selectItem.filter(":enabled").filter(":checked").length;this.$selectAll.add(this.$selectAll_).prop("checked",t),this.$selectItem.each((function(t,r){e(r).closest("tr")[e(r).prop("checked")?"addClass":"removeClass"]("selected")}))}},{key:"updateRows",value:function(){var t=this;this.$selectItem.each((function(r,n){t.data[e(n).data("index")][t.header.stateField]=e(n).prop("checked")}))}},{key:"resetRows",value:function(){var e,t=l(this.data);try{for(t.s();!(e=t.n()).done;){var r=e.value;this.$selectAll.prop("checked",!1),this.$selectItem.prop("checked",!1),this.header.stateField&&(r[this.header.stateField]=!1)}}catch(e){t.e(e)}finally{t.f()}this.initHiddenRows()}},{key:"trigger",value:function(t){for(var r,a,o="".concat(t,".bs.table"),i=arguments.length,s=new Array(i>1?i-1:0),c=1;c<i;c++)s[c-1]=arguments[c];(r=this.options)[n.EVENTS[o]].apply(r,[].concat(s,[this])),this.$el.trigger(e.Event(o,{sender:this}),s),(a=this.options).onAll.apply(a,[o].concat([].concat(s,[this]))),this.$el.trigger(e.Event("all.bs.table",{sender:this}),[o,s])}},{key:"resetHeader",value:function(){var e=this;clearTimeout(this.timeoutId_),this.timeoutId_=setTimeout((function(){return e.fitHeader()}),this.$el.is(":hidden")?100:0)}},{key:"fitHeader",value:function(){var t=this;if(this.$el.is(":hidden"))this.timeoutId_=setTimeout((function(){return t.fitHeader()}),100);else{var r=this.$tableBody.get(0),n=this.hasScrollBar&&r.scrollHeight>r.clientHeight+this.$header.outerHeight()?hm.getScrollBarWidth():0;this.$el.css("margin-top",-this.$header.outerHeight());var a=this.$tableHeader.find(":focus");if(a.length>0){var o=a.parents("th");if(o.length>0){var i=o.attr("data-field");if(void 0!==i){var s=this.$header.find("[data-field='".concat(i,"']"));s.length>0&&s.find(":input").addClass("focus-temp")}}}this.$header_=this.$header.clone(!0,!0),this.$selectAll_=this.$header_.find('[name="btSelectAll"]'),this.$tableHeader.css("margin-right",n).find("table").css("width",this.$el.outerWidth()).html("").attr("class",this.$el.attr("class")).append(this.$header_),this.$tableLoading.css("width",this.$el.outerWidth());var c=e(".focus-temp:visible:eq(0)");c.length>0&&(c.focus(),this.$header.find(".focus-temp").removeClass("focus-temp")),this.$header.find("th[data-field]").each((function(r,n){t.$header_.find(hm.sprintf('th[data-field="%s"]',e(n).data("field"))).data(e(n).data())}));for(var l=this.getVisibleFields(),u=this.$header_.find("th"),f=this.$body.find(">tr:not(.no-records-found,.virtual-scroll-top)").eq(0);f.length&&f.find('>td[colspan]:not([colspan="1"])').length;)f=f.next();var h=f.find("> *").length;f.find("> *").each((function(r,n){var a=e(n);if(hm.hasDetailViewIcon(t.options)&&(0===r&&"right"!==t.options.detailViewAlign||r===h-1&&"right"===t.options.detailViewAlign)){var o=u.filter(".detail"),i=o.innerWidth()-o.find(".fht-cell").width();o.find(".fht-cell").width(a.innerWidth()-i)}else{var s=r-hm.getDetailViewIndexOffset(t.options),c=t.$header_.find(hm.sprintf('th[data-field="%s"]',l[s]));c.length>1&&(c=e(u[a[0].cellIndex]));var f=c.innerWidth()-c.find(".fht-cell").width();c.find(".fht-cell").width(a.innerWidth()-f)}})),this.horizontalScroll(),this.trigger("post-header")}}},{key:"initFooter",value:function(){if(this.options.showFooter&&!this.options.cardView){var e=this.getData(),t=[],r="";hm.hasDetailViewIcon(this.options)&&(r='<th class="detail"><div class="th-inner"></div><div class="fht-cell"></div></th>'),r&&"right"!==this.options.detailViewAlign&&t.push(r);var n,a=l(this.columns);try{for(a.s();!(n=a.n()).done;){var i,s,c=n.value,u=[],f={},h=hm.sprintf(' class="%s"',c.class);if(!(!c.visible||this.footerData&&this.footerData.length>0&&!(c.field in this.footerData[0]))){if(this.options.cardView&&!c.cardVisible)return;if(i=hm.sprintf("text-align: %s; ",c.falign?c.falign:c.align),s=hm.sprintf("vertical-align: %s; ",c.valign),(f=hm.calculateObjectValue(null,this.options.footerStyle,[c]))&&f.css)for(var d=0,p=Object.entries(f.css);d<p.length;d++){var g=o(p[d],2),m=g[0],v=g[1];u.push("".concat(m,": ").concat(v))}f&&f.classes&&(h=hm.sprintf(' class="%s"',c.class?[c.class,f.classes].join(" "):f.classes)),t.push("<th",h,hm.sprintf(' style="%s"',i+s+u.concat().join("; ")));var b=0;this.footerData&&this.footerData.length>0&&(b=this.footerData[0]["_".concat(c.field,"_colspan")]||0),b&&t.push(' colspan="'.concat(b,'" ')),t.push(">"),t.push('<div class="th-inner">');var y="";this.footerData&&this.footerData.length>0&&(y=this.footerData[0][c.field]||""),t.push(hm.calculateObjectValue(c,c.footerFormatter,[e,y],y)),t.push("</div>"),t.push('<div class="fht-cell"></div>'),t.push("</div>"),t.push("</th>")}}}catch(e){a.e(e)}finally{a.f()}r&&"right"===this.options.detailViewAlign&&t.push(r),this.options.height||this.$tableFooter.length||(this.$el.append("<tfoot><tr></tr></tfoot>"),this.$tableFooter=this.$el.find("tfoot")),this.$tableFooter.find("tr").length||this.$tableFooter.html("<table><thead><tr></tr></thead></table>"),this.$tableFooter.find("tr").html(t.join("")),this.trigger("post-footer",this.$tableFooter)}}},{key:"fitFooter",value:function(){var t=this;if(this.$el.is(":hidden"))setTimeout((function(){return t.fitFooter()}),100);else{var r=this.$tableBody.get(0),n=this.hasScrollBar&&r.scrollHeight>r.clientHeight+this.$header.outerHeight()?hm.getScrollBarWidth():0;this.$tableFooter.css("margin-right",n).find("table").css("width",this.$el.outerWidth()).attr("class",this.$el.attr("class"));var a=this.$tableFooter.find("th"),o=this.$body.find(">tr:first-child:not(.no-records-found)");for(a.find(".fht-cell").width("auto");o.length&&o.find('>td[colspan]:not([colspan="1"])').length;)o=o.next();var i=o.find("> *").length;o.find("> *").each((function(r,n){var o=e(n);if(hm.hasDetailViewIcon(t.options)&&(0===r&&"left"===t.options.detailViewAlign||r===i-1&&"right"===t.options.detailViewAlign)){var s=a.filter(".detail"),c=s.innerWidth()-s.find(".fht-cell").width();s.find(".fht-cell").width(o.innerWidth()-c)}else{var l=a.eq(r),u=l.innerWidth()-l.find(".fht-cell").width();l.find(".fht-cell").width(o.innerWidth()-u)}})),this.horizontalScroll()}}},{key:"horizontalScroll",value:function(){var e=this;this.$tableBody.off("scroll").on("scroll",(function(){var t=e.$tableBody.scrollLeft();e.options.showHeader&&e.options.height&&e.$tableHeader.scrollLeft(t),e.options.showFooter&&!e.options.cardView&&e.$tableFooter.scrollLeft(t),e.trigger("scroll-body",e.$tableBody)}))}},{key:"getVisibleFields",value:function(){var e,t=[],r=l(this.header.fields);try{for(r.s();!(e=r.n()).done;){var n=e.value,a=this.columns[this.fieldsColumnsIndex[n]];a&&a.visible&&(!this.options.cardView||a.cardVisible)&&t.push(n)}}catch(e){r.e(e)}finally{r.f()}return t}},{key:"initHiddenRows",value:function(){this.hiddenRows=[]}},{key:"getOptions",value:function(){var e=hm.extend({},this.options);return delete e.data,hm.extend(!0,{},e)}},{key:"refreshOptions",value:function(e){hm.compareObjects(this.options,e,!0)||(this.options=hm.extend(this.options,e),this.trigger("refresh-options",this.options),this.destroy(),this.init())}},{key:"getData",value:function(e){var t=this,r=this.options.data;if(!(this.searchText||this.options.customSearch||void 0!==this.options.sortName||this.enableCustomSort)&&hm.isEmptyObject(this.filterColumns)&&"function"!=typeof this.options.filterOptions.filterAlgorithm&&hm.isEmptyObject(this.filterColumnsPartial)||e&&e.unfiltered||(r=this.data),e&&!e.includeHiddenRows){var n=this.getHiddenRows();r=r.filter((function(e){return-1===hm.findIndex(n,e)}))}return e&&e.useCurrentPage&&(r=r.slice(this.pageFrom-1,this.pageTo)),e&&e.formatted&&r.forEach((function(e){for(var r=0,n=Object.entries(e);r<n.length;r++){var a=o(n[r],2),i=a[0],s=a[1],c=t.columns[t.fieldsColumnsIndex[i]];if(!c)return;e[i]=hm.calculateObjectValue(c,t.header.formatters[c.fieldIndex],[s,e,e.index,c.field],s)}})),r}},{key:"getSelections",value:function(){var e=this;return(this.options.maintainMetaData?this.options.data:this.data).filter((function(t){return!0===t[e.header.stateField]}))}},{key:"load",value:function(e){var t,r=e;this.options.pagination&&"server"===this.options.sidePagination&&(this.options.totalRows=r[this.options.totalField],this.options.totalNotFiltered=r[this.options.totalNotFilteredField],this.footerData=r[this.options.footerField]?[r[this.options.footerField]]:void 0),t=r.fixedScroll,r=Array.isArray(r)?r:r[this.options.dataField],this.initData(r),this.initSearch(),this.initPagination(),this.initBody(t)}},{key:"append",value:function(e){this.initData(e,"append"),this.initSearch(),this.initPagination(),this.initSort(),this.initBody(!0)}},{key:"prepend",value:function(e){this.initData(e,"prepend"),this.initSearch(),this.initPagination(),this.initSort(),this.initBody(!0)}},{key:"remove",value:function(e){for(var t=0,r=this.options.data.length-1;r>=0;r--){var n=this.options.data[r],a=hm.getItemField(n,e.field,this.options.escape,n.escape);void 0===a&&"$index"!==e.field||(!n.hasOwnProperty(e.field)&&"$index"===e.field&&e.values.includes(r)||e.values.includes(a))&&(t++,this.options.data.splice(r,1))}t&&("server"===this.options.sidePagination&&(this.options.totalRows-=t,this.data=i(this.options.data)),this.initSearch(),this.initPagination(),this.initSort(),this.initBody(!0))}},{key:"removeAll",value:function(){this.options.data.length>0&&(this.options.data.splice(0,this.options.data.length),this.initSearch(),this.initPagination(),this.initBody(!0))}},{key:"insertRow",value:function(e){e.hasOwnProperty("index")&&e.hasOwnProperty("row")&&(this.options.data.splice(e.index,0,e.row),this.initSearch(),this.initPagination(),this.initSort(),this.initBody(!0))}},{key:"updateRow",value:function(e){var t,r=l(Array.isArray(e)?e:[e]);try{for(r.s();!(t=r.n()).done;){var n=t.value;n.hasOwnProperty("index")&&n.hasOwnProperty("row")&&(n.hasOwnProperty("replace")&&n.replace?this.options.data[n.index]=n.row:hm.extend(this.options.data[n.index],n.row))}}catch(e){r.e(e)}finally{r.f()}this.initSearch(),this.initPagination(),this.initSort(),this.initBody(!0)}},{key:"getRowByUniqueId",value:function(e){var t,r,n=this.options.uniqueId,a=e,o=null;for(t=this.options.data.length-1;t>=0;t--){r=this.options.data[t];var i=hm.getItemField(r,n,this.options.escape,r.escape);if(void 0!==i&&("string"==typeof i?a=a.toString():"number"==typeof i&&(Number(i)===i&&i%1==0?a=parseInt(a,10):i===Number(i)&&0!==i&&(a=parseFloat(a))),i===a)){o=r;break}}return o}},{key:"updateByUniqueId",value:function(e){var t,r=null,n=l(Array.isArray(e)?e:[e]);try{for(n.s();!(t=n.n()).done;){var a=t.value;if(a.hasOwnProperty("id")&&a.hasOwnProperty("row")){var o=this.options.data.indexOf(this.getRowByUniqueId(a.id));-1!==o&&(a.hasOwnProperty("replace")&&a.replace?this.options.data[o]=a.row:hm.extend(this.options.data[o],a.row),r=a.id)}}}catch(e){n.e(e)}finally{n.f()}this.initSearch(),this.initPagination(),this.initSort(),this.initBody(!0,r)}},{key:"removeByUniqueId",value:function(e){var t=this.options.data.length,r=this.getRowByUniqueId(e);r&&this.options.data.splice(this.options.data.indexOf(r),1),t!==this.options.data.length&&("server"===this.options.sidePagination&&(this.options.totalRows-=1,this.data=i(this.options.data)),this.initSearch(),this.initPagination(),this.initBody(!0))}},{key:"_updateCellOnly",value:function(t,r){var n=this.initRow(this.options.data[r],r),a=this.getVisibleFields().indexOf(t);-1!==a&&(a+=hm.getDetailViewIndexOffset(this.options),this.$body.find(">tr[data-index=".concat(r,"]")).find(">td:eq(".concat(a,")")).replaceWith(e(n).find(">td:eq(".concat(a,")"))),this.initBodyEvent(),this.initFooter(),this.resetView(),this.updateSelected())}},{key:"updateCell",value:function(e){e.hasOwnProperty("index")&&e.hasOwnProperty("field")&&e.hasOwnProperty("value")&&(this.options.data[e.index][e.field]=e.value,!1!==e.reinit?(this.initSort(),this.initBody(!0)):this._updateCellOnly(e.field,e.index))}},{key:"updateCellByUniqueId",value:function(e){var t=this;(Array.isArray(e)?e:[e]).forEach((function(e){var r=e.id,n=e.field,a=e.value,o=t.options.data.indexOf(t.getRowByUniqueId(r));-1!==o&&(t.options.data[o][n]=a)})),!1!==e.reinit?(this.initSort(),this.initBody(!0)):this._updateCellOnly(e.field,this.options.data.indexOf(this.getRowByUniqueId(e.id)))}},{key:"showRow",value:function(e){this._toggleRow(e,!0)}},{key:"hideRow",value:function(e){this._toggleRow(e,!1)}},{key:"_toggleRow",value:function(e,t){var r;if(e.hasOwnProperty("index")?r=this.getData()[e.index]:e.hasOwnProperty("uniqueId")&&(r=this.getRowByUniqueId(e.uniqueId)),r){var n=hm.findIndex(this.hiddenRows,r);t||-1!==n?t&&n>-1&&this.hiddenRows.splice(n,1):this.hiddenRows.push(r),this.initBody(!0),this.initPagination()}}},{key:"getHiddenRows",value:function(e){if(e)return this.initHiddenRows(),this.initBody(!0),void this.initPagination();var t,r=[],n=l(this.getData());try{for(n.s();!(t=n.n()).done;){var a=t.value;this.hiddenRows.includes(a)&&r.push(a)}}catch(e){n.e(e)}finally{n.f()}return this.hiddenRows=r,r}},{key:"showColumn",value:function(e){var t=this;(Array.isArray(e)?e:[e]).forEach((function(e){t._toggleColumn(t.fieldsColumnsIndex[e],!0,!0)}))}},{key:"hideColumn",value:function(e){var t=this;(Array.isArray(e)?e:[e]).forEach((function(e){t._toggleColumn(t.fieldsColumnsIndex[e],!1,!0)}))}},{key:"_toggleColumn",value:function(e,t,r){if(-1!==e&&this.columns[e].visible!==t&&(this.columns[e].visible=t,this.initHeader(),this.initSearch(),this.initPagination(),this.initBody(),this.options.showColumns)){var n=this.$toolbar.find('.keep-open input:not(".toggle-all")').prop("disabled",!1);r&&n.filter(hm.sprintf('[value="%s"]',e)).prop("checked",t),n.filter(":checked").length<=this.options.minimumCountColumns&&n.filter(":checked").prop("disabled",!0)}}},{key:"getVisibleColumns",value:function(){var e=this;return this.columns.filter((function(t){return t.visible&&!e.isSelectionColumn(t)}))}},{key:"getHiddenColumns",value:function(){return this.columns.filter((function(e){return!e.visible}))}},{key:"isSelectionColumn",value:function(e){return e.radio||e.checkbox}},{key:"showAllColumns",value:function(){this._toggleAllColumns(!0)}},{key:"hideAllColumns",value:function(){this._toggleAllColumns(!1)}},{key:"_toggleAllColumns",value:function(t){var r,n=this,a=l(this.columns.slice().reverse());try{for(a.s();!(r=a.n()).done;){var o=r.value;if(o.switchable){if(!t&&this.options.showColumns&&this.getVisibleColumns().filter((function(e){return e.switchable})).length===this.options.minimumCountColumns)continue;o.visible=t}}}catch(e){a.e(e)}finally{a.f()}if(this.initHeader(),this.initSearch(),this.initPagination(),this.initBody(),this.options.showColumns){var i=this.$toolbar.find('.keep-open input[type="checkbox"]:not(".toggle-all")').prop("disabled",!1);t?i.prop("checked",t):i.get().reverse().forEach((function(r){i.filter(":checked").length>n.options.minimumCountColumns&&e(r).prop("checked",t)})),i.filter(":checked").length<=this.options.minimumCountColumns&&i.filter(":checked").prop("disabled",!0)}}},{key:"mergeCells",value:function(e){var t,r,n=e.index,a=this.getVisibleFields().indexOf(e.field),o=e.rowspan||1,i=e.colspan||1,s=this.$body.find(">tr[data-index]");a+=hm.getDetailViewIndexOffset(this.options);var c=s.eq(n).find(">td").eq(a);if(!(n<0||a<0||n>=this.data.length)){for(t=n;t<n+o;t++)for(r=a;r<a+i;r++)s.eq(t).find(">td").eq(r).hide();c.attr("rowspan",o).attr("colspan",i).show()}}},{key:"checkAll",value:function(){this._toggleCheckAll(!0)}},{key:"uncheckAll",value:function(){this._toggleCheckAll(!1)}},{key:"_toggleCheckAll",value:function(e){var t=this.getSelections();this.$selectAll.add(this.$selectAll_).prop("checked",e),this.$selectItem.filter(":enabled").prop("checked",e),this.updateRows(),this.updateSelected();var r=this.getSelections();e?this.trigger("check-all",r,t):this.trigger("uncheck-all",r,t)}},{key:"checkInvert",value:function(){var t=this.$selectItem.filter(":enabled"),r=t.filter(":checked");t.each((function(t,r){e(r).prop("checked",!e(r).prop("checked"))})),this.updateRows(),this.updateSelected(),this.trigger("uncheck-some",r),r=this.getSelections(),this.trigger("check-some",r)}},{key:"check",value:function(e){this._toggleCheck(!0,e)}},{key:"uncheck",value:function(e){this._toggleCheck(!1,e)}},{key:"_toggleCheck",value:function(e,t){var r=this.$selectItem.filter('[data-index="'.concat(t,'"]')),n=this.data[t];if(r.is(":radio")||this.options.singleSelect||this.options.multipleSelectRow&&!this.multipleSelectRowCtrlKey&&!this.multipleSelectRowShiftKey){var a,i=l(this.options.data);try{for(i.s();!(a=i.n()).done;){a.value[this.header.stateField]=!1}}catch(e){i.e(e)}finally{i.f()}this.$selectItem.filter(":checked").not(r).prop("checked",!1)}if(n[this.header.stateField]=e,this.options.multipleSelectRow){if(this.multipleSelectRowShiftKey&&this.multipleSelectRowLastSelectedIndex>=0)for(var s=o(this.multipleSelectRowLastSelectedIndex<t?[this.multipleSelectRowLastSelectedIndex,t]:[t,this.multipleSelectRowLastSelectedIndex],2),c=s[0],u=s[1],f=c+1;f<u;f++)this.data[f][this.header.stateField]=!0,this.$selectItem.filter('[data-index="'.concat(f,'"]')).prop("checked",!0);this.multipleSelectRowCtrlKey=!1,this.multipleSelectRowShiftKey=!1,this.multipleSelectRowLastSelectedIndex=e?t:-1}r.prop("checked",e),this.updateSelected(),this.trigger(e?"check":"uncheck",this.data[t],r)}},{key:"checkBy",value:function(e){this._toggleCheckBy(!0,e)}},{key:"uncheckBy",value:function(e){this._toggleCheckBy(!1,e)}},{key:"_toggleCheckBy",value:function(e,t){var r=this;if(t.hasOwnProperty("field")&&t.hasOwnProperty("values")){var n=[];this.data.forEach((function(a,o){if(!a.hasOwnProperty(t.field))return!1;if(t.values.includes(a[t.field])){var i=r.$selectItem.filter(":enabled").filter(hm.sprintf('[data-index="%s"]',o)),s=!!t.hasOwnProperty("onlyCurrentPage")&&t.onlyCurrentPage;if(!(i=e?i.not(":checked"):i.filter(":checked")).length&&s)return;i.prop("checked",e),a[r.header.stateField]=e,n.push(a),r.trigger(e?"check":"uncheck",a,i)}})),this.updateSelected(),this.trigger(e?"check-some":"uncheck-some",n)}}},{key:"refresh",value:function(e){e&&e.url&&(this.options.url=e.url),e&&e.pageNumber&&(this.options.pageNumber=e.pageNumber),e&&e.pageSize&&(this.options.pageSize=e.pageSize),this.trigger("refresh",this.initServer(e&&e.silent,e&&e.query,e&&e.url))}},{key:"destroy",value:function(){this.$el.insertBefore(this.$container),e(this.options.toolbar).insertBefore(this.$el),this.$container.next().remove(),this.$container.remove(),this.$el.html(this.$el_.html()).css("margin-top","0").attr("class",this.$el_.attr("class")||"");var t=hm.getEventName("resize.bootstrap-table",this.$el.attr("id"));e(window).off(t)}},{key:"resetView",value:function(e){var t=0;if(e&&e.height&&(this.options.height=e.height),this.$tableContainer.toggleClass("has-card-view",this.options.cardView),this.options.height){var r=this.$tableBody.get(0);this.hasScrollBar=r.scrollWidth>r.clientWidth}if(!this.options.cardView&&this.options.showHeader&&this.options.height?(this.$tableHeader.show(),this.resetHeader(),t+=this.$header.outerHeight(!0)+1):(this.$tableHeader.hide(),this.trigger("post-header")),!this.options.cardView&&this.options.showFooter&&(this.$tableFooter.show(),this.fitFooter(),this.options.height&&(t+=this.$tableFooter.outerHeight(!0))),this.$container.hasClass("fullscreen"))this.$tableContainer.css("height",""),this.$tableContainer.css("width","");else if(this.options.height){this.$tableBorder&&(this.$tableBorder.css("width",""),this.$tableBorder.css("height",""));var n=this.$toolbar.outerHeight(!0),a=this.$pagination.outerHeight(!0),o=this.options.height-n-a,i=this.$tableBody.find(">table"),s=i.outerHeight();if(this.$tableContainer.css("height","".concat(o,"px")),this.$tableBorder&&i.is(":visible")){var c=o-s-2;this.hasScrollBar&&(c-=hm.getScrollBarWidth()),this.$tableBorder.css("width","".concat(i.outerWidth(),"px")),this.$tableBorder.css("height","".concat(c,"px"))}}this.options.cardView?(this.$el.css("margin-top","0"),this.$tableContainer.css("padding-bottom","0"),this.$tableFooter.hide()):(this.getCaret(),this.$tableContainer.css("padding-bottom","".concat(t,"px"))),this.trigger("reset-view")}},{key:"showLoading",value:function(){this.$tableLoading.toggleClass("open",!0);var e=this.options.loadingFontSize;"auto"===this.options.loadingFontSize&&(e=.04*this.$tableLoading.width(),e=Math.max(12,e),e=Math.min(32,e),e="".concat(e,"px")),this.$tableLoading.find(".loading-text").css("font-size",e)}},{key:"hideLoading",value:function(){this.$tableLoading.toggleClass("open",!1)}},{key:"togglePagination",value:function(){this.options.pagination=!this.options.pagination;var e=this.options.showButtonIcons?this.options.pagination?this.options.icons.paginationSwitchDown:this.options.icons.paginationSwitchUp:"",t=this.options.showButtonText?this.options.pagination?this.options.formatPaginationSwitchUp():this.options.formatPaginationSwitchDown():"";this.$toolbar.find('button[name="paginationSwitch"]').html("".concat(hm.sprintf(this.constants.html.icon,this.options.iconsPrefix,e)," ").concat(t)),this.updatePagination(),this.trigger("toggle-pagination",this.options.pagination)}},{key:"toggleFullscreen",value:function(){this.$el.closest(".bootstrap-table").toggleClass("fullscreen"),this.resetView()}},{key:"toggleView",value:function(){this.options.cardView=!this.options.cardView,this.initHeader();var e=this.options.showButtonIcons?this.options.cardView?this.options.icons.toggleOn:this.options.icons.toggleOff:"",t=this.options.showButtonText?this.options.cardView?this.options.formatToggleOff():this.options.formatToggleOn():"";this.$toolbar.find('button[name="toggle"]').html("".concat(hm.sprintf(this.constants.html.icon,this.options.iconsPrefix,e)," ").concat(t)).attr("aria-label",t).attr("title",t),this.initBody(),this.trigger("toggle",this.options.cardView)}},{key:"resetSearch",value:function(e){var t=hm.getSearchInput(this),r=e||"";t.val(r),this.searchText=r,this.onSearch({currentTarget:t},!1)}},{key:"filterBy",value:function(e,t){this.filterOptions=hm.isEmptyObject(t)?this.options.filterOptions:hm.extend(this.options.filterOptions,t),this.filterColumns=hm.isEmptyObject(e)?{}:e,this.options.pageNumber=1,this.initSearch(),this.updatePagination()}},{key:"scrollTo",value:function(r){var n={unit:"px",value:0};"object"===t(r)?n=Object.assign(n,r):"string"==typeof r&&"bottom"===r?n.value=this.$tableBody[0].scrollHeight:"string"!=typeof r&&"number"!=typeof r||(n.value=r);var a=n.value;"rows"===n.unit&&(a=0,this.$body.find("> tr:lt(".concat(n.value,")")).each((function(t,r){a+=e(r).outerHeight(!0)}))),this.$tableBody.scrollTop(a)}},{key:"getScrollPosition",value:function(){return this.$tableBody.scrollTop()}},{key:"selectPage",value:function(e){e>0&&e<=this.options.totalPages&&(this.options.pageNumber=e,this.updatePagination())}},{key:"prevPage",value:function(){this.options.pageNumber>1&&(this.options.pageNumber--,this.updatePagination())}},{key:"nextPage",value:function(){this.options.pageNumber<this.options.totalPages&&(this.options.pageNumber++,this.updatePagination())}},{key:"toggleDetailView",value:function(e,t){this.$body.find(hm.sprintf('> tr[data-index="%s"]',e)).next().is("tr.detail-view")?this.collapseRow(e):this.expandRow(e,t),this.resetView()}},{key:"expandRow",value:function(e,t){var r=this.data[e],n=this.$body.find(hm.sprintf('> tr[data-index="%s"][data-has-detail-view]',e));if(this.options.detailViewIcon&&n.find("a.detail-icon").html(hm.sprintf(this.constants.html.icon,this.options.iconsPrefix,this.options.icons.detailClose)),!n.next().is("tr.detail-view")){n.after(hm.sprintf('<tr class="detail-view"><td colspan="%s"></td></tr>',n.children("td").length));var a=n.next().find("td"),o=t||this.options.detailFormatter,i=hm.calculateObjectValue(this.options,o,[e,r,a],"");1===a.length&&a.append(i),this.trigger("expand-row",e,r,a)}}},{key:"expandRowByUniqueId",value:function(e){var t=this.getRowByUniqueId(e);t&&this.expandRow(this.data.indexOf(t))}},{key:"collapseRow",value:function(e){var t=this.data[e],r=this.$body.find(hm.sprintf('> tr[data-index="%s"][data-has-detail-view]',e));r.next().is("tr.detail-view")&&(this.options.detailViewIcon&&r.find("a.detail-icon").html(hm.sprintf(this.constants.html.icon,this.options.iconsPrefix,this.options.icons.detailOpen)),this.trigger("collapse-row",e,t,r.next()),r.next().remove())}},{key:"collapseRowByUniqueId",value:function(e){var t=this.getRowByUniqueId(e);t&&this.collapseRow(this.data.indexOf(t))}},{key:"expandAllRows",value:function(){for(var t=this.$body.find("> tr[data-index][data-has-detail-view]"),r=0;r<t.length;r++)this.expandRow(e(t[r]).data("index"))}},{key:"collapseAllRows",value:function(){for(var t=this.$body.find("> tr[data-index][data-has-detail-view]"),r=0;r<t.length;r++)this.collapseRow(e(t[r]).data("index"))}},{key:"updateColumnTitle",value:function(t){t.hasOwnProperty("field")&&t.hasOwnProperty("title")&&(this.columns[this.fieldsColumnsIndex[t.field]].title=this.options.escape&&this.options.escapeTitle?hm.escapeHTML(t.title):t.title,this.columns[this.fieldsColumnsIndex[t.field]].visible&&(this.$header.find("th[data-field]").each((function(r,n){if(e(n).data("field")===t.field)return e(e(n).find(".th-inner")[0]).text(t.title),!1})),this.resetView()))}},{key:"updateFormatText",value:function(e,t){/^format/.test(e)&&this.options[e]&&("string"==typeof t?this.options[e]=function(){return t}:"function"==typeof t&&(this.options[e]=t),this.initToolbar(),this.initPagination(),this.initBody())}}]),n}();return wm.VERSION=bm.VERSION,wm.DEFAULTS=bm.DEFAULTS,wm.LOCALES=bm.LOCALES,wm.COLUMN_DEFAULTS=bm.COLUMN_DEFAULTS,wm.METHODS=bm.METHODS,wm.EVENTS=bm.EVENTS,e.BootstrapTable=wm,e.fn.bootstrapTable=function(r){for(var n=arguments.length,a=new Array(n>1?n-1:0),o=1;o<n;o++)a[o-1]=arguments[o];var i;return this.each((function(n,o){var s=e(o).data("bootstrap.table");if("string"==typeof r){var c;if(!bm.METHODS.includes(r))throw new Error("Unknown method: ".concat(r));if(!s)return;return i=(c=s)[r].apply(c,a),void("destroy"===r&&e(o).removeData("bootstrap.table"))}if(s)console.warn("You cannot initialize the table more than once!");else{var l=hm.extend(!0,{},wm.DEFAULTS,e(o).data(),"object"===t(r)&&r);s=new e.BootstrapTable(o,l),e(o).data("bootstrap.table",s),s.init()}})),void 0===i?this:i},e.fn.bootstrapTable.Constructor=wm,e.fn.bootstrapTable.theme=bm.THEME,e.fn.bootstrapTable.VERSION=bm.VERSION,e.fn.bootstrapTable.defaults=wm.DEFAULTS,e.fn.bootstrapTable.columnDefaults=wm.COLUMN_DEFAULTS,e.fn.bootstrapTable.events=wm.EVENTS,e.fn.bootstrapTable.locales=wm.LOCALES,e.fn.bootstrapTable.methods=wm.METHODS,e.fn.bootstrapTable.utils=hm,e((function(){e('[data-toggle="table"]').bootstrapTable()})),wm})),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).jQuery)}(this,(function(e){"use strict";function t(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,(a=n.key,o=void 0,"symbol"==typeof(o=function(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(a,"string"))?o:String(o)),n)}var a,o}function r(e){return r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},r(e)}function n(e,t){return n=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},n(e,t)}function a(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function o(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=r(e);if(t){var i=r(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return a(this,n)}}function i(){return i="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var a=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=r(e)););return e}(e,t);if(a){var o=Object.getOwnPropertyDescriptor(a,t);return o.get?o.get.call(arguments.length<3?e:n):o.value}},i.apply(this,arguments)}var s="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},c=function(e){return e&&e.Math==Math&&e},l=c("object"==typeof globalThis&&globalThis)||c("object"==typeof window&&window)||c("object"==typeof self&&self)||c("object"==typeof s&&s)||function(){return this}()||Function("return this")(),u={},f=function(e){try{return!!e()}catch(e){return!0}},h=!f((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),d=!f((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})),p=d,g=Function.prototype.call,m=p?g.bind(g):function(){return g.apply(g,arguments)},v={},b={}.propertyIsEnumerable,y=Object.getOwnPropertyDescriptor,w=y&&!b.call({1:2},1);v.f=w?function(e){var t=y(this,e);return!!t&&t.enumerable}:b;var S,x,A=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},k=d,T=Function.prototype,E=T.call,_=k&&T.bind.bind(E,E),N=k?_:function(e){return function(){return E.apply(e,arguments)}},C=N,O=C({}.toString),R=C("".slice),P=function(e){return R(O(e),8,-1)},L=f,I=P,F=Object,D=N("".split),M=L((function(){return!F("z").propertyIsEnumerable(0)}))?function(e){return"String"==I(e)?D(e,""):F(e)}:F,j=function(e){return null==e},B=j,W=TypeError,U=function(e){if(B(e))throw W("Can't call method on "+e);return e},H=M,z=U,V=function(e){return H(z(e))},q="object"==typeof document&&document.all,$={all:q,IS_HTMLDDA:void 0===q&&void 0!==q},G=$.all,X=$.IS_HTMLDDA?function(e){return"function"==typeof e||e===G}:function(e){return"function"==typeof e},Y=X,K=$.all,J=$.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:Y(e)||e===K}:function(e){return"object"==typeof e?null!==e:Y(e)},Z=l,Q=X,ee=function(e,t){return arguments.length<2?(r=Z[e],Q(r)?r:void 0):Z[e]&&Z[e][t];var r},te=N({}.isPrototypeOf),re=l,ne="undefined"!=typeof navigator&&String(navigator.userAgent)||"",ae=re.process,oe=re.Deno,ie=ae&&ae.versions||oe&&oe.version,se=ie&&ie.v8;se&&(x=(S=se.split("."))[0]>0&&S[0]<4?1:+(S[0]+S[1])),!x&&ne&&(!(S=ne.match(/Edge\/(\d+)/))||S[1]>=74)&&(S=ne.match(/Chrome\/(\d+)/))&&(x=+S[1]);var ce=x,le=ce,ue=f,fe=!!Object.getOwnPropertySymbols&&!ue((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&le&&le<41})),he=fe&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,de=ee,pe=X,ge=te,me=Object,ve=he?function(e){return"symbol"==typeof e}:function(e){var t=de("Symbol");return pe(t)&&ge(t.prototype,me(e))},be=String,ye=X,we=function(e){try{return be(e)}catch(e){return"Object"}},Se=TypeError,xe=function(e){if(ye(e))return e;throw Se(we(e)+" is not a function")},Ae=xe,ke=j,Te=m,Ee=X,_e=J,Ne=TypeError,Ce={},Oe={get exports(){return Ce},set exports(e){Ce=e}},Re=l,Pe=Object.defineProperty,Le=function(e,t){try{Pe(Re,e,{value:t,configurable:!0,writable:!0})}catch(r){Re[e]=t}return t},Ie=Le,Fe="__core-js_shared__",De=l[Fe]||Ie(Fe,{}),Me=De;(Oe.exports=function(e,t){return Me[e]||(Me[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.29.0",mode:"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.29.0/LICENSE",source:"https://github.com/zloirock/core-js"});var je=U,Be=Object,We=function(e){return Be(je(e))},Ue=We,He=N({}.hasOwnProperty),ze=Object.hasOwn||function(e,t){return He(Ue(e),t)},Ve=N,qe=0,$e=Math.random(),Ge=Ve(1..toString),Xe=function(e){return"Symbol("+(void 0===e?"":e)+")_"+Ge(++qe+$e,36)},Ye=Ce,Ke=ze,Je=Xe,Ze=fe,Qe=he,et=l.Symbol,tt=Ye("wks"),rt=Qe?et.for||et:et&&et.withoutSetter||Je,nt=function(e){return Ke(tt,e)||(tt[e]=Ze&&Ke(et,e)?et[e]:rt("Symbol."+e)),tt[e]},at=m,ot=J,it=ve,st=function(e,t){var r=e[t];return ke(r)?void 0:Ae(r)},ct=function(e,t){var r,n;if("string"===t&&Ee(r=e.toString)&&!_e(n=Te(r,e)))return n;if(Ee(r=e.valueOf)&&!_e(n=Te(r,e)))return n;if("string"!==t&&Ee(r=e.toString)&&!_e(n=Te(r,e)))return n;throw Ne("Can't convert object to primitive value")},lt=TypeError,ut=nt("toPrimitive"),ft=function(e,t){if(!ot(e)||it(e))return e;var r,n=st(e,ut);if(n){if(void 0===t&&(t="default"),r=at(n,e,t),!ot(r)||it(r))return r;throw lt("Can't convert object to primitive value")}return void 0===t&&(t="number"),ct(e,t)},ht=ve,dt=function(e){var t=ft(e,"string");return ht(t)?t:t+""},pt=J,gt=l.document,mt=pt(gt)&&pt(gt.createElement),vt=function(e){return mt?gt.createElement(e):{}},bt=vt,yt=!h&&!f((function(){return 7!=Object.defineProperty(bt("div"),"a",{get:function(){return 7}}).a})),wt=h,St=m,xt=v,At=A,kt=V,Tt=dt,Et=ze,_t=yt,Nt=Object.getOwnPropertyDescriptor;u.f=wt?Nt:function(e,t){if(e=kt(e),t=Tt(t),_t)try{return Nt(e,t)}catch(e){}if(Et(e,t))return At(!St(xt.f,e,t),e[t])};var Ct={},Ot=h&&f((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),Rt=J,Pt=String,Lt=TypeError,It=function(e){if(Rt(e))return e;throw Lt(Pt(e)+" is not an object")},Ft=h,Dt=yt,Mt=Ot,jt=It,Bt=dt,Wt=TypeError,Ut=Object.defineProperty,Ht=Object.getOwnPropertyDescriptor,zt="enumerable",Vt="configurable",qt="writable";Ct.f=Ft?Mt?function(e,t,r){if(jt(e),t=Bt(t),jt(r),"function"==typeof e&&"prototype"===t&&"value"in r&&qt in r&&!r[qt]){var n=Ht(e,t);n&&n[qt]&&(e[t]=r.value,r={configurable:Vt in r?r[Vt]:n[Vt],enumerable:zt in r?r[zt]:n[zt],writable:!1})}return Ut(e,t,r)}:Ut:function(e,t,r){if(jt(e),t=Bt(t),jt(r),Dt)try{return Ut(e,t,r)}catch(e){}if("get"in r||"set"in r)throw Wt("Accessors not supported");return"value"in r&&(e[t]=r.value),e};var $t=Ct,Gt=A,Xt=h?function(e,t,r){return $t.f(e,t,Gt(1,r))}:function(e,t,r){return e[t]=r,e},Yt={},Kt={get exports(){return Yt},set exports(e){Yt=e}},Jt=h,Zt=ze,Qt=Function.prototype,er=Jt&&Object.getOwnPropertyDescriptor,tr=Zt(Qt,"name"),rr={EXISTS:tr,PROPER:tr&&"something"===function(){}.name,CONFIGURABLE:tr&&(!Jt||Jt&&er(Qt,"name").configurable)},nr=X,ar=De,or=N(Function.toString);nr(ar.inspectSource)||(ar.inspectSource=function(e){return or(e)});var ir,sr,cr,lr=ar.inspectSource,ur=X,fr=l.WeakMap,hr=ur(fr)&&/native code/.test(String(fr)),dr=Xe,pr=Ce("keys"),gr=function(e){return pr[e]||(pr[e]=dr(e))},mr={},vr=hr,br=l,yr=J,wr=Xt,Sr=ze,xr=De,Ar=gr,kr=mr,Tr="Object already initialized",Er=br.TypeError,_r=br.WeakMap;if(vr||xr.state){var Nr=xr.state||(xr.state=new _r);Nr.get=Nr.get,Nr.has=Nr.has,Nr.set=Nr.set,ir=function(e,t){if(Nr.has(e))throw Er(Tr);return t.facade=e,Nr.set(e,t),t},sr=function(e){return Nr.get(e)||{}},cr=function(e){return Nr.has(e)}}else{var Cr=Ar("state");kr[Cr]=!0,ir=function(e,t){if(Sr(e,Cr))throw Er(Tr);return t.facade=e,wr(e,Cr,t),t},sr=function(e){return Sr(e,Cr)?e[Cr]:{}},cr=function(e){return Sr(e,Cr)}}var Or={set:ir,get:sr,has:cr,enforce:function(e){return cr(e)?sr(e):ir(e,{})},getterFor:function(e){return function(t){var r;if(!yr(t)||(r=sr(t)).type!==e)throw Er("Incompatible receiver, "+e+" required");return r}}},Rr=N,Pr=f,Lr=X,Ir=ze,Fr=h,Dr=rr.CONFIGURABLE,Mr=lr,jr=Or.enforce,Br=Or.get,Wr=String,Ur=Object.defineProperty,Hr=Rr("".slice),zr=Rr("".replace),Vr=Rr([].join),qr=Fr&&!Pr((function(){return 8!==Ur((function(){}),"length",{value:8}).length})),$r=String(String).split("String"),Gr=Kt.exports=function(e,t,r){"Symbol("===Hr(Wr(t),0,7)&&(t="["+zr(Wr(t),/^Symbol\(([^)]*)\)/,"$1")+"]"),r&&r.getter&&(t="get "+t),r&&r.setter&&(t="set "+t),(!Ir(e,"name")||Dr&&e.name!==t)&&(Fr?Ur(e,"name",{value:t,configurable:!0}):e.name=t),qr&&r&&Ir(r,"arity")&&e.length!==r.arity&&Ur(e,"length",{value:r.arity});try{r&&Ir(r,"constructor")&&r.constructor?Fr&&Ur(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var n=jr(e);return Ir(n,"source")||(n.source=Vr($r,"string"==typeof t?t:"")),e};Function.prototype.toString=Gr((function(){return Lr(this)&&Br(this).source||Mr(this)}),"toString");var Xr=X,Yr=Ct,Kr=Yt,Jr=Le,Zr=function(e,t,r,n){n||(n={});var a=n.enumerable,o=void 0!==n.name?n.name:t;if(Xr(r)&&Kr(r,o,n),n.global)a?e[t]=r:Jr(t,r);else{try{n.unsafe?e[t]&&(a=!0):delete e[t]}catch(e){}a?e[t]=r:Yr.f(e,t,{value:r,enumerable:!1,configurable:!n.nonConfigurable,writable:!n.nonWritable})}return e},Qr={},en=Math.ceil,tn=Math.floor,rn=Math.trunc||function(e){var t=+e;return(t>0?tn:en)(t)},nn=function(e){var t=+e;return t!=t||0===t?0:rn(t)},an=nn,on=Math.max,sn=Math.min,cn=nn,ln=Math.min,un=function(e){return e>0?ln(cn(e),9007199254740991):0},fn=function(e){return un(e.length)},hn=V,dn=function(e,t){var r=an(e);return r<0?on(r+t,0):sn(r,t)},pn=fn,gn=function(e){return function(t,r,n){var a,o=hn(t),i=pn(o),s=dn(n,i);if(e&&r!=r){for(;i>s;)if((a=o[s++])!=a)return!0}else for(;i>s;s++)if((e||s in o)&&o[s]===r)return e||s||0;return!e&&-1}},mn={includes:gn(!0),indexOf:gn(!1)},vn=ze,bn=V,yn=mn.indexOf,wn=mr,Sn=N([].push),xn=function(e,t){var r,n=bn(e),a=0,o=[];for(r in n)!vn(wn,r)&&vn(n,r)&&Sn(o,r);for(;t.length>a;)vn(n,r=t[a++])&&(~yn(o,r)||Sn(o,r));return o},An=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],kn=xn,Tn=An.concat("length","prototype");Qr.f=Object.getOwnPropertyNames||function(e){return kn(e,Tn)};var En={};En.f=Object.getOwnPropertySymbols;var _n=ee,Nn=Qr,Cn=En,On=It,Rn=N([].concat),Pn=_n("Reflect","ownKeys")||function(e){var t=Nn.f(On(e)),r=Cn.f;return r?Rn(t,r(e)):t},Ln=ze,In=Pn,Fn=u,Dn=Ct,Mn=f,jn=X,Bn=/#|\.prototype\./,Wn=function(e,t){var r=Hn[Un(e)];return r==Vn||r!=zn&&(jn(t)?Mn(t):!!t)},Un=Wn.normalize=function(e){return String(e).replace(Bn,".").toLowerCase()},Hn=Wn.data={},zn=Wn.NATIVE="N",Vn=Wn.POLYFILL="P",qn=Wn,$n=l,Gn=u.f,Xn=Xt,Yn=Zr,Kn=Le,Jn=function(e,t,r){for(var n=In(t),a=Dn.f,o=Fn.f,i=0;i<n.length;i++){var s=n[i];Ln(e,s)||r&&Ln(r,s)||a(e,s,o(t,s))}},Zn=qn,Qn=function(e,t){var r,n,a,o,i,s=e.target,c=e.global,l=e.stat;if(r=c?$n:l?$n[s]||Kn(s,{}):($n[s]||{}).prototype)for(n in t){if(o=t[n],a=e.dontCallGetSet?(i=Gn(r,n))&&i.value:r[n],!Zn(c?n:s+(l?".":"#")+n,e.forced)&&void 0!==a){if(typeof o==typeof a)continue;Jn(o,a)}(e.sham||a&&a.sham)&&Xn(o,"sham",!0),Yn(r,n,o,e)}},ea=xn,ta=An,ra=Object.keys||function(e){return ea(e,ta)},na=h,aa=N,oa=m,ia=f,sa=ra,ca=En,la=v,ua=We,fa=M,ha=Object.assign,da=Object.defineProperty,pa=aa([].concat),ga=!ha||ia((function(){if(na&&1!==ha({b:1},ha(da({},"a",{enumerable:!0,get:function(){da(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},r=Symbol(),n="abcdefghijklmnopqrst";return e[r]=7,n.split("").forEach((function(e){t[e]=e})),7!=ha({},e)[r]||sa(ha({},t)).join("")!=n}))?function(e,t){for(var r=ua(e),n=arguments.length,a=1,o=ca.f,i=la.f;n>a;)for(var s,c=fa(arguments[a++]),l=o?pa(sa(c),o(c)):sa(c),u=l.length,f=0;u>f;)s=l[f++],na&&!oa(i,c,s)||(r[s]=c[s]);return r}:ha,ma=ga;Qn({target:"Object",stat:!0,arity:2,forced:Object.assign!==ma},{assign:ma});var va=P,ba=Array.isArray||function(e){return"Array"==va(e)},ya=TypeError,wa=dt,Sa=Ct,xa=A,Aa={};Aa[nt("toStringTag")]="z";var ka="[object z]"===String(Aa),Ta=ka,Ea=X,_a=P,Na=nt("toStringTag"),Ca=Object,Oa="Arguments"==_a(function(){return arguments}()),Ra=Ta?_a:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=Ca(e),Na))?r:Oa?_a(t):"Object"==(n=_a(t))&&Ea(t.callee)?"Arguments":n},Pa=N,La=f,Ia=X,Fa=Ra,Da=lr,Ma=function(){},ja=[],Ba=ee("Reflect","construct"),Wa=/^\s*(?:class|function)\b/,Ua=Pa(Wa.exec),Ha=!Wa.exec(Ma),za=function(e){if(!Ia(e))return!1;try{return Ba(Ma,ja,e),!0}catch(e){return!1}},Va=function(e){if(!Ia(e))return!1;switch(Fa(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return Ha||!!Ua(Wa,Da(e))}catch(e){return!0}};Va.sham=!0;var qa=!Ba||La((function(){var e;return za(za.call)||!za(Object)||!za((function(){e=!0}))||e}))?Va:za,$a=ba,Ga=qa,Xa=J,Ya=nt("species"),Ka=Array,Ja=function(e){var t;return $a(e)&&(t=e.constructor,(Ga(t)&&(t===Ka||$a(t.prototype))||Xa(t)&&null===(t=t[Ya]))&&(t=void 0)),void 0===t?Ka:t},Za=function(e,t){return new(Ja(e))(0===t?0:t)},Qa=f,eo=ce,to=nt("species"),ro=Qn,no=f,ao=ba,oo=J,io=We,so=fn,co=function(e){if(e>9007199254740991)throw ya("Maximum allowed index exceeded");return e},lo=function(e,t,r){var n=wa(t);n in e?Sa.f(e,n,xa(0,r)):e[n]=r},uo=Za,fo=function(e){return eo>=51||!Qa((function(){var t=[];return(t.constructor={})[to]=function(){return{foo:1}},1!==t[e](Boolean).foo}))},ho=ce,po=nt("isConcatSpreadable"),go=ho>=51||!no((function(){var e=[];return e[po]=!1,e.concat()[0]!==e})),mo=function(e){if(!oo(e))return!1;var t=e[po];return void 0!==t?!!t:ao(e)};ro({target:"Array",proto:!0,arity:1,forced:!go||!fo("concat")},{concat:function(e){var t,r,n,a,o,i=io(this),s=uo(i,0),c=0;for(t=-1,n=arguments.length;t<n;t++)if(mo(o=-1===t?i:arguments[t]))for(a=so(o),co(c+a),r=0;r<a;r++,c++)r in o&&lo(s,c,o[r]);else co(c+1),lo(s,c++,o);return s.length=c,s}});var vo={},bo=h,yo=Ot,wo=Ct,So=It,xo=V,Ao=ra;vo.f=bo&&!yo?Object.defineProperties:function(e,t){So(e);for(var r,n=xo(t),a=Ao(t),o=a.length,i=0;o>i;)wo.f(e,r=a[i++],n[r]);return e};var ko,To=ee("document","documentElement"),Eo=It,_o=vo,No=An,Co=mr,Oo=To,Ro=vt,Po="prototype",Lo="script",Io=gr("IE_PROTO"),Fo=function(){},Do=function(e){return"<"+Lo+">"+e+"</"+Lo+">"},Mo=function(e){e.write(Do("")),e.close();var t=e.parentWindow.Object;return e=null,t},jo=function(){try{ko=new ActiveXObject("htmlfile")}catch(e){}var e,t,r;jo="undefined"!=typeof document?document.domain&&ko?Mo(ko):(t=Ro("iframe"),r="java"+Lo+":",t.style.display="none",Oo.appendChild(t),t.src=String(r),(e=t.contentWindow.document).open(),e.write(Do("document.F=Object")),e.close(),e.F):Mo(ko);for(var n=No.length;n--;)delete jo[Po][No[n]];return jo()};Co[Io]=!0;var Bo=nt,Wo=Object.create||function(e,t){var r;return null!==e?(Fo[Po]=Eo(e),r=new Fo,Fo[Po]=null,r[Io]=e):r=jo(),void 0===t?r:_o.f(r,t)},Uo=Ct.f,Ho=Bo("unscopables"),zo=Array.prototype;null==zo[Ho]&&Uo(zo,Ho,{configurable:!0,value:Wo(null)});var Vo=mn.includes,qo=function(e){zo[Ho][e]=!0};Qn({target:"Array",proto:!0,forced:f((function(){return!Array(1).includes()}))},{includes:function(e){return Vo(this,e,arguments.length>1?arguments[1]:void 0)}}),qo("includes");var $o=Ra,Go=ka?{}.toString:function(){return"[object "+$o(this)+"]"};ka||Zr(Object.prototype,"toString",Go,{unsafe:!0});var Xo=vt("span").classList,Yo=Xo&&Xo.constructor&&Xo.constructor.prototype,Ko=Yo===Object.prototype?void 0:Yo,Jo=P,Zo=N,Qo=function(e){if("Function"===Jo(e))return Zo(e)},ei=xe,ti=d,ri=Qo(Qo.bind),ni=function(e,t){return ei(e),void 0===t?e:ti?ri(e,t):function(){return e.apply(t,arguments)}},ai=M,oi=We,ii=fn,si=Za,ci=N([].push),li=function(e){var t=1==e,r=2==e,n=3==e,a=4==e,o=6==e,i=7==e,s=5==e||o;return function(c,l,u,f){for(var h,d,p=oi(c),g=ai(p),m=ni(l,u),v=ii(g),b=0,y=f||si,w=t?y(c,v):r||i?y(c,0):void 0;v>b;b++)if((s||b in g)&&(d=m(h=g[b],b,p),e))if(t)w[b]=d;else if(d)switch(e){case 3:return!0;case 5:return h;case 6:return b;case 2:ci(w,h)}else switch(e){case 4:return!1;case 7:ci(w,h)}return o?-1:n||a?a:w}},ui={forEach:li(0),map:li(1),filter:li(2),some:li(3),every:li(4),find:li(5),findIndex:li(6),filterReject:li(7)},fi=f,hi=ui.forEach,di=function(e,t){var r=[][e];return!!r&&fi((function(){r.call(null,t||function(){return 1},1)}))}("forEach")?[].forEach:function(e){return hi(this,e,arguments.length>1?arguments[1]:void 0)},pi=l,gi={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},mi=Ko,vi=di,bi=Xt,yi=function(e){if(e&&e.forEach!==vi)try{bi(e,"forEach",vi)}catch(t){e.forEach=vi}};for(var wi in gi)gi[wi]&&yi(pi[wi]&&pi[wi].prototype);yi(mi);var Si=J,xi=P,Ai=nt("match"),ki=function(e){var t;return Si(e)&&(void 0!==(t=e[Ai])?!!t:"RegExp"==xi(e))},Ti=TypeError,Ei=Ra,_i=String,Ni=nt("match"),Ci=Qn,Oi=function(e){if(ki(e))throw Ti("The method doesn't accept regular expressions");return e},Ri=U,Pi=function(e){if("Symbol"===Ei(e))throw TypeError("Cannot convert a Symbol value to a string");return _i(e)},Li=function(e){var t=/./;try{"/./"[e](t)}catch(r){try{return t[Ni]=!1,"/./"[e](t)}catch(e){}}return!1},Ii=N("".indexOf);Ci({target:"String",proto:!0,forced:!Li("includes")},{includes:function(e){return!!~Ii(Pi(Ri(this)),Pi(Oi(e)),arguments.length>1?arguments[1]:void 0)}});Object.assign(e.fn.bootstrapTable.defaults,{mobileResponsive:!1,minWidth:562,minHeight:void 0,heightThreshold:100,checkOnInit:!0,columnsHidden:[]}),e.BootstrapTable=function(a){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&n(e,t)}(f,a);var s,c,l,u=o(f);function f(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,f),u.apply(this,arguments)}return s=f,c=[{key:"init",value:function(){for(var t,n=this,a=arguments.length,o=new Array(a),s=0;s<a;s++)o[s]=arguments[s];if((t=i(r(f.prototype),"init",this)).call.apply(t,[this].concat(o)),this.options.mobileResponsive&&this.options.minWidth){this.options.minWidth<100&&this.options.resizable&&(console.warn("The minWidth when the resizable extension is active should be greater or equal than 100"),this.options.minWidth=100);var c,l,u,h={width:e(window).width(),height:e(window).height()};if(e(window).on("resize orientationchange",(c=function(){var t=e(window).width(),r=e(window).height(),a=e(document.activeElement);a.length&&["INPUT","SELECT","TEXTAREA"].includes(a.prop("nodeName"))||(Math.abs(h.height-r)>n.options.heightThreshold||h.width!==t)&&(n.changeView(t,r),h={width:t,height:r})},l=200,u=0,function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];clearTimeout(u),u=setTimeout((function(){u=0,c.apply(void 0,t)}),l)})),this.options.checkOnInit){var d=e(window).width(),p=e(window).height();this.changeView(d,p),h={width:d,height:p}}}}},{key:"conditionCardView",value:function(){this.changeTableView(!1),this.showHideColumns(!1)}},{key:"conditionFullView",value:function(){this.changeTableView(!0),this.showHideColumns(!0)}},{key:"changeTableView",value:function(e){this.options.cardView=e,this.toggleView()}},{key:"showHideColumns",value:function(e){var t=this;this.options.columnsHidden.length>0&&this.columns.forEach((function(r){t.options.columnsHidden.includes(r.field)&&r.visible!==e&&t._toggleColumn(t.fieldsColumnsIndex[r.field],e,!0)}))}},{key:"changeView",value:function(e,t){this.options.minHeight?e<=this.options.minWidth&&t<=this.options.minHeight?this.conditionCardView():e>this.options.minWidth&&t>this.options.minHeight&&this.conditionFullView():e<=this.options.minWidth?this.conditionCardView():e>this.options.minWidth&&this.conditionFullView(),this.resetView()}}],c&&t(s.prototype,c),l&&t(s,l),Object.defineProperty(s,"prototype",{writable:!1}),f}(e.BootstrapTable)})),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).jQuery)}(this,(function(e){"use strict";function t(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,u(n.key),n)}}function r(e,t,r){return(t=u(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function n(e){return n=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},n(e)}function a(e,t){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},a(e,t)}function o(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function i(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,a=n(e);if(t){var i=n(this).constructor;r=Reflect.construct(a,arguments,i)}else r=a.apply(this,arguments);return o(this,r)}}function s(){return s="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,r){var a=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=n(e)););return e}(e,t);if(a){var o=Object.getOwnPropertyDescriptor(a,t);return o.get?o.get.call(arguments.length<3?e:r):o.value}},s.apply(this,arguments)}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function l(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return c(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?c(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,a=function(){};return{s:a,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:a}}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 o,i=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return i=e.done,e},e:function(e){s=!0,o=e},f:function(){try{i||null==r.return||r.return()}finally{if(s)throw o}}}}function u(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}var f="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},h=function(e){return e&&e.Math==Math&&e},d=h("object"==typeof globalThis&&globalThis)||h("object"==typeof window&&window)||h("object"==typeof self&&self)||h("object"==typeof f&&f)||function(){return this}()||Function("return this")(),p={},g=function(e){try{return!!e()}catch(e){return!0}},m=!g((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),v=!g((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})),b=v,y=Function.prototype.call,w=b?y.bind(y):function(){return y.apply(y,arguments)},S={},x={}.propertyIsEnumerable,A=Object.getOwnPropertyDescriptor,k=A&&!x.call({1:2},1);S.f=k?function(e){var t=A(this,e);return!!t&&t.enumerable}:x;var T,E,_=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},N=v,C=Function.prototype,O=C.call,R=N&&C.bind.bind(O,O),P=N?R:function(e){return function(){return O.apply(e,arguments)}},L=P,I=L({}.toString),F=L("".slice),D=function(e){return F(I(e),8,-1)},M=g,j=D,B=Object,W=P("".split),U=M((function(){return!B("z").propertyIsEnumerable(0)}))?function(e){return"String"==j(e)?W(e,""):B(e)}:B,H=function(e){return null==e},z=H,V=TypeError,q=function(e){if(z(e))throw V("Can't call method on "+e);return e},$=U,G=q,X=function(e){return $(G(e))},Y="object"==typeof document&&document.all,K={all:Y,IS_HTMLDDA:void 0===Y&&void 0!==Y},J=K.all,Z=K.IS_HTMLDDA?function(e){return"function"==typeof e||e===J}:function(e){return"function"==typeof e},Q=Z,ee=K.all,te=K.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:Q(e)||e===ee}:function(e){return"object"==typeof e?null!==e:Q(e)},re=d,ne=Z,ae=function(e,t){return arguments.length<2?(r=re[e],ne(r)?r:void 0):re[e]&&re[e][t];var r},oe=P({}.isPrototypeOf),ie=d,se="undefined"!=typeof navigator&&String(navigator.userAgent)||"",ce=ie.process,le=ie.Deno,ue=ce&&ce.versions||le&&le.version,fe=ue&&ue.v8;fe&&(E=(T=fe.split("."))[0]>0&&T[0]<4?1:+(T[0]+T[1])),!E&&se&&(!(T=se.match(/Edge\/(\d+)/))||T[1]>=74)&&(T=se.match(/Chrome\/(\d+)/))&&(E=+T[1]);var he=E,de=he,pe=g,ge=!!Object.getOwnPropertySymbols&&!pe((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&de&&de<41})),me=ge&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,ve=ae,be=Z,ye=oe,we=Object,Se=me?function(e){return"symbol"==typeof e}:function(e){var t=ve("Symbol");return be(t)&&ye(t.prototype,we(e))},xe=String,Ae=Z,ke=function(e){try{return xe(e)}catch(e){return"Object"}},Te=TypeError,Ee=function(e){if(Ae(e))return e;throw Te(ke(e)+" is not a function")},_e=Ee,Ne=H,Ce=function(e,t){var r=e[t];return Ne(r)?void 0:_e(r)},Oe=w,Re=Z,Pe=te,Le=TypeError,Ie={},Fe={get exports(){return Ie},set exports(e){Ie=e}},De=d,Me=Object.defineProperty,je=function(e,t){try{Me(De,e,{value:t,configurable:!0,writable:!0})}catch(r){De[e]=t}return t},Be=je,We="__core-js_shared__",Ue=d[We]||Be(We,{}),He=Ue;(Fe.exports=function(e,t){return He[e]||(He[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.29.0",mode:"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.29.0/LICENSE",source:"https://github.com/zloirock/core-js"});var ze=q,Ve=Object,qe=function(e){return Ve(ze(e))},$e=qe,Ge=P({}.hasOwnProperty),Xe=Object.hasOwn||function(e,t){return Ge($e(e),t)},Ye=P,Ke=0,Je=Math.random(),Ze=Ye(1..toString),Qe=function(e){return"Symbol("+(void 0===e?"":e)+")_"+Ze(++Ke+Je,36)},et=Ie,tt=Xe,rt=Qe,nt=ge,at=me,ot=d.Symbol,it=et("wks"),st=at?ot.for||ot:ot&&ot.withoutSetter||rt,ct=function(e){return tt(it,e)||(it[e]=nt&&tt(ot,e)?ot[e]:st("Symbol."+e)),it[e]},lt=w,ut=te,ft=Se,ht=Ce,dt=function(e,t){var r,n;if("string"===t&&Re(r=e.toString)&&!Pe(n=Oe(r,e)))return n;if(Re(r=e.valueOf)&&!Pe(n=Oe(r,e)))return n;if("string"!==t&&Re(r=e.toString)&&!Pe(n=Oe(r,e)))return n;throw Le("Can't convert object to primitive value")},pt=TypeError,gt=ct("toPrimitive"),mt=function(e,t){if(!ut(e)||ft(e))return e;var r,n=ht(e,gt);if(n){if(void 0===t&&(t="default"),r=lt(n,e,t),!ut(r)||ft(r))return r;throw pt("Can't convert object to primitive value")}return void 0===t&&(t="number"),dt(e,t)},vt=Se,bt=function(e){var t=mt(e,"string");return vt(t)?t:t+""},yt=te,wt=d.document,St=yt(wt)&&yt(wt.createElement),xt=function(e){return St?wt.createElement(e):{}},At=xt,kt=!m&&!g((function(){return 7!=Object.defineProperty(At("div"),"a",{get:function(){return 7}}).a})),Tt=m,Et=w,_t=S,Nt=_,Ct=X,Ot=bt,Rt=Xe,Pt=kt,Lt=Object.getOwnPropertyDescriptor;p.f=Tt?Lt:function(e,t){if(e=Ct(e),t=Ot(t),Pt)try{return Lt(e,t)}catch(e){}if(Rt(e,t))return Nt(!Et(_t.f,e,t),e[t])};var It={},Ft=m&&g((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),Dt=te,Mt=String,jt=TypeError,Bt=function(e){if(Dt(e))return e;throw jt(Mt(e)+" is not an object")},Wt=m,Ut=kt,Ht=Ft,zt=Bt,Vt=bt,qt=TypeError,$t=Object.defineProperty,Gt=Object.getOwnPropertyDescriptor,Xt="enumerable",Yt="configurable",Kt="writable";It.f=Wt?Ht?function(e,t,r){if(zt(e),t=Vt(t),zt(r),"function"==typeof e&&"prototype"===t&&"value"in r&&Kt in r&&!r[Kt]){var n=Gt(e,t);n&&n[Kt]&&(e[t]=r.value,r={configurable:Yt in r?r[Yt]:n[Yt],enumerable:Xt in r?r[Xt]:n[Xt],writable:!1})}return $t(e,t,r)}:$t:function(e,t,r){if(zt(e),t=Vt(t),zt(r),Ut)try{return $t(e,t,r)}catch(e){}if("get"in r||"set"in r)throw qt("Accessors not supported");return"value"in r&&(e[t]=r.value),e};var Jt=It,Zt=_,Qt=m?function(e,t,r){return Jt.f(e,t,Zt(1,r))}:function(e,t,r){return e[t]=r,e},er={},tr={get exports(){return er},set exports(e){er=e}},rr=m,nr=Xe,ar=Function.prototype,or=rr&&Object.getOwnPropertyDescriptor,ir=nr(ar,"name"),sr={EXISTS:ir,PROPER:ir&&"something"===function(){}.name,CONFIGURABLE:ir&&(!rr||rr&&or(ar,"name").configurable)},cr=Z,lr=Ue,ur=P(Function.toString);cr(lr.inspectSource)||(lr.inspectSource=function(e){return ur(e)});var fr,hr,dr,pr=lr.inspectSource,gr=Z,mr=d.WeakMap,vr=gr(mr)&&/native code/.test(String(mr)),br=Qe,yr=Ie("keys"),wr=function(e){return yr[e]||(yr[e]=br(e))},Sr={},xr=vr,Ar=d,kr=te,Tr=Qt,Er=Xe,_r=Ue,Nr=wr,Cr=Sr,Or="Object already initialized",Rr=Ar.TypeError,Pr=Ar.WeakMap;if(xr||_r.state){var Lr=_r.state||(_r.state=new Pr);Lr.get=Lr.get,Lr.has=Lr.has,Lr.set=Lr.set,fr=function(e,t){if(Lr.has(e))throw Rr(Or);return t.facade=e,Lr.set(e,t),t},hr=function(e){return Lr.get(e)||{}},dr=function(e){return Lr.has(e)}}else{var Ir=Nr("state");Cr[Ir]=!0,fr=function(e,t){if(Er(e,Ir))throw Rr(Or);return t.facade=e,Tr(e,Ir,t),t},hr=function(e){return Er(e,Ir)?e[Ir]:{}},dr=function(e){return Er(e,Ir)}}var Fr={set:fr,get:hr,has:dr,enforce:function(e){return dr(e)?hr(e):fr(e,{})},getterFor:function(e){return function(t){var r;if(!kr(t)||(r=hr(t)).type!==e)throw Rr("Incompatible receiver, "+e+" required");return r}}},Dr=P,Mr=g,jr=Z,Br=Xe,Wr=m,Ur=sr.CONFIGURABLE,Hr=pr,zr=Fr.enforce,Vr=Fr.get,qr=String,$r=Object.defineProperty,Gr=Dr("".slice),Xr=Dr("".replace),Yr=Dr([].join),Kr=Wr&&!Mr((function(){return 8!==$r((function(){}),"length",{value:8}).length})),Jr=String(String).split("String"),Zr=tr.exports=function(e,t,r){"Symbol("===Gr(qr(t),0,7)&&(t="["+Xr(qr(t),/^Symbol\(([^)]*)\)/,"$1")+"]"),r&&r.getter&&(t="get "+t),r&&r.setter&&(t="set "+t),(!Br(e,"name")||Ur&&e.name!==t)&&(Wr?$r(e,"name",{value:t,configurable:!0}):e.name=t),Kr&&r&&Br(r,"arity")&&e.length!==r.arity&&$r(e,"length",{value:r.arity});try{r&&Br(r,"constructor")&&r.constructor?Wr&&$r(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var n=zr(e);return Br(n,"source")||(n.source=Yr(Jr,"string"==typeof t?t:"")),e};Function.prototype.toString=Zr((function(){return jr(this)&&Vr(this).source||Hr(this)}),"toString");var Qr=Z,en=It,tn=er,rn=je,nn=function(e,t,r,n){n||(n={});var a=n.enumerable,o=void 0!==n.name?n.name:t;if(Qr(r)&&tn(r,o,n),n.global)a?e[t]=r:rn(t,r);else{try{n.unsafe?e[t]&&(a=!0):delete e[t]}catch(e){}a?e[t]=r:en.f(e,t,{value:r,enumerable:!1,configurable:!n.nonConfigurable,writable:!n.nonWritable})}return e},an={},on=Math.ceil,sn=Math.floor,cn=Math.trunc||function(e){var t=+e;return(t>0?sn:on)(t)},ln=function(e){var t=+e;return t!=t||0===t?0:cn(t)},un=ln,fn=Math.max,hn=Math.min,dn=function(e,t){var r=un(e);return r<0?fn(r+t,0):hn(r,t)},pn=ln,gn=Math.min,mn=function(e){return e>0?gn(pn(e),9007199254740991):0},vn=mn,bn=function(e){return vn(e.length)},yn=X,wn=dn,Sn=bn,xn=function(e){return function(t,r,n){var a,o=yn(t),i=Sn(o),s=wn(n,i);if(e&&r!=r){for(;i>s;)if((a=o[s++])!=a)return!0}else for(;i>s;s++)if((e||s in o)&&o[s]===r)return e||s||0;return!e&&-1}},An={includes:xn(!0),indexOf:xn(!1)},kn=Xe,Tn=X,En=An.indexOf,_n=Sr,Nn=P([].push),Cn=function(e,t){var r,n=Tn(e),a=0,o=[];for(r in n)!kn(_n,r)&&kn(n,r)&&Nn(o,r);for(;t.length>a;)kn(n,r=t[a++])&&(~En(o,r)||Nn(o,r));return o},On=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Rn=Cn,Pn=On.concat("length","prototype");an.f=Object.getOwnPropertyNames||function(e){return Rn(e,Pn)};var Ln={};Ln.f=Object.getOwnPropertySymbols;var In=ae,Fn=an,Dn=Ln,Mn=Bt,jn=P([].concat),Bn=In("Reflect","ownKeys")||function(e){var t=Fn.f(Mn(e)),r=Dn.f;return r?jn(t,r(e)):t},Wn=Xe,Un=Bn,Hn=p,zn=It,Vn=g,qn=Z,$n=/#|\.prototype\./,Gn=function(e,t){var r=Yn[Xn(e)];return r==Jn||r!=Kn&&(qn(t)?Vn(t):!!t)},Xn=Gn.normalize=function(e){return String(e).replace($n,".").toLowerCase()},Yn=Gn.data={},Kn=Gn.NATIVE="N",Jn=Gn.POLYFILL="P",Zn=Gn,Qn=d,ea=p.f,ta=Qt,ra=nn,na=je,aa=function(e,t,r){for(var n=Un(t),a=zn.f,o=Hn.f,i=0;i<n.length;i++){var s=n[i];Wn(e,s)||r&&Wn(r,s)||a(e,s,o(t,s))}},oa=Zn,ia=function(e,t){var r,n,a,o,i,s=e.target,c=e.global,l=e.stat;if(r=c?Qn:l?Qn[s]||na(s,{}):(Qn[s]||{}).prototype)for(n in t){if(o=t[n],a=e.dontCallGetSet?(i=ea(r,n))&&i.value:r[n],!oa(c?n:s+(l?".":"#")+n,e.forced)&&void 0!==a){if(typeof o==typeof a)continue;aa(o,a)}(e.sham||a&&a.sham)&&ta(o,"sham",!0),ra(r,n,o,e)}},sa=Cn,ca=On,la=Object.keys||function(e){return sa(e,ca)},ua=m,fa=P,ha=w,da=g,pa=la,ga=Ln,ma=S,va=qe,ba=U,ya=Object.assign,wa=Object.defineProperty,Sa=fa([].concat),xa=!ya||da((function(){if(ua&&1!==ya({b:1},ya(wa({},"a",{enumerable:!0,get:function(){wa(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},r=Symbol(),n="abcdefghijklmnopqrst";return e[r]=7,n.split("").forEach((function(e){t[e]=e})),7!=ya({},e)[r]||pa(ya({},t)).join("")!=n}))?function(e,t){for(var r=va(e),n=arguments.length,a=1,o=ga.f,i=ma.f;n>a;)for(var s,c=ba(arguments[a++]),l=o?Sa(pa(c),o(c)):pa(c),u=l.length,f=0;u>f;)s=l[f++],ua&&!ha(i,c,s)||(r[s]=c[s]);return r}:ya,Aa=xa;ia({target:"Object",stat:!0,arity:2,forced:Object.assign!==Aa},{assign:Aa});var ka={};ka[ct("toStringTag")]="z";var Ta="[object z]"===String(ka),Ea=Ta,_a=Z,Na=D,Ca=ct("toStringTag"),Oa=Object,Ra="Arguments"==Na(function(){return arguments}()),Pa=Ea?Na:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=Oa(e),Ca))?r:Ra?Na(t):"Object"==(n=Na(t))&&_a(t.callee)?"Arguments":n},La=Pa,Ia=String,Fa=function(e){if("Symbol"===La(e))throw TypeError("Cannot convert a Symbol value to a string");return Ia(e)},Da=Bt,Ma=g,ja=d.RegExp,Ba=Ma((function(){var e=ja("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),Wa=Ba||Ma((function(){return!ja("a","y").sticky})),Ua={BROKEN_CARET:Ba||Ma((function(){var e=ja("^r","gy");return e.lastIndex=2,null!=e.exec("str")})),MISSED_STICKY:Wa,UNSUPPORTED_Y:Ba},Ha={},za=m,Va=Ft,qa=It,$a=Bt,Ga=X,Xa=la;Ha.f=za&&!Va?Object.defineProperties:function(e,t){$a(e);for(var r,n=Ga(t),a=Xa(t),o=a.length,i=0;o>i;)qa.f(e,r=a[i++],n[r]);return e};var Ya,Ka=ae("document","documentElement"),Ja=Bt,Za=Ha,Qa=On,eo=Sr,to=Ka,ro=xt,no="prototype",ao="script",oo=wr("IE_PROTO"),io=function(){},so=function(e){return"<"+ao+">"+e+"</"+ao+">"},co=function(e){e.write(so("")),e.close();var t=e.parentWindow.Object;return e=null,t},lo=function(){try{Ya=new ActiveXObject("htmlfile")}catch(e){}var e,t,r;lo="undefined"!=typeof document?document.domain&&Ya?co(Ya):(t=ro("iframe"),r="java"+ao+":",t.style.display="none",to.appendChild(t),t.src=String(r),(e=t.contentWindow.document).open(),e.write(so("document.F=Object")),e.close(),e.F):co(Ya);for(var n=Qa.length;n--;)delete lo[no][Qa[n]];return lo()};eo[oo]=!0;var uo,fo,ho=Object.create||function(e,t){var r;return null!==e?(io[no]=Ja(e),r=new io,io[no]=null,r[oo]=e):r=lo(),void 0===t?r:Za.f(r,t)},po=g,go=d.RegExp,mo=po((function(){var e=go(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)})),vo=g,bo=d.RegExp,yo=vo((function(){var e=bo("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")})),wo=w,So=P,xo=Fa,Ao=function(){var e=Da(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t},ko=Ua,To=ho,Eo=Fr.get,_o=mo,No=yo,Co=Ie("native-string-replace",String.prototype.replace),Oo=RegExp.prototype.exec,Ro=Oo,Po=So("".charAt),Lo=So("".indexOf),Io=So("".replace),Fo=So("".slice),Do=(fo=/b*/g,wo(Oo,uo=/a/,"a"),wo(Oo,fo,"a"),0!==uo.lastIndex||0!==fo.lastIndex),Mo=ko.BROKEN_CARET,jo=void 0!==/()??/.exec("")[1];(Do||jo||Mo||_o||No)&&(Ro=function(e){var t,r,n,a,o,i,s,c=this,l=Eo(c),u=xo(e),f=l.raw;if(f)return f.lastIndex=c.lastIndex,t=wo(Ro,f,u),c.lastIndex=f.lastIndex,t;var h=l.groups,d=Mo&&c.sticky,p=wo(Ao,c),g=c.source,m=0,v=u;if(d&&(p=Io(p,"y",""),-1===Lo(p,"g")&&(p+="g"),v=Fo(u,c.lastIndex),c.lastIndex>0&&(!c.multiline||c.multiline&&"\n"!==Po(u,c.lastIndex-1))&&(g="(?: "+g+")",v=" "+v,m++),r=new RegExp("^(?:"+g+")",p)),jo&&(r=new RegExp("^"+g+"$(?!\\s)",p)),Do&&(n=c.lastIndex),a=wo(Oo,d?r:c,v),d?a?(a.input=Fo(a.input,m),a[0]=Fo(a[0],m),a.index=c.lastIndex,c.lastIndex+=a[0].length):c.lastIndex=0:Do&&a&&(c.lastIndex=c.global?a.index+a[0].length:n),jo&&a&&a.length>1&&wo(Co,a[0],r,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(a[o]=void 0)})),a&&h)for(a.groups=i=To(null),o=0;o<h.length;o++)i[(s=h[o])[0]]=a[s[1]];return a});var Bo=Ro;ia({target:"RegExp",proto:!0,forced:/./.exec!==Bo},{exec:Bo});var Wo=v,Uo=Function.prototype,Ho=Uo.apply,zo=Uo.call,Vo="object"==typeof Reflect&&Reflect.apply||(Wo?zo.bind(Ho):function(){return zo.apply(Ho,arguments)}),qo=D,$o=P,Go=function(e){if("Function"===qo(e))return $o(e)},Xo=Go,Yo=nn,Ko=Bo,Jo=g,Zo=ct,Qo=Qt,ei=Zo("species"),ti=RegExp.prototype,ri=P,ni=ln,ai=Fa,oi=q,ii=ri("".charAt),si=ri("".charCodeAt),ci=ri("".slice),li=function(e){return function(t,r){var n,a,o=ai(oi(t)),i=ni(r),s=o.length;return i<0||i>=s?e?"":void 0:(n=si(o,i))<55296||n>56319||i+1===s||(a=si(o,i+1))<56320||a>57343?e?ii(o,i):n:e?ci(o,i,i+2):a-56320+(n-55296<<10)+65536}},ui={codeAt:li(!1),charAt:li(!0)}.charAt,fi=P,hi=qe,di=Math.floor,pi=fi("".charAt),gi=fi("".replace),mi=fi("".slice),vi=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,bi=/\$([$&'`]|\d{1,2})/g,yi=w,wi=Bt,Si=Z,xi=D,Ai=Bo,ki=TypeError,Ti=Vo,Ei=w,_i=P,Ni=function(e,t,r,n){var a=Zo(e),o=!Jo((function(){var t={};return t[a]=function(){return 7},7!=""[e](t)})),i=o&&!Jo((function(){var t=!1,r=/a/;return"split"===e&&((r={}).constructor={},r.constructor[ei]=function(){return r},r.flags="",r[a]=/./[a]),r.exec=function(){return t=!0,null},r[a](""),!t}));if(!o||!i||r){var s=Xo(/./[a]),c=t(a,""[e],(function(e,t,r,n,a){var i=Xo(e),c=t.exec;return c===Ko||c===ti.exec?o&&!a?{done:!0,value:s(t,r,n)}:{done:!0,value:i(r,t,n)}:{done:!1}}));Yo(String.prototype,e,c[0]),Yo(ti,a,c[1])}n&&Qo(ti[a],"sham",!0)},Ci=g,Oi=Bt,Ri=Z,Pi=H,Li=ln,Ii=mn,Fi=Fa,Di=q,Mi=function(e,t,r){return t+(r?ui(e,t).length:1)},ji=Ce,Bi=function(e,t,r,n,a,o){var i=r+e.length,s=n.length,c=bi;return void 0!==a&&(a=hi(a),c=vi),gi(o,c,(function(o,c){var l;switch(pi(c,0)){case"$":return"$";case"&":return e;case"`":return mi(t,0,r);case"'":return mi(t,i);case"<":l=a[mi(c,1,-1)];break;default:var u=+c;if(0===u)return o;if(u>s){var f=di(u/10);return 0===f?o:f<=s?void 0===n[f-1]?pi(c,1):n[f-1]+pi(c,1):o}l=n[u-1]}return void 0===l?"":l}))},Wi=function(e,t){var r=e.exec;if(Si(r)){var n=yi(r,e,t);return null!==n&&wi(n),n}if("RegExp"===xi(e))return yi(Ai,e,t);throw ki("RegExp#exec called on incompatible receiver")},Ui=ct("replace"),Hi=Math.max,zi=Math.min,Vi=_i([].concat),qi=_i([].push),$i=_i("".indexOf),Gi=_i("".slice),Xi="$0"==="a".replace(/./,"$0"),Yi=!!/./[Ui]&&""===/./[Ui]("a","$0");Ni("replace",(function(e,t,r){var n=Yi?"$":"$0";return[function(e,r){var n=Di(this),a=Pi(e)?void 0:ji(e,Ui);return a?Ei(a,e,n,r):Ei(t,Fi(n),e,r)},function(e,a){var o=Oi(this),i=Fi(e);if("string"==typeof a&&-1===$i(a,n)&&-1===$i(a,"$<")){var s=r(t,o,i,a);if(s.done)return s.value}var c=Ri(a);c||(a=Fi(a));var l=o.global;if(l){var u=o.unicode;o.lastIndex=0}for(var f=[];;){var h=Wi(o,i);if(null===h)break;if(qi(f,h),!l)break;""===Fi(h[0])&&(o.lastIndex=Mi(i,Ii(o.lastIndex),u))}for(var d,p="",g=0,m=0;m<f.length;m++){for(var v=Fi((h=f[m])[0]),b=Hi(zi(Li(h.index),i.length),0),y=[],w=1;w<h.length;w++)qi(y,void 0===(d=h[w])?d:String(d));var S=h.groups;if(c){var x=Vi([v],y,b,i);void 0!==S&&qi(x,S);var A=Fi(Ti(a,void 0,x))}else A=Bi(v,i,b,y,S,a);b>=g&&(p+=Gi(i,g,b)+A,g=b+v.length)}return p+Gi(i,g)}]}),!!Ci((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}))||!Xi||Yi);var Ki=D,Ji=Array.isArray||function(e){return"Array"==Ki(e)},Zi=P,Qi=g,es=Z,ts=Pa,rs=pr,ns=function(){},as=[],os=ae("Reflect","construct"),is=/^\s*(?:class|function)\b/,ss=Zi(is.exec),cs=!is.exec(ns),ls=function(e){if(!es(e))return!1;try{return os(ns,as,e),!0}catch(e){return!1}},us=function(e){if(!es(e))return!1;switch(ts(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return cs||!!ss(is,rs(e))}catch(e){return!0}};us.sham=!0;var fs=!os||Qi((function(){var e;return ls(ls.call)||!ls(Object)||!ls((function(){e=!0}))||e}))?us:ls,hs=bt,ds=It,ps=_,gs=function(e,t,r){var n=hs(t);n in e?ds.f(e,n,ps(0,r)):e[n]=r},ms=g,vs=he,bs=ct("species"),ys=function(e){return vs>=51||!ms((function(){var t=[];return(t.constructor={})[bs]=function(){return{foo:1}},1!==t[e](Boolean).foo}))},ws=P([].slice),Ss=ia,xs=Ji,As=fs,ks=te,Ts=dn,Es=bn,_s=X,Ns=gs,Cs=ct,Os=ws,Rs=ys("slice"),Ps=Cs("species"),Ls=Array,Is=Math.max;Ss({target:"Array",proto:!0,forced:!Rs},{slice:function(e,t){var r,n,a,o=_s(this),i=Es(o),s=Ts(e,i),c=Ts(void 0===t?i:t,i);if(xs(o)&&(r=o.constructor,(As(r)&&(r===Ls||xs(r.prototype))||ks(r)&&null===(r=r[Ps]))&&(r=void 0),r===Ls||void 0===r))return Os(o,s,c);for(n=new(void 0===r?Ls:r)(Is(c-s,0)),a=0;s<c;s++,a++)s in o&&Ns(n,a,o[s]);return n.length=a,n}});var Fs=Ee,Ds=v,Ms=Go(Go.bind),js=Ji,Bs=fs,Ws=te,Us=ct("species"),Hs=Array,zs=function(e){var t;return js(e)&&(t=e.constructor,(Bs(t)&&(t===Hs||js(t.prototype))||Ws(t)&&null===(t=t[Us]))&&(t=void 0)),void 0===t?Hs:t},Vs=function(e,t){return new(zs(e))(0===t?0:t)},qs=function(e,t){return Fs(e),void 0===t?e:Ds?Ms(e,t):function(){return e.apply(t,arguments)}},$s=U,Gs=qe,Xs=bn,Ys=Vs,Ks=P([].push),Js=function(e){var t=1==e,r=2==e,n=3==e,a=4==e,o=6==e,i=7==e,s=5==e||o;return function(c,l,u,f){for(var h,d,p=Gs(c),g=$s(p),m=qs(l,u),v=Xs(g),b=0,y=f||Ys,w=t?y(c,v):r||i?y(c,0):void 0;v>b;b++)if((s||b in g)&&(d=m(h=g[b],b,p),e))if(t)w[b]=d;else if(d)switch(e){case 3:return!0;case 5:return h;case 6:return b;case 2:Ks(w,h)}else switch(e){case 4:return!1;case 7:Ks(w,h)}return o?-1:n||a?a:w}},Zs={forEach:Js(0),map:Js(1),filter:Js(2),some:Js(3),every:Js(4),find:Js(5),findIndex:Js(6),filterReject:Js(7)},Qs=Zs.map;ia({target:"Array",proto:!0,forced:!ys("map")},{map:function(e){return Qs(this,e,arguments.length>1?arguments[1]:void 0)}});var ec=ct,tc=ho,rc=It.f,nc=ec("unscopables"),ac=Array.prototype;null==ac[nc]&&rc(ac,nc,{configurable:!0,value:tc(null)});var oc=ia,ic=Zs.find,sc=function(e){ac[nc][e]=!0},cc="find",lc=!0;cc in[]&&Array(1)[cc]((function(){lc=!1})),oc({target:"Array",proto:!0,forced:lc},{find:function(e){return ic(this,e,arguments.length>1?arguments[1]:void 0)}}),sc(cc);var uc=Pa,fc=Ta?{}.toString:function(){return"[object "+uc(this)+"]"};Ta||nn(Object.prototype,"toString",fc,{unsafe:!0});var hc=TypeError,dc=ia,pc=g,gc=Ji,mc=te,vc=qe,bc=bn,yc=function(e){if(e>9007199254740991)throw hc("Maximum allowed index exceeded");return e},wc=gs,Sc=Vs,xc=ys,Ac=he,kc=ct("isConcatSpreadable"),Tc=Ac>=51||!pc((function(){var e=[];return e[kc]=!1,e.concat()[0]!==e})),Ec=function(e){if(!mc(e))return!1;var t=e[kc];return void 0!==t?!!t:gc(e)};dc({target:"Array",proto:!0,arity:1,forced:!Tc||!xc("concat")},{concat:function(e){var t,r,n,a,o,i=vc(this),s=Sc(i,0),c=0;for(t=-1,n=arguments.length;t<n;t++)if(Ec(o=-1===t?i:arguments[t]))for(a=bc(o),yc(c+a),r=0;r<a;r++,c++)r in o&&wc(s,c,o[r]);else yc(c+1),wc(s,c++,o);return s.length=c,s}});var _c=g,Nc=function(e,t){var r=[][e];return!!r&&_c((function(){r.call(null,t||function(){return 1},1)}))},Cc=ia,Oc=U,Rc=X,Pc=Nc,Lc=P([].join);Cc({target:"Array",proto:!0,forced:Oc!=Object||!Pc("join",",")},{join:function(e){return Lc(Rc(this),void 0===e?",":e)}});var Ic=xt("span").classList,Fc=Ic&&Ic.constructor&&Ic.constructor.prototype,Dc=Fc===Object.prototype?void 0:Fc,Mc=Zs.forEach,jc=Nc("forEach")?[].forEach:function(e){return Mc(this,e,arguments.length>1?arguments[1]:void 0)},Bc=d,Wc={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},Uc=Dc,Hc=jc,zc=Qt,Vc=function(e){if(e&&e.forEach!==Hc)try{zc(e,"forEach",Hc)}catch(t){e.forEach=Hc}};for(var qc in Wc)Wc[qc]&&Vc(Bc[qc]&&Bc[qc].prototype);Vc(Uc);var $c=e.fn.bootstrapTable.utils,Gc={json:"JSON",xml:"XML",png:"PNG",csv:"CSV",txt:"TXT",sql:"SQL",doc:"MS-Word",excel:"MS-Excel",xlsx:"MS-Excel (OpenXML)",powerpoint:"MS-Powerpoint",pdf:"PDF"};Object.assign(e.fn.bootstrapTable.defaults,{showExport:!1,exportDataType:"basic",exportTypes:["json","xml","csv","txt","sql","excel"],exportOptions:{},exportFooter:!1}),Object.assign(e.fn.bootstrapTable.columnDefaults,{forceExport:!1,forceHide:!1}),Object.assign(e.fn.bootstrapTable.defaults.icons,{export:{bootstrap3:"glyphicon-export icon-share",bootstrap5:"bi-download",materialize:"file_download","bootstrap-table":"icon-download"}[e.fn.bootstrapTable.theme]||"fa-download"}),Object.assign(e.fn.bootstrapTable.locales,{formatExport:function(){return"Export data"}}),Object.assign(e.fn.bootstrapTable.defaults,e.fn.bootstrapTable.locales),e.fn.bootstrapTable.methods.push("exportTable"),Object.assign(e.fn.bootstrapTable.defaults,{onExportSaved:function(e){return!1},onExportStarted:function(){return!1}}),Object.assign(e.fn.bootstrapTable.events,{"export-saved.bs.table":"onExportSaved","export-started.bs.table":"onExportStarted"}),e.BootstrapTable=function(o){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&a(e,t)}(d,o);var c,u,f,h=i(d);function d(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,d),h.apply(this,arguments)}return c=d,u=[{key:"initToolbar",value:function(){var t,r=this,a=this.options,o=a.exportTypes;if(this.showToolbar=this.showToolbar||a.showExport,this.options.showExport){if("string"==typeof o){var i=o.slice(1,-1).replace(/ /g,"").split(",");o=i.map((function(e){return e.slice(1,-1)}))}if("string"==typeof a.exportOptions&&(a.exportOptions=$c.calculateObjectValue(null,a.exportOptions)),this.$export=this.$toolbar.find(">.columns div.export"),this.$export.length)return void this.updateExportButton();this.buttons=Object.assign(this.buttons,{export:{html:function(){if(1===o.length)return'\n <div class="export '.concat(r.constants.classes.buttonsDropdown,'"\n data-type="').concat(o[0],'">\n <button class="').concat(r.constants.buttonsClass,'"\n aria-label="').concat(a.formatExport(),'"\n type="button"\n title="').concat(a.formatExport(),'">\n ').concat(a.showButtonIcons?$c.sprintf(r.constants.html.icon,a.iconsPrefix,a.icons.export):"","\n ").concat(a.showButtonText?a.formatExport():"","\n </button>\n </div>\n ");var t=[];t.push('\n <div class="export '.concat(r.constants.classes.buttonsDropdown,'">\n <button class="').concat(r.constants.buttonsClass,' dropdown-toggle"\n aria-label="').concat(a.formatExport(),'"\n ').concat(r.constants.dataToggle,'="dropdown"\n type="button"\n title="').concat(a.formatExport(),'">\n ').concat(a.showButtonIcons?$c.sprintf(r.constants.html.icon,a.iconsPrefix,a.icons.export):"","\n ").concat(a.showButtonText?a.formatExport():"","\n ").concat(r.constants.html.dropdownCaret,"\n </button>\n ").concat(r.constants.html.toolbarDropdown[0],"\n "));var n,i=l(o);try{for(i.s();!(n=i.n()).done;){var s=n.value;if(Gc.hasOwnProperty(s)){var c=e($c.sprintf(r.constants.html.pageDropdownItem,"",Gc[s]));c.attr("data-type",s),t.push(c.prop("outerHTML"))}}}catch(e){i.e(e)}finally{i.f()}return t.push(r.constants.html.toolbarDropdown[1],"</div>"),t.join("")}}})}for(var c=arguments.length,u=new Array(c),f=0;f<c;f++)u[f]=arguments[f];if((t=s(n(d.prototype),"initToolbar",this)).call.apply(t,[this].concat(u)),this.$export=this.$toolbar.find(">.columns div.export"),this.options.showExport){this.updateExportButton();var h=this.$export.find("[data-type]");1===o.length&&(h=this.$export),h.click((function(t){t.preventDefault(),r.exportTable({type:e(t.currentTarget).data("type")})})),this.handleToolbar()}}},{key:"handleToolbar",value:function(){this.$export&&s(n(d.prototype),"handleToolbar",this)&&s(n(d.prototype),"handleToolbar",this).call(this)}},{key:"exportTable",value:function(t){var n=this,a=this.options,o=this.header.stateField,i=a.cardView,s=function(r){n.trigger("export-started"),o&&n.hideColumn(o),i&&n.toggleView(),n.columns.forEach((function(e){e.forceHide&&n.hideColumn(e.field)}));var s=n.getData();if(a.detailView&&a.detailViewIcon){var c="left"===a.detailViewAlign?0:n.getVisibleFields().length+$c.getDetailViewIndexOffset(n.options);a.exportOptions.ignoreColumn=[c].concat(a.exportOptions.ignoreColumn||[])}if(a.exportFooter&&a.height){var l=n.$tableFooter.find("tr").first(),u={},f=[];e.each(l.children(),(function(t,r){var a=e(r).children(".th-inner").first().html();u[n.columns[t].field]=" "===a?null:a,f.push(a)})),n.$body.append(n.$body.children().last()[0].outerHTML);var h=n.$body.children().last();e.each(h.children(),(function(t,r){e(r).html(f[t])}))}var d=n.getHiddenColumns();d.forEach((function(e){e.forceExport&&n.showColumn(e.field)})),"function"==typeof a.exportOptions.fileName&&(t.fileName=a.exportOptions.fileName()),n.$el.tableExport($c.extend({onAfterSaveToFile:function(){a.exportFooter&&n.load(s),o&&n.showColumn(o),i&&n.toggleView(),d.forEach((function(e){e.forceExport&&n.hideColumn(e.field)})),n.columns.forEach((function(e){e.forceHide&&n.showColumn(e.field)})),r&&r()}},a.exportOptions,t))};if("all"===a.exportDataType&&a.pagination){var c="server"===a.sidePagination?"post-body.bs.table":"page-change.bs.table",l=this.options.virtualScroll;this.$el.one(c,(function(){setTimeout((function(){s((function(){n.options.virtualScroll=l,n.togglePagination()}))}),0)})),this.options.virtualScroll=!1,this.togglePagination(),this.trigger("export-saved",this.getData())}else if("selected"===a.exportDataType){var u=this.getData(),f=this.getSelections(),h=a.pagination;if(!f.length)return;"server"===a.sidePagination&&(u=r({total:a.totalRows},this.options.dataField,u),f=r({total:f.length},this.options.dataField,f)),this.load(f),h&&this.togglePagination(),s((function(){h&&n.togglePagination(),n.load(u)})),this.trigger("export-saved",f)}else s(),this.trigger("export-saved",this.getData(!0))}},{key:"updateSelected",value:function(){s(n(d.prototype),"updateSelected",this).call(this),this.updateExportButton()}},{key:"updateExportButton",value:function(){"selected"===this.options.exportDataType&&this.$export.find("> button").prop("disabled",!this.getSelections().length)}}],u&&t(c.prototype,u),f&&t(c,f),Object.defineProperty(c,"prototype",{writable:!1}),d}(e.BootstrapTable)})),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).jQuery)}(this,(function(e){"use strict";function t(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,(a=n.key,o=void 0,"symbol"==typeof(o=function(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(a,"string"))?o:String(o)),n)}var a,o}function r(e){return r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},r(e)}function n(e,t){return n=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},n(e,t)}function a(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function o(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=r(e);if(t){var i=r(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return a(this,n)}}function i(){return i="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var a=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=r(e)););return e}(e,t);if(a){var o=Object.getOwnPropertyDescriptor(a,t);return o.get?o.get.call(arguments.length<3?e:n):o.value}},i.apply(this,arguments)}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function c(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return s(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?s(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,a=function(){};return{s:a,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:a}}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 o,i=!0,c=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return i=e.done,e},e:function(e){c=!0,o=e},f:function(){try{i||null==r.return||r.return()}finally{if(c)throw o}}}}var l="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},u=function(e){return e&&e.Math==Math&&e},f=u("object"==typeof globalThis&&globalThis)||u("object"==typeof window&&window)||u("object"==typeof self&&self)||u("object"==typeof l&&l)||function(){return this}()||Function("return this")(),h={},d=function(e){try{return!!e()}catch(e){return!0}},p=!d((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),g=!d((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})),m=g,v=Function.prototype.call,b=m?v.bind(v):function(){return v.apply(v,arguments)},y={},w={}.propertyIsEnumerable,S=Object.getOwnPropertyDescriptor,x=S&&!w.call({1:2},1);y.f=x?function(e){var t=S(this,e);return!!t&&t.enumerable}:w;var A,k,T=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},E=g,_=Function.prototype,N=_.call,C=E&&_.bind.bind(N,N),O=E?C:function(e){return function(){return N.apply(e,arguments)}},R=O,P=R({}.toString),L=R("".slice),I=function(e){return L(P(e),8,-1)},F=d,D=I,M=Object,j=O("".split),B=F((function(){return!M("z").propertyIsEnumerable(0)}))?function(e){return"String"==D(e)?j(e,""):M(e)}:M,W=function(e){return null==e},U=W,H=TypeError,z=function(e){if(U(e))throw H("Can't call method on "+e);return e},V=B,q=z,$=function(e){return V(q(e))},G="object"==typeof document&&document.all,X={all:G,IS_HTMLDDA:void 0===G&&void 0!==G},Y=X.all,K=X.IS_HTMLDDA?function(e){return"function"==typeof e||e===Y}:function(e){return"function"==typeof e},J=K,Z=X.all,Q=X.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:J(e)||e===Z}:function(e){return"object"==typeof e?null!==e:J(e)},ee=f,te=K,re=function(e,t){return arguments.length<2?(r=ee[e],te(r)?r:void 0):ee[e]&&ee[e][t];var r},ne=O({}.isPrototypeOf),ae=f,oe="undefined"!=typeof navigator&&String(navigator.userAgent)||"",ie=ae.process,se=ae.Deno,ce=ie&&ie.versions||se&&se.version,le=ce&&ce.v8;le&&(k=(A=le.split("."))[0]>0&&A[0]<4?1:+(A[0]+A[1])),!k&&oe&&(!(A=oe.match(/Edge\/(\d+)/))||A[1]>=74)&&(A=oe.match(/Chrome\/(\d+)/))&&(k=+A[1]);var ue=k,fe=ue,he=d,de=!!Object.getOwnPropertySymbols&&!he((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&fe&&fe<41})),pe=de&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,ge=re,me=K,ve=ne,be=Object,ye=pe?function(e){return"symbol"==typeof e}:function(e){var t=ge("Symbol");return me(t)&&ve(t.prototype,be(e))},we=String,Se=K,xe=function(e){try{return we(e)}catch(e){return"Object"}},Ae=TypeError,ke=function(e){if(Se(e))return e;throw Ae(xe(e)+" is not a function")},Te=ke,Ee=W,_e=function(e,t){var r=e[t];return Ee(r)?void 0:Te(r)},Ne=b,Ce=K,Oe=Q,Re=TypeError,Pe={},Le={get exports(){return Pe},set exports(e){Pe=e}},Ie=f,Fe=Object.defineProperty,De=function(e,t){try{Fe(Ie,e,{value:t,configurable:!0,writable:!0})}catch(r){Ie[e]=t}return t},Me=De,je="__core-js_shared__",Be=f[je]||Me(je,{}),We=Be;(Le.exports=function(e,t){return We[e]||(We[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.29.0",mode:"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.29.0/LICENSE",source:"https://github.com/zloirock/core-js"});var Ue=z,He=Object,ze=function(e){return He(Ue(e))},Ve=ze,qe=O({}.hasOwnProperty),$e=Object.hasOwn||function(e,t){return qe(Ve(e),t)},Ge=O,Xe=0,Ye=Math.random(),Ke=Ge(1..toString),Je=function(e){return"Symbol("+(void 0===e?"":e)+")_"+Ke(++Xe+Ye,36)},Ze=Pe,Qe=$e,et=Je,tt=de,rt=pe,nt=f.Symbol,at=Ze("wks"),ot=rt?nt.for||nt:nt&&nt.withoutSetter||et,it=function(e){return Qe(at,e)||(at[e]=tt&&Qe(nt,e)?nt[e]:ot("Symbol."+e)),at[e]},st=b,ct=Q,lt=ye,ut=_e,ft=function(e,t){var r,n;if("string"===t&&Ce(r=e.toString)&&!Oe(n=Ne(r,e)))return n;if(Ce(r=e.valueOf)&&!Oe(n=Ne(r,e)))return n;if("string"!==t&&Ce(r=e.toString)&&!Oe(n=Ne(r,e)))return n;throw Re("Can't convert object to primitive value")},ht=TypeError,dt=it("toPrimitive"),pt=function(e,t){if(!ct(e)||lt(e))return e;var r,n=ut(e,dt);if(n){if(void 0===t&&(t="default"),r=st(n,e,t),!ct(r)||lt(r))return r;throw ht("Can't convert object to primitive value")}return void 0===t&&(t="number"),ft(e,t)},gt=ye,mt=function(e){var t=pt(e,"string");return gt(t)?t:t+""},vt=Q,bt=f.document,yt=vt(bt)&&vt(bt.createElement),wt=function(e){return yt?bt.createElement(e):{}},St=wt,xt=!p&&!d((function(){return 7!=Object.defineProperty(St("div"),"a",{get:function(){return 7}}).a})),At=p,kt=b,Tt=y,Et=T,_t=$,Nt=mt,Ct=$e,Ot=xt,Rt=Object.getOwnPropertyDescriptor;h.f=At?Rt:function(e,t){if(e=_t(e),t=Nt(t),Ot)try{return Rt(e,t)}catch(e){}if(Ct(e,t))return Et(!kt(Tt.f,e,t),e[t])};var Pt={},Lt=p&&d((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),It=Q,Ft=String,Dt=TypeError,Mt=function(e){if(It(e))return e;throw Dt(Ft(e)+" is not an object")},jt=p,Bt=xt,Wt=Lt,Ut=Mt,Ht=mt,zt=TypeError,Vt=Object.defineProperty,qt=Object.getOwnPropertyDescriptor,$t="enumerable",Gt="configurable",Xt="writable";Pt.f=jt?Wt?function(e,t,r){if(Ut(e),t=Ht(t),Ut(r),"function"==typeof e&&"prototype"===t&&"value"in r&&Xt in r&&!r[Xt]){var n=qt(e,t);n&&n[Xt]&&(e[t]=r.value,r={configurable:Gt in r?r[Gt]:n[Gt],enumerable:$t in r?r[$t]:n[$t],writable:!1})}return Vt(e,t,r)}:Vt:function(e,t,r){if(Ut(e),t=Ht(t),Ut(r),Bt)try{return Vt(e,t,r)}catch(e){}if("get"in r||"set"in r)throw zt("Accessors not supported");return"value"in r&&(e[t]=r.value),e};var Yt=Pt,Kt=T,Jt=p?function(e,t,r){return Yt.f(e,t,Kt(1,r))}:function(e,t,r){return e[t]=r,e},Zt={},Qt={get exports(){return Zt},set exports(e){Zt=e}},er=p,tr=$e,rr=Function.prototype,nr=er&&Object.getOwnPropertyDescriptor,ar=tr(rr,"name"),or={EXISTS:ar,PROPER:ar&&"something"===function(){}.name,CONFIGURABLE:ar&&(!er||er&&nr(rr,"name").configurable)},ir=K,sr=Be,cr=O(Function.toString);ir(sr.inspectSource)||(sr.inspectSource=function(e){return cr(e)});var lr,ur,fr,hr=sr.inspectSource,dr=K,pr=f.WeakMap,gr=dr(pr)&&/native code/.test(String(pr)),mr=Je,vr=Pe("keys"),br=function(e){return vr[e]||(vr[e]=mr(e))},yr={},wr=gr,Sr=f,xr=Q,Ar=Jt,kr=$e,Tr=Be,Er=br,_r=yr,Nr="Object already initialized",Cr=Sr.TypeError,Or=Sr.WeakMap;if(wr||Tr.state){var Rr=Tr.state||(Tr.state=new Or);Rr.get=Rr.get,Rr.has=Rr.has,Rr.set=Rr.set,lr=function(e,t){if(Rr.has(e))throw Cr(Nr);return t.facade=e,Rr.set(e,t),t},ur=function(e){return Rr.get(e)||{}},fr=function(e){return Rr.has(e)}}else{var Pr=Er("state");_r[Pr]=!0,lr=function(e,t){if(kr(e,Pr))throw Cr(Nr);return t.facade=e,Ar(e,Pr,t),t},ur=function(e){return kr(e,Pr)?e[Pr]:{}},fr=function(e){return kr(e,Pr)}}var Lr={set:lr,get:ur,has:fr,enforce:function(e){return fr(e)?ur(e):lr(e,{})},getterFor:function(e){return function(t){var r;if(!xr(t)||(r=ur(t)).type!==e)throw Cr("Incompatible receiver, "+e+" required");return r}}},Ir=O,Fr=d,Dr=K,Mr=$e,jr=p,Br=or.CONFIGURABLE,Wr=hr,Ur=Lr.enforce,Hr=Lr.get,zr=String,Vr=Object.defineProperty,qr=Ir("".slice),$r=Ir("".replace),Gr=Ir([].join),Xr=jr&&!Fr((function(){return 8!==Vr((function(){}),"length",{value:8}).length})),Yr=String(String).split("String"),Kr=Qt.exports=function(e,t,r){"Symbol("===qr(zr(t),0,7)&&(t="["+$r(zr(t),/^Symbol\(([^)]*)\)/,"$1")+"]"),r&&r.getter&&(t="get "+t),r&&r.setter&&(t="set "+t),(!Mr(e,"name")||Br&&e.name!==t)&&(jr?Vr(e,"name",{value:t,configurable:!0}):e.name=t),Xr&&r&&Mr(r,"arity")&&e.length!==r.arity&&Vr(e,"length",{value:r.arity});try{r&&Mr(r,"constructor")&&r.constructor?jr&&Vr(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var n=Ur(e);return Mr(n,"source")||(n.source=Gr(Yr,"string"==typeof t?t:"")),e};Function.prototype.toString=Kr((function(){return Dr(this)&&Hr(this).source||Wr(this)}),"toString");var Jr=K,Zr=Pt,Qr=Zt,en=De,tn=function(e,t,r,n){n||(n={});var a=n.enumerable,o=void 0!==n.name?n.name:t;if(Jr(r)&&Qr(r,o,n),n.global)a?e[t]=r:en(t,r);else{try{n.unsafe?e[t]&&(a=!0):delete e[t]}catch(e){}a?e[t]=r:Zr.f(e,t,{value:r,enumerable:!1,configurable:!n.nonConfigurable,writable:!n.nonWritable})}return e},rn={},nn=Math.ceil,an=Math.floor,on=Math.trunc||function(e){var t=+e;return(t>0?an:nn)(t)},sn=function(e){var t=+e;return t!=t||0===t?0:on(t)},cn=sn,ln=Math.max,un=Math.min,fn=sn,hn=Math.min,dn=function(e){return e>0?hn(fn(e),9007199254740991):0},pn=dn,gn=function(e){return pn(e.length)},mn=$,vn=function(e,t){var r=cn(e);return r<0?ln(r+t,0):un(r,t)},bn=gn,yn=function(e){return function(t,r,n){var a,o=mn(t),i=bn(o),s=vn(n,i);if(e&&r!=r){for(;i>s;)if((a=o[s++])!=a)return!0}else for(;i>s;s++)if((e||s in o)&&o[s]===r)return e||s||0;return!e&&-1}},wn={includes:yn(!0),indexOf:yn(!1)},Sn=$e,xn=$,An=wn.indexOf,kn=yr,Tn=O([].push),En=function(e,t){var r,n=xn(e),a=0,o=[];for(r in n)!Sn(kn,r)&&Sn(n,r)&&Tn(o,r);for(;t.length>a;)Sn(n,r=t[a++])&&(~An(o,r)||Tn(o,r));return o},_n=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Nn=En,Cn=_n.concat("length","prototype");rn.f=Object.getOwnPropertyNames||function(e){return Nn(e,Cn)};var On={};On.f=Object.getOwnPropertySymbols;var Rn=re,Pn=rn,Ln=On,In=Mt,Fn=O([].concat),Dn=Rn("Reflect","ownKeys")||function(e){var t=Pn.f(In(e)),r=Ln.f;return r?Fn(t,r(e)):t},Mn=$e,jn=Dn,Bn=h,Wn=Pt,Un=d,Hn=K,zn=/#|\.prototype\./,Vn=function(e,t){var r=$n[qn(e)];return r==Xn||r!=Gn&&(Hn(t)?Un(t):!!t)},qn=Vn.normalize=function(e){return String(e).replace(zn,".").toLowerCase()},$n=Vn.data={},Gn=Vn.NATIVE="N",Xn=Vn.POLYFILL="P",Yn=Vn,Kn=f,Jn=h.f,Zn=Jt,Qn=tn,ea=De,ta=function(e,t,r){for(var n=jn(t),a=Wn.f,o=Bn.f,i=0;i<n.length;i++){var s=n[i];Mn(e,s)||r&&Mn(r,s)||a(e,s,o(t,s))}},ra=Yn,na=function(e,t){var r,n,a,o,i,s=e.target,c=e.global,l=e.stat;if(r=c?Kn:l?Kn[s]||ea(s,{}):(Kn[s]||{}).prototype)for(n in t){if(o=t[n],a=e.dontCallGetSet?(i=Jn(r,n))&&i.value:r[n],!ra(c?n:s+(l?".":"#")+n,e.forced)&&void 0!==a){if(typeof o==typeof a)continue;ta(o,a)}(e.sham||a&&a.sham)&&Zn(o,"sham",!0),Qn(r,n,o,e)}},aa={},oa=En,ia=_n,sa=Object.keys||function(e){return oa(e,ia)},ca=p,la=Lt,ua=Pt,fa=Mt,ha=$,da=sa;aa.f=ca&&!la?Object.defineProperties:function(e,t){fa(e);for(var r,n=ha(t),a=da(t),o=a.length,i=0;o>i;)ua.f(e,r=a[i++],n[r]);return e};var pa,ga=re("document","documentElement"),ma=Mt,va=aa,ba=_n,ya=yr,wa=ga,Sa=wt,xa="prototype",Aa="script",ka=br("IE_PROTO"),Ta=function(){},Ea=function(e){return"<"+Aa+">"+e+"</"+Aa+">"},_a=function(e){e.write(Ea("")),e.close();var t=e.parentWindow.Object;return e=null,t},Na=function(){try{pa=new ActiveXObject("htmlfile")}catch(e){}var e,t,r;Na="undefined"!=typeof document?document.domain&&pa?_a(pa):(t=Sa("iframe"),r="java"+Aa+":",t.style.display="none",wa.appendChild(t),t.src=String(r),(e=t.contentWindow.document).open(),e.write(Ea("document.F=Object")),e.close(),e.F):_a(pa);for(var n=ba.length;n--;)delete Na[xa][ba[n]];return Na()};ya[ka]=!0;var Ca=Object.create||function(e,t){var r;return null!==e?(Ta[xa]=ma(e),r=new Ta,Ta[xa]=null,r[ka]=e):r=Na(),void 0===t?r:va.f(r,t)},Oa=it,Ra=Ca,Pa=Pt.f,La=Oa("unscopables"),Ia=Array.prototype;null==Ia[La]&&Pa(Ia,La,{configurable:!0,value:Ra(null)});var Fa=function(e){Ia[La][e]=!0},Da=wn.includes,Ma=Fa;na({target:"Array",proto:!0,forced:d((function(){return!Array(1).includes()}))},{includes:function(e){return Da(this,e,arguments.length>1?arguments[1]:void 0)}}),Ma("includes");var ja=Q,Ba=I,Wa=it("match"),Ua=function(e){var t;return ja(e)&&(void 0!==(t=e[Wa])?!!t:"RegExp"==Ba(e))},Ha=TypeError,za={};za[it("toStringTag")]="z";var Va="[object z]"===String(za),qa=Va,$a=K,Ga=I,Xa=it("toStringTag"),Ya=Object,Ka="Arguments"==Ga(function(){return arguments}()),Ja=qa?Ga:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=Ya(e),Xa))?r:Ka?Ga(t):"Object"==(n=Ga(t))&&$a(t.callee)?"Arguments":n},Za=Ja,Qa=String,eo=function(e){if("Symbol"===Za(e))throw TypeError("Cannot convert a Symbol value to a string");return Qa(e)},to=it("match"),ro=na,no=function(e){if(Ua(e))throw Ha("The method doesn't accept regular expressions");return e},ao=z,oo=eo,io=function(e){var t=/./;try{"/./"[e](t)}catch(r){try{return t[to]=!1,"/./"[e](t)}catch(e){}}return!1},so=O("".indexOf);ro({target:"String",proto:!0,forced:!io("includes")},{includes:function(e){return!!~so(oo(ao(this)),oo(no(e)),arguments.length>1?arguments[1]:void 0)}});var co=I,lo=Array.isArray||function(e){return"Array"==co(e)},uo=TypeError,fo=mt,ho=Pt,po=T,go=O,mo=d,vo=K,bo=Ja,yo=hr,wo=function(){},So=[],xo=re("Reflect","construct"),Ao=/^\s*(?:class|function)\b/,ko=go(Ao.exec),To=!Ao.exec(wo),Eo=function(e){if(!vo(e))return!1;try{return xo(wo,So,e),!0}catch(e){return!1}},_o=function(e){if(!vo(e))return!1;switch(bo(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return To||!!ko(Ao,yo(e))}catch(e){return!0}};_o.sham=!0;var No=!xo||mo((function(){var e;return Eo(Eo.call)||!Eo(Object)||!Eo((function(){e=!0}))||e}))?_o:Eo,Co=lo,Oo=No,Ro=Q,Po=it("species"),Lo=Array,Io=function(e){var t;return Co(e)&&(t=e.constructor,(Oo(t)&&(t===Lo||Co(t.prototype))||Ro(t)&&null===(t=t[Po]))&&(t=void 0)),void 0===t?Lo:t},Fo=function(e,t){return new(Io(e))(0===t?0:t)},Do=d,Mo=ue,jo=it("species"),Bo=function(e){return Mo>=51||!Do((function(){var t=[];return(t.constructor={})[jo]=function(){return{foo:1}},1!==t[e](Boolean).foo}))},Wo=na,Uo=d,Ho=lo,zo=Q,Vo=ze,qo=gn,$o=function(e){if(e>9007199254740991)throw uo("Maximum allowed index exceeded");return e},Go=function(e,t,r){var n=fo(t);n in e?ho.f(e,n,po(0,r)):e[n]=r},Xo=Fo,Yo=Bo,Ko=ue,Jo=it("isConcatSpreadable"),Zo=Ko>=51||!Uo((function(){var e=[];return e[Jo]=!1,e.concat()[0]!==e})),Qo=function(e){if(!zo(e))return!1;var t=e[Jo];return void 0!==t?!!t:Ho(e)};Wo({target:"Array",proto:!0,arity:1,forced:!Zo||!Yo("concat")},{concat:function(e){var t,r,n,a,o,i=Vo(this),s=Xo(i,0),c=0;for(t=-1,n=arguments.length;t<n;t++)if(Qo(o=-1===t?i:arguments[t]))for(a=qo(o),$o(c+a),r=0;r<a;r++,c++)r in o&&Go(s,c,o[r]);else $o(c+1),Go(s,c++,o);return s.length=c,s}});var ei,ti,ri=Mt,ni=function(){var e=ri(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t},ai=d,oi=f.RegExp,ii=ai((function(){var e=oi("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),si=ii||ai((function(){return!oi("a","y").sticky})),ci={BROKEN_CARET:ii||ai((function(){var e=oi("^r","gy");return e.lastIndex=2,null!=e.exec("str")})),MISSED_STICKY:si,UNSUPPORTED_Y:ii},li=d,ui=f.RegExp,fi=li((function(){var e=ui(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)})),hi=d,di=f.RegExp,pi=hi((function(){var e=di("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")})),gi=b,mi=O,vi=eo,bi=ni,yi=ci,wi=Ca,Si=Lr.get,xi=fi,Ai=pi,ki=Pe("native-string-replace",String.prototype.replace),Ti=RegExp.prototype.exec,Ei=Ti,_i=mi("".charAt),Ni=mi("".indexOf),Ci=mi("".replace),Oi=mi("".slice),Ri=(ti=/b*/g,gi(Ti,ei=/a/,"a"),gi(Ti,ti,"a"),0!==ei.lastIndex||0!==ti.lastIndex),Pi=yi.BROKEN_CARET,Li=void 0!==/()??/.exec("")[1];(Ri||Li||Pi||xi||Ai)&&(Ei=function(e){var t,r,n,a,o,i,s,c=this,l=Si(c),u=vi(e),f=l.raw;if(f)return f.lastIndex=c.lastIndex,t=gi(Ei,f,u),c.lastIndex=f.lastIndex,t;var h=l.groups,d=Pi&&c.sticky,p=gi(bi,c),g=c.source,m=0,v=u;if(d&&(p=Ci(p,"y",""),-1===Ni(p,"g")&&(p+="g"),v=Oi(u,c.lastIndex),c.lastIndex>0&&(!c.multiline||c.multiline&&"\n"!==_i(u,c.lastIndex-1))&&(g="(?: "+g+")",v=" "+v,m++),r=new RegExp("^(?:"+g+")",p)),Li&&(r=new RegExp("^"+g+"$(?!\\s)",p)),Ri&&(n=c.lastIndex),a=gi(Ti,d?r:c,v),d?a?(a.input=Oi(a.input,m),a[0]=Oi(a[0],m),a.index=c.lastIndex,c.lastIndex+=a[0].length):c.lastIndex=0:Ri&&a&&(c.lastIndex=c.global?a.index+a[0].length:n),Li&&a&&a.length>1&&gi(ki,a[0],r,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(a[o]=void 0)})),a&&h)for(a.groups=i=wi(null),o=0;o<h.length;o++)i[(s=h[o])[0]]=a[s[1]];return a});var Ii=Ei;na({target:"RegExp",proto:!0,forced:/./.exec!==Ii},{exec:Ii});var Fi=g,Di=Function.prototype,Mi=Di.apply,ji=Di.call,Bi="object"==typeof Reflect&&Reflect.apply||(Fi?ji.bind(Mi):function(){return ji.apply(Mi,arguments)}),Wi=I,Ui=O,Hi=function(e){if("Function"===Wi(e))return Ui(e)},zi=Hi,Vi=tn,qi=Ii,$i=d,Gi=it,Xi=Jt,Yi=Gi("species"),Ki=RegExp.prototype,Ji=function(e,t,r,n){var a=Gi(e),o=!$i((function(){var t={};return t[a]=function(){return 7},7!=""[e](t)})),i=o&&!$i((function(){var t=!1,r=/a/;return"split"===e&&((r={}).constructor={},r.constructor[Yi]=function(){return r},r.flags="",r[a]=/./[a]),r.exec=function(){return t=!0,null},r[a](""),!t}));if(!o||!i||r){var s=zi(/./[a]),c=t(a,""[e],(function(e,t,r,n,a){var i=zi(e),c=t.exec;return c===qi||c===Ki.exec?o&&!a?{done:!0,value:s(t,r,n)}:{done:!0,value:i(r,t,n)}:{done:!1}}));Vi(String.prototype,e,c[0]),Vi(Ki,a,c[1])}n&&Xi(Ki[a],"sham",!0)},Zi=O,Qi=sn,es=eo,ts=z,rs=Zi("".charAt),ns=Zi("".charCodeAt),as=Zi("".slice),os=function(e){return function(t,r){var n,a,o=es(ts(t)),i=Qi(r),s=o.length;return i<0||i>=s?e?"":void 0:(n=ns(o,i))<55296||n>56319||i+1===s||(a=ns(o,i+1))<56320||a>57343?e?rs(o,i):n:e?as(o,i,i+2):a-56320+(n-55296<<10)+65536}},is={codeAt:os(!1),charAt:os(!0)}.charAt,ss=O,cs=ze,ls=Math.floor,us=ss("".charAt),fs=ss("".replace),hs=ss("".slice),ds=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,ps=/\$([$&'`]|\d{1,2})/g,gs=b,ms=Mt,vs=K,bs=I,ys=Ii,ws=TypeError,Ss=function(e,t){var r=e.exec;if(vs(r)){var n=gs(r,e,t);return null!==n&&ms(n),n}if("RegExp"===bs(e))return gs(ys,e,t);throw ws("RegExp#exec called on incompatible receiver")},xs=Bi,As=b,ks=O,Ts=Ji,Es=d,_s=Mt,Ns=K,Cs=W,Os=sn,Rs=dn,Ps=eo,Ls=z,Is=function(e,t,r){return t+(r?is(e,t).length:1)},Fs=_e,Ds=function(e,t,r,n,a,o){var i=r+e.length,s=n.length,c=ps;return void 0!==a&&(a=cs(a),c=ds),fs(o,c,(function(o,c){var l;switch(us(c,0)){case"$":return"$";case"&":return e;case"`":return hs(t,0,r);case"'":return hs(t,i);case"<":l=a[hs(c,1,-1)];break;default:var u=+c;if(0===u)return o;if(u>s){var f=ls(u/10);return 0===f?o:f<=s?void 0===n[f-1]?us(c,1):n[f-1]+us(c,1):o}l=n[u-1]}return void 0===l?"":l}))},Ms=Ss,js=it("replace"),Bs=Math.max,Ws=Math.min,Us=ks([].concat),Hs=ks([].push),zs=ks("".indexOf),Vs=ks("".slice),qs="$0"==="a".replace(/./,"$0"),$s=!!/./[js]&&""===/./[js]("a","$0");Ts("replace",(function(e,t,r){var n=$s?"$":"$0";return[function(e,r){var n=Ls(this),a=Cs(e)?void 0:Fs(e,js);return a?As(a,e,n,r):As(t,Ps(n),e,r)},function(e,a){var o=_s(this),i=Ps(e);if("string"==typeof a&&-1===zs(a,n)&&-1===zs(a,"$<")){var s=r(t,o,i,a);if(s.done)return s.value}var c=Ns(a);c||(a=Ps(a));var l=o.global;if(l){var u=o.unicode;o.lastIndex=0}for(var f=[];;){var h=Ms(o,i);if(null===h)break;if(Hs(f,h),!l)break;""===Ps(h[0])&&(o.lastIndex=Is(i,Rs(o.lastIndex),u))}for(var d,p="",g=0,m=0;m<f.length;m++){for(var v=Ps((h=f[m])[0]),b=Bs(Ws(Os(h.index),i.length),0),y=[],w=1;w<h.length;w++)Hs(y,void 0===(d=h[w])?d:String(d));var S=h.groups;if(c){var x=Us([v],y,b,i);void 0!==S&&Hs(x,S);var A=Ps(xs(a,void 0,x))}else A=Ds(v,i,b,y,S,a);b>=g&&(p+=Vs(i,g,b)+A,g=b+v.length)}return p+Vs(i,g)}]}),!!Es((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}))||!qs||$s);var Gs=Ja,Xs=Va?{}.toString:function(){return"[object "+Gs(this)+"]"};Va||tn(Object.prototype,"toString",Xs,{unsafe:!0});var Ys=wt("span").classList,Ks=Ys&&Ys.constructor&&Ys.constructor.prototype,Js=Ks===Object.prototype?void 0:Ks,Zs=ke,Qs=g,ec=Hi(Hi.bind),tc=function(e,t){return Zs(e),void 0===t?e:Qs?ec(e,t):function(){return e.apply(t,arguments)}},rc=B,nc=ze,ac=gn,oc=Fo,ic=O([].push),sc=function(e){var t=1==e,r=2==e,n=3==e,a=4==e,o=6==e,i=7==e,s=5==e||o;return function(c,l,u,f){for(var h,d,p=nc(c),g=rc(p),m=tc(l,u),v=ac(g),b=0,y=f||oc,w=t?y(c,v):r||i?y(c,0):void 0;v>b;b++)if((s||b in g)&&(d=m(h=g[b],b,p),e))if(t)w[b]=d;else if(d)switch(e){case 3:return!0;case 5:return h;case 6:return b;case 2:ic(w,h)}else switch(e){case 4:return!1;case 7:ic(w,h)}return o?-1:n||a?a:w}},cc={forEach:sc(0),map:sc(1),filter:sc(2),some:sc(3),every:sc(4),find:sc(5),findIndex:sc(6),filterReject:sc(7)},lc=d,uc=function(e,t){var r=[][e];return!!r&&lc((function(){r.call(null,t||function(){return 1},1)}))},fc=cc.forEach,hc=uc("forEach")?[].forEach:function(e){return fc(this,e,arguments.length>1?arguments[1]:void 0)},dc=f,pc={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},gc=Js,mc=hc,vc=Jt,bc=function(e){if(e&&e.forEach!==mc)try{vc(e,"forEach",mc)}catch(t){e.forEach=mc}};for(var yc in pc)pc[yc]&&bc(dc[yc]&&dc[yc].prototype);bc(gc);var wc=b,Sc=$e,xc=ne,Ac=ni,kc=RegExp.prototype,Tc=or.PROPER,Ec=tn,_c=Mt,Nc=eo,Cc=d,Oc=function(e){var t=e.flags;return void 0!==t||"flags"in kc||Sc(e,"flags")||!xc(kc,e)?t:wc(Ac,e)},Rc="toString",Pc=RegExp.prototype[Rc],Lc=Cc((function(){return"/a/b"!=Pc.call({source:"a",flags:"b"})})),Ic=Tc&&Pc.name!=Rc;(Lc||Ic)&&Ec(RegExp.prototype,Rc,(function(){var e=_c(this);return"/"+Nc(e.source)+"/"+Nc(Oc(e))}),{unsafe:!0});var Fc=na,Dc=cc.find,Mc=Fa,jc="find",Bc=!0;jc in[]&&Array(1)[jc]((function(){Bc=!1})),Fc({target:"Array",proto:!0,forced:Bc},{find:function(e){return Dc(this,e,arguments.length>1?arguments[1]:void 0)}}),Mc(jc);var Wc=cc.filter;na({target:"Array",proto:!0,forced:!Bo("filter")},{filter:function(e){return Wc(this,e,arguments.length>1?arguments[1]:void 0)}});var Uc=p,Hc=O,zc=b,Vc=d,qc=sa,$c=On,Gc=y,Xc=ze,Yc=B,Kc=Object.assign,Jc=Object.defineProperty,Zc=Hc([].concat),Qc=!Kc||Vc((function(){if(Uc&&1!==Kc({b:1},Kc(Jc({},"a",{enumerable:!0,get:function(){Jc(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},r=Symbol(),n="abcdefghijklmnopqrst";return e[r]=7,n.split("").forEach((function(e){t[e]=e})),7!=Kc({},e)[r]||qc(Kc({},t)).join("")!=n}))?function(e,t){for(var r=Xc(e),n=arguments.length,a=1,o=$c.f,i=Gc.f;n>a;)for(var s,c=Yc(arguments[a++]),l=o?Zc(qc(c),o(c)):qc(c),u=l.length,f=0;u>f;)s=l[f++],Uc&&!zc(i,c,s)||(r[s]=c[s]);return r}:Kc,el=Qc;na({target:"Object",stat:!0,arity:2,forced:Object.assign!==el},{assign:el});var tl=cc.map;na({target:"Array",proto:!0,forced:!Bo("map")},{map:function(e){return tl(this,e,arguments.length>1?arguments[1]:void 0)}});var rl=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t},nl=b,al=Mt,ol=W,il=z,sl=rl,cl=eo,ll=_e,ul=Ss;Ji("search",(function(e,t,r){return[function(t){var r=il(this),n=ol(t)?void 0:ll(t,e);return n?nl(n,t,r):new RegExp(t)[e](cl(r))},function(e){var n=al(this),a=cl(e),o=r(t,n,a);if(o.done)return o.value;var i=n.lastIndex;sl(i,0)||(n.lastIndex=0);var s=ul(n,a);return sl(n.lastIndex,i)||(n.lastIndex=i),null===s?-1:s.index}]}));var fl=na,hl=B,dl=$,pl=uc,gl=O([].join);fl({target:"Array",proto:!0,forced:hl!=Object||!pl("join",",")},{join:function(e){return gl(dl(this),void 0===e?",":e)}});var ml=e.fn.bootstrapTable.utils,vl={cookieIds:{sortOrder:"bs.table.sortOrder",sortName:"bs.table.sortName",sortPriority:"bs.table.sortPriority",pageNumber:"bs.table.pageNumber",pageList:"bs.table.pageList",columns:"bs.table.columns",hiddenColumns:"bs.table.hiddenColumns",cardView:"bs.table.cardView",searchText:"bs.table.searchText",reorderColumns:"bs.table.reorderColumns",filterControl:"bs.table.filterControl",filterBy:"bs.table.filterBy"},getCurrentHeader:function(e){return e.options.height?e.$tableHeader:e.$header},getCurrentSearchControls:function(e){return e.options.height?"table select, table input":"select, input"},isCookieSupportedByBrowser:function(){return navigator.cookieEnabled},isCookieEnabled:function(e,t){return e.options.cookiesEnabled.includes(t)},setCookie:function(e,t,r){if(e.options.cookie&&vl.isCookieEnabled(e,t))return e._storage.setItem("".concat(e.options.cookieIdTable,".").concat(t),r)},getCookie:function(e,t){return t&&vl.isCookieEnabled(e,t)?e._storage.getItem("".concat(e.options.cookieIdTable,".").concat(t)):null},deleteCookie:function(e,t){return e._storage.removeItem("".concat(e.options.cookieIdTable,".").concat(t))},calculateExpiration:function(e){var t=e.replace(/[0-9]*/,"");switch(e=e.replace(/[A-Za-z]{1,2}/,""),t.toLowerCase()){case"s":e=+e;break;case"mi":e*=60;break;case"h":e=60*e*60;break;case"d":e=24*e*60*60;break;case"m":e=30*e*24*60*60;break;case"y":e=365*e*24*60*60;break;default:e=void 0}if(!e)return"";var r=new Date;return r.setTime(r.getTime()+1e3*e),r.toGMTString()},initCookieFilters:function(t){setTimeout((function(){var r=JSON.parse(vl.getCookie(t,vl.cookieIds.filterControl));if(!t._filterControlValuesLoaded&&r){var n={},a=vl.getCurrentHeader(t),o=vl.getCurrentSearchControls(t),i=a;t.options.filterControlContainer&&(i=e("".concat(t.options.filterControlContainer))),i.find(o).each((function(){var a=e(this).closest("[data-field]").data("field");!function(e,r){r.forEach((function(r){var a=e.value.toString(),o=r.text;if(""!==o&&("radio"!==e.type||a===o))if("INPUT"===e.tagName&&"radio"===e.type&&a===o)e.checked=!0,n[r.field]=o;else if("INPUT"===e.tagName)e.value=o,n[r.field]=o;else if("SELECT"===e.tagName&&t.options.filterControlContainer)e.value=o,n[r.field]=o;else if(""!==o&&"SELECT"===e.tagName){n[r.field]=o;var i,s=c(e);try{for(s.s();!(i=s.n()).done;){var l=i.value;if(l.value===o)return void(l.selected=!0)}}catch(e){s.e(e)}finally{s.f()}var u=document.createElement("option");u.value=o,u.text=o,e.add(u,e[1]),e.selectedIndex=1}}))}(this,r.filter((function(e){return e.field===a})))})),t.initColumnSearch(n),t._filterControlValuesLoaded=!0,t.initServer()}}),250)}};Object.assign(e.fn.bootstrapTable.defaults,{cookie:!1,cookieExpire:"2h",cookiePath:null,cookieDomain:null,cookieSecure:null,cookieSameSite:"Lax",cookieIdTable:"",cookiesEnabled:["bs.table.sortOrder","bs.table.sortName","bs.table.sortPriority","bs.table.pageNumber","bs.table.pageList","bs.table.hiddenColumns","bs.table.columns","bs.table.searchText","bs.table.filterControl","bs.table.filterBy","bs.table.reorderColumns","bs.table.cardView"],cookieStorage:"cookieStorage",cookieCustomStorageGet:null,cookieCustomStorageSet:null,cookieCustomStorageDelete:null,_filterControls:[],_filterControlValuesLoaded:!1,_storage:{setItem:void 0,getItem:void 0,removeItem:void 0}}),e.fn.bootstrapTable.methods.push("getCookies"),e.fn.bootstrapTable.methods.push("deleteCookie"),Object.assign(e.fn.bootstrapTable.utils,{setCookie:vl.setCookie,getCookie:vl.getCookie}),e.BootstrapTable=function(a){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&n(e,t)}(h,a);var s,l,u,f=o(h);function h(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,h),f.apply(this,arguments)}return s=h,l=[{key:"init",value:function(){if(this.options.cookie){if("cookieStorage"===this.options.cookieStorage&&!vl.isCookieSupportedByBrowser())throw new Error("Cookies are not enabled in this browser.");this.configureStorage();var e=vl.getCookie(this,vl.cookieIds.filterBy);if("boolean"==typeof e&&!e)throw new Error("The cookie value of filterBy must be a json!");var t={};try{t=JSON.parse(e)}catch(e){throw new Error("Could not parse the json of the filterBy cookie!")}if(this.filterColumns=t||{},this._filterControls=[],this._filterControlValuesLoaded=!1,this.options.cookiesEnabled="string"==typeof this.options.cookiesEnabled?this.options.cookiesEnabled.replace("[","").replace("]","").replace(/'/g,"").replace(/ /g,"").split(","):this.options.cookiesEnabled,this.options.filterControl){var n=this;this.$el.on("column-search.bs.table",(function(e,t,r){for(var a=!0,o=0;o<n._filterControls.length;o++)if(n._filterControls[o].field===t){n._filterControls[o].text=r,a=!1;break}a&&n._filterControls.push({field:t,text:r}),vl.setCookie(n,vl.cookieIds.filterControl,JSON.stringify(n._filterControls))})).on("created-controls.bs.table",vl.initCookieFilters(n))}}i(r(h.prototype),"init",this).call(this)}},{key:"initServer",value:function(){var e;if(!this.options.cookie||!this.options.filterControl||this._filterControlValuesLoaded||!JSON.parse(vl.getCookie(this,vl.cookieIds.filterControl))){for(var t=arguments.length,n=new Array(t),a=0;a<t;a++)n[a]=arguments[a];(e=i(r(h.prototype),"initServer",this)).call.apply(e,[this].concat(n))}}},{key:"initTable",value:function(){for(var e,t=arguments.length,n=new Array(t),a=0;a<t;a++)n[a]=arguments[a];(e=i(r(h.prototype),"initTable",this)).call.apply(e,[this].concat(n)),this.initCookie()}},{key:"onSort",value:function(){for(var e,t=arguments.length,n=new Array(t),a=0;a<t;a++)n[a]=arguments[a];(e=i(r(h.prototype),"onSort",this)).call.apply(e,[this].concat(n)),this.options.cookie&&(void 0===this.options.sortName||void 0===this.options.sortOrder?(vl.deleteCookie(this,vl.cookieIds.sortName),vl.deleteCookie(this,vl.cookieIds.sortOrder)):(this.options.sortPriority=null,vl.deleteCookie(this,vl.cookieIds.sortPriority),vl.setCookie(this,vl.cookieIds.sortOrder,this.options.sortOrder),vl.setCookie(this,vl.cookieIds.sortName,this.options.sortName)))}},{key:"onMultipleSort",value:function(){for(var e,t=arguments.length,n=new Array(t),a=0;a<t;a++)n[a]=arguments[a];(e=i(r(h.prototype),"onMultipleSort",this)).call.apply(e,[this].concat(n)),this.options.cookie&&(void 0===this.options.sortPriority?vl.deleteCookie(this,vl.cookieIds.sortPriority):(this.options.sortName=void 0,this.options.sortOrder=void 0,vl.deleteCookie(this,vl.cookieIds.sortName),vl.deleteCookie(this,vl.cookieIds.sortOrder),vl.setCookie(this,vl.cookieIds.sortPriority,JSON.stringify(this.options.sortPriority))))}},{key:"onPageNumber",value:function(){for(var e,t=arguments.length,n=new Array(t),a=0;a<t;a++)n[a]=arguments[a];(e=i(r(h.prototype),"onPageNumber",this)).call.apply(e,[this].concat(n)),this.options.cookie&&vl.setCookie(this,vl.cookieIds.pageNumber,this.options.pageNumber)}},{key:"onPageListChange",value:function(){for(var e,t=arguments.length,n=new Array(t),a=0;a<t;a++)n[a]=arguments[a];(e=i(r(h.prototype),"onPageListChange",this)).call.apply(e,[this].concat(n)),this.options.cookie&&(vl.setCookie(this,vl.cookieIds.pageList,this.options.pageSize),vl.setCookie(this,vl.cookieIds.pageNumber,this.options.pageNumber))}},{key:"onPagePre",value:function(){for(var e,t=arguments.length,n=new Array(t),a=0;a<t;a++)n[a]=arguments[a];(e=i(r(h.prototype),"onPagePre",this)).call.apply(e,[this].concat(n)),this.options.cookie&&vl.setCookie(this,vl.cookieIds.pageNumber,this.options.pageNumber)}},{key:"onPageNext",value:function(){for(var e,t=arguments.length,n=new Array(t),a=0;a<t;a++)n[a]=arguments[a];(e=i(r(h.prototype),"onPageNext",this)).call.apply(e,[this].concat(n)),this.options.cookie&&vl.setCookie(this,vl.cookieIds.pageNumber,this.options.pageNumber)}},{key:"_toggleColumn",value:function(){for(var e,t=arguments.length,n=new Array(t),a=0;a<t;a++)n[a]=arguments[a];(e=i(r(h.prototype),"_toggleColumn",this)).call.apply(e,[this].concat(n)),this.options.cookie&&vl.setCookie(this,vl.cookieIds.hiddenColumns,JSON.stringify(this.getHiddenColumns().map((function(e){return e.field}))))}},{key:"_toggleAllColumns",value:function(){for(var e,t=arguments.length,n=new Array(t),a=0;a<t;a++)n[a]=arguments[a];(e=i(r(h.prototype),"_toggleAllColumns",this)).call.apply(e,[this].concat(n)),this.options.cookie&&vl.setCookie(this,vl.cookieIds.hiddenColumns,JSON.stringify(this.getHiddenColumns().map((function(e){return e.field}))))}},{key:"toggleView",value:function(){i(r(h.prototype),"toggleView",this).call(this),vl.setCookie(this,vl.cookieIds.cardView,this.options.cardView)}},{key:"selectPage",value:function(e){i(r(h.prototype),"selectPage",this).call(this,e),this.options.cookie&&vl.setCookie(this,vl.cookieIds.pageNumber,e)}},{key:"onSearch",value:function(e){i(r(h.prototype),"onSearch",this).call(this,e,!(arguments.length>1)||arguments[1]),this.options.cookie&&(this.options.search&&vl.setCookie(this,vl.cookieIds.searchText,this.searchText),vl.setCookie(this,vl.cookieIds.pageNumber,this.options.pageNumber))}},{key:"initHeader",value:function(){var e;this.options.reorderableColumns&&this.options.cookie&&(this.columnsSortOrder=JSON.parse(vl.getCookie(this,vl.cookieIds.reorderColumns)));for(var t=arguments.length,n=new Array(t),a=0;a<t;a++)n[a]=arguments[a];(e=i(r(h.prototype),"initHeader",this)).call.apply(e,[this].concat(n))}},{key:"persistReorderColumnsState",value:function(e){vl.setCookie(e,vl.cookieIds.reorderColumns,JSON.stringify(e.columnsSortOrder))}},{key:"filterBy",value:function(){for(var e,t=arguments.length,n=new Array(t),a=0;a<t;a++)n[a]=arguments[a];(e=i(r(h.prototype),"filterBy",this)).call.apply(e,[this].concat(n)),this.options.cookie&&vl.setCookie(this,vl.cookieIds.filterBy,JSON.stringify(this.filterColumns))}},{key:"initCookie",value:function(){var e=this;if(this.options.cookie){if(""===this.options.cookieIdTable||""===this.options.cookieExpire)return console.error("Configuration error. Please review the cookieIdTable and the cookieExpire property. If the properties are correct, then this browser does not support cookies."),void(this.options.cookie=!1);var t=vl.getCookie(this,vl.cookieIds.sortOrder),r=vl.getCookie(this,vl.cookieIds.sortName),n=vl.getCookie(this,vl.cookieIds.sortPriority),a=vl.getCookie(this,vl.cookieIds.pageNumber),o=vl.getCookie(this,vl.cookieIds.pageList),i=vl.getCookie(this,vl.cookieIds.searchText),s=vl.getCookie(this,vl.cookieIds.cardView),l=vl.getCookie(this,vl.cookieIds.columns),u=vl.getCookie(this,vl.cookieIds.hiddenColumns);if("boolean"==typeof l&&!l)throw new Error("The cookie value of filterBy must be a json!");var f={};try{f=JSON.parse(l)}catch(e){throw new Error("Could not parse the json of the columns cookie!",l)}var h={};try{h=JSON.parse(u)}catch(e){throw new Error("Could not parse the json of the hidden columns cookie!",u)}try{n=JSON.parse(n)}catch(e){throw new Error("Could not parse the json of the sortPriority cookie!",n)}if(n?(this.options.sortOrder=void 0,this.options.sortName=void 0):(this.options.sortOrder=t||this.options.sortOrder,this.options.sortName=r||this.options.sortName),this.options.sortPriority=n||this.options.sortPriority,(this.options.sortOrder||this.options.sortName)&&(this.options.sortPriority=null),this.options.pageNumber=a?+a:this.options.pageNumber,this.options.pageSize=o?o===this.options.formatAllRows()?o:+o:this.options.pageSize,vl.isCookieEnabled(this,vl.cookieIds.searchText)&&""===this.options.searchText&&(this.options.searchText=i||""),this.options.cardView="true"===s&&s,h){var d,p=c(this.columns);try{var g=function(){var t=d.value;t.visible=!h.filter((function(r){return!e.isSelectionColumn(t)&&r===t.field})).length>0||!t.switchable};for(p.s();!(d=p.n()).done;)g()}catch(e){p.e(e)}finally{p.f()}}else if(f){var m,v=c(this.columns);try{var b=function(){var t=m.value;if(!t.switchable)return"continue";t.visible=f.filter((function(r){return!!e.isSelectionColumn(t)||(r instanceof Object?r.field===t.field:r===t.field)})).length>0};for(v.s();!(m=v.n()).done;)b()}catch(e){v.e(e)}finally{v.f()}}}}},{key:"getCookies",value:function(){var t=this,r={};return e.each(vl.cookieIds,(function(e,n){r[e]=vl.getCookie(t,n),"columns"!==e&&"hiddenColumns"!==e&&"sortPriority"!==e||(r[e]=JSON.parse(r[e]))})),r}},{key:"deleteCookie",value:function(e){e&&vl.deleteCookie(this,vl.cookieIds[e])}},{key:"configureStorage",value:function(){var e=this;switch(this._storage={},this.options.cookieStorage){case"cookieStorage":this._storage.setItem=function(t,r){document.cookie=[t,"=",encodeURIComponent(r),"; expires=".concat(vl.calculateExpiration(e.options.cookieExpire)),e.options.cookiePath?"; path=".concat(e.options.cookiePath):"",e.options.cookieDomain?"; domain=".concat(e.options.cookieDomain):"",e.options.cookieSecure?"; secure":"",";SameSite=".concat(e.options.cookieSameSite)].join("")},this._storage.getItem=function(e){var t="; ".concat(document.cookie).split("; ".concat(e,"="));return 2===t.length?decodeURIComponent(t.pop().split(";").shift()):null},this._storage.removeItem=function(t){document.cookie=[encodeURIComponent(t),"=","; expires=Thu, 01 Jan 1970 00:00:00 GMT",e.options.cookiePath?"; path=".concat(e.options.cookiePath):"",e.options.cookieDomain?"; domain=".concat(e.options.cookieDomain):"",";SameSite=".concat(e.options.cookieSameSite)].join("")};break;case"localStorage":this._storage.setItem=function(e,t){localStorage.setItem(e,t)},this._storage.getItem=function(e){return localStorage.getItem(e)},this._storage.removeItem=function(e){localStorage.removeItem(e)};break;case"sessionStorage":this._storage.setItem=function(e,t){sessionStorage.setItem(e,t)},this._storage.getItem=function(e){return sessionStorage.getItem(e)},this._storage.removeItem=function(e){sessionStorage.removeItem(e)};break;case"customStorage":if(!this.options.cookieCustomStorageSet||!this.options.cookieCustomStorageGet||!this.options.cookieCustomStorageDelete)throw new Error("The following options must be set while using the customStorage: cookieCustomStorageSet, cookieCustomStorageGet and cookieCustomStorageDelete");this._storage.setItem=function(t,r){ml.calculateObjectValue(e.options,e.options.cookieCustomStorageSet,[t,r],"")},this._storage.getItem=function(t){return ml.calculateObjectValue(e.options,e.options.cookieCustomStorageGet,[t],"")},this._storage.removeItem=function(t){ml.calculateObjectValue(e.options,e.options.cookieCustomStorageDelete,[t],"")};break;default:throw new Error("Storage method not supported.")}}}],l&&t(s.prototype,l),u&&t(s,u),Object.defineProperty(s,"prototype",{writable:!1}),h}(e.BootstrapTable)})),jQuery.base64=function(e){var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function r(e){var r,n,a,o,i,s,c,l="",u=0;for(e=function(e){e=e.replace(/\r\n/g,"\n");for(var t="",r=0;r<e.length;r++){var n=e.charCodeAt(r);n<128?t+=String.fromCharCode(n):n>127&&n<2048?(t+=String.fromCharCode(n>>6|192),t+=String.fromCharCode(63&n|128)):(t+=String.fromCharCode(n>>12|224),t+=String.fromCharCode(n>>6&63|128),t+=String.fromCharCode(63&n|128))}return t}(e);u<e.length;)o=(r=e.charCodeAt(u++))>>2,i=(3&r)<<4|(n=e.charCodeAt(u++))>>4,s=(15&n)<<2|(a=e.charCodeAt(u++))>>6,c=63&a,isNaN(n)?s=c=64:isNaN(a)&&(c=64),l=l+t.charAt(o)+t.charAt(i)+t.charAt(s)+t.charAt(c);return l}return{encode:function(e){return r(e)}}}(jQuery),function(e){e.fn.tableExport=function(o){let i;const s={csvEnclosure:'"',csvSeparator:",",csvUseBOM:!0,date:{html:"dd/mm/yyyy"},displayTableName:!1,escape:!1,exportHiddenCells:!1,fileName:"tableExport",htmlContent:!1,htmlHyperlink:"content",ignoreColumn:[],ignoreRow:[],jsonScope:"all",jspdf:{orientation:"p",unit:"pt",format:"a4",margins:{left:20,right:10,top:10,bottom:10},onDocCreated:null,autotable:{styles:{cellPadding:2,rowHeight:12,fontSize:8,fillColor:255,textColor:50,fontStyle:"normal",overflow:"ellipsize",halign:"inherit",valign:"middle"},headerStyles:{fillColor:[52,73,94],textColor:255,fontStyle:"bold",halign:"inherit",valign:"middle"},alternateRowStyles:{fillColor:245},tableExport:{doc:null,onAfterAutotable:null,onBeforeAutotable:null,onAutotableText:null,onTable:null,outputImages:!0}}},mso:{fileFormat:"xlshtml",onMsoNumberFormat:null,pageFormat:"a4",pageOrientation:"portrait",rtl:!1,styles:[],worksheetName:"",xlsx:{formatId:{date:14,numbers:2,currency:164},format:{currency:"$#,##0.00;[Red]-$#,##0.00"},onHyperlink:null}},numbers:{html:{decimalMark:".",thousandsSeparator:","},output:{decimalMark:".",thousandsSeparator:","}},onAfterSaveToFile:null,onBeforeSaveToFile:null,onCellData:null,onCellHtmlData:null,onCellHtmlHyperlink:null,onIgnoreRow:null,onTableExportBegin:null,onTableExportEnd:null,outputMode:"file",pdfmake:{enabled:!1,docDefinition:{pageSize:"A4",pageOrientation:"portrait",styles:{header:{background:"#34495E",color:"#FFFFFF",bold:!0,alignment:"center",fillColor:"#34495E"},alternateRow:{fillColor:"#f5f5f5"}},defaultStyle:{color:"#000000",fontSize:8,font:"Roboto"}},fonts:{}},preserve:{leadingWS:!1,trailingWS:!1},preventInjection:!0,sql:{tableEnclosure:"`",columnEnclosure:"`"},tbodySelector:"tr",tfootSelector:"tr",theadSelector:"tr",tableName:"Table",type:"csv"},c={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]},l={striped:{table:{fillColor:255,textColor:80,fontStyle:"normal",fillStyle:"F"},header:{textColor:255,fillColor:[41,128,185],rowHeight:23,fontStyle:"bold"},body:{},alternateRow:{fillColor:245}},grid:{table:{fillColor:255,textColor:80,fontStyle:"normal",lineWidth:.1,fillStyle:"DF"},header:{textColor:255,fillColor:[26,188,156],rowHeight:23,fillStyle:"F",fontStyle:"bold"},body:{},alternateRow:{}},plain:{header:{fontStyle:"bold"}}};let u={cellPadding:5,fontSize:10,fontName:"helvetica",lineColor:200,lineWidth:.1,fontStyle:"normal",overflow:"ellipsize",fillColor:255,textColor:20,halign:"left",valign:"top",fillStyle:"F",rowHeight:20,columnWidth:"auto"};const f=1.15,h=this;let d,p=null,g=[],m=[],v=0,b="",y=[],w=[],S=[],x=!1;if(e.extend(!0,s,o),"xlsx"===s.type&&(s.mso.fileFormat=s.type,s.type="excel"),void 0!==s.excelFileFormat&&void 0===s.mso.fileFormat&&(s.mso.fileFormat=s.excelFileFormat),void 0!==s.excelPageFormat&&void 0===s.mso.pageFormat&&(s.mso.pageFormat=s.excelPageFormat),void 0!==s.excelPageOrientation&&void 0===s.mso.pageOrientation&&(s.mso.pageOrientation=s.excelPageOrientation),void 0!==s.excelRTL&&void 0===s.mso.rtl&&(s.mso.rtl=s.excelRTL),void 0!==s.excelstyles&&void 0===s.mso.styles&&(s.mso.styles=s.excelstyles),void 0!==s.onMsoNumberFormat&&void 0===s.mso.onMsoNumberFormat&&(s.mso.onMsoNumberFormat=s.onMsoNumberFormat),void 0!==s.worksheetName&&void 0===s.mso.worksheetName&&(s.mso.worksheetName=s.worksheetName),void 0!==s.mso.xslx&&void 0===s.mso.xlsx&&(s.mso.xlsx=s.mso.xslx),s.mso.pageOrientation="l"===s.mso.pageOrientation.substr(0,1)?"landscape":"portrait",s.date.html=s.date.html||"",s.date.html.length){const e=[];e.dd="(3[01]|[12][0-9]|0?[1-9])",e.mm="(1[012]|0?[1-9])",e.yyyy="((?:1[6-9]|2[0-2])\\d{2})",e.yy="(\\d{2})";const t=s.date.html.match(/[^a-zA-Z0-9]/)[0],r=s.date.html.toLowerCase().split(t);s.date.regex="^\\s*",s.date.regex+=e[r[0]],s.date.regex+="(.)",s.date.regex+=e[r[1]],s.date.regex+="\\2",s.date.regex+=e[r[2]],s.date.regex+="\\s*$",s.date.pattern=new RegExp(s.date.regex,"g");let n=r.indexOf("dd")+1;s.date.match_d=n+(n>1?1:0),n=r.indexOf("mm")+1,s.date.match_m=n+(n>1?1:0),n=(r.indexOf("yyyy")>=0?r.indexOf("yyyy"):r.indexOf("yy"))+1,s.date.match_y=n+(n>1?1:0)}if(y=E(h),"function"==typeof s.onTableExportBegin&&s.onTableExportBegin(),"csv"===s.type||"tsv"===s.type||"txt"===s.type){let t="",r=0;w=[],v=0;const n=function(e,t,r){let n="";if(null!==e){const a=U(e,t,r),o=null===a||""===a?"":a.toString();"tsv"===s.type?(a instanceof Date&&a.toLocaleString(),n=D(o,"\t"," ")):a instanceof Date?n=s.csvEnclosure+a.toLocaleString()+s.csvEnclosure:(n=H(o),n=D(n,s.csvEnclosure,s.csvEnclosure+s.csvEnclosure),(n.indexOf(s.csvSeparator)>=0||/[\r\n ]/g.test(n))&&(n=s.csvEnclosure+n+s.csvEnclosure))}return n},a=function(r,a,o){return r.each((function(){b="",C(this,a,v,o+r.length,(function(e,t,r){b+=n(e,t,r)+("tsv"===s.type?"\t":s.csvSeparator)})),b=e.trim(b).substring(0,b.length-1),b.length>0&&(t.length>0&&(t+="\n"),t+=b),v++})),r.length};if(r+=a(e(h).find("thead").first().find(s.theadSelector),"th,td",r),T(e(h),"tbody").each((function(){r+=a(T(e(this),s.tbodySelector),"td,th",r)})),s.tfootSelector.length&&a(e(h).find("tfoot").first().find(s.tfootSelector),"td,th",r),t+="\n","string"===s.outputMode)return t;if("base64"===s.outputMode)return re(t);if("window"===s.outputMode)return void te(!1,"data:text/"+("csv"===s.type?"csv":"plain")+";charset=utf-8,",t);ee(t,s.fileName+"."+s.type,"text/"+("csv"===s.type?"csv":"plain"),"utf-8","","csv"===s.type&&s.csvUseBOM)}else if("sql"===s.type){v=0,w=[];let t="INSERT INTO "+s.sql.tableEnclosure+s.tableName+s.sql.tableEnclosure+" (";if(g=A(e(h)),e(g).each((function(){C(this,"th,td",v,g.length,(function(e,r,n){let a=U(e,r,n)||"";a.indexOf(s.sql.columnEnclosure)>-1&&(a=D(a.toString(),s.sql.columnEnclosure,s.sql.columnEnclosure+s.sql.columnEnclosure)),t+=s.sql.columnEnclosure+a+s.sql.columnEnclosure+","})),v++,t=e.trim(t).substring(0,t.length-1)})),t+=") VALUES ",m=k(e(h)),e(m).each((function(){b="",C(this,"td,th",v,g.length+m.length,(function(e,t,r){let n=U(e,t,r)||"";n.indexOf("'")>-1&&(n=D(n.toString(),"'","''")),b+="'"+n+"',"})),b.length>3&&(t+="("+b,t=e.trim(t).substring(0,t.length-1),t+="),"),v++})),t=e.trim(t).substring(0,t.length-1),t+=";","string"===s.outputMode)return t;if("base64"===s.outputMode)return re(t);ee(t,s.fileName+".sql","application/sql","utf-8","",!1)}else if("json"===s.type){const t=[];w=[],g=A(e(h)),e(g).each((function(){const e=[];C(this,"th,td",v,g.length,(function(t,r,n){e.push(U(t,r,n))})),t.push(e)}));const r=[];let n;if(m=k(e(h)),e(m).each((function(){const n={};let a=0;C(this,"td,th",v,g.length+m.length,(function(e,r,o){t.length?n[t[t.length-1][a]]=U(e,r,o):n[a]=U(e,r,o),a++})),!1===e.isEmptyObject(n)&&r.push(n),v++})),n="head"===s.jsonScope?JSON.stringify(t):"data"===s.jsonScope?JSON.stringify(r):JSON.stringify({header:t,data:r}),"string"===s.outputMode)return n;if("base64"===s.outputMode)return re(n);ee(n,s.fileName+".json","application/json","utf-8","base64",!1)}else if("xml"===s.type){v=0,w=[];let t='<?xml version="1.0" encoding="utf-8"?>';t+="<tabledata><fields>",g=A(e(h)),e(g).each((function(){C(this,"th,td",v,g.length,(function(e,r,n){t+="<field>"+U(e,r,n)+"</field>"})),v++})),t+="</fields><data>";let r=1;if(m=k(e(h)),e(m).each((function(){let e=1;b="",C(this,"td,th",v,g.length+m.length,(function(t,r,n){b+="<column-"+e+">"+U(t,r,n)+"</column-"+e+">",e++})),b.length>0&&"<column-1></column-1>"!==b&&(t+='<row id="'+r+'">'+b+"</row>",r++),v++})),t+="</data></tabledata>","string"===s.outputMode)return t;if("base64"===s.outputMode)return re(t);ee(t,s.fileName+".xml","application/xml","utf-8","base64",!1)}else if("excel"===s.type&&"xmlss"===s.mso.fileFormat){const t=[],r=[];e(h).filter((function(){return _(e(this))})).each((function(){const n=e(this);let a="";function o(t,r,n){const a=[];return e(t).each((function(){let r=0,o=0;b="",C(this,"td,th",v,n+t.length,(function(t,n,i){if(null!==t){let s="",c=U(t,n,i),l="String";if(!1!==jQuery.isNumeric(c))l="Number";else{const e=function(e){e.indexOf("%")>-1?!1!==(e=W(e.replace(/%/g,"")))&&(e/=100):e=!1;return e}(c);!1!==e&&(c=e,l="Number",s+=' ss:StyleID="pct1"')}"Number"!==l&&(c=c.replace(/\n/g,"<br>"));let u=$(t),f=G(t);e.each(a,(function(){const e=this;if(v>=e.s.r&&v<=e.e.r&&o>=e.s.c&&o<=e.e.c)for(let t=0;t<=e.e.c-e.s.c;++t)o++,r++})),(f||u)&&(f=f||1,u=u||1,a.push({s:{r:v,c:o},e:{r:v+f-1,c:o+u-1}})),u>1&&(s+=' ss:MergeAcross="'+(u-1)+'"',o+=u-1),f>1&&(s+=' ss:MergeDown="'+(f-1)+'" ss:StyleID="rsp1"'),r>0&&(s+=' ss:Index="'+(o+1)+'"',r=0),b+="<Cell"+s+'><Data ss:Type="'+l+'">'+e("<div />").text(c).html()+"</Data></Cell>\r",o++}})),b.length>0&&(i+='<Row ss:AutoFitHeight="0">\r'+b+"</Row>\r"),v++})),t.length}"string"==typeof s.mso.worksheetName&&s.mso.worksheetName.length?a=s.mso.worksheetName+" "+(r.length+1):void 0!==s.mso.worksheetName[r.length]&&(a=s.mso.worksheetName[r.length]),a.length||(a=n.find("caption").text()||""),a.length||(a="Table "+(r.length+1)),a=e.trim(a.replace(/[\\\/[\]*:?'"]/g,"").substring(0,31)),r.push(e("<div />").text(a).html()),!1===s.exportHiddenCells&&(S=n.find("tr, th, td").filter(":hidden"),x=S.length>0),v=0,y=E(this),i="<Table>\r";const c=o(A(n),0,0);o(k(n),0,c),i+="</Table>\r",t.push(i)}));const n={},a={};let o,c;for(let e=0,t=r.length;e<t;e++)o=r[e],c=n[o],c=n[o]=null==c?1:c+1,2===c&&(r[a[o]]=r[a[o]].substring(0,29)+"-1"),n[o]>1?r[e]=r[e].substring(0,29)+"-"+n[o]:a[o]=e;let l='<?xml version="1.0" encoding="UTF-8"?>\r<?mso-application progid="Excel.Sheet"?>\r<Workbook xmlns="urn:schemas-microsoft-com:office:spreadsheet"\r xmlns:o="urn:schemas-microsoft-com:office:office"\r xmlns:x="urn:schemas-microsoft-com:office:excel"\r xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet"\r xmlns:html="http://www.w3.org/TR/REC-html40">\r<DocumentProperties xmlns="urn:schemas-microsoft-com:office:office">\r <Created>'+(new Date).toISOString()+'</Created>\r</DocumentProperties>\r<OfficeDocumentSettings xmlns="urn:schemas-microsoft-com:office:office">\r <AllowPNG/>\r</OfficeDocumentSettings>\r<ExcelWorkbook xmlns="urn:schemas-microsoft-com:office:excel">\r <WindowHeight>9000</WindowHeight>\r <WindowWidth>13860</WindowWidth>\r <WindowTopX>0</WindowTopX>\r <WindowTopY>0</WindowTopY>\r <ProtectStructure>False</ProtectStructure>\r <ProtectWindows>False</ProtectWindows>\r</ExcelWorkbook>\r<Styles>\r <Style ss:ID="Default" ss:Name="Normal">\r <Alignment ss:Vertical="Bottom"/>\r <Borders/>\r <Font/>\r <Interior/>\r <NumberFormat/>\r <Protection/>\r </Style>\r <Style ss:ID="rsp1">\r <Alignment ss:Vertical="Center"/>\r </Style>\r <Style ss:ID="pct1">\r <NumberFormat ss:Format="Percent"/>\r </Style>\r</Styles>\r';for(let e=0;e<t.length;e++)l+='<Worksheet ss:Name="'+r[e]+'" ss:RightToLeft="'+(s.mso.rtl?"1":"0")+'">\r'+t[e],s.mso.rtl?l+='<WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel">\r<DisplayRightToLeft/>\r</WorksheetOptions>\r':l+='<WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel"/>\r',l+="</Worksheet>\r";if(l+="</Workbook>\r","string"===s.outputMode)return l;if("base64"===s.outputMode)return re(l);ee(l,s.fileName+".xml","application/xml","utf-8","base64",!1)}else if("excel"===s.type&&"xlsx"===s.mso.fileFormat){const t=[],r=XLSX.utils.book_new();e(h).filter((function(){return _(e(this))})).each((function(){const n=e(this),a=function(t){let r;const n={},a=t.getElementsByTagName("tr"),o=Math.min(1e7,a.length),i={s:{r:0,c:0},e:{r:0,c:0}};let c,l=[],u=0,f=0,h=0,d=0,p=0,g=0,m=0;const v=XLSX.SSF.get_table();for(;f<a.length&&h<o;++f){const t=a[f];let o=!1;if("function"==typeof s.onIgnoreRow&&(o=s.onIgnoreRow(e(t),f)),!0===o||0!==s.ignoreRow.length&&(-1!==e.inArray(f,s.ignoreRow)||-1!==e.inArray(f-a.length,s.ignoreRow))||!1===_(e(t)))continue;const b=t.children;let y=0;for(d=0;d<b.length;++d)c=b[d],m=+$(c)||1,y+=m;let w=0;for(d=p=0;d<b.length;++d){c=b[d],m=+$(c)||1;const t=d+w;if(N(e(c),y,t+(t<p?p-t:0)))continue;for(w+=m-1,u=0;u<l.length;++u){const e=l[u];e.s.c==p&&e.s.r<=h&&h<=e.e.r&&(p=e.e.c+1,u=-1)}((g=+G(c))>0||m>1)&&l.push({s:{r:h,c:p},e:{r:h+(g||1)-1,c:p+m-1}});const a={type:""};let o=U(c,f,d+w,a),S={t:"s",v:o},x="";if(""!==(e(c).attr("data-tableexport-cellformat")||void 0)?(r=parseInt(e(c).attr("data-tableexport-xlsxformatid")||0),0===r&&"function"==typeof s.mso.xlsx.formatId.numbers&&(r=s.mso.xlsx.formatId.numbers(e(c),f,d+w)),0===r&&"function"==typeof s.mso.xlsx.formatId.date&&(r=s.mso.xlsx.formatId.date(e(c),f,d+w)),49===r||"@"===r?x="s":"number"===a.type||r>0&&r<14||r>36&&r<41||48===r?x="n":("date"===a.type||r>13&&r<37||r>44&&r<48||56===r)&&(x="d")):x="s",null!=o){let t;if(0===o.length)S.t="z";else if(0===o.trim().length);else if("s"===x);else if("function"===a.type)S={f:o};else if("TRUE"===o)S={t:"b",v:!0};else if("FALSE"===o)S={t:"b",v:!1};else if("n"===x||isFinite(Z(o,s.numbers.output))){const e=Z(o,s.numbers.output);0===r&&"function"!=typeof s.mso.xlsx.formatId.numbers&&(r=s.mso.xlsx.formatId.numbers),(isFinite(e)||isFinite(o))&&(S={t:"n",v:isFinite(e)?e:o,z:"string"==typeof r?r:r in v?v[r]:r===s.mso.xlsx.formatId.currency?s.mso.xlsx.format.currency:"0.00"})}else!1===(t=B(o))&&"d"!==x||(0===r&&"function"!=typeof s.mso.xlsx.formatId.date&&(r=s.mso.xlsx.formatId.date),S={t:"d",v:!1!==t?t:o,z:"string"==typeof r?r:r in v?v[r]:"m/d/yy"});const n=e(c).find("a");if(n&&n.length){const t=n[0].hasAttribute("href")?n.attr("href"):"",r="href"!==s.htmlHyperlink||""===t?o:"",a=""!==t?'=HYPERLINK("'+t+(r.length?'","'+r:"")+'")':"";""!==a&&("function"==typeof s.mso.xlsx.onHyperlink?(o=s.mso.xlsx.onHyperlink(e(c),f,d,t,r,a),S=0!==o.indexOf("=HYPERLINK")?{t:"s",v:o}:{f:o}):S={f:a})}}n[K({c:p,r:h})]=S,i.e.c<p&&(i.e.c=p),p+=m}++h}l.length&&(n["!merges"]=(n["!merges"]||[]).concat(l));i.e.r=Math.max(i.e.r,h-1),n["!ref"]=J(i),h>=o&&(n["!fullref"]=J((i.e.r=a.length-f+h-1,i)));return n}(this);let o="";"string"==typeof s.mso.worksheetName&&s.mso.worksheetName.length?o=s.mso.worksheetName+" "+(t.length+1):void 0!==s.mso.worksheetName[t.length]&&(o=s.mso.worksheetName[t.length]),o.length||(o=n.find("caption").text()||""),o.length||(o="Table "+(t.length+1)),o=e.trim(o.replace(/[\\\/[\]*:?'"]/g,"").substring(0,31)),t.push(o),XLSX.utils.book_append_sheet(r,a,o)}));ee(function(e){const t=new ArrayBuffer(e.length),r=new Uint8Array(t);for(let t=0;t!==e.length;++t)r[t]=255&e.charCodeAt(t);return t}(XLSX.write(r,{type:"binary",bookType:s.mso.fileFormat,bookSST:!1})),s.fileName+"."+s.mso.fileFormat,"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","UTF-8","",!1)}else if("excel"===s.type||"xls"===s.type||"word"===s.type||"doc"===s.type){const t="excel"===s.type||"xls"===s.type?"excel":"word",r="excel"===t?"xls":"doc",n='xmlns:x="urn:schemas-microsoft-com:office:'+t+'"';i="";let a="";e(h).filter((function(){return _(e(this))})).each((function(){const t=e(this);""===a&&(a=s.mso.worksheetName||t.find("caption").text()||"Table",a=e.trim(a.replace(/[\\\/[\]*:?'"]/g,"").substring(0,31))),!1===s.exportHiddenCells&&(S=t.find("tr, th, td").filter(":hidden"),x=S.length>0),v=0,w=[],y=E(this),i+="<table><thead>",g=A(t),e(g).each((function(){const t=e(this);b="",C(this,"th,td",v,g.length,(function(e,r,n){if(null!==e){let a="";if(b+="<th",s.mso.styles.length){const r=document.defaultView.getComputedStyle(e,null),n=document.defaultView.getComputedStyle(t[0],null);for(let e in s.mso.styles){let t=r[s.mso.styles[e]];""===t&&(t=n[s.mso.styles[e]]),""!==t&&"0px none rgb(0, 0, 0)"!==t&&"rgba(0, 0, 0, 0)"!==t&&(a+=""===a?'style="':";",a+=s.mso.styles[e]+":"+t)}}""!==a&&(b+=" "+a+'"');const o=$(e);o>0&&(b+=' colspan="'+o+'"');const i=G(e);i>0&&(b+=' rowspan="'+i+'"'),b+=">"+U(e,r,n)+"</th>"}})),b.length>0&&(i+="<tr>"+b+"</tr>"),v++})),i+="</thead><tbody>",m=k(t),e(m).each((function(){const t=e(this);b="",C(this,"td,th",v,g.length+m.length,(function(r,n,a){if(null!==r){let o=U(r,n,a),i="",c=e(r).attr("data-tableexport-msonumberformat");if(void 0===c&&"function"==typeof s.mso.onMsoNumberFormat&&(c=s.mso.onMsoNumberFormat(r,n,a)),void 0!==c&&""!==c&&(i="style=\"mso-number-format:'"+c+"'"),s.mso.styles.length){const e=document.defaultView.getComputedStyle(r,null),n=document.defaultView.getComputedStyle(t[0],null);for(let t in s.mso.styles)c=e[s.mso.styles[t]],""===c&&(c=n[s.mso.styles[t]]),""!==c&&"0px none rgb(0, 0, 0)"!==c&&"rgba(0, 0, 0, 0)"!==c&&(i+=""===i?'style="':";",i+=s.mso.styles[t]+":"+c)}b+="<td",""!==i&&(b+=" "+i+'"');const l=$(r);l>0&&(b+=' colspan="'+l+'"');const u=G(r);u>0&&(b+=' rowspan="'+u+'"'),"string"==typeof o&&""!==o&&(o=H(o),o=o.replace(/\n/g,"<br>")),b+=">"+o+"</td>"}})),b.length>0&&(i+="<tr>"+b+"</tr>"),v++})),s.displayTableName&&(i+="<tr><td></td></tr><tr><td></td></tr><tr><td>"+U(e("<p>"+s.tableName+"</p>"))+"</td></tr>"),i+="</tbody></table>"}));let o='<html xmlns:o="urn:schemas-microsoft-com:office:office" '+n+' xmlns="http://www.w3.org/TR/REC-html40">';if(o+='<meta http-equiv="content-type" content="application/vnd.ms-'+t+'; charset=UTF-8">',o+="<head>","excel"===t&&(o+="\x3c!--[if gte mso 9]>",o+="<xml>",o+="<x:ExcelWorkbook>",o+="<x:ExcelWorksheets>",o+="<x:ExcelWorksheet>",o+="<x:Name>",o+=a,o+="</x:Name>",o+="<x:WorksheetOptions>",o+="<x:DisplayGridlines/>",s.mso.rtl&&(o+="<x:DisplayRightToLeft/>"),o+="</x:WorksheetOptions>",o+="</x:ExcelWorksheet>",o+="</x:ExcelWorksheets>",o+="</x:ExcelWorkbook>",o+="</xml>",o+="<![endif]--\x3e"),o+="<style>",o+="@page { size:"+s.mso.pageOrientation+"; mso-page-orientation:"+s.mso.pageOrientation+"; }",o+="@page Section1 {size:"+c[s.mso.pageFormat][0]+"pt "+c[s.mso.pageFormat][1]+"pt",o+="; margin:1.0in 1.25in 1.0in 1.25in;mso-header-margin:.5in;mso-footer-margin:.5in;mso-paper-source:0;}",o+="div.Section1 {page:Section1;}",o+="@page Section2 {size:"+c[s.mso.pageFormat][1]+"pt "+c[s.mso.pageFormat][0]+"pt",o+=";mso-page-orientation:"+s.mso.pageOrientation+";margin:1.25in 1.0in 1.25in 1.0in;mso-header-margin:.5in;mso-footer-margin:.5in;mso-paper-source:0;}",o+="div.Section2 {page:Section2;}",o+="br {mso-data-placement:same-cell;}",o+="</style>",o+="</head>",o+="<body>",o+='<div class="Section'+("landscape"===s.mso.pageOrientation?"2":"1")+'">',o+=i,o+="</div>",o+="</body>",o+="</html>","string"===s.outputMode)return o;if("base64"===s.outputMode)return re(o);ee(o,s.fileName+"."+r,"application/vnd.ms-"+t,"","base64",!1)}else if("png"===s.type)html2canvas(e(h)[0]).then((function(e){const t=e.toDataURL(),r=atob(t.substring(22)),n=new ArrayBuffer(r.length),a=new Uint8Array(n);for(let e=0;e<r.length;e++)a[e]=r.charCodeAt(e);return"string"===s.outputMode?r:"base64"===s.outputMode?re(t):void("window"!==s.outputMode?ee(n,s.fileName+".png","image/png","","",!1):window.open(t))}));else if("pdf"===s.type)if(!0===s.pdfmake.enabled){const t={content:[]};e.extend(!0,t,s.pdfmake.docDefinition),w=[],e(h).filter((function(){return _(e(this))})).each((function(){const r=e(this),n=[],a=[];v=0;const o=function(t,r,n){let o=0;return e(t).each((function(){const e=[];C(this,r,v,n,(function(t,n,a){let o;if(null!=t){const e=$(t),r=G(t);o={text:U(t,n,a)||" "},(e>1||r>1)&&(o.colSpan=e||1,o.rowSpan=r||1)}else o={text:" "};r.indexOf("th")>=0&&(o.style="header"),e.push(o)})),e.length&&a.push(e),o<e.length&&(o=e.length),v++})),o};g=A(r);let i=o(g,"th,td",g.length);for(let e=n.length;e<i;e++)n.push("*");m=k(r),i=o(m,"td",g.length+m.length);for(let e=n.length;e<i;e++)n.push("*");t.content.push({table:{headerRows:g.length?g.length:null,widths:n,body:a},layout:{layout:"noBorders",hLineStyle:function(e,t){return 0},vLineWidth:function(e,t){return 0},hLineColor:function(e,t){return e<t.table.headerRows?s.pdfmake.docDefinition.styles.header.background:s.pdfmake.docDefinition.styles.alternateRow.fillColor},vLineColor:function(e,t){return e<t.table.headerRows?s.pdfmake.docDefinition.styles.header.background:s.pdfmake.docDefinition.styles.alternateRow.fillColor},fillColor:function(e,t,r){return e%2==0?s.pdfmake.docDefinition.styles.alternateRow.fillColor:null}},pageBreak:t.content.length?"before":void 0})})),"undefined"!=typeof pdfMake&&void 0!==pdfMake.createPdf&&(pdfMake.fonts={Roboto:{normal:"Roboto-Regular.ttf",bold:"Roboto-Medium.ttf",italics:"Roboto-Italic.ttf",bolditalics:"Roboto-MediumItalic.ttf"}},pdfMake.vfs.hasOwnProperty("Mirza-Regular.ttf")?(t.defaultStyle.font="Mirza",e.extend(!0,pdfMake.fonts,{Mirza:{normal:"Mirza-Regular.ttf",bold:"Mirza-Bold.ttf",italics:"Mirza-Medium.ttf",bolditalics:"Mirza-SemiBold.ttf"}})):pdfMake.vfs.hasOwnProperty("gbsn00lp.ttf")?(t.defaultStyle.font="gbsn00lp",e.extend(!0,pdfMake.fonts,{gbsn00lp:{normal:"gbsn00lp.ttf",bold:"gbsn00lp.ttf",italics:"gbsn00lp.ttf",bolditalics:"gbsn00lp.ttf"}})):pdfMake.vfs.hasOwnProperty("ZCOOLXiaoWei-Regular.ttf")&&(t.defaultStyle.font="ZCOOLXiaoWei",e.extend(!0,pdfMake.fonts,{ZCOOLXiaoWei:{normal:"ZCOOLXiaoWei-Regular.ttf",bold:"ZCOOLXiaoWei-Regular.ttf",italics:"ZCOOLXiaoWei-Regular.ttf",bolditalics:"ZCOOLXiaoWei-Regular.ttf"}})),e.extend(!0,pdfMake.fonts,s.pdfmake.fonts),pdfMake.createPdf(t).getBuffer((function(e){ee(e,s.fileName+".pdf","application/pdf","","",!1)})))}else if(!1===s.jspdf.autotable){let e=new jspdf.jsPDF({orientation:s.jspdf.orientation,unit:s.jspdf.unit,format:s.jspdf.format});e.html(h[0],{callback:function(){R(e,!1)},html2canvas:{scale:(e.internal.pageSize.width-2*s.jspdf.margins.left)/h[0].scrollWidth},x:s.jspdf.margins.left,y:s.jspdf.margins.top})}else{let o=s.jspdf.autotable.tableExport;if("string"==typeof s.jspdf.format&&"bestfit"===s.jspdf.format.toLowerCase()){let t="",r="",n=0;e(h).each((function(){if(_(e(this))){const a=Y(e(this).get(0),"width","pt");if(a>n){a>c.a0[0]&&(t="a0",r="l");for(let e in c)c.hasOwnProperty(e)&&c[e][1]>a&&(t=e,r="l",c[e][0]>a&&(r="p"));n=a}}})),s.jspdf.format=""===t?"a4":t,s.jspdf.orientation=""===r?"w":r}null==o.doc&&(o.doc=new jspdf.jsPDF(s.jspdf.orientation,s.jspdf.unit,s.jspdf.format),o.wScaleFactor=1,o.hScaleFactor=1,"function"==typeof s.jspdf.onDocCreated&&s.jspdf.onDocCreated(o.doc)),u.fontName=o.doc.getFont().fontName,!0===o.outputImages&&(o.images={}),void 0!==o.images&&(e(h).filter((function(){return _(e(this))})).each((function(){let t=0;w=[],!1===s.exportHiddenCells&&(S=e(this).find("tr, th, td").filter(":hidden"),x=S.length>0),g=A(e(this)),m=k(e(this)),e(m).each((function(){C(this,"td,th",g.length+t,g.length+m.length,(function(t){L(t,e(t).children(),o)})),t++}))})),g=[],m=[]),function(t,r){let n=0,a=0;function o(){r(n)}function i(t){if(t.url)if(t.src){const e=new Image;n=++a,e.crossOrigin="Anonymous",e.onerror=e.onload=function(){if(e.complete&&(0===e.src.indexOf("data:image/")&&(e.width=t.width||e.width||0,e.height=t.height||e.height||0),e.width+e.height)){const r=document.createElement("canvas"),n=r.getContext("2d");r.width=e.width,r.height=e.height,n.drawImage(e,0,0),t.src=r.toDataURL("image/png")}--a||o()},e.src=t.url}else{const r=e(t.url);r.length&&(n=++a,html2canvas(r[0]).then((function(e){t.src=e.toDataURL("image/png"),--a||o()})))}}if(void 0!==t.images)for(let e in t.images)t.images.hasOwnProperty(e)&&i(t.images[e]);a||o()}(o,(function(){e(h).filter((function(){return _(e(this))})).each((function(){let i;if(v=0,w=[],!1===s.exportHiddenCells&&(S=e(this).find("tr, th, td").filter(":hidden"),x=S.length>0),y=E(this),o.columns=[],o.rows=[],o.teCells={},"function"==typeof o.onTable&&!1===o.onTable(e(this),s))return!0;s.jspdf.autotable.tableExport=null;const c=e.extend(!0,{},s.jspdf.autotable);if(s.jspdf.autotable.tableExport=o,c.margin={},e.extend(!0,c.margin,s.jspdf.margins),c.tableExport=o,"function"!=typeof c.createdHeaderCell&&(c.createdHeaderCell=function(e,t){if(void 0!==o.columns[t.column.dataKey]){const r=o.columns[t.column.dataKey];if(void 0!==r.rect){let n;e.contentWidth=r.rect.width,void 0!==o.heightRatio&&0!==o.heightRatio||(n=t.row.raw[t.column.dataKey].rowspan?t.row.raw[t.column.dataKey].rect.height/t.row.raw[t.column.dataKey].rowspan:t.row.raw[t.column.dataKey].rect.height,o.heightRatio=e.styles.rowHeight/n),n=t.row.raw[t.column.dataKey].rect.height*o.heightRatio,n>e.styles.rowHeight&&(e.styles.rowHeight=n)}e.styles.halign="inherit"===c.headerStyles.halign?"center":c.headerStyles.halign,e.styles.valign=c.headerStyles.valign,void 0!==r.style&&!0!==r.style.hidden&&("inherit"===c.headerStyles.halign&&(e.styles.halign=r.style.align),"inherit"===c.styles.fillColor&&(e.styles.fillColor=r.style.bcolor),"inherit"===c.styles.textColor&&(e.styles.textColor=r.style.color),"inherit"===c.styles.fontStyle&&(e.styles.fontStyle=r.style.fstyle))}}),"function"!=typeof c.createdCell&&(c.createdCell=function(e,t){const r=o.teCells[t.row.index+":"+t.column.dataKey];e.styles.halign="inherit"===c.styles.halign?"center":c.styles.halign,e.styles.valign=c.styles.valign,void 0!==r&&void 0!==r.style&&!0!==r.style.hidden&&("inherit"===c.styles.halign&&(e.styles.halign=r.style.align),"inherit"===c.styles.fillColor&&(e.styles.fillColor=r.style.bcolor),"inherit"===c.styles.textColor&&(e.styles.textColor=r.style.color),"inherit"===c.styles.fontStyle&&(e.styles.fontStyle=r.style.fstyle))}),"function"!=typeof c.drawHeaderCell&&(c.drawHeaderCell=function(e,t){const r=o.columns[t.column.dataKey];return(!0!==r.style.hasOwnProperty("hidden")||!0!==r.style.hidden)&&r.rowIndex>=0&&P(e,t,r)}),"function"!=typeof c.drawCell&&(c.drawCell=function(t,r){const n=o.teCells[r.row.index+":"+r.column.dataKey];if(!0!==(void 0!==n&&n.isCanvas)){if(P(t,r,n))if(o.doc.rect(t.x,t.y,t.width,t.height,t.styles.fillStyle),void 0===n||void 0!==n.hasUserDefText&&!0===n.hasUserDefText||void 0===n.elements||!n.elements.length)F(t,{},o);else{const e=t.height/n.rect.height;e>o.hScaleFactor&&(o.hScaleFactor=e),o.wScaleFactor=t.width/n.rect.width;const r=t.textPos.y;I(t,n.elements,o),t.textPos.y=r,F(t,n.elements,o)}}else{const a=n.elements[0],i=e(a).attr("data-tableexport-canvas"),s=a.getBoundingClientRect();t.width=s.width*o.wScaleFactor,t.height=s.height*o.hScaleFactor,r.row.height=t.height,O(t,a,i,o)}return!1}),o.headerrows=[],g=A(e(this)),e(g).each((function(){i=0,o.headerrows[v]=[],C(this,"th,td",v,g.length,(function(e,t,r){const n=q(e);n.title=U(e,t,r),n.key=i++,n.rowIndex=v,o.headerrows[v].push(n)})),v++})),v>0){let t=v-1;for(;t>=0;)e.each(o.headerrows[t],(function(){let e=this;t>0&&null===this.rect&&(e=o.headerrows[t-1][this.key]),null!==e&&e.rowIndex>=0&&(!0!==e.style.hasOwnProperty("hidden")||!0!==e.style.hidden)&&o.columns.push(e)})),t=o.columns.length>0?-1:t-1}let h=0;m=[],m=k(e(this)),e(m).each((function(){const t=[];i=0,C(this,"td,th",v,g.length+m.length,(function(r,n,a){let s;void 0===o.columns[i]&&(s={title:"",key:i,style:{hidden:!0}},o.columns.push(s)),t.push(U(r,n,a)),null!=r?(s=q(r),s.isCanvas=r.hasAttribute("data-tableexport-canvas"),s.elements=s.isCanvas?e(r):e(r).children(),void 0!==e(r).data("teUserDefText")&&(s.hasUserDefText=!0),o.teCells[h+":"+i++]=s):(s=e.extend(!0,{},o.teCells[h+":"+(i-1)]),s.colspan=-1,o.teCells[h+":"+i++]=s)})),t.length&&(o.rows.push(t),h++),v++})),"function"==typeof o.onBeforeAutotable&&o.onBeforeAutotable(e(this),o.columns,o.rows,c),function(o,i,s,c){(function(e,t,r){e&&"object"==typeof e||console.error("The headers should be an object or array, is: "+typeof e);t&&"object"==typeof t||console.error("The data should be an object or array, is: "+typeof t);r&&"object"!=typeof r&&console.error("The data should be an object or array, is: "+typeof t);Array.prototype.forEach||console.error("The current browser does not support Array.prototype.forEach which is required for jsPDF-AutoTable")})(i,s,c),ne=o,oe=function(e){const t=ge({theme:"striped",styles:{},headerStyles:{},bodyStyles:{},alternateRowStyles:{},columnStyles:{},startY:!1,margin:40,pageBreak:"auto",tableWidth:"auto",createdHeaderCell:function(e,t){},createdCell:function(e,t){},drawHeaderRow:function(e,t){},drawRow:function(e,t){},drawHeaderCell:function(e,t){},drawCell:function(e,t){},beforePageContent:function(e){},afterPageContent:function(e){}},e);void 0!==t.extendWidth&&(t.tableWidth=t.extendWidth?"auto":"wrap",console.error("Use of deprecated option: extendWidth, use tableWidth instead."));void 0!==t.margins&&(void 0===t.margin&&(t.margin=t.margins),console.error("Use of deprecated option: margins, use margin instead."));[["padding","cellPadding"],["lineHeight","rowHeight"],"fontSize","overflow"].forEach((function(e){const r="string"==typeof e?e:e[0],n="string"==typeof e?e:e[1];void 0!==t[r]&&(void 0===t.styles[n]&&(t.styles[n]=t[r]),console.error("Use of deprecated option: "+r+", use the style "+n+" instead."))}));const r=t.margin;t.margin={},"number"==typeof r.horizontal&&(r.right=r.horizontal,r.left=r.horizontal);"number"==typeof r.vertical&&(r.top=r.vertical,r.bottom=r.vertical);return["top","right","bottom","left"].forEach((function(e,n){if("number"==typeof r)t.margin[e]=r;else{const a=Array.isArray(r)?n:e;t.margin[e]="number"==typeof r[a]?r[a]:40}})),t}(c||{}),ie=1,ae={y:!1===oe.startY?oe.margin.top:oe.startY};const h={textColor:30,fontSize:ne.internal.getFontSize(),fontStyle:ne.internal.getFont().fontStyle,fontName:ne.internal.getFont().fontName};(function(o,i){(se=new t).x=oe.margin.left;const s=/\r\n|\r|\n/g,c=new r(o);c.index=-1;const f=ge(u,l[oe.theme].table,l[oe.theme].header);c.styles=ge(f,oe.styles,oe.headerStyles),o.forEach((function(t,r){"object"==typeof t&&(r=void 0!==t.dataKey?t.dataKey:t.key),void 0!==t.width&&console.error("Use of deprecated option: column.width, use column.styles.columnWidth instead.");const o=new a(r);o.styles=oe.columnStyles[o.dataKey]||{},se.columns.push(o);const i=new n;i.raw="object"==typeof t?t.title:t,i.styles=e.extend({},c.styles),i.text=""+i.raw,i.contentWidth=2*i.styles.cellPadding+pe(i.text,i.styles),i.text=i.text.split(s),c.cells[r]=i,oe.createdHeaderCell(i,{column:o,row:c,settings:oe})})),se.headerRow=c,i.forEach((function(e,t){const a=new r(e),o=t%2==0,i=ge(u,l[oe.theme].table,o?l[oe.theme].alternateRow:{}),c=ge(oe.styles,oe.bodyStyles,o?oe.alternateRowStyles:{});a.styles=ge(i,c),a.index=t,se.columns.forEach((function(t){const r=new n;r.raw=e[t.dataKey],r.styles=ge(a.styles,t.styles),r.text=void 0!==r.raw?""+r.raw:"",a.cells[t.dataKey]=r,oe.createdCell(r,he({column:t,row:a})),r.contentWidth=2*r.styles.cellPadding+pe(r.text,r.styles),r.text=r.text.split(s)})),se.rows.push(a)}))})(i,s),function(){let e=0;se.columns.forEach((function(t){t.contentWidth=se.headerRow.cells[t.dataKey].contentWidth,se.rows.forEach((function(e){const r=e.cells[t.dataKey].contentWidth;r>t.contentWidth&&(t.contentWidth=r)})),t.width=t.contentWidth,e+=t.contentWidth})),se.contentWidth=e;const t=ne.internal.pageSize.width-oe.margin.left-oe.margin.right;let r=t;"number"==typeof oe.tableWidth?r=oe.tableWidth:"wrap"===oe.tableWidth&&(r=se.contentWidth);se.width=r<t?r:t;const n=[];let a=0;const o=se.width/se.columns.length;let i=0;se.columns.forEach((function(e){const t=ge(u,l[oe.theme].table,oe.styles,e.styles);"wrap"===t.columnWidth?e.width=e.contentWidth:"number"==typeof t.columnWidth?e.width=t.columnWidth:(t.columnWidth,e.contentWidth<=o&&se.contentWidth>se.width?e.width=e.contentWidth:(n.push(e),a+=e.contentWidth,e.width=0)),i+=e.width})),le(n,i,a,o),se.height=0;se.rows.concat(se.headerRow).forEach((function(e,t){let r=0,n=se.x;se.columns.forEach((function(t){const a=e.cells[t.dataKey];t.x=n,fe(a.styles);const o=t.width-2*a.styles.cellPadding;"linebreak"===a.styles.overflow?a.text=ne.splitTextToSize(a.text,o+1,{fontSize:a.styles.fontSize}):"ellipsize"===a.styles.overflow?a.text=de(a.text,o,a.styles):"visible"===a.styles.overflow||("hidden"===a.styles.overflow?a.text=de(a.text,o,a.styles,""):"function"==typeof a.styles.overflow?a.text=a.styles.overflow(a.text,o):console.error("Unrecognized overflow type: "+a.styles.overflow));const i=Array.isArray(a.text)?a.text.length-1:0;i>r&&(r=i),n+=t.width})),e.heightStyle=e.styles.rowHeight,e.height=e.heightStyle+r*e.styles.fontSize*f+(2-f)/2*e.styles.fontSize,se.height+=e.height}))}();const d=se.rows[0]&&"auto"===oe.pageBreak?se.rows[0].height:0;let p=oe.startY+oe.margin.bottom+se.headerRow.height+d;"avoid"===oe.pageBreak&&(p+=se.height);("always"===oe.pageBreak&&!1!==oe.startY||!1!==oe.startY&&p>ne.internal.pageSize.height)&&(ne.addPage(),ae.y=oe.margin.top);fe(h),oe.beforePageContent(he()),!1!==oe.drawHeaderRow(se.headerRow,he({row:se.headerRow}))&&ue(se.headerRow,oe.drawHeaderCell);fe(h),function(){se.rows.forEach((function(e,t){var r;r=e.height,ae.y+r+oe.margin.bottom>=ne.internal.pageSize.height&&(oe.afterPageContent(he()),ne.addPage(),ie++,ae={x:oe.margin.left,y:oe.margin.top},oe.beforePageContent(he()),!1!==oe.drawHeaderRow(se.headerRow,he({row:se.headerRow}))&&ue(se.headerRow,oe.drawHeaderCell)),e.y=ae.y,!1!==oe.drawRow(e,he({row:e}))&&ue(e,oe.drawCell)}))}(),oe.afterPageContent(he()),fe(h)}(c.tableExport.doc,o.columns,o.rows,c),"function"==typeof o.onAfterAutotable&&o.onAfterAutotable(e(this),c),s.jspdf.autotable.startY=function(){if(void 0===ae||void 0===ae.y)return 0;return ae.y}()+c.margin.top})),R(o.doc,void 0!==o.images&&!1===jQuery.isEmptyObject(o.images)),void 0!==o.headerrows&&(o.headerrows.length=0),void 0!==o.columns&&(o.columns.length=0),void 0!==o.rows&&(o.rows.length=0),delete o.doc,o.doc=null}))}function A(t){const r=[];return T(t,"thead").each((function(){r.push.apply(r,T(e(this),s.theadSelector).toArray())})),r}function k(t){const r=[];return T(t,"tbody").each((function(){r.push.apply(r,T(e(this),s.tbodySelector).toArray())})),s.tfootSelector.length&&T(t,"tfoot").each((function(){r.push.apply(r,T(e(this),s.tfootSelector).toArray())})),r}function T(t,r){const n=t[0].tagName,a=t.parents(n).length;return t.find(r).filter((function(){return a===e(this).closest(n).parents(n).length}))}function E(t){const r=[];let n=0,a=0,o=0;return e(t).find("thead").first().find("th").each((function(t,i){const s=void 0!==e(i).attr("data-field");void 0!==i.parentNode.rowIndex&&a!==i.parentNode.rowIndex&&(a=i.parentNode.rowIndex,o=0,n=0);const c=$(i);for(n+=c||1;o<n;)r[o]=s?e(i).attr("data-field"):o.toString(),o++})),r}function _(t){let r=void 0!==t[0].rowIndex;const n=!1===r&&void 0!==t[0].cellIndex,a=n||r?function(e){let t=[];x&&(t=S.filter((function(){let t=!1;return this.nodeType===e[0].nodeType&&(void 0!==this.rowIndex&&this.rowIndex===e[0].rowIndex||void 0!==this.cellIndex&&this.cellIndex===e[0].cellIndex&&void 0!==this.parentNode.rowIndex&&void 0!==e[0].parentNode.rowIndex&&this.parentNode.rowIndex===e[0].parentNode.rowIndex)&&(t=!0),t})));return!1===x||0===t.length}(t):t.is(":visible");let o=t.attr("data-tableexport-display");return n&&"none"!==o&&"always"!==o&&(r=void 0!==(t=e(t[0].parentNode))[0].rowIndex,o=t.attr("data-tableexport-display")),r&&"none"!==o&&"always"!==o&&(o=t.closest("table").attr("data-tableexport-display")),"none"!==o&&(!0===a||"always"===o)}function N(t,r,n){let a=!1;return _(t)?s.ignoreColumn.length>0&&(-1!==e.inArray(n,s.ignoreColumn)||-1!==e.inArray(n-r,s.ignoreColumn)||y.length>n&&void 0!==y[n]&&-1!==e.inArray(y[n],s.ignoreColumn))&&(a=!0):a=!0,a}function C(t,r,n,a,o){if("function"==typeof o){let i=!1;if("function"==typeof s.onIgnoreRow&&(i=s.onIgnoreRow(e(t),n)),!1===i&&(0===s.ignoreRow.length||-1===e.inArray(n,s.ignoreRow)&&-1===e.inArray(n-a,s.ignoreRow))&&_(e(t))){const a=T(e(t),r);let i=a.length,s=0,c=0;a.each((function(){const t=e(this);let r,a=$(this),l=G(this);if(e.each(w,(function(){const e=this;if(n>e.s.r&&n<=e.e.r&&s>=e.s.c&&s<=e.e.c)for(r=0;r<=e.e.c-e.s.c;++r)i++,c++,o(null,n,s++)})),(l||a)&&(l=l||1,a=a||1,w.push({s:{r:n,c:s},e:{r:n+l-1,c:s+a-1}})),!1===N(t,i,c++)&&o(this,n,s++),a>1)for(r=0;r<a-1;++r)c++,o(null,n,s++)})),e.each(w,(function(){const e=this;if(n>=e.s.r&&n<=e.e.r&&s>=e.s.c&&s<=e.e.c)for(let t=0;t<=e.e.c-e.s.c;++t)o(null,n,s++)}))}}}function O(e,t,r,n){if(void 0!==n.images){const a=n.images[r];if(void 0!==a){const r=t.getBoundingClientRect(),o=e.width/e.height,i=r.width/r.height;let s=e.width,c=e.height;const l=19.049976/25.4;let u=0;i<=o?(c=Math.min(e.height,r.height),s=r.width*c/r.height):i>o&&(s=Math.min(e.width,r.width),c=r.height*s/r.width),s*=l,c*=l,c<e.height&&(u=(e.height-c)/2);try{n.doc.addImage(a.src,e.textPos.x,e.y+u,s,c)}catch(e){}e.textPos.x+=s}}}function R(e,t){if("string"===s.outputMode)return e.output();if("base64"===s.outputMode)return re(e.output());if("window"===s.outputMode)return window.URL=window.URL||window.webkitURL,void window.open(window.URL.createObjectURL(e.output("blob")));const r=s.fileName+".pdf";try{const t=e.output("blob");saveAs(t,r),"function"==typeof s.onAfterSaveToFile&&s.onAfterSaveToFile(t,r)}catch(n){te(r,"data:application/pdf"+(t?"":";base64")+",",t?e.output("blob"):e.output())}}function P(e,t,r){let n=0;if(void 0!==r&&(n=r.colspan),n>=0){let a=e.width,o=e.textPos.x;const i=t.table.columns.indexOf(t.column);for(let e=1;e<n;e++){a+=t.table.columns[i+e].width}if(n>1&&("right"===e.styles.halign?o=e.textPos.x+a-e.width:"center"===e.styles.halign&&(o=e.textPos.x+(a-e.width)/2)),e.width=a,e.textPos.x=o,void 0!==r&&r.rowspan>1&&(e.height=e.height*r.rowspan),"middle"===e.styles.valign||"bottom"===e.styles.valign){const r=("string"==typeof e.text?e.text.split(/\r\n|\r|\n/g):e.text).length||1;r>2&&(e.textPos.y-=(2-f)/2*t.row.styles.fontSize*(r-2)/3)}return!0}return!1}function L(t,r,n){if(null!=t)if(t.hasAttribute("data-tableexport-canvas")){const r=(new Date).getTime();e(t).attr("data-tableexport-canvas",r),n.images[r]={url:'[data-tableexport-canvas="'+r+'"]',src:null}}else"undefined"!==r&&null!=r&&r.each((function(){if(e(this).is("img")){const e=Q(this.src);n.images[e]={url:this.src,src:this.src}}L(t,e(this).children(),n)}))}function I(t,r,n){r.each((function(){if(e(this).is("div")){const e=V(X(this,"background-color"),[255,255,255]),r=V(X(this,"border-top-color"),[0,0,0]),a=Y(this,"border-top-width",s.jspdf.unit),o=this.getBoundingClientRect(),i=this.offsetLeft*n.wScaleFactor,c=this.offsetTop*n.hScaleFactor,l=o.width*n.wScaleFactor,u=o.height*n.hScaleFactor;n.doc.setDrawColor.apply(void 0,r),n.doc.setFillColor.apply(void 0,e),n.doc.setLineWidth(a),n.doc.rect(t.x+i,t.y+c,l,u,a?"FD":"F")}else if(e(this).is("img")){const e=Q(this.src);O(t,this,e,n)}I(t,e(this).children(),n)}))}function F(t,r,n){if("function"==typeof n.onAutotableText)n.onAutotableText(n.doc,t,r);else{let a=t.textPos.x,o=t.textPos.y;const i={halign:t.styles.halign,valign:t.styles.valign};if(r.length){let c=r[0];for(;c.previousSibling;)c=c.previousSibling;let l=!1,u=!1;for(;c;){let r=c.innerText||c.textContent||"";const f=r.length&&" "===r[0]?" ":"",h=r.length>1&&" "===r[r.length-1]?" ":"";!0!==s.preserve.leadingWS&&(r=f+M(r)),!0!==s.preserve.trailingWS&&(r=j(r)+h),e(c).is("br")&&(a=t.textPos.x,o+=n.doc.internal.getFontSize()),e(c).is("b")?l=!0:e(c).is("i")&&(u=!0),(l||u)&&n.doc.setFont("undefined ",l&&u?"bolditalic":l?"bold":"italic");let d=n.doc.getStringUnitWidth(r)*n.doc.internal.getFontSize();if(d){if("linebreak"===t.styles.overflow&&a>t.textPos.x&&a+d>t.textPos.x+t.width){if(".,!%*;:=-".indexOf(r.charAt(0))>=0){const e=r.charAt(0);d=n.doc.getStringUnitWidth(e)*n.doc.internal.getFontSize(),a+d<=t.textPos.x+t.width&&(ce(e,a,o,i),r=r.substring(1,r.length)),d=n.doc.getStringUnitWidth(r)*n.doc.internal.getFontSize()}a=t.textPos.x,o+=n.doc.internal.getFontSize()}if("visible"!==t.styles.overflow)for(;r.length&&a+d>t.textPos.x+t.width;)r=r.substring(0,r.length-1),d=n.doc.getStringUnitWidth(r)*n.doc.internal.getFontSize();ce(r,a,o,i),a+=d}(l||u)&&(e(c).is("b")?l=!1:e(c).is("i")&&(u=!1),n.doc.setFont("undefined ",l||u?l?"bold":"italic":"normal")),c=c.nextSibling}t.textPos.x=a,t.textPos.y=o}else ce(t.text,t.textPos.x,t.textPos.y,i)}}function D(e,t,r){return null==e?"":e.toString().replace(new RegExp(function(e){return null==e?"":e.toString().replace(/([.*+?^=!:${}()|\[\]\/\\])/g,"\\$1")}(t),"g"),r)}function M(e){return null==e?"":e.toString().replace(/^\s+/,"")}function j(e){return null==e?"":e.toString().replace(/\s+$/,"")}function B(e){if(0===s.date.html.length)return!1;s.date.pattern.lastIndex=0;const t=s.date.pattern.exec(e);if(null==t)return!1;const r=+t[s.date.match_y];if(r<0||r>8099)return!1;const n=1*t[s.date.match_m],a=1*t[s.date.match_d];if(!isFinite(a))return!1;const o=new Date(r,n-1,a,0,0,0);return o.getFullYear()===r&&o.getMonth()===n-1&&o.getDate()===a&&new Date(Date.UTC(r,n-1,a,0,0,0))}function W(e){return e=e||"0",""!==s.numbers.html.thousandsSeparator&&(e=D(e,s.numbers.html.thousandsSeparator,"")),"."!==s.numbers.html.decimalMark&&(e=D(e,s.numbers.html.decimalMark,".")),("number"==typeof e||!1!==jQuery.isNumeric(e))&&e}function U(t,r,n,a){let o="",i="text";if(null!==t){const a=e(t);let c;if(a.removeData("teUserDefText"),a[0].hasAttribute("data-tableexport-canvas"))c="";else if(a[0].hasAttribute("data-tableexport-value"))c=a.attr("data-tableexport-value"),c=c?c+"":"",a.data("teUserDefText",1);else if(c=a.html(),"function"==typeof s.onCellHtmlData)c=s.onCellHtmlData(a,r,n,c),a.data("teUserDefText",1);else if(""!==c){const t=e.parseHTML("<div>"+c+"</div>",null,!1);let i=0,l=0;c="",e.each(t,(function(){if(e(this).is("input"))c+=a.find("input").eq(i++).val();else if(e(this).is("select"))c+=a.find("select option:selected").eq(l++).text();else if(e(this).is("br"))c+="<br>";else if(void 0===e(this).html()?c+=e(this).text():(void 0===jQuery().bootstrapTable||!1===e(this).hasClass("fht-cell")&&!1===e(this).hasClass("filterControl")&&0===a.parents(".detail-view").length)&&(c+=e(this).html()),e(this).is("a")){const e=a.find("a").attr("href")||"";"function"==typeof s.onCellHtmlHyperlink?o+=s.onCellHtmlHyperlink(a,r,n,e,c):"href"===s.htmlHyperlink?o+=e:o+=c,c=""}}))}if(c&&""!==c&&!0===s.htmlContent)o=e.trim(c);else if(c&&""!==c){if(""!==a.attr("data-tableexport-cellformat")){let t=c.replace(/\n/g,"\u2028").replace(/(<\s*br([^>]*)>)/gi,"");const r=e("<div/>").html(t).contents();let n=!1;if(t="",e.each(r.text().split("\u2028"),(function(e,r){e>0&&(t+=" "),!0!==s.preserve.leadingWS&&(r=M(r)),t+=!0!==s.preserve.trailingWS?j(r):r})),e.each(t.split(""),(function(e,t){e>0&&(o+="\n"),!0!==s.preserve.leadingWS&&(t=M(t)),!0!==s.preserve.trailingWS&&(t=j(t)),o+=t.replace(/\u00AD/g,"")})),o=o.replace(/\u00A0/g," "),"json"===s.type||"excel"===s.type&&"xmlss"===s.mso.fileFormat||!1===s.numbers.output)n=W(o),!1!==n&&(i="number",o=Number(n));else if((s.numbers.html.decimalMark!==s.numbers.output.decimalMark||s.numbers.html.thousandsSeparator!==s.numbers.output.thousandsSeparator)&&(n=W(o),!1!==n)){const e=(""+n.substr(n<0?1:0)).split(".");1===e.length&&(e[1]="");const t=e[0].length>3?e[0].length%3:0;i="number",o=(n<0?"-":"")+(s.numbers.output.thousandsSeparator?(t?e[0].substr(0,t)+s.numbers.output.thousandsSeparator:"")+e[0].substr(t).replace(/(\d{3})(?=\d)/g,"$1"+s.numbers.output.thousandsSeparator):e[0])+(e[1].length?s.numbers.output.decimalMark+e[1]:"")}}else o=c}!0===s.escape&&(o=escape(o)),"function"==typeof s.onCellData&&(o=s.onCellData(a,r,n,o,i),a.data("teUserDefText",1))}return void 0!==a&&(a.type=i),o}function H(e){if(e.length>0&&!0===s.preventInjection){if("=+-@".indexOf(e.charAt(0))>=0)return"'"+e}return e}function z(e,t,r){return t+"-"+r.toLowerCase()}function V(e,t){const r=/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/.exec(e);let n=t;return r&&(n=[parseInt(r[1]),parseInt(r[2]),parseInt(r[3])]),n}function q(e){let t=X(e,"text-align");const r=X(e,"font-weight"),n=X(e,"font-style");let a="";"start"===t&&(t="rtl"===X(e,"direction")?"right":"left"),r>=700&&(a="bold"),"italic"===n&&(a+=n),""===a&&(a="normal");const o={style:{align:t,bcolor:V(X(e,"background-color"),[255,255,255]),color:V(X(e,"color"),[0,0,0]),fstyle:a},colspan:$(e),rowspan:G(e)};if(null!==e){const t=e.getBoundingClientRect();o.rect={width:t.width,height:t.height}}return o}function $(t){let r=e(t).attr("data-tableexport-colspan");return void 0===r&&e(t).is("[colspan]")&&(r=e(t).attr("colspan")),parseInt(r)||0}function G(t){let r=e(t).attr("data-tableexport-rowspan");return void 0===r&&e(t).is("[rowspan]")&&(r=e(t).attr("rowspan")),parseInt(r)||0}function X(e,t){try{return window.getComputedStyle?(t=t.replace(/([a-z])([A-Z])/,z),window.getComputedStyle(e,null).getPropertyValue(t)):e.currentStyle?e.currentStyle[t]:e.style[t]}catch(e){}return""}function Y(e,t,r){let n=X(e,t).match(/\d+/);return null!==n?(n=n[0],function(e,t,r){const n=document.createElement("div");n.style.overflow="hidden",n.style.visibility="hidden",e.appendChild(n),n.style.width=100+r;const a=100/n.offsetWidth;return e.removeChild(n),t*a}(e.parentElement,n,r)):0}function K(e){return function(e){let t="";for(++e;e;e=Math.floor((e-1)/26))t=String.fromCharCode((e-1)%26+65)+t;return t}(e.c)+(""+(e.r+1))}function J(e,t){return void 0===t||"number"==typeof t?J(e.s,e.e):("string"!=typeof e&&(e=K(e)),"string"!=typeof t&&(t=K(t)),e===t?e:e+":"+t)}function Z(e,t){let r=Number(e);if(isFinite(r))return r;let n=1,a=e;return""!==t.thousandsSeparator&&(a=a.replace(new RegExp("([\\d])"+t.thousandsSeparator+"([\\d])","g"),"$1$2")),"."!==t.decimalMark&&(a=a.replace(new RegExp("([\\d])"+t.decimalMark+"([\\d])","g"),"$1.$2")),a=a.replace(/[$]/g,"").replace(/[%]/g,(function(){return n*=100,""})),isFinite(r=Number(a))?r/n:(a=a.replace(/[(](.*)[)]/,(function(e,t){return n=-n,t})),isFinite(r=Number(a))?r/n:r)}function Q(e){let t,r,n,a=0;if(0===e.length)return a;for(t=0,n=e.length;t<n;t++)r=e.charCodeAt(t),a=(a<<5)-a+r,a|=0;return a}function ee(e,t,r,n,a,o){let i=!0;if("function"==typeof s.onBeforeSaveToFile&&(i=s.onBeforeSaveToFile(e,t,r,n,a),"boolean"!=typeof i&&(i=!0)),i)try{d=new Blob([e],{type:r+";charset="+n}),saveAs(d,t,!1===o),"function"==typeof s.onAfterSaveToFile&&s.onAfterSaveToFile(e,t)}catch(i){te(t,"data:"+r+(n.length?";charset="+n:"")+(a.length?";"+a:"")+",",o?"\ufeff"+e:e)}}function te(e,t,r){const n=window.navigator.userAgent;if(!1!==e&&window.navigator.msSaveOrOpenBlob)window.navigator.msSaveOrOpenBlob(new Blob([r]),e);else if(!1!==e&&(n.indexOf("MSIE ")>0||n.match(/Trident.*rv\:11\./))){const t=document.createElement("iframe");if(t){document.body.appendChild(t),t.setAttribute("style","display:none"),t.contentDocument.open("txt/plain","replace"),t.contentDocument.write(r),t.contentDocument.close(),t.contentWindow.focus();switch(e.substr(e.lastIndexOf(".")+1)){case"doc":case"json":case"png":case"pdf":case"xls":case"xlsx":e+=".txt"}t.contentDocument.execCommand("SaveAs",!0,e),document.body.removeChild(t)}}else{const n=document.createElement("a");if(n){let a=null;if(n.style.display="none",!1!==e?n.download=e:n.target="_blank","object"==typeof r){window.URL=window.URL||window.webkitURL;const e=[];e.push(r),a=window.URL.createObjectURL(new Blob(e,{type:t})),n.href=a}else t.toLowerCase().indexOf("base64,")>=0?n.href=t+re(r):n.href=t+encodeURIComponent(r);document.body.appendChild(n),document.createEvent?(null===p&&(p=document.createEvent("MouseEvents")),p.initEvent("click",!0,!1),n.dispatchEvent(p)):document.createEventObject?n.fireEvent("onclick"):"function"==typeof n.onclick&&n.onclick(),setTimeout((function(){a&&window.URL.revokeObjectURL(a),document.body.removeChild(n),"function"==typeof s.onAfterSaveToFile&&s.onAfterSaveToFile(r,e)}),100)}}}function re(e){let t,r,n,a,o,i,s;const c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";let l="",u=0;for(e=function(e){if("string"==typeof e){e=e.replace(/\x0d\x0a/g,"\n");let t="";for(let r=0;r<e.length;r++){const n=e.charCodeAt(r);n<128?t+=String.fromCharCode(n):n>127&&n<2048?(t+=String.fromCharCode(n>>6|192),t+=String.fromCharCode(63&n|128)):(t+=String.fromCharCode(n>>12|224),t+=String.fromCharCode(n>>6&63|128),t+=String.fromCharCode(63&n|128))}return t}return e}(e);u<e.length;)t=e.charCodeAt(u++),r=e.charCodeAt(u++),n=e.charCodeAt(u++),a=t>>2,o=(3&t)<<4|r>>4,i=(15&r)<<2|n>>6,s=63&n,isNaN(r)?i=s=64:isNaN(n)&&(s=64),l=l+c.charAt(a)+c.charAt(o)+c.charAt(i)+c.charAt(s);return l}var ne,ae,oe,ie,se;function ce(e,t,r,n){"number"==typeof t&&"number"==typeof r||console.error("The x and y parameters are required. Missing for the text: ",e);const a=ne.internal.getFontSize()/ne.internal.scaleFactor,o=f,i=/\r\n|\r|\n/g;let s=null,c=1;if("middle"!==n.valign&&"bottom"!==n.valign&&"center"!==n.halign&&"right"!==n.halign||(s="string"==typeof e?e.split(i):e,c=s.length||1),r+=a*(2-o),"middle"===n.valign?r-=c/2*a:"bottom"===n.valign&&(r-=c*a),"center"===n.halign||"right"===n.halign){let o=a;if("center"===n.halign&&(o*=.5),s&&c>=1){for(let e=0;e<s.length;e++)ne.text(s[e],t-ne.getStringUnitWidth(s[e])*o,r),r+=a;return ne}t-=ne.getStringUnitWidth(e)*o}return ne.text(e,t,r),ne}function le(e,t,r,n){const a=se.width-t-r;for(let o=0;o<e.length;o++){const i=e[o],s=i.contentWidth/r,c=i.contentWidth+a*s<n;if(a<0&&c){e.splice(o,1),r-=i.contentWidth,i.width=n,le(e,t+=i.width,r,n);break}i.width=i.contentWidth+a*s}}function ue(e,t){for(let r=0;r<se.columns.length;r++){const n=se.columns[r],a=e.cells[n.dataKey];if(!a)continue;fe(a.styles),a.x=n.x,a.y=ae.y,a.height=e.height,a.width=n.width,"top"===a.styles.valign?a.textPos.y=ae.y+a.styles.cellPadding:"bottom"===a.styles.valign?a.textPos.y=ae.y+e.height-a.styles.cellPadding:a.textPos.y=ae.y+e.height/2,"right"===a.styles.halign?a.textPos.x=a.x+a.width-a.styles.cellPadding:"center"===a.styles.halign?a.textPos.x=a.x+a.width/2:a.textPos.x=a.x+a.styles.cellPadding;!1!==t(a,he({column:n,row:e}))&&(ne.rect(a.x,a.y,a.width,a.height,a.styles.fillStyle),ce(a.text,a.textPos.x,a.textPos.y,{halign:a.styles.halign,valign:a.styles.valign}))}ae.y+=e.height}function fe(e){[{func:ne.setFillColor,value:e.fillColor},{func:ne.setTextColor,value:e.textColor},{func:ne.setFont,value:e.font,style:e.fontStyle},{func:ne.setDrawColor,value:e.lineColor},{func:ne.setLineWidth,value:e.lineWidth},{func:ne.setFont,value:e.font},{func:ne.setFontSize,value:e.fontSize}].forEach((function(e){void 0!==e.value&&(e.value.constructor===Array?e.func.apply(ne,e.value):void 0!==e.style?e.func(e.value,e.style):e.func(e.value))}))}function he(e){e=e||{};const t={pageCount:ie,settings:oe,table:se,cursor:ae};for(let r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);return t}function de(e,t,r,n){if(n=void 0!==n?n:"...",Array.isArray(e))return e.forEach((function(a,o){e[o]=de(a,t,r,n)})),e;if(t>=pe(e,r))return e;for(;t<pe(e+n,r)&&!(e.length<2);)e=e.substring(0,e.length-1);return e.trim()+n}function pe(e,t){fe(t);return ne.getStringUnitWidth(e)*t.fontSize}function ge(e){const t={};let r;for(r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);for(let e=1;e<arguments.length;e++){const n=arguments[e];for(r in n)n.hasOwnProperty(r)&&(t[r]=n[r])}return t}return"function"==typeof s.onTableExportEnd&&s.onTableExportEnd(),this};var t=function(){this.height=0,this.width=0,this.x=0,this.y=0,this.contentWidth=0,this.rows=[],this.columns=[],this.headerRow=null,this.settings={}},r=function(e){this.raw=e||{},this.index=0,this.styles={},this.cells={},this.height=0,this.y=0},n=function(e){this.raw=e,this.styles={},this.text="",this.contentWidth=0,this.textPos={},this.height=0,this.width=0,this.x=0,this.y=0},a=function(e){this.dataKey=e,this.options={},this.styles={},this.contentWidth=0,this.width=0,this.x=0}}(jQuery),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e=e||self).jspdf={})}(this,(function(e){"use strict";var t=function(){return"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this}();function r(){t.console&&"function"==typeof t.console.log&&t.console.log.apply(t.console,arguments)}var n={log:r,warn:function(e){t.console&&("function"==typeof t.console.warn?t.console.warn.apply(t.console,arguments):r.call(null,arguments))},error:function(e){t.console&&("function"==typeof t.console.error?t.console.error.apply(t.console,arguments):r(e))}};function a(e,t,r){var a=new XMLHttpRequest;a.open("GET",e),a.responseType="blob",a.onload=function(){l(a.response,t,r)},a.onerror=function(){n.error("could not download file")},a.send()}function o(e){var t=new XMLHttpRequest;t.open("HEAD",e,!1);try{t.send()}catch(e){}return t.status>=200&&t.status<=299}function i(e){try{e.dispatchEvent(new MouseEvent("click"))}catch(r){var t=document.createEvent("MouseEvents");t.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),e.dispatchEvent(t)}}var s,c,l=t.saveAs||("object"!=typeof window||window!==t?function(){}:"undefined"!=typeof HTMLAnchorElement&&"download"in HTMLAnchorElement.prototype?function(e,r,n){var s=t.URL||t.webkitURL,c=document.createElement("a");r=r||e.name||"download",c.download=r,c.rel="noopener","string"==typeof e?(c.href=e,c.origin!==location.origin?o(c.href)?a(e,r,n):i(c,c.target="_blank"):i(c)):(c.href=s.createObjectURL(e),setTimeout((function(){s.revokeObjectURL(c.href)}),4e4),setTimeout((function(){i(c)}),0))}:"msSaveOrOpenBlob"in navigator?function(e,t,r){if(t=t||e.name||"download","string"==typeof e)if(o(e))a(e,t,r);else{var s=document.createElement("a");s.href=e,s.target="_blank",setTimeout((function(){i(s)}))}else navigator.msSaveOrOpenBlob(function(e,t){return void 0===t?t={autoBom:!1}:"object"!=typeof t&&(n.warn("Deprecated: Expected third argument to be a object"),t={autoBom:!t}),t.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob([String.fromCharCode(65279),e],{type:e.type}):e}(e,r),t)}:function(e,r,n,o){if((o=o||open("","_blank"))&&(o.document.title=o.document.body.innerText="downloading..."),"string"==typeof e)return a(e,r,n);var i="application/octet-stream"===e.type,s=/constructor/i.test(t.HTMLElement)||t.safari,c=/CriOS\/[\d]+/.test(navigator.userAgent);if((c||i&&s)&&"object"==typeof FileReader){var l=new FileReader;l.onloadend=function(){var e=l.result;e=c?e:e.replace(/^data:[^;]*;/,"data:attachment/file;"),o?o.location.href=e:location=e,o=null},l.readAsDataURL(e)}else{var u=t.URL||t.webkitURL,f=u.createObjectURL(e);o?o.location=f:location.href=f,o=null,setTimeout((function(){u.revokeObjectURL(f)}),4e4)}});function u(e){var t;e=e||"",this.ok=!1,"#"==e.charAt(0)&&(e=e.substr(1,6)),e={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"}[e=(e=e.replace(/ /g,"")).toLowerCase()]||e;for(var r=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(e){return[parseInt(e[1]),parseInt(e[2]),parseInt(e[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(e){return[parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(e){return[parseInt(e[1]+e[1],16),parseInt(e[2]+e[2],16),parseInt(e[3]+e[3],16)]}}],n=0;n<r.length;n++){var a=r[n].re,o=r[n].process,i=a.exec(e);i&&(t=o(i),this.r=t[0],this.g=t[1],this.b=t[2],this.ok=!0)}this.r=this.r<0||isNaN(this.r)?0:this.r>255?255:this.r,this.g=this.g<0||isNaN(this.g)?0:this.g>255?255:this.g,this.b=this.b<0||isNaN(this.b)?0:this.b>255?255:this.b,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toHex=function(){var e=this.r.toString(16),t=this.g.toString(16),r=this.b.toString(16);return 1==e.length&&(e="0"+e),1==t.length&&(t="0"+t),1==r.length&&(r="0"+r),"#"+e+t+r}}function f(e,t){var r=e[0],n=e[1],a=e[2],o=e[3];r=d(r,n,a,o,t[0],7,-680876936),o=d(o,r,n,a,t[1],12,-389564586),a=d(a,o,r,n,t[2],17,606105819),n=d(n,a,o,r,t[3],22,-1044525330),r=d(r,n,a,o,t[4],7,-176418897),o=d(o,r,n,a,t[5],12,1200080426),a=d(a,o,r,n,t[6],17,-1473231341),n=d(n,a,o,r,t[7],22,-45705983),r=d(r,n,a,o,t[8],7,1770035416),o=d(o,r,n,a,t[9],12,-1958414417),a=d(a,o,r,n,t[10],17,-42063),n=d(n,a,o,r,t[11],22,-1990404162),r=d(r,n,a,o,t[12],7,1804603682),o=d(o,r,n,a,t[13],12,-40341101),a=d(a,o,r,n,t[14],17,-1502002290),r=p(r,n=d(n,a,o,r,t[15],22,1236535329),a,o,t[1],5,-165796510),o=p(o,r,n,a,t[6],9,-1069501632),a=p(a,o,r,n,t[11],14,643717713),n=p(n,a,o,r,t[0],20,-373897302),r=p(r,n,a,o,t[5],5,-701558691),o=p(o,r,n,a,t[10],9,38016083),a=p(a,o,r,n,t[15],14,-660478335),n=p(n,a,o,r,t[4],20,-405537848),r=p(r,n,a,o,t[9],5,568446438),o=p(o,r,n,a,t[14],9,-1019803690),a=p(a,o,r,n,t[3],14,-187363961),n=p(n,a,o,r,t[8],20,1163531501),r=p(r,n,a,o,t[13],5,-1444681467),o=p(o,r,n,a,t[2],9,-51403784),a=p(a,o,r,n,t[7],14,1735328473),r=g(r,n=p(n,a,o,r,t[12],20,-1926607734),a,o,t[5],4,-378558),o=g(o,r,n,a,t[8],11,-2022574463),a=g(a,o,r,n,t[11],16,1839030562),n=g(n,a,o,r,t[14],23,-35309556),r=g(r,n,a,o,t[1],4,-1530992060),o=g(o,r,n,a,t[4],11,1272893353),a=g(a,o,r,n,t[7],16,-155497632),n=g(n,a,o,r,t[10],23,-1094730640),r=g(r,n,a,o,t[13],4,681279174),o=g(o,r,n,a,t[0],11,-358537222),a=g(a,o,r,n,t[3],16,-722521979),n=g(n,a,o,r,t[6],23,76029189),r=g(r,n,a,o,t[9],4,-640364487),o=g(o,r,n,a,t[12],11,-421815835),a=g(a,o,r,n,t[15],16,530742520),r=m(r,n=g(n,a,o,r,t[2],23,-995338651),a,o,t[0],6,-198630844),o=m(o,r,n,a,t[7],10,1126891415),a=m(a,o,r,n,t[14],15,-1416354905),n=m(n,a,o,r,t[5],21,-57434055),r=m(r,n,a,o,t[12],6,1700485571),o=m(o,r,n,a,t[3],10,-1894986606),a=m(a,o,r,n,t[10],15,-1051523),n=m(n,a,o,r,t[1],21,-2054922799),r=m(r,n,a,o,t[8],6,1873313359),o=m(o,r,n,a,t[15],10,-30611744),a=m(a,o,r,n,t[6],15,-1560198380),n=m(n,a,o,r,t[13],21,1309151649),r=m(r,n,a,o,t[4],6,-145523070),o=m(o,r,n,a,t[11],10,-1120210379),a=m(a,o,r,n,t[2],15,718787259),n=m(n,a,o,r,t[9],21,-343485551),e[0]=A(r,e[0]),e[1]=A(n,e[1]),e[2]=A(a,e[2]),e[3]=A(o,e[3])}function h(e,t,r,n,a,o){return t=A(A(t,e),A(n,o)),A(t<<a|t>>>32-a,r)}function d(e,t,r,n,a,o,i){return h(t&r|~t&n,e,t,a,o,i)}function p(e,t,r,n,a,o,i){return h(t&n|r&~n,e,t,a,o,i)}function g(e,t,r,n,a,o,i){return h(t^r^n,e,t,a,o,i)}function m(e,t,r,n,a,o,i){return h(r^(t|~n),e,t,a,o,i)}function v(e){var t,r=e.length,n=[1732584193,-271733879,-1732584194,271733878];for(t=64;t<=e.length;t+=64)f(n,b(e.substring(t-64,t)));e=e.substring(t-64);var a=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(t=0;t<e.length;t++)a[t>>2]|=e.charCodeAt(t)<<(t%4<<3);if(a[t>>2]|=128<<(t%4<<3),t>55)for(f(n,a),t=0;t<16;t++)a[t]=0;return a[14]=8*r,f(n,a),n}function b(e){var t,r=[];for(t=0;t<64;t+=4)r[t>>2]=e.charCodeAt(t)+(e.charCodeAt(t+1)<<8)+(e.charCodeAt(t+2)<<16)+(e.charCodeAt(t+3)<<24);return r}s=t.atob.bind(t),c=t.btoa.bind(t);var y="0123456789abcdef".split("");function w(e){for(var t="",r=0;r<4;r++)t+=y[e>>8*r+4&15]+y[e>>8*r&15];return t}function S(e){return String.fromCharCode((255&e)>>0,(65280&e)>>8,(16711680&e)>>16,(4278190080&e)>>24)}function x(e){return function(e){return e.map(S).join("")}(v(e))}function A(e,t){return e+t&4294967295}if("5d41402abc4b2a76b9719d911017c592"!=function(e){for(var t=0;t<e.length;t++)e[t]=w(e[t]);return e.join("")}(v("hello"))){}function k(e,t){var r,n,a,o;if(e!==r){for(var i=(a=e,o=1+(256/e.length>>0),new Array(o+1).join(a)),s=[],c=0;c<256;c++)s[c]=c;var l=0;for(c=0;c<256;c++){var u=s[c];l=(l+u+i.charCodeAt(c))%256,s[c]=s[l],s[l]=u}r=e,n=s}else s=n;var f=t.length,h=0,d=0,p="";for(c=0;c<f;c++)d=(d+(u=s[h=(h+1)%256]))%256,s[h]=s[d],s[d]=u,i=s[(s[h]+s[d])%256],p+=String.fromCharCode(t.charCodeAt(c)^i);return p}var T={print:4,modify:8,copy:16,"annot-forms":32};function E(e,t,r,n){this.v=1,this.r=2;let a=192;e.forEach((function(e){if(void 0!==T.perm)throw new Error("Invalid permission: "+e);a+=T[e]})),this.padding="(¿N^NuAd\0NVÿú\b..\0¶Ðh>/\f©þdSiz";let o=(t+this.padding).substr(0,32),i=(r+this.padding).substr(0,32);this.O=this.processOwnerPassword(o,i),this.P=-(1+(255^a)),this.encryptionKey=x(o+this.O+this.lsbFirstWord(this.P)+this.hexToBytes(n)).substr(0,5),this.U=k(this.encryptionKey,this.padding)}function _(e){if("object"!=typeof e)throw new Error("Invalid Context passed to initialize PubSub (jsPDF-module)");var r={};this.subscribe=function(e,t,n){if(n=n||!1,"string"!=typeof e||"function"!=typeof t||"boolean"!=typeof n)throw new Error("Invalid arguments passed to PubSub.subscribe (jsPDF-module)");r.hasOwnProperty(e)||(r[e]={});var a=Math.random().toString(35);return r[e][a]=[t,!!n],a},this.unsubscribe=function(e){for(var t in r)if(r[t][e])return delete r[t][e],0===Object.keys(r[t]).length&&delete r[t],!0;return!1},this.publish=function(a){if(r.hasOwnProperty(a)){var o=Array.prototype.slice.call(arguments,1),i=[];for(var s in r[a]){var c=r[a][s];try{c[0].apply(e,o)}catch(e){t.console&&n.error("jsPDF PubSub Error",e.message,e)}c[1]&&i.push(s)}i.length&&i.forEach(this.unsubscribe)}},this.getTopics=function(){return r}}function N(e){if(!(this instanceof N))return new N(e);var t="opacity,stroke-opacity".split(",");for(var r in e)e.hasOwnProperty(r)&&t.indexOf(r)>=0&&(this[r]=e[r]);this.id="",this.objectNumber=-1}function C(e,t){this.gState=e,this.matrix=t,this.id="",this.objectNumber=-1}function O(e,t,r,n,a){if(!(this instanceof O))return new O(e,t,r,n,a);this.type="axial"===e?2:3,this.coords=t,this.colors=r,C.call(this,n,a)}function R(e,t,r,n,a){if(!(this instanceof R))return new R(e,t,r,n,a);this.boundingBox=e,this.xStep=t,this.yStep=r,this.stream="",this.cloneIndex=0,C.call(this,n,a)}function P(e){var r,a="string"==typeof arguments[0]?arguments[0]:"p",o=arguments[1],i=arguments[2],s=arguments[3],f=[],h=1,d=16,p="S",g=null;"object"==typeof(e=e||{})&&(a=e.orientation,o=e.unit||o,i=e.format||i,s=e.compress||e.compressPdf||s,null!==(g=e.encryption||null)&&(g.userPassword=g.userPassword||"",g.ownerPassword=g.ownerPassword||"",g.userPermissions=g.userPermissions||[]),h="number"==typeof e.userUnit?Math.abs(e.userUnit):1,void 0!==e.precision&&(r=e.precision),void 0!==e.floatPrecision&&(d=e.floatPrecision),p=e.defaultPathOperation||"S"),f=e.filters||(!0===s?["FlateEncode"]:f),o=o||"mm",a=(""+(a||"P")).toLowerCase();var m=e.putOnlyUsedFonts||!1,v={},b={internal:{},__private__:{}};b.__private__.PubSub=_;var y="1.3",w=b.__private__.getPdfVersion=function(){return y};b.__private__.setPdfVersion=function(e){y=e};var S={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};b.__private__.getPageFormats=function(){return S};var x=b.__private__.getPageFormat=function(e){return S[e]};i=i||"a4";var A={COMPAT:"compat",ADVANCED:"advanced"},k=A.COMPAT;function T(){this.saveGraphicsState(),se(new Ue(xe,0,0,-xe,0,vr()*xe).toString()+" cm"),this.setFontSize(this.getFontSize()/xe),p="n",k=A.ADVANCED}function C(){this.restoreGraphicsState(),p="S",k=A.COMPAT}var L=function(e,t){if("bold"==e&&"normal"==t||"bold"==e&&400==t||"normal"==e&&"italic"==t||"bold"==e&&"italic"==t)throw new Error("Invalid Combination of fontweight and fontstyle");return t&&e!==t&&(e=400==t?"italic"==e?"italic":"normal":700==t&&"italic"!==e?"bold":e+""+t),e};b.advancedAPI=function(e){var t=k===A.COMPAT;return t&&T.call(this),"function"!=typeof e||(e(this),t&&C.call(this)),this},b.compatAPI=function(e){var t=k===A.ADVANCED;return t&&C.call(this),"function"!=typeof e||(e(this),t&&T.call(this)),this},b.isAdvancedAPI=function(){return k===A.ADVANCED};var I,F=function(e){if(k!==A.ADVANCED)throw new Error(e+" is only available in 'advanced' API mode. You need to call advancedAPI() first.")},D=b.roundToPrecision=b.__private__.roundToPrecision=function(e,t){var n=r||t;if(isNaN(e)||isNaN(n))throw new Error("Invalid argument passed to jsPDF.roundToPrecision");return e.toFixed(n).replace(/0+$/,"")};I=b.hpf=b.__private__.hpf="number"==typeof d?function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.hpf");return D(e,d)}:"smart"===d?function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.hpf");return D(e,e>-1&&e<1?16:5)}:function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.hpf");return D(e,16)};var M=b.f2=b.__private__.f2=function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.f2");return D(e,2)},j=b.__private__.f3=function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.f3");return D(e,3)},B=b.scale=b.__private__.scale=function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.scale");return k===A.COMPAT?e*xe:k===A.ADVANCED?e:void 0},W=function(e){return B(function(e){return k===A.COMPAT?vr()-e:k===A.ADVANCED?e:void 0}(e))};b.__private__.setPrecision=b.setPrecision=function(e){"number"==typeof parseInt(e,10)&&(r=parseInt(e,10))};var U,H="00000000000000000000000000000000",z=b.__private__.getFileId=function(){return H},V=b.__private__.setFileId=function(e){return H=void 0!==e&&/^[a-fA-F0-9]{32}$/.test(e)?e.toUpperCase():H.split("").map((function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))})).join(""),null!==g&&(Nt=new E(g.userPermissions,g.userPassword,g.ownerPassword,H)),H};b.setFileId=function(e){return V(e),this},b.getFileId=function(){return z()};var q=b.__private__.convertDateToPDFDate=function(e){var t=e.getTimezoneOffset(),r=t<0?"+":"-",n=Math.floor(Math.abs(t/60)),a=Math.abs(t%60),o=[r,K(n),"'",K(a),"'"].join("");return["D:",e.getFullYear(),K(e.getMonth()+1),K(e.getDate()),K(e.getHours()),K(e.getMinutes()),K(e.getSeconds()),o].join("")},$=b.__private__.convertPDFDateToDate=function(e){var t=parseInt(e.substr(2,4),10),r=parseInt(e.substr(6,2),10)-1,n=parseInt(e.substr(8,2),10),a=parseInt(e.substr(10,2),10),o=parseInt(e.substr(12,2),10),i=parseInt(e.substr(14,2),10);return new Date(t,r,n,a,o,i,0)},G=b.__private__.setCreationDate=function(e){var t;if(void 0===e&&(e=new Date),e instanceof Date)t=q(e);else{if(!/^D:(20[0-2][0-9]|203[0-7]|19[7-9][0-9])(0[0-9]|1[0-2])([0-2][0-9]|3[0-1])(0[0-9]|1[0-9]|2[0-3])(0[0-9]|[1-5][0-9])(0[0-9]|[1-5][0-9])(\+0[0-9]|\+1[0-4]|-0[0-9]|-1[0-1])'(0[0-9]|[1-5][0-9])'?$/.test(e))throw new Error("Invalid argument passed to jsPDF.setCreationDate");t=e}return U=t},X=b.__private__.getCreationDate=function(e){var t=U;return"jsDate"===e&&(t=$(U)),t};b.setCreationDate=function(e){return G(e),this},b.getCreationDate=function(e){return X(e)};var Y,K=b.__private__.padd2=function(e){return("0"+parseInt(e)).slice(-2)},J=b.__private__.padd2Hex=function(e){return("00"+(e=e.toString())).substr(e.length)},Z=0,Q=[],ee=[],te=0,re=[],ne=[],ae=!1,oe=ee;b.__private__.setCustomOutputDestination=function(e){ae=!0,oe=e};var ie=function(e){ae||(oe=e)};b.__private__.resetCustomOutputDestination=function(){ae=!1,oe=ee};var se=b.__private__.out=function(e){return e=e.toString(),te+=e.length+1,oe.push(e),oe},ce=b.__private__.write=function(e){return se(1===arguments.length?e.toString():Array.prototype.join.call(arguments," "))},le=b.__private__.getArrayBuffer=function(e){for(var t=e.length,r=new ArrayBuffer(t),n=new Uint8Array(r);t--;)n[t]=e.charCodeAt(t);return r},ue=[["Helvetica","helvetica","normal","WinAnsiEncoding"],["Helvetica-Bold","helvetica","bold","WinAnsiEncoding"],["Helvetica-Oblique","helvetica","italic","WinAnsiEncoding"],["Helvetica-BoldOblique","helvetica","bolditalic","WinAnsiEncoding"],["Courier","courier","normal","WinAnsiEncoding"],["Courier-Bold","courier","bold","WinAnsiEncoding"],["Courier-Oblique","courier","italic","WinAnsiEncoding"],["Courier-BoldOblique","courier","bolditalic","WinAnsiEncoding"],["Times-Roman","times","normal","WinAnsiEncoding"],["Times-Bold","times","bold","WinAnsiEncoding"],["Times-Italic","times","italic","WinAnsiEncoding"],["Times-BoldItalic","times","bolditalic","WinAnsiEncoding"],["ZapfDingbats","zapfdingbats","normal",null],["Symbol","symbol","normal",null]];b.__private__.getStandardFonts=function(){return ue};var fe=e.fontSize||16;b.__private__.setFontSize=b.setFontSize=function(e){return fe=k===A.ADVANCED?e/xe:e,this};var he,de=b.__private__.getFontSize=b.getFontSize=function(){return k===A.COMPAT?fe:fe*xe},pe=e.R2L||!1;b.__private__.setR2L=b.setR2L=function(e){return pe=e,this},b.__private__.getR2L=b.getR2L=function(){return pe};var ge,me=b.__private__.setZoomMode=function(e){if(/^\d*\.?\d*%$/.test(e))he=e;else if(isNaN(e)){if(-1===[void 0,null,"fullwidth","fullheight","fullpage","original"].indexOf(e))throw new Error('zoom must be Integer (e.g. 2), a percentage Value (e.g. 300%) or fullwidth, fullheight, fullpage, original. "'+e+'" is not recognized.');he=e}else he=parseInt(e,10)};b.__private__.getZoomMode=function(){return he};var ve,be=b.__private__.setPageMode=function(e){if(-1==[void 0,null,"UseNone","UseOutlines","UseThumbs","FullScreen"].indexOf(e))throw new Error('Page mode must be one of UseNone, UseOutlines, UseThumbs, or FullScreen. "'+e+'" is not recognized.');ge=e};b.__private__.getPageMode=function(){return ge};var ye=b.__private__.setLayoutMode=function(e){if(-1==[void 0,null,"continuous","single","twoleft","tworight","two"].indexOf(e))throw new Error('Layout mode must be one of continuous, single, twoleft, tworight. "'+e+'" is not recognized.');ve=e};b.__private__.getLayoutMode=function(){return ve},b.__private__.setDisplayMode=b.setDisplayMode=function(e,t,r){return me(e),ye(t),be(r),this};var we={title:"",subject:"",author:"",keywords:"",creator:""};b.__private__.getDocumentProperty=function(e){if(-1===Object.keys(we).indexOf(e))throw new Error("Invalid argument passed to jsPDF.getDocumentProperty");return we[e]},b.__private__.getDocumentProperties=function(){return we},b.__private__.setDocumentProperties=b.setProperties=b.setDocumentProperties=function(e){for(var t in we)we.hasOwnProperty(t)&&e[t]&&(we[t]=e[t]);return this},b.__private__.setDocumentProperty=function(e,t){if(-1===Object.keys(we).indexOf(e))throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");return we[e]=t};var Se,xe,Ae,ke,Te,Ee={},_e={},Ne=[],Ce={},Oe={},Re={},Pe={},Le=null,Ie=0,Fe=[],De=new _(b),Me=e.hotfixes||[],je={},Be={},We=[],Ue=function(e,t,r,n,a,o){if(!(this instanceof Ue))return new Ue(e,t,r,n,a,o);isNaN(e)&&(e=1),isNaN(t)&&(t=0),isNaN(r)&&(r=0),isNaN(n)&&(n=1),isNaN(a)&&(a=0),isNaN(o)&&(o=0),this._matrix=[e,t,r,n,a,o]};Object.defineProperty(Ue.prototype,"sx",{get:function(){return this._matrix[0]},set:function(e){this._matrix[0]=e}}),Object.defineProperty(Ue.prototype,"shy",{get:function(){return this._matrix[1]},set:function(e){this._matrix[1]=e}}),Object.defineProperty(Ue.prototype,"shx",{get:function(){return this._matrix[2]},set:function(e){this._matrix[2]=e}}),Object.defineProperty(Ue.prototype,"sy",{get:function(){return this._matrix[3]},set:function(e){this._matrix[3]=e}}),Object.defineProperty(Ue.prototype,"tx",{get:function(){return this._matrix[4]},set:function(e){this._matrix[4]=e}}),Object.defineProperty(Ue.prototype,"ty",{get:function(){return this._matrix[5]},set:function(e){this._matrix[5]=e}}),Object.defineProperty(Ue.prototype,"a",{get:function(){return this._matrix[0]},set:function(e){this._matrix[0]=e}}),Object.defineProperty(Ue.prototype,"b",{get:function(){return this._matrix[1]},set:function(e){this._matrix[1]=e}}),Object.defineProperty(Ue.prototype,"c",{get:function(){return this._matrix[2]},set:function(e){this._matrix[2]=e}}),Object.defineProperty(Ue.prototype,"d",{get:function(){return this._matrix[3]},set:function(e){this._matrix[3]=e}}),Object.defineProperty(Ue.prototype,"e",{get:function(){return this._matrix[4]},set:function(e){this._matrix[4]=e}}),Object.defineProperty(Ue.prototype,"f",{get:function(){return this._matrix[5]},set:function(e){this._matrix[5]=e}}),Object.defineProperty(Ue.prototype,"rotation",{get:function(){return Math.atan2(this.shx,this.sx)}}),Object.defineProperty(Ue.prototype,"scaleX",{get:function(){return this.decompose().scale.sx}}),Object.defineProperty(Ue.prototype,"scaleY",{get:function(){return this.decompose().scale.sy}}),Object.defineProperty(Ue.prototype,"isIdentity",{get:function(){return 1===this.sx&&0===this.shy&&0===this.shx&&1===this.sy&&0===this.tx&&0===this.ty}}),Ue.prototype.join=function(e){return[this.sx,this.shy,this.shx,this.sy,this.tx,this.ty].map(I).join(e)},Ue.prototype.multiply=function(e){var t=e.sx*this.sx+e.shy*this.shx,r=e.sx*this.shy+e.shy*this.sy,n=e.shx*this.sx+e.sy*this.shx,a=e.shx*this.shy+e.sy*this.sy,o=e.tx*this.sx+e.ty*this.shx+this.tx,i=e.tx*this.shy+e.ty*this.sy+this.ty;return new Ue(t,r,n,a,o,i)},Ue.prototype.decompose=function(){var e=this.sx,t=this.shy,r=this.shx,n=this.sy,a=this.tx,o=this.ty,i=Math.sqrt(e*e+t*t),s=(e/=i)*r+(t/=i)*n;r-=e*s,n-=t*s;var c=Math.sqrt(r*r+n*n);return s/=c,e*(n/=c)<t*(r/=c)&&(e=-e,t=-t,s=-s,i=-i),{scale:new Ue(i,0,0,c,0,0),translate:new Ue(1,0,0,1,a,o),rotate:new Ue(e,t,-t,e,0,0),skew:new Ue(1,0,s,1,0,0)}},Ue.prototype.toString=function(e){return this.join(" ")},Ue.prototype.inversed=function(){var e=this.sx,t=this.shy,r=this.shx,n=this.sy,a=this.tx,o=this.ty,i=1/(e*n-t*r),s=n*i,c=-t*i,l=-r*i,u=e*i;return new Ue(s,c,l,u,-s*a-l*o,-c*a-u*o)},Ue.prototype.applyToPoint=function(e){var t=e.x*this.sx+e.y*this.shx+this.tx,r=e.x*this.shy+e.y*this.sy+this.ty;return new ur(t,r)},Ue.prototype.applyToRectangle=function(e){var t=this.applyToPoint(e),r=this.applyToPoint(new ur(e.x+e.w,e.y+e.h));return new fr(t.x,t.y,r.x-t.x,r.y-t.y)},Ue.prototype.clone=function(){var e=this.sx,t=this.shy,r=this.shx,n=this.sy,a=this.tx,o=this.ty;return new Ue(e,t,r,n,a,o)},b.Matrix=Ue;var He=b.matrixMult=function(e,t){return t.multiply(e)},ze=new Ue(1,0,0,1,0,0);b.unitMatrix=b.identityMatrix=ze;var Ve=function(e,t){if(!Oe[e]){var r=(t instanceof O?"Sh":"P")+(Object.keys(Ce).length+1).toString(10);t.id=r,Oe[e]=r,Ce[r]=t,De.publish("addPattern",t)}};b.ShadingPattern=O,b.TilingPattern=R,b.addShadingPattern=function(e,t){return F("addShadingPattern()"),Ve(e,t),this},b.beginTilingPattern=function(e){F("beginTilingPattern()"),dr(e.boundingBox[0],e.boundingBox[1],e.boundingBox[2]-e.boundingBox[0],e.boundingBox[3]-e.boundingBox[1],e.matrix)},b.endTilingPattern=function(e,t){F("endTilingPattern()"),t.stream=ne[Y].join("\n"),Ve(e,t),De.publish("endTilingPattern",t),We.pop().restore()};var qe=b.__private__.newObject=function(){var e=$e();return Ge(e,!0),e},$e=b.__private__.newObjectDeferred=function(){return Z++,Q[Z]=function(){return te},Z},Ge=function(e,t){return t="boolean"==typeof t&&t,Q[e]=te,t&&se(e+" 0 obj"),e},Xe=b.__private__.newAdditionalObject=function(){var e={objId:$e(),content:""};return re.push(e),e},Ye=$e(),Ke=$e(),Je=b.__private__.decodeColorString=function(e){var t=e.split(" ");if(2!==t.length||"g"!==t[1]&&"G"!==t[1])5!==t.length||"k"!==t[4]&&"K"!==t[4]||(t=[(1-t[0])*(1-t[3]),(1-t[1])*(1-t[3]),(1-t[2])*(1-t[3]),"r"]);else{var r=parseFloat(t[0]);t=[r,r,r,"r"]}for(var n="#",a=0;a<3;a++)n+=("0"+Math.floor(255*parseFloat(t[a])).toString(16)).slice(-2);return n},Ze=b.__private__.encodeColorString=function(e){var t;"string"==typeof e&&(e={ch1:e});var r=e.ch1,n=e.ch2,a=e.ch3,o=e.ch4,i="draw"===e.pdfColorType?["G","RG","K"]:["g","rg","k"];if("string"==typeof r&&"#"!==r.charAt(0)){var s=new u(r);if(s.ok)r=s.toHex();else if(!/^\d*\.?\d*$/.test(r))throw new Error('Invalid color "'+r+'" passed to jsPDF.encodeColorString.')}if("string"==typeof r&&/^#[0-9A-Fa-f]{3}$/.test(r)&&(r="#"+r[1]+r[1]+r[2]+r[2]+r[3]+r[3]),"string"==typeof r&&/^#[0-9A-Fa-f]{6}$/.test(r)){var c=parseInt(r.substr(1),16);r=c>>16&255,n=c>>8&255,a=255&c}if(void 0===n||void 0===o&&r===n&&n===a)if("string"==typeof r)t=r+" "+i[0];else if(2===e.precision)t=M(r/255)+" "+i[0];else t=j(r/255)+" "+i[0];else if(void 0===o||"object"==typeof o){if(o&&!isNaN(o.a)&&0===o.a)return["1.","1.","1.",i[1]].join(" ");if("string"==typeof r)t=[r,n,a,i[1]].join(" ");else if(2===e.precision)t=[M(r/255),M(n/255),M(a/255),i[1]].join(" ");else t=[j(r/255),j(n/255),j(a/255),i[1]].join(" ")}else if("string"==typeof r)t=[r,n,a,o,i[2]].join(" ");else if(2===e.precision)t=[M(r),M(n),M(a),M(o),i[2]].join(" ");else t=[j(r),j(n),j(a),j(o),i[2]].join(" ");return t},Qe=b.__private__.getFilters=function(){return f},et=b.__private__.putStream=function(e){var t=(e=e||{}).data||"",r=e.filters||Qe(),n=e.alreadyAppliedFilters||[],a=e.addLength1||!1,o=t.length,i=e.objectId,s=function(e){return e};if(null!==g&&void 0===i)throw new Error("ObjectId must be passed to putStream for file encryption");null!==g&&(s=Nt.encryptor(i,0));var c={};!0===r&&(r=["FlateEncode"]);var l=e.additionalKeyValues||[],u=(c=void 0!==P.API.processDataByFilters?P.API.processDataByFilters(t,r):{data:t,reverseChain:[]}).reverseChain+(Array.isArray(n)?n.join(" "):n.toString());if(0!==c.data.length&&(l.push({key:"Length",value:c.data.length}),!0===a&&l.push({key:"Length1",value:o})),0!=u.length)if(u.split("/").length-1==1)l.push({key:"Filter",value:u});else{l.push({key:"Filter",value:"["+u+"]"});for(var f=0;f<l.length;f+=1)if("DecodeParms"===l[f].key){for(var h=[],d=0;d<c.reverseChain.split("/").length-1;d+=1)h.push("null");h.push(l[f].value),l[f].value="["+h.join(" ")+"]"}}se("<<");for(var p=0;p<l.length;p++)se("/"+l[p].key+" "+l[p].value);se(">>"),0!==c.data.length&&(se("stream"),se(s(c.data)),se("endstream"))},tt=b.__private__.putPage=function(e){var t=e.number,r=e.data,n=e.objId,a=e.contentsObjId;Ge(n,!0),se("<</Type /Page"),se("/Parent "+e.rootDictionaryObjId+" 0 R"),se("/Resources "+e.resourceDictionaryObjId+" 0 R"),se("/MediaBox ["+parseFloat(I(e.mediaBox.bottomLeftX))+" "+parseFloat(I(e.mediaBox.bottomLeftY))+" "+I(e.mediaBox.topRightX)+" "+I(e.mediaBox.topRightY)+"]"),null!==e.cropBox&&se("/CropBox ["+I(e.cropBox.bottomLeftX)+" "+I(e.cropBox.bottomLeftY)+" "+I(e.cropBox.topRightX)+" "+I(e.cropBox.topRightY)+"]"),null!==e.bleedBox&&se("/BleedBox ["+I(e.bleedBox.bottomLeftX)+" "+I(e.bleedBox.bottomLeftY)+" "+I(e.bleedBox.topRightX)+" "+I(e.bleedBox.topRightY)+"]"),null!==e.trimBox&&se("/TrimBox ["+I(e.trimBox.bottomLeftX)+" "+I(e.trimBox.bottomLeftY)+" "+I(e.trimBox.topRightX)+" "+I(e.trimBox.topRightY)+"]"),null!==e.artBox&&se("/ArtBox ["+I(e.artBox.bottomLeftX)+" "+I(e.artBox.bottomLeftY)+" "+I(e.artBox.topRightX)+" "+I(e.artBox.topRightY)+"]"),"number"==typeof e.userUnit&&1!==e.userUnit&&se("/UserUnit "+e.userUnit),De.publish("putPage",{objId:n,pageContext:Fe[t],pageNumber:t,page:r}),se("/Contents "+a+" 0 R"),se(">>"),se("endobj");var o=r.join("\n");return k===A.ADVANCED&&(o+="\nQ"),Ge(a,!0),et({data:o,filters:Qe(),objectId:a}),se("endobj"),n},rt=b.__private__.putPages=function(){var e,t,r=[];for(e=1;e<=Ie;e++)Fe[e].objId=$e(),Fe[e].contentsObjId=$e();for(e=1;e<=Ie;e++)r.push(tt({number:e,data:ne[e],objId:Fe[e].objId,contentsObjId:Fe[e].contentsObjId,mediaBox:Fe[e].mediaBox,cropBox:Fe[e].cropBox,bleedBox:Fe[e].bleedBox,trimBox:Fe[e].trimBox,artBox:Fe[e].artBox,userUnit:Fe[e].userUnit,rootDictionaryObjId:Ye,resourceDictionaryObjId:Ke}));Ge(Ye,!0),se("<</Type /Pages");var n="/Kids [";for(t=0;t<Ie;t++)n+=r[t]+" 0 R ";se(n+"]"),se("/Count "+Ie),se(">>"),se("endobj"),De.publish("postPutPages")},nt=function(e){var t=function(e,t){return-1!==e.indexOf(" ")?"("+ht(e,t)+")":ht(e,t)};De.publish("putFont",{font:e,out:se,newObject:qe,putStream:et,pdfEscapeWithNeededParanthesis:t}),!0!==e.isAlreadyPutted&&(e.objectNumber=qe(),se("<<"),se("/Type /Font"),se("/BaseFont /"+t(e.postScriptName)),se("/Subtype /Type1"),"string"==typeof e.encoding&&se("/Encoding /"+e.encoding),se("/FirstChar 32"),se("/LastChar 255"),se(">>"),se("endobj"))},at=function(e){e.objectNumber=qe();var t=[];t.push({key:"Type",value:"/XObject"}),t.push({key:"Subtype",value:"/Form"}),t.push({key:"BBox",value:"["+[I(e.x),I(e.y),I(e.x+e.width),I(e.y+e.height)].join(" ")+"]"}),t.push({key:"Matrix",value:"["+e.matrix.toString()+"]"});var r=e.pages[1].join("\n");et({data:r,additionalKeyValues:t,objectId:e.objectNumber}),se("endobj")},ot=function(e,t){t||(t=21);var r=qe(),n=function(e,t){var r,n=[],a=1/(t-1);for(r=0;r<1;r+=a)n.push(r);if(n.push(1),0!=e[0].offset){var o={offset:0,color:e[0].color};e.unshift(o)}if(1!=e[e.length-1].offset){var i={offset:1,color:e[e.length-1].color};e.push(i)}for(var s="",c=0,l=0;l<n.length;l++){for(r=n[l];r>e[c+1].offset;)c++;var u=e[c].offset,f=(r-u)/(e[c+1].offset-u),h=e[c].color,d=e[c+1].color;s+=J(Math.round((1-f)*h[0]+f*d[0]).toString(16))+J(Math.round((1-f)*h[1]+f*d[1]).toString(16))+J(Math.round((1-f)*h[2]+f*d[2]).toString(16))}return s.trim()}(e.colors,t),a=[];a.push({key:"FunctionType",value:"0"}),a.push({key:"Domain",value:"[0.0 1.0]"}),a.push({key:"Size",value:"["+t+"]"}),a.push({key:"BitsPerSample",value:"8"}),a.push({key:"Range",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),a.push({key:"Decode",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),et({data:n,additionalKeyValues:a,alreadyAppliedFilters:["/ASCIIHexDecode"],objectId:r}),se("endobj"),e.objectNumber=qe(),se("<< /ShadingType "+e.type),se("/ColorSpace /DeviceRGB");var o="/Coords ["+I(parseFloat(e.coords[0]))+" "+I(parseFloat(e.coords[1]))+" ";2===e.type?o+=I(parseFloat(e.coords[2]))+" "+I(parseFloat(e.coords[3])):o+=I(parseFloat(e.coords[2]))+" "+I(parseFloat(e.coords[3]))+" "+I(parseFloat(e.coords[4]))+" "+I(parseFloat(e.coords[5])),se(o+="]"),e.matrix&&se("/Matrix ["+e.matrix.toString()+"]"),se("/Function "+r+" 0 R"),se("/Extend [true true]"),se(">>"),se("endobj")},it=function(e,t){var r=$e(),n=qe();t.push({resourcesOid:r,objectOid:n}),e.objectNumber=n;var a=[];a.push({key:"Type",value:"/Pattern"}),a.push({key:"PatternType",value:"1"}),a.push({key:"PaintType",value:"1"}),a.push({key:"TilingType",value:"1"}),a.push({key:"BBox",value:"["+e.boundingBox.map(I).join(" ")+"]"}),a.push({key:"XStep",value:I(e.xStep)}),a.push({key:"YStep",value:I(e.yStep)}),a.push({key:"Resources",value:r+" 0 R"}),e.matrix&&a.push({key:"Matrix",value:"["+e.matrix.toString()+"]"}),et({data:e.stream,additionalKeyValues:a,objectId:e.objectNumber}),se("endobj")},st=function(e){for(var t in e.objectNumber=qe(),se("<<"),e)switch(t){case"opacity":se("/ca "+M(e[t]));break;case"stroke-opacity":se("/CA "+M(e[t]))}se(">>"),se("endobj")},ct=function(e){Ge(e.resourcesOid,!0),se("<<"),se("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),function(){for(var e in se("/Font <<"),Ee)Ee.hasOwnProperty(e)&&(!1===m||!0===m&&v.hasOwnProperty(e))&&se("/"+e+" "+Ee[e].objectNumber+" 0 R");se(">>")}(),function(){if(Object.keys(Ce).length>0){for(var e in se("/Shading <<"),Ce)Ce.hasOwnProperty(e)&&Ce[e]instanceof O&&Ce[e].objectNumber>=0&&se("/"+e+" "+Ce[e].objectNumber+" 0 R");De.publish("putShadingPatternDict"),se(">>")}}(),function(e){if(Object.keys(Ce).length>0){for(var t in se("/Pattern <<"),Ce)Ce.hasOwnProperty(t)&&Ce[t]instanceof b.TilingPattern&&Ce[t].objectNumber>=0&&Ce[t].objectNumber<e&&se("/"+t+" "+Ce[t].objectNumber+" 0 R");De.publish("putTilingPatternDict"),se(">>")}}(e.objectOid),function(){if(Object.keys(Re).length>0){var e;for(e in se("/ExtGState <<"),Re)Re.hasOwnProperty(e)&&Re[e].objectNumber>=0&&se("/"+e+" "+Re[e].objectNumber+" 0 R");De.publish("putGStateDict"),se(">>")}}(),function(){for(var e in se("/XObject <<"),je)je.hasOwnProperty(e)&&je[e].objectNumber>=0&&se("/"+e+" "+je[e].objectNumber+" 0 R");De.publish("putXobjectDict"),se(">>")}(),se(">>"),se("endobj")},lt=function(){var e=[];(function(){for(var e in Ee)Ee.hasOwnProperty(e)&&(!1===m||!0===m&&v.hasOwnProperty(e))&&nt(Ee[e])})(),function(){var e;for(e in Re)Re.hasOwnProperty(e)&&st(Re[e])}(),function(){for(var e in je)je.hasOwnProperty(e)&&at(je[e])}(),function(e){var t;for(t in Ce)Ce.hasOwnProperty(t)&&(Ce[t]instanceof O?ot(Ce[t]):Ce[t]instanceof R&&it(Ce[t],e))}(e),De.publish("putResources"),e.forEach(ct),ct({resourcesOid:Ke,objectOid:Number.MAX_SAFE_INTEGER}),De.publish("postPutResources")},ut=function(e){_e[e.fontName]=_e[e.fontName]||{},_e[e.fontName][e.fontStyle]=e.id},ft=function(e,t,r,n,a){var o={id:"F"+(Object.keys(Ee).length+1).toString(10),postScriptName:e,fontName:t,fontStyle:r,encoding:n,isStandardFont:a||!1,metadata:{}};return De.publish("addFont",{font:o,instance:this}),Ee[o.id]=o,ut(o),o.id},ht=b.__private__.pdfEscape=b.pdfEscape=function(e,t){return function(e,t){var r,n,a,o,i,s,c,l,u;if(a=(t=t||{}).sourceEncoding||"Unicode",i=t.outputEncoding,(t.autoencode||i)&&Ee[Se].metadata&&Ee[Se].metadata[a]&&Ee[Se].metadata[a].encoding&&(o=Ee[Se].metadata[a].encoding,!i&&Ee[Se].encoding&&(i=Ee[Se].encoding),!i&&o.codePages&&(i=o.codePages[0]),"string"==typeof i&&(i=o[i]),i)){for(c=!1,s=[],r=0,n=e.length;r<n;r++)(l=i[e.charCodeAt(r)])?s.push(String.fromCharCode(l)):s.push(e[r]),s[r].charCodeAt(0)>>8&&(c=!0);e=s.join("")}for(r=e.length;void 0===c&&0!==r;)e.charCodeAt(r-1)>>8&&(c=!0),r--;if(!c)return e;for(s=t.noBOM?[]:[254,255],r=0,n=e.length;r<n;r++){if((u=(l=e.charCodeAt(r))>>8)>>8)throw new Error("Character at position "+r+" of string '"+e+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");s.push(u),s.push(l-(u<<8))}return String.fromCharCode.apply(void 0,s)}(e,t).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},dt=b.__private__.beginPage=function(e){ne[++Ie]=[],Fe[Ie]={objId:0,contentsObjId:0,userUnit:Number(h),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number(e[0]),topRightY:Number(e[1])}},mt(Ie),ie(ne[Y])},pt=function(e,t){var r,o,s;switch(a=t||a,"string"==typeof e&&(r=x(e.toLowerCase()),Array.isArray(r)&&(o=r[0],s=r[1])),Array.isArray(e)&&(o=e[0]*xe,s=e[1]*xe),isNaN(o)&&(o=i[0],s=i[1]),(o>14400||s>14400)&&(n.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),o=Math.min(14400,o),s=Math.min(14400,s)),i=[o,s],a.substr(0,1)){case"l":s>o&&(i=[s,o]);break;case"p":o>s&&(i=[s,o])}dt(i),Gt($t),se(tr),0!==sr&&se(sr+" J"),0!==cr&&se(cr+" j"),De.publish("addPage",{pageNumber:Ie})},gt=function(e){e>0&&e<=Ie&&(ne.splice(e,1),Fe.splice(e,1),Ie--,Y>Ie&&(Y=Ie),this.setPage(Y))},mt=function(e){e>0&&e<=Ie&&(Y=e)},vt=b.__private__.getNumberOfPages=b.getNumberOfPages=function(){return ne.length-1},bt=function(e,t,r){var a,o=void 0;return r=r||{},e=void 0!==e?e:Ee[Se].fontName,t=void 0!==t?t:Ee[Se].fontStyle,a=e.toLowerCase(),void 0!==_e[a]&&void 0!==_e[a][t]?o=_e[a][t]:void 0!==_e[e]&&void 0!==_e[e][t]?o=_e[e][t]:!1===r.disableWarning&&n.warn("Unable to look up font label for font '"+e+"', '"+t+"'. Refer to getFontList() for available fonts."),o||r.noFallback||null==(o=_e.times[t])&&(o=_e.times.normal),o},yt=b.__private__.putInfo=function(){var e=qe(),t=function(e){return e};for(var r in null!==g&&(t=Nt.encryptor(e,0)),se("<<"),se("/Producer ("+ht(t("jsPDF "+P.version))+")"),we)we.hasOwnProperty(r)&&we[r]&&se("/"+r.substr(0,1).toUpperCase()+r.substr(1)+" ("+ht(t(we[r]))+")");se("/CreationDate ("+ht(t(U))+")"),se(">>"),se("endobj")},wt=b.__private__.putCatalog=function(e){var t=(e=e||{}).rootDictionaryObjId||Ye;switch(qe(),se("<<"),se("/Type /Catalog"),se("/Pages "+t+" 0 R"),he||(he="fullwidth"),he){case"fullwidth":se("/OpenAction [3 0 R /FitH null]");break;case"fullheight":se("/OpenAction [3 0 R /FitV null]");break;case"fullpage":se("/OpenAction [3 0 R /Fit]");break;case"original":se("/OpenAction [3 0 R /XYZ null null 1]");break;default:var r=""+he;"%"===r.substr(r.length-1)&&(he=parseInt(he)/100),"number"==typeof he&&se("/OpenAction [3 0 R /XYZ null null "+M(he)+"]")}switch(ve||(ve="continuous"),ve){case"continuous":se("/PageLayout /OneColumn");break;case"single":se("/PageLayout /SinglePage");break;case"two":case"twoleft":se("/PageLayout /TwoColumnLeft");break;case"tworight":se("/PageLayout /TwoColumnRight")}ge&&se("/PageMode /"+ge),De.publish("putCatalog"),se(">>"),se("endobj")},St=b.__private__.putTrailer=function(){se("trailer"),se("<<"),se("/Size "+(Z+1)),se("/Root "+Z+" 0 R"),se("/Info "+(Z-1)+" 0 R"),null!==g&&se("/Encrypt "+Nt.oid+" 0 R"),se("/ID [ <"+H+"> <"+H+"> ]"),se(">>")},xt=b.__private__.putHeader=function(){se("%PDF-"+y),se("%ºß¬à")},At=b.__private__.putXRef=function(){var e="0000000000";se("xref"),se("0 "+(Z+1)),se("0000000000 65535 f ");for(var t=1;t<=Z;t++)"function"==typeof Q[t]?se((e+Q[t]()).slice(-10)+" 00000 n "):void 0!==Q[t]?se((e+Q[t]).slice(-10)+" 00000 n "):se("0000000000 00000 n ")},kt=b.__private__.buildDocument=function(){Z=0,te=0,ee=[],Q=[],re=[],Ye=$e(),Ke=$e(),ie(ee),De.publish("buildDocument"),xt(),rt(),function(){De.publish("putAdditionalObjects");for(var e=0;e<re.length;e++){var t=re[e];Ge(t.objId,!0),se(t.content),se("endobj")}De.publish("postPutAdditionalObjects")}(),lt(),null!==g&&(Nt.oid=qe(),se("<<"),se("/Filter /Standard"),se("/V "+Nt.v),se("/R "+Nt.r),se("/U <"+Nt.toHexString(Nt.U)+">"),se("/O <"+Nt.toHexString(Nt.O)+">"),se("/P "+Nt.P),se(">>"),se("endobj")),yt(),wt();var e=te;return At(),St(),se("startxref"),se(""+e),se("%%EOF"),ie(ne[Y]),ee.join("\n")},Tt=b.__private__.getBlob=function(e){return new Blob([le(e)],{type:"application/pdf"})},Et=b.output=b.__private__.output=function(e){return e.foo=function(){try{return e.apply(this,arguments)}catch(e){var r=e.stack||"";~r.indexOf(" at ")&&(r=r.split(" at ")[1]);var n="Error in function "+r.split("\n")[0].split("<")[0]+": "+e.message;if(!t.console)throw new Error(n);t.console.error(n,e),t.alert&&alert(n)}},e.foo.bar=e,e.foo}((function(e,r){switch("string"==typeof(r=r||{})?r={filename:r}:r.filename=r.filename||"generated.pdf",e){case void 0:return kt();case"save":b.save(r.filename);break;case"arraybuffer":return le(kt());case"blob":return Tt(kt());case"bloburi":case"bloburl":if(void 0!==t.URL&&"function"==typeof t.URL.createObjectURL)return t.URL&&t.URL.createObjectURL(Tt(kt()))||void 0;n.warn("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":var a="",o=kt();try{a=c(o)}catch(e){a=c(unescape(encodeURIComponent(o)))}return"data:application/pdf;filename="+r.filename+";base64,"+a;case"pdfobjectnewwindow":if("[object Window]"===Object.prototype.toString.call(t)){var i='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><script src="'+(r.pdfObjectUrl||"https://cdnjs.cloudflare.com/ajax/libs/pdfobject/2.1.1/pdfobject.min.js")+'"><\/script><script >PDFObject.embed("'+this.output("dataurlstring")+'", '+JSON.stringify(r)+");<\/script></body></html>",s=t.open();return null!==s&&s.document.write(i),s}throw new Error("The option pdfobjectnewwindow just works in a browser-environment.");case"pdfjsnewwindow":if("[object Window]"===Object.prototype.toString.call(t)){var l='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><iframe id="pdfViewer" src="'+(r.pdfJsUrl||"examples/PDF.js/web/viewer.html")+"?file=&downloadName="+r.filename+'" width="500px" height="400px" /></body></html>',u=t.open();if(null!==u){u.document.write(l);var f=this;u.document.documentElement.querySelector("#pdfViewer").onload=function(){u.document.title=r.filename,u.document.documentElement.querySelector("#pdfViewer").contentWindow.PDFViewerApplication.open(f.output("bloburl"))}}return u}throw new Error("The option pdfjsnewwindow just works in a browser-environment.");case"dataurlnewwindow":if("[object Window]"!==Object.prototype.toString.call(t))throw new Error("The option dataurlnewwindow just works in a browser-environment.");var h='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><iframe src="'+this.output("datauristring",r)+'"></iframe></body></html>',d=t.open();if(null!==d&&(d.document.write(h),d.document.title=r.filename),d||"undefined"==typeof safari)return d;break;case"datauri":case"dataurl":return t.document.location.href=this.output("datauristring",r);default:return null}})),_t=function(e){return!0===Array.isArray(Me)&&Me.indexOf(e)>-1};switch(o){case"pt":xe=1;break;case"mm":xe=72/25.4;break;case"cm":xe=72/2.54;break;case"in":xe=72;break;case"px":xe=1==_t("px_scaling")?.75:96/72;break;case"pc":case"em":xe=12;break;case"ex":xe=6;break;default:throw new Error("Invalid unit: "+o)}var Nt=null;G(),V();var Ct=b.__private__.getPageInfo=b.getPageInfo=function(e){if(isNaN(e)||e%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfo");return{objId:Fe[e].objId,pageNumber:e,pageContext:Fe[e]}},Ot=b.__private__.getPageInfoByObjId=function(e){if(isNaN(e)||e%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfoByObjId");for(var t in Fe)if(Fe[t].objId===e)break;return Ct(t)},Rt=b.__private__.getCurrentPageInfo=b.getCurrentPageInfo=function(){return{objId:Fe[Y].objId,pageNumber:Y,pageContext:Fe[Y]}};b.addPage=function(){return pt.apply(this,arguments),this},b.setPage=function(){return mt.apply(this,arguments),ie.call(this,ne[Y]),this},b.insertPage=function(e){return this.addPage(),this.movePage(Y,e),this},b.movePage=function(e,t){var r,n;if(e>t){r=ne[e],n=Fe[e];for(var a=e;a>t;a--)ne[a]=ne[a-1],Fe[a]=Fe[a-1];ne[t]=r,Fe[t]=n,this.setPage(t)}else if(e<t){r=ne[e],n=Fe[e];for(var o=e;o<t;o++)ne[o]=ne[o+1],Fe[o]=Fe[o+1];ne[t]=r,Fe[t]=n,this.setPage(t)}return this},b.deletePage=function(){return gt.apply(this,arguments),this},b.__private__.text=b.text=function(e,t,r,n,a){var o,i,s,c,l,u,f,h,d=(n=n||{}).scope||this;if("number"==typeof e&&"number"==typeof t&&("string"==typeof r||Array.isArray(r))){var p=r;r=t,t=e,e=p}if(arguments[3]instanceof Ue==0?(s=arguments[4],c=arguments[5],"object"==typeof(f=arguments[3])&&null!==f||("string"==typeof s&&(c=s,s=null),"string"==typeof f&&(c=f,f=null),"number"==typeof f&&(s=f,f=null),n={flags:f,angle:s,align:c})):(F("The transform parameter of text() with a Matrix value"),h=a),isNaN(t)||isNaN(r)||null==e)throw new Error("Invalid arguments passed to jsPDF.text");if(0===e.length)return d;var g,m="",b="number"==typeof n.lineHeightFactor?n.lineHeightFactor:qt,y=d.internal.scaleFactor;function w(e){return e=e.split("\t").join(Array(n.TabLen||9).join(" ")),ht(e,f)}function S(e){for(var t,r=e.concat(),n=[],a=r.length;a--;)"string"==typeof(t=r.shift())?n.push(t):Array.isArray(e)&&(1===t.length||void 0===t[1]&&void 0===t[2])?n.push(t[0]):n.push([t[0],t[1],t[2]]);return n}function x(e,t){var r;if("string"==typeof e)r=t(e)[0];else if(Array.isArray(e)){for(var n,a,o=e.concat(),i=[],s=o.length;s--;)"string"==typeof(n=o.shift())?i.push(t(n)[0]):Array.isArray(n)&&"string"==typeof n[0]&&(a=t(n[0],n[1],n[2]),i.push([a[0],a[1],a[2]]));r=i}return r}var T=!1,E=!0;if("string"==typeof e)T=!0;else if(Array.isArray(e)){var _=e.concat();i=[];for(var N,C=_.length;C--;)("string"!=typeof(N=_.shift())||Array.isArray(N)&&"string"!=typeof N[0])&&(E=!1);T=E}if(!1===T)throw new Error('Type of text must be string or Array. "'+e+'" is not recognized.');"string"==typeof e&&(e=e.match(/[\r?\n]/)?e.split(/\r\n|\r|\n/g):[e]);var O=fe/d.internal.scaleFactor,R=O*(qt-1);switch(n.baseline){case"bottom":r-=R;break;case"top":r+=O-R;break;case"hanging":r+=O-2*R;break;case"middle":r+=O/2-R}if((u=n.maxWidth||0)>0&&("string"==typeof e?e=d.splitTextToSize(e,u):"[object Array]"===Object.prototype.toString.call(e)&&(e=e.reduce((function(e,t){return e.concat(d.splitTextToSize(t,u))}),[]))),o={text:e,x:t,y:r,options:n,mutex:{pdfEscape:ht,activeFontKey:Se,fonts:Ee,activeFontSize:fe}},De.publish("preProcessText",o),e=o.text,s=(n=o.options).angle,h instanceof Ue==0&&s&&"number"==typeof s){s*=Math.PI/180,0===n.rotationDirection&&(s=-s),k===A.ADVANCED&&(s=-s);var P=Math.cos(s),L=Math.sin(s);h=new Ue(P,L,-L,P,0,0)}else s&&s instanceof Ue&&(h=s);k!==A.ADVANCED||h||(h=ze),void 0!==(l=n.charSpace||or)&&(m+=I(B(l))+" Tc\n",this.setCharSpace(this.getCharSpace()||0)),n.lang;var D=-1,M=void 0!==n.renderingMode?n.renderingMode:n.stroke,j=d.internal.getCurrentPageInfo().pageContext;switch(M){case 0:case!1:case"fill":D=0;break;case 1:case!0:case"stroke":D=1;break;case 2:case"fillThenStroke":D=2;break;case 3:case"invisible":D=3;break;case 4:case"fillAndAddForClipping":D=4;break;case 5:case"strokeAndAddPathForClipping":D=5;break;case 6:case"fillThenStrokeAndAddToPathForClipping":D=6;break;case 7:case"addToPathForClipping":D=7}var W=void 0!==j.usedRenderingMode?j.usedRenderingMode:-1;-1!==D?m+=D+" Tr\n":-1!==W&&(m+="0 Tr\n"),-1!==D&&(j.usedRenderingMode=D),c=n.align||"left";var U,H=fe*b,z=d.internal.pageSize.getWidth(),V=Ee[Se];l=n.charSpace||or,u=n.maxWidth||0,f=Object.assign({autoencode:!0,noBOM:!0},n.flags);var q=[];if("[object Array]"===Object.prototype.toString.call(e)){var $;i=S(e),"left"!==c&&(U=i.map((function(e){return d.getStringUnitWidth(e,{font:V,charSpace:l,fontSize:fe,doKerning:!1})*fe/y})));var G,X=0;if("right"===c){t-=U[0],e=[],C=i.length;for(var Y=0;Y<C;Y++)0===Y?(G=Jt(t),$=Zt(r)):(G=B(X-U[Y]),$=-H),e.push([i[Y],G,$]),X=U[Y]}else if("center"===c){t-=U[0]/2,e=[],C=i.length;for(var K=0;K<C;K++)0===K?(G=Jt(t),$=Zt(r)):(G=B((X-U[K])/2),$=-H),e.push([i[K],G,$]),X=U[K]}else if("left"===c){e=[],C=i.length;for(var J=0;J<C;J++)e.push(i[J])}else{if("justify"!==c)throw new Error('Unrecognized alignment option, use "left", "center", "right" or "justify".');e=[],C=i.length,u=0!==u?u:z;for(var Z=0;Z<C;Z++)$=0===Z?Zt(r):-H,G=0===Z?Jt(t):0,Z<C-1&&q.push(I(B((u-U[Z])/(i[Z].split(" ").length-1)))),e.push([i[Z],G,$])}}!0===("boolean"==typeof n.R2L?n.R2L:pe)&&(e=x(e,(function(e,t,r){return[e.split("").reverse().join(""),t,r]}))),o={text:e,x:t,y:r,options:n,mutex:{pdfEscape:ht,activeFontKey:Se,fonts:Ee,activeFontSize:fe}},De.publish("postProcessText",o),e=o.text,g=o.mutex.isHex||!1;var Q=Ee[Se].encoding;"WinAnsiEncoding"!==Q&&"StandardEncoding"!==Q||(e=x(e,(function(e,t,r){return[w(e),t,r]}))),i=S(e),e=[];for(var ee,te,re,ne=Array.isArray(i[0])?1:0,ae="",oe=function(e,t,r){var a="";return r instanceof Ue?(r="number"==typeof n.angle?He(r,new Ue(1,0,0,1,e,t)):He(new Ue(1,0,0,1,e,t),r),k===A.ADVANCED&&(r=He(new Ue(1,0,0,-1,0,0),r)),a=r.join(" ")+" Tm\n"):a=I(e)+" "+I(t)+" Td\n",a},ie=0;ie<i.length;ie++){switch(ae="",ne){case 1:re=(g?"<":"(")+i[ie][0]+(g?">":")"),ee=parseFloat(i[ie][1]),te=parseFloat(i[ie][2]);break;case 0:re=(g?"<":"(")+i[ie]+(g?">":")"),ee=Jt(t),te=Zt(r)}void 0!==q&&void 0!==q[ie]&&(ae=q[ie]+" Tw\n"),0===ie?e.push(ae+oe(ee,te,h)+re):0===ne?e.push(ae+re):1===ne&&e.push(ae+oe(ee,te,h)+re)}e=0===ne?e.join(" Tj\nT* "):e.join(" Tj\n"),e+=" Tj\n";var ce="BT\n/";return ce+=Se+" "+fe+" Tf\n",ce+=I(fe*b)+" TL\n",ce+=nr+"\n",ce+=m,ce+=e,se(ce+="ET"),v[Se]=!0,d};var Pt=b.__private__.clip=b.clip=function(e){return se("evenodd"===e?"W*":"W"),this};b.clipEvenOdd=function(){return Pt("evenodd")},b.__private__.discardPath=b.discardPath=function(){return se("n"),this};var Lt=b.__private__.isValidStyle=function(e){var t=!1;return-1!==[void 0,null,"S","D","F","DF","FD","f","f*","B","B*","n"].indexOf(e)&&(t=!0),t};b.__private__.setDefaultPathOperation=b.setDefaultPathOperation=function(e){return Lt(e)&&(p=e),this};var It=b.__private__.getStyle=b.getStyle=function(e){var t=p;switch(e){case"D":case"S":t="S";break;case"F":t="f";break;case"FD":case"DF":t="B";break;case"f":case"f*":case"B":case"B*":t=e}return t},Ft=b.close=function(){return se("h"),this};b.stroke=function(){return se("S"),this},b.fill=function(e){return Dt("f",e),this},b.fillEvenOdd=function(e){return Dt("f*",e),this},b.fillStroke=function(e){return Dt("B",e),this},b.fillStrokeEvenOdd=function(e){return Dt("B*",e),this};var Dt=function(e,t){"object"==typeof t?Bt(t,e):se(e)},Mt=function(e){null===e||k===A.ADVANCED&&void 0===e||(e=It(e),se(e))};function jt(e,t,r,n,a){var o=new R(t||this.boundingBox,r||this.xStep,n||this.yStep,this.gState,a||this.matrix);o.stream=this.stream;var i=e+"$$"+this.cloneIndex+++"$$";return Ve(i,o),o}var Bt=function(e,t){var r=Oe[e.key],n=Ce[r];if(n instanceof O)se("q"),se(Wt(t)),n.gState&&b.setGState(n.gState),se(e.matrix.toString()+" cm"),se("/"+r+" sh"),se("Q");else if(n instanceof R){var a=new Ue(1,0,0,-1,0,vr());e.matrix&&(a=a.multiply(e.matrix||ze),r=jt.call(n,e.key,e.boundingBox,e.xStep,e.yStep,a).id),se("q"),se("/Pattern cs"),se("/"+r+" scn"),n.gState&&b.setGState(n.gState),se(t),se("Q")}},Wt=function(e){switch(e){case"f":case"F":case"n":return"W n";case"f*":return"W* n";case"B":case"S":return"W S";case"B*":return"W* S"}},Ut=b.moveTo=function(e,t){return se(I(B(e))+" "+I(W(t))+" m"),this},Ht=b.lineTo=function(e,t){return se(I(B(e))+" "+I(W(t))+" l"),this},zt=b.curveTo=function(e,t,r,n,a,o){return se([I(B(e)),I(W(t)),I(B(r)),I(W(n)),I(B(a)),I(W(o)),"c"].join(" ")),this};b.__private__.line=b.line=function(e,t,r,n,a){if(isNaN(e)||isNaN(t)||isNaN(r)||isNaN(n)||!Lt(a))throw new Error("Invalid arguments passed to jsPDF.line");return k===A.COMPAT?this.lines([[r-e,n-t]],e,t,[1,1],a||"S"):this.lines([[r-e,n-t]],e,t,[1,1]).stroke()},b.__private__.lines=b.lines=function(e,t,r,n,a,o){var i,s,c,l,u,f,h,d,p,g,m,v;if("number"==typeof e&&(v=r,r=t,t=e,e=v),n=n||[1,1],o=o||!1,isNaN(t)||isNaN(r)||!Array.isArray(e)||!Array.isArray(n)||!Lt(a)||"boolean"!=typeof o)throw new Error("Invalid arguments passed to jsPDF.lines");for(Ut(t,r),i=n[0],s=n[1],l=e.length,g=t,m=r,c=0;c<l;c++)2===(u=e[c]).length?(g=u[0]*i+g,m=u[1]*s+m,Ht(g,m)):(f=u[0]*i+g,h=u[1]*s+m,d=u[2]*i+g,p=u[3]*s+m,g=u[4]*i+g,m=u[5]*s+m,zt(f,h,d,p,g,m));return o&&Ft(),Mt(a),this},b.path=function(e){for(var t=0;t<e.length;t++){var r=e[t],n=r.c;switch(r.op){case"m":Ut(n[0],n[1]);break;case"l":Ht(n[0],n[1]);break;case"c":zt.apply(this,n);break;case"h":Ft()}}return this},b.__private__.rect=b.rect=function(e,t,r,n,a){if(isNaN(e)||isNaN(t)||isNaN(r)||isNaN(n)||!Lt(a))throw new Error("Invalid arguments passed to jsPDF.rect");return k===A.COMPAT&&(n=-n),se([I(B(e)),I(W(t)),I(B(r)),I(B(n)),"re"].join(" ")),Mt(a),this},b.__private__.triangle=b.triangle=function(e,t,r,n,a,o,i){if(isNaN(e)||isNaN(t)||isNaN(r)||isNaN(n)||isNaN(a)||isNaN(o)||!Lt(i))throw new Error("Invalid arguments passed to jsPDF.triangle");return this.lines([[r-e,n-t],[a-r,o-n],[e-a,t-o]],e,t,[1,1],i,!0),this},b.__private__.roundedRect=b.roundedRect=function(e,t,r,n,a,o,i){if(isNaN(e)||isNaN(t)||isNaN(r)||isNaN(n)||isNaN(a)||isNaN(o)||!Lt(i))throw new Error("Invalid arguments passed to jsPDF.roundedRect");var s=4/3*(Math.SQRT2-1);return a=Math.min(a,.5*r),o=Math.min(o,.5*n),this.lines([[r-2*a,0],[a*s,0,a,o-o*s,a,o],[0,n-2*o],[0,o*s,-a*s,o,-a,o],[2*a-r,0],[-a*s,0,-a,-o*s,-a,-o],[0,2*o-n],[0,-o*s,a*s,-o,a,-o]],e+a,t,[1,1],i,!0),this},b.__private__.ellipse=b.ellipse=function(e,t,r,n,a){if(isNaN(e)||isNaN(t)||isNaN(r)||isNaN(n)||!Lt(a))throw new Error("Invalid arguments passed to jsPDF.ellipse");var o=4/3*(Math.SQRT2-1)*r,i=4/3*(Math.SQRT2-1)*n;return Ut(e+r,t),zt(e+r,t-i,e+o,t-n,e,t-n),zt(e-o,t-n,e-r,t-i,e-r,t),zt(e-r,t+i,e-o,t+n,e,t+n),zt(e+o,t+n,e+r,t+i,e+r,t),Mt(a),this},b.__private__.circle=b.circle=function(e,t,r,n){if(isNaN(e)||isNaN(t)||isNaN(r)||!Lt(n))throw new Error("Invalid arguments passed to jsPDF.circle");return this.ellipse(e,t,r,r,n)},b.setFont=function(e,t,r){return r&&(t=L(t,r)),Se=bt(e,t,{disableWarning:!1}),this};var Vt=b.__private__.getFont=b.getFont=function(){return Ee[bt.apply(b,arguments)]};b.__private__.getFontList=b.getFontList=function(){var e,t,r={};for(e in _e)if(_e.hasOwnProperty(e))for(t in r[e]=[],_e[e])_e[e].hasOwnProperty(t)&&r[e].push(t);return r},b.addFont=function(e,t,r,n,a){var o=["StandardEncoding","MacRomanEncoding","Identity-H","WinAnsiEncoding"];return arguments[3]&&-1!==o.indexOf(arguments[3])?a=arguments[3]:arguments[3]&&-1==o.indexOf(arguments[3])&&(r=L(r,n)),ft.call(this,e,t,r,a=a||"Identity-H")};var qt,$t=e.lineWidth||.200025,Gt=b.__private__.setLineWidth=b.setLineWidth=function(e){return se(I(B(e))+" w"),this};b.__private__.setLineDash=P.API.setLineDash=P.API.setLineDashPattern=function(e,t){if(e=e||[],t=t||0,isNaN(t)||!Array.isArray(e))throw new Error("Invalid arguments passed to jsPDF.setLineDash");return e=e.map((function(e){return I(B(e))})).join(" "),t=I(B(t)),se("["+e+"] "+t+" d"),this};var Xt=b.__private__.getLineHeight=b.getLineHeight=function(){return fe*qt};b.__private__.getLineHeight=b.getLineHeight=function(){return fe*qt};var Yt=b.__private__.setLineHeightFactor=b.setLineHeightFactor=function(e){return"number"==typeof(e=e||1.15)&&(qt=e),this},Kt=b.__private__.getLineHeightFactor=b.getLineHeightFactor=function(){return qt};Yt(e.lineHeight);var Jt=b.__private__.getHorizontalCoordinate=function(e){return B(e)},Zt=b.__private__.getVerticalCoordinate=function(e){return k===A.ADVANCED?e:Fe[Y].mediaBox.topRightY-Fe[Y].mediaBox.bottomLeftY-B(e)},Qt=b.__private__.getHorizontalCoordinateString=b.getHorizontalCoordinateString=function(e){return I(Jt(e))},er=b.__private__.getVerticalCoordinateString=b.getVerticalCoordinateString=function(e){return I(Zt(e))},tr=e.strokeColor||"0 G";b.__private__.getStrokeColor=b.getDrawColor=function(){return Je(tr)},b.__private__.setStrokeColor=b.setDrawColor=function(e,t,r,n){return tr=Ze({ch1:e,ch2:t,ch3:r,ch4:n,pdfColorType:"draw",precision:2}),se(tr),this};var rr=e.fillColor||"0 g";b.__private__.getFillColor=b.getFillColor=function(){return Je(rr)},b.__private__.setFillColor=b.setFillColor=function(e,t,r,n){return rr=Ze({ch1:e,ch2:t,ch3:r,ch4:n,pdfColorType:"fill",precision:2}),se(rr),this};var nr=e.textColor||"0 g",ar=b.__private__.getTextColor=b.getTextColor=function(){return Je(nr)};b.__private__.setTextColor=b.setTextColor=function(e,t,r,n){return nr=Ze({ch1:e,ch2:t,ch3:r,ch4:n,pdfColorType:"text",precision:3}),this};var or=e.charSpace,ir=b.__private__.getCharSpace=b.getCharSpace=function(){return parseFloat(or||0)};b.__private__.setCharSpace=b.setCharSpace=function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.setCharSpace");return or=e,this};var sr=0;b.CapJoinStyles={0:0,butt:0,but:0,miter:0,1:1,round:1,rounded:1,circle:1,2:2,projecting:2,project:2,square:2,bevel:2},b.__private__.setLineCap=b.setLineCap=function(e){var t=b.CapJoinStyles[e];if(void 0===t)throw new Error("Line cap style of '"+e+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return sr=t,se(t+" J"),this};var cr=0;b.__private__.setLineJoin=b.setLineJoin=function(e){var t=b.CapJoinStyles[e];if(void 0===t)throw new Error("Line join style of '"+e+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return cr=t,se(t+" j"),this},b.__private__.setLineMiterLimit=b.__private__.setMiterLimit=b.setLineMiterLimit=b.setMiterLimit=function(e){if(e=e||0,isNaN(e))throw new Error("Invalid argument passed to jsPDF.setLineMiterLimit");return se(I(B(e))+" M"),this},b.GState=N,b.setGState=function(e){(e="string"==typeof e?Re[Pe[e]]:lr(null,e)).equals(Le)||(se("/"+e.id+" gs"),Le=e)};var lr=function(e,t){if(!e||!Pe[e]){var r=!1;for(var n in Re)if(Re.hasOwnProperty(n)&&Re[n].equals(t)){r=!0;break}if(r)t=Re[n];else{var a="GS"+(Object.keys(Re).length+1).toString(10);Re[a]=t,t.id=a}return e&&(Pe[e]=t.id),De.publish("addGState",t),t}};b.addGState=function(e,t){return lr(e,t),this},b.saveGraphicsState=function(){return se("q"),Ne.push({key:Se,size:fe,color:nr}),this},b.restoreGraphicsState=function(){se("Q");var e=Ne.pop();return Se=e.key,fe=e.size,nr=e.color,Le=null,this},b.setCurrentTransformationMatrix=function(e){return se(e.toString()+" cm"),this},b.comment=function(e){return se("#"+e),this};var ur=function(e,t){var r=e||0;Object.defineProperty(this,"x",{enumerable:!0,get:function(){return r},set:function(e){isNaN(e)||(r=parseFloat(e))}});var n=t||0;Object.defineProperty(this,"y",{enumerable:!0,get:function(){return n},set:function(e){isNaN(e)||(n=parseFloat(e))}});var a="pt";return Object.defineProperty(this,"type",{enumerable:!0,get:function(){return a},set:function(e){a=e.toString()}}),this},fr=function(e,t,r,n){ur.call(this,e,t),this.type="rect";var a=r||0;Object.defineProperty(this,"w",{enumerable:!0,get:function(){return a},set:function(e){isNaN(e)||(a=parseFloat(e))}});var o=n||0;return Object.defineProperty(this,"h",{enumerable:!0,get:function(){return o},set:function(e){isNaN(e)||(o=parseFloat(e))}}),this},hr=function(){this.page=Ie,this.currentPage=Y,this.pages=ne.slice(0),this.pagesContext=Fe.slice(0),this.x=Ae,this.y=ke,this.matrix=Te,this.width=gr(Y),this.height=vr(Y),this.outputDestination=oe,this.id="",this.objectNumber=-1};hr.prototype.restore=function(){Ie=this.page,Y=this.currentPage,Fe=this.pagesContext,ne=this.pages,Ae=this.x,ke=this.y,Te=this.matrix,mr(Y,this.width),br(Y,this.height),oe=this.outputDestination};var dr=function(e,t,r,n,a){We.push(new hr),Ie=Y=0,ne=[],Ae=e,ke=t,Te=a,dt([r,n])};for(var pr in b.beginFormObject=function(e,t,r,n,a){return dr(e,t,r,n,a),this},b.endFormObject=function(e){return function(e){if(!Be[e]){var t=new hr,r="Xo"+(Object.keys(je).length+1).toString(10);t.id=r,Be[e]=r,je[r]=t,De.publish("addFormObject",t),We.pop().restore()}}(e),this},b.doFormObject=function(e,t){var r=je[Be[e]];return se("q"),se(t.toString()+" cm"),se("/"+r.id+" Do"),se("Q"),this},b.getFormObject=function(e){var t=je[Be[e]];return{x:t.x,y:t.y,width:t.width,height:t.height,matrix:t.matrix}},b.save=function(e,r){return e=e||"generated.pdf",(r=r||{}).returnPromise=r.returnPromise||!1,!1===r.returnPromise?(l(Tt(kt()),e),"function"==typeof l.unload&&t.setTimeout&&setTimeout(l.unload,911),this):new Promise((function(r,n){try{var a=l(Tt(kt()),e);"function"==typeof l.unload&&t.setTimeout&&setTimeout(l.unload,911),r(a)}catch(e){n(e.message)}}))},P.API)P.API.hasOwnProperty(pr)&&("events"===pr&&P.API.events.length?function(e,t){var r,n,a;for(a=t.length-1;-1!==a;a--)r=t[a][0],n=t[a][1],e.subscribe.apply(e,[r].concat("function"==typeof n?[n]:n))}(De,P.API.events):b[pr]=P.API[pr]);var gr=b.getPageWidth=function(e){return(Fe[e=e||Y].mediaBox.topRightX-Fe[e].mediaBox.bottomLeftX)/xe},mr=b.setPageWidth=function(e,t){Fe[e].mediaBox.topRightX=t*xe+Fe[e].mediaBox.bottomLeftX},vr=b.getPageHeight=function(e){return(Fe[e=e||Y].mediaBox.topRightY-Fe[e].mediaBox.bottomLeftY)/xe},br=b.setPageHeight=function(e,t){Fe[e].mediaBox.topRightY=t*xe+Fe[e].mediaBox.bottomLeftY};return b.internal={pdfEscape:ht,getStyle:It,getFont:Vt,getFontSize:de,getCharSpace:ir,getTextColor:ar,getLineHeight:Xt,getLineHeightFactor:Kt,write:ce,getHorizontalCoordinate:Jt,getVerticalCoordinate:Zt,getCoordinateString:Qt,getVerticalCoordinateString:er,collections:{},newObject:qe,newAdditionalObject:Xe,newObjectDeferred:$e,newObjectDeferredBegin:Ge,getFilters:Qe,putStream:et,events:De,scaleFactor:xe,pageSize:{getWidth:function(){return gr(Y)},setWidth:function(e){mr(Y,e)},getHeight:function(){return vr(Y)},setHeight:function(e){br(Y,e)}},encryptionOptions:g,encryption:Nt,getEncryptor:function(e){return null!==g?Nt.encryptor(e,0):function(e){return e}},output:Et,getNumberOfPages:vt,pages:ne,out:se,f2:M,f3:j,getPageInfo:Ct,getPageInfoByObjId:Ot,getCurrentPageInfo:Rt,getPDFVersion:w,Point:ur,Rectangle:fr,Matrix:Ue,hasHotfix:_t},Object.defineProperty(b.internal.pageSize,"width",{get:function(){return gr(Y)},set:function(e){mr(Y,e)},enumerable:!0,configurable:!0}),Object.defineProperty(b.internal.pageSize,"height",{get:function(){return vr(Y)},set:function(e){br(Y,e)},enumerable:!0,configurable:!0}),function(e){for(var t=0,r=ue.length;t<r;t++){var n=ft.call(this,e[t][0],e[t][1],e[t][2],ue[t][3],!0);!1===m&&(v[n]=!0);var a=e[t][0].split("-");ut({id:n,fontName:a[0],fontStyle:a[1]||""})}De.publish("addFonts",{fonts:Ee,dictionary:_e})}.call(b,ue),Se="F1",pt(i,a),De.publish("initialized"),b}E.prototype.lsbFirstWord=function(e){return String.fromCharCode(e>>0&255,e>>8&255,e>>16&255,e>>24&255)},E.prototype.toHexString=function(e){return e.split("").map((function(e){return("0"+(255&e.charCodeAt(0)).toString(16)).slice(-2)})).join("")},E.prototype.hexToBytes=function(e){for(var t=[],r=0;r<e.length;r+=2)t.push(String.fromCharCode(parseInt(e.substr(r,2),16)));return t.join("")},E.prototype.processOwnerPassword=function(e,t){return k(x(t).substr(0,5),e)},E.prototype.encryptor=function(e,t){let r=x(this.encryptionKey+String.fromCharCode(255&e,e>>8&255,e>>16&255,255&t,t>>8&255)).substr(0,10);return function(e){return k(r,e)}},N.prototype.equals=function(e){var t,r="id,objectNumber,equals";if(!e||typeof e!=typeof this)return!1;var n=0;for(t in this)if(!(r.indexOf(t)>=0)){if(this.hasOwnProperty(t)&&!e.hasOwnProperty(t))return!1;if(this[t]!==e[t])return!1;n++}for(t in e)e.hasOwnProperty(t)&&r.indexOf(t)<0&&n--;return 0===n},P.API={events:[]},P.version="2.3.1";var L=P.API,I=1,F=function(e){return e.replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},D=function(e){return e.replace(/\\\\/g,"\\").replace(/\\\(/g,"(").replace(/\\\)/g,")")},M=function(e){return e.toFixed(2)},j=function(e){return e.toFixed(5)};L.__acroform__={};var B=function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e},W=function(e){return e*I},U=function(e){var t=new ne,r=ve.internal.getHeight(e)||0,n=ve.internal.getWidth(e)||0;return t.BBox=[0,0,Number(M(n)),Number(M(r))],t},H=L.__acroform__.setBit=function(e,t){if(e=e||0,t=t||0,isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBit");return e|1<<t},z=L.__acroform__.clearBit=function(e,t){if(e=e||0,t=t||0,isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBit");return e&~(1<<t)},V=L.__acroform__.getBit=function(e,t){if(isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBit");return 0==(e&1<<t)?0:1},q=L.__acroform__.getBitForPdf=function(e,t){if(isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBitForPdf");return V(e,t-1)},$=L.__acroform__.setBitForPdf=function(e,t){if(isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBitForPdf");return H(e,t-1)},G=L.__acroform__.clearBitForPdf=function(e,t){if(isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBitForPdf");return z(e,t-1)},X=L.__acroform__.calculateCoordinates=function(e,t){var r=t.internal.getHorizontalCoordinate,n=t.internal.getVerticalCoordinate,a=e[0],o=e[1],i=e[2],s=e[3],c={};return c.lowerLeft_X=r(a)||0,c.lowerLeft_Y=n(o+s)||0,c.upperRight_X=r(a+i)||0,c.upperRight_Y=n(o)||0,[Number(M(c.lowerLeft_X)),Number(M(c.lowerLeft_Y)),Number(M(c.upperRight_X)),Number(M(c.upperRight_Y))]},Y=function(e){if(e.appearanceStreamContent)return e.appearanceStreamContent;if(e.V||e.DV){var t=[],r=e._V||e.DV,n=K(e,r),a=e.scope.internal.getFont(e.fontName,e.fontStyle).id;t.push("/Tx BMC"),t.push("q"),t.push("BT"),t.push(e.scope.__private__.encodeColorString(e.color)),t.push("/"+a+" "+M(n.fontSize)+" Tf"),t.push("1 0 0 1 0 0 Tm"),t.push(n.text),t.push("ET"),t.push("Q"),t.push("EMC");var o=U(e);return o.scope=e.scope,o.stream=t.join("\n"),o}},K=function(e,t){var r=0===e.fontSize?e.maxFontSize:e.fontSize,n={text:"",fontSize:""},a=(t=")"==(t="("==t.substr(0,1)?t.substr(1):t).substr(t.length-1)?t.substr(0,t.length-1):t).split(" "),o=r,i=ve.internal.getHeight(e)||0;i=i<0?-i:i;var s=ve.internal.getWidth(e)||0;s=s<0?-s:s;var c=function(t,r,n){if(t+1<a.length){var o=r+" "+a[t+1];return J(o,e,n).width<=s-4}return!1};o++;e:for(;o>0;){t="",o--;var l,u,f=J("3",e,o).height,h=e.multiline?i-o:(i-f)/2,d=h+=2,p=0,g=0;if(o<=0){t="(...) Tj\n",t+="% Width of Text: "+J(t,e,o=12).width+", FieldWidth:"+s+"\n";break}var m="",v=0;for(var b in a)if(a.hasOwnProperty(b)){m=" "==(m+=a[b]+" ").substr(m.length-1)?m.substr(0,m.length-1):m;var y=parseInt(b),w=c(y,m,o),S=b>=a.length-1;if(w&&!S){m+=" ";continue}if(w||S){if(S)g=y;else if(e.multiline&&(f+2)*(v+2)+2>i)continue e}else{if(!e.multiline)continue e;if((f+2)*(v+2)+2>i)continue e;g=y}for(var x="",A=p;A<=g;A++)x+=a[A]+" ";switch(x=" "==x.substr(x.length-1)?x.substr(0,x.length-1):x,u=J(x,e,o).width,e.textAlign){case"right":l=s-u-2;break;case"center":l=(s-u)/2;break;default:l=2}t+=M(l)+" "+M(d)+" Td\n",t+="("+F(x)+") Tj\n",t+=-M(l)+" 0 Td\n",d=-(o+2),u=0,p=g+1,v++,m=""}break}return n.text=t,n.fontSize=o,n},J=function(e,t,r){var n=t.scope.internal.getFont(t.fontName,t.fontStyle),a=t.scope.getStringUnitWidth(e,{font:n,fontSize:parseFloat(r),charSpace:0})*parseFloat(r);return{height:t.scope.getStringUnitWidth("3",{font:n,fontSize:parseFloat(r),charSpace:0})*parseFloat(r)*1.5,width:a}},Z={fields:[],xForms:[],acroFormDictionaryRoot:null,printedOut:!1,internal:null,isInitialized:!1},Q=function(e,t){var r={type:"reference",object:e};void 0===t.internal.getPageInfo(e.page).pageContext.annotations.find((function(e){return e.type===r.type&&e.object===r.object}))&&t.internal.getPageInfo(e.page).pageContext.annotations.push(r)},ee=L.__acroform__.arrayToPdfArray=function(e,t,r){var n=function(e){return e};if(Array.isArray(e)){for(var a="[",o=0;o<e.length;o++)switch(0!==o&&(a+=" "),typeof e[o]){case"boolean":case"number":case"object":a+=e[o].toString();break;case"string":"/"!==e[o].substr(0,1)?(void 0!==t&&r&&(n=r.internal.getEncryptor(t)),a+="("+F(n(e[o].toString()))+")"):a+=e[o].toString()}return a+"]"}throw new Error("Invalid argument passed to jsPDF.__acroform__.arrayToPdfArray")},te=function(e,t,r){var n=function(e){return e};return void 0!==t&&r&&(n=r.internal.getEncryptor(t)),(e=e||"").toString(),"("+F(n(e))+")"},re=function(){this._objId=void 0,this._scope=void 0,Object.defineProperty(this,"objId",{get:function(){if(void 0===this._objId){if(void 0===this.scope)return;this._objId=this.scope.internal.newObjectDeferred()}return this._objId},set:function(e){this._objId=e}}),Object.defineProperty(this,"scope",{value:this._scope,writable:!0})};re.prototype.toString=function(){return this.objId+" 0 R"},re.prototype.putStream=function(){var e=this.getKeyValueListForStream();this.scope.internal.putStream({data:this.stream,additionalKeyValues:e,objectId:this.objId}),this.scope.internal.out("endobj")},re.prototype.getKeyValueListForStream=function(){var e=[],t=Object.getOwnPropertyNames(this).filter((function(e){return"content"!=e&&"appearanceStreamContent"!=e&&"scope"!=e&&"objId"!=e&&"_"!=e.substring(0,1)}));for(var r in t)if(!1===Object.getOwnPropertyDescriptor(this,t[r]).configurable){var n=t[r],a=this[n];a&&(Array.isArray(a)?e.push({key:n,value:ee(a,this.objId,this.scope)}):a instanceof re?(a.scope=this.scope,e.push({key:n,value:a.objId+" 0 R"})):"function"!=typeof a&&e.push({key:n,value:a}))}return e};var ne=function(){re.call(this),Object.defineProperty(this,"Type",{value:"/XObject",configurable:!1,writable:!0}),Object.defineProperty(this,"Subtype",{value:"/Form",configurable:!1,writable:!0}),Object.defineProperty(this,"FormType",{value:1,configurable:!1,writable:!0});var e,t=[];Object.defineProperty(this,"BBox",{configurable:!1,get:function(){return t},set:function(e){t=e}}),Object.defineProperty(this,"Resources",{value:"2 0 R",configurable:!1,writable:!0}),Object.defineProperty(this,"stream",{enumerable:!1,configurable:!0,set:function(t){e=t.trim()},get:function(){return e||null}})};B(ne,re);var ae=function(){re.call(this);var e,t=[];Object.defineProperty(this,"Kids",{enumerable:!1,configurable:!0,get:function(){return t.length>0?t:void 0}}),Object.defineProperty(this,"Fields",{enumerable:!1,configurable:!1,get:function(){return t}}),Object.defineProperty(this,"DA",{enumerable:!1,configurable:!1,get:function(){if(e){var t=function(e){return e};return this.scope&&(t=this.scope.internal.getEncryptor(this.objId)),"("+F(t(e))+")"}},set:function(t){e=t}})};B(ae,re);var oe=function(){re.call(this);var e=4;Object.defineProperty(this,"F",{enumerable:!1,configurable:!1,get:function(){return e},set:function(t){if(isNaN(t))throw new Error('Invalid value "'+t+'" for attribute F supplied.');e=t}}),Object.defineProperty(this,"showWhenPrinted",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(e,3))},set:function(t){!0===Boolean(t)?this.F=$(e,3):this.F=G(e,3)}});var t=0;Object.defineProperty(this,"Ff",{enumerable:!1,configurable:!1,get:function(){return t},set:function(e){if(isNaN(e))throw new Error('Invalid value "'+e+'" for attribute Ff supplied.');t=e}});var r=[];Object.defineProperty(this,"Rect",{enumerable:!1,configurable:!1,get:function(){if(0!==r.length)return r},set:function(e){r=void 0!==e?e:[]}}),Object.defineProperty(this,"x",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[0])?0:r[0]},set:function(e){r[0]=e}}),Object.defineProperty(this,"y",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[1])?0:r[1]},set:function(e){r[1]=e}}),Object.defineProperty(this,"width",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[2])?0:r[2]},set:function(e){r[2]=e}}),Object.defineProperty(this,"height",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[3])?0:r[3]},set:function(e){r[3]=e}});var n="";Object.defineProperty(this,"FT",{enumerable:!0,configurable:!1,get:function(){return n},set:function(e){switch(e){case"/Btn":case"/Tx":case"/Ch":case"/Sig":n=e;break;default:throw new Error('Invalid value "'+e+'" for attribute FT supplied.')}}});var a=null;Object.defineProperty(this,"T",{enumerable:!0,configurable:!1,get:function(){if(!a||a.length<1){if(this instanceof de)return;a="FieldObject"+oe.FieldNum++}var e=function(e){return e};return this.scope&&(e=this.scope.internal.getEncryptor(this.objId)),"("+F(e(a))+")"},set:function(e){a=e.toString()}}),Object.defineProperty(this,"fieldName",{configurable:!0,enumerable:!0,get:function(){return a},set:function(e){a=e}});var o="helvetica";Object.defineProperty(this,"fontName",{enumerable:!0,configurable:!0,get:function(){return o},set:function(e){o=e}});var i="normal";Object.defineProperty(this,"fontStyle",{enumerable:!0,configurable:!0,get:function(){return i},set:function(e){i=e}});var s=0;Object.defineProperty(this,"fontSize",{enumerable:!0,configurable:!0,get:function(){return s},set:function(e){s=e}});var c=void 0;Object.defineProperty(this,"maxFontSize",{enumerable:!0,configurable:!0,get:function(){return void 0===c?50/I:c},set:function(e){c=e}});var l="black";Object.defineProperty(this,"color",{enumerable:!0,configurable:!0,get:function(){return l},set:function(e){l=e}});var u="/F1 0 Tf 0 g";Object.defineProperty(this,"DA",{enumerable:!0,configurable:!1,get:function(){if(!(!u||this instanceof de||this instanceof ge))return te(u,this.objId,this.scope)},set:function(e){e=e.toString(),u=e}});var f=null;Object.defineProperty(this,"DV",{enumerable:!1,configurable:!1,get:function(){if(f)return this instanceof ue==0?te(f,this.objId,this.scope):f},set:function(e){e=e.toString(),f=this instanceof ue==0?"("===e.substr(0,1)?D(e.substr(1,e.length-2)):D(e):e}}),Object.defineProperty(this,"defaultValue",{enumerable:!0,configurable:!0,get:function(){return this instanceof ue==1?D(f.substr(1,f.length-1)):f},set:function(e){e=e.toString(),f=this instanceof ue==1?"/"+e:e}});var h=null;Object.defineProperty(this,"_V",{enumerable:!1,configurable:!1,get:function(){if(h)return h},set:function(e){this.V=e}}),Object.defineProperty(this,"V",{enumerable:!1,configurable:!1,get:function(){if(h)return this instanceof ue==0?te(h,this.objId,this.scope):h},set:function(e){e=e.toString(),h=this instanceof ue==0?"("===e.substr(0,1)?D(e.substr(1,e.length-2)):D(e):e}}),Object.defineProperty(this,"value",{enumerable:!0,configurable:!0,get:function(){return this instanceof ue==1?D(h.substr(1,h.length-1)):h},set:function(e){e=e.toString(),h=this instanceof ue==1?"/"+e:e}}),Object.defineProperty(this,"hasAnnotation",{enumerable:!0,configurable:!0,get:function(){return this.Rect}}),Object.defineProperty(this,"Type",{enumerable:!0,configurable:!1,get:function(){return this.hasAnnotation?"/Annot":null}}),Object.defineProperty(this,"Subtype",{enumerable:!0,configurable:!1,get:function(){return this.hasAnnotation?"/Widget":null}});var d,p=!1;Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return p},set:function(e){e=Boolean(e),p=e}}),Object.defineProperty(this,"page",{enumerable:!0,configurable:!0,get:function(){if(d)return d},set:function(e){d=e}}),Object.defineProperty(this,"readOnly",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,1))},set:function(e){!0===Boolean(e)?this.Ff=$(this.Ff,1):this.Ff=G(this.Ff,1)}}),Object.defineProperty(this,"required",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,2))},set:function(e){!0===Boolean(e)?this.Ff=$(this.Ff,2):this.Ff=G(this.Ff,2)}}),Object.defineProperty(this,"noExport",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,3))},set:function(e){!0===Boolean(e)?this.Ff=$(this.Ff,3):this.Ff=G(this.Ff,3)}});var g=null;Object.defineProperty(this,"Q",{enumerable:!0,configurable:!1,get:function(){if(null!==g)return g},set:function(e){if(-1===[0,1,2].indexOf(e))throw new Error('Invalid value "'+e+'" for attribute Q supplied.');g=e}}),Object.defineProperty(this,"textAlign",{get:function(){var e;switch(g){case 0:default:e="left";break;case 1:e="center";break;case 2:e="right"}return e},configurable:!0,enumerable:!0,set:function(e){switch(e){case"right":case 2:g=2;break;case"center":case 1:g=1;break;default:g=0}}})};B(oe,re);var ie=function(){oe.call(this),this.FT="/Ch",this.V="()",this.fontName="zapfdingbats";var e=0;Object.defineProperty(this,"TI",{enumerable:!0,configurable:!1,get:function(){return e},set:function(t){e=t}}),Object.defineProperty(this,"topIndex",{enumerable:!0,configurable:!0,get:function(){return e},set:function(t){e=t}});var t=[];Object.defineProperty(this,"Opt",{enumerable:!0,configurable:!1,get:function(){return ee(t,this.objId,this.scope)},set:function(e){var r,n;n=[],"string"==typeof(r=e)&&(n=function(e,t,r){r||(r=1);for(var n,a=[];n=t.exec(e);)a.push(n[r]);return a}(r,/\((.*?)\)/g)),t=n}}),this.getOptions=function(){return t},this.setOptions=function(e){t=e,this.sort&&t.sort()},this.addOption=function(e){e=(e=e||"").toString(),t.push(e),this.sort&&t.sort()},this.removeOption=function(e,r){for(r=r||!1,e=(e=e||"").toString();-1!==t.indexOf(e)&&(t.splice(t.indexOf(e),1),!1!==r););},Object.defineProperty(this,"combo",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,18))},set:function(e){!0===Boolean(e)?this.Ff=$(this.Ff,18):this.Ff=G(this.Ff,18)}}),Object.defineProperty(this,"edit",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,19))},set:function(e){!0===this.combo&&(!0===Boolean(e)?this.Ff=$(this.Ff,19):this.Ff=G(this.Ff,19))}}),Object.defineProperty(this,"sort",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,20))},set:function(e){!0===Boolean(e)?(this.Ff=$(this.Ff,20),t.sort()):this.Ff=G(this.Ff,20)}}),Object.defineProperty(this,"multiSelect",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,22))},set:function(e){!0===Boolean(e)?this.Ff=$(this.Ff,22):this.Ff=G(this.Ff,22)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,23))},set:function(e){!0===Boolean(e)?this.Ff=$(this.Ff,23):this.Ff=G(this.Ff,23)}}),Object.defineProperty(this,"commitOnSelChange",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,27))},set:function(e){!0===Boolean(e)?this.Ff=$(this.Ff,27):this.Ff=G(this.Ff,27)}}),this.hasAppearanceStream=!1};B(ie,oe);var se=function(){ie.call(this),this.fontName="helvetica",this.combo=!1};B(se,ie);var ce=function(){se.call(this),this.combo=!0};B(ce,se);var le=function(){ce.call(this),this.edit=!0};B(le,ce);var ue=function(){oe.call(this),this.FT="/Btn",Object.defineProperty(this,"noToggleToOff",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,15))},set:function(e){!0===Boolean(e)?this.Ff=$(this.Ff,15):this.Ff=G(this.Ff,15)}}),Object.defineProperty(this,"radio",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,16))},set:function(e){!0===Boolean(e)?this.Ff=$(this.Ff,16):this.Ff=G(this.Ff,16)}}),Object.defineProperty(this,"pushButton",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,17))},set:function(e){!0===Boolean(e)?this.Ff=$(this.Ff,17):this.Ff=G(this.Ff,17)}}),Object.defineProperty(this,"radioIsUnison",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,26))},set:function(e){!0===Boolean(e)?this.Ff=$(this.Ff,26):this.Ff=G(this.Ff,26)}});var e,t={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var e=function(e){return e};if(this.scope&&(e=this.scope.internal.getEncryptor(this.objId)),0!==Object.keys(t).length){var r,n=[];for(r in n.push("<<"),t)n.push("/"+r+" ("+F(e(t[r]))+")");return n.push(">>"),n.join("\n")}},set:function(e){"object"==typeof e&&(t=e)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return t.CA||""},set:function(e){"string"==typeof e&&(t.CA=e)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return e},set:function(t){e=t}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return e.substr(1,e.length-1)},set:function(t){e="/"+t}})};B(ue,oe);var fe=function(){ue.call(this),this.pushButton=!0};B(fe,ue);var he=function(){ue.call(this),this.radio=!0,this.pushButton=!1;var e=[];Object.defineProperty(this,"Kids",{enumerable:!0,configurable:!1,get:function(){return e},set:function(t){e=void 0!==t?t:[]}})};B(he,ue);var de=function(){var e,t;oe.call(this),Object.defineProperty(this,"Parent",{enumerable:!1,configurable:!1,get:function(){return e},set:function(t){e=t}}),Object.defineProperty(this,"optionName",{enumerable:!1,configurable:!0,get:function(){return t},set:function(e){t=e}});var r,n={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var e=function(e){return e};this.scope&&(e=this.scope.internal.getEncryptor(this.objId));var t,r=[];for(t in r.push("<<"),n)r.push("/"+t+" ("+F(e(n[t]))+")");return r.push(">>"),r.join("\n")},set:function(e){"object"==typeof e&&(n=e)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return n.CA||""},set:function(e){"string"==typeof e&&(n.CA=e)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return r},set:function(e){r=e}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return r.substr(1,r.length-1)},set:function(e){r="/"+e}}),this.caption="l",this.appearanceState="Off",this._AppearanceType=ve.RadioButton.Circle,this.appearanceStreamContent=this._AppearanceType.createAppearanceStream(this.optionName)};B(de,oe),he.prototype.setAppearance=function(e){if(!("createAppearanceStream"in e)||!("getCA"in e))throw new Error("Couldn't assign Appearance to RadioButton. Appearance was Invalid!");for(var t in this.Kids)if(this.Kids.hasOwnProperty(t)){var r=this.Kids[t];r.appearanceStreamContent=e.createAppearanceStream(r.optionName),r.caption=e.getCA()}},he.prototype.createOption=function(e){var t=new de;return t.Parent=this,t.optionName=e,this.Kids.push(t),be.call(this.scope,t),t};var pe=function(){ue.call(this),this.fontName="zapfdingbats",this.caption="3",this.appearanceState="On",this.value="On",this.textAlign="center",this.appearanceStreamContent=ve.CheckBox.createAppearanceStream()};B(pe,ue);var ge=function(){oe.call(this),this.FT="/Tx",Object.defineProperty(this,"multiline",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,13))},set:function(e){!0===Boolean(e)?this.Ff=$(this.Ff,13):this.Ff=G(this.Ff,13)}}),Object.defineProperty(this,"fileSelect",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,21))},set:function(e){!0===Boolean(e)?this.Ff=$(this.Ff,21):this.Ff=G(this.Ff,21)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,23))},set:function(e){!0===Boolean(e)?this.Ff=$(this.Ff,23):this.Ff=G(this.Ff,23)}}),Object.defineProperty(this,"doNotScroll",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,24))},set:function(e){!0===Boolean(e)?this.Ff=$(this.Ff,24):this.Ff=G(this.Ff,24)}}),Object.defineProperty(this,"comb",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,25))},set:function(e){!0===Boolean(e)?this.Ff=$(this.Ff,25):this.Ff=G(this.Ff,25)}}),Object.defineProperty(this,"richText",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,26))},set:function(e){!0===Boolean(e)?this.Ff=$(this.Ff,26):this.Ff=G(this.Ff,26)}});var e=null;Object.defineProperty(this,"MaxLen",{enumerable:!0,configurable:!1,get:function(){return e},set:function(t){e=t}}),Object.defineProperty(this,"maxLength",{enumerable:!0,configurable:!0,get:function(){return e},set:function(t){Number.isInteger(t)&&(e=t)}}),Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return this.V||this.DV}})};B(ge,oe);var me=function(){ge.call(this),Object.defineProperty(this,"password",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,14))},set:function(e){!0===Boolean(e)?this.Ff=$(this.Ff,14):this.Ff=G(this.Ff,14)}}),this.password=!0};B(me,ge);var ve={CheckBox:{createAppearanceStream:function(){return{N:{On:ve.CheckBox.YesNormal},D:{On:ve.CheckBox.YesPushDown,Off:ve.CheckBox.OffPushDown}}},YesPushDown:function(e){var t=U(e);t.scope=e.scope;var r=[],n=e.scope.internal.getFont(e.fontName,e.fontStyle).id,a=e.scope.__private__.encodeColorString(e.color),o=K(e,e.caption);return r.push("0.749023 g"),r.push("0 0 "+M(ve.internal.getWidth(e))+" "+M(ve.internal.getHeight(e))+" re"),r.push("f"),r.push("BMC"),r.push("q"),r.push("0 0 1 rg"),r.push("/"+n+" "+M(o.fontSize)+" Tf "+a),r.push("BT"),r.push(o.text),r.push("ET"),r.push("Q"),r.push("EMC"),t.stream=r.join("\n"),t},YesNormal:function(e){var t=U(e);t.scope=e.scope;var r=e.scope.internal.getFont(e.fontName,e.fontStyle).id,n=e.scope.__private__.encodeColorString(e.color),a=[],o=ve.internal.getHeight(e),i=ve.internal.getWidth(e),s=K(e,e.caption);return a.push("1 g"),a.push("0 0 "+M(i)+" "+M(o)+" re"),a.push("f"),a.push("q"),a.push("0 0 1 rg"),a.push("0 0 "+M(i-1)+" "+M(o-1)+" re"),a.push("W"),a.push("n"),a.push("0 g"),a.push("BT"),a.push("/"+r+" "+M(s.fontSize)+" Tf "+n),a.push(s.text),a.push("ET"),a.push("Q"),t.stream=a.join("\n"),t},OffPushDown:function(e){var t=U(e);t.scope=e.scope;var r=[];return r.push("0.749023 g"),r.push("0 0 "+M(ve.internal.getWidth(e))+" "+M(ve.internal.getHeight(e))+" re"),r.push("f"),t.stream=r.join("\n"),t}},RadioButton:{Circle:{createAppearanceStream:function(e){var t={D:{Off:ve.RadioButton.Circle.OffPushDown},N:{}};return t.N[e]=ve.RadioButton.Circle.YesNormal,t.D[e]=ve.RadioButton.Circle.YesPushDown,t},getCA:function(){return"l"},YesNormal:function(e){var t=U(e);t.scope=e.scope;var r=[],n=ve.internal.getWidth(e)<=ve.internal.getHeight(e)?ve.internal.getWidth(e)/4:ve.internal.getHeight(e)/4;n=Number((.9*n).toFixed(5));var a=ve.internal.Bezier_C,o=Number((n*a).toFixed(5));return r.push("q"),r.push("1 0 0 1 "+j(ve.internal.getWidth(e)/2)+" "+j(ve.internal.getHeight(e)/2)+" cm"),r.push(n+" 0 m"),r.push(n+" "+o+" "+o+" "+n+" 0 "+n+" c"),r.push("-"+o+" "+n+" -"+n+" "+o+" -"+n+" 0 c"),r.push("-"+n+" -"+o+" -"+o+" -"+n+" 0 -"+n+" c"),r.push(o+" -"+n+" "+n+" -"+o+" "+n+" 0 c"),r.push("f"),r.push("Q"),t.stream=r.join("\n"),t},YesPushDown:function(e){var t=U(e);t.scope=e.scope;var r=[],n=ve.internal.getWidth(e)<=ve.internal.getHeight(e)?ve.internal.getWidth(e)/4:ve.internal.getHeight(e)/4;n=Number((.9*n).toFixed(5));var a=Number((2*n).toFixed(5)),o=Number((a*ve.internal.Bezier_C).toFixed(5)),i=Number((n*ve.internal.Bezier_C).toFixed(5));return r.push("0.749023 g"),r.push("q"),r.push("1 0 0 1 "+j(ve.internal.getWidth(e)/2)+" "+j(ve.internal.getHeight(e)/2)+" cm"),r.push(a+" 0 m"),r.push(a+" "+o+" "+o+" "+a+" 0 "+a+" c"),r.push("-"+o+" "+a+" -"+a+" "+o+" -"+a+" 0 c"),r.push("-"+a+" -"+o+" -"+o+" -"+a+" 0 -"+a+" c"),r.push(o+" -"+a+" "+a+" -"+o+" "+a+" 0 c"),r.push("f"),r.push("Q"),r.push("0 g"),r.push("q"),r.push("1 0 0 1 "+j(ve.internal.getWidth(e)/2)+" "+j(ve.internal.getHeight(e)/2)+" cm"),r.push(n+" 0 m"),r.push(n+" "+i+" "+i+" "+n+" 0 "+n+" c"),r.push("-"+i+" "+n+" -"+n+" "+i+" -"+n+" 0 c"),r.push("-"+n+" -"+i+" -"+i+" -"+n+" 0 -"+n+" c"),r.push(i+" -"+n+" "+n+" -"+i+" "+n+" 0 c"),r.push("f"),r.push("Q"),t.stream=r.join("\n"),t},OffPushDown:function(e){var t=U(e);t.scope=e.scope;var r=[],n=ve.internal.getWidth(e)<=ve.internal.getHeight(e)?ve.internal.getWidth(e)/4:ve.internal.getHeight(e)/4;n=Number((.9*n).toFixed(5));var a=Number((2*n).toFixed(5)),o=Number((a*ve.internal.Bezier_C).toFixed(5));return r.push("0.749023 g"),r.push("q"),r.push("1 0 0 1 "+j(ve.internal.getWidth(e)/2)+" "+j(ve.internal.getHeight(e)/2)+" cm"),r.push(a+" 0 m"),r.push(a+" "+o+" "+o+" "+a+" 0 "+a+" c"),r.push("-"+o+" "+a+" -"+a+" "+o+" -"+a+" 0 c"),r.push("-"+a+" -"+o+" -"+o+" -"+a+" 0 -"+a+" c"),r.push(o+" -"+a+" "+a+" -"+o+" "+a+" 0 c"),r.push("f"),r.push("Q"),t.stream=r.join("\n"),t}},Cross:{createAppearanceStream:function(e){var t={D:{Off:ve.RadioButton.Cross.OffPushDown},N:{}};return t.N[e]=ve.RadioButton.Cross.YesNormal,t.D[e]=ve.RadioButton.Cross.YesPushDown,t},getCA:function(){return"8"},YesNormal:function(e){var t=U(e);t.scope=e.scope;var r=[],n=ve.internal.calculateCross(e);return r.push("q"),r.push("1 1 "+M(ve.internal.getWidth(e)-2)+" "+M(ve.internal.getHeight(e)-2)+" re"),r.push("W"),r.push("n"),r.push(M(n.x1.x)+" "+M(n.x1.y)+" m"),r.push(M(n.x2.x)+" "+M(n.x2.y)+" l"),r.push(M(n.x4.x)+" "+M(n.x4.y)+" m"),r.push(M(n.x3.x)+" "+M(n.x3.y)+" l"),r.push("s"),r.push("Q"),t.stream=r.join("\n"),t},YesPushDown:function(e){var t=U(e);t.scope=e.scope;var r=ve.internal.calculateCross(e),n=[];return n.push("0.749023 g"),n.push("0 0 "+M(ve.internal.getWidth(e))+" "+M(ve.internal.getHeight(e))+" re"),n.push("f"),n.push("q"),n.push("1 1 "+M(ve.internal.getWidth(e)-2)+" "+M(ve.internal.getHeight(e)-2)+" re"),n.push("W"),n.push("n"),n.push(M(r.x1.x)+" "+M(r.x1.y)+" m"),n.push(M(r.x2.x)+" "+M(r.x2.y)+" l"),n.push(M(r.x4.x)+" "+M(r.x4.y)+" m"),n.push(M(r.x3.x)+" "+M(r.x3.y)+" l"),n.push("s"),n.push("Q"),t.stream=n.join("\n"),t},OffPushDown:function(e){var t=U(e);t.scope=e.scope;var r=[];return r.push("0.749023 g"),r.push("0 0 "+M(ve.internal.getWidth(e))+" "+M(ve.internal.getHeight(e))+" re"),r.push("f"),t.stream=r.join("\n"),t}}},createDefaultAppearanceStream:function(e){var t=e.scope.internal.getFont(e.fontName,e.fontStyle).id,r=e.scope.__private__.encodeColorString(e.color);return"/"+t+" "+e.fontSize+" Tf "+r}};ve.internal={Bezier_C:.551915024494,calculateCross:function(e){var t=ve.internal.getWidth(e),r=ve.internal.getHeight(e),n=Math.min(t,r);return{x1:{x:(t-n)/2,y:(r-n)/2+n},x2:{x:(t-n)/2+n,y:(r-n)/2},x3:{x:(t-n)/2,y:(r-n)/2},x4:{x:(t-n)/2+n,y:(r-n)/2+n}}}},ve.internal.getWidth=function(e){var t=0;return"object"==typeof e&&(t=W(e.Rect[2])),t},ve.internal.getHeight=function(e){var t=0;return"object"==typeof e&&(t=W(e.Rect[3])),t};var be=L.addField=function(e){if(function(e,t){if(t.scope=e,void 0!==e.internal&&(void 0===e.internal.acroformPlugin||!1===e.internal.acroformPlugin.isInitialized)){if(oe.FieldNum=0,e.internal.acroformPlugin=JSON.parse(JSON.stringify(Z)),e.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("Exception while creating AcroformDictionary");I=e.internal.scaleFactor,e.internal.acroformPlugin.acroFormDictionaryRoot=new ae,e.internal.acroformPlugin.acroFormDictionaryRoot.scope=e,e.internal.acroformPlugin.acroFormDictionaryRoot._eventID=e.internal.events.subscribe("postPutResources",(function(){!function(e){e.internal.events.unsubscribe(e.internal.acroformPlugin.acroFormDictionaryRoot._eventID),delete e.internal.acroformPlugin.acroFormDictionaryRoot._eventID,e.internal.acroformPlugin.printedOut=!0}(e)})),e.internal.events.subscribe("buildDocument",(function(){!function(e){e.internal.acroformPlugin.acroFormDictionaryRoot.objId=void 0;var t=e.internal.acroformPlugin.acroFormDictionaryRoot.Fields;for(var r in t)if(t.hasOwnProperty(r)){var n=t[r];n.objId=void 0,n.hasAnnotation&&Q(n,e)}}(e)})),e.internal.events.subscribe("putCatalog",(function(){!function(e){if(void 0===e.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("putCatalogCallback: Root missing.");e.internal.write("/AcroForm "+e.internal.acroformPlugin.acroFormDictionaryRoot.objId+" 0 R")}(e)})),e.internal.events.subscribe("postPutPages",(function(t){!function(e,t){var r=!e;for(var n in e||(t.internal.newObjectDeferredBegin(t.internal.acroformPlugin.acroFormDictionaryRoot.objId,!0),t.internal.acroformPlugin.acroFormDictionaryRoot.putStream()),e=e||t.internal.acroformPlugin.acroFormDictionaryRoot.Kids)if(e.hasOwnProperty(n)){var a=e[n],o=[],i=a.Rect;if(a.Rect&&(a.Rect=X(a.Rect,t)),t.internal.newObjectDeferredBegin(a.objId,!0),a.DA=ve.createDefaultAppearanceStream(a),"object"==typeof a&&"function"==typeof a.getKeyValueListForStream&&(o=a.getKeyValueListForStream()),a.Rect=i,a.hasAppearanceStream&&!a.appearanceStreamContent){var s=Y(a);o.push({key:"AP",value:"<</N "+s+">>"}),t.internal.acroformPlugin.xForms.push(s)}if(a.appearanceStreamContent){var c="";for(var l in a.appearanceStreamContent)if(a.appearanceStreamContent.hasOwnProperty(l)){var u=a.appearanceStreamContent[l];if(c+="/"+l+" ",c+="<<",Object.keys(u).length>=1||Array.isArray(u)){for(var n in u)if(u.hasOwnProperty(n)){var f=u[n];"function"==typeof f&&(f=f.call(t,a)),c+="/"+n+" "+f+" ",t.internal.acroformPlugin.xForms.indexOf(f)>=0||t.internal.acroformPlugin.xForms.push(f)}}else"function"==typeof(f=u)&&(f=f.call(t,a)),c+="/"+n+" "+f,t.internal.acroformPlugin.xForms.indexOf(f)>=0||t.internal.acroformPlugin.xForms.push(f);c+=">>"}o.push({key:"AP",value:"<<\n"+c+">>"})}t.internal.putStream({additionalKeyValues:o,objectId:a.objId}),t.internal.out("endobj")}r&&function(e,t){for(var r in e)if(e.hasOwnProperty(r)){var n=r,a=e[r];t.internal.newObjectDeferredBegin(a.objId,!0),"object"==typeof a&&"function"==typeof a.putStream&&a.putStream(),delete e[n]}}(t.internal.acroformPlugin.xForms,t)}(t,e)})),e.internal.acroformPlugin.isInitialized=!0}}(this,e),!(e instanceof oe))throw new Error("Invalid argument passed to jsPDF.addField.");var t;return(t=e).scope.internal.acroformPlugin.printedOut&&(t.scope.internal.acroformPlugin.printedOut=!1,t.scope.internal.acroformPlugin.acroFormDictionaryRoot=null),t.scope.internal.acroformPlugin.acroFormDictionaryRoot.Fields.push(t),e.page=e.scope.internal.getCurrentPageInfo().pageNumber,this};L.AcroFormChoiceField=ie,L.AcroFormListBox=se,L.AcroFormComboBox=ce,L.AcroFormEditBox=le,L.AcroFormButton=ue,L.AcroFormPushButton=fe,L.AcroFormRadioButton=he,L.AcroFormCheckBox=pe,L.AcroFormTextField=ge,L.AcroFormPasswordField=me,L.AcroFormAppearance=ve,L.AcroForm={ChoiceField:ie,ListBox:se,ComboBox:ce,EditBox:le,Button:ue,PushButton:fe,RadioButton:he,CheckBox:pe,TextField:ge,PasswordField:me,Appearance:ve},P.AcroForm={ChoiceField:ie,ListBox:se,ComboBox:ce,EditBox:le,Button:ue,PushButton:fe,RadioButton:he,CheckBox:pe,TextField:ge,PasswordField:me,Appearance:ve};var ye=P.AcroForm;function we(e){return e.reduce((function(e,t,r){return e[t]=r,e}),{})}!function(e){e.__addimage__={};var t="UNKNOWN",r={PNG:[[137,80,78,71]],TIFF:[[77,77,0,42],[73,73,42,0]],JPEG:[[255,216,255,224,void 0,void 0,74,70,73,70,0],[255,216,255,225,void 0,void 0,69,120,105,102,0,0],[255,216,255,219],[255,216,255,238]],JPEG2000:[[0,0,0,12,106,80,32,32]],GIF87a:[[71,73,70,56,55,97]],GIF89a:[[71,73,70,56,57,97]],WEBP:[[82,73,70,70,void 0,void 0,void 0,void 0,87,69,66,80]],BMP:[[66,77],[66,65],[67,73],[67,80],[73,67],[80,84]]},n=e.__addimage__.getImageFileTypeByImageData=function(e,n){var a,o;n=n||t;var i,s,c,l=t;if(k(e))for(c in r)for(i=r[c],a=0;a<i.length;a+=1){for(s=!0,o=0;o<i[a].length;o+=1)if(void 0!==i[a][o]&&i[a][o]!==e[o]){s=!1;break}if(!0===s){l=c;break}}else for(c in r)for(i=r[c],a=0;a<i.length;a+=1){for(s=!0,o=0;o<i[a].length;o+=1)if(void 0!==i[a][o]&&i[a][o]!==e.charCodeAt(o)){s=!1;break}if(!0===s){l=c;break}}return l===t&&n!==t&&(l=n),l},a=function(e){for(var t=this.internal.write,r=this.internal.putStream,n=(0,this.internal.getFilters)();-1!==n.indexOf("FlateEncode");)n.splice(n.indexOf("FlateEncode"),1);e.objectId=this.internal.newObject();var o=[];if(o.push({key:"Type",value:"/XObject"}),o.push({key:"Subtype",value:"/Image"}),o.push({key:"Width",value:e.width}),o.push({key:"Height",value:e.height}),e.colorSpace===b.INDEXED?o.push({key:"ColorSpace",value:"[/Indexed /DeviceRGB "+(e.palette.length/3-1)+" "+("sMask"in e&&void 0!==e.sMask?e.objectId+2:e.objectId+1)+" 0 R]"}):(o.push({key:"ColorSpace",value:"/"+e.colorSpace}),e.colorSpace===b.DEVICE_CMYK&&o.push({key:"Decode",value:"[1 0 1 0 1 0 1 0]"})),o.push({key:"BitsPerComponent",value:e.bitsPerComponent}),"decodeParameters"in e&&void 0!==e.decodeParameters&&o.push({key:"DecodeParms",value:"<<"+e.decodeParameters+">>"}),"transparency"in e&&Array.isArray(e.transparency)){for(var i="",s=0,c=e.transparency.length;s<c;s++)i+=e.transparency[s]+" "+e.transparency[s]+" ";o.push({key:"Mask",value:"["+i+"]"})}void 0!==e.sMask&&o.push({key:"SMask",value:e.objectId+1+" 0 R"});var l=void 0!==e.filter?["/"+e.filter]:void 0;if(r({data:e.data,additionalKeyValues:o,alreadyAppliedFilters:l,objectId:e.objectId}),t("endobj"),"sMask"in e&&void 0!==e.sMask){var u="/Predictor "+e.predictor+" /Colors 1 /BitsPerComponent "+e.bitsPerComponent+" /Columns "+e.width,f={width:e.width,height:e.height,colorSpace:"DeviceGray",bitsPerComponent:e.bitsPerComponent,decodeParameters:u,data:e.sMask};"filter"in e&&(f.filter=e.filter),a.call(this,f)}if(e.colorSpace===b.INDEXED){var h=this.internal.newObject();r({data:E(new Uint8Array(e.palette)),objectId:h}),t("endobj")}},o=function(){var e=this.internal.collections.addImage_images;for(var t in e)a.call(this,e[t])},i=function(){var e,t=this.internal.collections.addImage_images,r=this.internal.write;for(var n in t)r("/I"+(e=t[n]).index,e.objectId,"0","R")},l=function(){this.internal.collections.addImage_images||(this.internal.collections.addImage_images={},this.internal.events.subscribe("putResources",o),this.internal.events.subscribe("putXobjectDict",i))},u=function(){var e=this.internal.collections.addImage_images;return l.call(this),e},f=function(){return Object.keys(this.internal.collections.addImage_images).length},h=function(t){return"function"==typeof e["process"+t.toUpperCase()]},d=function(e){return"object"==typeof e&&1===e.nodeType},p=function(t,r){if("IMG"===t.nodeName&&t.hasAttribute("src")){var n=""+t.getAttribute("src");if(0===n.indexOf("data:image/"))return s(unescape(n).split("base64,").pop());var a=e.loadFile(n,!0);if(void 0!==a)return a}if("CANVAS"===t.nodeName){var o;switch(r){case"PNG":o="image/png";break;case"WEBP":o="image/webp";break;default:o="image/jpeg"}return s(t.toDataURL(o,1).split("base64,").pop())}},g=function(e){var t=this.internal.collections.addImage_images;if(t)for(var r in t)if(e===t[r].alias)return t[r]},m=function(e,t,r){return e||t||(e=-96,t=-96),e<0&&(e=-1*r.width*72/e/this.internal.scaleFactor),t<0&&(t=-1*r.height*72/t/this.internal.scaleFactor),0===e&&(e=t*r.width/r.height),0===t&&(t=e*r.height/r.width),[e,t]},v=function(e,t,r,n,a,o){var i=m.call(this,r,n,a),s=this.internal.getCoordinateString,c=this.internal.getVerticalCoordinateString,l=u.call(this);if(r=i[0],n=i[1],l[a.index]=a,o){o*=Math.PI/180;var f=Math.cos(o),h=Math.sin(o),d=function(e){return e.toFixed(4)},p=[d(f),d(h),d(-1*h),d(f),0,0,"cm"]}this.internal.write("q"),o?(this.internal.write([1,"0","0",1,s(e),c(t+n),"cm"].join(" ")),this.internal.write(p.join(" ")),this.internal.write([s(r),"0","0",s(n),"0","0","cm"].join(" "))):this.internal.write([s(r),"0","0",s(n),s(e),c(t+n),"cm"].join(" ")),this.isAdvancedAPI()&&this.internal.write([1,0,0,-1,0,0,"cm"].join(" ")),this.internal.write("/I"+a.index+" Do"),this.internal.write("Q")},b=e.color_spaces={DEVICE_RGB:"DeviceRGB",DEVICE_GRAY:"DeviceGray",DEVICE_CMYK:"DeviceCMYK",CAL_GREY:"CalGray",CAL_RGB:"CalRGB",LAB:"Lab",ICC_BASED:"ICCBased",INDEXED:"Indexed",PATTERN:"Pattern",SEPARATION:"Separation",DEVICE_N:"DeviceN"};e.decode={DCT_DECODE:"DCTDecode",FLATE_DECODE:"FlateDecode",LZW_DECODE:"LZWDecode",JPX_DECODE:"JPXDecode",JBIG2_DECODE:"JBIG2Decode",ASCII85_DECODE:"ASCII85Decode",ASCII_HEX_DECODE:"ASCIIHexDecode",RUN_LENGTH_DECODE:"RunLengthDecode",CCITT_FAX_DECODE:"CCITTFaxDecode"};var y=e.image_compression={NONE:"NONE",FAST:"FAST",MEDIUM:"MEDIUM",SLOW:"SLOW"},w=e.__addimage__.sHashCode=function(e){var t,r,n=0;if("string"==typeof e)for(r=e.length,t=0;t<r;t++)n=(n<<5)-n+e.charCodeAt(t),n|=0;else if(k(e))for(r=e.byteLength/2,t=0;t<r;t++)n=(n<<5)-n+e[t],n|=0;return n},S=e.__addimage__.validateStringAsBase64=function(e){(e=e||"").toString().trim();var t=!0;return 0===e.length&&(t=!1),e.length%4!=0&&(t=!1),!1===/^[A-Za-z0-9+/]+$/.test(e.substr(0,e.length-2))&&(t=!1),!1===/^[A-Za-z0-9/][A-Za-z0-9+/]|[A-Za-z0-9+/]=|==$/.test(e.substr(-2))&&(t=!1),t},x=e.__addimage__.extractImageFromDataUrl=function(e){var t=(e=e||"").split("base64,"),r=null;if(2===t.length){var n=/^data:(\w*\/\w*);*(charset=(?!charset=)[\w=-]*)*;*$/.exec(t[0]);Array.isArray(n)&&(r={mimeType:n[1],charset:n[2],data:t[1]})}return r},A=e.__addimage__.supportsArrayBuffer=function(){return"undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array};e.__addimage__.isArrayBuffer=function(e){return A()&&e instanceof ArrayBuffer};var k=e.__addimage__.isArrayBufferView=function(e){return A()&&"undefined"!=typeof Uint32Array&&(e instanceof Int8Array||e instanceof Uint8Array||"undefined"!=typeof Uint8ClampedArray&&e instanceof Uint8ClampedArray||e instanceof Int16Array||e instanceof Uint16Array||e instanceof Int32Array||e instanceof Uint32Array||e instanceof Float32Array||e instanceof Float64Array)},T=e.__addimage__.binaryStringToUint8Array=function(e){for(var t=e.length,r=new Uint8Array(t),n=0;n<t;n++)r[n]=e.charCodeAt(n);return r},E=e.__addimage__.arrayBufferToBinaryString=function(e){try{return s(c(String.fromCharCode.apply(null,e)))}catch(t){if("undefined"!=typeof Uint8Array&&void 0!==Uint8Array.prototype.reduce)return new Uint8Array(e).reduce((function(e,t){return e.push(String.fromCharCode(t)),e}),[]).join("")}};e.addImage=function(){var e,r,n,a,o,i,s,c,u;if("number"==typeof arguments[1]?(r=t,n=arguments[1],a=arguments[2],o=arguments[3],i=arguments[4],s=arguments[5],c=arguments[6],u=arguments[7]):(r=arguments[1],n=arguments[2],a=arguments[3],o=arguments[4],i=arguments[5],s=arguments[6],c=arguments[7],u=arguments[8]),"object"==typeof(e=arguments[0])&&!d(e)&&"imageData"in e){var f=e;e=f.imageData,r=f.format||r||t,n=f.x||n||0,a=f.y||a||0,o=f.w||f.width||o,i=f.h||f.height||i,s=f.alias||s,c=f.compression||c,u=f.rotation||f.angle||u}var h=this.internal.getFilters();if(void 0===c&&-1!==h.indexOf("FlateEncode")&&(c="SLOW"),isNaN(n)||isNaN(a))throw new Error("Invalid coordinates passed to jsPDF.addImage");l.call(this);var p=_.call(this,e,r,s,c);return v.call(this,n,a,o,i,p,u),this};var _=function(r,a,o,i){var s,c,l;if("string"==typeof r&&n(r)===t){r=unescape(r);var u=N(r,!1);(""!==u||void 0!==(u=e.loadFile(r,!0)))&&(r=u)}if(d(r)&&(r=p(r,a)),a=n(r,a),!h(a))throw new Error("addImage does not support files of type '"+a+"', please ensure that a plugin for '"+a+"' support is added.");if((null==(l=o)||0===l.length)&&(o=function(e){return"string"==typeof e||k(e)?w(e):null}(r)),(s=g.call(this,o))||(A()&&(r instanceof Uint8Array||(c=r,r=T(r))),s=this["process"+a.toUpperCase()](r,f.call(this),o,function(t){return t&&"string"==typeof t&&(t=t.toUpperCase()),t in e.image_compression?t:y.NONE}(i),c)),!s)throw new Error("An unknown error occurred whilst processing the image.");return s},N=e.__addimage__.convertBase64ToBinaryString=function(e,t){var r;t="boolean"!=typeof t||t;var n,a="";if("string"==typeof e){n=null!==(r=x(e))?r.data:e;try{a=s(n)}catch(e){if(t)throw S(n)?new Error("atob-Error in jsPDF.convertBase64ToBinaryString "+e.message):new Error("Supplied Data is not a valid base64-String jsPDF.convertBase64ToBinaryString ")}}return a};e.getImageProperties=function(r){var a,o,i="";if(d(r)&&(r=p(r)),"string"==typeof r&&n(r)===t&&(""===(i=N(r,!1))&&(i=e.loadFile(r)||""),r=i),o=n(r),!h(o))throw new Error("addImage does not support files of type '"+o+"', please ensure that a plugin for '"+o+"' support is added.");if(!A()||r instanceof Uint8Array||(r=T(r)),!(a=this["process"+o.toUpperCase()](r)))throw new Error("An unknown error occurred whilst processing the image");return a.fileType=o,a}}(P.API),function(e){var t=function(e){if(void 0!==e&&""!=e)return!0};P.API.events.push(["addPage",function(e){this.internal.getPageInfo(e.pageNumber).pageContext.annotations=[]}]),e.events.push(["putPage",function(e){for(var r,n,a,o=this.internal.getCoordinateString,i=this.internal.getVerticalCoordinateString,s=this.internal.getPageInfoByObjId(e.objId),c=e.pageContext.annotations,l=!1,u=0;u<c.length&&!l;u++)switch((r=c[u]).type){case"link":(t(r.options.url)||t(r.options.pageNumber))&&(l=!0);break;case"reference":case"text":case"freetext":l=!0}if(0!=l){this.internal.write("/Annots [");for(var f=0;f<c.length;f++){r=c[f];var h=this.internal.pdfEscape,d=this.internal.getEncryptor(e.objId);switch(r.type){case"reference":this.internal.write(" "+r.object.objId+" 0 R ");break;case"text":var p=this.internal.newAdditionalObject(),g=this.internal.newAdditionalObject(),m=this.internal.getEncryptor(p.objId),v=r.title||"Note";a="<</Type /Annot /Subtype /Text "+(n="/Rect ["+o(r.bounds.x)+" "+i(r.bounds.y+r.bounds.h)+" "+o(r.bounds.x+r.bounds.w)+" "+i(r.bounds.y)+"] ")+"/Contents ("+h(m(r.contents))+")",a+=" /Popup "+g.objId+" 0 R",a+=" /P "+s.objId+" 0 R",a+=" /T ("+h(m(v))+") >>",p.content=a;var b=p.objId+" 0 R";a="<</Type /Annot /Subtype /Popup "+(n="/Rect ["+o(r.bounds.x+30)+" "+i(r.bounds.y+r.bounds.h)+" "+o(r.bounds.x+r.bounds.w+30)+" "+i(r.bounds.y)+"] ")+" /Parent "+b,r.open&&(a+=" /Open true"),a+=" >>",g.content=a,this.internal.write(p.objId,"0 R",g.objId,"0 R");break;case"freetext":n="/Rect ["+o(r.bounds.x)+" "+i(r.bounds.y)+" "+o(r.bounds.x+r.bounds.w)+" "+i(r.bounds.y+r.bounds.h)+"] ";var y=r.color||"#000000";a="<</Type /Annot /Subtype /FreeText "+n+"/Contents ("+h(d(r.contents))+")",a+=" /DS(font: Helvetica,sans-serif 12.0pt; text-align:left; color:#"+y+")",a+=" /Border [0 0 0]",a+=" >>",this.internal.write(a);break;case"link":if(r.options.name){var w=this.annotations._nameMap[r.options.name];r.options.pageNumber=w.page,r.options.top=w.y}else r.options.top||(r.options.top=0);if(n="/Rect ["+r.finalBounds.x+" "+r.finalBounds.y+" "+r.finalBounds.w+" "+r.finalBounds.h+"] ",a="",r.options.url)a="<</Type /Annot /Subtype /Link "+n+"/Border [0 0 0] /A <</S /URI /URI ("+h(d(r.options.url))+") >>";else if(r.options.pageNumber)switch(a="<</Type /Annot /Subtype /Link "+n+"/Border [0 0 0] /Dest ["+this.internal.getPageInfo(r.options.pageNumber).objId+" 0 R",r.options.magFactor=r.options.magFactor||"XYZ",r.options.magFactor){case"Fit":a+=" /Fit]";break;case"FitH":a+=" /FitH "+r.options.top+"]";break;case"FitV":r.options.left=r.options.left||0,a+=" /FitV "+r.options.left+"]";break;default:var S=i(r.options.top);r.options.left=r.options.left||0,void 0===r.options.zoom&&(r.options.zoom=0),a+=" /XYZ "+r.options.left+" "+S+" "+r.options.zoom+"]"}""!=a&&(a+=" >>",this.internal.write(a))}}this.internal.write("]")}}]),e.createAnnotation=function(e){var t=this.internal.getCurrentPageInfo();switch(e.type){case"link":this.link(e.bounds.x,e.bounds.y,e.bounds.w,e.bounds.h,e);break;case"text":case"freetext":t.pageContext.annotations.push(e)}},e.link=function(e,t,r,n,a){var o=this.internal.getCurrentPageInfo(),i=this.internal.getCoordinateString,s=this.internal.getVerticalCoordinateString;o.pageContext.annotations.push({finalBounds:{x:i(e),y:s(t),w:i(e+r),h:s(t+n)},options:a,type:"link"})},e.textWithLink=function(e,t,r,n){var a=this.getTextWidth(e),o=this.internal.getLineHeight()/this.internal.scaleFactor;return this.text(e,t,r,n),r+=.2*o,"center"===n.align&&(t-=a/2),"right"===n.align&&(t-=a),this.link(t,r-o,a,o,n),a},e.getTextWidth=function(e){var t=this.internal.getFontSize();return this.getStringUnitWidth(e)*t/this.internal.scaleFactor}}(P.API),function(e){var t={1569:[65152],1570:[65153,65154],1571:[65155,65156],1572:[65157,65158],1573:[65159,65160],1574:[65161,65162,65163,65164],1575:[65165,65166],1576:[65167,65168,65169,65170],1577:[65171,65172],1578:[65173,65174,65175,65176],1579:[65177,65178,65179,65180],1580:[65181,65182,65183,65184],1581:[65185,65186,65187,65188],1582:[65189,65190,65191,65192],1583:[65193,65194],1584:[65195,65196],1585:[65197,65198],1586:[65199,65200],1587:[65201,65202,65203,65204],1588:[65205,65206,65207,65208],1589:[65209,65210,65211,65212],1590:[65213,65214,65215,65216],1591:[65217,65218,65219,65220],1592:[65221,65222,65223,65224],1593:[65225,65226,65227,65228],1594:[65229,65230,65231,65232],1601:[65233,65234,65235,65236],1602:[65237,65238,65239,65240],1603:[65241,65242,65243,65244],1604:[65245,65246,65247,65248],1605:[65249,65250,65251,65252],1606:[65253,65254,65255,65256],1607:[65257,65258,65259,65260],1608:[65261,65262],1609:[65263,65264,64488,64489],1610:[65265,65266,65267,65268],1649:[64336,64337],1655:[64477],1657:[64358,64359,64360,64361],1658:[64350,64351,64352,64353],1659:[64338,64339,64340,64341],1662:[64342,64343,64344,64345],1663:[64354,64355,64356,64357],1664:[64346,64347,64348,64349],1667:[64374,64375,64376,64377],1668:[64370,64371,64372,64373],1670:[64378,64379,64380,64381],1671:[64382,64383,64384,64385],1672:[64392,64393],1676:[64388,64389],1677:[64386,64387],1678:[64390,64391],1681:[64396,64397],1688:[64394,64395],1700:[64362,64363,64364,64365],1702:[64366,64367,64368,64369],1705:[64398,64399,64400,64401],1709:[64467,64468,64469,64470],1711:[64402,64403,64404,64405],1713:[64410,64411,64412,64413],1715:[64406,64407,64408,64409],1722:[64414,64415],1723:[64416,64417,64418,64419],1726:[64426,64427,64428,64429],1728:[64420,64421],1729:[64422,64423,64424,64425],1733:[64480,64481],1734:[64473,64474],1735:[64471,64472],1736:[64475,64476],1737:[64482,64483],1739:[64478,64479],1740:[64508,64509,64510,64511],1744:[64484,64485,64486,64487],1746:[64430,64431],1747:[64432,64433]},r={65247:{65154:65269,65156:65271,65160:65273,65166:65275},65248:{65154:65270,65156:65272,65160:65274,65166:65276},65165:{65247:{65248:{65258:65010}}},1617:{1612:64606,1613:64607,1614:64608,1615:64609,1616:64610}},n={1612:64606,1613:64607,1614:64608,1615:64609,1616:64610},a=[1570,1571,1573,1575];e.__arabicParser__={};var o=e.__arabicParser__.isInArabicSubstitutionA=function(e){return void 0!==t[e.charCodeAt(0)]},i=e.__arabicParser__.isArabicLetter=function(e){return"string"==typeof e&&/^[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF]+$/.test(e)},s=e.__arabicParser__.isArabicEndLetter=function(e){return i(e)&&o(e)&&t[e.charCodeAt(0)].length<=2},c=e.__arabicParser__.isArabicAlfLetter=function(e){return i(e)&&a.indexOf(e.charCodeAt(0))>=0};e.__arabicParser__.arabicLetterHasIsolatedForm=function(e){return i(e)&&o(e)&&t[e.charCodeAt(0)].length>=1};var l=e.__arabicParser__.arabicLetterHasFinalForm=function(e){return i(e)&&o(e)&&t[e.charCodeAt(0)].length>=2};e.__arabicParser__.arabicLetterHasInitialForm=function(e){return i(e)&&o(e)&&t[e.charCodeAt(0)].length>=3};var u=e.__arabicParser__.arabicLetterHasMedialForm=function(e){return i(e)&&o(e)&&4==t[e.charCodeAt(0)].length},f=e.__arabicParser__.resolveLigatures=function(e){var t=0,n=r,a="",o=0;for(t=0;t<e.length;t+=1)void 0!==n[e.charCodeAt(t)]?(o++,"number"==typeof(n=n[e.charCodeAt(t)])&&(a+=String.fromCharCode(n),n=r,o=0),t===e.length-1&&(n=r,a+=e.charAt(t-(o-1)),t-=o-1,o=0)):(n=r,a+=e.charAt(t-o),t-=o,o=0);return a};e.__arabicParser__.isArabicDiacritic=function(e){return void 0!==e&&void 0!==n[e.charCodeAt(0)]};var h=e.__arabicParser__.getCorrectForm=function(e,t,r){return i(e)?!1===o(e)?-1:!l(e)||!i(t)&&!i(r)||!i(r)&&s(t)||s(e)&&!i(t)||s(e)&&c(t)||s(e)&&s(t)?0:u(e)&&i(t)&&!s(t)&&i(r)&&l(r)?3:s(e)||!i(r)?1:2:-1},d=function(e){var r=0,n=0,a=0,o="",s="",c="",l=(e=e||"").split("\\s+"),u=[];for(r=0;r<l.length;r+=1){for(u.push(""),n=0;n<l[r].length;n+=1)o=l[r][n],s=l[r][n-1],c=l[r][n+1],i(o)?(a=h(o,s,c),u[r]+=-1!==a?String.fromCharCode(t[o.charCodeAt(0)][a]):o):u[r]+=o;u[r]=f(u[r])}return u.join(" ")},p=e.__arabicParser__.processArabic=e.processArabic=function(){var e,t="string"==typeof arguments[0]?arguments[0]:arguments[0].text,r=[];if(Array.isArray(t)){var n=0;for(r=[],n=0;n<t.length;n+=1)Array.isArray(t[n])?r.push([d(t[n][0]),t[n][1],t[n][2]]):r.push([d(t[n])]);e=r}else e=d(t);return"string"==typeof arguments[0]?e:(arguments[0].text=e,arguments[0])};e.events.push(["preProcessText",p])}(P.API),function(e){e.autoPrint=function(e){var t;if("javascript"===((e=e||{}).variant=e.variant||"non-conform",e.variant))this.addJS("print({});");else this.internal.events.subscribe("postPutResources",(function(){t=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /Named"),this.internal.out("/Type /Action"),this.internal.out("/N /Print"),this.internal.out(">>"),this.internal.out("endobj")})),this.internal.events.subscribe("putCatalog",(function(){this.internal.out("/OpenAction "+t+" 0 R")}));return this}}(P.API),function(e){var t=function(){var e=void 0;Object.defineProperty(this,"pdf",{get:function(){return e},set:function(t){e=t}});var t=150;Object.defineProperty(this,"width",{get:function(){return t},set:function(e){t=isNaN(e)||!1===Number.isInteger(e)||e<0?150:e,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=t+1)}});var r=300;Object.defineProperty(this,"height",{get:function(){return r},set:function(e){r=isNaN(e)||!1===Number.isInteger(e)||e<0?300:e,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=r+1)}});var n=[];Object.defineProperty(this,"childNodes",{get:function(){return n},set:function(e){n=e}});var a={};Object.defineProperty(this,"style",{get:function(){return a},set:function(e){a=e}}),Object.defineProperty(this,"parentNode",{})};t.prototype.getContext=function(e,t){var r;if("2d"!==(e=e||"2d"))return null;for(r in t)this.pdf.context2d.hasOwnProperty(r)&&(this.pdf.context2d[r]=t[r]);return this.pdf.context2d._canvas=this,this.pdf.context2d},t.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},e.events.push(["initialized",function(){this.canvas=new t,this.canvas.pdf=this}])}(P.API),function(e){var t={left:0,top:0,bottom:0,right:0},r=!1,n=function(){void 0===this.internal.__cell__&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.__cell__.margins=Object.assign({},t),this.internal.__cell__.margins.width=this.getPageWidth(),a.call(this))},a=function(){this.internal.__cell__.lastCell=new o,this.internal.__cell__.pages=1},o=function(){var e=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return e},set:function(t){e=t}});var t=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return t},set:function(e){t=e}});var r=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return r},set:function(e){r=e}});var n=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return n},set:function(e){n=e}});var a=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return a},set:function(e){a=e}});var o=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return o},set:function(e){o=e}});var i=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return i},set:function(e){i=e}}),this};o.prototype.clone=function(){return new o(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},o.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},e.setHeaderFunction=function(e){return n.call(this),this.internal.__cell__.headerFunction="function"==typeof e?e:void 0,this},e.getTextDimensions=function(e,t){n.call(this);var r=(t=t||{}).fontSize||this.getFontSize(),a=t.font||this.getFont(),o=t.scaleFactor||this.internal.scaleFactor,i=0,s=0,c=0,l=this;if(!Array.isArray(e)&&"string"!=typeof e){if("number"!=typeof e)throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");e=String(e)}const u=t.maxWidth;u>0?"string"==typeof e?e=this.splitTextToSize(e,u):"[object Array]"===Object.prototype.toString.call(e)&&(e=e.reduce((function(e,t){return e.concat(l.splitTextToSize(t,u))}),[])):e=Array.isArray(e)?e:[e];for(var f=0;f<e.length;f++)i<(c=this.getStringUnitWidth(e[f],{font:a})*r)&&(i=c);return 0!==i&&(s=e.length),{w:i/=o,h:Math.max((s*r*this.getLineHeightFactor()-r*(this.getLineHeightFactor()-1))/o,0)}},e.cellAddPage=function(){n.call(this),this.addPage();var e=this.internal.__cell__.margins||t;return this.internal.__cell__.lastCell=new o(e.left,e.top,void 0,void 0),this.internal.__cell__.pages+=1,this};var i=e.cell=function(){var e;e=arguments[0]instanceof o?arguments[0]:new o(arguments[0],arguments[1],arguments[2],arguments[3],arguments[4],arguments[5]),n.call(this);var a=this.internal.__cell__.lastCell,i=this.internal.__cell__.padding,s=this.internal.__cell__.margins||t,c=this.internal.__cell__.tableHeaderRow,l=this.internal.__cell__.printHeaders;return void 0!==a.lineNumber&&(a.lineNumber===e.lineNumber?(e.x=(a.x||0)+(a.width||0),e.y=a.y||0):a.y+a.height+e.height+s.bottom>this.getPageHeight()?(this.cellAddPage(),e.y=s.top,l&&c&&(this.printHeaderRow(e.lineNumber,!0),e.y+=c[0].height)):e.y=a.y+a.height||e.y),void 0!==e.text[0]&&(this.rect(e.x,e.y,e.width,e.height,!0===r?"FD":void 0),"right"===e.align?this.text(e.text,e.x+e.width-i,e.y+i,{align:"right",baseline:"top"}):"center"===e.align?this.text(e.text,e.x+e.width/2,e.y+i,{align:"center",baseline:"top",maxWidth:e.width-i-i}):this.text(e.text,e.x+i,e.y+i,{align:"left",baseline:"top",maxWidth:e.width-i-i})),this.internal.__cell__.lastCell=e,this};e.table=function(e,r,c,l,u){if(n.call(this),!c)throw new Error("No data for PDF table.");var f,h,d,p,g=[],m=[],v=[],b={},y={},w=[],S=[],x=(u=u||{}).autoSize||!1,A=!1!==u.printHeaders,k=u.css&&void 0!==u.css["font-size"]?16*u.css["font-size"]:u.fontSize||12,T=u.margins||Object.assign({width:this.getPageWidth()},t),E="number"==typeof u.padding?u.padding:3,_=u.headerBackgroundColor||"#c8c8c8";if(a.call(this),this.internal.__cell__.printHeaders=A,this.internal.__cell__.margins=T,this.internal.__cell__.table_font_size=k,this.internal.__cell__.padding=E,this.internal.__cell__.headerBackgroundColor=_,this.setFontSize(k),null==l)m=g=Object.keys(c[0]),v=g.map((function(){return"left"}));else if(Array.isArray(l)&&"object"==typeof l[0])for(g=l.map((function(e){return e.name})),m=l.map((function(e){return e.prompt||e.name||""})),v=l.map((function(e){return e.align||"left"})),f=0;f<l.length;f+=1)y[l[f].name]=l[f].width*(19.049976/25.4);else Array.isArray(l)&&"string"==typeof l[0]&&(m=g=l,v=g.map((function(){return"left"})));if(x||Array.isArray(l)&&"string"==typeof l[0])for(f=0;f<g.length;f+=1){for(b[p=g[f]]=c.map((function(e){return e[p]})),this.setFont(void 0,"bold"),w.push(this.getTextDimensions(m[f],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w),h=b[p],this.setFont(void 0,"normal"),d=0;d<h.length;d+=1)w.push(this.getTextDimensions(h[d],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w);y[p]=Math.max.apply(null,w)+E+E,w=[]}if(A){var N={};for(f=0;f<g.length;f+=1)N[g[f]]={},N[g[f]].text=m[f],N[g[f]].align=v[f];var C=s.call(this,N,y);S=g.map((function(t){return new o(e,r,y[t],C,N[t].text,void 0,N[t].align)})),this.setTableHeaderRow(S),this.printHeaderRow(1,!1)}var O=l.reduce((function(e,t){return e[t.name]=t.align,e}),{});for(f=0;f<c.length;f+=1){var R=s.call(this,c[f],y);for(d=0;d<g.length;d+=1)i.call(this,new o(e,r,y[g[d]],R,c[f][g[d]],f+2,O[g[d]]))}return this.internal.__cell__.table_x=e,this.internal.__cell__.table_y=r,this};var s=function(e,t){var r=this.internal.__cell__.padding,n=this.internal.__cell__.table_font_size,a=this.internal.scaleFactor;return Object.keys(e).map((function(n){var a=e[n];return this.splitTextToSize(a.hasOwnProperty("text")?a.text:a,t[n]-r-r)}),this).map((function(e){return this.getLineHeightFactor()*e.length*n/a+r+r}),this).reduce((function(e,t){return Math.max(e,t)}),0)};e.setTableHeaderRow=function(e){n.call(this),this.internal.__cell__.tableHeaderRow=e},e.printHeaderRow=function(e,t){if(n.call(this),!this.internal.__cell__.tableHeaderRow)throw new Error("Property tableHeaderRow does not exist.");var a;if(r=!0,"function"==typeof this.internal.__cell__.headerFunction){var s=this.internal.__cell__.headerFunction(this,this.internal.__cell__.pages);this.internal.__cell__.lastCell=new o(s[0],s[1],s[2],s[3],void 0,-1)}this.setFont(void 0,"bold");for(var c=[],l=0;l<this.internal.__cell__.tableHeaderRow.length;l+=1)a=this.internal.__cell__.tableHeaderRow[l].clone(),t&&(a.y=this.internal.__cell__.margins.top||0,c.push(a)),a.lineNumber=e,this.setFillColor(this.internal.__cell__.headerBackgroundColor),i.call(this,a);c.length>0&&this.setTableHeaderRow(c),this.setFont(void 0,"normal"),r=!1}}(P.API);var Se={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},xe=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],Ae=we(xe),ke=[100,200,300,400,500,600,700,800,900],Te=we(ke);function Ee(e){var t=e.family.replace(/"|'/g,"").toLowerCase(),r=function(e){return Se[e=e||"normal"]?e:"normal"}(e.style),n=function(e){return e?"number"==typeof e?e>=100&&e<=900&&e%100==0?e:400:/^\d00$/.test(e)?parseInt(e):"bold"===e?700:400:400}(e.weight),a=function(e){return"number"==typeof Ae[e=e||"normal"]?e:"normal"}(e.stretch);return{family:t,style:r,weight:n,stretch:a,src:e.src||[],ref:e.ref||{name:t,style:[a,r,n].join(" ")}}}function _e(e,t,r,n){var a;for(a=r;a>=0&&a<t.length;a+=n)if(e[t[a]])return e[t[a]];for(a=r;a>=0&&a<t.length;a-=n)if(e[t[a]])return e[t[a]]}var Ne={"sans-serif":"helvetica",fixed:"courier",monospace:"courier",terminal:"courier",cursive:"times",fantasy:"times",serif:"times"},Ce={caption:"times",icon:"times",menu:"times","message-box":"times","small-caption":"times","status-bar":"times"};function Oe(e){return[e.stretch,e.style,e.weight,e.family].join(" ")}function Re(e){return e.trimLeft()}function Pe(e,t){for(var r=0;r<e.length;){if(e.charAt(r)===t)return[e.substring(0,r),e.substring(r+1)];r+=1}return null}function Le(e){var t=e.match(/^(-[a-z_]|[a-z_])[a-z0-9_-]*/i);return null===t?null:[t[0],e.substring(t[0].length)]}var Ie=["times"];!function(e){var t,r,a,o,i,s,c,l,f,h=function(e){return e=e||{},this.isStrokeTransparent=e.isStrokeTransparent||!1,this.strokeOpacity=e.strokeOpacity||1,this.strokeStyle=e.strokeStyle||"#000000",this.fillStyle=e.fillStyle||"#000000",this.isFillTransparent=e.isFillTransparent||!1,this.fillOpacity=e.fillOpacity||1,this.font=e.font||"10px sans-serif",this.textBaseline=e.textBaseline||"alphabetic",this.textAlign=e.textAlign||"left",this.lineWidth=e.lineWidth||1,this.lineJoin=e.lineJoin||"miter",this.lineCap=e.lineCap||"butt",this.path=e.path||[],this.transform=void 0!==e.transform?e.transform.clone():new l,this.globalCompositeOperation=e.globalCompositeOperation||"normal",this.globalAlpha=e.globalAlpha||1,this.clip_path=e.clip_path||[],this.currentPoint=e.currentPoint||new s,this.miterLimit=e.miterLimit||10,this.lastPoint=e.lastPoint||new s,this.ignoreClearRect="boolean"!=typeof e.ignoreClearRect||e.ignoreClearRect,this};e.events.push(["initialized",function(){this.context2d=new d(this),t=this.internal.f2,r=this.internal.getCoordinateString,a=this.internal.getVerticalCoordinateString,o=this.internal.getHorizontalCoordinate,i=this.internal.getVerticalCoordinate,s=this.internal.Point,c=this.internal.Rectangle,l=this.internal.Matrix,f=new h}]);var d=function(e){Object.defineProperty(this,"canvas",{get:function(){return{parentNode:!1,style:!1}}});var t=e;Object.defineProperty(this,"pdf",{get:function(){return t}});var r=!1;Object.defineProperty(this,"pageWrapXEnabled",{get:function(){return r},set:function(e){r=Boolean(e)}});var n=!1;Object.defineProperty(this,"pageWrapYEnabled",{get:function(){return n},set:function(e){n=Boolean(e)}});var a=0;Object.defineProperty(this,"posX",{get:function(){return a},set:function(e){isNaN(e)||(a=e)}});var o=0;Object.defineProperty(this,"posY",{get:function(){return o},set:function(e){isNaN(e)||(o=e)}});var i=!1;Object.defineProperty(this,"autoPaging",{get:function(){return i},set:function(e){i=Boolean(e)}});var s=0;Object.defineProperty(this,"lastBreak",{get:function(){return s},set:function(e){s=e}});var c=[];Object.defineProperty(this,"pageBreaks",{get:function(){return c},set:function(e){c=e}}),Object.defineProperty(this,"ctx",{get:function(){return f},set:function(e){e instanceof h&&(f=e)}}),Object.defineProperty(this,"path",{get:function(){return f.path},set:function(e){f.path=e}});var l=[];Object.defineProperty(this,"ctxStack",{get:function(){return l},set:function(e){l=e}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(e){var t;t=p(e),this.ctx.fillStyle=t.style,this.ctx.isFillTransparent=0===t.a,this.ctx.fillOpacity=t.a,this.pdf.setFillColor(t.r,t.g,t.b,{a:t.a}),this.pdf.setTextColor(t.r,t.g,t.b,{a:t.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(e){var t=p(e);this.ctx.strokeStyle=t.style,this.ctx.isStrokeTransparent=0===t.a,this.ctx.strokeOpacity=t.a,0===t.a?this.pdf.setDrawColor(255,255,255):(t.a,this.pdf.setDrawColor(t.r,t.g,t.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(e){-1!==["butt","round","square"].indexOf(e)&&(this.ctx.lineCap=e,this.pdf.setLineCap(e))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(e){isNaN(e)||(this.ctx.lineWidth=e,this.pdf.setLineWidth(e))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(e){-1!==["bevel","round","miter"].indexOf(e)&&(this.ctx.lineJoin=e,this.pdf.setLineJoin(e))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(e){isNaN(e)||(this.ctx.miterLimit=e,this.pdf.setMiterLimit(e))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(e){this.ctx.textBaseline=e}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(e){-1!==["right","end","center","left","start"].indexOf(e)&&(this.ctx.textAlign=e)}});var u=null;function d(e,t){if(null===u){var r=function(e){var t=[];return Object.keys(e).forEach((function(r){e[r].forEach((function(e){var n=null;switch(e){case"bold":n={family:r,weight:"bold"};break;case"italic":n={family:r,style:"italic"};break;case"bolditalic":n={family:r,weight:"bold",style:"italic"};break;case"":case"normal":n={family:r}}null!==n&&(n.ref={name:r,style:e},t.push(n))}))})),t}(e.getFontList());u=function(e){for(var t={},r=0;r<e.length;++r){var n=Ee(e[r]),a=n.family,o=n.stretch,i=n.style,s=n.weight;t[a]=t[a]||{},t[a][o]=t[a][o]||{},t[a][o][i]=t[a][o][i]||{},t[a][o][i][s]=n}return t}(r.concat(t))}return u}var g=null;Object.defineProperty(this,"fontFaces",{get:function(){return g},set:function(e){u=null,g=e}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(e){var t;if(this.ctx.font=e,null!==(t=/^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:\%|in|[cem]m|ex|p[ctx]))(?:\s*\/\s*(normal|[.\d]+(?:\%|in|[cem]m|ex|p[ctx])))?\s*([-_,\"\'\sa-z]+?)\s*$/i.exec(e))){var r=t[1],n=(t[2],t[3]),a=t[4],o=(t[5],t[6]),i=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(a)[2];a="px"===i?Math.floor(parseFloat(a)*this.pdf.internal.scaleFactor):"em"===i?Math.floor(parseFloat(a)*this.pdf.getFontSize()):Math.floor(parseFloat(a)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(a);var s=function(e){var t,r,n=[],a=e.trim();if(""===a)return Ie;if(a in Ce)return[Ce[a]];for(;""!==a;){switch(r=null,t=(a=Re(a)).charAt(0)){case'"':case"'":r=Pe(a.substring(1),t);break;default:r=Le(a)}if(null===r)return Ie;if(n.push(r[0]),""!==(a=Re(r[1]))&&","!==a.charAt(0))return Ie;a=a.replace(/^,/,"")}return n}(o);if(this.fontFaces){var c=function(e,t,r){for(var n=(r=r||{}).defaultFontFamily||"times",a=Object.assign({},Ne,r.genericFontFamilies||{}),o=null,i=null,s=0;s<t.length;++s)if(a[(o=Ee(t[s])).family]&&(o.family=a[o.family]),e.hasOwnProperty(o.family)){i=e[o.family];break}if(!(i=i||e[n]))throw new Error("Could not find a font-family for the rule '"+Oe(o)+"' and default family '"+n+"'.");if(i=function(e,t){if(t[e])return t[e];var r=Ae[e],n=r<=Ae.normal?-1:1,a=_e(t,xe,r,n);if(!a)throw new Error("Could not find a matching font-stretch value for "+e);return a}(o.stretch,i),i=function(e,t){if(t[e])return t[e];for(var r=Se[e],n=0;n<r.length;++n)if(t[r[n]])return t[r[n]];throw new Error("Could not find a matching font-style for "+e)}(o.style,i),!(i=function(e,t){if(t[e])return t[e];if(400===e&&t[500])return t[500];if(500===e&&t[400])return t[400];var r=Te[e],n=_e(t,ke,r,e<400?-1:1);if(!n)throw new Error("Could not find a matching font-weight for value "+e);return n}(o.weight,i)))throw new Error("Failed to resolve a font for the rule '"+Oe(o)+"'.");return i}(d(this.pdf,this.fontFaces),s.map((function(e){return{family:e,stretch:"normal",weight:n,style:r}})));this.pdf.setFont(c.ref.name,c.ref.style)}else{var l="";("bold"===n||parseInt(n,10)>=700||"bold"===r)&&(l="bold"),"italic"===r&&(l+="italic"),0===l.length&&(l="normal");for(var u="",f={arial:"Helvetica",Arial:"Helvetica",verdana:"Helvetica",Verdana:"Helvetica",helvetica:"Helvetica",Helvetica:"Helvetica","sans-serif":"Helvetica",fixed:"Courier",monospace:"Courier",terminal:"Courier",cursive:"Times",fantasy:"Times",serif:"Times"},h=0;h<s.length;h++){if(void 0!==this.pdf.internal.getFont(s[h],l,{noFallback:!0,disableWarning:!0})){u=s[h];break}if("bolditalic"===l&&void 0!==this.pdf.internal.getFont(s[h],"bold",{noFallback:!0,disableWarning:!0}))u=s[h],l="bold";else if(void 0!==this.pdf.internal.getFont(s[h],"normal",{noFallback:!0,disableWarning:!0})){u=s[h],l="normal";break}}if(""===u)for(var p=0;p<s.length;p++)if(f[s[p]]){u=f[s[p]];break}u=""===u?"Times":u,this.pdf.setFont(u,l)}}}}),Object.defineProperty(this,"globalCompositeOperation",{get:function(){return this.ctx.globalCompositeOperation},set:function(e){this.ctx.globalCompositeOperation=e}}),Object.defineProperty(this,"globalAlpha",{get:function(){return this.ctx.globalAlpha},set:function(e){this.ctx.globalAlpha=e}}),Object.defineProperty(this,"ignoreClearRect",{get:function(){return this.ctx.ignoreClearRect},set:function(e){this.ctx.ignoreClearRect=Boolean(e)}})};d.prototype.fill=function(){S.call(this,"fill",!1)},d.prototype.stroke=function(){S.call(this,"stroke",!1)},d.prototype.beginPath=function(){this.path=[{type:"begin"}]},d.prototype.moveTo=function(e,t){if(isNaN(e)||isNaN(t))throw n.error("jsPDF.context2d.moveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.moveTo");var r=this.ctx.transform.applyToPoint(new s(e,t));this.path.push({type:"mt",x:r.x,y:r.y}),this.ctx.lastPoint=new s(e,t)},d.prototype.closePath=function(){var e=new s(0,0),t=0;for(t=this.path.length-1;-1!==t;t--)if("begin"===this.path[t].type&&"object"==typeof this.path[t+1]&&"number"==typeof this.path[t+1].x){e=new s(this.path[t+1].x,this.path[t+1].y),this.path.push({type:"lt",x:e.x,y:e.y});break}"object"==typeof this.path[t+2]&&"number"==typeof this.path[t+2].x&&this.path.push(JSON.parse(JSON.stringify(this.path[t+2]))),this.path.push({type:"close"}),this.ctx.lastPoint=new s(e.x,e.y)},d.prototype.lineTo=function(e,t){if(isNaN(e)||isNaN(t))throw n.error("jsPDF.context2d.lineTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.lineTo");var r=this.ctx.transform.applyToPoint(new s(e,t));this.path.push({type:"lt",x:r.x,y:r.y}),this.ctx.lastPoint=new s(r.x,r.y)},d.prototype.clip=function(){this.ctx.clip_path=JSON.parse(JSON.stringify(this.path)),S.call(this,null,!0)},d.prototype.quadraticCurveTo=function(e,t,r,a){if(isNaN(r)||isNaN(a)||isNaN(e)||isNaN(t))throw n.error("jsPDF.context2d.quadraticCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.quadraticCurveTo");var o=this.ctx.transform.applyToPoint(new s(r,a)),i=this.ctx.transform.applyToPoint(new s(e,t));this.path.push({type:"qct",x1:i.x,y1:i.y,x:o.x,y:o.y}),this.ctx.lastPoint=new s(o.x,o.y)},d.prototype.bezierCurveTo=function(e,t,r,a,o,i){if(isNaN(o)||isNaN(i)||isNaN(e)||isNaN(t)||isNaN(r)||isNaN(a))throw n.error("jsPDF.context2d.bezierCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.bezierCurveTo");var c=this.ctx.transform.applyToPoint(new s(o,i)),l=this.ctx.transform.applyToPoint(new s(e,t)),u=this.ctx.transform.applyToPoint(new s(r,a));this.path.push({type:"bct",x1:l.x,y1:l.y,x2:u.x,y2:u.y,x:c.x,y:c.y}),this.ctx.lastPoint=new s(c.x,c.y)},d.prototype.arc=function(e,t,r,a,o,i){if(isNaN(e)||isNaN(t)||isNaN(r)||isNaN(a)||isNaN(o))throw n.error("jsPDF.context2d.arc: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.arc");if(i=Boolean(i),!this.ctx.transform.isIdentity){var c=this.ctx.transform.applyToPoint(new s(e,t));e=c.x,t=c.y;var l=this.ctx.transform.applyToPoint(new s(0,r)),u=this.ctx.transform.applyToPoint(new s(0,0));r=Math.sqrt(Math.pow(l.x-u.x,2)+Math.pow(l.y-u.y,2))}Math.abs(o-a)>=2*Math.PI&&(a=0,o=2*Math.PI),this.path.push({type:"arc",x:e,y:t,radius:r,startAngle:a,endAngle:o,counterclockwise:i})},d.prototype.arcTo=function(e,t,r,n,a){throw new Error("arcTo not implemented.")},d.prototype.rect=function(e,t,r,a){if(isNaN(e)||isNaN(t)||isNaN(r)||isNaN(a))throw n.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(e,t),this.lineTo(e+r,t),this.lineTo(e+r,t+a),this.lineTo(e,t+a),this.lineTo(e,t),this.lineTo(e+r,t),this.lineTo(e,t)},d.prototype.fillRect=function(e,t,r,a){if(isNaN(e)||isNaN(t)||isNaN(r)||isNaN(a))throw n.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!g.call(this)){var o={};"butt"!==this.lineCap&&(o.lineCap=this.lineCap,this.lineCap="butt"),"miter"!==this.lineJoin&&(o.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(e,t,r,a),this.fill(),o.hasOwnProperty("lineCap")&&(this.lineCap=o.lineCap),o.hasOwnProperty("lineJoin")&&(this.lineJoin=o.lineJoin)}},d.prototype.strokeRect=function(e,t,r,a){if(isNaN(e)||isNaN(t)||isNaN(r)||isNaN(a))throw n.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");m.call(this)||(this.beginPath(),this.rect(e,t,r,a),this.stroke())},d.prototype.clearRect=function(e,t,r,a){if(isNaN(e)||isNaN(t)||isNaN(r)||isNaN(a))throw n.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(e,t,r,a))},d.prototype.save=function(e){e="boolean"!=typeof e||e;for(var t=this.pdf.internal.getCurrentPageInfo().pageNumber,r=0;r<this.pdf.internal.getNumberOfPages();r++)this.pdf.setPage(r+1),this.pdf.internal.out("q");if(this.pdf.setPage(t),e){this.ctx.fontSize=this.pdf.internal.getFontSize();var n=new h(this.ctx);this.ctxStack.push(this.ctx),this.ctx=n}},d.prototype.restore=function(e){e="boolean"!=typeof e||e;for(var t=this.pdf.internal.getCurrentPageInfo().pageNumber,r=0;r<this.pdf.internal.getNumberOfPages();r++)this.pdf.setPage(r+1),this.pdf.internal.out("Q");this.pdf.setPage(t),e&&0!==this.ctxStack.length&&(this.ctx=this.ctxStack.pop(),this.fillStyle=this.ctx.fillStyle,this.strokeStyle=this.ctx.strokeStyle,this.font=this.ctx.font,this.lineCap=this.ctx.lineCap,this.lineWidth=this.ctx.lineWidth,this.lineJoin=this.ctx.lineJoin)},d.prototype.toDataURL=function(){throw new Error("toDataUrl not implemented.")};var p=function(e){var t,r,n,a;if(!0===e.isCanvasGradient&&(e=e.getColor()),!e)return{r:0,g:0,b:0,a:0,style:e};if(/transparent|rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*0+\s*\)/.test(e))t=0,r=0,n=0,a=0;else{var o=/rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/.exec(e);if(null!==o)t=parseInt(o[1]),r=parseInt(o[2]),n=parseInt(o[3]),a=1;else if(null!==(o=/rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*([\d.]+)\s*\)/.exec(e)))t=parseInt(o[1]),r=parseInt(o[2]),n=parseInt(o[3]),a=parseFloat(o[4]);else{if(a=1,"string"==typeof e&&"#"!==e.charAt(0)){var i=new u(e);e=i.ok?i.toHex():"#000000"}4===e.length?(t=e.substring(1,2),t+=t,r=e.substring(2,3),r+=r,n=e.substring(3,4),n+=n):(t=e.substring(1,3),r=e.substring(3,5),n=e.substring(5,7)),t=parseInt(t,16),r=parseInt(r,16),n=parseInt(n,16)}}return{r:t,g:r,b:n,a:a,style:e}},g=function(){return this.ctx.isFillTransparent||0==this.globalAlpha},m=function(){return Boolean(this.ctx.isStrokeTransparent||0==this.globalAlpha)};d.prototype.fillText=function(e,t,r,a){if(isNaN(t)||isNaN(r)||"string"!=typeof e)throw n.error("jsPDF.context2d.fillText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillText");if(a=isNaN(a)?void 0:a,!g.call(this)){r=A.call(this,r);var o=I(this.ctx.transform.rotation),i=this.ctx.transform.scaleX;N.call(this,{text:e,x:t,y:r,scale:i,angle:o,align:this.textAlign,maxWidth:a})}},d.prototype.strokeText=function(e,t,r,a){if(isNaN(t)||isNaN(r)||"string"!=typeof e)throw n.error("jsPDF.context2d.strokeText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeText");if(!m.call(this)){a=isNaN(a)?void 0:a,r=A.call(this,r);var o=I(this.ctx.transform.rotation),i=this.ctx.transform.scaleX;N.call(this,{text:e,x:t,y:r,scale:i,renderingMode:"stroke",angle:o,align:this.textAlign,maxWidth:a})}},d.prototype.measureText=function(e){if("string"!=typeof e)throw n.error("jsPDF.context2d.measureText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.measureText");var t=this.pdf,r=this.pdf.internal.scaleFactor,a=t.internal.getFontSize(),o=t.getStringUnitWidth(e)*a/t.internal.scaleFactor;return new function(e){var t=(e=e||{}).width||0;return Object.defineProperty(this,"width",{get:function(){return t}}),this}({width:o*=Math.round(96*r/72*1e4)/1e4})},d.prototype.scale=function(e,t){if(isNaN(e)||isNaN(t))throw n.error("jsPDF.context2d.scale: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.scale");var r=new l(e,0,0,t,0,0);this.ctx.transform=this.ctx.transform.multiply(r)},d.prototype.rotate=function(e){if(isNaN(e))throw n.error("jsPDF.context2d.rotate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rotate");var t=new l(Math.cos(e),Math.sin(e),-Math.sin(e),Math.cos(e),0,0);this.ctx.transform=this.ctx.transform.multiply(t)},d.prototype.translate=function(e,t){if(isNaN(e)||isNaN(t))throw n.error("jsPDF.context2d.translate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.translate");var r=new l(1,0,0,1,e,t);this.ctx.transform=this.ctx.transform.multiply(r)},d.prototype.transform=function(e,t,r,a,o,i){if(isNaN(e)||isNaN(t)||isNaN(r)||isNaN(a)||isNaN(o)||isNaN(i))throw n.error("jsPDF.context2d.transform: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.transform");var s=new l(e,t,r,a,o,i);this.ctx.transform=this.ctx.transform.multiply(s)},d.prototype.setTransform=function(e,t,r,n,a,o){e=isNaN(e)?1:e,t=isNaN(t)?0:t,r=isNaN(r)?0:r,n=isNaN(n)?1:n,a=isNaN(a)?0:a,o=isNaN(o)?0:o,this.ctx.transform=new l(e,t,r,n,a,o)},d.prototype.drawImage=function(e,t,r,n,a,o,i,s,u){var f=this.pdf.getImageProperties(e),h=1,d=1,p=1,g=1;void 0!==n&&void 0!==s&&(p=s/n,g=u/a,h=f.width/n*s/n,d=f.height/a*u/a),void 0===o&&(o=t,i=r,t=0,r=0),void 0!==n&&void 0===s&&(s=n,u=a),void 0===n&&void 0===s&&(s=f.width,u=f.height);for(var m,b=this.ctx.transform.decompose(),S=I(b.rotate.shx),A=new l,k=(A=(A=(A=A.multiply(b.translate)).multiply(b.skew)).multiply(b.scale)).applyToRectangle(new c(o-t*p,i-r*g,n*h,a*d)),T=v.call(this,k),E=[],_=0;_<T.length;_+=1)-1===E.indexOf(T[_])&&E.push(T[_]);if(w(E),this.autoPaging)for(var N=E[0],C=E[E.length-1],O=N;O<C+1;O++){if(this.pdf.setPage(O),0!==this.ctx.clip_path.length){var R=this.path;m=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=y(m,this.posX,-1*this.pdf.internal.pageSize.height*(O-1)+this.posY),x.call(this,"fill",!0),this.path=R}var P=JSON.parse(JSON.stringify(k));P=y([P],this.posX,-1*this.pdf.internal.pageSize.height*(O-1)+this.posY)[0],this.pdf.addImage(e,"JPEG",P.x,P.y,P.w,P.h,null,null,S)}else this.pdf.addImage(e,"JPEG",k.x,k.y,k.w,k.h,null,null,S)};var v=function(e,t,r){var n=[];switch(t=t||this.pdf.internal.pageSize.width,r=r||this.pdf.internal.pageSize.height,e.type){default:case"mt":case"lt":n.push(Math.floor((e.y+this.posY)/r)+1);break;case"arc":n.push(Math.floor((e.y+this.posY-e.radius)/r)+1),n.push(Math.floor((e.y+this.posY+e.radius)/r)+1);break;case"qct":var a=F(this.ctx.lastPoint.x,this.ctx.lastPoint.y,e.x1,e.y1,e.x,e.y);n.push(Math.floor(a.y/r)+1),n.push(Math.floor((a.y+a.h)/r)+1);break;case"bct":var o=D(this.ctx.lastPoint.x,this.ctx.lastPoint.y,e.x1,e.y1,e.x2,e.y2,e.x,e.y);n.push(Math.floor(o.y/r)+1),n.push(Math.floor((o.y+o.h)/r)+1);break;case"rect":n.push(Math.floor((e.y+this.posY)/r)+1),n.push(Math.floor((e.y+e.h+this.posY)/r)+1)}for(var i=0;i<n.length;i+=1)for(;this.pdf.internal.getNumberOfPages()<n[i];)b.call(this);return n},b=function(){var e=this.fillStyle,t=this.strokeStyle,r=this.font,n=this.lineCap,a=this.lineWidth,o=this.lineJoin;this.pdf.addPage(),this.fillStyle=e,this.strokeStyle=t,this.font=r,this.lineCap=n,this.lineWidth=a,this.lineJoin=o},y=function(e,t,r){for(var n=0;n<e.length;n++)switch(e[n].type){case"bct":e[n].x2+=t,e[n].y2+=r;case"qct":e[n].x1+=t,e[n].y1+=r;default:e[n].x+=t,e[n].y+=r}return e},w=function(e){return e.sort((function(e,t){return e-t}))},S=function(e,t){for(var r,n,a=this.fillStyle,o=this.strokeStyle,i=this.lineCap,s=this.lineWidth,c=s*this.ctx.transform.scaleX,l=this.lineJoin,u=JSON.parse(JSON.stringify(this.path)),f=JSON.parse(JSON.stringify(this.path)),h=[],d=0;d<f.length;d++)if(void 0!==f[d].x)for(var p=v.call(this,f[d]),g=0;g<p.length;g+=1)-1===h.indexOf(p[g])&&h.push(p[g]);for(var m=0;m<h.length;m++)for(;this.pdf.internal.getNumberOfPages()<h[m];)b.call(this);if(w(h),this.autoPaging)for(var S=h[0],A=h[h.length-1],k=S;k<A+1;k++){if(this.pdf.setPage(k),this.fillStyle=a,this.strokeStyle=o,this.lineCap=i,this.lineWidth=c,this.lineJoin=l,0!==this.ctx.clip_path.length){var T=this.path;r=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=y(r,this.posX,-1*this.pdf.internal.pageSize.height*(k-1)+this.posY),x.call(this,e,!0),this.path=T}n=JSON.parse(JSON.stringify(u)),this.path=y(n,this.posX,-1*this.pdf.internal.pageSize.height*(k-1)+this.posY),!1!==t&&0!==k||x.call(this,e,t),this.lineWidth=s}else this.lineWidth=c,x.call(this,e,t),this.lineWidth=s;this.path=u},x=function(e,t){if(("stroke"!==e||t||!m.call(this))&&("stroke"===e||t||!g.call(this))){for(var r,n,a=[],o=this.path,i=0;i<o.length;i++){var s=o[i];switch(s.type){case"begin":a.push({begin:!0});break;case"close":a.push({close:!0});break;case"mt":a.push({start:s,deltas:[],abs:[]});break;case"lt":var c=a.length;if(!isNaN(o[i-1].x)&&(r=[s.x-o[i-1].x,s.y-o[i-1].y],c>0))for(;c>=0;c--)if(!0!==a[c-1].close&&!0!==a[c-1].begin){a[c-1].deltas.push(r),a[c-1].abs.push(s);break}break;case"bct":r=[s.x1-o[i-1].x,s.y1-o[i-1].y,s.x2-o[i-1].x,s.y2-o[i-1].y,s.x-o[i-1].x,s.y-o[i-1].y],a[a.length-1].deltas.push(r);break;case"qct":var l=o[i-1].x+2/3*(s.x1-o[i-1].x),u=o[i-1].y+2/3*(s.y1-o[i-1].y),f=s.x+2/3*(s.x1-s.x),h=s.y+2/3*(s.y1-s.y),d=s.x,p=s.y;r=[l-o[i-1].x,u-o[i-1].y,f-o[i-1].x,h-o[i-1].y,d-o[i-1].x,p-o[i-1].y],a[a.length-1].deltas.push(r);break;case"arc":a.push({deltas:[],abs:[],arc:!0}),Array.isArray(a[a.length-1].abs)&&a[a.length-1].abs.push(s)}}n=t?null:"stroke"===e?"stroke":"fill";for(var v=0;v<a.length;v++){if(a[v].arc){for(var b=a[v].abs,y=0;y<b.length;y++){var w=b[y];"arc"===w.type?k.call(this,w.x,w.y,w.radius,w.startAngle,w.endAngle,w.counterclockwise,void 0,t):C.call(this,w.x,w.y)}T.call(this,n),this.pdf.internal.out("h")}if(!a[v].arc&&!0!==a[v].close&&!0!==a[v].begin){var S=a[v].start.x,x=a[v].start.y;O.call(this,a[v].deltas,S,x)}}n&&T.call(this,n),t&&E.call(this)}},A=function(e){var t=this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor,r=t*(this.pdf.internal.getLineHeightFactor()-1);switch(this.ctx.textBaseline){case"bottom":return e-r;case"top":return e+t-r;case"hanging":return e+t-2*r;case"middle":return e+t/2-r;default:return e}};d.prototype.createLinearGradient=function(){var e=function(){};return e.colorStops=[],e.addColorStop=function(e,t){this.colorStops.push([e,t])},e.getColor=function(){return 0===this.colorStops.length?"#000000":this.colorStops[0][1]},e.isCanvasGradient=!0,e},d.prototype.createPattern=function(){return this.createLinearGradient()},d.prototype.createRadialGradient=function(){return this.createLinearGradient()};var k=function(e,t,r,n,a,o,i,s){for(var c=P.call(this,r,n,a,o),l=0;l<c.length;l++){var u=c[l];0===l&&_.call(this,u.x1+e,u.y1+t),R.call(this,e,t,u.x2,u.y2,u.x3,u.y3,u.x4,u.y4)}s?E.call(this):T.call(this,i)},T=function(e){switch(e){case"stroke":this.pdf.internal.out("S");break;case"fill":this.pdf.internal.out("f")}},E=function(){this.pdf.clip(),this.pdf.discardPath()},_=function(e,t){this.pdf.internal.out(r(e)+" "+a(t)+" m")},N=function(e){var t;switch(e.align){case"right":case"end":t="right";break;case"center":t="center";break;default:t="left"}var r=this.ctx.transform.applyToPoint(new s(e.x,e.y)),n=this.ctx.transform.decompose(),a=new l;a=(a=(a=a.multiply(n.translate)).multiply(n.skew)).multiply(n.scale);for(var o,i,u,f=this.pdf.getTextDimensions(e.text),h=this.ctx.transform.applyToRectangle(new c(e.x,e.y,f.w,f.h)),d=a.applyToRectangle(new c(e.x,e.y-f.h,f.w,f.h)),p=v.call(this,d),g=[],m=0;m<p.length;m+=1)-1===g.indexOf(p[m])&&g.push(p[m]);if(w(g),!0===this.autoPaging)for(var b=g[0],S=g[g.length-1],A=b;A<S+1;A++){if(this.pdf.setPage(A),0!==this.ctx.clip_path.length){var k=this.path;o=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=y(o,this.posX,-1*this.pdf.internal.pageSize.height*(A-1)+this.posY),x.call(this,"fill",!0),this.path=k}var T=JSON.parse(JSON.stringify(h));T=y([T],this.posX,-1*this.pdf.internal.pageSize.height*(A-1)+this.posY)[0],e.scale>=.01&&(i=this.pdf.internal.getFontSize(),this.pdf.setFontSize(i*e.scale),u=this.lineWidth,this.lineWidth=u*e.scale),this.pdf.text(e.text,T.x,T.y,{angle:e.angle,align:t,renderingMode:e.renderingMode,maxWidth:e.maxWidth}),e.scale>=.01&&(this.pdf.setFontSize(i),this.lineWidth=u)}else e.scale>=.01&&(i=this.pdf.internal.getFontSize(),this.pdf.setFontSize(i*e.scale),u=this.lineWidth,this.lineWidth=u*e.scale),this.pdf.text(e.text,r.x+this.posX,r.y+this.posY,{angle:e.angle,align:t,renderingMode:e.renderingMode,maxWidth:e.maxWidth}),e.scale>=.01&&(this.pdf.setFontSize(i),this.lineWidth=u)},C=function(e,t,n,o){n=n||0,o=o||0,this.pdf.internal.out(r(e+n)+" "+a(t+o)+" l")},O=function(e,t,r){return this.pdf.lines(e,t,r,null,null)},R=function(e,r,n,a,s,c,l,u){this.pdf.internal.out([t(o(n+e)),t(i(a+r)),t(o(s+e)),t(i(c+r)),t(o(l+e)),t(i(u+r)),"c"].join(" "))},P=function(e,t,r,n){for(var a=2*Math.PI,o=Math.PI/2;t>r;)t-=a;var i=Math.abs(r-t);i<a&&n&&(i=a-i);for(var s=[],c=n?-1:1,l=t;i>1e-5;){var u=l+c*Math.min(i,o);s.push(L.call(this,e,l,u)),i-=Math.abs(u-l),l=u}return s},L=function(e,t,r){var n=(r-t)/2,a=e*Math.cos(n),o=e*Math.sin(n),i=a,s=-o,c=i*i+s*s,l=c+i*a+s*o,u=4/3*(Math.sqrt(2*c*l)-l)/(i*o-s*a),f=i-u*s,h=s+u*i,d=f,p=-h,g=n+t,m=Math.cos(g),v=Math.sin(g);return{x1:e*Math.cos(t),y1:e*Math.sin(t),x2:f*m-h*v,y2:f*v+h*m,x3:d*m-p*v,y3:d*v+p*m,x4:e*Math.cos(r),y4:e*Math.sin(r)}},I=function(e){return 180*e/Math.PI},F=function(e,t,r,n,a,o){var i=e+.5*(r-e),s=t+.5*(n-t),l=a+.5*(r-a),u=o+.5*(n-o),f=Math.min(e,a,i,l),h=Math.max(e,a,i,l),d=Math.min(t,o,s,u),p=Math.max(t,o,s,u);return new c(f,d,h-f,p-d)},D=function(e,t,r,n,a,o,i,s){var l,u,f,h,d,p,g,m,v,b,y,w,S,x,A=r-e,k=n-t,T=a-r,E=o-n,_=i-a,N=s-o;for(u=0;u<41;u++)v=(g=(f=e+(l=u/40)*A)+l*((d=r+l*T)-f))+l*(d+l*(a+l*_-d)-g),b=(m=(h=t+l*k)+l*((p=n+l*E)-h))+l*(p+l*(o+l*N-p)-m),0==u?(y=v,w=b,S=v,x=b):(y=Math.min(y,v),w=Math.min(w,b),S=Math.max(S,v),x=Math.max(x,b));return new c(Math.round(y),Math.round(w),Math.round(S-y),Math.round(x-w))}}(P.API);try{require("worker_threads").Worker}catch(e){}var Fe=Uint8Array,De=Uint16Array,Me=Uint32Array,je=new Fe([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),Be=new Fe([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),We=new Fe([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),Ue=function(e,t){for(var r=new De(31),n=0;n<31;++n)r[n]=t+=1<<e[n-1];var a=new Me(r[30]);for(n=1;n<30;++n)for(var o=r[n];o<r[n+1];++o)a[o]=o-r[n]<<5|n;return[r,a]},He=Ue(je,2),ze=He[0],Ve=He[1];ze[28]=258,Ve[258]=28;for(var qe=Ue(Be,0),$e=qe[0],Ge=qe[1],Xe=new De(32768),Ye=0;Ye<32768;++Ye){var Ke=(43690&Ye)>>>1|(21845&Ye)<<1;Ke=(61680&(Ke=(52428&Ke)>>>2|(13107&Ke)<<2))>>>4|(3855&Ke)<<4,Xe[Ye]=((65280&Ke)>>>8|(255&Ke)<<8)>>>1}var Je=function(e,t,r){for(var n=e.length,a=0,o=new De(t);a<n;++a)++o[e[a]-1];var i,s=new De(t);for(a=0;a<t;++a)s[a]=s[a-1]+o[a-1]<<1;if(r){i=new De(1<<t);var c=15-t;for(a=0;a<n;++a)if(e[a])for(var l=a<<4|e[a],u=t-e[a],f=s[e[a]-1]++<<u,h=f|(1<<u)-1;f<=h;++f)i[Xe[f]>>>c]=l}else for(i=new De(n),a=0;a<n;++a)i[a]=Xe[s[e[a]-1]++]>>>15-e[a];return i},Ze=new Fe(288);for(Ye=0;Ye<144;++Ye)Ze[Ye]=8;for(Ye=144;Ye<256;++Ye)Ze[Ye]=9;for(Ye=256;Ye<280;++Ye)Ze[Ye]=7;for(Ye=280;Ye<288;++Ye)Ze[Ye]=8;var Qe=new Fe(32);for(Ye=0;Ye<32;++Ye)Qe[Ye]=5;var et=Je(Ze,9,0),tt=Je(Ze,9,1),rt=Je(Qe,5,0),nt=Je(Qe,5,1),at=function(e){for(var t=e[0],r=1;r<e.length;++r)e[r]>t&&(t=e[r]);return t},ot=function(e,t,r){var n=t/8>>0;return(e[n]|e[n+1]<<8)>>>(7&t)&r},it=function(e,t){var r=t/8>>0;return(e[r]|e[r+1]<<8|e[r+2]<<16)>>>(7&t)},st=function(e){return(e/8>>0)+(7&e&&1)},ct=function(e,t,r){(null==t||t<0)&&(t=0),(null==r||r>e.length)&&(r=e.length);var n=new(e instanceof De?De:e instanceof Me?Me:Fe)(r-t);return n.set(e.subarray(t,r)),n},lt=function(e,t,r){r<<=7&t;var n=t/8>>0;e[n]|=r,e[n+1]|=r>>>8},ut=function(e,t,r){r<<=7&t;var n=t/8>>0;e[n]|=r,e[n+1]|=r>>>8,e[n+2]|=r>>>16},ft=function(e,t){for(var r=[],n=0;n<e.length;++n)e[n]&&r.push({s:n,f:e[n]});var a=r.length,o=r.slice();if(!a)return[new Fe(0),0];if(1==a){var i=new Fe(r[0].s+1);return i[r[0].s]=1,[i,1]}r.sort((function(e,t){return e.f-t.f})),r.push({s:-1,f:25001});var s=r[0],c=r[1],l=0,u=1,f=2;for(r[0]={s:-1,f:s.f+c.f,l:s,r:c};u!=a-1;)s=r[r[l].f<r[f].f?l++:f++],c=r[l!=u&&r[l].f<r[f].f?l++:f++],r[u++]={s:-1,f:s.f+c.f,l:s,r:c};var h=o[0].s;for(n=1;n<a;++n)o[n].s>h&&(h=o[n].s);var d=new De(h+1),p=ht(r[u-1],d,0);if(p>t){n=0;var g=0,m=p-t,v=1<<m;for(o.sort((function(e,t){return d[t.s]-d[e.s]||e.f-t.f}));n<a;++n){var b=o[n].s;if(!(d[b]>t))break;g+=v-(1<<p-d[b]),d[b]=t}for(g>>>=m;g>0;){var y=o[n].s;d[y]<t?g-=1<<t-d[y]++-1:++n}for(;n>=0&&g;--n){var w=o[n].s;d[w]==t&&(--d[w],++g)}p=t}return[new Fe(d),p]},ht=function(e,t,r){return-1==e.s?Math.max(ht(e.l,t,r+1),ht(e.r,t,r+1)):t[e.s]=r},dt=function(e){for(var t=e.length;t&&!e[--t];);for(var r=new De(++t),n=0,a=e[0],o=1,i=function(e){r[n++]=e},s=1;s<=t;++s)if(e[s]==a&&s!=t)++o;else{if(!a&&o>2){for(;o>138;o-=138)i(32754);o>2&&(i(o>10?o-11<<5|28690:o-3<<5|12305),o=0)}else if(o>3){for(i(a),--o;o>6;o-=6)i(8304);o>2&&(i(o-3<<5|8208),o=0)}for(;o--;)i(a);o=1,a=e[s]}return[r.subarray(0,n),t]},pt=function(e,t){for(var r=0,n=0;n<t.length;++n)r+=e[n]*t[n];return r},gt=function(e,t,r){var n=r.length,a=st(t+2);e[a]=255&n,e[a+1]=n>>>8,e[a+2]=255^e[a],e[a+3]=255^e[a+1];for(var o=0;o<n;++o)e[a+o+4]=r[o];return 8*(a+4+n)},mt=function(e,t,r,n,a,o,i,s,c,l,u){lt(t,u++,r),++a[256];for(var f=ft(a,15),h=f[0],d=f[1],p=ft(o,15),g=p[0],m=p[1],v=dt(h),b=v[0],y=v[1],w=dt(g),S=w[0],x=w[1],A=new De(19),k=0;k<b.length;++k)A[31&b[k]]++;for(k=0;k<S.length;++k)A[31&S[k]]++;for(var T=ft(A,7),E=T[0],_=T[1],N=19;N>4&&!E[We[N-1]];--N);var C,O,R,P,L=l+5<<3,I=pt(a,Ze)+pt(o,Qe)+i,F=pt(a,h)+pt(o,g)+i+14+3*N+pt(A,E)+(2*A[16]+3*A[17]+7*A[18]);if(L<=I&&L<=F)return gt(t,u,e.subarray(c,c+l));if(lt(t,u,1+(F<I)),u+=2,F<I){C=Je(h,d,0),O=h,R=Je(g,m,0),P=g;var D=Je(E,_,0);for(lt(t,u,y-257),lt(t,u+5,x-1),lt(t,u+10,N-4),u+=14,k=0;k<N;++k)lt(t,u+3*k,E[We[k]]);u+=3*N;for(var M=[b,S],j=0;j<2;++j){var B=M[j];for(k=0;k<B.length;++k){var W=31&B[k];lt(t,u,D[W]),u+=E[W],W>15&&(lt(t,u,B[k]>>>5&127),u+=B[k]>>>12)}}}else C=et,O=Ze,R=rt,P=Qe;for(k=0;k<s;++k)if(n[k]>255){W=n[k]>>>18&31,ut(t,u,C[W+257]),u+=O[W+257],W>7&&(lt(t,u,n[k]>>>23&31),u+=je[W]);var U=31&n[k];ut(t,u,R[U]),u+=P[U],U>3&&(ut(t,u,n[k]>>>5&8191),u+=Be[U])}else ut(t,u,C[n[k]]),u+=O[n[k]];return ut(t,u,C[256]),u+O[256]},vt=new Me([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),bt=new Fe(0);function yt(e,t){void 0===t&&(t={});var r=function(){var e=1,t=0;return{p:function(r){for(var n=e,a=t,o=r.length,i=0;i!=o;){for(var s=Math.min(i+5552,o);i<s;++i)a+=n+=r[i];n%=65521,a%=65521}e=n,t=a},d:function(){return(e>>>8<<16|(255&t)<<8|t>>>8)+2*((255&e)<<23)}}}();r.p(e);var n=function(e,t,r,n,a){return function(e,t,r,n,a,o){var i=e.length,s=new Fe(n+i+5*(1+Math.floor(i/7e3))+a),c=s.subarray(n,s.length-a),l=0;if(!t||i<8)for(var u=0;u<=i;u+=65535){var f=u+65535;f<i?l=gt(c,l,e.subarray(u,f)):(c[u]=o,l=gt(c,l,e.subarray(u,i)))}else{for(var h=vt[t-1],d=h>>>13,p=8191&h,g=(1<<r)-1,m=new De(32768),v=new De(g+1),b=Math.ceil(r/3),y=2*b,w=function(t){return(e[t]^e[t+1]<<b^e[t+2]<<y)&g},S=new Me(25e3),x=new De(288),A=new De(32),k=0,T=0,E=(u=0,0),_=0,N=0;u<i;++u){var C=w(u),O=32767&u,R=v[C];if(m[O]=R,v[C]=O,_<=u){var P=i-u;if((k>7e3||E>24576)&&P>423){l=mt(e,c,0,S,x,A,T,E,N,u-N,l),E=k=T=0,N=u;for(var L=0;L<286;++L)x[L]=0;for(L=0;L<30;++L)A[L]=0}var I=2,F=0,D=p,M=O-R&32767;if(P>2&&C==w(u-M))for(var j=Math.min(d,P)-1,B=Math.min(32767,u),W=Math.min(258,P);M<=B&&--D&&O!=R;){if(e[u+I]==e[u+I-M]){for(var U=0;U<W&&e[u+U]==e[u+U-M];++U);if(U>I){if(I=U,F=M,U>j)break;var H=Math.min(M,U-2),z=0;for(L=0;L<H;++L){var V=u-M+L+32768&32767,q=V-m[V]+32768&32767;q>z&&(z=q,R=V)}}}M+=(O=R)-(R=m[O])+32768&32767}if(F){S[E++]=268435456|Ve[I]<<18|Ge[F];var $=31&Ve[I],G=31&Ge[F];T+=je[$]+Be[G],++x[257+$],++A[G],_=u+I,++k}else S[E++]=e[u],++x[e[u]]}}l=mt(e,c,o,S,x,A,T,E,N,u-N,l),o||(l=gt(c,l,bt))}return ct(s,0,n+st(l)+a)}(e,null==t.level?6:t.level,null==t.mem?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(e.length)))):12+t.mem,r,n,!a)}(e,t,2,4);return function(e,t){var r=t.level,n=0==r?0:r<6?1:9==r?3:2;e[0]=120,e[1]=n<<6|(n?32-2*n:1)}(n,t),function(e,t,r){for(;r;++t)e[t]=r,r>>>=8}(n,n.length-4,r.d()),n}!function(e){var t=function(e){var t,r,n,a,o,i,s,c,l,u;for(/[^\x00-\xFF]/.test(e),r=[],n=0,a=(e+=t="\0\0\0\0".slice(e.length%4||4)).length;a>n;n+=4)0!==(o=(e.charCodeAt(n)<<24)+(e.charCodeAt(n+1)<<16)+(e.charCodeAt(n+2)<<8)+e.charCodeAt(n+3))?(i=(o=((o=((o=((o=(o-(u=o%85))/85)-(l=o%85))/85)-(c=o%85))/85)-(s=o%85))/85)%85,r.push(i+33,s+33,c+33,l+33,u+33)):r.push(122);return function(e,t){for(var r=t;r>0;r--)e.pop()}(r,t.length),String.fromCharCode.apply(String,r)+"~>"},r=function(e){var t,r,n,a,o,i=String,s="length",c=255,l="charCodeAt",u="slice",f="replace";for(e[u](-2),e=e[u](0,-2)[f](/\s/g,"")[f]("z","!!!!!"),n=[],a=0,o=(e+=t="uuuuu"[u](e[s]%5||5))[s];o>a;a+=5)r=52200625*(e[l](a)-33)+614125*(e[l](a+1)-33)+7225*(e[l](a+2)-33)+85*(e[l](a+3)-33)+(e[l](a+4)-33),n.push(c&r>>24,c&r>>16,c&r>>8,c&r);return function(e,t){for(var r=t;r>0;r--)e.pop()}(n,t[s]),i.fromCharCode.apply(i,n)},n=function(e){var t=new RegExp(/^([0-9A-Fa-f]{2})+$/);if(-1!==(e=e.replace(/\s/g,"")).indexOf(">")&&(e=e.substr(0,e.indexOf(">"))),e.length%2&&(e+="0"),!1===t.test(e))return"";for(var r="",n=0;n<e.length;n+=2)r+=String.fromCharCode("0x"+(e[n]+e[n+1]));return r},a=function(e){for(var t=new Uint8Array(e.length),r=e.length;r--;)t[r]=e.charCodeAt(r);return(t=yt(t)).reduce((function(e,t){return e+String.fromCharCode(t)}),"")};e.processDataByFilters=function(e,o){var i=0,s=e||"",c=[];for("string"==typeof(o=o||[])&&(o=[o]),i=0;i<o.length;i+=1)switch(o[i]){case"ASCII85Decode":case"/ASCII85Decode":s=r(s),c.push("/ASCII85Encode");break;case"ASCII85Encode":case"/ASCII85Encode":s=t(s),c.push("/ASCII85Decode");break;case"ASCIIHexDecode":case"/ASCIIHexDecode":s=n(s),c.push("/ASCIIHexEncode");break;case"ASCIIHexEncode":case"/ASCIIHexEncode":s=s.split("").map((function(e){return("0"+e.charCodeAt().toString(16)).slice(-2)})).join("")+">",c.push("/ASCIIHexDecode");break;case"FlateEncode":case"/FlateEncode":s=a(s),c.push("/FlateDecode");break;default:throw new Error('The filter: "'+o[i]+'" is not implemented')}return{data:s,reverseChain:c.reverse().join(" ")}}}(P.API),function(e){e.loadFile=function(e,t,r){return function(e,t,r){t=!1!==t,r="function"==typeof r?r:function(){};var n=void 0;try{n=function(e,t,r){var n=new XMLHttpRequest,a=0,o=function(e){var t=e.length,r=[],n=String.fromCharCode;for(a=0;a<t;a+=1)r.push(n(255&e.charCodeAt(a)));return r.join("")};if(n.open("GET",e,!t),n.overrideMimeType("text/plain; charset=x-user-defined"),!1===t&&(n.onload=function(){200===n.status?r(o(this.responseText)):r(void 0)}),n.send(null),t&&200===n.status)return o(n.responseText)}(e,t,r)}catch(e){}return n}(e,t,r)},e.loadImageFile=e.loadFile}(P.API),function(r){function n(){return(t.html2canvas?Promise.resolve(t.html2canvas):"object"==typeof e&&"undefined"!=typeof module?new Promise((function(e,t){try{e(require("html2canvas"))}catch(e){t(e)}})):"function"==typeof define&&define.amd?new Promise((function(e,t){try{require(["html2canvas"],e)}catch(e){t(e)}})):Promise.reject(new Error("Could not load html2canvas"))).catch((function(e){return Promise.reject(new Error("Could not load html2canvas: "+e))})).then((function(e){return e.default?e.default:e}))}function a(){return(t.DOMPurify?Promise.resolve(t.DOMPurify):"object"==typeof e&&"undefined"!=typeof module?new Promise((function(e,t){try{e(require("dompurify"))}catch(e){t(e)}})):"function"==typeof define&&define.amd?new Promise((function(e,t){try{require(["dompurify"],e)}catch(e){t(e)}})):Promise.reject(new Error("Could not load dompurify"))).catch((function(e){return Promise.reject(new Error("Could not load dompurify: "+e))})).then((function(e){return e.default?e.default:e}))}var o=function(e){var t=typeof e;return"undefined"===t?"undefined":"string"===t||e instanceof String?"string":"number"===t||e instanceof Number?"number":"function"===t||e instanceof Function?"function":e&&e.constructor===Array?"array":e&&1===e.nodeType?"element":"object"===t?"object":"unknown"},i=function(e,t){var r=document.createElement(e);for(var n in t.className&&(r.className=t.className),t.innerHTML&&t.dompurify&&(r.innerHTML=t.dompurify.sanitize(t.innerHTML)),t.style)r.style[n]=t.style[n];return r},s=function(e,t){for(var r=3===e.nodeType?document.createTextNode(e.nodeValue):e.cloneNode(!1),n=e.firstChild;n;n=n.nextSibling)!0!==t&&1===n.nodeType&&"SCRIPT"===n.nodeName||r.appendChild(s(n,t));return 1===e.nodeType&&("CANVAS"===e.nodeName?(r.width=e.width,r.height=e.height,r.getContext("2d").drawImage(e,0,0)):"TEXTAREA"!==e.nodeName&&"SELECT"!==e.nodeName||(r.value=e.value),r.addEventListener("load",(function(){r.scrollTop=e.scrollTop,r.scrollLeft=e.scrollLeft}),!0)),r},c=function e(t){var r=Object.assign(e.convert(Promise.resolve()),JSON.parse(JSON.stringify(e.template))),n=e.convert(Promise.resolve(),r);return(n=n.setProgress(1,e,1,[e])).set(t)};(c.prototype=Object.create(Promise.prototype)).constructor=c,c.convert=function(e,t){return e.__proto__=t||c.prototype,e},c.template={prop:{src:null,container:null,overlay:null,canvas:null,img:null,pdf:null,pageSize:null,callback:function(){}},progress:{val:0,state:null,n:0,stack:[]},opt:{filename:"file.pdf",margin:[0,0,0,0],enableLinks:!0,x:0,y:0,html2canvas:{},jsPDF:{},backgroundColor:"transparent"}},c.prototype.from=function(e,t){return this.then((function(){switch(t=t||function(e){switch(o(e)){case"string":return"string";case"element":return"canvas"===e.nodeName.toLowerCase()?"canvas":"element";default:return"unknown"}}(e)){case"string":return this.then(a).then((function(t){return this.set({src:i("div",{innerHTML:e,dompurify:t})})}));case"element":return this.set({src:e});case"canvas":return this.set({canvas:e});case"img":return this.set({img:e});default:return this.error("Unknown source type.")}}))},c.prototype.to=function(e){switch(e){case"container":return this.toContainer();case"canvas":return this.toCanvas();case"img":return this.toImg();case"pdf":return this.toPdf();default:return this.error("Invalid target.")}},c.prototype.toContainer=function(){return this.thenList([function(){return this.prop.src||this.error("Cannot duplicate - no source HTML.")},function(){return this.prop.pageSize||this.setPageSize()}]).then((function(){var e={position:"relative",display:"inline-block",width:Math.max(this.prop.src.clientWidth,this.prop.src.scrollWidth,this.prop.src.offsetWidth)+"px",left:0,right:0,top:0,margin:"auto",backgroundColor:this.opt.backgroundColor},t=s(this.prop.src,this.opt.html2canvas.javascriptEnabled);"BODY"===t.tagName&&(e.height=Math.max(document.body.scrollHeight,document.body.offsetHeight,document.documentElement.clientHeight,document.documentElement.scrollHeight,document.documentElement.offsetHeight)+"px"),this.prop.overlay=i("div",{className:"html2pdf__overlay",style:{position:"fixed",overflow:"hidden",zIndex:1e3,left:"-100000px",right:0,bottom:0,top:0}}),this.prop.container=i("div",{className:"html2pdf__container",style:e}),this.prop.container.appendChild(t),this.prop.container.firstChild.appendChild(i("div",{style:{clear:"both",border:"0 none transparent",margin:0,padding:0,height:0}})),this.prop.container.style.float="none",this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay),this.prop.container.firstChild.style.position="relative",this.prop.container.height=Math.max(this.prop.container.firstChild.clientHeight,this.prop.container.firstChild.scrollHeight,this.prop.container.firstChild.offsetHeight)+"px"}))},c.prototype.toCanvas=function(){var e=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(e).then(n).then((function(e){var t=Object.assign({},this.opt.html2canvas);return delete t.onrendered,e(this.prop.container,t)})).then((function(e){(this.opt.html2canvas.onrendered||function(){})(e),this.prop.canvas=e,document.body.removeChild(this.prop.overlay)}))},c.prototype.toContext2d=function(){var e=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(e).then(n).then((function(e){var t=this.opt.jsPDF,r=this.opt.fontFaces,n=Object.assign({async:!0,allowTaint:!0,scale:1,scrollX:this.opt.scrollX||0,scrollY:this.opt.scrollY||0,backgroundColor:"#ffffff",imageTimeout:15e3,logging:!0,proxy:null,removeContainer:!0,foreignObjectRendering:!1,useCORS:!1},this.opt.html2canvas);if(delete n.onrendered,t.context2d.autoPaging=!0,t.context2d.posX=this.opt.x,t.context2d.posY=this.opt.y,t.context2d.fontFaces=r,r)for(var a=0;a<r.length;++a){var o=r[a],i=o.src.find((function(e){return"truetype"===e.format}));i&&t.addFont(i.url,o.ref.name,o.ref.style)}return n.windowHeight=n.windowHeight||0,n.windowHeight=0==n.windowHeight?Math.max(this.prop.container.clientHeight,this.prop.container.scrollHeight,this.prop.container.offsetHeight):n.windowHeight,e(this.prop.container,n)})).then((function(e){(this.opt.html2canvas.onrendered||function(){})(e),this.prop.canvas=e,document.body.removeChild(this.prop.overlay)}))},c.prototype.toImg=function(){return this.thenList([function(){return this.prop.canvas||this.toCanvas()}]).then((function(){var e=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=e}))},c.prototype.toPdf=function(){return this.thenList([function(){return this.toContext2d()}]).then((function(){this.prop.pdf=this.prop.pdf||this.opt.jsPDF}))},c.prototype.output=function(e,t,r){return"img"===(r=r||"pdf").toLowerCase()||"image"===r.toLowerCase()?this.outputImg(e,t):this.outputPdf(e,t)},c.prototype.outputPdf=function(e,t){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then((function(){return this.prop.pdf.output(e,t)}))},c.prototype.outputImg=function(e){return this.thenList([function(){return this.prop.img||this.toImg()}]).then((function(){switch(e){case void 0:case"img":return this.prop.img;case"datauristring":case"dataurlstring":return this.prop.img.src;case"datauri":case"dataurl":return document.location.href=this.prop.img.src;default:throw'Image output type "'+e+'" is not supported.'}}))},c.prototype.save=function(e){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).set(e?{filename:e}:null).then((function(){this.prop.pdf.save(this.opt.filename)}))},c.prototype.doCallback=function(){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then((function(){this.prop.callback(this.prop.pdf)}))},c.prototype.set=function(e){if("object"!==o(e))return this;var t=Object.keys(e||{}).map((function(t){if(t in c.template.prop)return function(){this.prop[t]=e[t]};switch(t){case"margin":return this.setMargin.bind(this,e.margin);case"jsPDF":return function(){return this.opt.jsPDF=e.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,e.pageSize);default:return function(){this.opt[t]=e[t]}}}),this);return this.then((function(){return this.thenList(t)}))},c.prototype.get=function(e,t){return this.then((function(){var r=e in c.template.prop?this.prop[e]:this.opt[e];return t?t(r):r}))},c.prototype.setMargin=function(e){return this.then((function(){switch(o(e)){case"number":e=[e,e,e,e];case"array":if(2===e.length&&(e=[e[0],e[1],e[0],e[1]]),4===e.length)break;default:return this.error("Invalid margin array.")}this.opt.margin=e})).then(this.setPageSize)},c.prototype.setPageSize=function(e){function t(e,t){return Math.floor(e*t/72*96)}return this.then((function(){(e=e||P.getPageSize(this.opt.jsPDF)).hasOwnProperty("inner")||(e.inner={width:e.width-this.opt.margin[1]-this.opt.margin[3],height:e.height-this.opt.margin[0]-this.opt.margin[2]},e.inner.px={width:t(e.inner.width,e.k),height:t(e.inner.height,e.k)},e.inner.ratio=e.inner.height/e.inner.width),this.prop.pageSize=e}))},c.prototype.setProgress=function(e,t,r,n){return null!=e&&(this.progress.val=e),null!=t&&(this.progress.state=t),null!=r&&(this.progress.n=r),null!=n&&(this.progress.stack=n),this.progress.ratio=this.progress.val/this.progress.state,this},c.prototype.updateProgress=function(e,t,r,n){return this.setProgress(e?this.progress.val+e:null,t||null,r?this.progress.n+r:null,n?this.progress.stack.concat(n):null)},c.prototype.then=function(e,t){var r=this;return this.thenCore(e,t,(function(e,t){return r.updateProgress(null,null,1,[e]),Promise.prototype.then.call(this,(function(t){return r.updateProgress(null,e),t})).then(e,t).then((function(e){return r.updateProgress(1),e}))}))},c.prototype.thenCore=function(e,t,r){r=r||Promise.prototype.then,e&&(e=e.bind(this)),t&&(t=t.bind(this));var n=-1!==Promise.toString().indexOf("[native code]")&&"Promise"===Promise.name?this:c.convert(Object.assign({},this),Promise.prototype),a=r.call(n,e,t);return c.convert(a,this.__proto__)},c.prototype.thenExternal=function(e,t){return Promise.prototype.then.call(this,e,t)},c.prototype.thenList=function(e){var t=this;return e.forEach((function(e){t=t.thenCore(e)})),t},c.prototype.catch=function(e){e&&(e=e.bind(this));var t=Promise.prototype.catch.call(this,e);return c.convert(t,this)},c.prototype.catchExternal=function(e){return Promise.prototype.catch.call(this,e)},c.prototype.error=function(e){return this.then((function(){throw new Error(e)}))},c.prototype.using=c.prototype.set,c.prototype.saveAs=c.prototype.save,c.prototype.export=c.prototype.output,c.prototype.run=c.prototype.then,P.getPageSize=function(e,t,r){if("object"==typeof e){var n=e;e=n.orientation,t=n.unit||t,r=n.format||r}t=t||"mm",r=r||"a4",e=(""+(e||"P")).toLowerCase();var a,o=(""+r).toLowerCase(),i={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};switch(t){case"pt":a=1;break;case"mm":a=72/25.4;break;case"cm":a=72/2.54;break;case"in":a=72;break;case"px":a=.75;break;case"pc":case"em":a=12;break;case"ex":a=6;break;default:throw"Invalid unit: "+t}var s,c=0,l=0;if(i.hasOwnProperty(o))c=i[o][1]/a,l=i[o][0]/a;else try{c=r[1],l=r[0]}catch(e){throw new Error("Invalid format: "+r)}if("p"===e||"portrait"===e)e="p",l>c&&(s=l,l=c,c=s);else{if("l"!==e&&"landscape"!==e)throw"Invalid orientation: "+e;e="l",c>l&&(s=l,l=c,c=s)}return{width:l,height:c,unit:t,k:a,orientation:e}},r.html=function(e,t){(t=t||{}).callback=t.callback||function(){},t.html2canvas=t.html2canvas||{},t.html2canvas.canvas=t.html2canvas.canvas||this.canvas,t.jsPDF=t.jsPDF||this,t.fontFaces=t.fontFaces?t.fontFaces.map(Ee):null;var r=new c(t);return t.worker?r:r.from(e).doCallback()}}(P.API),function(e){var t,r,n;e.addJS=function(e){return n=e,this.internal.events.subscribe("postPutResources",(function(){t=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(t+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),r=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+n+")"),this.internal.out(">>"),this.internal.out("endobj")})),this.internal.events.subscribe("putCatalog",(function(){void 0!==t&&void 0!==r&&this.internal.out("/Names <</JavaScript "+t+" 0 R>>")})),this}}(P.API),function(e){var t;e.events.push(["postPutResources",function(){var e=this,r=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var n=e.outline.render().split(/\r\n/),a=0;a<n.length;a++){var o=n[a],i=r.exec(o);if(null!=i){var s=i[1];e.internal.newObjectDeferredBegin(s,!1)}e.internal.write(o)}if(this.outline.createNamedDestinations){var c=this.internal.pages.length,l=[];for(a=0;a<c;a++){var u=e.internal.newObject();l.push(u);var f=e.internal.getPageInfo(a+1);e.internal.write("<< /D["+f.objId+" 0 R /XYZ null null null]>> endobj")}var h=e.internal.newObject();for(e.internal.write("<< /Names [ "),a=0;a<l.length;a++)e.internal.write("(page_"+(a+1)+")"+l[a]+" 0 R");e.internal.write(" ] >>","endobj"),t=e.internal.newObject(),e.internal.write("<< /Dests "+h+" 0 R"),e.internal.write(">>","endobj")}}]),e.events.push(["putCatalog",function(){this.outline.root.children.length>0&&(this.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&this.internal.write("/Names "+t+" 0 R"))}]),e.events.push(["initialized",function(){var e=this;e.outline={createNamedDestinations:!1,root:{children:[]}},e.outline.add=function(e,t,r){var n={title:t,options:r,children:[]};return null==e&&(e=this.root),e.children.push(n),n},e.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=e,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},e.outline.genIds_r=function(t){t.id=e.internal.newObjectDeferred();for(var r=0;r<t.children.length;r++)this.genIds_r(t.children[r])},e.outline.renderRoot=function(e){this.objStart(e),this.line("/Type /Outlines"),e.children.length>0&&(this.line("/First "+this.makeRef(e.children[0])),this.line("/Last "+this.makeRef(e.children[e.children.length-1]))),this.line("/Count "+this.count_r({count:0},e)),this.objEnd()},e.outline.renderItems=function(t){for(var r=this.ctx.pdf.internal.getVerticalCoordinateString,n=0;n<t.children.length;n++){var a=t.children[n];this.objStart(a),this.line("/Title "+this.makeString(a.title)),this.line("/Parent "+this.makeRef(t)),n>0&&this.line("/Prev "+this.makeRef(t.children[n-1])),n<t.children.length-1&&this.line("/Next "+this.makeRef(t.children[n+1])),a.children.length>0&&(this.line("/First "+this.makeRef(a.children[0])),this.line("/Last "+this.makeRef(a.children[a.children.length-1])));var o=this.count=this.count_r({count:0},a);if(o>0&&this.line("/Count "+o),a.options&&a.options.pageNumber){var i=e.internal.getPageInfo(a.options.pageNumber);this.line("/Dest ["+i.objId+" 0 R /XYZ 0 "+r(0)+" 0]")}this.objEnd()}for(var s=0;s<t.children.length;s++)this.renderItems(t.children[s])},e.outline.line=function(e){this.ctx.val+=e+"\r\n"},e.outline.makeRef=function(e){return e.id+" 0 R"},e.outline.makeString=function(t){return"("+e.internal.pdfEscape(t)+")"},e.outline.objStart=function(e){this.ctx.val+="\r\n"+e.id+" 0 obj\r\n<<\r\n"},e.outline.objEnd=function(){this.ctx.val+=">> \r\nendobj\r\n"},e.outline.count_r=function(e,t){for(var r=0;r<t.children.length;r++)e.count++,this.count_r(e,t.children[r]);return e.count}}])}(P.API),function(e){var t=[192,193,194,195,196,197,198,199];e.processJPEG=function(e,r,n,a,o,i){var s,c=this.decode.DCT_DECODE,l=null;if("string"==typeof e||this.__addimage__.isArrayBuffer(e)||this.__addimage__.isArrayBufferView(e)){switch(e=o||e,e=this.__addimage__.isArrayBuffer(e)?new Uint8Array(e):e,(s=function(e){for(var r,n=256*e.charCodeAt(4)+e.charCodeAt(5),a=e.length,o={width:0,height:0,numcomponents:1},i=4;i<a;i+=2){if(i+=n,-1!==t.indexOf(e.charCodeAt(i+1))){r=256*e.charCodeAt(i+5)+e.charCodeAt(i+6),o={width:256*e.charCodeAt(i+7)+e.charCodeAt(i+8),height:r,numcomponents:e.charCodeAt(i+9)};break}n=256*e.charCodeAt(i+2)+e.charCodeAt(i+3)}return o}(e=this.__addimage__.isArrayBufferView(e)?this.__addimage__.arrayBufferToBinaryString(e):e)).numcomponents){case 1:i=this.color_spaces.DEVICE_GRAY;break;case 4:i=this.color_spaces.DEVICE_CMYK;break;case 3:i=this.color_spaces.DEVICE_RGB}l={data:e,width:s.width,height:s.height,colorSpace:i,bitsPerComponent:8,filter:c,index:r,alias:n}}return l}}(P.API);var wt,St,xt,At,kt,Tt=function(){var e,r,n;function a(e){var t,r,n,a,o,i,s,c,l,u,f,h,d,p;for(this.data=e,this.pos=8,this.palette=[],this.imgData=[],this.transparency={},this.animation=null,this.text={},i=null;;){switch(t=this.readUInt32(),l=function(){var e,t;for(t=[],e=0;e<4;++e)t.push(String.fromCharCode(this.data[this.pos++]));return t}.call(this).join("")){case"IHDR":this.width=this.readUInt32(),this.height=this.readUInt32(),this.bits=this.data[this.pos++],this.colorType=this.data[this.pos++],this.compressionMethod=this.data[this.pos++],this.filterMethod=this.data[this.pos++],this.interlaceMethod=this.data[this.pos++];break;case"acTL":this.animation={numFrames:this.readUInt32(),numPlays:this.readUInt32()||1/0,frames:[]};break;case"PLTE":this.palette=this.read(t);break;case"fcTL":i&&this.animation.frames.push(i),this.pos+=4,i={width:this.readUInt32(),height:this.readUInt32(),xOffset:this.readUInt32(),yOffset:this.readUInt32()},o=this.readUInt16(),a=this.readUInt16()||100,i.delay=1e3*o/a,i.disposeOp=this.data[this.pos++],i.blendOp=this.data[this.pos++],i.data=[];break;case"IDAT":case"fdAT":for("fdAT"===l&&(this.pos+=4,t-=4),e=(null!=i?i.data:void 0)||this.imgData,h=0;0<=t?h<t:h>t;0<=t?++h:--h)e.push(this.data[this.pos++]);break;case"tRNS":switch(this.transparency={},this.colorType){case 3:if(n=this.palette.length/3,this.transparency.indexed=this.read(t),this.transparency.indexed.length>n)throw new Error("More transparent colors than palette size");if((u=n-this.transparency.indexed.length)>0)for(d=0;0<=u?d<u:d>u;0<=u?++d:--d)this.transparency.indexed.push(255);break;case 0:this.transparency.grayscale=this.read(t)[0];break;case 2:this.transparency.rgb=this.read(t)}break;case"tEXt":s=(f=this.read(t)).indexOf(0),c=String.fromCharCode.apply(String,f.slice(0,s)),this.text[c]=String.fromCharCode.apply(String,f.slice(s+1));break;case"IEND":return i&&this.animation.frames.push(i),this.colors=function(){switch(this.colorType){case 0:case 3:case 4:return 1;case 2:case 6:return 3}}.call(this),this.hasAlphaChannel=4===(p=this.colorType)||6===p,r=this.colors+(this.hasAlphaChannel?1:0),this.pixelBitlength=this.bits*r,this.colorSpace=function(){switch(this.colors){case 1:return"DeviceGray";case 3:return"DeviceRGB"}}.call(this),void(this.imgData=new Uint8Array(this.imgData));default:this.pos+=t}if(this.pos+=4,this.pos>this.data.length)throw new Error("Incomplete or corrupt PNG file")}}a.prototype.read=function(e){var t,r;for(r=[],t=0;0<=e?t<e:t>e;0<=e?++t:--t)r.push(this.data[this.pos++]);return r},a.prototype.readUInt32=function(){return this.data[this.pos++]<<24|this.data[this.pos++]<<16|this.data[this.pos++]<<8|this.data[this.pos++]},a.prototype.readUInt16=function(){return this.data[this.pos++]<<8|this.data[this.pos++]},a.prototype.decodePixels=function(e){var t=this.pixelBitlength/8,r=new Uint8Array(this.width*this.height*t),n=0,a=this;if(null==e&&(e=this.imgData),0===e.length)return new Uint8Array(0);function o(o,i,s,c){var l,u,f,h,d,p,g,m,v,b,y,w,S,x,A,k,T,E,_,N,C,O=Math.ceil((a.width-o)/s),R=Math.ceil((a.height-i)/c),P=a.width==O&&a.height==R;for(x=t*O,w=P?r:new Uint8Array(x*R),p=e.length,S=0,u=0;S<R&&n<p;){switch(e[n++]){case 0:for(h=T=0;T<x;h=T+=1)w[u++]=e[n++];break;case 1:for(h=E=0;E<x;h=E+=1)l=e[n++],d=h<t?0:w[u-t],w[u++]=(l+d)%256;break;case 2:for(h=_=0;_<x;h=_+=1)l=e[n++],f=(h-h%t)/t,A=S&&w[(S-1)*x+f*t+h%t],w[u++]=(A+l)%256;break;case 3:for(h=N=0;N<x;h=N+=1)l=e[n++],f=(h-h%t)/t,d=h<t?0:w[u-t],A=S&&w[(S-1)*x+f*t+h%t],w[u++]=(l+Math.floor((d+A)/2))%256;break;case 4:for(h=C=0;C<x;h=C+=1)l=e[n++],f=(h-h%t)/t,d=h<t?0:w[u-t],0===S?A=k=0:(A=w[(S-1)*x+f*t+h%t],k=f&&w[(S-1)*x+(f-1)*t+h%t]),g=d+A-k,m=Math.abs(g-d),b=Math.abs(g-A),y=Math.abs(g-k),v=m<=b&&m<=y?d:b<=y?A:k,w[u++]=(l+v)%256;break;default:throw new Error("Invalid filter algorithm: "+e[n-1])}if(!P){var L=((i+S*c)*a.width+o)*t,I=S*x;for(h=0;h<O;h+=1){for(var F=0;F<t;F+=1)r[L++]=w[I++];L+=(s-1)*t}}S++}}return e=function(e,t){return function(e,t,r){var n=e.length,a=!t||r,o=!r||r.i;r||(r={}),t||(t=new Fe(3*n));var i=function(e){var r=t.length;if(e>r){var n=new Fe(Math.max(2*r,e));n.set(t),t=n}},s=r.f||0,c=r.p||0,l=r.b||0,u=r.l,f=r.d,h=r.m,d=r.n,p=8*n;do{if(!u){r.f=s=ot(e,c,1);var g=ot(e,c+1,3);if(c+=3,!g){var m=e[(_=st(c)+4)-4]|e[_-3]<<8,v=_+m;if(v>n){if(o)throw"unexpected EOF";break}a&&i(l+m),t.set(e.subarray(_,v),l),r.b=l+=m,r.p=c=8*v;continue}if(1==g)u=tt,f=nt,h=9,d=5;else{if(2!=g)throw"invalid block type";var b=ot(e,c,31)+257,y=ot(e,c+10,15)+4,w=b+ot(e,c+5,31)+1;c+=14;for(var S=new Fe(w),x=new Fe(19),A=0;A<y;++A)x[We[A]]=ot(e,c+3*A,7);c+=3*y;var k=at(x),T=(1<<k)-1;if(!o&&c+w*(k+7)>p)break;var E=Je(x,k,1);for(A=0;A<w;){var _,N=E[ot(e,c,T)];if(c+=15&N,(_=N>>>4)<16)S[A++]=_;else{var C=0,O=0;for(16==_?(O=3+ot(e,c,3),c+=2,C=S[A-1]):17==_?(O=3+ot(e,c,7),c+=3):18==_&&(O=11+ot(e,c,127),c+=7);O--;)S[A++]=C}}var R=S.subarray(0,b),P=S.subarray(b);h=at(R),d=at(P),u=Je(R,h,1),f=Je(P,d,1)}if(c>p)throw"unexpected EOF"}a&&i(l+131072);for(var L=(1<<h)-1,I=(1<<d)-1,F=h+d+18;o||c+F<p;){var D=(C=u[it(e,c)&L])>>>4;if((c+=15&C)>p)throw"unexpected EOF";if(!C)throw"invalid length/literal";if(D<256)t[l++]=D;else{if(256==D){u=null;break}var M=D-254;if(D>264){var j=je[A=D-257];M=ot(e,c,(1<<j)-1)+ze[A],c+=j}var B=f[it(e,c)&I],W=B>>>4;if(!B)throw"invalid distance";if(c+=15&B,P=$e[W],W>3&&(j=Be[W],P+=it(e,c)&(1<<j)-1,c+=j),c>p)throw"unexpected EOF";a&&i(l+131072);for(var U=l+M;l<U;l+=4)t[l]=t[l-P],t[l+1]=t[l+1-P],t[l+2]=t[l+2-P],t[l+3]=t[l+3-P];l=U}}r.l=u,r.p=c,r.b=l,u&&(s=1,r.m=h,r.d=f,r.n=d)}while(!s);return l==t.length?t:ct(t,0,l)}((function(e){if(8!=(15&e[0])||e[0]>>>4>7||(e[0]<<8|e[1])%31)throw"invalid zlib data";if(32&e[1])throw"invalid zlib data: preset dictionaries not supported"}(e),e.subarray(2,-4)),t)}(e),1==a.interlaceMethod?(o(0,0,8,8),o(4,0,8,8),o(0,4,4,8),o(2,0,4,4),o(0,2,2,4),o(1,0,2,2),o(0,1,1,2)):o(0,0,1,1),r},a.prototype.decodePalette=function(){var e,t,r,n,a,o,i,s,c;for(r=this.palette,o=this.transparency.indexed||[],a=new Uint8Array((o.length||0)+r.length),n=0,e=0,t=i=0,s=r.length;i<s;t=i+=3)a[n++]=r[t],a[n++]=r[t+1],a[n++]=r[t+2],a[n++]=null!=(c=o[e++])?c:255;return a},a.prototype.copyToImageData=function(e,t){var r,n,a,o,i,s,c,l,u,f,h;if(n=this.colors,u=null,r=this.hasAlphaChannel,this.palette.length&&(u=null!=(h=this._decodedPalette)?h:this._decodedPalette=this.decodePalette(),n=4,r=!0),l=(a=e.data||e).length,i=u||t,o=s=0,1===n)for(;o<l;)c=u?4*t[o/4]:s,f=i[c++],a[o++]=f,a[o++]=f,a[o++]=f,a[o++]=r?i[c++]:255,s=c;else for(;o<l;)c=u?4*t[o/4]:s,a[o++]=i[c++],a[o++]=i[c++],a[o++]=i[c++],a[o++]=r?i[c++]:255,s=c},a.prototype.decode=function(){var e;return e=new Uint8Array(this.width*this.height*4),this.copyToImageData(e,this.decodePixels()),e};var o=function(){if("[object Window]"===Object.prototype.toString.call(t)){try{r=t.document.createElement("canvas"),n=r.getContext("2d")}catch(e){return!1}return!0}return!1};return o(),e=function(e){var t;if(!0===o())return n.width=e.width,n.height=e.height,n.clearRect(0,0,e.width,e.height),n.putImageData(e,0,0),(t=new Image).src=r.toDataURL(),t;throw new Error("This method requires a Browser with Canvas-capability.")},a.prototype.decodeFrames=function(t){var r,n,a,o,i,s,c,l;if(this.animation){for(l=[],n=i=0,s=(c=this.animation.frames).length;i<s;n=++i)r=c[n],a=t.createImageData(r.width,r.height),o=this.decodePixels(new Uint8Array(r.data)),this.copyToImageData(a,o),r.imageData=a,l.push(r.image=e(a));return l}},a.prototype.renderFrame=function(e,t){var r,n,a;return r=(n=this.animation.frames)[t],a=n[t-1],0===t&&e.clearRect(0,0,this.width,this.height),1===(null!=a?a.disposeOp:void 0)?e.clearRect(a.xOffset,a.yOffset,a.width,a.height):2===(null!=a?a.disposeOp:void 0)&&e.putImageData(a.imageData,a.xOffset,a.yOffset),0===r.blendOp&&e.clearRect(r.xOffset,r.yOffset,r.width,r.height),e.drawImage(r.image,r.xOffset,r.yOffset)},a.prototype.animate=function(e){var t,r,n,a,o,i,s=this;return r=0,i=this.animation,a=i.numFrames,n=i.frames,o=i.numPlays,(t=function(){var i,c;if(i=r++%a,c=n[i],s.renderFrame(e,i),a>1&&r/a<o)return s.animation._timeout=setTimeout(t,c.delay)})()},a.prototype.stopAnimation=function(){var e;return clearTimeout(null!=(e=this.animation)?e._timeout:void 0)},a.prototype.render=function(e){var t,r;return e._png&&e._png.stopAnimation(),e._png=this,e.width=this.width,e.height=this.height,t=e.getContext("2d"),this.animation?(this.decodeFrames(t),this.animate(t)):(r=t.createImageData(this.width,this.height),this.copyToImageData(r,this.decodePixels()),t.putImageData(r,0,0))},a}();function Et(e){var t=0;if(71!==e[t++]||73!==e[t++]||70!==e[t++]||56!==e[t++]||56!=(e[t++]+1&253)||97!==e[t++])throw new Error("Invalid GIF 87a/89a header.");var r=e[t++]|e[t++]<<8,n=e[t++]|e[t++]<<8,a=e[t++],o=a>>7,i=1<<1+(7&a);e[t++],e[t++];var s=null,c=null;o&&(s=t,c=i,t+=3*i);var l=!0,u=[],f=0,h=null,d=0,p=null;for(this.width=r,this.height=n;l&&t<e.length;)switch(e[t++]){case 33:switch(e[t++]){case 255:if(11!==e[t]||78==e[t+1]&&69==e[t+2]&&84==e[t+3]&&83==e[t+4]&&67==e[t+5]&&65==e[t+6]&&80==e[t+7]&&69==e[t+8]&&50==e[t+9]&&46==e[t+10]&&48==e[t+11]&&3==e[t+12]&&1==e[t+13]&&0==e[t+16])t+=14,p=e[t++]|e[t++]<<8,t++;else for(t+=12;;){if(!((_=e[t++])>=0))throw Error("Invalid block size");if(0===_)break;t+=_}break;case 249:if(4!==e[t++]||0!==e[t+4])throw new Error("Invalid graphics extension block.");var g=e[t++];f=e[t++]|e[t++]<<8,h=e[t++],0==(1&g)&&(h=null),d=g>>2&7,t++;break;case 254:for(;;){if(!((_=e[t++])>=0))throw Error("Invalid block size");if(0===_)break;t+=_}break;default:throw new Error("Unknown graphic control label: 0x"+e[t-1].toString(16))}break;case 44:var m=e[t++]|e[t++]<<8,v=e[t++]|e[t++]<<8,b=e[t++]|e[t++]<<8,y=e[t++]|e[t++]<<8,w=e[t++],S=w>>6&1,x=1<<1+(7&w),A=s,k=c,T=!1;w>>7&&(T=!0,A=t,k=x,t+=3*x);var E=t;for(t++;;){var _;if(!((_=e[t++])>=0))throw Error("Invalid block size");if(0===_)break;t+=_}u.push({x:m,y:v,width:b,height:y,has_local_palette:T,palette_offset:A,palette_size:k,data_offset:E,data_length:t-E,transparent_index:h,interlaced:!!S,delay:f,disposal:d});break;case 59:l=!1;break;default:throw new Error("Unknown gif block: 0x"+e[t-1].toString(16))}this.numFrames=function(){return u.length},this.loopCount=function(){return p},this.frameInfo=function(e){if(e<0||e>=u.length)throw new Error("Frame index out of range.");return u[e]},this.decodeAndBlitFrameBGRA=function(t,n){var a=this.frameInfo(t),o=a.width*a.height,i=new Uint8Array(o);_t(e,a.data_offset,i,o);var s=a.palette_offset,c=a.transparent_index;null===c&&(c=256);var l=a.width,u=r-l,f=l,h=4*(a.y*r+a.x),d=4*((a.y+a.height)*r+a.x),p=h,g=4*u;!0===a.interlaced&&(g+=4*r*7);for(var m=8,v=0,b=i.length;v<b;++v){var y=i[v];if(0===f&&(f=l,(p+=g)>=d&&(g=4*u+4*r*(m-1),p=h+(l+u)*(m<<1),m>>=1)),y===c)p+=4;else{var w=e[s+3*y],S=e[s+3*y+1],x=e[s+3*y+2];n[p++]=x,n[p++]=S,n[p++]=w,n[p++]=255}--f}},this.decodeAndBlitFrameRGBA=function(t,n){var a=this.frameInfo(t),o=a.width*a.height,i=new Uint8Array(o);_t(e,a.data_offset,i,o);var s=a.palette_offset,c=a.transparent_index;null===c&&(c=256);var l=a.width,u=r-l,f=l,h=4*(a.y*r+a.x),d=4*((a.y+a.height)*r+a.x),p=h,g=4*u;!0===a.interlaced&&(g+=4*r*7);for(var m=8,v=0,b=i.length;v<b;++v){var y=i[v];if(0===f&&(f=l,(p+=g)>=d&&(g=4*u+4*r*(m-1),p=h+(l+u)*(m<<1),m>>=1)),y===c)p+=4;else{var w=e[s+3*y],S=e[s+3*y+1],x=e[s+3*y+2];n[p++]=w,n[p++]=S,n[p++]=x,n[p++]=255}--f}}}function _t(e,t,r,a){for(var o=e[t++],i=1<<o,s=i+1,c=s+1,l=o+1,u=(1<<l)-1,f=0,h=0,d=0,p=e[t++],g=new Int32Array(4096),m=null;;){for(;f<16&&0!==p;)h|=e[t++]<<f,f+=8,1===p?p=e[t++]:--p;if(f<l)break;var v=h&u;if(h>>=l,f-=l,v!==i){if(v===s)break;for(var b=v<c?v:m,y=0,w=b;w>i;)w=g[w]>>8,++y;var S=w;if(d+y+(b!==v?1:0)>a)return void n.log("Warning, gif stream longer than expected.");r[d++]=S;var x=d+=y;for(b!==v&&(r[d++]=S),w=b;y--;)w=g[w],r[--x]=255&w,w>>=8;null!==m&&c<4096&&(g[c++]=m<<8|S,c>=u+1&&l<12&&(++l,u=u<<1|1)),m=v}else c=s+1,u=(1<<(l=o+1))-1,m=null}return d!==a&&n.log("Warning, gif stream shorter than expected."),r}function Nt(e){var t,r,n,a,o,i=Math.floor,s=new Array(64),c=new Array(64),l=new Array(64),u=new Array(64),f=new Array(65535),h=new Array(65535),d=new Array(64),p=new Array(64),g=[],m=0,v=7,b=new Array(64),y=new Array(64),w=new Array(64),S=new Array(256),x=new Array(2048),A=[0,1,5,6,14,15,27,28,2,4,7,13,16,26,29,42,3,8,12,17,25,30,41,43,9,11,18,24,31,40,44,53,10,19,23,32,39,45,52,54,20,22,33,38,46,51,55,60,21,34,37,47,50,56,59,61,35,36,48,49,57,58,62,63],k=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],T=[0,1,2,3,4,5,6,7,8,9,10,11],E=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],_=[1,2,3,0,4,17,5,18,33,49,65,6,19,81,97,7,34,113,20,50,129,145,161,8,35,66,177,193,21,82,209,240,36,51,98,114,130,9,10,22,23,24,25,26,37,38,39,40,41,42,52,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,225,226,227,228,229,230,231,232,233,234,241,242,243,244,245,246,247,248,249,250],N=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],C=[0,1,2,3,4,5,6,7,8,9,10,11],O=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],R=[0,1,2,3,17,4,5,33,49,6,18,65,81,7,97,113,19,34,50,129,8,20,66,145,161,177,193,9,35,51,82,240,21,98,114,209,10,22,36,52,225,37,241,23,24,25,26,38,39,40,41,42,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,130,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,226,227,228,229,230,231,232,233,234,242,243,244,245,246,247,248,249,250];function P(e,t){for(var r=0,n=0,a=new Array,o=1;o<=16;o++){for(var i=1;i<=e[o];i++)a[t[n]]=[],a[t[n]][0]=r,a[t[n]][1]=o,n++,r++;r*=2}return a}function L(e){for(var t=e[0],r=e[1]-1;r>=0;)t&1<<r&&(m|=1<<v),r--,--v<0&&(255==m?(I(255),I(0)):I(m),v=7,m=0)}function I(e){g.push(e)}function F(e){I(e>>8&255),I(255&e)}function D(e,t,r,n,a){for(var o,i=a[0],s=a[240],c=function(e,t){var r,n,a,o,i,s,c,l,u,f,h=0;for(u=0;u<8;++u){r=e[h],n=e[h+1],a=e[h+2],o=e[h+3],i=e[h+4],s=e[h+5],c=e[h+6];var p=r+(l=e[h+7]),g=r-l,m=n+c,v=n-c,b=a+s,y=a-s,w=o+i,S=o-i,x=p+w,A=p-w,k=m+b,T=m-b;e[h]=x+k,e[h+4]=x-k;var E=.707106781*(T+A);e[h+2]=A+E,e[h+6]=A-E;var _=.382683433*((x=S+y)-(T=v+g)),N=.5411961*x+_,C=1.306562965*T+_,O=.707106781*(k=y+v),R=g+O,P=g-O;e[h+5]=P+N,e[h+3]=P-N,e[h+1]=R+C,e[h+7]=R-C,h+=8}for(h=0,u=0;u<8;++u){r=e[h],n=e[h+8],a=e[h+16],o=e[h+24],i=e[h+32],s=e[h+40],c=e[h+48];var L=r+(l=e[h+56]),I=r-l,F=n+c,D=n-c,M=a+s,j=a-s,B=o+i,W=o-i,U=L+B,H=L-B,z=F+M,V=F-M;e[h]=U+z,e[h+32]=U-z;var q=.707106781*(V+H);e[h+16]=H+q,e[h+48]=H-q;var $=.382683433*((U=W+j)-(V=D+I)),G=.5411961*U+$,X=1.306562965*V+$,Y=.707106781*(z=j+D),K=I+Y,J=I-Y;e[h+40]=J+G,e[h+24]=J-G,e[h+8]=K+X,e[h+56]=K-X,h++}for(u=0;u<64;++u)f=e[u]*t[u],d[u]=f>0?f+.5|0:f-.5|0;return d}(e,t),l=0;l<64;++l)p[A[l]]=c[l];var u=p[0]-r;r=p[0],0==u?L(n[0]):(L(n[h[o=32767+u]]),L(f[o]));for(var g=63;g>0&&0==p[g];)g--;if(0==g)return L(i),r;for(var m,v=1;v<=g;){for(var b=v;0==p[v]&&v<=g;)++v;var y=v-b;if(y>=16){m=y>>4;for(var w=1;w<=m;++w)L(s);y&=15}o=32767+p[v],L(a[(y<<4)+h[o]]),L(f[o]),v++}return 63!=g&&L(i),r}function M(e){e=Math.min(Math.max(e,1),100),o!=e&&(function(e){for(var t=[16,11,10,16,24,40,51,61,12,12,14,19,26,58,60,55,14,13,16,24,40,57,69,56,14,17,22,29,51,87,80,62,18,22,37,56,68,109,103,77,24,35,55,64,81,104,113,92,49,64,78,87,103,121,120,101,72,92,95,98,112,100,103,99],r=0;r<64;r++){var n=i((t[r]*e+50)/100);n=Math.min(Math.max(n,1),255),s[A[r]]=n}for(var a=[17,18,24,47,99,99,99,99,18,21,26,66,99,99,99,99,24,26,56,99,99,99,99,99,47,66,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99],o=0;o<64;o++){var f=i((a[o]*e+50)/100);f=Math.min(Math.max(f,1),255),c[A[o]]=f}for(var h=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],d=0,p=0;p<8;p++)for(var g=0;g<8;g++)l[d]=1/(s[A[d]]*h[p]*h[g]*8),u[d]=1/(c[A[d]]*h[p]*h[g]*8),d++}(e<50?Math.floor(5e3/e):Math.floor(200-2*e)),o=e)}this.encode=function(e,o){o&&M(o),g=new Array,m=0,v=7,F(65496),F(65504),F(16),I(74),I(70),I(73),I(70),I(0),I(1),I(1),I(0),F(1),F(1),I(0),I(0),function(){F(65499),F(132),I(0);for(var e=0;e<64;e++)I(s[e]);I(1);for(var t=0;t<64;t++)I(c[t])}(),function(e,t){F(65472),F(17),I(8),F(t),F(e),I(3),I(1),I(17),I(0),I(2),I(17),I(1),I(3),I(17),I(1)}(e.width,e.height),function(){F(65476),F(418),I(0);for(var e=0;e<16;e++)I(k[e+1]);for(var t=0;t<=11;t++)I(T[t]);I(16);for(var r=0;r<16;r++)I(E[r+1]);for(var n=0;n<=161;n++)I(_[n]);I(1);for(var a=0;a<16;a++)I(N[a+1]);for(var o=0;o<=11;o++)I(C[o]);I(17);for(var i=0;i<16;i++)I(O[i+1]);for(var s=0;s<=161;s++)I(R[s])}(),F(65498),F(12),I(3),I(1),I(0),I(2),I(17),I(3),I(17),I(0),I(63),I(0);var i=0,f=0,h=0;m=0,v=7,this.encode.displayName="_encode_";for(var d,p,S,A,P,j,B,W,U,H=e.data,z=e.width,V=e.height,q=4*z,$=0;$<V;){for(d=0;d<q;){for(P=q*$+d,B=-1,W=0,U=0;U<64;U++)j=P+(W=U>>3)*q+(B=4*(7&U)),$+W>=V&&(j-=q*($+1+W-V)),d+B>=q&&(j-=d+B-q+4),p=H[j++],S=H[j++],A=H[j++],b[U]=(x[p]+x[S+256>>0]+x[A+512>>0]>>16)-128,y[U]=(x[p+768>>0]+x[S+1024>>0]+x[A+1280>>0]>>16)-128,w[U]=(x[p+1280>>0]+x[S+1536>>0]+x[A+1792>>0]>>16)-128;i=D(b,l,i,t,n),f=D(y,u,f,r,a),h=D(w,u,h,r,a),d+=32}$+=8}if(v>=0){var G=[];G[1]=v+1,G[0]=(1<<v+1)-1,L(G)}return F(65497),new Uint8Array(g)},e=e||50,function(){for(var e=String.fromCharCode,t=0;t<256;t++)S[t]=e(t)}(),t=P(k,T),r=P(N,C),n=P(E,_),a=P(O,R),function(){for(var e=1,t=2,r=1;r<=15;r++){for(var n=e;n<t;n++)h[32767+n]=r,f[32767+n]=[],f[32767+n][1]=r,f[32767+n][0]=n;for(var a=-(t-1);a<=-e;a++)h[32767+a]=r,f[32767+a]=[],f[32767+a][1]=r,f[32767+a][0]=t-1+a;e<<=1,t<<=1}}(),function(){for(var e=0;e<256;e++)x[e]=19595*e,x[e+256>>0]=38470*e,x[e+512>>0]=7471*e+32768,x[e+768>>0]=-11059*e,x[e+1024>>0]=-21709*e,x[e+1280>>0]=32768*e+8421375,x[e+1536>>0]=-27439*e,x[e+1792>>0]=-5329*e}(),M(e)}function Ct(e,t){if(this.pos=0,this.buffer=e,this.datav=new DataView(e.buffer),this.is_with_alpha=!!t,this.bottom_up=!0,this.flag=String.fromCharCode(this.buffer[0])+String.fromCharCode(this.buffer[1]),this.pos+=2,-1===["BM","BA","CI","CP","IC","PT"].indexOf(this.flag))throw new Error("Invalid BMP File");this.parseHeader(),this.parseBGR()}function Ot(e){function t(e){if(!e)throw Error("assert :P")}function r(e,t,r){for(var n=0;4>n;n++)if(e[t+n]!=r.charCodeAt(n))return!0;return!1}function n(e,t,r,n,a){for(var o=0;o<a;o++)e[t+o]=r[n+o]}function a(e,t,r,n){for(var a=0;a<n;a++)e[t+a]=r}function o(e){return new Int32Array(e)}function i(e,t){for(var r=[],n=0;n<e;n++)r.push(new t);return r}function s(e,t){var r=[];return function e(r,n,a){for(var o=a[n],i=0;i<o&&(r.push(a.length>n+1?[]:new t),!(a.length<n+1));i++)e(r[i],n+1,a)}(r,0,e),r}function c(e,t){for(var r="",n=0;n<4;n++)r+=String.fromCharCode(e[t++]);return r}function l(e,t){return(e[t+0]<<0|e[t+1]<<8|e[t+2]<<16)>>>0}function u(e,t){return(e[t+0]<<0|e[t+1]<<8|e[t+2]<<16|e[t+3]<<24)>>>0}new(Ot=function(){var e=this;function c(e,t){for(var r=1<<t-1>>>0;e&r;)r>>>=1;return r?(e&r-1)+r:e}function l(e,r,n,a,o){t(!(a%n));do{e[r+(a-=n)]=o}while(0<a)}function u(e,r,n,a,i){if(t(2328>=i),512>=i)var s=o(512);else if(null==(s=o(i)))return 0;return function(e,r,n,a,i,s){var u,h,d=r,p=1<<n,g=o(16),m=o(16);for(t(0!=i),t(null!=a),t(null!=e),t(0<n),h=0;h<i;++h){if(15<a[h])return 0;++g[a[h]]}if(g[0]==i)return 0;for(m[1]=0,u=1;15>u;++u){if(g[u]>1<<u)return 0;m[u+1]=m[u]+g[u]}for(h=0;h<i;++h)u=a[h],0<a[h]&&(s[m[u]++]=h);if(1==m[15])return(a=new f).g=0,a.value=s[0],l(e,d,1,p,a),p;var v,b=-1,y=p-1,w=0,S=1,x=1,A=1<<n;for(h=0,u=1,i=2;u<=n;++u,i<<=1){if(S+=x<<=1,0>(x-=g[u]))return 0;for(;0<g[u];--g[u])(a=new f).g=u,a.value=s[h++],l(e,d+w,i,A,a),w=c(w,u)}for(u=n+1,i=2;15>=u;++u,i<<=1){if(S+=x<<=1,0>(x-=g[u]))return 0;for(;0<g[u];--g[u]){if(a=new f,(w&y)!=b){for(d+=A,v=1<<(b=u)-n;15>b&&!(0>=(v-=g[b]));)++b,v<<=1;p+=A=1<<(v=b-n),e[r+(b=w&y)].g=v+n,e[r+b].value=d-r-b}a.g=u-n,a.value=s[h++],l(e,d+(w>>n),i,A,a),w=c(w,u)}}return S!=2*m[15]-1?0:p}(e,r,n,a,i,s)}function f(){this.value=this.g=0}function h(){this.value=this.g=0}function d(){this.G=i(5,f),this.H=o(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=i(jr,h)}function p(e,r,n,a){t(null!=e),t(null!=r),t(2147483648>a),e.Ca=254,e.I=0,e.b=-8,e.Ka=0,e.oa=r,e.pa=n,e.Jd=r,e.Yc=n+a,e.Zc=4<=a?n+a-4+1:n,E(e)}function g(e,t){for(var r=0;0<t--;)r|=N(e,128)<<t;return r}function m(e,t){var r=g(e,t);return _(e)?-r:r}function v(e,r,n,a){var o,i=0;for(t(null!=e),t(null!=r),t(4294967288>a),e.Sb=a,e.Ra=0,e.u=0,e.h=0,4<a&&(a=4),o=0;o<a;++o)i+=r[n+o]<<8*o;e.Ra=i,e.bb=a,e.oa=r,e.pa=n}function b(e){for(;8<=e.u&&e.bb<e.Sb;)e.Ra>>>=8,e.Ra+=e.oa[e.pa+e.bb]<<Ur-8>>>0,++e.bb,e.u-=8;A(e)&&(e.h=1,e.u=0)}function y(e,r){if(t(0<=r),!e.h&&r<=Wr){var n=x(e)&Br[r];return e.u+=r,b(e),n}return e.h=1,e.u=0}function w(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function S(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function x(e){return e.Ra>>>(e.u&Ur-1)>>>0}function A(e){return t(e.bb<=e.Sb),e.h||e.bb==e.Sb&&e.u>Ur}function k(e,t){e.u=t,e.h=A(e)}function T(e){e.u>=Hr&&(t(e.u>=Hr),b(e))}function E(e){t(null!=e&&null!=e.oa),e.pa<e.Zc?(e.I=(e.oa[e.pa++]|e.I<<8)>>>0,e.b+=8):(t(null!=e&&null!=e.oa),e.pa<e.Yc?(e.b+=8,e.I=e.oa[e.pa++]|e.I<<8):e.Ka?e.b=0:(e.I<<=8,e.b+=8,e.Ka=1))}function _(e){return g(e,1)}function N(e,t){var r=e.Ca;0>e.b&&E(e);var n=e.b,a=r*t>>>8,o=(e.I>>>n>a)+0;for(o?(r-=a,e.I-=a+1<<n>>>0):r=a+1,n=r,a=0;256<=n;)a+=8,n>>=8;return n=7^a+zr[n],e.b-=n,e.Ca=(r<<n)-1,o}function C(e,t,r){e[t+0]=r>>24&255,e[t+1]=r>>16&255,e[t+2]=r>>8&255,e[t+3]=r>>0&255}function O(e,t){return e[t+0]<<0|e[t+1]<<8}function R(e,t){return O(e,t)|e[t+2]<<16}function P(e,t){return O(e,t)|O(e,t+2)<<16}function L(e,r){var n=1<<r;return t(null!=e),t(0<r),e.X=o(n),null==e.X?0:(e.Mb=32-r,e.Xa=r,1)}function I(e,r){t(null!=e),t(null!=r),t(e.Xa==r.Xa),n(r.X,0,e.X,0,1<<r.Xa)}function F(){this.X=[],this.Xa=this.Mb=0}function D(e,r,n,a){t(null!=n),t(null!=a);var o=n[0],i=a[0];return 0==o&&(o=(e*i+r/2)/r),0==i&&(i=(r*o+e/2)/e),0>=o||0>=i?0:(n[0]=o,a[0]=i,1)}function M(e,t){return e+(1<<t)-1>>>t}function j(e,t){return((4278255360&e)+(4278255360&t)>>>0&4278255360)+((16711935&e)+(16711935&t)>>>0&16711935)>>>0}function B(t,r){e[r]=function(r,n,a,o,i,s,c){var l;for(l=0;l<i;++l){var u=e[t](s[c+l-1],a,o+l);s[c+l]=j(r[n+l],u)}}}function W(){this.ud=this.hd=this.jd=0}function U(e,t){return((4278124286&(e^t))>>>1)+(e&t)>>>0}function H(e){return 0<=e&&256>e?e:0>e?0:255<e?255:void 0}function z(e,t){return H(e+(e-t+.5>>1))}function V(e,t,r){return Math.abs(t-r)-Math.abs(e-r)}function q(e,t,r,n,a,o,i){for(n=o[i-1],r=0;r<a;++r)o[i+r]=n=j(e[t+r],n)}function $(e,t,r,n,a){var o;for(o=0;o<r;++o){var i=e[t+o],s=i>>8&255,c=16711935&(c=(c=16711935&i)+((s<<16)+s));n[a+o]=(4278255360&i)+c>>>0}}function G(e,t){t.jd=e>>0&255,t.hd=e>>8&255,t.ud=e>>16&255}function X(e,t,r,n,a,o){var i;for(i=0;i<n;++i){var s=t[r+i],c=s>>>8,l=s,u=255&(u=(u=s>>>16)+((e.jd<<24>>24)*(c<<24>>24)>>>5));l=255&(l=(l+=(e.hd<<24>>24)*(c<<24>>24)>>>5)+((e.ud<<24>>24)*(u<<24>>24)>>>5)),a[o+i]=(4278255360&s)+(u<<16)+l}}function Y(t,r,n,a,o){e[r]=function(e,t,r,n,i,s,c,l,u){for(n=c;n<l;++n)for(c=0;c<u;++c)i[s++]=o(r[a(e[t++])])},e[t]=function(t,r,i,s,c,l,u){var f=8>>t.b,h=t.Ea,d=t.K[0],p=t.w;if(8>f)for(t=(1<<t.b)-1,p=(1<<f)-1;r<i;++r){var g,m=0;for(g=0;g<h;++g)g&t||(m=a(s[c++])),l[u++]=o(d[m&p]),m>>=f}else e["VP8LMapColor"+n](s,c,d,p,l,u,r,i,h)}}function K(e,t,r,n,a){for(r=t+r;t<r;){var o=e[t++];n[a++]=o>>16&255,n[a++]=o>>8&255,n[a++]=o>>0&255}}function J(e,t,r,n,a){for(r=t+r;t<r;){var o=e[t++];n[a++]=o>>16&255,n[a++]=o>>8&255,n[a++]=o>>0&255,n[a++]=o>>24&255}}function Z(e,t,r,n,a){for(r=t+r;t<r;){var o=(i=e[t++])>>16&240|i>>12&15,i=i>>0&240|i>>28&15;n[a++]=o,n[a++]=i}}function Q(e,t,r,n,a){for(r=t+r;t<r;){var o=(i=e[t++])>>16&248|i>>13&7,i=i>>5&224|i>>3&31;n[a++]=o,n[a++]=i}}function ee(e,t,r,n,a){for(r=t+r;t<r;){var o=e[t++];n[a++]=o>>0&255,n[a++]=o>>8&255,n[a++]=o>>16&255}}function te(e,t,r,a,o,i){if(0==i)for(r=t+r;t<r;)C(a,((i=e[t++])[0]>>24|i[1]>>8&65280|i[2]<<8&16711680|i[3]<<24)>>>0),o+=32;else n(a,o,e,t,r)}function re(t,r){e[r][0]=e[t+"0"],e[r][1]=e[t+"1"],e[r][2]=e[t+"2"],e[r][3]=e[t+"3"],e[r][4]=e[t+"4"],e[r][5]=e[t+"5"],e[r][6]=e[t+"6"],e[r][7]=e[t+"7"],e[r][8]=e[t+"8"],e[r][9]=e[t+"9"],e[r][10]=e[t+"10"],e[r][11]=e[t+"11"],e[r][12]=e[t+"12"],e[r][13]=e[t+"13"],e[r][14]=e[t+"0"],e[r][15]=e[t+"0"]}function ne(e){return e==zn||e==Vn||e==qn||e==$n}function ae(){this.eb=[],this.size=this.A=this.fb=0}function oe(){this.y=[],this.f=[],this.ea=[],this.F=[],this.Tc=this.Ed=this.Cd=this.Fd=this.lb=this.Db=this.Ab=this.fa=this.J=this.W=this.N=this.O=0}function ie(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new ae,this.f.kb=new oe,this.sd=null}function se(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function ce(){this.Id=this.fd=this.Md=this.hb=this.ib=this.da=this.bd=this.cd=this.j=this.v=this.Da=this.Sd=this.ob=0}function le(e){return alert("todo:WebPSamplerProcessPlane"),e.T}function ue(e,t){var r=e.T,a=t.ba.f.RGBA,o=a.eb,i=a.fb+e.ka*a.A,s=va[t.ba.S],c=e.y,l=e.O,u=e.f,f=e.N,h=e.ea,d=e.W,p=t.cc,g=t.dc,m=t.Mc,v=t.Nc,b=e.ka,y=e.ka+e.T,w=e.U,S=w+1>>1;for(0==b?s(c,l,null,null,u,f,h,d,u,f,h,d,o,i,null,null,w):(s(t.ec,t.fc,c,l,p,g,m,v,u,f,h,d,o,i-a.A,o,i,w),++r);b+2<y;b+=2)p=u,g=f,m=h,v=d,f+=e.Rc,d+=e.Rc,i+=2*a.A,s(c,(l+=2*e.fa)-e.fa,c,l,p,g,m,v,u,f,h,d,o,i-a.A,o,i,w);return l+=e.fa,e.j+y<e.o?(n(t.ec,t.fc,c,l,w),n(t.cc,t.dc,u,f,S),n(t.Mc,t.Nc,h,d,S),r--):1&y||s(c,l,null,null,u,f,h,d,u,f,h,d,o,i+a.A,null,null,w),r}function fe(e,r,n){var a=e.F,o=[e.J];if(null!=a){var i=e.U,s=r.ba.S,c=s==Wn||s==qn;r=r.ba.f.RGBA;var l=[0],u=e.ka;l[0]=e.T,e.Kb&&(0==u?--l[0]:(--u,o[0]-=e.width),e.j+e.ka+e.T==e.o&&(l[0]=e.o-e.j-u));var f=r.eb;u=r.fb+u*r.A,e=Tn(a,o[0],e.width,i,l,f,u+(c?0:3),r.A),t(n==l),e&&ne(s)&&An(f,u,c,i,l,r.A)}return 0}function he(e){var t=e.ma,r=t.ba.S,n=11>r,a=r==Mn||r==Bn||r==Wn||r==Un||12==r||ne(r);if(t.memory=null,t.Ib=null,t.Jb=null,t.Nd=null,!Fr(t.Oa,e,a?11:12))return 0;if(a&&ne(r)&&br(),e.da)alert("todo:use_scaling");else{if(n){if(t.Ib=le,e.Kb){if(r=e.U+1>>1,t.memory=o(e.U+2*r),null==t.memory)return 0;t.ec=t.memory,t.fc=0,t.cc=t.ec,t.dc=t.fc+e.U,t.Mc=t.cc,t.Nc=t.dc+r,t.Ib=ue,br()}}else alert("todo:EmitYUV");a&&(t.Jb=fe,n&&mr())}if(n&&!Ra){for(e=0;256>e;++e)Pa[e]=89858*(e-128)+Ea>>Ta,Fa[e]=-22014*(e-128)+Ea,Ia[e]=-45773*(e-128),La[e]=113618*(e-128)+Ea>>Ta;for(e=_a;e<Na;++e)t=76283*(e-16)+Ea>>Ta,Da[e-_a]=qe(t,255),Ma[e-_a]=qe(t+8>>4,15);Ra=1}return 1}function de(e){var r=e.ma,n=e.U,a=e.T;return t(!(1&e.ka)),0>=n||0>=a?0:(n=r.Ib(e,r),null!=r.Jb&&r.Jb(e,r,n),r.Dc+=n,1)}function pe(e){e.ma.memory=null}function ge(e,t,r,n){return 47!=y(e,8)?0:(t[0]=y(e,14)+1,r[0]=y(e,14)+1,n[0]=y(e,1),0!=y(e,3)?0:!e.h)}function me(e,t){if(4>e)return e+1;var r=e-2>>1;return(2+(1&e)<<r)+y(t,r)+1}function ve(e,t){return 120<t?t-120:1<=(r=((r=Zn[t-1])>>4)*e+(8-(15&r)))?r:1;var r}function be(e,t,r){var n=x(r),a=e[t+=255&n].g-8;return 0<a&&(k(r,r.u+8),n=x(r),t+=e[t].value,t+=n&(1<<a)-1),k(r,r.u+e[t].g),e[t].value}function ye(e,r,n){return n.g+=e.g,n.value+=e.value<<r>>>0,t(8>=n.g),e.g}function we(e,r,n){var a=e.xc;return t((r=0==a?0:e.vc[e.md*(n>>a)+(r>>a)])<e.Wb),e.Ya[r]}function Se(e,r,a,o){var i=e.ab,s=e.c*r,c=e.C;r=c+r;var l=a,u=o;for(o=e.Ta,a=e.Ua;0<i--;){var f=e.gc[i],h=c,d=r,p=l,g=u,m=(u=o,l=a,f.Ea);switch(t(h<d),t(d<=f.nc),f.hc){case 2:$r(p,g,(d-h)*m,u,l);break;case 0:var v=h,b=d,y=u,w=l,S=(E=f).Ea;0==v&&(Vr(p,g,null,null,1,y,w),q(p,g+1,0,0,S-1,y,w+1),g+=S,w+=S,++v);for(var x=1<<E.b,A=x-1,k=M(S,E.b),T=E.K,E=E.w+(v>>E.b)*k;v<b;){var _=T,N=E,C=1;for(qr(p,g,y,w-S,1,y,w);C<S;){var O=(C&~A)+x;O>S&&(O=S),(0,Jr[_[N++]>>8&15])(p,g+ +C,y,w+C-S,O-C,y,w+C),C=O}g+=S,w+=S,++v&A||(E+=k)}d!=f.nc&&n(u,l-m,u,l+(d-h-1)*m,m);break;case 1:for(m=p,b=g,S=(p=f.Ea)-(w=p&~(y=(g=1<<f.b)-1)),v=M(p,f.b),x=f.K,f=f.w+(h>>f.b)*v;h<d;){for(A=x,k=f,T=new W,E=b+w,_=b+p;b<E;)G(A[k++],T),Zr(T,m,b,g,u,l),b+=g,l+=g;b<_&&(G(A[k++],T),Zr(T,m,b,S,u,l),b+=S,l+=S),++h&y||(f+=v)}break;case 3:if(p==u&&g==l&&0<f.b){for(b=u,p=m=l+(d-h)*m-(w=(d-h)*M(f.Ea,f.b)),g=u,y=l,v=[],w=(S=w)-1;0<=w;--w)v[w]=g[y+w];for(w=S-1;0<=w;--w)b[p+w]=v[w];Gr(f,h,d,u,m,u,l)}else Gr(f,h,d,p,g,u,l)}l=o,u=a}u!=a&&n(o,a,l,u,s)}function xe(e,r){var n=e.V,a=e.Ba+e.c*e.C,o=r-e.C;if(t(r<=e.l.o),t(16>=o),0<o){var i=e.l,s=e.Ta,c=e.Ua,l=i.width;if(Se(e,o,n,a),o=c=[c],t((n=e.C)<(a=r)),t(i.v<i.va),a>i.o&&(a=i.o),n<i.j){var u=i.j-n;n=i.j,o[0]+=u*l}if(n>=a?n=0:(o[0]+=4*i.v,i.ka=n-i.j,i.U=i.va-i.v,i.T=a-n,n=1),n){if(c=c[0],11>(n=e.ca).S){var f=n.f.RGBA,h=(a=n.S,o=i.U,i=i.T,u=f.eb,f.A),d=i;for(f=f.fb+e.Ma*f.A;0<d--;){var p=s,g=c,m=o,v=u,b=f;switch(a){case Dn:Qr(p,g,m,v,b);break;case Mn:en(p,g,m,v,b);break;case zn:en(p,g,m,v,b),An(v,b,0,m,1,0);break;case jn:nn(p,g,m,v,b);break;case Bn:te(p,g,m,v,b,1);break;case Vn:te(p,g,m,v,b,1),An(v,b,0,m,1,0);break;case Wn:te(p,g,m,v,b,0);break;case qn:te(p,g,m,v,b,0),An(v,b,1,m,1,0);break;case Un:tn(p,g,m,v,b);break;case $n:tn(p,g,m,v,b),kn(v,b,m,1,0);break;case Hn:rn(p,g,m,v,b);break;default:t(0)}c+=l,f+=h}e.Ma+=i}else alert("todo:EmitRescaledRowsYUVA");t(e.Ma<=n.height)}}e.C=r,t(e.C<=e.i)}function Ae(e){var t;if(0<e.ua)return 0;for(t=0;t<e.Wb;++t){var r=e.Ya[t].G,n=e.Ya[t].H;if(0<r[1][n[1]+0].g||0<r[2][n[2]+0].g||0<r[3][n[3]+0].g)return 0}return 1}function ke(e,r,n,a,o,i){if(0!=e.Z){var s=e.qd,c=e.rd;for(t(null!=ma[e.Z]);r<n;++r)ma[e.Z](s,c,a,o,a,o,i),s=a,c=o,o+=i;e.qd=s,e.rd=c}}function Te(e,r){var n=e.l.ma,a=0==n.Z||1==n.Z?e.l.j:e.C;if(a=e.C<a?a:e.C,t(r<=e.l.o),r>a){var o=e.l.width,i=n.ca,s=n.tb+o*a,c=e.V,l=e.Ba+e.c*a,u=e.gc;t(1==e.ab),t(3==u[0].hc),Yr(u[0],a,r,c,l,i,s),ke(n,a,r,i,s,o)}e.C=e.Ma=r}function Ee(e,r,n,a,o,i,s){var c=e.$/a,l=e.$%a,u=e.m,f=e.s,h=n+e.$,d=h;o=n+a*o;var p=n+a*i,g=280+f.ua,m=e.Pb?c:16777216,v=0<f.ua?f.Wa:null,b=f.wc,y=h<p?we(f,l,c):null;t(e.C<i),t(p<=o);var w=!1;e:for(;;){for(;w||h<p;){var S=0;if(c>=m){var E=h-n;t((m=e).Pb),m.wd=m.m,m.xd=E,0<m.s.ua&&I(m.s.Wa,m.s.vb),m=c+ea}if(l&b||(y=we(f,l,c)),t(null!=y),y.Qb&&(r[h]=y.qb,w=!0),!w)if(T(u),y.jc){S=u,E=r;var _=h,N=y.pd[x(S)&jr-1];t(y.jc),256>N.g?(k(S,S.u+N.g),E[_]=N.value,S=0):(k(S,S.u+N.g-256),t(256<=N.value),S=N.value),0==S&&(w=!0)}else S=be(y.G[0],y.H[0],u);if(u.h)break;if(w||256>S){if(!w)if(y.nd)r[h]=(y.qb|S<<8)>>>0;else{if(T(u),w=be(y.G[1],y.H[1],u),T(u),E=be(y.G[2],y.H[2],u),_=be(y.G[3],y.H[3],u),u.h)break;r[h]=(_<<24|w<<16|S<<8|E)>>>0}if(w=!1,++h,++l>=a&&(l=0,++c,null!=s&&c<=i&&!(c%16)&&s(e,c),null!=v))for(;d<h;)S=r[d++],v.X[(506832829*S&4294967295)>>>v.Mb]=S}else if(280>S){if(S=me(S-256,u),E=be(y.G[4],y.H[4],u),T(u),E=ve(a,E=me(E,u)),u.h)break;if(h-n<E||o-h<S)break e;for(_=0;_<S;++_)r[h+_]=r[h+_-E];for(h+=S,l+=S;l>=a;)l-=a,++c,null!=s&&c<=i&&!(c%16)&&s(e,c);if(t(h<=o),l&b&&(y=we(f,l,c)),null!=v)for(;d<h;)S=r[d++],v.X[(506832829*S&4294967295)>>>v.Mb]=S}else{if(!(S<g))break e;for(w=S-280,t(null!=v);d<h;)S=r[d++],v.X[(506832829*S&4294967295)>>>v.Mb]=S;S=h,t(!(w>>>(E=v).Xa)),r[S]=E.X[w],w=!0}w||t(u.h==A(u))}if(e.Pb&&u.h&&h<o)t(e.m.h),e.a=5,e.m=e.wd,e.$=e.xd,0<e.s.ua&&I(e.s.vb,e.s.Wa);else{if(u.h)break e;null!=s&&s(e,c>i?i:c),e.a=0,e.$=h-n}return 1}return e.a=3,0}function _e(e){t(null!=e),e.vc=null,e.yc=null,e.Ya=null;var r=e.Wa;null!=r&&(r.X=null),e.vb=null,t(null!=e)}function Ne(){var t=new ir;return null==t?null:(t.a=0,t.xb=ga,re("Predictor","VP8LPredictors"),re("Predictor","VP8LPredictors_C"),re("PredictorAdd","VP8LPredictorsAdd"),re("PredictorAdd","VP8LPredictorsAdd_C"),$r=$,Zr=X,Qr=K,en=J,tn=Z,rn=Q,nn=ee,e.VP8LMapColor32b=Xr,e.VP8LMapColor8b=Kr,t)}function Ce(e,r,n,s,c){var l=1,h=[e],p=[r],g=s.m,m=s.s,v=null,b=0;e:for(;;){if(n)for(;l&&y(g,1);){var w=h,S=p,A=s,E=1,_=A.m,N=A.gc[A.ab],C=y(_,2);if(A.Oc&1<<C)l=0;else{switch(A.Oc|=1<<C,N.hc=C,N.Ea=w[0],N.nc=S[0],N.K=[null],++A.ab,t(4>=A.ab),C){case 0:case 1:N.b=y(_,3)+2,E=Ce(M(N.Ea,N.b),M(N.nc,N.b),0,A,N.K),N.K=N.K[0];break;case 3:var O,R=y(_,8)+1,P=16<R?0:4<R?1:2<R?2:3;if(w[0]=M(N.Ea,P),N.b=P,O=E=Ce(R,1,0,A,N.K)){var I,F=R,D=N,B=1<<(8>>D.b),W=o(B);if(null==W)O=0;else{var U=D.K[0],H=D.w;for(W[0]=D.K[0][0],I=1;I<1*F;++I)W[I]=j(U[H+I],W[I-1]);for(;I<4*B;++I)W[I]=0;D.K[0]=null,D.K[0]=W,O=1}}E=O;break;case 2:break;default:t(0)}l=E}}if(h=h[0],p=p[0],l&&y(g,1)&&!(l=1<=(b=y(g,4))&&11>=b)){s.a=3;break e}var z;if(z=l)t:{var V,q,$,G=s,X=h,Y=p,K=b,J=n,Z=G.m,Q=G.s,ee=[null],te=1,re=0,ne=Qn[K];r:for(;;){if(J&&y(Z,1)){var ae=y(Z,3)+2,oe=M(X,ae),ie=M(Y,ae),se=oe*ie;if(!Ce(oe,ie,0,G,ee))break r;for(ee=ee[0],Q.xc=ae,V=0;V<se;++V){var ce=ee[V]>>8&65535;ee[V]=ce,ce>=te&&(te=ce+1)}}if(Z.h)break r;for(q=0;5>q;++q){var le=Yn[q];!q&&0<K&&(le+=1<<K),re<le&&(re=le)}var ue=i(te*ne,f),fe=te,he=i(fe,d);if(null==he)var de=null;else t(65536>=fe),de=he;var pe=o(re);if(null==de||null==pe||null==ue){G.a=1;break r}var ge=ue;for(V=$=0;V<te;++V){var me=de[V],ve=me.G,be=me.H,we=0,Se=1,xe=0;for(q=0;5>q;++q){le=Yn[q],ve[q]=ge,be[q]=$,!q&&0<K&&(le+=1<<K);n:{var Ae,ke=le,Te=G,Ne=pe,Oe=ge,Re=$,Pe=0,Le=Te.m,Ie=y(Le,1);if(a(Ne,0,0,ke),Ie){var Fe=y(Le,1)+1,De=y(Le,1),Me=y(Le,0==De?1:8);Ne[Me]=1,2==Fe&&(Ne[Me=y(Le,8)]=1);var je=1}else{var Be=o(19),We=y(Le,4)+4;if(19<We){Te.a=3;var Ue=0;break n}for(Ae=0;Ae<We;++Ae)Be[Jn[Ae]]=y(Le,3);var He=void 0,ze=void 0,Ve=Te,qe=Be,$e=ke,Ge=Ne,Xe=0,Ye=Ve.m,Ke=8,Je=i(128,f);a:for(;u(Je,0,7,qe,19);){if(y(Ye,1)){var Ze=2+2*y(Ye,3);if((He=2+y(Ye,Ze))>$e)break a}else He=$e;for(ze=0;ze<$e&&He--;){T(Ye);var Qe=Je[0+(127&x(Ye))];k(Ye,Ye.u+Qe.g);var et=Qe.value;if(16>et)Ge[ze++]=et,0!=et&&(Ke=et);else{var tt=16==et,rt=et-16,nt=Xn[rt],at=y(Ye,Gn[rt])+nt;if(ze+at>$e)break a;for(var ot=tt?Ke:0;0<at--;)Ge[ze++]=ot}}Xe=1;break a}Xe||(Ve.a=3),je=Xe}(je=je&&!Le.h)&&(Pe=u(Oe,Re,8,Ne,ke)),je&&0!=Pe?Ue=Pe:(Te.a=3,Ue=0)}if(0==Ue)break r;if(Se&&1==Kn[q]&&(Se=0==ge[$].g),we+=ge[$].g,$+=Ue,3>=q){var it,st=pe[0];for(it=1;it<le;++it)pe[it]>st&&(st=pe[it]);xe+=st}}if(me.nd=Se,me.Qb=0,Se&&(me.qb=(ve[3][be[3]+0].value<<24|ve[1][be[1]+0].value<<16|ve[2][be[2]+0].value)>>>0,0==we&&256>ve[0][be[0]+0].value&&(me.Qb=1,me.qb+=ve[0][be[0]+0].value<<8)),me.jc=!me.Qb&&6>xe,me.jc){var ct,lt=me;for(ct=0;ct<jr;++ct){var ut=ct,ft=lt.pd[ut],ht=lt.G[0][lt.H[0]+ut];256<=ht.value?(ft.g=ht.g+256,ft.value=ht.value):(ft.g=0,ft.value=0,ut>>=ye(ht,8,ft),ut>>=ye(lt.G[1][lt.H[1]+ut],16,ft),ut>>=ye(lt.G[2][lt.H[2]+ut],0,ft),ye(lt.G[3][lt.H[3]+ut],24,ft))}}}Q.vc=ee,Q.Wb=te,Q.Ya=de,Q.yc=ue,z=1;break t}z=0}if(!(l=z)){s.a=3;break e}if(0<b){if(m.ua=1<<b,!L(m.Wa,b)){s.a=1,l=0;break e}}else m.ua=0;var dt=s,pt=h,gt=p,mt=dt.s,vt=mt.xc;if(dt.c=pt,dt.i=gt,mt.md=M(pt,vt),mt.wc=0==vt?-1:(1<<vt)-1,n){s.xb=pa;break e}if(null==(v=o(h*p))){s.a=1,l=0;break e}l=(l=Ee(s,v,0,h,p,p,null))&&!g.h;break e}return l?(null!=c?c[0]=v:(t(null==v),t(n)),s.$=0,n||_e(m)):_e(m),l}function Oe(e,r){var n=e.c*e.i,a=n+r+16*r;return t(e.c<=r),e.V=o(a),null==e.V?(e.Ta=null,e.Ua=0,e.a=1,0):(e.Ta=e.V,e.Ua=e.Ba+n+r,1)}function Re(e,r){var n=e.C,a=r-n,o=e.V,i=e.Ba+e.c*n;for(t(r<=e.l.o);0<a;){var s=16<a?16:a,c=e.l.ma,l=e.l.width,u=l*s,f=c.ca,h=c.tb+l*n,d=e.Ta,p=e.Ua;Se(e,s,o,i),En(d,p,f,h,u),ke(c,n,n+s,f,h,l),a-=s,o+=s*e.c,n+=s}t(n==r),e.C=e.Ma=r}function Pe(){this.ub=this.yd=this.td=this.Rb=0}function Le(){this.Kd=this.Ld=this.Ud=this.Td=this.i=this.c=0}function Ie(){this.Fb=this.Bb=this.Cb=0,this.Zb=o(4),this.Lb=o(4)}function Fe(){this.Yb=function(){var e=[];return function e(t,r,n){for(var a=n[r],o=0;o<a&&(t.push(n.length>r+1?[]:0),!(n.length<r+1));o++)e(t[o],r+1,n)}(e,0,[3,11]),e}()}function De(){this.jb=o(3),this.Wc=s([4,8],Fe),this.Xc=s([4,17],Fe)}function Me(){this.Pc=this.wb=this.Tb=this.zd=0,this.vd=new o(4),this.od=new o(4)}function je(){this.ld=this.La=this.dd=this.tc=0}function Be(){this.Na=this.la=0}function We(){this.Sc=[0,0],this.Eb=[0,0],this.Qc=[0,0],this.ia=this.lc=0}function Ue(){this.ad=o(384),this.Za=0,this.Ob=o(16),this.$b=this.Ad=this.ia=this.Gc=this.Hc=this.Dd=0}function He(){this.uc=this.M=this.Nb=0,this.wa=Array(new je),this.Y=0,this.ya=Array(new Ue),this.aa=0,this.l=new $e}function ze(){this.y=o(16),this.f=o(8),this.ea=o(8)}function Ve(){this.cb=this.a=0,this.sc="",this.m=new w,this.Od=new Pe,this.Kc=new Le,this.ed=new Me,this.Qa=new Ie,this.Ic=this.$c=this.Aa=0,this.D=new He,this.Xb=this.Va=this.Hb=this.zb=this.yb=this.Ub=this.za=0,this.Jc=i(8,w),this.ia=0,this.pb=i(4,We),this.Pa=new De,this.Bd=this.kc=0,this.Ac=[],this.Bc=0,this.zc=[0,0,0,0],this.Gd=Array(new ze),this.Hd=0,this.rb=Array(new Be),this.sb=0,this.wa=Array(new je),this.Y=0,this.oc=[],this.pc=0,this.sa=[],this.ta=0,this.qa=[],this.ra=0,this.Ha=[],this.B=this.R=this.Ia=0,this.Ec=[],this.M=this.ja=this.Vb=this.Fc=0,this.ya=Array(new Ue),this.L=this.aa=0,this.gd=s([4,2],je),this.ga=null,this.Fa=[],this.Cc=this.qc=this.P=0,this.Gb=[],this.Uc=0,this.mb=[],this.nb=0,this.rc=[],this.Ga=this.Vc=0}function qe(e,t){return 0>e?0:e>t?t:e}function $e(){this.T=this.U=this.ka=this.height=this.width=0,this.y=[],this.f=[],this.ea=[],this.Rc=this.fa=this.W=this.N=this.O=0,this.ma="void",this.put="VP8IoPutHook",this.ac="VP8IoSetupHook",this.bc="VP8IoTeardownHook",this.ha=this.Kb=0,this.data=[],this.hb=this.ib=this.da=this.o=this.j=this.va=this.v=this.Da=this.ob=this.w=0,this.F=[],this.J=0}function Ge(){var e=new Ve;return null!=e&&(e.a=0,e.sc="OK",e.cb=0,e.Xb=0,na||(na=Je)),e}function Xe(e,t,r){return 0==e.a&&(e.a=t,e.sc=r,e.cb=0),0}function Ye(e,t,r){return 3<=r&&157==e[t+0]&&1==e[t+1]&&42==e[t+2]}function Ke(e,r){if(null==e)return 0;if(e.a=0,e.sc="OK",null==r)return Xe(e,2,"null VP8Io passed to VP8GetHeaders()");var n=r.data,o=r.w,i=r.ha;if(4>i)return Xe(e,7,"Truncated header.");var s=n[o+0]|n[o+1]<<8|n[o+2]<<16,c=e.Od;if(c.Rb=!(1&s),c.td=s>>1&7,c.yd=s>>4&1,c.ub=s>>5,3<c.td)return Xe(e,3,"Incorrect keyframe parameters.");if(!c.yd)return Xe(e,4,"Frame not displayable.");o+=3,i-=3;var l=e.Kc;if(c.Rb){if(7>i)return Xe(e,7,"cannot parse picture header");if(!Ye(n,o,i))return Xe(e,3,"Bad code word");l.c=16383&(n[o+4]<<8|n[o+3]),l.Td=n[o+4]>>6,l.i=16383&(n[o+6]<<8|n[o+5]),l.Ud=n[o+6]>>6,o+=7,i-=7,e.za=l.c+15>>4,e.Ub=l.i+15>>4,r.width=l.c,r.height=l.i,r.Da=0,r.j=0,r.v=0,r.va=r.width,r.o=r.height,r.da=0,r.ib=r.width,r.hb=r.height,r.U=r.width,r.T=r.height,a((s=e.Pa).jb,0,255,s.jb.length),t(null!=(s=e.Qa)),s.Cb=0,s.Bb=0,s.Fb=1,a(s.Zb,0,0,s.Zb.length),a(s.Lb,0,0,s.Lb)}if(c.ub>i)return Xe(e,7,"bad partition length");p(s=e.m,n,o,c.ub),o+=c.ub,i-=c.ub,c.Rb&&(l.Ld=_(s),l.Kd=_(s)),l=e.Qa;var u,f=e.Pa;if(t(null!=s),t(null!=l),l.Cb=_(s),l.Cb){if(l.Bb=_(s),_(s)){for(l.Fb=_(s),u=0;4>u;++u)l.Zb[u]=_(s)?m(s,7):0;for(u=0;4>u;++u)l.Lb[u]=_(s)?m(s,6):0}if(l.Bb)for(u=0;3>u;++u)f.jb[u]=_(s)?g(s,8):255}else l.Bb=0;if(s.Ka)return Xe(e,3,"cannot parse segment header");if((l=e.ed).zd=_(s),l.Tb=g(s,6),l.wb=g(s,3),l.Pc=_(s),l.Pc&&_(s)){for(f=0;4>f;++f)_(s)&&(l.vd[f]=m(s,6));for(f=0;4>f;++f)_(s)&&(l.od[f]=m(s,6))}if(e.L=0==l.Tb?0:l.zd?1:2,s.Ka)return Xe(e,3,"cannot parse filter header");var h=i;if(i=u=o,o=u+h,l=h,e.Xb=(1<<g(e.m,2))-1,h<3*(f=e.Xb))n=7;else{for(u+=3*f,l-=3*f,h=0;h<f;++h){var d=n[i+0]|n[i+1]<<8|n[i+2]<<16;d>l&&(d=l),p(e.Jc[+h],n,u,d),u+=d,l-=d,i+=3}p(e.Jc[+f],n,u,l),n=u<o?0:5}if(0!=n)return Xe(e,n,"cannot parse partitions");for(n=g(u=e.m,7),i=_(u)?m(u,4):0,o=_(u)?m(u,4):0,l=_(u)?m(u,4):0,f=_(u)?m(u,4):0,u=_(u)?m(u,4):0,h=e.Qa,d=0;4>d;++d){if(h.Cb){var v=h.Zb[d];h.Fb||(v+=n)}else{if(0<d){e.pb[d]=e.pb[0];continue}v=n}var b=e.pb[d];b.Sc[0]=ta[qe(v+i,127)],b.Sc[1]=ra[qe(v+0,127)],b.Eb[0]=2*ta[qe(v+o,127)],b.Eb[1]=101581*ra[qe(v+l,127)]>>16,8>b.Eb[1]&&(b.Eb[1]=8),b.Qc[0]=ta[qe(v+f,117)],b.Qc[1]=ra[qe(v+u,127)],b.lc=v+u}if(!c.Rb)return Xe(e,4,"Not a key frame.");for(_(s),c=e.Pa,n=0;4>n;++n){for(i=0;8>i;++i)for(o=0;3>o;++o)for(l=0;11>l;++l)f=N(s,la[n][i][o][l])?g(s,8):sa[n][i][o][l],c.Wc[n][i].Yb[o][l]=f;for(i=0;17>i;++i)c.Xc[n][i]=c.Wc[n][ua[i]]}return e.kc=_(s),e.kc&&(e.Bd=g(s,8)),e.cb=1}function Je(e,t,r,n,a,o,i){var s=t[a].Yb[r];for(r=0;16>a;++a){if(!N(e,s[r+0]))return a;for(;!N(e,s[r+1]);)if(s=t[++a].Yb[0],r=0,16==a)return 16;var c=t[a+1].Yb;if(N(e,s[r+2])){var l=e,u=0;if(N(l,(h=s)[(f=r)+3]))if(N(l,h[f+6])){for(s=0,f=2*(u=N(l,h[f+8]))+(h=N(l,h[f+9+u])),u=0,h=aa[f];h[s];++s)u+=u+N(l,h[s]);u+=3+(8<<f)}else N(l,h[f+7])?(u=7+2*N(l,165),u+=N(l,145)):u=5+N(l,159);else u=N(l,h[f+4])?3+N(l,h[f+5]):2;s=c[2]}else u=1,s=c[1];c=i+oa[a],0>(l=e).b&&E(l);var f,h=l.b,d=(f=l.Ca>>1)-(l.I>>h)>>31;--l.b,l.Ca+=d,l.Ca|=1,l.I-=(f+1&d)<<h,o[c]=((u^d)-d)*n[(0<a)+0]}return 16}function Ze(e){var t=e.rb[e.sb-1];t.la=0,t.Na=0,a(e.zc,0,0,e.zc.length),e.ja=0}function Qe(e,r){if(null==e)return 0;if(null==r)return Xe(e,2,"NULL VP8Io parameter in VP8Decode().");if(!e.cb&&!Ke(e,r))return 0;if(t(e.cb),null==r.ac||r.ac(r)){r.ob&&(e.L=0);var s=Ba[e.L];if(2==e.L?(e.yb=0,e.zb=0):(e.yb=r.v-s>>4,e.zb=r.j-s>>4,0>e.yb&&(e.yb=0),0>e.zb&&(e.zb=0)),e.Va=r.o+15+s>>4,e.Hb=r.va+15+s>>4,e.Hb>e.za&&(e.Hb=e.za),e.Va>e.Ub&&(e.Va=e.Ub),0<e.L){var c=e.ed;for(s=0;4>s;++s){var l;if(e.Qa.Cb){var u=e.Qa.Lb[s];e.Qa.Fb||(u+=c.Tb)}else u=c.Tb;for(l=0;1>=l;++l){var f=e.gd[s][l],h=u;if(c.Pc&&(h+=c.vd[0],l&&(h+=c.od[0])),0<(h=0>h?0:63<h?63:h)){var d=h;0<c.wb&&(d=4<c.wb?d>>2:d>>1)>9-c.wb&&(d=9-c.wb),1>d&&(d=1),f.dd=d,f.tc=2*h+d,f.ld=40<=h?2:15<=h?1:0}else f.tc=0;f.La=l}}}s=0}else Xe(e,6,"Frame setup failed"),s=e.a;if(s=0==s){if(s){e.$c=0,0<e.Aa||(e.Ic=Ua);e:{s=e.Ic,c=4*(d=e.za);var p=32*d,g=d+1,m=0<e.L?d*(0<e.Aa?2:1):0,v=(2==e.Aa?2:1)*d;if((f=c+832+(l=3*(16*s+Ba[e.L])/2*p)+(u=null!=e.Fa&&0<e.Fa.length?e.Kc.c*e.Kc.i:0))!=f)s=0;else{if(f>e.Vb){if(e.Vb=0,e.Ec=o(f),e.Fc=0,null==e.Ec){s=Xe(e,1,"no memory during frame initialization.");break e}e.Vb=f}f=e.Ec,h=e.Fc,e.Ac=f,e.Bc=h,h+=c,e.Gd=i(p,ze),e.Hd=0,e.rb=i(g+1,Be),e.sb=1,e.wa=m?i(m,je):null,e.Y=0,e.D.Nb=0,e.D.wa=e.wa,e.D.Y=e.Y,0<e.Aa&&(e.D.Y+=d),t(!0),e.oc=f,e.pc=h,h+=832,e.ya=i(v,Ue),e.aa=0,e.D.ya=e.ya,e.D.aa=e.aa,2==e.Aa&&(e.D.aa+=d),e.R=16*d,e.B=8*d,d=(p=Ba[e.L])*e.R,p=p/2*e.B,e.sa=f,e.ta=h+d,e.qa=e.sa,e.ra=e.ta+16*s*e.R+p,e.Ha=e.qa,e.Ia=e.ra+8*s*e.B+p,e.$c=0,h+=l,e.mb=u?f:null,e.nb=u?h:null,t(h+u<=e.Fc+e.Vb),Ze(e),a(e.Ac,e.Bc,0,c),s=1}}if(s){if(r.ka=0,r.y=e.sa,r.O=e.ta,r.f=e.qa,r.N=e.ra,r.ea=e.Ha,r.Vd=e.Ia,r.fa=e.R,r.Rc=e.B,r.F=null,r.J=0,!Rn){for(s=-255;255>=s;++s)_n[255+s]=0>s?-s:s;for(s=-1020;1020>=s;++s)Nn[1020+s]=-128>s?-128:127<s?127:s;for(s=-112;112>=s;++s)Cn[112+s]=-16>s?-16:15<s?15:s;for(s=-255;510>=s;++s)On[255+s]=0>s?0:255<s?255:s;Rn=1}an=lt,on=ot,cn=it,ln=st,un=ct,sn=at,fn=Xt,hn=Yt,dn=Zt,pn=Qt,gn=Kt,mn=Jt,vn=er,bn=tr,yn=Ht,wn=zt,Sn=Vt,xn=qt,ha[0]=kt,ha[1]=ft,ha[2]=xt,ha[3]=At,ha[4]=Tt,ha[5]=_t,ha[6]=Et,ha[7]=Nt,ha[8]=Ot,ha[9]=Ct,fa[0]=vt,fa[1]=dt,fa[2]=pt,fa[3]=gt,fa[4]=bt,fa[5]=yt,fa[6]=wt,da[0]=It,da[1]=ht,da[2]=Rt,da[3]=Pt,da[4]=Dt,da[5]=Ft,da[6]=Mt,s=1}else s=0}s&&(s=function(e,r){for(e.M=0;e.M<e.Va;++e.M){var i,s=e.Jc[e.M&e.Xb],c=e.m,l=e;for(i=0;i<l.za;++i){var u=c,f=l,h=f.Ac,d=f.Bc+4*i,p=f.zc,g=f.ya[f.aa+i];if(f.Qa.Bb?g.$b=N(u,f.Pa.jb[0])?2+N(u,f.Pa.jb[2]):N(u,f.Pa.jb[1]):g.$b=0,f.kc&&(g.Ad=N(u,f.Bd)),g.Za=!N(u,145)+0,g.Za){var m=g.Ob,v=0;for(f=0;4>f;++f){var b,y=p[0+f];for(b=0;4>b;++b){y=ca[h[d+b]][y];for(var w=ia[N(u,y[0])];0<w;)w=ia[2*w+N(u,y[w])];y=-w,h[d+b]=y}n(m,v,h,d,4),v+=4,p[0+f]=y}}else y=N(u,156)?N(u,128)?1:3:N(u,163)?2:0,g.Ob[0]=y,a(h,d,y,4),a(p,0,y,4);g.Dd=N(u,142)?N(u,114)?N(u,183)?1:3:2:0}if(l.m.Ka)return Xe(e,7,"Premature end-of-partition0 encountered.");for(;e.ja<e.za;++e.ja){if(l=s,u=(c=e).rb[c.sb-1],h=c.rb[c.sb+c.ja],i=c.ya[c.aa+c.ja],d=c.kc?i.Ad:0)u.la=h.la=0,i.Za||(u.Na=h.Na=0),i.Hc=0,i.Gc=0,i.ia=0;else{var S,x;if(u=h,h=l,d=c.Pa.Xc,p=c.ya[c.aa+c.ja],g=c.pb[p.$b],f=p.ad,m=0,v=c.rb[c.sb-1],y=b=0,a(f,m,0,384),p.Za)var A=0,k=d[3];else{w=o(16);var T=u.Na+v.Na;if(T=na(h,d[1],T,g.Eb,0,w,0),u.Na=v.Na=(0<T)+0,1<T)an(w,0,f,m);else{var E=w[0]+3>>3;for(w=0;256>w;w+=16)f[m+w]=E}A=1,k=d[0]}var _=15&u.la,C=15&v.la;for(w=0;4>w;++w){var O=1&C;for(E=x=0;4>E;++E)_=_>>1|(O=(T=na(h,k,T=O+(1&_),g.Sc,A,f,m))>A)<<7,x=x<<2|(3<T?3:1<T?2:0!=f[m+0]),m+=16;_>>=4,C=C>>1|O<<7,b=(b<<8|x)>>>0}for(k=_,A=C>>4,S=0;4>S;S+=2){for(x=0,_=u.la>>4+S,C=v.la>>4+S,w=0;2>w;++w){for(O=1&C,E=0;2>E;++E)T=O+(1&_),_=_>>1|(O=0<(T=na(h,d[2],T,g.Qc,0,f,m)))<<3,x=x<<2|(3<T?3:1<T?2:0!=f[m+0]),m+=16;_>>=2,C=C>>1|O<<5}y|=x<<4*S,k|=_<<4<<S,A|=(240&C)<<S}u.la=k,v.la=A,p.Hc=b,p.Gc=y,p.ia=43690&y?0:g.ia,d=!(b|y)}if(0<c.L&&(c.wa[c.Y+c.ja]=c.gd[i.$b][i.Za],c.wa[c.Y+c.ja].La|=!d),l.Ka)return Xe(e,7,"Premature end-of-file encountered.")}if(Ze(e),c=r,l=1,i=(s=e).D,u=0<s.L&&s.M>=s.zb&&s.M<=s.Va,0==s.Aa)e:{if(i.M=s.M,i.uc=u,Lr(s,i),l=1,i=(x=s.D).Nb,u=(y=Ba[s.L])*s.R,h=y/2*s.B,w=16*i*s.R,E=8*i*s.B,d=s.sa,p=s.ta-u+w,g=s.qa,f=s.ra-h+E,m=s.Ha,v=s.Ia-h+E,C=0==(_=x.M),b=_>=s.Va-1,2==s.Aa&&Lr(s,x),x.uc)for(O=(T=s).D.M,t(T.D.uc),x=T.yb;x<T.Hb;++x){A=x,k=O;var R=(P=(U=T).D).Nb;S=U.R;var P=P.wa[P.Y+A],L=U.sa,I=U.ta+16*R*S+16*A,F=P.dd,D=P.tc;if(0!=D)if(t(3<=D),1==U.L)0<A&&wn(L,I,S,D+4),P.La&&xn(L,I,S,D),0<k&&yn(L,I,S,D+4),P.La&&Sn(L,I,S,D);else{var M=U.B,j=U.qa,B=U.ra+8*R*M+8*A,W=U.Ha,U=U.Ia+8*R*M+8*A;R=P.ld,0<A&&(hn(L,I,S,D+4,F,R),pn(j,B,W,U,M,D+4,F,R)),P.La&&(mn(L,I,S,D,F,R),bn(j,B,W,U,M,D,F,R)),0<k&&(fn(L,I,S,D+4,F,R),dn(j,B,W,U,M,D+4,F,R)),P.La&&(gn(L,I,S,D,F,R),vn(j,B,W,U,M,D,F,R))}}if(s.ia&&alert("todo:DitherRow"),null!=c.put){if(x=16*_,_=16*(_+1),C?(c.y=s.sa,c.O=s.ta+w,c.f=s.qa,c.N=s.ra+E,c.ea=s.Ha,c.W=s.Ia+E):(x-=y,c.y=d,c.O=p,c.f=g,c.N=f,c.ea=m,c.W=v),b||(_-=y),_>c.o&&(_=c.o),c.F=null,c.J=null,null!=s.Fa&&0<s.Fa.length&&x<_&&(c.J=fr(s,c,x,_-x),c.F=s.mb,null==c.F&&0==c.F.length)){l=Xe(s,3,"Could not decode alpha data.");break e}x<c.j&&(y=c.j-x,x=c.j,t(!(1&y)),c.O+=s.R*y,c.N+=s.B*(y>>1),c.W+=s.B*(y>>1),null!=c.F&&(c.J+=c.width*y)),x<_&&(c.O+=c.v,c.N+=c.v>>1,c.W+=c.v>>1,null!=c.F&&(c.J+=c.v),c.ka=x-c.j,c.U=c.va-c.v,c.T=_-x,l=c.put(c))}i+1!=s.Ic||b||(n(s.sa,s.ta-u,d,p+16*s.R,u),n(s.qa,s.ra-h,g,f+8*s.B,h),n(s.Ha,s.Ia-h,m,v+8*s.B,h))}if(!l)return Xe(e,6,"Output aborted.")}return 1}(e,r)),null!=r.bc&&r.bc(r),s&=1}return s?(e.cb=0,s):0}function et(e,t,r,n,a){a=e[t+r+32*n]+(a>>3),e[t+r+32*n]=-256&a?0>a?0:255:a}function tt(e,t,r,n,a,o){et(e,t,0,r,n+a),et(e,t,1,r,n+o),et(e,t,2,r,n-o),et(e,t,3,r,n-a)}function rt(e){return(20091*e>>16)+e}function nt(e,t,r,n){var a,i=0,s=o(16);for(a=0;4>a;++a){var c=e[t+0]+e[t+8],l=e[t+0]-e[t+8],u=(35468*e[t+4]>>16)-rt(e[t+12]),f=rt(e[t+4])+(35468*e[t+12]>>16);s[i+0]=c+f,s[i+1]=l+u,s[i+2]=l-u,s[i+3]=c-f,i+=4,t++}for(a=i=0;4>a;++a)c=(e=s[i+0]+4)+s[i+8],l=e-s[i+8],u=(35468*s[i+4]>>16)-rt(s[i+12]),et(r,n,0,0,c+(f=rt(s[i+4])+(35468*s[i+12]>>16))),et(r,n,1,0,l+u),et(r,n,2,0,l-u),et(r,n,3,0,c-f),i++,n+=32}function at(e,t,r,n){var a=e[t+0]+4,o=35468*e[t+4]>>16,i=rt(e[t+4]),s=35468*e[t+1]>>16;tt(r,n,0,a+i,e=rt(e[t+1]),s),tt(r,n,1,a+o,e,s),tt(r,n,2,a-o,e,s),tt(r,n,3,a-i,e,s)}function ot(e,t,r,n,a){nt(e,t,r,n),a&&nt(e,t+16,r,n+4)}function it(e,t,r,n){on(e,t+0,r,n,1),on(e,t+32,r,n+128,1)}function st(e,t,r,n){var a;for(e=e[t+0]+4,a=0;4>a;++a)for(t=0;4>t;++t)et(r,n,t,a,e)}function ct(e,t,r,n){e[t+0]&&ln(e,t+0,r,n),e[t+16]&&ln(e,t+16,r,n+4),e[t+32]&&ln(e,t+32,r,n+128),e[t+48]&&ln(e,t+48,r,n+128+4)}function lt(e,t,r,n){var a,i=o(16);for(a=0;4>a;++a){var s=e[t+0+a]+e[t+12+a],c=e[t+4+a]+e[t+8+a],l=e[t+4+a]-e[t+8+a],u=e[t+0+a]-e[t+12+a];i[0+a]=s+c,i[8+a]=s-c,i[4+a]=u+l,i[12+a]=u-l}for(a=0;4>a;++a)s=(e=i[0+4*a]+3)+i[3+4*a],c=i[1+4*a]+i[2+4*a],l=i[1+4*a]-i[2+4*a],u=e-i[3+4*a],r[n+0]=s+c>>3,r[n+16]=u+l>>3,r[n+32]=s-c>>3,r[n+48]=u-l>>3,n+=64}function ut(e,t,r){var n,a=t-32,o=In,i=255-e[a-1];for(n=0;n<r;++n){var s,c=o,l=i+e[t-1];for(s=0;s<r;++s)e[t+s]=c[l+e[a+s]];t+=32}}function ft(e,t){ut(e,t,4)}function ht(e,t){ut(e,t,8)}function dt(e,t){ut(e,t,16)}function pt(e,t){var r;for(r=0;16>r;++r)n(e,t+32*r,e,t-32,16)}function gt(e,t){var r;for(r=16;0<r;--r)a(e,t,e[t-1],16),t+=32}function mt(e,t,r){var n;for(n=0;16>n;++n)a(t,r+32*n,e,16)}function vt(e,t){var r,n=16;for(r=0;16>r;++r)n+=e[t-1+32*r]+e[t+r-32];mt(n>>5,e,t)}function bt(e,t){var r,n=8;for(r=0;16>r;++r)n+=e[t-1+32*r];mt(n>>4,e,t)}function yt(e,t){var r,n=8;for(r=0;16>r;++r)n+=e[t+r-32];mt(n>>4,e,t)}function wt(e,t){mt(128,e,t)}function St(e,t,r){return e+2*t+r+2>>2}function xt(e,t){var r,a=t-32;for(a=new Uint8Array([St(e[a-1],e[a+0],e[a+1]),St(e[a+0],e[a+1],e[a+2]),St(e[a+1],e[a+2],e[a+3]),St(e[a+2],e[a+3],e[a+4])]),r=0;4>r;++r)n(e,t+32*r,a,0,a.length)}function At(e,t){var r=e[t-1],n=e[t-1+32],a=e[t-1+64],o=e[t-1+96];C(e,t+0,16843009*St(e[t-1-32],r,n)),C(e,t+32,16843009*St(r,n,a)),C(e,t+64,16843009*St(n,a,o)),C(e,t+96,16843009*St(a,o,o))}function kt(e,t){var r,n=4;for(r=0;4>r;++r)n+=e[t+r-32]+e[t-1+32*r];for(n>>=3,r=0;4>r;++r)a(e,t+32*r,n,4)}function Tt(e,t){var r=e[t-1+0],n=e[t-1+32],a=e[t-1+64],o=e[t-1-32],i=e[t+0-32],s=e[t+1-32],c=e[t+2-32],l=e[t+3-32];e[t+0+96]=St(n,a,e[t-1+96]),e[t+1+96]=e[t+0+64]=St(r,n,a),e[t+2+96]=e[t+1+64]=e[t+0+32]=St(o,r,n),e[t+3+96]=e[t+2+64]=e[t+1+32]=e[t+0+0]=St(i,o,r),e[t+3+64]=e[t+2+32]=e[t+1+0]=St(s,i,o),e[t+3+32]=e[t+2+0]=St(c,s,i),e[t+3+0]=St(l,c,s)}function Et(e,t){var r=e[t+1-32],n=e[t+2-32],a=e[t+3-32],o=e[t+4-32],i=e[t+5-32],s=e[t+6-32],c=e[t+7-32];e[t+0+0]=St(e[t+0-32],r,n),e[t+1+0]=e[t+0+32]=St(r,n,a),e[t+2+0]=e[t+1+32]=e[t+0+64]=St(n,a,o),e[t+3+0]=e[t+2+32]=e[t+1+64]=e[t+0+96]=St(a,o,i),e[t+3+32]=e[t+2+64]=e[t+1+96]=St(o,i,s),e[t+3+64]=e[t+2+96]=St(i,s,c),e[t+3+96]=St(s,c,c)}function _t(e,t){var r=e[t-1+0],n=e[t-1+32],a=e[t-1+64],o=e[t-1-32],i=e[t+0-32],s=e[t+1-32],c=e[t+2-32],l=e[t+3-32];e[t+0+0]=e[t+1+64]=o+i+1>>1,e[t+1+0]=e[t+2+64]=i+s+1>>1,e[t+2+0]=e[t+3+64]=s+c+1>>1,e[t+3+0]=c+l+1>>1,e[t+0+96]=St(a,n,r),e[t+0+64]=St(n,r,o),e[t+0+32]=e[t+1+96]=St(r,o,i),e[t+1+32]=e[t+2+96]=St(o,i,s),e[t+2+32]=e[t+3+96]=St(i,s,c),e[t+3+32]=St(s,c,l)}function Nt(e,t){var r=e[t+0-32],n=e[t+1-32],a=e[t+2-32],o=e[t+3-32],i=e[t+4-32],s=e[t+5-32],c=e[t+6-32],l=e[t+7-32];e[t+0+0]=r+n+1>>1,e[t+1+0]=e[t+0+64]=n+a+1>>1,e[t+2+0]=e[t+1+64]=a+o+1>>1,e[t+3+0]=e[t+2+64]=o+i+1>>1,e[t+0+32]=St(r,n,a),e[t+1+32]=e[t+0+96]=St(n,a,o),e[t+2+32]=e[t+1+96]=St(a,o,i),e[t+3+32]=e[t+2+96]=St(o,i,s),e[t+3+64]=St(i,s,c),e[t+3+96]=St(s,c,l)}function Ct(e,t){var r=e[t-1+0],n=e[t-1+32],a=e[t-1+64],o=e[t-1+96];e[t+0+0]=r+n+1>>1,e[t+2+0]=e[t+0+32]=n+a+1>>1,e[t+2+32]=e[t+0+64]=a+o+1>>1,e[t+1+0]=St(r,n,a),e[t+3+0]=e[t+1+32]=St(n,a,o),e[t+3+32]=e[t+1+64]=St(a,o,o),e[t+3+64]=e[t+2+64]=e[t+0+96]=e[t+1+96]=e[t+2+96]=e[t+3+96]=o}function Ot(e,t){var r=e[t-1+0],n=e[t-1+32],a=e[t-1+64],o=e[t-1+96],i=e[t-1-32],s=e[t+0-32],c=e[t+1-32],l=e[t+2-32];e[t+0+0]=e[t+2+32]=r+i+1>>1,e[t+0+32]=e[t+2+64]=n+r+1>>1,e[t+0+64]=e[t+2+96]=a+n+1>>1,e[t+0+96]=o+a+1>>1,e[t+3+0]=St(s,c,l),e[t+2+0]=St(i,s,c),e[t+1+0]=e[t+3+32]=St(r,i,s),e[t+1+32]=e[t+3+64]=St(n,r,i),e[t+1+64]=e[t+3+96]=St(a,n,r),e[t+1+96]=St(o,a,n)}function Rt(e,t){var r;for(r=0;8>r;++r)n(e,t+32*r,e,t-32,8)}function Pt(e,t){var r;for(r=0;8>r;++r)a(e,t,e[t-1],8),t+=32}function Lt(e,t,r){var n;for(n=0;8>n;++n)a(t,r+32*n,e,8)}function It(e,t){var r,n=8;for(r=0;8>r;++r)n+=e[t+r-32]+e[t-1+32*r];Lt(n>>4,e,t)}function Ft(e,t){var r,n=4;for(r=0;8>r;++r)n+=e[t+r-32];Lt(n>>3,e,t)}function Dt(e,t){var r,n=4;for(r=0;8>r;++r)n+=e[t-1+32*r];Lt(n>>3,e,t)}function Mt(e,t){Lt(128,e,t)}function jt(e,t,r){var n=e[t-r],a=e[t+0],o=3*(a-n)+Pn[1020+e[t-2*r]-e[t+r]],i=Ln[112+(o+4>>3)];e[t-r]=In[255+n+Ln[112+(o+3>>3)]],e[t+0]=In[255+a-i]}function Bt(e,t,r,n){var a=e[t+0],o=e[t+r];return Fn[255+e[t-2*r]-e[t-r]]>n||Fn[255+o-a]>n}function Wt(e,t,r,n){return 4*Fn[255+e[t-r]-e[t+0]]+Fn[255+e[t-2*r]-e[t+r]]<=n}function Ut(e,t,r,n,a){var o=e[t-3*r],i=e[t-2*r],s=e[t-r],c=e[t+0],l=e[t+r],u=e[t+2*r],f=e[t+3*r];return 4*Fn[255+s-c]+Fn[255+i-l]>n?0:Fn[255+e[t-4*r]-o]<=a&&Fn[255+o-i]<=a&&Fn[255+i-s]<=a&&Fn[255+f-u]<=a&&Fn[255+u-l]<=a&&Fn[255+l-c]<=a}function Ht(e,t,r,n){var a=2*n+1;for(n=0;16>n;++n)Wt(e,t+n,r,a)&&jt(e,t+n,r)}function zt(e,t,r,n){var a=2*n+1;for(n=0;16>n;++n)Wt(e,t+n*r,1,a)&&jt(e,t+n*r,1)}function Vt(e,t,r,n){var a;for(a=3;0<a;--a)Ht(e,t+=4*r,r,n)}function qt(e,t,r,n){var a;for(a=3;0<a;--a)zt(e,t+=4,r,n)}function $t(e,t,r,n,a,o,i,s){for(o=2*o+1;0<a--;){if(Ut(e,t,r,o,i))if(Bt(e,t,r,s))jt(e,t,r);else{var c=e,l=t,u=r,f=c[l-2*u],h=c[l-u],d=c[l+0],p=c[l+u],g=c[l+2*u],m=27*(b=Pn[1020+3*(d-h)+Pn[1020+f-p]])+63>>7,v=18*b+63>>7,b=9*b+63>>7;c[l-3*u]=In[255+c[l-3*u]+b],c[l-2*u]=In[255+f+v],c[l-u]=In[255+h+m],c[l+0]=In[255+d-m],c[l+u]=In[255+p-v],c[l+2*u]=In[255+g-b]}t+=n}}function Gt(e,t,r,n,a,o,i,s){for(o=2*o+1;0<a--;){if(Ut(e,t,r,o,i))if(Bt(e,t,r,s))jt(e,t,r);else{var c=e,l=t,u=r,f=c[l-u],h=c[l+0],d=c[l+u],p=Ln[112+(4+(g=3*(h-f))>>3)],g=Ln[112+(g+3>>3)],m=p+1>>1;c[l-2*u]=In[255+c[l-2*u]+m],c[l-u]=In[255+f+g],c[l+0]=In[255+h-p],c[l+u]=In[255+d-m]}t+=n}}function Xt(e,t,r,n,a,o){$t(e,t,r,1,16,n,a,o)}function Yt(e,t,r,n,a,o){$t(e,t,1,r,16,n,a,o)}function Kt(e,t,r,n,a,o){var i;for(i=3;0<i;--i)Gt(e,t+=4*r,r,1,16,n,a,o)}function Jt(e,t,r,n,a,o){var i;for(i=3;0<i;--i)Gt(e,t+=4,1,r,16,n,a,o)}function Zt(e,t,r,n,a,o,i,s){$t(e,t,a,1,8,o,i,s),$t(r,n,a,1,8,o,i,s)}function Qt(e,t,r,n,a,o,i,s){$t(e,t,1,a,8,o,i,s),$t(r,n,1,a,8,o,i,s)}function er(e,t,r,n,a,o,i,s){Gt(e,t+4*a,a,1,8,o,i,s),Gt(r,n+4*a,a,1,8,o,i,s)}function tr(e,t,r,n,a,o,i,s){Gt(e,t+4,1,a,8,o,i,s),Gt(r,n+4,1,a,8,o,i,s)}function rr(){this.ba=new ie,this.ec=[],this.cc=[],this.Mc=[],this.Dc=this.Nc=this.dc=this.fc=0,this.Oa=new ce,this.memory=0,this.Ib="OutputFunc",this.Jb="OutputAlphaFunc",this.Nd="OutputRowFunc"}function nr(){this.data=[],this.offset=this.kd=this.ha=this.w=0,this.na=[],this.xa=this.gb=this.Ja=this.Sa=this.P=0}function ar(){this.nc=this.Ea=this.b=this.hc=0,this.K=[],this.w=0}function or(){this.ua=0,this.Wa=new F,this.vb=new F,this.md=this.xc=this.wc=0,this.vc=[],this.Wb=0,this.Ya=new d,this.yc=new f}function ir(){this.xb=this.a=0,this.l=new $e,this.ca=new ie,this.V=[],this.Ba=0,this.Ta=[],this.Ua=0,this.m=new S,this.Pb=0,this.wd=new S,this.Ma=this.$=this.C=this.i=this.c=this.xd=0,this.s=new or,this.ab=0,this.gc=i(4,ar),this.Oc=0}function sr(){this.Lc=this.Z=this.$a=this.i=this.c=0,this.l=new $e,this.ic=0,this.ca=[],this.tb=0,this.qd=null,this.rd=0}function cr(e,t,r,n,a,o,i){for(e=null==e?0:e[t+0],t=0;t<i;++t)a[o+t]=e+r[n+t]&255,e=a[o+t]}function lr(e,t,r,n,a,o,i){var s;if(null==e)cr(null,null,r,n,a,o,i);else for(s=0;s<i;++s)a[o+s]=e[t+s]+r[n+s]&255}function ur(e,t,r,n,a,o,i){if(null==e)cr(null,null,r,n,a,o,i);else{var s,c=e[t+0],l=c,u=c;for(s=0;s<i;++s)l=u+(c=e[t+s])-l,u=r[n+s]+(-256&l?0>l?0:255:l)&255,l=c,a[o+s]=u}}function fr(e,r,a,i){var s=r.width,c=r.o;if(t(null!=e&&null!=r),0>a||0>=i||a+i>c)return null;if(!e.Cc){if(null==e.ga){var l;if(e.ga=new sr,(l=null==e.ga)||(l=r.width*r.o,t(0==e.Gb.length),e.Gb=o(l),e.Uc=0,null==e.Gb?l=0:(e.mb=e.Gb,e.nb=e.Uc,e.rc=null,l=1),l=!l),!l){l=e.ga;var u=e.Fa,f=e.P,h=e.qc,d=e.mb,p=e.nb,g=f+1,m=h-1,b=l.l;if(t(null!=u&&null!=d&&null!=r),ma[0]=null,ma[1]=cr,ma[2]=lr,ma[3]=ur,l.ca=d,l.tb=p,l.c=r.width,l.i=r.height,t(0<l.c&&0<l.i),1>=h)r=0;else if(l.$a=u[f+0]>>0&3,l.Z=u[f+0]>>2&3,l.Lc=u[f+0]>>4&3,f=u[f+0]>>6&3,0>l.$a||1<l.$a||4<=l.Z||1<l.Lc||f)r=0;else if(b.put=de,b.ac=he,b.bc=pe,b.ma=l,b.width=r.width,b.height=r.height,b.Da=r.Da,b.v=r.v,b.va=r.va,b.j=r.j,b.o=r.o,l.$a)e:{t(1==l.$a),r=Ne();t:for(;;){if(null==r){r=0;break e}if(t(null!=l),l.mc=r,r.c=l.c,r.i=l.i,r.l=l.l,r.l.ma=l,r.l.width=l.c,r.l.height=l.i,r.a=0,v(r.m,u,g,m),!Ce(l.c,l.i,1,r,null))break t;if(1==r.ab&&3==r.gc[0].hc&&Ae(r.s)?(l.ic=1,u=r.c*r.i,r.Ta=null,r.Ua=0,r.V=o(u),r.Ba=0,null==r.V?(r.a=1,r=0):r=1):(l.ic=0,r=Oe(r,l.c)),!r)break t;r=1;break e}l.mc=null,r=0}else r=m>=l.c*l.i;l=!r}if(l)return null;1!=e.ga.Lc?e.Ga=0:i=c-a}t(null!=e.ga),t(a+i<=c);e:{if(r=(u=e.ga).c,c=u.l.o,0==u.$a){if(g=e.rc,m=e.Vc,b=e.Fa,f=e.P+1+a*r,h=e.mb,d=e.nb+a*r,t(f<=e.P+e.qc),0!=u.Z)for(t(null!=ma[u.Z]),l=0;l<i;++l)ma[u.Z](g,m,b,f,h,d,r),g=h,m=d,d+=r,f+=r;else for(l=0;l<i;++l)n(h,d,b,f,r),g=h,m=d,d+=r,f+=r;e.rc=g,e.Vc=m}else{if(t(null!=u.mc),r=a+i,t(null!=(l=u.mc)),t(r<=l.i),l.C>=r)r=1;else if(u.ic||mr(),u.ic){u=l.V,g=l.Ba,m=l.c;var y=l.i,w=(b=1,f=l.$/m,h=l.$%m,d=l.m,p=l.s,l.$),S=m*y,x=m*r,k=p.wc,E=w<x?we(p,h,f):null;t(w<=S),t(r<=y),t(Ae(p));t:for(;;){for(;!d.h&&w<x;){if(h&k||(E=we(p,h,f)),t(null!=E),T(d),256>(y=be(E.G[0],E.H[0],d)))u[g+w]=y,++w,++h>=m&&(h=0,++f<=r&&!(f%16)&&Te(l,f));else{if(!(280>y)){b=0;break t}y=me(y-256,d);var _,N=be(E.G[4],E.H[4],d);if(T(d),!(w>=(N=ve(m,N=me(N,d)))&&S-w>=y)){b=0;break t}for(_=0;_<y;++_)u[g+w+_]=u[g+w+_-N];for(w+=y,h+=y;h>=m;)h-=m,++f<=r&&!(f%16)&&Te(l,f);w<x&&h&k&&(E=we(p,h,f))}t(d.h==A(d))}Te(l,f>r?r:f);break t}!b||d.h&&w<S?(b=0,l.a=d.h?5:3):l.$=w,r=b}else r=Ee(l,l.V,l.Ba,l.c,l.i,r,Re);if(!r){i=0;break e}}a+i>=c&&(e.Cc=1),i=1}if(!i)return null;if(e.Cc&&(null!=(i=e.ga)&&(i.mc=null),e.ga=null,0<e.Ga))return alert("todo:WebPDequantizeLevels"),null}return e.nb+a*s}function hr(e,t,r,n,a,o){for(;0<a--;){var i,s=e,c=t+(r?1:0),l=e,u=t+(r?0:3);for(i=0;i<n;++i){var f=l[u+4*i];255!=f&&(f*=32897,s[c+4*i+0]=s[c+4*i+0]*f>>23,s[c+4*i+1]=s[c+4*i+1]*f>>23,s[c+4*i+2]=s[c+4*i+2]*f>>23)}t+=o}}function dr(e,t,r,n,a){for(;0<n--;){var o;for(o=0;o<r;++o){var i=e[t+2*o+0],s=15&(l=e[t+2*o+1]),c=4369*s,l=(240&l|l>>4)*c>>16;e[t+2*o+0]=(240&i|i>>4)*c>>16&240|(15&i|i<<4)*c>>16>>4&15,e[t+2*o+1]=240&l|s}t+=a}}function pr(e,t,r,n,a,o,i,s){var c,l,u=255;for(l=0;l<a;++l){for(c=0;c<n;++c){var f=e[t+c];o[i+4*c]=f,u&=f}t+=r,i+=s}return 255!=u}function gr(e,t,r,n,a){var o;for(o=0;o<a;++o)r[n+o]=e[t+o]>>8}function mr(){An=hr,kn=dr,Tn=pr,En=gr}function vr(r,n,a){e[r]=function(e,r,o,i,s,c,l,u,f,h,d,p,g,m,v,b,y){var w,S=y-1>>1,x=s[c+0]|l[u+0]<<16,A=f[h+0]|d[p+0]<<16;t(null!=e);var k=3*x+A+131074>>2;for(n(e[r+0],255&k,k>>16,g,m),null!=o&&(k=3*A+x+131074>>2,n(o[i+0],255&k,k>>16,v,b)),w=1;w<=S;++w){var T=s[c+w]|l[u+w]<<16,E=f[h+w]|d[p+w]<<16,_=x+T+A+E+524296,N=_+2*(T+A)>>3;k=N+x>>1,x=(_=_+2*(x+E)>>3)+T>>1,n(e[r+2*w-1],255&k,k>>16,g,m+(2*w-1)*a),n(e[r+2*w-0],255&x,x>>16,g,m+(2*w-0)*a),null!=o&&(k=_+A>>1,x=N+E>>1,n(o[i+2*w-1],255&k,k>>16,v,b+(2*w-1)*a),n(o[i+2*w+0],255&x,x>>16,v,b+(2*w+0)*a)),x=T,A=E}1&y||(k=3*x+A+131074>>2,n(e[r+y-1],255&k,k>>16,g,m+(y-1)*a),null!=o&&(k=3*A+x+131074>>2,n(o[i+y-1],255&k,k>>16,v,b+(y-1)*a)))}}function br(){va[Dn]=ba,va[Mn]=wa,va[jn]=ya,va[Bn]=Sa,va[Wn]=xa,va[Un]=Aa,va[Hn]=ka,va[zn]=wa,va[Vn]=Sa,va[qn]=xa,va[$n]=Aa}function yr(e){return e&~Oa?0>e?0:255:e>>Ca}function wr(e,t){return yr((19077*e>>8)+(26149*t>>8)-14234)}function Sr(e,t,r){return yr((19077*e>>8)-(6419*t>>8)-(13320*r>>8)+8708)}function xr(e,t){return yr((19077*e>>8)+(33050*t>>8)-17685)}function Ar(e,t,r,n,a){n[a+0]=wr(e,r),n[a+1]=Sr(e,t,r),n[a+2]=xr(e,t)}function kr(e,t,r,n,a){n[a+0]=xr(e,t),n[a+1]=Sr(e,t,r),n[a+2]=wr(e,r)}function Tr(e,t,r,n,a){var o=Sr(e,t,r);t=o<<3&224|xr(e,t)>>3,n[a+0]=248&wr(e,r)|o>>5,n[a+1]=t}function Er(e,t,r,n,a){var o=240&xr(e,t)|15;n[a+0]=240&wr(e,r)|Sr(e,t,r)>>4,n[a+1]=o}function _r(e,t,r,n,a){n[a+0]=255,Ar(e,t,r,n,a+1)}function Nr(e,t,r,n,a){kr(e,t,r,n,a),n[a+3]=255}function Cr(e,t,r,n,a){Ar(e,t,r,n,a),n[a+3]=255}function qe(e,t){return 0>e?0:e>t?t:e}function Or(t,r,n){e[t]=function(e,t,a,o,i,s,c,l,u){for(var f=l+(-2&u)*n;l!=f;)r(e[t+0],a[o+0],i[s+0],c,l),r(e[t+1],a[o+0],i[s+0],c,l+n),t+=2,++o,++s,l+=2*n;1&u&&r(e[t+0],a[o+0],i[s+0],c,l)}}function Rr(e,t,r){return 0==r?0==e?0==t?6:5:0==t?4:0:r}function Pr(e,t,r,n,a){switch(e>>>30){case 3:on(t,r,n,a,0);break;case 2:sn(t,r,n,a);break;case 1:ln(t,r,n,a)}}function Lr(e,t){var r,o,i=t.M,s=t.Nb,c=e.oc,l=e.pc+40,u=e.oc,f=e.pc+584,h=e.oc,d=e.pc+600;for(r=0;16>r;++r)c[l+32*r-1]=129;for(r=0;8>r;++r)u[f+32*r-1]=129,h[d+32*r-1]=129;for(0<i?c[l-1-32]=u[f-1-32]=h[d-1-32]=129:(a(c,l-32-1,127,21),a(u,f-32-1,127,9),a(h,d-32-1,127,9)),o=0;o<e.za;++o){var p=t.ya[t.aa+o];if(0<o){for(r=-1;16>r;++r)n(c,l+32*r-4,c,l+32*r+12,4);for(r=-1;8>r;++r)n(u,f+32*r-4,u,f+32*r+4,4),n(h,d+32*r-4,h,d+32*r+4,4)}var g=e.Gd,m=e.Hd+o,v=p.ad,b=p.Hc;if(0<i&&(n(c,l-32,g[m].y,0,16),n(u,f-32,g[m].f,0,8),n(h,d-32,g[m].ea,0,8)),p.Za){var y=c,w=l-32+16;for(0<i&&(o>=e.za-1?a(y,w,g[m].y[15],4):n(y,w,g[m+1].y,0,4)),r=0;4>r;r++)y[w+128+r]=y[w+256+r]=y[w+384+r]=y[w+0+r];for(r=0;16>r;++r,b<<=2)y=c,w=l+ja[r],ha[p.Ob[r]](y,w),Pr(b,v,16*+r,y,w)}else if(y=Rr(o,i,p.Ob[0]),fa[y](c,l),0!=b)for(r=0;16>r;++r,b<<=2)Pr(b,v,16*+r,c,l+ja[r]);for(r=p.Gc,y=Rr(o,i,p.Dd),da[y](u,f),da[y](h,d),b=v,y=u,w=f,255&(p=r>>0)&&(170&p?cn(b,256,y,w):un(b,256,y,w)),p=h,b=d,255&(r>>=8)&&(170&r?cn(v,320,p,b):un(v,320,p,b)),i<e.Ub-1&&(n(g[m].y,0,c,l+480,16),n(g[m].f,0,u,f+224,8),n(g[m].ea,0,h,d+224,8)),r=8*s*e.B,g=e.sa,m=e.ta+16*o+16*s*e.R,v=e.qa,p=e.ra+8*o+r,b=e.Ha,y=e.Ia+8*o+r,r=0;16>r;++r)n(g,m+r*e.R,c,l+32*r,16);for(r=0;8>r;++r)n(v,p+r*e.B,u,f+32*r,8),n(b,y+r*e.B,h,d+32*r,8)}}function Ir(e,n,a,o,i,s,c,l,u){var f=[0],h=[0],d=0,p=null!=u?u.kd:0,g=null!=u?u:new nr;if(null==e||12>a)return 7;g.data=e,g.w=n,g.ha=a,n=[n],a=[a],g.gb=[g.gb];e:{var m=n,b=a,y=g.gb;if(t(null!=e),t(null!=b),t(null!=y),y[0]=0,12<=b[0]&&!r(e,m[0],"RIFF")){if(r(e,m[0]+8,"WEBP")){y=3;break e}var w=P(e,m[0]+4);if(12>w||4294967286<w){y=3;break e}if(p&&w>b[0]-8){y=7;break e}y[0]=w,m[0]+=12,b[0]-=12}y=0}if(0!=y)return y;for(w=0<g.gb[0],a=a[0];;){e:{var x=e;b=n,y=a;var A=f,k=h,T=m=[0];if((N=d=[d])[0]=0,8>y[0])y=7;else{if(!r(x,b[0],"VP8X")){if(10!=P(x,b[0]+4)){y=3;break e}if(18>y[0]){y=7;break e}var E=P(x,b[0]+8),_=1+R(x,b[0]+12);if(2147483648<=_*(x=1+R(x,b[0]+15))){y=3;break e}null!=T&&(T[0]=E),null!=A&&(A[0]=_),null!=k&&(k[0]=x),b[0]+=18,y[0]-=18,N[0]=1}y=0}}if(d=d[0],m=m[0],0!=y)return y;if(b=!!(2&m),!w&&d)return 3;if(null!=s&&(s[0]=!!(16&m)),null!=c&&(c[0]=b),null!=l&&(l[0]=0),c=f[0],m=h[0],d&&b&&null==u){y=0;break}if(4>a){y=7;break}if(w&&d||!w&&!d&&!r(e,n[0],"ALPH")){a=[a],g.na=[g.na],g.P=[g.P],g.Sa=[g.Sa];e:{E=e,y=n,w=a;var N=g.gb;A=g.na,k=g.P,T=g.Sa,_=22,t(null!=E),t(null!=w),x=y[0];var C=w[0];for(t(null!=A),t(null!=T),A[0]=null,k[0]=null,T[0]=0;;){if(y[0]=x,w[0]=C,8>C){y=7;break e}var O=P(E,x+4);if(4294967286<O){y=3;break e}var L=8+O+1&-2;if(_+=L,0<N&&_>N){y=3;break e}if(!r(E,x,"VP8 ")||!r(E,x,"VP8L")){y=0;break e}if(C[0]<L){y=7;break e}r(E,x,"ALPH")||(A[0]=E,k[0]=x+8,T[0]=O),x+=L,C-=L}}if(a=a[0],g.na=g.na[0],g.P=g.P[0],g.Sa=g.Sa[0],0!=y)break}a=[a],g.Ja=[g.Ja],g.xa=[g.xa];e:if(N=e,y=n,w=a,A=g.gb[0],k=g.Ja,T=g.xa,E=y[0],x=!r(N,E,"VP8 "),_=!r(N,E,"VP8L"),t(null!=N),t(null!=w),t(null!=k),t(null!=T),8>w[0])y=7;else{if(x||_){if(N=P(N,E+4),12<=A&&N>A-12){y=3;break e}if(p&&N>w[0]-8){y=7;break e}k[0]=N,y[0]+=8,w[0]-=8,T[0]=_}else T[0]=5<=w[0]&&47==N[E+0]&&!(N[E+4]>>5),k[0]=w[0];y=0}if(a=a[0],g.Ja=g.Ja[0],g.xa=g.xa[0],n=n[0],0!=y)break;if(4294967286<g.Ja)return 3;if(null==l||b||(l[0]=g.xa?2:1),c=[c],m=[m],g.xa){if(5>a){y=7;break}l=c,p=m,b=s,null==e||5>a?e=0:5<=a&&47==e[n+0]&&!(e[n+4]>>5)?(w=[0],N=[0],A=[0],v(k=new S,e,n,a),ge(k,w,N,A)?(null!=l&&(l[0]=w[0]),null!=p&&(p[0]=N[0]),null!=b&&(b[0]=A[0]),e=1):e=0):e=0}else{if(10>a){y=7;break}l=m,null==e||10>a||!Ye(e,n+3,a-3)?e=0:(p=e[n+0]|e[n+1]<<8|e[n+2]<<16,b=16383&(e[n+7]<<8|e[n+6]),e=16383&(e[n+9]<<8|e[n+8]),1&p||3<(p>>1&7)||!(p>>4&1)||p>>5>=g.Ja||!b||!e?e=0:(c&&(c[0]=b),l&&(l[0]=e),e=1))}if(!e)return 3;if(c=c[0],m=m[0],d&&(f[0]!=c||h[0]!=m))return 3;null!=u&&(u[0]=g,u.offset=n-u.w,t(4294967286>n-u.w),t(u.offset==u.ha-a));break}return 0==y||7==y&&d&&null==u?(null!=s&&(s[0]|=null!=g.na&&0<g.na.length),null!=o&&(o[0]=c),null!=i&&(i[0]=m),0):y}function Fr(e,t,r){var n=t.width,a=t.height,o=0,i=0,s=n,c=a;if(t.Da=null!=e&&0<e.Da,t.Da&&(s=e.cd,c=e.bd,o=e.v,i=e.j,11>r||(o&=-2,i&=-2),0>o||0>i||0>=s||0>=c||o+s>n||i+c>a))return 0;if(t.v=o,t.j=i,t.va=o+s,t.o=i+c,t.U=s,t.T=c,t.da=null!=e&&0<e.da,t.da){if(!D(s,c,r=[e.ib],o=[e.hb]))return 0;t.ib=r[0],t.hb=o[0]}return t.ob=null!=e&&e.ob,t.Kb=null==e||!e.Sd,t.da&&(t.ob=t.ib<3*n/4&&t.hb<3*a/4,t.Kb=0),1}function Dr(e){if(null==e)return 2;if(11>e.S){var t=e.f.RGBA;t.fb+=(e.height-1)*t.A,t.A=-t.A}else t=e.f.kb,e=e.height,t.O+=(e-1)*t.fa,t.fa=-t.fa,t.N+=(e-1>>1)*t.Ab,t.Ab=-t.Ab,t.W+=(e-1>>1)*t.Db,t.Db=-t.Db,null!=t.F&&(t.J+=(e-1)*t.lb,t.lb=-t.lb);return 0}function Mr(e,t,r,n){if(null==n||0>=e||0>=t)return 2;if(null!=r){if(r.Da){var a=r.cd,i=r.bd,s=-2&r.v,c=-2&r.j;if(0>s||0>c||0>=a||0>=i||s+a>e||c+i>t)return 2;e=a,t=i}if(r.da){if(!D(e,t,a=[r.ib],i=[r.hb]))return 2;e=a[0],t=i[0]}}n.width=e,n.height=t;e:{var l=n.width,u=n.height;if(e=n.S,0>=l||0>=u||!(e>=Dn&&13>e))e=2;else{if(0>=n.Rd&&null==n.sd){s=i=a=t=0;var f=(c=l*Ha[e])*u;if(11>e||(i=(u+1)/2*(t=(l+1)/2),12==e&&(s=(a=l)*u)),null==(u=o(f+2*i+s))){e=1;break e}n.sd=u,11>e?((l=n.f.RGBA).eb=u,l.fb=0,l.A=c,l.size=f):((l=n.f.kb).y=u,l.O=0,l.fa=c,l.Fd=f,l.f=u,l.N=0+f,l.Ab=t,l.Cd=i,l.ea=u,l.W=0+f+i,l.Db=t,l.Ed=i,12==e&&(l.F=u,l.J=0+f+2*i),l.Tc=s,l.lb=a)}if(t=1,a=n.S,i=n.width,s=n.height,a>=Dn&&13>a)if(11>a)e=n.f.RGBA,t&=(c=Math.abs(e.A))*(s-1)+i<=e.size,t&=c>=i*Ha[a],t&=null!=e.eb;else{e=n.f.kb,c=(i+1)/2,f=(s+1)/2,l=Math.abs(e.fa),u=Math.abs(e.Ab);var h=Math.abs(e.Db),d=Math.abs(e.lb),p=d*(s-1)+i;t&=l*(s-1)+i<=e.Fd,t&=u*(f-1)+c<=e.Cd,t=(t&=h*(f-1)+c<=e.Ed)&l>=i&u>=c&h>=c,t&=null!=e.y,t&=null!=e.f,t&=null!=e.ea,12==a&&(t&=d>=i,t&=p<=e.Tc,t&=null!=e.F)}else t=0;e=t?0:2}}return 0!=e||null!=r&&r.fd&&(e=Dr(n)),e}var jr=64,Br=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535,131071,262143,524287,1048575,2097151,4194303,8388607,16777215],Wr=24,Ur=32,Hr=8,zr=[0,0,1,1,2,2,2,2,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7];B("Predictor0","PredictorAdd0"),e.Predictor0=function(){return 4278190080},e.Predictor1=function(e){return e},e.Predictor2=function(e,t,r){return t[r+0]},e.Predictor3=function(e,t,r){return t[r+1]},e.Predictor4=function(e,t,r){return t[r-1]},e.Predictor5=function(e,t,r){return U(U(e,t[r+1]),t[r+0])},e.Predictor6=function(e,t,r){return U(e,t[r-1])},e.Predictor7=function(e,t,r){return U(e,t[r+0])},e.Predictor8=function(e,t,r){return U(t[r-1],t[r+0])},e.Predictor9=function(e,t,r){return U(t[r+0],t[r+1])},e.Predictor10=function(e,t,r){return U(U(e,t[r-1]),U(t[r+0],t[r+1]))},e.Predictor11=function(e,t,r){var n=t[r+0];return 0>=V(n>>24&255,e>>24&255,(t=t[r-1])>>24&255)+V(n>>16&255,e>>16&255,t>>16&255)+V(n>>8&255,e>>8&255,t>>8&255)+V(255&n,255&e,255&t)?n:e},e.Predictor12=function(e,t,r){var n=t[r+0];return(H((e>>24&255)+(n>>24&255)-((t=t[r-1])>>24&255))<<24|H((e>>16&255)+(n>>16&255)-(t>>16&255))<<16|H((e>>8&255)+(n>>8&255)-(t>>8&255))<<8|H((255&e)+(255&n)-(255&t)))>>>0},e.Predictor13=function(e,t,r){var n=t[r-1];return(z((e=U(e,t[r+0]))>>24&255,n>>24&255)<<24|z(e>>16&255,n>>16&255)<<16|z(e>>8&255,n>>8&255)<<8|z(e>>0&255,n>>0&255))>>>0};var Vr=e.PredictorAdd0;e.PredictorAdd1=q,B("Predictor2","PredictorAdd2"),B("Predictor3","PredictorAdd3"),B("Predictor4","PredictorAdd4"),B("Predictor5","PredictorAdd5"),B("Predictor6","PredictorAdd6"),B("Predictor7","PredictorAdd7"),B("Predictor8","PredictorAdd8"),B("Predictor9","PredictorAdd9"),B("Predictor10","PredictorAdd10"),B("Predictor11","PredictorAdd11"),B("Predictor12","PredictorAdd12"),B("Predictor13","PredictorAdd13");var qr=e.PredictorAdd2;Y("ColorIndexInverseTransform","MapARGB","32b",(function(e){return e>>8&255}),(function(e){return e})),Y("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",(function(e){return e}),(function(e){return e>>8&255}));var $r,Gr=e.ColorIndexInverseTransform,Xr=e.MapARGB,Yr=e.VP8LColorIndexInverseTransformAlpha,Kr=e.MapAlpha,Jr=e.VP8LPredictorsAdd=[];Jr.length=16,(e.VP8LPredictors=[]).length=16,(e.VP8LPredictorsAdd_C=[]).length=16,(e.VP8LPredictors_C=[]).length=16;var Zr,Qr,en,tn,rn,nn,an,on,sn,cn,ln,un,fn,hn,dn,pn,gn,mn,vn,bn,yn,wn,Sn,xn,An,kn,Tn,En,_n=o(511),Nn=o(2041),Cn=o(225),On=o(767),Rn=0,Pn=Nn,Ln=Cn,In=On,Fn=_n,Dn=0,Mn=1,jn=2,Bn=3,Wn=4,Un=5,Hn=6,zn=7,Vn=8,qn=9,$n=10,Gn=[2,3,7],Xn=[3,3,11],Yn=[280,256,256,256,40],Kn=[0,1,1,1,0],Jn=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],Zn=[24,7,23,25,40,6,39,41,22,26,38,42,56,5,55,57,21,27,54,58,37,43,72,4,71,73,20,28,53,59,70,74,36,44,88,69,75,52,60,3,87,89,19,29,86,90,35,45,68,76,85,91,51,61,104,2,103,105,18,30,102,106,34,46,84,92,67,77,101,107,50,62,120,1,119,121,83,93,17,31,100,108,66,78,118,122,33,47,117,123,49,63,99,109,82,94,0,116,124,65,79,16,32,98,110,48,115,125,81,95,64,114,126,97,111,80,113,127,96,112],Qn=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],ea=8,ta=[4,5,6,7,8,9,10,10,11,12,13,14,15,16,17,17,18,19,20,20,21,21,22,22,23,23,24,25,25,26,27,28,29,30,31,32,33,34,35,36,37,37,38,39,40,41,42,43,44,45,46,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,76,77,78,79,80,81,82,83,84,85,86,87,88,89,91,93,95,96,98,100,101,102,104,106,108,110,112,114,116,118,122,124,126,128,130,132,134,136,138,140,143,145,148,151,154,157],ra=[4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,119,122,125,128,131,134,137,140,143,146,149,152,155,158,161,164,167,170,173,177,181,185,189,193,197,201,205,209,213,217,221,225,229,234,239,245,249,254,259,264,269,274,279,284],na=null,aa=[[173,148,140,0],[176,155,140,135,0],[180,157,141,134,130,0],[254,254,243,230,196,177,153,140,133,130,129,0]],oa=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],ia=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],sa=[[[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]],[[253,136,254,255,228,219,128,128,128,128,128],[189,129,242,255,227,213,255,219,128,128,128],[106,126,227,252,214,209,255,255,128,128,128]],[[1,98,248,255,236,226,255,255,128,128,128],[181,133,238,254,221,234,255,154,128,128,128],[78,134,202,247,198,180,255,219,128,128,128]],[[1,185,249,255,243,255,128,128,128,128,128],[184,150,247,255,236,224,128,128,128,128,128],[77,110,216,255,236,230,128,128,128,128,128]],[[1,101,251,255,241,255,128,128,128,128,128],[170,139,241,252,236,209,255,255,128,128,128],[37,116,196,243,228,255,255,255,128,128,128]],[[1,204,254,255,245,255,128,128,128,128,128],[207,160,250,255,238,128,128,128,128,128,128],[102,103,231,255,211,171,128,128,128,128,128]],[[1,152,252,255,240,255,128,128,128,128,128],[177,135,243,255,234,225,128,128,128,128,128],[80,129,211,255,194,224,128,128,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[246,1,255,128,128,128,128,128,128,128,128],[255,128,128,128,128,128,128,128,128,128,128]]],[[[198,35,237,223,193,187,162,160,145,155,62],[131,45,198,221,172,176,220,157,252,221,1],[68,47,146,208,149,167,221,162,255,223,128]],[[1,149,241,255,221,224,255,255,128,128,128],[184,141,234,253,222,220,255,199,128,128,128],[81,99,181,242,176,190,249,202,255,255,128]],[[1,129,232,253,214,197,242,196,255,255,128],[99,121,210,250,201,198,255,202,128,128,128],[23,91,163,242,170,187,247,210,255,255,128]],[[1,200,246,255,234,255,128,128,128,128,128],[109,178,241,255,231,245,255,255,128,128,128],[44,130,201,253,205,192,255,255,128,128,128]],[[1,132,239,251,219,209,255,165,128,128,128],[94,136,225,251,218,190,255,255,128,128,128],[22,100,174,245,186,161,255,199,128,128,128]],[[1,182,249,255,232,235,128,128,128,128,128],[124,143,241,255,227,234,128,128,128,128,128],[35,77,181,251,193,211,255,205,128,128,128]],[[1,157,247,255,236,231,255,255,128,128,128],[121,141,235,255,225,227,255,255,128,128,128],[45,99,188,251,195,217,255,224,128,128,128]],[[1,1,251,255,213,255,128,128,128,128,128],[203,1,248,255,255,128,128,128,128,128,128],[137,1,177,255,224,255,128,128,128,128,128]]],[[[253,9,248,251,207,208,255,192,128,128,128],[175,13,224,243,193,185,249,198,255,255,128],[73,17,171,221,161,179,236,167,255,234,128]],[[1,95,247,253,212,183,255,255,128,128,128],[239,90,244,250,211,209,255,255,128,128,128],[155,77,195,248,188,195,255,255,128,128,128]],[[1,24,239,251,218,219,255,205,128,128,128],[201,51,219,255,196,186,128,128,128,128,128],[69,46,190,239,201,218,255,228,128,128,128]],[[1,191,251,255,255,128,128,128,128,128,128],[223,165,249,255,213,255,128,128,128,128,128],[141,124,248,255,255,128,128,128,128,128,128]],[[1,16,248,255,255,128,128,128,128,128,128],[190,36,230,255,236,255,128,128,128,128,128],[149,1,255,128,128,128,128,128,128,128,128]],[[1,226,255,128,128,128,128,128,128,128,128],[247,192,255,128,128,128,128,128,128,128,128],[240,128,255,128,128,128,128,128,128,128,128]],[[1,134,252,255,255,128,128,128,128,128,128],[213,62,250,255,255,128,128,128,128,128,128],[55,93,255,128,128,128,128,128,128,128,128]],[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]]],[[[202,24,213,235,186,191,220,160,240,175,255],[126,38,182,232,169,184,228,174,255,187,128],[61,46,138,219,151,178,240,170,255,216,128]],[[1,112,230,250,199,191,247,159,255,255,128],[166,109,228,252,211,215,255,174,128,128,128],[39,77,162,232,172,180,245,178,255,255,128]],[[1,52,220,246,198,199,249,220,255,255,128],[124,74,191,243,183,193,250,221,255,255,128],[24,71,130,219,154,170,243,182,255,255,128]],[[1,182,225,249,219,240,255,224,128,128,128],[149,150,226,252,216,205,255,171,128,128,128],[28,108,170,242,183,194,254,223,255,255,128]],[[1,81,230,252,204,203,255,192,128,128,128],[123,102,209,247,188,196,255,233,128,128,128],[20,95,153,243,164,173,255,203,128,128,128]],[[1,222,248,255,216,213,128,128,128,128,128],[168,175,246,252,235,205,255,255,128,128,128],[47,116,215,255,211,212,255,255,128,128,128]],[[1,121,236,253,212,214,255,255,128,128,128],[141,84,213,252,201,202,255,219,128,128,128],[42,80,160,240,162,185,255,205,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[244,1,255,128,128,128,128,128,128,128,128],[238,1,255,128,128,128,128,128,128,128,128]]]],ca=[[[231,120,48,89,115,113,120,152,112],[152,179,64,126,170,118,46,70,95],[175,69,143,80,85,82,72,155,103],[56,58,10,171,218,189,17,13,152],[114,26,17,163,44,195,21,10,173],[121,24,80,195,26,62,44,64,85],[144,71,10,38,171,213,144,34,26],[170,46,55,19,136,160,33,206,71],[63,20,8,114,114,208,12,9,226],[81,40,11,96,182,84,29,16,36]],[[134,183,89,137,98,101,106,165,148],[72,187,100,130,157,111,32,75,80],[66,102,167,99,74,62,40,234,128],[41,53,9,178,241,141,26,8,107],[74,43,26,146,73,166,49,23,157],[65,38,105,160,51,52,31,115,128],[104,79,12,27,217,255,87,17,7],[87,68,71,44,114,51,15,186,23],[47,41,14,110,182,183,21,17,194],[66,45,25,102,197,189,23,18,22]],[[88,88,147,150,42,46,45,196,205],[43,97,183,117,85,38,35,179,61],[39,53,200,87,26,21,43,232,171],[56,34,51,104,114,102,29,93,77],[39,28,85,171,58,165,90,98,64],[34,22,116,206,23,34,43,166,73],[107,54,32,26,51,1,81,43,31],[68,25,106,22,64,171,36,225,114],[34,19,21,102,132,188,16,76,124],[62,18,78,95,85,57,50,48,51]],[[193,101,35,159,215,111,89,46,111],[60,148,31,172,219,228,21,18,111],[112,113,77,85,179,255,38,120,114],[40,42,1,196,245,209,10,25,109],[88,43,29,140,166,213,37,43,154],[61,63,30,155,67,45,68,1,209],[100,80,8,43,154,1,51,26,71],[142,78,78,16,255,128,34,197,171],[41,40,5,102,211,183,4,1,221],[51,50,17,168,209,192,23,25,82]],[[138,31,36,171,27,166,38,44,229],[67,87,58,169,82,115,26,59,179],[63,59,90,180,59,166,93,73,154],[40,40,21,116,143,209,34,39,175],[47,15,16,183,34,223,49,45,183],[46,17,33,183,6,98,15,32,183],[57,46,22,24,128,1,54,17,37],[65,32,73,115,28,128,23,128,205],[40,3,9,115,51,192,18,6,223],[87,37,9,115,59,77,64,21,47]],[[104,55,44,218,9,54,53,130,226],[64,90,70,205,40,41,23,26,57],[54,57,112,184,5,41,38,166,213],[30,34,26,133,152,116,10,32,134],[39,19,53,221,26,114,32,73,255],[31,9,65,234,2,15,1,118,73],[75,32,12,51,192,255,160,43,51],[88,31,35,67,102,85,55,186,85],[56,21,23,111,59,205,45,37,192],[55,38,70,124,73,102,1,34,98]],[[125,98,42,88,104,85,117,175,82],[95,84,53,89,128,100,113,101,45],[75,79,123,47,51,128,81,171,1],[57,17,5,71,102,57,53,41,49],[38,33,13,121,57,73,26,1,85],[41,10,67,138,77,110,90,47,114],[115,21,2,10,102,255,166,23,6],[101,29,16,10,85,128,101,196,26],[57,18,10,102,102,213,34,20,43],[117,20,15,36,163,128,68,1,26]],[[102,61,71,37,34,53,31,243,192],[69,60,71,38,73,119,28,222,37],[68,45,128,34,1,47,11,245,171],[62,17,19,70,146,85,55,62,70],[37,43,37,154,100,163,85,160,1],[63,9,92,136,28,64,32,201,85],[75,15,9,9,64,255,184,119,16],[86,6,28,5,64,255,25,248,1],[56,8,17,132,137,255,55,116,128],[58,15,20,82,135,57,26,121,40]],[[164,50,31,137,154,133,25,35,218],[51,103,44,131,131,123,31,6,158],[86,40,64,135,148,224,45,183,128],[22,26,17,131,240,154,14,1,209],[45,16,21,91,64,222,7,1,197],[56,21,39,155,60,138,23,102,213],[83,12,13,54,192,255,68,47,28],[85,26,85,85,128,128,32,146,171],[18,11,7,63,144,171,4,4,246],[35,27,10,146,174,171,12,26,128]],[[190,80,35,99,180,80,126,54,45],[85,126,47,87,176,51,41,20,32],[101,75,128,139,118,146,116,128,85],[56,41,15,176,236,85,37,9,62],[71,30,17,119,118,255,17,18,138],[101,38,60,138,55,70,43,26,142],[146,36,19,30,171,255,97,27,20],[138,45,61,62,219,1,81,188,64],[32,41,20,117,151,142,20,21,163],[112,19,12,61,195,128,48,4,24]]],la=[[[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[176,246,255,255,255,255,255,255,255,255,255],[223,241,252,255,255,255,255,255,255,255,255],[249,253,253,255,255,255,255,255,255,255,255]],[[255,244,252,255,255,255,255,255,255,255,255],[234,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255]],[[255,246,254,255,255,255,255,255,255,255,255],[239,253,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[251,255,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[251,254,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,254,253,255,254,255,255,255,255,255,255],[250,255,254,255,254,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[217,255,255,255,255,255,255,255,255,255,255],[225,252,241,253,255,255,254,255,255,255,255],[234,250,241,250,253,255,253,254,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[223,254,254,255,255,255,255,255,255,255,255],[238,253,254,254,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[249,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,255,255,255,255,255,255,255,255,255],[247,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[252,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[186,251,250,255,255,255,255,255,255,255,255],[234,251,244,254,255,255,255,255,255,255,255],[251,251,243,253,254,255,254,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[236,253,254,255,255,255,255,255,255,255,255],[251,253,253,254,254,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[254,254,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[254,254,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[248,255,255,255,255,255,255,255,255,255,255],[250,254,252,254,255,255,255,255,255,255,255],[248,254,249,253,255,255,255,255,255,255,255]],[[255,253,253,255,255,255,255,255,255,255,255],[246,253,253,255,255,255,255,255,255,255,255],[252,254,251,254,254,255,255,255,255,255,255]],[[255,254,252,255,255,255,255,255,255,255,255],[248,254,253,255,255,255,255,255,255,255,255],[253,255,254,254,255,255,255,255,255,255,255]],[[255,251,254,255,255,255,255,255,255,255,255],[245,251,254,255,255,255,255,255,255,255,255],[253,253,254,255,255,255,255,255,255,255,255]],[[255,251,253,255,255,255,255,255,255,255,255],[252,253,254,255,255,255,255,255,255,255,255],[255,254,255,255,255,255,255,255,255,255,255]],[[255,252,255,255,255,255,255,255,255,255,255],[249,255,254,255,255,255,255,255,255,255,255],[255,255,254,255,255,255,255,255,255,255,255]],[[255,255,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]]],ua=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],fa=[],ha=[],da=[],pa=1,ga=2,ma=[],va=[];vr("UpsampleRgbLinePair",Ar,3),vr("UpsampleBgrLinePair",kr,3),vr("UpsampleRgbaLinePair",Cr,4),vr("UpsampleBgraLinePair",Nr,4),vr("UpsampleArgbLinePair",_r,4),vr("UpsampleRgba4444LinePair",Er,2),vr("UpsampleRgb565LinePair",Tr,2);var ba=e.UpsampleRgbLinePair,ya=e.UpsampleBgrLinePair,wa=e.UpsampleRgbaLinePair,Sa=e.UpsampleBgraLinePair,xa=e.UpsampleArgbLinePair,Aa=e.UpsampleRgba4444LinePair,ka=e.UpsampleRgb565LinePair,Ta=16,Ea=1<<Ta-1,_a=-227,Na=482,Ca=6,Oa=(256<<Ca)-1,Ra=0,Pa=o(256),La=o(256),Ia=o(256),Fa=o(256),Da=o(Na-_a),Ma=o(Na-_a);Or("YuvToRgbRow",Ar,3),Or("YuvToBgrRow",kr,3),Or("YuvToRgbaRow",Cr,4),Or("YuvToBgraRow",Nr,4),Or("YuvToArgbRow",_r,4),Or("YuvToRgba4444Row",Er,2),Or("YuvToRgb565Row",Tr,2);var ja=[0,4,8,12,128,132,136,140,256,260,264,268,384,388,392,396],Ba=[0,2,8],Wa=[8,7,6,4,4,2,2,2,1,1,1,1],Ua=1;this.WebPDecodeRGBA=function(e,r,n,a,o){var i=Mn,s=new rr,c=new ie;s.ba=c,c.S=i,c.width=[c.width],c.height=[c.height];var l=c.width,u=c.height,f=new se;if(null==f||null==e)var h=2;else t(null!=f),h=Ir(e,r,n,f.width,f.height,f.Pd,f.Qd,f.format,null);if(0!=h?l=0:(null!=l&&(l[0]=f.width[0]),null!=u&&(u[0]=f.height[0]),l=1),l){c.width=c.width[0],c.height=c.height[0],null!=a&&(a[0]=c.width),null!=o&&(o[0]=c.height);e:{if(a=new $e,(o=new nr).data=e,o.w=r,o.ha=n,o.kd=1,r=[0],t(null!=o),(0==(e=Ir(o.data,o.w,o.ha,null,null,null,r,null,o))||7==e)&&r[0]&&(e=4),0==(r=e)){if(t(null!=s),a.data=o.data,a.w=o.w+o.offset,a.ha=o.ha-o.offset,a.put=de,a.ac=he,a.bc=pe,a.ma=s,o.xa){if(null==(e=Ne())){s=1;break e}if(function(e,r){var n=[0],a=[0],o=[0];t:for(;;){if(null==e)return 0;if(null==r)return e.a=2,0;if(e.l=r,e.a=0,v(e.m,r.data,r.w,r.ha),!ge(e.m,n,a,o)){e.a=3;break t}if(e.xb=ga,r.width=n[0],r.height=a[0],!Ce(n[0],a[0],1,e,null))break t;return 1}return t(0!=e.a),0}(e,a)){if(a=0==(r=Mr(a.width,a.height,s.Oa,s.ba))){t:{a=e;r:for(;;){if(null==a){a=0;break t}if(t(null!=a.s.yc),t(null!=a.s.Ya),t(0<a.s.Wb),t(null!=(n=a.l)),t(null!=(o=n.ma)),0!=a.xb){if(a.ca=o.ba,a.tb=o.tb,t(null!=a.ca),!Fr(o.Oa,n,Bn)){a.a=2;break r}if(!Oe(a,n.width))break r;if(n.da)break r;if((n.da||ne(a.ca.S))&&mr(),11>a.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),null!=a.ca.f.kb.F&&mr()),a.Pb&&0<a.s.ua&&null==a.s.vb.X&&!L(a.s.vb,a.s.Wa.Xa)){a.a=1;break r}a.xb=0}if(!Ee(a,a.V,a.Ba,a.c,a.i,n.o,xe))break r;o.Dc=a.Ma,a=1;break t}t(0!=a.a),a=0}a=!a}a&&(r=e.a)}else r=e.a}else{if(null==(e=new Ge)){s=1;break e}if(e.Fa=o.na,e.P=o.P,e.qc=o.Sa,Ke(e,a)){if(0==(r=Mr(a.width,a.height,s.Oa,s.ba))){if(e.Aa=0,n=s.Oa,t(null!=(o=e)),null!=n){if(0<(l=0>(l=n.Md)?0:100<l?255:255*l/100)){for(u=f=0;4>u;++u)12>(h=o.pb[u]).lc&&(h.ia=l*Wa[0>h.lc?0:h.lc]>>3),f|=h.ia;f&&(alert("todo:VP8InitRandom"),o.ia=1)}o.Ga=n.Id,100<o.Ga?o.Ga=100:0>o.Ga&&(o.Ga=0)}Qe(e,a)||(r=e.a)}}else r=e.a}0==r&&null!=s.Oa&&s.Oa.fd&&(r=Dr(s.ba))}s=r}i=0!=s?null:11>i?c.f.RGBA.eb:c.f.kb.y}else i=null;return i};var Ha=[3,4,3,4,4,2,2,4,4,4,2,1,1]});var f=[0],h=[0],d=[],p=new Ot,g=e,m=function(e,t){var r={},n=0,a=!1,o=0,i=0;if(r.frames=[],!function(e,t,r,n){for(var a=0;a<4;a++)if(e[t+a]!="RIFF".charCodeAt(a))return!0;return!1}(e,t)){var s,f;for(u(e,t+=4),t+=8;t<e.length;){var h=c(e,t),d=u(e,t+=4);t+=4;var p=d+(1&d);switch(h){case"VP8 ":case"VP8L":void 0===r.frames[n]&&(r.frames[n]={}),(v=r.frames[n]).src_off=a?i:t-8,v.src_size=o+d+8,n++,a&&(a=!1,o=0,i=0);break;case"VP8X":(v=r.header={}).feature_flags=e[t];var g=t+4;v.canvas_width=1+l(e,g),g+=3,v.canvas_height=1+l(e,g),g+=3;break;case"ALPH":a=!0,o=p+8,i=t-8;break;case"ANIM":(v=r.header).bgcolor=u(e,t),g=t+4,v.loop_count=(s=e)[(f=g)+0]<<0|s[f+1]<<8,g+=2;break;case"ANMF":var m,v;(v=r.frames[n]={}).offset_x=2*l(e,t),t+=3,v.offset_y=2*l(e,t),t+=3,v.width=1+l(e,t),t+=3,v.height=1+l(e,t),t+=3,v.duration=l(e,t),t+=3,m=e[t++],v.dispose=1&m,v.blend=m>>1&1}"ANMF"!=h&&(t+=p)}return r}}(g,0);m.response=g,m.rgbaoutput=!0,m.dataurl=!1;var v=m.header?m.header:null,b=m.frames?m.frames:null;if(v){v.loop_counter=v.loop_count,f=[v.canvas_height],h=[v.canvas_width];for(var y=0;y<b.length&&0!=b[y].blend;y++);}var w=b[0],S=p.WebPDecodeRGBA(g,w.src_off,w.src_size,h,f);w.rgba=S,w.imgwidth=h[0],w.imgheight=f[0];for(var x=0;x<h[0]*f[0]*4;x++)d[x]=S[x];return this.width=h,this.height=f,this.data=d,this}!function(e){var t=function(t,n,c,l){var u=4,f=o;switch(l){case e.image_compression.FAST:u=1,f=a;break;case e.image_compression.MEDIUM:u=6,f=i;break;case e.image_compression.SLOW:u=9,f=s}var h=yt(t=r(t,n,c,f),{level:u});return e.__addimage__.arrayBufferToBinaryString(h)},r=function(e,t,r,n){for(var a,o,i,s=e.length/t,c=new Uint8Array(e.length+s),f=l(),h=0;h<s;h+=1){if(i=h*t,a=e.subarray(i,i+t),n)c.set(n(a,r,o),i+h);else{for(var d,p=f.length,g=[];d<p;d+=1)g[d]=f[d](a,r,o);var m=u(g.concat());c.set(g[m],i+h)}o=a}return c},n=function(e){var t=Array.apply([],e);return t.unshift(0),t},a=function(e,t){var r,n=[],a=e.length;n[0]=1;for(var o=0;o<a;o+=1)r=e[o-t]||0,n[o+1]=e[o]-r+256&255;return n},o=function(e,t,r){var n,a=[],o=e.length;a[0]=2;for(var i=0;i<o;i+=1)n=r&&r[i]||0,a[i+1]=e[i]-n+256&255;return a},i=function(e,t,r){var n,a,o=[],i=e.length;o[0]=3;for(var s=0;s<i;s+=1)n=e[s-t]||0,a=r&&r[s]||0,o[s+1]=e[s]+256-(n+a>>>1)&255;return o},s=function(e,t,r){var n,a,o,i,s=[],l=e.length;s[0]=4;for(var u=0;u<l;u+=1)n=e[u-t]||0,a=r&&r[u]||0,o=r&&r[u-t]||0,i=c(n,a,o),s[u+1]=e[u]-i+256&255;return s},c=function(e,t,r){if(e===t&&t===r)return e;var n=Math.abs(t-r),a=Math.abs(e-r),o=Math.abs(e+t-r-r);return n<=a&&n<=o?e:a<=o?t:r},l=function(){return[n,a,o,i,s]},u=function(e){var t=e.map((function(e){return e.reduce((function(e,t){return e+Math.abs(t)}),0)}));return t.indexOf(Math.min.apply(null,t))};e.processPNG=function(r,n,a,o){var i,s,c,l,u,f,h,d,p,g,m,v,b,y,w,S=this.decode.FLATE_DECODE,x="";if(this.__addimage__.isArrayBuffer(r)&&(r=new Uint8Array(r)),this.__addimage__.isArrayBufferView(r)){if(r=(c=new Tt(r)).imgData,s=c.bits,i=c.colorSpace,u=c.colors,-1!==[4,6].indexOf(c.colorType)){if(8===c.bits){p=(d=32==c.pixelBitlength?new Uint32Array(c.decodePixels().buffer):16==c.pixelBitlength?new Uint16Array(c.decodePixels().buffer):new Uint8Array(c.decodePixels().buffer)).length,m=new Uint8Array(p*c.colors),g=new Uint8Array(p);var A,k=c.pixelBitlength-c.bits;for(y=0,w=0;y<p;y++){for(b=d[y],A=0;A<k;)m[w++]=b>>>A&255,A+=c.bits;g[y]=b>>>A&255}}if(16===c.bits){p=(d=new Uint32Array(c.decodePixels().buffer)).length,m=new Uint8Array(p*(32/c.pixelBitlength)*c.colors),g=new Uint8Array(p*(32/c.pixelBitlength)),v=c.colors>1,y=0,w=0;for(var T=0;y<p;)b=d[y++],m[w++]=b>>>0&255,v&&(m[w++]=b>>>16&255,b=d[y++],m[w++]=b>>>0&255),g[T++]=b>>>16&255;s=8}o!==e.image_compression.NONE?(r=t(m,c.width*c.colors,c.colors,o),h=t(g,c.width,1,o)):(r=m,h=g,S=void 0)}if(3===c.colorType&&(i=this.color_spaces.INDEXED,f=c.palette,c.transparency.indexed)){var E=c.transparency.indexed,_=0;for(y=0,p=E.length;y<p;++y)_+=E[y];if((_/=255)==p-1&&-1!==E.indexOf(0))l=[E.indexOf(0)];else if(_!==p){for(d=c.decodePixels(),g=new Uint8Array(d.length),y=0,p=d.length;y<p;y++)g[y]=E[d[y]];h=t(g,c.width,1)}}var N=function(t){var r;switch(t){case e.image_compression.FAST:r=11;break;case e.image_compression.MEDIUM:r=13;break;case e.image_compression.SLOW:r=14;break;default:r=12}return r}(o);return S===this.decode.FLATE_DECODE&&(x="/Predictor "+N+" "),x+="/Colors "+u+" /BitsPerComponent "+s+" /Columns "+c.width,(this.__addimage__.isArrayBuffer(r)||this.__addimage__.isArrayBufferView(r))&&(r=this.__addimage__.arrayBufferToBinaryString(r)),(h&&this.__addimage__.isArrayBuffer(h)||this.__addimage__.isArrayBufferView(h))&&(h=this.__addimage__.arrayBufferToBinaryString(h)),{alias:a,data:r,index:n,filter:S,decodeParameters:x,transparency:l,palette:f,sMask:h,predictor:N,width:c.width,height:c.height,bitsPerComponent:s,colorSpace:i}}}}(P.API),function(e){e.processGIF89A=function(t,r,n,a){var o=new Et(t),i=o.width,s=o.height,c=[];o.decodeAndBlitFrameRGBA(0,c);var l={data:c,width:i,height:s},u=new Nt(100).encode(l,100);return e.processJPEG.call(this,u,r,n,a)},e.processGIF87A=e.processGIF89A}(P.API),Ct.prototype.parseHeader=function(){if(this.fileSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.reserved=this.datav.getUint32(this.pos,!0),this.pos+=4,this.offset=this.datav.getUint32(this.pos,!0),this.pos+=4,this.headerSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.width=this.datav.getUint32(this.pos,!0),this.pos+=4,this.height=this.datav.getInt32(this.pos,!0),this.pos+=4,this.planes=this.datav.getUint16(this.pos,!0),this.pos+=2,this.bitPP=this.datav.getUint16(this.pos,!0),this.pos+=2,this.compress=this.datav.getUint32(this.pos,!0),this.pos+=4,this.rawSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.hr=this.datav.getUint32(this.pos,!0),this.pos+=4,this.vr=this.datav.getUint32(this.pos,!0),this.pos+=4,this.colors=this.datav.getUint32(this.pos,!0),this.pos+=4,this.importantColors=this.datav.getUint32(this.pos,!0),this.pos+=4,16===this.bitPP&&this.is_with_alpha&&(this.bitPP=15),this.bitPP<15){var e=0===this.colors?1<<this.bitPP:this.colors;this.palette=new Array(e);for(var t=0;t<e;t++){var r=this.datav.getUint8(this.pos++,!0),n=this.datav.getUint8(this.pos++,!0),a=this.datav.getUint8(this.pos++,!0),o=this.datav.getUint8(this.pos++,!0);this.palette[t]={red:a,green:n,blue:r,quad:o}}}this.height<0&&(this.height*=-1,this.bottom_up=!1)},Ct.prototype.parseBGR=function(){this.pos=this.offset;try{var e="bit"+this.bitPP,t=this.width*this.height*4;this.data=new Uint8Array(t),this[e]()}catch(e){n.log("bit decode error:"+e)}},Ct.prototype.bit1=function(){var e,t=Math.ceil(this.width/8),r=t%4;for(e=this.height-1;e>=0;e--){for(var n=this.bottom_up?e:this.height-1-e,a=0;a<t;a++)for(var o=this.datav.getUint8(this.pos++,!0),i=n*this.width*4+8*a*4,s=0;s<8&&8*a+s<this.width;s++){var c=this.palette[o>>7-s&1];this.data[i+4*s]=c.blue,this.data[i+4*s+1]=c.green,this.data[i+4*s+2]=c.red,this.data[i+4*s+3]=255}0!==r&&(this.pos+=4-r)}},Ct.prototype.bit4=function(){for(var e=Math.ceil(this.width/2),t=e%4,r=this.height-1;r>=0;r--){for(var n=this.bottom_up?r:this.height-1-r,a=0;a<e;a++){var o=this.datav.getUint8(this.pos++,!0),i=n*this.width*4+2*a*4,s=o>>4,c=15&o,l=this.palette[s];if(this.data[i]=l.blue,this.data[i+1]=l.green,this.data[i+2]=l.red,this.data[i+3]=255,2*a+1>=this.width)break;l=this.palette[c],this.data[i+4]=l.blue,this.data[i+4+1]=l.green,this.data[i+4+2]=l.red,this.data[i+4+3]=255}0!==t&&(this.pos+=4-t)}},Ct.prototype.bit8=function(){for(var e=this.width%4,t=this.height-1;t>=0;t--){for(var r=this.bottom_up?t:this.height-1-t,n=0;n<this.width;n++){var a=this.datav.getUint8(this.pos++,!0),o=r*this.width*4+4*n;if(a<this.palette.length){var i=this.palette[a];this.data[o]=i.red,this.data[o+1]=i.green,this.data[o+2]=i.blue,this.data[o+3]=255}else this.data[o]=255,this.data[o+1]=255,this.data[o+2]=255,this.data[o+3]=255}0!==e&&(this.pos+=4-e)}},Ct.prototype.bit15=function(){for(var e=this.width%3,t=parseInt("11111",2),r=this.height-1;r>=0;r--){for(var n=this.bottom_up?r:this.height-1-r,a=0;a<this.width;a++){var o=this.datav.getUint16(this.pos,!0);this.pos+=2;var i=(o&t)/t*255|0,s=(o>>5&t)/t*255|0,c=(o>>10&t)/t*255|0,l=o>>15?255:0,u=n*this.width*4+4*a;this.data[u]=c,this.data[u+1]=s,this.data[u+2]=i,this.data[u+3]=l}this.pos+=e}},Ct.prototype.bit16=function(){for(var e=this.width%3,t=parseInt("11111",2),r=parseInt("111111",2),n=this.height-1;n>=0;n--){for(var a=this.bottom_up?n:this.height-1-n,o=0;o<this.width;o++){var i=this.datav.getUint16(this.pos,!0);this.pos+=2;var s=(i&t)/t*255|0,c=(i>>5&r)/r*255|0,l=(i>>11)/t*255|0,u=a*this.width*4+4*o;this.data[u]=l,this.data[u+1]=c,this.data[u+2]=s,this.data[u+3]=255}this.pos+=e}},Ct.prototype.bit24=function(){for(var e=this.height-1;e>=0;e--){for(var t=this.bottom_up?e:this.height-1-e,r=0;r<this.width;r++){var n=this.datav.getUint8(this.pos++,!0),a=this.datav.getUint8(this.pos++,!0),o=this.datav.getUint8(this.pos++,!0),i=t*this.width*4+4*r;this.data[i]=o,this.data[i+1]=a,this.data[i+2]=n,this.data[i+3]=255}this.pos+=this.width%4}},Ct.prototype.bit32=function(){for(var e=this.height-1;e>=0;e--)for(var t=this.bottom_up?e:this.height-1-e,r=0;r<this.width;r++){var n=this.datav.getUint8(this.pos++,!0),a=this.datav.getUint8(this.pos++,!0),o=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0),s=t*this.width*4+4*r;this.data[s]=o,this.data[s+1]=a,this.data[s+2]=n,this.data[s+3]=i}},Ct.prototype.getData=function(){return this.data},function(e){e.processBMP=function(t,r,n,a){var o=new Ct(t,!1),i=o.width,s=o.height,c={data:o.getData(),width:i,height:s},l=new Nt(100).encode(c,100);return e.processJPEG.call(this,l,r,n,a)}}(P.API),Ot.prototype.getData=function(){return this.data},function(e){e.processWEBP=function(t,r,n,a){var o=new Ot(t,!1),i=o.width,s=o.height,c={data:o.getData(),width:i,height:s},l=new Nt(100).encode(c,100);return e.processJPEG.call(this,l,r,n,a)}}(P.API),function(e){e.setLanguage=function(e){return void 0===this.internal.languageSettings&&(this.internal.languageSettings={},this.internal.languageSettings.isSubscribed=!1),void 0!=={af:"Afrikaans",sq:"Albanian",ar:"Arabic (Standard)","ar-DZ":"Arabic (Algeria)","ar-BH":"Arabic (Bahrain)","ar-EG":"Arabic (Egypt)","ar-IQ":"Arabic (Iraq)","ar-JO":"Arabic (Jordan)","ar-KW":"Arabic (Kuwait)","ar-LB":"Arabic (Lebanon)","ar-LY":"Arabic (Libya)","ar-MA":"Arabic (Morocco)","ar-OM":"Arabic (Oman)","ar-QA":"Arabic (Qatar)","ar-SA":"Arabic (Saudi Arabia)","ar-SY":"Arabic (Syria)","ar-TN":"Arabic (Tunisia)","ar-AE":"Arabic (U.A.E.)","ar-YE":"Arabic (Yemen)",an:"Aragonese",hy:"Armenian",as:"Assamese",ast:"Asturian",az:"Azerbaijani",eu:"Basque",be:"Belarusian",bn:"Bengali",bs:"Bosnian",br:"Breton",bg:"Bulgarian",my:"Burmese",ca:"Catalan",ch:"Chamorro",ce:"Chechen",zh:"Chinese","zh-HK":"Chinese (Hong Kong)","zh-CN":"Chinese (PRC)","zh-SG":"Chinese (Singapore)","zh-TW":"Chinese (Taiwan)",cv:"Chuvash",co:"Corsican",cr:"Cree",hr:"Croatian",cs:"Czech",da:"Danish",nl:"Dutch (Standard)","nl-BE":"Dutch (Belgian)",en:"English","en-AU":"English (Australia)","en-BZ":"English (Belize)","en-CA":"English (Canada)","en-IE":"English (Ireland)","en-JM":"English (Jamaica)","en-NZ":"English (New Zealand)","en-PH":"English (Philippines)","en-ZA":"English (South Africa)","en-TT":"English (Trinidad & Tobago)","en-GB":"English (United Kingdom)","en-US":"English (United States)","en-ZW":"English (Zimbabwe)",eo:"Esperanto",et:"Estonian",fo:"Faeroese",fj:"Fijian",fi:"Finnish",fr:"French (Standard)","fr-BE":"French (Belgium)","fr-CA":"French (Canada)","fr-FR":"French (France)","fr-LU":"French (Luxembourg)","fr-MC":"French (Monaco)","fr-CH":"French (Switzerland)",fy:"Frisian",fur:"Friulian",gd:"Gaelic (Scots)","gd-IE":"Gaelic (Irish)",gl:"Galacian",ka:"Georgian",de:"German (Standard)","de-AT":"German (Austria)","de-DE":"German (Germany)","de-LI":"German (Liechtenstein)","de-LU":"German (Luxembourg)","de-CH":"German (Switzerland)",el:"Greek",gu:"Gujurati",ht:"Haitian",he:"Hebrew",hi:"Hindi",hu:"Hungarian",is:"Icelandic",id:"Indonesian",iu:"Inuktitut",ga:"Irish",it:"Italian (Standard)","it-CH":"Italian (Switzerland)",ja:"Japanese",kn:"Kannada",ks:"Kashmiri",kk:"Kazakh",km:"Khmer",ky:"Kirghiz",tlh:"Klingon",ko:"Korean","ko-KP":"Korean (North Korea)","ko-KR":"Korean (South Korea)",la:"Latin",lv:"Latvian",lt:"Lithuanian",lb:"Luxembourgish",mk:"FYRO Macedonian",ms:"Malay",ml:"Malayalam",mt:"Maltese",mi:"Maori",mr:"Marathi",mo:"Moldavian",nv:"Navajo",ng:"Ndonga",ne:"Nepali",no:"Norwegian",nb:"Norwegian (Bokmal)",nn:"Norwegian (Nynorsk)",oc:"Occitan",or:"Oriya",om:"Oromo",fa:"Persian","fa-IR":"Persian/Iran",pl:"Polish",pt:"Portuguese","pt-BR":"Portuguese (Brazil)",pa:"Punjabi","pa-IN":"Punjabi (India)","pa-PK":"Punjabi (Pakistan)",qu:"Quechua",rm:"Rhaeto-Romanic",ro:"Romanian","ro-MO":"Romanian (Moldavia)",ru:"Russian","ru-MO":"Russian (Moldavia)",sz:"Sami (Lappish)",sg:"Sango",sa:"Sanskrit",sc:"Sardinian",sd:"Sindhi",si:"Singhalese",sr:"Serbian",sk:"Slovak",sl:"Slovenian",so:"Somani",sb:"Sorbian",es:"Spanish","es-AR":"Spanish (Argentina)","es-BO":"Spanish (Bolivia)","es-CL":"Spanish (Chile)","es-CO":"Spanish (Colombia)","es-CR":"Spanish (Costa Rica)","es-DO":"Spanish (Dominican Republic)","es-EC":"Spanish (Ecuador)","es-SV":"Spanish (El Salvador)","es-GT":"Spanish (Guatemala)","es-HN":"Spanish (Honduras)","es-MX":"Spanish (Mexico)","es-NI":"Spanish (Nicaragua)","es-PA":"Spanish (Panama)","es-PY":"Spanish (Paraguay)","es-PE":"Spanish (Peru)","es-PR":"Spanish (Puerto Rico)","es-ES":"Spanish (Spain)","es-UY":"Spanish (Uruguay)","es-VE":"Spanish (Venezuela)",sx:"Sutu",sw:"Swahili",sv:"Swedish","sv-FI":"Swedish (Finland)","sv-SV":"Swedish (Sweden)",ta:"Tamil",tt:"Tatar",te:"Teluga",th:"Thai",tig:"Tigre",ts:"Tsonga",tn:"Tswana",tr:"Turkish",tk:"Turkmen",uk:"Ukrainian",hsb:"Upper Sorbian",ur:"Urdu",ve:"Venda",vi:"Vietnamese",vo:"Volapuk",wa:"Walloon",cy:"Welsh",xh:"Xhosa",ji:"Yiddish",zu:"Zulu"}[e]&&(this.internal.languageSettings.languageCode=e,!1===this.internal.languageSettings.isSubscribed&&(this.internal.events.subscribe("putCatalog",(function(){this.internal.write("/Lang ("+this.internal.languageSettings.languageCode+")")})),this.internal.languageSettings.isSubscribed=!0)),this}}(P.API),wt=P.API,St=wt.getCharWidthsArray=function(e,t){var r,n,a=(t=t||{}).font||this.internal.getFont(),o=t.fontSize||this.internal.getFontSize(),i=t.charSpace||this.internal.getCharSpace(),s=t.widths?t.widths:a.metadata.Unicode.widths,c=s.fof?s.fof:1,l=t.kerning?t.kerning:a.metadata.Unicode.kerning,u=l.fof?l.fof:1,f=!1!==t.doKerning,h=0,d=e.length,p=0,g=s[0]||c,m=[];for(r=0;r<d;r++)n=e.charCodeAt(r),"function"==typeof a.metadata.widthOfString?m.push((a.metadata.widthOfGlyph(a.metadata.characterToGlyph(n))+i*(1e3/o)||0)/1e3):(h=f&&"object"==typeof l[n]&&!isNaN(parseInt(l[n][p],10))?l[n][p]/u:0,m.push((s[n]||g)/c+h)),p=n;return m},xt=wt.getStringUnitWidth=function(e,t){var r=(t=t||{}).fontSize||this.internal.getFontSize(),n=t.font||this.internal.getFont(),a=t.charSpace||this.internal.getCharSpace();return wt.processArabic&&(e=wt.processArabic(e)),"function"==typeof n.metadata.widthOfString?n.metadata.widthOfString(e,r,a)/r:St.apply(this,arguments).reduce((function(e,t){return e+t}),0)},At=function(e,t,r,n){for(var a=[],o=0,i=e.length,s=0;o!==i&&s+t[o]<r;)s+=t[o],o++;a.push(e.slice(0,o));var c=o;for(s=0;o!==i;)s+t[o]>n&&(a.push(e.slice(c,o)),s=0,c=o),s+=t[o],o++;return c!==o&&a.push(e.slice(c,o)),a},kt=function(e,t,r){r||(r={});var n,a,o,i,s,c,l,u=[],f=[u],h=r.textIndent||0,d=0,p=0,g=e.split(" "),m=St.apply(this,[" ",r])[0];if(c=-1===r.lineIndent?g[0].length+2:r.lineIndent||0){var v=Array(c).join(" "),b=[];g.map((function(e){(e=e.split(/\s*\n/)).length>1?b=b.concat(e.map((function(e,t){return(t&&e.length?"\n":"")+e}))):b.push(e[0])})),g=b,c=xt.apply(this,[v,r])}for(o=0,i=g.length;o<i;o++){var y=0;if(n=g[o],c&&"\n"==n[0]&&(n=n.substr(1),y=1),h+d+(p=(a=St.apply(this,[n,r])).reduce((function(e,t){return e+t}),0))>t||y){if(p>t){for(s=At.apply(this,[n,a,t-(h+d),t]),u.push(s.shift()),u=[s.pop()];s.length;)f.push([s.shift()]);p=a.slice(n.length-(u[0]?u[0].length:0)).reduce((function(e,t){return e+t}),0)}else u=[n];f.push(u),h=p+c,d=m}else u.push(n),h+=d+p,d=m}return l=c?function(e,t){return(t?v:"")+e.join(" ")}:function(e){return e.join(" ")},f.map(l)},wt.splitTextToSize=function(e,t,r){var n,a=(r=r||{}).fontSize||this.internal.getFontSize(),o=function(e){if(e.widths&&e.kerning)return{widths:e.widths,kerning:e.kerning};var t=this.internal.getFont(e.fontName,e.fontStyle);return t.metadata.Unicode?{widths:t.metadata.Unicode.widths||{0:1},kerning:t.metadata.Unicode.kerning||{}}:{font:t.metadata,fontSize:this.internal.getFontSize(),charSpace:this.internal.getCharSpace()}}.call(this,r);n=Array.isArray(e)?e:String(e).split(/\r?\n/);var i=1*this.internal.scaleFactor*t/a;o.textIndent=r.textIndent?1*r.textIndent*this.internal.scaleFactor/a:0,o.lineIndent=r.lineIndent;var s,c,l=[];for(s=0,c=n.length;s<c;s++)l=l.concat(kt.apply(this,[n[s],i,o]));return l},function(e){e.__fontmetrics__=e.__fontmetrics__||{};for(var t="klmnopqrstuvwxyz",r={},n={},a=0;a<16;a++)r[t[a]]="0123456789abcdef"[a],n["0123456789abcdef"[a]]=t[a];var o=function(e){return"0x"+parseInt(e,10).toString(16)},i=e.__fontmetrics__.compress=function(e){var t,r,a,s,c=["{"];for(var l in e){if(t=e[l],isNaN(parseInt(l,10))?r="'"+l+"'":(l=parseInt(l,10),r=(r=o(l).slice(2)).slice(0,-1)+n[r.slice(-1)]),"number"==typeof t)t<0?(a=o(t).slice(3),s="-"):(a=o(t).slice(2),s=""),a=s+a.slice(0,-1)+n[a.slice(-1)];else{if("object"!=typeof t)throw new Error("Don't know what to do with value type "+typeof t+".");a=i(t)}c.push(r+a)}return c.push("}"),c.join("")},s=e.__fontmetrics__.uncompress=function(e){if("string"!=typeof e)throw new Error("Invalid argument passed to uncompress.");for(var t,n,a,o,i={},s=1,c=i,l=[],u="",f="",h=e.length-1,d=1;d<h;d+=1)"'"==(o=e[d])?t?(a=t.join(""),t=void 0):t=[]:t?t.push(o):"{"==o?(l.push([c,a]),c={},a=void 0):"}"==o?((n=l.pop())[0][n[1]]=c,a=void 0,c=n[0]):"-"==o?s=-1:void 0===a?r.hasOwnProperty(o)?(u+=r[o],a=parseInt(u,16)*s,s=1,u=""):u+=o:r.hasOwnProperty(o)?(f+=r[o],c[a]=parseInt(f,16)*s,s=1,a=void 0,f=""):f+=o;return i},c={codePages:["WinAnsiEncoding"],WinAnsiEncoding:s("{19m8n201n9q201o9r201s9l201t9m201u8m201w9n201x9o201y8o202k8q202l8r202m9p202q8p20aw8k203k8t203t8v203u9v2cq8s212m9t15m8w15n9w2dw9s16k8u16l9u17s9z17x8y17y9y}")},l={Unicode:{Courier:c,"Courier-Bold":c,"Courier-BoldOblique":c,"Courier-Oblique":c,Helvetica:c,"Helvetica-Bold":c,"Helvetica-BoldOblique":c,"Helvetica-Oblique":c,"Times-Roman":c,"Times-Bold":c,"Times-BoldItalic":c,"Times-Italic":c}},u={Unicode:{"Courier-Oblique":s("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-BoldItalic":s("{'widths'{k3o2q4ycx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2r202m2n2n3m2o3m2p5n202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5n4l4m4m4m4n4m4o4s4p4m4q4m4r4s4s4y4t2r4u3m4v4m4w3x4x5t4y4s4z4s5k3x5l4s5m4m5n3r5o3x5p4s5q4m5r5t5s4m5t3x5u3x5v2l5w1w5x2l5y3t5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q2l6r3m6s3r6t1w6u1w6v3m6w1w6x4y6y3r6z3m7k3m7l3m7m2r7n2r7o1w7p3r7q2w7r4m7s3m7t2w7u2r7v2n7w1q7x2n7y3t202l3mcl4mal2ram3man3mao3map3mar3mas2lat4uau1uav3maw3way4uaz2lbk2sbl3t'fof'6obo2lbp3tbq3mbr1tbs2lbu1ybv3mbz3mck4m202k3mcm4mcn4mco4mcp4mcq5ycr4mcs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz2w203k6o212m6o2dw2l2cq2l3t3m3u2l17s3x19m3m}'kerning'{cl{4qu5kt5qt5rs17ss5ts}201s{201ss}201t{cks4lscmscnscoscpscls2wu2yu201ts}201x{2wu2yu}2k{201ts}2w{4qx5kx5ou5qx5rs17su5tu}2x{17su5tu5ou}2y{4qx5kx5ou5qx5rs17ss5ts}'fof'-6ofn{17sw5tw5ou5qw5rs}7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qs}3v{17su5tu5os5qs}7p{17su5tu}ck{4qu5kt5qt5rs17ss5ts}4l{4qu5kt5qt5rs17ss5ts}cm{4qu5kt5qt5rs17ss5ts}cn{4qu5kt5qt5rs17ss5ts}co{4qu5kt5qt5rs17ss5ts}cp{4qu5kt5qt5rs17ss5ts}6l{4qu5ou5qw5rt17su5tu}5q{ckuclucmucnucoucpu4lu}5r{ckuclucmucnucoucpu4lu}7q{cksclscmscnscoscps4ls}6p{4qu5ou5qw5rt17sw5tw}ek{4qu5ou5qw5rt17su5tu}el{4qu5ou5qw5rt17su5tu}em{4qu5ou5qw5rt17su5tu}en{4qu5ou5qw5rt17su5tu}eo{4qu5ou5qw5rt17su5tu}ep{4qu5ou5qw5rt17su5tu}es{17ss5ts5qs4qu}et{4qu5ou5qw5rt17sw5tw}eu{4qu5ou5qw5rt17ss5ts}ev{17ss5ts5qs4qu}6z{17sw5tw5ou5qw5rs}fm{17sw5tw5ou5qw5rs}7n{201ts}fo{17sw5tw5ou5qw5rs}fp{17sw5tw5ou5qw5rs}fq{17sw5tw5ou5qw5rs}7r{cksclscmscnscoscps4ls}fs{17sw5tw5ou5qw5rs}ft{17su5tu}fu{17su5tu}fv{17su5tu}fw{17su5tu}fz{cksclscmscnscoscps4ls}}}"),"Helvetica-Bold":s("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"),Courier:s("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-BoldOblique":s("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Bold":s("{'widths'{k3q2q5ncx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2l202m2n2n3m2o3m2p6o202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5x4l4s4m4m4n4s4o4s4p4m4q3x4r4y4s4y4t2r4u3m4v4y4w4m4x5y4y4s4z4y5k3x5l4y5m4s5n3r5o4m5p4s5q4s5r6o5s4s5t4s5u4m5v2l5w1w5x2l5y3u5z3m6k2l6l3m6m3r6n2w6o3r6p2w6q2l6r3m6s3r6t1w6u2l6v3r6w1w6x5n6y3r6z3m7k3r7l3r7m2w7n2r7o2l7p3r7q3m7r4s7s3m7t3m7u2w7v2r7w1q7x2r7y3o202l3mcl4sal2lam3man3mao3map3mar3mas2lat4uau1yav3maw3tay4uaz2lbk2sbl3t'fof'6obo2lbp3rbr1tbs2lbu2lbv3mbz3mck4s202k3mcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3rek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3m3u2l17s4s19m3m}'kerning'{cl{4qt5ks5ot5qy5rw17sv5tv}201t{cks4lscmscnscoscpscls4wv}2k{201ts}2w{4qu5ku7mu5os5qx5ru17su5tu}2x{17su5tu5ou5qs}2y{4qv5kv7mu5ot5qz5ru17su5tu}'fof'-6o7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qu}3v{17su5tu5os5qu}fu{17su5tu5ou5qu}7p{17su5tu5ou5qu}ck{4qt5ks5ot5qy5rw17sv5tv}4l{4qt5ks5ot5qy5rw17sv5tv}cm{4qt5ks5ot5qy5rw17sv5tv}cn{4qt5ks5ot5qy5rw17sv5tv}co{4qt5ks5ot5qy5rw17sv5tv}cp{4qt5ks5ot5qy5rw17sv5tv}6l{17st5tt5ou5qu}17s{ckuclucmucnucoucpu4lu4wu}5o{ckuclucmucnucoucpu4lu4wu}5q{ckzclzcmzcnzcozcpz4lz4wu}5r{ckxclxcmxcnxcoxcpx4lx4wu}5t{ckuclucmucnucoucpu4lu4wu}7q{ckuclucmucnucoucpu4lu}6p{17sw5tw5ou5qu}ek{17st5tt5qu}el{17st5tt5ou5qu}em{17st5tt5qu}en{17st5tt5qu}eo{17st5tt5qu}ep{17st5tt5ou5qu}es{17ss5ts5qu}et{17sw5tw5ou5qu}eu{17sw5tw5ou5qu}ev{17ss5ts5qu}6z{17sw5tw5ou5qu5rs}fm{17sw5tw5ou5qu5rs}fn{17sw5tw5ou5qu5rs}fo{17sw5tw5ou5qu5rs}fp{17sw5tw5ou5qu5rs}fq{17sw5tw5ou5qu5rs}7r{cktcltcmtcntcotcpt4lt5os}fs{17sw5tw5ou5qu5rs}ft{17su5tu5ou5qu}7m{5os}fv{17su5tu5ou5qu}fw{17su5tu5ou5qu}fz{cksclscmscnscoscps4ls}}}"),Symbol:s("{'widths'{k3uaw4r19m3m2k1t2l2l202m2y2n3m2p5n202q6o3k3m2s2l2t2l2v3r2w1t3m3m2y1t2z1wbk2sbl3r'fof'6o3n3m3o3m3p3m3q3m3r3m3s3m3t3m3u1w3v1w3w3r3x3r3y3r3z2wbp3t3l3m5v2l5x2l5z3m2q4yfr3r7v3k7w1o7x3k}'kerning'{'fof'-6o}}"),Helvetica:s("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}"),"Helvetica-BoldOblique":s("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"),ZapfDingbats:s("{'widths'{k4u2k1w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-Bold":s("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Italic":s("{'widths'{k3n2q4ycx2l201n3m201o5t201s2l201t2l201u2l201w3r201x3r201y3r2k1t2l2l202m2n2n3m2o3m2p5n202q5t2r1p2s2l2t2l2u3m2v4n2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w4n3x4n3y4n3z3m4k5w4l3x4m3x4n4m4o4s4p3x4q3x4r4s4s4s4t2l4u2w4v4m4w3r4x5n4y4m4z4s5k3x5l4s5m3x5n3m5o3r5p4s5q3x5r5n5s3x5t3r5u3r5v2r5w1w5x2r5y2u5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q1w6r3m6s3m6t1w6u1w6v2w6w1w6x4s6y3m6z3m7k3m7l3m7m2r7n2r7o1w7p3m7q2w7r4m7s2w7t2w7u2r7v2s7w1v7x2s7y3q202l3mcl3xal2ram3man3mao3map3mar3mas2lat4wau1vav3maw4nay4waz2lbk2sbl4n'fof'6obo2lbp3mbq3obr1tbs2lbu1zbv3mbz3mck3x202k3mcm3xcn3xco3xcp3xcq5tcr4mcs3xct3xcu3xcv3xcw2l2m2ucy2lcz2ldl4mdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr4nfs3mft3mfu3mfv3mfw3mfz2w203k6o212m6m2dw2l2cq2l3t3m3u2l17s3r19m3m}'kerning'{cl{5kt4qw}201s{201sw}201t{201tw2wy2yy6q-t}201x{2wy2yy}2k{201tw}2w{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}2x{17ss5ts5os}2y{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}'fof'-6o6t{17ss5ts5qs}7t{5os}3v{5qs}7p{17su5tu5qs}ck{5kt4qw}4l{5kt4qw}cm{5kt4qw}cn{5kt4qw}co{5kt4qw}cp{5kt4qw}6l{4qs5ks5ou5qw5ru17su5tu}17s{2ks}5q{ckvclvcmvcnvcovcpv4lv}5r{ckuclucmucnucoucpu4lu}5t{2ks}6p{4qs5ks5ou5qw5ru17su5tu}ek{4qs5ks5ou5qw5ru17su5tu}el{4qs5ks5ou5qw5ru17su5tu}em{4qs5ks5ou5qw5ru17su5tu}en{4qs5ks5ou5qw5ru17su5tu}eo{4qs5ks5ou5qw5ru17su5tu}ep{4qs5ks5ou5qw5ru17su5tu}es{5ks5qs4qs}et{4qs5ks5ou5qw5ru17su5tu}eu{4qs5ks5qw5ru17su5tu}ev{5ks5qs4qs}ex{17ss5ts5qs}6z{4qv5ks5ou5qw5ru17su5tu}fm{4qv5ks5ou5qw5ru17su5tu}fn{4qv5ks5ou5qw5ru17su5tu}fo{4qv5ks5ou5qw5ru17su5tu}fp{4qv5ks5ou5qw5ru17su5tu}fq{4qv5ks5ou5qw5ru17su5tu}7r{5os}fs{4qv5ks5ou5qw5ru17su5tu}ft{17su5tu5qs}fu{17su5tu5qs}fv{17su5tu5qs}fw{17su5tu5qs}}}"),"Times-Roman":s("{'widths'{k3n2q4ycx2l201n3m201o6o201s2l201t2l201u2l201w2w201x2w201y2w2k1t2l2l202m2n2n3m2o3m2p5n202q6o2r1m2s2l2t2l2u3m2v3s2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v1w3w3s3x3s3y3s3z2w4k5w4l4s4m4m4n4m4o4s4p3x4q3r4r4s4s4s4t2l4u2r4v4s4w3x4x5t4y4s4z4s5k3r5l4s5m4m5n3r5o3x5p4s5q4s5r5y5s4s5t4s5u3x5v2l5w1w5x2l5y2z5z3m6k2l6l2w6m3m6n2w6o3m6p2w6q2l6r3m6s3m6t1w6u1w6v3m6w1w6x4y6y3m6z3m7k3m7l3m7m2l7n2r7o1w7p3m7q3m7r4s7s3m7t3m7u2w7v3k7w1o7x3k7y3q202l3mcl4sal2lam3man3mao3map3mar3mas2lat4wau1vav3maw3say4waz2lbk2sbl3s'fof'6obo2lbp3mbq2xbr1tbs2lbu1zbv3mbz2wck4s202k3mcm4scn4sco4scp4scq5tcr4mcs3xct3xcu3xcv3xcw2l2m2tcy2lcz2ldl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek2wel2wem2wen2weo2wep2weq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr3sfs3mft3mfu3mfv3mfw3mfz3m203k6o212m6m2dw2l2cq2l3t3m3u1w17s4s19m3m}'kerning'{cl{4qs5ku17sw5ou5qy5rw201ss5tw201ws}201s{201ss}201t{ckw4lwcmwcnwcowcpwclw4wu201ts}2k{201ts}2w{4qs5kw5os5qx5ru17sx5tx}2x{17sw5tw5ou5qu}2y{4qs5kw5os5qx5ru17sx5tx}'fof'-6o7t{ckuclucmucnucoucpu4lu5os5rs}3u{17su5tu5qs}3v{17su5tu5qs}7p{17sw5tw5qs}ck{4qs5ku17sw5ou5qy5rw201ss5tw201ws}4l{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cm{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cn{4qs5ku17sw5ou5qy5rw201ss5tw201ws}co{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cp{4qs5ku17sw5ou5qy5rw201ss5tw201ws}6l{17su5tu5os5qw5rs}17s{2ktclvcmvcnvcovcpv4lv4wuckv}5o{ckwclwcmwcnwcowcpw4lw4wu}5q{ckyclycmycnycoycpy4ly4wu5ms}5r{cktcltcmtcntcotcpt4lt4ws}5t{2ktclvcmvcnvcovcpv4lv4wuckv}7q{cksclscmscnscoscps4ls}6p{17su5tu5qw5rs}ek{5qs5rs}el{17su5tu5os5qw5rs}em{17su5tu5os5qs5rs}en{17su5qs5rs}eo{5qs5rs}ep{17su5tu5os5qw5rs}es{5qs}et{17su5tu5qw5rs}eu{17su5tu5qs5rs}ev{5qs}6z{17sv5tv5os5qx5rs}fm{5os5qt5rs}fn{17sv5tv5os5qx5rs}fo{17sv5tv5os5qx5rs}fp{5os5qt5rs}fq{5os5qt5rs}7r{ckuclucmucnucoucpu4lu5os}fs{17sv5tv5os5qx5rs}ft{17ss5ts5qs}fu{17sw5tw5qs}fv{17sw5tw5qs}fw{17ss5ts5qs}fz{ckuclucmucnucoucpu4lu5os5rs}}}"),"Helvetica-Oblique":s("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}")}};e.events.push(["addFont",function(e){var t=e.font,r=u.Unicode[t.postScriptName];r&&(t.metadata.Unicode={},t.metadata.Unicode.widths=r.widths,t.metadata.Unicode.kerning=r.kerning);var n=l.Unicode[t.postScriptName];n&&(t.metadata.Unicode.encoding=n,t.encoding=n.codePages[0])}])}(P.API),function(e){var t=function(e){for(var t=e.length,r=new Uint8Array(t),n=0;n<t;n++)r[n]=e.charCodeAt(n);return r};e.API.events.push(["addFont",function(r){var n=void 0,a=r.font,o=r.instance;if(!a.isStandardFont){if(void 0===o)throw new Error("Font does not exist in vFS, import fonts or remove declaration doc.addFont('"+a.postScriptName+"').");if("string"!=typeof(n=!1===o.existsFileInVFS(a.postScriptName)?o.loadFile(a.postScriptName):o.getFileFromVFS(a.postScriptName)))throw new Error("Font is not stored as string-data in vFS, import fonts or remove declaration doc.addFont('"+a.postScriptName+"').");!function(r,n){n=/^\x00\x01\x00\x00/.test(n)?t(n):t(s(n)),r.metadata=e.API.TTFFont.open(n),r.metadata.Unicode=r.metadata.Unicode||{encoding:{},kerning:{},widths:[]},r.metadata.glyIdsUsed=[0]}(a,n)}}])}(P),function(r){function a(){return(t.canvg?Promise.resolve(t.canvg):"object"==typeof e&&"undefined"!=typeof module?new Promise((function(e,t){try{e(require("canvg"))}catch(e){t(e)}})):"function"==typeof define&&define.amd?new Promise((function(e,t){try{require(["canvg"],e)}catch(e){t(e)}})):Promise.reject(new Error("Could not load canvg"))).catch((function(e){return Promise.reject(new Error("Could not load canvg: "+e))})).then((function(e){return e.default?e.default:e}))}r.addSvgAsImage=function(e,t,r,o,i,s,c,l){if(isNaN(t)||isNaN(r))throw n.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(o)||isNaN(i))throw n.error("jsPDF.addSvgAsImage: Invalid measurements",arguments),new Error("Invalid measurements (width and/or height) passed to jsPDF.addSvgAsImage");var u=document.createElement("canvas");u.width=o,u.height=i;var f=u.getContext("2d");f.fillStyle="#fff",f.fillRect(0,0,u.width,u.height);var h={ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0},d=this;return a().then((function(t){return t.fromString(f,e,h)}),(function(){return Promise.reject(new Error("Could not load canvg."))})).then((function(e){return e.render(h)})).then((function(){d.addImage(u.toDataURL("image/jpeg",1),t,r,o,i,c,l)}))}}(P.API),function(e){e.putTotalPages=function(e){var t,r=0;parseInt(this.internal.getFont().id.substr(1),10)<15?(t=new RegExp(e,"g"),r=this.internal.getNumberOfPages()):(t=new RegExp(this.pdfEscape16(e,this.internal.getFont()),"g"),r=this.pdfEscape16(this.internal.getNumberOfPages()+"",this.internal.getFont()));for(var n=1;n<=this.internal.getNumberOfPages();n++)for(var a=0;a<this.internal.pages[n].length;a++)this.internal.pages[n][a]=this.internal.pages[n][a].replace(t,r);return this}}(P.API),function(e){e.viewerPreferences=function(e,t){var r;e=e||{},t=t||!1;var n,a,o,i={HideToolbar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideMenubar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideWindowUI:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},FitWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},CenterWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},DisplayDocTitle:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.4},NonFullScreenPageMode:{defaultValue:"UseNone",value:"UseNone",type:"name",explicitSet:!1,valueSet:["UseNone","UseOutlines","UseThumbs","UseOC"],pdfVersion:1.3},Direction:{defaultValue:"L2R",value:"L2R",type:"name",explicitSet:!1,valueSet:["L2R","R2L"],pdfVersion:1.3},ViewArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},ViewClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintScaling:{defaultValue:"AppDefault",value:"AppDefault",type:"name",explicitSet:!1,valueSet:["AppDefault","None"],pdfVersion:1.6},Duplex:{defaultValue:"",value:"none",type:"name",explicitSet:!1,valueSet:["Simplex","DuplexFlipShortEdge","DuplexFlipLongEdge","none"],pdfVersion:1.7},PickTrayByPDFSize:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.7},PrintPageRange:{defaultValue:"",value:"",type:"array",explicitSet:!1,valueSet:null,pdfVersion:1.7},NumCopies:{defaultValue:1,value:1,type:"integer",explicitSet:!1,valueSet:null,pdfVersion:1.7}},s=Object.keys(i),c=[],l=0,u=0,f=0;function h(e,t){var r,n=!1;for(r=0;r<e.length;r+=1)e[r]===t&&(n=!0);return n}if(void 0===this.internal.viewerpreferences&&(this.internal.viewerpreferences={},this.internal.viewerpreferences.configuration=JSON.parse(JSON.stringify(i)),this.internal.viewerpreferences.isSubscribed=!1),r=this.internal.viewerpreferences.configuration,"reset"===e||!0===t){var d=s.length;for(f=0;f<d;f+=1)r[s[f]].value=r[s[f]].defaultValue,r[s[f]].explicitSet=!1}if("object"==typeof e)for(a in e)if(o=e[a],h(s,a)&&void 0!==o){if("boolean"===r[a].type&&"boolean"==typeof o)r[a].value=o;else if("name"===r[a].type&&h(r[a].valueSet,o))r[a].value=o;else if("integer"===r[a].type&&Number.isInteger(o))r[a].value=o;else if("array"===r[a].type){for(l=0;l<o.length;l+=1)if(n=!0,1===o[l].length&&"number"==typeof o[l][0])c.push(String(o[l]-1));else if(o[l].length>1){for(u=0;u<o[l].length;u+=1)"number"!=typeof o[l][u]&&(n=!1);!0===n&&c.push([o[l][0]-1,o[l][1]-1].join(" "))}r[a].value="["+c.join(" ")+"]"}else r[a].value=r[a].defaultValue;r[a].explicitSet=!0}return!1===this.internal.viewerpreferences.isSubscribed&&(this.internal.events.subscribe("putCatalog",(function(){var e,t=[];for(e in r)!0===r[e].explicitSet&&("name"===r[e].type?t.push("/"+e+" /"+r[e].value):t.push("/"+e+" "+r[e].value));0!==t.length&&this.internal.write("/ViewerPreferences\n<<\n"+t.join("\n")+"\n>>")})),this.internal.viewerpreferences.isSubscribed=!0),this.internal.viewerpreferences.configuration=r,this}}(P.API),function(e){var t=function(){var e='<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"><rdf:Description rdf:about="" xmlns:jspdf="'+this.internal.__metadata__.namespaceuri+'"><jspdf:metadata>',t=unescape(encodeURIComponent('<x:xmpmeta xmlns:x="adobe:ns:meta/">')),r=unescape(encodeURIComponent(e)),n=unescape(encodeURIComponent(this.internal.__metadata__.metadata)),a=unescape(encodeURIComponent("</jspdf:metadata></rdf:Description></rdf:RDF>")),o=unescape(encodeURIComponent("</x:xmpmeta>")),i=r.length+n.length+a.length+t.length+o.length;this.internal.__metadata__.metadata_object_number=this.internal.newObject(),this.internal.write("<< /Type /Metadata /Subtype /XML /Length "+i+" >>"),this.internal.write("stream"),this.internal.write(t+r+n+a+o),this.internal.write("endstream"),this.internal.write("endobj")},r=function(){this.internal.__metadata__.metadata_object_number&&this.internal.write("/Metadata "+this.internal.__metadata__.metadata_object_number+" 0 R")};e.addMetadata=function(e,n){return void 0===this.internal.__metadata__&&(this.internal.__metadata__={metadata:e,namespaceuri:n||"http://jspdf.default.namespaceuri/"},this.internal.events.subscribe("putCatalog",r),this.internal.events.subscribe("postPutResources",t)),this}}(P.API),function(e){var t=e.API,r=t.pdfEscape16=function(e,t){for(var r,n=t.metadata.Unicode.widths,a=["","0","00","000","0000"],o=[""],i=0,s=e.length;i<s;++i){if(r=t.metadata.characterToGlyph(e.charCodeAt(i)),t.metadata.glyIdsUsed.push(r),t.metadata.toUnicode[r]=e.charCodeAt(i),-1==n.indexOf(r)&&(n.push(r),n.push([parseInt(t.metadata.widthOfGlyph(r),10)])),"0"==r)return o.join("");r=r.toString(16),o.push(a[4-r.length],r)}return o.join("")},n=function(e){var t,r,n,a,o,i,s;for(o="/CIDInit /ProcSet findresource begin\n12 dict begin\nbegincmap\n/CIDSystemInfo <<\n /Registry (Adobe)\n /Ordering (UCS)\n /Supplement 0\n>> def\n/CMapName /Adobe-Identity-UCS def\n/CMapType 2 def\n1 begincodespacerange\n<0000><ffff>\nendcodespacerange",n=[],i=0,s=(r=Object.keys(e).sort((function(e,t){return e-t}))).length;i<s;i++)t=r[i],n.length>=100&&(o+="\n"+n.length+" beginbfchar\n"+n.join("\n")+"\nendbfchar",n=[]),void 0!==e[t]&&null!==e[t]&&"function"==typeof e[t].toString&&(a=("0000"+e[t].toString(16)).slice(-4),t=("0000"+(+t).toString(16)).slice(-4),n.push("<"+t+"><"+a+">"));return n.length&&(o+="\n"+n.length+" beginbfchar\n"+n.join("\n")+"\nendbfchar\n"),o+"endcmap\nCMapName currentdict /CMap defineresource pop\nend\nend"};t.events.push(["putFont",function(t){!function(t){var r=t.font,a=t.out,o=t.newObject,i=t.putStream,s=t.pdfEscapeWithNeededParanthesis;if(r.metadata instanceof e.API.TTFFont&&"Identity-H"===r.encoding){for(var c=r.metadata.Unicode.widths,l=r.metadata.subset.encode(r.metadata.glyIdsUsed,1),u="",f=0;f<l.length;f++)u+=String.fromCharCode(l[f]);var h=o();i({data:u,addLength1:!0,objectId:h}),a("endobj");var d=o();i({data:n(r.metadata.toUnicode),addLength1:!0,objectId:d}),a("endobj");var p=o();a("<<"),a("/Type /FontDescriptor"),a("/FontName /"+s(r.fontName)),a("/FontFile2 "+h+" 0 R"),a("/FontBBox "+e.API.PDFObject.convert(r.metadata.bbox)),a("/Flags "+r.metadata.flags),a("/StemV "+r.metadata.stemV),a("/ItalicAngle "+r.metadata.italicAngle),a("/Ascent "+r.metadata.ascender),a("/Descent "+r.metadata.decender),a("/CapHeight "+r.metadata.capHeight),a(">>"),a("endobj");var g=o();a("<<"),a("/Type /Font"),a("/BaseFont /"+s(r.fontName)),a("/FontDescriptor "+p+" 0 R"),a("/W "+e.API.PDFObject.convert(c)),a("/CIDToGIDMap /Identity"),a("/DW 1000"),a("/Subtype /CIDFontType2"),a("/CIDSystemInfo"),a("<<"),a("/Supplement 0"),a("/Registry (Adobe)"),a("/Ordering ("+r.encoding+")"),a(">>"),a(">>"),a("endobj"),r.objectNumber=o(),a("<<"),a("/Type /Font"),a("/Subtype /Type0"),a("/ToUnicode "+d+" 0 R"),a("/BaseFont /"+s(r.fontName)),a("/Encoding /"+r.encoding),a("/DescendantFonts ["+g+" 0 R]"),a(">>"),a("endobj"),r.isAlreadyPutted=!0}}(t)}]),t.events.push(["putFont",function(t){!function(t){var r=t.font,a=t.out,o=t.newObject,i=t.putStream,s=t.pdfEscapeWithNeededParanthesis;if(r.metadata instanceof e.API.TTFFont&&"WinAnsiEncoding"===r.encoding){for(var c=r.metadata.rawData,l="",u=0;u<c.length;u++)l+=String.fromCharCode(c[u]);var f=o();i({data:l,addLength1:!0,objectId:f}),a("endobj");var h=o();i({data:n(r.metadata.toUnicode),addLength1:!0,objectId:h}),a("endobj");var d=o();a("<<"),a("/Descent "+r.metadata.decender),a("/CapHeight "+r.metadata.capHeight),a("/StemV "+r.metadata.stemV),a("/Type /FontDescriptor"),a("/FontFile2 "+f+" 0 R"),a("/Flags 96"),a("/FontBBox "+e.API.PDFObject.convert(r.metadata.bbox)),a("/FontName /"+s(r.fontName)),a("/ItalicAngle "+r.metadata.italicAngle),a("/Ascent "+r.metadata.ascender),a(">>"),a("endobj"),r.objectNumber=o();for(var p=0;p<r.metadata.hmtx.widths.length;p++)r.metadata.hmtx.widths[p]=parseInt(r.metadata.hmtx.widths[p]*(1e3/r.metadata.head.unitsPerEm));a("<</Subtype/TrueType/Type/Font/ToUnicode "+h+" 0 R/BaseFont/"+s(r.fontName)+"/FontDescriptor "+d+" 0 R/Encoding/"+r.encoding+" /FirstChar 29 /LastChar 255 /Widths "+e.API.PDFObject.convert(r.metadata.hmtx.widths)+">>"),a("endobj"),r.isAlreadyPutted=!0}}(t)}]);var a=function(e){var t,n=e.text||"",a=e.x,o=e.y,i=e.options||{},s=e.mutex||{},c=s.pdfEscape,l=s.activeFontKey,u=s.fonts,f=l,h="",d=0,p="",g=u[f].encoding;if("Identity-H"!==u[f].encoding)return{text:n,x:a,y:o,options:i,mutex:s};for(p=n,f=l,Array.isArray(n)&&(p=n[0]),d=0;d<p.length;d+=1)u[f].metadata.hasOwnProperty("cmap")&&(t=u[f].metadata.cmap.unicode.codeMap[p[d].charCodeAt(0)]),t||p[d].charCodeAt(0)<256&&u[f].metadata.hasOwnProperty("Unicode")?h+=p[d]:h+="";var m="";return parseInt(f.slice(1))<14||"WinAnsiEncoding"===g?m=c(h,f).split("").map((function(e){return e.charCodeAt(0).toString(16)})).join(""):"Identity-H"===g&&(m=r(h,u[f])),s.isHex=!0,{text:m,x:a,y:o,options:i,mutex:s}};t.events.push(["postProcessText",function(e){var t=e.text||"",r=[],n={text:t,x:e.x,y:e.y,options:e.options,mutex:e.mutex};if(Array.isArray(t)){var o=0;for(o=0;o<t.length;o+=1)Array.isArray(t[o])&&3===t[o].length?r.push([a(Object.assign({},n,{text:t[o][0]})).text,t[o][1],t[o][2]]):r.push(a(Object.assign({},n,{text:t[o]})).text);e.text=r}else e.text=a(Object.assign({},n,{text:t})).text}])}(P),function(e){var t=function(){return void 0===this.internal.vFS&&(this.internal.vFS={}),!0};e.existsFileInVFS=function(e){return t.call(this),void 0!==this.internal.vFS[e]},e.addFileToVFS=function(e,r){return t.call(this),this.internal.vFS[e]=r,this},e.getFileFromVFS=function(e){return t.call(this),void 0!==this.internal.vFS[e]?this.internal.vFS[e]:null}}(P.API),function(e){e.__bidiEngine__=e.prototype.__bidiEngine__=function(e){var r,n,a,o,i,s,c,l=t,u=[[0,3,0,1,0,0,0],[0,3,0,1,2,2,0],[0,3,0,17,2,0,1],[0,3,5,5,4,1,0],[0,3,21,21,4,0,1],[0,3,5,5,4,2,0]],f=[[2,0,1,1,0,1,0],[2,0,1,1,0,2,0],[2,0,2,1,3,2,0],[2,0,2,33,3,1,1]],h={L:0,R:1,EN:2,AN:3,N:4,B:5,S:6},d={0:0,5:1,6:2,7:3,32:4,251:5,254:6,255:7},p=["(",")","(","<",">","<","[","]","[","{","}","{","«","»","«","‹","›","‹","⁅","⁆","⁅","⁽","⁾","⁽","₍","₎","₍","≤","≥","≤","〈","〉","〈","﹙","﹚","﹙","﹛","﹜","﹛","﹝","﹞","﹝","﹤","﹥","﹤"],g=new RegExp(/^([1-4|9]|1[0-9]|2[0-9]|3[0168]|4[04589]|5[012]|7[78]|159|16[0-9]|17[0-2]|21[569]|22[03489]|250)$/),m=!1,v=0;this.__bidiEngine__={};var b=function(e){var t=e.charCodeAt(),r=t>>8,n=d[r];return void 0!==n?l[256*n+(255&t)]:252===r||253===r?"AL":g.test(r)?"L":8===r?"R":"N"},y=function(e){for(var t,r=0;r<e.length;r++){if("L"===(t=b(e.charAt(r))))return!1;if("R"===t)return!0}return!1},w=function(e,t,i,s){var c,l,u,f,h=t[s];switch(h){case"L":case"R":case"LRE":case"RLE":case"LRO":case"RLO":case"PDF":m=!1;break;case"N":case"AN":break;case"EN":m&&(h="AN");break;case"AL":m=!0,h="R";break;case"WS":case"BN":h="N";break;case"CS":s<1||s+1>=t.length||"EN"!==(c=i[s-1])&&"AN"!==c||"EN"!==(l=t[s+1])&&"AN"!==l?h="N":m&&(l="AN"),h=l===c?l:"N";break;case"ES":h="EN"===(c=s>0?i[s-1]:"B")&&s+1<t.length&&"EN"===t[s+1]?"EN":"N";break;case"ET":if(s>0&&"EN"===i[s-1]){h="EN";break}if(m){h="N";break}for(u=s+1,f=t.length;u<f&&"ET"===t[u];)u++;h=u<f&&"EN"===t[u]?"EN":"N";break;case"NSM":if(a&&!o){for(f=t.length,u=s+1;u<f&&"NSM"===t[u];)u++;if(u<f){var d=e[s],p=d>=1425&&d<=2303||64286===d;if(c=t[u],p&&("R"===c||"AL"===c)){h="R";break}}}h=s<1||"B"===(c=t[s-1])?"N":i[s-1];break;case"B":m=!1,r=!0,h=v;break;case"S":n=!0,h="N"}return h},S=function(e,t,r){var n=e.split("");return r&&x(n,r,{hiLevel:v}),n.reverse(),t&&t.reverse(),n.join("")},x=function(e,t,a){var o,i,s,c,l,d=-1,p=e.length,g=0,y=[],S=v?f:u,x=[];for(m=!1,r=!1,n=!1,i=0;i<p;i++)x[i]=b(e[i]);for(s=0;s<p;s++){if(l=g,y[s]=w(e,x,y,s),o=240&(g=S[l][h[y[s]]]),g&=15,t[s]=c=S[g][5],o>0)if(16===o){for(i=d;i<s;i++)t[i]=1;d=-1}else d=-1;if(S[g][6])-1===d&&(d=s);else if(d>-1){for(i=d;i<s;i++)t[i]=c;d=-1}"B"===x[s]&&(t[s]=0),a.hiLevel|=c}n&&function(e,t,r){for(var n=0;n<r;n++)if("S"===e[n]){t[n]=v;for(var a=n-1;a>=0&&"WS"===e[a];a--)t[a]=v}}(x,t,p)},A=function(e,t,n,a,o){if(!(o.hiLevel<e)){if(1===e&&1===v&&!r)return t.reverse(),void(n&&n.reverse());for(var i,s,c,l,u=t.length,f=0;f<u;){if(a[f]>=e){for(c=f+1;c<u&&a[c]>=e;)c++;for(l=f,s=c-1;l<s;l++,s--)i=t[l],t[l]=t[s],t[s]=i,n&&(i=n[l],n[l]=n[s],n[s]=i);f=c}f++}}},k=function(e,t,r){var n=e.split(""),a={hiLevel:v};return r||(r=[]),x(n,r,a),function(e,t,r){if(0!==r.hiLevel&&c)for(var n,a=0;a<e.length;a++)1===t[a]&&(n=p.indexOf(e[a]))>=0&&(e[a]=p[n+1])}(n,r,a),A(2,n,t,r,a),A(1,n,t,r,a),n.join("")};return this.__bidiEngine__.doBidiReorder=function(e,t,r){if(function(e,t){if(t)for(var r=0;r<e.length;r++)t[r]=r;void 0===o&&(o=y(e)),void 0===s&&(s=y(e))}(e,t),a||!i||s)if(a&&i&&o^s)v=o?1:0,e=S(e,t,r);else if(!a&&i&&s)v=o?1:0,e=k(e,t,r),e=S(e,t);else if(!a||o||i||s){if(a&&!i&&o^s)e=S(e,t),o?(v=0,e=k(e,t,r)):(v=1,e=k(e,t,r),e=S(e,t));else if(a&&o&&!i&&s)v=1,e=k(e,t,r),e=S(e,t);else if(!a&&!i&&o^s){var n=c;o?(v=1,e=k(e,t,r),v=0,c=!1,e=k(e,t,r),c=n):(v=0,e=k(e,t,r),e=S(e,t),v=1,c=!1,e=k(e,t,r),c=n,e=S(e,t))}}else v=0,e=k(e,t,r);else v=o?1:0,e=k(e,t,r);return e},this.__bidiEngine__.setOptions=function(e){e&&(a=e.isInputVisual,i=e.isOutputVisual,o=e.isInputRtl,s=e.isOutputRtl,c=e.isSymmetricSwapping)},this.__bidiEngine__.setOptions(e),this.__bidiEngine__};var t=["BN","BN","BN","BN","BN","BN","BN","BN","BN","S","B","S","WS","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","B","B","B","S","WS","N","N","ET","ET","ET","N","N","N","N","N","ES","CS","ES","CS","CS","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","CS","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","BN","BN","BN","BN","BN","BN","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","CS","N","ET","ET","ET","ET","N","N","N","N","L","N","N","BN","N","N","ET","ET","EN","EN","N","L","N","N","N","EN","L","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","N","N","N","N","N","ET","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","R","NSM","R","NSM","NSM","R","NSM","NSM","R","NSM","N","N","N","N","N","N","N","N","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","N","N","N","N","N","R","R","R","R","R","N","N","N","N","N","N","N","N","N","N","N","AN","AN","AN","AN","AN","AN","N","N","AL","ET","ET","AL","CS","AL","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AN","AN","AN","AN","AN","AN","AN","AN","AN","AN","ET","AN","AN","AL","AL","AL","NSM","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AN","N","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","NSM","NSM","N","NSM","NSM","NSM","NSM","AL","AL","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","AL","AL","NSM","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AL","N","N","N","N","N","N","N","N","N","N","N","N","N","N","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","R","R","N","N","N","N","R","N","N","N","N","N","WS","WS","WS","WS","WS","WS","WS","WS","WS","WS","WS","BN","BN","BN","L","R","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","WS","B","LRE","RLE","PDF","LRO","RLO","CS","ET","ET","ET","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","CS","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","WS","BN","BN","BN","BN","BN","N","LRI","RLI","FSI","PDI","BN","BN","BN","BN","BN","BN","EN","L","N","N","EN","EN","EN","EN","EN","EN","ES","ES","N","N","N","L","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","ES","ES","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","L","L","N","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","N","N","N","N","N","R","NSM","R","R","R","R","R","R","R","R","R","R","ES","R","R","R","R","R","R","R","R","R","R","R","R","R","N","R","R","R","R","R","N","R","N","R","R","N","R","R","N","R","R","R","R","R","R","R","R","R","R","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","CS","N","CS","N","N","CS","N","N","N","N","N","N","N","N","N","ET","N","N","ES","ES","N","N","N","N","N","ET","ET","N","N","N","N","N","AL","AL","AL","AL","AL","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","N","BN","N","N","N","ET","ET","ET","N","N","N","N","N","ES","CS","ES","CS","CS","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","CS","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","L","L","L","L","L","L","N","N","L","L","L","L","L","L","N","N","L","L","L","L","L","L","N","N","L","L","L","N","N","N","ET","ET","N","N","N","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N"],r=new e.__bidiEngine__({isInputVisual:!0});e.API.events.push(["postProcessText",function(e){var t=e.text,n=(e.x,e.y,e.options||{}),a=(e.mutex,n.lang,[]);if(n.isInputVisual="boolean"!=typeof n.isInputVisual||n.isInputVisual,r.setOptions(n),"[object Array]"===Object.prototype.toString.call(t)){var o=0;for(a=[],o=0;o<t.length;o+=1)"[object Array]"===Object.prototype.toString.call(t[o])?a.push([r.doBidiReorder(t[o][0]),t[o][1],t[o][2]]):a.push([r.doBidiReorder(t[o])]);e.text=a}else e.text=r.doBidiReorder(t);r.setOptions({isInputVisual:!0})}])}(P),P.API.TTFFont=function(){function e(e){var t;if(this.rawData=e,t=this.contents=new Pt(e),this.contents.pos=4,"ttcf"===t.readString(4))throw new Error("TTCF not supported.");t.pos=0,this.parse(),this.subset=new Jt(this),this.registerTTF()}return e.open=function(t){return new e(t)},e.prototype.parse=function(){return this.directory=new Lt(this.contents),this.head=new Dt(this),this.name=new zt(this),this.cmap=new jt(this),this.toUnicode={},this.hhea=new Bt(this),this.maxp=new Vt(this),this.hmtx=new qt(this),this.post=new Ut(this),this.os2=new Wt(this),this.loca=new Kt(this),this.glyf=new Gt(this),this.ascender=this.os2.exists&&this.os2.ascender||this.hhea.ascender,this.decender=this.os2.exists&&this.os2.decender||this.hhea.decender,this.lineGap=this.os2.exists&&this.os2.lineGap||this.hhea.lineGap,this.bbox=[this.head.xMin,this.head.yMin,this.head.xMax,this.head.yMax]},e.prototype.registerTTF=function(){var e,t,r,n,a;if(this.scaleFactor=1e3/this.head.unitsPerEm,this.bbox=function(){var t,r,n,a;for(a=[],t=0,r=(n=this.bbox).length;t<r;t++)e=n[t],a.push(Math.round(e*this.scaleFactor));return a}.call(this),this.stemV=0,this.post.exists?(r=255&(n=this.post.italic_angle),0!=(32768&(t=n>>16))&&(t=-(1+(65535^t))),this.italicAngle=+(t+"."+r)):this.italicAngle=0,this.ascender=Math.round(this.ascender*this.scaleFactor),this.decender=Math.round(this.decender*this.scaleFactor),this.lineGap=Math.round(this.lineGap*this.scaleFactor),this.capHeight=this.os2.exists&&this.os2.capHeight||this.ascender,this.xHeight=this.os2.exists&&this.os2.xHeight||0,this.familyClass=(this.os2.exists&&this.os2.familyClass||0)>>8,this.isSerif=1===(a=this.familyClass)||2===a||3===a||4===a||5===a||7===a,this.isScript=10===this.familyClass,this.flags=0,this.post.isFixedPitch&&(this.flags|=1),this.isSerif&&(this.flags|=2),this.isScript&&(this.flags|=8),0!==this.italicAngle&&(this.flags|=64),this.flags|=32,!this.cmap.unicode)throw new Error("No unicode cmap for font")},e.prototype.characterToGlyph=function(e){var t;return(null!=(t=this.cmap.unicode)?t.codeMap[e]:void 0)||0},e.prototype.widthOfGlyph=function(e){var t;return t=1e3/this.head.unitsPerEm,this.hmtx.forGlyph(e).advance*t},e.prototype.widthOfString=function(e,t,r){var n,a,o,i;for(o=0,a=0,i=(e=""+e).length;0<=i?a<i:a>i;a=0<=i?++a:--a)n=e.charCodeAt(a),o+=this.widthOfGlyph(this.characterToGlyph(n))+r*(1e3/t)||0;return o*(t/1e3)},e.prototype.lineHeight=function(e,t){var r;return null==t&&(t=!1),r=t?this.lineGap:0,(this.ascender+r-this.decender)/1e3*e},e}();var Rt,Pt=function(){function e(e){this.data=null!=e?e:[],this.pos=0,this.length=this.data.length}return e.prototype.readByte=function(){return this.data[this.pos++]},e.prototype.writeByte=function(e){return this.data[this.pos++]=e},e.prototype.readUInt32=function(){return 16777216*this.readByte()+(this.readByte()<<16)+(this.readByte()<<8)+this.readByte()},e.prototype.writeUInt32=function(e){return this.writeByte(e>>>24&255),this.writeByte(e>>16&255),this.writeByte(e>>8&255),this.writeByte(255&e)},e.prototype.readInt32=function(){var e;return(e=this.readUInt32())>=2147483648?e-4294967296:e},e.prototype.writeInt32=function(e){return e<0&&(e+=4294967296),this.writeUInt32(e)},e.prototype.readUInt16=function(){return this.readByte()<<8|this.readByte()},e.prototype.writeUInt16=function(e){return this.writeByte(e>>8&255),this.writeByte(255&e)},e.prototype.readInt16=function(){var e;return(e=this.readUInt16())>=32768?e-65536:e},e.prototype.writeInt16=function(e){return e<0&&(e+=65536),this.writeUInt16(e)},e.prototype.readString=function(e){var t,r;for(r=[],t=0;0<=e?t<e:t>e;t=0<=e?++t:--t)r[t]=String.fromCharCode(this.readByte());return r.join("")},e.prototype.writeString=function(e){var t,r,n;for(n=[],t=0,r=e.length;0<=r?t<r:t>r;t=0<=r?++t:--t)n.push(this.writeByte(e.charCodeAt(t)));return n},e.prototype.readShort=function(){return this.readInt16()},e.prototype.writeShort=function(e){return this.writeInt16(e)},e.prototype.readLongLong=function(){var e,t,r,n,a,o,i,s;return e=this.readByte(),t=this.readByte(),r=this.readByte(),n=this.readByte(),a=this.readByte(),o=this.readByte(),i=this.readByte(),s=this.readByte(),128&e?-1*(72057594037927940*(255^e)+281474976710656*(255^t)+1099511627776*(255^r)+4294967296*(255^n)+16777216*(255^a)+65536*(255^o)+256*(255^i)+(255^s)+1):72057594037927940*e+281474976710656*t+1099511627776*r+4294967296*n+16777216*a+65536*o+256*i+s},e.prototype.writeLongLong=function(e){var t,r;return t=Math.floor(e/4294967296),r=4294967295&e,this.writeByte(t>>24&255),this.writeByte(t>>16&255),this.writeByte(t>>8&255),this.writeByte(255&t),this.writeByte(r>>24&255),this.writeByte(r>>16&255),this.writeByte(r>>8&255),this.writeByte(255&r)},e.prototype.readInt=function(){return this.readInt32()},e.prototype.writeInt=function(e){return this.writeInt32(e)},e.prototype.read=function(e){var t,r;for(t=[],r=0;0<=e?r<e:r>e;r=0<=e?++r:--r)t.push(this.readByte());return t},e.prototype.write=function(e){var t,r,n,a;for(a=[],r=0,n=e.length;r<n;r++)t=e[r],a.push(this.writeByte(t));return a},e}(),Lt=function(){var e;function t(e){var t,r,n;for(this.scalarType=e.readInt(),this.tableCount=e.readShort(),this.searchRange=e.readShort(),this.entrySelector=e.readShort(),this.rangeShift=e.readShort(),this.tables={},r=0,n=this.tableCount;0<=n?r<n:r>n;r=0<=n?++r:--r)t={tag:e.readString(4),checksum:e.readInt(),offset:e.readInt(),length:e.readInt()},this.tables[t.tag]=t}return t.prototype.encode=function(t){var r,n,a,o,i,s,c,l,u,f,h,d,p;for(p in h=Object.keys(t).length,s=Math.log(2),u=16*Math.floor(Math.log(h)/s),o=Math.floor(u/s),l=16*h-u,(n=new Pt).writeInt(this.scalarType),n.writeShort(h),n.writeShort(u),n.writeShort(o),n.writeShort(l),a=16*h,c=n.pos+a,i=null,d=[],t)for(f=t[p],n.writeString(p),n.writeInt(e(f)),n.writeInt(c),n.writeInt(f.length),d=d.concat(f),"head"===p&&(i=c),c+=f.length;c%4;)d.push(0),c++;return n.write(d),r=2981146554-e(n.data),n.pos=i+8,n.writeUInt32(r),n.data},e=function(e){var t,r,n,a;for(e=$t.call(e);e.length%4;)e.push(0);for(n=new Pt(e),r=0,t=0,a=e.length;t<a;t=t+=4)r+=n.readUInt32();return 4294967295&r},t}(),It={}.hasOwnProperty,Ft=function(e,t){for(var r in t)It.call(t,r)&&(e[r]=t[r]);function n(){this.constructor=e}return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e},Dt=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return Ft(t,e),t.prototype.tag="head",t.prototype.parse=function(e){return e.pos=this.offset,this.version=e.readInt(),this.revision=e.readInt(),this.checkSumAdjustment=e.readInt(),this.magicNumber=e.readInt(),this.flags=e.readShort(),this.unitsPerEm=e.readShort(),this.created=e.readLongLong(),this.modified=e.readLongLong(),this.xMin=e.readShort(),this.yMin=e.readShort(),this.xMax=e.readShort(),this.yMax=e.readShort(),this.macStyle=e.readShort(),this.lowestRecPPEM=e.readShort(),this.fontDirectionHint=e.readShort(),this.indexToLocFormat=e.readShort(),this.glyphDataFormat=e.readShort()},t.prototype.encode=function(e){var t;return(t=new Pt).writeInt(this.version),t.writeInt(this.revision),t.writeInt(this.checkSumAdjustment),t.writeInt(this.magicNumber),t.writeShort(this.flags),t.writeShort(this.unitsPerEm),t.writeLongLong(this.created),t.writeLongLong(this.modified),t.writeShort(this.xMin),t.writeShort(this.yMin),t.writeShort(this.xMax),t.writeShort(this.yMax),t.writeShort(this.macStyle),t.writeShort(this.lowestRecPPEM),t.writeShort(this.fontDirectionHint),t.writeShort(e),t.writeShort(this.glyphDataFormat),t.data},t}(Rt=function(){function e(e){var t;this.file=e,t=this.file.directory.tables[this.tag],this.exists=!!t,t&&(this.offset=t.offset,this.length=t.length,this.parse(this.file.contents))}return e.prototype.parse=function(){},e.prototype.encode=function(){},e.prototype.raw=function(){return this.exists?(this.file.contents.pos=this.offset,this.file.contents.read(this.length)):null},e}()),Mt=function(){function e(e,t){var r,n,a,o,i,s,c,l,u,f,h,d,p,g,m,v,b;switch(this.platformID=e.readUInt16(),this.encodingID=e.readShort(),this.offset=t+e.readInt(),u=e.pos,e.pos=this.offset,this.format=e.readUInt16(),this.length=e.readUInt16(),this.language=e.readUInt16(),this.isUnicode=3===this.platformID&&1===this.encodingID&&4===this.format||0===this.platformID&&4===this.format,this.codeMap={},this.format){case 0:for(s=0;s<256;++s)this.codeMap[s]=e.readByte();break;case 4:for(h=e.readUInt16(),f=h/2,e.pos+=6,a=function(){var t,r;for(r=[],s=t=0;0<=f?t<f:t>f;s=0<=f?++t:--t)r.push(e.readUInt16());return r}(),e.pos+=2,p=function(){var t,r;for(r=[],s=t=0;0<=f?t<f:t>f;s=0<=f?++t:--t)r.push(e.readUInt16());return r}(),c=function(){var t,r;for(r=[],s=t=0;0<=f?t<f:t>f;s=0<=f?++t:--t)r.push(e.readUInt16());return r}(),l=function(){var t,r;for(r=[],s=t=0;0<=f?t<f:t>f;s=0<=f?++t:--t)r.push(e.readUInt16());return r}(),n=(this.length-e.pos+this.offset)/2,i=function(){var t,r;for(r=[],s=t=0;0<=n?t<n:t>n;s=0<=n?++t:--t)r.push(e.readUInt16());return r}(),s=m=0,b=a.length;m<b;s=++m)for(g=a[s],r=v=d=p[s];d<=g?v<=g:v>=g;r=d<=g?++v:--v)0===l[s]?o=r+c[s]:0!==(o=i[l[s]/2+(r-d)-(f-s)]||0)&&(o+=c[s]),this.codeMap[r]=65535&o}e.pos=u}return e.encode=function(e,t){var r,n,a,o,i,s,c,l,u,f,h,d,p,g,m,v,b,y,w,S,x,A,k,T,E,_,N,C,O,R,P,L,I,F,D,M,j,B,W,U,H,z,V,q,$,G;switch(C=new Pt,o=Object.keys(e).sort((function(e,t){return e-t})),t){case"macroman":for(p=0,g=function(){var e=[];for(d=0;d<256;++d)e.push(0);return e}(),v={0:0},a={},O=0,I=o.length;O<I;O++)null==v[V=e[n=o[O]]]&&(v[V]=++p),a[n]={old:e[n],new:v[e[n]]},g[n]=v[e[n]];return C.writeUInt16(1),C.writeUInt16(0),C.writeUInt32(12),C.writeUInt16(0),C.writeUInt16(262),C.writeUInt16(0),C.write(g),{charMap:a,subtable:C.data,maxGlyphID:p+1};case"unicode":for(_=[],u=[],b=0,v={},r={},m=c=null,R=0,F=o.length;R<F;R++)null==v[w=e[n=o[R]]]&&(v[w]=++b),r[n]={old:w,new:v[w]},i=v[w]-n,null!=m&&i===c||(m&&u.push(m),_.push(n),c=i),m=n;for(m&&u.push(m),u.push(65535),_.push(65535),T=2*(k=_.length),A=2*Math.pow(Math.log(k)/Math.LN2,2),f=Math.log(A/2)/Math.LN2,x=2*k-A,s=[],S=[],h=[],d=P=0,D=_.length;P<D;d=++P){if(E=_[d],l=u[d],65535===E){s.push(0),S.push(0);break}if(E-(N=r[E].new)>=32768)for(s.push(0),S.push(2*(h.length+k-d)),n=L=E;E<=l?L<=l:L>=l;n=E<=l?++L:--L)h.push(r[n].new);else s.push(N-E),S.push(0)}for(C.writeUInt16(3),C.writeUInt16(1),C.writeUInt32(12),C.writeUInt16(4),C.writeUInt16(16+8*k+2*h.length),C.writeUInt16(0),C.writeUInt16(T),C.writeUInt16(A),C.writeUInt16(f),C.writeUInt16(x),H=0,M=u.length;H<M;H++)n=u[H],C.writeUInt16(n);for(C.writeUInt16(0),z=0,j=_.length;z<j;z++)n=_[z],C.writeUInt16(n);for(q=0,B=s.length;q<B;q++)i=s[q],C.writeUInt16(i);for($=0,W=S.length;$<W;$++)y=S[$],C.writeUInt16(y);for(G=0,U=h.length;G<U;G++)p=h[G],C.writeUInt16(p);return{charMap:r,subtable:C.data,maxGlyphID:b+1}}},e}(),jt=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return Ft(t,e),t.prototype.tag="cmap",t.prototype.parse=function(e){var t,r,n;for(e.pos=this.offset,this.version=e.readUInt16(),n=e.readUInt16(),this.tables=[],this.unicode=null,r=0;0<=n?r<n:r>n;r=0<=n?++r:--r)t=new Mt(e,this.offset),this.tables.push(t),t.isUnicode&&null==this.unicode&&(this.unicode=t);return!0},t.encode=function(e,t){var r,n;return null==t&&(t="macroman"),r=Mt.encode(e,t),(n=new Pt).writeUInt16(0),n.writeUInt16(1),r.table=n.data.concat(r.subtable),r},t}(Rt),Bt=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return Ft(t,e),t.prototype.tag="hhea",t.prototype.parse=function(e){return e.pos=this.offset,this.version=e.readInt(),this.ascender=e.readShort(),this.decender=e.readShort(),this.lineGap=e.readShort(),this.advanceWidthMax=e.readShort(),this.minLeftSideBearing=e.readShort(),this.minRightSideBearing=e.readShort(),this.xMaxExtent=e.readShort(),this.caretSlopeRise=e.readShort(),this.caretSlopeRun=e.readShort(),this.caretOffset=e.readShort(),e.pos+=8,this.metricDataFormat=e.readShort(),this.numberOfMetrics=e.readUInt16()},t}(Rt),Wt=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return Ft(t,e),t.prototype.tag="OS/2",t.prototype.parse=function(e){if(e.pos=this.offset,this.version=e.readUInt16(),this.averageCharWidth=e.readShort(),this.weightClass=e.readUInt16(),this.widthClass=e.readUInt16(),this.type=e.readShort(),this.ySubscriptXSize=e.readShort(),this.ySubscriptYSize=e.readShort(),this.ySubscriptXOffset=e.readShort(),this.ySubscriptYOffset=e.readShort(),this.ySuperscriptXSize=e.readShort(),this.ySuperscriptYSize=e.readShort(),this.ySuperscriptXOffset=e.readShort(),this.ySuperscriptYOffset=e.readShort(),this.yStrikeoutSize=e.readShort(),this.yStrikeoutPosition=e.readShort(),this.familyClass=e.readShort(),this.panose=function(){var t,r;for(r=[],t=0;t<10;++t)r.push(e.readByte());return r}(),this.charRange=function(){var t,r;for(r=[],t=0;t<4;++t)r.push(e.readInt());return r}(),this.vendorID=e.readString(4),this.selection=e.readShort(),this.firstCharIndex=e.readShort(),this.lastCharIndex=e.readShort(),this.version>0&&(this.ascent=e.readShort(),this.descent=e.readShort(),this.lineGap=e.readShort(),this.winAscent=e.readShort(),this.winDescent=e.readShort(),this.codePageRange=function(){var t,r;for(r=[],t=0;t<2;t=++t)r.push(e.readInt());return r}(),this.version>1))return this.xHeight=e.readShort(),this.capHeight=e.readShort(),this.defaultChar=e.readShort(),this.breakChar=e.readShort(),this.maxContext=e.readShort()},t}(Rt),Ut=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return Ft(t,e),t.prototype.tag="post",t.prototype.parse=function(e){var t,r,n;switch(e.pos=this.offset,this.format=e.readInt(),this.italicAngle=e.readInt(),this.underlinePosition=e.readShort(),this.underlineThickness=e.readShort(),this.isFixedPitch=e.readInt(),this.minMemType42=e.readInt(),this.maxMemType42=e.readInt(),this.minMemType1=e.readInt(),this.maxMemType1=e.readInt(),this.format){case 65536:case 196608:break;case 131072:var a;for(r=e.readUInt16(),this.glyphNameIndex=[],a=0;0<=r?a<r:a>r;a=0<=r?++a:--a)this.glyphNameIndex.push(e.readUInt16());for(this.names=[],n=[];e.pos<this.offset+this.length;)t=e.readByte(),n.push(this.names.push(e.readString(t)));return n;case 151552:return r=e.readUInt16(),this.offsets=e.read(r);case 262144:return this.map=function(){var t,r,n;for(n=[],a=t=0,r=this.file.maxp.numGlyphs;0<=r?t<r:t>r;a=0<=r?++t:--t)n.push(e.readUInt32());return n}.call(this)}},t}(Rt),Ht=function(e,t){this.raw=e,this.length=e.length,this.platformID=t.platformID,this.encodingID=t.encodingID,this.languageID=t.languageID},zt=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return Ft(t,e),t.prototype.tag="name",t.prototype.parse=function(e){var t,r,n,a,o,i,s,c,l,u,f;for(e.pos=this.offset,e.readShort(),t=e.readShort(),i=e.readShort(),r=[],a=0;0<=t?a<t:a>t;a=0<=t?++a:--a)r.push({platformID:e.readShort(),encodingID:e.readShort(),languageID:e.readShort(),nameID:e.readShort(),length:e.readShort(),offset:this.offset+i+e.readShort()});for(s={},a=l=0,u=r.length;l<u;a=++l)n=r[a],e.pos=n.offset,c=e.readString(n.length),o=new Ht(c,n),null==s[f=n.nameID]&&(s[f]=[]),s[n.nameID].push(o);this.strings=s,this.copyright=s[0],this.fontFamily=s[1],this.fontSubfamily=s[2],this.uniqueSubfamily=s[3],this.fontName=s[4],this.version=s[5];try{this.postscriptName=s[6][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}catch(e){this.postscriptName=s[4][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}return this.trademark=s[7],this.manufacturer=s[8],this.designer=s[9],this.description=s[10],this.vendorUrl=s[11],this.designerUrl=s[12],this.license=s[13],this.licenseUrl=s[14],this.preferredFamily=s[15],this.preferredSubfamily=s[17],this.compatibleFull=s[18],this.sampleText=s[19]},t}(Rt),Vt=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return Ft(t,e),t.prototype.tag="maxp",t.prototype.parse=function(e){return e.pos=this.offset,this.version=e.readInt(),this.numGlyphs=e.readUInt16(),this.maxPoints=e.readUInt16(),this.maxContours=e.readUInt16(),this.maxCompositePoints=e.readUInt16(),this.maxComponentContours=e.readUInt16(),this.maxZones=e.readUInt16(),this.maxTwilightPoints=e.readUInt16(),this.maxStorage=e.readUInt16(),this.maxFunctionDefs=e.readUInt16(),this.maxInstructionDefs=e.readUInt16(),this.maxStackElements=e.readUInt16(),this.maxSizeOfInstructions=e.readUInt16(),this.maxComponentElements=e.readUInt16(),this.maxComponentDepth=e.readUInt16()},t}(Rt),qt=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return Ft(t,e),t.prototype.tag="hmtx",t.prototype.parse=function(e){var t,r,n,a,o,i,s;for(e.pos=this.offset,this.metrics=[],t=0,i=this.file.hhea.numberOfMetrics;0<=i?t<i:t>i;t=0<=i?++t:--t)this.metrics.push({advance:e.readUInt16(),lsb:e.readInt16()});for(n=this.file.maxp.numGlyphs-this.file.hhea.numberOfMetrics,this.leftSideBearings=function(){var r,a;for(a=[],t=r=0;0<=n?r<n:r>n;t=0<=n?++r:--r)a.push(e.readInt16());return a}(),this.widths=function(){var e,t,r,n;for(n=[],e=0,t=(r=this.metrics).length;e<t;e++)a=r[e],n.push(a.advance);return n}.call(this),r=this.widths[this.widths.length-1],s=[],t=o=0;0<=n?o<n:o>n;t=0<=n?++o:--o)s.push(this.widths.push(r));return s},t.prototype.forGlyph=function(e){return e in this.metrics?this.metrics[e]:{advance:this.metrics[this.metrics.length-1].advance,lsb:this.leftSideBearings[e-this.metrics.length]}},t}(Rt),$t=[].slice,Gt=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return Ft(t,e),t.prototype.tag="glyf",t.prototype.parse=function(){return this.cache={}},t.prototype.glyphFor=function(e){var t,r,n,a,o,i,s,c,l,u;return e in this.cache?this.cache[e]:(a=this.file.loca,t=this.file.contents,r=a.indexOf(e),0===(n=a.lengthOf(e))?this.cache[e]=null:(t.pos=this.offset+r,o=(i=new Pt(t.read(n))).readShort(),c=i.readShort(),u=i.readShort(),s=i.readShort(),l=i.readShort(),this.cache[e]=-1===o?new Yt(i,c,u,s,l):new Xt(i,o,c,u,s,l),this.cache[e]))},t.prototype.encode=function(e,t,r){var n,a,o,i,s;for(o=[],a=[],i=0,s=t.length;i<s;i++)n=e[t[i]],a.push(o.length),n&&(o=o.concat(n.encode(r)));return a.push(o.length),{table:o,offsets:a}},t}(Rt),Xt=function(){function e(e,t,r,n,a,o){this.raw=e,this.numberOfContours=t,this.xMin=r,this.yMin=n,this.xMax=a,this.yMax=o,this.compound=!1}return e.prototype.encode=function(){return this.raw.data},e}(),Yt=function(){function e(e,t,r,n,a){var o,i;for(this.raw=e,this.xMin=t,this.yMin=r,this.xMax=n,this.yMax=a,this.compound=!0,this.glyphIDs=[],this.glyphOffsets=[],o=this.raw;i=o.readShort(),this.glyphOffsets.push(o.pos),this.glyphIDs.push(o.readUInt16()),32&i;)o.pos+=1&i?4:2,128&i?o.pos+=8:64&i?o.pos+=4:8&i&&(o.pos+=2)}return e.prototype.encode=function(){var e,t,r;for(t=new Pt($t.call(this.raw.data)),e=0,r=this.glyphIDs.length;e<r;++e)t.pos=this.glyphOffsets[e];return t.data},e}(),Kt=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return Ft(t,e),t.prototype.tag="loca",t.prototype.parse=function(e){var t,r;return e.pos=this.offset,t=this.file.head.indexToLocFormat,this.offsets=0===t?function(){var t,n;for(n=[],r=0,t=this.length;r<t;r+=2)n.push(2*e.readUInt16());return n}.call(this):function(){var t,n;for(n=[],r=0,t=this.length;r<t;r+=4)n.push(e.readUInt32());return n}.call(this)},t.prototype.indexOf=function(e){return this.offsets[e]},t.prototype.lengthOf=function(e){return this.offsets[e+1]-this.offsets[e]},t.prototype.encode=function(e,t){for(var r=new Uint32Array(this.offsets.length),n=0,a=0,o=0;o<r.length;++o)if(r[o]=n,a<t.length&&t[a]==o){++a,r[o]=n;var i=this.offsets[o],s=this.offsets[o+1]-i;s>0&&(n+=s)}for(var c=new Array(4*r.length),l=0;l<r.length;++l)c[4*l+3]=255&r[l],c[4*l+2]=(65280&r[l])>>8,c[4*l+1]=(16711680&r[l])>>16,c[4*l]=(4278190080&r[l])>>24;return c},t}(Rt),Jt=function(){function e(e){this.font=e,this.subset={},this.unicodes={},this.next=33}return e.prototype.generateCmap=function(){var e,t,r,n,a;for(t in n=this.font.cmap.tables[0].codeMap,e={},a=this.subset)r=a[t],e[t]=n[r];return e},e.prototype.glyphsFor=function(e){var t,r,n,a,o,i,s;for(n={},o=0,i=e.length;o<i;o++)n[a=e[o]]=this.font.glyf.glyphFor(a);for(a in t=[],n)(null!=(r=n[a])?r.compound:void 0)&&t.push.apply(t,r.glyphIDs);if(t.length>0)for(a in s=this.glyphsFor(t))r=s[a],n[a]=r;return n},e.prototype.encode=function(e,t){var r,n,a,o,i,s,c,l,u,f,h,d,p,g,m;for(n in r=jt.encode(this.generateCmap(),"unicode"),o=this.glyphsFor(e),h={0:0},m=r.charMap)h[(s=m[n]).old]=s.new;for(d in f=r.maxGlyphID,o)d in h||(h[d]=f++);return l=function(e){var t,r;for(t in r={},e)r[e[t]]=t;return r}(h),u=Object.keys(l).sort((function(e,t){return e-t})),p=function(){var e,t,r;for(r=[],e=0,t=u.length;e<t;e++)i=u[e],r.push(l[i]);return r}(),a=this.font.glyf.encode(o,p,h),c=this.font.loca.encode(a.offsets,p),g={cmap:this.font.cmap.raw(),glyf:a.table,loca:c,hmtx:this.font.hmtx.raw(),hhea:this.font.hhea.raw(),maxp:this.font.maxp.raw(),post:this.font.post.raw(),name:this.font.name.raw(),head:this.font.head.encode(t)},this.font.os2.exists&&(g["OS/2"]=this.font.os2.raw()),this.font.directory.encode(g)},e}();P.API.PDFObject=function(){var e;function t(){}return e=function(e,t){return(Array(t+1).join("0")+e).slice(-t)},t.convert=function(r){var n,a,o,i;if(Array.isArray(r))return"["+function(){var e,a,o;for(o=[],e=0,a=r.length;e<a;e++)n=r[e],o.push(t.convert(n));return o}().join(" ")+"]";if("string"==typeof r)return"/"+r;if(null!=r?r.isString:void 0)return"("+r+")";if(r instanceof Date)return"(D:"+e(r.getUTCFullYear(),4)+e(r.getUTCMonth(),2)+e(r.getUTCDate(),2)+e(r.getUTCHours(),2)+e(r.getUTCMinutes(),2)+e(r.getUTCSeconds(),2)+"Z)";if("[object Object]"==={}.toString.call(r)){for(a in o=["<<"],r)i=r[a],o.push("/"+a+" "+t.convert(i));return o.push(">>"),o.join("\n")}return""+r},t}(),e.AcroForm=ye,e.AcroFormAppearance=ve,e.AcroFormButton=ue,e.AcroFormCheckBox=pe,e.AcroFormChoiceField=ie,e.AcroFormComboBox=ce,e.AcroFormEditBox=le,e.AcroFormListBox=se,e.AcroFormPasswordField=me,e.AcroFormPushButton=fe,e.AcroFormRadioButton=he,e.AcroFormTextField=ge,e.GState=N,e.ShadingPattern=O,e.TilingPattern=R,e.default=P,e.jsPDF=P,Object.defineProperty(e,"__esModule",{value:!0})}));var saveAs=saveAs||function(e){"use strict";if(!(void 0===e||"undefined"!=typeof navigator&&/MSIE [1-9]\./.test(navigator.userAgent))){var t=e.document,r=function(){return e.URL||e.webkitURL||e},n=t.createElementNS("http://www.w3.org/1999/xhtml","a"),a="download"in n,o=/constructor/i.test(e.HTMLElement)||e.safari,i=/CriOS\/[\d]+/.test(navigator.userAgent),s=function(t){(e.setImmediate||e.setTimeout)((function(){throw t}),0)},c=function(e){setTimeout((function(){"string"==typeof e?r().revokeObjectURL(e):e.remove()}),4e4)},l=function(e,t,r){for(var n=(t=[].concat(t)).length;n--;){var a=e["on"+t[n]];if("function"==typeof a)try{a.call(e,r||e)}catch(e){s(e)}}},u=function(e){return/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob([String.fromCharCode(65279),e],{type:e.type}):e},f=function(t,s,f){f||(t=u(t));var h,d=this,p="application/octet-stream"===t.type,g=function(){l(d,"writestart progress write writeend".split(" "))};if(d.readyState=d.INIT,a)return h=r().createObjectURL(t),void setTimeout((function(){n.href=h,n.download=s,function(e){var t=new MouseEvent("click");e.dispatchEvent(t)}(n),g(),c(h),d.readyState=d.DONE}));!function(){if((i||p&&o)&&e.FileReader){var n=new FileReader;return n.onloadend=function(){var t=i?n.result:n.result.replace(/^data:[^;]*;/,"data:attachment/file;");e.open(t,"_blank")||(e.location.href=t),t=void 0,d.readyState=d.DONE,g()},n.readAsDataURL(t),void(d.readyState=d.INIT)}(h||(h=r().createObjectURL(t)),p)?e.location.href=h:e.open(h,"_blank")||(e.location.href=h);d.readyState=d.DONE,g(),c(h)}()},h=f.prototype;return"undefined"!=typeof navigator&&navigator.msSaveOrOpenBlob?function(e,t,r){return t=t||e.name||"download",r||(e=u(e)),navigator.msSaveOrOpenBlob(e,t)}:(h.abort=function(){},h.readyState=h.INIT=0,h.WRITING=1,h.DONE=2,h.error=h.onwritestart=h.onprogress=h.onwrite=h.onabort=h.onerror=h.onwriteend=null,function(e,t,r){return new f(e,t||e.name||"download",r)})}}("undefined"!=typeof self&&self||"undefined"!=typeof window&&window||this.content);"undefined"!=typeof module&&module.exports?module.exports.saveAs=saveAs:"undefined"!=typeof define&&null!==define&&null!==define.amd&&define("FileSaver.js",(function(){return saveAs}));var XLSX={};function make_xlsx_lib(e){e.version="0.18.5";var t,r=1200,n=1252;"undefined"!=typeof cptable?t=cptable:"undefined"!=typeof module&&"undefined"!=typeof require&&(t=void 0);var a=[874,932,936,949,950,1250,1251,1252,1253,1254,1255,1256,1257,1258,1e4],o={0:1252,1:65001,2:65001,77:1e4,128:932,129:949,130:1361,134:936,136:950,161:1253,162:1254,163:1258,177:1255,178:1256,186:1257,204:1251,222:874,238:1250,255:1252,69:6969},i=function(e){-1!=a.indexOf(e)&&(n=o[0]=e)};var s=function(e){r=e,i(e)};function c(){s(1200),i(1252)}function l(e){for(var t=[],r=0,n=e.length;r<n;++r)t[r]=e.charCodeAt(r);return t}function u(e){for(var t=[],r=0;r<e.length>>1;++r)t[r]=String.fromCharCode(e.charCodeAt(2*r+1)+(e.charCodeAt(2*r)<<8));return t.join("")}var f=function(e){var t=e.charCodeAt(0),r=e.charCodeAt(1);return 255==t&&254==r?function(e){for(var t=[],r=0;r<e.length>>1;++r)t[r]=String.fromCharCode(e.charCodeAt(2*r)+(e.charCodeAt(2*r+1)<<8));return t.join("")}(e.slice(2)):254==t&&255==r?u(e.slice(2)):65279==t?e.slice(1):e},h=function(e){return String.fromCharCode(e)},d=function(e){return String.fromCharCode(e)};void 0!==t&&(s=function(e){r=e,i(e)},f=function(e){return 255===e.charCodeAt(0)&&254===e.charCodeAt(1)?t.utils.decode(1200,l(e.slice(2))):e},h=function(e){return 1200===r?String.fromCharCode(e):t.utils.decode(r,[255&e,e>>8])[0]},d=function(e){return t.utils.decode(n,[e])[0]});var p=null,g="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function m(e){for(var t="",r=0,n=0,a=0,o=0,i=0,s=0,c=0,l=0;l<e.length;)o=(r=e.charCodeAt(l++))>>2,i=(3&r)<<4|(n=e.charCodeAt(l++))>>4,s=(15&n)<<2|(a=e.charCodeAt(l++))>>6,c=63&a,isNaN(n)?s=c=64:isNaN(a)&&(c=64),t+=g.charAt(o)+g.charAt(i)+g.charAt(s)+g.charAt(c);return t}function v(e){var t="",r=0,n=0,a=0,o=0,i=0,s=0;e=e.replace(/[^\w\+\/\=]/g,"");for(var c=0;c<e.length;)r=g.indexOf(e.charAt(c++))<<2|(o=g.indexOf(e.charAt(c++)))>>4,t+=String.fromCharCode(r),n=(15&o)<<4|(i=g.indexOf(e.charAt(c++)))>>2,64!==i&&(t+=String.fromCharCode(n)),a=(3&i)<<6|(s=g.indexOf(e.charAt(c++))),64!==s&&(t+=String.fromCharCode(a));return t}var b="undefined"!=typeof Buffer&&!1,y=function(){if("undefined"!=typeof Buffer){var e=!Buffer.from;if(!e)try{Buffer.from("foo","utf8")}catch(t){e=!0}return e?function(e,t){return t?new Buffer(e,t):new Buffer(e)}:Buffer.from.bind(Buffer)}return function(){}}();function w(e){return b?Buffer.alloc?Buffer.alloc(e):new Buffer(e):"undefined"!=typeof Uint8Array?new Uint8Array(e):new Array(e)}function S(e){return b?Buffer.allocUnsafe?Buffer.allocUnsafe(e):new Buffer(e):"undefined"!=typeof Uint8Array?new Uint8Array(e):new Array(e)}var x=function(e){return b?y(e,"binary"):e.split("").map((function(e){return 255&e.charCodeAt(0)}))};function A(e){if("undefined"==typeof ArrayBuffer)return x(e);for(var t=new ArrayBuffer(e.length),r=new Uint8Array(t),n=0;n!=e.length;++n)r[n]=255&e.charCodeAt(n);return t}function k(e){if(Array.isArray(e))return e.map((function(e){return String.fromCharCode(e)})).join("");for(var t=[],r=0;r<e.length;++r)t[r]=String.fromCharCode(e[r]);return t.join("")}function T(e){if("undefined"==typeof ArrayBuffer)throw new Error("Unsupported");if(e instanceof ArrayBuffer)return T(new Uint8Array(e));for(var t=new Array(e.length),r=0;r<e.length;++r)t[r]=e[r];return t}var E=b?function(e){return Buffer.concat(e.map((function(e){return Buffer.isBuffer(e)?e:y(e)})))}:function(e){if("undefined"!=typeof Uint8Array){var t=0,r=0;for(t=0;t<e.length;++t)r+=e[t].length;var n=new Uint8Array(r),a=0;for(t=0,r=0;t<e.length;r+=a,++t)if(a=e[t].length,e[t]instanceof Uint8Array)n.set(e[t],r);else{if("string"==typeof e[t])throw"wtf";n.set(new Uint8Array(e[t]),r)}return n}return[].concat.apply([],e.map((function(e){return Array.isArray(e)?e:[].slice.call(e)})))};var _=/\u0000/g,N=/[\u0001-\u0006]/g;function C(e){for(var t="",r=e.length-1;r>=0;)t+=e.charAt(r--);return t}function O(e,t){var r=""+e;return r.length>=t?r:$e("0",t-r.length)+r}function R(e,t){var r=""+e;return r.length>=t?r:$e(" ",t-r.length)+r}function P(e,t){var r=""+e;return r.length>=t?r:r+$e(" ",t-r.length)}var L=Math.pow(2,32);function I(e,t){return e>L||e<-L?function(e,t){var r=""+Math.round(e);return r.length>=t?r:$e("0",t-r.length)+r}(e,t):function(e,t){var r=""+e;return r.length>=t?r:$e("0",t-r.length)+r}(Math.round(e),t)}function F(e,t){return t=t||0,e.length>=7+t&&103==(32|e.charCodeAt(t))&&101==(32|e.charCodeAt(t+1))&&110==(32|e.charCodeAt(t+2))&&101==(32|e.charCodeAt(t+3))&&114==(32|e.charCodeAt(t+4))&&97==(32|e.charCodeAt(t+5))&&108==(32|e.charCodeAt(t+6))}var D=[["Sun","Sunday"],["Mon","Monday"],["Tue","Tuesday"],["Wed","Wednesday"],["Thu","Thursday"],["Fri","Friday"],["Sat","Saturday"]],M=[["J","Jan","January"],["F","Feb","February"],["M","Mar","March"],["A","Apr","April"],["M","May","May"],["J","Jun","June"],["J","Jul","July"],["A","Aug","August"],["S","Sep","September"],["O","Oct","October"],["N","Nov","November"],["D","Dec","December"]];var j={0:"General",1:"0",2:"0.00",3:"#,##0",4:"#,##0.00",9:"0%",10:"0.00%",11:"0.00E+00",12:"# ?/?",13:"# ??/??",14:"m/d/yy",15:"d-mmm-yy",16:"d-mmm",17:"mmm-yy",18:"h:mm AM/PM",19:"h:mm:ss AM/PM",20:"h:mm",21:"h:mm:ss",22:"m/d/yy h:mm",37:"#,##0 ;(#,##0)",38:"#,##0 ;[Red](#,##0)",39:"#,##0.00;(#,##0.00)",40:"#,##0.00;[Red](#,##0.00)",45:"mm:ss",46:"[h]:mm:ss",47:"mmss.0",48:"##0.0E+0",49:"@",56:'"上午/下午 "hh"時"mm"分"ss"秒 "'},B={5:37,6:38,7:39,8:40,23:0,24:0,25:0,26:0,27:14,28:14,29:14,30:14,31:14,50:14,51:14,52:14,53:14,54:14,55:14,56:14,57:14,58:14,59:1,60:2,61:3,62:4,67:9,68:10,69:12,70:13,71:14,72:14,73:15,74:16,75:17,76:20,77:21,78:22,79:45,80:46,81:47,82:0},W={5:'"$"#,##0_);\\("$"#,##0\\)',63:'"$"#,##0_);\\("$"#,##0\\)',6:'"$"#,##0_);[Red]\\("$"#,##0\\)',64:'"$"#,##0_);[Red]\\("$"#,##0\\)',7:'"$"#,##0.00_);\\("$"#,##0.00\\)',65:'"$"#,##0.00_);\\("$"#,##0.00\\)',8:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',66:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',41:'_(* #,##0_);_(* \\(#,##0\\);_(* "-"_);_(@_)',42:'_("$"* #,##0_);_("$"* \\(#,##0\\);_("$"* "-"_);_(@_)',43:'_(* #,##0.00_);_(* \\(#,##0.00\\);_(* "-"??_);_(@_)',44:'_("$"* #,##0.00_);_("$"* \\(#,##0.00\\);_("$"* "-"??_);_(@_)'};function U(e,t,r){for(var n=e<0?-1:1,a=e*n,o=0,i=1,s=0,c=1,l=0,u=0,f=Math.floor(a);l<t&&(s=(f=Math.floor(a))*i+o,u=f*l+c,!(a-f<5e-8));)a=1/(a-f),o=i,i=s,c=l,l=u;if(u>t&&(l>t?(u=c,s=o):(u=l,s=i)),!r)return[0,n*s,u];var h=Math.floor(n*s/u);return[h,n*s-h*u,u]}function H(e,t,r){if(e>2958465||e<0)return null;var n=0|e,a=Math.floor(86400*(e-n)),o=0,i=[],s={D:n,T:a,u:86400*(e-n)-a,y:0,m:0,d:0,H:0,M:0,S:0,q:0};if(Math.abs(s.u)<1e-6&&(s.u=0),t&&t.date1904&&(n+=1462),s.u>.9999&&(s.u=0,86400==++a&&(s.T=a=0,++n,++s.D)),60===n)i=r?[1317,10,29]:[1900,2,29],o=3;else if(0===n)i=r?[1317,8,29]:[1900,1,0],o=6;else{n>60&&--n;var c=new Date(1900,0,1);c.setDate(c.getDate()+n-1),i=[c.getFullYear(),c.getMonth()+1,c.getDate()],o=c.getDay(),n<60&&(o=(o+6)%7),r&&(o=function(e,t){t[0]-=581;var r=e.getDay();e<60&&(r=(r+6)%7);return r}(c,i))}return s.y=i[0],s.m=i[1],s.d=i[2],s.S=a%60,a=Math.floor(a/60),s.M=a%60,a=Math.floor(a/60),s.H=a,s.q=o,s}var z=new Date(1899,11,31,0,0,0),V=z.getTime(),q=new Date(1900,2,1,0,0,0);function G(e,t){var r=e.getTime();return t?r-=1262304e5:e>=q&&(r+=864e5),(r-(V+6e4*(e.getTimezoneOffset()-z.getTimezoneOffset())))/864e5}function X(e){return-1==e.indexOf(".")?e:e.replace(/(?:\.0*|(\.\d*[1-9])0+)$/,"$1")}function Y(e){var t,r=Math.floor(Math.log(Math.abs(e))*Math.LOG10E);return t=r>=-4&&r<=-1?e.toPrecision(10+r):Math.abs(r)<=9?function(e){var t=e<0?12:11,r=X(e.toFixed(12));return r.length<=t||(r=e.toPrecision(10)).length<=t?r:e.toExponential(5)}(e):10===r?e.toFixed(10).substr(0,12):function(e){var t=X(e.toFixed(11));return t.length>(e<0?12:11)||"0"===t||"-0"===t?e.toPrecision(6):t}(e),X(function(e){return-1==e.indexOf("E")?e:e.replace(/(?:\.0*|(\.\d*[1-9])0+)[Ee]/,"$1E").replace(/(E[+-])(\d)$/,"$10$2")}(t.toUpperCase()))}function K(e,t){switch(typeof e){case"string":return e;case"boolean":return e?"TRUE":"FALSE";case"number":return(0|e)===e?e.toString(10):Y(e);case"undefined":return"";case"object":if(null==e)return"";if(e instanceof Date)return ve(14,G(e,t&&t.date1904),t)}throw new Error("unsupported value in General format: "+e)}function J(e,t,r,n){var a,o="",i=0,s=0,c=r.y,l=0;switch(e){case 98:c=r.y+543;case 121:switch(t.length){case 1:case 2:a=c%100,l=2;break;default:a=c%1e4,l=4}break;case 109:switch(t.length){case 1:case 2:a=r.m,l=t.length;break;case 3:return M[r.m-1][1];case 5:return M[r.m-1][0];default:return M[r.m-1][2]}break;case 100:switch(t.length){case 1:case 2:a=r.d,l=t.length;break;case 3:return D[r.q][0];default:return D[r.q][1]}break;case 104:switch(t.length){case 1:case 2:a=1+(r.H+11)%12,l=t.length;break;default:throw"bad hour format: "+t}break;case 72:switch(t.length){case 1:case 2:a=r.H,l=t.length;break;default:throw"bad hour format: "+t}break;case 77:switch(t.length){case 1:case 2:a=r.M,l=t.length;break;default:throw"bad minute format: "+t}break;case 115:if("s"!=t&&"ss"!=t&&".0"!=t&&".00"!=t&&".000"!=t)throw"bad second format: "+t;return 0!==r.u||"s"!=t&&"ss"!=t?(s=n>=2?3===n?1e3:100:1===n?10:1,(i=Math.round(s*(r.S+r.u)))>=60*s&&(i=0),"s"===t?0===i?"0":""+i/s:(o=O(i,2+n),"ss"===t?o.substr(0,2):"."+o.substr(2,t.length-1))):O(r.S,t.length);case 90:switch(t){case"[h]":case"[hh]":a=24*r.D+r.H;break;case"[m]":case"[mm]":a=60*(24*r.D+r.H)+r.M;break;case"[s]":case"[ss]":a=60*(60*(24*r.D+r.H)+r.M)+Math.round(r.S+r.u);break;default:throw"bad abstime format: "+t}l=3===t.length?1:2;break;case 101:a=c,l=1}return l>0?O(a,l):""}function Z(e){if(e.length<=3)return e;for(var t=e.length%3,r=e.substr(0,t);t!=e.length;t+=3)r+=(r.length>0?",":"")+e.substr(t,3);return r}var Q=/%/g;function ee(e,t){var r,n=e.indexOf("E")-e.indexOf(".")-1;if(e.match(/^#+0.0E\+0$/)){if(0==t)return"0.0E+0";if(t<0)return"-"+ee(e,-t);var a=e.indexOf(".");-1===a&&(a=e.indexOf("E"));var o=Math.floor(Math.log(t)*Math.LOG10E)%a;if(o<0&&(o+=a),-1===(r=(t/Math.pow(10,o)).toPrecision(n+1+(a+o)%a)).indexOf("e")){var i=Math.floor(Math.log(t)*Math.LOG10E);for(-1===r.indexOf(".")?r=r.charAt(0)+"."+r.substr(1)+"E+"+(i-r.length+o):r+="E+"+(i-o);"0."===r.substr(0,2);)r=(r=r.charAt(0)+r.substr(2,a)+"."+r.substr(2+a)).replace(/^0+([1-9])/,"$1").replace(/^0+\./,"0.");r=r.replace(/\+-/,"-")}r=r.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/,(function(e,t,r,n){return t+r+n.substr(0,(a+o)%a)+"."+n.substr(o)+"E"}))}else r=t.toExponential(n);return e.match(/E\+00$/)&&r.match(/e[+-]\d$/)&&(r=r.substr(0,r.length-1)+"0"+r.charAt(r.length-1)),e.match(/E\-/)&&r.match(/e\+/)&&(r=r.replace(/e\+/,"e")),r.replace("e","E")}var te=/# (\?+)( ?)\/( ?)(\d+)/;var re=/^#*0*\.([0#]+)/,ne=/\).*[0#]/,ae=/\(###\) ###\\?-####/;function oe(e){for(var t,r="",n=0;n!=e.length;++n)switch(t=e.charCodeAt(n)){case 35:break;case 63:r+=" ";break;case 48:r+="0";break;default:r+=String.fromCharCode(t)}return r}function ie(e,t){var r=Math.pow(10,t);return""+Math.round(e*r)/r}function se(e,t){var r=e-Math.floor(e),n=Math.pow(10,t);return t<(""+Math.round(r*n)).length?0:Math.round(r*n)}function ce(e,t,r){if(40===e.charCodeAt(0)&&!t.match(ne)){var n=t.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");return r>=0?ce("n",n,r):"("+ce("n",n,-r)+")"}if(44===t.charCodeAt(t.length-1))return function(e,t,r){for(var n=t.length-1;44===t.charCodeAt(n-1);)--n;return fe(e,t.substr(0,n),r/Math.pow(10,3*(t.length-n)))}(e,t,r);if(-1!==t.indexOf("%"))return function(e,t,r){var n=t.replace(Q,""),a=t.length-n.length;return fe(e,n,r*Math.pow(10,2*a))+$e("%",a)}(e,t,r);if(-1!==t.indexOf("E"))return ee(t,r);if(36===t.charCodeAt(0))return"$"+ce(e,t.substr(" "==t.charAt(1)?2:1),r);var a,o,i,s,c=Math.abs(r),l=r<0?"-":"";if(t.match(/^00+$/))return l+I(c,t.length);if(t.match(/^[#?]+$/))return"0"===(a=I(r,0))&&(a=""),a.length>t.length?a:oe(t.substr(0,t.length-a.length))+a;if(o=t.match(te))return function(e,t,r){var n=parseInt(e[4],10),a=Math.round(t*n),o=Math.floor(a/n),i=a-o*n,s=n;return r+(0===o?"":""+o)+" "+(0===i?$e(" ",e[1].length+1+e[4].length):R(i,e[1].length)+e[2]+"/"+e[3]+O(s,e[4].length))}(o,c,l);if(t.match(/^#+0+$/))return l+I(c,t.length-t.indexOf("0"));if(o=t.match(re))return a=ie(r,o[1].length).replace(/^([^\.]+)$/,"$1."+oe(o[1])).replace(/\.$/,"."+oe(o[1])).replace(/\.(\d*)$/,(function(e,t){return"."+t+$e("0",oe(o[1]).length-t.length)})),-1!==t.indexOf("0.")?a:a.replace(/^0\./,".");if(t=t.replace(/^#+([0.])/,"$1"),o=t.match(/^(0*)\.(#*)$/))return l+ie(c,o[2].length).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,o[1].length?"0.":".");if(o=t.match(/^#{1,3},##0(\.?)$/))return l+Z(I(c,0));if(o=t.match(/^#,##0\.([#0]*0)$/))return r<0?"-"+ce(e,t,-r):Z(""+(Math.floor(r)+function(e,t){return t<(""+Math.round((e-Math.floor(e))*Math.pow(10,t))).length?1:0}(r,o[1].length)))+"."+O(se(r,o[1].length),o[1].length);if(o=t.match(/^#,#*,#0/))return ce(e,t.replace(/^#,#*,/,""),r);if(o=t.match(/^([0#]+)(\\?-([0#]+))+$/))return a=C(ce(e,t.replace(/[\\-]/g,""),r)),i=0,C(C(t.replace(/\\/g,"")).replace(/[0#]/g,(function(e){return i<a.length?a.charAt(i++):"0"===e?"0":""})));if(t.match(ae))return"("+(a=ce(e,"##########",r)).substr(0,3)+") "+a.substr(3,3)+"-"+a.substr(6);var u="";if(o=t.match(/^([#0?]+)( ?)\/( ?)([#0?]+)/))return i=Math.min(o[4].length,7),s=U(c,Math.pow(10,i)-1,!1),a=""+l," "==(u=fe("n",o[1],s[1])).charAt(u.length-1)&&(u=u.substr(0,u.length-1)+"0"),a+=u+o[2]+"/"+o[3],(u=P(s[2],i)).length<o[4].length&&(u=oe(o[4].substr(o[4].length-u.length))+u),a+=u;if(o=t.match(/^# ([#0?]+)( ?)\/( ?)([#0?]+)/))return i=Math.min(Math.max(o[1].length,o[4].length),7),l+((s=U(c,Math.pow(10,i)-1,!0))[0]||(s[1]?"":"0"))+" "+(s[1]?R(s[1],i)+o[2]+"/"+o[3]+P(s[2],i):$e(" ",2*i+1+o[2].length+o[3].length));if(o=t.match(/^[#0?]+$/))return a=I(r,0),t.length<=a.length?a:oe(t.substr(0,t.length-a.length))+a;if(o=t.match(/^([#0?]+)\.([#0]+)$/)){a=""+r.toFixed(Math.min(o[2].length,10)).replace(/([^0])0+$/,"$1"),i=a.indexOf(".");var f=t.indexOf(".")-i,h=t.length-a.length-f;return oe(t.substr(0,f)+a+t.substr(t.length-h))}if(o=t.match(/^00,000\.([#0]*0)$/))return i=se(r,o[1].length),r<0?"-"+ce(e,t,-r):Z(function(e){return e<2147483647&&e>-2147483648?""+(e>=0?0|e:e-1|0):""+Math.floor(e)}(r)).replace(/^\d,\d{3}$/,"0$&").replace(/^\d*$/,(function(e){return"00,"+(e.length<3?O(0,3-e.length):"")+e}))+"."+O(i,o[1].length);switch(t){case"###,##0.00":return ce(e,"#,##0.00",r);case"###,###":case"##,###":case"#,###":var d=Z(I(c,0));return"0"!==d?l+d:"";case"###,###.00":return ce(e,"###,##0.00",r).replace(/^0\./,".");case"#,###.00":return ce(e,"#,##0.00",r).replace(/^0\./,".")}throw new Error("unsupported format |"+t+"|")}function le(e,t){var r,n=e.indexOf("E")-e.indexOf(".")-1;if(e.match(/^#+0.0E\+0$/)){if(0==t)return"0.0E+0";if(t<0)return"-"+le(e,-t);var a=e.indexOf(".");-1===a&&(a=e.indexOf("E"));var o=Math.floor(Math.log(t)*Math.LOG10E)%a;if(o<0&&(o+=a),!(r=(t/Math.pow(10,o)).toPrecision(n+1+(a+o)%a)).match(/[Ee]/)){var i=Math.floor(Math.log(t)*Math.LOG10E);-1===r.indexOf(".")?r=r.charAt(0)+"."+r.substr(1)+"E+"+(i-r.length+o):r+="E+"+(i-o),r=r.replace(/\+-/,"-")}r=r.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/,(function(e,t,r,n){return t+r+n.substr(0,(a+o)%a)+"."+n.substr(o)+"E"}))}else r=t.toExponential(n);return e.match(/E\+00$/)&&r.match(/e[+-]\d$/)&&(r=r.substr(0,r.length-1)+"0"+r.charAt(r.length-1)),e.match(/E\-/)&&r.match(/e\+/)&&(r=r.replace(/e\+/,"e")),r.replace("e","E")}function ue(e,t,r){if(40===e.charCodeAt(0)&&!t.match(ne)){var n=t.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");return r>=0?ue("n",n,r):"("+ue("n",n,-r)+")"}if(44===t.charCodeAt(t.length-1))return function(e,t,r){for(var n=t.length-1;44===t.charCodeAt(n-1);)--n;return fe(e,t.substr(0,n),r/Math.pow(10,3*(t.length-n)))}(e,t,r);if(-1!==t.indexOf("%"))return function(e,t,r){var n=t.replace(Q,""),a=t.length-n.length;return fe(e,n,r*Math.pow(10,2*a))+$e("%",a)}(e,t,r);if(-1!==t.indexOf("E"))return le(t,r);if(36===t.charCodeAt(0))return"$"+ue(e,t.substr(" "==t.charAt(1)?2:1),r);var a,o,i,s,c=Math.abs(r),l=r<0?"-":"";if(t.match(/^00+$/))return l+O(c,t.length);if(t.match(/^[#?]+$/))return a=""+r,0===r&&(a=""),a.length>t.length?a:oe(t.substr(0,t.length-a.length))+a;if(o=t.match(te))return function(e,t,r){return r+(0===t?"":""+t)+$e(" ",e[1].length+2+e[4].length)}(o,c,l);if(t.match(/^#+0+$/))return l+O(c,t.length-t.indexOf("0"));if(o=t.match(re))return a=(a=(""+r).replace(/^([^\.]+)$/,"$1."+oe(o[1])).replace(/\.$/,"."+oe(o[1]))).replace(/\.(\d*)$/,(function(e,t){return"."+t+$e("0",oe(o[1]).length-t.length)})),-1!==t.indexOf("0.")?a:a.replace(/^0\./,".");if(t=t.replace(/^#+([0.])/,"$1"),o=t.match(/^(0*)\.(#*)$/))return l+(""+c).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,o[1].length?"0.":".");if(o=t.match(/^#{1,3},##0(\.?)$/))return l+Z(""+c);if(o=t.match(/^#,##0\.([#0]*0)$/))return r<0?"-"+ue(e,t,-r):Z(""+r)+"."+$e("0",o[1].length);if(o=t.match(/^#,#*,#0/))return ue(e,t.replace(/^#,#*,/,""),r);if(o=t.match(/^([0#]+)(\\?-([0#]+))+$/))return a=C(ue(e,t.replace(/[\\-]/g,""),r)),i=0,C(C(t.replace(/\\/g,"")).replace(/[0#]/g,(function(e){return i<a.length?a.charAt(i++):"0"===e?"0":""})));if(t.match(ae))return"("+(a=ue(e,"##########",r)).substr(0,3)+") "+a.substr(3,3)+"-"+a.substr(6);var u="";if(o=t.match(/^([#0?]+)( ?)\/( ?)([#0?]+)/))return i=Math.min(o[4].length,7),s=U(c,Math.pow(10,i)-1,!1),a=""+l," "==(u=fe("n",o[1],s[1])).charAt(u.length-1)&&(u=u.substr(0,u.length-1)+"0"),a+=u+o[2]+"/"+o[3],(u=P(s[2],i)).length<o[4].length&&(u=oe(o[4].substr(o[4].length-u.length))+u),a+=u;if(o=t.match(/^# ([#0?]+)( ?)\/( ?)([#0?]+)/))return i=Math.min(Math.max(o[1].length,o[4].length),7),l+((s=U(c,Math.pow(10,i)-1,!0))[0]||(s[1]?"":"0"))+" "+(s[1]?R(s[1],i)+o[2]+"/"+o[3]+P(s[2],i):$e(" ",2*i+1+o[2].length+o[3].length));if(o=t.match(/^[#0?]+$/))return a=""+r,t.length<=a.length?a:oe(t.substr(0,t.length-a.length))+a;if(o=t.match(/^([#0]+)\.([#0]+)$/)){a=""+r.toFixed(Math.min(o[2].length,10)).replace(/([^0])0+$/,"$1"),i=a.indexOf(".");var f=t.indexOf(".")-i,h=t.length-a.length-f;return oe(t.substr(0,f)+a+t.substr(t.length-h))}if(o=t.match(/^00,000\.([#0]*0)$/))return r<0?"-"+ue(e,t,-r):Z(""+r).replace(/^\d,\d{3}$/,"0$&").replace(/^\d*$/,(function(e){return"00,"+(e.length<3?O(0,3-e.length):"")+e}))+"."+O(0,o[1].length);switch(t){case"###,###":case"##,###":case"#,###":var d=Z(""+c);return"0"!==d?l+d:"";default:if(t.match(/\.[0#?]*$/))return ue(e,t.slice(0,t.lastIndexOf(".")),r)+oe(t.slice(t.lastIndexOf(".")))}throw new Error("unsupported format |"+t+"|")}function fe(e,t,r){return(0|r)===r?ue(e,t,r):ce(e,t,r)}var he=/\[[HhMmSs\u0E0A\u0E19\u0E17]*\]/;function de(e){for(var t=0,r="",n="";t<e.length;)switch(r=e.charAt(t)){case"G":F(e,t)&&(t+=6),t++;break;case'"':for(;34!==e.charCodeAt(++t)&&t<e.length;);++t;break;case"\\":case"_":t+=2;break;case"@":++t;break;case"B":case"b":if("1"===e.charAt(t+1)||"2"===e.charAt(t+1))return!0;case"M":case"D":case"Y":case"H":case"S":case"E":case"m":case"d":case"y":case"h":case"s":case"e":case"g":return!0;case"A":case"a":case"上":if("A/P"===e.substr(t,3).toUpperCase())return!0;if("AM/PM"===e.substr(t,5).toUpperCase())return!0;if("上午/下午"===e.substr(t,5).toUpperCase())return!0;++t;break;case"[":for(n=r;"]"!==e.charAt(t++)&&t<e.length;)n+=e.charAt(t);if(n.match(he))return!0;break;case".":case"0":case"#":for(;t<e.length&&("0#?.,E+-%".indexOf(r=e.charAt(++t))>-1||"\\"==r&&"-"==e.charAt(t+1)&&"0#".indexOf(e.charAt(t+2))>-1););break;case"?":for(;e.charAt(++t)===r;);break;case"*":++t," "!=e.charAt(t)&&"*"!=e.charAt(t)||++t;break;case"(":case")":++t;break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":for(;t<e.length&&"0123456789".indexOf(e.charAt(++t))>-1;);break;default:++t}return!1}var pe=/\[(=|>[=]?|<[>=]?)(-?\d+(?:\.\d*)?)\]/;function ge(e,t){if(null==t)return!1;var r=parseFloat(t[2]);switch(t[1]){case"=":if(e==r)return!0;break;case">":if(e>r)return!0;break;case"<":if(e<r)return!0;break;case"<>":if(e!=r)return!0;break;case">=":if(e>=r)return!0;break;case"<=":if(e<=r)return!0}return!1}function me(e,t){var r=function(e){for(var t=[],r=!1,n=0,a=0;n<e.length;++n)switch(e.charCodeAt(n)){case 34:r=!r;break;case 95:case 42:case 92:++n;break;case 59:t[t.length]=e.substr(a,n-a),a=n+1}if(t[t.length]=e.substr(a),!0===r)throw new Error("Format |"+e+"| unterminated string ");return t}(e),n=r.length,a=r[n-1].indexOf("@");if(n<4&&a>-1&&--n,r.length>4)throw new Error("cannot find right format for |"+r.join("|")+"|");if("number"!=typeof t)return[4,4===r.length||a>-1?r[r.length-1]:"@"];switch(r.length){case 1:r=a>-1?["General","General","General",r[0]]:[r[0],r[0],r[0],"@"];break;case 2:r=a>-1?[r[0],r[0],r[0],r[1]]:[r[0],r[1],r[0],"@"];break;case 3:r=a>-1?[r[0],r[1],r[0],r[2]]:[r[0],r[1],r[2],"@"]}var o=t>0?r[0]:t<0?r[1]:r[2];if(-1===r[0].indexOf("[")&&-1===r[1].indexOf("["))return[n,o];if(null!=r[0].match(/\[[=<>]/)||null!=r[1].match(/\[[=<>]/)){var i=r[0].match(pe),s=r[1].match(pe);return ge(t,i)?[n,r[0]]:ge(t,s)?[n,r[1]]:[n,r[null!=i&&null!=s?2:1]]}return[n,o]}function ve(e,t,r){null==r&&(r={});var n="";switch(typeof e){case"string":n="m/d/yy"==e&&r.dateNF?r.dateNF:e;break;case"number":null==(n=14==e&&r.dateNF?r.dateNF:(null!=r.table?r.table:j)[e])&&(n=r.table&&r.table[B[e]]||j[B[e]]),null==n&&(n=W[e]||"General")}if(F(n,0))return K(t,r);t instanceof Date&&(t=G(t,r.date1904));var a=me(n,t);if(F(a[1]))return K(t,r);if(!0===t)t="TRUE";else if(!1===t)t="FALSE";else if(""===t||null==t)return"";return function(e,t,r,n){for(var a,o,i,s=[],c="",l=0,u="",f="t",h="H";l<e.length;)switch(u=e.charAt(l)){case"G":if(!F(e,l))throw new Error("unrecognized character "+u+" in "+e);s[s.length]={t:"G",v:"General"},l+=7;break;case'"':for(c="";34!==(i=e.charCodeAt(++l))&&l<e.length;)c+=String.fromCharCode(i);s[s.length]={t:"t",v:c},++l;break;case"\\":var d=e.charAt(++l),p="("===d||")"===d?d:"t";s[s.length]={t:p,v:d},++l;break;case"_":s[s.length]={t:"t",v:" "},l+=2;break;case"@":s[s.length]={t:"T",v:t},++l;break;case"B":case"b":if("1"===e.charAt(l+1)||"2"===e.charAt(l+1)){if(null==a&&null==(a=H(t,r,"2"===e.charAt(l+1))))return"";s[s.length]={t:"X",v:e.substr(l,2)},f=u,l+=2;break}case"M":case"D":case"Y":case"H":case"S":case"E":u=u.toLowerCase();case"m":case"d":case"y":case"h":case"s":case"e":case"g":if(t<0)return"";if(null==a&&null==(a=H(t,r)))return"";for(c=u;++l<e.length&&e.charAt(l).toLowerCase()===u;)c+=u;"m"===u&&"h"===f.toLowerCase()&&(u="M"),"h"===u&&(u=h),s[s.length]={t:u,v:c},f=u;break;case"A":case"a":case"上":var g={t:u,v:u};if(null==a&&(a=H(t,r)),"A/P"===e.substr(l,3).toUpperCase()?(null!=a&&(g.v=a.H>=12?"P":"A"),g.t="T",h="h",l+=3):"AM/PM"===e.substr(l,5).toUpperCase()?(null!=a&&(g.v=a.H>=12?"PM":"AM"),g.t="T",l+=5,h="h"):"上午/下午"===e.substr(l,5).toUpperCase()?(null!=a&&(g.v=a.H>=12?"下午":"上午"),g.t="T",l+=5,h="h"):(g.t="t",++l),null==a&&"T"===g.t)return"";s[s.length]=g,f=u;break;case"[":for(c=u;"]"!==e.charAt(l++)&&l<e.length;)c+=e.charAt(l);if("]"!==c.slice(-1))throw'unterminated "[" block: |'+c+"|";if(c.match(he)){if(null==a&&null==(a=H(t,r)))return"";s[s.length]={t:"Z",v:c.toLowerCase()},f=c.charAt(1)}else c.indexOf("$")>-1&&(c=(c.match(/\$([^-\[\]]*)/)||[])[1]||"$",de(e)||(s[s.length]={t:"t",v:c}));break;case".":if(null!=a){for(c=u;++l<e.length&&"0"===(u=e.charAt(l));)c+=u;s[s.length]={t:"s",v:c};break}case"0":case"#":for(c=u;++l<e.length&&"0#?.,E+-%".indexOf(u=e.charAt(l))>-1;)c+=u;s[s.length]={t:"n",v:c};break;case"?":for(c=u;e.charAt(++l)===u;)c+=u;s[s.length]={t:u,v:c},f=u;break;case"*":++l," "!=e.charAt(l)&&"*"!=e.charAt(l)||++l;break;case"(":case")":s[s.length]={t:1===n?"t":u,v:u},++l;break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":for(c=u;l<e.length&&"0123456789".indexOf(e.charAt(++l))>-1;)c+=e.charAt(l);s[s.length]={t:"D",v:c};break;case" ":s[s.length]={t:u,v:u},++l;break;case"$":s[s.length]={t:"t",v:"$"},++l;break;default:if(-1===",$-+/():!^&'~{}<>=€acfijklopqrtuvwxzP".indexOf(u))throw new Error("unrecognized character "+u+" in "+e);s[s.length]={t:"t",v:u},++l}var m,v=0,b=0;for(l=s.length-1,f="t";l>=0;--l)switch(s[l].t){case"h":case"H":s[l].t=h,f="h",v<1&&(v=1);break;case"s":(m=s[l].v.match(/\.0+$/))&&(b=Math.max(b,m[0].length-1)),v<3&&(v=3);case"d":case"y":case"M":case"e":f=s[l].t;break;case"m":"s"===f&&(s[l].t="M",v<2&&(v=2));break;case"X":break;case"Z":v<1&&s[l].v.match(/[Hh]/)&&(v=1),v<2&&s[l].v.match(/[Mm]/)&&(v=2),v<3&&s[l].v.match(/[Ss]/)&&(v=3)}switch(v){case 0:break;case 1:a.u>=.5&&(a.u=0,++a.S),a.S>=60&&(a.S=0,++a.M),a.M>=60&&(a.M=0,++a.H);break;case 2:a.u>=.5&&(a.u=0,++a.S),a.S>=60&&(a.S=0,++a.M)}var y,w="";for(l=0;l<s.length;++l)switch(s[l].t){case"t":case"T":case" ":case"D":break;case"X":s[l].v="",s[l].t=";";break;case"d":case"m":case"y":case"h":case"H":case"M":case"s":case"e":case"b":case"Z":s[l].v=J(s[l].t.charCodeAt(0),s[l].v,a,b),s[l].t="t";break;case"n":case"?":for(y=l+1;null!=s[y]&&("?"===(u=s[y].t)||"D"===u||(" "===u||"t"===u)&&null!=s[y+1]&&("?"===s[y+1].t||"t"===s[y+1].t&&"/"===s[y+1].v)||"("===s[l].t&&(" "===u||"n"===u||")"===u)||"t"===u&&("/"===s[y].v||" "===s[y].v&&null!=s[y+1]&&"?"==s[y+1].t));)s[l].v+=s[y].v,s[y]={v:"",t:";"},++y;w+=s[l].v,l=y-1;break;case"G":s[l].t="t",s[l].v=K(t,r)}var S,x,A="";if(w.length>0){40==w.charCodeAt(0)?(S=t<0&&45===w.charCodeAt(0)?-t:t,x=fe("n",w,S)):(x=fe("n",w,S=t<0&&n>1?-t:t),S<0&&s[0]&&"t"==s[0].t&&(x=x.substr(1),s[0].v="-"+s[0].v)),y=x.length-1;var k=s.length;for(l=0;l<s.length;++l)if(null!=s[l]&&"t"!=s[l].t&&s[l].v.indexOf(".")>-1){k=l;break}var T=s.length;if(k===s.length&&-1===x.indexOf("E")){for(l=s.length-1;l>=0;--l)null!=s[l]&&-1!=="n?".indexOf(s[l].t)&&(y>=s[l].v.length-1?(y-=s[l].v.length,s[l].v=x.substr(y+1,s[l].v.length)):y<0?s[l].v="":(s[l].v=x.substr(0,y+1),y=-1),s[l].t="t",T=l);y>=0&&T<s.length&&(s[T].v=x.substr(0,y+1)+s[T].v)}else if(k!==s.length&&-1===x.indexOf("E")){for(y=x.indexOf(".")-1,l=k;l>=0;--l)if(null!=s[l]&&-1!=="n?".indexOf(s[l].t)){for(o=s[l].v.indexOf(".")>-1&&l===k?s[l].v.indexOf(".")-1:s[l].v.length-1,A=s[l].v.substr(o+1);o>=0;--o)y>=0&&("0"===s[l].v.charAt(o)||"#"===s[l].v.charAt(o))&&(A=x.charAt(y--)+A);s[l].v=A,s[l].t="t",T=l}for(y>=0&&T<s.length&&(s[T].v=x.substr(0,y+1)+s[T].v),y=x.indexOf(".")+1,l=k;l<s.length;++l)if(null!=s[l]&&(-1!=="n?(".indexOf(s[l].t)||l===k)){for(o=s[l].v.indexOf(".")>-1&&l===k?s[l].v.indexOf(".")+1:0,A=s[l].v.substr(0,o);o<s[l].v.length;++o)y<x.length&&(A+=x.charAt(y++));s[l].v=A,s[l].t="t",T=l}}}for(l=0;l<s.length;++l)null!=s[l]&&"n?".indexOf(s[l].t)>-1&&(S=n>1&&t<0&&l>0&&"-"===s[l-1].v?-t:t,s[l].v=fe(s[l].t,s[l].v,S),s[l].t="t");var E="";for(l=0;l!==s.length;++l)null!=s[l]&&(E+=s[l].v);return E}(a[1],t,r,a[0])}function be(e,t){if("number"!=typeof t){t=+t||-1;for(var r=0;r<392;++r)if(null!=j[r]){if(j[r]==e){t=r;break}}else t<0&&(t=r);t<0&&(t=391)}return j[t]=e,t}function ye(e){for(var t=0;392!=t;++t)void 0!==e[t]&&be(e[t],t)}function we(){j=function(e){return e||(e={}),e[0]="General",e[1]="0",e[2]="0.00",e[3]="#,##0",e[4]="#,##0.00",e[9]="0%",e[10]="0.00%",e[11]="0.00E+00",e[12]="# ?/?",e[13]="# ??/??",e[14]="m/d/yy",e[15]="d-mmm-yy",e[16]="d-mmm",e[17]="mmm-yy",e[18]="h:mm AM/PM",e[19]="h:mm:ss AM/PM",e[20]="h:mm",e[21]="h:mm:ss",e[22]="m/d/yy h:mm",e[37]="#,##0 ;(#,##0)",e[38]="#,##0 ;[Red](#,##0)",e[39]="#,##0.00;(#,##0.00)",e[40]="#,##0.00;[Red](#,##0.00)",e[45]="mm:ss",e[46]="[h]:mm:ss",e[47]="mmss.0",e[48]="##0.0E+0",e[49]="@",e[56]='"上午/下午 "hh"時"mm"分"ss"秒 "',e}()}var Se={format:ve,load:be,_table:j,load_table:ye,parse_date_code:H,is_date:de,get_table:function(){return Se._table=j}},xe={5:'"$"#,##0_);\\("$"#,##0\\)',6:'"$"#,##0_);[Red]\\("$"#,##0\\)',7:'"$"#,##0.00_);\\("$"#,##0.00\\)',8:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',23:"General",24:"General",25:"General",26:"General",27:"m/d/yy",28:"m/d/yy",29:"m/d/yy",30:"m/d/yy",31:"m/d/yy",32:"h:mm:ss",33:"h:mm:ss",34:"h:mm:ss",35:"h:mm:ss",36:"m/d/yy",41:'_(* #,##0_);_(* (#,##0);_(* "-"_);_(@_)',42:'_("$"* #,##0_);_("$"* (#,##0);_("$"* "-"_);_(@_)',43:'_(* #,##0.00_);_(* (#,##0.00);_(* "-"??_);_(@_)',44:'_("$"* #,##0.00_);_("$"* (#,##0.00);_("$"* "-"??_);_(@_)',50:"m/d/yy",51:"m/d/yy",52:"m/d/yy",53:"m/d/yy",54:"m/d/yy",55:"m/d/yy",56:"m/d/yy",57:"m/d/yy",58:"m/d/yy",59:"0",60:"0.00",61:"#,##0",62:"#,##0.00",63:'"$"#,##0_);\\("$"#,##0\\)',64:'"$"#,##0_);[Red]\\("$"#,##0\\)',65:'"$"#,##0.00_);\\("$"#,##0.00\\)',66:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',67:"0%",68:"0.00%",69:"# ?/?",70:"# ??/??",71:"m/d/yy",72:"m/d/yy",73:"d-mmm-yy",74:"d-mmm",75:"mmm-yy",76:"h:mm",77:"h:mm:ss",78:"m/d/yy h:mm",79:"mm:ss",80:"[h]:mm:ss",81:"mmss.0"},Ae=/[dD]+|[mM]+|[yYeE]+|[Hh]+|[Ss]+/g;var ke,Te=function(){var e={};e.version="1.2.0";var t=function(){for(var e=0,t=new Array(256),r=0;256!=r;++r)e=1&(e=1&(e=1&(e=1&(e=1&(e=1&(e=1&(e=1&(e=r)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1,t[r]=e;return"undefined"!=typeof Int32Array?new Int32Array(t):t}();var r=function(e){var t=0,r=0,n=0,a="undefined"!=typeof Int32Array?new Int32Array(4096):new Array(4096);for(n=0;256!=n;++n)a[n]=e[n];for(n=0;256!=n;++n)for(r=e[n],t=256+n;t<4096;t+=256)r=a[t]=r>>>8^e[255&r];var o=[];for(n=1;16!=n;++n)o[n-1]="undefined"!=typeof Int32Array?a.subarray(256*n,256*n+256):a.slice(256*n,256*n+256);return o}(t),n=r[0],a=r[1],o=r[2],i=r[3],s=r[4],c=r[5],l=r[6],u=r[7],f=r[8],h=r[9],d=r[10],p=r[11],g=r[12],m=r[13],v=r[14];return e.table=t,e.bstr=function(e,r){for(var n=-1^r,a=0,o=e.length;a<o;)n=n>>>8^t[255&(n^e.charCodeAt(a++))];return~n},e.buf=function(e,r){for(var b=-1^r,y=e.length-15,w=0;w<y;)b=v[e[w++]^255&b]^m[e[w++]^b>>8&255]^g[e[w++]^b>>16&255]^p[e[w++]^b>>>24]^d[e[w++]]^h[e[w++]]^f[e[w++]]^u[e[w++]]^l[e[w++]]^c[e[w++]]^s[e[w++]]^i[e[w++]]^o[e[w++]]^a[e[w++]]^n[e[w++]]^t[e[w++]];for(y+=15;w<y;)b=b>>>8^t[255&(b^e[w++])];return~b},e.str=function(e,r){for(var n=-1^r,a=0,o=e.length,i=0,s=0;a<o;)(i=e.charCodeAt(a++))<128?n=n>>>8^t[255&(n^i)]:i<2048?n=(n=n>>>8^t[255&(n^(192|i>>6&31))])>>>8^t[255&(n^(128|63&i))]:i>=55296&&i<57344?(i=64+(1023&i),s=1023&e.charCodeAt(a++),n=(n=(n=(n=n>>>8^t[255&(n^(240|i>>8&7))])>>>8^t[255&(n^(128|i>>2&63))])>>>8^t[255&(n^(128|s>>6&15|(3&i)<<4))])>>>8^t[255&(n^(128|63&s))]):n=(n=(n=n>>>8^t[255&(n^(224|i>>12&15))])>>>8^t[255&(n^(128|i>>6&63))])>>>8^t[255&(n^(128|63&i))];return~n},e}(),Ee=function(){var e,t={};function r(e){if("/"==e.charAt(e.length-1))return-1===e.slice(0,-1).indexOf("/")?e:r(e.slice(0,-1));var t=e.lastIndexOf("/");return-1===t?e:e.slice(0,t+1)}function n(e){if("/"==e.charAt(e.length-1))return n(e.slice(0,-1));var t=e.lastIndexOf("/");return-1===t?e:e.slice(t+1)}function a(e,t){"string"==typeof t&&(t=new Date(t));var r=t.getHours();r=(r=r<<6|t.getMinutes())<<5|t.getSeconds()>>>1,e._W(2,r);var n=t.getFullYear()-1980;n=(n=n<<4|t.getMonth()+1)<<5|t.getDate(),e._W(2,n)}function o(e){Cr(e,0);for(var t={},r=0;e.l<=e.length-4;){var n=e._R(2),a=e._R(2),o=e.l+a,i={};if(21589===n)1&(r=e._R(1))&&(i.mtime=e._R(4)),a>5&&(2&r&&(i.atime=e._R(4)),4&r&&(i.ctime=e._R(4))),i.mtime&&(i.mt=new Date(1e3*i.mtime));e.l=o,t[n]=i}return t}function i(){return e||(e=void 0)}function s(e,t){if(80==e[0]&&75==e[1])return pe(e,t);if(109==(32|e[0])&&105==(32|e[1]))return xe(e,t);if(e.length<512)throw new Error("CFB file size "+e.length+" < 512");var r,n,a,o,i,s,c=512,u=[],h=e.slice(0,512);Cr(h,0);var d=function(e){if(80==e[e.l]&&75==e[e.l+1])return[0,0];e.chk(C,"Header Signature: "),e.l+=16;var t=e._R(2,"u");return[e._R(2,"u"),t]}(h);switch(r=d[0]){case 3:c=512;break;case 4:c=4096;break;case 0:if(0==d[1])return pe(e,t);default:throw new Error("Major Version: Expected 3 or 4 saw "+r)}512!==c&&Cr(h=e.slice(0,c),28);var p=e.slice(0,c);!function(e,t){var r=9;switch(e.l+=2,r=e._R(2)){case 9:if(3!=t)throw new Error("Sector Shift: Expected 9 saw "+r);break;case 12:if(4!=t)throw new Error("Sector Shift: Expected 12 saw "+r);break;default:throw new Error("Sector Shift: Expected 9 or 12 saw "+r)}e.chk("0600","Mini Sector Shift: "),e.chk("000000000000","Reserved: ")}(h,r);var g=h._R(4,"i");if(3===r&&0!==g)throw new Error("# Directory Sectors: Expected 0 saw "+g);h.l+=4,o=h._R(4,"i"),h.l+=4,h.chk("00100000","Mini Stream Cutoff Size: "),i=h._R(4,"i"),n=h._R(4,"i"),s=h._R(4,"i"),a=h._R(4,"i");for(var m=-1,v=0;v<109&&!((m=h._R(4,"i"))<0);++v)u[v]=m;var b=function(e,t){for(var r=Math.ceil(e.length/t)-1,n=[],a=1;a<r;++a)n[a-1]=e.slice(a*t,(a+1)*t);return n[r-1]=e.slice(r*t),n}(e,c);l(s,a,b,c,u);var y=function(e,t,r,n){var a=e.length,o=[],i=[],s=[],c=[],l=n-1,u=0,f=0,h=0,d=0;for(u=0;u<a;++u)if(s=[],(h=u+t)>=a&&(h-=a),!i[h]){c=[];var p=[];for(f=h;f>=0;){p[f]=!0,i[f]=!0,s[s.length]=f,c.push(e[f]);var g=r[Math.floor(4*f/n)];if(n<4+(d=4*f&l))throw new Error("FAT boundary crossed: "+f+" 4 "+n);if(!e[g])break;if(p[f=Sr(e[g],d)])break}o[h]={nodes:s,data:Jt([c])}}return o}(b,o,u,c);y[o].name="!Directory",n>0&&i!==T&&(y[i].name="!MiniFAT"),y[u[0]].name="!FAT",y.fat_addrs=u,y.ssz=c;var w=[],S=[],x=[];f(o,y,b,w,n,{},S,i),function(e,t,r){for(var n=0,a=0,o=0,i=0,s=0,c=r.length,l=[],u=[];n<c;++n)l[n]=u[n]=n,t[n]=r[n];for(;s<u.length;++s)a=e[n=u[s]].L,o=e[n].R,i=e[n].C,l[n]===n&&(-1!==a&&l[a]!==a&&(l[n]=l[a]),-1!==o&&l[o]!==o&&(l[n]=l[o])),-1!==i&&(l[i]=n),-1!==a&&n!=l[n]&&(l[a]=l[n],u.lastIndexOf(a)<s&&u.push(a)),-1!==o&&n!=l[n]&&(l[o]=l[n],u.lastIndexOf(o)<s&&u.push(o));for(n=1;n<c;++n)l[n]===n&&(-1!==o&&l[o]!==o?l[n]=l[o]:-1!==a&&l[a]!==a&&(l[n]=l[a]));for(n=1;n<c;++n)if(0!==e[n].type){if((s=n)!=l[s])do{s=l[s],t[n]=t[s]+"/"+t[n]}while(0!==s&&-1!==l[s]&&s!=l[s]);l[n]=-1}for(t[0]+="/",n=1;n<c;++n)2!==e[n].type&&(t[n]+="/")}(S,x,w),w.shift();var A={FileIndex:S,FullPaths:x};return t&&t.raw&&(A.raw={header:p,sectors:b}),A}function c(e,t,r){for(var n=e.start,a=e.size,o=[],i=n;r&&a>0&&i>=0;)o.push(t.slice(i*k,i*k+k)),a-=k,i=Sr(r,4*i);return 0===o.length?Rr(0):E(o).slice(0,e.size)}function l(e,t,r,n,a){var o=T;if(e===T){if(0!==t)throw new Error("DIFAT chain shorter than expected")}else if(-1!==e){var i=r[e],s=(n>>>2)-1;if(!i)return;for(var c=0;c<s&&(o=Sr(i,4*c))!==T;++c)a.push(o);l(Sr(i,n-4),t-1,r,n,a)}}function u(e,t,r,n,a){var o=[],i=[];a||(a=[]);var s=n-1,c=0,l=0;for(c=t;c>=0;){a[c]=!0,o[o.length]=c,i.push(e[c]);var u=r[Math.floor(4*c/n)];if(n<4+(l=4*c&s))throw new Error("FAT boundary crossed: "+c+" 4 "+n);if(!e[u])break;c=Sr(e[u],l)}return{nodes:o,data:Jt([i])}}function f(e,t,r,n,a,o,i,s){for(var l,f=0,d=n.length?2:0,p=t[e].data,g=0,m=0;g<p.length;g+=128){var v=p.slice(g,g+128);Cr(v,64),m=v._R(2),l=Qt(v,0,m-d),n.push(l);var b={name:l,type:v._R(1),color:v._R(1),L:v._R(4,"i"),R:v._R(4,"i"),C:v._R(4,"i"),clsid:v._R(16),state:v._R(4,"i"),start:0,size:0};0!==v._R(2)+v._R(2)+v._R(2)+v._R(2)&&(b.ct=h(v,v.l-8)),0!==v._R(2)+v._R(2)+v._R(2)+v._R(2)&&(b.mt=h(v,v.l-8)),b.start=v._R(4,"i"),b.size=v._R(4,"i"),b.size<0&&b.start<0&&(b.size=b.type=0,b.start=T,b.name=""),5===b.type?(f=b.start,a>0&&f!==T&&(t[f].name="!StreamData")):b.size>=4096?(b.storage="fat",void 0===t[b.start]&&(t[b.start]=u(r,b.start,t.fat_addrs,t.ssz)),t[b.start].name=b.name,b.content=t[b.start].data.slice(0,b.size)):(b.storage="minifat",b.size<0?b.size=0:f!==T&&b.start!==T&&t[f]&&(b.content=c(b,t[f].data,(t[s]||{}).data))),b.content&&Cr(b.content,0),o[l]=b,i.push(b)}}function h(e,t){return new Date(1e3*(wr(e,t+4)/1e7*Math.pow(2,32)+wr(e,t)/1e7-11644473600))}function d(e,t){var r=t||{},n=r.root||"Root Entry";if(e.FullPaths||(e.FullPaths=[]),e.FileIndex||(e.FileIndex=[]),e.FullPaths.length!==e.FileIndex.length)throw new Error("inconsistent CFB structure");0===e.FullPaths.length&&(e.FullPaths[0]=n+"/",e.FileIndex[0]={name:n,type:5}),r.CLSID&&(e.FileIndex[0].clsid=r.CLSID),function(e){var t="Sh33tJ5";if(Ee.find(e,"/"+t))return;var r=Rr(4);r[0]=55,r[1]=r[3]=50,r[2]=54,e.FileIndex.push({name:t,type:2,content:r,size:4,L:69,R:69,C:69}),e.FullPaths.push(e.FullPaths[0]+t),p(e)}(e)}function p(e,t){d(e);for(var a=!1,o=!1,i=e.FullPaths.length-1;i>=0;--i){var s=e.FileIndex[i];switch(s.type){case 0:o?a=!0:(e.FileIndex.pop(),e.FullPaths.pop());break;case 1:case 2:case 5:o=!0,isNaN(s.R*s.L*s.C)&&(a=!0),s.R>-1&&s.L>-1&&s.R==s.L&&(a=!0);break;default:a=!0}}if(a||t){var c=new Date(1987,1,19),l=0,u=Object.create?Object.create(null):{},f=[];for(i=0;i<e.FullPaths.length;++i)u[e.FullPaths[i]]=!0,0!==e.FileIndex[i].type&&f.push([e.FullPaths[i],e.FileIndex[i]]);for(i=0;i<f.length;++i){var h=r(f[i][0]);(o=u[h])||(f.push([h,{name:n(h).replace("/",""),type:1,clsid:R,ct:c,mt:c,content:null}]),u[h]=!0)}for(f.sort((function(e,t){return function(e,t){for(var r=e.split("/"),n=t.split("/"),a=0,o=0,i=Math.min(r.length,n.length);a<i;++a){if(o=r[a].length-n[a].length)return o;if(r[a]!=n[a])return r[a]<n[a]?-1:1}return r.length-n.length}(e[0],t[0])})),e.FullPaths=[],e.FileIndex=[],i=0;i<f.length;++i)e.FullPaths[i]=f[i][0],e.FileIndex[i]=f[i][1];for(i=0;i<f.length;++i){var p=e.FileIndex[i],g=e.FullPaths[i];if(p.name=n(g).replace("/",""),p.L=p.R=p.C=-(p.color=1),p.size=p.content?p.content.length:0,p.start=0,p.clsid=p.clsid||R,0===i)p.C=f.length>1?1:-1,p.size=0,p.type=5;else if("/"==g.slice(-1)){for(l=i+1;l<f.length&&r(e.FullPaths[l])!=g;++l);for(p.C=l>=f.length?-1:l,l=i+1;l<f.length&&r(e.FullPaths[l])!=r(g);++l);p.R=l>=f.length?-1:l,p.type=1}else r(e.FullPaths[i+1]||"")==r(g)&&(p.R=i+1),p.type=2}}}function g(e,t){var r=t||{};if("mad"==r.fileType)return function(e,t){for(var r=t||{},n=r.boundary||"SheetJS",a=["MIME-Version: 1.0",'Content-Type: multipart/related; boundary="'+(n="------="+n).slice(2)+'"',"","",""],o=e.FullPaths[0],i=o,s=e.FileIndex[0],c=1;c<e.FullPaths.length;++c)if(i=e.FullPaths[c].slice(o.length),(s=e.FileIndex[c]).size&&s.content&&"Sh33tJ5"!=i){i=i.replace(/[\x00-\x08\x0B\x0C\x0E-\x1F\x7E-\xFF]/g,(function(e){return"_x"+e.charCodeAt(0).toString(16)+"_"})).replace(/[\u0080-\uFFFF]/g,(function(e){return"_u"+e.charCodeAt(0).toString(16)+"_"}));for(var l=s.content,u=b&&Buffer.isBuffer(l)?l.toString("binary"):L(l),f=0,h=Math.min(1024,u.length),d=0,p=0;p<=h;++p)(d=u.charCodeAt(p))>=32&&d<128&&++f;var g=f>=4*h/5;a.push(n),a.push("Content-Location: "+(r.root||"file:///C:/SheetJS/")+i),a.push("Content-Transfer-Encoding: "+(g?"quoted-printable":"base64")),a.push("Content-Type: "+be(s,i)),a.push(""),a.push(g?we(u):ye(u))}return a.push(n+"--\r\n"),a.join("\r\n")}(e,r);if(p(e),"zip"===r.fileType)return me(e,r);var n=function(e){for(var t=0,r=0,n=0;n<e.FileIndex.length;++n){var a=e.FileIndex[n];if(a.content){var o=a.content.length;o>0&&(o<4096?t+=o+63>>6:r+=o+511>>9)}}for(var i=e.FullPaths.length+3>>2,s=t+127>>7,c=(t+7>>3)+r+i+s,l=c+127>>7,u=l<=109?0:Math.ceil((l-109)/127);c+l+u+127>>7>l;)u=++l<=109?0:Math.ceil((l-109)/127);var f=[1,u,l,s,i,r,t,0];return e.FileIndex[0].size=t<<6,f[7]=(e.FileIndex[0].start=f[0]+f[1]+f[2]+f[3]+f[4]+f[5])+(f[6]+7>>3),f}(e),a=Rr(n[7]<<9),o=0,i=0;for(o=0;o<8;++o)a._W(1,O[o]);for(o=0;o<8;++o)a._W(2,0);for(a._W(2,62),a._W(2,3),a._W(2,65534),a._W(2,9),a._W(2,6),o=0;o<3;++o)a._W(2,0);for(a._W(4,0),a._W(4,n[2]),a._W(4,n[0]+n[1]+n[2]+n[3]-1),a._W(4,0),a._W(4,4096),a._W(4,n[3]?n[0]+n[1]+n[2]-1:T),a._W(4,n[3]),a._W(-4,n[1]?n[0]-1:T),a._W(4,n[1]),o=0;o<109;++o)a._W(-4,o<n[2]?n[1]+o:-1);if(n[1])for(i=0;i<n[1];++i){for(;o<236+127*i;++o)a._W(-4,o<n[2]?n[1]+o:-1);a._W(-4,i===n[1]-1?T:i+1)}var s=function(e){for(i+=e;o<i-1;++o)a._W(-4,o+1);e&&(++o,a._W(-4,T))};for(i=o=0,i+=n[1];o<i;++o)a._W(-4,P.DIFSECT);for(i+=n[2];o<i;++o)a._W(-4,P.FATSECT);s(n[3]),s(n[4]);for(var c=0,l=0,u=e.FileIndex[0];c<e.FileIndex.length;++c)(u=e.FileIndex[c]).content&&((l=u.content.length)<4096||(u.start=i,s(l+511>>9)));for(s(n[6]+7>>3);511&a.l;)a._W(-4,P.ENDOFCHAIN);for(i=o=0,c=0;c<e.FileIndex.length;++c)(u=e.FileIndex[c]).content&&(!(l=u.content.length)||l>=4096||(u.start=i,s(l+63>>6)));for(;511&a.l;)a._W(-4,P.ENDOFCHAIN);for(o=0;o<n[4]<<2;++o){var f=e.FullPaths[o];if(f&&0!==f.length){u=e.FileIndex[o],0===o&&(u.start=u.size?u.start-1:T);var h=0===o&&r.root||u.name;if(l=2*(h.length+1),a._W(64,h,"utf16le"),a._W(2,l),a._W(1,u.type),a._W(1,u.color),a._W(-4,u.L),a._W(-4,u.R),a._W(-4,u.C),u.clsid)a._W(16,u.clsid,"hex");else for(c=0;c<4;++c)a._W(4,0);a._W(4,u.state||0),a._W(4,0),a._W(4,0),a._W(4,0),a._W(4,0),a._W(4,u.start),a._W(4,u.size),a._W(4,0)}else{for(c=0;c<17;++c)a._W(4,0);for(c=0;c<3;++c)a._W(4,-1);for(c=0;c<12;++c)a._W(4,0)}}for(o=1;o<e.FileIndex.length;++o)if((u=e.FileIndex[o]).size>=4096)if(a.l=u.start+1<<9,b&&Buffer.isBuffer(u.content))u.content.copy(a,a.l,0,u.size),a.l+=u.size+511&-512;else{for(c=0;c<u.size;++c)a._W(1,u.content[c]);for(;511&c;++c)a._W(1,0)}for(o=1;o<e.FileIndex.length;++o)if((u=e.FileIndex[o]).size>0&&u.size<4096)if(b&&Buffer.isBuffer(u.content))u.content.copy(a,a.l,0,u.size),a.l+=u.size+63&-64;else{for(c=0;c<u.size;++c)a._W(1,u.content[c]);for(;63&c;++c)a._W(1,0)}if(b)a.l=a.length;else for(;a.l<a.length;)a._W(1,0);return a}t.version="1.2.1";var A,k=64,T=-2,C="d0cf11e0a1b11ae1",O=[208,207,17,224,161,177,26,225],R="00000000000000000000000000000000",P={MAXREGSECT:-6,DIFSECT:-4,FATSECT:-3,ENDOFCHAIN:T,FREESECT:-1,HEADER_SIGNATURE:C,HEADER_MINOR_VERSION:"3e00",MAXREGSID:-6,NOSTREAM:-1,HEADER_CLSID:R,EntryTypes:["unknown","storage","stream","lockbytes","property","root"]};function L(e){for(var t=new Array(e.length),r=0;r<e.length;++r)t[r]=String.fromCharCode(e[r]);return t.join("")}function I(e){return A?A.deflateRawSync(e):oe(e)}var F=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],D=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258],M=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577];function j(e){var t=139536&(e<<1|e<<11)|558144&(e<<5|e<<15);return 255&(t>>16|t>>8|t)}for(var B="undefined"!=typeof Uint8Array,W=B?new Uint8Array(256):[],U=0;U<256;++U)W[U]=j(U);function H(e,t){var r=W[255&e];return t<=8?r>>>8-t:(r=r<<8|W[e>>8&255],t<=16?r>>>16-t:(r=r<<8|W[e>>16&255])>>>24-t)}function z(e,t){var r=7&t,n=t>>>3;return(e[n]|(r<=6?0:e[n+1]<<8))>>>r&3}function V(e,t){var r=7&t,n=t>>>3;return(e[n]|(r<=5?0:e[n+1]<<8))>>>r&7}function q(e,t){var r=7&t,n=t>>>3;return(e[n]|(r<=3?0:e[n+1]<<8))>>>r&31}function $(e,t){var r=7&t,n=t>>>3;return(e[n]|(r<=1?0:e[n+1]<<8))>>>r&127}function G(e,t,r){var n=7&t,a=t>>>3,o=(1<<r)-1,i=e[a]>>>n;return r<8-n?i&o:(i|=e[a+1]<<8-n,r<16-n?i&o:(i|=e[a+2]<<16-n,r<24-n?i&o:(i|=e[a+3]<<24-n)&o))}function X(e,t,r){var n=7&t,a=t>>>3;return n<=5?e[a]|=(7&r)<<n:(e[a]|=r<<n&255,e[a+1]=(7&r)>>8-n),t+3}function Y(e,t,r){return r=(1&r)<<(7&t),e[t>>>3]|=r,t+1}function K(e,t,r){var n=t>>>3;return r<<=7&t,e[n]|=255&r,r>>>=8,e[n+1]=r,t+8}function J(e,t,r){var n=t>>>3;return r<<=7&t,e[n]|=255&r,r>>>=8,e[n+1]=255&r,e[n+2]=r>>>8,t+16}function Z(e,t){var r=e.length,n=2*r>t?2*r:t+5,a=0;if(r>=t)return e;if(b){var o=S(n);if(e.copy)e.copy(o);else for(;a<e.length;++a)o[a]=e[a];return o}if(B){var i=new Uint8Array(n);if(i.set)i.set(e);else for(;a<r;++a)i[a]=e[a];return i}return e.length=n,e}function Q(e){for(var t=new Array(e),r=0;r<e;++r)t[r]=0;return t}function ee(e,t,r){var n=1,a=0,o=0,i=0,s=0,c=e.length,l=B?new Uint16Array(32):Q(32);for(o=0;o<32;++o)l[o]=0;for(o=c;o<r;++o)e[o]=0;c=e.length;var u=B?new Uint16Array(c):Q(c);for(o=0;o<c;++o)l[a=e[o]]++,n<a&&(n=a),u[o]=0;for(l[0]=0,o=1;o<=n;++o)l[o+16]=s=s+l[o-1]<<1;for(o=0;o<c;++o)0!=(s=e[o])&&(u[o]=l[s+16]++);var f=0;for(o=0;o<c;++o)if(0!=(f=e[o]))for(s=H(u[o],n)>>n-f,i=(1<<n+4-f)-1;i>=0;--i)t[s|i<<f]=15&f|o<<4;return n}var te=B?new Uint16Array(512):Q(512),re=B?new Uint16Array(32):Q(32);if(!B){for(var ne=0;ne<512;++ne)te[ne]=0;for(ne=0;ne<32;++ne)re[ne]=0}!function(){for(var e=[],t=0;t<32;t++)e.push(5);ee(e,re,32);var r=[];for(t=0;t<=143;t++)r.push(8);for(;t<=255;t++)r.push(9);for(;t<=279;t++)r.push(7);for(;t<=287;t++)r.push(8);ee(r,te,288)}();var ae=function(){for(var e=B?new Uint8Array(32768):[],t=0,r=0;t<M.length-1;++t)for(;r<M[t+1];++r)e[r]=t;for(;r<32768;++r)e[r]=29;var n=B?new Uint8Array(259):[];for(t=0,r=0;t<D.length-1;++t)for(;r<D[t+1];++r)n[r]=t;function a(t,r){for(var a=0,o=0,i=B?new Uint16Array(32768):[];o<t.length;){var s=Math.min(65535,t.length-o);if(s<10){for(7&(a=X(r,a,+!(o+s!=t.length)))&&(a+=8-(7&a)),r.l=a/8|0,r._W(2,s),r._W(2,65535&~s);s-- >0;)r[r.l++]=t[o++];a=8*r.l}else{a=X(r,a,+!(o+s!=t.length)+2);for(var c=0;s-- >0;){var l=t[o],u=-1,f=0;if((u=i[c=32767&(c<<5^l)])&&((u|=-32768&o)>o&&(u-=32768),u<o))for(;t[u+f]==t[o+f]&&f<250;)++f;if(f>2){(l=n[f])<=22?a=K(r,a,W[l+1]>>1)-1:(K(r,a,3),K(r,a+=5,W[l-23]>>5),a+=3);var h=l<8?0:l-4>>2;h>0&&(J(r,a,f-D[l]),a+=h),l=e[o-u],a=K(r,a,W[l]>>3),a-=3;var d=l<4?0:l-2>>1;d>0&&(J(r,a,o-u-M[l]),a+=d);for(var p=0;p<f;++p)i[c]=32767&o,c=32767&(c<<5^t[o]),++o;s-=f-1}else l<=143?l+=48:a=Y(r,a,1),a=K(r,a,W[l]),i[c]=32767&o,++o}a=K(r,a,0)-1}}return r.l=(a+7)/8|0,r.l}return function(e,t){return e.length<8?function(e,t){for(var r=0;r<e.length;){var n=Math.min(65535,e.length-r),a=r+n==e.length;for(t._W(1,+a),t._W(2,n),t._W(2,65535&~n);n-- >0;)t[t.l++]=e[r++]}return t.l}(e,t):a(e,t)}}();function oe(e){var t=Rr(50+Math.floor(1.1*e.length)),r=ae(e,t);return t.slice(0,r)}var ie=B?new Uint16Array(32768):Q(32768),se=B?new Uint16Array(32768):Q(32768),ce=B?new Uint16Array(128):Q(128),le=1,ue=1;function fe(e,t){var r=q(e,t)+257,n=q(e,t+=5)+1,a=function(e,t){var r=7&t,n=t>>>3;return(e[n]|(r<=4?0:e[n+1]<<8))>>>r&15}(e,t+=5)+4;t+=4;for(var o=0,i=B?new Uint8Array(19):Q(19),s=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],c=1,l=B?new Uint8Array(8):Q(8),u=B?new Uint8Array(8):Q(8),f=i.length,h=0;h<a;++h)i[F[h]]=o=V(e,t),c<o&&(c=o),l[o]++,t+=3;var d=0;for(l[0]=0,h=1;h<=c;++h)u[h]=d=d+l[h-1]<<1;for(h=0;h<f;++h)0!=(d=i[h])&&(s[h]=u[d]++);var p=0;for(h=0;h<f;++h)if(0!=(p=i[h])){d=W[s[h]]>>8-p;for(var g=(1<<7-p)-1;g>=0;--g)ce[d|g<<p]=7&p|h<<3}var m=[];for(c=1;m.length<r+n;)switch(t+=7&(d=ce[$(e,t)]),d>>>=3){case 16:for(o=3+z(e,t),t+=2,d=m[m.length-1];o-- >0;)m.push(d);break;case 17:for(o=3+V(e,t),t+=3;o-- >0;)m.push(0);break;case 18:for(o=11+$(e,t),t+=7;o-- >0;)m.push(0);break;default:m.push(d),c<d&&(c=d)}var v=m.slice(0,r),b=m.slice(r);for(h=r;h<286;++h)v[h]=0;for(h=n;h<30;++h)b[h]=0;return le=ee(v,ie,286),ue=ee(b,se,30),t}function he(e,t){var r=function(e,t){if(3==e[0]&&!(3&e[1]))return[w(t),2];for(var r=0,n=0,a=S(t||1<<18),o=0,i=a.length>>>0,s=0,c=0;0==(1&n);)if(n=V(e,r),r+=3,n>>>1!=0)for(n>>1==1?(s=9,c=5):(r=fe(e,r),s=le,c=ue);;){!t&&i<o+32767&&(i=(a=Z(a,o+32767)).length);var l=G(e,r,s),u=n>>>1==1?te[l]:ie[l];if(r+=15&u,0==((u>>>=4)>>>8&255))a[o++]=u;else{if(256==u)break;var f=(u-=257)<8?0:u-4>>2;f>5&&(f=0);var h=o+D[u];f>0&&(h+=G(e,r,f),r+=f),l=G(e,r,c),r+=15&(u=n>>>1==1?re[l]:se[l]);var d=(u>>>=4)<4?0:u-2>>1,p=M[u];for(d>0&&(p+=G(e,r,d),r+=d),!t&&i<h&&(i=(a=Z(a,h+100)).length);o<h;)a[o]=a[o-p],++o}}else{7&r&&(r+=8-(7&r));var g=e[r>>>3]|e[1+(r>>>3)]<<8;if(r+=32,g>0)for(!t&&i<o+g&&(i=(a=Z(a,o+g)).length);g-- >0;)a[o++]=e[r>>>3],r+=8}return t?[a,r+7>>>3]:[a.slice(0,o),r+7>>>3]}(e.slice(e.l||0),t);return e.l+=r[1],r[0]}function de(e,t){if(!e)throw new Error(t);"undefined"!=typeof console&&console.error(t)}function pe(e,t){var r=e;Cr(r,0);var n={FileIndex:[],FullPaths:[]};d(n,{root:t.root});for(var a=r.length-4;(80!=r[a]||75!=r[a+1]||5!=r[a+2]||6!=r[a+3])&&a>=0;)--a;r.l=a+4,r.l+=4;var i=r._R(2);r.l+=6;var s=r._R(4);for(r.l=s,a=0;a<i;++a){r.l+=20;var c=r._R(4),l=r._R(4),u=r._R(2),f=r._R(2),h=r._R(2);r.l+=8;var p=r._R(4),g=o(r.slice(r.l+u,r.l+u+f));r.l+=u+f+h;var m=r.l;r.l=p+4,ge(r,c,l,n,g),r.l=m}return n}function ge(e,t,r,n,a){e.l+=2;var i=e._R(2),s=e._R(2),c=function(e){var t=65535&e._R(2),r=65535&e._R(2),n=new Date,a=31&r,o=15&(r>>>=5);r>>>=4,n.setMilliseconds(0),n.setFullYear(r+1980),n.setMonth(o-1),n.setDate(a);var i=31&t,s=63&(t>>>=5);return t>>>=6,n.setHours(t),n.setMinutes(s),n.setSeconds(i<<1),n}(e);if(8257&i)throw new Error("Unsupported ZIP encryption");e._R(4);for(var l=e._R(4),u=e._R(4),f=e._R(2),h=e._R(2),d="",p=0;p<f;++p)d+=String.fromCharCode(e[e.l++]);if(h){var g=o(e.slice(e.l,e.l+h));(g[21589]||{}).mt&&(c=g[21589].mt),((a||{})[21589]||{}).mt&&(c=a[21589].mt)}e.l+=h;var m=e.slice(e.l,e.l+l);switch(s){case 8:m=function(e,t){if(!A)return he(e,t);var r=new(0,A.InflateRaw),n=r._processChunk(e.slice(e.l),r._finishFlushFlag);return e.l+=r.bytesRead,n}(e,u);break;case 0:break;default:throw new Error("Unsupported ZIP Compression method "+s)}var v=!1;8&i&&(134695760==e._R(4)&&(e._R(4),v=!0),l=e._R(4),u=e._R(4)),l!=t&&de(v,"Bad compressed size: "+t+" != "+l),u!=r&&de(v,"Bad uncompressed size: "+r+" != "+u),Ae(n,d,m,{unsafe:!0,mt:c})}function me(e,t){var r=t||{},n=[],o=[],i=Rr(1),s=r.compression?8:0,c=0;var l=0,u=0,f=0,h=0,d=e.FullPaths[0],p=d,g=e.FileIndex[0],m=[],v=0;for(l=1;l<e.FullPaths.length;++l)if(p=e.FullPaths[l].slice(d.length),(g=e.FileIndex[l]).size&&g.content&&"Sh33tJ5"!=p){var b=f,y=Rr(p.length);for(u=0;u<p.length;++u)y._W(1,127&p.charCodeAt(u));y=y.slice(0,y.l),m[h]=Te.buf(g.content,0);var w=g.content;8==s&&(w=I(w)),(i=Rr(30))._W(4,67324752),i._W(2,20),i._W(2,c),i._W(2,s),g.mt?a(i,g.mt):i._W(4,0),i._W(-4,8&c?0:m[h]),i._W(4,8&c?0:w.length),i._W(4,8&c?0:g.content.length),i._W(2,y.length),i._W(2,0),f+=i.length,n.push(i),f+=y.length,n.push(y),f+=w.length,n.push(w),8&c&&((i=Rr(12))._W(-4,m[h]),i._W(4,w.length),i._W(4,g.content.length),f+=i.l,n.push(i)),(i=Rr(46))._W(4,33639248),i._W(2,0),i._W(2,20),i._W(2,c),i._W(2,s),i._W(4,0),i._W(-4,m[h]),i._W(4,w.length),i._W(4,g.content.length),i._W(2,y.length),i._W(2,0),i._W(2,0),i._W(2,0),i._W(2,0),i._W(4,0),i._W(4,b),v+=i.l,o.push(i),v+=y.length,o.push(y),++h}return(i=Rr(22))._W(4,101010256),i._W(2,0),i._W(2,0),i._W(2,h),i._W(2,h),i._W(4,v),i._W(4,f),i._W(2,0),E([E(n),E(o),i])}var ve={htm:"text/html",xml:"text/xml",gif:"image/gif",jpg:"image/jpeg",png:"image/png",mso:"application/x-mso",thmx:"application/vnd.ms-officetheme",sh33tj5:"application/octet-stream"};function be(e,t){if(e.ctype)return e.ctype;var r=e.name||"",n=r.match(/\.([^\.]+)$/);return n&&ve[n[1]]||t&&(n=(r=t).match(/[\.\\]([^\.\\])+$/))&&ve[n[1]]?ve[n[1]]:"application/octet-stream"}function ye(e){for(var t=m(e),r=[],n=0;n<t.length;n+=76)r.push(t.slice(n,n+76));return r.join("\r\n")+"\r\n"}function we(e){var t=e.replace(/[\x00-\x08\x0B\x0C\x0E-\x1F\x7E-\xFF=]/g,(function(e){var t=e.charCodeAt(0).toString(16).toUpperCase();return"="+(1==t.length?"0"+t:t)}));"\n"==(t=t.replace(/ $/gm,"=20").replace(/\t$/gm,"=09")).charAt(0)&&(t="=0D"+t.slice(1));for(var r=[],n=(t=t.replace(/\r(?!\n)/gm,"=0D").replace(/\n\n/gm,"\n=0A").replace(/([^\r\n])\n/gm,"$1=0A")).split("\r\n"),a=0;a<n.length;++a){var o=n[a];if(0!=o.length)for(var i=0;i<o.length;){var s=76,c=o.slice(i,i+s);"="==c.charAt(s-1)?s--:"="==c.charAt(s-2)?s-=2:"="==c.charAt(s-3)&&(s-=3),c=o.slice(i,i+s),(i+=s)<o.length&&(c+="="),r.push(c)}else r.push("")}return r.join("\r\n")}function Se(e,t,r){for(var n,a="",o="",i="",s=0;s<10;++s){var c=t[s];if(!c||c.match(/^\s*$/))break;var l=c.match(/^(.*?):\s*([^\s].*)$/);if(l)switch(l[1].toLowerCase()){case"content-location":a=l[2].trim();break;case"content-type":i=l[2].trim();break;case"content-transfer-encoding":o=l[2].trim()}}switch(++s,o.toLowerCase()){case"base64":n=x(v(t.slice(s).join("")));break;case"quoted-printable":n=function(e){for(var t=[],r=0;r<e.length;++r){for(var n=e[r];r<=e.length&&"="==n.charAt(n.length-1);)n=n.slice(0,n.length-1)+e[++r];t.push(n)}for(var a=0;a<t.length;++a)t[a]=t[a].replace(/[=][0-9A-Fa-f]{2}/g,(function(e){return String.fromCharCode(parseInt(e.slice(1),16))}));return x(t.join("\r\n"))}(t.slice(s));break;default:throw new Error("Unsupported Content-Transfer-Encoding "+o)}var u=Ae(e,a.slice(r.length),n,{unsafe:!0});i&&(u.ctype=i)}function xe(e,t){if("mime-version:"!=L(e.slice(0,13)).toLowerCase())throw new Error("Unsupported MAD header");var r=t&&t.root||"",n=(b&&Buffer.isBuffer(e)?e.toString("binary"):L(e)).split("\r\n"),a=0,o="";for(a=0;a<n.length;++a)if(o=n[a],/^Content-Location:/i.test(o)&&(o=o.slice(o.indexOf("file")),r||(r=o.slice(0,o.lastIndexOf("/")+1)),o.slice(0,r.length)!=r))for(;r.length>0&&(r=(r=r.slice(0,r.length-1)).slice(0,r.lastIndexOf("/")+1),o.slice(0,r.length)!=r););var i=(n[1]||"").match(/boundary="(.*?)"/);if(!i)throw new Error("MAD cannot find boundary");var s="--"+(i[1]||""),c={FileIndex:[],FullPaths:[]};d(c);var l,u=0;for(a=0;a<n.length;++a){var f=n[a];f!==s&&f!==s+"--"||(u++&&Se(c,n.slice(l,a),r),l=a)}return c}function Ae(e,t,r,a){var o=a&&a.unsafe;o||d(e);var i=!o&&Ee.find(e,t);if(!i){var s=e.FullPaths[0];t.slice(0,s.length)==s?s=t:("/"!=s.slice(-1)&&(s+="/"),s=(s+t).replace("//","/")),i={name:n(t),type:2},e.FileIndex.push(i),e.FullPaths.push(s),o||Ee.utils.cfb_gc(e)}return i.content=r,i.size=r?r.length:0,a&&(a.CLSID&&(i.clsid=a.CLSID),a.mt&&(i.mt=a.mt),a.ct&&(i.ct=a.ct)),i}return t.find=function(e,t){var r=e.FullPaths.map((function(e){return e.toUpperCase()})),n=r.map((function(e){var t=e.split("/");return t[t.length-("/"==e.slice(-1)?2:1)]})),a=!1;47===t.charCodeAt(0)?(a=!0,t=r[0].slice(0,-1)+t):a=-1!==t.indexOf("/");var o=t.toUpperCase(),i=!0===a?r.indexOf(o):n.indexOf(o);if(-1!==i)return e.FileIndex[i];var s=!o.match(N);for(o=o.replace(_,""),s&&(o=o.replace(N,"!")),i=0;i<r.length;++i){if((s?r[i].replace(N,"!"):r[i]).replace(_,"")==o)return e.FileIndex[i];if((s?n[i].replace(N,"!"):n[i]).replace(_,"")==o)return e.FileIndex[i]}return null},t.read=function(t,r){var n=r&&r.type;switch(n||b&&Buffer.isBuffer(t)&&(n="buffer"),n||"base64"){case"file":return function(t,r){return i(),s(e.readFileSync(t),r)}(t,r);case"base64":return s(x(v(t)),r);case"binary":return s(x(t),r)}return s(t,r)},t.parse=s,t.write=function(t,r){var n=g(t,r);switch(r&&r.type||"buffer"){case"file":return i(),e.writeFileSync(r.filename,n),n;case"binary":return"string"==typeof n?n:L(n);case"base64":return m("string"==typeof n?n:L(n));case"buffer":if(b)return Buffer.isBuffer(n)?n:y(n);case"array":return"string"==typeof n?x(n):n}return n},t.writeFile=function(t,r,n){i();var a=g(t,n);e.writeFileSync(r,a)},t.utils={cfb_new:function(e){var t={};return d(t,e),t},cfb_add:Ae,cfb_del:function(e,t){d(e);var r=Ee.find(e,t);if(r)for(var n=0;n<e.FileIndex.length;++n)if(e.FileIndex[n]==r)return e.FileIndex.splice(n,1),e.FullPaths.splice(n,1),!0;return!1},cfb_mov:function(e,t,r){d(e);var a=Ee.find(e,t);if(a)for(var o=0;o<e.FileIndex.length;++o)if(e.FileIndex[o]==a)return e.FileIndex[o].name=n(r),e.FullPaths[o]=r,!0;return!1},cfb_gc:function(e){p(e,!0)},ReadShift:Ar,CheckField:Nr,prep_blob:Cr,bconcat:E,use_zlib:function(e){try{var t=new(0,e.InflateRaw);if(t._processChunk(new Uint8Array([3,0]),t._finishFlushFlag),!t.bytesRead)throw new Error("zlib does not expose bytesRead");A=e}catch(e){console.error("cannot use native zlib: "+(e.message||e))}},_deflateRaw:oe,_inflateRaw:he,consts:P},t}();if("undefined"!=typeof require)try{ke=void 0}catch(e){}function _e(e){return"string"==typeof e?A(e):Array.isArray(e)?function(e){if("undefined"==typeof Uint8Array)throw new Error("Unsupported");return new Uint8Array(e)}(e):e}function Ne(e,t,r){if(void 0!==ke&&ke.writeFileSync)return r?ke.writeFileSync(e,t,r):ke.writeFileSync(e,t);if("undefined"!=typeof Deno){if(r&&"string"==typeof t)switch(r){case"utf8":t=new TextEncoder(r).encode(t);break;case"binary":t=A(t);break;default:throw new Error("Unsupported encoding "+r)}return Deno.writeFileSync(e,t)}var n="utf8"==r?Lt(t):t;if("undefined"!=typeof IE_SaveFile)return IE_SaveFile(n,e);if("undefined"!=typeof Blob){var a=new Blob([_e(n)],{type:"application/octet-stream"});if("undefined"!=typeof navigator&&navigator.msSaveBlob)return navigator.msSaveBlob(a,e);if(void 0!==saveAs)return saveAs(a,e);if("undefined"!=typeof URL&&"undefined"!=typeof document&&document.createElement&&URL.createObjectURL){var o=URL.createObjectURL(a);if("object"==typeof chrome&&"function"==typeof(chrome.downloads||{}).download)return URL.revokeObjectURL&&"undefined"!=typeof setTimeout&&setTimeout((function(){URL.revokeObjectURL(o)}),6e4),chrome.downloads.download({url:o,filename:e,saveAs:!0});var i=document.createElement("a");if(null!=i.download)return i.download=e,i.href=o,document.body.appendChild(i),i.click(),document.body.removeChild(i),URL.revokeObjectURL&&"undefined"!=typeof setTimeout&&setTimeout((function(){URL.revokeObjectURL(o)}),6e4),o}}if("undefined"!=typeof $&&"undefined"!=typeof File&&"undefined"!=typeof Folder)try{var s=File(e);return s.open("w"),s.encoding="binary",Array.isArray(t)&&(t=k(t)),s.write(t),s.close(),t}catch(e){if(!e.message||!e.message.match(/onstruct/))throw e}throw new Error("cannot save file "+e)}function Ce(e){for(var t=Object.keys(e),r=[],n=0;n<t.length;++n)Object.prototype.hasOwnProperty.call(e,t[n])&&r.push(t[n]);return r}function Oe(e,t){for(var r=[],n=Ce(e),a=0;a!==n.length;++a)null==r[e[n[a]][t]]&&(r[e[n[a]][t]]=n[a]);return r}function Re(e){for(var t=[],r=Ce(e),n=0;n!==r.length;++n)t[e[r[n]]]=r[n];return t}function Pe(e){for(var t=[],r=Ce(e),n=0;n!==r.length;++n)t[e[r[n]]]=parseInt(r[n],10);return t}var Le=new Date(1899,11,30,0,0,0);function Ie(e,t){var r=e.getTime();return t&&(r-=1263168e5),(r-(Le.getTime()+6e4*(e.getTimezoneOffset()-Le.getTimezoneOffset())))/864e5}var Fe=new Date,De=Le.getTime()+6e4*(Fe.getTimezoneOffset()-Le.getTimezoneOffset()),Me=Fe.getTimezoneOffset();function je(e){var t=new Date;return t.setTime(24*e*60*60*1e3+De),t.getTimezoneOffset()!==Me&&t.setTime(t.getTime()+6e4*(t.getTimezoneOffset()-Me)),t}function Be(e){var t=0,r=0,n=!1,a=e.match(/P([0-9\.]+Y)?([0-9\.]+M)?([0-9\.]+D)?T([0-9\.]+H)?([0-9\.]+M)?([0-9\.]+S)?/);if(!a)throw new Error("|"+e+"| is not an ISO8601 Duration");for(var o=1;o!=a.length;++o)if(a[o]){switch(r=1,o>3&&(n=!0),a[o].slice(a[o].length-1)){case"Y":throw new Error("Unsupported ISO Duration Field: "+a[o].slice(a[o].length-1));case"D":r*=24;case"H":r*=60;case"M":if(!n)throw new Error("Unsupported ISO Duration Field: M");r*=60}t+=r*parseInt(a[o],10)}return t}var We=new Date("2017-02-19T19:06:09.000Z"),Ue=isNaN(We.getFullYear())?new Date("2/19/17"):We,He=2017==Ue.getFullYear();function ze(e,t){var r=new Date(e);if(He)return t>0?r.setTime(r.getTime()+60*r.getTimezoneOffset()*1e3):t<0&&r.setTime(r.getTime()-60*r.getTimezoneOffset()*1e3),r;if(e instanceof Date)return e;if(1917==Ue.getFullYear()&&!isNaN(r.getFullYear())){var n=r.getFullYear();return e.indexOf(""+n)>-1||r.setFullYear(r.getFullYear()+100),r}var a=e.match(/\d+/g)||["2017","2","19","0","0","0"],o=new Date(+a[0],+a[1]-1,+a[2],+a[3]||0,+a[4]||0,+a[5]||0);return e.indexOf("Z")>-1&&(o=new Date(o.getTime()-60*o.getTimezoneOffset()*1e3)),o}function Ve(e,t){if(b&&Buffer.isBuffer(e)){if(t){if(255==e[0]&&254==e[1])return Lt(e.slice(2).toString("utf16le"));if(254==e[1]&&255==e[2])return Lt(u(e.slice(2).toString("binary")))}return e.toString("binary")}if("undefined"!=typeof TextDecoder)try{if(t){if(255==e[0]&&254==e[1])return Lt(new TextDecoder("utf-16le").decode(e.slice(2)));if(254==e[0]&&255==e[1])return Lt(new TextDecoder("utf-16be").decode(e.slice(2)))}var r={"€":"","‚":"","ƒ":"","„":"","…":" ","†":"","‡":"","ˆ":"","‰":"","Š":"","‹":"","Œ":"","Ž":"","‘":"","’":"","“":"","”":"","•":"","–":"","—":"","˜":"","™":"","š":"","›":"","œ":"","ž":"","Ÿ":""};return Array.isArray(e)&&(e=new Uint8Array(e)),new TextDecoder("latin1").decode(e).replace(/[€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ]/g,(function(e){return r[e]||e}))}catch(e){}for(var n=[],a=0;a!=e.length;++a)n.push(String.fromCharCode(e[a]));return n.join("")}function qe(e){if("undefined"!=typeof JSON&&!Array.isArray(e))return JSON.parse(JSON.stringify(e));if("object"!=typeof e||null==e)return e;if(e instanceof Date)return new Date(e.getTime());var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=qe(e[r]));return t}function $e(e,t){for(var r="";r.length<t;)r+=e;return r}function Ge(e){var t=Number(e);if(!isNaN(t))return isFinite(t)?t:NaN;if(!/\d/.test(e))return t;var r=1,n=e.replace(/([\d]),([\d])/g,"$1$2").replace(/[$]/g,"").replace(/[%]/g,(function(){return r*=100,""}));return isNaN(t=Number(n))?(n=n.replace(/[(](.*)[)]/,(function(e,t){return r=-r,t})),isNaN(t=Number(n))?t:t/r):t/r}var Xe=["january","february","march","april","may","june","july","august","september","october","november","december"];function Ye(e){var t=new Date(e),r=new Date(NaN),n=t.getYear(),a=t.getMonth(),o=t.getDate();if(isNaN(o))return r;var i=e.toLowerCase();if(i.match(/jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec/)){if((i=i.replace(/[^a-z]/g,"").replace(/([^a-z]|^)[ap]m?([^a-z]|$)/,"")).length>3&&-1==Xe.indexOf(i))return r}else if(i.match(/[a-z]/))return r;return n<0||n>8099?r:(a>0||o>1)&&101!=n?t:e.match(/[^-0-9:,\/\\]/)?r:t}var Ke=function(){var e=5=="abacaba".split(/(:?b)/i).length;return function(t,r,n){if(e||"string"==typeof r)return t.split(r);for(var a=t.split(r),o=[a[0]],i=1;i<a.length;++i)o.push(n),o.push(a[i]);return o}}();function Je(e){return e?e.content&&e.type?Ve(e.content,!0):e.data?f(e.data):e.asNodeBuffer&&b?f(e.asNodeBuffer().toString("binary")):e.asBinary?f(e.asBinary()):e._data&&e._data.getContent?f(Ve(Array.prototype.slice.call(e._data.getContent(),0))):null:null}function Ze(e){if(!e)return null;if(e.data)return l(e.data);if(e.asNodeBuffer&&b)return e.asNodeBuffer();if(e._data&&e._data.getContent){var t=e._data.getContent();return"string"==typeof t?l(t):Array.prototype.slice.call(t)}return e.content&&e.type?e.content:null}function Qe(e,t){for(var r=e.FullPaths||Ce(e.files),n=t.toLowerCase().replace(/[\/]/g,"\\"),a=n.replace(/\\/g,"/"),o=0;o<r.length;++o){var i=r[o].replace(/^Root Entry[\/]/,"").toLowerCase();if(n==i||a==i)return e.files?e.files[r[o]]:e.FileIndex[o]}return null}function et(e,t){var r=Qe(e,t);if(null==r)throw new Error("Cannot find file "+t+" in zip");return r}function tt(e,t,r){if(!r)return function(e){return e&&".bin"===e.name.slice(-4)?Ze(e):Je(e)}(et(e,t));if(!t)return null;try{return tt(e,t)}catch(e){return null}}function rt(e,t,r){if(!r)return Je(et(e,t));if(!t)return null;try{return rt(e,t)}catch(e){return null}}function nt(e,t,r){if(!r)return Ze(et(e,t));if(!t)return null;try{return nt(e,t)}catch(e){return null}}function at(e){for(var t=e.FullPaths||Ce(e.files),r=[],n=0;n<t.length;++n)"/"!=t[n].slice(-1)&&r.push(t[n].replace(/^Root Entry[\/]/,""));return r.sort()}function ot(e,t,r){if(e.FullPaths){var n;if("string"==typeof r)return n=b?y(r):function(e){for(var t=[],r=0,n=e.length+250,a=w(e.length+255),o=0;o<e.length;++o){var i=e.charCodeAt(o);if(i<128)a[r++]=i;else if(i<2048)a[r++]=192|i>>6&31,a[r++]=128|63&i;else if(i>=55296&&i<57344){i=64+(1023&i);var s=1023&e.charCodeAt(++o);a[r++]=240|i>>8&7,a[r++]=128|i>>2&63,a[r++]=128|s>>6&15|(3&i)<<4,a[r++]=128|63&s}else a[r++]=224|i>>12&15,a[r++]=128|i>>6&63,a[r++]=128|63&i;r>n&&(t.push(a.slice(0,r)),r=0,a=w(65535),n=65530)}return t.push(a.slice(0,r)),E(t)}(r),Ee.utils.cfb_add(e,t,n);Ee.utils.cfb_add(e,t,r)}else e.file(t,r)}function it(){return Ee.utils.cfb_new()}function st(e,t){switch(t.type){case"base64":return Ee.read(e,{type:"base64"});case"binary":return Ee.read(e,{type:"binary"});case"buffer":case"array":return Ee.read(e,{type:"buffer"})}throw new Error("Unrecognized type "+t.type)}function ct(e,t){if("/"==e.charAt(0))return e.slice(1);var r=t.split("/");"/"!=t.slice(-1)&&r.pop();for(var n=e.split("/");0!==n.length;){var a=n.shift();".."===a?r.pop():"."!==a&&r.push(a)}return r.join("/")}var lt='<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\r\n',ut=/([^"\s?>\/]+)\s*=\s*((?:")([^"]*)(?:")|(?:')([^']*)(?:')|([^'">\s]+))/g,ft=/<[\/\?]?[a-zA-Z0-9:_-]+(?:\s+[^"\s?>\/]+\s*=\s*(?:"[^"]*"|'[^']*'|[^'">\s=]+))*\s*[\/\?]?>/gm,ht=lt.match(ft)?ft:/<[^>]*>/g,dt=/<\w*:/,pt=/<(\/?)\w+:/;function gt(e,t,r){for(var n={},a=0,o=0;a!==e.length&&(32!==(o=e.charCodeAt(a))&&10!==o&&13!==o);++a);if(t||(n[0]=e.slice(0,a)),a===e.length)return n;var i=e.match(ut),s=0,c="",l=0,u="",f="",h=1;if(i)for(l=0;l!=i.length;++l){for(f=i[l],o=0;o!=f.length&&61!==f.charCodeAt(o);++o);for(u=f.slice(0,o).trim();32==f.charCodeAt(o+1);)++o;for(h=34==(a=f.charCodeAt(o+1))||39==a?1:0,c=f.slice(o+1+h,f.length-h),s=0;s!=u.length&&58!==u.charCodeAt(s);++s);if(s===u.length)u.indexOf("_")>0&&(u=u.slice(0,u.indexOf("_"))),n[u]=c,r||(n[u.toLowerCase()]=c);else{var d=(5===s&&"xmlns"===u.slice(0,5)?"xmlns":"")+u.slice(s+1);if(n[d]&&"ext"==u.slice(s-3,s))continue;n[d]=c,r||(n[d.toLowerCase()]=c)}}return n}function mt(e){return e.replace(pt,"<$1")}var vt={""":'"',"'":"'",">":">","<":"<","&":"&"},bt=Re(vt),yt=function(){var e=/&(?:quot|apos|gt|lt|amp|#x?([\da-fA-F]+));/gi,t=/_x([\da-fA-F]{4})_/gi;return function r(n){var a=n+"",o=a.indexOf("<![CDATA[");if(-1==o)return a.replace(e,(function(e,t){return vt[e]||String.fromCharCode(parseInt(t,e.indexOf("x")>-1?16:10))||e})).replace(t,(function(e,t){return String.fromCharCode(parseInt(t,16))}));var i=a.indexOf("]]>");return r(a.slice(0,o))+a.slice(o+9,i)+r(a.slice(i+3))}}(),wt=/[&<>'"]/g,St=/[\u0000-\u0008\u000b-\u001f]/g;function xt(e){return(e+"").replace(wt,(function(e){return bt[e]})).replace(St,(function(e){return"_x"+("000"+e.charCodeAt(0).toString(16)).slice(-4)+"_"}))}function At(e){return xt(e).replace(/ /g,"_x0020_")}var kt=/[\u0000-\u001f]/g;function Tt(e){return(e+"").replace(wt,(function(e){return bt[e]})).replace(/\n/g,"<br/>").replace(kt,(function(e){return"&#x"+("000"+e.charCodeAt(0).toString(16)).slice(-4)+";"}))}var Et=function(){var e=/&#(\d+);/g;function t(e,t){return String.fromCharCode(parseInt(t,10))}return function(r){return r.replace(e,t)}}();function _t(e){switch(e){case 1:case!0:case"1":case"true":case"TRUE":return!0;default:return!1}}function Nt(e){for(var t="",r=0,n=0,a=0,o=0,i=0,s=0;r<e.length;)(n=e.charCodeAt(r++))<128?t+=String.fromCharCode(n):(a=e.charCodeAt(r++),n>191&&n<224?(i=(31&n)<<6,i|=63&a,t+=String.fromCharCode(i)):(o=e.charCodeAt(r++),n<240?t+=String.fromCharCode((15&n)<<12|(63&a)<<6|63&o):(s=((7&n)<<18|(63&a)<<12|(63&o)<<6|63&(i=e.charCodeAt(r++)))-65536,t+=String.fromCharCode(55296+(s>>>10&1023)),t+=String.fromCharCode(56320+(1023&s)))));return t}function Ct(e){var t,r,n,a=w(2*e.length),o=1,i=0,s=0;for(r=0;r<e.length;r+=o)o=1,(n=e.charCodeAt(r))<128?t=n:n<224?(t=64*(31&n)+(63&e.charCodeAt(r+1)),o=2):n<240?(t=4096*(15&n)+64*(63&e.charCodeAt(r+1))+(63&e.charCodeAt(r+2)),o=3):(o=4,t=262144*(7&n)+4096*(63&e.charCodeAt(r+1))+64*(63&e.charCodeAt(r+2))+(63&e.charCodeAt(r+3)),s=55296+((t-=65536)>>>10&1023),t=56320+(1023&t)),0!==s&&(a[i++]=255&s,a[i++]=s>>>8,s=0),a[i++]=t%256,a[i++]=t>>>8;return a.slice(0,i).toString("ucs2")}function Ot(e){return y(e,"binary").toString("utf8")}var Rt="foo bar bazâð£",Pt=b&&(Ot(Rt)==Nt(Rt)&&Ot||Ct(Rt)==Nt(Rt)&&Ct)||Nt,Lt=b?function(e){return y(e,"utf8").toString("binary")}:function(e){for(var t=[],r=0,n=0,a=0;r<e.length;)switch(n=e.charCodeAt(r++),!0){case n<128:t.push(String.fromCharCode(n));break;case n<2048:t.push(String.fromCharCode(192+(n>>6))),t.push(String.fromCharCode(128+(63&n)));break;case n>=55296&&n<57344:n-=55296,a=e.charCodeAt(r++)-56320+(n<<10),t.push(String.fromCharCode(240+(a>>18&7))),t.push(String.fromCharCode(144+(a>>12&63))),t.push(String.fromCharCode(128+(a>>6&63))),t.push(String.fromCharCode(128+(63&a)));break;default:t.push(String.fromCharCode(224+(n>>12))),t.push(String.fromCharCode(128+(n>>6&63))),t.push(String.fromCharCode(128+(63&n)))}return t.join("")},It=function(){var e={};return function(t,r){var n=t+"|"+(r||"");return e[n]?e[n]:e[n]=new RegExp("<(?:\\w+:)?"+t+'(?: xml:space="preserve")?(?:[^>]*)>([\\s\\S]*?)</(?:\\w+:)?'+t+">",r||"")}}(),Ft=function(){var e=[["nbsp"," "],["middot","·"],["quot",'"'],["apos","'"],["gt",">"],["lt","<"],["amp","&"]].map((function(e){return[new RegExp("&"+e[0]+";","ig"),e[1]]}));return function(t){for(var r=t.replace(/^[\t\n\r ]+/,"").replace(/[\t\n\r ]+$/,"").replace(/>\s+/g,">").replace(/\s+</g,"<").replace(/[\t\n\r ]+/g," ").replace(/<\s*[bB][rR]\s*\/?>/g,"\n").replace(/<[^>]*>/g,""),n=0;n<e.length;++n)r=r.replace(e[n][0],e[n][1]);return r}}(),Dt=function(){var e={};return function(t){return void 0!==e[t]?e[t]:e[t]=new RegExp("<(?:vt:)?"+t+">([\\s\\S]*?)</(?:vt:)?"+t+">","g")}}(),Mt=/<\/?(?:vt:)?variant>/g,jt=/<(?:vt:)([^>]*)>([\s\S]*)</;function Bt(e,t){var r=gt(e),n=e.match(Dt(r.baseType))||[],a=[];if(n.length!=r.size){if(t.WTF)throw new Error("unexpected vector length "+n.length+" != "+r.size);return a}return n.forEach((function(e){var t=e.replace(Mt,"").match(jt);t&&a.push({v:Pt(t[2]),t:t[1]})})),a}var Wt=/(^\s|\s$|\n)/;function Ut(e,t){return"<"+e+(t.match(Wt)?' xml:space="preserve"':"")+">"+t+"</"+e+">"}function Ht(e){return Ce(e).map((function(t){return" "+t+'="'+e[t]+'"'})).join("")}function zt(e,t,r){return"<"+e+(null!=r?Ht(r):"")+(null!=t?(t.match(Wt)?' xml:space="preserve"':"")+">"+t+"</"+e:"/")+">"}function Vt(e,t){try{return e.toISOString().replace(/\.\d*/,"")}catch(e){if(t)throw e}return""}function qt(e){if(b&&Buffer.isBuffer(e))return e.toString("utf8");if("string"==typeof e)return e;if("undefined"!=typeof Uint8Array&&e instanceof Uint8Array)return Pt(k(T(e)));throw new Error("Bad input format: expected Buffer or string")}var $t=/<(\/?)([^\s?><!\/:]*:|)([^\s?<>:\/]+)(?:[\s?:\/][^>]*)?>/gm,Gt={CORE_PROPS:"http://schemas.openxmlformats.org/package/2006/metadata/core-properties",CUST_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/custom-properties",EXT_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/extended-properties",CT:"http://schemas.openxmlformats.org/package/2006/content-types",RELS:"http://schemas.openxmlformats.org/package/2006/relationships",TCMNT:"http://schemas.microsoft.com/office/spreadsheetml/2018/threadedcomments",dc:"http://purl.org/dc/elements/1.1/",dcterms:"http://purl.org/dc/terms/",dcmitype:"http://purl.org/dc/dcmitype/",mx:"http://schemas.microsoft.com/office/mac/excel/2008/main",r:"http://schemas.openxmlformats.org/officeDocument/2006/relationships",sjs:"http://schemas.openxmlformats.org/package/2006/sheetjs/core-properties",vt:"http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes",xsi:"http://www.w3.org/2001/XMLSchema-instance",xsd:"http://www.w3.org/2001/XMLSchema"},Xt=["http://schemas.openxmlformats.org/spreadsheetml/2006/main","http://purl.oclc.org/ooxml/spreadsheetml/main","http://schemas.microsoft.com/office/excel/2006/main","http://schemas.microsoft.com/office/excel/2006/2"],Yt={o:"urn:schemas-microsoft-com:office:office",x:"urn:schemas-microsoft-com:office:excel",ss:"urn:schemas-microsoft-com:office:spreadsheet",dt:"uuid:C2F41010-65B3-11d1-A29F-00AA00C14882",mv:"http://macVmlSchemaUri",v:"urn:schemas-microsoft-com:vml",html:"http://www.w3.org/TR/REC-html40"};var Kt=function(e){for(var t=[],r=0;r<e[0].length;++r)if(e[0][r])for(var n=0,a=e[0][r].length;n<a;n+=10240)t.push.apply(t,e[0][r].slice(n,n+10240));return t},Jt=b?function(e){return e[0].length>0&&Buffer.isBuffer(e[0][0])?Buffer.concat(e[0].map((function(e){return Buffer.isBuffer(e)?e:y(e)}))):Kt(e)}:Kt,Zt=function(e,t,r){for(var n=[],a=t;a<r;a+=2)n.push(String.fromCharCode(br(e,a)));return n.join("").replace(_,"")},Qt=b?function(e,t,r){return Buffer.isBuffer(e)?e.toString("utf16le",t,r).replace(_,""):Zt(e,t,r)}:Zt,er=function(e,t,r){for(var n=[],a=t;a<t+r;++a)n.push(("0"+e[a].toString(16)).slice(-2));return n.join("")},tr=b?function(e,t,r){return Buffer.isBuffer(e)?e.toString("hex",t,t+r):er(e,t,r)}:er,rr=function(e,t,r){for(var n=[],a=t;a<r;a++)n.push(String.fromCharCode(vr(e,a)));return n.join("")},nr=b?function(e,t,r){return Buffer.isBuffer(e)?e.toString("utf8",t,r):rr(e,t,r)}:rr,ar=function(e,t){var r=wr(e,t);return r>0?nr(e,t+4,t+4+r-1):""},or=ar,ir=function(e,t){var r=wr(e,t);return r>0?nr(e,t+4,t+4+r-1):""},sr=ir,cr=function(e,t){var r=2*wr(e,t);return r>0?nr(e,t+4,t+4+r-1):""},lr=cr,ur=function(e,t){var r=wr(e,t);return r>0?Qt(e,t+4,t+4+r):""},fr=ur,hr=function(e,t){var r=wr(e,t);return r>0?nr(e,t+4,t+4+r):""},dr=hr,pr=function(e,t){return function(e,t){for(var r=1-2*(e[t+7]>>>7),n=((127&e[t+7])<<4)+(e[t+6]>>>4&15),a=15&e[t+6],o=5;o>=0;--o)a=256*a+e[t+o];return 2047==n?0==a?r*(1/0):NaN:(0==n?n=-1022:(n-=1023,a+=Math.pow(2,52)),r*Math.pow(2,n-52)*a)}(e,t)},gr=pr,mr=function(e){return Array.isArray(e)||"undefined"!=typeof Uint8Array&&e instanceof Uint8Array};b&&(or=function(e,t){if(!Buffer.isBuffer(e))return ar(e,t);var r=e.readUInt32LE(t);return r>0?e.toString("utf8",t+4,t+4+r-1):""},sr=function(e,t){if(!Buffer.isBuffer(e))return ir(e,t);var r=e.readUInt32LE(t);return r>0?e.toString("utf8",t+4,t+4+r-1):""},lr=function(e,t){if(!Buffer.isBuffer(e))return cr(e,t);var r=2*e.readUInt32LE(t);return e.toString("utf16le",t+4,t+4+r-1)},fr=function(e,t){if(!Buffer.isBuffer(e))return ur(e,t);var r=e.readUInt32LE(t);return e.toString("utf16le",t+4,t+4+r)},dr=function(e,t){if(!Buffer.isBuffer(e))return hr(e,t);var r=e.readUInt32LE(t);return e.toString("utf8",t+4,t+4+r)},gr=function(e,t){return Buffer.isBuffer(e)?e.readDoubleLE(t):pr(e,t)},mr=function(e){return Buffer.isBuffer(e)||Array.isArray(e)||"undefined"!=typeof Uint8Array&&e instanceof Uint8Array}),void 0!==t&&(Qt=function(e,r,n){return t.utils.decode(1200,e.slice(r,n)).replace(_,"")},nr=function(e,r,n){return t.utils.decode(65001,e.slice(r,n))},or=function(e,r){var a=wr(e,r);return a>0?t.utils.decode(n,e.slice(r+4,r+4+a-1)):""},sr=function(e,n){var a=wr(e,n);return a>0?t.utils.decode(r,e.slice(n+4,n+4+a-1)):""},lr=function(e,r){var n=2*wr(e,r);return n>0?t.utils.decode(1200,e.slice(r+4,r+4+n-1)):""},fr=function(e,r){var n=wr(e,r);return n>0?t.utils.decode(1200,e.slice(r+4,r+4+n)):""},dr=function(e,r){var n=wr(e,r);return n>0?t.utils.decode(65001,e.slice(r+4,r+4+n)):""});var vr=function(e,t){return e[t]},br=function(e,t){return 256*e[t+1]+e[t]},yr=function(e,t){var r=256*e[t+1]+e[t];return r<32768?r:-1*(65535-r+1)},wr=function(e,t){return e[t+3]*(1<<24)+(e[t+2]<<16)+(e[t+1]<<8)+e[t]},Sr=function(e,t){return e[t+3]<<24|e[t+2]<<16|e[t+1]<<8|e[t]},xr=function(e,t){return e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3]};function Ar(e,n){var a,o,i,s,c,l,u="",f=[];switch(n){case"dbcs":if(l=this.l,b&&Buffer.isBuffer(this))u=this.slice(this.l,this.l+2*e).toString("utf16le");else for(c=0;c<e;++c)u+=String.fromCharCode(br(this,l)),l+=2;e*=2;break;case"utf8":u=nr(this,this.l,this.l+e);break;case"utf16le":e*=2,u=Qt(this,this.l,this.l+e);break;case"wstr":if(void 0===t)return Ar.call(this,e,"dbcs");u=t.utils.decode(r,this.slice(this.l,this.l+2*e)),e*=2;break;case"lpstr-ansi":u=or(this,this.l),e=4+wr(this,this.l);break;case"lpstr-cp":u=sr(this,this.l),e=4+wr(this,this.l);break;case"lpwstr":u=lr(this,this.l),e=4+2*wr(this,this.l);break;case"lpp4":e=4+wr(this,this.l),u=fr(this,this.l),2&e&&(e+=2);break;case"8lpp4":e=4+wr(this,this.l),u=dr(this,this.l),3&e&&(e+=4-(3&e));break;case"cstr":for(e=0,u="";0!==(i=vr(this,this.l+e++));)f.push(h(i));u=f.join("");break;case"_wstr":for(e=0,u="";0!==(i=br(this,this.l+e));)f.push(h(i)),e+=2;e+=2,u=f.join("");break;case"dbcs-cont":for(u="",l=this.l,c=0;c<e;++c){if(this.lens&&-1!==this.lens.indexOf(l))return i=vr(this,l),this.l=l+1,s=Ar.call(this,e-c,i?"dbcs-cont":"sbcs-cont"),f.join("")+s;f.push(h(br(this,l))),l+=2}u=f.join(""),e*=2;break;case"cpstr":if(void 0!==t){u=t.utils.decode(r,this.slice(this.l,this.l+e));break}case"sbcs-cont":for(u="",l=this.l,c=0;c!=e;++c){if(this.lens&&-1!==this.lens.indexOf(l))return i=vr(this,l),this.l=l+1,s=Ar.call(this,e-c,i?"dbcs-cont":"sbcs-cont"),f.join("")+s;f.push(h(vr(this,l))),l+=1}u=f.join("");break;default:switch(e){case 1:return a=vr(this,this.l),this.l++,a;case 2:return a=("i"===n?yr:br)(this,this.l),this.l+=2,a;case 4:case-4:return"i"===n||0==(128&this[this.l+3])?(a=(e>0?Sr:xr)(this,this.l),this.l+=4,a):(o=wr(this,this.l),this.l+=4,o);case 8:case-8:if("f"===n)return o=8==e?gr(this,this.l):gr([this[this.l+7],this[this.l+6],this[this.l+5],this[this.l+4],this[this.l+3],this[this.l+2],this[this.l+1],this[this.l+0]],0),this.l+=8,o;e=8;case 16:u=tr(this,this.l,e)}}return this.l+=e,u}var kr=function(e,t,r){e[r]=255&t,e[r+1]=t>>>8&255,e[r+2]=t>>>16&255,e[r+3]=t>>>24&255},Tr=function(e,t,r){e[r]=255&t,e[r+1]=t>>8&255,e[r+2]=t>>16&255,e[r+3]=t>>24&255},Er=function(e,t,r){e[r]=255&t,e[r+1]=t>>>8&255};function _r(e,r,a){var o=0,i=0;if("dbcs"===a){for(i=0;i!=r.length;++i)Er(this,r.charCodeAt(i),this.l+2*i);o=2*r.length}else if("sbcs"===a){if(void 0!==t&&874==n)for(i=0;i!=r.length;++i){var s=t.utils.encode(n,r.charAt(i));this[this.l+i]=s[0]}else for(r=r.replace(/[^\x00-\x7F]/g,"_"),i=0;i!=r.length;++i)this[this.l+i]=255&r.charCodeAt(i);o=r.length}else{if("hex"===a){for(;i<e;++i)this[this.l++]=parseInt(r.slice(2*i,2*i+2),16)||0;return this}if("utf16le"===a){var c=Math.min(this.l+e,this.length);for(i=0;i<Math.min(r.length,e);++i){var l=r.charCodeAt(i);this[this.l++]=255&l,this[this.l++]=l>>8}for(;this.l<c;)this[this.l++]=0;return this}switch(e){case 1:o=1,this[this.l]=255&r;break;case 2:o=2,this[this.l]=255&r,r>>>=8,this[this.l+1]=255&r;break;case 3:o=3,this[this.l]=255&r,r>>>=8,this[this.l+1]=255&r,r>>>=8,this[this.l+2]=255&r;break;case 4:o=4,kr(this,r,this.l);break;case 8:if(o=8,"f"===a){!function(e,t,r){var n=(t<0||1/t==-1/0?1:0)<<7,a=0,o=0,i=n?-t:t;isFinite(i)?0==i?a=o=0:(a=Math.floor(Math.log(i)/Math.LN2),o=i*Math.pow(2,52-a),a<=-1023&&(!isFinite(o)||o<Math.pow(2,52))?a=-1022:(o-=Math.pow(2,52),a+=1023)):(a=2047,o=isNaN(t)?26985:0);for(var s=0;s<=5;++s,o/=256)e[r+s]=255&o;e[r+6]=(15&a)<<4|15&o,e[r+7]=a>>4|n}(this,r,this.l);break}case 16:break;case-4:o=4,Tr(this,r,this.l)}}return this.l+=o,this}function Nr(e,t){var r=tr(this,this.l,e.length>>1);if(r!==e)throw new Error(t+"Expected "+e+" saw "+r);this.l+=e.length>>1}function Cr(e,t){e.l=t,e._R=Ar,e.chk=Nr,e._W=_r}function Or(e,t){e.l+=t}function Rr(e){var t=w(e);return Cr(t,0),t}function Pr(e,t,r){if(e){var n,a,o;Cr(e,e.l||0);for(var i=e.length,s=0,c=0;e.l<i;){128&(s=e._R(1))&&(s=(127&s)+((127&e._R(1))<<7));var l=Zl[s]||Zl[65535];for(o=127&(n=e._R(1)),a=1;a<4&&128&n;++a)o+=(127&(n=e._R(1)))<<7*a;c=e.l+o;var u=l.f&&l.f(e,o,r);if(e.l=c,t(u,l,s))return}}}function Lr(){var e=[],t=b?256:2048,r=function(e){var t=Rr(e);return Cr(t,0),t},n=r(t),a=function(){n&&(n.length>n.l&&((n=n.slice(0,n.l)).l=n.length),n.length>0&&e.push(n),n=null)},o=function(e){return n&&e<n.length-n.l?n:(a(),n=r(Math.max(e+1,t)))};return{next:o,push:function(e){a(),null==(n=e).l&&(n.l=n.length),o(t)},end:function(){return a(),E(e)},_bufs:e}}function Ir(e,t,r,n){var a,o=+t;if(!isNaN(o)){n||(n=Zl[o].p||(r||[]).length||0),a=1+(o>=128?1:0)+1,n>=128&&++a,n>=16384&&++a,n>=2097152&&++a;var i=e.next(a);o<=127?i._W(1,o):(i._W(1,128+(127&o)),i._W(1,o>>7));for(var s=0;4!=s;++s){if(!(n>=128)){i._W(1,n);break}i._W(1,128+(127&n)),n>>=7}n>0&&mr(r)&&e.push(r)}}function Fr(e,t,r){var n=qe(e);if(t.s?(n.cRel&&(n.c+=t.s.c),n.rRel&&(n.r+=t.s.r)):(n.cRel&&(n.c+=t.c),n.rRel&&(n.r+=t.r)),!r||r.biff<12){for(;n.c>=256;)n.c-=256;for(;n.r>=65536;)n.r-=65536}return n}function Dr(e,t,r){var n=qe(e);return n.s=Fr(n.s,t.s,r),n.e=Fr(n.e,t.s,r),n}function Mr(e,t){if(e.cRel&&e.c<0)for(e=qe(e);e.c<0;)e.c+=t>8?16384:256;if(e.rRel&&e.r<0)for(e=qe(e);e.r<0;)e.r+=t>8?1048576:t>5?65536:16384;var r=Vr(e);return e.cRel||null==e.cRel||(r=function(e){return e.replace(/^([A-Z])/,"$$$1")}(r)),e.rRel||null==e.rRel||(r=function(e){return e.replace(/([A-Z]|^)(\d+)$/,"$1$$$2")}(r)),r}function jr(e,t){return 0!=e.s.r||e.s.rRel||e.e.r!=(t.biff>=12?1048575:t.biff>=8?65536:16384)||e.e.rRel?0!=e.s.c||e.s.cRel||e.e.c!=(t.biff>=12?16383:255)||e.e.cRel?Mr(e.s,t.biff)+":"+Mr(e.e,t.biff):(e.s.rRel?"":"$")+Wr(e.s.r)+":"+(e.e.rRel?"":"$")+Wr(e.e.r):(e.s.cRel?"":"$")+Hr(e.s.c)+":"+(e.e.cRel?"":"$")+Hr(e.e.c)}function Br(e){return parseInt(function(e){return e.replace(/\$(\d+)$/,"$1")}(e),10)-1}function Wr(e){return""+(e+1)}function Ur(e){for(var t=function(e){return e.replace(/^\$([A-Z])/,"$1")}(e),r=0,n=0;n!==t.length;++n)r=26*r+t.charCodeAt(n)-64;return r-1}function Hr(e){if(e<0)throw new Error("invalid column "+e);var t="";for(++e;e;e=Math.floor((e-1)/26))t=String.fromCharCode((e-1)%26+65)+t;return t}function zr(e){for(var t=0,r=0,n=0;n<e.length;++n){var a=e.charCodeAt(n);a>=48&&a<=57?t=10*t+(a-48):a>=65&&a<=90&&(r=26*r+(a-64))}return{c:r-1,r:t-1}}function Vr(e){for(var t=e.c+1,r="";t;t=(t-1)/26|0)r=String.fromCharCode((t-1)%26+65)+r;return r+(e.r+1)}function qr(e){var t=e.indexOf(":");return-1==t?{s:zr(e),e:zr(e)}:{s:zr(e.slice(0,t)),e:zr(e.slice(t+1))}}function $r(e,t){return void 0===t||"number"==typeof t?$r(e.s,e.e):("string"!=typeof e&&(e=Vr(e)),"string"!=typeof t&&(t=Vr(t)),e==t?e:e+":"+t)}function Gr(e){var t={s:{c:0,r:0},e:{c:0,r:0}},r=0,n=0,a=0,o=e.length;for(r=0;n<o&&!((a=e.charCodeAt(n)-64)<1||a>26);++n)r=26*r+a;for(t.s.c=--r,r=0;n<o&&!((a=e.charCodeAt(n)-48)<0||a>9);++n)r=10*r+a;if(t.s.r=--r,n===o||10!=a)return t.e.c=t.s.c,t.e.r=t.s.r,t;for(++n,r=0;n!=o&&!((a=e.charCodeAt(n)-64)<1||a>26);++n)r=26*r+a;for(t.e.c=--r,r=0;n!=o&&!((a=e.charCodeAt(n)-48)<0||a>9);++n)r=10*r+a;return t.e.r=--r,t}function Xr(e,t){var r="d"==e.t&&t instanceof Date;if(null!=e.z)try{return e.w=ve(e.z,r?Ie(t):t)}catch(e){}try{return e.w=ve((e.XF||{}).numFmtId||(r?14:0),r?Ie(t):t)}catch(e){return""+t}}function Yr(e,t,r){return null==e||null==e.t||"z"==e.t?"":void 0!==e.w?e.w:("d"==e.t&&!e.z&&r&&r.dateNF&&(e.z=r.dateNF),"e"==e.t?Bn[e.v]||e.v:Xr(e,null==t?e.v:t))}function Kr(e,t){var r=t&&t.sheet?t.sheet:"Sheet1",n={};return n[r]=e,{SheetNames:[r],Sheets:n}}function Jr(e,t,r){var n=r||{},a=e?Array.isArray(e):n.dense;null!=p&&null==a&&(a=p);var o=e||(a?[]:{}),i=0,s=0;if(o&&null!=n.origin){if("number"==typeof n.origin)i=n.origin;else{var c="string"==typeof n.origin?zr(n.origin):n.origin;i=c.r,s=c.c}o["!ref"]||(o["!ref"]="A1:A1")}var l={s:{c:1e7,r:1e7},e:{c:0,r:0}};if(o["!ref"]){var u=Gr(o["!ref"]);l.s.c=u.s.c,l.s.r=u.s.r,l.e.c=Math.max(l.e.c,u.e.c),l.e.r=Math.max(l.e.r,u.e.r),-1==i&&(l.e.r=i=u.e.r+1)}for(var f=0;f!=t.length;++f)if(t[f]){if(!Array.isArray(t[f]))throw new Error("aoa_to_sheet expects an array of arrays");for(var h=0;h!=t[f].length;++h)if(void 0!==t[f][h]){var d={v:t[f][h]},g=i+f,m=s+h;if(l.s.r>g&&(l.s.r=g),l.s.c>m&&(l.s.c=m),l.e.r<g&&(l.e.r=g),l.e.c<m&&(l.e.c=m),!t[f][h]||"object"!=typeof t[f][h]||Array.isArray(t[f][h])||t[f][h]instanceof Date)if(Array.isArray(d.v)&&(d.f=t[f][h][1],d.v=d.v[0]),null===d.v)if(d.f)d.t="n";else if(n.nullError)d.t="e",d.v=0;else{if(!n.sheetStubs)continue;d.t="z"}else"number"==typeof d.v?d.t="n":"boolean"==typeof d.v?d.t="b":d.v instanceof Date?(d.z=n.dateNF||j[14],n.cellDates?(d.t="d",d.w=ve(d.z,Ie(d.v))):(d.t="n",d.v=Ie(d.v),d.w=ve(d.z,d.v))):d.t="s";else d=t[f][h];if(a)o[g]||(o[g]=[]),o[g][m]&&o[g][m].z&&(d.z=o[g][m].z),o[g][m]=d;else{var v=Vr({c:m,r:g});o[v]&&o[v].z&&(d.z=o[v].z),o[v]=d}}}return l.s.c<1e7&&(o["!ref"]=$r(l)),o}function Zr(e,t){return Jr(null,e,t)}function Qr(e,t){return t||(t=Rr(4)),t._W(4,e),t}function en(e){var t=e._R(4);return 0===t?"":e._R(t,"dbcs")}function tn(e,t){var r=!1;return null==t&&(r=!0,t=Rr(4+2*e.length)),t._W(4,e.length),e.length>0&&t._W(0,e,"dbcs"),r?t.slice(0,t.l):t}function rn(e){return{ich:e._R(2),ifnt:e._R(2)}}function nn(e,t){var r=e.l,n=e._R(1),a=en(e),o=[],i={t:a,h:a};if(0!=(1&n)){for(var s=e._R(4),c=0;c!=s;++c)o.push(rn(e));i.r=o}else i.r=[{ich:0,ifnt:0}];return e.l=r+t,i}var an=nn;function on(e,t){var r=!1;return null==t&&(r=!0,t=Rr(23+4*e.t.length)),t._W(1,1),tn(e.t,t),t._W(4,1),function(e,t){t||(t=Rr(4)),t._W(2,e.ich||0),t._W(2,e.ifnt||0)}({ich:0,ifnt:0},t),r?t.slice(0,t.l):t}function sn(e){var t=e._R(4),r=e._R(2);return r+=e._R(1)<<16,e.l++,{c:t,iStyleRef:r}}function cn(e,t){return null==t&&(t=Rr(8)),t._W(-4,e.c),t._W(3,e.iStyleRef||e.s),t._W(1,0),t}function ln(e){var t=e._R(2);return t+=e._R(1)<<16,e.l++,{c:-1,iStyleRef:t}}function un(e,t){return null==t&&(t=Rr(4)),t._W(3,e.iStyleRef||e.s),t._W(1,0),t}var fn=en,hn=tn;function dn(e){var t=e._R(4);return 0===t||4294967295===t?"":e._R(t,"dbcs")}function pn(e,t){var r=!1;return null==t&&(r=!0,t=Rr(127)),t._W(4,e.length>0?e.length:4294967295),e.length>0&&t._W(0,e,"dbcs"),r?t.slice(0,t.l):t}var gn=en,mn=dn,vn=pn;function bn(e){var t=e.slice(e.l,e.l+4),r=1&t[0],n=2&t[0];e.l+=4;var a=0===n?gr([0,0,0,0,252&t[0],t[1],t[2],t[3]],0):Sr(t,0)>>2;return r?a/100:a}function yn(e,t){null==t&&(t=Rr(4));var r=0,n=0,a=100*e;if(e==(0|e)&&e>=-(1<<29)&&e<1<<29?n=1:a==(0|a)&&a>=-(1<<29)&&a<1<<29&&(n=1,r=1),!n)throw new Error("unsupported RkNumber "+e);t._W(-4,((r?a:e)<<2)+(r+2))}function wn(e){var t={s:{},e:{}};return t.s.r=e._R(4),t.e.r=e._R(4),t.s.c=e._R(4),t.e.c=e._R(4),t}var Sn=wn,xn=function(e,t){return t||(t=Rr(16)),t._W(4,e.s.r),t._W(4,e.e.r),t._W(4,e.s.c),t._W(4,e.e.c),t};function An(e){if(e.length-e.l<8)throw"XLS Xnum Buffer underflow";return e._R(8,"f")}function kn(e,t){return(t||Rr(8))._W(8,e,"f")}function Tn(e,t){if(t||(t=Rr(8)),!e||e.auto)return t._W(4,0),t._W(4,0),t;null!=e.index?(t._W(1,2),t._W(1,e.index)):null!=e.theme?(t._W(1,6),t._W(1,e.theme)):(t._W(1,5),t._W(1,0));var r=e.tint||0;if(r>0?r*=32767:r<0&&(r*=32768),t._W(2,r),e.rgb&&null==e.theme){var n=e.rgb||"FFFFFF";"number"==typeof n&&(n=("000000"+n.toString(16)).slice(-6)),t._W(1,parseInt(n.slice(0,2),16)),t._W(1,parseInt(n.slice(2,4),16)),t._W(1,parseInt(n.slice(4,6),16)),t._W(1,255)}else t._W(2,0),t._W(1,0),t._W(1,0);return t}function En(e,t){var r=e._R(4);switch(r){case 0:return"";case 4294967295:case 4294967294:return{2:"BITMAP",3:"METAFILEPICT",8:"DIB",14:"ENHMETAFILE"}[e._R(4)]||""}if(r>400)throw new Error("Unsupported Clipboard: "+r.toString(16));return e.l-=4,e._R(0,1==t?"lpstr":"lpwstr")}var _n=2,Nn=3,Cn=12,On=80,Rn=81,Pn=[On,Rn],Ln={1:{n:"CodePage",t:_n},2:{n:"Category",t:On},3:{n:"PresentationFormat",t:On},4:{n:"ByteCount",t:Nn},5:{n:"LineCount",t:Nn},6:{n:"ParagraphCount",t:Nn},7:{n:"SlideCount",t:Nn},8:{n:"NoteCount",t:Nn},9:{n:"HiddenCount",t:Nn},10:{n:"MultimediaClipCount",t:Nn},11:{n:"ScaleCrop",t:11},12:{n:"HeadingPairs",t:4108},13:{n:"TitlesOfParts",t:4126},14:{n:"Manager",t:On},15:{n:"Company",t:On},16:{n:"LinksUpToDate",t:11},17:{n:"CharacterCount",t:Nn},19:{n:"SharedDoc",t:11},22:{n:"HyperlinksChanged",t:11},23:{n:"AppVersion",t:Nn,p:"version"},24:{n:"DigSig",t:65},26:{n:"ContentType",t:On},27:{n:"ContentStatus",t:On},28:{n:"Language",t:On},29:{n:"Version",t:On},255:{},2147483648:{n:"Locale",t:19},2147483651:{n:"Behavior",t:19},1919054434:{}},In={1:{n:"CodePage",t:_n},2:{n:"Title",t:On},3:{n:"Subject",t:On},4:{n:"Author",t:On},5:{n:"Keywords",t:On},6:{n:"Comments",t:On},7:{n:"Template",t:On},8:{n:"LastAuthor",t:On},9:{n:"RevNumber",t:On},10:{n:"EditTime",t:64},11:{n:"LastPrinted",t:64},12:{n:"CreatedDate",t:64},13:{n:"ModifiedDate",t:64},14:{n:"PageCount",t:Nn},15:{n:"WordCount",t:Nn},16:{n:"CharCount",t:Nn},17:{n:"Thumbnail",t:71},18:{n:"Application",t:On},19:{n:"DocSecurity",t:Nn},255:{},2147483648:{n:"Locale",t:19},2147483651:{n:"Behavior",t:19},1919054434:{}},Fn={1:"US",2:"CA",3:"",7:"RU",20:"EG",30:"GR",31:"NL",32:"BE",33:"FR",34:"ES",36:"HU",39:"IT",41:"CH",43:"AT",44:"GB",45:"DK",46:"SE",47:"NO",48:"PL",49:"DE",52:"MX",55:"BR",61:"AU",64:"NZ",66:"TH",81:"JP",82:"KR",84:"VN",86:"CN",90:"TR",105:"JS",213:"DZ",216:"MA",218:"LY",351:"PT",354:"IS",358:"FI",420:"CZ",886:"TW",961:"LB",962:"JO",963:"SY",964:"IQ",965:"KW",966:"SA",971:"AE",972:"IL",974:"QA",981:"IR",65535:"US"},Dn=[null,"solid","mediumGray","darkGray","lightGray","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","gray125","gray0625"];var Mn=function(e){return e.map((function(e){return[e>>16&255,e>>8&255,255&e]}))}([0,16777215,16711680,65280,255,16776960,16711935,65535,0,16777215,16711680,65280,255,16776960,16711935,65535,8388608,32768,128,8421376,8388736,32896,12632256,8421504,10066431,10040166,16777164,13434879,6684774,16744576,26316,13421823,128,16711935,16776960,65535,8388736,8388608,32896,255,52479,13434879,13434828,16777113,10079487,16751052,13408767,16764057,3368703,3394764,10079232,16763904,16750848,16737792,6710937,9868950,13158,3381606,13056,3355392,10040064,10040166,3355545,3355443,16777215,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]),jn=qe(Mn),Bn={0:"#NULL!",7:"#DIV/0!",15:"#VALUE!",23:"#REF!",29:"#NAME?",36:"#NUM!",42:"#N/A",43:"#GETTING_DATA",255:"#WTF?"},Wn={"#NULL!":0,"#DIV/0!":7,"#VALUE!":15,"#REF!":23,"#NAME?":29,"#NUM!":36,"#N/A":42,"#GETTING_DATA":43,"#WTF?":255},Un={"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":"workbooks","application/vnd.ms-excel.sheet.macroEnabled.main+xml":"workbooks","application/vnd.ms-excel.sheet.binary.macroEnabled.main":"workbooks","application/vnd.ms-excel.addin.macroEnabled.main+xml":"workbooks","application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":"workbooks","application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":"sheets","application/vnd.ms-excel.worksheet":"sheets","application/vnd.ms-excel.binIndexWs":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":"charts","application/vnd.ms-excel.chartsheet":"charts","application/vnd.ms-excel.macrosheet+xml":"macros","application/vnd.ms-excel.macrosheet":"macros","application/vnd.ms-excel.intlmacrosheet":"TODO","application/vnd.ms-excel.binIndexMs":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":"dialogs","application/vnd.ms-excel.dialogsheet":"dialogs","application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml":"strs","application/vnd.ms-excel.sharedStrings":"strs","application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":"styles","application/vnd.ms-excel.styles":"styles","application/vnd.openxmlformats-package.core-properties+xml":"coreprops","application/vnd.openxmlformats-officedocument.custom-properties+xml":"custprops","application/vnd.openxmlformats-officedocument.extended-properties+xml":"extprops","application/vnd.openxmlformats-officedocument.customXmlProperties+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.customProperty":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":"comments","application/vnd.ms-excel.comments":"comments","application/vnd.ms-excel.threadedcomments+xml":"threadedcomments","application/vnd.ms-excel.person+xml":"people","application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml":"metadata","application/vnd.ms-excel.sheetMetadata":"metadata","application/vnd.ms-excel.pivotTable":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotTable+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.chart+xml":"TODO","application/vnd.ms-office.chartcolorstyle+xml":"TODO","application/vnd.ms-office.chartstyle+xml":"TODO","application/vnd.ms-office.chartex+xml":"TODO","application/vnd.ms-excel.calcChain":"calcchains","application/vnd.openxmlformats-officedocument.spreadsheetml.calcChain+xml":"calcchains","application/vnd.openxmlformats-officedocument.spreadsheetml.printerSettings":"TODO","application/vnd.ms-office.activeX":"TODO","application/vnd.ms-office.activeX+xml":"TODO","application/vnd.ms-excel.attachedToolbars":"TODO","application/vnd.ms-excel.connections":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":"TODO","application/vnd.ms-excel.externalLink":"links","application/vnd.openxmlformats-officedocument.spreadsheetml.externalLink+xml":"links","application/vnd.ms-excel.pivotCacheDefinition":"TODO","application/vnd.ms-excel.pivotCacheRecords":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheDefinition+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheRecords+xml":"TODO","application/vnd.ms-excel.queryTable":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.queryTable+xml":"TODO","application/vnd.ms-excel.userNames":"TODO","application/vnd.ms-excel.revisionHeaders":"TODO","application/vnd.ms-excel.revisionLog":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.revisionHeaders+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.revisionLog+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.userNames+xml":"TODO","application/vnd.ms-excel.tableSingleCells":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.tableSingleCells+xml":"TODO","application/vnd.ms-excel.slicer":"TODO","application/vnd.ms-excel.slicerCache":"TODO","application/vnd.ms-excel.slicer+xml":"TODO","application/vnd.ms-excel.slicerCache+xml":"TODO","application/vnd.ms-excel.wsSortMap":"TODO","application/vnd.ms-excel.table":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":"TODO","application/vnd.openxmlformats-officedocument.theme+xml":"themes","application/vnd.openxmlformats-officedocument.themeOverride+xml":"TODO","application/vnd.ms-excel.Timeline+xml":"TODO","application/vnd.ms-excel.TimelineCache+xml":"TODO","application/vnd.ms-office.vbaProject":"vba","application/vnd.ms-office.vbaProjectSignature":"TODO","application/vnd.ms-office.volatileDependencies":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.volatileDependencies+xml":"TODO","application/vnd.ms-excel.controlproperties+xml":"TODO","application/vnd.openxmlformats-officedocument.model+data":"TODO","application/vnd.ms-excel.Survey+xml":"TODO","application/vnd.openxmlformats-officedocument.drawing+xml":"drawings","application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramColors+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramData+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramLayout+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramStyle+xml":"TODO","application/vnd.openxmlformats-officedocument.vmlDrawing":"TODO","application/vnd.openxmlformats-package.relationships+xml":"rels","application/vnd.openxmlformats-officedocument.oleObject":"TODO","image/png":"TODO",sheet:"js"},Hn={workbooks:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml",xlsm:"application/vnd.ms-excel.sheet.macroEnabled.main+xml",xlsb:"application/vnd.ms-excel.sheet.binary.macroEnabled.main",xlam:"application/vnd.ms-excel.addin.macroEnabled.main+xml",xltx:"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml"},strs:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml",xlsb:"application/vnd.ms-excel.sharedStrings"},comments:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml",xlsb:"application/vnd.ms-excel.comments"},sheets:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml",xlsb:"application/vnd.ms-excel.worksheet"},charts:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml",xlsb:"application/vnd.ms-excel.chartsheet"},dialogs:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml",xlsb:"application/vnd.ms-excel.dialogsheet"},macros:{xlsx:"application/vnd.ms-excel.macrosheet+xml",xlsb:"application/vnd.ms-excel.macrosheet"},metadata:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml",xlsb:"application/vnd.ms-excel.sheetMetadata"},styles:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml",xlsb:"application/vnd.ms-excel.styles"}};function zn(e,t){var r,n=function(e){for(var t=[],r=Ce(e),n=0;n!==r.length;++n)null==t[e[r[n]]]&&(t[e[r[n]]]=[]),t[e[r[n]]].push(r[n]);return t}(Un),a=[];a[a.length]=lt,a[a.length]=zt("Types",null,{xmlns:Gt.CT,"xmlns:xsd":Gt.xsd,"xmlns:xsi":Gt.xsi}),a=a.concat([["xml","application/xml"],["bin","application/vnd.ms-excel.sheet.binary.macroEnabled.main"],["vml","application/vnd.openxmlformats-officedocument.vmlDrawing"],["data","application/vnd.openxmlformats-officedocument.model+data"],["bmp","image/bmp"],["png","image/png"],["gif","image/gif"],["emf","image/x-emf"],["wmf","image/x-wmf"],["jpg","image/jpeg"],["jpeg","image/jpeg"],["tif","image/tiff"],["tiff","image/tiff"],["pdf","application/pdf"],["rels","application/vnd.openxmlformats-package.relationships+xml"]].map((function(e){return zt("Default",null,{Extension:e[0],ContentType:e[1]})})));var o=function(n){e[n]&&e[n].length>0&&(r=e[n][0],a[a.length]=zt("Override",null,{PartName:("/"==r[0]?"":"/")+r,ContentType:Hn[n][t.bookType]||Hn[n].xlsx}))},i=function(r){(e[r]||[]).forEach((function(e){a[a.length]=zt("Override",null,{PartName:("/"==e[0]?"":"/")+e,ContentType:Hn[r][t.bookType]||Hn[r].xlsx})}))},s=function(t){(e[t]||[]).forEach((function(e){a[a.length]=zt("Override",null,{PartName:("/"==e[0]?"":"/")+e,ContentType:n[t][0]})}))};return o("workbooks"),i("sheets"),i("charts"),s("themes"),["strs","styles"].forEach(o),["coreprops","extprops","custprops"].forEach(s),s("vba"),s("comments"),s("threadedcomments"),s("drawings"),i("metadata"),s("people"),a.length>2&&(a[a.length]="</Types>",a[1]=a[1].replace("/>",">")),a.join("")}var Vn={WB:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument",SHEET:"http://sheetjs.openxmlformats.org/officeDocument/2006/relationships/officeDocument",HLINK:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink",VML:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/vmlDrawing",XPATH:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLinkPath",XMISS:"http://schemas.microsoft.com/office/2006/relationships/xlExternalLinkPath/xlPathMissing",XLINK:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLink",CXML:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXml",CXMLP:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXmlProps",CMNT:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments",CORE_PROPS:"http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties",EXT_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties",CUST_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/custom-properties",SST:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings",STY:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles",THEME:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme",CHART:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/chart",CHARTEX:"http://schemas.microsoft.com/office/2014/relationships/chartEx",CS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/chartsheet",WS:["http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet","http://purl.oclc.org/ooxml/officeDocument/relationships/worksheet"],DS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/dialogsheet",MS:"http://schemas.microsoft.com/office/2006/relationships/xlMacrosheet",IMG:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",DRAW:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing",XLMETA:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/sheetMetadata",TCMNT:"http://schemas.microsoft.com/office/2017/10/relationships/threadedComment",PEOPLE:"http://schemas.microsoft.com/office/2017/10/relationships/person",VBA:"http://schemas.microsoft.com/office/2006/relationships/vbaProject"};function qn(e){var t=e.lastIndexOf("/");return e.slice(0,t+1)+"_rels/"+e.slice(t+1)+".rels"}function $n(e,t){var r={"!id":{}};if(!e)return r;"/"!==t.charAt(0)&&(t="/"+t);var n={};return(e.match(ht)||[]).forEach((function(e){var a=gt(e);if("<Relationship"===a[0]){var o={};o.Type=a.Type,o.Target=a.Target,o.Id=a.Id,a.TargetMode&&(o.TargetMode=a.TargetMode);var i="External"===a.TargetMode?a.Target:ct(a.Target,t);r[i]=o,n[a.Id]=o}})),r["!id"]=n,r}function Gn(e){var t=[lt,zt("Relationships",null,{xmlns:Gt.RELS})];return Ce(e["!id"]).forEach((function(r){t[t.length]=zt("Relationship",null,e["!id"][r])})),t.length>2&&(t[t.length]="</Relationships>",t[1]=t[1].replace("/>",">")),t.join("")}function Xn(e,t,r,n,a,o){if(a||(a={}),e["!id"]||(e["!id"]={}),e["!idx"]||(e["!idx"]=1),t<0)for(t=e["!idx"];e["!id"]["rId"+t];++t);if(e["!idx"]=t+1,a.Id="rId"+t,a.Type=n,a.Target=r,o?a.TargetMode=o:[Vn.HLINK,Vn.XPATH,Vn.XMISS].indexOf(a.Type)>-1&&(a.TargetMode="External"),e["!id"][a.Id])throw new Error("Cannot rewrite rId "+t);return e["!id"][a.Id]=a,e[("/"+a.Target).replace("//","/")]=a,t}var Yn="application/vnd.oasis.opendocument.spreadsheet";function Kn(e,t,r){return[' <rdf:Description rdf:about="'+e+'">\n',' <rdf:type rdf:resource="http://docs.oasis-open.org/ns/office/1.2/meta/'+(r||"odf")+"#"+t+'"/>\n'," </rdf:Description>\n"].join("")}function Jn(e,t){return[' <rdf:Description rdf:about="'+e+'">\n',' <ns0:hasPart xmlns:ns0="http://docs.oasis-open.org/ns/office/1.2/meta/pkg#" rdf:resource="'+t+'"/>\n'," </rdf:Description>\n"].join("")}function Zn(){return'<office:document-meta xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:xlink="http://www.w3.org/1999/xlink" office:version="1.2"><office:meta><meta:generator>SheetJS '+e.version+"</meta:generator></office:meta></office:document-meta>"}var Qn=[["cp:category","Category"],["cp:contentStatus","ContentStatus"],["cp:keywords","Keywords"],["cp:lastModifiedBy","LastAuthor"],["cp:lastPrinted","LastPrinted"],["cp:revision","RevNumber"],["cp:version","Version"],["dc:creator","Author"],["dc:description","Comments"],["dc:identifier","Identifier"],["dc:language","Language"],["dc:subject","Subject"],["dc:title","Title"],["dcterms:created","CreatedDate","date"],["dcterms:modified","ModifiedDate","date"]],ea=function(){for(var e=new Array(Qn.length),t=0;t<Qn.length;++t){var r=Qn[t],n="(?:"+r[0].slice(0,r[0].indexOf(":"))+":)"+r[0].slice(r[0].indexOf(":")+1);e[t]=new RegExp("<"+n+"[^>]*>([\\s\\S]*?)</"+n+">")}return e}();function ta(e){var t={};e=Pt(e);for(var r=0;r<Qn.length;++r){var n=Qn[r],a=e.match(ea[r]);null!=a&&a.length>0&&(t[n[1]]=yt(a[1])),"date"===n[2]&&t[n[1]]&&(t[n[1]]=ze(t[n[1]]))}return t}function ra(e,t,r,n,a){null==a[e]&&null!=t&&""!==t&&(a[e]=t,t=xt(t),n[n.length]=r?zt(e,t,r):Ut(e,t))}function na(e,t){var r=t||{},n=[lt,zt("cp:coreProperties",null,{"xmlns:cp":Gt.CORE_PROPS,"xmlns:dc":Gt.dc,"xmlns:dcterms":Gt.dcterms,"xmlns:dcmitype":Gt.dcmitype,"xmlns:xsi":Gt.xsi})],a={};if(!e&&!r.Props)return n.join("");e&&(null!=e.CreatedDate&&ra("dcterms:created","string"==typeof e.CreatedDate?e.CreatedDate:Vt(e.CreatedDate,r.WTF),{"xsi:type":"dcterms:W3CDTF"},n,a),null!=e.ModifiedDate&&ra("dcterms:modified","string"==typeof e.ModifiedDate?e.ModifiedDate:Vt(e.ModifiedDate,r.WTF),{"xsi:type":"dcterms:W3CDTF"},n,a));for(var o=0;o!=Qn.length;++o){var i=Qn[o],s=r.Props&&null!=r.Props[i[1]]?r.Props[i[1]]:e?e[i[1]]:null;!0===s?s="1":!1===s?s="0":"number"==typeof s&&(s=String(s)),null!=s&&ra(i[0],s,null,n,a)}return n.length>2&&(n[n.length]="</cp:coreProperties>",n[1]=n[1].replace("/>",">")),n.join("")}var aa=[["Application","Application","string"],["AppVersion","AppVersion","string"],["Company","Company","string"],["DocSecurity","DocSecurity","string"],["Manager","Manager","string"],["HyperlinksChanged","HyperlinksChanged","bool"],["SharedDoc","SharedDoc","bool"],["LinksUpToDate","LinksUpToDate","bool"],["ScaleCrop","ScaleCrop","bool"],["HeadingPairs","HeadingPairs","raw"],["TitlesOfParts","TitlesOfParts","raw"]],oa=["Worksheets","SheetNames","NamedRanges","DefinedNames","Chartsheets","ChartNames"];function ia(e,t,r,n){var a=[];if("string"==typeof e)a=Bt(e,n);else for(var o=0;o<e.length;++o)a=a.concat(e[o].map((function(e){return{v:e}})));var i="string"==typeof t?Bt(t,n).map((function(e){return e.v})):t,s=0,c=0;if(i.length>0)for(var l=0;l!==a.length;l+=2){switch(c=+a[l+1].v,a[l].v){case"Worksheets":case"工作表":case"Листы":case"أوراق العمل":case"ワークシート":case"גליונות עבודה":case"Arbeitsblätter":case"Çalışma Sayfaları":case"Feuilles de calcul":case"Fogli di lavoro":case"Folhas de cálculo":case"Planilhas":case"Regneark":case"Hojas de cálculo":case"Werkbladen":r.Worksheets=c,r.SheetNames=i.slice(s,s+c);break;case"Named Ranges":case"Rangos con nombre":case"名前付き一覧":case"Benannte Bereiche":case"Navngivne områder":r.NamedRanges=c,r.DefinedNames=i.slice(s,s+c);break;case"Charts":case"Diagramme":r.Chartsheets=c,r.ChartNames=i.slice(s,s+c)}s+=c}}function sa(e){var t=[],r=zt;return e||(e={}),e.Application="SheetJS",t[t.length]=lt,t[t.length]=zt("Properties",null,{xmlns:Gt.EXT_PROPS,"xmlns:vt":Gt.vt}),aa.forEach((function(n){if(void 0!==e[n[1]]){var a;switch(n[2]){case"string":a=xt(String(e[n[1]]));break;case"bool":a=e[n[1]]?"true":"false"}void 0!==a&&(t[t.length]=r(n[0],a))}})),t[t.length]=r("HeadingPairs",r("vt:vector",r("vt:variant","<vt:lpstr>Worksheets</vt:lpstr>")+r("vt:variant",r("vt:i4",String(e.Worksheets))),{size:2,baseType:"variant"})),t[t.length]=r("TitlesOfParts",r("vt:vector",e.SheetNames.map((function(e){return"<vt:lpstr>"+xt(e)+"</vt:lpstr>"})).join(""),{size:e.Worksheets,baseType:"lpstr"})),t.length>2&&(t[t.length]="</Properties>",t[1]=t[1].replace("/>",">")),t.join("")}var ca=/<[^>]+>[^<]*/g;function la(e){var t=[lt,zt("Properties",null,{xmlns:Gt.CUST_PROPS,"xmlns:vt":Gt.vt})];if(!e)return t.join("");var r=1;return Ce(e).forEach((function(n){++r,t[t.length]=zt("property",function(e,t){switch(typeof e){case"string":var r=zt("vt:lpwstr",xt(e));return t&&(r=r.replace(/"/g,"_x0022_")),r;case"number":return zt((0|e)==e?"vt:i4":"vt:r8",xt(String(e)));case"boolean":return zt("vt:bool",e?"true":"false")}if(e instanceof Date)return zt("vt:filetime",Vt(e));throw new Error("Unable to serialize "+e)}(e[n],!0),{fmtid:"{D5CDD505-2E9C-101B-9397-08002B2CF9AE}",pid:r,name:xt(n)})})),t.length>2&&(t[t.length]="</Properties>",t[1]=t[1].replace("/>",">")),t.join("")}var ua,fa={Title:"Title",Subject:"Subject",Author:"Author",Keywords:"Keywords",Comments:"Description",LastAuthor:"LastAuthor",RevNumber:"Revision",Application:"AppName",LastPrinted:"LastPrinted",CreatedDate:"Created",ModifiedDate:"LastSaved",Category:"Category",Manager:"Manager",Company:"Company",AppVersion:"Version",ContentStatus:"ContentStatus",Identifier:"Identifier",Language:"Language"};function ha(e,t,r){ua||(ua=Re(fa)),e[t=ua[t]||t]=r}function da(e){var t=e._R(4),r=e._R(4);return new Date(1e3*(r/1e7*Math.pow(2,32)+t/1e7-11644473600)).toISOString().replace(/\.000/,"")}function pa(e,t,r){var n=e.l,a=e._R(0,"lpstr-cp");if(r)for(;e.l-n&3;)++e.l;return a}function ga(e,t,r){var n=e._R(0,"lpwstr");return r&&(e.l+=4-(n.length+1&3)&3),n}function ma(e,t,r){return 31===t?ga(e):pa(e,0,r)}function va(e,t,r){return ma(e,t,!1===r?0:4)}function ba(e){var t=e.l,r=Sa(e,Rn);return 0==e[e.l]&&0==e[e.l+1]&&e.l-t&2&&(e.l+=2),[r,Sa(e,Nn)]}function ya(e,t){for(var r=e._R(4),n={},a=0;a!=r;++a){var o=e._R(4),i=e._R(4);n[o]=e._R(i,1200===t?"utf16le":"utf8").replace(_,"").replace(N,"!"),1200===t&&i%2&&(e.l+=2)}return 3&e.l&&(e.l=e.l>>3<<2),n}function wa(e){var t=e._R(4),r=e.slice(e.l,e.l+t);return e.l+=t,(3&t)>0&&(e.l+=4-(3&t)&3),r}function Sa(e,t,r){var n,a=e._R(2),o=r||{};if(e.l+=2,t!==Cn&&a!==t&&-1===Pn.indexOf(t)&&(4126!=(65534&t)||4126!=(65534&a)))throw new Error("Expected type "+t+" saw "+a);switch(t===Cn?a:t){case 2:return n=e._R(2,"i"),o.raw||(e.l+=2),n;case 3:return n=e._R(4,"i");case 11:return 0!==e._R(4);case 19:return n=e._R(4);case 30:return pa(e,0,4).replace(_,"");case 31:return ga(e);case 64:return da(e);case 65:return wa(e);case 71:return function(e){var t={};return t.Size=e._R(4),e.l+=t.Size+3-(t.Size-1)%4,t}(e);case 80:return va(e,a,!o.raw).replace(_,"");case 81:return function(e,t){if(!t)throw new Error("VtUnalignedString must have positive length");return ma(e,t,0)}(e,a).replace(_,"");case 4108:return function(e){for(var t=e._R(4),r=[],n=0;n<t/2;++n)r.push(ba(e));return r}(e);case 4126:case 4127:return 4127==a?function(e){for(var t=e._R(4),r=[],n=0;n!=t;++n){var a=e.l;r[n]=e._R(0,"lpwstr").replace(_,""),e.l-a&2&&(e.l+=2)}return r}(e):function(e){for(var t=e._R(4),r=[],n=0;n!=t;++n)r[n]=e._R(0,"lpstr-cp").replace(_,"");return r}(e);default:throw new Error("TypedPropertyValue unrecognized type "+t+" "+a)}}function xa(e,t){var r=Rr(4),n=Rr(4);switch(r._W(4,80==e?31:e),e){case 3:n._W(-4,t);break;case 5:(n=Rr(8))._W(8,t,"f");break;case 11:n._W(4,t?1:0);break;case 64:n=function(e){var t=("string"==typeof e?new Date(Date.parse(e)):e).getTime()/1e3+11644473600,r=t%Math.pow(2,32),n=(t-r)/Math.pow(2,32);n*=1e7;var a=(r*=1e7)/Math.pow(2,32)|0;a>0&&(r%=Math.pow(2,32),n+=a);var o=Rr(8);return o._W(4,r),o._W(4,n),o}(t);break;case 31:case 80:for((n=Rr(4+2*(t.length+1)+(t.length%2?0:2)))._W(4,t.length+1),n._W(0,t,"dbcs");n.l!=n.length;)n._W(1,0);break;default:throw new Error("TypedPropertyValue unrecognized type "+e+" "+t)}return E([r,n])}function Aa(e,t){var r=e.l,n=e._R(4),a=e._R(4),o=[],i=0,c=0,l=-1,u={};for(i=0;i!=a;++i){var f=e._R(4),h=e._R(4);o[i]=[f,h+r]}o.sort((function(e,t){return e[1]-t[1]}));var d={};for(i=0;i!=a;++i){if(e.l!==o[i][1]){var p=!0;if(i>0&&t)switch(t[o[i-1][0]].t){case 2:e.l+2===o[i][1]&&(e.l+=2,p=!1);break;case 80:case 4108:e.l<=o[i][1]&&(e.l=o[i][1],p=!1)}if((!t||0==i)&&e.l<=o[i][1]&&(p=!1,e.l=o[i][1]),p)throw new Error("Read Error: Expected address "+o[i][1]+" at "+e.l+" :"+i)}if(t){var g=t[o[i][0]];if(d[g.n]=Sa(e,g.t,{raw:!0}),"version"===g.p&&(d[g.n]=String(d[g.n]>>16)+"."+("0000"+String(65535&d[g.n])).slice(-4)),"CodePage"==g.n)switch(d[g.n]){case 0:d[g.n]=1252;case 874:case 932:case 936:case 949:case 950:case 1250:case 1251:case 1253:case 1254:case 1255:case 1256:case 1257:case 1258:case 1e4:case 1200:case 1201:case 1252:case 65e3:case-536:case 65001:case-535:s(c=d[g.n]>>>0&65535);break;default:throw new Error("Unsupported CodePage: "+d[g.n])}}else if(1===o[i][0]){if(c=d.CodePage=Sa(e,_n),s(c),-1!==l){var m=e.l;e.l=o[l][1],u=ya(e,c),e.l=m}}else if(0===o[i][0]){if(0===c){l=i,e.l=o[i+1][1];continue}u=ya(e,c)}else{var v,b=u[o[i][0]];switch(e[e.l]){case 65:e.l+=4,v=wa(e);break;case 30:case 31:e.l+=4,v=va(e,e[e.l-4]).replace(/\u0000+$/,"");break;case 3:e.l+=4,v=e._R(4,"i");break;case 19:e.l+=4,v=e._R(4);break;case 5:e.l+=4,v=e._R(8,"f");break;case 11:e.l+=4,v=Oa(e,4);break;case 64:e.l+=4,v=ze(da(e));break;default:throw new Error("unparsed value: "+e[e.l])}d[b]=v}}return e.l=r+n,d}var ka=["CodePage","Thumbnail","_PID_LINKBASE","_PID_HLINKS","SystemIdentifier","FMTID"];function Ta(e){switch(typeof e){case"boolean":return 11;case"number":return(0|e)==e?3:5;case"string":return 31;case"object":if(e instanceof Date)return 64}return-1}function Ea(e,t,r){var n=Rr(8),a=[],o=[],i=8,s=0,c=Rr(8),l=Rr(8);if(c._W(4,2),c._W(4,1200),l._W(4,1),o.push(c),a.push(l),i+=8+c.length,!t){(l=Rr(8))._W(4,0),a.unshift(l);var u=[Rr(4)];for(u[0]._W(4,e.length),s=0;s<e.length;++s){var f=e[s][0];for((c=Rr(8+2*(f.length+1)+(f.length%2?0:2)))._W(4,s+2),c._W(4,f.length+1),c._W(0,f,"dbcs");c.l!=c.length;)c._W(1,0);u.push(c)}c=E(u),o.unshift(c),i+=8+c.length}for(s=0;s<e.length;++s)if((!t||t[e[s][0]])&&!(ka.indexOf(e[s][0])>-1||oa.indexOf(e[s][0])>-1)&&null!=e[s][1]){var h=e[s][1],d=0;if(t){var p=r[d=+t[e[s][0]]];if("version"==p.p&&"string"==typeof h){var g=h.split(".");h=(+g[0]<<16)+(+g[1]||0)}c=xa(p.t,h)}else{var m=Ta(h);-1==m&&(m=31,h=String(h)),c=xa(m,h)}o.push(c),(l=Rr(8))._W(4,t?d:2+s),a.push(l),i+=8+c.length}var v=8*(o.length+1);for(s=0;s<o.length;++s)a[s]._W(4,v),v+=o[s].length;return n._W(4,i),n._W(4,o.length),E([n].concat(a).concat(o))}function _a(e,t,r){var n=e.content;if(!n)return{};Cr(n,0);var a,o,i,s,c=0;n.chk("feff","Byte Order: "),n._R(2);var l=n._R(4),u=n._R(16);if(u!==Ee.utils.consts.HEADER_CLSID&&u!==r)throw new Error("Bad PropertySet CLSID "+u);if(1!==(a=n._R(4))&&2!==a)throw new Error("Unrecognized #Sets: "+a);if(o=n._R(16),s=n._R(4),1===a&&s!==n.l)throw new Error("Length mismatch: "+s+" !== "+n.l);2===a&&(i=n._R(16),c=n._R(4));var f,h=Aa(n,t),d={SystemIdentifier:l};for(var p in h)d[p]=h[p];if(d.FMTID=o,1===a)return d;if(c-n.l==2&&(n.l+=2),n.l!==c)throw new Error("Length mismatch 2: "+n.l+" !== "+c);try{f=Aa(n,null)}catch(e){}for(p in f)d[p]=f[p];return d.FMTID=[o,i],d}function Na(e,t,r,n,a,o){var i=Rr(a?68:48),s=[i];i._W(2,65534),i._W(2,0),i._W(4,842412599),i._W(16,Ee.utils.consts.HEADER_CLSID,"hex"),i._W(4,a?2:1),i._W(16,t,"hex"),i._W(4,a?68:48);var c=Ea(e,r,n);if(s.push(c),a){var l=Ea(a,null,null);i._W(16,o,"hex"),i._W(4,68+c.length),s.push(l)}return E(s)}function Ca(e,t){return e._R(t),null}function Oa(e,t){return 1===e._R(t)}function Ra(e,t){return t||(t=Rr(2)),t._W(2,+!!e),t}function Pa(e){return e._R(2,"u")}function La(e,t){return t||(t=Rr(2)),t._W(2,e),t}function Ia(e,t){return function(e,t,r){for(var n=[],a=e.l+t;e.l<a;)n.push(r(e,a-e.l));if(a!==e.l)throw new Error("Slurp error");return n}(e,t,Pa)}function Fa(e,t,r){return r||(r=Rr(2)),r._W(1,"e"==t?+e:+!!e),r._W(1,"e"==t?1:0),r}function Da(e,t,n){var a=e._R(n&&n.biff>=12?2:1),o="sbcs-cont",i=r;(n&&n.biff>=8&&(r=1200),n&&8!=n.biff)?12==n.biff&&(o="wstr"):e._R(1)&&(o="dbcs-cont");n.biff>=2&&n.biff<=5&&(o="cpstr");var s=a?e._R(a,o):"";return r=i,s}function Ma(e){var t=r;r=1200;var n,a=e._R(2),o=e._R(1),i=4&o,s=8&o,c=1+(1&o),l=0,u={};s&&(l=e._R(2)),i&&(n=e._R(4));var f=2==c?"dbcs-cont":"sbcs-cont",h=0===a?"":e._R(a,f);return s&&(e.l+=4*l),i&&(e.l+=n),u.t=h,s||(u.raw="<t>"+u.t+"</t>",u.r=u.t),r=t,u}function ja(e){var t=e.t||"",r=Rr(3);r._W(2,t.length),r._W(1,1);var n=Rr(2*t.length);return n._W(2*t.length,t,"utf16le"),E([r,n])}function Ba(e,t,r){if(r){if(r.biff>=2&&r.biff<=5)return e._R(t,"cpstr");if(r.biff>=12)return e._R(t,"dbcs-cont")}return 0===e._R(1)?e._R(t,"sbcs-cont"):e._R(t,"dbcs-cont")}function Wa(e,t,r){var n=e._R(r&&2==r.biff?1:2);return 0===n?(e.l++,""):Ba(e,n,r)}function Ua(e,t,r){if(r.biff>5)return Wa(e,0,r);var n=e._R(1);return 0===n?(e.l++,""):e._R(n,r.biff<=4||!e.lens?"cpstr":"sbcs-cont")}function Ha(e,t,r){return r||(r=Rr(3+2*e.length)),r._W(2,e.length),r._W(1,1),r._W(31,e,"utf16le"),r}function za(e,t){var r=e._R(16);switch(16,r){case"e0c9ea79f9bace118c8200aa004ba90b":return function(e){var t=e._R(4),r=e.l,n=!1;t>24&&(e.l+=t-24,"795881f43b1d7f48af2c825dc4852763"===e._R(16)&&(n=!0),e.l=r);var a=e._R((n?t-24:t)>>1,"utf16le").replace(_,"");return n&&(e.l+=24),a}(e);case"0303000000000000c000000000000046":return function(e){for(var t=e._R(2),r="";t-- >0;)r+="../";var n=e._R(0,"lpstr-ansi");if(e.l+=2,57005!=e._R(2))throw new Error("Bad FileMoniker");if(0===e._R(4))return r+n.replace(/\\/g,"/");var a=e._R(4);if(3!=e._R(2))throw new Error("Bad FileMoniker");return r+e._R(a>>1,"utf16le").replace(_,"")}(e);default:throw new Error("Unsupported Moniker "+r)}}function Va(e){var t=e._R(4);return t>0?e._R(t,"utf16le").replace(_,""):""}function qa(e,t){t||(t=Rr(6+2*e.length)),t._W(4,1+e.length);for(var r=0;r<e.length;++r)t._W(2,e.charCodeAt(r));return t._W(2,0),t}function $a(e){var t=Rr(512),r=0,n=e.Target;"file://"==n.slice(0,7)&&(n=n.slice(7));var a=n.indexOf("#"),o=a>-1?31:23;switch(n.charAt(0)){case"#":o=28;break;case".":o&=-3}t._W(4,2),t._W(4,o);var i=[8,6815827,6619237,4849780,83];for(r=0;r<i.length;++r)t._W(4,i[r]);if(28==o)qa(n=n.slice(1),t);else if(2&o){for(i="e0 c9 ea 79 f9 ba ce 11 8c 82 00 aa 00 4b a9 0b".split(" "),r=0;r<i.length;++r)t._W(1,parseInt(i[r],16));var s=a>-1?n.slice(0,a):n;for(t._W(4,2*(s.length+1)),r=0;r<s.length;++r)t._W(2,s.charCodeAt(r));t._W(2,0),8&o&&qa(a>-1?n.slice(a+1):"",t)}else{for(i="03 03 00 00 00 00 00 00 c0 00 00 00 00 00 00 46".split(" "),r=0;r<i.length;++r)t._W(1,parseInt(i[r],16));for(var c=0;"../"==n.slice(3*c,3*c+3)||"..\\"==n.slice(3*c,3*c+3);)++c;for(t._W(2,c),t._W(4,n.length-3*c+1),r=0;r<n.length-3*c;++r)t._W(1,255&n.charCodeAt(r+3*c));for(t._W(1,0),t._W(2,65535),t._W(2,57005),r=0;r<6;++r)t._W(4,0)}return t.slice(0,t.l)}function Ga(e){return[e._R(1),e._R(1),e._R(1),e._R(1)]}function Xa(e,t){var r=Ga(e);return r[3]=0,r}function Ya(e){return{r:e._R(2),c:e._R(2),ixfe:e._R(2)}}function Ka(e,t,r,n){return n||(n=Rr(6)),n._W(2,e),n._W(2,t),n._W(2,r||0),n}function Ja(e,t,r){var n=r.biff>8?4:2;return[e._R(n),e._R(n,"i"),e._R(n,"i")]}function Za(e){return[e._R(2),bn(e)]}function Qa(e){var t=e._R(2),r=e._R(2);return{s:{c:e._R(2),r:t},e:{c:e._R(2),r:r}}}function eo(e,t){return t||(t=Rr(8)),t._W(2,e.s.r),t._W(2,e.e.r),t._W(2,e.s.c),t._W(2,e.e.c),t}function to(e){var t=e._R(2),r=e._R(2);return{s:{c:e._R(1),r:t},e:{c:e._R(1),r:r}}}var ro=to;function no(e){e.l+=4;var t=e._R(2),r=e._R(2),n=e._R(2);return e.l+=12,[r,t,n]}function ao(e){e.l+=2,e.l+=e._R(2)}var oo={0:ao,4:ao,5:ao,6:ao,7:function(e){return e.l+=4,e.cf=e._R(2),{}},8:ao,9:ao,10:ao,11:ao,12:ao,13:function(e){var t={};return e.l+=4,e.l+=16,t.fSharedNote=e._R(2),e.l+=4,t},14:ao,15:ao,16:ao,17:ao,18:ao,19:ao,20:ao,21:no};function io(e,t){var r={BIFFVer:0,dt:0};switch(r.BIFFVer=e._R(2),(t-=2)>=2&&(r.dt=e._R(2),e.l-=2),r.BIFFVer){case 1536:case 1280:case 1024:case 768:case 512:case 2:case 7:break;default:if(t>6)throw new Error("Unexpected BIFF Ver "+r.BIFFVer)}return e._R(t),r}function so(e,t,r){var n=1536,a=16;switch(r.bookType){case"biff8":case"xla":break;case"biff5":n=1280,a=8;break;case"biff4":n=4,a=6;break;case"biff3":n=3,a=6;break;case"biff2":n=2,a=4;break;default:throw new Error("unsupported BIFF version")}var o=Rr(a);return o._W(2,n),o._W(2,t),a>4&&o._W(2,29282),a>6&&o._W(2,1997),a>8&&(o._W(2,49161),o._W(2,1),o._W(2,1798),o._W(2,0)),o}function co(e,t){var r=!t||t.biff>=8?2:1,n=Rr(8+r*e.name.length);n._W(4,e.pos),n._W(1,e.hs||0),n._W(1,e.dt),n._W(1,e.name.length),t.biff>=8&&n._W(1,1),n._W(r*e.name.length,e.name,t.biff<8?"sbcs":"utf16le");var a=n.slice(0,n.l);return a.l=n.l,a}function lo(e,t,r){var n=0;r&&2==r.biff||(n=e._R(2));var a=e._R(2);return r&&2==r.biff&&(n=1-(a>>15),a&=32767),[{Unsynced:1&n,DyZero:(2&n)>>1,ExAsc:(4&n)>>2,ExDsc:(8&n)>>3},a]}function uo(e,t,r,n){var a=r&&5==r.biff;n||(n=Rr(a?3+t.length:5+2*t.length)),n._W(2,e),n._W(a?1:2,t.length),a||n._W(1,1),n._W((a?1:2)*t.length,t,a?"sbcs":"utf16le");var o=n.length>n.l?n.slice(0,n.l):n;return null==o.l&&(o.l=o.length),o}var fo=Ua;function ho(e,t,r){var n=e.l+t,a=8!=r.biff&&r.biff?2:4,o=e._R(a),i=e._R(a),s=e._R(2),c=e._R(2);return e.l=n,{s:{r:o,c:s},e:{r:i,c:c}}}function po(e,t,r,n){var a=r&&5==r.biff;n||(n=Rr(a?16:20)),n._W(2,0),e.style?(n._W(2,e.numFmtId||0),n._W(2,65524)):(n._W(2,e.numFmtId||0),n._W(2,t<<4));var o=0;return e.numFmtId>0&&a&&(o|=1024),n._W(4,o),n._W(4,0),a||n._W(4,0),n._W(2,0),n}function go(e,t,r){var n=Ya(e);2!=r.biff&&9!=t||++e.l;var a=function(e){var t=e._R(1);return 1===e._R(1)?t:1===t}(e);return n.val=a,n.t=!0===a||!1===a?"b":"e",n}var mo=function(e,t,r){return 0===t?"":Ua(e,0,r)};function vo(e,t,r){var n,a=e._R(2),o={fBuiltIn:1&a,fWantAdvise:a>>>1&1,fWantPict:a>>>2&1,fOle:a>>>3&1,fOleLink:a>>>4&1,cf:a>>>5&1023,fIcon:a>>>15&1};return 14849===r.sbcch&&(n=function(e,t,r){e.l+=4,t-=4;var n=e.l+t,a=Da(e,0,r),o=e._R(2);if(o!==(n-=e.l))throw new Error("Malformed AddinUdf: padding = "+n+" != "+o);return e.l+=o,a}(e,t-2,r)),o.body=n||e._R(t-2),"string"==typeof n&&(o.Name=n),o}var bo=["_xlnm.Consolidate_Area","_xlnm.Auto_Open","_xlnm.Auto_Close","_xlnm.Extract","_xlnm.Database","_xlnm.Criteria","_xlnm.Print_Area","_xlnm.Print_Titles","_xlnm.Recorder","_xlnm.Data_Form","_xlnm.Auto_Activate","_xlnm.Auto_Deactivate","_xlnm.Sheet_Title","_xlnm._FilterDatabase"];function yo(e,t,r){var n=e.l+t,a=e._R(2),o=e._R(1),i=e._R(1),s=e._R(r&&2==r.biff?1:2),c=0;(!r||r.biff>=5)&&(5!=r.biff&&(e.l+=2),c=e._R(2),5==r.biff&&(e.l+=2),e.l+=4);var l=Ba(e,i,r);32&a&&(l=bo[l.charCodeAt(0)]);var u=n-e.l;r&&2==r.biff&&--u;var f=n!=e.l&&0!==s&&u>0?function(e,t,r,n){var a,o=e.l+t,i=Ws(e,n,r);o!==e.l&&(a=Bs(e,o-e.l,i,r));return[i,a]}(e,u,r,s):[];return{chKey:o,Name:l,itab:c,rgce:f}}function wo(e,t,r){if(r.biff<8)return function(e,t,r){3==e[e.l+1]&&e[e.l]++;var n=Da(e,0,r);return 3==n.charCodeAt(0)?n.slice(1):n}(e,0,r);for(var n=[],a=e.l+t,o=e._R(r.biff>8?4:2);0!=o--;)n.push(Ja(e,r.biff,r));if(e.l!=a)throw new Error("Bad ExternSheet: "+e.l+" != "+a);return n}function So(e,t,r){var n=ro(e,6);switch(r.biff){case 2:e.l++,t-=7;break;case 3:case 4:e.l+=2,t-=8;break;default:e.l+=6,t-=12}return[n,$s(e,t,r)]}var xo={8:function(e,t){var r=e.l+t;e.l+=10;var n=e._R(2);e.l+=4,e.l+=2,e.l+=2,e.l+=2,e.l+=4;var a=e._R(1);return e.l+=a,e.l=r,{fmt:n}}};function Ao(e){var t=Rr(24),r=zr(e[0]);t._W(2,r.r),t._W(2,r.r),t._W(2,r.c),t._W(2,r.c);for(var n="d0 c9 ea 79 f9 ba ce 11 8c 82 00 aa 00 4b a9 0b".split(" "),a=0;a<16;++a)t._W(1,parseInt(n[a],16));return E([t,$a(e[1])])}function ko(e){var t=e[1].Tooltip,r=Rr(10+2*(t.length+1));r._W(2,2048);var n=zr(e[0]);r._W(2,n.r),r._W(2,n.r),r._W(2,n.c),r._W(2,n.c);for(var a=0;a<t.length;++a)r._W(2,t.charCodeAt(a));return r._W(2,0),r}function To(e,t,r){if(!r.cellStyles)return Or(e,t);var n=r&&r.biff>=12?4:2,a=e._R(n),o=e._R(n),i=e._R(n),s=e._R(n),c=e._R(2);2==n&&(e.l+=2);var l={s:a,e:o,w:i,ixfe:s,flags:c};return(r.biff>=5||!r.biff)&&(l.level=c>>8&7),l}var Eo=Ya,_o=Ia,No=Wa;var Co=[2,3,48,49,131,139,140,245],Oo=function(){var e={1:437,2:850,3:1252,4:1e4,100:852,101:866,102:865,103:861,104:895,105:620,106:737,107:857,120:950,121:949,122:936,123:932,124:874,125:1255,126:1256,150:10007,151:10029,152:10006,200:1250,201:1251,202:1254,203:1253,0:20127,8:865,9:437,10:850,11:437,13:437,14:850,15:437,16:850,17:437,18:850,19:932,20:850,21:437,22:850,23:865,24:437,25:437,26:850,27:437,28:863,29:850,31:852,34:852,35:852,36:860,37:850,38:866,55:850,64:852,77:936,78:949,79:950,80:874,87:1252,88:1252,89:1252,108:863,134:737,135:852,136:857,204:1257,255:16969},r=Re({1:437,2:850,3:1252,4:1e4,100:852,101:866,102:865,103:861,104:895,105:620,106:737,107:857,120:950,121:949,122:936,123:932,124:874,125:1255,126:1256,150:10007,151:10029,152:10006,200:1250,201:1251,202:1254,203:1253,0:20127});function a(r,n){var a=[],o=w(1);switch(n.type){case"base64":o=x(v(r));break;case"binary":o=x(r);break;case"buffer":case"array":o=r}Cr(o,0);var i=o._R(1),s=!!(136&i),c=!1,l=!1;switch(i){case 2:case 3:case 131:case 139:case 245:break;case 48:case 49:c=!0,s=!0;break;case 140:l=!0;break;default:throw new Error("DBF Unsupported Version: "+i.toString(16))}var u=0,f=521;2==i&&(u=o._R(2)),o.l+=3,2!=i&&(u=o._R(4)),u>1048576&&(u=1e6),2!=i&&(f=o._R(2));var h=o._R(2),d=n.codepage||1252;2!=i&&(o.l+=16,o._R(1),0!==o[o.l]&&(d=e[o[o.l]]),o.l+=1,o.l+=2),l&&(o.l+=36);for(var p=[],g={},m=Math.min(o.length,2==i?521:f-10-(c?264:0)),b=l?32:11;o.l<m&&13!=o[o.l];)switch((g={}).name=t.utils.decode(d,o.slice(o.l,o.l+b)).replace(/[\u0000\r\n].*$/g,""),o.l+=b,g.type=String.fromCharCode(o._R(1)),2==i||l||(g.offset=o._R(4)),g.len=o._R(1),2==i&&(g.offset=o._R(2)),g.dec=o._R(1),g.name.length&&p.push(g),2!=i&&(o.l+=l?13:14),g.type){case"B":c&&8==g.len||!n.WTF||console.log("Skipping "+g.name+":"+g.type);break;case"G":case"P":n.WTF&&console.log("Skipping "+g.name+":"+g.type);break;case"+":case"0":case"@":case"C":case"D":case"F":case"I":case"L":case"M":case"N":case"O":case"T":case"Y":break;default:throw new Error("Unknown Field Type: "+g.type)}if(13!==o[o.l]&&(o.l=f-1),13!==o._R(1))throw new Error("DBF Terminator not found "+o.l+" "+o[o.l]);o.l=f;var y=0,S=0;for(a[0]=[],S=0;S!=p.length;++S)a[0][S]=p[S].name;for(;u-- >0;)if(42!==o[o.l])for(++o.l,a[++y]=[],S=0,S=0;S!=p.length;++S){var A=o.slice(o.l,o.l+p[S].len);o.l+=p[S].len,Cr(A,0);var k=t.utils.decode(d,A);switch(p[S].type){case"C":k.trim().length&&(a[y][S]=k.replace(/\s+$/,""));break;case"D":8===k.length?a[y][S]=new Date(+k.slice(0,4),+k.slice(4,6)-1,+k.slice(6,8)):a[y][S]=k;break;case"F":a[y][S]=parseFloat(k.trim());break;case"+":case"I":a[y][S]=l?2147483648^A._R(-4,"i"):A._R(4,"i");break;case"L":switch(k.trim().toUpperCase()){case"Y":case"T":a[y][S]=!0;break;case"N":case"F":a[y][S]=!1;break;case"":case"?":break;default:throw new Error("DBF Unrecognized L:|"+k+"|")}break;case"M":if(!s)throw new Error("DBF Unexpected MEMO for type "+i.toString(16));a[y][S]="##MEMO##"+(l?parseInt(k.trim(),10):A._R(4));break;case"N":(k=k.replace(/\u0000/g,"").trim())&&"."!=k&&(a[y][S]=+k||0);break;case"@":a[y][S]=new Date(A._R(-8,"f")-621356832e5);break;case"T":a[y][S]=new Date(864e5*(A._R(4)-2440588)+A._R(4));break;case"Y":a[y][S]=A._R(4,"i")/1e4+A._R(4,"i")/1e4*Math.pow(2,32);break;case"O":a[y][S]=-A._R(-8,"f");break;case"B":if(c&&8==p[S].len){a[y][S]=A._R(8,"f");break}case"G":case"P":A.l+=p[S].len;break;case"0":if("_NullFlags"===p[S].name)break;default:throw new Error("DBF Unsupported data type "+p[S].type)}}else o.l+=h;if(2!=i&&o.l<o.length&&26!=o[o.l++])throw new Error("DBF EOF Marker missing "+(o.l-1)+" of "+o.length+" "+o[o.l-1].toString(16));return n&&n.sheetRows&&(a=a.slice(0,n.sheetRows)),n.DBF=p,a}function o(e,t){var r=t||{};r.dateNF||(r.dateNF="yyyymmdd");var n=Zr(a(e,r),r);return n["!cols"]=r.DBF.map((function(e){return{wch:e.len,DBF:e}})),delete r.DBF,n}var i={B:8,C:250,L:1,D:8,"?":0,"":0};return{to_workbook:function(e,t){try{return Kr(o(e,t),t)}catch(e){if(t&&t.WTF)throw e}return{SheetNames:[],Sheets:{}}},to_sheet:o,from_sheet:function(e,t){var a=t||{};if(+a.codepage>=0&&s(+a.codepage),"string"==a.type)throw new Error("Cannot write DBF to JS string");var o=Lr(),c=Ef(e,{header:1,raw:!0,cellDates:!0}),l=c[0],u=c.slice(1),f=e["!cols"]||[],h=0,d=0,p=0,g=1;for(h=0;h<l.length;++h)if(((f[h]||{}).DBF||{}).name)l[h]=f[h].DBF.name,++p;else if(null!=l[h]){if(++p,"number"==typeof l[h]&&(l[h]=l[h].toString(10)),"string"!=typeof l[h])throw new Error("DBF Invalid column name "+l[h]+" |"+typeof l[h]+"|");if(l.indexOf(l[h])!==h)for(d=0;d<1024;++d)if(-1==l.indexOf(l[h]+"_"+d)){l[h]+="_"+d;break}}var m=Gr(e["!ref"]),v=[],b=[],y=[];for(h=0;h<=m.e.c-m.s.c;++h){var w="",S="",x=0,A=[];for(d=0;d<u.length;++d)null!=u[d][h]&&A.push(u[d][h]);if(0!=A.length&&null!=l[h]){for(d=0;d<A.length;++d){switch(typeof A[d]){case"number":S="B";break;case"string":default:S="C";break;case"boolean":S="L";break;case"object":S=A[d]instanceof Date?"D":"C"}x=Math.max(x,String(A[d]).length),w=w&&w!=S?"C":S}x>250&&(x=250),"C"==(S=((f[h]||{}).DBF||{}).type)&&f[h].DBF.len>x&&(x=f[h].DBF.len),"B"==w&&"N"==S&&(w="N",y[h]=f[h].DBF.dec,x=f[h].DBF.len),b[h]="C"==w||"N"==S?x:i[w]||0,g+=b[h],v[h]=w}else v[h]="?"}var k=o.next(32);for(k._W(4,318902576),k._W(4,u.length),k._W(2,296+32*p),k._W(2,g),h=0;h<4;++h)k._W(4,0);for(k._W(4,0|(+r[n]||3)<<8),h=0,d=0;h<l.length;++h)if(null!=l[h]){var T=o.next(32),E=(l[h].slice(-10)+"\0\0\0\0\0\0\0\0\0\0\0").slice(0,11);T._W(1,E,"sbcs"),T._W(1,"?"==v[h]?"C":v[h],"sbcs"),T._W(4,d),T._W(1,b[h]||i[v[h]]||0),T._W(1,y[h]||0),T._W(1,2),T._W(4,0),T._W(1,0),T._W(4,0),T._W(4,0),d+=b[h]||i[v[h]]||0}var _=o.next(264);for(_._W(4,13),h=0;h<65;++h)_._W(4,0);for(h=0;h<u.length;++h){var N=o.next(g);for(N._W(1,0),d=0;d<l.length;++d)if(null!=l[d])switch(v[d]){case"L":N._W(1,null==u[h][d]?63:u[h][d]?84:70);break;case"B":N._W(8,u[h][d]||0,"f");break;case"N":var C="0";for("number"==typeof u[h][d]&&(C=u[h][d].toFixed(y[d]||0)),p=0;p<b[d]-C.length;++p)N._W(1,32);N._W(1,C,"sbcs");break;case"D":u[h][d]?(N._W(4,("0000"+u[h][d].getFullYear()).slice(-4),"sbcs"),N._W(2,("00"+(u[h][d].getMonth()+1)).slice(-2),"sbcs"),N._W(2,("00"+u[h][d].getDate()).slice(-2),"sbcs")):N._W(8,"00000000","sbcs");break;case"C":var O=String(null!=u[h][d]?u[h][d]:"").slice(0,b[d]);for(N._W(1,O,"sbcs"),p=0;p<b[d]-O.length;++p)N._W(1,32)}}return o.next(1)._W(1,26),o.end()}}}(),Ro=function(){var e={AA:"À",BA:"Á",CA:"Â",DA:195,HA:"Ä",JA:197,AE:"È",BE:"É",CE:"Ê",HE:"Ë",AI:"Ì",BI:"Í",CI:"Î",HI:"Ï",AO:"Ò",BO:"Ó",CO:"Ô",DO:213,HO:"Ö",AU:"Ù",BU:"Ú",CU:"Û",HU:"Ü",Aa:"à",Ba:"á",Ca:"â",Da:227,Ha:"ä",Ja:229,Ae:"è",Be:"é",Ce:"ê",He:"ë",Ai:"ì",Bi:"í",Ci:"î",Hi:"ï",Ao:"ò",Bo:"ó",Co:"ô",Do:245,Ho:"ö",Au:"ù",Bu:"ú",Cu:"û",Hu:"ü",KC:"Ç",Kc:"ç",q:"æ",z:"œ",a:"Æ",j:"Œ",DN:209,Dn:241,Hy:255,S:169,c:170,R:174,"B ":180,0:176,1:177,2:178,3:179,5:181,6:182,7:183,Q:185,k:186,b:208,i:216,l:222,s:240,y:248,"!":161,'"':162,"#":163,"(":164,"%":165,"'":167,"H ":168,"+":171,";":187,"<":188,"=":189,">":190,"?":191,"{":223},r=new RegExp("N("+Ce(e).join("|").replace(/\|\|\|/,"|\\||").replace(/([?()+])/g,"\\$1")+"|\\|)","gm"),n=function(t,r){var n=e[r];return"number"==typeof n?d(n):n},a=function(e,t,r){var n=t.charCodeAt(0)-32<<4|r.charCodeAt(0)-48;return 59==n?e:d(n)};function o(e,t){switch(t.type){case"base64":return i(v(e),t);case"binary":return i(e,t);case"buffer":return i(b&&Buffer.isBuffer(e)?e.toString("binary"):k(e),t);case"array":return i(Ve(e),t)}throw new Error("Unrecognized type "+t.type)}function i(e,o){var i,c=e.split(/[\n\r]+/),l=-1,u=-1,f=0,h=0,d=[],p=[],g=null,m={},v=[],b=[],y=[],w=0;for(+o.codepage>=0&&s(+o.codepage);f!==c.length;++f){w=0;var S,x=c[f].trim().replace(/\x1B([\x20-\x2F])([\x30-\x3F])/g,a).replace(r,n),A=x.replace(/;;/g,"\0").split(";").map((function(e){return e.replace(/\u0000/g,";")})),k=A[0];if(x.length>0)switch(k){case"ID":case"E":case"B":case"O":case"W":break;case"P":"P"==A[1].charAt(0)&&p.push(x.slice(3).replace(/;;/g,";"));break;case"C":var T=!1,E=!1,_=!1,N=!1,C=-1,O=-1;for(h=1;h<A.length;++h)switch(A[h].charAt(0)){case"A":case"G":break;case"X":u=parseInt(A[h].slice(1))-1,E=!0;break;case"Y":for(l=parseInt(A[h].slice(1))-1,E||(u=0),i=d.length;i<=l;++i)d[i]=[];break;case"K":'"'===(S=A[h].slice(1)).charAt(0)?S=S.slice(1,S.length-1):"TRUE"===S?S=!0:"FALSE"===S?S=!1:isNaN(Ge(S))?isNaN(Ye(S).getDate())||(S=ze(S)):(S=Ge(S),null!==g&&de(g)&&(S=je(S))),void 0!==t&&"string"==typeof S&&"string"!=(o||{}).type&&(o||{}).codepage&&(S=t.utils.decode(o.codepage,S)),T=!0;break;case"E":N=!0;var R=ps(A[h].slice(1),{r:l,c:u});d[l][u]=[d[l][u],R];break;case"S":_=!0,d[l][u]=[d[l][u],"S5S"];break;case"R":C=parseInt(A[h].slice(1))-1;break;case"C":O=parseInt(A[h].slice(1))-1;break;default:if(o&&o.WTF)throw new Error("SYLK bad record "+x)}if(T&&(d[l][u]&&2==d[l][u].length?d[l][u][0]=S:d[l][u]=S,g=null),_){if(N)throw new Error("SYLK shared formula cannot have own formula");var P=C>-1&&d[C][O];if(!P||!P[1])throw new Error("SYLK shared formula cannot find base");d[l][u][1]=vs(P[1],{r:l-C,c:u-O})}break;case"F":var L=0;for(h=1;h<A.length;++h)switch(A[h].charAt(0)){case"X":u=parseInt(A[h].slice(1))-1,++L;break;case"Y":for(l=parseInt(A[h].slice(1))-1,i=d.length;i<=l;++i)d[i]=[];break;case"M":w=parseInt(A[h].slice(1))/20;break;case"F":case"G":case"S":case"D":case"N":break;case"P":g=p[parseInt(A[h].slice(1))];break;case"W":for(y=A[h].slice(1).split(" "),i=parseInt(y[0],10);i<=parseInt(y[1],10);++i)w=parseInt(y[2],10),b[i-1]=0===w?{hidden:!0}:{wch:w},Si(b[i-1]);break;case"C":b[u=parseInt(A[h].slice(1))-1]||(b[u]={});break;case"R":v[l=parseInt(A[h].slice(1))-1]||(v[l]={}),w>0?(v[l].hpt=w,v[l].hpx=ki(w)):0===w&&(v[l].hidden=!0);break;default:if(o&&o.WTF)throw new Error("SYLK bad record "+x)}L<1&&(g=null);break;default:if(o&&o.WTF)throw new Error("SYLK bad record "+x)}}return v.length>0&&(m["!rows"]=v),b.length>0&&(m["!cols"]=b),o&&o.sheetRows&&(d=d.slice(0,o.sheetRows)),[d,m]}function c(e,t){var r=o(e,t),n=r[0],a=r[1],i=Zr(n,t);return Ce(a).forEach((function(e){i[e]=a[e]})),i}function l(e,t,r,n){var a="C;Y"+(r+1)+";X"+(n+1)+";K";switch(e.t){case"n":a+=e.v||0,e.f&&!e.F&&(a+=";E"+ms(e.f,{r:r,c:n}));break;case"b":a+=e.v?"TRUE":"FALSE";break;case"e":a+=e.w||e.v;break;case"d":a+='"'+(e.w||e.v)+'"';break;case"s":a+='"'+e.v.replace(/"/g,"").replace(/;/g,";;")+'"'}return a}return e["|"]=254,{to_workbook:function(e,t){return Kr(c(e,t),t)},to_sheet:c,from_sheet:function(e,t){var r,n=["ID;PWXL;N;E"],a=[],o=Gr(e["!ref"]),i=Array.isArray(e),s="\r\n";n.push("P;PGeneral"),n.push("F;P0;DG0G8;M255"),e["!cols"]&&function(e,t){t.forEach((function(t,r){var n="F;W"+(r+1)+" "+(r+1)+" ";t.hidden?n+="0":("number"!=typeof t.width||t.wpx||(t.wpx=mi(t.width)),"number"!=typeof t.wpx||t.wch||(t.wch=vi(t.wpx)),"number"==typeof t.wch&&(n+=Math.round(t.wch)))," "!=n.charAt(n.length-1)&&e.push(n)}))}(n,e["!cols"]),e["!rows"]&&function(e,t){t.forEach((function(t,r){var n="F;";t.hidden?n+="M0;":t.hpt?n+="M"+20*t.hpt+";":t.hpx&&(n+="M"+20*Ai(t.hpx)+";"),n.length>2&&e.push(n+"R"+(r+1))}))}(n,e["!rows"]),n.push("B;Y"+(o.e.r-o.s.r+1)+";X"+(o.e.c-o.s.c+1)+";D"+[o.s.c,o.s.r,o.e.c,o.e.r].join(" "));for(var c=o.s.r;c<=o.e.r;++c)for(var u=o.s.c;u<=o.e.c;++u){var f=Vr({r:c,c:u});(r=i?(e[c]||[])[u]:e[f])&&(null!=r.v||r.f&&!r.F)&&a.push(l(r,0,c,u))}return n.join(s)+s+a.join(s)+s+"E"+s}}}(),Po=function(){function e(e,r){switch(r.type){case"base64":return t(v(e),r);case"binary":return t(e,r);case"buffer":return t(b&&Buffer.isBuffer(e)?e.toString("binary"):k(e),r);case"array":return t(Ve(e),r)}throw new Error("Unrecognized type "+r.type)}function t(e,t){for(var r=e.split("\n"),n=-1,a=-1,o=0,i=[];o!==r.length;++o)if("BOT"!==r[o].trim()){if(!(n<0)){for(var s=r[o].trim().split(","),c=s[0],l=s[1],u=r[++o]||"";1&(u.match(/["]/g)||[]).length&&o<r.length-1;)u+="\n"+r[++o];switch(u=u.trim(),+c){case-1:if("BOT"===u){i[++n]=[],a=0;continue}if("EOD"!==u)throw new Error("Unrecognized DIF special command "+u);break;case 0:"TRUE"===u?i[n][a]=!0:"FALSE"===u?i[n][a]=!1:isNaN(Ge(l))?isNaN(Ye(l).getDate())?i[n][a]=l:i[n][a]=ze(l):i[n][a]=Ge(l),++a;break;case 1:(u=(u=u.slice(1,u.length-1)).replace(/""/g,'"'))&&u.match(/^=".*"$/)&&(u=u.slice(2,-1)),i[n][a++]=""!==u?u:null}if("EOD"===u)break}}else i[++n]=[],a=0;return t&&t.sheetRows&&(i=i.slice(0,t.sheetRows)),i}function r(t,r){return Zr(e(t,r),r)}var n=function(){var e=function(e,t,r,n,a){e.push(t),e.push(r+","+n),e.push('"'+a.replace(/"/g,'""')+'"')},t=function(e,t,r,n){e.push(t+","+r),e.push(1==t?'"'+n.replace(/"/g,'""')+'"':n)};return function(r){var n,a=[],o=Gr(r["!ref"]),i=Array.isArray(r);e(a,"TABLE",0,1,"sheetjs"),e(a,"VECTORS",0,o.e.r-o.s.r+1,""),e(a,"TUPLES",0,o.e.c-o.s.c+1,""),e(a,"DATA",0,0,"");for(var s=o.s.r;s<=o.e.r;++s){t(a,-1,0,"BOT");for(var c=o.s.c;c<=o.e.c;++c){var l=Vr({r:s,c:c});if(n=i?(r[s]||[])[c]:r[l])switch(n.t){case"n":var u=n.w;u||null==n.v||(u=n.v),null==u?n.f&&!n.F?t(a,1,0,"="+n.f):t(a,1,0,""):t(a,0,u,"V");break;case"b":t(a,0,n.v?1:0,n.v?"TRUE":"FALSE");break;case"s":t(a,1,0,isNaN(n.v)?n.v:'="'+n.v+'"');break;case"d":n.w||(n.w=ve(n.z||j[14],Ie(ze(n.v)))),t(a,0,n.w,"V");break;default:t(a,1,0,"")}else t(a,1,0,"")}}t(a,-1,0,"EOD");return a.join("\r\n")}}();return{to_workbook:function(e,t){return Kr(r(e,t),t)},to_sheet:r,from_sheet:n}}(),Lo=function(){function e(e){return e.replace(/\\b/g,"\\").replace(/\\c/g,":").replace(/\\n/g,"\n")}function t(e){return e.replace(/\\/g,"\\b").replace(/:/g,"\\c").replace(/\n/g,"\\n")}function r(t,r){for(var n=t.split("\n"),a=-1,o=-1,i=0,s=[];i!==n.length;++i){var c=n[i].trim().split(":");if("cell"===c[0]){var l=zr(c[1]);if(s.length<=l.r)for(a=s.length;a<=l.r;++a)s[a]||(s[a]=[]);switch(a=l.r,o=l.c,c[2]){case"t":s[a][o]=e(c[3]);break;case"v":s[a][o]=+c[3];break;case"vtf":var u=c[c.length-1];case"vtc":if("nl"===c[3])s[a][o]=!!+c[4];else s[a][o]=+c[4];"vtf"==c[2]&&(s[a][o]=[s[a][o],u])}}}return r&&r.sheetRows&&(s=s.slice(0,r.sheetRows)),s}function n(e,t){return Zr(r(e,t),t)}var a=["socialcalc:version:1.5","MIME-Version: 1.0","Content-Type: multipart/mixed; boundary=SocialCalcSpreadsheetControlSave"].join("\n"),o=["--SocialCalcSpreadsheetControlSave","Content-type: text/plain; charset=UTF-8"].join("\n")+"\n",i=["# SocialCalc Spreadsheet Control Save","part:sheet"].join("\n"),s="--SocialCalcSpreadsheetControlSave--";function c(e){if(!e||!e["!ref"])return"";for(var r,n=[],a=[],o="",i=qr(e["!ref"]),s=Array.isArray(e),c=i.s.r;c<=i.e.r;++c)for(var l=i.s.c;l<=i.e.c;++l)if(o=Vr({r:c,c:l}),(r=s?(e[c]||[])[l]:e[o])&&null!=r.v&&"z"!==r.t){switch(a=["cell",o,"t"],r.t){case"s":case"str":a.push(t(r.v));break;case"n":r.f?(a[2]="vtf",a[3]="n",a[4]=r.v,a[5]=t(r.f)):(a[2]="v",a[3]=r.v);break;case"b":a[2]="vt"+(r.f?"f":"c"),a[3]="nl",a[4]=r.v?"1":"0",a[5]=t(r.f||(r.v?"TRUE":"FALSE"));break;case"d":var u=Ie(ze(r.v));a[2]="vtc",a[3]="nd",a[4]=""+u,a[5]=r.w||ve(r.z||j[14],u);break;case"e":continue}n.push(a.join(":"))}return n.push("sheet:c:"+(i.e.c-i.s.c+1)+":r:"+(i.e.r-i.s.r+1)+":tvf:1"),n.push("valueformat:1:text-wiki"),n.join("\n")}return{to_workbook:function(e,t){return Kr(n(e,t),t)},to_sheet:n,from_sheet:function(e){return[a,o,i,o,c(e),s].join("\n")}}}(),Io=function(){function e(e,t,r,n,a){a.raw?t[r][n]=e:""===e||("TRUE"===e?t[r][n]=!0:"FALSE"===e?t[r][n]=!1:isNaN(Ge(e))?isNaN(Ye(e).getDate())?t[r][n]=e:t[r][n]=ze(e):t[r][n]=Ge(e))}function r(t,r){var n=r||{},a=[];if(!t||0===t.length)return a;for(var o=t.split(/[\r\n]/),i=o.length-1;i>=0&&0===o[i].length;)--i;for(var s=10,c=0,l=0;l<=i;++l)-1==(c=o[l].indexOf(" "))?c=o[l].length:c++,s=Math.max(s,c);for(l=0;l<=i;++l){a[l]=[];var u=0;for(e(o[l].slice(0,s).trim(),a,l,u,n),u=1;u<=(o[l].length-s)/10+1;++u)e(o[l].slice(s+10*(u-1),s+10*u).trim(),a,l,u,n)}return n.sheetRows&&(a=a.slice(0,n.sheetRows)),a}var n={44:",",9:"\t",59:";",124:"|"},a={44:3,9:2,59:1,124:0};function o(e){for(var t={},r=!1,o=0,i=0;o<e.length;++o)34==(i=e.charCodeAt(o))?r=!r:!r&&i in n&&(t[i]=(t[i]||0)+1);for(o in i=[],t)Object.prototype.hasOwnProperty.call(t,o)&&i.push([t[o],o]);if(!i.length)for(o in t=a)Object.prototype.hasOwnProperty.call(t,o)&&i.push([t[o],o]);return i.sort((function(e,t){return e[0]-t[0]||a[e[1]]-a[t[1]]})),n[i.pop()[1]]||44}function i(e,t){var r=t||{},n="";null!=p&&null==r.dense&&(r.dense=p);var a=r.dense?[]:{},i={s:{c:0,r:0},e:{c:0,r:0}};"sep="==e.slice(0,4)?13==e.charCodeAt(5)&&10==e.charCodeAt(6)?(n=e.charAt(4),e=e.slice(7)):13==e.charCodeAt(5)||10==e.charCodeAt(5)?(n=e.charAt(4),e=e.slice(6)):n=o(e.slice(0,1024)):n=r&&r.FS?r.FS:o(e.slice(0,1024));var s=0,c=0,l=0,u=0,f=0,h=n.charCodeAt(0),d=!1,g=0,m=e.charCodeAt(0);e=e.replace(/\r\n/gm,"\n");var v=null!=r.dateNF?function(e){var t="number"==typeof e?j[e]:e;return t=t.replace(Ae,"(\\d+)"),new RegExp("^"+t+"$")}(r.dateNF):null;function b(){var t=e.slice(u,f),n={};if('"'==t.charAt(0)&&'"'==t.charAt(t.length-1)&&(t=t.slice(1,-1).replace(/""/g,'"')),0===t.length)n.t="z";else if(r.raw)n.t="s",n.v=t;else if(0===t.trim().length)n.t="s",n.v=t;else if(61==t.charCodeAt(0))34==t.charCodeAt(1)&&34==t.charCodeAt(t.length-1)?(n.t="s",n.v=t.slice(2,-1).replace(/""/g,'"')):!function(e){return 1!=e.length}(t)?(n.t="s",n.v=t):(n.t="n",n.f=t.slice(1));else if("TRUE"==t)n.t="b",n.v=!0;else if("FALSE"==t)n.t="b",n.v=!1;else if(isNaN(l=Ge(t)))if(!isNaN(Ye(t).getDate())||v&&t.match(v)){n.z=r.dateNF||j[14];var o=0;v&&t.match(v)&&(t=function(e,t,r){var n=-1,a=-1,o=-1,i=-1,s=-1,c=-1;(t.match(Ae)||[]).forEach((function(e,t){var l=parseInt(r[t+1],10);switch(e.toLowerCase().charAt(0)){case"y":n=l;break;case"d":o=l;break;case"h":i=l;break;case"s":c=l;break;case"m":i>=0?s=l:a=l}})),c>=0&&-1==s&&a>=0&&(s=a,a=-1);var l=(""+(n>=0?n:(new Date).getFullYear())).slice(-4)+"-"+("00"+(a>=1?a:1)).slice(-2)+"-"+("00"+(o>=1?o:1)).slice(-2);7==l.length&&(l="0"+l),8==l.length&&(l="20"+l);var u=("00"+(i>=0?i:0)).slice(-2)+":"+("00"+(s>=0?s:0)).slice(-2)+":"+("00"+(c>=0?c:0)).slice(-2);return-1==i&&-1==s&&-1==c?l:-1==n&&-1==a&&-1==o?u:l+"T"+u}(0,r.dateNF,t.match(v)||[]),o=1),r.cellDates?(n.t="d",n.v=ze(t,o)):(n.t="n",n.v=Ie(ze(t,o))),!1!==r.cellText&&(n.w=ve(n.z,n.v instanceof Date?Ie(n.v):n.v)),r.cellNF||delete n.z}else n.t="s",n.v=t;else n.t="n",!1!==r.cellText&&(n.w=t),n.v=l;if("z"==n.t||(r.dense?(a[s]||(a[s]=[]),a[s][c]=n):a[Vr({c:c,r:s})]=n),u=f+1,m=e.charCodeAt(u),i.e.c<c&&(i.e.c=c),i.e.r<s&&(i.e.r=s),g==h)++c;else if(c=0,++s,r.sheetRows&&r.sheetRows<=s)return!0}e:for(;f<e.length;++f)switch(g=e.charCodeAt(f)){case 34:34===m&&(d=!d);break;case h:case 10:case 13:if(!d&&b())break e}return f-u>0&&b(),a["!ref"]=$r(i),a}function s(e,t){return t&&t.PRN?t.FS||"sep="==e.slice(0,4)||e.indexOf("\t")>=0||e.indexOf(",")>=0||e.indexOf(";")>=0?i(e,t):Zr(r(e,t),t):i(e,t)}function c(e,r){var n="",a="string"==r.type?[0,0,0,0]:ff(e,r);switch(r.type){case"base64":n=v(e);break;case"binary":case"string":n=e;break;case"buffer":n=65001==r.codepage?e.toString("utf8"):r.codepage&&void 0!==t?t.utils.decode(r.codepage,e):b&&Buffer.isBuffer(e)?e.toString("binary"):k(e);break;case"array":n=Ve(e);break;default:throw new Error("Unrecognized type "+r.type)}return 239==a[0]&&187==a[1]&&191==a[2]?n=Pt(n.slice(3)):"string"!=r.type&&"buffer"!=r.type&&65001==r.codepage?n=Pt(n):"binary"==r.type&&void 0!==t&&r.codepage&&(n=t.utils.decode(r.codepage,t.utils.encode(28591,n))),"socialcalc:version:"==n.slice(0,19)?Lo.to_sheet("string"==r.type?n:Pt(n),r):s(n,r)}return{to_workbook:function(e,t){return Kr(c(e,t),t)},to_sheet:c,from_sheet:function(e){for(var t,r=[],n=Gr(e["!ref"]),a=Array.isArray(e),o=n.s.r;o<=n.e.r;++o){for(var i=[],s=n.s.c;s<=n.e.c;++s){var c=Vr({r:o,c:s});if((t=a?(e[o]||[])[s]:e[c])&&null!=t.v){for(var l=(t.w||(Yr(t),t.w)||"").slice(0,10);l.length<10;)l+=" ";i.push(l+(0===s?" ":""))}else i.push(" ")}r.push(i.join(""))}return r.join("\n")}}}();var Fo=function(){function e(e,t,r){if(e){Cr(e,e.l||0);for(var n=r.Enum||w;e.l<e.length;){var a=e._R(2),o=n[a]||n[65535],i=e._R(2),s=e.l+i,c=o.f&&o.f(e,i,r);if(e.l=s,t(c,o,a))return}}}function t(t,r){if(!t)return t;var n=r||{};null!=p&&null==n.dense&&(n.dense=p);var a=n.dense?[]:{},o="Sheet1",i="",s=0,c={},l=[],u=[],f={s:{r:0,c:0},e:{r:0,c:0}},h=n.sheetRows||0;if(0==t[2]&&(8==t[3]||9==t[3])&&t.length>=16&&5==t[14]&&108===t[15])throw new Error("Unsupported Works 3 for Mac file");if(2==t[2])n.Enum=w,e(t,(function(e,t,r){switch(r){case 0:n.vers=e,e>=4096&&(n.qpro=!0);break;case 6:f=e;break;case 204:e&&(i=e);break;case 222:i=e;break;case 15:case 51:n.qpro||(e[1].v=e[1].v.slice(1));case 13:case 14:case 16:14==r&&112==(112&e[2])&&(15&e[2])>1&&(15&e[2])<15&&(e[1].z=n.dateNF||j[14],n.cellDates&&(e[1].t="d",e[1].v=je(e[1].v))),n.qpro&&e[3]>s&&(a["!ref"]=$r(f),c[o]=a,l.push(o),a=n.dense?[]:{},f={s:{r:0,c:0},e:{r:0,c:0}},s=e[3],o=i||"Sheet"+(s+1),i="");var u=n.dense?(a[e[0].r]||[])[e[0].c]:a[Vr(e[0])];if(u){u.t=e[1].t,u.v=e[1].v,null!=e[1].z&&(u.z=e[1].z),null!=e[1].f&&(u.f=e[1].f);break}n.dense?(a[e[0].r]||(a[e[0].r]=[]),a[e[0].r][e[0].c]=e[1]):a[Vr(e[0])]=e[1]}}),n);else{if(26!=t[2]&&14!=t[2])throw new Error("Unrecognized LOTUS BOF "+t[2]);n.Enum=S,14==t[2]&&(n.qpro=!0,t.l=0),e(t,(function(e,t,r){switch(r){case 204:o=e;break;case 22:e[1].v=e[1].v.slice(1);case 23:case 24:case 25:case 37:case 39:case 40:if(e[3]>s&&(a["!ref"]=$r(f),c[o]=a,l.push(o),a=n.dense?[]:{},f={s:{r:0,c:0},e:{r:0,c:0}},s=e[3],o="Sheet"+(s+1)),h>0&&e[0].r>=h)break;n.dense?(a[e[0].r]||(a[e[0].r]=[]),a[e[0].r][e[0].c]=e[1]):a[Vr(e[0])]=e[1],f.e.c<e[0].c&&(f.e.c=e[0].c),f.e.r<e[0].r&&(f.e.r=e[0].r);break;case 27:e[14e3]&&(u[e[14e3][0]]=e[14e3][1]);break;case 1537:u[e[0]]=e[1],e[0]==s&&(o=e[1])}}),n)}if(a["!ref"]=$r(f),c[i||o]=a,l.push(i||o),!u.length)return{SheetNames:l,Sheets:c};for(var d={},g=[],m=0;m<u.length;++m)c[l[m]]?(g.push(u[m]||l[m]),d[u[m]]=c[u[m]]||c[l[m]]):(g.push(u[m]),d[u[m]]={"!ref":"A1"});return{SheetNames:g,Sheets:d}}function r(e,t,r){var n=[{c:0,r:0},{t:"n",v:0},0,0];return r.qpro&&20768!=r.vers?(n[0].c=e._R(1),n[3]=e._R(1),n[0].r=e._R(2),e.l+=2):(n[2]=e._R(1),n[0].c=e._R(2),n[0].r=e._R(2)),n}function n(e,t,n){var a=e.l+t,o=r(e,0,n);if(o[1].t="s",20768==n.vers){e.l++;var i=e._R(1);return o[1].v=e._R(i,"utf8"),o}return n.qpro&&e.l++,o[1].v=e._R(a-e.l,"cstr"),o}function a(e,t,r){var n=Rr(7+r.length);n._W(1,255),n._W(2,t),n._W(2,e),n._W(1,39);for(var a=0;a<n.length;++a){var o=r.charCodeAt(a);n._W(1,o>=128?95:o)}return n._W(1,0),n}function o(e,t,r){var n=Rr(7);return n._W(1,255),n._W(2,t),n._W(2,e),n._W(2,r,"i"),n}function i(e,t,r){var n=Rr(13);return n._W(1,255),n._W(2,t),n._W(2,e),n._W(8,r,"f"),n}function c(e,t,r){var n=32768&t;return t=(n?e:0)+((t&=-32769)>=8192?t-16384:t),(n?"":"$")+(r?Hr(t):Wr(t))}var l={51:["FALSE",0],52:["TRUE",0],70:["LEN",1],80:["SUM",69],81:["AVERAGEA",69],82:["COUNTA",69],83:["MINA",69],84:["MAXA",69],111:["T",1]},u=["","","","","","","","","","+","-","*","/","^","=","<>","<=",">=","<",">","","","","","&","","","","","","",""];function f(e){var t=[{c:0,r:0},{t:"n",v:0},0];return t[0].r=e._R(2),t[3]=e[e.l++],t[0].c=e[e.l++],t}function h(e,t,r,n){var a=Rr(6+n.length);a._W(2,e),a._W(1,r),a._W(1,t),a._W(1,39);for(var o=0;o<n.length;++o){var i=n.charCodeAt(o);a._W(1,i>=128?95:i)}return a._W(1,0),a}function d(e,t){var r=f(e),n=e._R(4),a=e._R(4),o=e._R(2);if(65535==o)return 0===n&&3221225472===a?(r[1].t="e",r[1].v=15):0===n&&3489660928===a?(r[1].t="e",r[1].v=42):r[1].v=0,r;var i=32768&o;return o=(32767&o)-16446,r[1].v=(1-2*i)*(a*Math.pow(2,o+32)+n*Math.pow(2,o)),r}function g(e,t,r,n){var a=Rr(14);if(a._W(2,e),a._W(1,r),a._W(1,t),0==n)return a._W(4,0),a._W(4,0),a._W(2,65535),a;var o,i=0,s=0,c=0;return n<0&&(i=1,n=-n),s=0|Math.log2(n),0==(2147483648&(c=(n/=Math.pow(2,s-31))>>>0))&&(++s,c=(n/=2)>>>0),n-=c,c|=2147483648,c>>>=0,o=(n*=Math.pow(2,32))>>>0,a._W(4,o),a._W(4,c),s+=16383+(i?32768:0),a._W(2,s),a}function m(e,t){var r=f(e),n=e._R(8,"f");return r[1].v=n,r}function b(e,t){return 0==e[e.l+t-1]?e._R(t,"cstr"):""}function y(e,t){var r=Rr(5+e.length);r._W(2,14e3),r._W(2,t);for(var n=0;n<e.length;++n){var a=e.charCodeAt(n);r[r.l++]=a>127?95:a}return r[r.l++]=0,r}var w={0:{n:"BOF",f:Pa},1:{n:"EOF"},2:{n:"CALCMODE"},3:{n:"CALCORDER"},4:{n:"SPLIT"},5:{n:"SYNC"},6:{n:"RANGE",f:function(e,t,r){var n={s:{c:0,r:0},e:{c:0,r:0}};return 8==t&&r.qpro?(n.s.c=e._R(1),e.l++,n.s.r=e._R(2),n.e.c=e._R(1),e.l++,n.e.r=e._R(2),n):(n.s.c=e._R(2),n.s.r=e._R(2),12==t&&r.qpro&&(e.l+=2),n.e.c=e._R(2),n.e.r=e._R(2),12==t&&r.qpro&&(e.l+=2),65535==n.s.c&&(n.s.c=n.e.c=n.s.r=n.e.r=0),n)}},7:{n:"WINDOW1"},8:{n:"COLW1"},9:{n:"WINTWO"},10:{n:"COLW2"},11:{n:"NAME"},12:{n:"BLANK"},13:{n:"INTEGER",f:function(e,t,n){var a=r(e,0,n);return a[1].v=e._R(2,"i"),a}},14:{n:"NUMBER",f:function(e,t,n){var a=r(e,0,n);return a[1].v=e._R(8,"f"),a}},15:{n:"LABEL",f:n},16:{n:"FORMULA",f:function(e,t,n){var a=e.l+t,o=r(e,0,n);if(o[1].v=e._R(8,"f"),n.qpro)e.l=a;else{var i=e._R(2);!function(e,t){Cr(e,0);var r=[],n=0,a="",o="",i="",s="";for(;e.l<e.length;){var f=e[e.l++];switch(f){case 0:r.push(e._R(8,"f"));break;case 1:o=c(t[0].c,e._R(2),!0),a=c(t[0].r,e._R(2),!1),r.push(o+a);break;case 2:var h=c(t[0].c,e._R(2),!0),d=c(t[0].r,e._R(2),!1);o=c(t[0].c,e._R(2),!0),a=c(t[0].r,e._R(2),!1),r.push(h+d+":"+o+a);break;case 3:if(e.l<e.length)return void console.error("WK1 premature formula end");break;case 4:r.push("("+r.pop()+")");break;case 5:r.push(e._R(2));break;case 6:for(var p="";f=e[e.l++];)p+=String.fromCharCode(f);r.push('"'+p.replace(/"/g,'""')+'"');break;case 8:r.push("-"+r.pop());break;case 23:r.push("+"+r.pop());break;case 22:r.push("NOT("+r.pop()+")");break;case 20:case 21:s=r.pop(),i=r.pop(),r.push(["AND","OR"][f-20]+"("+i+","+s+")");break;default:if(f<32&&u[f])s=r.pop(),i=r.pop(),r.push(i+u[f]+s);else{if(!l[f])return f<=7?console.error("WK1 invalid opcode "+f.toString(16)):f<=24?console.error("WK1 unsupported op "+f.toString(16)):f<=30?console.error("WK1 invalid opcode "+f.toString(16)):f<=115?console.error("WK1 unsupported function opcode "+f.toString(16)):console.error("WK1 unrecognized opcode "+f.toString(16));if(69==(n=l[f][1])&&(n=e[e.l++]),n>r.length)return void console.error("WK1 bad formula parse 0x"+f.toString(16)+":|"+r.join("|")+"|");var g=r.slice(-n);r.length-=n,r.push(l[f][0]+"("+g.join(",")+")")}}}1==r.length?t[1].f=""+r[0]:console.error("WK1 bad formula parse |"+r.join("|")+"|")}(e.slice(e.l,e.l+i),o),e.l+=i}return o}},24:{n:"TABLE"},25:{n:"ORANGE"},26:{n:"PRANGE"},27:{n:"SRANGE"},28:{n:"FRANGE"},29:{n:"KRANGE1"},32:{n:"HRANGE"},35:{n:"KRANGE2"},36:{n:"PROTEC"},37:{n:"FOOTER"},38:{n:"HEADER"},39:{n:"SETUP"},40:{n:"MARGINS"},41:{n:"LABELFMT"},42:{n:"TITLES"},43:{n:"SHEETJS"},45:{n:"GRAPH"},46:{n:"NGRAPH"},47:{n:"CALCCOUNT"},48:{n:"UNFORMATTED"},49:{n:"CURSORW12"},50:{n:"WINDOW"},51:{n:"STRING",f:n},55:{n:"PASSWORD"},56:{n:"LOCKED"},60:{n:"QUERY"},61:{n:"QUERYNAME"},62:{n:"PRINT"},63:{n:"PRINTNAME"},64:{n:"GRAPH2"},65:{n:"GRAPHNAME"},66:{n:"ZOOM"},67:{n:"SYMSPLIT"},68:{n:"NSROWS"},69:{n:"NSCOLS"},70:{n:"RULER"},71:{n:"NNAME"},72:{n:"ACOMM"},73:{n:"AMACRO"},74:{n:"PARSE"},102:{n:"PRANGES??"},103:{n:"RRANGES??"},104:{n:"FNAME??"},105:{n:"MRANGES??"},204:{n:"SHEETNAMECS",f:b},222:{n:"SHEETNAMELP",f:function(e,t){var r=e[e.l++];r>t-1&&(r=t-1);for(var n="";n.length<r;)n+=String.fromCharCode(e[e.l++]);return n}},65535:{n:""}},S={0:{n:"BOF"},1:{n:"EOF"},2:{n:"PASSWORD"},3:{n:"CALCSET"},4:{n:"WINDOWSET"},5:{n:"SHEETCELLPTR"},6:{n:"SHEETLAYOUT"},7:{n:"COLUMNWIDTH"},8:{n:"HIDDENCOLUMN"},9:{n:"USERRANGE"},10:{n:"SYSTEMRANGE"},11:{n:"ZEROFORCE"},12:{n:"SORTKEYDIR"},13:{n:"FILESEAL"},14:{n:"DATAFILLNUMS"},15:{n:"PRINTMAIN"},16:{n:"PRINTSTRING"},17:{n:"GRAPHMAIN"},18:{n:"GRAPHSTRING"},19:{n:"??"},20:{n:"ERRCELL"},21:{n:"NACELL"},22:{n:"LABEL16",f:function(e,t){var r=f(e);return r[1].t="s",r[1].v=e._R(t-4,"cstr"),r}},23:{n:"NUMBER17",f:d},24:{n:"NUMBER18",f:function(e,t){var r=f(e);r[1].v=e._R(2);var n=r[1].v>>1;if(1&r[1].v)switch(7&n){case 0:n=5e3*(n>>3);break;case 1:n=500*(n>>3);break;case 2:n=(n>>3)/20;break;case 3:n=(n>>3)/200;break;case 4:n=(n>>3)/2e3;break;case 5:n=(n>>3)/2e4;break;case 6:n=(n>>3)/16;break;case 7:n=(n>>3)/64}return r[1].v=n,r}},25:{n:"FORMULA19",f:function(e,t){var r=d(e);return e.l+=t-14,r}},26:{n:"FORMULA1A"},27:{n:"XFORMAT",f:function(e,t){for(var r={},n=e.l+t;e.l<n;){var a=e._R(2);if(14e3==a){for(r[a]=[0,""],r[a][0]=e._R(2);e[e.l];)r[a][1]+=String.fromCharCode(e[e.l]),e.l++;e.l++}}return r}},28:{n:"DTLABELMISC"},29:{n:"DTLABELCELL"},30:{n:"GRAPHWINDOW"},31:{n:"CPA"},32:{n:"LPLAUTO"},33:{n:"QUERY"},34:{n:"HIDDENSHEET"},35:{n:"??"},37:{n:"NUMBER25",f:function(e,t){var r=f(e),n=e._R(4);return r[1].v=n>>6,r}},38:{n:"??"},39:{n:"NUMBER27",f:m},40:{n:"FORMULA28",f:function(e,t){var r=m(e);return e.l+=t-10,r}},142:{n:"??"},147:{n:"??"},150:{n:"??"},151:{n:"??"},152:{n:"??"},153:{n:"??"},154:{n:"??"},155:{n:"??"},156:{n:"??"},163:{n:"??"},174:{n:"??"},175:{n:"??"},176:{n:"??"},177:{n:"??"},184:{n:"??"},185:{n:"??"},186:{n:"??"},187:{n:"??"},188:{n:"??"},195:{n:"??"},201:{n:"??"},204:{n:"SHEETNAMECS",f:b},205:{n:"??"},206:{n:"??"},207:{n:"??"},208:{n:"??"},256:{n:"??"},259:{n:"??"},260:{n:"??"},261:{n:"??"},262:{n:"??"},263:{n:"??"},265:{n:"??"},266:{n:"??"},267:{n:"??"},268:{n:"??"},270:{n:"??"},271:{n:"??"},384:{n:"??"},389:{n:"??"},390:{n:"??"},393:{n:"??"},396:{n:"??"},512:{n:"??"},514:{n:"??"},513:{n:"??"},516:{n:"??"},517:{n:"??"},640:{n:"??"},641:{n:"??"},642:{n:"??"},643:{n:"??"},644:{n:"??"},645:{n:"??"},646:{n:"??"},647:{n:"??"},648:{n:"??"},658:{n:"??"},659:{n:"??"},660:{n:"??"},661:{n:"??"},662:{n:"??"},665:{n:"??"},666:{n:"??"},768:{n:"??"},772:{n:"??"},1537:{n:"SHEETINFOQP",f:function(e,t,r){if(r.qpro&&!(t<21)){var n=e._R(1);return e.l+=17,e.l+=1,e.l+=2,[n,e._R(t-21,"cstr")]}}},1600:{n:"??"},1602:{n:"??"},1793:{n:"??"},1794:{n:"??"},1795:{n:"??"},1796:{n:"??"},1920:{n:"??"},2048:{n:"??"},2049:{n:"??"},2052:{n:"??"},2688:{n:"??"},10998:{n:"??"},12849:{n:"??"},28233:{n:"??"},28484:{n:"??"},65535:{n:""}};return{sheet_to_wk1:function(e,t){var r=t||{};if(+r.codepage>=0&&s(+r.codepage),"string"==r.type)throw new Error("Cannot write WK1 to JS string");var n=Lr(),c=Gr(e["!ref"]),l=Array.isArray(e),u=[];eu(n,0,function(e){var t=Rr(2);return t._W(2,e),t}(1030)),eu(n,6,function(e){var t=Rr(8);return t._W(2,e.s.c),t._W(2,e.s.r),t._W(2,e.e.c),t._W(2,e.e.r),t}(c));for(var f=Math.min(c.e.r,8191),h=c.s.r;h<=f;++h)for(var d=Wr(h),p=c.s.c;p<=c.e.c;++p){h===c.s.r&&(u[p]=Hr(p));var g=u[p]+d,m=l?(e[h]||[])[p]:e[g];if(m&&"z"!=m.t)if("n"==m.t)(0|m.v)==m.v&&m.v>=-32768&&m.v<=32767?eu(n,13,o(h,p,m.v)):eu(n,14,i(h,p,m.v));else eu(n,15,a(h,p,Yr(m).slice(0,239)))}return eu(n,1),n.end()},book_to_wk3:function(e,t){var r=t||{};if(+r.codepage>=0&&s(+r.codepage),"string"==r.type)throw new Error("Cannot write WK3 to JS string");var n=Lr();eu(n,0,function(e){var t=Rr(26);t._W(2,4096),t._W(2,4),t._W(4,0);for(var r=0,n=0,a=0,o=0;o<e.SheetNames.length;++o){var i=e.SheetNames[o],s=e.Sheets[i];if(s&&s["!ref"]){++a;var c=qr(s["!ref"]);r<c.e.r&&(r=c.e.r),n<c.e.c&&(n=c.e.c)}}r>8191&&(r=8191);return t._W(2,r),t._W(1,a),t._W(1,n),t._W(2,0),t._W(2,0),t._W(1,1),t._W(1,2),t._W(4,0),t._W(4,0),t}(e));for(var a=0,o=0;a<e.SheetNames.length;++a)(e.Sheets[e.SheetNames[a]]||{})["!ref"]&&eu(n,27,y(e.SheetNames[a],o++));var i=0;for(a=0;a<e.SheetNames.length;++a){var c=e.Sheets[e.SheetNames[a]];if(c&&c["!ref"]){for(var l=Gr(c["!ref"]),u=Array.isArray(c),f=[],d=Math.min(l.e.r,8191),p=l.s.r;p<=d;++p)for(var m=Wr(p),v=l.s.c;v<=l.e.c;++v){p===l.s.r&&(f[v]=Hr(v));var b=f[v]+m,w=u?(c[p]||[])[v]:c[b];if(w&&"z"!=w.t)if("n"==w.t)eu(n,23,g(p,v,i,w.v));else eu(n,22,h(p,v,i,Yr(w).slice(0,239)))}++i}}return eu(n,1),n.end()},to_workbook:function(e,r){switch(r.type){case"base64":return t(x(v(e)),r);case"binary":return t(x(e),r);case"buffer":case"array":return t(e,r)}throw"Unsupported type "+r.type}}}();function Do(e){var t={},r=e.match(ht),n=0,a=!1;if(r)for(;n!=r.length;++n){var i=gt(r[n]);switch(i[0].replace(/\w*:/g,"")){case"<condense":case"<extend":break;case"<shadow":if(!i.val)break;case"<shadow>":case"<shadow/>":t.shadow=1;break;case"</shadow>":break;case"<charset":if("1"==i.val)break;t.cp=o[parseInt(i.val,10)];break;case"<outline":if(!i.val)break;case"<outline>":case"<outline/>":t.outline=1;break;case"</outline>":break;case"<rFont":t.name=i.val;break;case"<sz":t.sz=i.val;break;case"<strike":if(!i.val)break;case"<strike>":case"<strike/>":t.strike=1;break;case"</strike>":break;case"<u":if(!i.val)break;switch(i.val){case"double":t.uval="double";break;case"singleAccounting":t.uval="single-accounting";break;case"doubleAccounting":t.uval="double-accounting"}case"<u>":case"<u/>":t.u=1;break;case"</u>":break;case"<b":if("0"==i.val)break;case"<b>":case"<b/>":t.b=1;break;case"</b>":break;case"<i":if("0"==i.val)break;case"<i>":case"<i/>":t.i=1;break;case"</i>":break;case"<color":i.rgb&&(t.color=i.rgb.slice(2,8));break;case"<color>":case"<color/>":case"</color>":break;case"<family":t.family=i.val;break;case"<family>":case"<family/>":case"</family>":break;case"<vertAlign":t.valign=i.val;break;case"<vertAlign>":case"<vertAlign/>":case"</vertAlign>":case"<scheme":case"<scheme>":case"<scheme/>":case"</scheme>":case"<extLst":case"<extLst>":case"</extLst>":break;case"<ext":a=!0;break;case"</ext>":a=!1;break;default:if(47!==i[0].charCodeAt(1)&&!a)throw new Error("Unrecognized rich format "+i[0])}}return t}var Mo=function(){var e=It("t"),t=It("rPr");function r(r){var n=r.match(e);if(!n)return{t:"s",v:""};var a={t:"s",v:yt(n[1])},o=r.match(t);return o&&(a.s=Do(o[1])),a}var n=/<(?:\w+:)?r>/g,a=/<\/(?:\w+:)?r>/;return function(e){return e.replace(n,"").split(a).map(r).filter((function(e){return e.v}))}}(),jo=function(){var e=/(\r\n|\n)/g;function t(t){var r=[[],t.v,[]];return t.v?(t.s&&function(e,t,r){var n=[];e.u&&n.push("text-decoration: underline;"),e.uval&&n.push("text-underline-style:"+e.uval+";"),e.sz&&n.push("font-size:"+e.sz+"pt;"),e.outline&&n.push("text-effect: outline;"),e.shadow&&n.push("text-shadow: auto;"),t.push('<span style="'+n.join("")+'">'),e.b&&(t.push("<b>"),r.push("</b>")),e.i&&(t.push("<i>"),r.push("</i>")),e.strike&&(t.push("<s>"),r.push("</s>"));var a=e.valign||"";"superscript"==a||"super"==a?a="sup":"subscript"==a&&(a="sub"),""!=a&&(t.push("<"+a+">"),r.push("</"+a+">")),r.push("</span>")}(t.s,r[0],r[2]),r[0].join("")+r[1].replace(e,"<br/>")+r[2].join("")):""}return function(e){return e.map(t).join("")}}(),Bo=/<(?:\w+:)?t[^>]*>([^<]*)<\/(?:\w+:)?t>/g,Wo=/<(?:\w+:)?r>/,Uo=/<(?:\w+:)?rPh.*?>([\s\S]*?)<\/(?:\w+:)?rPh>/g;function Ho(e,t){var r=!t||t.cellHTML,n={};return e?(e.match(/^\s*<(?:\w+:)?t[^>]*>/)?(n.t=yt(Pt(e.slice(e.indexOf(">")+1).split(/<\/(?:\w+:)?t>/)[0]||"")),n.r=Pt(e),r&&(n.h=Tt(n.t))):e.match(Wo)&&(n.r=Pt(e),n.t=yt(Pt((e.replace(Uo,"").match(Bo)||[]).join("").replace(ht,""))),r&&(n.h=jo(Mo(n.r)))),n):{t:""}}var zo=/<(?:\w+:)?sst([^>]*)>([\s\S]*)<\/(?:\w+:)?sst>/,Vo=/<(?:\w+:)?(?:si|sstItem)>/g,qo=/<\/(?:\w+:)?(?:si|sstItem)>/;var $o=/^\s|\s$|[\t\n\r]/;function Go(e,t){if(!t.bookSST)return"";var r=[lt];r[r.length]=zt("sst",null,{xmlns:Xt[0],count:e.Count,uniqueCount:e.Unique});for(var n=0;n!=e.length;++n)if(null!=e[n]){var a=e[n],o="<si>";a.r?o+=a.r:(o+="<t",a.t||(a.t=""),a.t.match($o)&&(o+=' xml:space="preserve"'),o+=">"+xt(a.t)+"</t>"),o+="</si>",r[r.length]=o}return r.length>2&&(r[r.length]="</sst>",r[1]=r[1].replace("/>",">")),r.join("")}var Xo=function(e,t){var r=!1;return null==t&&(r=!0,t=Rr(15+4*e.t.length)),t._W(1,0),tn(e.t,t),r?t.slice(0,t.l):t};function Yo(e){var t=Lr();Ir(t,159,function(e,t){return t||(t=Rr(8)),t._W(4,e.Count),t._W(4,e.Unique),t}(e));for(var r=0;r<e.length;++r)Ir(t,19,Xo(e[r]));return Ir(t,160),t.end()}function Ko(e){if(void 0!==t)return t.utils.encode(n,e);for(var r=[],a=e.split(""),o=0;o<a.length;++o)r[o]=a[o].charCodeAt(0);return r}function Jo(e,t){var r={};return r.Major=e._R(2),r.Minor=e._R(2),t>=4&&(e.l+=t-4),r}function Zo(e){for(var t=e._R(4),r=e.l+t-4,n={},a=e._R(4),o=[];a-- >0;)o.push({t:e._R(4),v:e._R(0,"lpp4")});if(n.name=e._R(0,"lpp4"),n.comps=o,e.l!=r)throw new Error("Bad DataSpaceMapEntry: "+e.l+" != "+r);return n}function Qo(e){var t=function(e){var t={};return e._R(4),e.l+=4,t.id=e._R(0,"lpp4"),t.name=e._R(0,"lpp4"),t.R=Jo(e,4),t.U=Jo(e,4),t.W=Jo(e,4),t}(e);if(t.ename=e._R(0,"8lpp4"),t.blksz=e._R(4),t.cmode=e._R(4),4!=e._R(4))throw new Error("Bad !Primary record");return t}function ei(e,t){var r=e.l+t,n={};n.Flags=63&e._R(4),e.l+=4,n.AlgID=e._R(4);var a=!1;switch(n.AlgID){case 26126:case 26127:case 26128:a=36==n.Flags;break;case 26625:a=4==n.Flags;break;case 0:a=16==n.Flags||4==n.Flags||36==n.Flags;break;default:throw"Unrecognized encryption algorithm: "+n.AlgID}if(!a)throw new Error("Encryption Flags/AlgID mismatch");return n.AlgIDHash=e._R(4),n.KeySize=e._R(4),n.ProviderType=e._R(4),e.l+=8,n.CSPName=e._R(r-e.l>>1,"utf16le"),e.l=r,n}function ti(e,t){var r={},n=e.l+t;return e.l+=4,r.Salt=e.slice(e.l,e.l+16),e.l+=16,r.Verifier=e.slice(e.l,e.l+16),e.l+=16,e._R(4),r.VerifierHash=e.slice(e.l,n),e.l=n,r}function ri(e){if(36!=(63&e._R(4)))throw new Error("EncryptionInfo mismatch");var t=e._R(4);return{t:"Std",h:ei(e,t),v:ti(e,e.length-e.l)}}function ni(){throw new Error("File is password-protected: ECMA-376 Extensible")}function ai(e){var t=["saltSize","blockSize","keyBits","hashSize","cipherAlgorithm","cipherChaining","hashAlgorithm","saltValue"];e.l+=4;var r=e._R(e.length-e.l,"utf8"),n={};return r.replace(ht,(function(e){var r=gt(e);switch(mt(r[0])){case"<?xml":case"<encryption":case"</encryption>":case"</keyEncryptors>":case"</keyEncryptor>":break;case"<keyData":t.forEach((function(e){n[e]=r[e]}));break;case"<dataIntegrity":n.encryptedHmacKey=r.encryptedHmacKey,n.encryptedHmacValue=r.encryptedHmacValue;break;case"<keyEncryptors>":case"<keyEncryptors":n.encs=[];break;case"<keyEncryptor":n.uri=r.uri;break;case"<encryptedKey":n.encs.push(r);break;default:throw r[0]}})),n}function oi(e){var t,r,n=0,a=Ko(e),o=a.length+1;for((t=w(o))[0]=a.length,r=1;r!=o;++r)t[r]=a[r-1];for(r=o-1;r>=0;--r)n=((0==(16384&n)?0:1)|n<<1&32767)^t[r];return 52811^n}var ii=function(){var e=[187,255,255,186,255,255,185,128,0,190,15,0,191,15,0],t=[57840,7439,52380,33984,4364,3600,61902,12606,6258,57657,54287,34041,10252,43370,20163],r=[44796,19929,39858,10053,20106,40212,10761,31585,63170,64933,60267,50935,40399,11199,17763,35526,1453,2906,5812,11624,23248,885,1770,3540,7080,14160,28320,56640,55369,41139,20807,41614,21821,43642,17621,28485,56970,44341,19019,38038,14605,29210,60195,50791,40175,10751,21502,43004,24537,18387,36774,3949,7898,15796,31592,63184,47201,24803,49606,37805,14203,28406,56812,17824,35648,1697,3394,6788,13576,27152,43601,17539,35078,557,1114,2228,4456,30388,60776,51953,34243,7079,14158,28316,14128,28256,56512,43425,17251,34502,7597,13105,26210,52420,35241,883,1766,3532,4129,8258,16516,33032,4657,9314,18628],n=function(e,t){return function(e){return 255&(e/2|128*e)}(e^t)},a=function(e){for(var n=t[e.length-1],a=104,o=e.length-1;o>=0;--o)for(var i=e[o],s=0;7!=s;++s)64&i&&(n^=r[a]),i*=2,--a;return n};return function(t){for(var r,o,i,s=Ko(t),c=a(s),l=s.length,u=w(16),f=0;16!=f;++f)u[f]=0;for(1==(1&l)&&(r=c>>8,u[l]=n(e[0],r),--l,r=255&c,o=s[s.length-1],u[l]=n(o,r));l>0;)r=c>>8,u[--l]=n(s[l],r),r=255&c,u[--l]=n(s[l],r);for(l=15,i=15-s.length;i>0;)r=c>>8,u[l]=n(e[i],r),--i,r=255&c,u[--l]=n(s[l],r),--l,--i;return u}}(),si=function(e){var t=0,r=ii(e);return function(e){var n=function(e,t,r,n,a){var o,i;for(a||(a=t),n||(n=ii(e)),o=0;o!=t.length;++o)i=t[o],i=255&((i^=n[r])>>5|i<<3),a[o]=i,++r;return[a,r,n]}("",e,t,r);return t=n[1],n[0]}};function ci(e,t,r){var n=r||{};return n.Info=e._R(2),e.l-=2,1===n.Info?n.Data=function(e){var t={},r=t.EncryptionVersionInfo=Jo(e,4);if(1!=r.Major||1!=r.Minor)throw"unrecognized version code "+r.Major+" : "+r.Minor;return t.Salt=e._R(16),t.EncryptedVerifier=e._R(16),t.EncryptedVerifierHash=e._R(16),t}(e):n.Data=function(e,t){var r={},n=r.EncryptionVersionInfo=Jo(e,4);if(t-=4,2!=n.Minor)throw new Error("unrecognized minor version code: "+n.Minor);if(n.Major>4||n.Major<2)throw new Error("unrecognized major version code: "+n.Major);r.Flags=e._R(4),t-=4;var a=e._R(4);return t-=4,r.EncryptionHeader=ei(e,a),t-=a,r.EncryptionVerifier=ti(e,t),r}(e,t),n}var li=function(){function e(e,r){switch(r.type){case"base64":return t(v(e),r);case"binary":return t(e,r);case"buffer":return t(b&&Buffer.isBuffer(e)?e.toString("binary"):k(e),r);case"array":return t(Ve(e),r)}throw new Error("Unrecognized type "+r.type)}function t(e,t){var r=(t||{}).dense?[]:{},n=e.match(/\\trowd.*?\\row\b/g);if(!n.length)throw new Error("RTF missing table");var a={s:{c:0,r:0},e:{c:0,r:n.length-1}};return n.forEach((function(e,t){Array.isArray(r)&&(r[t]=[]);for(var n,o=/\\\w+\b/g,i=0,s=-1;n=o.exec(e);){if("\\cell"===n[0]){var c=e.slice(i,o.lastIndex-n[0].length);if(" "==c[0]&&(c=c.slice(1)),++s,c.length){var l={v:c,t:"s"};Array.isArray(r)?r[t][s]=l:r[Vr({r:t,c:s})]=l}}i=o.lastIndex}s>a.e.c&&(a.e.c=s)})),r["!ref"]=$r(a),r}return{to_workbook:function(t,r){return Kr(e(t,r),r)},to_sheet:e,from_sheet:function(e){for(var t,r=["{\\rtf1\\ansi"],n=Gr(e["!ref"]),a=Array.isArray(e),o=n.s.r;o<=n.e.r;++o){r.push("\\trowd\\trautofit1");for(var i=n.s.c;i<=n.e.c;++i)r.push("\\cellx"+(i+1));for(r.push("\\pard\\intbl"),i=n.s.c;i<=n.e.c;++i){var s=Vr({r:o,c:i});(t=a?(e[o]||[])[i]:e[s])&&(null!=t.v||t.f&&!t.F)&&(r.push(" "+(t.w||(Yr(t),t.w))),r.push("\\cell"))}r.push("\\pard\\intbl\\row")}return r.join("")+"}"}}}();function ui(e){for(var t=0,r=1;3!=t;++t)r=256*r+(e[t]>255?255:e[t]<0?0:e[t]);return r.toString(16).toUpperCase().slice(1)}function fi(e,t){if(0===t)return e;var r=function(e){var t=e[0]/255,r=e[1]/255,n=e[2]/255,a=Math.max(t,r,n),o=Math.min(t,r,n),i=a-o;if(0===i)return[0,0,t];var s,c=0,l=a+o;switch(s=i/(l>1?2-l:l),a){case t:c=((r-n)/i+6)%6;break;case r:c=(n-t)/i+2;break;case n:c=(t-r)/i+4}return[c/6,s,l/2]}(function(e){var t=e.slice("#"===e[0]?1:0).slice(0,6);return[parseInt(t.slice(0,2),16),parseInt(t.slice(2,4),16),parseInt(t.slice(4,6),16)]}(e));return r[2]=t<0?r[2]*(1+t):1-(1-r[2])*(1-t),ui(function(e){var t,r=e[0],n=e[1],a=e[2],o=2*n*(a<.5?a:1-a),i=a-o/2,s=[i,i,i],c=6*r;if(0!==n)switch(0|c){case 0:case 6:t=o*c,s[0]+=o,s[1]+=t;break;case 1:t=o*(2-c),s[0]+=t,s[1]+=o;break;case 2:t=o*(c-2),s[1]+=o,s[2]+=t;break;case 3:t=o*(4-c),s[1]+=t,s[2]+=o;break;case 4:t=o*(c-4),s[2]+=o,s[0]+=t;break;case 5:t=o*(6-c),s[2]+=t,s[0]+=o}for(var l=0;3!=l;++l)s[l]=Math.round(255*s[l]);return s}(r))}var hi=6,di=15,pi=1,gi=hi;function mi(e){return Math.floor((e+Math.round(128/gi)/256)*gi)}function vi(e){return Math.floor((e-5)/gi*100+.5)/100}function bi(e){return Math.round((e*gi+5)/gi*256)/256}function yi(e){return bi(vi(mi(e)))}function wi(e){var t=Math.abs(e-yi(e)),r=gi;if(t>.005)for(gi=pi;gi<di;++gi)Math.abs(e-yi(e))<=t&&(t=Math.abs(e-yi(e)),r=gi);gi=r}function Si(e){e.width?(e.wpx=mi(e.width),e.wch=vi(e.wpx),e.MDW=gi):e.wpx?(e.wch=vi(e.wpx),e.width=bi(e.wch),e.MDW=gi):"number"==typeof e.wch&&(e.width=bi(e.wch),e.wpx=mi(e.width),e.MDW=gi),e.customWidth&&delete e.customWidth}var xi=96;function Ai(e){return 96*e/xi}function ki(e){return e*xi/96}var Ti={None:"none",Solid:"solid",Gray50:"mediumGray",Gray75:"darkGray",Gray25:"lightGray",HorzStripe:"darkHorizontal",VertStripe:"darkVertical",ReverseDiagStripe:"darkDown",DiagStripe:"darkUp",DiagCross:"darkGrid",ThickDiagCross:"darkTrellis",ThinHorzStripe:"lightHorizontal",ThinVertStripe:"lightVertical",ThinReverseDiagStripe:"lightDown",ThinHorzCross:"lightGrid"};function Ei(e,t,r,n){t.Fonts=[];var a={},i=!1;(e[0].match(ht)||[]).forEach((function(e){var s=gt(e);switch(mt(s[0])){case"<fonts":case"<fonts>":case"</fonts>":case"<font":case"<font>":case"<name/>":case"</name>":case"<sz/>":case"</sz>":case"<vertAlign/>":case"</vertAlign>":case"<family/>":case"</family>":case"<scheme/>":case"</scheme>":case"<color/>":case"</color>":case"<extLst":case"<extLst>":case"</extLst>":break;case"</font>":case"<font/>":t.Fonts.push(a),a={};break;case"<name":s.val&&(a.name=Pt(s.val));break;case"<b":a.bold=s.val?_t(s.val):1;break;case"<b/>":a.bold=1;break;case"<i":a.italic=s.val?_t(s.val):1;break;case"<i/>":a.italic=1;break;case"<u":switch(s.val){case"none":a.underline=0;break;case"single":a.underline=1;break;case"double":a.underline=2;break;case"singleAccounting":a.underline=33;break;case"doubleAccounting":a.underline=34}break;case"<u/>":a.underline=1;break;case"<strike":a.strike=s.val?_t(s.val):1;break;case"<strike/>":a.strike=1;break;case"<outline":a.outline=s.val?_t(s.val):1;break;case"<outline/>":a.outline=1;break;case"<shadow":a.shadow=s.val?_t(s.val):1;break;case"<shadow/>":a.shadow=1;break;case"<condense":a.condense=s.val?_t(s.val):1;break;case"<condense/>":a.condense=1;break;case"<extend":a.extend=s.val?_t(s.val):1;break;case"<extend/>":a.extend=1;break;case"<sz":s.val&&(a.sz=+s.val);break;case"<vertAlign":s.val&&(a.vertAlign=s.val);break;case"<family":s.val&&(a.family=parseInt(s.val,10));break;case"<scheme":s.val&&(a.scheme=s.val);break;case"<charset":if("1"==s.val)break;s.codepage=o[parseInt(s.val,10)];break;case"<color":if(a.color||(a.color={}),s.auto&&(a.color.auto=_t(s.auto)),s.rgb)a.color.rgb=s.rgb.slice(-6);else if(s.indexed){a.color.index=parseInt(s.indexed,10);var c=jn[a.color.index];81==a.color.index&&(c=jn[1]),c||(c=jn[1]),a.color.rgb=c[0].toString(16)+c[1].toString(16)+c[2].toString(16)}else s.theme&&(a.color.theme=parseInt(s.theme,10),s.tint&&(a.color.tint=parseFloat(s.tint)),s.theme&&r.themeElements&&r.themeElements.clrScheme&&(a.color.rgb=fi(r.themeElements.clrScheme[a.color.theme].rgb,a.color.tint||0)));break;case"<AlternateContent":case"<ext":i=!0;break;case"</AlternateContent>":case"</ext>":i=!1;break;default:if(n&&n.WTF&&!i)throw new Error("unrecognized "+s[0]+" in fonts")}}))}var _i=["numFmtId","fillId","fontId","borderId","xfId"],Ni=["applyAlignment","applyBorder","applyFill","applyFont","applyNumberFormat","applyProtection","pivotButton","quotePrefix"];var Ci=function(){var e=/<(?:\w+:)?numFmts([^>]*)>[\S\s]*?<\/(?:\w+:)?numFmts>/,t=/<(?:\w+:)?cellXfs([^>]*)>[\S\s]*?<\/(?:\w+:)?cellXfs>/,r=/<(?:\w+:)?fills([^>]*)>[\S\s]*?<\/(?:\w+:)?fills>/,n=/<(?:\w+:)?fonts([^>]*)>[\S\s]*?<\/(?:\w+:)?fonts>/,a=/<(?:\w+:)?borders([^>]*)>[\S\s]*?<\/(?:\w+:)?borders>/;return function(o,i,s){var c,l={};return o?((c=(o=o.replace(/<!--([\s\S]*?)-->/gm,"").replace(/<!DOCTYPE[^\[]*\[[^\]]*\]>/gm,"")).match(e))&&function(e,t,r){t.NumberFmt=[];for(var n=Ce(j),a=0;a<n.length;++a)t.NumberFmt[n[a]]=j[n[a]];var o=e[0].match(ht);if(o)for(a=0;a<o.length;++a){var i=gt(o[a]);switch(mt(i[0])){case"<numFmts":case"</numFmts>":case"<numFmts/>":case"<numFmts>":case"</numFmt>":break;case"<numFmt":var s=yt(Pt(i.formatCode)),c=parseInt(i.numFmtId,10);if(t.NumberFmt[c]=s,c>0){if(c>392){for(c=392;c>60&&null!=t.NumberFmt[c];--c);t.NumberFmt[c]=s}be(s,c)}break;default:if(r.WTF)throw new Error("unrecognized "+i[0]+" in numFmts")}}}(c,l,s),(c=o.match(n))&&Ei(c,l,i,s),(c=o.match(r))&&function(e,t,r,n){t.Fills=[];var a={},o=!1;(e[0].match(ht)||[]).forEach((function(e){var r=gt(e);switch(mt(r[0])){case"<fills":case"<fills>":case"</fills>":case"</fill>":case"<gradientFill>":case"<patternFill/>":case"</patternFill>":case"<bgColor/>":case"</bgColor>":case"<fgColor/>":case"</fgColor>":case"<stop":case"<stop/>":case"</stop>":case"<color":case"<color/>":case"</color>":case"<extLst":case"<extLst>":case"</extLst>":break;case"<fill>":case"<fill":case"<fill/>":a={},t.Fills.push(a);break;case"<gradientFill":case"</gradientFill>":t.Fills.push(a),a={};break;case"<patternFill":case"<patternFill>":r.patternType&&(a.patternType=r.patternType);break;case"<bgColor":a.bgColor||(a.bgColor={}),r.indexed&&(a.bgColor.indexed=parseInt(r.indexed,10)),r.theme&&(a.bgColor.theme=parseInt(r.theme,10)),r.tint&&(a.bgColor.tint=parseFloat(r.tint)),r.rgb&&(a.bgColor.rgb=r.rgb.slice(-6));break;case"<fgColor":a.fgColor||(a.fgColor={}),r.theme&&(a.fgColor.theme=parseInt(r.theme,10)),r.tint&&(a.fgColor.tint=parseFloat(r.tint)),null!=r.rgb&&(a.fgColor.rgb=r.rgb.slice(-6));break;case"<ext":o=!0;break;case"</ext>":o=!1;break;default:if(n&&n.WTF&&!o)throw new Error("unrecognized "+r[0]+" in fills")}}))}(c,l,0,s),(c=o.match(a))&&function(e,t,r,n){t.Borders=[];var a={},o=!1;(e[0].match(ht)||[]).forEach((function(e){var r=gt(e);switch(mt(r[0])){case"<borders":case"<borders>":case"</borders>":case"</border>":case"<left/>":case"<left":case"<left>":case"</left>":case"<right/>":case"<right":case"<right>":case"</right>":case"<top/>":case"<top":case"<top>":case"</top>":case"<bottom/>":case"<bottom":case"<bottom>":case"</bottom>":case"<diagonal":case"<diagonal>":case"<diagonal/>":case"</diagonal>":case"<horizontal":case"<horizontal>":case"<horizontal/>":case"</horizontal>":case"<vertical":case"<vertical>":case"<vertical/>":case"</vertical>":case"<start":case"<start>":case"<start/>":case"</start>":case"<end":case"<end>":case"<end/>":case"</end>":case"<color":case"<color>":case"<color/>":case"</color>":case"<extLst":case"<extLst>":case"</extLst>":break;case"<border":case"<border>":case"<border/>":a={},r.diagonalUp&&(a.diagonalUp=_t(r.diagonalUp)),r.diagonalDown&&(a.diagonalDown=_t(r.diagonalDown)),t.Borders.push(a);break;case"<ext":o=!0;break;case"</ext>":o=!1;break;default:if(n&&n.WTF&&!o)throw new Error("unrecognized "+r[0]+" in borders")}}))}(c,l,0,s),(c=o.match(t))&&function(e,t,r){var n;t.CellXf=[];var a=!1;(e[0].match(ht)||[]).forEach((function(e){var o=gt(e),i=0;switch(mt(o[0])){case"<cellXfs":case"<cellXfs>":case"<cellXfs/>":case"</cellXfs>":case"</xf>":case"</alignment>":case"<protection":case"</protection>":case"<protection/>":case"<extLst":case"<extLst>":case"</extLst>":break;case"<xf":case"<xf/>":for(delete(n=o)[0],i=0;i<_i.length;++i)n[_i[i]]&&(n[_i[i]]=parseInt(n[_i[i]],10));for(i=0;i<Ni.length;++i)n[Ni[i]]&&(n[Ni[i]]=_t(n[Ni[i]]));if(t.NumberFmt&&n.numFmtId>392)for(i=392;i>60;--i)if(t.NumberFmt[n.numFmtId]==t.NumberFmt[i]){n.numFmtId=i;break}t.CellXf.push(n);break;case"<alignment":case"<alignment/>":var s={};o.vertical&&(s.vertical=o.vertical),o.horizontal&&(s.horizontal=o.horizontal),null!=o.textRotation&&(s.textRotation=o.textRotation),o.indent&&(s.indent=o.indent),o.wrapText&&(s.wrapText=_t(o.wrapText)),n.alignment=s;break;case"<AlternateContent":case"<ext":a=!0;break;case"</AlternateContent>":case"</ext>":a=!1;break;default:if(r&&r.WTF&&!a)throw new Error("unrecognized "+o[0]+" in cellXfs")}}))}(c,l,s),l):l}}();function Oi(e,t){var r,n=[lt,zt("styleSheet",null,{xmlns:Xt[0],"xmlns:vt":Gt.vt})];return e.SSF&&null!=(r=function(e){var t=["<numFmts>"];return[[5,8],[23,26],[41,44],[50,392]].forEach((function(r){for(var n=r[0];n<=r[1];++n)null!=e[n]&&(t[t.length]=zt("numFmt",null,{numFmtId:n,formatCode:xt(e[n])}))})),1===t.length?"":(t[t.length]="</numFmts>",t[0]=zt("numFmts",null,{count:t.length-2}).replace("/>",">"),t.join(""))}(e.SSF))&&(n[n.length]=r),n[n.length]='<fonts count="1"><font><sz val="12"/><color theme="1"/><name val="Calibri"/><family val="2"/><scheme val="minor"/></font></fonts>',n[n.length]='<fills count="2"><fill><patternFill patternType="none"/></fill><fill><patternFill patternType="gray125"/></fill></fills>',n[n.length]='<borders count="1"><border><left/><right/><top/><bottom/><diagonal/></border></borders>',n[n.length]='<cellStyleXfs count="1"><xf numFmtId="0" fontId="0" fillId="0" borderId="0"/></cellStyleXfs>',(r=function(e){var t=[];return t[t.length]=zt("cellXfs",null),e.forEach((function(e){t[t.length]=zt("xf",null,e)})),t[t.length]="</cellXfs>",2===t.length?"":(t[0]=zt("cellXfs",null,{count:t.length-2}).replace("/>",">"),t.join(""))}(t.cellXfs))&&(n[n.length]=r),n[n.length]='<cellStyles count="1"><cellStyle name="Normal" xfId="0" builtinId="0"/></cellStyles>',n[n.length]='<dxfs count="0"/>',n[n.length]='<tableStyles count="0" defaultTableStyle="TableStyleMedium9" defaultPivotStyle="PivotStyleMedium4"/>',n.length>2&&(n[n.length]="</styleSheet>",n[1]=n[1].replace("/>",">")),n.join("")}function Ri(e,t,r){r||(r=Rr(6+4*t.length)),r._W(2,e),tn(t,r);var n=r.length>r.l?r.slice(0,r.l):r;return null==r.l&&(r.l=r.length),n}function Pi(e,t){t||(t=Rr(153)),t._W(2,20*e.sz),function(e,t){t||(t=Rr(2));var r=(e.italic?2:0)|(e.strike?8:0)|(e.outline?16:0)|(e.shadow?32:0)|(e.condense?64:0)|(e.extend?128:0);t._W(1,r),t._W(1,0)}(e,t),t._W(2,e.bold?700:400);var r=0;"superscript"==e.vertAlign?r=1:"subscript"==e.vertAlign&&(r=2),t._W(2,r),t._W(1,e.underline||0),t._W(1,e.family||0),t._W(1,e.charset||0),t._W(1,0),Tn(e.color,t);var n=0;return"major"==e.scheme&&(n=1),"minor"==e.scheme&&(n=2),t._W(1,n),tn(e.name,t),t.length>t.l?t.slice(0,t.l):t}var Li,Ii=["none","solid","mediumGray","darkGray","lightGray","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","gray125","gray0625"],Fi=Or;function Di(e,t){t||(t=Rr(84)),Li||(Li=Re(Ii));var r=Li[e.patternType];null==r&&(r=40),t._W(4,r);var n=0;if(40!=r)for(Tn({auto:1},t),Tn({auto:1},t);n<12;++n)t._W(4,0);else{for(;n<4;++n)t._W(4,0);for(;n<12;++n)t._W(4,0)}return t.length>t.l?t.slice(0,t.l):t}function Mi(e,t,r){r||(r=Rr(16)),r._W(2,t||0),r._W(2,e.numFmtId||0),r._W(2,0),r._W(2,0),r._W(2,0),r._W(1,0),r._W(1,0);return r._W(1,0),r._W(1,0),r._W(1,0),r._W(1,0),r}function ji(e,t){return t||(t=Rr(10)),t._W(1,0),t._W(1,0),t._W(4,0),t._W(4,0),t}var Bi=Or;function Wi(e){Ir(e,613,Qr(1)),Ir(e,46,function(e,t){return t||(t=Rr(51)),t._W(1,0),ji(0,t),ji(0,t),ji(0,t),ji(0,t),ji(0,t),t.length>t.l?t.slice(0,t.l):t}()),Ir(e,614)}function Ui(e){Ir(e,619,Qr(1)),Ir(e,48,function(e,t){return t||(t=Rr(52)),t._W(4,e.xfId),t._W(2,1),t._W(1,+e.builtinId),t._W(1,0),pn(e.name||"",t),t.length>t.l?t.slice(0,t.l):t}({xfId:0,builtinId:0,name:"Normal"})),Ir(e,620)}function Hi(e){Ir(e,508,function(e,t,r){var n=Rr(2052);return n._W(4,e),pn(t,n),pn(r,n),n.length>n.l?n.slice(0,n.l):n}(0,"TableStyleMedium9","PivotStyleMedium4")),Ir(e,509)}function zi(e,t){var r=Lr();return Ir(r,278),function(e,t){if(t){var r=0;[[5,8],[23,26],[41,44],[50,392]].forEach((function(e){for(var n=e[0];n<=e[1];++n)null!=t[n]&&++r})),0!=r&&(Ir(e,615,Qr(r)),[[5,8],[23,26],[41,44],[50,392]].forEach((function(r){for(var n=r[0];n<=r[1];++n)null!=t[n]&&Ir(e,44,Ri(n,t[n]))})),Ir(e,616))}}(r,e.SSF),function(e){Ir(e,611,Qr(1)),Ir(e,43,Pi({sz:12,color:{theme:1},name:"Calibri",family:2,scheme:"minor"})),Ir(e,612)}(r),function(e){Ir(e,603,Qr(2)),Ir(e,45,Di({patternType:"none"})),Ir(e,45,Di({patternType:"gray125"})),Ir(e,604)}(r),Wi(r),function(e){Ir(e,626,Qr(1)),Ir(e,47,Mi({numFmtId:0,fontId:0,fillId:0,borderId:0},65535)),Ir(e,627)}(r),function(e,t){Ir(e,617,Qr(t.length)),t.forEach((function(t){Ir(e,47,Mi(t,0))})),Ir(e,618)}(r,t.cellXfs),Ui(r),function(e){Ir(e,505,Qr(0)),Ir(e,506)}(r),Hi(r),Ir(r,279),r.end()}var Vi=["</a:lt1>","</a:dk1>","</a:lt2>","</a:dk2>","</a:accent1>","</a:accent2>","</a:accent3>","</a:accent4>","</a:accent5>","</a:accent6>","</a:hlink>","</a:folHlink>"];function qi(e,t,r){t.themeElements.clrScheme=[];var n={};(e[0].match(ht)||[]).forEach((function(e){var a=gt(e);switch(a[0]){case"<a:clrScheme":case"</a:clrScheme>":break;case"<a:srgbClr":n.rgb=a.val;break;case"<a:sysClr":n.rgb=a.lastClr;break;case"<a:dk1>":case"</a:dk1>":case"<a:lt1>":case"</a:lt1>":case"<a:dk2>":case"</a:dk2>":case"<a:lt2>":case"</a:lt2>":case"<a:accent1>":case"</a:accent1>":case"<a:accent2>":case"</a:accent2>":case"<a:accent3>":case"</a:accent3>":case"<a:accent4>":case"</a:accent4>":case"<a:accent5>":case"</a:accent5>":case"<a:accent6>":case"</a:accent6>":case"<a:hlink>":case"</a:hlink>":case"<a:folHlink>":case"</a:folHlink>":"/"===a[0].charAt(1)?(t.themeElements.clrScheme[Vi.indexOf(a[0])]=n,n={}):n.name=a[0].slice(3,a[0].length-1);break;default:if(r&&r.WTF)throw new Error("Unrecognized "+a[0]+" in clrScheme")}}))}function $i(){}function Gi(){}var Xi=/<a:clrScheme([^>]*)>[\s\S]*<\/a:clrScheme>/,Yi=/<a:fontScheme([^>]*)>[\s\S]*<\/a:fontScheme>/,Ki=/<a:fmtScheme([^>]*)>[\s\S]*<\/a:fmtScheme>/;var Ji=/<a:themeElements([^>]*)>[\s\S]*<\/a:themeElements>/;function Zi(e,t){var r;e&&0!==e.length||(e=Qi());var n={};if(!(r=e.match(Ji)))throw new Error("themeElements not found in theme");return function(e,t,r){var n;t.themeElements={},[["clrScheme",Xi,qi],["fontScheme",Yi,$i],["fmtScheme",Ki,Gi]].forEach((function(a){if(!(n=e.match(a[1])))throw new Error(a[0]+" not found in themeElements");a[2](n,t,r)}))}(r[0],n,t),n.raw=e,n}function Qi(e,t){if(t&&t.themeXLSX)return t.themeXLSX;if(e&&"string"==typeof e.raw)return e.raw;var r=[lt];return r[r.length]='<a:theme xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" name="Office Theme">',r[r.length]="<a:themeElements>",r[r.length]='<a:clrScheme name="Office">',r[r.length]='<a:dk1><a:sysClr val="windowText" lastClr="000000"/></a:dk1>',r[r.length]='<a:lt1><a:sysClr val="window" lastClr="FFFFFF"/></a:lt1>',r[r.length]='<a:dk2><a:srgbClr val="1F497D"/></a:dk2>',r[r.length]='<a:lt2><a:srgbClr val="EEECE1"/></a:lt2>',r[r.length]='<a:accent1><a:srgbClr val="4F81BD"/></a:accent1>',r[r.length]='<a:accent2><a:srgbClr val="C0504D"/></a:accent2>',r[r.length]='<a:accent3><a:srgbClr val="9BBB59"/></a:accent3>',r[r.length]='<a:accent4><a:srgbClr val="8064A2"/></a:accent4>',r[r.length]='<a:accent5><a:srgbClr val="4BACC6"/></a:accent5>',r[r.length]='<a:accent6><a:srgbClr val="F79646"/></a:accent6>',r[r.length]='<a:hlink><a:srgbClr val="0000FF"/></a:hlink>',r[r.length]='<a:folHlink><a:srgbClr val="800080"/></a:folHlink>',r[r.length]="</a:clrScheme>",r[r.length]='<a:fontScheme name="Office">',r[r.length]="<a:majorFont>",r[r.length]='<a:latin typeface="Cambria"/>',r[r.length]='<a:ea typeface=""/>',r[r.length]='<a:cs typeface=""/>',r[r.length]='<a:font script="Jpan" typeface="MS Pゴシック"/>',r[r.length]='<a:font script="Hang" typeface="맑은 고딕"/>',r[r.length]='<a:font script="Hans" typeface="宋体"/>',r[r.length]='<a:font script="Hant" typeface="新細明體"/>',r[r.length]='<a:font script="Arab" typeface="Times New Roman"/>',r[r.length]='<a:font script="Hebr" typeface="Times New Roman"/>',r[r.length]='<a:font script="Thai" typeface="Tahoma"/>',r[r.length]='<a:font script="Ethi" typeface="Nyala"/>',r[r.length]='<a:font script="Beng" typeface="Vrinda"/>',r[r.length]='<a:font script="Gujr" typeface="Shruti"/>',r[r.length]='<a:font script="Khmr" typeface="MoolBoran"/>',r[r.length]='<a:font script="Knda" typeface="Tunga"/>',r[r.length]='<a:font script="Guru" typeface="Raavi"/>',r[r.length]='<a:font script="Cans" typeface="Euphemia"/>',r[r.length]='<a:font script="Cher" typeface="Plantagenet Cherokee"/>',r[r.length]='<a:font script="Yiii" typeface="Microsoft Yi Baiti"/>',r[r.length]='<a:font script="Tibt" typeface="Microsoft Himalaya"/>',r[r.length]='<a:font script="Thaa" typeface="MV Boli"/>',r[r.length]='<a:font script="Deva" typeface="Mangal"/>',r[r.length]='<a:font script="Telu" typeface="Gautami"/>',r[r.length]='<a:font script="Taml" typeface="Latha"/>',r[r.length]='<a:font script="Syrc" typeface="Estrangelo Edessa"/>',r[r.length]='<a:font script="Orya" typeface="Kalinga"/>',r[r.length]='<a:font script="Mlym" typeface="Kartika"/>',r[r.length]='<a:font script="Laoo" typeface="DokChampa"/>',r[r.length]='<a:font script="Sinh" typeface="Iskoola Pota"/>',r[r.length]='<a:font script="Mong" typeface="Mongolian Baiti"/>',r[r.length]='<a:font script="Viet" typeface="Times New Roman"/>',r[r.length]='<a:font script="Uigh" typeface="Microsoft Uighur"/>',r[r.length]='<a:font script="Geor" typeface="Sylfaen"/>',r[r.length]="</a:majorFont>",r[r.length]="<a:minorFont>",r[r.length]='<a:latin typeface="Calibri"/>',r[r.length]='<a:ea typeface=""/>',r[r.length]='<a:cs typeface=""/>',r[r.length]='<a:font script="Jpan" typeface="MS Pゴシック"/>',r[r.length]='<a:font script="Hang" typeface="맑은 고딕"/>',r[r.length]='<a:font script="Hans" typeface="宋体"/>',r[r.length]='<a:font script="Hant" typeface="新細明體"/>',r[r.length]='<a:font script="Arab" typeface="Arial"/>',r[r.length]='<a:font script="Hebr" typeface="Arial"/>',r[r.length]='<a:font script="Thai" typeface="Tahoma"/>',r[r.length]='<a:font script="Ethi" typeface="Nyala"/>',r[r.length]='<a:font script="Beng" typeface="Vrinda"/>',r[r.length]='<a:font script="Gujr" typeface="Shruti"/>',r[r.length]='<a:font script="Khmr" typeface="DaunPenh"/>',r[r.length]='<a:font script="Knda" typeface="Tunga"/>',r[r.length]='<a:font script="Guru" typeface="Raavi"/>',r[r.length]='<a:font script="Cans" typeface="Euphemia"/>',r[r.length]='<a:font script="Cher" typeface="Plantagenet Cherokee"/>',r[r.length]='<a:font script="Yiii" typeface="Microsoft Yi Baiti"/>',r[r.length]='<a:font script="Tibt" typeface="Microsoft Himalaya"/>',r[r.length]='<a:font script="Thaa" typeface="MV Boli"/>',r[r.length]='<a:font script="Deva" typeface="Mangal"/>',r[r.length]='<a:font script="Telu" typeface="Gautami"/>',r[r.length]='<a:font script="Taml" typeface="Latha"/>',r[r.length]='<a:font script="Syrc" typeface="Estrangelo Edessa"/>',r[r.length]='<a:font script="Orya" typeface="Kalinga"/>',r[r.length]='<a:font script="Mlym" typeface="Kartika"/>',r[r.length]='<a:font script="Laoo" typeface="DokChampa"/>',r[r.length]='<a:font script="Sinh" typeface="Iskoola Pota"/>',r[r.length]='<a:font script="Mong" typeface="Mongolian Baiti"/>',r[r.length]='<a:font script="Viet" typeface="Arial"/>',r[r.length]='<a:font script="Uigh" typeface="Microsoft Uighur"/>',r[r.length]='<a:font script="Geor" typeface="Sylfaen"/>',r[r.length]="</a:minorFont>",r[r.length]="</a:fontScheme>",r[r.length]='<a:fmtScheme name="Office">',r[r.length]="<a:fillStyleLst>",r[r.length]='<a:solidFill><a:schemeClr val="phClr"/></a:solidFill>',r[r.length]='<a:gradFill rotWithShape="1">',r[r.length]="<a:gsLst>",r[r.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="50000"/><a:satMod val="300000"/></a:schemeClr></a:gs>',r[r.length]='<a:gs pos="35000"><a:schemeClr val="phClr"><a:tint val="37000"/><a:satMod val="300000"/></a:schemeClr></a:gs>',r[r.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:tint val="15000"/><a:satMod val="350000"/></a:schemeClr></a:gs>',r[r.length]="</a:gsLst>",r[r.length]='<a:lin ang="16200000" scaled="1"/>',r[r.length]="</a:gradFill>",r[r.length]='<a:gradFill rotWithShape="1">',r[r.length]="<a:gsLst>",r[r.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="100000"/><a:shade val="100000"/><a:satMod val="130000"/></a:schemeClr></a:gs>',r[r.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:tint val="50000"/><a:shade val="100000"/><a:satMod val="350000"/></a:schemeClr></a:gs>',r[r.length]="</a:gsLst>",r[r.length]='<a:lin ang="16200000" scaled="0"/>',r[r.length]="</a:gradFill>",r[r.length]="</a:fillStyleLst>",r[r.length]="<a:lnStyleLst>",r[r.length]='<a:ln w="9525" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"><a:shade val="95000"/><a:satMod val="105000"/></a:schemeClr></a:solidFill><a:prstDash val="solid"/></a:ln>',r[r.length]='<a:ln w="25400" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/></a:ln>',r[r.length]='<a:ln w="38100" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/></a:ln>',r[r.length]="</a:lnStyleLst>",r[r.length]="<a:effectStyleLst>",r[r.length]="<a:effectStyle>",r[r.length]="<a:effectLst>",r[r.length]='<a:outerShdw blurRad="40000" dist="20000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="38000"/></a:srgbClr></a:outerShdw>',r[r.length]="</a:effectLst>",r[r.length]="</a:effectStyle>",r[r.length]="<a:effectStyle>",r[r.length]="<a:effectLst>",r[r.length]='<a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="35000"/></a:srgbClr></a:outerShdw>',r[r.length]="</a:effectLst>",r[r.length]="</a:effectStyle>",r[r.length]="<a:effectStyle>",r[r.length]="<a:effectLst>",r[r.length]='<a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="35000"/></a:srgbClr></a:outerShdw>',r[r.length]="</a:effectLst>",r[r.length]='<a:scene3d><a:camera prst="orthographicFront"><a:rot lat="0" lon="0" rev="0"/></a:camera><a:lightRig rig="threePt" dir="t"><a:rot lat="0" lon="0" rev="1200000"/></a:lightRig></a:scene3d>',r[r.length]='<a:sp3d><a:bevelT w="63500" h="25400"/></a:sp3d>',r[r.length]="</a:effectStyle>",r[r.length]="</a:effectStyleLst>",r[r.length]="<a:bgFillStyleLst>",r[r.length]='<a:solidFill><a:schemeClr val="phClr"/></a:solidFill>',r[r.length]='<a:gradFill rotWithShape="1">',r[r.length]="<a:gsLst>",r[r.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="40000"/><a:satMod val="350000"/></a:schemeClr></a:gs>',r[r.length]='<a:gs pos="40000"><a:schemeClr val="phClr"><a:tint val="45000"/><a:shade val="99000"/><a:satMod val="350000"/></a:schemeClr></a:gs>',r[r.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:shade val="20000"/><a:satMod val="255000"/></a:schemeClr></a:gs>',r[r.length]="</a:gsLst>",r[r.length]='<a:path path="circle"><a:fillToRect l="50000" t="-80000" r="50000" b="180000"/></a:path>',r[r.length]="</a:gradFill>",r[r.length]='<a:gradFill rotWithShape="1">',r[r.length]="<a:gsLst>",r[r.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="80000"/><a:satMod val="300000"/></a:schemeClr></a:gs>',r[r.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:shade val="30000"/><a:satMod val="200000"/></a:schemeClr></a:gs>',r[r.length]="</a:gsLst>",r[r.length]='<a:path path="circle"><a:fillToRect l="50000" t="50000" r="50000" b="50000"/></a:path>',r[r.length]="</a:gradFill>",r[r.length]="</a:bgFillStyleLst>",r[r.length]="</a:fmtScheme>",r[r.length]="</a:themeElements>",r[r.length]="<a:objectDefaults>",r[r.length]="<a:spDef>",r[r.length]='<a:spPr/><a:bodyPr/><a:lstStyle/><a:style><a:lnRef idx="1"><a:schemeClr val="accent1"/></a:lnRef><a:fillRef idx="3"><a:schemeClr val="accent1"/></a:fillRef><a:effectRef idx="2"><a:schemeClr val="accent1"/></a:effectRef><a:fontRef idx="minor"><a:schemeClr val="lt1"/></a:fontRef></a:style>',r[r.length]="</a:spDef>",r[r.length]="<a:lnDef>",r[r.length]='<a:spPr/><a:bodyPr/><a:lstStyle/><a:style><a:lnRef idx="2"><a:schemeClr val="accent1"/></a:lnRef><a:fillRef idx="0"><a:schemeClr val="accent1"/></a:fillRef><a:effectRef idx="1"><a:schemeClr val="accent1"/></a:effectRef><a:fontRef idx="minor"><a:schemeClr val="tx1"/></a:fontRef></a:style>',r[r.length]="</a:lnDef>",r[r.length]="</a:objectDefaults>",r[r.length]="<a:extraClrSchemeLst/>",r[r.length]="</a:theme>",r.join("")}function es(e){var t={};switch(t.xclrType=e._R(2),t.nTintShade=e._R(2),t.xclrType){case 0:case 4:e.l+=4;break;case 1:t.xclrValue=function(e,t){return Or(e,t)}(e,4);break;case 2:t.xclrValue=Ga(e);break;case 3:t.xclrValue=function(e){return e._R(4)}(e)}return e.l+=8,t}function ts(e){var t=e._R(2),r=e._R(2)-4,n=[t];switch(t){case 4:case 5:case 7:case 8:case 9:case 10:case 11:case 13:n[1]=es(e);break;case 6:n[1]=function(e,t){return Or(e,t)}(e,r);break;case 14:case 15:n[1]=e._R(1===r?1:2);break;default:throw new Error("Unrecognized ExtProp type: "+t+" "+r)}return n}function rs(e,t){t.forEach((function(e){e[0]}))}function ns(){var e=Lr();return Ir(e,332),Ir(e,334,Qr(1)),Ir(e,335,function(e){var t=Rr(12+2*e.name.length);return t._W(4,e.flags),t._W(4,e.version),tn(e.name,t),t.slice(0,t.l)}({name:"XLDAPR",version:12e4,flags:3496657072})),Ir(e,336),Ir(e,339,function(e,t){var r=Rr(8+2*t.length);return r._W(4,e),tn(t,r),r.slice(0,r.l)}(1,"XLDAPR")),Ir(e,52),Ir(e,35,Qr(514)),Ir(e,4096,Qr(0)),Ir(e,4097,La(1)),Ir(e,36),Ir(e,53),Ir(e,340),Ir(e,337,function(e,t){var r=Rr(8);return r._W(4,e),r._W(4,t?1:0),r}(1,!0)),Ir(e,51,function(e){var t=Rr(4+8*e.length);t._W(4,e.length);for(var r=0;r<e.length;++r)t._W(4,e[r][0]),t._W(4,e[r][1]);return t}([[1,0]])),Ir(e,338),Ir(e,333),e.end()}function as(){var e=[lt];return e.push('<metadata xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" xmlns:xlrd="http://schemas.microsoft.com/office/spreadsheetml/2017/richdata" xmlns:xda="http://schemas.microsoft.com/office/spreadsheetml/2017/dynamicarray">\n <metadataTypes count="1">\n <metadataType name="XLDAPR" minSupportedVersion="120000" copy="1" pasteAll="1" pasteValues="1" merge="1" splitFirst="1" rowColShift="1" clearFormats="1" clearComments="1" assign="1" coerce="1" cellMeta="1"/>\n </metadataTypes>\n <futureMetadata name="XLDAPR" count="1">\n <bk>\n <extLst>\n <ext uri="{bdbb8cdc-fa1e-496e-a857-3c3f30c029c3}">\n <xda:dynamicArrayProperties fDynamic="1" fCollapsed="0"/>\n </ext>\n </extLst>\n </bk>\n </futureMetadata>\n <cellMetadata count="1">\n <bk>\n <rc t="1" v="0"/>\n </bk>\n </cellMetadata>\n</metadata>'),e.join("")}var os=1024;function is(e,t){for(var r=[21600,21600],n=["m0,0l0",r[1],r[0],r[1],r[0],"0xe"].join(","),a=[zt("xml",null,{"xmlns:v":Yt.v,"xmlns:o":Yt.o,"xmlns:x":Yt.x,"xmlns:mv":Yt.mv}).replace(/\/>/,">"),zt("o:shapelayout",zt("o:idmap",null,{"v:ext":"edit",data:e}),{"v:ext":"edit"}),zt("v:shapetype",[zt("v:stroke",null,{joinstyle:"miter"}),zt("v:path",null,{gradientshapeok:"t","o:connecttype":"rect"})].join(""),{id:"_x0000_t202","o:spt":202,coordsize:r.join(","),path:n})];os<1e3*e;)os+=1e3;return t.forEach((function(e){var t=zr(e[0]),r={color2:"#BEFF82",type:"gradient"};"gradient"==r.type&&(r.angle="-180");var n="gradient"==r.type?zt("o:fill",null,{type:"gradientUnscaled","v:ext":"view"}):null,o=zt("v:fill",n,r);++os,a=a.concat(["<v:shape"+Ht({id:"_x0000_s"+os,type:"#_x0000_t202",style:"position:absolute; margin-left:80pt;margin-top:5pt;width:104pt;height:64pt;z-index:10"+(e[1].hidden?";visibility:hidden":""),fillcolor:"#ECFAD4",strokecolor:"#edeaa1"})+">",o,zt("v:shadow",null,{on:"t",obscured:"t"}),zt("v:path",null,{"o:connecttype":"none"}),'<v:textbox><div style="text-align:left"></div></v:textbox>','<x:ClientData ObjectType="Note">',"<x:MoveWithCells/>","<x:SizeWithCells/>",Ut("x:Anchor",[t.c+1,0,t.r+1,0,t.c+3,20,t.r+5,20].join(",")),Ut("x:AutoFill","False"),Ut("x:Row",String(t.r)),Ut("x:Column",String(t.c)),e[1].hidden?"":"<x:Visible/>","</x:ClientData>","</v:shape>"])})),a.push("</xml>"),a.join("")}function ss(e,t,r,n){var a,o=Array.isArray(e);t.forEach((function(t){var i=zr(t.ref);if(o?(e[i.r]||(e[i.r]=[]),a=e[i.r][i.c]):a=e[t.ref],!a){a={t:"z"},o?e[i.r][i.c]=a:e[t.ref]=a;var s=Gr(e["!ref"]||"BDWGO1000001:A1");s.s.r>i.r&&(s.s.r=i.r),s.e.r<i.r&&(s.e.r=i.r),s.s.c>i.c&&(s.s.c=i.c),s.e.c<i.c&&(s.e.c=i.c);var c=$r(s);c!==e["!ref"]&&(e["!ref"]=c)}a.c||(a.c=[]);var l={a:t.author,t:t.t,r:t.r,T:r};t.h&&(l.h=t.h);for(var u=a.c.length-1;u>=0;--u){if(!r&&a.c[u].T)return;r&&!a.c[u].T&&a.c.splice(u,1)}if(r&&n)for(u=0;u<n.length;++u)if(l.a==n[u].id){l.a=n[u].name||l.a;break}a.c.push(l)}))}function cs(e){var t=[lt,zt("comments",null,{xmlns:Xt[0]})],r=[];return t.push("<authors>"),e.forEach((function(e){e[1].forEach((function(e){var n=xt(e.a);-1==r.indexOf(n)&&(r.push(n),t.push("<author>"+n+"</author>")),e.T&&e.ID&&-1==r.indexOf("tc="+e.ID)&&(r.push("tc="+e.ID),t.push("<author>tc="+e.ID+"</author>"))}))})),0==r.length&&(r.push("SheetJ5"),t.push("<author>SheetJ5</author>")),t.push("</authors>"),t.push("<commentList>"),e.forEach((function(e){var n=0,a=[];if(e[1][0]&&e[1][0].T&&e[1][0].ID?n=r.indexOf("tc="+e[1][0].ID):e[1].forEach((function(e){e.a&&(n=r.indexOf(xt(e.a))),a.push(e.t||"")})),t.push('<comment ref="'+e[0]+'" authorId="'+n+'"><text>'),a.length<=1)t.push(Ut("t",xt(a[0]||"")));else{for(var o="Comment:\n "+a[0]+"\n",i=1;i<a.length;++i)o+="Reply:\n "+a[i]+"\n";t.push(Ut("t",xt(o)))}t.push("</text></comment>")})),t.push("</commentList>"),t.length>2&&(t[t.length]="</comments>",t[1]=t[1].replace("/>",">")),t.join("")}function ls(e,t,r){var n=[lt,zt("ThreadedComments",null,{xmlns:Gt.TCMNT}).replace(/[\/]>/,">")];return e.forEach((function(e){var a="";(e[1]||[]).forEach((function(o,i){if(o.T){o.a&&-1==t.indexOf(o.a)&&t.push(o.a);var s={ref:e[0],id:"{54EE7951-7262-4200-6969-"+("000000000000"+r.tcid++).slice(-12)+"}"};0==i?a=s.id:s.parentId=a,o.ID=s.id,o.a&&(s.personId="{54EE7950-7262-4200-6969-"+("000000000000"+t.indexOf(o.a)).slice(-12)+"}"),n.push(zt("threadedComment",Ut("text",o.t||""),s))}else delete o.ID}))})),n.push("</ThreadedComments>"),n.join("")}var us=en;function fs(e){var t=Lr(),r=[];return Ir(t,628),Ir(t,630),e.forEach((function(e){e[1].forEach((function(e){r.indexOf(e.a)>-1||(r.push(e.a.slice(0,54)),Ir(t,632,function(e){return tn(e.slice(0,54))}(e.a)))}))})),Ir(t,631),Ir(t,633),e.forEach((function(e){e[1].forEach((function(n){n.iauthor=r.indexOf(n.a);var a={s:zr(e[0]),e:zr(e[0])};Ir(t,635,function(e,t){return null==t&&(t=Rr(36)),t._W(4,e[1].iauthor),xn(e[0],t),t._W(4,0),t._W(4,0),t._W(4,0),t._W(4,0),t}([a,n])),n.t&&n.t.length>0&&Ir(t,637,on(n)),Ir(t,636),delete n.iauthor}))})),Ir(t,634),Ir(t,629),t.end()}var hs="application/vnd.ms-office.vbaProject";var ds=["xlsb","xlsm","xlam","biff8","xla"];var ps=function(){var e=/(^|[^A-Za-z_])R(\[?-?\d+\]|[1-9]\d*|)C(\[?-?\d+\]|[1-9]\d*|)(?![A-Za-z0-9_])/g,t={r:0,c:0};function r(e,r,n,a){var o=!1,i=!1;0==n.length?i=!0:"["==n.charAt(0)&&(i=!0,n=n.slice(1,-1)),0==a.length?o=!0:"["==a.charAt(0)&&(o=!0,a=a.slice(1,-1));var s=n.length>0?0|parseInt(n,10):0,c=a.length>0?0|parseInt(a,10):0;return o?c+=t.c:--c,i?s+=t.r:--s,r+(o?"":"$")+Hr(c)+(i?"":"$")+Wr(s)}return function(n,a){return t=a,n.replace(e,r)}}(),gs=/(^|[^._A-Z0-9])([$]?)([A-Z]{1,2}|[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D])([$]?)(10[0-3]\d{4}|104[0-7]\d{3}|1048[0-4]\d{2}|10485[0-6]\d|104857[0-6]|[1-9]\d{0,5})(?![_.\(A-Za-z0-9])/g,ms=function(e,t){return e.replace(gs,(function(e,r,n,a,o,i){var s=Ur(a)-(n?0:t.c),c=Br(i)-(o?0:t.r);return r+"R"+(0==c?"":o?c+1:"["+c+"]")+"C"+(0==s?"":n?s+1:"["+s+"]")}))};function vs(e,t){return e.replace(gs,(function(e,r,n,a,o,i){return r+("$"==n?n+a:Hr(Ur(a)+t.c))+("$"==o?o+i:Wr(Br(i)+t.r))}))}function bs(e,t,r){var n=qr(t).s,a=zr(r);return vs(e,{r:a.r-n.r,c:a.c-n.c})}function ys(e){return e.replace(/_xlfn\./g,"")}function ws(e){e.l+=1}function Ss(e,t){var r=e._R(1==t?1:2);return[16383&r,r>>14&1,r>>15&1]}function xs(e,t,r){var n=2;if(r){if(r.biff>=2&&r.biff<=5)return As(e);12==r.biff&&(n=4)}var a=e._R(n),o=e._R(n),i=Ss(e,2),s=Ss(e,2);return{s:{r:a,c:i[0],cRel:i[1],rRel:i[2]},e:{r:o,c:s[0],cRel:s[1],rRel:s[2]}}}function As(e){var t=Ss(e,2),r=Ss(e,2),n=e._R(1),a=e._R(1);return{s:{r:t[0],c:n,cRel:t[1],rRel:t[2]},e:{r:r[0],c:a,cRel:r[1],rRel:r[2]}}}function ks(e,t,r){if(r&&r.biff>=2&&r.biff<=5)return function(e){var t=Ss(e,2),r=e._R(1);return{r:t[0],c:r,cRel:t[1],rRel:t[2]}}(e);var n=e._R(r&&12==r.biff?4:2),a=Ss(e,2);return{r:n,c:a[0],cRel:a[1],rRel:a[2]}}function Ts(e){var t=e._R(2),r=e._R(2);return{r:t,c:255&r,fQuoted:!!(16384&r),cRel:r>>15,rRel:r>>15}}function Es(e){var t=1&e[e.l+1];return e.l+=4,[t,1]}function _s(e){return[e._R(1),e._R(1)]}function Ns(e,t){var r=[e._R(1)];if(12==t)switch(r[0]){case 2:r[0]=4;break;case 4:r[0]=16;break;case 0:r[0]=1;break;case 1:r[0]=2}switch(r[0]){case 4:r[1]=Oa(e,1)?"TRUE":"FALSE",12!=t&&(e.l+=7);break;case 37:case 16:r[1]=Bn[e[e.l]],e.l+=12==t?4:8;break;case 0:e.l+=8;break;case 1:r[1]=An(e);break;case 2:r[1]=Ua(e,0,{biff:t>0&&t<8?2:t});break;default:throw new Error("Bad SerAr: "+r[0])}return r}function Cs(e,t,r){for(var n=e._R(12==r.biff?4:2),a=[],o=0;o!=n;++o)a.push((12==r.biff?Sn:Qa)(e,8));return a}function Os(e,t,r){var n=0,a=0;12==r.biff?(n=e._R(4),a=e._R(4)):(a=1+e._R(1),n=1+e._R(2)),r.biff>=2&&r.biff<8&&(--n,0==--a&&(a=256));for(var o=0,i=[];o!=n&&(i[o]=[]);++o)for(var s=0;s!=a;++s)i[o][s]=Ns(e,r.biff);return i}function Rs(e,t,r){return e.l+=2,[Ts(e)]}function Ps(e){return e.l+=6,[]}function Ls(e){return e.l+=2,[Pa(e),1&e._R(2)]}var Is=["Data","All","Headers","??","?Data2","??","?DataHeaders","??","Totals","??","??","??","?DataTotals","??","??","??","?Current"];var Fs={1:{n:"PtgExp",f:function(e,t,r){return e.l++,r&&12==r.biff?[e._R(4,"i"),0]:[e._R(2),e._R(r&&2==r.biff?1:2)]}},2:{n:"PtgTbl",f:Or},3:{n:"PtgAdd",f:ws},4:{n:"PtgSub",f:ws},5:{n:"PtgMul",f:ws},6:{n:"PtgDiv",f:ws},7:{n:"PtgPower",f:ws},8:{n:"PtgConcat",f:ws},9:{n:"PtgLt",f:ws},10:{n:"PtgLe",f:ws},11:{n:"PtgEq",f:ws},12:{n:"PtgGe",f:ws},13:{n:"PtgGt",f:ws},14:{n:"PtgNe",f:ws},15:{n:"PtgIsect",f:ws},16:{n:"PtgUnion",f:ws},17:{n:"PtgRange",f:ws},18:{n:"PtgUplus",f:ws},19:{n:"PtgUminus",f:ws},20:{n:"PtgPercent",f:ws},21:{n:"PtgParen",f:ws},22:{n:"PtgMissArg",f:ws},23:{n:"PtgStr",f:function(e,t,r){return e.l++,Da(e,0,r)}},26:{n:"PtgSheet",f:function(e,t,r){return e.l+=5,e.l+=2,e.l+=2==r.biff?1:4,["PTGSHEET"]}},27:{n:"PtgEndSheet",f:function(e,t,r){return e.l+=2==r.biff?4:5,["PTGENDSHEET"]}},28:{n:"PtgErr",f:function(e){return e.l++,Bn[e._R(1)]}},29:{n:"PtgBool",f:function(e){return e.l++,0!==e._R(1)}},30:{n:"PtgInt",f:function(e){return e.l++,e._R(2)}},31:{n:"PtgNum",f:function(e){return e.l++,An(e)}},32:{n:"PtgArray",f:function(e,t,r){var n=(96&e[e.l++])>>5;return e.l+=2==r.biff?6:12==r.biff?14:7,[n]}},33:{n:"PtgFunc",f:function(e,t,r){var n=(96&e[e.l])>>5;e.l+=1;var a=e._R(r&&r.biff<=3?1:2);return[nc[a],rc[a],n]}},34:{n:"PtgFuncVar",f:function(e,t,r){var n=e[e.l++],a=e._R(1),o=r&&r.biff<=3?[88==n?-1:0,e._R(1)]:function(e){return[e[e.l+1]>>7,32767&e._R(2)]}(e);return[a,(0===o[0]?rc:tc)[o[1]]]}},35:{n:"PtgName",f:function(e,t,r){var n=e._R(1)>>>5&3,a=!r||r.biff>=8?4:2,o=e._R(a);switch(r.biff){case 2:e.l+=5;break;case 3:case 4:e.l+=8;break;case 5:e.l+=12}return[n,0,o]}},36:{n:"PtgRef",f:function(e,t,r){var n=(96&e[e.l])>>5;return e.l+=1,[n,ks(e,0,r)]}},37:{n:"PtgArea",f:function(e,t,r){return[(96&e[e.l++])>>5,xs(e,r.biff>=2&&r.biff,r)]}},38:{n:"PtgMemArea",f:function(e,t,r){var n=e._R(1)>>>5&3;return e.l+=r&&2==r.biff?3:4,[n,e._R(r&&2==r.biff?1:2)]}},39:{n:"PtgMemErr",f:Or},40:{n:"PtgMemNoMem",f:Or},41:{n:"PtgMemFunc",f:function(e,t,r){return[e._R(1)>>>5&3,e._R(r&&2==r.biff?1:2)]}},42:{n:"PtgRefErr",f:function(e,t,r){var n=e._R(1)>>>5&3;return e.l+=4,r.biff<8&&e.l--,12==r.biff&&(e.l+=2),[n]}},43:{n:"PtgAreaErr",f:function(e,t,r){var n=(96&e[e.l++])>>5;return e.l+=r&&r.biff>8?12:r.biff<8?6:8,[n]}},44:{n:"PtgRefN",f:function(e,t,r){var n=(96&e[e.l])>>5;e.l+=1;var a=function(e,t,r){var n=r&&r.biff?r.biff:8;if(n>=2&&n<=5)return function(e){var t=e._R(2),r=e._R(1),n=(32768&t)>>15,a=(16384&t)>>14;return t&=16383,1==n&&t>=8192&&(t-=16384),1==a&&r>=128&&(r-=256),{r:t,c:r,cRel:a,rRel:n}}(e);var a=e._R(n>=12?4:2),o=e._R(2),i=(16384&o)>>14,s=(32768&o)>>15;if(o&=16383,1==s)for(;a>524287;)a-=1048576;if(1==i)for(;o>8191;)o-=16384;return{r:a,c:o,cRel:i,rRel:s}}(e,0,r);return[n,a]}},45:{n:"PtgAreaN",f:function(e,t,r){var n=(96&e[e.l++])>>5,a=function(e,t,r){if(r.biff<8)return As(e);var n=e._R(12==r.biff?4:2),a=e._R(12==r.biff?4:2),o=Ss(e,2),i=Ss(e,2);return{s:{r:n,c:o[0],cRel:o[1],rRel:o[2]},e:{r:a,c:i[0],cRel:i[1],rRel:i[2]}}}(e,0,r);return[n,a]}},46:{n:"PtgMemAreaN",f:function(e){return[e._R(1)>>>5&3,e._R(2)]}},47:{n:"PtgMemNoMemN",f:function(e){return[e._R(1)>>>5&3,e._R(2)]}},57:{n:"PtgNameX",f:function(e,t,r){return 5==r.biff?function(e){var t=e._R(1)>>>5&3,r=e._R(2,"i");e.l+=8;var n=e._R(2);return e.l+=12,[t,r,n]}(e):[e._R(1)>>>5&3,e._R(2),e._R(4)]}},58:{n:"PtgRef3d",f:function(e,t,r){var n=(96&e[e.l])>>5;e.l+=1;var a=e._R(2);return r&&5==r.biff&&(e.l+=12),[n,a,ks(e,0,r)]}},59:{n:"PtgArea3d",f:function(e,t,r){var n=(96&e[e.l++])>>5,a=e._R(2,"i");if(r)switch(r.biff){case 5:e.l+=12,6;break;case 12:12}return[n,a,xs(e,0,r)]}},60:{n:"PtgRefErr3d",f:function(e,t,r){var n=(96&e[e.l++])>>5,a=e._R(2),o=4;if(r)switch(r.biff){case 5:o=15;break;case 12:o=6}return e.l+=o,[n,a]}},61:{n:"PtgAreaErr3d",f:function(e,t,r){var n=(96&e[e.l++])>>5,a=e._R(2),o=8;if(r)switch(r.biff){case 5:e.l+=12,o=6;break;case 12:o=12}return e.l+=o,[n,a]}},255:{}},Ds={64:32,96:32,65:33,97:33,66:34,98:34,67:35,99:35,68:36,100:36,69:37,101:37,70:38,102:38,71:39,103:39,72:40,104:40,73:41,105:41,74:42,106:42,75:43,107:43,76:44,108:44,77:45,109:45,78:46,110:46,79:47,111:47,88:34,120:34,89:57,121:57,90:58,122:58,91:59,123:59,92:60,124:60,93:61,125:61},Ms={1:{n:"PtgElfLel",f:Ls},2:{n:"PtgElfRw",f:Rs},3:{n:"PtgElfCol",f:Rs},6:{n:"PtgElfRwV",f:Rs},7:{n:"PtgElfColV",f:Rs},10:{n:"PtgElfRadical",f:Rs},11:{n:"PtgElfRadicalS",f:Ps},13:{n:"PtgElfColS",f:Ps},15:{n:"PtgElfColSV",f:Ps},16:{n:"PtgElfRadicalLel",f:Ls},25:{n:"PtgList",f:function(e){e.l+=2;var t=e._R(2),r=e._R(2),n=e._R(4),a=e._R(2),o=e._R(2);return{ixti:t,coltype:3&r,rt:Is[r>>2&31],idx:n,c:a,C:o}}},29:{n:"PtgSxName",f:function(e){return e.l+=2,[e._R(4)]}},255:{}},js={0:{n:"PtgAttrNoop",f:function(e){return e.l+=4,[0,0]}},1:{n:"PtgAttrSemi",f:function(e,t,r){var n=255&e[e.l+1]?1:0;return e.l+=r&&2==r.biff?3:4,[n]}},2:{n:"PtgAttrIf",f:function(e,t,r){var n=255&e[e.l+1]?1:0;return e.l+=2,[n,e._R(r&&2==r.biff?1:2)]}},4:{n:"PtgAttrChoose",f:function(e,t,r){e.l+=2;for(var n=e._R(r&&2==r.biff?1:2),a=[],o=0;o<=n;++o)a.push(e._R(r&&2==r.biff?1:2));return a}},8:{n:"PtgAttrGoto",f:function(e,t,r){var n=255&e[e.l+1]?1:0;return e.l+=2,[n,e._R(r&&2==r.biff?1:2)]}},16:{n:"PtgAttrSum",f:function(e,t,r){e.l+=r&&2==r.biff?3:4}},32:{n:"PtgAttrBaxcel",f:Es},33:{n:"PtgAttrBaxcel",f:Es},64:{n:"PtgAttrSpace",f:function(e){return e._R(2),_s(e)}},65:{n:"PtgAttrSpaceSemi",f:function(e){return e._R(2),_s(e)}},128:{n:"PtgAttrIfError",f:function(e){var t=255&e[e.l+1]?1:0;return e.l+=2,[t,e._R(2)]}},255:{}};function Bs(e,t,r,n){if(n.biff<8)return Or(e,t);for(var a=e.l+t,o=[],i=0;i!==r.length;++i)switch(r[i][0]){case"PtgArray":r[i][1]=Os(e,0,n),o.push(r[i][1]);break;case"PtgMemArea":r[i][2]=Cs(e,r[i][1],n),o.push(r[i][2]);break;case"PtgExp":n&&12==n.biff&&(r[i][1][1]=e._R(4),o.push(r[i][1]));break;case"PtgList":case"PtgElfRadicalS":case"PtgElfColS":case"PtgElfColSV":throw"Unsupported "+r[i][0]}return 0!==(t=a-e.l)&&o.push(Or(e,t)),o}function Ws(e,t,r){for(var n,a,o=e.l+t,i=[];o!=e.l;)t=o-e.l,a=e[e.l],n=Fs[a]||Fs[Ds[a]],24!==a&&25!==a||(n=(24===a?Ms:js)[e[e.l+1]]),n&&n.f?i.push([n.n,n.f(e,t,r)]):Or(e,t);return i}function Us(e){for(var t=[],r=0;r<e.length;++r){for(var n=e[r],a=[],o=0;o<n.length;++o){var i=n[o];if(i)if(2===i[0])a.push('"'+i[1].replace(/"/g,'""')+'"');else a.push(i[1]);else a.push("")}t.push(a.join(","))}return t.join(";")}var Hs={PtgAdd:"+",PtgConcat:"&",PtgDiv:"/",PtgEq:"=",PtgGe:">=",PtgGt:">",PtgLe:"<=",PtgLt:"<",PtgMul:"*",PtgNe:"<>",PtgPower:"^",PtgSub:"-"};function zs(e,t,r){if(!e)return"SH33TJSERR0";if(r.biff>8&&(!e.XTI||!e.XTI[t]))return e.SheetNames[t];if(!e.XTI)return"SH33TJSERR6";var n=e.XTI[t];if(r.biff<8)return t>1e4&&(t-=65536),t<0&&(t=-t),0==t?"":e.XTI[t-1];if(!n)return"SH33TJSERR1";var a="";if(r.biff>8)switch(e[n[0]][0]){case 357:return a=-1==n[1]?"#REF":e.SheetNames[n[1]],n[1]==n[2]?a:a+":"+e.SheetNames[n[2]];case 358:return null!=r.SID?e.SheetNames[r.SID]:"SH33TJSSAME"+e[n[0]][0];default:return"SH33TJSSRC"+e[n[0]][0]}switch(e[n[0]][0][0]){case 1025:return a=-1==n[1]?"#REF":e.SheetNames[n[1]]||"SH33TJSERR3",n[1]==n[2]?a:a+":"+e.SheetNames[n[2]];case 14849:return e[n[0]].slice(1).map((function(e){return e.Name})).join(";;");default:return e[n[0]][0][3]?(a=-1==n[1]?"#REF":e[n[0]][0][3][n[1]]||"SH33TJSERR4",n[1]==n[2]?a:a+":"+e[n[0]][0][3][n[2]]):"SH33TJSERR2"}}function Vs(e,t,r){var n=zs(e,t,r);return"#REF"==n?n:function(e,t){if(!(e||t&&t.biff<=5&&t.biff>=2))throw new Error("empty sheet name");return/[^\w\u4E00-\u9FFF\u3040-\u30FF]/.test(e)?"'"+e+"'":e}(n,r)}function qs(e,t,r,n,a){var o,i,s,c,l=a&&a.biff||8,u={s:{c:0,r:0},e:{c:0,r:0}},f=[],h=0,d=0,p="";if(!e[0]||!e[0][0])return"";for(var g=-1,m="",v=0,b=e[0].length;v<b;++v){var y=e[0][v];switch(y[0]){case"PtgUminus":f.push("-"+f.pop());break;case"PtgUplus":f.push("+"+f.pop());break;case"PtgPercent":f.push(f.pop()+"%");break;case"PtgAdd":case"PtgConcat":case"PtgDiv":case"PtgEq":case"PtgGe":case"PtgGt":case"PtgLe":case"PtgLt":case"PtgMul":case"PtgNe":case"PtgPower":case"PtgSub":if(o=f.pop(),i=f.pop(),g>=0){switch(e[0][g][1][0]){case 0:m=$e(" ",e[0][g][1][1]);break;case 1:m=$e("\r",e[0][g][1][1]);break;default:if(m="",a.WTF)throw new Error("Unexpected PtgAttrSpaceType "+e[0][g][1][0])}i+=m,g=-1}f.push(i+Hs[y[0]]+o);break;case"PtgIsect":o=f.pop(),i=f.pop(),f.push(i+" "+o);break;case"PtgUnion":o=f.pop(),i=f.pop(),f.push(i+","+o);break;case"PtgRange":o=f.pop(),i=f.pop(),f.push(i+":"+o);break;case"PtgAttrChoose":case"PtgAttrGoto":case"PtgAttrIf":case"PtgAttrIfError":case"PtgAttrBaxcel":case"PtgAttrSemi":case"PtgMemArea":case"PtgTbl":case"PtgMemErr":case"PtgMemAreaN":case"PtgMemNoMemN":case"PtgAttrNoop":case"PtgSheet":case"PtgEndSheet":case"PtgMemFunc":case"PtgMemNoMem":break;case"PtgRef":s=Fr(y[1][1],u,a),f.push(Mr(s,l));break;case"PtgRefN":s=r?Fr(y[1][1],r,a):y[1][1],f.push(Mr(s,l));break;case"PtgRef3d":h=y[1][1],s=Fr(y[1][2],u,a);p=Vs(n,h,a);f.push(p+"!"+Mr(s,l));break;case"PtgFunc":case"PtgFuncVar":var w=y[1][0],S=y[1][1];w||(w=0);var x=0==(w&=127)?[]:f.slice(-w);f.length-=w,"User"===S&&(S=x.shift()),f.push(S+"("+x.join(",")+")");break;case"PtgBool":f.push(y[1]?"TRUE":"FALSE");break;case"PtgInt":case"PtgErr":f.push(y[1]);break;case"PtgNum":f.push(String(y[1]));break;case"PtgStr":f.push('"'+y[1].replace(/"/g,'""')+'"');break;case"PtgAreaN":c=Dr(y[1][1],r?{s:r}:u,a),f.push(jr(c,a));break;case"PtgArea":c=Dr(y[1][1],u,a),f.push(jr(c,a));break;case"PtgArea3d":h=y[1][1],c=y[1][2],p=Vs(n,h,a),f.push(p+"!"+jr(c,a));break;case"PtgAttrSum":f.push("SUM("+f.pop()+")");break;case"PtgName":d=y[1][2];var A=(n.names||[])[d-1]||(n[0]||[])[d],k=A?A.Name:"SH33TJSNAME"+String(d);k&&"_xlfn."==k.slice(0,6)&&!a.xlfn&&(k=k.slice(6)),f.push(k);break;case"PtgNameX":var T,E=y[1][1];if(d=y[1][2],!(a.biff<=5)){var _="";if(14849==((n[E]||[])[0]||[])[0]||(1025==((n[E]||[])[0]||[])[0]?n[E][d]&&n[E][d].itab>0&&(_=n.SheetNames[n[E][d].itab-1]+"!"):_=n.SheetNames[d-1]+"!"),n[E]&&n[E][d])_+=n[E][d].Name;else if(n[0]&&n[0][d])_+=n[0][d].Name;else{var N=(zs(n,E,a)||"").split(";;");N[d-1]?_=N[d-1]:_+="SH33TJSERRX"}f.push(_);break}E<0&&(E=-E),n[E]&&(T=n[E][d]),T||(T={Name:"SH33TJSERRY"}),f.push(T.Name);break;case"PtgParen":var C="(",O=")";if(g>=0){switch(m="",e[0][g][1][0]){case 2:C=$e(" ",e[0][g][1][1])+C;break;case 3:C=$e("\r",e[0][g][1][1])+C;break;case 4:O=$e(" ",e[0][g][1][1])+O;break;case 5:O=$e("\r",e[0][g][1][1])+O;break;default:if(a.WTF)throw new Error("Unexpected PtgAttrSpaceType "+e[0][g][1][0])}g=-1}f.push(C+f.pop()+O);break;case"PtgRefErr":case"PtgRefErr3d":case"PtgAreaErr":case"PtgAreaErr3d":f.push("#REF!");break;case"PtgExp":s={c:y[1][1],r:y[1][0]};var R={c:r.c,r:r.r};if(n.sharedf[Vr(s)]){var P=n.sharedf[Vr(s)];f.push(qs(P,u,R,n,a))}else{var L=!1;for(o=0;o!=n.arrayf.length;++o)if(i=n.arrayf[o],!(s.c<i[0].s.c||s.c>i[0].e.c||s.r<i[0].s.r||s.r>i[0].e.r)){f.push(qs(i[1],u,R,n,a)),L=!0;break}L||f.push(y[1])}break;case"PtgArray":f.push("{"+Us(y[1])+"}");break;case"PtgAttrSpace":case"PtgAttrSpaceSemi":g=v;break;case"PtgMissArg":f.push("");break;case"PtgList":f.push("Table"+y[1].idx+"[#"+y[1].rt+"]");break;case"PtgElfCol":case"PtgElfColS":case"PtgElfColSV":case"PtgElfColV":case"PtgElfLel":case"PtgElfRadical":case"PtgElfRadicalLel":case"PtgElfRadicalS":case"PtgElfRw":case"PtgElfRwV":throw new Error("Unsupported ELFs");default:throw new Error("Unrecognized Formula Token: "+String(y))}if(3!=a.biff&&g>=0&&-1==["PtgAttrSpace","PtgAttrSpaceSemi","PtgAttrGoto"].indexOf(e[0][v][0])){var I=!0;switch((y=e[0][g])[1][0]){case 4:I=!1;case 0:m=$e(" ",y[1][1]);break;case 5:I=!1;case 1:m=$e("\r",y[1][1]);break;default:if(m="",a.WTF)throw new Error("Unexpected PtgAttrSpaceType "+y[1][0])}f.push((I?m:"")+f.pop()+(I?"":m)),g=-1}}if(f.length>1&&a.WTF)throw new Error("bad formula stack");return f[0]}function $s(e,t,r){var n,a=e.l+t,o=2==r.biff?1:2,i=e._R(o);if(65535==i)return[[],Or(e,t-2)];var s=Ws(e,i,r);return t!==i+o&&(n=Bs(e,t-i-o,s,r)),e.l=a,[s,n]}function Gs(e,t,r){var n,a=e.l+t,o=e._R(2),i=Ws(e,o,r);return 65535==o?[[],Or(e,t-2)]:(t!==o+2&&(n=Bs(e,a-o-2,i,r)),[i,n])}function Xs(e,t,r){var n=e.l+t,a=Ya(e);2==r.biff&&++e.l;var o=function(e){var t;if(65535!==br(e,e.l+6))return[An(e),"n"];switch(e[e.l]){case 0:return e.l+=8,["String","s"];case 1:return t=1===e[e.l+2],e.l+=8,[t,"b"];case 2:return t=e[e.l+2],e.l+=8,[t,"e"];case 3:return e.l+=8,["","s"]}return[]}(e),i=e._R(1);2!=r.biff&&(e._R(1),r.biff>=5&&e._R(4));var s=function(e,t,r){var n,a=e.l+t,o=2==r.biff?1:2,i=e._R(o);if(65535==i)return[[],Or(e,t-2)];var s=Ws(e,i,r);return t!==i+o&&(n=Bs(e,t-i-o,s,r)),e.l=a,[s,n]}(e,n-e.l,r);return{cell:a,val:o[0],formula:s,shared:i>>3&1,tt:o[1]}}function Ys(e,t,r,n,a){var o=Ka(t,r,a),i=function(e){if(null==e){var t=Rr(8);return t._W(1,3),t._W(1,0),t._W(2,0),t._W(2,0),t._W(2,65535),t}return kn("number"==typeof e?e:0)}(e.v),s=Rr(6);s._W(2,33),s._W(4,0);for(var c=Rr(e.bf.length),l=0;l<e.bf.length;++l)c[l]=e.bf[l];return E([o,i,s,c])}function Ks(e,t,r){var n=e._R(4),a=Ws(e,n,r),o=e._R(4);return[a,o>0?Bs(e,o,a,r):null]}var Js=Ks,Zs=Ks,Qs=Ks,ec=Ks,tc={0:"BEEP",1:"OPEN",2:"OPEN.LINKS",3:"CLOSE.ALL",4:"SAVE",5:"SAVE.AS",6:"FILE.DELETE",7:"PAGE.SETUP",8:"PRINT",9:"PRINTER.SETUP",10:"QUIT",11:"NEW.WINDOW",12:"ARRANGE.ALL",13:"WINDOW.SIZE",14:"WINDOW.MOVE",15:"FULL",16:"CLOSE",17:"RUN",22:"SET.PRINT.AREA",23:"SET.PRINT.TITLES",24:"SET.PAGE.BREAK",25:"REMOVE.PAGE.BREAK",26:"FONT",27:"DISPLAY",28:"PROTECT.DOCUMENT",29:"PRECISION",30:"A1.R1C1",31:"CALCULATE.NOW",32:"CALCULATION",34:"DATA.FIND",35:"EXTRACT",36:"DATA.DELETE",37:"SET.DATABASE",38:"SET.CRITERIA",39:"SORT",40:"DATA.SERIES",41:"TABLE",42:"FORMAT.NUMBER",43:"ALIGNMENT",44:"STYLE",45:"BORDER",46:"CELL.PROTECTION",47:"COLUMN.WIDTH",48:"UNDO",49:"CUT",50:"COPY",51:"PASTE",52:"CLEAR",53:"PASTE.SPECIAL",54:"EDIT.DELETE",55:"INSERT",56:"FILL.RIGHT",57:"FILL.DOWN",61:"DEFINE.NAME",62:"CREATE.NAMES",63:"FORMULA.GOTO",64:"FORMULA.FIND",65:"SELECT.LAST.CELL",66:"SHOW.ACTIVE.CELL",67:"GALLERY.AREA",68:"GALLERY.BAR",69:"GALLERY.COLUMN",70:"GALLERY.LINE",71:"GALLERY.PIE",72:"GALLERY.SCATTER",73:"COMBINATION",74:"PREFERRED",75:"ADD.OVERLAY",76:"GRIDLINES",77:"SET.PREFERRED",78:"AXES",79:"LEGEND",80:"ATTACH.TEXT",81:"ADD.ARROW",82:"SELECT.CHART",83:"SELECT.PLOT.AREA",84:"PATTERNS",85:"MAIN.CHART",86:"OVERLAY",87:"SCALE",88:"FORMAT.LEGEND",89:"FORMAT.TEXT",90:"EDIT.REPEAT",91:"PARSE",92:"JUSTIFY",93:"HIDE",94:"UNHIDE",95:"WORKSPACE",96:"FORMULA",97:"FORMULA.FILL",98:"FORMULA.ARRAY",99:"DATA.FIND.NEXT",100:"DATA.FIND.PREV",101:"FORMULA.FIND.NEXT",102:"FORMULA.FIND.PREV",103:"ACTIVATE",104:"ACTIVATE.NEXT",105:"ACTIVATE.PREV",106:"UNLOCKED.NEXT",107:"UNLOCKED.PREV",108:"COPY.PICTURE",109:"SELECT",110:"DELETE.NAME",111:"DELETE.FORMAT",112:"VLINE",113:"HLINE",114:"VPAGE",115:"HPAGE",116:"VSCROLL",117:"HSCROLL",118:"ALERT",119:"NEW",120:"CANCEL.COPY",121:"SHOW.CLIPBOARD",122:"MESSAGE",124:"PASTE.LINK",125:"APP.ACTIVATE",126:"DELETE.ARROW",127:"ROW.HEIGHT",128:"FORMAT.MOVE",129:"FORMAT.SIZE",130:"FORMULA.REPLACE",131:"SEND.KEYS",132:"SELECT.SPECIAL",133:"APPLY.NAMES",134:"REPLACE.FONT",135:"FREEZE.PANES",136:"SHOW.INFO",137:"SPLIT",138:"ON.WINDOW",139:"ON.DATA",140:"DISABLE.INPUT",142:"OUTLINE",143:"LIST.NAMES",144:"FILE.CLOSE",145:"SAVE.WORKBOOK",146:"DATA.FORM",147:"COPY.CHART",148:"ON.TIME",149:"WAIT",150:"FORMAT.FONT",151:"FILL.UP",152:"FILL.LEFT",153:"DELETE.OVERLAY",155:"SHORT.MENUS",159:"SET.UPDATE.STATUS",161:"COLOR.PALETTE",162:"DELETE.STYLE",163:"WINDOW.RESTORE",164:"WINDOW.MAXIMIZE",166:"CHANGE.LINK",167:"CALCULATE.DOCUMENT",168:"ON.KEY",169:"APP.RESTORE",170:"APP.MOVE",171:"APP.SIZE",172:"APP.MINIMIZE",173:"APP.MAXIMIZE",174:"BRING.TO.FRONT",175:"SEND.TO.BACK",185:"MAIN.CHART.TYPE",186:"OVERLAY.CHART.TYPE",187:"SELECT.END",188:"OPEN.MAIL",189:"SEND.MAIL",190:"STANDARD.FONT",191:"CONSOLIDATE",192:"SORT.SPECIAL",193:"GALLERY.3D.AREA",194:"GALLERY.3D.COLUMN",195:"GALLERY.3D.LINE",196:"GALLERY.3D.PIE",197:"VIEW.3D",198:"GOAL.SEEK",199:"WORKGROUP",200:"FILL.GROUP",201:"UPDATE.LINK",202:"PROMOTE",203:"DEMOTE",204:"SHOW.DETAIL",206:"UNGROUP",207:"OBJECT.PROPERTIES",208:"SAVE.NEW.OBJECT",209:"SHARE",210:"SHARE.NAME",211:"DUPLICATE",212:"APPLY.STYLE",213:"ASSIGN.TO.OBJECT",214:"OBJECT.PROTECTION",215:"HIDE.OBJECT",216:"SET.EXTRACT",217:"CREATE.PUBLISHER",218:"SUBSCRIBE.TO",219:"ATTRIBUTES",220:"SHOW.TOOLBAR",222:"PRINT.PREVIEW",223:"EDIT.COLOR",224:"SHOW.LEVELS",225:"FORMAT.MAIN",226:"FORMAT.OVERLAY",227:"ON.RECALC",228:"EDIT.SERIES",229:"DEFINE.STYLE",240:"LINE.PRINT",243:"ENTER.DATA",249:"GALLERY.RADAR",250:"MERGE.STYLES",251:"EDITION.OPTIONS",252:"PASTE.PICTURE",253:"PASTE.PICTURE.LINK",254:"SPELLING",256:"ZOOM",259:"INSERT.OBJECT",260:"WINDOW.MINIMIZE",265:"SOUND.NOTE",266:"SOUND.PLAY",267:"FORMAT.SHAPE",268:"EXTEND.POLYGON",269:"FORMAT.AUTO",272:"GALLERY.3D.BAR",273:"GALLERY.3D.SURFACE",274:"FILL.AUTO",276:"CUSTOMIZE.TOOLBAR",277:"ADD.TOOL",278:"EDIT.OBJECT",279:"ON.DOUBLECLICK",280:"ON.ENTRY",281:"WORKBOOK.ADD",282:"WORKBOOK.MOVE",283:"WORKBOOK.COPY",284:"WORKBOOK.OPTIONS",285:"SAVE.WORKSPACE",288:"CHART.WIZARD",289:"DELETE.TOOL",290:"MOVE.TOOL",291:"WORKBOOK.SELECT",292:"WORKBOOK.ACTIVATE",293:"ASSIGN.TO.TOOL",295:"COPY.TOOL",296:"RESET.TOOL",297:"CONSTRAIN.NUMERIC",298:"PASTE.TOOL",302:"WORKBOOK.NEW",305:"SCENARIO.CELLS",306:"SCENARIO.DELETE",307:"SCENARIO.ADD",308:"SCENARIO.EDIT",309:"SCENARIO.SHOW",310:"SCENARIO.SHOW.NEXT",311:"SCENARIO.SUMMARY",312:"PIVOT.TABLE.WIZARD",313:"PIVOT.FIELD.PROPERTIES",314:"PIVOT.FIELD",315:"PIVOT.ITEM",316:"PIVOT.ADD.FIELDS",318:"OPTIONS.CALCULATION",319:"OPTIONS.EDIT",320:"OPTIONS.VIEW",321:"ADDIN.MANAGER",322:"MENU.EDITOR",323:"ATTACH.TOOLBARS",324:"VBAActivate",325:"OPTIONS.CHART",328:"VBA.INSERT.FILE",330:"VBA.PROCEDURE.DEFINITION",336:"ROUTING.SLIP",338:"ROUTE.DOCUMENT",339:"MAIL.LOGON",342:"INSERT.PICTURE",343:"EDIT.TOOL",344:"GALLERY.DOUGHNUT",350:"CHART.TREND",352:"PIVOT.ITEM.PROPERTIES",354:"WORKBOOK.INSERT",355:"OPTIONS.TRANSITION",356:"OPTIONS.GENERAL",370:"FILTER.ADVANCED",373:"MAIL.ADD.MAILER",374:"MAIL.DELETE.MAILER",375:"MAIL.REPLY",376:"MAIL.REPLY.ALL",377:"MAIL.FORWARD",378:"MAIL.NEXT.LETTER",379:"DATA.LABEL",380:"INSERT.TITLE",381:"FONT.PROPERTIES",382:"MACRO.OPTIONS",383:"WORKBOOK.HIDE",384:"WORKBOOK.UNHIDE",385:"WORKBOOK.DELETE",386:"WORKBOOK.NAME",388:"GALLERY.CUSTOM",390:"ADD.CHART.AUTOFORMAT",391:"DELETE.CHART.AUTOFORMAT",392:"CHART.ADD.DATA",393:"AUTO.OUTLINE",394:"TAB.ORDER",395:"SHOW.DIALOG",396:"SELECT.ALL",397:"UNGROUP.SHEETS",398:"SUBTOTAL.CREATE",399:"SUBTOTAL.REMOVE",400:"RENAME.OBJECT",412:"WORKBOOK.SCROLL",413:"WORKBOOK.NEXT",414:"WORKBOOK.PREV",415:"WORKBOOK.TAB.SPLIT",416:"FULL.SCREEN",417:"WORKBOOK.PROTECT",420:"SCROLLBAR.PROPERTIES",421:"PIVOT.SHOW.PAGES",422:"TEXT.TO.COLUMNS",423:"FORMAT.CHARTTYPE",424:"LINK.FORMAT",425:"TRACER.DISPLAY",430:"TRACER.NAVIGATE",431:"TRACER.CLEAR",432:"TRACER.ERROR",433:"PIVOT.FIELD.GROUP",434:"PIVOT.FIELD.UNGROUP",435:"CHECKBOX.PROPERTIES",436:"LABEL.PROPERTIES",437:"LISTBOX.PROPERTIES",438:"EDITBOX.PROPERTIES",439:"PIVOT.REFRESH",440:"LINK.COMBO",441:"OPEN.TEXT",442:"HIDE.DIALOG",443:"SET.DIALOG.FOCUS",444:"ENABLE.OBJECT",445:"PUSHBUTTON.PROPERTIES",446:"SET.DIALOG.DEFAULT",447:"FILTER",448:"FILTER.SHOW.ALL",449:"CLEAR.OUTLINE",450:"FUNCTION.WIZARD",451:"ADD.LIST.ITEM",452:"SET.LIST.ITEM",453:"REMOVE.LIST.ITEM",454:"SELECT.LIST.ITEM",455:"SET.CONTROL.VALUE",456:"SAVE.COPY.AS",458:"OPTIONS.LISTS.ADD",459:"OPTIONS.LISTS.DELETE",460:"SERIES.AXES",461:"SERIES.X",462:"SERIES.Y",463:"ERRORBAR.X",464:"ERRORBAR.Y",465:"FORMAT.CHART",466:"SERIES.ORDER",467:"MAIL.LOGOFF",468:"CLEAR.ROUTING.SLIP",469:"APP.ACTIVATE.MICROSOFT",470:"MAIL.EDIT.MAILER",471:"ON.SHEET",472:"STANDARD.WIDTH",473:"SCENARIO.MERGE",474:"SUMMARY.INFO",475:"FIND.FILE",476:"ACTIVE.CELL.FONT",477:"ENABLE.TIPWIZARD",478:"VBA.MAKE.ADDIN",480:"INSERTDATATABLE",481:"WORKGROUP.OPTIONS",482:"MAIL.SEND.MAILER",485:"AUTOCORRECT",489:"POST.DOCUMENT",491:"PICKLIST",493:"VIEW.SHOW",494:"VIEW.DEFINE",495:"VIEW.DELETE",509:"SHEET.BACKGROUND",510:"INSERT.MAP.OBJECT",511:"OPTIONS.MENONO",517:"MSOCHECKS",518:"NORMAL",519:"LAYOUT",520:"RM.PRINT.AREA",521:"CLEAR.PRINT.AREA",522:"ADD.PRINT.AREA",523:"MOVE.BRK",545:"HIDECURR.NOTE",546:"HIDEALL.NOTES",547:"DELETE.NOTE",548:"TRAVERSE.NOTES",549:"ACTIVATE.NOTES",620:"PROTECT.REVISIONS",621:"UNPROTECT.REVISIONS",647:"OPTIONS.ME",653:"WEB.PUBLISH",667:"NEWWEBQUERY",673:"PIVOT.TABLE.CHART",753:"OPTIONS.SAVE",755:"OPTIONS.SPELL",808:"HIDEALL.INKANNOTS"},rc={0:"COUNT",1:"IF",2:"ISNA",3:"ISERROR",4:"SUM",5:"AVERAGE",6:"MIN",7:"MAX",8:"ROW",9:"COLUMN",10:"NA",11:"NPV",12:"STDEV",13:"DOLLAR",14:"FIXED",15:"SIN",16:"COS",17:"TAN",18:"ATAN",19:"PI",20:"SQRT",21:"EXP",22:"LN",23:"LOG10",24:"ABS",25:"INT",26:"SIGN",27:"ROUND",28:"LOOKUP",29:"INDEX",30:"REPT",31:"MID",32:"LEN",33:"VALUE",34:"TRUE",35:"FALSE",36:"AND",37:"OR",38:"NOT",39:"MOD",40:"DCOUNT",41:"DSUM",42:"DAVERAGE",43:"DMIN",44:"DMAX",45:"DSTDEV",46:"VAR",47:"DVAR",48:"TEXT",49:"LINEST",50:"TREND",51:"LOGEST",52:"GROWTH",53:"GOTO",54:"HALT",55:"RETURN",56:"PV",57:"FV",58:"NPER",59:"PMT",60:"RATE",61:"MIRR",62:"IRR",63:"RAND",64:"MATCH",65:"DATE",66:"TIME",67:"DAY",68:"MONTH",69:"YEAR",70:"WEEKDAY",71:"HOUR",72:"MINUTE",73:"SECOND",74:"NOW",75:"AREAS",76:"ROWS",77:"COLUMNS",78:"OFFSET",79:"ABSREF",80:"RELREF",81:"ARGUMENT",82:"SEARCH",83:"TRANSPOSE",84:"ERROR",85:"STEP",86:"TYPE",87:"ECHO",88:"SET.NAME",89:"CALLER",90:"DEREF",91:"WINDOWS",92:"SERIES",93:"DOCUMENTS",94:"ACTIVE.CELL",95:"SELECTION",96:"RESULT",97:"ATAN2",98:"ASIN",99:"ACOS",100:"CHOOSE",101:"HLOOKUP",102:"VLOOKUP",103:"LINKS",104:"INPUT",105:"ISREF",106:"GET.FORMULA",107:"GET.NAME",108:"SET.VALUE",109:"LOG",110:"EXEC",111:"CHAR",112:"LOWER",113:"UPPER",114:"PROPER",115:"LEFT",116:"RIGHT",117:"EXACT",118:"TRIM",119:"REPLACE",120:"SUBSTITUTE",121:"CODE",122:"NAMES",123:"DIRECTORY",124:"FIND",125:"CELL",126:"ISERR",127:"ISTEXT",128:"ISNUMBER",129:"ISBLANK",130:"T",131:"N",132:"FOPEN",133:"FCLOSE",134:"FSIZE",135:"FREADLN",136:"FREAD",137:"FWRITELN",138:"FWRITE",139:"FPOS",140:"DATEVALUE",141:"TIMEVALUE",142:"SLN",143:"SYD",144:"DDB",145:"GET.DEF",146:"REFTEXT",147:"TEXTREF",148:"INDIRECT",149:"REGISTER",150:"CALL",151:"ADD.BAR",152:"ADD.MENU",153:"ADD.COMMAND",154:"ENABLE.COMMAND",155:"CHECK.COMMAND",156:"RENAME.COMMAND",157:"SHOW.BAR",158:"DELETE.MENU",159:"DELETE.COMMAND",160:"GET.CHART.ITEM",161:"DIALOG.BOX",162:"CLEAN",163:"MDETERM",164:"MINVERSE",165:"MMULT",166:"FILES",167:"IPMT",168:"PPMT",169:"COUNTA",170:"CANCEL.KEY",171:"FOR",172:"WHILE",173:"BREAK",174:"NEXT",175:"INITIATE",176:"REQUEST",177:"POKE",178:"EXECUTE",179:"TERMINATE",180:"RESTART",181:"HELP",182:"GET.BAR",183:"PRODUCT",184:"FACT",185:"GET.CELL",186:"GET.WORKSPACE",187:"GET.WINDOW",188:"GET.DOCUMENT",189:"DPRODUCT",190:"ISNONTEXT",191:"GET.NOTE",192:"NOTE",193:"STDEVP",194:"VARP",195:"DSTDEVP",196:"DVARP",197:"TRUNC",198:"ISLOGICAL",199:"DCOUNTA",200:"DELETE.BAR",201:"UNREGISTER",204:"USDOLLAR",205:"FINDB",206:"SEARCHB",207:"REPLACEB",208:"LEFTB",209:"RIGHTB",210:"MIDB",211:"LENB",212:"ROUNDUP",213:"ROUNDDOWN",214:"ASC",215:"DBCS",216:"RANK",219:"ADDRESS",220:"DAYS360",221:"TODAY",222:"VDB",223:"ELSE",224:"ELSE.IF",225:"END.IF",226:"FOR.CELL",227:"MEDIAN",228:"SUMPRODUCT",229:"SINH",230:"COSH",231:"TANH",232:"ASINH",233:"ACOSH",234:"ATANH",235:"DGET",236:"CREATE.OBJECT",237:"VOLATILE",238:"LAST.ERROR",239:"CUSTOM.UNDO",240:"CUSTOM.REPEAT",241:"FORMULA.CONVERT",242:"GET.LINK.INFO",243:"TEXT.BOX",244:"INFO",245:"GROUP",246:"GET.OBJECT",247:"DB",248:"PAUSE",251:"RESUME",252:"FREQUENCY",253:"ADD.TOOLBAR",254:"DELETE.TOOLBAR",255:"User",256:"RESET.TOOLBAR",257:"EVALUATE",258:"GET.TOOLBAR",259:"GET.TOOL",260:"SPELLING.CHECK",261:"ERROR.TYPE",262:"APP.TITLE",263:"WINDOW.TITLE",264:"SAVE.TOOLBAR",265:"ENABLE.TOOL",266:"PRESS.TOOL",267:"REGISTER.ID",268:"GET.WORKBOOK",269:"AVEDEV",270:"BETADIST",271:"GAMMALN",272:"BETAINV",273:"BINOMDIST",274:"CHIDIST",275:"CHIINV",276:"COMBIN",277:"CONFIDENCE",278:"CRITBINOM",279:"EVEN",280:"EXPONDIST",281:"FDIST",282:"FINV",283:"FISHER",284:"FISHERINV",285:"FLOOR",286:"GAMMADIST",287:"GAMMAINV",288:"CEILING",289:"HYPGEOMDIST",290:"LOGNORMDIST",291:"LOGINV",292:"NEGBINOMDIST",293:"NORMDIST",294:"NORMSDIST",295:"NORMINV",296:"NORMSINV",297:"STANDARDIZE",298:"ODD",299:"PERMUT",300:"POISSON",301:"TDIST",302:"WEIBULL",303:"SUMXMY2",304:"SUMX2MY2",305:"SUMX2PY2",306:"CHITEST",307:"CORREL",308:"COVAR",309:"FORECAST",310:"FTEST",311:"INTERCEPT",312:"PEARSON",313:"RSQ",314:"STEYX",315:"SLOPE",316:"TTEST",317:"PROB",318:"DEVSQ",319:"GEOMEAN",320:"HARMEAN",321:"SUMSQ",322:"KURT",323:"SKEW",324:"ZTEST",325:"LARGE",326:"SMALL",327:"QUARTILE",328:"PERCENTILE",329:"PERCENTRANK",330:"MODE",331:"TRIMMEAN",332:"TINV",334:"MOVIE.COMMAND",335:"GET.MOVIE",336:"CONCATENATE",337:"POWER",338:"PIVOT.ADD.DATA",339:"GET.PIVOT.TABLE",340:"GET.PIVOT.FIELD",341:"GET.PIVOT.ITEM",342:"RADIANS",343:"DEGREES",344:"SUBTOTAL",345:"SUMIF",346:"COUNTIF",347:"COUNTBLANK",348:"SCENARIO.GET",349:"OPTIONS.LISTS.GET",350:"ISPMT",351:"DATEDIF",352:"DATESTRING",353:"NUMBERSTRING",354:"ROMAN",355:"OPEN.DIALOG",356:"SAVE.DIALOG",357:"VIEW.GET",358:"GETPIVOTDATA",359:"HYPERLINK",360:"PHONETIC",361:"AVERAGEA",362:"MAXA",363:"MINA",364:"STDEVPA",365:"VARPA",366:"STDEVA",367:"VARA",368:"BAHTTEXT",369:"THAIDAYOFWEEK",370:"THAIDIGIT",371:"THAIMONTHOFYEAR",372:"THAINUMSOUND",373:"THAINUMSTRING",374:"THAISTRINGLENGTH",375:"ISTHAIDIGIT",376:"ROUNDBAHTDOWN",377:"ROUNDBAHTUP",378:"THAIYEAR",379:"RTD",380:"CUBEVALUE",381:"CUBEMEMBER",382:"CUBEMEMBERPROPERTY",383:"CUBERANKEDMEMBER",384:"HEX2BIN",385:"HEX2DEC",386:"HEX2OCT",387:"DEC2BIN",388:"DEC2HEX",389:"DEC2OCT",390:"OCT2BIN",391:"OCT2HEX",392:"OCT2DEC",393:"BIN2DEC",394:"BIN2OCT",395:"BIN2HEX",396:"IMSUB",397:"IMDIV",398:"IMPOWER",399:"IMABS",400:"IMSQRT",401:"IMLN",402:"IMLOG2",403:"IMLOG10",404:"IMSIN",405:"IMCOS",406:"IMEXP",407:"IMARGUMENT",408:"IMCONJUGATE",409:"IMAGINARY",410:"IMREAL",411:"COMPLEX",412:"IMSUM",413:"IMPRODUCT",414:"SERIESSUM",415:"FACTDOUBLE",416:"SQRTPI",417:"QUOTIENT",418:"DELTA",419:"GESTEP",420:"ISEVEN",421:"ISODD",422:"MROUND",423:"ERF",424:"ERFC",425:"BESSELJ",426:"BESSELK",427:"BESSELY",428:"BESSELI",429:"XIRR",430:"XNPV",431:"PRICEMAT",432:"YIELDMAT",433:"INTRATE",434:"RECEIVED",435:"DISC",436:"PRICEDISC",437:"YIELDDISC",438:"TBILLEQ",439:"TBILLPRICE",440:"TBILLYIELD",441:"PRICE",442:"YIELD",443:"DOLLARDE",444:"DOLLARFR",445:"NOMINAL",446:"EFFECT",447:"CUMPRINC",448:"CUMIPMT",449:"EDATE",450:"EOMONTH",451:"YEARFRAC",452:"COUPDAYBS",453:"COUPDAYS",454:"COUPDAYSNC",455:"COUPNCD",456:"COUPNUM",457:"COUPPCD",458:"DURATION",459:"MDURATION",460:"ODDLPRICE",461:"ODDLYIELD",462:"ODDFPRICE",463:"ODDFYIELD",464:"RANDBETWEEN",465:"WEEKNUM",466:"AMORDEGRC",467:"AMORLINC",468:"CONVERT",724:"SHEETJS",469:"ACCRINT",470:"ACCRINTM",471:"WORKDAY",472:"NETWORKDAYS",473:"GCD",474:"MULTINOMIAL",475:"LCM",476:"FVSCHEDULE",477:"CUBEKPIMEMBER",478:"CUBESET",479:"CUBESETCOUNT",480:"IFERROR",481:"COUNTIFS",482:"SUMIFS",483:"AVERAGEIF",484:"AVERAGEIFS"},nc={2:1,3:1,10:0,15:1,16:1,17:1,18:1,19:0,20:1,21:1,22:1,23:1,24:1,25:1,26:1,27:2,30:2,31:3,32:1,33:1,34:0,35:0,38:1,39:2,40:3,41:3,42:3,43:3,44:3,45:3,47:3,48:2,53:1,61:3,63:0,65:3,66:3,67:1,68:1,69:1,70:1,71:1,72:1,73:1,74:0,75:1,76:1,77:1,79:2,80:2,83:1,85:0,86:1,89:0,90:1,94:0,95:0,97:2,98:1,99:1,101:3,102:3,105:1,106:1,108:2,111:1,112:1,113:1,114:1,117:2,118:1,119:4,121:1,126:1,127:1,128:1,129:1,130:1,131:1,133:1,134:1,135:1,136:2,137:2,138:2,140:1,141:1,142:3,143:4,144:4,161:1,162:1,163:1,164:1,165:2,172:1,175:2,176:2,177:3,178:2,179:1,184:1,186:1,189:3,190:1,195:3,196:3,197:1,198:1,199:3,201:1,207:4,210:3,211:1,212:2,213:2,214:1,215:1,225:0,229:1,230:1,231:1,232:1,233:1,234:1,235:3,244:1,247:4,252:2,257:1,261:1,271:1,273:4,274:2,275:2,276:2,277:3,278:3,279:1,280:3,281:3,282:3,283:1,284:1,285:2,286:4,287:3,288:2,289:4,290:3,291:3,292:3,293:4,294:1,295:3,296:1,297:3,298:1,299:2,300:3,301:3,302:4,303:2,304:2,305:2,306:2,307:2,308:2,309:3,310:2,311:2,312:2,313:2,314:2,315:2,316:4,325:2,326:2,327:2,328:2,331:2,332:2,337:2,342:1,343:1,346:2,347:1,350:4,351:3,352:1,353:2,360:1,368:1,369:1,370:1,371:1,372:1,373:1,374:1,375:1,376:1,377:1,378:1,382:3,385:1,392:1,393:1,396:2,397:2,398:2,399:1,400:1,401:1,402:1,403:1,404:1,405:1,406:1,407:1,408:1,409:1,410:1,414:4,415:1,416:1,417:2,420:1,421:1,422:2,424:1,425:2,426:2,427:2,428:2,430:3,438:3,439:3,440:3,443:2,444:2,445:2,446:2,447:6,448:6,449:2,450:2,464:2,468:3,476:2,479:1,480:2,65535:0};function ac(e){return"of:"==e.slice(0,3)&&(e=e.slice(3)),61==e.charCodeAt(0)&&61==(e=e.slice(1)).charCodeAt(0)&&(e=e.slice(1)),e=(e=e.replace(/COM\.MICROSOFT\./g,"")).replace(/\[((?:\.[A-Z]+[0-9]+)(?::\.[A-Z]+[0-9]+)?)\]/g,(function(e,t){return t.replace(/\./g,"")})),(e=e.replace(/\[.(#[A-Z]*[?!])\]/g,"$1")).replace(/[;~]/g,",").replace(/\|/g,";")}function oc(e){return("of:="+e.replace(gs,"$1[.$2$3$4$5]").replace(/\]:\[/g,":")).replace(/;/g,"|").replace(/,/g,";")}function ic(e){var t=e.split(":");return[t[0].split(".")[0],t[0].split(".")[1]+(t.length>1?":"+(t[1].split(".")[1]||t[1].split(".")[0]):"")]}function sc(e){return e.replace(/\./,"!")}var cc={},lc={},uc="undefined"!=typeof Map;function fc(e,t,r){var n=0,a=e.length;if(r){if(uc?r.has(t):Object.prototype.hasOwnProperty.call(r,t))for(var o=uc?r.get(t):r[t];n<o.length;++n)if(e[o[n]].t===t)return e.Count++,o[n]}else for(;n<a;++n)if(e[n].t===t)return e.Count++,n;return e[a]={t:t},e.Count++,e.Unique++,r&&(uc?(r.has(t)||r.set(t,[]),r.get(t).push(a)):(Object.prototype.hasOwnProperty.call(r,t)||(r[t]=[]),r[t].push(a))),a}function hc(e,t){var r={min:e+1,max:e+1},n=-1;return t.MDW&&(gi=t.MDW),null!=t.width?r.customWidth=1:null!=t.wpx?n=vi(t.wpx):null!=t.wch&&(n=t.wch),n>-1?(r.width=bi(n),r.customWidth=1):null!=t.width&&(r.width=t.width),t.hidden&&(r.hidden=!0),null!=t.level&&(r.outlineLevel=r.level=t.level),r}function dc(e,t){if(e){var r=[.7,.7,.75,.75,.3,.3];"xlml"==t&&(r=[1,1,1,1,.5,.5]),null==e.left&&(e.left=r[0]),null==e.right&&(e.right=r[1]),null==e.top&&(e.top=r[2]),null==e.bottom&&(e.bottom=r[3]),null==e.header&&(e.header=r[4]),null==e.footer&&(e.footer=r[5])}}function pc(e,t,r){var n=r.revssf[null!=t.z?t.z:"General"],a=60,o=e.length;if(null==n&&r.ssf)for(;a<392;++a)if(null==r.ssf[a]){be(t.z,a),r.ssf[a]=t.z,r.revssf[t.z]=n=a;break}for(a=0;a!=o;++a)if(e[a].numFmtId===n)return a;return e[o]={numFmtId:n,fontId:0,fillId:0,borderId:0,xfId:0,applyNumberFormat:1},o}function gc(e,t,r,n,a,o){try{n.cellNF&&(e.z=j[t])}catch(e){if(n.WTF)throw e}if("z"!==e.t||n.cellStyles){if("d"===e.t&&"string"==typeof e.v&&(e.v=ze(e.v)),(!n||!1!==n.cellText)&&"z"!==e.t)try{if(null==j[t]&&be(xe[t]||"General",t),"e"===e.t)e.w=e.w||Bn[e.v];else if(0===t)if("n"===e.t)(0|e.v)===e.v?e.w=e.v.toString(10):e.w=Y(e.v);else if("d"===e.t){var i=Ie(e.v);e.w=(0|i)===i?i.toString(10):Y(i)}else{if(void 0===e.v)return"";e.w=K(e.v,lc)}else"d"===e.t?e.w=ve(t,Ie(e.v),lc):e.w=ve(t,e.v,lc)}catch(e){if(n.WTF)throw e}if(n.cellStyles&&null!=r)try{e.s=o.Fills[r],e.s.fgColor&&e.s.fgColor.theme&&!e.s.fgColor.rgb&&(e.s.fgColor.rgb=fi(a.themeElements.clrScheme[e.s.fgColor.theme].rgb,e.s.fgColor.tint||0),n.WTF&&(e.s.fgColor.raw_rgb=a.themeElements.clrScheme[e.s.fgColor.theme].rgb)),e.s.bgColor&&e.s.bgColor.theme&&(e.s.bgColor.rgb=fi(a.themeElements.clrScheme[e.s.bgColor.theme].rgb,e.s.bgColor.tint||0),n.WTF&&(e.s.bgColor.raw_rgb=a.themeElements.clrScheme[e.s.bgColor.theme].rgb))}catch(e){if(n.WTF&&o.Fills)throw e}}}function mc(e,t,r){if(e&&e["!ref"]){var n=Gr(e["!ref"]);if(n.e.c<n.s.c||n.e.r<n.s.r)throw new Error("Bad range ("+r+"): "+e["!ref"])}}var vc=/<(?:\w:)?mergeCell ref="[A-Z0-9:]+"\s*[\/]?>/g,bc=/<(?:\w+:)?sheetData[^>]*>([\s\S]*)<\/(?:\w+:)?sheetData>/,yc=/<(?:\w:)?hyperlink [^>]*>/gm,wc=/"(\w*:\w*)"/,Sc=/<(?:\w:)?col\b[^>]*[\/]?>/g,xc=/<(?:\w:)?autoFilter[^>]*([\/]|>([\s\S]*)<\/(?:\w:)?autoFilter)>/g,Ac=/<(?:\w:)?pageMargins[^>]*\/>/g,kc=/<(?:\w:)?sheetPr\b(?:[^>a-z][^>]*)?\/>/,Tc=/<(?:\w:)?sheetPr[^>]*(?:[\/]|>([\s\S]*)<\/(?:\w:)?sheetPr)>/,Ec=/<(?:\w:)?sheetViews[^>]*(?:[\/]|>([\s\S]*)<\/(?:\w:)?sheetViews)>/;function _c(e,t,r,n,a,o,i){if(!e)return e;n||(n={"!id":{}}),null!=p&&null==t.dense&&(t.dense=p);var s=t.dense?[]:{},c={s:{r:2e6,c:2e6},e:{r:0,c:0}},l="",u="",f=e.match(bc);f?(l=e.slice(0,f.index),u=e.slice(f.index+f[0].length)):l=u=e;var h=l.match(kc);h?Nc(h[0],s,a,r):(h=l.match(Tc))&&function(e,t,r,n,a){Nc(e.slice(0,e.indexOf(">")),r,n,a)}(h[0],h[1],s,a,r);var d=(l.match(/<(?:\w*:)?dimension/)||{index:-1}).index;if(d>0){var g=l.slice(d,d+50).match(wc);g&&function(e,t){var r=Gr(t);r.s.r<=r.e.r&&r.s.c<=r.e.c&&r.s.r>=0&&r.s.c>=0&&(e["!ref"]=$r(r))}(s,g[1])}var m=l.match(Ec);m&&m[1]&&function(e,t){t.Views||(t.Views=[{}]);(e.match(Rc)||[]).forEach((function(e,r){var n=gt(e);t.Views[r]||(t.Views[r]={}),+n.zoomScale&&(t.Views[r].zoom=+n.zoomScale),_t(n.rightToLeft)&&(t.Views[r].RTL=!0)}))}(m[1],a);var v=[];if(t.cellStyles){var b=l.match(Sc);b&&function(e,t){for(var r=!1,n=0;n!=t.length;++n){var a=gt(t[n],!0);a.hidden&&(a.hidden=_t(a.hidden));var o=parseInt(a.min,10)-1,i=parseInt(a.max,10)-1;for(a.outlineLevel&&(a.level=+a.outlineLevel||0),delete a.min,delete a.max,a.width=+a.width,!r&&a.width&&(r=!0,wi(a.width)),Si(a);o<=i;)e[o++]=qe(a)}}(v,b)}f&&Lc(f[1],s,t,c,o,i);var y=u.match(xc);y&&(s["!autofilter"]=function(e){var t={ref:(e.match(/ref="([^"]*)"/)||[])[1]};return t}(y[0]));var w=[],S=u.match(vc);if(S)for(d=0;d!=S.length;++d)w[d]=Gr(S[d].slice(S[d].indexOf('"')+1));var x=u.match(yc);x&&function(e,t,r){for(var n=Array.isArray(e),a=0;a!=t.length;++a){var o=gt(Pt(t[a]),!0);if(!o.ref)return;var i=((r||{})["!id"]||[])[o.id];i?(o.Target=i.Target,o.location&&(o.Target+="#"+yt(o.location))):(o.Target="#"+yt(o.location),i={Target:o.Target,TargetMode:"Internal"}),o.Rel=i,o.tooltip&&(o.Tooltip=o.tooltip,delete o.tooltip);for(var s=Gr(o.ref),c=s.s.r;c<=s.e.r;++c)for(var l=s.s.c;l<=s.e.c;++l){var u=Vr({c:l,r:c});n?(e[c]||(e[c]=[]),e[c][l]||(e[c][l]={t:"z",v:void 0}),e[c][l].l=o):(e[u]||(e[u]={t:"z",v:void 0}),e[u].l=o)}}}(s,x,n);var A=u.match(Ac);if(A&&(s["!margins"]=function(e){var t={};return["left","right","top","bottom","header","footer"].forEach((function(r){e[r]&&(t[r]=parseFloat(e[r]))})),t}(gt(A[0]))),!s["!ref"]&&c.e.c>=c.s.c&&c.e.r>=c.s.r&&(s["!ref"]=$r(c)),t.sheetRows>0&&s["!ref"]){var k=Gr(s["!ref"]);t.sheetRows<=+k.e.r&&(k.e.r=t.sheetRows-1,k.e.r>c.e.r&&(k.e.r=c.e.r),k.e.r<k.s.r&&(k.s.r=k.e.r),k.e.c>c.e.c&&(k.e.c=c.e.c),k.e.c<k.s.c&&(k.s.c=k.e.c),s["!fullref"]=s["!ref"],s["!ref"]=$r(k))}return v.length>0&&(s["!cols"]=v),w.length>0&&(s["!merges"]=w),s}function Nc(e,t,r,n){var a=gt(e);r.Sheets[n]||(r.Sheets[n]={}),a.codeName&&(r.Sheets[n].CodeName=yt(Pt(a.codeName)))}var Cc=["objects","scenarios","selectLockedCells","selectUnlockedCells"],Oc=["formatColumns","formatRows","formatCells","insertColumns","insertRows","insertHyperlinks","deleteColumns","deleteRows","sort","autoFilter","pivotTables"];var Rc=/<(?:\w:)?sheetView(?:[^>a-z][^>]*)?\/?>/;function Pc(e,t,r,n){if(e.c&&r["!comments"].push([t,e.c]),void 0===e.v&&"string"!=typeof e.f||"z"===e.t&&!e.f)return"";var a="",o=e.t,i=e.v;if("z"!==e.t)switch(e.t){case"b":a=e.v?"1":"0";break;case"n":a=""+e.v;break;case"e":a=Bn[e.v];break;case"d":n&&n.cellDates?a=ze(e.v,-1).toISOString():((e=qe(e)).t="n",a=""+(e.v=Ie(ze(e.v)))),void 0===e.z&&(e.z=j[14]);break;default:a=e.v}var s=Ut("v",xt(a)),c={r:t},l=pc(n.cellXfs,e,n);switch(0!==l&&(c.s=l),e.t){case"n":case"z":break;case"d":c.t="d";break;case"b":c.t="b";break;case"e":c.t="e";break;default:if(null==e.v){delete e.t;break}if(e.v.length>32767)throw new Error("Text length must not exceed 32767 characters");if(n&&n.bookSST){s=Ut("v",""+fc(n.Strings,e.v,n.revStrings)),c.t="s";break}c.t="str"}if(e.t!=o&&(e.t=o,e.v=i),"string"==typeof e.f&&e.f){var u=e.F&&e.F.slice(0,t.length)==t?{t:"array",ref:e.F}:null;s=zt("f",xt(e.f),u)+(null!=e.v?s:"")}return e.l&&r["!links"].push([t,e.l]),e.D&&(c.cm=1),zt("c",s,c)}var Lc=function(){var e=/<(?:\w+:)?c[ \/>]/,t=/<\/(?:\w+:)?row>/,r=/r=["']([^"']*)["']/,n=/<(?:\w+:)?is>([\S\s]*?)<\/(?:\w+:)?is>/,a=/ref=["']([^"']*)["']/,o=It("v"),i=It("f");return function(s,c,l,u,f,h){for(var d,p,g,m,v,b=0,y="",w=[],S=[],x=0,A=0,k=0,T="",E=0,_=0,N=0,C=0,O=Array.isArray(h.CellXf),R=[],P=[],L=Array.isArray(c),I=[],F={},D=!1,M=!!l.sheetStubs,B=s.split(t),W=0,U=B.length;W!=U;++W){var H=(y=B[W].trim()).length;if(0!==H){var z=0;e:for(b=0;b<H;++b)switch(y[b]){case">":if("/"!=y[b-1]){++b;break e}if(l&&l.cellStyles){if(E=null!=(p=gt(y.slice(z,b),!0)).r?parseInt(p.r,10):E+1,_=-1,l.sheetRows&&l.sheetRows<E)continue;F={},D=!1,p.ht&&(D=!0,F.hpt=parseFloat(p.ht),F.hpx=ki(F.hpt)),"1"==p.hidden&&(D=!0,F.hidden=!0),null!=p.outlineLevel&&(D=!0,F.level=+p.outlineLevel),D&&(I[E-1]=F)}break;case"<":z=b}if(z>=b)break;if(E=null!=(p=gt(y.slice(z,b),!0)).r?parseInt(p.r,10):E+1,_=-1,!(l.sheetRows&&l.sheetRows<E)){u.s.r>E-1&&(u.s.r=E-1),u.e.r<E-1&&(u.e.r=E-1),l&&l.cellStyles&&(F={},D=!1,p.ht&&(D=!0,F.hpt=parseFloat(p.ht),F.hpx=ki(F.hpt)),"1"==p.hidden&&(D=!0,F.hidden=!0),null!=p.outlineLevel&&(D=!0,F.level=+p.outlineLevel),D&&(I[E-1]=F)),w=y.slice(b).split(e);for(var V=0;V!=w.length&&"<"==w[V].trim().charAt(0);++V);for(w=w.slice(V),b=0;b!=w.length;++b)if(0!==(y=w[b].trim()).length){if(S=y.match(r),x=b,A=0,k=0,y="<c "+("<"==y.slice(0,1)?">":"")+y,null!=S&&2===S.length){for(x=0,T=S[1],A=0;A!=T.length&&!((k=T.charCodeAt(A)-64)<1||k>26);++A)x=26*x+k;_=--x}else++_;for(A=0;A!=y.length&&62!==y.charCodeAt(A);++A);if(++A,(p=gt(y.slice(0,A),!0)).r||(p.r=Vr({r:E-1,c:_})),d={t:""},null!=(S=(T=y.slice(A)).match(o))&&""!==S[1]&&(d.v=yt(S[1])),l.cellFormula){if(null!=(S=T.match(i))&&""!==S[1]){if(d.f=yt(Pt(S[1])).replace(/\r\n/g,"\n"),l.xlfn||(d.f=ys(d.f)),S[0].indexOf('t="array"')>-1)d.F=(T.match(a)||[])[1],d.F.indexOf(":")>-1&&R.push([Gr(d.F),d.F]);else if(S[0].indexOf('t="shared"')>-1){m=gt(S[0]);var q=yt(Pt(S[1]));l.xlfn||(q=ys(q)),P[parseInt(m.si,10)]=[m,q,p.r]}}else(S=T.match(/<f[^>]*\/>/))&&P[(m=gt(S[0])).si]&&(d.f=bs(P[m.si][1],P[m.si][2],p.r));var $=zr(p.r);for(A=0;A<R.length;++A)$.r>=R[A][0].s.r&&$.r<=R[A][0].e.r&&$.c>=R[A][0].s.c&&$.c<=R[A][0].e.c&&(d.F=R[A][1])}if(null==p.t&&void 0===d.v)if(d.f||d.F)d.v=0,d.t="n";else{if(!M)continue;d.t="z"}else d.t=p.t||"n";switch(u.s.c>_&&(u.s.c=_),u.e.c<_&&(u.e.c=_),d.t){case"n":if(""==d.v||null==d.v){if(!M)continue;d.t="z"}else d.v=parseFloat(d.v);break;case"s":if(void 0===d.v){if(!M)continue;d.t="z"}else g=cc[parseInt(d.v,10)],d.v=g.t,d.r=g.r,l.cellHTML&&(d.h=g.h);break;case"str":d.t="s",d.v=null!=d.v?Pt(d.v):"",l.cellHTML&&(d.h=Tt(d.v));break;case"inlineStr":S=T.match(n),d.t="s",null!=S&&(g=Ho(S[1]))?(d.v=g.t,l.cellHTML&&(d.h=g.h)):d.v="";break;case"b":d.v=_t(d.v);break;case"d":l.cellDates?d.v=ze(d.v,1):(d.v=Ie(ze(d.v,1)),d.t="n");break;case"e":l&&!1===l.cellText||(d.w=d.v),d.v=Wn[d.v]}if(N=C=0,v=null,O&&void 0!==p.s&&null!=(v=h.CellXf[p.s])&&(null!=v.numFmtId&&(N=v.numFmtId),l.cellStyles&&null!=v.fillId&&(C=v.fillId)),gc(d,N,C,l,f,h),l.cellDates&&O&&"n"==d.t&&de(j[N])&&(d.t="d",d.v=je(d.v)),p.cm&&l.xlmeta){var G=(l.xlmeta.Cell||[])[+p.cm-1];G&&"XLDAPR"==G.type&&(d.D=!0)}if(L){var X=zr(p.r);c[X.r]||(c[X.r]=[]),c[X.r][X.c]=d}else c[p.r]=d}}}}I.length>0&&(c["!rows"]=I)}}();function Ic(e,t,r,n){var a,o=[lt,zt("worksheet",null,{xmlns:Xt[0],"xmlns:r":Gt.r})],i=r.SheetNames[e],s="",c=r.Sheets[i];null==c&&(c={});var l=c["!ref"]||"A1",u=Gr(l);if(u.e.c>16383||u.e.r>1048575){if(t.WTF)throw new Error("Range "+l+" exceeds format limit A1:XFD1048576");u.e.c=Math.min(u.e.c,16383),u.e.r=Math.min(u.e.c,1048575),l=$r(u)}n||(n={}),c["!comments"]=[];var f=[];!function(e,t,r,n,a){var o=!1,i={},s=null;if("xlsx"!==n.bookType&&t.vbaraw){var c=t.SheetNames[r];try{t.Workbook&&(c=t.Workbook.Sheets[r].CodeName||c)}catch(e){}o=!0,i.codeName=Lt(xt(c))}if(e&&e["!outline"]){var l={summaryBelow:1,summaryRight:1};e["!outline"].above&&(l.summaryBelow=0),e["!outline"].left&&(l.summaryRight=0),s=(s||"")+zt("outlinePr",null,l)}(o||s)&&(a[a.length]=zt("sheetPr",s,i))}(c,r,e,t,o),o[o.length]=zt("dimension",null,{ref:l}),o[o.length]=function(e,t,r,n){var a={workbookViewId:"0"};return(((n||{}).Workbook||{}).Views||[])[0]&&(a.rightToLeft=n.Workbook.Views[0].RTL?"1":"0"),zt("sheetViews",zt("sheetView",null,a),{})}(0,0,0,r),t.sheetFormat&&(o[o.length]=zt("sheetFormatPr",null,{defaultRowHeight:t.sheetFormat.defaultRowHeight||"16",baseColWidth:t.sheetFormat.baseColWidth||"10",outlineLevelRow:t.sheetFormat.outlineLevelRow||"7"})),null!=c["!cols"]&&c["!cols"].length>0&&(o[o.length]=function(e,t){for(var r,n=["<cols>"],a=0;a!=t.length;++a)(r=t[a])&&(n[n.length]=zt("col",null,hc(a,r)));return n[n.length]="</cols>",n.join("")}(0,c["!cols"])),o[a=o.length]="<sheetData/>",c["!links"]=[],null!=c["!ref"]&&(s=function(e,t,r,n){var a,o,i=[],s=[],c=Gr(e["!ref"]),l="",u="",f=[],h=0,d=0,p=e["!rows"],g=Array.isArray(e),m={r:u},v=-1;for(d=c.s.c;d<=c.e.c;++d)f[d]=Hr(d);for(h=c.s.r;h<=c.e.r;++h){for(s=[],u=Wr(h),d=c.s.c;d<=c.e.c;++d){a=f[d]+u;var b=g?(e[h]||[])[d]:e[a];void 0!==b&&null!=(l=Pc(b,a,e,t))&&s.push(l)}(s.length>0||p&&p[h])&&(m={r:u},p&&p[h]&&((o=p[h]).hidden&&(m.hidden=1),v=-1,o.hpx?v=Ai(o.hpx):o.hpt&&(v=o.hpt),v>-1&&(m.ht=v,m.customHeight=1),o.level&&(m.outlineLevel=o.level)),i[i.length]=zt("row",s.join(""),m))}if(p)for(;h<p.length;++h)p&&p[h]&&(m={r:h+1},(o=p[h]).hidden&&(m.hidden=1),v=-1,o.hpx?v=Ai(o.hpx):o.hpt&&(v=o.hpt),v>-1&&(m.ht=v,m.customHeight=1),o.level&&(m.outlineLevel=o.level),i[i.length]=zt("row","",m));return i.join("")}(c,t,0,0),s.length>0&&(o[o.length]=s)),o.length>a+1&&(o[o.length]="</sheetData>",o[a]=o[a].replace("/>",">")),c["!protect"]&&(o[o.length]=function(e){var t={sheet:1};return Cc.forEach((function(r){null!=e[r]&&e[r]&&(t[r]="1")})),Oc.forEach((function(r){null==e[r]||e[r]||(t[r]="0")})),e.password&&(t.password=oi(e.password).toString(16).toUpperCase()),zt("sheetProtection",null,t)}(c["!protect"])),null!=c["!autofilter"]&&(o[o.length]=function(e,t,r,n){var a="string"==typeof e.ref?e.ref:$r(e.ref);r.Workbook||(r.Workbook={Sheets:[]}),r.Workbook.Names||(r.Workbook.Names=[]);var o=r.Workbook.Names,i=qr(a);i.s.r==i.e.r&&(i.e.r=qr(t["!ref"]).e.r,a=$r(i));for(var s=0;s<o.length;++s){var c=o[s];if("_xlnm._FilterDatabase"==c.Name&&c.Sheet==n){c.Ref="'"+r.SheetNames[n]+"'!"+a;break}}return s==o.length&&o.push({Name:"_xlnm._FilterDatabase",Sheet:n,Ref:"'"+r.SheetNames[n]+"'!"+a}),zt("autoFilter",null,{ref:a})}(c["!autofilter"],c,r,e)),null!=c["!merges"]&&c["!merges"].length>0&&(o[o.length]=function(e){if(0===e.length)return"";for(var t='<mergeCells count="'+e.length+'">',r=0;r!=e.length;++r)t+='<mergeCell ref="'+$r(e[r])+'"/>';return t+"</mergeCells>"}(c["!merges"]));var h,d=-1,p=-1;return c["!links"].length>0&&(o[o.length]="<hyperlinks>",c["!links"].forEach((function(e){e[1].Target&&(h={ref:e[0]},"#"!=e[1].Target.charAt(0)&&(p=Xn(n,-1,xt(e[1].Target).replace(/#.*$/,""),Vn.HLINK),h["r:id"]="rId"+p),(d=e[1].Target.indexOf("#"))>-1&&(h.location=xt(e[1].Target.slice(d+1))),e[1].Tooltip&&(h.tooltip=xt(e[1].Tooltip)),o[o.length]=zt("hyperlink",null,h))})),o[o.length]="</hyperlinks>"),delete c["!links"],null!=c["!margins"]&&(o[o.length]=function(e){return dc(e),zt("pageMargins",null,e)}(c["!margins"])),t&&!t.ignoreEC&&null!=t.ignoreEC||(o[o.length]=Ut("ignoredErrors",zt("ignoredError",null,{numberStoredAsText:1,sqref:l}))),f.length>0&&(p=Xn(n,-1,"../drawings/drawing"+(e+1)+".xml",Vn.DRAW),o[o.length]=zt("drawing",null,{"r:id":"rId"+p}),c["!drawing"]=f),c["!comments"].length>0&&(p=Xn(n,-1,"../drawings/vmlDrawing"+(e+1)+".vml",Vn.VML),o[o.length]=zt("legacyDrawing",null,{"r:id":"rId"+p}),c["!legacy"]=p),o.length>1&&(o[o.length]="</worksheet>",o[1]=o[1].replace("/>",">")),o.join("")}function Fc(e,t,r,n){var a=function(e,t,r){var n=Rr(145),a=(r["!rows"]||[])[e]||{};n._W(4,e),n._W(4,0);var o=320;a.hpx?o=20*Ai(a.hpx):a.hpt&&(o=20*a.hpt),n._W(2,o),n._W(1,0);var i=0;a.level&&(i|=a.level),a.hidden&&(i|=16),(a.hpx||a.hpt)&&(i|=32),n._W(1,i),n._W(1,0);var s=0,c=n.l;n.l+=4;for(var l={r:e,c:0},u=0;u<16;++u)if(!(t.s.c>u+1<<10||t.e.c<u<<10)){for(var f=-1,h=-1,d=u<<10;d<u+1<<10;++d)l.c=d,(Array.isArray(r)?(r[l.r]||[])[l.c]:r[Vr(l)])&&(f<0&&(f=d),h=d);f<0||(++s,n._W(4,f),n._W(4,h))}var p=n.l;return n.l=c,n._W(4,s),n.l=p,n.length>n.l?n.slice(0,n.l):n}(n,r,t);(a.length>17||(t["!rows"]||[])[n])&&Ir(e,0,a)}var Dc=Sn,Mc=xn;function jc(e){return[ln(e),An(e),"n"]}var Bc=Sn,Wc=xn;var Uc=["left","right","top","bottom","header","footer"];function Hc(e,t,r,n,a,o,i){if(void 0===t.v)return!1;var s="";switch(t.t){case"b":s=t.v?"1":"0";break;case"d":(t=qe(t)).z=t.z||j[14],t.v=Ie(ze(t.v)),t.t="n";break;case"n":case"e":s=""+t.v;break;default:s=t.v}var c={r:r,c:n};switch(c.s=pc(a.cellXfs,t,a),t.l&&o["!links"].push([Vr(c),t.l]),t.c&&o["!comments"].push([Vr(c),t.c]),t.t){case"s":case"str":return a.bookSST?(s=fc(a.Strings,t.v,a.revStrings),c.t="s",c.v=s,i?Ir(e,18,function(e,t,r){return null==r&&(r=Rr(8)),un(t,r),r._W(4,t.v),r}(0,c)):Ir(e,7,function(e,t,r){return null==r&&(r=Rr(12)),cn(t,r),r._W(4,t.v),r}(0,c))):(c.t="str",i?Ir(e,17,function(e,t,r){return null==r&&(r=Rr(8+4*e.v.length)),un(t,r),tn(e.v,r),r.length>r.l?r.slice(0,r.l):r}(t,c)):Ir(e,6,function(e,t,r){return null==r&&(r=Rr(12+4*e.v.length)),cn(t,r),tn(e.v,r),r.length>r.l?r.slice(0,r.l):r}(t,c))),!0;case"n":return t.v==(0|t.v)&&t.v>-1e3&&t.v<1e3?i?Ir(e,13,function(e,t,r){return null==r&&(r=Rr(8)),un(t,r),yn(e.v,r),r}(t,c)):Ir(e,2,function(e,t,r){return null==r&&(r=Rr(12)),cn(t,r),yn(e.v,r),r}(t,c)):i?Ir(e,16,function(e,t,r){return null==r&&(r=Rr(12)),un(t,r),kn(e.v,r),r}(t,c)):Ir(e,5,function(e,t,r){return null==r&&(r=Rr(16)),cn(t,r),kn(e.v,r),r}(t,c)),!0;case"b":return c.t="b",i?Ir(e,15,function(e,t,r){return null==r&&(r=Rr(5)),un(t,r),r._W(1,e.v?1:0),r}(t,c)):Ir(e,4,function(e,t,r){return null==r&&(r=Rr(9)),cn(t,r),r._W(1,e.v?1:0),r}(t,c)),!0;case"e":return c.t="e",i?Ir(e,14,function(e,t,r){return null==r&&(r=Rr(8)),un(t,r),r._W(1,e.v),r._W(2,0),r._W(1,0),r}(t,c)):Ir(e,3,function(e,t,r){return null==r&&(r=Rr(9)),cn(t,r),r._W(1,e.v),r}(t,c)),!0}return i?Ir(e,12,function(e,t,r){return null==r&&(r=Rr(4)),un(t,r)}(0,c)):Ir(e,1,function(e,t,r){return null==r&&(r=Rr(8)),cn(t,r)}(0,c)),!0}function zc(e,t){t&&t["!merges"]&&(Ir(e,177,function(e,t){return null==t&&(t=Rr(4)),t._W(4,e),t}(t["!merges"].length)),t["!merges"].forEach((function(t){Ir(e,176,Wc(t))})),Ir(e,178))}function Vc(e,t){t&&t["!cols"]&&(Ir(e,390),t["!cols"].forEach((function(t,r){t&&Ir(e,60,function(e,t,r){null==r&&(r=Rr(18));var n=hc(e,t);r._W(-4,e),r._W(-4,e),r._W(4,256*(n.width||10)),r._W(4,0);var a=0;return t.hidden&&(a|=1),"number"==typeof n.width&&(a|=2),t.level&&(a|=t.level<<8),r._W(2,a),r}(r,t))})),Ir(e,391))}function qc(e,t){t&&t["!ref"]&&(Ir(e,648),Ir(e,649,function(e){var t=Rr(24);return t._W(4,4),t._W(4,1),xn(e,t),t}(Gr(t["!ref"]))),Ir(e,650))}function $c(e,t,r){t["!links"].forEach((function(t){if(t[1].Target){var n=Xn(r,-1,t[1].Target.replace(/#.*$/,""),Vn.HLINK);Ir(e,494,function(e,t){var r=Rr(50+4*(e[1].Target.length+(e[1].Tooltip||"").length));xn({s:zr(e[0]),e:zr(e[0])},r),vn("rId"+t,r);var n=e[1].Target.indexOf("#");return tn((-1==n?"":e[1].Target.slice(n+1))||"",r),tn(e[1].Tooltip||"",r),tn("",r),r.slice(0,r.l)}(t,n))}})),delete t["!links"]}function Gc(e,t,r){Ir(e,133),Ir(e,137,function(e,t,r){null==r&&(r=Rr(30));var n=924;return(((t||{}).Views||[])[0]||{}).RTL&&(n|=32),r._W(2,n),r._W(4,0),r._W(4,0),r._W(4,0),r._W(1,0),r._W(1,0),r._W(2,0),r._W(2,100),r._W(2,0),r._W(2,0),r._W(2,0),r._W(4,0),r}(0,r)),Ir(e,138),Ir(e,134)}function Xc(e,t){t["!protect"]&&Ir(e,535,function(e,t){return null==t&&(t=Rr(66)),t._W(2,e.password?oi(e.password):0),t._W(4,1),[["objects",!1],["scenarios",!1],["formatCells",!0],["formatColumns",!0],["formatRows",!0],["insertColumns",!0],["insertRows",!0],["insertHyperlinks",!0],["deleteColumns",!0],["deleteRows",!0],["selectLockedCells",!1],["sort",!0],["autoFilter",!0],["pivotTables",!0],["selectUnlockedCells",!1]].forEach((function(r){r[1]?t._W(4,null==e[r[0]]||e[r[0]]?0:1):t._W(4,null!=e[r[0]]&&e[r[0]]?0:1)})),t}(t["!protect"]))}function Yc(e,t,r,n){var a=Lr(),o=r.SheetNames[e],i=r.Sheets[o]||{},s=o;try{r&&r.Workbook&&(s=r.Workbook.Sheets[e].CodeName||s)}catch(e){}var c=Gr(i["!ref"]||"A1");if(c.e.c>16383||c.e.r>1048575){if(t.WTF)throw new Error("Range "+(i["!ref"]||"A1")+" exceeds format limit A1:XFD1048576");c.e.c=Math.min(c.e.c,16383),c.e.r=Math.min(c.e.c,1048575)}return i["!links"]=[],i["!comments"]=[],Ir(a,129),(r.vbaraw||i["!outline"])&&Ir(a,147,function(e,t,r){null==r&&(r=Rr(84+4*e.length));var n=192;t&&(t.above&&(n&=-65),t.left&&(n&=-129)),r._W(1,n);for(var a=1;a<3;++a)r._W(1,0);return Tn({auto:1},r),r._W(-4,-1),r._W(-4,-1),hn(e,r),r.slice(0,r.l)}(s,i["!outline"])),Ir(a,148,Mc(c)),Gc(a,0,r.Workbook),Vc(a,i),function(e,t,r,n){var a,o=Gr(t["!ref"]||"A1"),i="",s=[];Ir(e,145);var c=Array.isArray(t),l=o.e.r;t["!rows"]&&(l=Math.max(o.e.r,t["!rows"].length-1));for(var u=o.s.r;u<=l;++u){i=Wr(u),Fc(e,t,o,u);var f=!1;if(u<=o.e.r)for(var h=o.s.c;h<=o.e.c;++h){u===o.s.r&&(s[h]=Hr(h)),a=s[h]+i;var d=c?(t[u]||[])[h]:t[a];f=!!d&&Hc(e,d,u,h,n,t,f)}}Ir(e,146)}(a,i,0,t),Xc(a,i),function(e,t,r,n){if(t["!autofilter"]){var a=t["!autofilter"],o="string"==typeof a.ref?a.ref:$r(a.ref);r.Workbook||(r.Workbook={Sheets:[]}),r.Workbook.Names||(r.Workbook.Names=[]);var i=r.Workbook.Names,s=qr(o);s.s.r==s.e.r&&(s.e.r=qr(t["!ref"]).e.r,o=$r(s));for(var c=0;c<i.length;++c){var l=i[c];if("_xlnm._FilterDatabase"==l.Name&&l.Sheet==n){l.Ref="'"+r.SheetNames[n]+"'!"+o;break}}c==i.length&&i.push({Name:"_xlnm._FilterDatabase",Sheet:n,Ref:"'"+r.SheetNames[n]+"'!"+o}),Ir(e,161,xn(Gr(o))),Ir(e,162)}}(a,i,r,e),zc(a,i),$c(a,i,n),i["!margins"]&&Ir(a,476,function(e,t){return null==t&&(t=Rr(48)),dc(e),Uc.forEach((function(r){kn(e[r],t)})),t}(i["!margins"])),t&&!t.ignoreEC&&null!=t.ignoreEC||qc(a,i),function(e,t,r,n){if(t["!comments"].length>0){var a=Xn(n,-1,"../drawings/vmlDrawing"+(r+1)+".vml",Vn.VML);Ir(e,551,vn("rId"+a)),t["!legacy"]=a}}(a,i,e,n),Ir(a,130),a.end()}function Kc(e,t,r,n,a,o){var i=o||{"!type":"chart"};if(!e)return o;var s=0,c=0,l="A",u={s:{r:2e6,c:2e6},e:{r:0,c:0}};return(e.match(/<c:numCache>[\s\S]*?<\/c:numCache>/gm)||[]).forEach((function(e){var t=function(e){var t,r=[],n=e.match(/^<c:numCache>/);(e.match(/<c:pt idx="(\d*)">(.*?)<\/c:pt>/gm)||[]).forEach((function(e){var t=e.match(/<c:pt idx="(\d*?)"><c:v>(.*)<\/c:v><\/c:pt>/);t&&(r[+t[1]]=n?+t[2]:t[2])}));var a=yt((e.match(/<c:formatCode>([\s\S]*?)<\/c:formatCode>/)||["","General"])[1]);return(e.match(/<c:f>(.*?)<\/c:f>/gm)||[]).forEach((function(e){t=e.replace(/<.*?>/g,"")})),[r,a,t]}(e);u.s.r=u.s.c=0,u.e.c=s,l=Hr(s),t[0].forEach((function(e,r){i[l+Wr(r)]={t:"n",v:e,z:t[1]},c=r})),u.e.r<c&&(u.e.r=c),++s})),s>0&&(i["!ref"]=$r(u)),i}var Jc=[["allowRefreshQuery",!1,"bool"],["autoCompressPictures",!0,"bool"],["backupFile",!1,"bool"],["checkCompatibility",!1,"bool"],["CodeName",""],["date1904",!1,"bool"],["defaultThemeVersion",0,"int"],["filterPrivacy",!1,"bool"],["hidePivotFieldList",!1,"bool"],["promptedSolutions",!1,"bool"],["publishItems",!1,"bool"],["refreshAllConnections",!1,"bool"],["saveExternalLinkValues",!0,"bool"],["showBorderUnselectedTables",!0,"bool"],["showInkAnnotation",!0,"bool"],["showObjects","all"],["showPivotChartFilter",!1,"bool"],["updateLinks","userSet"]],Zc=[["activeTab",0,"int"],["autoFilterDateGrouping",!0,"bool"],["firstSheet",0,"int"],["minimized",!1,"bool"],["showHorizontalScroll",!0,"bool"],["showSheetTabs",!0,"bool"],["showVerticalScroll",!0,"bool"],["tabRatio",600,"int"],["visibility","visible"]],Qc=[],el=[["calcCompleted","true"],["calcMode","auto"],["calcOnSave","true"],["concurrentCalc","true"],["fullCalcOnLoad","false"],["fullPrecision","true"],["iterate","false"],["iterateCount","100"],["iterateDelta","0.001"],["refMode","A1"]];function tl(e,t){for(var r=0;r!=e.length;++r)for(var n=e[r],a=0;a!=t.length;++a){var o=t[a];if(null==n[o[0]])n[o[0]]=o[1];else switch(o[2]){case"bool":"string"==typeof n[o[0]]&&(n[o[0]]=_t(n[o[0]]));break;case"int":"string"==typeof n[o[0]]&&(n[o[0]]=parseInt(n[o[0]],10))}}}function rl(e,t){for(var r=0;r!=t.length;++r){var n=t[r];if(null==e[n[0]])e[n[0]]=n[1];else switch(n[2]){case"bool":"string"==typeof e[n[0]]&&(e[n[0]]=_t(e[n[0]]));break;case"int":"string"==typeof e[n[0]]&&(e[n[0]]=parseInt(e[n[0]],10))}}}function nl(e){rl(e.WBProps,Jc),rl(e.CalcPr,el),tl(e.WBView,Zc),tl(e.Sheets,Qc),lc.date1904=_t(e.WBProps.date1904)}var al="][*?/\\".split("");function ol(e,t){if(e.length>31){if(t)return!1;throw new Error("Sheet names cannot exceed 31 chars")}var r=!0;return al.forEach((function(n){if(-1!=e.indexOf(n)){if(!t)throw new Error("Sheet name cannot contain : \\ / ? * [ ]");r=!1}})),r}function il(e){if(!e||!e.SheetNames||!e.Sheets)throw new Error("Invalid Workbook");if(!e.SheetNames.length)throw new Error("Workbook is empty");var t=e.Workbook&&e.Workbook.Sheets||[];!function(e,t,r){e.forEach((function(n,a){ol(n);for(var o=0;o<a;++o)if(n==e[o])throw new Error("Duplicate Sheet Name: "+n);if(r){var i=t&&t[a]&&t[a].CodeName||n;if(95==i.charCodeAt(0)&&i.length>22)throw new Error("Bad Code Name: Worksheet"+i)}}))}(e.SheetNames,t,!!e.vbaraw);for(var r=0;r<e.SheetNames.length;++r)mc(e.Sheets[e.SheetNames[r]],e.SheetNames[r],r)}var sl=/<\w+:workbook/;function cl(e){var t=[lt];t[t.length]=zt("workbook",null,{xmlns:Xt[0],"xmlns:r":Gt.r});var r=e.Workbook&&(e.Workbook.Names||[]).length>0,n={codeName:"ThisWorkbook"};e.Workbook&&e.Workbook.WBProps&&(Jc.forEach((function(t){null!=e.Workbook.WBProps[t[0]]&&e.Workbook.WBProps[t[0]]!=t[1]&&(n[t[0]]=e.Workbook.WBProps[t[0]])})),e.Workbook.WBProps.CodeName&&(n.codeName=e.Workbook.WBProps.CodeName,delete n.CodeName)),t[t.length]=zt("workbookPr",null,n);var a=e.Workbook&&e.Workbook.Sheets||[],o=0;if(a&&a[0]&&a[0].Hidden){for(t[t.length]="<bookViews>",o=0;o!=e.SheetNames.length&&a[o]&&a[o].Hidden;++o);o==e.SheetNames.length&&(o=0),t[t.length]='<workbookView firstSheet="'+o+'" activeTab="'+o+'"/>',t[t.length]="</bookViews>"}for(t[t.length]="<sheets>",o=0;o!=e.SheetNames.length;++o){var i={name:xt(e.SheetNames[o].slice(0,31))};if(i.sheetId=""+(o+1),i["r:id"]="rId"+(o+1),a[o])switch(a[o].Hidden){case 1:i.state="hidden";break;case 2:i.state="veryHidden"}t[t.length]=zt("sheet",null,i)}return t[t.length]="</sheets>",r&&(t[t.length]="<definedNames>",e.Workbook&&e.Workbook.Names&&e.Workbook.Names.forEach((function(e){var r={name:e.Name};e.Comment&&(r.comment=e.Comment),null!=e.Sheet&&(r.localSheetId=""+e.Sheet),e.Hidden&&(r.hidden="1"),e.Ref&&(t[t.length]=zt("definedName",xt(e.Ref),r))})),t[t.length]="</definedNames>"),t.length>2&&(t[t.length]="</workbook>",t[1]=t[1].replace("/>",">")),t.join("")}function ll(e,t){return t||(t=Rr(127)),t._W(4,e.Hidden),t._W(4,e.iTabID),vn(e.strRelID,t),tn(e.name.slice(0,31),t),t.length>t.l?t.slice(0,t.l):t}function ul(e,t){var r={};return e._R(4),r.ArchID=e._R(4),e.l+=t-8,r}function fl(t,r){r||(r=Rr(127));for(var n=0;4!=n;++n)r._W(4,0);return tn("SheetJS",r),tn(e.version,r),tn(e.version,r),tn("7262",r),r.length>r.l?r.slice(0,r.l):r}function hl(e,t){if(t.Workbook&&t.Workbook.Sheets){for(var r=t.Workbook.Sheets,n=0,a=-1,o=-1;n<r.length;++n)!r[n]||!r[n].Hidden&&-1==a?a=n:1==r[n].Hidden&&-1==o&&(o=n);o>a||(Ir(e,135),Ir(e,158,function(e,t){return t||(t=Rr(29)),t._W(-4,0),t._W(-4,460),t._W(4,28800),t._W(4,17600),t._W(4,500),t._W(4,e),t._W(4,e),t._W(1,120),t.length>t.l?t.slice(0,t.l):t}(a)),Ir(e,136))}}function dl(e,t){var r=Lr();return Ir(r,131),Ir(r,128,fl()),Ir(r,153,function(e,t){t||(t=Rr(72));var r=0;return e&&e.filterPrivacy&&(r|=8),t._W(4,r),t._W(4,0),hn(e&&e.CodeName||"ThisWorkbook",t),t.slice(0,t.l)}(e.Workbook&&e.Workbook.WBProps||null)),hl(r,e),function(e,t){Ir(e,143);for(var r=0;r!=t.SheetNames.length;++r)Ir(e,156,ll({Hidden:t.Workbook&&t.Workbook.Sheets&&t.Workbook.Sheets[r]&&t.Workbook.Sheets[r].Hidden||0,iTabID:r+1,strRelID:"rId"+(r+1),name:t.SheetNames[r]}));Ir(e,144)}(r,e),Ir(r,132),r.end()}function pl(e,t,r){return".bin"===t.slice(-4)?function(e,t){var r={AppVersion:{},WBProps:{},WBView:[],Sheets:[],CalcPr:{},xmlns:""},n=[],a=!1;t||(t={}),t.biff=12;var o=[],i=[[]];return i.SheetNames=[],i.XTI=[],Zl[16]={n:"BrtFRTArchID$",f:ul},Pr(e,(function(e,s,c){switch(c){case 156:i.SheetNames.push(e.name),r.Sheets.push(e);break;case 153:r.WBProps=e;break;case 39:null!=e.Sheet&&(t.SID=e.Sheet),e.Ref=qs(e.Ptg,0,null,i,t),delete t.SID,delete e.Ptg,o.push(e);break;case 1036:case 361:case 2071:case 158:case 143:case 664:case 353:case 3072:case 3073:case 534:case 677:case 157:case 610:case 2050:case 155:case 548:case 676:case 128:case 665:case 2128:case 2125:case 549:case 2053:case 596:case 2076:case 2075:case 2082:case 397:case 154:case 1117:case 553:case 2091:case 16:break;case 357:case 358:case 355:case 667:i[0].length?i.push([c,e]):i[0]=[c,e],i[i.length-1].XTI=[];break;case 362:0===i.length&&(i[0]=[],i[0].XTI=[]),i[i.length-1].XTI=i[i.length-1].XTI.concat(e),i.XTI=i.XTI.concat(e);break;case 35:case 37:n.push(c),a=!0;break;case 36:case 38:n.pop(),a=!1;break;default:if(s.T);else if(!a||t.WTF&&37!=n[n.length-1]&&35!=n[n.length-1])throw new Error("Unexpected record 0x"+c.toString(16))}}),t),nl(r),r.Names=o,r.supbooks=i,r}(e,r):function(e,t){if(!e)throw new Error("Could not find file");var r={AppVersion:{},WBProps:{},WBView:[],Sheets:[],CalcPr:{},Names:[],xmlns:""},n=!1,a="xmlns",o={},i=0;if(e.replace(ht,(function(s,c){var l=gt(s);switch(mt(l[0])){case"<?xml":case"</workbook>":case"<fileVersion/>":case"</fileVersion>":case"<fileSharing":case"<fileSharing/>":case"</workbookPr>":case"<workbookProtection":case"<workbookProtection/>":case"<bookViews":case"<bookViews>":case"</bookViews>":case"</workbookView>":case"<sheets":case"<sheets>":case"</sheets>":case"</sheet>":case"<functionGroups":case"<functionGroups/>":case"<functionGroup":case"<externalReferences":case"</externalReferences>":case"<externalReferences>":case"<externalReference":case"<definedNames/>":case"<definedName/>":case"</calcPr>":case"<oleSize":case"<customWorkbookViews>":case"</customWorkbookViews>":case"<customWorkbookViews":case"<customWorkbookView":case"</customWorkbookView>":case"<pivotCaches>":case"</pivotCaches>":case"<pivotCaches":case"<pivotCache":case"<smartTagPr":case"<smartTagPr/>":case"<smartTagTypes":case"<smartTagTypes>":case"</smartTagTypes>":case"<smartTagType":case"<webPublishing":case"<webPublishing/>":case"<fileRecoveryPr":case"<fileRecoveryPr/>":case"<webPublishObjects>":case"<webPublishObjects":case"</webPublishObjects>":case"<webPublishObject":case"<extLst":case"<extLst>":case"</extLst>":case"<extLst/>":case"<ArchID":case"<revisionPtr":break;case"<workbook":s.match(sl)&&(a="xmlns"+s.match(/<(\w+):/)[1]),r.xmlns=l[a];break;case"<fileVersion":delete l[0],r.AppVersion=l;break;case"<workbookPr":case"<workbookPr/>":Jc.forEach((function(e){if(null!=l[e[0]])switch(e[2]){case"bool":r.WBProps[e[0]]=_t(l[e[0]]);break;case"int":r.WBProps[e[0]]=parseInt(l[e[0]],10);break;default:r.WBProps[e[0]]=l[e[0]]}})),l.codeName&&(r.WBProps.CodeName=Pt(l.codeName));break;case"<workbookView":case"<workbookView/>":delete l[0],r.WBView.push(l);break;case"<sheet":switch(l.state){case"hidden":l.Hidden=1;break;case"veryHidden":l.Hidden=2;break;default:l.Hidden=0}delete l.state,l.name=yt(Pt(l.name)),delete l[0],r.Sheets.push(l);break;case"<definedNames>":case"<definedNames":case"<ext":case"<AlternateContent":case"<AlternateContent>":n=!0;break;case"</definedNames>":case"</ext>":case"</AlternateContent>":n=!1;break;case"<definedName":(o={}).Name=Pt(l.name),l.comment&&(o.Comment=l.comment),l.localSheetId&&(o.Sheet=+l.localSheetId),_t(l.hidden||"0")&&(o.Hidden=!0),i=c+s.length;break;case"</definedName>":o.Ref=yt(Pt(e.slice(i,c))),r.Names.push(o);break;case"<calcPr":case"<calcPr/>":delete l[0],r.CalcPr=l;break;default:if(!n&&t.WTF)throw new Error("unrecognized "+l[0]+" in workbook")}return s})),-1===Xt.indexOf(r.xmlns))throw new Error("Unknown Namespace: "+r.xmlns);return nl(r),r}(e,r)}function gl(e,t,r,n,a,o,i,s){return".bin"===t.slice(-4)?function(e,t,r,n,a,o,i){if(!e)return e;var s=t||{};n||(n={"!id":{}}),null!=p&&null==s.dense&&(s.dense=p);var c,l,u,f,h,d,g,m,v,b,y=s.dense?[]:{},w={s:{r:2e6,c:2e6},e:{r:0,c:0}},S=[],x=!1,A=!1,k=[];s.biff=12,s["!row"]=0;var T=0,E=!1,_=[],N={},C=s.supbooks||a.supbooks||[[]];if(C.sharedf=N,C.arrayf=_,C.SheetNames=a.SheetNames||a.Sheets.map((function(e){return e.name})),!s.supbooks&&(s.supbooks=C,a.Names))for(var O=0;O<a.Names.length;++O)C[0][O+1]=a.Names[O];var R,P,L=[],I=[],F=!1;if(Zl[16]={n:"BrtShortReal",f:jc},Pr(e,(function(e,t,p){if(!A)switch(p){case 148:c=e;break;case 0:l=e,s.sheetRows&&s.sheetRows<=l.r&&(A=!0),v=Wr(h=l.r),s["!row"]=l.r,(e.hidden||e.hpt||null!=e.level)&&(e.hpt&&(e.hpx=ki(e.hpt)),I[e.r]=e);break;case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 13:case 14:case 15:case 16:case 17:case 18:case 62:switch(u={t:e[2]},e[2]){case"n":u.v=e[1];break;case"s":m=cc[e[1]],u.v=m.t,u.r=m.r;break;case"b":u.v=!!e[1];break;case"e":u.v=e[1],!1!==s.cellText&&(u.w=Bn[u.v]);break;case"str":u.t="s",u.v=e[1];break;case"is":u.t="s",u.v=e[1].t}if((f=i.CellXf[e[0].iStyleRef])&&gc(u,f.numFmtId,null,s,o,i),d=-1==e[0].c?d+1:e[0].c,s.dense?(y[h]||(y[h]=[]),y[h][d]=u):y[Hr(d)+v]=u,s.cellFormula){for(E=!1,T=0;T<_.length;++T){var O=_[T];l.r>=O[0].s.r&&l.r<=O[0].e.r&&d>=O[0].s.c&&d<=O[0].e.c&&(u.F=$r(O[0]),E=!0)}!E&&e.length>3&&(u.f=e[3])}if(w.s.r>l.r&&(w.s.r=l.r),w.s.c>d&&(w.s.c=d),w.e.r<l.r&&(w.e.r=l.r),w.e.c<d&&(w.e.c=d),s.cellDates&&f&&"n"==u.t&&de(j[f.numFmtId])){var D=H(u.v);D&&(u.t="d",u.v=new Date(D.y,D.m-1,D.d,D.H,D.M,D.S,D.u))}R&&("XLDAPR"==R.type&&(u.D=!0),R=void 0),P&&(P=void 0);break;case 1:case 12:if(!s.sheetStubs||x)break;u={t:"z",v:void 0},d=-1==e[0].c?d+1:e[0].c,s.dense?(y[h]||(y[h]=[]),y[h][d]=u):y[Hr(d)+v]=u,w.s.r>l.r&&(w.s.r=l.r),w.s.c>d&&(w.s.c=d),w.e.r<l.r&&(w.e.r=l.r),w.e.c<d&&(w.e.c=d),R&&("XLDAPR"==R.type&&(u.D=!0),R=void 0),P&&(P=void 0);break;case 176:k.push(e);break;case 49:R=((s.xlmeta||{}).Cell||[])[e-1];break;case 494:var M=n["!id"][e.relId];for(M?(e.Target=M.Target,e.loc&&(e.Target+="#"+e.loc),e.Rel=M):""==e.relId&&(e.Target="#"+e.loc),h=e.rfx.s.r;h<=e.rfx.e.r;++h)for(d=e.rfx.s.c;d<=e.rfx.e.c;++d)s.dense?(y[h]||(y[h]=[]),y[h][d]||(y[h][d]={t:"z",v:void 0}),y[h][d].l=e):(g=Vr({c:d,r:h}),y[g]||(y[g]={t:"z",v:void 0}),y[g].l=e);break;case 426:if(!s.cellFormula)break;_.push(e),(b=s.dense?y[h][d]:y[Hr(d)+v]).f=qs(e[1],0,{r:l.r,c:d},C,s),b.F=$r(e[0]);break;case 427:if(!s.cellFormula)break;N[Vr(e[0].s)]=e[1],(b=s.dense?y[h][d]:y[Hr(d)+v]).f=qs(e[1],0,{r:l.r,c:d},C,s);break;case 60:if(!s.cellStyles)break;for(;e.e>=e.s;)L[e.e--]={width:e.w/256,hidden:!!(1&e.flags),level:e.level},F||(F=!0,wi(e.w/256)),Si(L[e.e+1]);break;case 161:y["!autofilter"]={ref:$r(e)};break;case 476:y["!margins"]=e;break;case 147:a.Sheets[r]||(a.Sheets[r]={}),e.name&&(a.Sheets[r].CodeName=e.name),(e.above||e.left)&&(y["!outline"]={above:e.above,left:e.left});break;case 137:a.Views||(a.Views=[{}]),a.Views[0]||(a.Views[0]={}),e.RTL&&(a.Views[0].RTL=!0);break;case 485:case 64:case 1053:case 151:case 152:case 175:case 644:case 625:case 562:case 396:case 1112:case 1146:case 471:case 1050:case 649:case 1105:case 589:case 607:case 564:case 1055:case 168:case 174:case 1180:case 499:case 507:case 550:case 171:case 167:case 1177:case 169:case 1181:case 551:case 552:case 661:case 639:case 478:case 537:case 477:case 536:case 1103:case 680:case 1104:case 1024:case 663:case 535:case 678:case 504:case 1043:case 428:case 170:case 3072:case 50:case 2070:case 1045:break;case 35:x=!0;break;case 36:x=!1;break;case 37:S.push(p),x=!0;break;case 38:S.pop(),x=!1;break;default:if(t.T);else if(!x||s.WTF)throw new Error("Unexpected record 0x"+p.toString(16))}}),s),delete s.supbooks,delete s["!row"],!y["!ref"]&&(w.s.r<2e6||c&&(c.e.r>0||c.e.c>0||c.s.r>0||c.s.c>0))&&(y["!ref"]=$r(c||w)),s.sheetRows&&y["!ref"]){var D=Gr(y["!ref"]);s.sheetRows<=+D.e.r&&(D.e.r=s.sheetRows-1,D.e.r>w.e.r&&(D.e.r=w.e.r),D.e.r<D.s.r&&(D.s.r=D.e.r),D.e.c>w.e.c&&(D.e.c=w.e.c),D.e.c<D.s.c&&(D.s.c=D.e.c),y["!fullref"]=y["!ref"],y["!ref"]=$r(D))}return k.length>0&&(y["!merges"]=k),L.length>0&&(y["!cols"]=L),I.length>0&&(y["!rows"]=I),y}(e,n,r,a,o,i,s):_c(e,n,r,a,o,i,s)}function ml(e,t,r,n,a,o,i,s){return".bin"===t.slice(-4)?function(e,t,r,n,a){if(!e)return e;n||(n={"!id":{}});var o={"!type":"chart","!drawel":null,"!rel":""},i=[],s=!1;return Pr(e,(function(e,n,c){switch(c){case 550:o["!rel"]=e;break;case 651:a.Sheets[r]||(a.Sheets[r]={}),e.name&&(a.Sheets[r].CodeName=e.name);break;case 562:case 652:case 669:case 679:case 551:case 552:case 476:case 3072:break;case 35:s=!0;break;case 36:s=!1;break;case 37:i.push(c);break;case 38:i.pop();break;default:if(n.T>0)i.push(c);else if(n.T<0)i.pop();else if(!s||t.WTF)throw new Error("Unexpected record 0x"+c.toString(16))}}),t),n["!id"][o["!rel"]]&&(o["!drawel"]=n["!id"][o["!rel"]]),o}(e,n,r,a,o):function(e,t,r,n,a){if(!e)return e;n||(n={"!id":{}});var o,i={"!type":"chart","!drawel":null,"!rel":""},s=e.match(kc);return s&&Nc(s[0],0,a,r),(o=e.match(/drawing r:id="(.*?)"/))&&(i["!rel"]=o[1]),n["!id"][i["!rel"]]&&(i["!drawel"]=n["!id"][i["!rel"]]),i}(e,0,r,a,o)}function vl(e,t,r,n){return".bin"===t.slice(-4)?function(e,t,r){var n={NumberFmt:[]};for(var a in j)n.NumberFmt[a]=j[a];n.CellXf=[],n.Fonts=[];var o=[],i=!1;return Pr(e,(function(e,a,s){switch(s){case 44:n.NumberFmt[e[0]]=e[1],be(e[1],e[0]);break;case 43:n.Fonts.push(e),null!=e.color.theme&&t&&t.themeElements&&t.themeElements.clrScheme&&(e.color.rgb=fi(t.themeElements.clrScheme[e.color.theme].rgb,e.color.tint||0));break;case 1025:case 45:case 46:case 48:case 507:case 572:case 475:case 1171:case 2102:case 1130:case 512:case 2095:case 3072:break;case 47:617==o[o.length-1]&&n.CellXf.push(e);break;case 35:i=!0;break;case 36:i=!1;break;case 37:o.push(s),i=!0;break;case 38:o.pop(),i=!1;break;default:if(a.T>0)o.push(s);else if(a.T<0)o.pop();else if(!i||r.WTF&&37!=o[o.length-1])throw new Error("Unexpected record 0x"+s.toString(16))}})),n}(e,r,n):Ci(e,r,n)}function bl(e,t,r){return".bin"===t.slice(-4)?function(e,t){var r=[],n=!1;return Pr(e,(function(e,a,o){switch(o){case 159:r.Count=e[0],r.Unique=e[1];break;case 19:r.push(e);break;case 160:return!0;case 35:n=!0;break;case 36:n=!1;break;default:if(a.T,!n||t.WTF)throw new Error("Unexpected record 0x"+o.toString(16))}})),r}(e,r):function(e,t){var r=[],n="";if(!e)return r;var a=e.match(zo);if(a){n=a[2].replace(Vo,"").split(qo);for(var o=0;o!=n.length;++o){var i=Ho(n[o].trim(),t);null!=i&&(r[r.length]=i)}a=gt(a[1]),r.Count=a.count,r.Unique=a.uniqueCount}return r}(e,r)}function yl(e,t,r){return".bin"===t.slice(-4)?function(e,t){var r=[],n=[],a={},o=!1;return Pr(e,(function(e,i,s){switch(s){case 632:n.push(e);break;case 635:a=e;break;case 637:a.t=e.t,a.h=e.h,a.r=e.r;break;case 636:if(a.author=n[a.iauthor],delete a.iauthor,t.sheetRows&&a.rfx&&t.sheetRows<=a.rfx.r)break;a.t||(a.t=""),delete a.rfx,r.push(a);break;case 3072:case 37:case 38:break;case 35:o=!0;break;case 36:o=!1;break;default:if(i.T);else if(!o||t.WTF)throw new Error("Unexpected record 0x"+s.toString(16))}})),r}(e,r):function(e,t){if(e.match(/<(?:\w+:)?comments *\/>/))return[];var r=[],n=[],a=e.match(/<(?:\w+:)?authors>([\s\S]*)<\/(?:\w+:)?authors>/);a&&a[1]&&a[1].split(/<\/\w*:?author>/).forEach((function(e){if(""!==e&&""!==e.trim()){var t=e.match(/<(?:\w+:)?author[^>]*>(.*)/);t&&r.push(t[1])}}));var o=e.match(/<(?:\w+:)?commentList>([\s\S]*)<\/(?:\w+:)?commentList>/);return o&&o[1]&&o[1].split(/<\/\w*:?comment>/).forEach((function(e){if(""!==e&&""!==e.trim()){var a=e.match(/<(?:\w+:)?comment[^>]*>/);if(a){var o=gt(a[0]),i={author:o.authorId&&r[o.authorId]||"sheetjsghost",ref:o.ref,guid:o.guid},s=zr(o.ref);if(!(t.sheetRows&&t.sheetRows<=s.r)){var c=e.match(/<(?:\w+:)?text>([\s\S]*)<\/(?:\w+:)?text>/),l=!!c&&!!c[1]&&Ho(c[1])||{r:"",t:"",h:""};i.r=l.r,"<t></t>"==l.r&&(l.t=l.h=""),i.t=(l.t||"").replace(/\r\n/g,"\n").replace(/\r/g,"\n"),t.cellHTML&&(i.h=l.h),n.push(i)}}}})),n}(e,r)}function wl(e,t,r){return".bin"===t.slice(-4)?function(e,t,r){var n=[];return Pr(e,(function(e,t,r){if(63===r)n.push(e);else if(!t.T)throw new Error("Unexpected record 0x"+r.toString(16))})),n}(e):function(e){var t=[];if(!e)return t;var r=1;return(e.match(ht)||[]).forEach((function(e){var n=gt(e);switch(n[0]){case"<?xml":case"<calcChain":case"<calcChain>":case"</calcChain>":break;case"<c":delete n[0],n.i?r=n.i:n.i=r,t.push(n)}})),t}(e)}function Sl(e,t,r,n){if(".bin"===r.slice(-4))return function(e,t,r,n){if(!e)return e;var a=n||{},o=!1;Pr(e,(function(e,t,r){switch(r){case 359:case 363:case 364:case 366:case 367:case 368:case 369:case 370:case 371:case 472:case 577:case 578:case 579:case 580:case 581:case 582:case 583:case 584:case 585:case 586:case 587:break;case 35:o=!0;break;case 36:o=!1;break;default:if(t.T);else if(!o||a.WTF)throw new Error("Unexpected record 0x"+r.toString(16))}}),a)}(e,0,0,n)}function xl(e,t,r){return".bin"===t.slice(-4)?function(e,t,r){var n={Types:[],Cell:[],Value:[]},a=r||{},o=[],i=!1,s=2;return Pr(e,(function(e,t,r){switch(r){case 335:n.Types.push({name:e.name});break;case 51:e.forEach((function(e){1==s?n.Cell.push({type:n.Types[e[0]-1].name,index:e[1]}):0==s&&n.Value.push({type:n.Types[e[0]-1].name,index:e[1]})}));break;case 337:s=e?1:0;break;case 338:s=2;break;case 35:o.push(r),i=!0;break;case 36:o.pop(),i=!1;break;default:if(t.T);else if(!i||a.WTF&&35!=o[o.length-1])throw new Error("Unexpected record 0x"+r.toString(16))}})),n}(e,0,r):function(e,t,r){var n={Types:[],Cell:[],Value:[]};if(!e)return n;var a,o=!1,i=2;return e.replace(ht,(function(e){var t=gt(e);switch(mt(t[0])){case"<?xml":case"<metadata":case"</metadata>":case"<metadataTypes":case"</metadataTypes>":case"</metadataType>":case"</futureMetadata>":case"<bk>":case"</bk>":case"</rc>":case"<extLst":case"<extLst>":case"</extLst>":case"<extLst/>":break;case"<metadataType":n.Types.push({name:t.name});break;case"<futureMetadata":for(var s=0;s<n.Types.length;++s)n.Types[s].name==t.name&&(a=n.Types[s]);break;case"<rc":1==i?n.Cell.push({type:n.Types[t.t-1].name,index:+t.v}):0==i&&n.Value.push({type:n.Types[t.t-1].name,index:+t.v});break;case"<cellMetadata":i=1;break;case"</cellMetadata>":case"</valueMetadata>":i=2;break;case"<valueMetadata":i=0;break;case"<ext":o=!0;break;case"</ext>":o=!1;break;case"<rvb":if(!a)break;a.offsets||(a.offsets=[]),a.offsets.push(+t.i);break;default:if(!o&&r.WTF)throw new Error("unrecognized "+t[0]+" in metadata")}return e})),n}(e,0,r)}function Al(e,t,r,n,a){return(".bin"===t.slice(-4)?Yc:Ic)(e,r,n,a)}function kl(e,t,r){return(".bin"===t.slice(-4)?fs:cs)(e,r)}var Tl,El=/([\w:]+)=((?:")([^"]*)(?:")|(?:')([^']*)(?:'))/g,_l=/([\w:]+)=((?:")(?:[^"]*)(?:")|(?:')(?:[^']*)(?:'))/;function Nl(e,t){var r=e.split(/\s+/),n=[];if(t||(n[0]=r[0]),1===r.length)return n;var a,o,i,s=e.match(El);if(s)for(i=0;i!=s.length;++i)-1===(o=(a=s[i].match(_l))[1].indexOf(":"))?n[a[1]]=a[2].slice(1,a[2].length-1):n["xmlns:"===a[1].slice(0,6)?"xmlns"+a[1].slice(6):a[1].slice(o+1)]=a[2].slice(1,a[2].length-1);return n}function Cl(e){var t={};if(1===e.split(/\s+/).length)return t;var r,n,a,o=e.match(El);if(o)for(a=0;a!=o.length;++a)-1===(n=(r=o[a].match(_l))[1].indexOf(":"))?t[r[1]]=r[2].slice(1,r[2].length-1):t["xmlns:"===r[1].slice(0,6)?"xmlns"+r[1].slice(6):r[1].slice(n+1)]=r[2].slice(1,r[2].length-1);return t}function Ol(e,t,r,n){var a=n;switch((r[0].match(/dt:dt="([\w.]+)"/)||["",""])[1]){case"boolean":a=_t(n);break;case"i2":case"int":a=parseInt(n,10);break;case"r4":case"float":a=parseFloat(n);break;case"date":case"dateTime.tz":a=ze(n);break;case"i8":case"string":case"fixed":case"uuid":case"bin.base64":break;default:throw new Error("bad custprop:"+r[0])}e[yt(t)]=a}function Rl(e,t,r){if("z"!==e.t){if(!r||!1!==r.cellText)try{"e"===e.t?e.w=e.w||Bn[e.v]:"General"===t?"n"===e.t?(0|e.v)===e.v?e.w=e.v.toString(10):e.w=Y(e.v):e.w=K(e.v):e.w=function(e,t){var r=Tl[e]||yt(e);return"General"===r?K(t):ve(r,t)}(t||"General",e.v)}catch(e){if(r.WTF)throw e}try{var n=Tl[t]||t||"General";if(r.cellNF&&(e.z=n),r.cellDates&&"n"==e.t&&de(n)){var a=H(e.v);a&&(e.t="d",e.v=new Date(a.y,a.m-1,a.d,a.H,a.M,a.S,a.u))}}catch(e){if(r.WTF)throw e}}}function Pl(e,t,r){if(r.cellStyles&&t.Interior){var n=t.Interior;n.Pattern&&(n.patternType=Ti[n.Pattern]||n.Pattern)}e[t.ID]=t}function Ll(e,t,r,n,a,o,i,s,c,l){var u="General",f=n.StyleID,h={};l=l||{};var d=[],p=0;for(void 0===f&&s&&(f=s.StyleID),void 0===f&&i&&(f=i.StyleID);void 0!==o[f]&&(o[f].nf&&(u=o[f].nf),o[f].Interior&&d.push(o[f].Interior),o[f].Parent);)f=o[f].Parent;switch(r.Type){case"Boolean":n.t="b",n.v=_t(e);break;case"String":n.t="s",n.r=Et(yt(e)),n.v=e.indexOf("<")>-1?yt(t||e).replace(/<.*?>/g,""):n.r;break;case"DateTime":"Z"!=e.slice(-1)&&(e+="Z"),n.v=(ze(e)-new Date(Date.UTC(1899,11,30)))/864e5,n.v!=n.v?n.v=yt(e):n.v<60&&(n.v=n.v-1),u&&"General"!=u||(u="yyyy-mm-dd");case"Number":void 0===n.v&&(n.v=+e),n.t||(n.t="n");break;case"Error":n.t="e",n.v=Wn[e],!1!==l.cellText&&(n.w=e);break;default:""==e&&""==t?n.t="z":(n.t="s",n.v=Et(t||e))}if(Rl(n,u,l),!1!==l.cellFormula)if(n.Formula){var g=yt(n.Formula);61==g.charCodeAt(0)&&(g=g.slice(1)),n.f=ps(g,a),delete n.Formula,"RC"==n.ArrayRange?n.F=ps("RC:RC",a):n.ArrayRange&&(n.F=ps(n.ArrayRange,a),c.push([Gr(n.F),n.F]))}else for(p=0;p<c.length;++p)a.r>=c[p][0].s.r&&a.r<=c[p][0].e.r&&a.c>=c[p][0].s.c&&a.c<=c[p][0].e.c&&(n.F=c[p][1]);l.cellStyles&&(d.forEach((function(e){!h.patternType&&e.patternType&&(h.patternType=e.patternType)})),n.s=h),void 0!==n.StyleID&&(n.ixfe=n.StyleID)}function Il(e){e.t=e.v||"",e.t=e.t.replace(/\r\n/g,"\n").replace(/\r/g,"\n"),e.v=e.w=e.ixfe=void 0}function Fl(e,r){var n=r||{};we();var a=f(qt(e));"binary"!=n.type&&"array"!=n.type&&"base64"!=n.type||(a=void 0!==t?t.utils.decode(65001,l(a)):Pt(a));var o,i=a.slice(0,1024).toLowerCase(),s=!1;if((1023&(i=i.replace(/".*?"/g,"")).indexOf(">"))>Math.min(1023&i.indexOf(","),1023&i.indexOf(";"))){var c=qe(n);return c.type="string",Io.to_workbook(a,c)}if(-1==i.indexOf("<?xml")&&["html","table","head","meta","script","style","div"].forEach((function(e){i.indexOf("<"+e)>=0&&(s=!0)})),s)return function(e,t){var r=e.match(/<table[\s\S]*?>[\s\S]*?<\/table>/gi);if(!r||0==r.length)throw new Error("Invalid HTML: could not find <table>");if(1==r.length)return Kr(uu(r[0],t),t);var n={SheetNames:[],Sheets:{}};return r.forEach((function(e,r){If(n,uu(e,t),"Sheet"+(r+1))})),n}(a,n);Tl={"General Number":"General","General Date":j[22],"Long Date":"dddd, mmmm dd, yyyy","Medium Date":j[15],"Short Date":j[14],"Long Time":j[19],"Medium Time":j[18],"Short Time":j[20],Currency:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',Fixed:j[2],Standard:j[4],Percent:j[10],Scientific:j[11],"Yes/No":'"Yes";"Yes";"No";@',"True/False":'"True";"True";"False";@',"On/Off":'"Yes";"Yes";"No";@'};var u,h=[];null!=p&&null==n.dense&&(n.dense=p);var d,g={},m=[],v=n.dense?[]:{},b="",y={},w={},S=Nl('<Data ss:Type="String">'),x=0,A=0,k=0,T={s:{r:2e6,c:2e6},e:{r:0,c:0}},E={},_={},N="",C=0,O=[],R={},P={},L=0,I=[],F=[],D={},M=[],B=!1,W=[],U=[],H={},z=0,V=0,q={Sheets:[],WBProps:{date1904:!1}},$={};$t.lastIndex=0,a=a.replace(/<!--([\s\S]*?)-->/gm,"");for(var G="";o=$t.exec(a);)switch(o[3]=(G=o[3]).toLowerCase()){case"data":if("data"==G){if("/"===o[1]){if((u=h.pop())[0]!==o[3])throw new Error("Bad state: "+u.join("|"))}else"/"!==o[0].charAt(o[0].length-2)&&h.push([o[3],!0]);break}if(h[h.length-1][1])break;"/"===o[1]?Ll(a.slice(x,o.index),N,S,"comment"==h[h.length-1][0]?D:y,{c:A,r:k},E,M[A],w,W,n):(N="",S=Nl(o[0]),x=o.index+o[0].length);break;case"cell":if("/"===o[1])if(F.length>0&&(y.c=F),(!n.sheetRows||n.sheetRows>k)&&void 0!==y.v&&(n.dense?(v[k]||(v[k]=[]),v[k][A]=y):v[Hr(A)+Wr(k)]=y),y.HRef&&(y.l={Target:yt(y.HRef)},y.HRefScreenTip&&(y.l.Tooltip=y.HRefScreenTip),delete y.HRef,delete y.HRefScreenTip),(y.MergeAcross||y.MergeDown)&&(z=A+(0|parseInt(y.MergeAcross,10)),V=k+(0|parseInt(y.MergeDown,10)),O.push({s:{c:A,r:k},e:{c:z,r:V}})),n.sheetStubs)if(y.MergeAcross||y.MergeDown){for(var X=A;X<=z;++X)for(var Y=k;Y<=V;++Y)(X>A||Y>k)&&(n.dense?(v[Y]||(v[Y]=[]),v[Y][X]={t:"z"}):v[Hr(X)+Wr(Y)]={t:"z"});A=z+1}else++A;else y.MergeAcross?A=z+1:++A;else(y=Cl(o[0])).Index&&(A=+y.Index-1),A<T.s.c&&(T.s.c=A),A>T.e.c&&(T.e.c=A),"/>"===o[0].slice(-2)&&++A,F=[];break;case"row":"/"===o[1]||"/>"===o[0].slice(-2)?(k<T.s.r&&(T.s.r=k),k>T.e.r&&(T.e.r=k),"/>"===o[0].slice(-2)&&(w=Nl(o[0])).Index&&(k=+w.Index-1),A=0,++k):((w=Nl(o[0])).Index&&(k=+w.Index-1),H={},("0"==w.AutoFitHeight||w.Height)&&(H.hpx=parseInt(w.Height,10),H.hpt=Ai(H.hpx),U[k]=H),"1"==w.Hidden&&(H.hidden=!0,U[k]=H));break;case"worksheet":if("/"===o[1]){if((u=h.pop())[0]!==o[3])throw new Error("Bad state: "+u.join("|"));m.push(b),T.s.r<=T.e.r&&T.s.c<=T.e.c&&(v["!ref"]=$r(T),n.sheetRows&&n.sheetRows<=T.e.r&&(v["!fullref"]=v["!ref"],T.e.r=n.sheetRows-1,v["!ref"]=$r(T))),O.length&&(v["!merges"]=O),M.length>0&&(v["!cols"]=M),U.length>0&&(v["!rows"]=U),g[b]=v}else T={s:{r:2e6,c:2e6},e:{r:0,c:0}},k=A=0,h.push([o[3],!1]),u=Nl(o[0]),b=yt(u.Name),v=n.dense?[]:{},O=[],W=[],U=[],$={name:b,Hidden:0},q.Sheets.push($);break;case"table":if("/"===o[1]){if((u=h.pop())[0]!==o[3])throw new Error("Bad state: "+u.join("|"))}else{if("/>"==o[0].slice(-2))break;h.push([o[3],!1]),M=[],B=!1}break;case"style":"/"===o[1]?Pl(E,_,n):_=Nl(o[0]);break;case"numberformat":_.nf=yt(Nl(o[0]).Format||"General"),Tl[_.nf]&&(_.nf=Tl[_.nf]);for(var K=0;392!=K&&j[K]!=_.nf;++K);if(392==K)for(K=57;392!=K;++K)if(null==j[K]){be(_.nf,K);break}break;case"column":if("table"!==h[h.length-1][0])break;if((d=Nl(o[0])).Hidden&&(d.hidden=!0,delete d.Hidden),d.Width&&(d.wpx=parseInt(d.Width,10)),!B&&d.wpx>10){B=!0,gi=hi;for(var J=0;J<M.length;++J)M[J]&&Si(M[J])}B&&Si(d),M[d.Index-1||M.length]=d;for(var Z=0;Z<+d.Span;++Z)M[M.length]=qe(d);break;case"namedrange":if("/"===o[1])break;q.Names||(q.Names=[]);var Q=gt(o[0]),ee={Name:Q.Name,Ref:ps(Q.RefersTo.slice(1),{r:0,c:0})};q.Sheets.length>0&&(ee.Sheet=q.Sheets.length-1),q.Names.push(ee);break;case"namedcell":case"b":case"i":case"u":case"s":case"em":case"h2":case"h3":case"sub":case"sup":case"span":case"alignment":case"borders":case"border":case"protection":case"paragraphs":case"name":case"pixelsperinch":case"null":break;case"font":if("/>"===o[0].slice(-2))break;"/"===o[1]?N+=a.slice(C,o.index):C=o.index+o[0].length;break;case"interior":if(!n.cellStyles)break;_.Interior=Nl(o[0]);break;case"author":case"title":case"description":case"created":case"keywords":case"subject":case"category":case"company":case"lastauthor":case"lastsaved":case"lastprinted":case"version":case"revision":case"totaltime":case"hyperlinkbase":case"manager":case"contentstatus":case"identifier":case"language":case"appname":if("/>"===o[0].slice(-2))break;"/"===o[1]?ha(R,G,a.slice(L,o.index)):L=o.index+o[0].length;break;case"styles":case"workbook":if("/"===o[1]){if((u=h.pop())[0]!==o[3])throw new Error("Bad state: "+u.join("|"))}else h.push([o[3],!1]);break;case"comment":if("/"===o[1]){if((u=h.pop())[0]!==o[3])throw new Error("Bad state: "+u.join("|"));Il(D),F.push(D)}else h.push([o[3],!1]),D={a:(u=Nl(o[0])).Author};break;case"autofilter":if("/"===o[1]){if((u=h.pop())[0]!==o[3])throw new Error("Bad state: "+u.join("|"))}else if("/"!==o[0].charAt(o[0].length-2)){var te=Nl(o[0]);v["!autofilter"]={ref:ps(te.Range).replace(/\$/g,"")},h.push([o[3],!0])}break;case"datavalidation":if("/"===o[1]){if((u=h.pop())[0]!==o[3])throw new Error("Bad state: "+u.join("|"))}else"/"!==o[0].charAt(o[0].length-2)&&h.push([o[3],!0]);break;case"componentoptions":case"documentproperties":case"customdocumentproperties":case"officedocumentsettings":case"pivottable":case"pivotcache":case"names":case"mapinfo":case"pagebreaks":case"querytable":case"sorting":case"schema":case"conditionalformatting":case"smarttagtype":case"smarttags":case"excelworkbook":case"workbookoptions":case"worksheetoptions":if("/"===o[1]){if((u=h.pop())[0]!==o[3])throw new Error("Bad state: "+u.join("|"))}else"/"!==o[0].charAt(o[0].length-2)&&h.push([o[3],!0]);break;default:if(0==h.length&&"document"==o[3])return Au(a,n);if(0==h.length&&"uof"==o[3])return Au(a,n);var re=!0;switch(h[h.length-1][0]){case"officedocumentsettings":switch(o[3]){case"allowpng":case"removepersonalinformation":case"downloadcomponents":case"locationofcomponents":case"colors":case"color":case"index":case"rgb":case"targetscreensize":case"readonlyrecommended":break;default:re=!1}break;case"componentoptions":switch(o[3]){case"toolbar":case"hideofficelogo":case"spreadsheetautofit":case"label":case"caption":case"maxheight":case"maxwidth":case"nextsheetnumber":break;default:re=!1}break;case"excelworkbook":switch(o[3]){case"date1904":q.WBProps.date1904=!0;break;case"windowheight":case"windowwidth":case"windowtopx":case"windowtopy":case"tabratio":case"protectstructure":case"protectwindow":case"protectwindows":case"activesheet":case"displayinknotes":case"firstvisiblesheet":case"supbook":case"sheetname":case"sheetindex":case"sheetindexfirst":case"sheetindexlast":case"dll":case"acceptlabelsinformulas":case"donotsavelinkvalues":case"iteration":case"maxiterations":case"maxchange":case"path":case"xct":case"count":case"selectedsheets":case"calculation":case"uncalced":case"startupprompt":case"crn":case"externname":case"formula":case"colfirst":case"collast":case"wantadvise":case"boolean":case"error":case"text":case"ole":case"noautorecover":case"publishobjects":case"donotcalculatebeforesave":case"number":case"refmoder1c1":case"embedsavesmarttags":break;default:re=!1}break;case"workbookoptions":switch(o[3]){case"owcversion":case"height":case"width":break;default:re=!1}break;case"worksheetoptions":switch(o[3]){case"visible":if("/>"===o[0].slice(-2));else if("/"===o[1])switch(a.slice(L,o.index)){case"SheetHidden":$.Hidden=1;break;case"SheetVeryHidden":$.Hidden=2}else L=o.index+o[0].length;break;case"header":v["!margins"]||dc(v["!margins"]={},"xlml"),isNaN(+gt(o[0]).Margin)||(v["!margins"].header=+gt(o[0]).Margin);break;case"footer":v["!margins"]||dc(v["!margins"]={},"xlml"),isNaN(+gt(o[0]).Margin)||(v["!margins"].footer=+gt(o[0]).Margin);break;case"pagemargins":var ne=gt(o[0]);v["!margins"]||dc(v["!margins"]={},"xlml"),isNaN(+ne.Top)||(v["!margins"].top=+ne.Top),isNaN(+ne.Left)||(v["!margins"].left=+ne.Left),isNaN(+ne.Right)||(v["!margins"].right=+ne.Right),isNaN(+ne.Bottom)||(v["!margins"].bottom=+ne.Bottom);break;case"displayrighttoleft":q.Views||(q.Views=[]),q.Views[0]||(q.Views[0]={}),q.Views[0].RTL=!0;break;case"freezepanes":case"frozennosplit":case"splithorizontal":case"splitvertical":case"donotdisplaygridlines":case"activerow":case"activecol":case"toprowbottompane":case"leftcolumnrightpane":case"unsynced":case"print":case"printerrors":case"panes":case"scale":case"pane":case"number":case"layout":case"pagesetup":case"selected":case"protectobjects":case"enableselection":case"protectscenarios":case"validprinterinfo":case"horizontalresolution":case"verticalresolution":case"numberofcopies":case"activepane":case"toprowvisible":case"leftcolumnvisible":case"fittopage":case"rangeselection":case"papersizeindex":case"pagelayoutzoom":case"pagebreakzoom":case"filteron":case"fitwidth":case"fitheight":case"commentslayout":case"zoom":case"lefttoright":case"gridlines":case"allowsort":case"allowfilter":case"allowinsertrows":case"allowdeleterows":case"allowinsertcols":case"allowdeletecols":case"allowinserthyperlinks":case"allowformatcells":case"allowsizecols":case"allowsizerows":case"tabcolorindex":case"donotdisplayheadings":case"showpagelayoutzoom":case"blackandwhite":case"donotdisplayzeros":case"displaypagebreak":case"rowcolheadings":case"donotdisplayoutline":case"noorientation":case"allowusepivottables":case"zeroheight":case"viewablerange":case"selection":case"protectcontents":break;case"nosummaryrowsbelowdetail":v["!outline"]||(v["!outline"]={}),v["!outline"].above=!0;break;case"nosummarycolumnsrightdetail":v["!outline"]||(v["!outline"]={}),v["!outline"].left=!0;break;default:re=!1}break;case"pivottable":case"pivotcache":switch(o[3]){case"immediateitemsondrop":case"showpagemultipleitemlabel":case"compactrowindent":case"location":case"pivotfield":case"orientation":case"layoutform":case"layoutsubtotallocation":case"layoutcompactrow":case"position":case"pivotitem":case"datatype":case"datafield":case"sourcename":case"parentfield":case"ptlineitems":case"ptlineitem":case"countofsameitems":case"item":case"itemtype":case"ptsource":case"cacheindex":case"consolidationreference":case"filename":case"reference":case"nocolumngrand":case"norowgrand":case"blanklineafteritems":case"hidden":case"subtotal":case"basefield":case"mapchilditems":case"function":case"refreshonfileopen":case"printsettitles":case"mergelabels":case"defaultversion":case"refreshname":case"refreshdate":case"refreshdatecopy":case"versionlastrefresh":case"versionlastupdate":case"versionupdateablemin":case"versionrefreshablemin":case"calculation":break;default:re=!1}break;case"pagebreaks":switch(o[3]){case"colbreaks":case"colbreak":case"rowbreaks":case"rowbreak":case"colstart":case"colend":case"rowend":break;default:re=!1}break;case"autofilter":switch(o[3]){case"autofiltercolumn":case"autofiltercondition":case"autofilterand":case"autofilteror":break;default:re=!1}break;case"querytable":switch(o[3]){case"id":case"autoformatfont":case"autoformatpattern":case"querysource":case"querytype":case"enableredirections":case"refreshedinxl9":case"urlstring":case"htmltables":case"connection":case"commandtext":case"refreshinfo":case"notitles":case"nextid":case"columninfo":case"overwritecells":case"donotpromptforfile":case"textwizardsettings":case"source":case"number":case"decimal":case"thousandseparator":case"trailingminusnumbers":case"formatsettings":case"fieldtype":case"delimiters":case"tab":case"comma":case"autoformatname":case"versionlastedit":case"versionlastrefresh":break;default:re=!1}break;case"datavalidation":switch(o[3]){case"range":case"type":case"min":case"max":case"sort":case"descending":case"order":case"casesensitive":case"value":case"errorstyle":case"errormessage":case"errortitle":case"inputmessage":case"inputtitle":case"combohide":case"inputhide":case"condition":case"qualifier":case"useblank":case"value1":case"value2":case"format":case"cellrangelist":break;default:re=!1}break;case"sorting":case"conditionalformatting":switch(o[3]){case"range":case"type":case"min":case"max":case"sort":case"descending":case"order":case"casesensitive":case"value":case"errorstyle":case"errormessage":case"errortitle":case"cellrangelist":case"inputmessage":case"inputtitle":case"combohide":case"inputhide":case"condition":case"qualifier":case"useblank":case"value1":case"value2":case"format":break;default:re=!1}break;case"mapinfo":case"schema":case"data":switch(o[3]){case"map":case"entry":case"range":case"xpath":case"field":case"xsdtype":case"filteron":case"aggregate":case"elementtype":case"attributetype":case"schema":case"element":case"complextype":case"datatype":case"all":case"attribute":case"extends":case"row":break;default:re=!1}break;case"smarttags":break;default:re=!1}if(re)break;if(o[3].match(/!\[CDATA/))break;if(!h[h.length-1][1])throw"Unrecognized tag: "+o[3]+"|"+h.join("|");if("customdocumentproperties"===h[h.length-1][0]){if("/>"===o[0].slice(-2))break;"/"===o[1]?Ol(P,G,I,a.slice(L,o.index)):(I=o,L=o.index+o[0].length);break}if(n.WTF)throw"Unrecognized tag: "+o[3]+"|"+h.join("|")}var ae={};return n.bookSheets||n.bookProps||(ae.Sheets=g),ae.SheetNames=m,ae.Workbook=q,ae.SSF=qe(j),ae.Props=R,ae.Custprops=P,ae}function Dl(e,t){switch(tf(t=t||{}),t.type||"base64"){case"base64":return Fl(v(e),t);case"binary":case"buffer":case"file":return Fl(e,t);case"array":return Fl(k(e),t)}}function Ml(e,t){var r=[];return e.Props&&r.push(function(e,t){var r=[];return Ce(fa).map((function(e){for(var t=0;t<Qn.length;++t)if(Qn[t][1]==e)return Qn[t];for(t=0;t<aa.length;++t)if(aa[t][1]==e)return aa[t];throw e})).forEach((function(n){if(null!=e[n[1]]){var a=t&&t.Props&&null!=t.Props[n[1]]?t.Props[n[1]]:e[n[1]];"date"===n[2]&&(a=new Date(a).toISOString().replace(/\.\d*Z/,"Z")),"number"==typeof a?a=String(a):!0===a||!1===a?a=a?"1":"0":a instanceof Date&&(a=new Date(a).toISOString().replace(/\.\d*Z/,"")),r.push(Ut(fa[n[1]]||n[1],a))}})),zt("DocumentProperties",r.join(""),{xmlns:Yt.o})}(e.Props,t)),e.Custprops&&r.push(function(e,t){var r=["Worksheets","SheetNames"],n="CustomDocumentProperties",a=[];return e&&Ce(e).forEach((function(t){if(Object.prototype.hasOwnProperty.call(e,t)){for(var n=0;n<Qn.length;++n)if(t==Qn[n][1])return;for(n=0;n<aa.length;++n)if(t==aa[n][1])return;for(n=0;n<r.length;++n)if(t==r[n])return;var o=e[t],i="string";"number"==typeof o?(i="float",o=String(o)):!0===o||!1===o?(i="boolean",o=o?"1":"0"):o=String(o),a.push(zt(At(t),o,{"dt:dt":i}))}})),t&&Ce(t).forEach((function(r){if(Object.prototype.hasOwnProperty.call(t,r)&&(!e||!Object.prototype.hasOwnProperty.call(e,r))){var n=t[r],o="string";"number"==typeof n?(o="float",n=String(n)):!0===n||!1===n?(o="boolean",n=n?"1":"0"):n instanceof Date?(o="dateTime.tz",n=n.toISOString()):n=String(n),a.push(zt(At(r),n,{"dt:dt":o}))}})),"<"+n+' xmlns="'+Yt.o+'">'+a.join("")+"</"+n+">"}(e.Props,e.Custprops)),r.join("")}function jl(e){return zt("NamedRange",null,{"ss:Name":e.Name,"ss:RefersTo":"="+ms(e.Ref,{r:0,c:0})})}function Bl(e,t,r,n,a,o,i){if(!e||null==e.v&&null==e.f)return"";var s={};if(e.f&&(s["ss:Formula"]="="+xt(ms(e.f,i))),e.F&&e.F.slice(0,t.length)==t){var c=zr(e.F.slice(t.length+1));s["ss:ArrayRange"]="RC:R"+(c.r==i.r?"":"["+(c.r-i.r)+"]")+"C"+(c.c==i.c?"":"["+(c.c-i.c)+"]")}if(e.l&&e.l.Target&&(s["ss:HRef"]=xt(e.l.Target),e.l.Tooltip&&(s["x:HRefScreenTip"]=xt(e.l.Tooltip))),r["!merges"])for(var l=r["!merges"],u=0;u!=l.length;++u)l[u].s.c==i.c&&l[u].s.r==i.r&&(l[u].e.c>l[u].s.c&&(s["ss:MergeAcross"]=l[u].e.c-l[u].s.c),l[u].e.r>l[u].s.r&&(s["ss:MergeDown"]=l[u].e.r-l[u].s.r));var f="",h="";switch(e.t){case"z":if(!n.sheetStubs)return"";break;case"n":f="Number",h=String(e.v);break;case"b":f="Boolean",h=e.v?"1":"0";break;case"e":f="Error",h=Bn[e.v];break;case"d":f="DateTime",h=new Date(e.v).toISOString(),null==e.z&&(e.z=e.z||j[14]);break;case"s":f="String",h=function(e){return(e+"").replace(wt,(function(e){return bt[e]})).replace(kt,(function(e){return"&#x"+e.charCodeAt(0).toString(16).toUpperCase()+";"}))}(e.v||"")}var d=pc(n.cellXfs,e,n);s["ss:StyleID"]="s"+(21+d),s["ss:Index"]=i.c+1;var p=null!=e.v?h:"",g="z"==e.t?"":'<Data ss:Type="'+f+'">'+p+"</Data>";return(e.c||[]).length>0&&(g+=function(e){return e.map((function(e){var t=function(e){return e.replace(/(\r\n|[\r\n])/g," ")}(e.t||""),r=zt("ss:Data",t,{xmlns:"http://www.w3.org/TR/REC-html40"});return zt("Comment",r,{"ss:Author":e.a})})).join("")}(e.c)),zt("Cell",g,s)}function Wl(e,t){var r='<Row ss:Index="'+(e+1)+'"';return t&&(t.hpt&&!t.hpx&&(t.hpx=ki(t.hpt)),t.hpx&&(r+=' ss:AutoFitHeight="0" ss:Height="'+t.hpx+'"'),t.hidden&&(r+=' ss:Hidden="1"')),r+">"}function Ul(e,t,r){var n=[],a=r.SheetNames[e],o=r.Sheets[a],i=o?function(e,t,r,n){if(!e)return"";if(!((n||{}).Workbook||{}).Names)return"";for(var a=n.Workbook.Names,o=[],i=0;i<a.length;++i){var s=a[i];s.Sheet==r&&(s.Name.match(/^_xlfn\./)||o.push(jl(s)))}return o.join("")}(o,0,e,r):"";return i.length>0&&n.push("<Names>"+i+"</Names>"),i=o?function(e,t,r,n){if(!e["!ref"])return"";var a=Gr(e["!ref"]),o=e["!merges"]||[],i=0,s=[];e["!cols"]&&e["!cols"].forEach((function(e,t){Si(e);var r=!!e.width,n=hc(t,e),a={"ss:Index":t+1};r&&(a["ss:Width"]=mi(n.width)),e.hidden&&(a["ss:Hidden"]="1"),s.push(zt("Column",null,a))}));for(var c=Array.isArray(e),l=a.s.r;l<=a.e.r;++l){for(var u=[Wl(l,(e["!rows"]||[])[l])],f=a.s.c;f<=a.e.c;++f){var h=!1;for(i=0;i!=o.length;++i)if(!(o[i].s.c>f||o[i].s.r>l||o[i].e.c<f||o[i].e.r<l)){o[i].s.c==f&&o[i].s.r==l||(h=!0);break}if(!h){var d={r:l,c:f},p=Vr(d),g=c?(e[l]||[])[f]:e[p];u.push(Bl(g,p,e,t,0,0,d))}}u.push("</Row>"),u.length>2&&s.push(u.join(""))}return s.join("")}(o,t):"",i.length>0&&n.push("<Table>"+i+"</Table>"),n.push(function(e,t,r,n){if(!e)return"";var a=[];if(e["!margins"]&&(a.push("<PageSetup>"),e["!margins"].header&&a.push(zt("Header",null,{"x:Margin":e["!margins"].header})),e["!margins"].footer&&a.push(zt("Footer",null,{"x:Margin":e["!margins"].footer})),a.push(zt("PageMargins",null,{"x:Bottom":e["!margins"].bottom||"0.75","x:Left":e["!margins"].left||"0.7","x:Right":e["!margins"].right||"0.7","x:Top":e["!margins"].top||"0.75"})),a.push("</PageSetup>")),n&&n.Workbook&&n.Workbook.Sheets&&n.Workbook.Sheets[r])if(n.Workbook.Sheets[r].Hidden)a.push(zt("Visible",1==n.Workbook.Sheets[r].Hidden?"SheetHidden":"SheetVeryHidden",{}));else{for(var o=0;o<r&&(!n.Workbook.Sheets[o]||n.Workbook.Sheets[o].Hidden);++o);o==r&&a.push("<Selected/>")}return((((n||{}).Workbook||{}).Views||[])[0]||{}).RTL&&a.push("<DisplayRightToLeft/>"),e["!protect"]&&(a.push(Ut("ProtectContents","True")),e["!protect"].objects&&a.push(Ut("ProtectObjects","True")),e["!protect"].scenarios&&a.push(Ut("ProtectScenarios","True")),null==e["!protect"].selectLockedCells||e["!protect"].selectLockedCells?null==e["!protect"].selectUnlockedCells||e["!protect"].selectUnlockedCells||a.push(Ut("EnableSelection","UnlockedCells")):a.push(Ut("EnableSelection","NoSelection")),[["formatCells","AllowFormatCells"],["formatColumns","AllowSizeCols"],["formatRows","AllowSizeRows"],["insertColumns","AllowInsertCols"],["insertRows","AllowInsertRows"],["insertHyperlinks","AllowInsertHyperlinks"],["deleteColumns","AllowDeleteCols"],["deleteRows","AllowDeleteRows"],["sort","AllowSort"],["autoFilter","AllowFilter"],["pivotTables","AllowUsePivotTables"]].forEach((function(t){e["!protect"][t[0]]&&a.push("<"+t[1]+"/>")}))),0==a.length?"":zt("WorksheetOptions",a.join(""),{xmlns:Yt.x})}(o,0,e,r)),n.join("")}function Hl(e,t){t||(t={}),e.SSF||(e.SSF=qe(j)),e.SSF&&(we(),ye(e.SSF),t.revssf=Pe(e.SSF),t.revssf[e.SSF[65535]]=0,t.ssf=e.SSF,t.cellXfs=[],pc(t.cellXfs,{},{revssf:{General:0}}));var r=[];r.push(Ml(e,t)),r.push(""),r.push(""),r.push("");for(var n=0;n<e.SheetNames.length;++n)r.push(zt("Worksheet",Ul(n,t,e),{"ss:Name":xt(e.SheetNames[n])}));return r[2]=function(e,t){var r=['<Style ss:ID="Default" ss:Name="Normal"><NumberFormat/></Style>'];return t.cellXfs.forEach((function(e,t){var n=[];n.push(zt("NumberFormat",null,{"ss:Format":xt(j[e.numFmtId])}));var a={"ss:ID":"s"+(21+t)};r.push(zt("Style",n.join(""),a))})),zt("Styles",r.join(""))}(0,t),r[3]=function(e){if(!((e||{}).Workbook||{}).Names)return"";for(var t=e.Workbook.Names,r=[],n=0;n<t.length;++n){var a=t[n];null==a.Sheet&&(a.Name.match(/^_xlfn\./)||r.push(jl(a)))}return zt("Names",r.join(""))}(e),lt+zt("Workbook",r.join(""),{xmlns:Yt.ss,"xmlns:o":Yt.o,"xmlns:x":Yt.x,"xmlns:ss":Yt.ss,"xmlns:dt":Yt.dt,"xmlns:html":Yt.html})}function zl(e){var t={},r=e.content;if(r.l=28,t.AnsiUserType=r._R(0,"lpstr-ansi"),t.AnsiClipboardFormat=function(e){return En(e,1)}(r),r.length-r.l<=4)return t;var n=r._R(4);return 0==n||n>40?t:(r.l-=4,t.Reserved1=r._R(0,"lpstr-ansi"),r.length-r.l<=4||1907505652!==(n=r._R(4))?t:(t.UnicodeClipboardFormat=function(e){return En(e,2)}(r),0==(n=r._R(4))||n>40?t:(r.l-=4,void(t.Reserved2=r._R(0,"lpwstr")))))}var Vl=[60,1084,2066,2165,2175];function ql(e,t,r,n,a){var o=n,i=[],s=r.slice(r.l,r.l+o);if(a&&a.enc&&a.enc.insitu&&s.length>0)switch(e){case 9:case 521:case 1033:case 2057:case 47:case 405:case 225:case 406:case 312:case 404:case 10:case 133:break;default:a.enc.insitu(s)}i.push(s),r.l+=o;for(var c=br(r,r.l),l=Ql[c],u=0;null!=l&&Vl.indexOf(c)>-1;)o=br(r,r.l+2),u=r.l+4,2066==c?u+=4:2165!=c&&2175!=c||(u+=12),s=r.slice(u,r.l+4+o),i.push(s),r.l+=4+o,l=Ql[c=br(r,r.l)];var f=E(i);Cr(f,0);var h=0;f.lens=[];for(var d=0;d<i.length;++d)f.lens.push(h),h+=i[d].length;if(f.length<n)throw"XLS Record 0x"+e.toString(16)+" Truncated: "+f.length+" < "+n;return t.f(f,f.length,a)}function $l(e,t,r){if("z"!==e.t&&e.XF){var n=0;try{n=e.z||e.XF.numFmtId||0,t.cellNF&&(e.z=j[n])}catch(e){if(t.WTF)throw e}if(!t||!1!==t.cellText)try{"e"===e.t?e.w=e.w||Bn[e.v]:0===n||"General"==n?"n"===e.t?(0|e.v)===e.v?e.w=e.v.toString(10):e.w=Y(e.v):e.w=K(e.v):e.w=ve(n,e.v,{date1904:!!r,dateNF:t&&t.dateNF})}catch(e){if(t.WTF)throw e}if(t.cellDates&&n&&"n"==e.t&&de(j[n]||String(n))){var a=H(e.v);a&&(e.t="d",e.v=new Date(a.y,a.m-1,a.d,a.H,a.M,a.S,a.u))}}}function Gl(e,t,r){return{v:e,ixfe:t,t:r}}function Xl(e,t){var r={opts:{}},n={};null!=p&&null==t.dense&&(t.dense=p);var a,o,i,c,l,u,f,h,d=t.dense?[]:{},g={},m={},v=null,b=[],y="",w={},S="",x={},A=[],k=[],T=[],E={Sheets:[],WBProps:{date1904:!1},Views:[{}]},_={},N=function(e){return e<8?jn[e]:e<64&&T[e-8]||jn[e]},C=function(e,t,r){if(!(W>1||r.sheetRows&&e.r>=r.sheetRows)){if(r.cellStyles&&t.XF&&t.XF.data&&function(e,t,r){var n,a=t.XF.data;a&&a.patternType&&r&&r.cellStyles&&(t.s={},t.s.patternType=a.patternType,(n=ui(N(a.icvFore)))&&(t.s.fgColor={rgb:n}),(n=ui(N(a.icvBack)))&&(t.s.bgColor={rgb:n}))}(0,t,r),delete t.ixfe,delete t.XF,a=e,S=Vr(e),m&&m.s&&m.e||(m={s:{r:0,c:0},e:{r:0,c:0}}),e.r<m.s.r&&(m.s.r=e.r),e.c<m.s.c&&(m.s.c=e.c),e.r+1>m.e.r&&(m.e.r=e.r+1),e.c+1>m.e.c&&(m.e.c=e.c+1),r.cellFormula&&t.f)for(var n=0;n<A.length;++n)if(!(A[n][0].s.c>e.c||A[n][0].s.r>e.r||A[n][0].e.c<e.c||A[n][0].e.r<e.r)){t.F=$r(A[n][0]),A[n][0].s.c==e.c&&A[n][0].s.r==e.r||delete t.f,t.f&&(t.f=""+qs(A[n][1],0,e,D,O));break}r.dense?(d[e.r]||(d[e.r]=[]),d[e.r][e.c]=t):d[S]=t}},O={enc:!1,sbcch:0,snames:[],sharedf:x,arrayf:A,rrtabid:[],lastuser:"",biff:8,codepage:0,winlocked:0,cellStyles:!!t&&!!t.cellStyles,WTF:!!t&&!!t.wtf};t.password&&(O.password=t.password);var R=[],P=[],L=[],I=[],F=!1,D=[];D.SheetNames=O.snames,D.sharedf=O.sharedf,D.arrayf=O.arrayf,D.names=[],D.XTI=[];var M,B=0,W=0,U=0,H=[],z=[];O.codepage=1200,s(1200);for(var V=!1;e.l<e.length-1;){var q=e.l,$=e._R(2);if(0===$&&10===B)break;var G=e.l===e.length?0:e._R(2),X=Ql[$];if(X&&X.f){if(t.bookSheets&&133===B&&133!==$)break;if(B=$,2===X.r||12==X.r){var Y=e._R(2);if(G-=2,!O.enc&&Y!==$&&((255&Y)<<8|Y>>8)!==$)throw new Error("rt mismatch: "+Y+"!="+$);12==X.r&&(e.l+=10,G-=10)}var K={};if(K=10===$?X.f(e,G,O):ql($,X,e,G,O),0==W&&-1===[9,521,1033,2057].indexOf(B))continue;switch($){case 34:r.opts.Date1904=E.WBProps.date1904=K;break;case 134:r.opts.WriteProtect=!0;break;case 47:if(O.enc||(e.l=0),O.enc=K,!t.password)throw new Error("File is password-protected");if(null==K.valid)throw new Error("Encryption scheme unsupported");if(!K.valid)throw new Error("Password is incorrect");break;case 92:O.lastuser=K;break;case 66:var J=Number(K);switch(J){case 21010:J=1200;break;case 32768:J=1e4;break;case 32769:J=1252}s(O.codepage=J),V=!0;break;case 317:O.rrtabid=K;break;case 25:O.winlocked=K;break;case 439:r.opts.RefreshAll=K;break;case 12:r.opts.CalcCount=K;break;case 16:r.opts.CalcDelta=K;break;case 17:r.opts.CalcIter=K;break;case 13:r.opts.CalcMode=K;break;case 14:r.opts.CalcPrecision=K;break;case 95:r.opts.CalcSaveRecalc=K;break;case 15:O.CalcRefMode=K;break;case 2211:r.opts.FullCalc=K;break;case 129:K.fDialog&&(d["!type"]="dialog"),K.fBelow||((d["!outline"]||(d["!outline"]={})).above=!0),K.fRight||((d["!outline"]||(d["!outline"]={})).left=!0);break;case 224:k.push(K);break;case 430:D.push([K]),D[D.length-1].XTI=[];break;case 35:case 547:D[D.length-1].push(K);break;case 24:case 536:M={Name:K.Name,Ref:qs(K.rgce,0,null,D,O)},K.itab>0&&(M.Sheet=K.itab-1),D.names.push(M),D[0]||(D[0]=[],D[0].XTI=[]),D[D.length-1].push(K),"_xlnm._FilterDatabase"==K.Name&&K.itab>0&&K.rgce&&K.rgce[0]&&K.rgce[0][0]&&"PtgArea3d"==K.rgce[0][0][0]&&(z[K.itab-1]={ref:$r(K.rgce[0][0][1][2])});break;case 22:O.ExternCount=K;break;case 23:0==D.length&&(D[0]=[],D[0].XTI=[]),D[D.length-1].XTI=D[D.length-1].XTI.concat(K),D.XTI=D.XTI.concat(K);break;case 2196:if(O.biff<8)break;null!=M&&(M.Comment=K[1]);break;case 18:d["!protect"]=K;break;case 19:0!==K&&O.WTF&&console.error("Password verifier: "+K);break;case 133:g[K.pos]=K,O.snames.push(K.name);break;case 10:if(--W)break;if(m.e){if(m.e.r>0&&m.e.c>0){if(m.e.r--,m.e.c--,d["!ref"]=$r(m),t.sheetRows&&t.sheetRows<=m.e.r){var Z=m.e.r;m.e.r=t.sheetRows-1,d["!fullref"]=d["!ref"],d["!ref"]=$r(m),m.e.r=Z}m.e.r++,m.e.c++}R.length>0&&(d["!merges"]=R),P.length>0&&(d["!objects"]=P),L.length>0&&(d["!cols"]=L),I.length>0&&(d["!rows"]=I),E.Sheets.push(_)}""===y?w=d:n[y]=d,d=t.dense?[]:{};break;case 9:case 521:case 1033:case 2057:if(8===O.biff&&(O.biff={9:2,521:3,1033:4}[$]||{512:2,768:3,1024:4,1280:5,1536:8,2:2,7:2}[K.BIFFVer]||8),O.biffguess=0==K.BIFFVer,0==K.BIFFVer&&4096==K.dt&&(O.biff=5,V=!0,s(O.codepage=28591)),8==O.biff&&0==K.BIFFVer&&16==K.dt&&(O.biff=2),W++)break;if(d=t.dense?[]:{},O.biff<8&&!V&&(V=!0,s(O.codepage=t.codepage||1252)),O.biff<5||0==K.BIFFVer&&4096==K.dt){""===y&&(y="Sheet1"),m={s:{r:0,c:0},e:{r:0,c:0}};var Q={pos:e.l-G,name:y};g[Q.pos]=Q,O.snames.push(y)}else y=(g[q]||{name:""}).name;32==K.dt&&(d["!type"]="chart"),64==K.dt&&(d["!type"]="macro"),R=[],P=[],O.arrayf=A=[],L=[],I=[],F=!1,_={Hidden:(g[q]||{hs:0}).hs,name:y};break;case 515:case 3:case 2:"chart"==d["!type"]&&(t.dense?(d[K.r]||[])[K.c]:d[Vr({c:K.c,r:K.r})])&&++K.c,u={ixfe:K.ixfe,XF:k[K.ixfe]||{},v:K.val,t:"n"},U>0&&(u.z=H[u.ixfe>>8&63]),$l(u,t,r.opts.Date1904),C({c:K.c,r:K.r},u,t);break;case 5:case 517:u={ixfe:K.ixfe,XF:k[K.ixfe],v:K.val,t:K.t},U>0&&(u.z=H[u.ixfe>>8&63]),$l(u,t,r.opts.Date1904),C({c:K.c,r:K.r},u,t);break;case 638:u={ixfe:K.ixfe,XF:k[K.ixfe],v:K.rknum,t:"n"},U>0&&(u.z=H[u.ixfe>>8&63]),$l(u,t,r.opts.Date1904),C({c:K.c,r:K.r},u,t);break;case 189:for(var ee=K.c;ee<=K.C;++ee){var te=K.rkrec[ee-K.c][0];u={ixfe:te,XF:k[te],v:K.rkrec[ee-K.c][1],t:"n"},U>0&&(u.z=H[u.ixfe>>8&63]),$l(u,t,r.opts.Date1904),C({c:ee,r:K.r},u,t)}break;case 6:case 518:case 1030:if("String"==K.val){v=K;break}if((u=Gl(K.val,K.cell.ixfe,K.tt)).XF=k[u.ixfe],t.cellFormula){var re=K.formula;if(re&&re[0]&&re[0][0]&&"PtgExp"==re[0][0][0]){var ne=re[0][0][1][0],ae=re[0][0][1][1],oe=Vr({r:ne,c:ae});x[oe]?u.f=""+qs(K.formula,0,K.cell,D,O):u.F=((t.dense?(d[ne]||[])[ae]:d[oe])||{}).F}else u.f=""+qs(K.formula,0,K.cell,D,O)}U>0&&(u.z=H[u.ixfe>>8&63]),$l(u,t,r.opts.Date1904),C(K.cell,u,t),v=K;break;case 7:case 519:if(!v)throw new Error("String record expects Formula");v.val=K,(u=Gl(K,v.cell.ixfe,"s")).XF=k[u.ixfe],t.cellFormula&&(u.f=""+qs(v.formula,0,v.cell,D,O)),U>0&&(u.z=H[u.ixfe>>8&63]),$l(u,t,r.opts.Date1904),C(v.cell,u,t),v=null;break;case 33:case 545:A.push(K);var ie=Vr(K[0].s);if(o=t.dense?(d[K[0].s.r]||[])[K[0].s.c]:d[ie],t.cellFormula&&o){if(!v)break;if(!ie||!o)break;o.f=""+qs(K[1],0,K[0],D,O),o.F=$r(K[0])}break;case 1212:if(!t.cellFormula)break;if(S){if(!v)break;x[Vr(v.cell)]=K[0],((o=t.dense?(d[v.cell.r]||[])[v.cell.c]:d[Vr(v.cell)])||{}).f=""+qs(K[0],0,a,D,O)}break;case 253:u=Gl(b[K.isst].t,K.ixfe,"s"),b[K.isst].h&&(u.h=b[K.isst].h),u.XF=k[u.ixfe],U>0&&(u.z=H[u.ixfe>>8&63]),$l(u,t,r.opts.Date1904),C({c:K.c,r:K.r},u,t);break;case 513:t.sheetStubs&&(u={ixfe:K.ixfe,XF:k[K.ixfe],t:"z"},U>0&&(u.z=H[u.ixfe>>8&63]),$l(u,t,r.opts.Date1904),C({c:K.c,r:K.r},u,t));break;case 190:if(t.sheetStubs)for(var se=K.c;se<=K.C;++se){var ce=K.ixfe[se-K.c];u={ixfe:ce,XF:k[ce],t:"z"},U>0&&(u.z=H[u.ixfe>>8&63]),$l(u,t,r.opts.Date1904),C({c:se,r:K.r},u,t)}break;case 214:case 516:case 4:(u=Gl(K.val,K.ixfe,"s")).XF=k[u.ixfe],U>0&&(u.z=H[u.ixfe>>8&63]),$l(u,t,r.opts.Date1904),C({c:K.c,r:K.r},u,t);break;case 0:case 512:1===W&&(m=K);break;case 252:b=K;break;case 1054:if(4==O.biff){H[U++]=K[1];for(var le=0;le<U+163&&j[le]!=K[1];++le);le>=163&&be(K[1],U+163)}else be(K[1],K[0]);break;case 30:H[U++]=K;for(var ue=0;ue<U+163&&j[ue]!=K;++ue);ue>=163&&be(K,U+163);break;case 229:R=R.concat(K);break;case 93:P[K.cmo[0]]=O.lastobj=K;break;case 438:O.lastobj.TxO=K;break;case 127:O.lastobj.ImData=K;break;case 440:for(l=K[0].s.r;l<=K[0].e.r;++l)for(c=K[0].s.c;c<=K[0].e.c;++c)(o=t.dense?(d[l]||[])[c]:d[Vr({c:c,r:l})])&&(o.l=K[1]);break;case 2048:for(l=K[0].s.r;l<=K[0].e.r;++l)for(c=K[0].s.c;c<=K[0].e.c;++c)(o=t.dense?(d[l]||[])[c]:d[Vr({c:c,r:l})])&&o.l&&(o.l.Tooltip=K[1]);break;case 28:if(O.biff<=5&&O.biff>=2)break;o=t.dense?(d[K[0].r]||[])[K[0].c]:d[Vr(K[0])];var fe=P[K[2]];o||(t.dense?(d[K[0].r]||(d[K[0].r]=[]),o=d[K[0].r][K[0].c]={t:"z"}):o=d[Vr(K[0])]={t:"z"},m.e.r=Math.max(m.e.r,K[0].r),m.s.r=Math.min(m.s.r,K[0].r),m.e.c=Math.max(m.e.c,K[0].c),m.s.c=Math.min(m.s.c,K[0].c)),o.c||(o.c=[]),i={a:K[1],t:fe.TxO.t},o.c.push(i);break;case 2173:rs(k[K.ixfe],K.ext);break;case 125:if(!O.cellStyles)break;for(;K.e>=K.s;)L[K.e--]={width:K.w/256,level:K.level||0,hidden:!!(1&K.flags)},F||(F=!0,wi(K.w/256)),Si(L[K.e+1]);break;case 520:var he={};null!=K.level&&(I[K.r]=he,he.level=K.level),K.hidden&&(I[K.r]=he,he.hidden=!0),K.hpt&&(I[K.r]=he,he.hpt=K.hpt,he.hpx=ki(K.hpt));break;case 38:case 39:case 40:case 41:d["!margins"]||dc(d["!margins"]={}),d["!margins"][{38:"left",39:"right",40:"top",41:"bottom"}[$]]=K;break;case 161:d["!margins"]||dc(d["!margins"]={}),d["!margins"].header=K.header,d["!margins"].footer=K.footer;break;case 574:K.RTL&&(E.Views[0].RTL=!0);break;case 146:T=K;break;case 2198:h=K;break;case 140:f=K;break;case 442:y?_.CodeName=K||_.name:E.WBProps.CodeName=K||"ThisWorkbook"}}else X||console.error("Missing Info for XLS Record 0x"+$.toString(16)),e.l+=G}return r.SheetNames=Ce(g).sort((function(e,t){return Number(e)-Number(t)})).map((function(e){return g[e].name})),t.bookSheets||(r.Sheets=n),!r.SheetNames.length&&w["!ref"]?(r.SheetNames.push("Sheet1"),r.Sheets&&(r.Sheets.Sheet1=w)):r.Preamble=w,r.Sheets&&z.forEach((function(e,t){r.Sheets[r.SheetNames[t]]["!autofilter"]=e})),r.Strings=b,r.SSF=qe(j),O.enc&&(r.Encryption=O.enc),h&&(r.Themes=h),r.Metadata={},void 0!==f&&(r.Metadata.Country=f),D.names.length>0&&(E.Names=D.names),r.Workbook=E,r}var Yl={SI:"e0859ff2f94f6810ab9108002b27b3d9",DSI:"02d5cdd59c2e1b10939708002b2cf9ae",UDI:"05d5cdd59c2e1b10939708002b2cf9ae"};function Kl(e,t){var r,n,a,o;if(t||(t={}),tf(t),c(),t.codepage&&i(t.codepage),e.FullPaths){if(Ee.find(e,"/encryption"))throw new Error("File is password-protected");r=Ee.find(e,"!CompObj"),n=Ee.find(e,"/Workbook")||Ee.find(e,"/Book")}else{switch(t.type){case"base64":e=x(v(e));break;case"binary":e=x(e);break;case"buffer":break;case"array":Array.isArray(e)||(e=Array.prototype.slice.call(e))}Cr(e,0),n={content:e}}if(r&&zl(r),t.bookProps&&!t.bookSheets)a={};else{var s=b?"buffer":"array";if(n&&n.content)a=Xl(n.content,t);else if((o=Ee.find(e,"PerfectOffice_MAIN"))&&o.content)a=Fo.to_workbook(o.content,(t.type=s,t));else{if(!(o=Ee.find(e,"NativeContent_MAIN"))||!o.content)throw(o=Ee.find(e,"MN0"))&&o.content?new Error("Unsupported Works 4 for Mac file"):new Error("Cannot find Workbook stream");a=Fo.to_workbook(o.content,(t.type=s,t))}t.bookVBA&&e.FullPaths&&Ee.find(e,"/_VBA_PROJECT_CUR/VBA/dir")&&(a.vbaraw=function(e){var t=Ee.utils.cfb_new({root:"R"});return e.FullPaths.forEach((function(r,n){if("/"!==r.slice(-1)&&r.match(/_VBA_PROJECT_CUR/)){var a=r.replace(/^[^\/]*/,"R").replace(/\/_VBA_PROJECT_CUR\u0000*/,"");Ee.utils.cfb_add(t,a,e.FileIndex[n].content)}})),Ee.write(t)}(e))}var l={};return e.FullPaths&&function(e,t,r){var n=Ee.find(e,"/!DocumentSummaryInformation");if(n&&n.size>0)try{var a=_a(n,Ln,Yl.DSI);for(var o in a)t[o]=a[o]}catch(e){if(r.WTF)throw e}var i=Ee.find(e,"/!SummaryInformation");if(i&&i.size>0)try{var s=_a(i,In,Yl.SI);for(var c in s)null==t[c]&&(t[c]=s[c])}catch(e){if(r.WTF)throw e}t.HeadingPairs&&t.TitlesOfParts&&(ia(t.HeadingPairs,t.TitlesOfParts,t,r),delete t.HeadingPairs,delete t.TitlesOfParts)}(e,l,t),a.Props=a.Custprops=l,t.bookFiles&&(a.cfb=e),a}function Jl(e,t){var r=t||{},n=Ee.utils.cfb_new({root:"R"}),a="/Workbook";switch(r.bookType||"xls"){case"xls":r.bookType="biff8";case"xla":r.bookType||(r.bookType="xla");case"biff8":a="/Workbook",r.biff=8;break;case"biff5":a="/Book",r.biff=5;break;default:throw new Error("invalid type "+r.bookType+" for XLS CFB")}return Ee.utils.cfb_add(n,a,lu(e,r)),8==r.biff&&(e.Props||e.Custprops)&&function(e,t){var r,n=[],a=[],o=[],i=0,s=Oe(Ln,"n"),c=Oe(In,"n");if(e.Props)for(r=Ce(e.Props),i=0;i<r.length;++i)(Object.prototype.hasOwnProperty.call(s,r[i])?n:Object.prototype.hasOwnProperty.call(c,r[i])?a:o).push([r[i],e.Props[r[i]]]);if(e.Custprops)for(r=Ce(e.Custprops),i=0;i<r.length;++i)Object.prototype.hasOwnProperty.call(e.Props||{},r[i])||(Object.prototype.hasOwnProperty.call(s,r[i])?n:Object.prototype.hasOwnProperty.call(c,r[i])?a:o).push([r[i],e.Custprops[r[i]]]);var l=[];for(i=0;i<o.length;++i)ka.indexOf(o[i][0])>-1||oa.indexOf(o[i][0])>-1||null!=o[i][1]&&l.push(o[i]);a.length&&Ee.utils.cfb_add(t,"/SummaryInformation",Na(a,Yl.SI,c,In)),(n.length||l.length)&&Ee.utils.cfb_add(t,"/DocumentSummaryInformation",Na(n,Yl.DSI,s,Ln,l.length?l:null,Yl.UDI))}(e,n),8==r.biff&&e.vbaraw&&function(e,t){t.FullPaths.forEach((function(r,n){if(0!=n){var a=r.replace(/[^\/]*[\/]/,"/_VBA_PROJECT_CUR/");"/"!==a.slice(-1)&&Ee.utils.cfb_add(e,a,t.FileIndex[n].content)}}))}(n,Ee.read(e.vbaraw,{type:"string"==typeof e.vbaraw?"binary":"buffer"})),n}var Zl={0:{f:function(e,t){var r={},n=e.l+t;r.r=e._R(4),e.l+=4;var a=e._R(2);e.l+=1;var o=e._R(1);return e.l=n,7&o&&(r.level=7&o),16&o&&(r.hidden=!0),32&o&&(r.hpt=a/20),r}},1:{f:function(e){return[sn(e)]}},2:{f:function(e){return[sn(e),bn(e),"n"]}},3:{f:function(e){return[sn(e),e._R(1),"e"]}},4:{f:function(e){return[sn(e),e._R(1),"b"]}},5:{f:function(e){return[sn(e),An(e),"n"]}},6:{f:function(e){return[sn(e),en(e),"str"]}},7:{f:function(e){return[sn(e),e._R(4),"s"]}},8:{f:function(e,t,r){var n=e.l+t,a=sn(e);a.r=r["!row"];var o=[a,en(e),"str"];if(r.cellFormula){e.l+=2;var i=Zs(e,n-e.l,r);o[3]=qs(i,0,a,r.supbooks,r)}else e.l=n;return o}},9:{f:function(e,t,r){var n=e.l+t,a=sn(e);a.r=r["!row"];var o=[a,An(e),"n"];if(r.cellFormula){e.l+=2;var i=Zs(e,n-e.l,r);o[3]=qs(i,0,a,r.supbooks,r)}else e.l=n;return o}},10:{f:function(e,t,r){var n=e.l+t,a=sn(e);a.r=r["!row"];var o=[a,e._R(1),"b"];if(r.cellFormula){e.l+=2;var i=Zs(e,n-e.l,r);o[3]=qs(i,0,a,r.supbooks,r)}else e.l=n;return o}},11:{f:function(e,t,r){var n=e.l+t,a=sn(e);a.r=r["!row"];var o=[a,e._R(1),"e"];if(r.cellFormula){e.l+=2;var i=Zs(e,n-e.l,r);o[3]=qs(i,0,a,r.supbooks,r)}else e.l=n;return o}},12:{f:function(e){return[ln(e)]}},13:{f:function(e){return[ln(e),bn(e),"n"]}},14:{f:function(e){return[ln(e),e._R(1),"e"]}},15:{f:function(e){return[ln(e),e._R(1),"b"]}},16:{f:jc},17:{f:function(e){return[ln(e),en(e),"str"]}},18:{f:function(e){return[ln(e),e._R(4),"s"]}},19:{f:nn},20:{},21:{},22:{},23:{},24:{},25:{},26:{},27:{},28:{},29:{},30:{},31:{},32:{},33:{},34:{},35:{T:1},36:{T:-1},37:{T:1},38:{T:-1},39:{f:function(e,t,r){var n=e.l+t;e.l+=4,e.l+=1;var a=e._R(4),o=gn(e),i=Qs(e,0,r),s=dn(e);e.l=n;var c={Name:o,Ptg:i};return a<268435455&&(c.Sheet=a),s&&(c.Comment=s),c}},40:{},42:{},43:{f:function(e,t,r){var n={};n.sz=e._R(2)/20;var a=function(e){var t=e._R(1);return e.l++,{fBold:1&t,fItalic:2&t,fUnderline:4&t,fStrikeout:8&t,fOutline:16&t,fShadow:32&t,fCondense:64&t,fExtend:128&t}}(e);switch(a.fItalic&&(n.italic=1),a.fCondense&&(n.condense=1),a.fExtend&&(n.extend=1),a.fShadow&&(n.shadow=1),a.fOutline&&(n.outline=1),a.fStrikeout&&(n.strike=1),700===e._R(2)&&(n.bold=1),e._R(2)){case 1:n.vertAlign="superscript";break;case 2:n.vertAlign="subscript"}var o=e._R(1);0!=o&&(n.underline=o);var i=e._R(1);i>0&&(n.family=i);var s=e._R(1);switch(s>0&&(n.charset=s),e.l++,n.color=function(e){var t={},r=e._R(1)>>>1,n=e._R(1),a=e._R(2,"i"),o=e._R(1),i=e._R(1),s=e._R(1);switch(e.l++,r){case 0:t.auto=1;break;case 1:t.index=n;var c=jn[n];c&&(t.rgb=ui(c));break;case 2:t.rgb=ui([o,i,s]);break;case 3:t.theme=n}return 0!=a&&(t.tint=a>0?a/32767:a/32768),t}(e),e._R(1)){case 1:n.scheme="major";break;case 2:n.scheme="minor"}return n.name=en(e),n}},44:{f:function(e,t){return[e._R(2),en(e)]}},45:{f:Fi},46:{f:Bi},47:{f:function(e,t){var r=e.l+t,n=e._R(2),a=e._R(2);return e.l=r,{ixfe:n,numFmtId:a}}},48:{},49:{f:function(e){return e._R(4,"i")}},50:{},51:{f:function(e){for(var t=[],r=e._R(4);r-- >0;)t.push([e._R(4),e._R(4)]);return t}},52:{T:1},53:{T:-1},54:{T:1},55:{T:-1},56:{T:1},57:{T:-1},58:{},59:{},60:{f:To},62:{f:function(e){return[sn(e),nn(e),"is"]}},63:{f:function(e){var t={};t.i=e._R(4);var r={};r.r=e._R(4),r.c=e._R(4),t.r=Vr(r);var n=e._R(1);return 2&n&&(t.l="1"),8&n&&(t.a="1"),t}},64:{f:function(){}},65:{},66:{},67:{},68:{},69:{},70:{},128:{},129:{T:1},130:{T:-1},131:{T:1,f:Or,p:0},132:{T:-1},133:{T:1},134:{T:-1},135:{T:1},136:{T:-1},137:{T:1,f:function(e){var t=e._R(2);return e.l+=28,{RTL:32&t}}},138:{T:-1},139:{T:1},140:{T:-1},141:{T:1},142:{T:-1},143:{T:1},144:{T:-1},145:{T:1},146:{T:-1},147:{f:function(e,t){var r={},n=e[e.l];return++e.l,r.above=!(64&n),r.left=!(128&n),e.l+=18,r.name=fn(e,t-19),r}},148:{f:Dc,p:16},151:{f:function(){}},152:{},153:{f:function(e,t){var r={},n=e._R(4);r.defaultThemeVersion=e._R(4);var a=t>8?en(e):"";return a.length>0&&(r.CodeName=a),r.autoCompressPictures=!!(65536&n),r.backupFile=!!(64&n),r.checkCompatibility=!!(4096&n),r.date1904=!!(1&n),r.filterPrivacy=!!(8&n),r.hidePivotFieldList=!!(1024&n),r.promptedSolutions=!!(16&n),r.publishItems=!!(2048&n),r.refreshAllConnections=!!(262144&n),r.saveExternalLinkValues=!!(128&n),r.showBorderUnselectedTables=!!(4&n),r.showInkAnnotation=!!(32&n),r.showObjects=["all","placeholders","none"][n>>13&3],r.showPivotChartFilter=!!(32768&n),r.updateLinks=["userSet","never","always"][n>>8&3],r}},154:{},155:{},156:{f:function(e,t){var r={};return r.Hidden=e._R(4),r.iTabID=e._R(4),r.strRelID=mn(e,t-8),r.name=en(e),r}},157:{},158:{},159:{T:1,f:function(e){return[e._R(4),e._R(4)]}},160:{T:-1},161:{T:1,f:Sn},162:{T:-1},163:{T:1},164:{T:-1},165:{T:1},166:{T:-1},167:{},168:{},169:{},170:{},171:{},172:{T:1},173:{T:-1},174:{},175:{},176:{f:Bc},177:{T:1},178:{T:-1},179:{T:1},180:{T:-1},181:{T:1},182:{T:-1},183:{T:1},184:{T:-1},185:{T:1},186:{T:-1},187:{T:1},188:{T:-1},189:{T:1},190:{T:-1},191:{T:1},192:{T:-1},193:{T:1},194:{T:-1},195:{T:1},196:{T:-1},197:{T:1},198:{T:-1},199:{T:1},200:{T:-1},201:{T:1},202:{T:-1},203:{T:1},204:{T:-1},205:{T:1},206:{T:-1},207:{T:1},208:{T:-1},209:{T:1},210:{T:-1},211:{T:1},212:{T:-1},213:{T:1},214:{T:-1},215:{T:1},216:{T:-1},217:{T:1},218:{T:-1},219:{T:1},220:{T:-1},221:{T:1},222:{T:-1},223:{T:1},224:{T:-1},225:{T:1},226:{T:-1},227:{T:1},228:{T:-1},229:{T:1},230:{T:-1},231:{T:1},232:{T:-1},233:{T:1},234:{T:-1},235:{T:1},236:{T:-1},237:{T:1},238:{T:-1},239:{T:1},240:{T:-1},241:{T:1},242:{T:-1},243:{T:1},244:{T:-1},245:{T:1},246:{T:-1},247:{T:1},248:{T:-1},249:{T:1},250:{T:-1},251:{T:1},252:{T:-1},253:{T:1},254:{T:-1},255:{T:1},256:{T:-1},257:{T:1},258:{T:-1},259:{T:1},260:{T:-1},261:{T:1},262:{T:-1},263:{T:1},264:{T:-1},265:{T:1},266:{T:-1},267:{T:1},268:{T:-1},269:{T:1},270:{T:-1},271:{T:1},272:{T:-1},273:{T:1},274:{T:-1},275:{T:1},276:{T:-1},277:{},278:{T:1},279:{T:-1},280:{T:1},281:{T:-1},282:{T:1},283:{T:1},284:{T:-1},285:{T:1},286:{T:-1},287:{T:1},288:{T:-1},289:{T:1},290:{T:-1},291:{T:1},292:{T:-1},293:{T:1},294:{T:-1},295:{T:1},296:{T:-1},297:{T:1},298:{T:-1},299:{T:1},300:{T:-1},301:{T:1},302:{T:-1},303:{T:1},304:{T:-1},305:{T:1},306:{T:-1},307:{T:1},308:{T:-1},309:{T:1},310:{T:-1},311:{T:1},312:{T:-1},313:{T:-1},314:{T:1},315:{T:-1},316:{T:1},317:{T:-1},318:{T:1},319:{T:-1},320:{T:1},321:{T:-1},322:{T:1},323:{T:-1},324:{T:1},325:{T:-1},326:{T:1},327:{T:-1},328:{T:1},329:{T:-1},330:{T:1},331:{T:-1},332:{T:1},333:{T:-1},334:{T:1},335:{f:function(e,t){return{flags:e._R(4),version:e._R(4),name:en(e)}}},336:{T:-1},337:{f:function(e){return e.l+=4,0!=e._R(4)},T:1},338:{T:-1},339:{T:1},340:{T:-1},341:{T:1},342:{T:-1},343:{T:1},344:{T:-1},345:{T:1},346:{T:-1},347:{T:1},348:{T:-1},349:{T:1},350:{T:-1},351:{},352:{},353:{T:1},354:{T:-1},355:{f:mn},357:{},358:{},359:{},360:{T:1},361:{},362:{f:wo},363:{},364:{},366:{},367:{},368:{},369:{},370:{},371:{},372:{T:1},373:{T:-1},374:{T:1},375:{T:-1},376:{T:1},377:{T:-1},378:{T:1},379:{T:-1},380:{T:1},381:{T:-1},382:{T:1},383:{T:-1},384:{T:1},385:{T:-1},386:{T:1},387:{T:-1},388:{T:1},389:{T:-1},390:{T:1},391:{T:-1},392:{T:1},393:{T:-1},394:{T:1},395:{T:-1},396:{},397:{},398:{},399:{},400:{},401:{T:1},403:{},404:{},405:{},406:{},407:{},408:{},409:{},410:{},411:{},412:{},413:{},414:{},415:{},416:{},417:{},418:{},419:{},420:{},421:{},422:{T:1},423:{T:1},424:{T:-1},425:{T:-1},426:{f:function(e,t,r){var n=e.l+t,a=wn(e),o=e._R(1),i=[a];if(i[2]=o,r.cellFormula){var s=Js(e,n-e.l,r);i[1]=s}else e.l=n;return i}},427:{f:function(e,t,r){var n=e.l+t,a=[Sn(e,16)];if(r.cellFormula){var o=ec(e,n-e.l,r);a[1]=o,e.l=n}else e.l=n;return a}},428:{},429:{T:1},430:{T:-1},431:{T:1},432:{T:-1},433:{T:1},434:{T:-1},435:{T:1},436:{T:-1},437:{T:1},438:{T:-1},439:{T:1},440:{T:-1},441:{T:1},442:{T:-1},443:{T:1},444:{T:-1},445:{T:1},446:{T:-1},447:{T:1},448:{T:-1},449:{T:1},450:{T:-1},451:{T:1},452:{T:-1},453:{T:1},454:{T:-1},455:{T:1},456:{T:-1},457:{T:1},458:{T:-1},459:{T:1},460:{T:-1},461:{T:1},462:{T:-1},463:{T:1},464:{T:-1},465:{T:1},466:{T:-1},467:{T:1},468:{T:-1},469:{T:1},470:{T:-1},471:{},472:{},473:{T:1},474:{T:-1},475:{},476:{f:function(e){var t={};return Uc.forEach((function(r){t[r]=An(e)})),t}},477:{},478:{},479:{T:1},480:{T:-1},481:{T:1},482:{T:-1},483:{T:1},484:{T:-1},485:{f:function(){}},486:{T:1},487:{T:-1},488:{T:1},489:{T:-1},490:{T:1},491:{T:-1},492:{T:1},493:{T:-1},494:{f:function(e,t){var r=e.l+t,n=Sn(e,16),a=dn(e),o=en(e),i=en(e),s=en(e);e.l=r;var c={rfx:n,relId:a,loc:o,display:s};return i&&(c.Tooltip=i),c}},495:{T:1},496:{T:-1},497:{T:1},498:{T:-1},499:{},500:{T:1},501:{T:-1},502:{T:1},503:{T:-1},504:{},505:{T:1},506:{T:-1},507:{},508:{T:1},509:{T:-1},510:{T:1},511:{T:-1},512:{},513:{},514:{T:1},515:{T:-1},516:{T:1},517:{T:-1},518:{T:1},519:{T:-1},520:{T:1},521:{T:-1},522:{},523:{},524:{},525:{},526:{},527:{},528:{T:1},529:{T:-1},530:{T:1},531:{T:-1},532:{T:1},533:{T:-1},534:{},535:{},536:{},537:{},538:{T:1},539:{T:-1},540:{T:1},541:{T:-1},542:{T:1},548:{},549:{},550:{f:mn},551:{},552:{},553:{},554:{T:1},555:{T:-1},556:{T:1},557:{T:-1},558:{T:1},559:{T:-1},560:{T:1},561:{T:-1},562:{},564:{},565:{T:1},566:{T:-1},569:{T:1},570:{T:-1},572:{},573:{T:1},574:{T:-1},577:{},578:{},579:{},580:{},581:{},582:{},583:{},584:{},585:{},586:{},587:{},588:{T:-1},589:{},590:{T:1},591:{T:-1},592:{T:1},593:{T:-1},594:{T:1},595:{T:-1},596:{},597:{T:1},598:{T:-1},599:{T:1},600:{T:-1},601:{T:1},602:{T:-1},603:{T:1},604:{T:-1},605:{T:1},606:{T:-1},607:{},608:{T:1},609:{T:-1},610:{},611:{T:1},612:{T:-1},613:{T:1},614:{T:-1},615:{T:1},616:{T:-1},617:{T:1},618:{T:-1},619:{T:1},620:{T:-1},625:{},626:{T:1},627:{T:-1},628:{T:1},629:{T:-1},630:{T:1},631:{T:-1},632:{f:us},633:{T:1},634:{T:-1},635:{T:1,f:function(e){var t={};t.iauthor=e._R(4);var r=Sn(e,16);return t.rfx=r.s,t.ref=Vr(r.s),e.l+=16,t}},636:{T:-1},637:{f:an},638:{T:1},639:{},640:{T:-1},641:{T:1},642:{T:-1},643:{T:1},644:{},645:{T:-1},646:{T:1},648:{T:1},649:{},650:{T:-1},651:{f:function(e,t){return e.l+=10,{name:en(e)}}},652:{},653:{T:1},654:{T:-1},655:{T:1},656:{T:-1},657:{T:1},658:{T:-1},659:{},660:{T:1},661:{},662:{T:-1},663:{},664:{T:1},665:{},666:{T:-1},667:{},668:{},669:{},671:{T:1},672:{T:-1},673:{T:1},674:{T:-1},675:{},676:{},677:{},678:{},679:{},680:{},681:{},1024:{},1025:{},1026:{T:1},1027:{T:-1},1028:{T:1},1029:{T:-1},1030:{},1031:{T:1},1032:{T:-1},1033:{T:1},1034:{T:-1},1035:{},1036:{},1037:{},1038:{T:1},1039:{T:-1},1040:{},1041:{T:1},1042:{T:-1},1043:{},1044:{},1045:{},1046:{T:1},1047:{T:-1},1048:{T:1},1049:{T:-1},1050:{},1051:{T:1},1052:{T:1},1053:{f:function(){}},1054:{T:1},1055:{},1056:{T:1},1057:{T:-1},1058:{T:1},1059:{T:-1},1061:{},1062:{T:1},1063:{T:-1},1064:{T:1},1065:{T:-1},1066:{T:1},1067:{T:-1},1068:{T:1},1069:{T:-1},1070:{T:1},1071:{T:-1},1072:{T:1},1073:{T:-1},1075:{T:1},1076:{T:-1},1077:{T:1},1078:{T:-1},1079:{T:1},1080:{T:-1},1081:{T:1},1082:{T:-1},1083:{T:1},1084:{T:-1},1085:{},1086:{T:1},1087:{T:-1},1088:{T:1},1089:{T:-1},1090:{T:1},1091:{T:-1},1092:{T:1},1093:{T:-1},1094:{T:1},1095:{T:-1},1096:{},1097:{T:1},1098:{},1099:{T:-1},1100:{T:1},1101:{T:-1},1102:{},1103:{},1104:{},1105:{},1111:{},1112:{},1113:{T:1},1114:{T:-1},1115:{T:1},1116:{T:-1},1117:{},1118:{T:1},1119:{T:-1},1120:{T:1},1121:{T:-1},1122:{T:1},1123:{T:-1},1124:{T:1},1125:{T:-1},1126:{},1128:{T:1},1129:{T:-1},1130:{},1131:{T:1},1132:{T:-1},1133:{T:1},1134:{T:-1},1135:{T:1},1136:{T:-1},1137:{T:1},1138:{T:-1},1139:{T:1},1140:{T:-1},1141:{},1142:{T:1},1143:{T:-1},1144:{T:1},1145:{T:-1},1146:{},1147:{T:1},1148:{T:-1},1149:{T:1},1150:{T:-1},1152:{T:1},1153:{T:-1},1154:{T:-1},1155:{T:-1},1156:{T:-1},1157:{T:1},1158:{T:-1},1159:{T:1},1160:{T:-1},1161:{T:1},1162:{T:-1},1163:{T:1},1164:{T:-1},1165:{T:1},1166:{T:-1},1167:{T:1},1168:{T:-1},1169:{T:1},1170:{T:-1},1171:{},1172:{T:1},1173:{T:-1},1177:{},1178:{T:1},1180:{},1181:{},1182:{},2048:{T:1},2049:{T:-1},2050:{},2051:{T:1},2052:{T:-1},2053:{},2054:{},2055:{T:1},2056:{T:-1},2057:{T:1},2058:{T:-1},2060:{},2067:{},2068:{T:1},2069:{T:-1},2070:{},2071:{},2072:{T:1},2073:{T:-1},2075:{},2076:{},2077:{T:1},2078:{T:-1},2079:{},2080:{T:1},2081:{T:-1},2082:{},2083:{T:1},2084:{T:-1},2085:{T:1},2086:{T:-1},2087:{T:1},2088:{T:-1},2089:{T:1},2090:{T:-1},2091:{},2092:{},2093:{T:1},2094:{T:-1},2095:{},2096:{T:1},2097:{T:-1},2098:{T:1},2099:{T:-1},2100:{T:1},2101:{T:-1},2102:{},2103:{T:1},2104:{T:-1},2105:{},2106:{T:1},2107:{T:-1},2108:{},2109:{T:1},2110:{T:-1},2111:{T:1},2112:{T:-1},2113:{T:1},2114:{T:-1},2115:{},2116:{},2117:{},2118:{T:1},2119:{T:-1},2120:{},2121:{T:1},2122:{T:-1},2123:{T:1},2124:{T:-1},2125:{},2126:{T:1},2127:{T:-1},2128:{},2129:{T:1},2130:{T:-1},2131:{T:1},2132:{T:-1},2133:{T:1},2134:{},2135:{},2136:{},2137:{T:1},2138:{T:-1},2139:{T:1},2140:{T:-1},2141:{},3072:{},3073:{},4096:{T:1},4097:{T:-1},5002:{T:1},5003:{T:-1},5081:{T:1},5082:{T:-1},5083:{},5084:{T:1},5085:{T:-1},5086:{T:1},5087:{T:-1},5088:{},5089:{},5090:{},5092:{T:1},5093:{T:-1},5094:{},5095:{T:1},5096:{T:-1},5097:{},5099:{},65535:{n:""}},Ql={6:{f:Xs},10:{f:Ca},12:{f:Pa},13:{f:Pa},14:{f:Oa},15:{f:Oa},16:{f:An},17:{f:Oa},18:{f:Oa},19:{f:Pa},20:{f:mo},21:{f:mo},23:{f:wo},24:{f:yo},25:{f:Oa},26:{},27:{},28:{f:function(e,t,r){return function(e,t,r){if(!(r.biff<8)){var n=e._R(2),a=e._R(2),o=e._R(2),i=e._R(2),s=Ua(e,0,r);return r.biff<8&&e._R(1),[{r:n,c:a},s,i,o]}}(e,0,r)}},29:{},34:{f:Oa},35:{f:vo},38:{f:An},39:{f:An},40:{f:An},41:{f:An},42:{f:Oa},43:{f:Oa},47:{f:function(e,t,r){var n={Type:r.biff>=8?e._R(2):0};return n.Type?ci(e,t-2,n):function(e,t,r,n){var a={key:Pa(e),verificationBytes:Pa(e)};r.password&&(a.verifier=oi(r.password)),n.valid=a.verificationBytes===a.verifier,n.valid&&(n.insitu=si(r.password))}(e,r.biff,r,n),n}},49:{f:function(e,t,r){var n={dyHeight:e._R(2),fl:e._R(2)};switch(r&&r.biff||8){case 2:break;case 3:case 4:e.l+=2;break;default:e.l+=10}return n.name=Da(e,0,r),n}},51:{f:Pa},60:{},61:{f:function(e){return{Pos:[e._R(2),e._R(2)],Dim:[e._R(2),e._R(2)],Flags:e._R(2),CurTab:e._R(2),FirstTab:e._R(2),Selected:e._R(2),TabRatio:e._R(2)}}},64:{f:Oa},65:{f:function(){}},66:{f:Pa},77:{},80:{},81:{},82:{},85:{f:Pa},89:{},90:{},91:{},92:{f:function(e,t,r){if(r.enc)return e.l+=t,"";var n=e.l,a=Ua(e,0,r);return e._R(t+n-e.l),a}},93:{f:function(e,t,r){if(r&&r.biff<8)return function(e,t,r){e.l+=4;var n=e._R(2),a=e._R(2),o=e._R(2);e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=6,t-=36;var i=[];return i.push((xo[n]||Or)(e,t,r)),{cmo:[a,n,o],ft:i}}(e,t,r);var n=no(e),a=function(e,t){for(var r=e.l+t,n=[];e.l<r;){var a=e._R(2);e.l-=2;try{n.push(oo[a](e,r-e.l))}catch(t){return e.l=r,n}}return e.l!=r&&(e.l=r),n}(e,t-22,n[1]);return{cmo:n,ft:a}}},94:{},95:{f:Oa},96:{},97:{},99:{f:Oa},125:{f:To},128:{f:function(e){e.l+=4;var t=[e._R(2),e._R(2)];if(0!==t[0]&&t[0]--,0!==t[1]&&t[1]--,t[0]>7||t[1]>7)throw new Error("Bad Gutters: "+t.join("|"));return t}},129:{f:function(e,t,r){var n=r&&8==r.biff||2==t?e._R(2):(e.l+=t,0);return{fDialog:16&n,fBelow:64&n,fRight:128&n}}},130:{f:Pa},131:{f:Oa},132:{f:Oa},133:{f:function(e,t,r){var n=e._R(4),a=3&e._R(1),o=e._R(1);switch(o){case 0:o="Worksheet";break;case 1:o="Macrosheet";break;case 2:o="Chartsheet";break;case 6:o="VBAModule"}var i=Da(e,0,r);return 0===i.length&&(i="Sheet1"),{pos:n,hs:a,dt:o,name:i}}},134:{},140:{f:function(e){var t,r=[0,0];return t=e._R(2),r[0]=Fn[t]||t,t=e._R(2),r[1]=Fn[t]||t,r}},141:{f:Pa},144:{},146:{f:function(e){for(var t=e._R(2),r=[];t-- >0;)r.push(Xa(e));return r}},151:{},152:{},153:{},154:{},155:{},156:{f:Pa},157:{},158:{},160:{f:_o},161:{f:function(e,t){var r={};return t<32||(e.l+=16,r.header=An(e),r.footer=An(e),e.l+=2),r}},174:{},175:{},176:{},177:{},178:{},180:{},181:{},182:{},184:{},185:{},189:{f:function(e,t){for(var r=e.l+t-2,n=e._R(2),a=e._R(2),o=[];e.l<r;)o.push(Za(e));if(e.l!==r)throw new Error("MulRK read error");var i=e._R(2);if(o.length!=i-a+1)throw new Error("MulRK length mismatch");return{r:n,c:a,C:i,rkrec:o}}},190:{f:function(e,t){for(var r=e.l+t-2,n=e._R(2),a=e._R(2),o=[];e.l<r;)o.push(e._R(2));if(e.l!==r)throw new Error("MulBlank read error");var i=e._R(2);if(o.length!=i-a+1)throw new Error("MulBlank length mismatch");return{r:n,c:a,C:i,ixfe:o}}},193:{f:Ca},197:{},198:{},199:{},200:{},201:{},202:{f:Oa},203:{},204:{},205:{},206:{},207:{},208:{},209:{},210:{},211:{},213:{},215:{},216:{},217:{},218:{f:Pa},220:{},221:{f:Oa},222:{},224:{f:function(e,t,r){var n={};return n.ifnt=e._R(2),n.numFmtId=e._R(2),n.flags=e._R(2),n.fStyle=n.flags>>2&1,6,n.data=function(e,t,r,n){var a={},o=e._R(4),i=e._R(4),s=e._R(4),c=e._R(2);return a.patternType=Dn[s>>26],n.cellStyles?(a.alc=7&o,a.fWrap=o>>3&1,a.alcV=o>>4&7,a.fJustLast=o>>7&1,a.trot=o>>8&255,a.cIndent=o>>16&15,a.fShrinkToFit=o>>20&1,a.iReadOrder=o>>22&2,a.fAtrNum=o>>26&1,a.fAtrFnt=o>>27&1,a.fAtrAlc=o>>28&1,a.fAtrBdr=o>>29&1,a.fAtrPat=o>>30&1,a.fAtrProt=o>>31&1,a.dgLeft=15&i,a.dgRight=i>>4&15,a.dgTop=i>>8&15,a.dgBottom=i>>12&15,a.icvLeft=i>>16&127,a.icvRight=i>>23&127,a.grbitDiag=i>>30&3,a.icvTop=127&s,a.icvBottom=s>>7&127,a.icvDiag=s>>14&127,a.dgDiag=s>>21&15,a.icvFore=127&c,a.icvBack=c>>7&127,a.fsxButton=c>>14&1,a):a}(e,0,n.fStyle,r),n}},225:{f:function(e,t){return 0===t||e._R(2),1200}},226:{f:Ca},227:{},229:{f:function(e,t){for(var r=[],n=e._R(2);n--;)r.push(Qa(e));return r}},233:{},235:{},236:{},237:{},239:{},240:{},241:{},242:{},244:{},245:{},246:{},247:{},248:{},249:{},251:{},252:{f:function(e,t){for(var r=e.l+t,n=e._R(4),a=e._R(4),o=[],i=0;i!=a&&e.l<r;++i)o.push(Ma(e));return o.Count=n,o.Unique=a,o}},253:{f:function(e){var t=Ya(e);return t.isst=e._R(4),t}},255:{f:function(e,t){var r={};return r.dsst=e._R(2),e.l+=t-2,r}},256:{},259:{},290:{},311:{},312:{},315:{},317:{f:Ia},318:{},319:{},320:{},330:{},331:{},333:{},334:{},335:{},336:{},337:{},338:{},339:{},340:{},351:{},352:{f:Oa},353:{f:Ca},401:{},402:{},403:{},404:{},405:{},406:{},407:{},408:{},425:{},426:{},427:{},428:{},429:{},430:{f:function(e,t,r){var n=e.l+t,a=e._R(2),o=e._R(2);if(r.sbcch=o,1025==o||14849==o)return[o,a];if(o<1||o>255)throw new Error("Unexpected SupBook type: "+o);for(var i=Ba(e,o),s=[];n>e.l;)s.push(Wa(e));return[o,a,i,s]}},431:{f:Oa},432:{},433:{},434:{},437:{},438:{f:function(e,t,r){var n=e.l,a="";try{e.l+=4;var o=(r.lastobj||{cmo:[0,0]}).cmo[1];-1==[0,5,7,11,12,14].indexOf(o)?e.l+=6:function(e){var t=e._R(1);e.l++;var r=e._R(2);return e.l+=2,[t,r]}(e);var i=e._R(2);e._R(2),Pa(e);var s=e._R(2);e.l+=s;for(var c=1;c<e.lens.length-1;++c){if(e.l-n!=e.lens[c])throw new Error("TxO: bad continue record");var l=e[e.l];if((a+=Ba(e,e.lens[c+1]-e.lens[c]-1)).length>=(l?i:2*i))break}if(a.length!==i&&a.length!==2*i)throw new Error("cchText: "+i+" != "+a.length);return e.l=n+t,{t:a}}catch(r){return e.l=n+t,{t:a}}}},439:{f:Oa},440:{f:function(e,t){var r=Qa(e);e.l+=16;var n=function(e,t){var r=e.l+t,n=e._R(4);if(2!==n)throw new Error("Unrecognized streamVersion: "+n);var a=e._R(2);e.l+=2;var o,i,s,c,l,u,f="";16&a&&(o=Va(e,e.l)),128&a&&(i=Va(e,e.l)),257==(257&a)&&(s=Va(e,e.l)),1==(257&a)&&(c=za(e,e.l)),8&a&&(f=Va(e,e.l)),32&a&&(l=e._R(16)),64&a&&(u=da(e)),e.l=r;var h=i||s||c||"";h&&f&&(h+="#"+f),h||(h="#"+f),2&a&&"/"==h.charAt(0)&&"/"!=h.charAt(1)&&(h="file://"+h);var d={Target:h};return l&&(d.guid=l),u&&(d.time=u),o&&(d.Tooltip=o),d}(e,t-24);return[r,n]}},441:{},442:{f:Wa},443:{},444:{f:Pa},445:{},446:{},448:{f:Ca},449:{f:function(e){return e._R(2),e._R(4)},r:2},450:{f:Ca},512:{f:ho},513:{f:Eo},515:{f:function(e,t,r){r.biffguess&&2==r.biff&&(r.biff=5);var n=Ya(e),a=An(e);return n.val=a,n}},516:{f:function(e,t,r){r.biffguess&&2==r.biff&&(r.biff=5),e.l;var n=Ya(e);2==r.biff&&e.l++;var a=Wa(e,e.l,r);return n.val=a,n}},517:{f:go},519:{f:No},520:{f:function(e){var t={};t.r=e._R(2),t.c=e._R(2),t.cnt=e._R(2)-t.c;var r=e._R(2);e.l+=4;var n=e._R(1);return e.l+=3,7&n&&(t.level=7&n),32&n&&(t.hidden=!0),64&n&&(t.hpt=r/20),t}},523:{},545:{f:So},549:{f:lo},566:{},574:{f:function(e,t,r){return r&&r.biff>=2&&r.biff<5?{}:{RTL:64&e._R(2)}}},638:{f:function(e){var t=e._R(2),r=e._R(2),n=Za(e);return{r:t,c:r,ixfe:n[0],rknum:n[1]}}},659:{},1048:{},1054:{f:function(e,t,r){return[e._R(2),Ua(e,0,r)]}},1084:{},1212:{f:function(e,t,r){var n=to(e);e.l++;var a=e._R(1);return[Gs(e,t-=8,r),a,n]}},2048:{f:function(e,t){e._R(2);var r=Qa(e),n=e._R((t-10)/2,"dbcs-cont");return[r,n=n.replace(_,"")]}},2049:{},2050:{},2051:{},2052:{},2053:{},2054:{},2055:{},2056:{},2057:{f:io},2058:{},2059:{},2060:{},2061:{},2062:{},2063:{},2064:{},2066:{},2067:{},2128:{},2129:{},2130:{},2131:{},2132:{},2133:{},2134:{},2135:{},2136:{},2137:{},2138:{},2146:{},2147:{r:12},2148:{},2149:{},2150:{},2151:{f:Ca},2152:{},2154:{},2155:{},2156:{},2161:{},2162:{},2164:{},2165:{},2166:{},2167:{},2168:{},2169:{},2170:{},2171:{},2172:{f:function(e){e.l+=2;var t={cxfs:0,crc:0};return t.cxfs=e._R(2),t.crc=e._R(4),t},r:12},2173:{f:function(e,t){e.l,e.l+=2;var r=e._R(2);e.l+=2;for(var n=e._R(2),a=[];n-- >0;)a.push(ts(e,e.l));return{ixfe:r,ext:a}},r:12},2174:{},2175:{},2180:{},2181:{},2182:{},2183:{},2184:{},2185:{},2186:{},2187:{},2188:{f:Oa,r:12},2189:{},2190:{r:12},2191:{},2192:{},2194:{},2195:{},2196:{f:function(e,t,r){if(!(r.biff<8)){var n=e._R(2),a=e._R(2);return[Ba(e,n,r),Ba(e,a,r)]}e.l+=t},r:12},2197:{},2198:{f:function(e,t,r){var n=e.l+t;if(124226!==e._R(4))if(r.cellStyles){var a,o=e.slice(e.l);e.l=n;try{a=st(o,{type:"array"})}catch(e){return}var i=rt(a,"theme/theme/theme1.xml",!0);if(i)return Zi(i,r)}else e.l=n},r:12},2199:{},2200:{},2201:{},2202:{f:function(e){return[0!==e._R(4),0!==e._R(4),e._R(4)]},r:12},2203:{f:Ca},2204:{},2205:{},2206:{},2207:{},2211:{f:function(e){var t=function(e){var t=e._R(2),r=e._R(2);return e.l+=8,{type:t,flags:r}}(e);if(2211!=t.type)throw new Error("Invalid Future Record "+t.type);return 0!==e._R(4)}},2212:{},2213:{},2214:{},2215:{},4097:{},4098:{},4099:{},4102:{},4103:{},4105:{},4106:{},4107:{},4108:{},4109:{},4116:{},4117:{},4118:{},4119:{},4120:{},4121:{},4122:{},4123:{},4124:{},4125:{},4126:{},4127:{},4128:{},4129:{},4130:{},4132:{},4133:{},4134:{f:Pa},4135:{},4146:{},4147:{},4148:{},4149:{},4154:{},4156:{},4157:{},4158:{},4159:{},4160:{},4161:{},4163:{},4164:{f:function(e,t,r){var n={area:!1};if(5!=r.biff)return e.l+=t,n;var a=e._R(1);return e.l+=3,16&a&&(n.area=!0),n}},4165:{},4166:{},4168:{},4170:{},4171:{},4174:{},4175:{},4176:{},4177:{},4187:{},4188:{f:function(e){for(var t=e._R(2),r=[];t-- >0;)r.push(Xa(e));return r}},4189:{},4191:{},4192:{},4193:{},4194:{},4195:{},4196:{},4197:{},4198:{},4199:{},4200:{},0:{f:ho},1:{},2:{f:function(e){var t=Ya(e);++e.l;var r=e._R(2);return t.t="n",t.val=r,t}},3:{f:function(e){var t=Ya(e);++e.l;var r=An(e);return t.t="n",t.val=r,t}},4:{f:function(e,t,r){r.biffguess&&5==r.biff&&(r.biff=2);var n=Ya(e);++e.l;var a=Ua(e,0,r);return n.t="str",n.val=a,n}},5:{f:go},7:{f:function(e){var t=e._R(1);return 0===t?(e.l++,""):e._R(t,"sbcs-cont")}},8:{},9:{f:io},11:{},22:{f:Pa},30:{f:fo},31:{},32:{},33:{f:So},36:{},37:{f:lo},50:{f:function(e,t){e.l+=6,e.l+=2,e.l+=1,e.l+=3,e.l+=1,e.l+=t-13}},62:{},52:{},67:{},68:{f:Pa},69:{},86:{},126:{},127:{f:function(e){var t=e._R(2),r=e._R(2),n=e._R(4),a={fmt:t,env:r,len:n,data:e.slice(e.l,e.l+n)};return e.l+=n,a}},135:{},136:{},137:{},145:{},148:{},149:{},150:{},169:{},171:{},188:{},191:{},192:{},194:{},195:{},214:{f:function(e,t,r){var n=e.l+t,a=Ya(e),o=e._R(2),i=Ba(e,o,r);return e.l=n,a.t="str",a.val=i,a}},223:{},234:{},354:{},421:{},518:{f:Xs},521:{f:io},536:{f:yo},547:{f:vo},561:{},579:{},1030:{f:Xs},1033:{f:io},1091:{},2157:{},2163:{},2177:{},2240:{},2241:{},2242:{},2243:{},2244:{},2245:{},2246:{},2247:{},2248:{},2249:{},2250:{},2251:{},2262:{r:12},29282:{}};function eu(e,t,r,n){var a=t;if(!isNaN(a)){var o=n||(r||[]).length||0,i=e.next(4);i._W(2,a),i._W(2,o),o>0&&mr(r)&&e.push(r)}}function tu(e,t,r){return e||(e=Rr(7)),e._W(2,t),e._W(2,r),e._W(2,0),e._W(1,0),e}function ru(e,t,r,n){if(null!=t.v)switch(t.t){case"d":case"n":var a="d"==t.t?Ie(ze(t.v)):t.v;return void(a==(0|a)&&a>=0&&a<65536?eu(e,2,function(e,t,r){var n=Rr(9);return tu(n,e,t),n._W(2,r),n}(r,n,a)):eu(e,3,function(e,t,r){var n=Rr(15);return tu(n,e,t),n._W(8,r,"f"),n}(r,n,a)));case"b":case"e":return void eu(e,5,function(e,t,r,n){var a=Rr(9);return tu(a,e,t),Fa(r,n||"b",a),a}(r,n,t.v,t.t));case"s":case"str":return void eu(e,4,function(e,t,r){var n=Rr(8+2*r.length);return tu(n,e,t),n._W(1,r.length),n._W(r.length,r,"sbcs"),n.l<n.length?n.slice(0,n.l):n}(r,n,(t.v||"").slice(0,255)))}eu(e,1,tu(null,r,n))}function nu(e,t){var r=t||{};null!=p&&null==r.dense&&(r.dense=p);for(var n=Lr(),a=0,o=0;o<e.SheetNames.length;++o)e.SheetNames[o]==r.sheet&&(a=o);if(0==a&&r.sheet&&e.SheetNames[0]!=r.sheet)throw new Error("Sheet not found: "+r.sheet);return eu(n,4==r.biff?1033:3==r.biff?521:9,so(0,16,r)),function(e,t,r,n){var a,o=Array.isArray(t),i=Gr(t["!ref"]||"A1"),s="",c=[];if(i.e.c>255||i.e.r>16383){if(n.WTF)throw new Error("Range "+(t["!ref"]||"A1")+" exceeds format limit A1:IV16384");i.e.c=Math.min(i.e.c,255),i.e.r=Math.min(i.e.c,16383),a=$r(i)}for(var l=i.s.r;l<=i.e.r;++l){s=Wr(l);for(var u=i.s.c;u<=i.e.c;++u){l===i.s.r&&(c[u]=Hr(u)),a=c[u]+s;var f=o?(t[l]||[])[u]:t[a];f&&ru(e,f,l,u)}}}(n,e.Sheets[e.SheetNames[a]],0,r),eu(n,10),n.end()}function au(e,t,r){eu(e,49,function(e,t){var r=e.name||"Arial",n=t&&5==t.biff,a=Rr(n?15+r.length:16+2*r.length);return a._W(2,20*(e.sz||12)),a._W(4,0),a._W(2,400),a._W(4,0),a._W(2,0),a._W(1,r.length),n||a._W(1,1),a._W((n?1:2)*r.length,r,n?"sbcs":"utf16le"),a}({sz:12,color:{theme:1},name:"Arial",family:2,scheme:"minor"},r))}function ou(e,t){if(t){var r=0;t.forEach((function(t,n){++r<=256&&t&&eu(e,125,function(e,t){var r=Rr(12);r._W(2,t),r._W(2,t),r._W(2,256*e.width),r._W(2,0);var n=0;return e.hidden&&(n|=1),r._W(1,n),n=e.level||0,r._W(1,n),r._W(2,0),r}(hc(n,t),n))}))}}function iu(e,t,r,n,a){var o=16+pc(a.cellXfs,t,a);if(null!=t.v||t.bf)if(t.bf)eu(e,6,Ys(t,r,n,0,o));else switch(t.t){case"d":case"n":eu(e,515,function(e,t,r,n){var a=Rr(14);return Ka(e,t,n,a),kn(r,a),a}(r,n,"d"==t.t?Ie(ze(t.v)):t.v,o));break;case"b":case"e":eu(e,517,function(e,t,r,n,a,o){var i=Rr(8);return Ka(e,t,n,i),Fa(r,o,i),i}(r,n,t.v,o,0,t.t));break;case"s":case"str":if(a.bookSST)eu(e,253,function(e,t,r,n){var a=Rr(10);return Ka(e,t,n,a),a._W(4,r),a}(r,n,fc(a.Strings,t.v,a.revStrings),o));else eu(e,516,function(e,t,r,n,a){var o=!a||8==a.biff,i=Rr(+o+8+(1+o)*r.length);return Ka(e,t,n,i),i._W(2,r.length),o&&i._W(1,1),i._W((1+o)*r.length,r,o?"utf16le":"sbcs"),i}(r,n,(t.v||"").slice(0,255),o,a));break;default:eu(e,513,Ka(r,n,o))}else eu(e,513,Ka(r,n,o))}function su(e,t,r){var n,a=Lr(),o=r.SheetNames[e],i=r.Sheets[o]||{},s=(r||{}).Workbook||{},c=(s.Sheets||[])[e]||{},l=Array.isArray(i),u=8==t.biff,f="",h=[],d=Gr(i["!ref"]||"A1"),p=u?65536:16384;if(d.e.c>255||d.e.r>=p){if(t.WTF)throw new Error("Range "+(i["!ref"]||"A1")+" exceeds format limit A1:IV16384");d.e.c=Math.min(d.e.c,255),d.e.r=Math.min(d.e.c,p-1)}eu(a,2057,so(0,16,t)),eu(a,13,La(1)),eu(a,12,La(100)),eu(a,15,Ra(!0)),eu(a,17,Ra(!1)),eu(a,16,kn(.001)),eu(a,95,Ra(!0)),eu(a,42,Ra(!1)),eu(a,43,Ra(!1)),eu(a,130,La(1)),eu(a,128,function(e){var t=Rr(8);return t._W(4,0),t._W(2,e[0]?e[0]+1:0),t._W(2,e[1]?e[1]+1:0),t}([0,0])),eu(a,131,Ra(!1)),eu(a,132,Ra(!1)),u&&ou(a,i["!cols"]),eu(a,512,function(e,t){var r=8!=t.biff&&t.biff?2:4,n=Rr(2*r+6);return n._W(r,e.s.r),n._W(r,e.e.r+1),n._W(2,e.s.c),n._W(2,e.e.c+1),n._W(2,0),n}(d,t)),u&&(i["!links"]=[]);for(var g=d.s.r;g<=d.e.r;++g){f=Wr(g);for(var m=d.s.c;m<=d.e.c;++m){g===d.s.r&&(h[m]=Hr(m)),n=h[m]+f;var v=l?(i[g]||[])[m]:i[n];v&&(iu(a,v,g,m,t),u&&v.l&&i["!links"].push([n,v.l]))}}var b=c.CodeName||c.name||o;return u&&eu(a,574,function(e){var t=Rr(18),r=1718;return e&&e.RTL&&(r|=64),t._W(2,r),t._W(4,0),t._W(4,64),t._W(4,0),t._W(4,0),t}((s.Views||[])[0])),u&&(i["!merges"]||[]).length&&eu(a,229,function(e){var t=Rr(2+8*e.length);t._W(2,e.length);for(var r=0;r<e.length;++r)eo(e[r],t);return t}(i["!merges"])),u&&function(e,t){for(var r=0;r<t["!links"].length;++r){var n=t["!links"][r];eu(e,440,Ao(n)),n[1].Tooltip&&eu(e,2048,ko(n))}delete t["!links"]}(a,i),eu(a,442,Ha(b)),u&&function(e,t){var r=Rr(19);r._W(4,2151),r._W(4,0),r._W(4,0),r._W(2,3),r._W(1,1),r._W(4,0),eu(e,2151,r),(r=Rr(39))._W(4,2152),r._W(4,0),r._W(4,0),r._W(2,3),r._W(1,0),r._W(4,0),r._W(2,1),r._W(4,4),r._W(2,0),eo(Gr(t["!ref"]||"A1"),r),r._W(4,4),eu(e,2152,r)}(a,i),eu(a,10),a.end()}function cu(e,t,r){var n=Lr(),a=(e||{}).Workbook||{},o=a.Sheets||[],i=a.WBProps||{},s=8==r.biff,c=5==r.biff;(eu(n,2057,so(0,5,r)),"xla"==r.bookType&&eu(n,135),eu(n,225,s?La(1200):null),eu(n,193,function(e,t){t||(t=Rr(e));for(var r=0;r<e;++r)t._W(1,0);return t}(2)),c&&eu(n,191),c&&eu(n,192),eu(n,226),eu(n,92,function(e,t){var r=!t||8==t.biff,n=Rr(r?112:54);for(n._W(8==t.biff?2:1,7),r&&n._W(1,0),n._W(4,859007059),n._W(4,5458548|(r?0:536870912));n.l<n.length;)n._W(1,r?0:32);return n}(0,r)),eu(n,66,La(s?1200:1252)),s&&eu(n,353,La(0)),s&&eu(n,448),eu(n,317,function(e){for(var t=Rr(2*e),r=0;r<e;++r)t._W(2,r+1);return t}(e.SheetNames.length)),s&&e.vbaraw&&eu(n,211),s&&e.vbaraw)&&eu(n,442,Ha(i.CodeName||"ThisWorkbook"));eu(n,156,La(17)),eu(n,25,Ra(!1)),eu(n,18,Ra(!1)),eu(n,19,La(0)),s&&eu(n,431,Ra(!1)),s&&eu(n,444,La(0)),eu(n,61,function(){var e=Rr(18);return e._W(2,0),e._W(2,0),e._W(2,29280),e._W(2,17600),e._W(2,56),e._W(2,0),e._W(2,0),e._W(2,1),e._W(2,500),e}()),eu(n,64,Ra(!1)),eu(n,141,La(0)),eu(n,34,Ra("true"==function(e){return e.Workbook&&e.Workbook.WBProps&&_t(e.Workbook.WBProps.date1904)?"true":"false"}(e))),eu(n,14,Ra(!0)),s&&eu(n,439,Ra(!1)),eu(n,218,La(0)),au(n,0,r),function(e,t,r){t&&[[5,8],[23,26],[41,44],[50,392]].forEach((function(n){for(var a=n[0];a<=n[1];++a)null!=t[a]&&eu(e,1054,uo(a,t[a],r))}))}(n,e.SSF,r),function(e,t){for(var r=0;r<16;++r)eu(e,224,po({numFmtId:0,style:!0},0,t));t.cellXfs.forEach((function(r){eu(e,224,po(r,0,t))}))}(n,r),s&&eu(n,352,Ra(!1));var l=n.end(),u=Lr();s&&eu(u,140,function(e){return e||(e=Rr(4)),e._W(2,1),e._W(2,1),e}()),s&&r.Strings&&function(e,t,r,n){var a=n||(r||[]).length||0;if(a<=8224)return eu(e,t,r,a);var o=t;if(!isNaN(o)){for(var i=r.parts||[],s=0,c=0,l=0;l+(i[s]||8224)<=8224;)l+=i[s]||8224,s++;var u=e.next(4);for(u._W(2,o),u._W(2,l),e.push(r.slice(c,c+l)),c+=l;c<a;){for((u=e.next(4))._W(2,60),l=0;l+(i[s]||8224)<=8224;)l+=i[s]||8224,s++;u._W(2,l),e.push(r.slice(c,c+l)),c+=l}}}(u,252,function(e,t){var r=Rr(8);r._W(4,e.Count),r._W(4,e.Unique);for(var n=[],a=0;a<e.length;++a)n[a]=ja(e[a]);var o=E([r].concat(n));return o.parts=[r.length].concat(n.map((function(e){return e.length}))),o}(r.Strings)),eu(u,10);var f=u.end(),h=Lr(),d=0,p=0;for(p=0;p<e.SheetNames.length;++p)d+=(s?12:11)+(s?2:1)*e.SheetNames[p].length;var g=l.length+d+f.length;for(p=0;p<e.SheetNames.length;++p){eu(h,133,co({pos:g,hs:(o[p]||{}).Hidden||0,dt:0,name:e.SheetNames[p]},r)),g+=t[p].length}var m=h.end();if(d!=m.length)throw new Error("BS8 "+d+" != "+m.length);var v=[];return l.length&&v.push(l),m.length&&v.push(m),f.length&&v.push(f),E(v)}function lu(e,t){for(var r=0;r<=e.SheetNames.length;++r){var n=e.Sheets[e.SheetNames[r]];if(n&&n["!ref"])qr(n["!ref"]).e.c>255&&"undefined"!=typeof console&&console.error&&console.error("Worksheet '"+e.SheetNames[r]+"' extends beyond column IV (255). Data may be lost.")}var a=t||{};switch(a.biff||2){case 8:case 5:return function(e,t){var r=t||{},n=[];e&&!e.SSF&&(e.SSF=qe(j)),e&&e.SSF&&(we(),ye(e.SSF),r.revssf=Pe(e.SSF),r.revssf[e.SSF[65535]]=0,r.ssf=e.SSF),r.Strings=[],r.Strings.Count=0,r.Strings.Unique=0,rf(r),r.cellXfs=[],pc(r.cellXfs,{},{revssf:{General:0}}),e.Props||(e.Props={});for(var a=0;a<e.SheetNames.length;++a)n[n.length]=su(a,r,e);return n.unshift(cu(e,n,r)),E(n)}(e,t);case 4:case 3:case 2:return nu(e,t)}throw new Error("invalid type "+a.bookType+" for BIFF")}function uu(e,t){var r=t||{};null!=p&&null==r.dense&&(r.dense=p);var n=r.dense?[]:{},a=(e=e.replace(/<!--.*?-->/g,"")).match(/<table/i);if(!a)throw new Error("Invalid HTML: could not find <table>");var o=e.match(/<\/table/i),i=a.index,s=o&&o.index||e.length,c=Ke(e.slice(i,s),/(:?<tr[^>]*>)/i,"<tr>"),l=-1,u=0,f=0,h=0,d={s:{r:1e7,c:1e7},e:{r:0,c:0}},g=[];for(i=0;i<c.length;++i){var m=c[i].trim(),v=m.slice(0,3).toLowerCase();if("<tr"!=v){if("<td"==v||"<th"==v){var b=m.split(/<\/t[dh]>/i);for(s=0;s<b.length;++s){var y=b[s].trim();if(y.match(/<t[dh]/i)){for(var w=y,S=0;"<"==w.charAt(0)&&(S=w.indexOf(">"))>-1;)w=w.slice(S+1);for(var x=0;x<g.length;++x){var A=g[x];A.s.c==u&&A.s.r<l&&l<=A.e.r&&(u=A.e.c+1,x=-1)}var k=gt(y.slice(0,y.indexOf(">")));h=k.colspan?+k.colspan:1,((f=+k.rowspan)>1||h>1)&&g.push({s:{r:l,c:u},e:{r:l+(f||1)-1,c:u+h-1}});var T=k.t||k["data-t"]||"";if(w.length)if(w=Ft(w),d.s.r>l&&(d.s.r=l),d.e.r<l&&(d.e.r=l),d.s.c>u&&(d.s.c=u),d.e.c<u&&(d.e.c=u),w.length){var E={t:"s",v:w};r.raw||!w.trim().length||"s"==T||("TRUE"===w?E={t:"b",v:!0}:"FALSE"===w?E={t:"b",v:!1}:isNaN(Ge(w))?isNaN(Ye(w).getDate())||(E={t:"d",v:ze(w)},r.cellDates||(E={t:"n",v:Ie(E.v)}),E.z=r.dateNF||j[14]):E={t:"n",v:Ge(w)}),r.dense?(n[l]||(n[l]=[]),n[l][u]=E):n[Vr({r:l,c:u})]=E,u+=h}else u+=h;else u+=h}}}}else{if(++l,r.sheetRows&&r.sheetRows<=l){--l;break}u=0}}return n["!ref"]=$r(d),g.length&&(n["!merges"]=g),n}function fu(e,t,r,n){for(var a=e["!merges"]||[],o=[],i=t.s.c;i<=t.e.c;++i){for(var s=0,c=0,l=0;l<a.length;++l)if(!(a[l].s.r>r||a[l].s.c>i||a[l].e.r<r||a[l].e.c<i)){if(a[l].s.r<r||a[l].s.c<i){s=-1;break}s=a[l].e.r-a[l].s.r+1,c=a[l].e.c-a[l].s.c+1;break}if(!(s<0)){var u=Vr({r:r,c:i}),f=n.dense?(e[r]||[])[i]:e[u],h=f&&null!=f.v&&(f.h||Tt(f.w||(Yr(f),f.w)||""))||"",d={};s>1&&(d.rowspan=s),c>1&&(d.colspan=c),n.editable?h='<span contenteditable="true">'+h+"</span>":f&&(d["data-t"]=f&&f.t||"z",null!=f.v&&(d["data-v"]=f.v),null!=f.z&&(d["data-z"]=f.z),f.l&&"#"!=(f.l.Target||"#").charAt(0)&&(h='<a href="'+f.l.Target+'">'+h+"</a>")),d.id=(n.id||"sjs")+"-"+u,o.push(zt("td",h,d))}}return"<tr>"+o.join("")+"</tr>"}var hu='<html><head><meta charset="utf-8"/><title>SheetJS Table Export</title></head><body>',du="</body></html>";function pu(e,t,r){return[].join("")+"<table"+(r&&r.id?' id="'+r.id+'"':"")+">"}function gu(e,t){var r=t||{},n=null!=r.header?r.header:hu,a=null!=r.footer?r.footer:du,o=[n],i=qr(e["!ref"]);r.dense=Array.isArray(e),o.push(pu(0,0,r));for(var s=i.s.r;s<=i.e.r;++s)o.push(fu(e,i,s,r));return o.push("</table>"+a),o.join("")}function mu(e,t,r){var n=r||{};null!=p&&(n.dense=p);var a=0,o=0;if(null!=n.origin)if("number"==typeof n.origin)a=n.origin;else{var i="string"==typeof n.origin?zr(n.origin):n.origin;a=i.r,o=i.c}var s=t.getElementsByTagName("tr"),c=Math.min(n.sheetRows||1e7,s.length),l={s:{r:0,c:0},e:{r:a,c:o}};if(e["!ref"]){var u=qr(e["!ref"]);l.s.r=Math.min(l.s.r,u.s.r),l.s.c=Math.min(l.s.c,u.s.c),l.e.r=Math.max(l.e.r,u.e.r),l.e.c=Math.max(l.e.c,u.e.c),-1==a&&(l.e.r=a=u.e.r+1)}var f=[],h=0,d=e["!rows"]||(e["!rows"]=[]),g=0,m=0,v=0,b=0,y=0,w=0;for(e["!cols"]||(e["!cols"]=[]);g<s.length&&m<c;++g){var S=s[g];if(bu(S)){if(n.display)continue;d[m]={hidden:!0}}var x=S.children;for(v=b=0;v<x.length;++v){var A=x[v];if(!n.display||!bu(A)){var k=A.hasAttribute("data-v")?A.getAttribute("data-v"):A.hasAttribute("v")?A.getAttribute("v"):Ft(A.innerHTML),T=A.getAttribute("data-z")||A.getAttribute("z");for(h=0;h<f.length;++h){var E=f[h];E.s.c==b+o&&E.s.r<m+a&&m+a<=E.e.r&&(b=E.e.c+1-o,h=-1)}w=+A.getAttribute("colspan")||1,((y=+A.getAttribute("rowspan")||1)>1||w>1)&&f.push({s:{r:m+a,c:b+o},e:{r:m+a+(y||1)-1,c:b+o+(w||1)-1}});var _={t:"s",v:k},N=A.getAttribute("data-t")||A.getAttribute("t")||"";null!=k&&(0==k.length?_.t=N||"z":n.raw||0==k.trim().length||"s"==N||("TRUE"===k?_={t:"b",v:!0}:"FALSE"===k?_={t:"b",v:!1}:isNaN(Ge(k))?isNaN(Ye(k).getDate())||(_={t:"d",v:ze(k)},n.cellDates||(_={t:"n",v:Ie(_.v)}),_.z=n.dateNF||j[14]):_={t:"n",v:Ge(k)})),void 0===_.z&&null!=T&&(_.z=T);var C="",O=A.getElementsByTagName("A");if(O&&O.length)for(var R=0;R<O.length&&(!O[R].hasAttribute("href")||"#"==(C=O[R].getAttribute("href")).charAt(0));++R);C&&"#"!=C.charAt(0)&&(_.l={Target:C}),n.dense?(e[m+a]||(e[m+a]=[]),e[m+a][b+o]=_):e[Vr({c:b+o,r:m+a})]=_,l.e.c<b+o&&(l.e.c=b+o),b+=w}}++m}return f.length&&(e["!merges"]=(e["!merges"]||[]).concat(f)),l.e.r=Math.max(l.e.r,m-1+a),e["!ref"]=$r(l),m>=c&&(e["!fullref"]=$r((l.e.r=s.length-g+m-1+a,l))),e}function vu(e,t){return mu((t||{}).dense?[]:{},e,t)}function bu(e){var t="",r=function(e){return e.ownerDocument.defaultView&&"function"==typeof e.ownerDocument.defaultView.getComputedStyle?e.ownerDocument.defaultView.getComputedStyle:"function"==typeof getComputedStyle?getComputedStyle:null}(e);return r&&(t=r(e).getPropertyValue("display")),t||(t=e.style&&e.style.display),"none"===t}function yu(e){var t=e.replace(/[\t\r\n]/g," ").trim().replace(/ +/g," ").replace(/<text:s\/>/g," ").replace(/<text:s text:c="(\d+)"\/>/g,(function(e,t){return Array(parseInt(t,10)+1).join(" ")})).replace(/<text:tab[^>]*\/>/g,"\t").replace(/<text:line-break\/>/g,"\n");return[yt(t.replace(/<[^>]*>/g,""))]}var wu={day:["d","dd"],month:["m","mm"],year:["y","yy"],hours:["h","hh"],minutes:["m","mm"],seconds:["s","ss"],"am-pm":["A/P","AM/PM"],"day-of-week":["ddd","dddd"],era:["e","ee"],quarter:["\\Qm",'m\\"th quarter"']};function Su(e,t){var r=t||{};null!=p&&null==r.dense&&(r.dense=p);var n,a,o,i,s,c,l=qt(e),u=[],f={name:""},h="",d=0,g={},m=[],v=r.dense?[]:{},b={value:""},y="",w=0,S=[],x=-1,A=-1,k={s:{r:1e6,c:1e7},e:{r:0,c:0}},T=0,E={},_=[],N={},C=[],O=1,R=1,P=[],L={Names:[]},I={},F=["",""],D=[],M={},j="",B=0,W=!1,U=!1,H=0;for($t.lastIndex=0,l=l.replace(/<!--([\s\S]*?)-->/gm,"").replace(/<!DOCTYPE[^\[]*\[[^\]]*\]>/gm,"");s=$t.exec(l);)switch(s[3]=s[3].replace(/_.*$/,"")){case"table":case"工作表":"/"===s[1]?(k.e.c>=k.s.c&&k.e.r>=k.s.r?v["!ref"]=$r(k):v["!ref"]="A1:A1",r.sheetRows>0&&r.sheetRows<=k.e.r&&(v["!fullref"]=v["!ref"],k.e.r=r.sheetRows-1,v["!ref"]=$r(k)),_.length&&(v["!merges"]=_),C.length&&(v["!rows"]=C),o.name=o["名称"]||o.name,"undefined"!=typeof JSON&&JSON.stringify(o),m.push(o.name),g[o.name]=v,U=!1):"/"!==s[0].charAt(s[0].length-2)&&(o=gt(s[0],!1),x=A=-1,k.s.r=k.s.c=1e7,k.e.r=k.e.c=0,v=r.dense?[]:{},_=[],C=[],U=!0);break;case"table-row-group":"/"===s[1]?--T:++T;break;case"table-row":case"行":if("/"===s[1]){x+=O,O=1;break}if((i=gt(s[0],!1))["行号"]?x=i["行号"]-1:-1==x&&(x=0),(O=+i["number-rows-repeated"]||1)<10)for(H=0;H<O;++H)T>0&&(C[x+H]={level:T});A=-1;break;case"covered-table-cell":"/"!==s[1]&&++A,r.sheetStubs&&(r.dense?(v[x]||(v[x]=[]),v[x][A]={t:"z"}):v[Vr({r:x,c:A})]={t:"z"}),y="",S=[];break;case"table-cell":case"数据":if("/"===s[0].charAt(s[0].length-2))++A,b=gt(s[0],!1),R=parseInt(b["number-columns-repeated"]||"1",10),c={t:"z",v:null},b.formula&&0!=r.cellFormula&&(c.f=ac(yt(b.formula))),"string"==(b["数据类型"]||b["value-type"])&&(c.t="s",c.v=yt(b["string-value"]||""),r.dense?(v[x]||(v[x]=[]),v[x][A]=c):v[Vr({r:x,c:A})]=c),A+=R-1;else if("/"!==s[1]){y="",w=0,S=[],R=1;var z=O?x+O-1:x;if(++A>k.e.c&&(k.e.c=A),A<k.s.c&&(k.s.c=A),x<k.s.r&&(k.s.r=x),z>k.e.r&&(k.e.r=z),D=[],M={},c={t:(b=gt(s[0],!1))["数据类型"]||b["value-type"],v:null},r.cellFormula)if(b.formula&&(b.formula=yt(b.formula)),b["number-matrix-columns-spanned"]&&b["number-matrix-rows-spanned"]&&(N={s:{r:x,c:A},e:{r:x+(parseInt(b["number-matrix-rows-spanned"],10)||0)-1,c:A+(parseInt(b["number-matrix-columns-spanned"],10)||0)-1}},c.F=$r(N),P.push([N,c.F])),b.formula)c.f=ac(b.formula);else for(H=0;H<P.length;++H)x>=P[H][0].s.r&&x<=P[H][0].e.r&&A>=P[H][0].s.c&&A<=P[H][0].e.c&&(c.F=P[H][1]);switch((b["number-columns-spanned"]||b["number-rows-spanned"])&&(N={s:{r:x,c:A},e:{r:x+(parseInt(b["number-rows-spanned"],10)||0)-1,c:A+(parseInt(b["number-columns-spanned"],10)||0)-1}},_.push(N)),b["number-columns-repeated"]&&(R=parseInt(b["number-columns-repeated"],10)),c.t){case"boolean":c.t="b",c.v=_t(b["boolean-value"]);break;case"float":case"percentage":case"currency":c.t="n",c.v=parseFloat(b.value);break;case"date":c.t="d",c.v=ze(b["date-value"]),r.cellDates||(c.t="n",c.v=Ie(c.v)),c.z="m/d/yy";break;case"time":c.t="n",c.v=Be(b["time-value"])/86400,r.cellDates&&(c.t="d",c.v=je(c.v)),c.z="HH:MM:SS";break;case"number":c.t="n",c.v=parseFloat(b["数据数值"]);break;default:if("string"!==c.t&&"text"!==c.t&&c.t)throw new Error("Unsupported value type "+c.t);c.t="s",null!=b["string-value"]&&(y=yt(b["string-value"]),S=[])}}else{if(W=!1,"s"===c.t&&(c.v=y||"",S.length&&(c.R=S),W=0==w),I.Target&&(c.l=I),D.length>0&&(c.c=D,D=[]),y&&!1!==r.cellText&&(c.w=y),W&&(c.t="z",delete c.v),(!W||r.sheetStubs)&&!(r.sheetRows&&r.sheetRows<=x))for(var V=0;V<O;++V){if(R=parseInt(b["number-columns-repeated"]||"1",10),r.dense)for(v[x+V]||(v[x+V]=[]),v[x+V][A]=0==V?c:qe(c);--R>0;)v[x+V][A+R]=qe(c);else for(v[Vr({r:x+V,c:A})]=c;--R>0;)v[Vr({r:x+V,c:A+R})]=qe(c);k.e.c<=A&&(k.e.c=A)}A+=(R=parseInt(b["number-columns-repeated"]||"1",10))-1,R=0,c={},y="",S=[]}I={};break;case"document":case"document-content":case"电子表格文档":case"spreadsheet":case"主体":case"scripts":case"styles":case"font-face-decls":case"master-styles":if("/"===s[1]){if((n=u.pop())[0]!==s[3])throw"Bad state: "+n}else"/"!==s[0].charAt(s[0].length-2)&&u.push([s[3],!0]);break;case"annotation":if("/"===s[1]){if((n=u.pop())[0]!==s[3])throw"Bad state: "+n;M.t=y,S.length&&(M.R=S),M.a=j,D.push(M)}else"/"!==s[0].charAt(s[0].length-2)&&u.push([s[3],!1]);j="",B=0,y="",w=0,S=[];break;case"creator":"/"===s[1]?j=l.slice(B,s.index):B=s.index+s[0].length;break;case"meta":case"元数据":case"settings":case"config-item-set":case"config-item-map-indexed":case"config-item-map-entry":case"config-item-map-named":case"shapes":case"frame":case"text-box":case"image":case"data-pilot-tables":case"list-style":case"form":case"dde-links":case"event-listeners":case"chart":if("/"===s[1]){if((n=u.pop())[0]!==s[3])throw"Bad state: "+n}else"/"!==s[0].charAt(s[0].length-2)&&u.push([s[3],!1]);y="",w=0,S=[];break;case"scientific-number":case"currency-symbol":case"currency-style":case"script":case"libraries":case"automatic-styles":case"default-style":case"page-layout":case"style":case"map":case"font-face":case"paragraph-properties":case"table-properties":case"table-column-properties":case"table-row-properties":case"table-cell-properties":case"fraction":case"boolean-style":case"boolean":case"text-style":case"text-content":case"text-properties":case"embedded-text":case"body":case"电子表格":case"forms":case"table-column":case"table-header-rows":case"table-rows":case"table-column-group":case"table-header-columns":case"table-columns":case"null-date":case"graphic-properties":case"calculation-settings":case"named-expressions":case"label-range":case"label-ranges":case"named-expression":case"sort":case"sort-by":case"sort-groups":case"tab":case"line-break":case"span":case"s":case"date":case"object":case"title":case"标题":case"desc":case"binary-data":case"table-source":case"scenario":case"iteration":case"content-validations":case"content-validation":case"help-message":case"error-message":case"database-ranges":case"filter":case"filter-and":case"filter-or":case"filter-condition":case"list-level-style-bullet":case"list-level-style-number":case"list-level-properties":case"sender-firstname":case"sender-lastname":case"sender-initials":case"sender-title":case"sender-position":case"sender-email":case"sender-phone-private":case"sender-fax":case"sender-company":case"sender-phone-work":case"sender-street":case"sender-city":case"sender-postal-code":case"sender-country":case"sender-state-or-province":case"author-name":case"author-initials":case"chapter":case"file-name":case"template-name":case"sheet-name":case"event-listener":case"initial-creator":case"creation-date":case"print-date":case"generator":case"document-statistic":case"user-defined":case"editing-duration":case"editing-cycles":case"config-item":case"page-number":case"page-count":case"time":case"cell-range-source":case"detective":case"operation":case"highlighted-range":case"data-pilot-table":case"source-cell-range":case"source-service":case"data-pilot-field":case"data-pilot-level":case"data-pilot-subtotals":case"data-pilot-subtotal":case"data-pilot-members":case"data-pilot-member":case"data-pilot-display-info":case"data-pilot-sort-info":case"data-pilot-layout-info":case"data-pilot-field-reference":case"data-pilot-groups":case"data-pilot-group":case"data-pilot-group-member":case"rect":case"dde-connection-decls":case"dde-connection-decl":case"dde-link":case"dde-source":case"properties":case"property":case"table-protection":case"data-pilot-grand-total":case"office-document-common-attrs":break;case"number-style":case"percentage-style":case"date-style":case"time-style":if("/"===s[1]){if(E[f.name]=h,(n=u.pop())[0]!==s[3])throw"Bad state: "+n}else"/"!==s[0].charAt(s[0].length-2)&&(h="",f=gt(s[0],!1),u.push([s[3],!0]));break;case"number":case"day":case"month":case"year":case"era":case"day-of-week":case"week-of-year":case"quarter":case"hours":case"minutes":case"seconds":case"am-pm":switch(u[u.length-1][0]){case"time-style":case"date-style":a=gt(s[0],!1),h+=wu[s[3]]["long"===a.style?1:0]}break;case"text":if("/>"===s[0].slice(-2))break;if("/"===s[1])switch(u[u.length-1][0]){case"number-style":case"date-style":case"time-style":h+=l.slice(d,s.index)}else d=s.index+s[0].length;break;case"named-range":F=ic((a=gt(s[0],!1))["cell-range-address"]);var q={Name:a.name,Ref:F[0]+"!"+F[1]};U&&(q.Sheet=m.length),L.Names.push(q);break;case"p":case"文本串":if(["master-styles"].indexOf(u[u.length-1][0])>-1)break;if("/"!==s[1]||b&&b["string-value"])gt(s[0],!1),w=s.index+s[0].length;else{var $=yu(l.slice(w,s.index));y=(y.length>0?y+"\n":"")+$[0]}break;case"database-range":if("/"===s[1])break;try{g[(F=ic(gt(s[0])["target-range-address"]))[0]]["!autofilter"]={ref:F[1]}}catch(e){}break;case"a":if("/"!==s[1]){if(!(I=gt(s[0],!1)).href)break;I.Target=yt(I.href),delete I.href,"#"==I.Target.charAt(0)&&I.Target.indexOf(".")>-1?(F=ic(I.Target.slice(1)),I.Target="#"+F[0]+"!"+F[1]):I.Target.match(/^\.\.[\\\/]/)&&(I.Target=I.Target.slice(3))}break;default:switch(s[2]){case"dc:":case"calcext:":case"loext:":case"ooo:":case"chartooo:":case"draw:":case"style:":case"chart:":case"form:":case"uof:":case"表:":case"字:":break;default:if(r.WTF)throw new Error(s)}}var G={Sheets:g,SheetNames:m,Workbook:L};return r.bookSheets&&delete G.Sheets,G}function xu(e,t){t=t||{},Qe(e,"META-INF/manifest.xml")&&function(e,t){for(var r,n,a=qt(e);r=$t.exec(a);)switch(r[3]){case"manifest":break;case"file-entry":if("/"==(n=gt(r[0],!1)).path&&n.type!==Yn)throw new Error("This OpenDocument is not a spreadsheet");break;case"encryption-data":case"algorithm":case"start-key-generation":case"key-derivation":throw new Error("Unsupported ODS Encryption");default:if(t&&t.WTF)throw r}}(tt(e,"META-INF/manifest.xml"),t);var r=rt(e,"content.xml");if(!r)throw new Error("Missing content.xml in ODS / UOF file");var n=Su(Pt(r),t);return Qe(e,"meta.xml")&&(n.Props=ta(tt(e,"meta.xml"))),n}function Au(e,t){return Su(e,t)}var ku=function(){var e=["<office:master-styles>",'<style:master-page style:name="mp1" style:page-layout-name="mp1">',"<style:header/>",'<style:header-left style:display="false"/>',"<style:footer/>",'<style:footer-left style:display="false"/>',"</style:master-page>","</office:master-styles>"].join(""),t="<office:document-styles "+Ht({"xmlns:office":"urn:oasis:names:tc:opendocument:xmlns:office:1.0","xmlns:table":"urn:oasis:names:tc:opendocument:xmlns:table:1.0","xmlns:style":"urn:oasis:names:tc:opendocument:xmlns:style:1.0","xmlns:text":"urn:oasis:names:tc:opendocument:xmlns:text:1.0","xmlns:draw":"urn:oasis:names:tc:opendocument:xmlns:drawing:1.0","xmlns:fo":"urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0","xmlns:xlink":"http://www.w3.org/1999/xlink","xmlns:dc":"http://purl.org/dc/elements/1.1/","xmlns:number":"urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0","xmlns:svg":"urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0","xmlns:of":"urn:oasis:names:tc:opendocument:xmlns:of:1.2","office:version":"1.2"})+">"+e+"</office:document-styles>";return function(){return lt+t}}(),Tu=function(){var e=function(e){return xt(e).replace(/ +/g,(function(e){return'<text:s text:c="'+e.length+'"/>'})).replace(/\t/g,"<text:tab/>").replace(/\n/g,"</text:p><text:p>").replace(/^ /,"<text:s/>").replace(/ $/,"<text:s/>")},t=" <table:table-cell />\n",r=function(r,n,a){var o=[];o.push(' <table:table table:name="'+xt(n.SheetNames[a])+'" table:style-name="ta1">\n');var i=0,s=0,c=qr(r["!ref"]||"A1"),l=r["!merges"]||[],u=0,f=Array.isArray(r);if(r["!cols"])for(s=0;s<=c.e.c;++s)o.push(" <table:table-column"+(r["!cols"][s]?' table:style-name="co'+r["!cols"][s].ods+'"':"")+"></table:table-column>\n");var h="",d=r["!rows"]||[];for(i=0;i<c.s.r;++i)h=d[i]?' table:style-name="ro'+d[i].ods+'"':"",o.push(" <table:table-row"+h+"></table:table-row>\n");for(;i<=c.e.r;++i){for(h=d[i]?' table:style-name="ro'+d[i].ods+'"':"",o.push(" <table:table-row"+h+">\n"),s=0;s<c.s.c;++s)o.push(t);for(;s<=c.e.c;++s){var p=!1,g={},m="";for(u=0;u!=l.length;++u)if(!(l[u].s.c>s||l[u].s.r>i||l[u].e.c<s||l[u].e.r<i)){l[u].s.c==s&&l[u].s.r==i||(p=!0),g["table:number-columns-spanned"]=l[u].e.c-l[u].s.c+1,g["table:number-rows-spanned"]=l[u].e.r-l[u].s.r+1;break}if(p)o.push(" <table:covered-table-cell/>\n");else{var v=Vr({r:i,c:s}),b=f?(r[i]||[])[s]:r[v];if(b&&b.f&&(g["table:formula"]=xt(oc(b.f)),b.F&&b.F.slice(0,v.length)==v)){var y=qr(b.F);g["table:number-matrix-columns-spanned"]=y.e.c-y.s.c+1,g["table:number-matrix-rows-spanned"]=y.e.r-y.s.r+1}if(b){switch(b.t){case"b":m=b.v?"TRUE":"FALSE",g["office:value-type"]="boolean",g["office:boolean-value"]=b.v?"true":"false";break;case"n":m=b.w||String(b.v||0),g["office:value-type"]="float",g["office:value"]=b.v||0;break;case"s":case"str":m=null==b.v?"":b.v,g["office:value-type"]="string";break;case"d":m=b.w||ze(b.v).toISOString(),g["office:value-type"]="date",g["office:date-value"]=ze(b.v).toISOString(),g["table:style-name"]="ce1";break;default:o.push(t);continue}var w=e(m);if(b.l&&b.l.Target){var S=b.l.Target;"#"==(S="#"==S.charAt(0)?"#"+sc(S.slice(1)):S).charAt(0)||S.match(/^\w+:/)||(S="../"+S),w=zt("text:a",w,{"xlink:href":S.replace(/&/g,"&")})}o.push(" "+zt("table:table-cell",zt("text:p",w,{}),g)+"\n")}else o.push(t)}}o.push(" </table:table-row>\n")}return o.push(" </table:table>\n"),o.join("")};return function(e,t){var n=[lt],a=Ht({"xmlns:office":"urn:oasis:names:tc:opendocument:xmlns:office:1.0","xmlns:table":"urn:oasis:names:tc:opendocument:xmlns:table:1.0","xmlns:style":"urn:oasis:names:tc:opendocument:xmlns:style:1.0","xmlns:text":"urn:oasis:names:tc:opendocument:xmlns:text:1.0","xmlns:draw":"urn:oasis:names:tc:opendocument:xmlns:drawing:1.0","xmlns:fo":"urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0","xmlns:xlink":"http://www.w3.org/1999/xlink","xmlns:dc":"http://purl.org/dc/elements/1.1/","xmlns:meta":"urn:oasis:names:tc:opendocument:xmlns:meta:1.0","xmlns:number":"urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0","xmlns:presentation":"urn:oasis:names:tc:opendocument:xmlns:presentation:1.0","xmlns:svg":"urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0","xmlns:chart":"urn:oasis:names:tc:opendocument:xmlns:chart:1.0","xmlns:dr3d":"urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0","xmlns:math":"http://www.w3.org/1998/Math/MathML","xmlns:form":"urn:oasis:names:tc:opendocument:xmlns:form:1.0","xmlns:script":"urn:oasis:names:tc:opendocument:xmlns:script:1.0","xmlns:ooo":"http://openoffice.org/2004/office","xmlns:ooow":"http://openoffice.org/2004/writer","xmlns:oooc":"http://openoffice.org/2004/calc","xmlns:dom":"http://www.w3.org/2001/xml-events","xmlns:xforms":"http://www.w3.org/2002/xforms","xmlns:xsd":"http://www.w3.org/2001/XMLSchema","xmlns:xsi":"http://www.w3.org/2001/XMLSchema-instance","xmlns:sheet":"urn:oasis:names:tc:opendocument:sh33tjs:1.0","xmlns:rpt":"http://openoffice.org/2005/report","xmlns:of":"urn:oasis:names:tc:opendocument:xmlns:of:1.2","xmlns:xhtml":"http://www.w3.org/1999/xhtml","xmlns:grddl":"http://www.w3.org/2003/g/data-view#","xmlns:tableooo":"http://openoffice.org/2009/table","xmlns:drawooo":"http://openoffice.org/2010/draw","xmlns:calcext":"urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0","xmlns:loext":"urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0","xmlns:field":"urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0","xmlns:formx":"urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0","xmlns:css3t":"http://www.w3.org/TR/css3-text/","office:version":"1.2"}),o=Ht({"xmlns:config":"urn:oasis:names:tc:opendocument:xmlns:config:1.0","office:mimetype":"application/vnd.oasis.opendocument.spreadsheet"});"fods"==t.bookType?(n.push("<office:document"+a+o+">\n"),n.push(Zn().replace(/office:document-meta/g,"office:meta"))):n.push("<office:document-content"+a+">\n"),function(e,t){e.push(" <office:automatic-styles>\n"),e.push(' <number:date-style style:name="N37" number:automatic-order="true">\n'),e.push(' <number:month number:style="long"/>\n'),e.push(" <number:text>/</number:text>\n"),e.push(' <number:day number:style="long"/>\n'),e.push(" <number:text>/</number:text>\n"),e.push(" <number:year/>\n"),e.push(" </number:date-style>\n");var r=0;t.SheetNames.map((function(e){return t.Sheets[e]})).forEach((function(t){if(t&&t["!cols"])for(var n=0;n<t["!cols"].length;++n)if(t["!cols"][n]){var a=t["!cols"][n];if(null==a.width&&null==a.wpx&&null==a.wch)continue;Si(a),a.ods=r;var o=t["!cols"][n].wpx+"px";e.push(' <style:style style:name="co'+r+'" style:family="table-column">\n'),e.push(' <style:table-column-properties fo:break-before="auto" style:column-width="'+o+'"/>\n'),e.push(" </style:style>\n"),++r}}));var n=0;t.SheetNames.map((function(e){return t.Sheets[e]})).forEach((function(t){if(t&&t["!rows"])for(var r=0;r<t["!rows"].length;++r)if(t["!rows"][r]){t["!rows"][r].ods=n;var a=t["!rows"][r].hpx+"px";e.push(' <style:style style:name="ro'+n+'" style:family="table-row">\n'),e.push(' <style:table-row-properties fo:break-before="auto" style:row-height="'+a+'"/>\n'),e.push(" </style:style>\n"),++n}})),e.push(' <style:style style:name="ta1" style:family="table" style:master-page-name="mp1">\n'),e.push(' <style:table-properties table:display="true" style:writing-mode="lr-tb"/>\n'),e.push(" </style:style>\n"),e.push(' <style:style style:name="ce1" style:family="table-cell" style:parent-style-name="Default" style:data-style-name="N37"/>\n'),e.push(" </office:automatic-styles>\n")}(n,e),n.push(" <office:body>\n"),n.push(" <office:spreadsheet>\n");for(var i=0;i!=e.SheetNames.length;++i)n.push(r(e.Sheets[e.SheetNames[i]],e,i));return n.push(" </office:spreadsheet>\n"),n.push(" </office:body>\n"),"fods"==t.bookType?n.push("</office:document>"):n.push("</office:document-content>"),n.join("")}}();function Eu(e,t){if("fods"==t.bookType)return Tu(e,t);var r=it(),n="",a=[],o=[];return ot(r,n="mimetype","application/vnd.oasis.opendocument.spreadsheet"),ot(r,n="content.xml",Tu(e,t)),a.push([n,"text/xml"]),o.push([n,"ContentFile"]),ot(r,n="styles.xml",ku(e,t)),a.push([n,"text/xml"]),o.push([n,"StylesFile"]),ot(r,n="meta.xml",lt+Zn()),a.push([n,"text/xml"]),o.push([n,"MetadataFile"]),ot(r,n="manifest.rdf",function(e){var t=[lt];t.push('<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">\n');for(var r=0;r!=e.length;++r)t.push(Kn(e[r][0],e[r][1])),t.push(Jn("",e[r][0]));return t.push(Kn("","Document","pkg")),t.push("</rdf:RDF>"),t.join("")}(o)),a.push([n,"application/rdf+xml"]),ot(r,n="META-INF/manifest.xml",function(e){var t=[lt];t.push('<manifest:manifest xmlns:manifest="urn:oasis:names:tc:opendocument:xmlns:manifest:1.0" manifest:version="1.2">\n'),t.push(' <manifest:file-entry manifest:full-path="/" manifest:version="1.2" manifest:media-type="application/vnd.oasis.opendocument.spreadsheet"/>\n');for(var r=0;r<e.length;++r)t.push(' <manifest:file-entry manifest:full-path="'+e[r][0]+'" manifest:media-type="'+e[r][1]+'"/>\n');return t.push("</manifest:manifest>"),t.join("")}(a)),r}function _u(e){return new DataView(e.buffer,e.byteOffset,e.byteLength)}function Nu(e){return"undefined"!=typeof TextDecoder?(new TextDecoder).decode(e):Pt(k(e))}function Cu(e){return"undefined"!=typeof TextEncoder?(new TextEncoder).encode(e):x(Lt(e))}function Ou(e){var t=e.reduce((function(e,t){return e+t.length}),0),r=new Uint8Array(t),n=0;return e.forEach((function(e){r.set(e,n),n+=e.length})),r}function Ru(e){return 16843009*((e=(858993459&(e-=e>>1&1431655765))+(e>>2&858993459))+(e>>4)&252645135)>>>24}function Pu(e,t){var r=t?t[0]:0,n=127&e[r];e:if(e[r++]>=128){if(n|=(127&e[r])<<7,e[r++]<128)break e;if(n|=(127&e[r])<<14,e[r++]<128)break e;if(n|=(127&e[r])<<21,e[r++]<128)break e;if(n+=(127&e[r])*Math.pow(2,28),++r,e[r++]<128)break e;if(n+=(127&e[r])*Math.pow(2,35),++r,e[r++]<128)break e;if(n+=(127&e[r])*Math.pow(2,42),++r,e[r++]<128)break e}return t&&(t[0]=r),n}function Lu(e){var t=new Uint8Array(7);t[0]=127&e;var r=1;e:if(e>127){if(t[r-1]|=128,t[r]=e>>7&127,++r,e<=16383)break e;if(t[r-1]|=128,t[r]=e>>14&127,++r,e<=2097151)break e;if(t[r-1]|=128,t[r]=e>>21&127,++r,e<=268435455)break e;if(t[r-1]|=128,t[r]=e/256>>>21&127,++r,e<=34359738367)break e;if(t[r-1]|=128,t[r]=e/65536>>>21&127,++r,e<=4398046511103)break e;t[r-1]|=128,t[r]=e/16777216>>>21&127,++r}return t.slice(0,r)}function Iu(e){var t=0,r=127&e[t];e:if(e[t++]>=128){if(r|=(127&e[t])<<7,e[t++]<128)break e;if(r|=(127&e[t])<<14,e[t++]<128)break e;if(r|=(127&e[t])<<21,e[t++]<128)break e;r|=(127&e[t])<<28}return r}function Fu(e){for(var t=[],r=[0];r[0]<e.length;){var n,a=r[0],o=Pu(e,r),i=7&o,s=0;if(0==(o=Math.floor(o/8)))break;switch(i){case 0:for(var c=r[0];e[r[0]++]>=128;);n=e.slice(c,r[0]);break;case 5:s=4,n=e.slice(r[0],r[0]+s),r[0]+=s;break;case 1:s=8,n=e.slice(r[0],r[0]+s),r[0]+=s;break;case 2:s=Pu(e,r),n=e.slice(r[0],r[0]+s),r[0]+=s;break;default:throw new Error("PB Type ".concat(i," for Field ").concat(o," at offset ").concat(a))}var l={data:n,type:i};null==t[o]?t[o]=[l]:t[o].push(l)}return t}function Du(e){var t=[];return e.forEach((function(e,r){e.forEach((function(e){e.data&&(t.push(Lu(8*r+e.type)),2==e.type&&t.push(Lu(e.data.length)),t.push(e.data))}))})),Ou(t)}function Mu(e,t){return(null==e?void 0:e.map((function(e){return t(e.data)})))||[]}function ju(e){for(var t,r=[],n=[0];n[0]<e.length;){var a=Pu(e,n),o=Fu(e.slice(n[0],n[0]+a));n[0]+=a;var i={id:Iu(o[1][0].data),messages:[]};o[2].forEach((function(t){var r=Fu(t.data),a=Iu(r[3][0].data);i.messages.push({meta:r,data:e.slice(n[0],n[0]+a)}),n[0]+=a})),(null==(t=o[3])?void 0:t[0])&&(i.merge=Iu(o[3][0].data)>>>0>0),r.push(i)}return r}function Bu(e){var t=[];return e.forEach((function(e){var r=[];r[1]=[{data:Lu(e.id),type:0}],r[2]=[],null!=e.merge&&(r[3]=[{data:Lu(+!!e.merge),type:0}]);var n=[];e.messages.forEach((function(e){n.push(e.data),e.meta[3]=[{type:0,data:Lu(e.data.length)}],r[2].push({data:Du(e.meta),type:2})}));var a=Du(r);t.push(Lu(a.length)),t.push(a),n.forEach((function(e){return t.push(e)}))})),Ou(t)}function Wu(e,t){if(0!=e)throw new Error("Unexpected Snappy chunk type ".concat(e));for(var r=[0],n=Pu(t,r),a=[];r[0]<t.length;){var o=3&t[r[0]];if(0!=o){var i=0,s=0;if(1==o?(s=4+(t[r[0]]>>2&7),i=(224&t[r[0]++])<<3,i|=t[r[0]++]):(s=1+(t[r[0]++]>>2),2==o?(i=t[r[0]]|t[r[0]+1]<<8,r[0]+=2):(i=(t[r[0]]|t[r[0]+1]<<8|t[r[0]+2]<<16|t[r[0]+3]<<24)>>>0,r[0]+=4)),a=[Ou(a)],0==i)throw new Error("Invalid offset 0");if(i>a[0].length)throw new Error("Invalid offset beyond length");if(s>=i)for(a.push(a[0].slice(-i)),s-=i;s>=a[a.length-1].length;)a.push(a[a.length-1]),s-=a[a.length-1].length;a.push(a[0].slice(-i,-i+s))}else{var c=t[r[0]++]>>2;if(c<60)++c;else{var l=c-59;c=t[r[0]],l>1&&(c|=t[r[0]+1]<<8),l>2&&(c|=t[r[0]+2]<<16),l>3&&(c|=t[r[0]+3]<<24),c>>>=0,c++,r[0]+=l}a.push(t.slice(r[0],r[0]+c)),r[0]+=c}}var u=Ou(a);if(u.length!=n)throw new Error("Unexpected length: ".concat(u.length," != ").concat(n));return u}function Uu(e){for(var t=[],r=0;r<e.length;){var n=e[r++],a=e[r]|e[r+1]<<8|e[r+2]<<16;r+=3,t.push(Wu(n,e.slice(r,r+a))),r+=a}if(r!==e.length)throw new Error("data is not a valid framed stream!");return Ou(t)}function Hu(e){for(var t=[],r=0;r<e.length;){var n=Math.min(e.length-r,268435455),a=new Uint8Array(4);t.push(a);var o=Lu(n),i=o.length;t.push(o),n<=60?(i++,t.push(new Uint8Array([n-1<<2]))):n<=256?(i+=2,t.push(new Uint8Array([240,n-1&255]))):n<=65536?(i+=3,t.push(new Uint8Array([244,n-1&255,n-1>>8&255]))):n<=16777216?(i+=4,t.push(new Uint8Array([248,n-1&255,n-1>>8&255,n-1>>16&255]))):n<=4294967296&&(i+=5,t.push(new Uint8Array([252,n-1&255,n-1>>8&255,n-1>>16&255,n-1>>>24&255]))),t.push(e.slice(r,r+n)),i+=n,a[0]=0,a[1]=255&i,a[2]=i>>8&255,a[3]=i>>16&255,r+=n}return Ou(t)}function zu(e,t,r){var n,a=_u(e),o=a.getUint32(8,!0),i=12,s=-1,c=-1,l=NaN,u=NaN,f=new Date(2001,0,1);switch(1&o&&(l=function(e,t){for(var r=(127&e[t+15])<<7|e[t+14]>>1,n=1&e[t+14],a=t+13;a>=t;--a)n=256*n+e[a];return(128&e[t+15]?-n:n)*Math.pow(10,r-6176)}(e,i),i+=16),2&o&&(u=a.getFloat64(i,!0),i+=8),4&o&&(f.setTime(f.getTime()+1e3*a.getFloat64(i,!0)),i+=8),8&o&&(c=a.getUint32(i,!0),i+=4),16&o&&(s=a.getUint32(i,!0),i+=4),e[1]){case 0:break;case 2:case 10:n={t:"n",v:l};break;case 3:n={t:"s",v:t[c]};break;case 5:n={t:"d",v:f};break;case 6:n={t:"b",v:u>0};break;case 7:n={t:"n",v:u/86400};break;case 8:n={t:"e",v:0};break;case 9:if(!(s>-1))throw new Error("Unsupported cell type ".concat(e[1]," : ").concat(31&o," : ").concat(e.slice(0,4)));n={t:"s",v:r[s]};break;default:throw new Error("Unsupported cell type ".concat(e[1]," : ").concat(31&o," : ").concat(e.slice(0,4)))}return n}function Vu(e,t){var r=new Uint8Array(32),n=_u(r),a=12,o=0;switch(r[0]=5,e.t){case"n":r[1]=2,function(e,t,r){var n=Math.floor(0==r?0:Math.LOG10E*Math.log(Math.abs(r)))+6176-20,a=r/Math.pow(10,n-6176);e[t+15]|=n>>7,e[t+14]|=(127&n)<<1;for(var o=0;a>=1;++o,a/=256)e[t+o]=255&a;e[t+15]|=r>=0?0:128}(r,a,e.v),o|=1,a+=16;break;case"b":r[1]=6,n.setFloat64(a,e.v?1:0,!0),o|=2,a+=8;break;case"s":if(-1==t.indexOf(e.v))throw new Error("Value ".concat(e.v," missing from SST!"));r[1]=3,n.setUint32(a,t.indexOf(e.v),!0),o|=8,a+=4;break;default:throw"unsupported cell type "+e.t}return n.setUint32(8,o,!0),r.slice(0,a)}function qu(e,t){var r=new Uint8Array(32),n=_u(r),a=12,o=0;switch(r[0]=3,e.t){case"n":r[2]=2,n.setFloat64(a,e.v,!0),o|=32,a+=8;break;case"b":r[2]=6,n.setFloat64(a,e.v?1:0,!0),o|=32,a+=8;break;case"s":if(-1==t.indexOf(e.v))throw new Error("Value ".concat(e.v," missing from SST!"));r[2]=3,n.setUint32(a,t.indexOf(e.v),!0),o|=16,a+=4;break;default:throw"unsupported cell type "+e.t}return n.setUint32(4,o,!0),r.slice(0,a)}function $u(e,t,r){switch(e[0]){case 0:case 1:case 2:case 3:return function(e,t,r,n){var a,o=_u(e),i=o.getUint32(4,!0),s=(n>1?12:8)+4*Ru(i&(n>1?3470:398)),c=-1,l=-1,u=NaN,f=new Date(2001,0,1);switch(512&i&&(c=o.getUint32(s,!0),s+=4),s+=4*Ru(i&(n>1?12288:4096)),16&i&&(l=o.getUint32(s,!0),s+=4),32&i&&(u=o.getFloat64(s,!0),s+=8),64&i&&(f.setTime(f.getTime()+1e3*o.getFloat64(s,!0)),s+=8),e[2]){case 0:break;case 2:a={t:"n",v:u};break;case 3:a={t:"s",v:t[l]};break;case 5:a={t:"d",v:f};break;case 6:a={t:"b",v:u>0};break;case 7:a={t:"n",v:u/86400};break;case 8:a={t:"e",v:0};break;case 9:if(c>-1)a={t:"s",v:r[c]};else if(l>-1)a={t:"s",v:t[l]};else{if(isNaN(u))throw new Error("Unsupported cell type ".concat(e.slice(0,4)));a={t:"n",v:u}}break;default:throw new Error("Unsupported cell type ".concat(e.slice(0,4)))}return a}(e,t,r,e[0]);case 5:return zu(e,t,r);default:throw new Error("Unsupported payload version ".concat(e[0]))}}function Gu(e){return Pu(Fu(e)[1][0].data)}function Xu(e,t){var r=Fu(t.data),n=Iu(r[1][0].data),a=r[3],o=[];return(a||[]).forEach((function(t){var r=Fu(t.data),a=Iu(r[1][0].data)>>>0;switch(n){case 1:o[a]=Nu(r[3][0].data);break;case 8:var i=Fu(e[Gu(r[9][0].data)][0].data),s=e[Gu(i[1][0].data)][0],c=Iu(s.meta[1][0].data);if(2001!=c)throw new Error("2000 unexpected reference to ".concat(c));var l=Fu(s.data);o[a]=l[3].map((function(e){return Nu(e.data)})).join("")}})),o}function Yu(e,t){var r,n=Fu(t.data),a=(null==(r=null==n?void 0:n[7])?void 0:r[0])?Iu(n[7][0].data)>>>0>0?1:0:-1,o=Mu(n[5],(function(e){return function(e,t){var r,n,a,o,i,s,c,l,u,f,h,d,p,g,m,v,b=Fu(e),y=Iu(b[1][0].data)>>>0,w=Iu(b[2][0].data)>>>0,S=(null==(n=null==(r=b[8])?void 0:r[0])?void 0:n.data)&&Iu(b[8][0].data)>0||!1;if((null==(o=null==(a=b[7])?void 0:a[0])?void 0:o.data)&&0!=t)m=null==(s=null==(i=b[7])?void 0:i[0])?void 0:s.data,v=null==(l=null==(c=b[6])?void 0:c[0])?void 0:l.data;else{if(!(null==(f=null==(u=b[4])?void 0:u[0])?void 0:f.data)||1==t)throw"NUMBERS Tile missing ".concat(t," cell storage");m=null==(d=null==(h=b[4])?void 0:h[0])?void 0:d.data,v=null==(g=null==(p=b[3])?void 0:p[0])?void 0:g.data}for(var x=S?4:1,A=_u(m),k=[],T=0;T<m.length/2;++T){var E=A.getUint16(2*T,!0);E<65535&&k.push([T,E])}if(k.length!=w)throw"Expected ".concat(w," cells, found ").concat(k.length);var _=[];for(T=0;T<k.length-1;++T)_[k[T][0]]=v.subarray(k[T][1]*x,k[T+1][1]*x);return k.length>=1&&(_[k[k.length-1][0]]=v.subarray(k[k.length-1][1]*x)),{R:y,cells:_}}(e,a)}));return{nrows:Iu(n[4][0].data)>>>0,data:o.reduce((function(e,t){return e[t.R]||(e[t.R]=[]),t.cells.forEach((function(r,n){if(e[t.R][n])throw new Error("Duplicate cell r=".concat(t.R," c=").concat(n));e[t.R][n]=r})),e}),[])}}function Ku(e,t){var r={"!ref":"A1"},n=e[Gu(Fu(t.data)[2][0].data)],a=Iu(n[0].meta[1][0].data);if(6001!=a)throw new Error("6000 unexpected reference to ".concat(a));return function(e,t,r){var n,a=Fu(t.data),o={s:{r:0,c:0},e:{r:0,c:0}};if(o.e.r=(Iu(a[6][0].data)>>>0)-1,o.e.r<0)throw new Error("Invalid row varint ".concat(a[6][0].data));if(o.e.c=(Iu(a[7][0].data)>>>0)-1,o.e.c<0)throw new Error("Invalid col varint ".concat(a[7][0].data));r["!ref"]=$r(o);var i=Fu(a[4][0].data),s=Xu(e,e[Gu(i[4][0].data)][0]),c=(null==(n=i[17])?void 0:n[0])?Xu(e,e[Gu(i[17][0].data)][0]):[],l=Fu(i[3][0].data),u=0;l[1].forEach((function(t){var n=Fu(t.data),a=e[Gu(n[2][0].data)][0],o=Iu(a.meta[1][0].data);if(6002!=o)throw new Error("6001 unexpected reference to ".concat(o));var i=Yu(0,a);i.data.forEach((function(e,t){e.forEach((function(e,n){var a=Vr({r:u+t,c:n}),o=$u(e,s,c);o&&(r[a]=o)}))})),u+=i.nrows}))}(e,n[0],r),r}function Ju(e,t){var r={SheetNames:[],Sheets:{}};if(Mu(Fu(t.data)[1],Gu).forEach((function(t){e[t].forEach((function(t){if(2==Iu(t.meta[1][0].data)){var n=function(e,t){var r,n=Fu(t.data),a={name:(null==(r=n[1])?void 0:r[0])?Nu(n[1][0].data):"",sheets:[]};return Mu(n[2],Gu).forEach((function(t){e[t].forEach((function(t){6e3==Iu(t.meta[1][0].data)&&a.sheets.push(Ku(e,t))}))})),a}(e,t);n.sheets.forEach((function(e,t){If(r,e,0==t?n.name:n.name+"_"+t,!0)}))}}))})),0==r.SheetNames.length)throw new Error("Empty NUMBERS file");return r}function Zu(e){var t,r,n,a,o={},i=[];if(e.FullPaths.forEach((function(e){if(e.match(/\.iwpv2/))throw new Error("Unsupported password protection")})),e.FileIndex.forEach((function(e){if(e.name.match(/\.iwa$/)){var t,r;try{t=Uu(e.content)}catch(t){return console.log("?? "+e.content.length+" "+(t.message||t))}try{r=ju(t)}catch(e){return console.log("## "+(e.message||e))}r.forEach((function(e){o[e.id]=e.messages,i.push(e.id)}))}})),!i.length)throw new Error("File has no messages");var s=(null==(a=null==(n=null==(r=null==(t=null==o?void 0:o[1])?void 0:t[0])?void 0:r.meta)?void 0:n[1])?void 0:a[0].data)&&1==Iu(o[1][0].meta[1][0].data)&&o[1][0];if(s||i.forEach((function(e){o[e].forEach((function(e){if(1==Iu(e.meta[1][0].data)>>>0){if(s)throw new Error("Document has multiple roots");s=e}}))})),!s)throw new Error("Cannot find Document root");return Ju(o,s)}function Qu(e,t,r){var n,a,o,i;if(!(null==(n=e[6])?void 0:n[0])||!(null==(a=e[7])?void 0:a[0]))throw"Mutation only works on post-BNC storages!";if((null==(i=null==(o=e[8])?void 0:o[0])?void 0:i.data)&&Iu(e[8][0].data)>0||!1)throw"Math only works with normal offsets";for(var s=0,c=_u(e[7][0].data),l=0,u=[],f=_u(e[4][0].data),h=0,d=[],p=0;p<t.length;++p)if(null!=t[p]){var g,m;switch(c.setUint16(2*p,l,!0),f.setUint16(2*p,h,!0),typeof t[p]){case"string":g=Vu({t:"s",v:t[p]},r),m=qu({t:"s",v:t[p]},r);break;case"number":g=Vu({t:"n",v:t[p]},r),m=qu({t:"n",v:t[p]},r);break;case"boolean":g=Vu({t:"b",v:t[p]},r),m=qu({t:"b",v:t[p]},r);break;default:throw new Error("Unsupported value "+t[p])}u.push(g),l+=g.length,d.push(m),h+=m.length,++s}else c.setUint16(2*p,65535,!0),f.setUint16(2*p,65535);for(e[2][0].data=Lu(s);p<e[7][0].data.length/2;++p)c.setUint16(2*p,65535,!0),f.setUint16(2*p,65535,!0);return e[6][0].data=Ou(u),e[3][0].data=Ou(d),s}function ef(e){return function(t){for(var r=0;r!=e.length;++r){var n=e[r];void 0===t[n[0]]&&(t[n[0]]=n[1]),"n"===n[2]&&(t[n[0]]=Number(t[n[0]]))}}}function tf(e){ef([["cellNF",!1],["cellHTML",!0],["cellFormula",!0],["cellStyles",!1],["cellText",!0],["cellDates",!1],["sheetStubs",!1],["sheetRows",0,"n"],["bookDeps",!1],["bookSheets",!1],["bookProps",!1],["bookFiles",!1],["bookVBA",!1],["password",""],["WTF",!1]])(e)}function rf(e){ef([["cellDates",!1],["bookSST",!1],["bookType","xlsx"],["compression",!1],["WTF",!1]])(e)}function nf(e){return Vn.WS.indexOf(e)>-1?"sheet":Vn.CS&&e==Vn.CS?"chart":Vn.DS&&e==Vn.DS?"dialog":Vn.MS&&e==Vn.MS?"macro":e&&e.length?e:"sheet"}function af(e,t,r,n,a,o,i,s,c,l,u,f){try{o[n]=$n(rt(e,r,!0),t);var h,d=tt(e,t);switch(s){case"sheet":h=gl(d,t,a,c,o[n],l,u,f);break;case"chart":if(!(h=ml(d,t,a,c,o[n],l))||!h["!drawel"])break;var p=ct(h["!drawel"].Target,t),g=qn(p),m=function(e,t){if(!e)return"??";var r=(e.match(/<c:chart [^>]*r:id="([^"]*)"/)||["",""])[1];return t["!id"][r].Target}(rt(e,p,!0),$n(rt(e,g,!0),p)),v=ct(m,p),b=qn(v);h=Kc(rt(e,v,!0),0,0,$n(rt(e,b,!0),v),0,h);break;case"macro":h=function(e,t,r,n,a,o,i,s){return t.slice(-4),{"!type":"macro"}}(0,t,0,0,o[n]);break;case"dialog":h=function(e,t,r,n,a,o,i,s){return t.slice(-4),{"!type":"dialog"}}(0,t,0,0,o[n]);break;default:throw new Error("Unrecognized sheet type "+s)}i[n]=h;var y=[];o&&o[n]&&Ce(o[n]).forEach((function(r){var a="";if(o[n][r].Type==Vn.CMNT){a=ct(o[n][r].Target,t);var i=yl(tt(e,a,!0),a,c);if(!i||!i.length)return;ss(h,i,!1)}o[n][r].Type==Vn.TCMNT&&(a=ct(o[n][r].Target,t),y=y.concat(function(e,t){var r=[],n=!1,a={},o=0;return e.replace(ht,(function(i,s){var c=gt(i);switch(mt(c[0])){case"<?xml":case"<ThreadedComments":case"</ThreadedComments>":case"<extLst":case"<extLst>":case"</extLst>":case"<extLst/>":break;case"<threadedComment":a={author:c.personId,guid:c.id,ref:c.ref,T:1};break;case"</threadedComment>":null!=a.t&&r.push(a);break;case"<text>":case"<text":o=s+i.length;break;case"</text>":a.t=e.slice(o,s).replace(/\r\n/g,"\n").replace(/\r/g,"\n");break;case"<mentions":case"<mentions>":case"<ext":n=!0;break;case"</mentions>":case"</ext>":n=!1;break;default:if(!n&&t.WTF)throw new Error("unrecognized "+c[0]+" in threaded comments")}return i})),r}(tt(e,a,!0),c)))})),y&&y.length&&ss(h,y,!0,c.people||[])}catch(e){if(c.WTF)throw e}}function of(e){return"/"==e.charAt(0)?e.slice(1):e}function sf(e,t){if(we(),tf(t=t||{}),Qe(e,"META-INF/manifest.xml"))return xu(e,t);if(Qe(e,"objectdata.xml"))return xu(e,t);if(Qe(e,"Index/Document.iwa")){if("undefined"==typeof Uint8Array)throw new Error("NUMBERS file parsing requires Uint8Array support");if(void 0!==Zu){if(e.FileIndex)return Zu(e);var r=Ee.utils.cfb_new();return at(e).forEach((function(t){ot(r,t,nt(e,t))})),Zu(r)}throw new Error("Unsupported NUMBERS file")}if(!Qe(e,"[Content_Types].xml")){if(Qe(e,"index.xml.gz"))throw new Error("Unsupported NUMBERS 08 file");if(Qe(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Error("Unsupported ZIP file")}var n,a,o=at(e),i=function(e){var t={workbooks:[],sheets:[],charts:[],dialogs:[],macros:[],rels:[],strs:[],comments:[],threadedcomments:[],links:[],coreprops:[],extprops:[],custprops:[],themes:[],styles:[],calcchains:[],vba:[],drawings:[],metadata:[],people:[],TODO:[],xmlns:""};if(!e||!e.match)return t;var r={};if((e.match(ht)||[]).forEach((function(e){var n=gt(e);switch(n[0].replace(dt,"<")){case"<?xml":break;case"<Types":t.xmlns=n["xmlns"+(n[0].match(/<(\w+):/)||["",""])[1]];break;case"<Default":r[n.Extension]=n.ContentType;break;case"<Override":void 0!==t[Un[n.ContentType]]&&t[Un[n.ContentType]].push(n.PartName)}})),t.xmlns!==Gt.CT)throw new Error("Unknown Namespace: "+t.xmlns);return t.calcchain=t.calcchains.length>0?t.calcchains[0]:"",t.sst=t.strs.length>0?t.strs[0]:"",t.style=t.styles.length>0?t.styles[0]:"",t.defaults=r,delete t.calcchains,t}(rt(e,"[Content_Types].xml")),s=!1;if(0===i.workbooks.length&&tt(e,a="xl/workbook.xml",!0)&&i.workbooks.push(a),0===i.workbooks.length){if(!tt(e,a="xl/workbook.bin",!0))throw new Error("Could not find workbook");i.workbooks.push(a),s=!0}"bin"==i.workbooks[0].slice(-3)&&(s=!0);var c={},l={};if(!t.bookSheets&&!t.bookProps){if(cc=[],i.sst)try{cc=bl(tt(e,of(i.sst)),i.sst,t)}catch(e){if(t.WTF)throw e}t.cellStyles&&i.themes.length&&(c=function(e,t,r){return Zi(e,r)}(rt(e,i.themes[0].replace(/^\//,""),!0)||"",i.themes[0],t)),i.style&&(l=vl(tt(e,of(i.style)),i.style,c,t))}i.links.map((function(r){try{$n(rt(e,qn(of(r))),r);return Sl(tt(e,of(r)),0,r,t)}catch(e){}}));var u=pl(tt(e,of(i.workbooks[0])),i.workbooks[0],t),f={},h="";i.coreprops.length&&((h=tt(e,of(i.coreprops[0]),!0))&&(f=ta(h)),0!==i.extprops.length&&(h=tt(e,of(i.extprops[0]),!0))&&function(e,t,r){var n={};t||(t={}),e=Pt(e),aa.forEach((function(r){var a=(e.match(It(r[0]))||[])[1];switch(r[2]){case"string":a&&(t[r[1]]=yt(a));break;case"bool":t[r[1]]="true"===a;break;case"raw":var o=e.match(new RegExp("<"+r[0]+"[^>]*>([\\s\\S]*?)</"+r[0]+">"));o&&o.length>0&&(n[r[1]]=o[1])}})),n.HeadingPairs&&n.TitlesOfParts&&ia(n.HeadingPairs,n.TitlesOfParts,t,r)}(h,f,t));var d={};t.bookSheets&&!t.bookProps||0!==i.custprops.length&&(h=rt(e,of(i.custprops[0]),!0))&&(d=function(e,t){var r={},n="",a=e.match(ca);if(a)for(var o=0;o!=a.length;++o){var i=a[o],s=gt(i);switch(s[0]){case"<?xml":case"<Properties":break;case"<property":n=yt(s.name);break;case"</property>":n=null;break;default:if(0===i.indexOf("<vt:")){var c=i.split(">"),l=c[0].slice(4),u=c[1];switch(l){case"lpstr":case"bstr":case"lpwstr":case"cy":case"error":r[n]=yt(u);break;case"bool":r[n]=_t(u);break;case"i1":case"i2":case"i4":case"i8":case"int":case"uint":r[n]=parseInt(u,10);break;case"r4":case"r8":case"decimal":r[n]=parseFloat(u);break;case"filetime":case"date":r[n]=ze(u);break;default:if("/"==l.slice(-1))break;t.WTF&&"undefined"!=typeof console&&console.warn("Unexpected",i,l,c)}}else if("</"===i.slice(0,2));else if(t.WTF)throw new Error(i)}}return r}(h,t));var p={};if((t.bookSheets||t.bookProps)&&(u.Sheets?n=u.Sheets.map((function(e){return e.name})):f.Worksheets&&f.SheetNames.length>0&&(n=f.SheetNames),t.bookProps&&(p.Props=f,p.Custprops=d),t.bookSheets&&void 0!==n&&(p.SheetNames=n),t.bookSheets?p.SheetNames:t.bookProps))return p;n={};var g={};t.bookDeps&&i.calcchain&&(g=wl(tt(e,of(i.calcchain)),i.calcchain));var m,v,b=0,y={},w=u.Sheets;f.Worksheets=w.length,f.SheetNames=[];for(var S=0;S!=w.length;++S)f.SheetNames[S]=w[S].name;var x=s?"bin":"xml",A=i.workbooks[0].lastIndexOf("/"),k=(i.workbooks[0].slice(0,A+1)+"_rels/"+i.workbooks[0].slice(A+1)+".rels").replace(/^\//,"");Qe(e,k)||(k="xl/_rels/workbook."+x+".rels");var T=$n(rt(e,k,!0),k.replace(/_rels.*/,"s5s"));(i.metadata||[]).length>=1&&(t.xlmeta=xl(tt(e,of(i.metadata[0])),i.metadata[0],t)),(i.people||[]).length>=1&&(t.people=function(e,t){var r=[],n=!1;return e.replace(ht,(function(e){var a=gt(e);switch(mt(a[0])){case"<?xml":case"<personList":case"</personList>":case"</person>":case"<extLst":case"<extLst>":case"</extLst>":case"<extLst/>":break;case"<person":r.push({name:a.displayname,id:a.id});break;case"<ext":n=!0;break;case"</ext>":n=!1;break;default:if(!n&&t.WTF)throw new Error("unrecognized "+a[0]+" in threaded comments")}return e})),r}(tt(e,of(i.people[0])),t)),T&&(T=function(e,t){if(!e)return 0;try{e=t.map((function(t){return t.id||(t.id=t.strRelID),[t.name,e["!id"][t.id].Target,nf(e["!id"][t.id].Type)]}))}catch(e){return null}return e&&0!==e.length?e:null}(T,u.Sheets));var E=tt(e,"xl/worksheets/sheet.xml",!0)?1:0;e:for(b=0;b!=f.Worksheets;++b){var _="sheet";if(T&&T[b]?(m="xl/"+T[b][1].replace(/[\/]?xl\//,""),Qe(e,m)||(m=T[b][1]),Qe(e,m)||(m=k.replace(/_rels\/.*$/,"")+T[b][1]),_=T[b][2]):m=(m="xl/worksheets/sheet"+(b+1-E)+"."+x).replace(/sheet0\./,"sheet."),v=m.replace(/^(.*)(\/)([^\/]*)$/,"$1/_rels/$3.rels"),t&&null!=t.sheets)switch(typeof t.sheets){case"number":if(b!=t.sheets)continue e;break;case"string":if(f.SheetNames[b].toLowerCase()!=t.sheets.toLowerCase())continue e;break;default:if(Array.isArray&&Array.isArray(t.sheets)){for(var N=!1,C=0;C!=t.sheets.length;++C)"number"==typeof t.sheets[C]&&t.sheets[C]==b&&(N=1),"string"==typeof t.sheets[C]&&t.sheets[C].toLowerCase()==f.SheetNames[b].toLowerCase()&&(N=1);if(!N)continue e}}af(e,m,v,f.SheetNames[b],b,y,n,_,t,u,c,l)}return p={Directory:i,Workbook:u,Props:f,Custprops:d,Deps:g,Sheets:n,SheetNames:f.SheetNames,Strings:cc,Styles:l,Themes:c,SSF:qe(j)},t&&t.bookFiles&&(e.files?(p.keys=o,p.files=e.files):(p.keys=[],p.files={},e.FullPaths.forEach((function(t,r){t=t.replace(/^Root Entry[\/]/,""),p.keys.push(t),p.files[t]=e.FileIndex[r]})))),t&&t.bookVBA&&(i.vba.length>0?p.vbaraw=tt(e,of(i.vba[0]),!0):i.defaults&&i.defaults.bin===hs&&(p.vbaraw=tt(e,"xl/vbaProject.bin",!0))),p}function cf(e,t){var r=t||{},n="Workbook",a=Ee.find(e,n);try{if(n="/!DataSpaces/Version",!(a=Ee.find(e,n))||!a.content)throw new Error("ECMA-376 Encrypted file missing "+n);if(function(e){var t={};t.id=e._R(0,"lpp4"),t.R=Jo(e,4),t.U=Jo(e,4),t.W=Jo(e,4)}(a.content),n="/!DataSpaces/DataSpaceMap",!(a=Ee.find(e,n))||!a.content)throw new Error("ECMA-376 Encrypted file missing "+n);var o=function(e){var t=[];e.l+=4;for(var r=e._R(4);r-- >0;)t.push(Zo(e));return t}(a.content);if(1!==o.length||1!==o[0].comps.length||0!==o[0].comps[0].t||"StrongEncryptionDataSpace"!==o[0].name||"EncryptedPackage"!==o[0].comps[0].v)throw new Error("ECMA-376 Encrypted file bad "+n);if(n="/!DataSpaces/DataSpaceInfo/StrongEncryptionDataSpace",!(a=Ee.find(e,n))||!a.content)throw new Error("ECMA-376 Encrypted file missing "+n);var i=function(e){var t=[];e.l+=4;for(var r=e._R(4);r-- >0;)t.push(e._R(0,"lpp4"));return t}(a.content);if(1!=i.length||"StrongEncryptionTransform"!=i[0])throw new Error("ECMA-376 Encrypted file bad "+n);if(n="/!DataSpaces/TransformInfo/StrongEncryptionTransform/!Primary",!(a=Ee.find(e,n))||!a.content)throw new Error("ECMA-376 Encrypted file missing "+n);Qo(a.content)}catch(e){}if(n="/EncryptionInfo",!(a=Ee.find(e,n))||!a.content)throw new Error("ECMA-376 Encrypted file missing "+n);var s=function(e){var t=Jo(e);switch(t.Minor){case 2:return[t.Minor,ri(e)];case 3:return[t.Minor,ni()];case 4:return[t.Minor,ai(e)]}throw new Error("ECMA-376 Encrypted file unrecognized Version: "+t.Minor)}(a.content);if(n="/EncryptedPackage",!(a=Ee.find(e,n))||!a.content)throw new Error("ECMA-376 Encrypted file missing "+n);if(4==s[0]&&"undefined"!=typeof decrypt_agile)return decrypt_agile(s[1],a.content,r.password||"",r);if(2==s[0]&&"undefined"!=typeof decrypt_std76)return decrypt_std76(s[1],a.content,r.password||"",r);throw new Error("File is password-protected")}function lf(e,t){return"ods"==t.bookType?Eu(e,t):"numbers"==t.bookType?function(e,t){if(!t||!t.numbers)throw new Error("Must pass a `numbers` option -- check the README");var r=e.Sheets[e.SheetNames[0]];e.SheetNames.length>1&&console.error("The Numbers writer currently writes only the first table");var n=qr(r["!ref"]);n.s.r=n.s.c=0;var a=!1;n.e.c>9&&(a=!0,n.e.c=9),n.e.r>49&&(a=!0,n.e.r=49),a&&console.error("The Numbers writer is currently limited to ".concat($r(n)));var o=Ef(r,{range:n,header:1}),i=["~Sh33tJ5~"];o.forEach((function(e){return e.forEach((function(e){"string"==typeof e&&i.push(e)}))}));var s={},c=[],l=Ee.read(t.numbers,{type:"base64"});l.FileIndex.map((function(e,t){return[e,l.FullPaths[t]]})).forEach((function(e){var t=e[0],r=e[1];2==t.type&&t.name.match(/\.iwa/)&&ju(Uu(t.content)).forEach((function(e){c.push(e.id),s[e.id]={deps:[],location:r,type:Iu(e.messages[0].meta[1][0].data)}}))})),c.sort((function(e,t){return e-t}));var u=c.filter((function(e){return e>1})).map((function(e){return[e,Lu(e)]}));l.FileIndex.map((function(e,t){return[e,l.FullPaths[t]]})).forEach((function(e){var t=e[0];e[1],t.name.match(/\.iwa/)&&ju(Uu(t.content)).forEach((function(e){e.messages.forEach((function(t){u.forEach((function(t){e.messages.some((function(e){return 11006!=Iu(e.meta[1][0].data)&&function(e,t){e:for(var r=0;r<=e.length-t.length;++r){for(var n=0;n<t.length;++n)if(e[r+n]!=t[n])continue e;return!0}return!1}(e.data,t[1])}))&&s[t[0]].deps.push(e.id)}))}))}))}));for(var f,h=Ee.find(l,s[1].location),d=ju(Uu(h.content)),p=0;p<d.length;++p){var g=d[p];1==g.id&&(f=g)}var m=Gu(Fu(f.messages[0].data)[1][0].data);for(d=ju(Uu((h=Ee.find(l,s[m].location)).content)),p=0;p<d.length;++p)(g=d[p]).id==m&&(f=g);for(m=Gu(Fu(f.messages[0].data)[2][0].data),d=ju(Uu((h=Ee.find(l,s[m].location)).content)),p=0;p<d.length;++p)(g=d[p]).id==m&&(f=g);for(m=Gu(Fu(f.messages[0].data)[2][0].data),d=ju(Uu((h=Ee.find(l,s[m].location)).content)),p=0;p<d.length;++p)(g=d[p]).id==m&&(f=g);var v=Fu(f.messages[0].data);v[6][0].data=Lu(n.e.r+1),v[7][0].data=Lu(n.e.c+1);for(var b=Gu(v[46][0].data),y=Ee.find(l,s[b].location),w=ju(Uu(y.content)),S=0;S<w.length&&w[S].id!=b;++S);if(w[S].id!=b)throw"Bad ColumnRowUIDMapArchive";var x=Fu(w[S].messages[0].data);x[1]=[],x[2]=[],x[3]=[];for(var A=0;A<=n.e.c;++A){var k=[];k[1]=k[2]=[{type:0,data:Lu(A+420690)}],x[1].push({type:2,data:Du(k)}),x[2].push({type:0,data:Lu(A)}),x[3].push({type:0,data:Lu(A)})}x[4]=[],x[5]=[],x[6]=[];for(var T=0;T<=n.e.r;++T)(k=[])[1]=k[2]=[{type:0,data:Lu(T+726270)}],x[4].push({type:2,data:Du(k)}),x[5].push({type:0,data:Lu(T)}),x[6].push({type:0,data:Lu(T)});w[S].messages[0].data=Du(x),y.content=Hu(Bu(w)),y.size=y.content.length,delete v[46];var E=Fu(v[4][0].data);E[7][0].data=Lu(n.e.r+1);var _=Gu(Fu(E[1][0].data)[2][0].data);if((w=ju(Uu((y=Ee.find(l,s[_].location)).content)))[0].id!=_)throw"Bad HeaderStorageBucket";var N=Fu(w[0].messages[0].data);for(T=0;T<o.length;++T){var C=Fu(N[2][0].data);C[1][0].data=Lu(T),C[4][0].data=Lu(o[T].length),N[2][T]={type:N[2][0].type,data:Du(C)}}w[0].messages[0].data=Du(N),y.content=Hu(Bu(w)),y.size=y.content.length;var O=Gu(E[2][0].data);if((w=ju(Uu((y=Ee.find(l,s[O].location)).content)))[0].id!=O)throw"Bad HeaderStorageBucket";for(N=Fu(w[0].messages[0].data),A=0;A<=n.e.c;++A)(C=Fu(N[2][0].data))[1][0].data=Lu(A),C[4][0].data=Lu(n.e.r+1),N[2][A]={type:N[2][0].type,data:Du(C)};w[0].messages[0].data=Du(N),y.content=Hu(Bu(w)),y.size=y.content.length;var R=Gu(E[4][0].data);!function(){for(var e,t=Ee.find(l,s[R].location),r=ju(Uu(t.content)),n=0;n<r.length;++n){var a=r[n];a.id==R&&(e=a)}var o=Fu(e.messages[0].data);o[3]=[];var c=[];i.forEach((function(e,t){c[1]=[{type:0,data:Lu(t)}],c[2]=[{type:0,data:Lu(1)}],c[3]=[{type:2,data:Cu(e)}],o[3].push({type:2,data:Du(c)})})),e.messages[0].data=Du(o);var u=Hu(Bu(r));t.content=u,t.size=t.content.length}();var P=Fu(E[3][0].data),L=P[1][0];delete P[2];var I=Fu(L.data),F=Gu(I[2][0].data);!function(){for(var e,t=Ee.find(l,s[F].location),r=ju(Uu(t.content)),a=0;a<r.length;++a){var c=r[a];c.id==F&&(e=c)}var u=Fu(e.messages[0].data);delete u[6],delete P[7];var f=new Uint8Array(u[5][0].data);u[5]=[];for(var h=0,d=0;d<=n.e.r;++d){var p=Fu(f);h+=Qu(p,o[d],i),p[1][0].data=Lu(d),u[5].push({data:Du(p),type:2})}u[1]=[{type:0,data:Lu(n.e.c+1)}],u[2]=[{type:0,data:Lu(n.e.r+1)}],u[3]=[{type:0,data:Lu(h)}],u[4]=[{type:0,data:Lu(n.e.r+1)}],e.messages[0].data=Du(u);var g=Hu(Bu(r));t.content=g,t.size=t.content.length}(),L.data=Du(I),E[3][0].data=Du(P),v[4][0].data=Du(E),f.messages[0].data=Du(v);var D=Hu(Bu(d));return h.content=D,h.size=h.content.length,l}(e,t):"xlsb"==t.bookType?function(e,t){os=1024,e&&!e.SSF&&(e.SSF=qe(j));e&&e.SSF&&(we(),ye(e.SSF),t.revssf=Pe(e.SSF),t.revssf[e.SSF[65535]]=0,t.ssf=e.SSF);t.rels={},t.wbrels={},t.Strings=[],t.Strings.Count=0,t.Strings.Unique=0,uc?t.revStrings=new Map:(t.revStrings={},t.revStrings.foo=[],delete t.revStrings.foo);var r="xlsb"==t.bookType?"bin":"xml",n=ds.indexOf(t.bookType)>-1,a={workbooks:[],sheets:[],charts:[],dialogs:[],macros:[],rels:[],strs:[],comments:[],threadedcomments:[],links:[],coreprops:[],extprops:[],custprops:[],themes:[],styles:[],calcchains:[],vba:[],drawings:[],metadata:[],people:[],TODO:[],xmlns:""};rf(t=t||{});var o=it(),i="",s=0;t.cellXfs=[],pc(t.cellXfs,{},{revssf:{General:0}}),e.Props||(e.Props={});if(i="docProps/core.xml",ot(o,i,na(e.Props,t)),a.coreprops.push(i),Xn(t.rels,2,i,Vn.CORE_PROPS),i="docProps/app.xml",e.Props&&e.Props.SheetNames);else if(e.Workbook&&e.Workbook.Sheets){for(var c=[],l=0;l<e.SheetNames.length;++l)2!=(e.Workbook.Sheets[l]||{}).Hidden&&c.push(e.SheetNames[l]);e.Props.SheetNames=c}else e.Props.SheetNames=e.SheetNames;e.Props.Worksheets=e.Props.SheetNames.length,ot(o,i,sa(e.Props)),a.extprops.push(i),Xn(t.rels,3,i,Vn.EXT_PROPS),e.Custprops!==e.Props&&Ce(e.Custprops||{}).length>0&&(ot(o,i="docProps/custom.xml",la(e.Custprops)),a.custprops.push(i),Xn(t.rels,4,i,Vn.CUST_PROPS));for(s=1;s<=e.SheetNames.length;++s){var u={"!id":{}},f=e.Sheets[e.SheetNames[s-1]];(f||{})["!type"];if(ot(o,i="xl/worksheets/sheet"+s+"."+r,Al(s-1,i,t,e,u)),a.sheets.push(i),Xn(t.wbrels,-1,"worksheets/sheet"+s+"."+r,Vn.WS[0]),f){var h=f["!comments"],d=!1,p="";h&&h.length>0&&(ot(o,p="xl/comments"+s+"."+r,kl(h,p,t)),a.comments.push(p),Xn(u,-1,"../comments"+s+"."+r,Vn.CMNT),d=!0),f["!legacy"]&&d&&ot(o,"xl/drawings/vmlDrawing"+s+".vml",is(s,f["!comments"])),delete f["!comments"],delete f["!legacy"]}u["!id"].rId1&&ot(o,qn(i),Gn(u))}null!=t.Strings&&t.Strings.length>0&&(ot(o,i="xl/sharedStrings."+r,function(e,t,r){return(".bin"===t.slice(-4)?Yo:Go)(e,r)}(t.Strings,i,t)),a.strs.push(i),Xn(t.wbrels,-1,"sharedStrings."+r,Vn.SST));i="xl/workbook."+r,ot(o,i,function(e,t,r){return(".bin"===t.slice(-4)?dl:cl)(e,r)}(e,i,t)),a.workbooks.push(i),Xn(t.rels,1,i,Vn.WB),i="xl/theme/theme1.xml",ot(o,i,Qi(e.Themes,t)),a.themes.push(i),Xn(t.wbrels,-1,"theme/theme1.xml",Vn.THEME),i="xl/styles."+r,ot(o,i,function(e,t,r){return(".bin"===t.slice(-4)?zi:Oi)(e,r)}(e,i,t)),a.styles.push(i),Xn(t.wbrels,-1,"styles."+r,Vn.STY),e.vbaraw&&n&&(ot(o,i="xl/vbaProject.bin",e.vbaraw),a.vba.push(i),Xn(t.wbrels,-1,"vbaProject.bin",Vn.VBA));return i="xl/metadata."+r,ot(o,i,function(e){return(".bin"===e.slice(-4)?ns:as)()}(i)),a.metadata.push(i),Xn(t.wbrels,-1,"metadata."+r,Vn.XLMETA),ot(o,"[Content_Types].xml",zn(a,t)),ot(o,"_rels/.rels",Gn(t.rels)),ot(o,"xl/_rels/workbook."+r+".rels",Gn(t.wbrels)),delete t.revssf,delete t.ssf,o}(e,t):uf(e,t)}function uf(e,t){os=1024,e&&!e.SSF&&(e.SSF=qe(j)),e&&e.SSF&&(we(),ye(e.SSF),t.revssf=Pe(e.SSF),t.revssf[e.SSF[65535]]=0,t.ssf=e.SSF),t.rels={},t.wbrels={},t.Strings=[],t.Strings.Count=0,t.Strings.Unique=0,uc?t.revStrings=new Map:(t.revStrings={},t.revStrings.foo=[],delete t.revStrings.foo);var r="xml",n=ds.indexOf(t.bookType)>-1,a={workbooks:[],sheets:[],charts:[],dialogs:[],macros:[],rels:[],strs:[],comments:[],threadedcomments:[],links:[],coreprops:[],extprops:[],custprops:[],themes:[],styles:[],calcchains:[],vba:[],drawings:[],metadata:[],people:[],TODO:[],xmlns:""};rf(t=t||{});var o=it(),i="",s=0;if(t.cellXfs=[],pc(t.cellXfs,{},{revssf:{General:0}}),e.Props||(e.Props={}),ot(o,i="docProps/core.xml",na(e.Props,t)),a.coreprops.push(i),Xn(t.rels,2,i,Vn.CORE_PROPS),i="docProps/app.xml",e.Props&&e.Props.SheetNames);else if(e.Workbook&&e.Workbook.Sheets){for(var c=[],l=0;l<e.SheetNames.length;++l)2!=(e.Workbook.Sheets[l]||{}).Hidden&&c.push(e.SheetNames[l]);e.Props.SheetNames=c}else e.Props.SheetNames=e.SheetNames;e.Props.Worksheets=e.Props.SheetNames.length,ot(o,i,sa(e.Props)),a.extprops.push(i),Xn(t.rels,3,i,Vn.EXT_PROPS),e.Custprops!==e.Props&&Ce(e.Custprops||{}).length>0&&(ot(o,i="docProps/custom.xml",la(e.Custprops)),a.custprops.push(i),Xn(t.rels,4,i,Vn.CUST_PROPS));var u=["SheetJ5"];for(t.tcid=0,s=1;s<=e.SheetNames.length;++s){var f={"!id":{}},h=e.Sheets[e.SheetNames[s-1]];(h||{})["!type"];if(ot(o,i="xl/worksheets/sheet"+s+"."+r,Ic(s-1,t,e,f)),a.sheets.push(i),Xn(t.wbrels,-1,"worksheets/sheet"+s+"."+r,Vn.WS[0]),h){var d=h["!comments"],p=!1,g="";if(d&&d.length>0){var m=!1;d.forEach((function(e){e[1].forEach((function(e){1==e.T&&(m=!0)}))})),m&&(ot(o,g="xl/threadedComments/threadedComment"+s+"."+r,ls(d,u,t)),a.threadedcomments.push(g),Xn(f,-1,"../threadedComments/threadedComment"+s+"."+r,Vn.TCMNT)),ot(o,g="xl/comments"+s+"."+r,cs(d)),a.comments.push(g),Xn(f,-1,"../comments"+s+"."+r,Vn.CMNT),p=!0}h["!legacy"]&&p&&ot(o,"xl/drawings/vmlDrawing"+s+".vml",is(s,h["!comments"])),delete h["!comments"],delete h["!legacy"]}f["!id"].rId1&&ot(o,qn(i),Gn(f))}return null!=t.Strings&&t.Strings.length>0&&(ot(o,i="xl/sharedStrings."+r,Go(t.Strings,t)),a.strs.push(i),Xn(t.wbrels,-1,"sharedStrings."+r,Vn.SST)),ot(o,i="xl/workbook."+r,cl(e)),a.workbooks.push(i),Xn(t.rels,1,i,Vn.WB),ot(o,i="xl/theme/theme1.xml",Qi(e.Themes,t)),a.themes.push(i),Xn(t.wbrels,-1,"theme/theme1.xml",Vn.THEME),ot(o,i="xl/styles."+r,Oi(e,t)),a.styles.push(i),Xn(t.wbrels,-1,"styles."+r,Vn.STY),e.vbaraw&&n&&(ot(o,i="xl/vbaProject.bin",e.vbaraw),a.vba.push(i),Xn(t.wbrels,-1,"vbaProject.bin",Vn.VBA)),ot(o,i="xl/metadata."+r,as()),a.metadata.push(i),Xn(t.wbrels,-1,"metadata."+r,Vn.XLMETA),u.length>1&&(ot(o,i="xl/persons/person.xml",function(e){var t=[lt,zt("personList",null,{xmlns:Gt.TCMNT,"xmlns:x":Xt[0]}).replace(/[\/]>/,">")];return e.forEach((function(e,r){t.push(zt("person",null,{displayName:e,id:"{54EE7950-7262-4200-6969-"+("000000000000"+r).slice(-12)+"}",userId:e,providerId:"None"}))})),t.push("</personList>"),t.join("")}(u)),a.people.push(i),Xn(t.wbrels,-1,"persons/person.xml",Vn.PEOPLE)),ot(o,"[Content_Types].xml",zn(a,t)),ot(o,"_rels/.rels",Gn(t.rels)),ot(o,"xl/_rels/workbook.xml.rels",Gn(t.wbrels)),delete t.revssf,delete t.ssf,o}function ff(e,t){var r="";switch((t||{}).type||"base64"){case"buffer":case"array":return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]];case"base64":r=v(e.slice(0,12));break;case"binary":r=e;break;default:throw new Error("Unrecognized type "+(t&&t.type||"undefined"))}return[r.charCodeAt(0),r.charCodeAt(1),r.charCodeAt(2),r.charCodeAt(3),r.charCodeAt(4),r.charCodeAt(5),r.charCodeAt(6),r.charCodeAt(7)]}function hf(e,t){var r=0;e:for(;r<e.length;)switch(e.charCodeAt(r)){case 10:case 13:case 32:++r;break;case 60:return Dl(e.slice(r),t);default:break e}return Io.to_workbook(e,t)}function df(e,r){var n=e;return"base64"==r.type&&(n=v(n)),n=t.utils.decode(1200,n.slice(2),"str"),r.type="binary",hf(n,r)}function pf(e,t,r,n){return n?(r.type="string",Io.to_workbook(e,r)):Io.to_workbook(t,r)}function gf(e,t){c();var r=t||{};if("undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer)return gf(new Uint8Array(e),((r=qe(r)).type="array",r));"undefined"!=typeof Uint8Array&&e instanceof Uint8Array&&!r.type&&(r.type="undefined"!=typeof Deno?"buffer":"array");var n,a=e,o=!1;if(r.cellStyles&&(r.cellNF=!0,r.sheetStubs=!0),lc={},r.dateNF&&(lc.dateNF=r.dateNF),r.type||(r.type=b&&Buffer.isBuffer(e)?"buffer":"base64"),"file"==r.type&&(r.type=b?"buffer":"binary",a=function(e){if(void 0!==ke)return ke.readFileSync(e);if("undefined"!=typeof Deno)return Deno.readFileSync(e);if("undefined"!=typeof $&&"undefined"!=typeof File&&"undefined"!=typeof Folder)try{var t=File(e);t.open("r"),t.encoding="binary";var r=t.read();return t.close(),r}catch(e){if(!e.message||!e.message.match(/onstruct/))throw e}throw new Error("Cannot access file "+e)}(e),"undefined"==typeof Uint8Array||b||(r.type="array")),"string"==r.type&&(o=!0,r.type="binary",r.codepage=65001,a=function(e){return e.match(/[^\x00-\x7F]/)?Lt(e):e}(e)),"array"==r.type&&"undefined"!=typeof Uint8Array&&e instanceof Uint8Array&&"undefined"!=typeof ArrayBuffer){var i=new ArrayBuffer(3),s=new Uint8Array(i);if(s.foo="bar",!s.foo)return(r=qe(r)).type="array",gf(T(a),r)}switch((n=ff(a,r))[0]){case 208:if(207===n[1]&&17===n[2]&&224===n[3]&&161===n[4]&&177===n[5]&&26===n[6]&&225===n[7])return function(e,t){return Ee.find(e,"EncryptedPackage")?cf(e,t):Kl(e,t)}(Ee.read(a,r),r);break;case 9:if(n[1]<=8)return Kl(a,r);break;case 60:return Dl(a,r);case 73:if(73===n[1]&&42===n[2]&&0===n[3])throw new Error("TIFF Image File is not a spreadsheet");if(68===n[1])return function(e,t){var r=t||{},n=!!r.WTF;r.WTF=!0;try{var a=Ro.to_workbook(e,r);return r.WTF=n,a}catch(a){if(r.WTF=n,!a.message.match(/SYLK bad record ID/)&&n)throw a;return Io.to_workbook(e,t)}}(a,r);break;case 84:if(65===n[1]&&66===n[2]&&76===n[3])return Po.to_workbook(a,r);break;case 80:return 75===n[1]&&n[2]<9&&n[3]<9?function(e,t){var r=e,n=t||{};return n.type||(n.type=b&&Buffer.isBuffer(e)?"buffer":"base64"),sf(st(r,n),n)}(a,r):pf(e,a,r,o);case 239:return 60===n[3]?Dl(a,r):pf(e,a,r,o);case 255:if(254===n[1])return df(a,r);if(0===n[1]&&2===n[2]&&0===n[3])return Fo.to_workbook(a,r);break;case 0:if(0===n[1]){if(n[2]>=2&&0===n[3])return Fo.to_workbook(a,r);if(0===n[2]&&(8===n[3]||9===n[3]))return Fo.to_workbook(a,r)}break;case 3:case 131:case 139:case 140:return Oo.to_workbook(a,r);case 123:if(92===n[1]&&114===n[2]&&116===n[3])return li.to_workbook(a,r);break;case 10:case 13:case 32:return function(e,t){var r="",n=ff(e,t);switch(t.type){case"base64":r=v(e);break;case"binary":r=e;break;case"buffer":r=e.toString("binary");break;case"array":r=Ve(e);break;default:throw new Error("Unrecognized type "+t.type)}return 239==n[0]&&187==n[1]&&191==n[2]&&(r=Pt(r)),t.type="binary",hf(r,t)}(a,r);case 137:if(80===n[1]&&78===n[2]&&71===n[3])throw new Error("PNG Image File is not a spreadsheet")}return Co.indexOf(n[0])>-1&&n[2]<=12&&n[3]<=31?Oo.to_workbook(a,r):pf(e,a,r,o)}function mf(e,t){var r=t||{};return r.type="file",gf(e,r)}function vf(e,t){switch(t.type){case"base64":case"binary":break;case"buffer":case"array":t.type="";break;case"file":return Ne(t.file,Ee.write(e,{type:b?"buffer":""}));case"string":throw new Error("'string' output type invalid for '"+t.bookType+"' files");default:throw new Error("Unrecognized type "+t.type)}return Ee.write(e,t)}function bf(e,t){var r={},n=b?"nodebuffer":"undefined"!=typeof Uint8Array?"array":"string";if(t.compression&&(r.compression="DEFLATE"),t.password)r.type=n;else switch(t.type){case"base64":r.type="base64";break;case"binary":r.type="string";break;case"string":throw new Error("'string' output type invalid for '"+t.bookType+"' files");case"buffer":case"file":r.type=n;break;default:throw new Error("Unrecognized type "+t.type)}var a=e.FullPaths?Ee.write(e,{fileType:"zip",type:{nodebuffer:"buffer",string:"binary"}[r.type]||r.type,compression:!!t.compression}):e.generate(r);if("undefined"!=typeof Deno&&"string"==typeof a){if("binary"==t.type||"base64"==t.type)return a;a=new Uint8Array(A(a))}return t.password&&"undefined"!=typeof encrypt_agile?vf(encrypt_agile(a,t.password),t):"file"===t.type?Ne(t.file,a):"string"==t.type?Pt(a):a}function yf(e,t,r){r||(r="");var n=r+e;switch(t.type){case"base64":return m(Lt(n));case"binary":return Lt(n);case"string":return e;case"file":return Ne(t.file,n,"utf8");case"buffer":return b?y(n,"utf8"):"undefined"!=typeof TextEncoder?(new TextEncoder).encode(n):yf(n,{type:"binary"}).split("").map((function(e){return e.charCodeAt(0)}))}throw new Error("Unrecognized type "+t.type)}function wf(e,t){switch(t.type){case"string":case"base64":case"binary":for(var r="",n=0;n<e.length;++n)r+=String.fromCharCode(e[n]);return"base64"==t.type?m(r):"string"==t.type?Pt(r):r;case"file":return Ne(t.file,e);case"buffer":return e;default:throw new Error("Unrecognized type "+t.type)}}function Sf(e,t){c(),il(e);var r=qe(t||{});if(r.cellStyles&&(r.cellNF=!0,r.sheetStubs=!0),"array"==r.type){r.type="binary";var n=Sf(e,r);return r.type="array",A(n)}return function(e,t){var r=qe(t||{});return bf(uf(e,r),r)}(e,r)}function xf(e,t){c(),il(e);var r=qe(t||{});if(r.cellStyles&&(r.cellNF=!0,r.sheetStubs=!0),"array"==r.type){r.type="binary";var n=xf(e,r);return r.type="array",A(n)}var a=0;if(r.sheet&&(a="number"==typeof r.sheet?r.sheet:e.SheetNames.indexOf(r.sheet),!e.SheetNames[a]))throw new Error("Sheet not found: "+r.sheet+" : "+typeof r.sheet);switch(r.bookType||"xlsb"){case"xml":case"xlml":return yf(Hl(e,r),r);case"slk":case"sylk":return yf(Ro.from_sheet(e.Sheets[e.SheetNames[a]],r),r);case"htm":case"html":return yf(gu(e.Sheets[e.SheetNames[a]],r),r);case"txt":return function(e,t){switch(t.type){case"base64":return m(e);case"binary":case"string":return e;case"file":return Ne(t.file,e,"binary");case"buffer":return b?y(e,"binary"):e.split("").map((function(e){return e.charCodeAt(0)}))}throw new Error("Unrecognized type "+t.type)}(Of(e.Sheets[e.SheetNames[a]],r),r);case"csv":return yf(Cf(e.Sheets[e.SheetNames[a]],r),r,"\ufeff");case"dif":return yf(Po.from_sheet(e.Sheets[e.SheetNames[a]],r),r);case"dbf":return wf(Oo.from_sheet(e.Sheets[e.SheetNames[a]],r),r);case"prn":return yf(Io.from_sheet(e.Sheets[e.SheetNames[a]],r),r);case"rtf":return yf(li.from_sheet(e.Sheets[e.SheetNames[a]],r),r);case"eth":return yf(Lo.from_sheet(e.Sheets[e.SheetNames[a]],r),r);case"fods":return yf(Eu(e,r),r);case"wk1":return wf(Fo.sheet_to_wk1(e.Sheets[e.SheetNames[a]],r),r);case"wk3":return wf(Fo.book_to_wk3(e,r),r);case"biff2":r.biff||(r.biff=2);case"biff3":r.biff||(r.biff=3);case"biff4":return r.biff||(r.biff=4),wf(lu(e,r),r);case"biff5":r.biff||(r.biff=5);case"biff8":case"xla":case"xls":return r.biff||(r.biff=8),function(e,t){var r=t||{};return vf(Jl(e,r),r)}(e,r);case"xlsx":case"xlsm":case"xlam":case"xlsb":case"numbers":case"ods":return function(e,t){var r=qe(t||{});return bf(lf(e,r),r)}(e,r);default:throw new Error("Unrecognized bookType |"+r.bookType+"|")}}function Af(e){if(!e.bookType){var t=e.file.slice(e.file.lastIndexOf(".")).toLowerCase();t.match(/^\.[a-z]+$/)&&(e.bookType=t.slice(1)),e.bookType={xls:"biff8",htm:"html",slk:"sylk",socialcalc:"eth",Sh33tJS:"WTF"}[e.bookType]||e.bookType}}function kf(e,t,r){var n=r||{};return n.type="file",n.file=t,Af(n),xf(e,n)}function Tf(e,t,r,n,a,o,i,s){var c=Wr(r),l=s.defval,u=s.raw||!Object.prototype.hasOwnProperty.call(s,"raw"),f=!0,h=1===a?[]:{};if(1!==a)if(Object.defineProperty)try{Object.defineProperty(h,"__rowNum__",{value:r,enumerable:!1})}catch(e){h.__rowNum__=r}else h.__rowNum__=r;if(!i||e[r])for(var d=t.s.c;d<=t.e.c;++d){var p=i?e[r][d]:e[n[d]+c];if(void 0!==p&&void 0!==p.t){var g=p.v;switch(p.t){case"z":if(null==g)break;continue;case"e":g=0==g?null:void 0;break;case"s":case"d":case"b":case"n":break;default:throw new Error("unrecognized type "+p.t)}if(null!=o[d]){if(null==g)if("e"==p.t&&null===g)h[o[d]]=null;else if(void 0!==l)h[o[d]]=l;else{if(!u||null!==g)continue;h[o[d]]=null}else h[o[d]]=u&&("n"!==p.t||"n"===p.t&&!1!==s.rawNumbers)?g:Yr(p,g,s);null!=g&&(f=!1)}}else{if(void 0===l)continue;null!=o[d]&&(h[o[d]]=l)}}return{row:h,isempty:f}}function Ef(e,t){if(null==e||null==e["!ref"])return[];var r={t:"n",v:0},n=0,a=1,o=[],i=0,s="",c={s:{r:0,c:0},e:{r:0,c:0}},l=t||{},u=null!=l.range?l.range:e["!ref"];switch(1===l.header?n=1:"A"===l.header?n=2:Array.isArray(l.header)?n=3:null==l.header&&(n=0),typeof u){case"string":c=Gr(u);break;case"number":(c=Gr(e["!ref"])).s.r=u;break;default:c=u}n>0&&(a=0);var f=Wr(c.s.r),h=[],d=[],p=0,g=0,m=Array.isArray(e),v=c.s.r,b=0,y={};m&&!e[v]&&(e[v]=[]);var w=l.skipHidden&&e["!cols"]||[],S=l.skipHidden&&e["!rows"]||[];for(b=c.s.c;b<=c.e.c;++b)if(!(w[b]||{}).hidden)switch(h[b]=Hr(b),r=m?e[v][b]:e[h[b]+f],n){case 1:o[b]=b-c.s.c;break;case 2:o[b]=h[b];break;case 3:o[b]=l.header[b-c.s.c];break;default:if(null==r&&(r={w:"__EMPTY",t:"s"}),s=i=Yr(r,null,l),g=y[i]||0){do{s=i+"_"+g++}while(y[s]);y[i]=g,y[s]=1}else y[i]=1;o[b]=s}for(v=c.s.r+a;v<=c.e.r;++v)if(!(S[v]||{}).hidden){var x=Tf(e,c,v,h,n,o,m,l);(!1===x.isempty||(1===n?!1!==l.blankrows:l.blankrows))&&(d[p++]=x.row)}return d.length=p,d}var _f=/"/g;function Nf(e,t,r,n,a,o,i,s){for(var c=!0,l=[],u="",f=Wr(r),h=t.s.c;h<=t.e.c;++h)if(n[h]){var d=s.dense?(e[r]||[])[h]:e[n[h]+f];if(null==d)u="";else if(null!=d.v){c=!1,u=""+(s.rawNumbers&&"n"==d.t?d.v:Yr(d,null,s));for(var p=0,g=0;p!==u.length;++p)if((g=u.charCodeAt(p))===a||g===o||34===g||s.forceQuotes){u='"'+u.replace(_f,'""')+'"';break}"ID"==u&&(u='"ID"')}else null==d.f||d.F?u="":(c=!1,(u="="+d.f).indexOf(",")>=0&&(u='"'+u.replace(_f,'""')+'"'));l.push(u)}return!1===s.blankrows&&c?null:l.join(i)}function Cf(e,t){var r=[],n=null==t?{}:t;if(null==e||null==e["!ref"])return"";var a=Gr(e["!ref"]),o=void 0!==n.FS?n.FS:",",i=o.charCodeAt(0),s=void 0!==n.RS?n.RS:"\n",c=s.charCodeAt(0),l=new RegExp(("|"==o?"\\|":o)+"+$"),u="",f=[];n.dense=Array.isArray(e);for(var h=n.skipHidden&&e["!cols"]||[],d=n.skipHidden&&e["!rows"]||[],p=a.s.c;p<=a.e.c;++p)(h[p]||{}).hidden||(f[p]=Hr(p));for(var g=0,m=a.s.r;m<=a.e.r;++m)(d[m]||{}).hidden||null!=(u=Nf(e,a,m,f,i,c,o,n))&&(n.strip&&(u=u.replace(l,"")),(u||!1!==n.blankrows)&&r.push((g++?s:"")+u));return delete n.dense,r.join("")}function Of(e,r){r||(r={}),r.FS="\t",r.RS="\n";var n=Cf(e,r);if(void 0===t||"string"==r.type)return n;var a=t.utils.encode(1200,n,"str");return String.fromCharCode(255)+String.fromCharCode(254)+a}function Rf(e,t,r){var n,a=r||{},o=+!a.skipHeader,i=e||{},s=0,c=0;if(i&&null!=a.origin)if("number"==typeof a.origin)s=a.origin;else{var l="string"==typeof a.origin?zr(a.origin):a.origin;s=l.r,c=l.c}var u={s:{c:0,r:0},e:{c:c,r:s+t.length-1+o}};if(i["!ref"]){var f=Gr(i["!ref"]);u.e.c=Math.max(u.e.c,f.e.c),u.e.r=Math.max(u.e.r,f.e.r),-1==s&&(s=f.e.r+1,u.e.r=s+t.length-1+o)}else-1==s&&(s=0,u.e.r=t.length-1+o);var h=a.header||[],d=0;t.forEach((function(e,t){Ce(e).forEach((function(r){-1==(d=h.indexOf(r))&&(h[d=h.length]=r);var l=e[r],u="z",f="",p=Vr({c:c+d,r:s+t+o});n=Pf(i,p),!l||"object"!=typeof l||l instanceof Date?("number"==typeof l?u="n":"boolean"==typeof l?u="b":"string"==typeof l?u="s":l instanceof Date?(u="d",a.cellDates||(u="n",l=Ie(l)),f=a.dateNF||j[14]):null===l&&a.nullError&&(u="e",l=0),n?(n.t=u,n.v=l,delete n.w,delete n.R,f&&(n.z=f)):i[p]=n={t:u,v:l},f&&(n.z=f)):i[p]=l}))})),u.e.c=Math.max(u.e.c,c+h.length-1);var p=Wr(s);if(o)for(d=0;d<h.length;++d)i[Hr(d+c)+p]={t:"s",v:h[d]};return i["!ref"]=$r(u),i}function Pf(e,t,r){if("string"==typeof t){if(Array.isArray(e)){var n=zr(t);return e[n.r]||(e[n.r]=[]),e[n.r][n.c]||(e[n.r][n.c]={t:"z"})}return e[t]||(e[t]={t:"z"})}return Pf(e,Vr("number"!=typeof t?t:{r:t,c:r||0}))}function Lf(){return{SheetNames:[],Sheets:{}}}function If(e,t,r,n){var a=1;if(!r)for(;a<=65535&&-1!=e.SheetNames.indexOf(r="Sheet"+a);++a,r=void 0);if(!r||e.SheetNames.length>=65535)throw new Error("Too many worksheets");if(n&&e.SheetNames.indexOf(r)>=0){var o=r.match(/(^.*?)(\d+)$/);a=o&&+o[2]||0;var i=o&&o[1]||r;for(++a;a<=65535&&-1!=e.SheetNames.indexOf(r=i+a);++a);}if(ol(r),e.SheetNames.indexOf(r)>=0)throw new Error("Worksheet with name |"+r+"| already exists!");return e.SheetNames.push(r),e.Sheets[r]=t,r}function Ff(e,t,r){return t?(e.l={Target:t},r&&(e.l.Tooltip=r)):delete e.l,e}var Df,Mf={encode_col:Hr,encode_row:Wr,encode_cell:Vr,encode_range:$r,decode_col:Ur,decode_row:Br,split_cell:function(e){return e.replace(/(\$?[A-Z]*)(\$?\d*)/,"$1,$2").split(",")},decode_cell:zr,decode_range:qr,format_cell:Yr,sheet_add_aoa:Jr,sheet_add_json:Rf,sheet_add_dom:mu,aoa_to_sheet:Zr,json_to_sheet:function(e,t){return Rf(null,e,t)},table_to_sheet:vu,table_to_book:function(e,t){return Kr(vu(e,t),t)},sheet_to_csv:Cf,sheet_to_txt:Of,sheet_to_json:Ef,sheet_to_html:gu,sheet_to_formulae:function(e){var t,r="",n="";if(null==e||null==e["!ref"])return[];var a,o=Gr(e["!ref"]),i="",s=[],c=[],l=Array.isArray(e);for(a=o.s.c;a<=o.e.c;++a)s[a]=Hr(a);for(var u=o.s.r;u<=o.e.r;++u)for(i=Wr(u),a=o.s.c;a<=o.e.c;++a)if(r=s[a]+i,n="",void 0!==(t=l?(e[u]||[])[a]:e[r])){if(null!=t.F){if(r=t.F,!t.f)continue;n=t.f,-1==r.indexOf(":")&&(r=r+":"+r)}if(null!=t.f)n=t.f;else{if("z"==t.t)continue;if("n"==t.t&&null!=t.v)n=""+t.v;else if("b"==t.t)n=t.v?"TRUE":"FALSE";else if(void 0!==t.w)n="'"+t.w;else{if(void 0===t.v)continue;n="s"==t.t?"'"+t.v:""+t.v}}c[c.length]=r+"="+n}return c},sheet_to_row_object_array:Ef,sheet_get_cell:Pf,book_new:Lf,book_append_sheet:If,book_set_sheet_visibility:function(e,t,r){e.Workbook||(e.Workbook={}),e.Workbook.Sheets||(e.Workbook.Sheets=[]);var n=function(e,t){if("number"==typeof t){if(t>=0&&e.SheetNames.length>t)return t;throw new Error("Cannot find sheet # "+t)}if("string"==typeof t){var r=e.SheetNames.indexOf(t);if(r>-1)return r;throw new Error("Cannot find sheet name |"+t+"|")}throw new Error("Cannot find sheet |"+t+"|")}(e,t);switch(e.Workbook.Sheets[n]||(e.Workbook.Sheets[n]={}),r){case 0:case 1:case 2:break;default:throw new Error("Bad sheet visibility setting "+r)}e.Workbook.Sheets[n].Hidden=r},cell_set_number_format:function(e,t){return e.z=t,e},cell_set_hyperlink:Ff,cell_set_internal_link:function(e,t,r){return Ff(e,"#"+t,r)},cell_add_comment:function(e,t,r){e.c||(e.c=[]),e.c.push({t:t,a:r||"SheetJS"})},sheet_set_array_formula:function(e,t,r,n){for(var a="string"!=typeof t?t:Gr(t),o="string"==typeof t?t:$r(t),i=a.s.r;i<=a.e.r;++i)for(var s=a.s.c;s<=a.e.c;++s){var c=Pf(e,i,s);c.t="n",c.F=o,delete c.v,i==a.s.r&&s==a.s.c&&(c.f=r,n&&(c.D=!0))}return e},consts:{SHEET_VISIBLE:0,SHEET_HIDDEN:1,SHEET_VERY_HIDDEN:2}};function jf(e){Df=e}var Bf={to_json:function(e,t){var r=Df({objectMode:!0});if(null==e||null==e["!ref"])return r.push(null),r;var n={t:"n",v:0},a=0,o=1,i=[],s=0,c="",l={s:{r:0,c:0},e:{r:0,c:0}},u=t||{},f=null!=u.range?u.range:e["!ref"];switch(1===u.header?a=1:"A"===u.header?a=2:Array.isArray(u.header)&&(a=3),typeof f){case"string":l=Gr(f);break;case"number":(l=Gr(e["!ref"])).s.r=f;break;default:l=f}a>0&&(o=0);var h=Wr(l.s.r),d=[],p=0,g=Array.isArray(e),m=l.s.r,v=0,b={};g&&!e[m]&&(e[m]=[]);var y=u.skipHidden&&e["!cols"]||[],w=u.skipHidden&&e["!rows"]||[];for(v=l.s.c;v<=l.e.c;++v)if(!(y[v]||{}).hidden)switch(d[v]=Hr(v),n=g?e[m][v]:e[d[v]+h],a){case 1:i[v]=v-l.s.c;break;case 2:i[v]=d[v];break;case 3:i[v]=u.header[v-l.s.c];break;default:if(null==n&&(n={w:"__EMPTY",t:"s"}),c=s=Yr(n,null,u),p=b[s]||0){do{c=s+"_"+p++}while(b[c]);b[s]=p,b[c]=1}else b[s]=1;i[v]=c}return m=l.s.r+o,r._read=function(){for(;m<=l.e.r;)if(!(w[m-1]||{}).hidden){var t=Tf(e,l,m,d,a,i,g,u);if(++m,!1===t.isempty||(1===a?!1!==u.blankrows:u.blankrows))return void r.push(t.row)}return r.push(null)},r},to_html:function(e,t){var r=Df(),n=t||{},a=null!=n.header?n.header:hu,o=null!=n.footer?n.footer:du;r.push(a);var i=qr(e["!ref"]);n.dense=Array.isArray(e),r.push(pu(0,0,n));var s=i.s.r,c=!1;return r._read=function(){if(s>i.e.r)return c||(c=!0,r.push("</table>"+o)),r.push(null);for(;s<=i.e.r;){r.push(fu(e,i,s,n)),++s;break}},r},to_csv:function(e,t){var r=Df(),n=null==t?{}:t;if(null==e||null==e["!ref"])return r.push(null),r;var a=Gr(e["!ref"]),o=void 0!==n.FS?n.FS:",",i=o.charCodeAt(0),s=void 0!==n.RS?n.RS:"\n",c=s.charCodeAt(0),l=new RegExp(("|"==o?"\\|":o)+"+$"),u="",f=[];n.dense=Array.isArray(e);for(var h=n.skipHidden&&e["!cols"]||[],d=n.skipHidden&&e["!rows"]||[],p=a.s.c;p<=a.e.c;++p)(h[p]||{}).hidden||(f[p]=Hr(p));var g=a.s.r,m=!1,v=0;return r._read=function(){if(!m)return m=!0,r.push("\ufeff");for(;g<=a.e.r;)if(++g,!(d[g-1]||{}).hidden&&null!=(u=Nf(e,a,g-1,f,i,c,o,n))&&(n.strip&&(u=u.replace(l,"")),u||!1!==n.blankrows))return r.push((v++?s:"")+u);return r.push(null)},r},set_readable:jf};if(void 0!==Kl&&(e.parse_xlscfb=Kl),e.parse_zip=sf,e.read=gf,e.readFile=mf,e.readFileSync=mf,e.write=xf,e.writeFile=kf,e.writeFileSync=kf,e.writeFileAsync=function(e,t,r,n){var a=r||{};a.type="file",a.file=e,Af(a),a.type="buffer";var o=n;return o instanceof Function||(o=r),ke.writeFile(e,xf(t,a),o)},e.utils=Mf,e.writeXLSX=Sf,e.writeFileXLSX=function(e,t,r){var n=r||{};return n.type="file",n.file=t,Af(n),Sf(e,n)},e.SSF=Se,void 0!==Bf&&(e.stream=Bf),void 0!==Ee&&(e.CFB=Ee),"undefined"!=typeof require){var Wf=void 0;({}).Readable&&jf(Wf.Readable)}}if("undefined"!=typeof exports?make_xlsx_lib(exports):"undefined"!=typeof module&&module.exports?make_xlsx_lib(module.exports):"function"==typeof define&&define.amd?define("xlsx",(function(){return XLSX.version||make_xlsx_lib(XLSX),XLSX})):make_xlsx_lib(XLSX),"undefined"!=typeof window&&!window.XLSX)try{window.XLSX=XLSX}catch(e){}!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).jQuery)}(this,(function(e){"use strict";function t(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,(a=n.key,o=void 0,"symbol"==typeof(o=function(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(a,"string"))?o:String(o)),n)}var a,o}function r(e){return r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},r(e)}function n(e,t){return n=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},n(e,t)}function a(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function o(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=r(e);if(t){var i=r(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return a(this,n)}}function i(){return i="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var a=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=r(e)););return e}(e,t);if(a){var o=Object.getOwnPropertyDescriptor(a,t);return o.get?o.get.call(arguments.length<3?e:n):o.value}},i.apply(this,arguments)}var s="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},c=function(e){return e&&e.Math==Math&&e},l=c("object"==typeof globalThis&&globalThis)||c("object"==typeof window&&window)||c("object"==typeof self&&self)||c("object"==typeof s&&s)||function(){return this}()||Function("return this")(),u={},f=function(e){try{return!!e()}catch(e){return!0}},h=!f((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),d=!f((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})),p=d,g=Function.prototype.call,m=p?g.bind(g):function(){return g.apply(g,arguments)},v={},b={}.propertyIsEnumerable,y=Object.getOwnPropertyDescriptor,w=y&&!b.call({1:2},1);v.f=w?function(e){var t=y(this,e);return!!t&&t.enumerable}:b;var S,x,A=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},k=d,T=Function.prototype,E=T.call,_=k&&T.bind.bind(E,E),N=k?_:function(e){return function(){return E.apply(e,arguments)}},C=N,O=C({}.toString),R=C("".slice),P=function(e){return R(O(e),8,-1)},L=f,I=P,F=Object,D=N("".split),M=L((function(){return!F("z").propertyIsEnumerable(0)}))?function(e){return"String"==I(e)?D(e,""):F(e)}:F,j=function(e){return null==e},B=j,W=TypeError,U=function(e){if(B(e))throw W("Can't call method on "+e);return e},H=M,z=U,V=function(e){return H(z(e))},q="object"==typeof document&&document.all,$={all:q,IS_HTMLDDA:void 0===q&&void 0!==q},G=$.all,X=$.IS_HTMLDDA?function(e){return"function"==typeof e||e===G}:function(e){return"function"==typeof e},Y=X,K=$.all,J=$.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:Y(e)||e===K}:function(e){return"object"==typeof e?null!==e:Y(e)},Z=l,Q=X,ee=function(e,t){return arguments.length<2?(r=Z[e],Q(r)?r:void 0):Z[e]&&Z[e][t];var r},te=N({}.isPrototypeOf),re=l,ne="undefined"!=typeof navigator&&String(navigator.userAgent)||"",ae=re.process,oe=re.Deno,ie=ae&&ae.versions||oe&&oe.version,se=ie&&ie.v8;se&&(x=(S=se.split("."))[0]>0&&S[0]<4?1:+(S[0]+S[1])),!x&&ne&&(!(S=ne.match(/Edge\/(\d+)/))||S[1]>=74)&&(S=ne.match(/Chrome\/(\d+)/))&&(x=+S[1]);var ce=x,le=ce,ue=f,fe=!!Object.getOwnPropertySymbols&&!ue((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&le&&le<41})),he=fe&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,de=ee,pe=X,ge=te,me=Object,ve=he?function(e){return"symbol"==typeof e}:function(e){var t=de("Symbol");return pe(t)&&ge(t.prototype,me(e))},be=String,ye=X,we=function(e){try{return be(e)}catch(e){return"Object"}},Se=TypeError,xe=function(e){if(ye(e))return e;throw Se(we(e)+" is not a function")},Ae=xe,ke=j,Te=m,Ee=X,_e=J,Ne=TypeError,Ce={},Oe={get exports(){return Ce},set exports(e){Ce=e}},Re=l,Pe=Object.defineProperty,Le=function(e,t){try{Pe(Re,e,{value:t,configurable:!0,writable:!0})}catch(r){Re[e]=t}return t},Ie=Le,Fe="__core-js_shared__",De=l[Fe]||Ie(Fe,{}),Me=De;(Oe.exports=function(e,t){return Me[e]||(Me[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.29.0",mode:"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.29.0/LICENSE",source:"https://github.com/zloirock/core-js"});var je=U,Be=Object,We=function(e){return Be(je(e))},Ue=We,He=N({}.hasOwnProperty),ze=Object.hasOwn||function(e,t){return He(Ue(e),t)},Ve=N,qe=0,$e=Math.random(),Ge=Ve(1..toString),Xe=function(e){return"Symbol("+(void 0===e?"":e)+")_"+Ge(++qe+$e,36)},Ye=Ce,Ke=ze,Je=Xe,Ze=fe,Qe=he,et=l.Symbol,tt=Ye("wks"),rt=Qe?et.for||et:et&&et.withoutSetter||Je,nt=function(e){return Ke(tt,e)||(tt[e]=Ze&&Ke(et,e)?et[e]:rt("Symbol."+e)),tt[e]},at=m,ot=J,it=ve,st=function(e,t){var r=e[t];return ke(r)?void 0:Ae(r)},ct=function(e,t){var r,n;if("string"===t&&Ee(r=e.toString)&&!_e(n=Te(r,e)))return n;if(Ee(r=e.valueOf)&&!_e(n=Te(r,e)))return n;if("string"!==t&&Ee(r=e.toString)&&!_e(n=Te(r,e)))return n;throw Ne("Can't convert object to primitive value")},lt=TypeError,ut=nt("toPrimitive"),ft=function(e,t){if(!ot(e)||it(e))return e;var r,n=st(e,ut);if(n){if(void 0===t&&(t="default"),r=at(n,e,t),!ot(r)||it(r))return r;throw lt("Can't convert object to primitive value")}return void 0===t&&(t="number"),ct(e,t)},ht=ve,dt=function(e){var t=ft(e,"string");return ht(t)?t:t+""},pt=J,gt=l.document,mt=pt(gt)&&pt(gt.createElement),vt=function(e){return mt?gt.createElement(e):{}},bt=vt,yt=!h&&!f((function(){return 7!=Object.defineProperty(bt("div"),"a",{get:function(){return 7}}).a})),wt=h,St=m,xt=v,At=A,kt=V,Tt=dt,Et=ze,_t=yt,Nt=Object.getOwnPropertyDescriptor;u.f=wt?Nt:function(e,t){if(e=kt(e),t=Tt(t),_t)try{return Nt(e,t)}catch(e){}if(Et(e,t))return At(!St(xt.f,e,t),e[t])};var Ct={},Ot=h&&f((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),Rt=J,Pt=String,Lt=TypeError,It=function(e){if(Rt(e))return e;throw Lt(Pt(e)+" is not an object")},Ft=h,Dt=yt,Mt=Ot,jt=It,Bt=dt,Wt=TypeError,Ut=Object.defineProperty,Ht=Object.getOwnPropertyDescriptor,zt="enumerable",Vt="configurable",qt="writable";Ct.f=Ft?Mt?function(e,t,r){if(jt(e),t=Bt(t),jt(r),"function"==typeof e&&"prototype"===t&&"value"in r&&qt in r&&!r[qt]){var n=Ht(e,t);n&&n[qt]&&(e[t]=r.value,r={configurable:Vt in r?r[Vt]:n[Vt],enumerable:zt in r?r[zt]:n[zt],writable:!1})}return Ut(e,t,r)}:Ut:function(e,t,r){if(jt(e),t=Bt(t),jt(r),Dt)try{return Ut(e,t,r)}catch(e){}if("get"in r||"set"in r)throw Wt("Accessors not supported");return"value"in r&&(e[t]=r.value),e};var $t=Ct,Gt=A,Xt=h?function(e,t,r){return $t.f(e,t,Gt(1,r))}:function(e,t,r){return e[t]=r,e},Yt={},Kt={get exports(){return Yt},set exports(e){Yt=e}},Jt=h,Zt=ze,Qt=Function.prototype,er=Jt&&Object.getOwnPropertyDescriptor,tr=Zt(Qt,"name"),rr={EXISTS:tr,PROPER:tr&&"something"===function(){}.name,CONFIGURABLE:tr&&(!Jt||Jt&&er(Qt,"name").configurable)},nr=X,ar=De,or=N(Function.toString);nr(ar.inspectSource)||(ar.inspectSource=function(e){return or(e)});var ir,sr,cr,lr=ar.inspectSource,ur=X,fr=l.WeakMap,hr=ur(fr)&&/native code/.test(String(fr)),dr=Xe,pr=Ce("keys"),gr=function(e){return pr[e]||(pr[e]=dr(e))},mr={},vr=hr,br=l,yr=J,wr=Xt,Sr=ze,xr=De,Ar=gr,kr=mr,Tr="Object already initialized",Er=br.TypeError,_r=br.WeakMap;if(vr||xr.state){var Nr=xr.state||(xr.state=new _r);Nr.get=Nr.get,Nr.has=Nr.has,Nr.set=Nr.set,ir=function(e,t){if(Nr.has(e))throw Er(Tr);return t.facade=e,Nr.set(e,t),t},sr=function(e){return Nr.get(e)||{}},cr=function(e){return Nr.has(e)}}else{var Cr=Ar("state");kr[Cr]=!0,ir=function(e,t){if(Sr(e,Cr))throw Er(Tr);return t.facade=e,wr(e,Cr,t),t},sr=function(e){return Sr(e,Cr)?e[Cr]:{}},cr=function(e){return Sr(e,Cr)}}var Or={set:ir,get:sr,has:cr,enforce:function(e){return cr(e)?sr(e):ir(e,{})},getterFor:function(e){return function(t){var r;if(!yr(t)||(r=sr(t)).type!==e)throw Er("Incompatible receiver, "+e+" required");return r}}},Rr=N,Pr=f,Lr=X,Ir=ze,Fr=h,Dr=rr.CONFIGURABLE,Mr=lr,jr=Or.enforce,Br=Or.get,Wr=String,Ur=Object.defineProperty,Hr=Rr("".slice),zr=Rr("".replace),Vr=Rr([].join),qr=Fr&&!Pr((function(){return 8!==Ur((function(){}),"length",{value:8}).length})),$r=String(String).split("String"),Gr=Kt.exports=function(e,t,r){"Symbol("===Hr(Wr(t),0,7)&&(t="["+zr(Wr(t),/^Symbol\(([^)]*)\)/,"$1")+"]"),r&&r.getter&&(t="get "+t),r&&r.setter&&(t="set "+t),(!Ir(e,"name")||Dr&&e.name!==t)&&(Fr?Ur(e,"name",{value:t,configurable:!0}):e.name=t),qr&&r&&Ir(r,"arity")&&e.length!==r.arity&&Ur(e,"length",{value:r.arity});try{r&&Ir(r,"constructor")&&r.constructor?Fr&&Ur(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var n=jr(e);return Ir(n,"source")||(n.source=Vr($r,"string"==typeof t?t:"")),e};Function.prototype.toString=Gr((function(){return Lr(this)&&Br(this).source||Mr(this)}),"toString");var Xr=X,Yr=Ct,Kr=Yt,Jr=Le,Zr=function(e,t,r,n){n||(n={});var a=n.enumerable,o=void 0!==n.name?n.name:t;if(Xr(r)&&Kr(r,o,n),n.global)a?e[t]=r:Jr(t,r);else{try{n.unsafe?e[t]&&(a=!0):delete e[t]}catch(e){}a?e[t]=r:Yr.f(e,t,{value:r,enumerable:!1,configurable:!n.nonConfigurable,writable:!n.nonWritable})}return e},Qr={},en=Math.ceil,tn=Math.floor,rn=Math.trunc||function(e){var t=+e;return(t>0?tn:en)(t)},nn=function(e){var t=+e;return t!=t||0===t?0:rn(t)},an=nn,on=Math.max,sn=Math.min,cn=nn,ln=Math.min,un=function(e){return e>0?ln(cn(e),9007199254740991):0},fn=function(e){return un(e.length)},hn=V,dn=function(e,t){var r=an(e);return r<0?on(r+t,0):sn(r,t)},pn=fn,gn=function(e){return function(t,r,n){var a,o=hn(t),i=pn(o),s=dn(n,i);if(e&&r!=r){for(;i>s;)if((a=o[s++])!=a)return!0}else for(;i>s;s++)if((e||s in o)&&o[s]===r)return e||s||0;return!e&&-1}},mn={includes:gn(!0),indexOf:gn(!1)},vn=ze,bn=V,yn=mn.indexOf,wn=mr,Sn=N([].push),xn=function(e,t){var r,n=bn(e),a=0,o=[];for(r in n)!vn(wn,r)&&vn(n,r)&&Sn(o,r);for(;t.length>a;)vn(n,r=t[a++])&&(~yn(o,r)||Sn(o,r));return o},An=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],kn=xn,Tn=An.concat("length","prototype");Qr.f=Object.getOwnPropertyNames||function(e){return kn(e,Tn)};var En={};En.f=Object.getOwnPropertySymbols;var _n=ee,Nn=Qr,Cn=En,On=It,Rn=N([].concat),Pn=_n("Reflect","ownKeys")||function(e){var t=Nn.f(On(e)),r=Cn.f;return r?Rn(t,r(e)):t},Ln=ze,In=Pn,Fn=u,Dn=Ct,Mn=f,jn=X,Bn=/#|\.prototype\./,Wn=function(e,t){var r=Hn[Un(e)];return r==Vn||r!=zn&&(jn(t)?Mn(t):!!t)},Un=Wn.normalize=function(e){return String(e).replace(Bn,".").toLowerCase()},Hn=Wn.data={},zn=Wn.NATIVE="N",Vn=Wn.POLYFILL="P",qn=Wn,$n=l,Gn=u.f,Xn=Xt,Yn=Zr,Kn=Le,Jn=function(e,t,r){for(var n=In(t),a=Dn.f,o=Fn.f,i=0;i<n.length;i++){var s=n[i];Ln(e,s)||r&&Ln(r,s)||a(e,s,o(t,s))}},Zn=qn,Qn=function(e,t){var r,n,a,o,i,s=e.target,c=e.global,l=e.stat;if(r=c?$n:l?$n[s]||Kn(s,{}):($n[s]||{}).prototype)for(n in t){if(o=t[n],a=e.dontCallGetSet?(i=Gn(r,n))&&i.value:r[n],!Zn(c?n:s+(l?".":"#")+n,e.forced)&&void 0!==a){if(typeof o==typeof a)continue;Jn(o,a)}(e.sham||a&&a.sham)&&Xn(o,"sham",!0),Yn(r,n,o,e)}},ea=xn,ta=An,ra=Object.keys||function(e){return ea(e,ta)},na=h,aa=N,oa=m,ia=f,sa=ra,ca=En,la=v,ua=We,fa=M,ha=Object.assign,da=Object.defineProperty,pa=aa([].concat),ga=!ha||ia((function(){if(na&&1!==ha({b:1},ha(da({},"a",{enumerable:!0,get:function(){da(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},r=Symbol(),n="abcdefghijklmnopqrst";return e[r]=7,n.split("").forEach((function(e){t[e]=e})),7!=ha({},e)[r]||sa(ha({},t)).join("")!=n}))?function(e,t){for(var r=ua(e),n=arguments.length,a=1,o=ca.f,i=la.f;n>a;)for(var s,c=fa(arguments[a++]),l=o?pa(sa(c),o(c)):sa(c),u=l.length,f=0;u>f;)s=l[f++],na&&!oa(i,c,s)||(r[s]=c[s]);return r}:ha,ma=ga;Qn({target:"Object",stat:!0,arity:2,forced:Object.assign!==ma},{assign:ma});var va=P,ba=Array.isArray||function(e){return"Array"==va(e)},ya=TypeError,wa=dt,Sa=Ct,xa=A,Aa={};Aa[nt("toStringTag")]="z";var ka="[object z]"===String(Aa),Ta=ka,Ea=X,_a=P,Na=nt("toStringTag"),Ca=Object,Oa="Arguments"==_a(function(){return arguments}()),Ra=Ta?_a:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=Ca(e),Na))?r:Oa?_a(t):"Object"==(n=_a(t))&&Ea(t.callee)?"Arguments":n},Pa=N,La=f,Ia=X,Fa=Ra,Da=lr,Ma=function(){},ja=[],Ba=ee("Reflect","construct"),Wa=/^\s*(?:class|function)\b/,Ua=Pa(Wa.exec),Ha=!Wa.exec(Ma),za=function(e){if(!Ia(e))return!1;try{return Ba(Ma,ja,e),!0}catch(e){return!1}},Va=function(e){if(!Ia(e))return!1;switch(Fa(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return Ha||!!Ua(Wa,Da(e))}catch(e){return!0}};Va.sham=!0;var qa=!Ba||La((function(){var e;return za(za.call)||!za(Object)||!za((function(){e=!0}))||e}))?Va:za,$a=ba,Ga=qa,Xa=J,Ya=nt("species"),Ka=Array,Ja=function(e){var t;return $a(e)&&(t=e.constructor,(Ga(t)&&(t===Ka||$a(t.prototype))||Xa(t)&&null===(t=t[Ya]))&&(t=void 0)),void 0===t?Ka:t},Za=function(e,t){return new(Ja(e))(0===t?0:t)},Qa=f,eo=ce,to=nt("species"),ro=Qn,no=f,ao=ba,oo=J,io=We,so=fn,co=function(e){if(e>9007199254740991)throw ya("Maximum allowed index exceeded");return e},lo=function(e,t,r){var n=wa(t);n in e?Sa.f(e,n,xa(0,r)):e[n]=r},uo=Za,fo=function(e){return eo>=51||!Qa((function(){var t=[];return(t.constructor={})[to]=function(){return{foo:1}},1!==t[e](Boolean).foo}))},ho=ce,po=nt("isConcatSpreadable"),go=ho>=51||!no((function(){var e=[];return e[po]=!1,e.concat()[0]!==e})),mo=function(e){if(!oo(e))return!1;var t=e[po];return void 0!==t?!!t:ao(e)};ro({target:"Array",proto:!0,arity:1,forced:!go||!fo("concat")},{concat:function(e){var t,r,n,a,o,i=io(this),s=uo(i,0),c=0;for(t=-1,n=arguments.length;t<n;t++)if(mo(o=-1===t?i:arguments[t]))for(a=so(o),co(c+a),r=0;r<a;r++,c++)r in o&&lo(s,c,o[r]);else co(c+1),lo(s,c++,o);return s.length=c,s}});var vo=P,bo=N,yo=function(e){if("Function"===vo(e))return bo(e)},wo=xe,So=d,xo=yo(yo.bind),Ao=function(e,t){return wo(e),void 0===t?e:So?xo(e,t):function(){return e.apply(t,arguments)}},ko=M,To=We,Eo=fn,_o=Za,No=N([].push),Co=function(e){var t=1==e,r=2==e,n=3==e,a=4==e,o=6==e,i=7==e,s=5==e||o;return function(c,l,u,f){for(var h,d,p=To(c),g=ko(p),m=Ao(l,u),v=Eo(g),b=0,y=f||_o,w=t?y(c,v):r||i?y(c,0):void 0;v>b;b++)if((s||b in g)&&(d=m(h=g[b],b,p),e))if(t)w[b]=d;else if(d)switch(e){case 3:return!0;case 5:return h;case 6:return b;case 2:No(w,h)}else switch(e){case 4:return!1;case 7:No(w,h)}return o?-1:n||a?a:w}},Oo={forEach:Co(0),map:Co(1),filter:Co(2),some:Co(3),every:Co(4),find:Co(5),findIndex:Co(6),filterReject:Co(7)},Ro={},Po=h,Lo=Ot,Io=Ct,Fo=It,Do=V,Mo=ra;Ro.f=Po&&!Lo?Object.defineProperties:function(e,t){Fo(e);for(var r,n=Do(t),a=Mo(t),o=a.length,i=0;o>i;)Io.f(e,r=a[i++],n[r]);return e};var jo,Bo=ee("document","documentElement"),Wo=It,Uo=Ro,Ho=An,zo=mr,Vo=Bo,qo=vt,$o="prototype",Go="script",Xo=gr("IE_PROTO"),Yo=function(){},Ko=function(e){return"<"+Go+">"+e+"</"+Go+">"},Jo=function(e){e.write(Ko("")),e.close();var t=e.parentWindow.Object;return e=null,t},Zo=function(){try{jo=new ActiveXObject("htmlfile")}catch(e){}var e,t,r;Zo="undefined"!=typeof document?document.domain&&jo?Jo(jo):(t=qo("iframe"),r="java"+Go+":",t.style.display="none",Vo.appendChild(t),t.src=String(r),(e=t.contentWindow.document).open(),e.write(Ko("document.F=Object")),e.close(),e.F):Jo(jo);for(var n=Ho.length;n--;)delete Zo[$o][Ho[n]];return Zo()};zo[Xo]=!0;var Qo=nt,ei=Object.create||function(e,t){var r;return null!==e?(Yo[$o]=Wo(e),r=new Yo,Yo[$o]=null,r[Xo]=e):r=Zo(),void 0===t?r:Uo.f(r,t)},ti=Ct.f,ri=Qo("unscopables"),ni=Array.prototype;null==ni[ri]&&ti(ni,ri,{configurable:!0,value:ei(null)});var ai=Qn,oi=Oo.find,ii=function(e){ni[ri][e]=!0},si="find",ci=!0;si in[]&&Array(1)[si]((function(){ci=!1})),ai({target:"Array",proto:!0,forced:ci},{find:function(e){return oi(this,e,arguments.length>1?arguments[1]:void 0)}}),ii(si);var li=Ra,ui=ka?{}.toString:function(){return"[object "+li(this)+"]"};ka||Zr(Object.prototype,"toString",ui,{unsafe:!0});var fi=e.fn.bootstrapTable.utils;Object.assign(e.fn.bootstrapTable.defaults,{stickyHeader:!1,stickyHeaderOffsetY:0,stickyHeaderOffsetLeft:0,stickyHeaderOffsetRight:0}),e.BootstrapTable=function(a){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&n(e,t)}(f,a);var s,c,l,u=o(f);function f(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,f),u.apply(this,arguments)}return s=f,c=[{key:"initHeader",value:function(){for(var t,n=this,a=arguments.length,o=new Array(a),s=0;s<a;s++)o[s]=arguments[s];if((t=i(r(f.prototype),"initHeader",this)).call.apply(t,[this].concat(o)),this.options.stickyHeader){this.$tableBody.find(".sticky-header-container,.sticky_anchor_begin,.sticky_anchor_end").remove(),this.$el.before('<div class="sticky-header-container"></div>'),this.$el.before('<div class="sticky_anchor_begin"></div>'),this.$el.after('<div class="sticky_anchor_end"></div>'),this.$header.addClass("sticky-header"),this.$stickyContainer=this.$tableBody.find(".sticky-header-container"),this.$stickyBegin=this.$tableBody.find(".sticky_anchor_begin"),this.$stickyEnd=this.$tableBody.find(".sticky_anchor_end"),this.$stickyHeader=this.$header.clone(!0,!0);var c=fi.getEventName("resize.sticky-header-table",this.$el.attr("id")),l=fi.getEventName("scroll.sticky-header-table",this.$el.attr("id"));e(window).off(c).on(c,(function(){return n.renderStickyHeader()})),e(window).off(l).on(l,(function(){return n.renderStickyHeader()})),this.$tableBody.off("scroll").on("scroll",(function(){return n.matchPositionX()}))}}},{key:"onColumnSearch",value:function(e){var t=e.currentTarget,n=e.keyCode;i(r(f.prototype),"onColumnSearch",this).call(this,{currentTarget:t,keyCode:n}),this.renderStickyHeader()}},{key:"resetView",value:function(){for(var t,n=this,a=arguments.length,o=new Array(a),s=0;s<a;s++)o[s]=arguments[s];(t=i(r(f.prototype),"resetView",this)).call.apply(t,[this].concat(o)),e(".bootstrap-table.fullscreen").off("scroll").on("scroll",(function(){return n.renderStickyHeader()}))}},{key:"getCaret",value:function(){for(var t,n=arguments.length,a=new Array(n),o=0;o<n;o++)a[o]=arguments[o];if((t=i(r(f.prototype),"getCaret",this)).call.apply(t,[this].concat(a)),this.$stickyHeader){var s=this.$stickyHeader.find("th");this.$header.find("th").each((function(t,r){s.eq(t).find(".sortable").attr("class",e(r).find(".sortable").attr("class"))}))}}},{key:"horizontalScroll",value:function(){var e=this;i(r(f.prototype),"horizontalScroll",this).call(this),this.$tableBody.on("scroll",(function(){return e.matchPositionX()}))}},{key:"renderStickyHeader",value:function(){var t=this,r=this;this.$stickyHeader=this.$header.clone(!0,!0),this.options.filterControl&&e(this.$stickyHeader).off("keyup change mouseup").on("keyup change mouse",(function(t){var n=e(t.target),a=n.val(),o=n.parents("th").data("field"),i=r.$header.find('th[data-field="'.concat(o,'"]'));if(n.is("input"))i.find("input").val(a);else if(n.is("select")){var s=i.find("select");s.find("option[selected]").removeAttr("selected"),s.find('option[value="'.concat(a,'"]')).attr("selected",!0)}r.triggerSearch()}));var n=e(window).scrollTop(),a=this.$stickyBegin.offset().top-this.options.stickyHeaderOffsetY,o=this.$stickyEnd.offset().top-this.options.stickyHeaderOffsetY-this.$header.height();if(n>a&&n<=o){this.$stickyHeader.find("tr").each((function(r,n){e(n).find("th").each((function(n,a){e(a).css("min-width",t.$header.find("tr:eq(".concat(r,")")).find("th:eq(".concat(n,")")).css("width"))}))})),this.$stickyContainer.show().addClass("fix-sticky fixed-table-container");var i=this.$tableBody[0].getBoundingClientRect(),s="100%",c=this.options.stickyHeaderOffsetLeft,l=this.options.stickyHeaderOffsetRight;c||(c=i.left),l||(s="".concat(i.width,"px")),this.$el.closest(".bootstrap-table").hasClass("fullscreen")&&(c=0,l=0,s="100%"),this.$stickyContainer.css("top","".concat(this.options.stickyHeaderOffsetY,"px")),this.$stickyContainer.css("left","".concat(c,"px")),this.$stickyContainer.css("right","".concat(l,"px")),this.$stickyContainer.css("width","".concat(s)),this.$stickyTable=e("<table/>"),this.$stickyTable.addClass(this.options.classes),this.$stickyContainer.html(this.$stickyTable.append(this.$stickyHeader)),this.matchPositionX()}else this.$stickyContainer.removeClass("fix-sticky").hide()}},{key:"matchPositionX",value:function(){this.$stickyContainer.scrollLeft(this.$tableBody.scrollLeft())}}],c&&t(s.prototype,c),l&&t(s,l),Object.defineProperty(s,"prototype",{writable:!1}),f}(e.BootstrapTable)})),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).jQuery)}(this,(function(e){"use strict";function t(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,(a=n.key,o=void 0,"symbol"==typeof(o=function(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(a,"string"))?o:String(o)),n)}var a,o}function r(e){return r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},r(e)}function n(e,t){return n=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},n(e,t)}function a(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function o(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=r(e);if(t){var i=r(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return a(this,n)}}function i(){return i="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var a=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=r(e)););return e}(e,t);if(a){var o=Object.getOwnPropertyDescriptor(a,t);return o.get?o.get.call(arguments.length<3?e:n):o.value}},i.apply(this,arguments)}function s(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,a,o,i,s=[],c=!0,l=!1;try{if(o=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=o.call(r)).done)&&(s.push(n.value),s.length!==t);c=!0);}catch(e){l=!0,a=e}finally{try{if(!c&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(l)throw a}}return s}}(e,t)||l(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 c(e){return function(e){if(Array.isArray(e))return u(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||l(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){if(e){if("string"==typeof e)return u(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?u(e,t):void 0}}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var f="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},h=function(e){return e&&e.Math==Math&&e},d=h("object"==typeof globalThis&&globalThis)||h("object"==typeof window&&window)||h("object"==typeof self&&self)||h("object"==typeof f&&f)||function(){return this}()||Function("return this")(),p={},g=function(e){try{return!!e()}catch(e){return!0}},m=!g((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),v=!g((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})),b=v,y=Function.prototype.call,w=b?y.bind(y):function(){return y.apply(y,arguments)},S={},x={}.propertyIsEnumerable,A=Object.getOwnPropertyDescriptor,k=A&&!x.call({1:2},1);S.f=k?function(e){var t=A(this,e);return!!t&&t.enumerable}:x;var T,E,_=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},N=v,C=Function.prototype,O=C.call,R=N&&C.bind.bind(O,O),P=N?R:function(e){return function(){return O.apply(e,arguments)}},L=P,I=L({}.toString),F=L("".slice),D=function(e){return F(I(e),8,-1)},M=g,j=D,B=Object,W=P("".split),U=M((function(){return!B("z").propertyIsEnumerable(0)}))?function(e){return"String"==j(e)?W(e,""):B(e)}:B,H=function(e){return null==e},z=H,V=TypeError,q=function(e){if(z(e))throw V("Can't call method on "+e);return e},$=U,G=q,X=function(e){return $(G(e))},Y="object"==typeof document&&document.all,K={all:Y,IS_HTMLDDA:void 0===Y&&void 0!==Y},J=K.all,Z=K.IS_HTMLDDA?function(e){return"function"==typeof e||e===J}:function(e){return"function"==typeof e},Q=Z,ee=K.all,te=K.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:Q(e)||e===ee}:function(e){return"object"==typeof e?null!==e:Q(e)},re=d,ne=Z,ae=function(e,t){return arguments.length<2?(r=re[e],ne(r)?r:void 0):re[e]&&re[e][t];var r},oe=P({}.isPrototypeOf),ie=d,se="undefined"!=typeof navigator&&String(navigator.userAgent)||"",ce=ie.process,le=ie.Deno,ue=ce&&ce.versions||le&&le.version,fe=ue&&ue.v8;fe&&(E=(T=fe.split("."))[0]>0&&T[0]<4?1:+(T[0]+T[1])),!E&&se&&(!(T=se.match(/Edge\/(\d+)/))||T[1]>=74)&&(T=se.match(/Chrome\/(\d+)/))&&(E=+T[1]);var he=E,de=he,pe=g,ge=!!Object.getOwnPropertySymbols&&!pe((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&de&&de<41})),me=ge&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,ve=ae,be=Z,ye=oe,we=Object,Se=me?function(e){return"symbol"==typeof e}:function(e){var t=ve("Symbol");return be(t)&&ye(t.prototype,we(e))},xe=String,Ae=Z,ke=function(e){try{return xe(e)}catch(e){return"Object"}},Te=TypeError,Ee=function(e){if(Ae(e))return e;throw Te(ke(e)+" is not a function")},_e=Ee,Ne=H,Ce=function(e,t){var r=e[t];return Ne(r)?void 0:_e(r)},Oe=w,Re=Z,Pe=te,Le=TypeError,Ie={},Fe={get exports(){return Ie},set exports(e){Ie=e}},De=d,Me=Object.defineProperty,je=function(e,t){try{Me(De,e,{value:t,configurable:!0,writable:!0})}catch(r){De[e]=t}return t},Be=je,We="__core-js_shared__",Ue=d[We]||Be(We,{}),He=Ue;(Fe.exports=function(e,t){return He[e]||(He[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.29.0",mode:"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.29.0/LICENSE",source:"https://github.com/zloirock/core-js"});var ze=q,Ve=Object,qe=function(e){return Ve(ze(e))},$e=qe,Ge=P({}.hasOwnProperty),Xe=Object.hasOwn||function(e,t){return Ge($e(e),t)},Ye=P,Ke=0,Je=Math.random(),Ze=Ye(1..toString),Qe=function(e){return"Symbol("+(void 0===e?"":e)+")_"+Ze(++Ke+Je,36)},et=Ie,tt=Xe,rt=Qe,nt=ge,at=me,ot=d.Symbol,it=et("wks"),st=at?ot.for||ot:ot&&ot.withoutSetter||rt,ct=function(e){return tt(it,e)||(it[e]=nt&&tt(ot,e)?ot[e]:st("Symbol."+e)),it[e]},lt=w,ut=te,ft=Se,ht=Ce,dt=function(e,t){var r,n;if("string"===t&&Re(r=e.toString)&&!Pe(n=Oe(r,e)))return n;if(Re(r=e.valueOf)&&!Pe(n=Oe(r,e)))return n;if("string"!==t&&Re(r=e.toString)&&!Pe(n=Oe(r,e)))return n;throw Le("Can't convert object to primitive value")},pt=TypeError,gt=ct("toPrimitive"),mt=function(e,t){if(!ut(e)||ft(e))return e;var r,n=ht(e,gt);if(n){if(void 0===t&&(t="default"),r=lt(n,e,t),!ut(r)||ft(r))return r;throw pt("Can't convert object to primitive value")}return void 0===t&&(t="number"),dt(e,t)},vt=Se,bt=function(e){var t=mt(e,"string");return vt(t)?t:t+""},yt=te,wt=d.document,St=yt(wt)&&yt(wt.createElement),xt=function(e){return St?wt.createElement(e):{}},At=xt,kt=!m&&!g((function(){return 7!=Object.defineProperty(At("div"),"a",{get:function(){return 7}}).a})),Tt=m,Et=w,_t=S,Nt=_,Ct=X,Ot=bt,Rt=Xe,Pt=kt,Lt=Object.getOwnPropertyDescriptor;p.f=Tt?Lt:function(e,t){if(e=Ct(e),t=Ot(t),Pt)try{return Lt(e,t)}catch(e){}if(Rt(e,t))return Nt(!Et(_t.f,e,t),e[t])};var It={},Ft=m&&g((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),Dt=te,Mt=String,jt=TypeError,Bt=function(e){if(Dt(e))return e;throw jt(Mt(e)+" is not an object")},Wt=m,Ut=kt,Ht=Ft,zt=Bt,Vt=bt,qt=TypeError,$t=Object.defineProperty,Gt=Object.getOwnPropertyDescriptor,Xt="enumerable",Yt="configurable",Kt="writable";It.f=Wt?Ht?function(e,t,r){if(zt(e),t=Vt(t),zt(r),"function"==typeof e&&"prototype"===t&&"value"in r&&Kt in r&&!r[Kt]){var n=Gt(e,t);n&&n[Kt]&&(e[t]=r.value,r={configurable:Yt in r?r[Yt]:n[Yt],enumerable:Xt in r?r[Xt]:n[Xt],writable:!1})}return $t(e,t,r)}:$t:function(e,t,r){if(zt(e),t=Vt(t),zt(r),Ut)try{return $t(e,t,r)}catch(e){}if("get"in r||"set"in r)throw qt("Accessors not supported");return"value"in r&&(e[t]=r.value),e};var Jt=It,Zt=_,Qt=m?function(e,t,r){return Jt.f(e,t,Zt(1,r))}:function(e,t,r){return e[t]=r,e},er={},tr={get exports(){return er},set exports(e){er=e}},rr=m,nr=Xe,ar=Function.prototype,or=rr&&Object.getOwnPropertyDescriptor,ir=nr(ar,"name"),sr={EXISTS:ir,PROPER:ir&&"something"===function(){}.name,CONFIGURABLE:ir&&(!rr||rr&&or(ar,"name").configurable)},cr=Z,lr=Ue,ur=P(Function.toString);cr(lr.inspectSource)||(lr.inspectSource=function(e){return ur(e)});var fr,hr,dr,pr=lr.inspectSource,gr=Z,mr=d.WeakMap,vr=gr(mr)&&/native code/.test(String(mr)),br=Qe,yr=Ie("keys"),wr=function(e){return yr[e]||(yr[e]=br(e))},Sr={},xr=vr,Ar=d,kr=te,Tr=Qt,Er=Xe,_r=Ue,Nr=wr,Cr=Sr,Or="Object already initialized",Rr=Ar.TypeError,Pr=Ar.WeakMap;if(xr||_r.state){var Lr=_r.state||(_r.state=new Pr);Lr.get=Lr.get,Lr.has=Lr.has,Lr.set=Lr.set,fr=function(e,t){if(Lr.has(e))throw Rr(Or);return t.facade=e,Lr.set(e,t),t},hr=function(e){return Lr.get(e)||{}},dr=function(e){return Lr.has(e)}}else{var Ir=Nr("state");Cr[Ir]=!0,fr=function(e,t){if(Er(e,Ir))throw Rr(Or);return t.facade=e,Tr(e,Ir,t),t},hr=function(e){return Er(e,Ir)?e[Ir]:{}},dr=function(e){return Er(e,Ir)}}var Fr={set:fr,get:hr,has:dr,enforce:function(e){return dr(e)?hr(e):fr(e,{})},getterFor:function(e){return function(t){var r;if(!kr(t)||(r=hr(t)).type!==e)throw Rr("Incompatible receiver, "+e+" required");return r}}},Dr=P,Mr=g,jr=Z,Br=Xe,Wr=m,Ur=sr.CONFIGURABLE,Hr=pr,zr=Fr.enforce,Vr=Fr.get,qr=String,$r=Object.defineProperty,Gr=Dr("".slice),Xr=Dr("".replace),Yr=Dr([].join),Kr=Wr&&!Mr((function(){return 8!==$r((function(){}),"length",{value:8}).length})),Jr=String(String).split("String"),Zr=tr.exports=function(e,t,r){"Symbol("===Gr(qr(t),0,7)&&(t="["+Xr(qr(t),/^Symbol\(([^)]*)\)/,"$1")+"]"),r&&r.getter&&(t="get "+t),r&&r.setter&&(t="set "+t),(!Br(e,"name")||Ur&&e.name!==t)&&(Wr?$r(e,"name",{value:t,configurable:!0}):e.name=t),Kr&&r&&Br(r,"arity")&&e.length!==r.arity&&$r(e,"length",{value:r.arity});try{r&&Br(r,"constructor")&&r.constructor?Wr&&$r(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var n=zr(e);return Br(n,"source")||(n.source=Yr(Jr,"string"==typeof t?t:"")),e};Function.prototype.toString=Zr((function(){return jr(this)&&Vr(this).source||Hr(this)}),"toString");var Qr=Z,en=It,tn=er,rn=je,nn=function(e,t,r,n){n||(n={});var a=n.enumerable,o=void 0!==n.name?n.name:t;if(Qr(r)&&tn(r,o,n),n.global)a?e[t]=r:rn(t,r);else{try{n.unsafe?e[t]&&(a=!0):delete e[t]}catch(e){}a?e[t]=r:en.f(e,t,{value:r,enumerable:!1,configurable:!n.nonConfigurable,writable:!n.nonWritable})}return e},an={},on=Math.ceil,sn=Math.floor,cn=Math.trunc||function(e){var t=+e;return(t>0?sn:on)(t)},ln=function(e){var t=+e;return t!=t||0===t?0:cn(t)},un=ln,fn=Math.max,hn=Math.min,dn=ln,pn=Math.min,gn=function(e){return e>0?pn(dn(e),9007199254740991):0},mn=function(e){return gn(e.length)},vn=X,bn=function(e,t){var r=un(e);return r<0?fn(r+t,0):hn(r,t)},yn=mn,wn=function(e){return function(t,r,n){var a,o=vn(t),i=yn(o),s=bn(n,i);if(e&&r!=r){for(;i>s;)if((a=o[s++])!=a)return!0}else for(;i>s;s++)if((e||s in o)&&o[s]===r)return e||s||0;return!e&&-1}},Sn={includes:wn(!0),indexOf:wn(!1)},xn=Xe,An=X,kn=Sn.indexOf,Tn=Sr,En=P([].push),_n=function(e,t){var r,n=An(e),a=0,o=[];for(r in n)!xn(Tn,r)&&xn(n,r)&&En(o,r);for(;t.length>a;)xn(n,r=t[a++])&&(~kn(o,r)||En(o,r));return o},Nn=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Cn=_n,On=Nn.concat("length","prototype");an.f=Object.getOwnPropertyNames||function(e){return Cn(e,On)};var Rn={};Rn.f=Object.getOwnPropertySymbols;var Pn=ae,Ln=an,In=Rn,Fn=Bt,Dn=P([].concat),Mn=Pn("Reflect","ownKeys")||function(e){var t=Ln.f(Fn(e)),r=In.f;return r?Dn(t,r(e)):t},jn=Xe,Bn=Mn,Wn=p,Un=It,Hn=g,zn=Z,Vn=/#|\.prototype\./,qn=function(e,t){var r=Gn[$n(e)];return r==Yn||r!=Xn&&(zn(t)?Hn(t):!!t)},$n=qn.normalize=function(e){return String(e).replace(Vn,".").toLowerCase()},Gn=qn.data={},Xn=qn.NATIVE="N",Yn=qn.POLYFILL="P",Kn=qn,Jn=d,Zn=p.f,Qn=Qt,ea=nn,ta=je,ra=function(e,t,r){for(var n=Bn(t),a=Un.f,o=Wn.f,i=0;i<n.length;i++){var s=n[i];jn(e,s)||r&&jn(r,s)||a(e,s,o(t,s))}},na=Kn,aa=function(e,t){var r,n,a,o,i,s=e.target,c=e.global,l=e.stat;if(r=c?Jn:l?Jn[s]||ta(s,{}):(Jn[s]||{}).prototype)for(n in t){if(o=t[n],a=e.dontCallGetSet?(i=Zn(r,n))&&i.value:r[n],!na(c?n:s+(l?".":"#")+n,e.forced)&&void 0!==a){if(typeof o==typeof a)continue;ra(o,a)}(e.sham||a&&a.sham)&&Qn(o,"sham",!0),ea(r,n,o,e)}},oa=_n,ia=Nn,sa=Object.keys||function(e){return oa(e,ia)},ca=m,la=P,ua=w,fa=g,ha=sa,da=Rn,pa=S,ga=qe,ma=U,va=Object.assign,ba=Object.defineProperty,ya=la([].concat),wa=!va||fa((function(){if(ca&&1!==va({b:1},va(ba({},"a",{enumerable:!0,get:function(){ba(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},r=Symbol(),n="abcdefghijklmnopqrst";return e[r]=7,n.split("").forEach((function(e){t[e]=e})),7!=va({},e)[r]||ha(va({},t)).join("")!=n}))?function(e,t){for(var r=ga(e),n=arguments.length,a=1,o=da.f,i=pa.f;n>a;)for(var s,c=ma(arguments[a++]),l=o?ya(ha(c),o(c)):ha(c),u=l.length,f=0;u>f;)s=l[f++],ca&&!ua(i,c,s)||(r[s]=c[s]);return r}:va,Sa=wa;aa({target:"Object",stat:!0,arity:2,forced:Object.assign!==Sa},{assign:Sa});var xa={};xa[ct("toStringTag")]="z";var Aa="[object z]"===String(xa),ka=Aa,Ta=Z,Ea=D,_a=ct("toStringTag"),Na=Object,Ca="Arguments"==Ea(function(){return arguments}()),Oa=ka?Ea:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=Na(e),_a))?r:Ca?Ea(t):"Object"==(n=Ea(t))&&Ta(t.callee)?"Arguments":n},Ra=Oa,Pa=String,La=function(e){if("Symbol"===Ra(e))throw TypeError("Cannot convert a Symbol value to a string");return Pa(e)},Ia=Bt,Fa=g,Da=d.RegExp,Ma=Fa((function(){var e=Da("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),ja=Ma||Fa((function(){return!Da("a","y").sticky})),Ba={BROKEN_CARET:Ma||Fa((function(){var e=Da("^r","gy");return e.lastIndex=2,null!=e.exec("str")})),MISSED_STICKY:ja,UNSUPPORTED_Y:Ma},Wa={},Ua=m,Ha=Ft,za=It,Va=Bt,qa=X,$a=sa;Wa.f=Ua&&!Ha?Object.defineProperties:function(e,t){Va(e);for(var r,n=qa(t),a=$a(t),o=a.length,i=0;o>i;)za.f(e,r=a[i++],n[r]);return e};var Ga,Xa=ae("document","documentElement"),Ya=Bt,Ka=Wa,Ja=Nn,Za=Sr,Qa=Xa,eo=xt,to="prototype",ro="script",no=wr("IE_PROTO"),ao=function(){},oo=function(e){return"<"+ro+">"+e+"</"+ro+">"},io=function(e){e.write(oo("")),e.close();var t=e.parentWindow.Object;return e=null,t},so=function(){try{Ga=new ActiveXObject("htmlfile")}catch(e){}var e,t,r;so="undefined"!=typeof document?document.domain&&Ga?io(Ga):(t=eo("iframe"),r="java"+ro+":",t.style.display="none",Qa.appendChild(t),t.src=String(r),(e=t.contentWindow.document).open(),e.write(oo("document.F=Object")),e.close(),e.F):io(Ga);for(var n=Ja.length;n--;)delete so[to][Ja[n]];return so()};Za[no]=!0;var co,lo,uo=Object.create||function(e,t){var r;return null!==e?(ao[to]=Ya(e),r=new ao,ao[to]=null,r[no]=e):r=so(),void 0===t?r:Ka.f(r,t)},fo=g,ho=d.RegExp,po=fo((function(){var e=ho(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)})),go=g,mo=d.RegExp,vo=go((function(){var e=mo("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")})),bo=w,yo=P,wo=La,So=function(){var e=Ia(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t},xo=Ba,Ao=uo,ko=Fr.get,To=po,Eo=vo,_o=Ie("native-string-replace",String.prototype.replace),No=RegExp.prototype.exec,Co=No,Oo=yo("".charAt),Ro=yo("".indexOf),Po=yo("".replace),Lo=yo("".slice),Io=(lo=/b*/g,bo(No,co=/a/,"a"),bo(No,lo,"a"),0!==co.lastIndex||0!==lo.lastIndex),Fo=xo.BROKEN_CARET,Do=void 0!==/()??/.exec("")[1];(Io||Do||Fo||To||Eo)&&(Co=function(e){var t,r,n,a,o,i,s,c=this,l=ko(c),u=wo(e),f=l.raw;if(f)return f.lastIndex=c.lastIndex,t=bo(Co,f,u),c.lastIndex=f.lastIndex,t;var h=l.groups,d=Fo&&c.sticky,p=bo(So,c),g=c.source,m=0,v=u;if(d&&(p=Po(p,"y",""),-1===Ro(p,"g")&&(p+="g"),v=Lo(u,c.lastIndex),c.lastIndex>0&&(!c.multiline||c.multiline&&"\n"!==Oo(u,c.lastIndex-1))&&(g="(?: "+g+")",v=" "+v,m++),r=new RegExp("^(?:"+g+")",p)),Do&&(r=new RegExp("^"+g+"$(?!\\s)",p)),Io&&(n=c.lastIndex),a=bo(No,d?r:c,v),d?a?(a.input=Lo(a.input,m),a[0]=Lo(a[0],m),a.index=c.lastIndex,c.lastIndex+=a[0].length):c.lastIndex=0:Io&&a&&(c.lastIndex=c.global?a.index+a[0].length:n),Do&&a&&a.length>1&&bo(_o,a[0],r,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(a[o]=void 0)})),a&&h)for(a.groups=i=Ao(null),o=0;o<h.length;o++)i[(s=h[o])[0]]=a[s[1]];return a});var Mo=Co;aa({target:"RegExp",proto:!0,forced:/./.exec!==Mo},{exec:Mo});var jo=D,Bo=P,Wo=function(e){if("Function"===jo(e))return Bo(e)},Uo=Wo,Ho=nn,zo=Mo,Vo=g,qo=ct,$o=Qt,Go=qo("species"),Xo=RegExp.prototype,Yo=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t},Ko=w,Jo=Bt,Zo=Z,Qo=D,ei=Mo,ti=TypeError,ri=w,ni=function(e,t,r,n){var a=qo(e),o=!Vo((function(){var t={};return t[a]=function(){return 7},7!=""[e](t)})),i=o&&!Vo((function(){var t=!1,r=/a/;return"split"===e&&((r={}).constructor={},r.constructor[Go]=function(){return r},r.flags="",r[a]=/./[a]),r.exec=function(){return t=!0,null},r[a](""),!t}));if(!o||!i||r){var s=Uo(/./[a]),c=t(a,""[e],(function(e,t,r,n,a){var i=Uo(e),c=t.exec;return c===zo||c===Xo.exec?o&&!a?{done:!0,value:s(t,r,n)}:{done:!0,value:i(r,t,n)}:{done:!1}}));Ho(String.prototype,e,c[0]),Ho(Xo,a,c[1])}n&&$o(Xo[a],"sham",!0)},ai=Bt,oi=H,ii=q,si=Yo,ci=La,li=Ce,ui=function(e,t){var r=e.exec;if(Zo(r)){var n=Ko(r,e,t);return null!==n&&Jo(n),n}if("RegExp"===Qo(e))return Ko(ei,e,t);throw ti("RegExp#exec called on incompatible receiver")};ni("search",(function(e,t,r){return[function(t){var r=ii(this),n=oi(t)?void 0:li(t,e);return n?ri(n,t,r):new RegExp(t)[e](ci(r))},function(e){var n=ai(this),a=ci(e),o=r(t,n,a);if(o.done)return o.value;var i=n.lastIndex;si(i,0)||(n.lastIndex=0);var s=ui(n,a);return si(n.lastIndex,i)||(n.lastIndex=i),null===s?-1:s.index}]}));var fi=g,hi=function(e,t){var r=[][e];return!!r&&fi((function(){r.call(null,t||function(){return 1},1)}))},di=aa,pi=U,gi=X,mi=hi,vi=P([].join);di({target:"Array",proto:!0,forced:pi!=Object||!mi("join",",")},{join:function(e){return vi(gi(this),void 0===e?",":e)}});var bi=Ee,yi=v,wi=Wo(Wo.bind),Si=D,xi=Array.isArray||function(e){return"Array"==Si(e)},Ai=P,ki=g,Ti=Z,Ei=Oa,_i=pr,Ni=function(){},Ci=[],Oi=ae("Reflect","construct"),Ri=/^\s*(?:class|function)\b/,Pi=Ai(Ri.exec),Li=!Ri.exec(Ni),Ii=function(e){if(!Ti(e))return!1;try{return Oi(Ni,Ci,e),!0}catch(e){return!1}},Fi=function(e){if(!Ti(e))return!1;switch(Ei(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return Li||!!Pi(Ri,_i(e))}catch(e){return!0}};Fi.sham=!0;var Di=!Oi||ki((function(){var e;return Ii(Ii.call)||!Ii(Object)||!Ii((function(){e=!0}))||e}))?Fi:Ii,Mi=xi,ji=Di,Bi=te,Wi=ct("species"),Ui=Array,Hi=function(e){var t;return Mi(e)&&(t=e.constructor,(ji(t)&&(t===Ui||Mi(t.prototype))||Bi(t)&&null===(t=t[Wi]))&&(t=void 0)),void 0===t?Ui:t},zi=function(e,t){return new(Hi(e))(0===t?0:t)},Vi=function(e,t){return bi(e),void 0===t?e:yi?wi(e,t):function(){return e.apply(t,arguments)}},qi=U,$i=qe,Gi=mn,Xi=zi,Yi=P([].push),Ki=function(e){var t=1==e,r=2==e,n=3==e,a=4==e,o=6==e,i=7==e,s=5==e||o;return function(c,l,u,f){for(var h,d,p=$i(c),g=qi(p),m=Vi(l,u),v=Gi(g),b=0,y=f||Xi,w=t?y(c,v):r||i?y(c,0):void 0;v>b;b++)if((s||b in g)&&(d=m(h=g[b],b,p),e))if(t)w[b]=d;else if(d)switch(e){case 3:return!0;case 5:return h;case 6:return b;case 2:Yi(w,h)}else switch(e){case 4:return!1;case 7:Yi(w,h)}return o?-1:n||a?a:w}},Ji={forEach:Ki(0),map:Ki(1),filter:Ki(2),some:Ki(3),every:Ki(4),find:Ki(5),findIndex:Ki(6),filterReject:Ki(7)},Zi=ct,Qi=uo,es=It.f,ts=Zi("unscopables"),rs=Array.prototype;null==rs[ts]&&es(rs,ts,{configurable:!0,value:Qi(null)});var ns=function(e){rs[ts][e]=!0},as=aa,os=Ji.find,is=ns,ss="find",cs=!0;ss in[]&&Array(1)[ss]((function(){cs=!1})),as({target:"Array",proto:!0,forced:cs},{find:function(e){return os(this,e,arguments.length>1?arguments[1]:void 0)}}),is(ss);var ls=Oa,us=Aa?{}.toString:function(){return"[object "+ls(this)+"]"};Aa||nn(Object.prototype,"toString",us,{unsafe:!0});var fs=TypeError,hs=bt,ds=It,ps=_,gs=g,ms=he,vs=ct("species"),bs=function(e){return ms>=51||!gs((function(){var t=[];return(t.constructor={})[vs]=function(){return{foo:1}},1!==t[e](Boolean).foo}))},ys=aa,ws=g,Ss=xi,xs=te,As=qe,ks=mn,Ts=function(e){if(e>9007199254740991)throw fs("Maximum allowed index exceeded");return e},Es=function(e,t,r){var n=hs(t);n in e?ds.f(e,n,ps(0,r)):e[n]=r},_s=zi,Ns=bs,Cs=he,Os=ct("isConcatSpreadable"),Rs=Cs>=51||!ws((function(){var e=[];return e[Os]=!1,e.concat()[0]!==e})),Ps=function(e){if(!xs(e))return!1;var t=e[Os];return void 0!==t?!!t:Ss(e)};ys({target:"Array",proto:!0,arity:1,forced:!Rs||!Ns("concat")},{concat:function(e){var t,r,n,a,o,i=As(this),s=_s(i,0),c=0;for(t=-1,n=arguments.length;t<n;t++)if(Ps(o=-1===t?i:arguments[t]))for(a=ks(o),Ts(c+a),r=0;r<a;r++,c++)r in o&&Es(s,c,o[r]);else Ts(c+1),Es(s,c++,o);return s.length=c,s}});var Ls=Ji.filter;aa({target:"Array",proto:!0,forced:!bs("filter")},{filter:function(e){return Ls(this,e,arguments.length>1?arguments[1]:void 0)}});var Is=m,Fs=P,Ds=sa,Ms=X,js=Fs(S.f),Bs=Fs([].push),Ws=function(e){return function(t){for(var r,n=Ms(t),a=Ds(n),o=a.length,i=0,s=[];o>i;)r=a[i++],Is&&!js(n,r)||Bs(s,e?[r,n[r]]:n[r]);return s}},Us={entries:Ws(!0),values:Ws(!1)}.entries;aa({target:"Object",stat:!0},{entries:function(e){return Us(e)}});var Hs=aa,zs=Sn.indexOf,Vs=hi,qs=Wo([].indexOf),$s=!!qs&&1/qs([1],1,-0)<0;Hs({target:"Array",proto:!0,forced:$s||!Vs("indexOf")},{indexOf:function(e){var t=arguments.length>1?arguments[1]:void 0;return $s?qs(this,e,t)||0:zs(this,e,t)}});var Gs=Sn.includes,Xs=ns;aa({target:"Array",proto:!0,forced:g((function(){return!Array(1).includes()}))},{includes:function(e){return Gs(this,e,arguments.length>1?arguments[1]:void 0)}}),Xs("includes");var Ys=te,Ks=D,Js=ct("match"),Zs=function(e){var t;return Ys(e)&&(void 0!==(t=e[Js])?!!t:"RegExp"==Ks(e))},Qs=TypeError,ec=ct("match"),tc=aa,rc=function(e){if(Zs(e))throw Qs("The method doesn't accept regular expressions");return e},nc=q,ac=La,oc=function(e){var t=/./;try{"/./"[e](t)}catch(r){try{return t[ec]=!1,"/./"[e](t)}catch(e){}}return!1},ic=P("".indexOf);tc({target:"String",proto:!0,forced:!oc("includes")},{includes:function(e){return!!~ic(ac(nc(this)),ac(rc(e)),arguments.length>1?arguments[1]:void 0)}});var sc="\t\n\v\f\r \u2028\u2029\ufeff",cc=q,lc=La,uc=sc,fc=P("".replace),hc=RegExp("^["+uc+"]+"),dc=RegExp("(^|[^"+uc+"])["+uc+"]+$"),pc=function(e){return function(t){var r=lc(cc(t));return 1&e&&(r=fc(r,hc,"")),2&e&&(r=fc(r,dc,"$1")),r}},gc={start:pc(1),end:pc(2),trim:pc(3)},mc=sr.PROPER,vc=g,bc=sc,yc=gc.trim;aa({target:"String",proto:!0,forced:function(e){return vc((function(){return!!bc[e]()||" "!==" "[e]()||mc&&bc[e].name!==e}))}("trim")},{trim:function(){return yc(this)}});var wc=e.fn.bootstrapTable.utils,Sc={bootstrap3:{icons:{advancedSearchIcon:"glyphicon-chevron-down"},classes:{},html:{modal:'\n <div id="avdSearchModal_%s" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="mySmallModalLabel" aria-hidden="true">\n <div class="modal-dialog modal-xs">\n <div class="modal-content">\n <div class="modal-header">\n <button type="button" class="close" data-dismiss="modal" aria-label="Close">\n <span aria-hidden="true">×</span>\n </button>\n <h4 class="modal-title">%s</h4>\n </div>\n <div class="modal-body modal-body-custom">\n <div class="container-fluid" id="avdSearchModalContent_%s"\n style="padding-right: 0px; padding-left: 0px;" >\n </div>\n </div>\n <div class="modal-footer">\n <button type="button" id="btnCloseAvd_%s" class="btn btn-%s">%s</button>\n </div>\n </div>\n </div>\n </div>\n '}},bootstrap4:{icons:{advancedSearchIcon:"fa-chevron-down"},classes:{},html:{modal:'\n <div id="avdSearchModal_%s" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="mySmallModalLabel" aria-hidden="true">\n <div class="modal-dialog modal-xs">\n <div class="modal-content">\n <div class="modal-header">\n <h4 class="modal-title">%s</h4>\n <button type="button" class="close" data-dismiss="modal" aria-label="Close">\n <span aria-hidden="true">×</span>\n </button>\n </div>\n <div class="modal-body modal-body-custom">\n <div class="container-fluid" id="avdSearchModalContent_%s"\n style="padding-right: 0; padding-left: 0;" >\n </div>\n </div>\n <div class="modal-footer">\n <button type="button" id="btnCloseAvd_%s" class="btn btn-%s">%s</button>\n </div>\n </div>\n </div>\n </div>\n '}},bootstrap5:{icons:{advancedSearchIcon:"bi-chevron-down"},classes:{formGroup:"mb-3"},html:{modal:'\n <div id="avdSearchModal_%s" class="modal fade" tabindex="-1" aria-labelledby="mySmallModalLabel" aria-hidden="true">\n <div class="modal-dialog modal-xs">\n <div class="modal-content">\n <div class="modal-header">\n <h5 class="modal-title">%s</h5>\n <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>\n </div>\n <div class="modal-body modal-body-custom">\n <div class="container-fluid" id="avdSearchModalContent_%s"\n style="padding-right: 0; padding-left: 0;" >\n </div>\n </div>\n <div class="modal-footer">\n <button type="button" id="btnCloseAvd_%s" class="btn btn-%s">%s</button>\n </div>\n </div>\n </div>\n </div>\n '}},bulma:{icons:{advancedSearchIcon:"fa-chevron-down"},classes:{},html:{modal:'\n <div class="modal" id="avdSearchModal_%s">\n <div class="modal-background"></div>\n <div class="modal-card">\n <header class="modal-card-head">\n <p class="modal-card-title">%s</p>\n <button class="delete" aria-label="close"></button>\n </header>\n <section class="modal-card-body" id="avdSearchModalContent_%s"></section>\n <footer class="modal-card-foot">\n <button class="button" id="btnCloseAvd_%s" data-close="btn btn-%s">%s</button>\n </footer>\n </div>\n </div>\n '}},foundation:{icons:{advancedSearchIcon:"fa-chevron-down"},classes:{},html:{modal:'\n <div class="reveal" id="avdSearchModal_%s" data-reveal>\n <h1>%s</h1>\n <div id="avdSearchModalContent_%s">\n\n </div>\n <button class="close-button" data-close aria-label="Close modal" type="button">\n <span aria-hidden="true">×</span>\n </button>\n\n <button id="btnCloseAvd_%s" class="%s" type="button">%s</button>\n </div>\n '}},materialize:{icons:{advancedSearchIcon:"expand_more"},classes:{},html:{modal:'\n <div id="avdSearchModal_%s" class="modal">\n <div class="modal-content">\n <h4>%s</h4>\n <div id="avdSearchModalContent_%s">\n\n </div>\n </div>\n <div class="modal-footer">\n <a href="javascript:void(0)"" id="btnCloseAvd_%s" class="modal-close waves-effect waves-green btn-flat %s">%s</a>\n </div>\n </div>\n '}},semantic:{icons:{advancedSearchIcon:"fa-chevron-down"},classes:{},html:{modal:'\n <div class="ui modal" id="avdSearchModal_%s">\n <i class="close icon"></i>\n <div class="header">\n %s\n </div>\n <div class="image content ui form" id="avdSearchModalContent_%s"></div>\n <div class="actions">\n <div id="btnCloseAvd_%s" class="ui black deny button %s">%s</div>\n </div>\n </div>\n '}}}[e.fn.bootstrapTable.theme];Object.assign(e.fn.bootstrapTable.defaults,{advancedSearch:!1,idForm:"advancedSearch",actionForm:"",idTable:void 0,onColumnAdvancedSearch:function(e,t){return!1}}),Object.assign(e.fn.bootstrapTable.defaults.icons,{advancedSearchIcon:Sc.icons.advancedSearchIcon}),Object.assign(e.fn.bootstrapTable.events,{"column-advanced-search.bs.table":"onColumnAdvancedSearch"}),Object.assign(e.fn.bootstrapTable.locales,{formatAdvancedSearch:function(){return"Advanced search"},formatAdvancedCloseButton:function(){return"Close"}}),Object.assign(e.fn.bootstrapTable.defaults,e.fn.bootstrapTable.locales),e.BootstrapTable=function(a){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&n(e,t)}(p,a);var u,f,h,d=o(p);function p(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,p),d.apply(this,arguments)}return u=p,f=[{key:"initToolbar",value:function(){var e=this.options;this.showToolbar=this.showToolbar||e.search&&e.advancedSearch&&e.idTable,e.search&&e.advancedSearch&&e.idTable&&(this.buttons=Object.assign(this.buttons,{advancedSearch:{text:this.options.formatAdvancedSearch(),icon:this.options.icons.advancedSearchIcon,event:this.showAvdSearch,attributes:{"aria-label":this.options.formatAdvancedSearch(),title:this.options.formatAdvancedSearch()}}})),i(r(p.prototype),"initToolbar",this).call(this)}},{key:"showAvdSearch",value:function(){var t=this,r=this.options,n="#avdSearchModal_".concat(r.idTable);if(e(n).length<=0){e("body").append(wc.sprintf(Sc.html.modal,r.idTable,r.formatAdvancedSearch(),r.idTable,r.idTable,r.buttonsClass,r.formatAdvancedCloseButton()));var a=0;e("#avdSearchModalContent_".concat(r.idTable)).append(this.createFormAvd().join("")),e("#".concat(r.idForm)).off("keyup blur","input").on("keyup blur","input",(function(e){"server"===r.sidePagination?t.onColumnAdvancedSearch(e):(clearTimeout(a),a=setTimeout((function(){t.onColumnAdvancedSearch(e)}),r.searchTimeOut))})),e("#btnCloseAvd_".concat(r.idTable)).click((function(){return t.hideModal()})),"bulma"===e.fn.bootstrapTable.theme&&e(n).find(".delete").off("click").on("click",(function(){return t.hideModal()})),this.showModal()}else this.showModal()}},{key:"showModal",value:function(){var t="#avdSearchModal_".concat(this.options.idTable);-1!==e.inArray(e.fn.bootstrapTable.theme,["bootstrap3","bootstrap4"])?e(t).modal():"bootstrap5"===e.fn.bootstrapTable.theme?(this.toolbarModal||(this.toolbarModal=new bootstrap.Modal(document.getElementById("avdSearchModal_".concat(this.options.idTable)),{})),this.toolbarModal.show()):"bulma"===e.fn.bootstrapTable.theme?e(t).toggleClass("is-active"):"foundation"===e.fn.bootstrapTable.theme?(this.toolbarModal||(this.toolbarModal=new Foundation.Reveal(e(t))),this.toolbarModal.open()):"materialize"===e.fn.bootstrapTable.theme?(e(t).modal(),e(t).modal("open")):"semantic"===e.fn.bootstrapTable.theme&&e(t).modal("show")}},{key:"hideModal",value:function(){var t=e("#avdSearchModal_".concat(this.options.idTable)),r="#avdSearchModal_".concat(this.options.idTable);-1!==e.inArray(e.fn.bootstrapTable.theme,["bootstrap3","bootstrap4"])?t.modal("hide"):"bootstrap5"===e.fn.bootstrapTable.theme?this.toolbarModal.hide():"bulma"===e.fn.bootstrapTable.theme?(e("html").toggleClass("is-clipped"),e(r).toggleClass("is-active")):"foundation"===e.fn.bootstrapTable.theme?this.toolbarModal.close():"materialize"===e.fn.bootstrapTable.theme?e(r).modal("open"):"semantic"===e.fn.bootstrapTable.theme&&e(r).modal("close"),"server"===this.options.sidePagination&&(this.options.pageNumber=1,this.updatePagination(),this.trigger("column-advanced-search",this.filterColumnsPartial))}},{key:"createFormAvd",value:function(){var e,t=this.options,r=['<form class="form-horizontal" id="'.concat(t.idForm,'" action="').concat(t.actionForm,'">')],n=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=l(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,a=function(){};return{s:a,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:a}}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 o,i=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return i=e.done,e},e:function(e){s=!0,o=e},f:function(){try{i||null==r.return||r.return()}finally{if(s)throw o}}}}(this.columns);try{for(n.s();!(e=n.n()).done;){var a=e.value;!a.checkbox&&a.visible&&a.searchable&&r.push('\n <div class="form-group row '.concat(Sc.classes.formGroup||"",'">\n <label class="col-sm-4 control-label">').concat(a.title,'</label>\n <div class="col-sm-6">\n <input type="text" class="form-control ').concat(this.constants.classes.input,'" name="').concat(a.field,'" placeholder="').concat(a.title,'" id="').concat(a.field,'">\n </div>\n </div>\n '))}}catch(e){n.e(e)}finally{n.f()}return r.push("</form>"),r}},{key:"initSearch",value:function(){var t=this;if(i(r(p.prototype),"initSearch",this).call(this),this.options.advancedSearch&&"server"!==this.options.sidePagination){var n=e.isEmptyObject(this.filterColumnsPartial)?null:this.filterColumnsPartial;this.data=n?this.data.filter((function(e,r){for(var a=0,o=Object.entries(n);a<o.length;a++){var i=s(o[a],2),c=i[0],l=i[1].toLowerCase(),u=e[c],f=t.header.fields.indexOf(c);if(u=wc.calculateObjectValue(t.header,t.header.formatters[f],[u,e,r],u),-1===f||"string"!=typeof u&&"number"!=typeof u||!"".concat(u).toLowerCase().includes(l))return!1}return!0})):this.data,this.unsortedData=c(this.data)}}},{key:"onColumnAdvancedSearch",value:function(t){var r=e(t.currentTarget).val().trim(),n=e(t.currentTarget)[0].id;e.isEmptyObject(this.filterColumnsPartial)&&(this.filterColumnsPartial={}),r?this.filterColumnsPartial[n]=r:delete this.filterColumnsPartial[n],"server"!==this.options.sidePagination&&(this.options.pageNumber=1,this.initSearch(),this.updatePagination(),this.trigger("column-advanced-search",n,r))}}],f&&t(u.prototype,f),h&&t(u,h),Object.defineProperty(u,"prototype",{writable:!1}),p}(e.BootstrapTable)}));-(function (global, factory) {- typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('jquery')) :- typeof define === 'function' && define.amd ? define(['jquery'], factory) :- (global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.BootstrapTable = factory(global.jQuery));-})(this, (function ($$p) { 'use strict';-- function _iterableToArrayLimit(arr, i) {- var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"];- if (null != _i) {- var _s,- _e,- _x,- _r,- _arr = [],- _n = !0,- _d = !1;- try {- if (_x = (_i = _i.call(arr)).next, 0 === i) {- if (Object(_i) !== _i) return;- _n = !1;- } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0);- } catch (err) {- _d = !0, _e = err;- } finally {- try {- if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return;- } finally {- if (_d) throw _e;- }- }- return _arr;- }- }- function _typeof(obj) {- "@babel/helpers - typeof";-- return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {- return typeof obj;- } : function (obj) {- return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;- }, _typeof(obj);- }- function _classCallCheck(instance, Constructor) {- if (!(instance instanceof Constructor)) {- throw new TypeError("Cannot call a class as a function");- }- }- function _defineProperties(target, props) {- for (var i = 0; i < props.length; i++) {- var descriptor = props[i];- descriptor.enumerable = descriptor.enumerable || false;- descriptor.configurable = true;- if ("value" in descriptor) descriptor.writable = true;- Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor);- }- }- function _createClass(Constructor, protoProps, staticProps) {- if (protoProps) _defineProperties(Constructor.prototype, protoProps);- if (staticProps) _defineProperties(Constructor, staticProps);- Object.defineProperty(Constructor, "prototype", {- writable: false- });- return Constructor;- }- function _slicedToArray(arr, i) {- return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();- }- function _toConsumableArray(arr) {- return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();- }- function _arrayWithoutHoles(arr) {- if (Array.isArray(arr)) return _arrayLikeToArray(arr);- }- function _arrayWithHoles(arr) {- if (Array.isArray(arr)) return arr;- }- function _iterableToArray(iter) {- if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);- }- function _unsupportedIterableToArray(o, minLen) {- if (!o) return;- if (typeof o === "string") return _arrayLikeToArray(o, minLen);- var n = Object.prototype.toString.call(o).slice(8, -1);- if (n === "Object" && o.constructor) n = o.constructor.name;- if (n === "Map" || n === "Set") return Array.from(o);- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);- }- function _arrayLikeToArray(arr, len) {- if (len == null || len > arr.length) len = arr.length;- for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];- return arr2;- }- function _nonIterableSpread() {- 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 _nonIterableRest() {- 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 _createForOfIteratorHelper(o, allowArrayLike) {- var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"];- if (!it) {- if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") {- if (it) o = it;- var i = 0;- var F = function () {};- return {- s: F,- n: function () {- if (i >= o.length) return {- done: true- };- return {- done: false,- value: o[i++]- };- },- e: function (e) {- throw e;- },- f: F- };- }- 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 normalCompletion = true,- didErr = false,- err;- return {- s: function () {- it = it.call(o);- },- n: function () {- var step = it.next();- normalCompletion = step.done;- return step;- },- e: function (e) {- didErr = true;- err = e;- },- f: function () {- try {- if (!normalCompletion && it.return != null) it.return();- } finally {- if (didErr) throw err;- }- }- };- }- function _toPrimitive(input, hint) {- if (typeof input !== "object" || input === null) return input;- var prim = input[Symbol.toPrimitive];- if (prim !== undefined) {- var res = prim.call(input, hint || "default");- if (typeof res !== "object") return res;- throw new TypeError("@@toPrimitive must return a primitive value.");- }- return (hint === "string" ? String : Number)(input);- }- function _toPropertyKey(arg) {- var key = _toPrimitive(arg, "string");- return typeof key === "symbol" ? key : String(key);- }-- var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};-- var check = function (it) {- return it && it.Math == Math && it;- };-- // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028- var global$k =- // eslint-disable-next-line es/no-global-this -- safe- check(typeof globalThis == 'object' && globalThis) ||- check(typeof window == 'object' && window) ||- // eslint-disable-next-line no-restricted-globals -- safe- check(typeof self == 'object' && self) ||- check(typeof commonjsGlobal == 'object' && commonjsGlobal) ||- // eslint-disable-next-line no-new-func -- fallback- (function () { return this; })() || Function('return this')();-- var objectGetOwnPropertyDescriptor = {};-- var fails$v = function (exec) {- try {- return !!exec();- } catch (error) {- return true;- }- };-- var fails$u = fails$v;-- // Detect IE8's incomplete defineProperty implementation- var descriptors = !fails$u(function () {- // eslint-disable-next-line es/no-object-defineproperty -- required for testing- return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;- });-- var fails$t = fails$v;-- var functionBindNative = !fails$t(function () {- // eslint-disable-next-line es/no-function-prototype-bind -- safe- var test = (function () { /* empty */ }).bind();- // eslint-disable-next-line no-prototype-builtins -- safe- return typeof test != 'function' || test.hasOwnProperty('prototype');- });-- var NATIVE_BIND$3 = functionBindNative;-- var call$e = Function.prototype.call;-- var functionCall = NATIVE_BIND$3 ? call$e.bind(call$e) : function () {- return call$e.apply(call$e, arguments);- };-- var objectPropertyIsEnumerable = {};-- var $propertyIsEnumerable$1 = {}.propertyIsEnumerable;- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe- var getOwnPropertyDescriptor$5 = Object.getOwnPropertyDescriptor;-- // Nashorn ~ JDK8 bug- var NASHORN_BUG = getOwnPropertyDescriptor$5 && !$propertyIsEnumerable$1.call({ 1: 2 }, 1);-- // `Object.prototype.propertyIsEnumerable` method implementation- // https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable- objectPropertyIsEnumerable.f = NASHORN_BUG ? function propertyIsEnumerable(V) {- var descriptor = getOwnPropertyDescriptor$5(this, V);- return !!descriptor && descriptor.enumerable;- } : $propertyIsEnumerable$1;-- var createPropertyDescriptor$4 = function (bitmap, value) {- return {- enumerable: !(bitmap & 1),- configurable: !(bitmap & 2),- writable: !(bitmap & 4),- value: value- };- };-- var NATIVE_BIND$2 = functionBindNative;-- var FunctionPrototype$2 = Function.prototype;- var call$d = FunctionPrototype$2.call;- var uncurryThisWithBind = NATIVE_BIND$2 && FunctionPrototype$2.bind.bind(call$d, call$d);-- var functionUncurryThis = NATIVE_BIND$2 ? uncurryThisWithBind : function (fn) {- return function () {- return call$d.apply(fn, arguments);- };- };-- var uncurryThis$z = functionUncurryThis;-- var toString$h = uncurryThis$z({}.toString);- var stringSlice$9 = uncurryThis$z(''.slice);-- var classofRaw$2 = function (it) {- return stringSlice$9(toString$h(it), 8, -1);- };-- var uncurryThis$y = functionUncurryThis;- var fails$s = fails$v;- var classof$7 = classofRaw$2;-- var $Object$4 = Object;- var split = uncurryThis$y(''.split);-- // fallback for non-array-like ES3 and non-enumerable old V8 strings- var indexedObject = fails$s(function () {- // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346- // eslint-disable-next-line no-prototype-builtins -- safe- return !$Object$4('z').propertyIsEnumerable(0);- }) ? function (it) {- return classof$7(it) == 'String' ? split(it, '') : $Object$4(it);- } : $Object$4;-- // we can't use just `it == null` since of `document.all` special case- // https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec- var isNullOrUndefined$7 = function (it) {- return it === null || it === undefined;- };-- var isNullOrUndefined$6 = isNullOrUndefined$7;-- var $TypeError$c = TypeError;-- // `RequireObjectCoercible` abstract operation- // https://tc39.es/ecma262/#sec-requireobjectcoercible- var requireObjectCoercible$b = function (it) {- if (isNullOrUndefined$6(it)) throw $TypeError$c("Can't call method on " + it);- return it;- };-- // toObject with fallback for non-array-like ES3 strings- var IndexedObject$3 = indexedObject;- var requireObjectCoercible$a = requireObjectCoercible$b;-- var toIndexedObject$8 = function (it) {- return IndexedObject$3(requireObjectCoercible$a(it));- };-- var documentAll$2 = typeof document == 'object' && document.all;-- // https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot- // eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing- var IS_HTMLDDA = typeof documentAll$2 == 'undefined' && documentAll$2 !== undefined;-- var documentAll_1 = {- all: documentAll$2,- IS_HTMLDDA: IS_HTMLDDA- };-- var $documentAll$1 = documentAll_1;-- var documentAll$1 = $documentAll$1.all;-- // `IsCallable` abstract operation- // https://tc39.es/ecma262/#sec-iscallable- var isCallable$j = $documentAll$1.IS_HTMLDDA ? function (argument) {- return typeof argument == 'function' || argument === documentAll$1;- } : function (argument) {- return typeof argument == 'function';- };-- var isCallable$i = isCallable$j;- var $documentAll = documentAll_1;-- var documentAll = $documentAll.all;-- var isObject$b = $documentAll.IS_HTMLDDA ? function (it) {- return typeof it == 'object' ? it !== null : isCallable$i(it) || it === documentAll;- } : function (it) {- return typeof it == 'object' ? it !== null : isCallable$i(it);- };-- var global$j = global$k;- var isCallable$h = isCallable$j;-- var aFunction = function (argument) {- return isCallable$h(argument) ? argument : undefined;- };-- var getBuiltIn$5 = function (namespace, method) {- return arguments.length < 2 ? aFunction(global$j[namespace]) : global$j[namespace] && global$j[namespace][method];- };-- var uncurryThis$x = functionUncurryThis;-- var objectIsPrototypeOf = uncurryThis$x({}.isPrototypeOf);-- var engineUserAgent = typeof navigator != 'undefined' && String(navigator.userAgent) || '';-- var global$i = global$k;- var userAgent$2 = engineUserAgent;-- var process = global$i.process;- var Deno = global$i.Deno;- var versions = process && process.versions || Deno && Deno.version;- var v8 = versions && versions.v8;- var match, version;-- if (v8) {- match = v8.split('.');- // in old Chrome, versions of V8 isn't V8 = Chrome / 10- // but their correct versions are not interesting for us- version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);- }-- // BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`- // so check `userAgent` even if `.v8` exists, but 0- if (!version && userAgent$2) {- match = userAgent$2.match(/Edge\/(\d+)/);- if (!match || match[1] >= 74) {- match = userAgent$2.match(/Chrome\/(\d+)/);- if (match) version = +match[1];- }- }-- var engineV8Version = version;-- /* eslint-disable es/no-symbol -- required for testing */-- var V8_VERSION$2 = engineV8Version;- var fails$r = fails$v;-- // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing- var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$r(function () {- var symbol = Symbol();- // Chrome 38 Symbol has incorrect toString conversion- // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances- return !String(symbol) || !(Object(symbol) instanceof Symbol) ||- // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances- !Symbol.sham && V8_VERSION$2 && V8_VERSION$2 < 41;- });-- /* eslint-disable es/no-symbol -- required for testing */-- var NATIVE_SYMBOL$1 = symbolConstructorDetection;-- var useSymbolAsUid = NATIVE_SYMBOL$1- && !Symbol.sham- && typeof Symbol.iterator == 'symbol';-- var getBuiltIn$4 = getBuiltIn$5;- var isCallable$g = isCallable$j;- var isPrototypeOf$3 = objectIsPrototypeOf;- var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;-- var $Object$3 = Object;-- var isSymbol$3 = USE_SYMBOL_AS_UID$1 ? function (it) {- return typeof it == 'symbol';- } : function (it) {- var $Symbol = getBuiltIn$4('Symbol');- return isCallable$g($Symbol) && isPrototypeOf$3($Symbol.prototype, $Object$3(it));- };-- var $String$4 = String;-- var tryToString$3 = function (argument) {- try {- return $String$4(argument);- } catch (error) {- return 'Object';- }- };-- var isCallable$f = isCallable$j;- var tryToString$2 = tryToString$3;-- var $TypeError$b = TypeError;-- // `Assert: IsCallable(argument) is true`- var aCallable$4 = function (argument) {- if (isCallable$f(argument)) return argument;- throw $TypeError$b(tryToString$2(argument) + ' is not a function');- };-- var aCallable$3 = aCallable$4;- var isNullOrUndefined$5 = isNullOrUndefined$7;-- // `GetMethod` abstract operation- // https://tc39.es/ecma262/#sec-getmethod- var getMethod$5 = function (V, P) {- var func = V[P];- return isNullOrUndefined$5(func) ? undefined : aCallable$3(func);- };-- var call$c = functionCall;- var isCallable$e = isCallable$j;- var isObject$a = isObject$b;-- var $TypeError$a = TypeError;-- // `OrdinaryToPrimitive` abstract operation- // https://tc39.es/ecma262/#sec-ordinarytoprimitive- var ordinaryToPrimitive$1 = function (input, pref) {- var fn, val;- if (pref === 'string' && isCallable$e(fn = input.toString) && !isObject$a(val = call$c(fn, input))) return val;- if (isCallable$e(fn = input.valueOf) && !isObject$a(val = call$c(fn, input))) return val;- if (pref !== 'string' && isCallable$e(fn = input.toString) && !isObject$a(val = call$c(fn, input))) return val;- throw $TypeError$a("Can't convert object to primitive value");- };-- var sharedExports = {};- var shared$4 = {- get exports(){ return sharedExports; },- set exports(v){ sharedExports = v; },- };-- var isPure = false;-- var global$h = global$k;-- // eslint-disable-next-line es/no-object-defineproperty -- safe- var defineProperty$8 = Object.defineProperty;-- var defineGlobalProperty$3 = function (key, value) {- try {- defineProperty$8(global$h, key, { value: value, configurable: true, writable: true });- } catch (error) {- global$h[key] = value;- } return value;- };-- var global$g = global$k;- var defineGlobalProperty$2 = defineGlobalProperty$3;-- var SHARED = '__core-js_shared__';- var store$3 = global$g[SHARED] || defineGlobalProperty$2(SHARED, {});-- var sharedStore = store$3;-- var store$2 = sharedStore;-- (shared$4.exports = function (key, value) {- return store$2[key] || (store$2[key] = value !== undefined ? value : {});- })('versions', []).push({- version: '3.29.0',- mode: 'global',- copyright: '© 2014-2023 Denis Pushkarev (zloirock.ru)',- license: 'https://github.com/zloirock/core-js/blob/v3.29.0/LICENSE',- source: 'https://github.com/zloirock/core-js'- });-- var requireObjectCoercible$9 = requireObjectCoercible$b;-- var $Object$2 = Object;-- // `ToObject` abstract operation- // https://tc39.es/ecma262/#sec-toobject- var toObject$a = function (argument) {- return $Object$2(requireObjectCoercible$9(argument));- };-- var uncurryThis$w = functionUncurryThis;- var toObject$9 = toObject$a;-- var hasOwnProperty = uncurryThis$w({}.hasOwnProperty);-- // `HasOwnProperty` abstract operation- // https://tc39.es/ecma262/#sec-hasownproperty- // eslint-disable-next-line es/no-object-hasown -- safe- var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {- return hasOwnProperty(toObject$9(it), key);- };-- var uncurryThis$v = functionUncurryThis;-- var id = 0;- var postfix = Math.random();- var toString$g = uncurryThis$v(1.0.toString);-- var uid$2 = function (key) {- return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$g(++id + postfix, 36);- };-- var global$f = global$k;- var shared$3 = sharedExports;- var hasOwn$b = hasOwnProperty_1;- var uid$1 = uid$2;- var NATIVE_SYMBOL = symbolConstructorDetection;- var USE_SYMBOL_AS_UID = useSymbolAsUid;-- var Symbol$3 = global$f.Symbol;- var WellKnownSymbolsStore = shared$3('wks');- var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$3['for'] || Symbol$3 : Symbol$3 && Symbol$3.withoutSetter || uid$1;-- var wellKnownSymbol$j = function (name) {- if (!hasOwn$b(WellKnownSymbolsStore, name)) {- WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn$b(Symbol$3, name)- ? Symbol$3[name]- : createWellKnownSymbol('Symbol.' + name);- } return WellKnownSymbolsStore[name];- };-- var call$b = functionCall;- var isObject$9 = isObject$b;- var isSymbol$2 = isSymbol$3;- var getMethod$4 = getMethod$5;- var ordinaryToPrimitive = ordinaryToPrimitive$1;- var wellKnownSymbol$i = wellKnownSymbol$j;-- var $TypeError$9 = TypeError;- var TO_PRIMITIVE = wellKnownSymbol$i('toPrimitive');-- // `ToPrimitive` abstract operation- // https://tc39.es/ecma262/#sec-toprimitive- var toPrimitive$2 = function (input, pref) {- if (!isObject$9(input) || isSymbol$2(input)) return input;- var exoticToPrim = getMethod$4(input, TO_PRIMITIVE);- var result;- if (exoticToPrim) {- if (pref === undefined) pref = 'default';- result = call$b(exoticToPrim, input, pref);- if (!isObject$9(result) || isSymbol$2(result)) return result;- throw $TypeError$9("Can't convert object to primitive value");- }- if (pref === undefined) pref = 'number';- return ordinaryToPrimitive(input, pref);- };-- var toPrimitive$1 = toPrimitive$2;- var isSymbol$1 = isSymbol$3;-- // `ToPropertyKey` abstract operation- // https://tc39.es/ecma262/#sec-topropertykey- var toPropertyKey$3 = function (argument) {- var key = toPrimitive$1(argument, 'string');- return isSymbol$1(key) ? key : key + '';- };-- var global$e = global$k;- var isObject$8 = isObject$b;-- var document$1 = global$e.document;- // typeof document.createElement is 'object' in old IE- var EXISTS$1 = isObject$8(document$1) && isObject$8(document$1.createElement);-- var documentCreateElement$2 = function (it) {- return EXISTS$1 ? document$1.createElement(it) : {};- };-- var DESCRIPTORS$e = descriptors;- var fails$q = fails$v;- var createElement = documentCreateElement$2;-- // Thanks to IE8 for its funny defineProperty- var ie8DomDefine = !DESCRIPTORS$e && !fails$q(function () {- // eslint-disable-next-line es/no-object-defineproperty -- required for testing- return Object.defineProperty(createElement('div'), 'a', {- get: function () { return 7; }- }).a != 7;- });-- var DESCRIPTORS$d = descriptors;- var call$a = functionCall;- var propertyIsEnumerableModule$1 = objectPropertyIsEnumerable;- var createPropertyDescriptor$3 = createPropertyDescriptor$4;- var toIndexedObject$7 = toIndexedObject$8;- var toPropertyKey$2 = toPropertyKey$3;- var hasOwn$a = hasOwnProperty_1;- var IE8_DOM_DEFINE$1 = ie8DomDefine;-- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe- var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;-- // `Object.getOwnPropertyDescriptor` method- // https://tc39.es/ecma262/#sec-object.getownpropertydescriptor- objectGetOwnPropertyDescriptor.f = DESCRIPTORS$d ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {- O = toIndexedObject$7(O);- P = toPropertyKey$2(P);- if (IE8_DOM_DEFINE$1) try {- return $getOwnPropertyDescriptor$1(O, P);- } catch (error) { /* empty */ }- if (hasOwn$a(O, P)) return createPropertyDescriptor$3(!call$a(propertyIsEnumerableModule$1.f, O, P), O[P]);- };-- var objectDefineProperty = {};-- var DESCRIPTORS$c = descriptors;- var fails$p = fails$v;-- // V8 ~ Chrome 36-- // https://bugs.chromium.org/p/v8/issues/detail?id=3334- var v8PrototypeDefineBug = DESCRIPTORS$c && fails$p(function () {- // eslint-disable-next-line es/no-object-defineproperty -- required for testing- return Object.defineProperty(function () { /* empty */ }, 'prototype', {- value: 42,- writable: false- }).prototype != 42;- });-- var isObject$7 = isObject$b;-- var $String$3 = String;- var $TypeError$8 = TypeError;-- // `Assert: Type(argument) is Object`- var anObject$d = function (argument) {- if (isObject$7(argument)) return argument;- throw $TypeError$8($String$3(argument) + ' is not an object');- };-- var DESCRIPTORS$b = descriptors;- var IE8_DOM_DEFINE = ie8DomDefine;- var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug;- var anObject$c = anObject$d;- var toPropertyKey$1 = toPropertyKey$3;-- var $TypeError$7 = TypeError;- // eslint-disable-next-line es/no-object-defineproperty -- safe- var $defineProperty = Object.defineProperty;- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe- var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;- var ENUMERABLE = 'enumerable';- var CONFIGURABLE$1 = 'configurable';- var WRITABLE = 'writable';-- // `Object.defineProperty` method- // https://tc39.es/ecma262/#sec-object.defineproperty- objectDefineProperty.f = DESCRIPTORS$b ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {- anObject$c(O);- P = toPropertyKey$1(P);- anObject$c(Attributes);- if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {- var current = $getOwnPropertyDescriptor(O, P);- if (current && current[WRITABLE]) {- O[P] = Attributes.value;- Attributes = {- configurable: CONFIGURABLE$1 in Attributes ? Attributes[CONFIGURABLE$1] : current[CONFIGURABLE$1],- enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],- writable: false- };- }- } return $defineProperty(O, P, Attributes);- } : $defineProperty : function defineProperty(O, P, Attributes) {- anObject$c(O);- P = toPropertyKey$1(P);- anObject$c(Attributes);- if (IE8_DOM_DEFINE) try {- return $defineProperty(O, P, Attributes);- } catch (error) { /* empty */ }- if ('get' in Attributes || 'set' in Attributes) throw $TypeError$7('Accessors not supported');- if ('value' in Attributes) O[P] = Attributes.value;- return O;- };-- var DESCRIPTORS$a = descriptors;- var definePropertyModule$4 = objectDefineProperty;- var createPropertyDescriptor$2 = createPropertyDescriptor$4;-- var createNonEnumerableProperty$7 = DESCRIPTORS$a ? function (object, key, value) {- return definePropertyModule$4.f(object, key, createPropertyDescriptor$2(1, value));- } : function (object, key, value) {- object[key] = value;- return object;- };-- var makeBuiltInExports = {};- var makeBuiltIn$3 = {- get exports(){ return makeBuiltInExports; },- set exports(v){ makeBuiltInExports = v; },- };-- var DESCRIPTORS$9 = descriptors;- var hasOwn$9 = hasOwnProperty_1;-- var FunctionPrototype$1 = Function.prototype;- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe- var getDescriptor = DESCRIPTORS$9 && Object.getOwnPropertyDescriptor;-- var EXISTS = hasOwn$9(FunctionPrototype$1, 'name');- // additional protection from minified / mangled / dropped function names- var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';- var CONFIGURABLE = EXISTS && (!DESCRIPTORS$9 || (DESCRIPTORS$9 && getDescriptor(FunctionPrototype$1, 'name').configurable));-- var functionName = {- EXISTS: EXISTS,- PROPER: PROPER,- CONFIGURABLE: CONFIGURABLE- };-- var uncurryThis$u = functionUncurryThis;- var isCallable$d = isCallable$j;- var store$1 = sharedStore;-- var functionToString = uncurryThis$u(Function.toString);-- // this helper broken in `[email protected]`, so we can't use `shared` helper- if (!isCallable$d(store$1.inspectSource)) {- store$1.inspectSource = function (it) {- return functionToString(it);- };- }-- var inspectSource$2 = store$1.inspectSource;-- var global$d = global$k;- var isCallable$c = isCallable$j;-- var WeakMap$1 = global$d.WeakMap;-- var weakMapBasicDetection = isCallable$c(WeakMap$1) && /native code/.test(String(WeakMap$1));-- var shared$2 = sharedExports;- var uid = uid$2;-- var keys$1 = shared$2('keys');-- var sharedKey$3 = function (key) {- return keys$1[key] || (keys$1[key] = uid(key));- };-- var hiddenKeys$4 = {};-- var NATIVE_WEAK_MAP = weakMapBasicDetection;- var global$c = global$k;- var isObject$6 = isObject$b;- var createNonEnumerableProperty$6 = createNonEnumerableProperty$7;- var hasOwn$8 = hasOwnProperty_1;- var shared$1 = sharedStore;- var sharedKey$2 = sharedKey$3;- var hiddenKeys$3 = hiddenKeys$4;-- var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';- var TypeError$2 = global$c.TypeError;- var WeakMap = global$c.WeakMap;- var set, get, has;-- var enforce = function (it) {- return has(it) ? get(it) : set(it, {});- };-- var getterFor = function (TYPE) {- return function (it) {- var state;- if (!isObject$6(it) || (state = get(it)).type !== TYPE) {- throw TypeError$2('Incompatible receiver, ' + TYPE + ' required');- } return state;- };- };-- if (NATIVE_WEAK_MAP || shared$1.state) {- var store = shared$1.state || (shared$1.state = new WeakMap());- /* eslint-disable no-self-assign -- prototype methods protection */- store.get = store.get;- store.has = store.has;- store.set = store.set;- /* eslint-enable no-self-assign -- prototype methods protection */- set = function (it, metadata) {- if (store.has(it)) throw TypeError$2(OBJECT_ALREADY_INITIALIZED);- metadata.facade = it;- store.set(it, metadata);- return metadata;- };- get = function (it) {- return store.get(it) || {};- };- has = function (it) {- return store.has(it);- };- } else {- var STATE = sharedKey$2('state');- hiddenKeys$3[STATE] = true;- set = function (it, metadata) {- if (hasOwn$8(it, STATE)) throw TypeError$2(OBJECT_ALREADY_INITIALIZED);- metadata.facade = it;- createNonEnumerableProperty$6(it, STATE, metadata);- return metadata;- };- get = function (it) {- return hasOwn$8(it, STATE) ? it[STATE] : {};- };- has = function (it) {- return hasOwn$8(it, STATE);- };- }-- var internalState = {- set: set,- get: get,- has: has,- enforce: enforce,- getterFor: getterFor- };-- var uncurryThis$t = functionUncurryThis;- var fails$o = fails$v;- var isCallable$b = isCallable$j;- var hasOwn$7 = hasOwnProperty_1;- var DESCRIPTORS$8 = descriptors;- var CONFIGURABLE_FUNCTION_NAME$1 = functionName.CONFIGURABLE;- var inspectSource$1 = inspectSource$2;- var InternalStateModule$1 = internalState;-- var enforceInternalState$1 = InternalStateModule$1.enforce;- var getInternalState$2 = InternalStateModule$1.get;- var $String$2 = String;- // eslint-disable-next-line es/no-object-defineproperty -- safe- var defineProperty$7 = Object.defineProperty;- var stringSlice$8 = uncurryThis$t(''.slice);- var replace$4 = uncurryThis$t(''.replace);- var join = uncurryThis$t([].join);-- var CONFIGURABLE_LENGTH = DESCRIPTORS$8 && !fails$o(function () {- return defineProperty$7(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;- });-- var TEMPLATE = String(String).split('String');-- var makeBuiltIn$2 = makeBuiltIn$3.exports = function (value, name, options) {- if (stringSlice$8($String$2(name), 0, 7) === 'Symbol(') {- name = '[' + replace$4($String$2(name), /^Symbol\(([^)]*)\)/, '$1') + ']';- }- if (options && options.getter) name = 'get ' + name;- if (options && options.setter) name = 'set ' + name;- if (!hasOwn$7(value, 'name') || (CONFIGURABLE_FUNCTION_NAME$1 && value.name !== name)) {- if (DESCRIPTORS$8) defineProperty$7(value, 'name', { value: name, configurable: true });- else value.name = name;- }- if (CONFIGURABLE_LENGTH && options && hasOwn$7(options, 'arity') && value.length !== options.arity) {- defineProperty$7(value, 'length', { value: options.arity });- }- try {- if (options && hasOwn$7(options, 'constructor') && options.constructor) {- if (DESCRIPTORS$8) defineProperty$7(value, 'prototype', { writable: false });- // in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable- } else if (value.prototype) value.prototype = undefined;- } catch (error) { /* empty */ }- var state = enforceInternalState$1(value);- if (!hasOwn$7(state, 'source')) {- state.source = join(TEMPLATE, typeof name == 'string' ? name : '');- } return value;- };-- // add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative- // eslint-disable-next-line no-extend-native -- required- Function.prototype.toString = makeBuiltIn$2(function toString() {- return isCallable$b(this) && getInternalState$2(this).source || inspectSource$1(this);- }, 'toString');-- var isCallable$a = isCallable$j;- var definePropertyModule$3 = objectDefineProperty;- var makeBuiltIn$1 = makeBuiltInExports;- var defineGlobalProperty$1 = defineGlobalProperty$3;-- var defineBuiltIn$7 = function (O, key, value, options) {- if (!options) options = {};- var simple = options.enumerable;- var name = options.name !== undefined ? options.name : key;- if (isCallable$a(value)) makeBuiltIn$1(value, name, options);- if (options.global) {- if (simple) O[key] = value;- else defineGlobalProperty$1(key, value);- } else {- try {- if (!options.unsafe) delete O[key];- else if (O[key]) simple = true;- } catch (error) { /* empty */ }- if (simple) O[key] = value;- else definePropertyModule$3.f(O, key, {- value: value,- enumerable: false,- configurable: !options.nonConfigurable,- writable: !options.nonWritable- });- } return O;- };-- var objectGetOwnPropertyNames = {};-- var ceil = Math.ceil;- var floor$2 = Math.floor;-- // `Math.trunc` method- // https://tc39.es/ecma262/#sec-math.trunc- // eslint-disable-next-line es/no-math-trunc -- safe- var mathTrunc = Math.trunc || function trunc(x) {- var n = +x;- return (n > 0 ? floor$2 : ceil)(n);- };-- var trunc = mathTrunc;-- // `ToIntegerOrInfinity` abstract operation- // https://tc39.es/ecma262/#sec-tointegerorinfinity- var toIntegerOrInfinity$5 = function (argument) {- var number = +argument;- // eslint-disable-next-line no-self-compare -- NaN check- return number !== number || number === 0 ? 0 : trunc(number);- };-- var toIntegerOrInfinity$4 = toIntegerOrInfinity$5;-- var max$4 = Math.max;- var min$6 = Math.min;-- // Helper for a popular repeating case of the spec:- // Let integer be ? ToInteger(index).- // If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).- var toAbsoluteIndex$4 = function (index, length) {- var integer = toIntegerOrInfinity$4(index);- return integer < 0 ? max$4(integer + length, 0) : min$6(integer, length);- };-- var toIntegerOrInfinity$3 = toIntegerOrInfinity$5;-- var min$5 = Math.min;-- // `ToLength` abstract operation- // https://tc39.es/ecma262/#sec-tolength- var toLength$6 = function (argument) {- return argument > 0 ? min$5(toIntegerOrInfinity$3(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991- };-- var toLength$5 = toLength$6;-- // `LengthOfArrayLike` abstract operation- // https://tc39.es/ecma262/#sec-lengthofarraylike- var lengthOfArrayLike$7 = function (obj) {- return toLength$5(obj.length);- };-- var toIndexedObject$6 = toIndexedObject$8;- var toAbsoluteIndex$3 = toAbsoluteIndex$4;- var lengthOfArrayLike$6 = lengthOfArrayLike$7;-- // `Array.prototype.{ indexOf, includes }` methods implementation- var createMethod$4 = function (IS_INCLUDES) {- return function ($this, el, fromIndex) {- var O = toIndexedObject$6($this);- var length = lengthOfArrayLike$6(O);- var index = toAbsoluteIndex$3(fromIndex, length);- var value;- // Array#includes uses SameValueZero equality algorithm- // eslint-disable-next-line no-self-compare -- NaN check- if (IS_INCLUDES && el != el) while (length > index) {- value = O[index++];- // eslint-disable-next-line no-self-compare -- NaN check- if (value != value) return true;- // Array#indexOf ignores holes, Array#includes - not- } else for (;length > index; index++) {- if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;- } return !IS_INCLUDES && -1;- };- };-- var arrayIncludes = {- // `Array.prototype.includes` method- // https://tc39.es/ecma262/#sec-array.prototype.includes- includes: createMethod$4(true),- // `Array.prototype.indexOf` method- // https://tc39.es/ecma262/#sec-array.prototype.indexof- indexOf: createMethod$4(false)- };-- var uncurryThis$s = functionUncurryThis;- var hasOwn$6 = hasOwnProperty_1;- var toIndexedObject$5 = toIndexedObject$8;- var indexOf$1 = arrayIncludes.indexOf;- var hiddenKeys$2 = hiddenKeys$4;-- var push$5 = uncurryThis$s([].push);-- var objectKeysInternal = function (object, names) {- var O = toIndexedObject$5(object);- var i = 0;- var result = [];- var key;- for (key in O) !hasOwn$6(hiddenKeys$2, key) && hasOwn$6(O, key) && push$5(result, key);- // Don't enum bug & hidden keys- while (names.length > i) if (hasOwn$6(O, key = names[i++])) {- ~indexOf$1(result, key) || push$5(result, key);- }- return result;- };-- // IE8- don't enum bug keys- var enumBugKeys$3 = [- 'constructor',- 'hasOwnProperty',- 'isPrototypeOf',- 'propertyIsEnumerable',- 'toLocaleString',- 'toString',- 'valueOf'- ];-- var internalObjectKeys$1 = objectKeysInternal;- var enumBugKeys$2 = enumBugKeys$3;-- var hiddenKeys$1 = enumBugKeys$2.concat('length', 'prototype');-- // `Object.getOwnPropertyNames` method- // https://tc39.es/ecma262/#sec-object.getownpropertynames- // eslint-disable-next-line es/no-object-getownpropertynames -- safe- objectGetOwnPropertyNames.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {- return internalObjectKeys$1(O, hiddenKeys$1);- };-- var objectGetOwnPropertySymbols = {};-- // eslint-disable-next-line es/no-object-getownpropertysymbols -- safe- objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;-- var getBuiltIn$3 = getBuiltIn$5;- var uncurryThis$r = functionUncurryThis;- var getOwnPropertyNamesModule = objectGetOwnPropertyNames;- var getOwnPropertySymbolsModule$1 = objectGetOwnPropertySymbols;- var anObject$b = anObject$d;-- var concat$2 = uncurryThis$r([].concat);-- // all object keys, includes non-enumerable and symbols- var ownKeys$1 = getBuiltIn$3('Reflect', 'ownKeys') || function ownKeys(it) {- var keys = getOwnPropertyNamesModule.f(anObject$b(it));- var getOwnPropertySymbols = getOwnPropertySymbolsModule$1.f;- return getOwnPropertySymbols ? concat$2(keys, getOwnPropertySymbols(it)) : keys;- };-- var hasOwn$5 = hasOwnProperty_1;- var ownKeys = ownKeys$1;- var getOwnPropertyDescriptorModule = objectGetOwnPropertyDescriptor;- var definePropertyModule$2 = objectDefineProperty;-- var copyConstructorProperties$2 = function (target, source, exceptions) {- var keys = ownKeys(source);- var defineProperty = definePropertyModule$2.f;- var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;- for (var i = 0; i < keys.length; i++) {- var key = keys[i];- if (!hasOwn$5(target, key) && !(exceptions && hasOwn$5(exceptions, key))) {- defineProperty(target, key, getOwnPropertyDescriptor(source, key));- }- }- };-- var fails$n = fails$v;- var isCallable$9 = isCallable$j;-- var replacement = /#|\.prototype\./;-- var isForced$3 = function (feature, detection) {- var value = data[normalize(feature)];- return value == POLYFILL ? true- : value == NATIVE ? false- : isCallable$9(detection) ? fails$n(detection)- : !!detection;- };-- var normalize = isForced$3.normalize = function (string) {- return String(string).replace(replacement, '.').toLowerCase();- };-- var data = isForced$3.data = {};- var NATIVE = isForced$3.NATIVE = 'N';- var POLYFILL = isForced$3.POLYFILL = 'P';-- var isForced_1 = isForced$3;-- var global$b = global$k;- var getOwnPropertyDescriptor$4 = objectGetOwnPropertyDescriptor.f;- var createNonEnumerableProperty$5 = createNonEnumerableProperty$7;- var defineBuiltIn$6 = defineBuiltIn$7;- var defineGlobalProperty = defineGlobalProperty$3;- var copyConstructorProperties$1 = copyConstructorProperties$2;- var isForced$2 = isForced_1;-- /*- options.target - name of the target object- options.global - target is the global object- options.stat - export as static methods of target- options.proto - export as prototype methods of target- options.real - real prototype method for the `pure` version- options.forced - export even if the native feature is available- options.bind - bind methods to the target, required for the `pure` version- options.wrap - wrap constructors to preventing global pollution, required for the `pure` version- options.unsafe - use the simple assignment of property instead of delete + defineProperty- options.sham - add a flag to not completely full polyfills- options.enumerable - export as enumerable property- options.dontCallGetSet - prevent calling a getter on target- options.name - the .name of the function if it does not match the key- */- var _export = function (options, source) {- var TARGET = options.target;- var GLOBAL = options.global;- var STATIC = options.stat;- var FORCED, target, key, targetProperty, sourceProperty, descriptor;- if (GLOBAL) {- target = global$b;- } else if (STATIC) {- target = global$b[TARGET] || defineGlobalProperty(TARGET, {});- } else {- target = (global$b[TARGET] || {}).prototype;- }- if (target) for (key in source) {- sourceProperty = source[key];- if (options.dontCallGetSet) {- descriptor = getOwnPropertyDescriptor$4(target, key);- targetProperty = descriptor && descriptor.value;- } else targetProperty = target[key];- FORCED = isForced$2(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);- // contained in target- if (!FORCED && targetProperty !== undefined) {- if (typeof sourceProperty == typeof targetProperty) continue;- copyConstructorProperties$1(sourceProperty, targetProperty);- }- // add a flag to not completely full polyfills- if (options.sham || (targetProperty && targetProperty.sham)) {- createNonEnumerableProperty$5(sourceProperty, 'sham', true);- }- defineBuiltIn$6(target, key, sourceProperty, options);- }- };-- var internalObjectKeys = objectKeysInternal;- var enumBugKeys$1 = enumBugKeys$3;-- // `Object.keys` method- // https://tc39.es/ecma262/#sec-object.keys- // eslint-disable-next-line es/no-object-keys -- safe- var objectKeys$3 = Object.keys || function keys(O) {- return internalObjectKeys(O, enumBugKeys$1);- };-- var DESCRIPTORS$7 = descriptors;- var uncurryThis$q = functionUncurryThis;- var call$9 = functionCall;- var fails$m = fails$v;- var objectKeys$2 = objectKeys$3;- var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;- var propertyIsEnumerableModule = objectPropertyIsEnumerable;- var toObject$8 = toObject$a;- var IndexedObject$2 = indexedObject;-- // eslint-disable-next-line es/no-object-assign -- safe- var $assign = Object.assign;- // eslint-disable-next-line es/no-object-defineproperty -- required for testing- var defineProperty$6 = Object.defineProperty;- var concat$1 = uncurryThis$q([].concat);-- // `Object.assign` method- // https://tc39.es/ecma262/#sec-object.assign- var objectAssign = !$assign || fails$m(function () {- // should have correct order of operations (Edge bug)- if (DESCRIPTORS$7 && $assign({ b: 1 }, $assign(defineProperty$6({}, 'a', {- enumerable: true,- get: function () {- defineProperty$6(this, 'b', {- value: 3,- enumerable: false- });- }- }), { b: 2 })).b !== 1) return true;- // should work with symbols and should have deterministic property order (V8 bug)- var A = {};- var B = {};- // eslint-disable-next-line es/no-symbol -- safe- var symbol = Symbol();- var alphabet = 'abcdefghijklmnopqrst';- A[symbol] = 7;- alphabet.split('').forEach(function (chr) { B[chr] = chr; });- return $assign({}, A)[symbol] != 7 || objectKeys$2($assign({}, B)).join('') != alphabet;- }) ? function assign(target, source) { // eslint-disable-line no-unused-vars -- required for `.length`- var T = toObject$8(target);- var argumentsLength = arguments.length;- var index = 1;- var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;- var propertyIsEnumerable = propertyIsEnumerableModule.f;- while (argumentsLength > index) {- var S = IndexedObject$2(arguments[index++]);- var keys = getOwnPropertySymbols ? concat$1(objectKeys$2(S), getOwnPropertySymbols(S)) : objectKeys$2(S);- var length = keys.length;- var j = 0;- var key;- while (length > j) {- key = keys[j++];- if (!DESCRIPTORS$7 || call$9(propertyIsEnumerable, S, key)) T[key] = S[key];- }- } return T;- } : $assign;-- var $$o = _export;- var assign = objectAssign;-- // `Object.assign` method- // https://tc39.es/ecma262/#sec-object.assign- // eslint-disable-next-line es/no-object-assign -- required for testing- $$o({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }, {- assign: assign- });-- var wellKnownSymbol$h = wellKnownSymbol$j;-- var TO_STRING_TAG$3 = wellKnownSymbol$h('toStringTag');- var test$2 = {};-- test$2[TO_STRING_TAG$3] = 'z';-- var toStringTagSupport = String(test$2) === '[object z]';-- var TO_STRING_TAG_SUPPORT$2 = toStringTagSupport;- var isCallable$8 = isCallable$j;- var classofRaw$1 = classofRaw$2;- var wellKnownSymbol$g = wellKnownSymbol$j;-- var TO_STRING_TAG$2 = wellKnownSymbol$g('toStringTag');- var $Object$1 = Object;-- // ES3 wrong here- var CORRECT_ARGUMENTS = classofRaw$1(function () { return arguments; }()) == 'Arguments';-- // fallback for IE11 Script Access Denied error- var tryGet = function (it, key) {- try {- return it[key];- } catch (error) { /* empty */ }- };-- // getting tag from ES6+ `Object.prototype.toString`- var classof$6 = TO_STRING_TAG_SUPPORT$2 ? classofRaw$1 : function (it) {- var O, tag, result;- return it === undefined ? 'Undefined' : it === null ? 'Null'- // @@toStringTag case- : typeof (tag = tryGet(O = $Object$1(it), TO_STRING_TAG$2)) == 'string' ? tag- // builtinTag case- : CORRECT_ARGUMENTS ? classofRaw$1(O)- // ES3 arguments fallback- : (result = classofRaw$1(O)) == 'Object' && isCallable$8(O.callee) ? 'Arguments' : result;- };-- var classof$5 = classof$6;-- var $String$1 = String;-- var toString$f = function (argument) {- if (classof$5(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string');- return $String$1(argument);- };-- // a string of all valid unicode whitespaces- var whitespaces$4 = '\u0009\u000A\u000B\u000C\u000D\u0020\u00A0\u1680\u2000\u2001\u2002' +- '\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF';-- var uncurryThis$p = functionUncurryThis;- var requireObjectCoercible$8 = requireObjectCoercible$b;- var toString$e = toString$f;- var whitespaces$3 = whitespaces$4;-- var replace$3 = uncurryThis$p(''.replace);- var ltrim = RegExp('^[' + whitespaces$3 + ']+');- var rtrim = RegExp('(^|[^' + whitespaces$3 + '])[' + whitespaces$3 + ']+$');-- // `String.prototype.{ trim, trimStart, trimEnd, trimLeft, trimRight }` methods implementation- var createMethod$3 = function (TYPE) {- return function ($this) {- var string = toString$e(requireObjectCoercible$8($this));- if (TYPE & 1) string = replace$3(string, ltrim, '');- if (TYPE & 2) string = replace$3(string, rtrim, '$1');- return string;- };- };-- var stringTrim = {- // `String.prototype.{ trimLeft, trimStart }` methods- // https://tc39.es/ecma262/#sec-string.prototype.trimstart- start: createMethod$3(1),- // `String.prototype.{ trimRight, trimEnd }` methods- // https://tc39.es/ecma262/#sec-string.prototype.trimend- end: createMethod$3(2),- // `String.prototype.trim` method- // https://tc39.es/ecma262/#sec-string.prototype.trim- trim: createMethod$3(3)- };-- var PROPER_FUNCTION_NAME$2 = functionName.PROPER;- var fails$l = fails$v;- var whitespaces$2 = whitespaces$4;-- var non = '\u200B\u0085\u180E';-- // check that a method works with the correct list- // of whitespaces and has a correct name- var stringTrimForced = function (METHOD_NAME) {- return fails$l(function () {- return !!whitespaces$2[METHOD_NAME]()- || non[METHOD_NAME]() !== non- || (PROPER_FUNCTION_NAME$2 && whitespaces$2[METHOD_NAME].name !== METHOD_NAME);- });- };-- var $$n = _export;- var $trim = stringTrim.trim;- var forcedStringTrimMethod = stringTrimForced;-- // `String.prototype.trim` method- // https://tc39.es/ecma262/#sec-string.prototype.trim- $$n({ target: 'String', proto: true, forced: forcedStringTrimMethod('trim') }, {- trim: function trim() {- return $trim(this);- }- });-- var fails$k = fails$v;-- var arrayMethodIsStrict$4 = function (METHOD_NAME, argument) {- var method = [][METHOD_NAME];- return !!method && fails$k(function () {- // eslint-disable-next-line no-useless-call -- required for testing- method.call(null, argument || function () { return 1; }, 1);- });- };-- var $$m = _export;- var uncurryThis$o = functionUncurryThis;- var IndexedObject$1 = indexedObject;- var toIndexedObject$4 = toIndexedObject$8;- var arrayMethodIsStrict$3 = arrayMethodIsStrict$4;-- var nativeJoin = uncurryThis$o([].join);-- var ES3_STRINGS = IndexedObject$1 != Object;- var FORCED$6 = ES3_STRINGS || !arrayMethodIsStrict$3('join', ',');-- // `Array.prototype.join` method- // https://tc39.es/ecma262/#sec-array.prototype.join- $$m({ target: 'Array', proto: true, forced: FORCED$6 }, {- join: function join(separator) {- return nativeJoin(toIndexedObject$4(this), separator === undefined ? ',' : separator);- }- });-- var anObject$a = anObject$d;-- // `RegExp.prototype.flags` getter implementation- // https://tc39.es/ecma262/#sec-get-regexp.prototype.flags- var regexpFlags$1 = function () {- var that = anObject$a(this);- var result = '';- if (that.hasIndices) result += 'd';- if (that.global) result += 'g';- if (that.ignoreCase) result += 'i';- if (that.multiline) result += 'm';- if (that.dotAll) result += 's';- if (that.unicode) result += 'u';- if (that.unicodeSets) result += 'v';- if (that.sticky) result += 'y';- return result;- };-- var fails$j = fails$v;- var global$a = global$k;-- // babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError- var $RegExp$2 = global$a.RegExp;-- var UNSUPPORTED_Y$3 = fails$j(function () {- var re = $RegExp$2('a', 'y');- re.lastIndex = 2;- return re.exec('abcd') != null;- });-- // UC Browser bug- // https://github.com/zloirock/core-js/issues/1008- var MISSED_STICKY$1 = UNSUPPORTED_Y$3 || fails$j(function () {- return !$RegExp$2('a', 'y').sticky;- });-- var BROKEN_CARET = UNSUPPORTED_Y$3 || fails$j(function () {- // https://bugzilla.mozilla.org/show_bug.cgi?id=773687- var re = $RegExp$2('^r', 'gy');- re.lastIndex = 2;- return re.exec('str') != null;- });-- var regexpStickyHelpers = {- BROKEN_CARET: BROKEN_CARET,- MISSED_STICKY: MISSED_STICKY$1,- UNSUPPORTED_Y: UNSUPPORTED_Y$3- };-- var objectDefineProperties = {};-- var DESCRIPTORS$6 = descriptors;- var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;- var definePropertyModule$1 = objectDefineProperty;- var anObject$9 = anObject$d;- var toIndexedObject$3 = toIndexedObject$8;- var objectKeys$1 = objectKeys$3;-- // `Object.defineProperties` method- // https://tc39.es/ecma262/#sec-object.defineproperties- // eslint-disable-next-line es/no-object-defineproperties -- safe- objectDefineProperties.f = DESCRIPTORS$6 && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {- anObject$9(O);- var props = toIndexedObject$3(Properties);- var keys = objectKeys$1(Properties);- var length = keys.length;- var index = 0;- var key;- while (length > index) definePropertyModule$1.f(O, key = keys[index++], props[key]);- return O;- };-- var getBuiltIn$2 = getBuiltIn$5;-- var html$1 = getBuiltIn$2('document', 'documentElement');-- /* global ActiveXObject -- old IE, WSH */-- var anObject$8 = anObject$d;- var definePropertiesModule = objectDefineProperties;- var enumBugKeys = enumBugKeys$3;- var hiddenKeys = hiddenKeys$4;- var html = html$1;- var documentCreateElement$1 = documentCreateElement$2;- var sharedKey$1 = sharedKey$3;-- var GT = '>';- var LT = '<';- var PROTOTYPE = 'prototype';- var SCRIPT = 'script';- var IE_PROTO$1 = sharedKey$1('IE_PROTO');-- var EmptyConstructor = function () { /* empty */ };-- var scriptTag = function (content) {- return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT;- };-- // Create object with fake `null` prototype: use ActiveX Object with cleared prototype- var NullProtoObjectViaActiveX = function (activeXDocument) {- activeXDocument.write(scriptTag(''));- activeXDocument.close();- var temp = activeXDocument.parentWindow.Object;- activeXDocument = null; // avoid memory leak- return temp;- };-- // Create object with fake `null` prototype: use iframe Object with cleared prototype- var NullProtoObjectViaIFrame = function () {- // Thrash, waste and sodomy: IE GC bug- var iframe = documentCreateElement$1('iframe');- var JS = 'java' + SCRIPT + ':';- var iframeDocument;- iframe.style.display = 'none';- html.appendChild(iframe);- // https://github.com/zloirock/core-js/issues/475- iframe.src = String(JS);- iframeDocument = iframe.contentWindow.document;- iframeDocument.open();- iframeDocument.write(scriptTag('document.F=Object'));- iframeDocument.close();- return iframeDocument.F;- };-- // Check for document.domain and active x support- // No need to use active x approach when document.domain is not set- // see https://github.com/es-shims/es5-shim/issues/150- // variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346- // avoid IE GC bug- var activeXDocument;- var NullProtoObject = function () {- try {- activeXDocument = new ActiveXObject('htmlfile');- } catch (error) { /* ignore */ }- NullProtoObject = typeof document != 'undefined'- ? document.domain && activeXDocument- ? NullProtoObjectViaActiveX(activeXDocument) // old IE- : NullProtoObjectViaIFrame()- : NullProtoObjectViaActiveX(activeXDocument); // WSH- var length = enumBugKeys.length;- while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];- return NullProtoObject();- };-- hiddenKeys[IE_PROTO$1] = true;-- // `Object.create` method- // https://tc39.es/ecma262/#sec-object.create- // eslint-disable-next-line es/no-object-create -- safe- var objectCreate = Object.create || function create(O, Properties) {- var result;- if (O !== null) {- EmptyConstructor[PROTOTYPE] = anObject$8(O);- result = new EmptyConstructor();- EmptyConstructor[PROTOTYPE] = null;- // add "__proto__" for Object.getPrototypeOf polyfill- result[IE_PROTO$1] = O;- } else result = NullProtoObject();- return Properties === undefined ? result : definePropertiesModule.f(result, Properties);- };-- var fails$i = fails$v;- var global$9 = global$k;-- // babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError- var $RegExp$1 = global$9.RegExp;-- var regexpUnsupportedDotAll = fails$i(function () {- var re = $RegExp$1('.', 's');- return !(re.dotAll && re.exec('\n') && re.flags === 's');- });-- var fails$h = fails$v;- var global$8 = global$k;-- // babel-minify and Closure Compiler transpiles RegExp('(?<a>b)', 'g') -> /(?<a>b)/g and it causes SyntaxError- var $RegExp = global$8.RegExp;-- var regexpUnsupportedNcg = fails$h(function () {- var re = $RegExp('(?<a>b)', 'g');- return re.exec('b').groups.a !== 'b' ||- 'b'.replace(re, '$<a>c') !== 'bc';- });-- /* eslint-disable regexp/no-empty-capturing-group, regexp/no-empty-group, regexp/no-lazy-ends -- testing */- /* eslint-disable regexp/no-useless-quantifier -- testing */- var call$8 = functionCall;- var uncurryThis$n = functionUncurryThis;- var toString$d = toString$f;- var regexpFlags = regexpFlags$1;- var stickyHelpers$2 = regexpStickyHelpers;- var shared = sharedExports;- var create$2 = objectCreate;- var getInternalState$1 = internalState.get;- var UNSUPPORTED_DOT_ALL$1 = regexpUnsupportedDotAll;- var UNSUPPORTED_NCG$1 = regexpUnsupportedNcg;-- var nativeReplace = shared('native-string-replace', String.prototype.replace);- var nativeExec = RegExp.prototype.exec;- var patchedExec = nativeExec;- var charAt$5 = uncurryThis$n(''.charAt);- var indexOf = uncurryThis$n(''.indexOf);- var replace$2 = uncurryThis$n(''.replace);- var stringSlice$7 = uncurryThis$n(''.slice);-- var UPDATES_LAST_INDEX_WRONG = (function () {- var re1 = /a/;- var re2 = /b*/g;- call$8(nativeExec, re1, 'a');- call$8(nativeExec, re2, 'a');- return re1.lastIndex !== 0 || re2.lastIndex !== 0;- })();-- var UNSUPPORTED_Y$2 = stickyHelpers$2.BROKEN_CARET;-- // nonparticipating capturing group, copied from es5-shim's String#split patch.- var NPCG_INCLUDED = /()??/.exec('')[1] !== undefined;-- var PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED || UNSUPPORTED_Y$2 || UNSUPPORTED_DOT_ALL$1 || UNSUPPORTED_NCG$1;-- if (PATCH) {- patchedExec = function exec(string) {- var re = this;- var state = getInternalState$1(re);- var str = toString$d(string);- var raw = state.raw;- var result, reCopy, lastIndex, match, i, object, group;-- if (raw) {- raw.lastIndex = re.lastIndex;- result = call$8(patchedExec, raw, str);- re.lastIndex = raw.lastIndex;- return result;- }-- var groups = state.groups;- var sticky = UNSUPPORTED_Y$2 && re.sticky;- var flags = call$8(regexpFlags, re);- var source = re.source;- var charsAdded = 0;- var strCopy = str;-- if (sticky) {- flags = replace$2(flags, 'y', '');- if (indexOf(flags, 'g') === -1) {- flags += 'g';- }-- strCopy = stringSlice$7(str, re.lastIndex);- // Support anchored sticky behavior.- if (re.lastIndex > 0 && (!re.multiline || re.multiline && charAt$5(str, re.lastIndex - 1) !== '\n')) {- source = '(?: ' + source + ')';- strCopy = ' ' + strCopy;- charsAdded++;- }- // ^(? + rx + ) is needed, in combination with some str slicing, to- // simulate the 'y' flag.- reCopy = new RegExp('^(?:' + source + ')', flags);- }-- if (NPCG_INCLUDED) {- reCopy = new RegExp('^' + source + '$(?!\\s)', flags);- }- if (UPDATES_LAST_INDEX_WRONG) lastIndex = re.lastIndex;-- match = call$8(nativeExec, sticky ? reCopy : re, strCopy);-- if (sticky) {- if (match) {- match.input = stringSlice$7(match.input, charsAdded);- match[0] = stringSlice$7(match[0], charsAdded);- match.index = re.lastIndex;- re.lastIndex += match[0].length;- } else re.lastIndex = 0;- } else if (UPDATES_LAST_INDEX_WRONG && match) {- re.lastIndex = re.global ? match.index + match[0].length : lastIndex;- }- if (NPCG_INCLUDED && match && match.length > 1) {- // Fix browsers whose `exec` methods don't consistently return `undefined`- // for NPCG, like IE8. NOTE: This doesn't work for /(.?)?/- call$8(nativeReplace, match[0], reCopy, function () {- for (i = 1; i < arguments.length - 2; i++) {- if (arguments[i] === undefined) match[i] = undefined;- }- });- }-- if (match && groups) {- match.groups = object = create$2(null);- for (i = 0; i < groups.length; i++) {- group = groups[i];- object[group[0]] = match[group[1]];- }- }-- return match;- };- }-- var regexpExec$3 = patchedExec;-- var $$l = _export;- var exec$4 = regexpExec$3;-- // `RegExp.prototype.exec` method- // https://tc39.es/ecma262/#sec-regexp.prototype.exec- $$l({ target: 'RegExp', proto: true, forced: /./.exec !== exec$4 }, {- exec: exec$4- });-- var NATIVE_BIND$1 = functionBindNative;-- var FunctionPrototype = Function.prototype;- var apply$2 = FunctionPrototype.apply;- var call$7 = FunctionPrototype.call;-- // eslint-disable-next-line es/no-reflect -- safe- var functionApply = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND$1 ? call$7.bind(apply$2) : function () {- return call$7.apply(apply$2, arguments);- });-- var classofRaw = classofRaw$2;- var uncurryThis$m = functionUncurryThis;-- var functionUncurryThisClause = function (fn) {- // Nashorn bug:- // https://github.com/zloirock/core-js/issues/1128- // https://github.com/zloirock/core-js/issues/1130- if (classofRaw(fn) === 'Function') return uncurryThis$m(fn);- };-- // TODO: Remove from `core-js@4` since it's moved to entry points-- var uncurryThis$l = functionUncurryThisClause;- var defineBuiltIn$5 = defineBuiltIn$7;- var regexpExec$2 = regexpExec$3;- var fails$g = fails$v;- var wellKnownSymbol$f = wellKnownSymbol$j;- var createNonEnumerableProperty$4 = createNonEnumerableProperty$7;-- var SPECIES$5 = wellKnownSymbol$f('species');- var RegExpPrototype$3 = RegExp.prototype;-- var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {- var SYMBOL = wellKnownSymbol$f(KEY);-- var DELEGATES_TO_SYMBOL = !fails$g(function () {- // String methods call symbol-named RegEp methods- var O = {};- O[SYMBOL] = function () { return 7; };- return ''[KEY](O) != 7;- });-- var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails$g(function () {- // Symbol-named RegExp methods call .exec- var execCalled = false;- var re = /a/;-- if (KEY === 'split') {- // We can't use real regex here since it causes deoptimization- // and serious performance degradation in V8- // https://github.com/zloirock/core-js/issues/306- re = {};- // RegExp[@@split] doesn't call the regex's exec method, but first creates- // a new one. We need to return the patched regex when creating the new one.- re.constructor = {};- re.constructor[SPECIES$5] = function () { return re; };- re.flags = '';- re[SYMBOL] = /./[SYMBOL];- }-- re.exec = function () { execCalled = true; return null; };-- re[SYMBOL]('');- return !execCalled;- });-- if (- !DELEGATES_TO_SYMBOL ||- !DELEGATES_TO_EXEC ||- FORCED- ) {- var uncurriedNativeRegExpMethod = uncurryThis$l(/./[SYMBOL]);- var methods = exec(SYMBOL, ''[KEY], function (nativeMethod, regexp, str, arg2, forceStringMethod) {- var uncurriedNativeMethod = uncurryThis$l(nativeMethod);- var $exec = regexp.exec;- if ($exec === regexpExec$2 || $exec === RegExpPrototype$3.exec) {- if (DELEGATES_TO_SYMBOL && !forceStringMethod) {- // The native String method already delegates to @@method (this- // polyfilled function), leasing to infinite recursion.- // We avoid it by directly calling the native @@method method.- return { done: true, value: uncurriedNativeRegExpMethod(regexp, str, arg2) };- }- return { done: true, value: uncurriedNativeMethod(str, regexp, arg2) };- }- return { done: false };- });-- defineBuiltIn$5(String.prototype, KEY, methods[0]);- defineBuiltIn$5(RegExpPrototype$3, SYMBOL, methods[1]);- }-- if (SHAM) createNonEnumerableProperty$4(RegExpPrototype$3[SYMBOL], 'sham', true);- };-- var isObject$5 = isObject$b;- var classof$4 = classofRaw$2;- var wellKnownSymbol$e = wellKnownSymbol$j;-- var MATCH$2 = wellKnownSymbol$e('match');-- // `IsRegExp` abstract operation- // https://tc39.es/ecma262/#sec-isregexp- var isRegexp = function (it) {- var isRegExp;- return isObject$5(it) && ((isRegExp = it[MATCH$2]) !== undefined ? !!isRegExp : classof$4(it) == 'RegExp');- };-- var uncurryThis$k = functionUncurryThis;- var fails$f = fails$v;- var isCallable$7 = isCallable$j;- var classof$3 = classof$6;- var getBuiltIn$1 = getBuiltIn$5;- var inspectSource = inspectSource$2;-- var noop = function () { /* empty */ };- var empty = [];- var construct = getBuiltIn$1('Reflect', 'construct');- var constructorRegExp = /^\s*(?:class|function)\b/;- var exec$3 = uncurryThis$k(constructorRegExp.exec);- var INCORRECT_TO_STRING = !constructorRegExp.exec(noop);-- var isConstructorModern = function isConstructor(argument) {- if (!isCallable$7(argument)) return false;- try {- construct(noop, empty, argument);- return true;- } catch (error) {- return false;- }- };-- var isConstructorLegacy = function isConstructor(argument) {- if (!isCallable$7(argument)) return false;- switch (classof$3(argument)) {- case 'AsyncFunction':- case 'GeneratorFunction':- case 'AsyncGeneratorFunction': return false;- }- try {- // we can't check .prototype since constructors produced by .bind haven't it- // `Function#toString` throws on some built-it function in some legacy engines- // (for example, `DOMQuad` and similar in FF41-)- return INCORRECT_TO_STRING || !!exec$3(constructorRegExp, inspectSource(argument));- } catch (error) {- return true;- }- };-- isConstructorLegacy.sham = true;-- // `IsConstructor` abstract operation- // https://tc39.es/ecma262/#sec-isconstructor- var isConstructor$3 = !construct || fails$f(function () {- var called;- return isConstructorModern(isConstructorModern.call)- || !isConstructorModern(Object)- || !isConstructorModern(function () { called = true; })- || called;- }) ? isConstructorLegacy : isConstructorModern;-- var isConstructor$2 = isConstructor$3;- var tryToString$1 = tryToString$3;-- var $TypeError$6 = TypeError;-- // `Assert: IsConstructor(argument) is true`- var aConstructor$1 = function (argument) {- if (isConstructor$2(argument)) return argument;- throw $TypeError$6(tryToString$1(argument) + ' is not a constructor');- };-- var anObject$7 = anObject$d;- var aConstructor = aConstructor$1;- var isNullOrUndefined$4 = isNullOrUndefined$7;- var wellKnownSymbol$d = wellKnownSymbol$j;-- var SPECIES$4 = wellKnownSymbol$d('species');-- // `SpeciesConstructor` abstract operation- // https://tc39.es/ecma262/#sec-speciesconstructor- var speciesConstructor$1 = function (O, defaultConstructor) {- var C = anObject$7(O).constructor;- var S;- return C === undefined || isNullOrUndefined$4(S = anObject$7(C)[SPECIES$4]) ? defaultConstructor : aConstructor(S);- };-- var uncurryThis$j = functionUncurryThis;- var toIntegerOrInfinity$2 = toIntegerOrInfinity$5;- var toString$c = toString$f;- var requireObjectCoercible$7 = requireObjectCoercible$b;-- var charAt$4 = uncurryThis$j(''.charAt);- var charCodeAt$1 = uncurryThis$j(''.charCodeAt);- var stringSlice$6 = uncurryThis$j(''.slice);-- var createMethod$2 = function (CONVERT_TO_STRING) {- return function ($this, pos) {- var S = toString$c(requireObjectCoercible$7($this));- var position = toIntegerOrInfinity$2(pos);- var size = S.length;- var first, second;- if (position < 0 || position >= size) return CONVERT_TO_STRING ? '' : undefined;- first = charCodeAt$1(S, position);- return first < 0xD800 || first > 0xDBFF || position + 1 === size- || (second = charCodeAt$1(S, position + 1)) < 0xDC00 || second > 0xDFFF- ? CONVERT_TO_STRING- ? charAt$4(S, position)- : first- : CONVERT_TO_STRING- ? stringSlice$6(S, position, position + 2)- : (first - 0xD800 << 10) + (second - 0xDC00) + 0x10000;- };- };-- var stringMultibyte = {- // `String.prototype.codePointAt` method- // https://tc39.es/ecma262/#sec-string.prototype.codepointat- codeAt: createMethod$2(false),- // `String.prototype.at` method- // https://github.com/mathiasbynens/String.prototype.at- charAt: createMethod$2(true)- };-- var charAt$3 = stringMultibyte.charAt;-- // `AdvanceStringIndex` abstract operation- // https://tc39.es/ecma262/#sec-advancestringindex- var advanceStringIndex$3 = function (S, index, unicode) {- return index + (unicode ? charAt$3(S, index).length : 1);- };-- var toPropertyKey = toPropertyKey$3;- var definePropertyModule = objectDefineProperty;- var createPropertyDescriptor$1 = createPropertyDescriptor$4;-- var createProperty$4 = function (object, key, value) {- var propertyKey = toPropertyKey(key);- if (propertyKey in object) definePropertyModule.f(object, propertyKey, createPropertyDescriptor$1(0, value));- else object[propertyKey] = value;- };-- var toAbsoluteIndex$2 = toAbsoluteIndex$4;- var lengthOfArrayLike$5 = lengthOfArrayLike$7;- var createProperty$3 = createProperty$4;-- var $Array$2 = Array;- var max$3 = Math.max;-- var arraySliceSimple = function (O, start, end) {- var length = lengthOfArrayLike$5(O);- var k = toAbsoluteIndex$2(start, length);- var fin = toAbsoluteIndex$2(end === undefined ? length : end, length);- var result = $Array$2(max$3(fin - k, 0));- for (var n = 0; k < fin; k++, n++) createProperty$3(result, n, O[k]);- result.length = n;- return result;- };-- var call$6 = functionCall;- var anObject$6 = anObject$d;- var isCallable$6 = isCallable$j;- var classof$2 = classofRaw$2;- var regexpExec$1 = regexpExec$3;-- var $TypeError$5 = TypeError;-- // `RegExpExec` abstract operation- // https://tc39.es/ecma262/#sec-regexpexec- var regexpExecAbstract = function (R, S) {- var exec = R.exec;- if (isCallable$6(exec)) {- var result = call$6(exec, R, S);- if (result !== null) anObject$6(result);- return result;- }- if (classof$2(R) === 'RegExp') return call$6(regexpExec$1, R, S);- throw $TypeError$5('RegExp#exec called on incompatible receiver');- };-- var apply$1 = functionApply;- var call$5 = functionCall;- var uncurryThis$i = functionUncurryThis;- var fixRegExpWellKnownSymbolLogic$3 = fixRegexpWellKnownSymbolLogic;- var anObject$5 = anObject$d;- var isNullOrUndefined$3 = isNullOrUndefined$7;- var isRegExp$2 = isRegexp;- var requireObjectCoercible$6 = requireObjectCoercible$b;- var speciesConstructor = speciesConstructor$1;- var advanceStringIndex$2 = advanceStringIndex$3;- var toLength$4 = toLength$6;- var toString$b = toString$f;- var getMethod$3 = getMethod$5;- var arraySlice$2 = arraySliceSimple;- var callRegExpExec = regexpExecAbstract;- var regexpExec = regexpExec$3;- var stickyHelpers$1 = regexpStickyHelpers;- var fails$e = fails$v;-- var UNSUPPORTED_Y$1 = stickyHelpers$1.UNSUPPORTED_Y;- var MAX_UINT32 = 0xFFFFFFFF;- var min$4 = Math.min;- var $push = [].push;- var exec$2 = uncurryThis$i(/./.exec);- var push$4 = uncurryThis$i($push);- var stringSlice$5 = uncurryThis$i(''.slice);-- // Chrome 51 has a buggy "split" implementation when RegExp#exec !== nativeExec- // Weex JS has frozen built-in prototypes, so use try / catch wrapper- var SPLIT_WORKS_WITH_OVERWRITTEN_EXEC = !fails$e(function () {- // eslint-disable-next-line regexp/no-empty-group -- required for testing- var re = /(?:)/;- var originalExec = re.exec;- re.exec = function () { return originalExec.apply(this, arguments); };- var result = 'ab'.split(re);- return result.length !== 2 || result[0] !== 'a' || result[1] !== 'b';- });-- // @@split logic- fixRegExpWellKnownSymbolLogic$3('split', function (SPLIT, nativeSplit, maybeCallNative) {- var internalSplit;- if (- 'abbc'.split(/(b)*/)[1] == 'c' ||- // eslint-disable-next-line regexp/no-empty-group -- required for testing- 'test'.split(/(?:)/, -1).length != 4 ||- 'ab'.split(/(?:ab)*/).length != 2 ||- '.'.split(/(.?)(.?)/).length != 4 ||- // eslint-disable-next-line regexp/no-empty-capturing-group, regexp/no-empty-group -- required for testing- '.'.split(/()()/).length > 1 ||- ''.split(/.?/).length- ) {- // based on es5-shim implementation, need to rework it- internalSplit = function (separator, limit) {- var string = toString$b(requireObjectCoercible$6(this));- var lim = limit === undefined ? MAX_UINT32 : limit >>> 0;- if (lim === 0) return [];- if (separator === undefined) return [string];- // If `separator` is not a regex, use native split- if (!isRegExp$2(separator)) {- return call$5(nativeSplit, string, separator, lim);- }- var output = [];- var flags = (separator.ignoreCase ? 'i' : '') +- (separator.multiline ? 'm' : '') +- (separator.unicode ? 'u' : '') +- (separator.sticky ? 'y' : '');- var lastLastIndex = 0;- // Make `global` and avoid `lastIndex` issues by working with a copy- var separatorCopy = new RegExp(separator.source, flags + 'g');- var match, lastIndex, lastLength;- while (match = call$5(regexpExec, separatorCopy, string)) {- lastIndex = separatorCopy.lastIndex;- if (lastIndex > lastLastIndex) {- push$4(output, stringSlice$5(string, lastLastIndex, match.index));- if (match.length > 1 && match.index < string.length) apply$1($push, output, arraySlice$2(match, 1));- lastLength = match[0].length;- lastLastIndex = lastIndex;- if (output.length >= lim) break;- }- if (separatorCopy.lastIndex === match.index) separatorCopy.lastIndex++; // Avoid an infinite loop- }- if (lastLastIndex === string.length) {- if (lastLength || !exec$2(separatorCopy, '')) push$4(output, '');- } else push$4(output, stringSlice$5(string, lastLastIndex));- return output.length > lim ? arraySlice$2(output, 0, lim) : output;- };- // Chakra, V8- } else if ('0'.split(undefined, 0).length) {- internalSplit = function (separator, limit) {- return separator === undefined && limit === 0 ? [] : call$5(nativeSplit, this, separator, limit);- };- } else internalSplit = nativeSplit;-- return [- // `String.prototype.split` method- // https://tc39.es/ecma262/#sec-string.prototype.split- function split(separator, limit) {- var O = requireObjectCoercible$6(this);- var splitter = isNullOrUndefined$3(separator) ? undefined : getMethod$3(separator, SPLIT);- return splitter- ? call$5(splitter, separator, O, limit)- : call$5(internalSplit, toString$b(O), separator, limit);- },- // `RegExp.prototype[@@split]` method- // https://tc39.es/ecma262/#sec-regexp.prototype-@@split- //- // NOTE: This cannot be properly polyfilled in engines that don't support- // the 'y' flag.- function (string, limit) {- var rx = anObject$5(this);- var S = toString$b(string);- var res = maybeCallNative(internalSplit, rx, S, limit, internalSplit !== nativeSplit);-- if (res.done) return res.value;-- var C = speciesConstructor(rx, RegExp);-- var unicodeMatching = rx.unicode;- var flags = (rx.ignoreCase ? 'i' : '') +- (rx.multiline ? 'm' : '') +- (rx.unicode ? 'u' : '') +- (UNSUPPORTED_Y$1 ? 'g' : 'y');-- // ^(? + rx + ) is needed, in combination with some S slicing, to- // simulate the 'y' flag.- var splitter = new C(UNSUPPORTED_Y$1 ? '^(?:' + rx.source + ')' : rx, flags);- var lim = limit === undefined ? MAX_UINT32 : limit >>> 0;- if (lim === 0) return [];- if (S.length === 0) return callRegExpExec(splitter, S) === null ? [S] : [];- var p = 0;- var q = 0;- var A = [];- while (q < S.length) {- splitter.lastIndex = UNSUPPORTED_Y$1 ? 0 : q;- var z = callRegExpExec(splitter, UNSUPPORTED_Y$1 ? stringSlice$5(S, q) : S);- var e;- if (- z === null ||- (e = min$4(toLength$4(splitter.lastIndex + (UNSUPPORTED_Y$1 ? q : 0)), S.length)) === p- ) {- q = advanceStringIndex$2(S, q, unicodeMatching);- } else {- push$4(A, stringSlice$5(S, p, q));- if (A.length === lim) return A;- for (var i = 1; i <= z.length - 1; i++) {- push$4(A, z[i]);- if (A.length === lim) return A;- }- q = p = e;- }- }- push$4(A, stringSlice$5(S, p));- return A;- }- ];- }, !SPLIT_WORKS_WITH_OVERWRITTEN_EXEC, UNSUPPORTED_Y$1);-- var DESCRIPTORS$5 = descriptors;- var uncurryThis$h = functionUncurryThis;- var objectKeys = objectKeys$3;- var toIndexedObject$2 = toIndexedObject$8;- var $propertyIsEnumerable = objectPropertyIsEnumerable.f;-- var propertyIsEnumerable = uncurryThis$h($propertyIsEnumerable);- var push$3 = uncurryThis$h([].push);-- // `Object.{ entries, values }` methods implementation- var createMethod$1 = function (TO_ENTRIES) {- return function (it) {- var O = toIndexedObject$2(it);- var keys = objectKeys(O);- var length = keys.length;- var i = 0;- var result = [];- var key;- while (length > i) {- key = keys[i++];- if (!DESCRIPTORS$5 || propertyIsEnumerable(O, key)) {- push$3(result, TO_ENTRIES ? [key, O[key]] : O[key]);- }- }- return result;- };- };-- var objectToArray = {- // `Object.entries` method- // https://tc39.es/ecma262/#sec-object.entries- entries: createMethod$1(true),- // `Object.values` method- // https://tc39.es/ecma262/#sec-object.values- values: createMethod$1(false)- };-- var $$k = _export;- var $entries = objectToArray.entries;-- // `Object.entries` method- // https://tc39.es/ecma262/#sec-object.entries- $$k({ target: 'Object', stat: true }, {- entries: function entries(O) {- return $entries(O);- }- });-- var wellKnownSymbol$c = wellKnownSymbol$j;- var create$1 = objectCreate;- var defineProperty$5 = objectDefineProperty.f;-- var UNSCOPABLES = wellKnownSymbol$c('unscopables');- var ArrayPrototype = Array.prototype;-- // Array.prototype[@@unscopables]- // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables- if (ArrayPrototype[UNSCOPABLES] == undefined) {- defineProperty$5(ArrayPrototype, UNSCOPABLES, {- configurable: true,- value: create$1(null)- });- }-- // add a key to Array.prototype[@@unscopables]- var addToUnscopables$4 = function (key) {- ArrayPrototype[UNSCOPABLES][key] = true;- };-- var $$j = _export;- var $includes = arrayIncludes.includes;- var fails$d = fails$v;- var addToUnscopables$3 = addToUnscopables$4;-- // FF99+ bug- var BROKEN_ON_SPARSE = fails$d(function () {- // eslint-disable-next-line es/no-array-prototype-includes -- detection- return !Array(1).includes();- });-- // `Array.prototype.includes` method- // https://tc39.es/ecma262/#sec-array.prototype.includes- $$j({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE }, {- includes: function includes(el /* , fromIndex = 0 */) {- return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);- }- });-- // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables- addToUnscopables$3('includes');-- var classof$1 = classofRaw$2;-- // `IsArray` abstract operation- // https://tc39.es/ecma262/#sec-isarray- // eslint-disable-next-line es/no-array-isarray -- safe- var isArray$5 = Array.isArray || function isArray(argument) {- return classof$1(argument) == 'Array';- };-- var $TypeError$4 = TypeError;- var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; // 2 ** 53 - 1 == 9007199254740991-- var doesNotExceedSafeInteger$2 = function (it) {- if (it > MAX_SAFE_INTEGER) throw $TypeError$4('Maximum allowed index exceeded');- return it;- };-- var isArray$4 = isArray$5;- var isConstructor$1 = isConstructor$3;- var isObject$4 = isObject$b;- var wellKnownSymbol$b = wellKnownSymbol$j;-- var SPECIES$3 = wellKnownSymbol$b('species');- var $Array$1 = Array;-- // a part of `ArraySpeciesCreate` abstract operation- // https://tc39.es/ecma262/#sec-arrayspeciescreate- var arraySpeciesConstructor$1 = function (originalArray) {- var C;- if (isArray$4(originalArray)) {- C = originalArray.constructor;- // cross-realm fallback- if (isConstructor$1(C) && (C === $Array$1 || isArray$4(C.prototype))) C = undefined;- else if (isObject$4(C)) {- C = C[SPECIES$3];- if (C === null) C = undefined;- }- } return C === undefined ? $Array$1 : C;- };-- var arraySpeciesConstructor = arraySpeciesConstructor$1;-- // `ArraySpeciesCreate` abstract operation- // https://tc39.es/ecma262/#sec-arrayspeciescreate- var arraySpeciesCreate$3 = function (originalArray, length) {- return new (arraySpeciesConstructor(originalArray))(length === 0 ? 0 : length);- };-- var fails$c = fails$v;- var wellKnownSymbol$a = wellKnownSymbol$j;- var V8_VERSION$1 = engineV8Version;-- var SPECIES$2 = wellKnownSymbol$a('species');-- var arrayMethodHasSpeciesSupport$5 = function (METHOD_NAME) {- // We can't use this feature detection in V8 since it causes- // deoptimization and serious performance degradation- // https://github.com/zloirock/core-js/issues/677- return V8_VERSION$1 >= 51 || !fails$c(function () {- var array = [];- var constructor = array.constructor = {};- constructor[SPECIES$2] = function () {- return { foo: 1 };- };- return array[METHOD_NAME](Boolean).foo !== 1;- });- };-- var $$i = _export;- var fails$b = fails$v;- var isArray$3 = isArray$5;- var isObject$3 = isObject$b;- var toObject$7 = toObject$a;- var lengthOfArrayLike$4 = lengthOfArrayLike$7;- var doesNotExceedSafeInteger$1 = doesNotExceedSafeInteger$2;- var createProperty$2 = createProperty$4;- var arraySpeciesCreate$2 = arraySpeciesCreate$3;- var arrayMethodHasSpeciesSupport$4 = arrayMethodHasSpeciesSupport$5;- var wellKnownSymbol$9 = wellKnownSymbol$j;- var V8_VERSION = engineV8Version;-- var IS_CONCAT_SPREADABLE = wellKnownSymbol$9('isConcatSpreadable');-- // We can't use this feature detection in V8 since it causes- // deoptimization and serious performance degradation- // https://github.com/zloirock/core-js/issues/679- var IS_CONCAT_SPREADABLE_SUPPORT = V8_VERSION >= 51 || !fails$b(function () {- var array = [];- array[IS_CONCAT_SPREADABLE] = false;- return array.concat()[0] !== array;- });-- var isConcatSpreadable = function (O) {- if (!isObject$3(O)) return false;- var spreadable = O[IS_CONCAT_SPREADABLE];- return spreadable !== undefined ? !!spreadable : isArray$3(O);- };-- var FORCED$5 = !IS_CONCAT_SPREADABLE_SUPPORT || !arrayMethodHasSpeciesSupport$4('concat');-- // `Array.prototype.concat` method- // https://tc39.es/ecma262/#sec-array.prototype.concat- // with adding support of @@isConcatSpreadable and @@species- $$i({ target: 'Array', proto: true, arity: 1, forced: FORCED$5 }, {- // eslint-disable-next-line no-unused-vars -- required for `.length`- concat: function concat(arg) {- var O = toObject$7(this);- var A = arraySpeciesCreate$2(O, 0);- var n = 0;- var i, k, length, len, E;- for (i = -1, length = arguments.length; i < length; i++) {- E = i === -1 ? O : arguments[i];- if (isConcatSpreadable(E)) {- len = lengthOfArrayLike$4(E);- doesNotExceedSafeInteger$1(n + len);- for (k = 0; k < len; k++, n++) if (k in E) createProperty$2(A, n, E[k]);- } else {- doesNotExceedSafeInteger$1(n + 1);- createProperty$2(A, n++, E);- }- }- A.length = n;- return A;- }- });-- var uncurryThis$g = functionUncurryThisClause;- var aCallable$2 = aCallable$4;- var NATIVE_BIND = functionBindNative;-- var bind$1 = uncurryThis$g(uncurryThis$g.bind);-- // optional / simple context binding- var functionBindContext = function (fn, that) {- aCallable$2(fn);- return that === undefined ? fn : NATIVE_BIND ? bind$1(fn, that) : function (/* ...args */) {- return fn.apply(that, arguments);- };- };-- var bind = functionBindContext;- var uncurryThis$f = functionUncurryThis;- var IndexedObject = indexedObject;- var toObject$6 = toObject$a;- var lengthOfArrayLike$3 = lengthOfArrayLike$7;- var arraySpeciesCreate$1 = arraySpeciesCreate$3;-- var push$2 = uncurryThis$f([].push);-- // `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterReject }` methods implementation- var createMethod = function (TYPE) {- var IS_MAP = TYPE == 1;- var IS_FILTER = TYPE == 2;- var IS_SOME = TYPE == 3;- var IS_EVERY = TYPE == 4;- var IS_FIND_INDEX = TYPE == 6;- var IS_FILTER_REJECT = TYPE == 7;- var NO_HOLES = TYPE == 5 || IS_FIND_INDEX;- return function ($this, callbackfn, that, specificCreate) {- var O = toObject$6($this);- var self = IndexedObject(O);- var boundFunction = bind(callbackfn, that);- var length = lengthOfArrayLike$3(self);- var index = 0;- var create = specificCreate || arraySpeciesCreate$1;- var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_REJECT ? create($this, 0) : undefined;- var value, result;- for (;length > index; index++) if (NO_HOLES || index in self) {- value = self[index];- result = boundFunction(value, index, O);- if (TYPE) {- if (IS_MAP) target[index] = result; // map- else if (result) switch (TYPE) {- case 3: return true; // some- case 5: return value; // find- case 6: return index; // findIndex- case 2: push$2(target, value); // filter- } else switch (TYPE) {- case 4: return false; // every- case 7: push$2(target, value); // filterReject- }- }- }- return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : target;- };- };-- var arrayIteration = {- // `Array.prototype.forEach` method- // https://tc39.es/ecma262/#sec-array.prototype.foreach- forEach: createMethod(0),- // `Array.prototype.map` method- // https://tc39.es/ecma262/#sec-array.prototype.map- map: createMethod(1),- // `Array.prototype.filter` method- // https://tc39.es/ecma262/#sec-array.prototype.filter- filter: createMethod(2),- // `Array.prototype.some` method- // https://tc39.es/ecma262/#sec-array.prototype.some- some: createMethod(3),- // `Array.prototype.every` method- // https://tc39.es/ecma262/#sec-array.prototype.every- every: createMethod(4),- // `Array.prototype.find` method- // https://tc39.es/ecma262/#sec-array.prototype.find- find: createMethod(5),- // `Array.prototype.findIndex` method- // https://tc39.es/ecma262/#sec-array.prototype.findIndex- findIndex: createMethod(6),- // `Array.prototype.filterReject` method- // https://github.com/tc39/proposal-array-filtering- filterReject: createMethod(7)- };-- var $$h = _export;- var $find = arrayIteration.find;- var addToUnscopables$2 = addToUnscopables$4;-- var FIND = 'find';- var SKIPS_HOLES$1 = true;-- // Shouldn't skip holes- if (FIND in []) Array(1)[FIND](function () { SKIPS_HOLES$1 = false; });-- // `Array.prototype.find` method- // https://tc39.es/ecma262/#sec-array.prototype.find- $$h({ target: 'Array', proto: true, forced: SKIPS_HOLES$1 }, {- find: function find(callbackfn /* , that = undefined */) {- return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);- }- });-- // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables- addToUnscopables$2(FIND);-- var TO_STRING_TAG_SUPPORT$1 = toStringTagSupport;- var classof = classof$6;-- // `Object.prototype.toString` method implementation- // https://tc39.es/ecma262/#sec-object.prototype.tostring- var objectToString = TO_STRING_TAG_SUPPORT$1 ? {}.toString : function toString() {- return '[object ' + classof(this) + ']';- };-- var TO_STRING_TAG_SUPPORT = toStringTagSupport;- var defineBuiltIn$4 = defineBuiltIn$7;- var toString$a = objectToString;-- // `Object.prototype.toString` method- // https://tc39.es/ecma262/#sec-object.prototype.tostring- if (!TO_STRING_TAG_SUPPORT) {- defineBuiltIn$4(Object.prototype, 'toString', toString$a, { unsafe: true });- }-- var isRegExp$1 = isRegexp;-- var $TypeError$3 = TypeError;-- var notARegexp = function (it) {- if (isRegExp$1(it)) {- throw $TypeError$3("The method doesn't accept regular expressions");- } return it;- };-- var wellKnownSymbol$8 = wellKnownSymbol$j;-- var MATCH$1 = wellKnownSymbol$8('match');-- var correctIsRegexpLogic = function (METHOD_NAME) {- var regexp = /./;- try {- '/./'[METHOD_NAME](regexp);- } catch (error1) {- try {- regexp[MATCH$1] = false;- return '/./'[METHOD_NAME](regexp);- } catch (error2) { /* empty */ }- } return false;- };-- var $$g = _export;- var uncurryThis$e = functionUncurryThis;- var notARegExp$2 = notARegexp;- var requireObjectCoercible$5 = requireObjectCoercible$b;- var toString$9 = toString$f;- var correctIsRegExpLogic$2 = correctIsRegexpLogic;-- var stringIndexOf$2 = uncurryThis$e(''.indexOf);-- // `String.prototype.includes` method- // https://tc39.es/ecma262/#sec-string.prototype.includes- $$g({ target: 'String', proto: true, forced: !correctIsRegExpLogic$2('includes') }, {- includes: function includes(searchString /* , position = 0 */) {- return !!~stringIndexOf$2(- toString$9(requireObjectCoercible$5(this)),- toString$9(notARegExp$2(searchString)),- arguments.length > 1 ? arguments[1] : undefined- );- }- });-- // iterable DOM collections- // flag - `iterable` interface - 'entries', 'keys', 'values', 'forEach' methods- var domIterables = {- CSSRuleList: 0,- CSSStyleDeclaration: 0,- CSSValueList: 0,- ClientRectList: 0,- DOMRectList: 0,- DOMStringList: 0,- DOMTokenList: 1,- DataTransferItemList: 0,- FileList: 0,- HTMLAllCollection: 0,- HTMLCollection: 0,- HTMLFormElement: 0,- HTMLSelectElement: 0,- MediaList: 0,- MimeTypeArray: 0,- NamedNodeMap: 0,- NodeList: 1,- PaintRequestList: 0,- Plugin: 0,- PluginArray: 0,- SVGLengthList: 0,- SVGNumberList: 0,- SVGPathSegList: 0,- SVGPointList: 0,- SVGStringList: 0,- SVGTransformList: 0,- SourceBufferList: 0,- StyleSheetList: 0,- TextTrackCueList: 0,- TextTrackList: 0,- TouchList: 0- };-- // in old WebKit versions, `element.classList` is not an instance of global `DOMTokenList`- var documentCreateElement = documentCreateElement$2;-- var classList = documentCreateElement('span').classList;- var DOMTokenListPrototype$2 = classList && classList.constructor && classList.constructor.prototype;-- var domTokenListPrototype = DOMTokenListPrototype$2 === Object.prototype ? undefined : DOMTokenListPrototype$2;-- var $forEach = arrayIteration.forEach;- var arrayMethodIsStrict$2 = arrayMethodIsStrict$4;-- var STRICT_METHOD$1 = arrayMethodIsStrict$2('forEach');-- // `Array.prototype.forEach` method implementation- // https://tc39.es/ecma262/#sec-array.prototype.foreach- var arrayForEach = !STRICT_METHOD$1 ? function forEach(callbackfn /* , thisArg */) {- return $forEach(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);- // eslint-disable-next-line es/no-array-prototype-foreach -- safe- } : [].forEach;-- var global$7 = global$k;- var DOMIterables$1 = domIterables;- var DOMTokenListPrototype$1 = domTokenListPrototype;- var forEach = arrayForEach;- var createNonEnumerableProperty$3 = createNonEnumerableProperty$7;-- var handlePrototype$1 = function (CollectionPrototype) {- // some Chrome versions have non-configurable methods on DOMTokenList- if (CollectionPrototype && CollectionPrototype.forEach !== forEach) try {- createNonEnumerableProperty$3(CollectionPrototype, 'forEach', forEach);- } catch (error) {- CollectionPrototype.forEach = forEach;- }- };-- for (var COLLECTION_NAME$1 in DOMIterables$1) {- if (DOMIterables$1[COLLECTION_NAME$1]) {- handlePrototype$1(global$7[COLLECTION_NAME$1] && global$7[COLLECTION_NAME$1].prototype);- }- }-- handlePrototype$1(DOMTokenListPrototype$1);-- var global$6 = global$k;- var fails$a = fails$v;- var uncurryThis$d = functionUncurryThis;- var toString$8 = toString$f;- var trim$2 = stringTrim.trim;- var whitespaces$1 = whitespaces$4;-- var charAt$2 = uncurryThis$d(''.charAt);- var $parseFloat$1 = global$6.parseFloat;- var Symbol$2 = global$6.Symbol;- var ITERATOR$4 = Symbol$2 && Symbol$2.iterator;- var FORCED$4 = 1 / $parseFloat$1(whitespaces$1 + '-0') !== -Infinity- // MS Edge 18- broken with boxed symbols- || (ITERATOR$4 && !fails$a(function () { $parseFloat$1(Object(ITERATOR$4)); }));-- // `parseFloat` method- // https://tc39.es/ecma262/#sec-parsefloat-string- var numberParseFloat = FORCED$4 ? function parseFloat(string) {- var trimmedString = trim$2(toString$8(string));- var result = $parseFloat$1(trimmedString);- return result === 0 && charAt$2(trimmedString, 0) == '-' ? -0 : result;- } : $parseFloat$1;-- var $$f = _export;- var $parseFloat = numberParseFloat;-- // `parseFloat` method- // https://tc39.es/ecma262/#sec-parsefloat-string- $$f({ global: true, forced: parseFloat != $parseFloat }, {- parseFloat: $parseFloat- });-- var $$e = _export;- var toObject$5 = toObject$a;- var nativeKeys = objectKeys$3;- var fails$9 = fails$v;-- var FAILS_ON_PRIMITIVES$1 = fails$9(function () { nativeKeys(1); });-- // `Object.keys` method- // https://tc39.es/ecma262/#sec-object.keys- $$e({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES$1 }, {- keys: function keys(it) {- return nativeKeys(toObject$5(it));- }- });-- /* eslint-disable es/no-array-prototype-indexof -- required for testing */- var $$d = _export;- var uncurryThis$c = functionUncurryThisClause;- var $indexOf = arrayIncludes.indexOf;- var arrayMethodIsStrict$1 = arrayMethodIsStrict$4;-- var nativeIndexOf = uncurryThis$c([].indexOf);-- var NEGATIVE_ZERO = !!nativeIndexOf && 1 / nativeIndexOf([1], 1, -0) < 0;- var FORCED$3 = NEGATIVE_ZERO || !arrayMethodIsStrict$1('indexOf');-- // `Array.prototype.indexOf` method- // https://tc39.es/ecma262/#sec-array.prototype.indexof- $$d({ target: 'Array', proto: true, forced: FORCED$3 }, {- indexOf: function indexOf(searchElement /* , fromIndex = 0 */) {- var fromIndex = arguments.length > 1 ? arguments[1] : undefined;- return NEGATIVE_ZERO- // convert -0 to +0- ? nativeIndexOf(this, searchElement, fromIndex) || 0- : $indexOf(this, searchElement, fromIndex);- }- });-- var tryToString = tryToString$3;-- var $TypeError$2 = TypeError;-- var deletePropertyOrThrow$2 = function (O, P) {- if (!delete O[P]) throw $TypeError$2('Cannot delete property ' + tryToString(P) + ' of ' + tryToString(O));- };-- var arraySlice$1 = arraySliceSimple;-- var floor$1 = Math.floor;-- var mergeSort = function (array, comparefn) {- var length = array.length;- var middle = floor$1(length / 2);- return length < 8 ? insertionSort(array, comparefn) : merge(- array,- mergeSort(arraySlice$1(array, 0, middle), comparefn),- mergeSort(arraySlice$1(array, middle), comparefn),- comparefn- );- };-- var insertionSort = function (array, comparefn) {- var length = array.length;- var i = 1;- var element, j;-- while (i < length) {- j = i;- element = array[i];- while (j && comparefn(array[j - 1], element) > 0) {- array[j] = array[--j];- }- if (j !== i++) array[j] = element;- } return array;- };-- var merge = function (array, left, right, comparefn) {- var llength = left.length;- var rlength = right.length;- var lindex = 0;- var rindex = 0;-- while (lindex < llength || rindex < rlength) {- array[lindex + rindex] = (lindex < llength && rindex < rlength)- ? comparefn(left[lindex], right[rindex]) <= 0 ? left[lindex++] : right[rindex++]- : lindex < llength ? left[lindex++] : right[rindex++];- } return array;- };-- var arraySort = mergeSort;-- var userAgent$1 = engineUserAgent;-- var firefox = userAgent$1.match(/firefox\/(\d+)/i);-- var engineFfVersion = !!firefox && +firefox[1];-- var UA = engineUserAgent;-- var engineIsIeOrEdge = /MSIE|Trident/.test(UA);-- var userAgent = engineUserAgent;-- var webkit = userAgent.match(/AppleWebKit\/(\d+)\./);-- var engineWebkitVersion = !!webkit && +webkit[1];-- var $$c = _export;- var uncurryThis$b = functionUncurryThis;- var aCallable$1 = aCallable$4;- var toObject$4 = toObject$a;- var lengthOfArrayLike$2 = lengthOfArrayLike$7;- var deletePropertyOrThrow$1 = deletePropertyOrThrow$2;- var toString$7 = toString$f;- var fails$8 = fails$v;- var internalSort = arraySort;- var arrayMethodIsStrict = arrayMethodIsStrict$4;- var FF = engineFfVersion;- var IE_OR_EDGE = engineIsIeOrEdge;- var V8 = engineV8Version;- var WEBKIT = engineWebkitVersion;-- var test$1 = [];- var nativeSort = uncurryThis$b(test$1.sort);- var push$1 = uncurryThis$b(test$1.push);-- // IE8-- var FAILS_ON_UNDEFINED = fails$8(function () {- test$1.sort(undefined);- });- // V8 bug- var FAILS_ON_NULL = fails$8(function () {- test$1.sort(null);- });- // Old WebKit- var STRICT_METHOD = arrayMethodIsStrict('sort');-- var STABLE_SORT = !fails$8(function () {- // feature detection can be too slow, so check engines versions- if (V8) return V8 < 70;- if (FF && FF > 3) return;- if (IE_OR_EDGE) return true;- if (WEBKIT) return WEBKIT < 603;-- var result = '';- var code, chr, value, index;-- // generate an array with more 512 elements (Chakra and old V8 fails only in this case)- for (code = 65; code < 76; code++) {- chr = String.fromCharCode(code);-- switch (code) {- case 66: case 69: case 70: case 72: value = 3; break;- case 68: case 71: value = 4; break;- default: value = 2;- }-- for (index = 0; index < 47; index++) {- test$1.push({ k: chr + index, v: value });- }- }-- test$1.sort(function (a, b) { return b.v - a.v; });-- for (index = 0; index < test$1.length; index++) {- chr = test$1[index].k.charAt(0);- if (result.charAt(result.length - 1) !== chr) result += chr;- }-- return result !== 'DGBEFHACIJK';- });-- var FORCED$2 = FAILS_ON_UNDEFINED || !FAILS_ON_NULL || !STRICT_METHOD || !STABLE_SORT;-- var getSortCompare = function (comparefn) {- return function (x, y) {- if (y === undefined) return -1;- if (x === undefined) return 1;- if (comparefn !== undefined) return +comparefn(x, y) || 0;- return toString$7(x) > toString$7(y) ? 1 : -1;- };- };-- // `Array.prototype.sort` method- // https://tc39.es/ecma262/#sec-array.prototype.sort- $$c({ target: 'Array', proto: true, forced: FORCED$2 }, {- sort: function sort(comparefn) {- if (comparefn !== undefined) aCallable$1(comparefn);-- var array = toObject$4(this);-- if (STABLE_SORT) return comparefn === undefined ? nativeSort(array) : nativeSort(array, comparefn);-- var items = [];- var arrayLength = lengthOfArrayLike$2(array);- var itemsLength, index;-- for (index = 0; index < arrayLength; index++) {- if (index in array) push$1(items, array[index]);- }-- internalSort(items, getSortCompare(comparefn));-- itemsLength = lengthOfArrayLike$2(items);- index = 0;-- while (index < itemsLength) array[index] = items[index++];- while (index < arrayLength) deletePropertyOrThrow$1(array, index++);-- return array;- }- });-- var uncurryThis$a = functionUncurryThis;- var toObject$3 = toObject$a;-- var floor = Math.floor;- var charAt$1 = uncurryThis$a(''.charAt);- var replace$1 = uncurryThis$a(''.replace);- var stringSlice$4 = uncurryThis$a(''.slice);- // eslint-disable-next-line redos/no-vulnerable -- safe- var SUBSTITUTION_SYMBOLS = /\$([$&'`]|\d{1,2}|<[^>]*>)/g;- var SUBSTITUTION_SYMBOLS_NO_NAMED = /\$([$&'`]|\d{1,2})/g;-- // `GetSubstitution` abstract operation- // https://tc39.es/ecma262/#sec-getsubstitution- var getSubstitution$1 = function (matched, str, position, captures, namedCaptures, replacement) {- var tailPos = position + matched.length;- var m = captures.length;- var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED;- if (namedCaptures !== undefined) {- namedCaptures = toObject$3(namedCaptures);- symbols = SUBSTITUTION_SYMBOLS;- }- return replace$1(replacement, symbols, function (match, ch) {- var capture;- switch (charAt$1(ch, 0)) {- case '$': return '$';- case '&': return matched;- case '`': return stringSlice$4(str, 0, position);- case "'": return stringSlice$4(str, tailPos);- case '<':- capture = namedCaptures[stringSlice$4(ch, 1, -1)];- break;- default: // \d\d?- var n = +ch;- if (n === 0) return match;- if (n > m) {- var f = floor(n / 10);- if (f === 0) return match;- if (f <= m) return captures[f - 1] === undefined ? charAt$1(ch, 1) : captures[f - 1] + charAt$1(ch, 1);- return match;- }- capture = captures[n - 1];- }- return capture === undefined ? '' : capture;- });- };-- var apply = functionApply;- var call$4 = functionCall;- var uncurryThis$9 = functionUncurryThis;- var fixRegExpWellKnownSymbolLogic$2 = fixRegexpWellKnownSymbolLogic;- var fails$7 = fails$v;- var anObject$4 = anObject$d;- var isCallable$5 = isCallable$j;- var isNullOrUndefined$2 = isNullOrUndefined$7;- var toIntegerOrInfinity$1 = toIntegerOrInfinity$5;- var toLength$3 = toLength$6;- var toString$6 = toString$f;- var requireObjectCoercible$4 = requireObjectCoercible$b;- var advanceStringIndex$1 = advanceStringIndex$3;- var getMethod$2 = getMethod$5;- var getSubstitution = getSubstitution$1;- var regExpExec$2 = regexpExecAbstract;- var wellKnownSymbol$7 = wellKnownSymbol$j;-- var REPLACE = wellKnownSymbol$7('replace');- var max$2 = Math.max;- var min$3 = Math.min;- var concat = uncurryThis$9([].concat);- var push = uncurryThis$9([].push);- var stringIndexOf$1 = uncurryThis$9(''.indexOf);- var stringSlice$3 = uncurryThis$9(''.slice);-- var maybeToString = function (it) {- return it === undefined ? it : String(it);- };-- // IE <= 11 replaces $0 with the whole match, as if it was $&- // https://stackoverflow.com/questions/6024666/getting-ie-to-replace-a-regex-with-the-literal-string-0- var REPLACE_KEEPS_$0 = (function () {- // eslint-disable-next-line regexp/prefer-escape-replacement-dollar-char -- required for testing- return 'a'.replace(/./, '$0') === '$0';- })();-- // Safari <= 13.0.3(?) substitutes nth capture where n>m with an empty string- var REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = (function () {- if (/./[REPLACE]) {- return /./[REPLACE]('a', '$0') === '';- }- return false;- })();-- var REPLACE_SUPPORTS_NAMED_GROUPS = !fails$7(function () {- var re = /./;- re.exec = function () {- var result = [];- result.groups = { a: '7' };- return result;- };- // eslint-disable-next-line regexp/no-useless-dollar-replacements -- false positive- return ''.replace(re, '$<a>') !== '7';- });-- // @@replace logic- fixRegExpWellKnownSymbolLogic$2('replace', function (_, nativeReplace, maybeCallNative) {- var UNSAFE_SUBSTITUTE = REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE ? '$' : '$0';-- return [- // `String.prototype.replace` method- // https://tc39.es/ecma262/#sec-string.prototype.replace- function replace(searchValue, replaceValue) {- var O = requireObjectCoercible$4(this);- var replacer = isNullOrUndefined$2(searchValue) ? undefined : getMethod$2(searchValue, REPLACE);- return replacer- ? call$4(replacer, searchValue, O, replaceValue)- : call$4(nativeReplace, toString$6(O), searchValue, replaceValue);- },- // `RegExp.prototype[@@replace]` method- // https://tc39.es/ecma262/#sec-regexp.prototype-@@replace- function (string, replaceValue) {- var rx = anObject$4(this);- var S = toString$6(string);-- if (- typeof replaceValue == 'string' &&- stringIndexOf$1(replaceValue, UNSAFE_SUBSTITUTE) === -1 &&- stringIndexOf$1(replaceValue, '$<') === -1- ) {- var res = maybeCallNative(nativeReplace, rx, S, replaceValue);- if (res.done) return res.value;- }-- var functionalReplace = isCallable$5(replaceValue);- if (!functionalReplace) replaceValue = toString$6(replaceValue);-- var global = rx.global;- if (global) {- var fullUnicode = rx.unicode;- rx.lastIndex = 0;- }- var results = [];- while (true) {- var result = regExpExec$2(rx, S);- if (result === null) break;-- push(results, result);- if (!global) break;-- var matchStr = toString$6(result[0]);- if (matchStr === '') rx.lastIndex = advanceStringIndex$1(S, toLength$3(rx.lastIndex), fullUnicode);- }-- var accumulatedResult = '';- var nextSourcePosition = 0;- for (var i = 0; i < results.length; i++) {- result = results[i];-- var matched = toString$6(result[0]);- var position = max$2(min$3(toIntegerOrInfinity$1(result.index), S.length), 0);- var captures = [];- // NOTE: This is equivalent to- // captures = result.slice(1).map(maybeToString)- // but for some reason `nativeSlice.call(result, 1, result.length)` (called in- // the slice polyfill when slicing native arrays) "doesn't work" in safari 9 and- // causes a crash (https://pastebin.com/N21QzeQA) when trying to debug it.- for (var j = 1; j < result.length; j++) push(captures, maybeToString(result[j]));- var namedCaptures = result.groups;- if (functionalReplace) {- var replacerArgs = concat([matched], captures, position, S);- if (namedCaptures !== undefined) push(replacerArgs, namedCaptures);- var replacement = toString$6(apply(replaceValue, undefined, replacerArgs));- } else {- replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue);- }- if (position >= nextSourcePosition) {- accumulatedResult += stringSlice$3(S, nextSourcePosition, position) + replacement;- nextSourcePosition = position + matched.length;- }- }- return accumulatedResult + stringSlice$3(S, nextSourcePosition);- }- ];- }, !REPLACE_SUPPORTS_NAMED_GROUPS || !REPLACE_KEEPS_$0 || REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE);-- var $$b = _export;- var $filter = arrayIteration.filter;- var arrayMethodHasSpeciesSupport$3 = arrayMethodHasSpeciesSupport$5;-- var HAS_SPECIES_SUPPORT$3 = arrayMethodHasSpeciesSupport$3('filter');-- // `Array.prototype.filter` method- // https://tc39.es/ecma262/#sec-array.prototype.filter- // with adding support of @@species- $$b({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT$3 }, {- filter: function filter(callbackfn /* , thisArg */) {- return $filter(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);- }- });-- // `SameValue` abstract operation- // https://tc39.es/ecma262/#sec-samevalue- // eslint-disable-next-line es/no-object-is -- safe- var sameValue$1 = Object.is || function is(x, y) {- // eslint-disable-next-line no-self-compare -- NaN check- return x === y ? x !== 0 || 1 / x === 1 / y : x != x && y != y;- };-- var call$3 = functionCall;- var fixRegExpWellKnownSymbolLogic$1 = fixRegexpWellKnownSymbolLogic;- var anObject$3 = anObject$d;- var isNullOrUndefined$1 = isNullOrUndefined$7;- var requireObjectCoercible$3 = requireObjectCoercible$b;- var sameValue = sameValue$1;- var toString$5 = toString$f;- var getMethod$1 = getMethod$5;- var regExpExec$1 = regexpExecAbstract;-- // @@search logic- fixRegExpWellKnownSymbolLogic$1('search', function (SEARCH, nativeSearch, maybeCallNative) {- return [- // `String.prototype.search` method- // https://tc39.es/ecma262/#sec-string.prototype.search- function search(regexp) {- var O = requireObjectCoercible$3(this);- var searcher = isNullOrUndefined$1(regexp) ? undefined : getMethod$1(regexp, SEARCH);- return searcher ? call$3(searcher, regexp, O) : new RegExp(regexp)[SEARCH](toString$5(O));- },- // `RegExp.prototype[@@search]` method- // https://tc39.es/ecma262/#sec-regexp.prototype-@@search- function (string) {- var rx = anObject$3(this);- var S = toString$5(string);- var res = maybeCallNative(nativeSearch, rx, S);-- if (res.done) return res.value;-- var previousLastIndex = rx.lastIndex;- if (!sameValue(previousLastIndex, 0)) rx.lastIndex = 0;- var result = regExpExec$1(rx, S);- if (!sameValue(rx.lastIndex, previousLastIndex)) rx.lastIndex = previousLastIndex;- return result === null ? -1 : result.index;- }- ];- });-- var global$5 = global$k;- var fails$6 = fails$v;- var uncurryThis$8 = functionUncurryThis;- var toString$4 = toString$f;- var trim$1 = stringTrim.trim;- var whitespaces = whitespaces$4;-- var $parseInt$1 = global$5.parseInt;- var Symbol$1 = global$5.Symbol;- var ITERATOR$3 = Symbol$1 && Symbol$1.iterator;- var hex = /^[+-]?0x/i;- var exec$1 = uncurryThis$8(hex.exec);- var FORCED$1 = $parseInt$1(whitespaces + '08') !== 8 || $parseInt$1(whitespaces + '0x16') !== 22- // MS Edge 18- broken with boxed symbols- || (ITERATOR$3 && !fails$6(function () { $parseInt$1(Object(ITERATOR$3)); }));-- // `parseInt` method- // https://tc39.es/ecma262/#sec-parseint-string-radix- var numberParseInt = FORCED$1 ? function parseInt(string, radix) {- var S = trim$1(toString$4(string));- return $parseInt$1(S, (radix >>> 0) || (exec$1(hex, S) ? 16 : 10));- } : $parseInt$1;-- var $$a = _export;- var $parseInt = numberParseInt;-- // `parseInt` method- // https://tc39.es/ecma262/#sec-parseint-string-radix- $$a({ global: true, forced: parseInt != $parseInt }, {- parseInt: $parseInt- });-- var $$9 = _export;- var $map = arrayIteration.map;- var arrayMethodHasSpeciesSupport$2 = arrayMethodHasSpeciesSupport$5;-- var HAS_SPECIES_SUPPORT$2 = arrayMethodHasSpeciesSupport$2('map');-- // `Array.prototype.map` method- // https://tc39.es/ecma262/#sec-array.prototype.map- // with adding support of @@species- $$9({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT$2 }, {- map: function map(callbackfn /* , thisArg */) {- return $map(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);- }- });-- var $$8 = _export;- var $findIndex = arrayIteration.findIndex;- var addToUnscopables$1 = addToUnscopables$4;-- var FIND_INDEX = 'findIndex';- var SKIPS_HOLES = true;-- // Shouldn't skip holes- if (FIND_INDEX in []) Array(1)[FIND_INDEX](function () { SKIPS_HOLES = false; });-- // `Array.prototype.findIndex` method- // https://tc39.es/ecma262/#sec-array.prototype.findindex- $$8({ target: 'Array', proto: true, forced: SKIPS_HOLES }, {- findIndex: function findIndex(callbackfn /* , that = undefined */) {- return $findIndex(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);- }- });-- // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables- addToUnscopables$1(FIND_INDEX);-- var uncurryThis$7 = functionUncurryThis;- var aCallable = aCallable$4;-- var functionUncurryThisAccessor = function (object, key, method) {- try {- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe- return uncurryThis$7(aCallable(Object.getOwnPropertyDescriptor(object, key)[method]));- } catch (error) { /* empty */ }- };-- var isCallable$4 = isCallable$j;-- var $String = String;- var $TypeError$1 = TypeError;-- var aPossiblePrototype$1 = function (argument) {- if (typeof argument == 'object' || isCallable$4(argument)) return argument;- throw $TypeError$1("Can't set " + $String(argument) + ' as a prototype');- };-- /* eslint-disable no-proto -- safe */-- var uncurryThisAccessor = functionUncurryThisAccessor;- var anObject$2 = anObject$d;- var aPossiblePrototype = aPossiblePrototype$1;-- // `Object.setPrototypeOf` method- // https://tc39.es/ecma262/#sec-object.setprototypeof- // Works with __proto__ only. Old v8 can't work with null proto objects.- // eslint-disable-next-line es/no-object-setprototypeof -- safe- var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? function () {- var CORRECT_SETTER = false;- var test = {};- var setter;- try {- setter = uncurryThisAccessor(Object.prototype, '__proto__', 'set');- setter(test, []);- CORRECT_SETTER = test instanceof Array;- } catch (error) { /* empty */ }- return function setPrototypeOf(O, proto) {- anObject$2(O);- aPossiblePrototype(proto);- if (CORRECT_SETTER) setter(O, proto);- else O.__proto__ = proto;- return O;- };- }() : undefined);-- var isCallable$3 = isCallable$j;- var isObject$2 = isObject$b;- var setPrototypeOf$1 = objectSetPrototypeOf;-- // makes subclassing work correct for wrapped built-ins- var inheritIfRequired$2 = function ($this, dummy, Wrapper) {- var NewTarget, NewTargetPrototype;- if (- // it can work only with native `setPrototypeOf`- setPrototypeOf$1 &&- // we haven't completely correct pre-ES6 way for getting `new.target`, so use this- isCallable$3(NewTarget = dummy.constructor) &&- NewTarget !== Wrapper &&- isObject$2(NewTargetPrototype = NewTarget.prototype) &&- NewTargetPrototype !== Wrapper.prototype- ) setPrototypeOf$1($this, NewTargetPrototype);- return $this;- };-- var call$2 = functionCall;- var hasOwn$4 = hasOwnProperty_1;- var isPrototypeOf$2 = objectIsPrototypeOf;- var regExpFlags = regexpFlags$1;-- var RegExpPrototype$2 = RegExp.prototype;-- var regexpGetFlags = function (R) {- var flags = R.flags;- return flags === undefined && !('flags' in RegExpPrototype$2) && !hasOwn$4(R, 'flags') && isPrototypeOf$2(RegExpPrototype$2, R)- ? call$2(regExpFlags, R) : flags;- };-- var defineProperty$4 = objectDefineProperty.f;-- var proxyAccessor$1 = function (Target, Source, key) {- key in Target || defineProperty$4(Target, key, {- configurable: true,- get: function () { return Source[key]; },- set: function (it) { Source[key] = it; }- });- };-- var makeBuiltIn = makeBuiltInExports;- var defineProperty$3 = objectDefineProperty;-- var defineBuiltInAccessor$1 = function (target, name, descriptor) {- if (descriptor.get) makeBuiltIn(descriptor.get, name, { getter: true });- if (descriptor.set) makeBuiltIn(descriptor.set, name, { setter: true });- return defineProperty$3.f(target, name, descriptor);- };-- var getBuiltIn = getBuiltIn$5;- var defineBuiltInAccessor = defineBuiltInAccessor$1;- var wellKnownSymbol$6 = wellKnownSymbol$j;- var DESCRIPTORS$4 = descriptors;-- var SPECIES$1 = wellKnownSymbol$6('species');-- var setSpecies$1 = function (CONSTRUCTOR_NAME) {- var Constructor = getBuiltIn(CONSTRUCTOR_NAME);-- if (DESCRIPTORS$4 && Constructor && !Constructor[SPECIES$1]) {- defineBuiltInAccessor(Constructor, SPECIES$1, {- configurable: true,- get: function () { return this; }- });- }- };-- var DESCRIPTORS$3 = descriptors;- var global$4 = global$k;- var uncurryThis$6 = functionUncurryThis;- var isForced$1 = isForced_1;- var inheritIfRequired$1 = inheritIfRequired$2;- var createNonEnumerableProperty$2 = createNonEnumerableProperty$7;- var getOwnPropertyNames$1 = objectGetOwnPropertyNames.f;- var isPrototypeOf$1 = objectIsPrototypeOf;- var isRegExp = isRegexp;- var toString$3 = toString$f;- var getRegExpFlags$1 = regexpGetFlags;- var stickyHelpers = regexpStickyHelpers;- var proxyAccessor = proxyAccessor$1;- var defineBuiltIn$3 = defineBuiltIn$7;- var fails$5 = fails$v;- var hasOwn$3 = hasOwnProperty_1;- var enforceInternalState = internalState.enforce;- var setSpecies = setSpecies$1;- var wellKnownSymbol$5 = wellKnownSymbol$j;- var UNSUPPORTED_DOT_ALL = regexpUnsupportedDotAll;- var UNSUPPORTED_NCG = regexpUnsupportedNcg;-- var MATCH = wellKnownSymbol$5('match');- var NativeRegExp = global$4.RegExp;- var RegExpPrototype$1 = NativeRegExp.prototype;- var SyntaxError = global$4.SyntaxError;- var exec = uncurryThis$6(RegExpPrototype$1.exec);- var charAt = uncurryThis$6(''.charAt);- var replace = uncurryThis$6(''.replace);- var stringIndexOf = uncurryThis$6(''.indexOf);- var stringSlice$2 = uncurryThis$6(''.slice);- // TODO: Use only proper RegExpIdentifierName- var IS_NCG = /^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/;- var re1 = /a/g;- var re2 = /a/g;-- // "new" should create a new object, old webkit bug- var CORRECT_NEW = new NativeRegExp(re1) !== re1;-- var MISSED_STICKY = stickyHelpers.MISSED_STICKY;- var UNSUPPORTED_Y = stickyHelpers.UNSUPPORTED_Y;-- var BASE_FORCED = DESCRIPTORS$3 &&- (!CORRECT_NEW || MISSED_STICKY || UNSUPPORTED_DOT_ALL || UNSUPPORTED_NCG || fails$5(function () {- re2[MATCH] = false;- // RegExp constructor can alter flags and IsRegExp works correct with @@match- return NativeRegExp(re1) != re1 || NativeRegExp(re2) == re2 || NativeRegExp(re1, 'i') != '/a/i';- }));-- var handleDotAll = function (string) {- var length = string.length;- var index = 0;- var result = '';- var brackets = false;- var chr;- for (; index <= length; index++) {- chr = charAt(string, index);- if (chr === '\\') {- result += chr + charAt(string, ++index);- continue;- }- if (!brackets && chr === '.') {- result += '[\\s\\S]';- } else {- if (chr === '[') {- brackets = true;- } else if (chr === ']') {- brackets = false;- } result += chr;- }- } return result;- };-- var handleNCG = function (string) {- var length = string.length;- var index = 0;- var result = '';- var named = [];- var names = {};- var brackets = false;- var ncg = false;- var groupid = 0;- var groupname = '';- var chr;- for (; index <= length; index++) {- chr = charAt(string, index);- if (chr === '\\') {- chr = chr + charAt(string, ++index);- } else if (chr === ']') {- brackets = false;- } else if (!brackets) switch (true) {- case chr === '[':- brackets = true;- break;- case chr === '(':- if (exec(IS_NCG, stringSlice$2(string, index + 1))) {- index += 2;- ncg = true;- }- result += chr;- groupid++;- continue;- case chr === '>' && ncg:- if (groupname === '' || hasOwn$3(names, groupname)) {- throw new SyntaxError('Invalid capture group name');- }- names[groupname] = true;- named[named.length] = [groupname, groupid];- ncg = false;- groupname = '';- continue;- }- if (ncg) groupname += chr;- else result += chr;- } return [result, named];- };-- // `RegExp` constructor- // https://tc39.es/ecma262/#sec-regexp-constructor- if (isForced$1('RegExp', BASE_FORCED)) {- var RegExpWrapper = function RegExp(pattern, flags) {- var thisIsRegExp = isPrototypeOf$1(RegExpPrototype$1, this);- var patternIsRegExp = isRegExp(pattern);- var flagsAreUndefined = flags === undefined;- var groups = [];- var rawPattern = pattern;- var rawFlags, dotAll, sticky, handled, result, state;-- if (!thisIsRegExp && patternIsRegExp && flagsAreUndefined && pattern.constructor === RegExpWrapper) {- return pattern;- }-- if (patternIsRegExp || isPrototypeOf$1(RegExpPrototype$1, pattern)) {- pattern = pattern.source;- if (flagsAreUndefined) flags = getRegExpFlags$1(rawPattern);- }-- pattern = pattern === undefined ? '' : toString$3(pattern);- flags = flags === undefined ? '' : toString$3(flags);- rawPattern = pattern;-- if (UNSUPPORTED_DOT_ALL && 'dotAll' in re1) {- dotAll = !!flags && stringIndexOf(flags, 's') > -1;- if (dotAll) flags = replace(flags, /s/g, '');- }-- rawFlags = flags;-- if (MISSED_STICKY && 'sticky' in re1) {- sticky = !!flags && stringIndexOf(flags, 'y') > -1;- if (sticky && UNSUPPORTED_Y) flags = replace(flags, /y/g, '');- }-- if (UNSUPPORTED_NCG) {- handled = handleNCG(pattern);- pattern = handled[0];- groups = handled[1];- }-- result = inheritIfRequired$1(NativeRegExp(pattern, flags), thisIsRegExp ? this : RegExpPrototype$1, RegExpWrapper);-- if (dotAll || sticky || groups.length) {- state = enforceInternalState(result);- if (dotAll) {- state.dotAll = true;- state.raw = RegExpWrapper(handleDotAll(pattern), rawFlags);- }- if (sticky) state.sticky = true;- if (groups.length) state.groups = groups;- }-- if (pattern !== rawPattern) try {- // fails in old engines, but we have no alternatives for unsupported regex syntax- createNonEnumerableProperty$2(result, 'source', rawPattern === '' ? '(?:)' : rawPattern);- } catch (error) { /* empty */ }-- return result;- };-- for (var keys = getOwnPropertyNames$1(NativeRegExp), index = 0; keys.length > index;) {- proxyAccessor(RegExpWrapper, NativeRegExp, keys[index++]);- }-- RegExpPrototype$1.constructor = RegExpWrapper;- RegExpWrapper.prototype = RegExpPrototype$1;- defineBuiltIn$3(global$4, 'RegExp', RegExpWrapper, { constructor: true });- }-- // https://tc39.es/ecma262/#sec-get-regexp-@@species- setSpecies('RegExp');-- var PROPER_FUNCTION_NAME$1 = functionName.PROPER;- var defineBuiltIn$2 = defineBuiltIn$7;- var anObject$1 = anObject$d;- var $toString = toString$f;- var fails$4 = fails$v;- var getRegExpFlags = regexpGetFlags;-- var TO_STRING = 'toString';- var RegExpPrototype = RegExp.prototype;- var nativeToString = RegExpPrototype[TO_STRING];-- var NOT_GENERIC = fails$4(function () { return nativeToString.call({ source: 'a', flags: 'b' }) != '/a/b'; });- // FF44- RegExp#toString has a wrong name- var INCORRECT_NAME = PROPER_FUNCTION_NAME$1 && nativeToString.name != TO_STRING;-- // `RegExp.prototype.toString` method- // https://tc39.es/ecma262/#sec-regexp.prototype.tostring- if (NOT_GENERIC || INCORRECT_NAME) {- defineBuiltIn$2(RegExp.prototype, TO_STRING, function toString() {- var R = anObject$1(this);- var pattern = $toString(R.source);- var flags = $toString(getRegExpFlags(R));- return '/' + pattern + '/' + flags;- }, { unsafe: true });- }-- var uncurryThis$5 = functionUncurryThis;-- var arraySlice = uncurryThis$5([].slice);-- var $$7 = _export;- var isArray$2 = isArray$5;- var isConstructor = isConstructor$3;- var isObject$1 = isObject$b;- var toAbsoluteIndex$1 = toAbsoluteIndex$4;- var lengthOfArrayLike$1 = lengthOfArrayLike$7;- var toIndexedObject$1 = toIndexedObject$8;- var createProperty$1 = createProperty$4;- var wellKnownSymbol$4 = wellKnownSymbol$j;- var arrayMethodHasSpeciesSupport$1 = arrayMethodHasSpeciesSupport$5;- var nativeSlice = arraySlice;-- var HAS_SPECIES_SUPPORT$1 = arrayMethodHasSpeciesSupport$1('slice');-- var SPECIES = wellKnownSymbol$4('species');- var $Array = Array;- var max$1 = Math.max;-- // `Array.prototype.slice` method- // https://tc39.es/ecma262/#sec-array.prototype.slice- // fallback for not array-like ES3 strings and DOM objects- $$7({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT$1 }, {- slice: function slice(start, end) {- var O = toIndexedObject$1(this);- var length = lengthOfArrayLike$1(O);- var k = toAbsoluteIndex$1(start, length);- var fin = toAbsoluteIndex$1(end === undefined ? length : end, length);- // inline `ArraySpeciesCreate` for usage native `Array#slice` where it's possible- var Constructor, result, n;- if (isArray$2(O)) {- Constructor = O.constructor;- // cross-realm fallback- if (isConstructor(Constructor) && (Constructor === $Array || isArray$2(Constructor.prototype))) {- Constructor = undefined;- } else if (isObject$1(Constructor)) {- Constructor = Constructor[SPECIES];- if (Constructor === null) Constructor = undefined;- }- if (Constructor === $Array || Constructor === undefined) {- return nativeSlice(O, k, fin);- }- }- result = new (Constructor === undefined ? $Array : Constructor)(max$1(fin - k, 0));- for (n = 0; k < fin; k++, n++) if (k in O) createProperty$1(result, n, O[k]);- result.length = n;- return result;- }- });-- var iterators = {};-- var fails$3 = fails$v;-- var correctPrototypeGetter = !fails$3(function () {- function F() { /* empty */ }- F.prototype.constructor = null;- // eslint-disable-next-line es/no-object-getprototypeof -- required for testing- return Object.getPrototypeOf(new F()) !== F.prototype;- });-- var hasOwn$2 = hasOwnProperty_1;- var isCallable$2 = isCallable$j;- var toObject$2 = toObject$a;- var sharedKey = sharedKey$3;- var CORRECT_PROTOTYPE_GETTER$1 = correctPrototypeGetter;-- var IE_PROTO = sharedKey('IE_PROTO');- var $Object = Object;- var ObjectPrototype = $Object.prototype;-- // `Object.getPrototypeOf` method- // https://tc39.es/ecma262/#sec-object.getprototypeof- // eslint-disable-next-line es/no-object-getprototypeof -- safe- var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER$1 ? $Object.getPrototypeOf : function (O) {- var object = toObject$2(O);- if (hasOwn$2(object, IE_PROTO)) return object[IE_PROTO];- var constructor = object.constructor;- if (isCallable$2(constructor) && object instanceof constructor) {- return constructor.prototype;- } return object instanceof $Object ? ObjectPrototype : null;- };-- var fails$2 = fails$v;- var isCallable$1 = isCallable$j;- var isObject = isObject$b;- var getPrototypeOf$1 = objectGetPrototypeOf;- var defineBuiltIn$1 = defineBuiltIn$7;- var wellKnownSymbol$3 = wellKnownSymbol$j;-- var ITERATOR$2 = wellKnownSymbol$3('iterator');- var BUGGY_SAFARI_ITERATORS$1 = false;-- // `%IteratorPrototype%` object- // https://tc39.es/ecma262/#sec-%iteratorprototype%-object- var IteratorPrototype$2, PrototypeOfArrayIteratorPrototype, arrayIterator;-- /* eslint-disable es/no-array-prototype-keys -- safe */- if ([].keys) {- arrayIterator = [].keys();- // Safari 8 has buggy iterators w/o `next`- if (!('next' in arrayIterator)) BUGGY_SAFARI_ITERATORS$1 = true;- else {- PrototypeOfArrayIteratorPrototype = getPrototypeOf$1(getPrototypeOf$1(arrayIterator));- if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype$2 = PrototypeOfArrayIteratorPrototype;- }- }-- var NEW_ITERATOR_PROTOTYPE = !isObject(IteratorPrototype$2) || fails$2(function () {- var test = {};- // FF44- legacy iterators case- return IteratorPrototype$2[ITERATOR$2].call(test) !== test;- });-- if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype$2 = {};-- // `%IteratorPrototype%[@@iterator]()` method- // https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator- if (!isCallable$1(IteratorPrototype$2[ITERATOR$2])) {- defineBuiltIn$1(IteratorPrototype$2, ITERATOR$2, function () {- return this;- });- }-- var iteratorsCore = {- IteratorPrototype: IteratorPrototype$2,- BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS$1- };-- var defineProperty$2 = objectDefineProperty.f;- var hasOwn$1 = hasOwnProperty_1;- var wellKnownSymbol$2 = wellKnownSymbol$j;-- var TO_STRING_TAG$1 = wellKnownSymbol$2('toStringTag');-- var setToStringTag$2 = function (target, TAG, STATIC) {- if (target && !STATIC) target = target.prototype;- if (target && !hasOwn$1(target, TO_STRING_TAG$1)) {- defineProperty$2(target, TO_STRING_TAG$1, { configurable: true, value: TAG });- }- };-- var IteratorPrototype$1 = iteratorsCore.IteratorPrototype;- var create = objectCreate;- var createPropertyDescriptor = createPropertyDescriptor$4;- var setToStringTag$1 = setToStringTag$2;- var Iterators$2 = iterators;-- var returnThis$1 = function () { return this; };-- var iteratorCreateConstructor = function (IteratorConstructor, NAME, next, ENUMERABLE_NEXT) {- var TO_STRING_TAG = NAME + ' Iterator';- IteratorConstructor.prototype = create(IteratorPrototype$1, { next: createPropertyDescriptor(+!ENUMERABLE_NEXT, next) });- setToStringTag$1(IteratorConstructor, TO_STRING_TAG, false);- Iterators$2[TO_STRING_TAG] = returnThis$1;- return IteratorConstructor;- };-- var $$6 = _export;- var call$1 = functionCall;- var FunctionName = functionName;- var isCallable = isCallable$j;- var createIteratorConstructor = iteratorCreateConstructor;- var getPrototypeOf = objectGetPrototypeOf;- var setPrototypeOf = objectSetPrototypeOf;- var setToStringTag = setToStringTag$2;- var createNonEnumerableProperty$1 = createNonEnumerableProperty$7;- var defineBuiltIn = defineBuiltIn$7;- var wellKnownSymbol$1 = wellKnownSymbol$j;- var Iterators$1 = iterators;- var IteratorsCore = iteratorsCore;-- var PROPER_FUNCTION_NAME = FunctionName.PROPER;- var CONFIGURABLE_FUNCTION_NAME = FunctionName.CONFIGURABLE;- var IteratorPrototype = IteratorsCore.IteratorPrototype;- var BUGGY_SAFARI_ITERATORS = IteratorsCore.BUGGY_SAFARI_ITERATORS;- var ITERATOR$1 = wellKnownSymbol$1('iterator');- var KEYS = 'keys';- var VALUES = 'values';- var ENTRIES = 'entries';-- var returnThis = function () { return this; };-- var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAULT, IS_SET, FORCED) {- createIteratorConstructor(IteratorConstructor, NAME, next);-- var getIterationMethod = function (KIND) {- if (KIND === DEFAULT && defaultIterator) return defaultIterator;- if (!BUGGY_SAFARI_ITERATORS && KIND in IterablePrototype) return IterablePrototype[KIND];- switch (KIND) {- case KEYS: return function keys() { return new IteratorConstructor(this, KIND); };- case VALUES: return function values() { return new IteratorConstructor(this, KIND); };- case ENTRIES: return function entries() { return new IteratorConstructor(this, KIND); };- } return function () { return new IteratorConstructor(this); };- };-- var TO_STRING_TAG = NAME + ' Iterator';- var INCORRECT_VALUES_NAME = false;- var IterablePrototype = Iterable.prototype;- var nativeIterator = IterablePrototype[ITERATOR$1]- || IterablePrototype['@@iterator']- || DEFAULT && IterablePrototype[DEFAULT];- var defaultIterator = !BUGGY_SAFARI_ITERATORS && nativeIterator || getIterationMethod(DEFAULT);- var anyNativeIterator = NAME == 'Array' ? IterablePrototype.entries || nativeIterator : nativeIterator;- var CurrentIteratorPrototype, methods, KEY;-- // fix native- if (anyNativeIterator) {- CurrentIteratorPrototype = getPrototypeOf(anyNativeIterator.call(new Iterable()));- if (CurrentIteratorPrototype !== Object.prototype && CurrentIteratorPrototype.next) {- if (getPrototypeOf(CurrentIteratorPrototype) !== IteratorPrototype) {- if (setPrototypeOf) {- setPrototypeOf(CurrentIteratorPrototype, IteratorPrototype);- } else if (!isCallable(CurrentIteratorPrototype[ITERATOR$1])) {- defineBuiltIn(CurrentIteratorPrototype, ITERATOR$1, returnThis);- }- }- // Set @@toStringTag to native iterators- setToStringTag(CurrentIteratorPrototype, TO_STRING_TAG, true);- }- }-- // fix Array.prototype.{ values, @@iterator }.name in V8 / FF- if (PROPER_FUNCTION_NAME && DEFAULT == VALUES && nativeIterator && nativeIterator.name !== VALUES) {- if (CONFIGURABLE_FUNCTION_NAME) {- createNonEnumerableProperty$1(IterablePrototype, 'name', VALUES);- } else {- INCORRECT_VALUES_NAME = true;- defaultIterator = function values() { return call$1(nativeIterator, this); };- }- }-- // export additional methods- if (DEFAULT) {- methods = {- values: getIterationMethod(VALUES),- keys: IS_SET ? defaultIterator : getIterationMethod(KEYS),- entries: getIterationMethod(ENTRIES)- };- if (FORCED) for (KEY in methods) {- if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {- defineBuiltIn(IterablePrototype, KEY, methods[KEY]);- }- } else $$6({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);- }-- // define iterator- if (IterablePrototype[ITERATOR$1] !== defaultIterator) {- defineBuiltIn(IterablePrototype, ITERATOR$1, defaultIterator, { name: DEFAULT });- }- Iterators$1[NAME] = defaultIterator;-- return methods;- };-- // `CreateIterResultObject` abstract operation- // https://tc39.es/ecma262/#sec-createiterresultobject- var createIterResultObject$1 = function (value, done) {- return { value: value, done: done };- };-- var toIndexedObject = toIndexedObject$8;- var addToUnscopables = addToUnscopables$4;- var Iterators = iterators;- var InternalStateModule = internalState;- var defineProperty$1 = objectDefineProperty.f;- var defineIterator = iteratorDefine;- var createIterResultObject = createIterResultObject$1;- var DESCRIPTORS$2 = descriptors;-- var ARRAY_ITERATOR = 'Array Iterator';- var setInternalState = InternalStateModule.set;- var getInternalState = InternalStateModule.getterFor(ARRAY_ITERATOR);-- // `Array.prototype.entries` method- // https://tc39.es/ecma262/#sec-array.prototype.entries- // `Array.prototype.keys` method- // https://tc39.es/ecma262/#sec-array.prototype.keys- // `Array.prototype.values` method- // https://tc39.es/ecma262/#sec-array.prototype.values- // `Array.prototype[@@iterator]` method- // https://tc39.es/ecma262/#sec-array.prototype-@@iterator- // `CreateArrayIterator` internal method- // https://tc39.es/ecma262/#sec-createarrayiterator- var es_array_iterator = defineIterator(Array, 'Array', function (iterated, kind) {- setInternalState(this, {- type: ARRAY_ITERATOR,- target: toIndexedObject(iterated), // target- index: 0, // next index- kind: kind // kind- });- // `%ArrayIteratorPrototype%.next` method- // https://tc39.es/ecma262/#sec-%arrayiteratorprototype%.next- }, function () {- var state = getInternalState(this);- var target = state.target;- var kind = state.kind;- var index = state.index++;- if (!target || index >= target.length) {- state.target = undefined;- return createIterResultObject(undefined, true);- }- if (kind == 'keys') return createIterResultObject(index, false);- if (kind == 'values') return createIterResultObject(target[index], false);- return createIterResultObject([index, target[index]], false);- }, 'values');-- // argumentsList[@@iterator] is %ArrayProto_values%- // https://tc39.es/ecma262/#sec-createunmappedargumentsobject- // https://tc39.es/ecma262/#sec-createmappedargumentsobject- var values = Iterators.Arguments = Iterators.Array;-- // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables- addToUnscopables('keys');- addToUnscopables('values');- addToUnscopables('entries');-- // V8 ~ Chrome 45- bug- if (DESCRIPTORS$2 && values.name !== 'values') try {- defineProperty$1(values, 'name', { value: 'values' });- } catch (error) { /* empty */ }-- var global$3 = global$k;- var DOMIterables = domIterables;- var DOMTokenListPrototype = domTokenListPrototype;- var ArrayIteratorMethods = es_array_iterator;- var createNonEnumerableProperty = createNonEnumerableProperty$7;- var wellKnownSymbol = wellKnownSymbol$j;-- var ITERATOR = wellKnownSymbol('iterator');- var TO_STRING_TAG = wellKnownSymbol('toStringTag');- var ArrayValues = ArrayIteratorMethods.values;-- var handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {- if (CollectionPrototype) {- // some Chrome versions have non-configurable methods on DOMTokenList- if (CollectionPrototype[ITERATOR] !== ArrayValues) try {- createNonEnumerableProperty(CollectionPrototype, ITERATOR, ArrayValues);- } catch (error) {- CollectionPrototype[ITERATOR] = ArrayValues;- }- if (!CollectionPrototype[TO_STRING_TAG]) {- createNonEnumerableProperty(CollectionPrototype, TO_STRING_TAG, COLLECTION_NAME);- }- if (DOMIterables[COLLECTION_NAME]) for (var METHOD_NAME in ArrayIteratorMethods) {- // some Chrome versions have non-configurable methods on DOMTokenList- if (CollectionPrototype[METHOD_NAME] !== ArrayIteratorMethods[METHOD_NAME]) try {- createNonEnumerableProperty(CollectionPrototype, METHOD_NAME, ArrayIteratorMethods[METHOD_NAME]);- } catch (error) {- CollectionPrototype[METHOD_NAME] = ArrayIteratorMethods[METHOD_NAME];- }- }- }- };-- for (var COLLECTION_NAME in DOMIterables) {- handlePrototype(global$3[COLLECTION_NAME] && global$3[COLLECTION_NAME].prototype, COLLECTION_NAME);- }-- handlePrototype(DOMTokenListPrototype, 'DOMTokenList');-- var DESCRIPTORS$1 = descriptors;- var isArray$1 = isArray$5;-- var $TypeError = TypeError;- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe- var getOwnPropertyDescriptor$3 = Object.getOwnPropertyDescriptor;-- // Safari < 13 does not throw an error in this case- var SILENT_ON_NON_WRITABLE_LENGTH_SET = DESCRIPTORS$1 && !function () {- // makes no sense without proper strict mode support- if (this !== undefined) return true;- try {- // eslint-disable-next-line es/no-object-defineproperty -- safe- Object.defineProperty([], 'length', { writable: false }).length = 1;- } catch (error) {- return error instanceof TypeError;- }- }();-- var arraySetLength = SILENT_ON_NON_WRITABLE_LENGTH_SET ? function (O, length) {- if (isArray$1(O) && !getOwnPropertyDescriptor$3(O, 'length').writable) {- throw $TypeError('Cannot set read only .length');- } return O.length = length;- } : function (O, length) {- return O.length = length;- };-- var $$5 = _export;- var toObject$1 = toObject$a;- var toAbsoluteIndex = toAbsoluteIndex$4;- var toIntegerOrInfinity = toIntegerOrInfinity$5;- var lengthOfArrayLike = lengthOfArrayLike$7;- var setArrayLength = arraySetLength;- var doesNotExceedSafeInteger = doesNotExceedSafeInteger$2;- var arraySpeciesCreate = arraySpeciesCreate$3;- var createProperty = createProperty$4;- var deletePropertyOrThrow = deletePropertyOrThrow$2;- var arrayMethodHasSpeciesSupport = arrayMethodHasSpeciesSupport$5;-- var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('splice');-- var max = Math.max;- var min$2 = Math.min;-- // `Array.prototype.splice` method- // https://tc39.es/ecma262/#sec-array.prototype.splice- // with adding support of @@species- $$5({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {- splice: function splice(start, deleteCount /* , ...items */) {- var O = toObject$1(this);- var len = lengthOfArrayLike(O);- var actualStart = toAbsoluteIndex(start, len);- var argumentsLength = arguments.length;- var insertCount, actualDeleteCount, A, k, from, to;- if (argumentsLength === 0) {- insertCount = actualDeleteCount = 0;- } else if (argumentsLength === 1) {- insertCount = 0;- actualDeleteCount = len - actualStart;- } else {- insertCount = argumentsLength - 2;- actualDeleteCount = min$2(max(toIntegerOrInfinity(deleteCount), 0), len - actualStart);- }- doesNotExceedSafeInteger(len + insertCount - actualDeleteCount);- A = arraySpeciesCreate(O, actualDeleteCount);- for (k = 0; k < actualDeleteCount; k++) {- from = actualStart + k;- if (from in O) createProperty(A, k, O[from]);- }- A.length = actualDeleteCount;- if (insertCount < actualDeleteCount) {- for (k = actualStart; k < len - actualDeleteCount; k++) {- from = k + actualDeleteCount;- to = k + insertCount;- if (from in O) O[to] = O[from];- else deletePropertyOrThrow(O, to);- }- for (k = len; k > len - actualDeleteCount + insertCount; k--) deletePropertyOrThrow(O, k - 1);- } else if (insertCount > actualDeleteCount) {- for (k = len - actualDeleteCount; k > actualStart; k--) {- from = k + actualDeleteCount - 1;- to = k + insertCount - 1;- if (from in O) O[to] = O[from];- else deletePropertyOrThrow(O, to);- }- }- for (k = 0; k < insertCount; k++) {- O[k + actualStart] = arguments[k + 2];- }- setArrayLength(O, len - actualDeleteCount + insertCount);- return A;- }- });-- var global$2 = global$k;-- var path$1 = global$2;-- var uncurryThis$4 = functionUncurryThis;-- // `thisNumberValue` abstract operation- // https://tc39.es/ecma262/#sec-thisnumbervalue- var thisNumberValue$1 = uncurryThis$4(1.0.valueOf);-- var $$4 = _export;- var IS_PURE = isPure;- var DESCRIPTORS = descriptors;- var global$1 = global$k;- var path = path$1;- var uncurryThis$3 = functionUncurryThis;- var isForced = isForced_1;- var hasOwn = hasOwnProperty_1;- var inheritIfRequired = inheritIfRequired$2;- var isPrototypeOf = objectIsPrototypeOf;- var isSymbol = isSymbol$3;- var toPrimitive = toPrimitive$2;- var fails$1 = fails$v;- var getOwnPropertyNames = objectGetOwnPropertyNames.f;- var getOwnPropertyDescriptor$2 = objectGetOwnPropertyDescriptor.f;- var defineProperty = objectDefineProperty.f;- var thisNumberValue = thisNumberValue$1;- var trim = stringTrim.trim;-- var NUMBER = 'Number';- var NativeNumber = global$1[NUMBER];- path[NUMBER];- var NumberPrototype = NativeNumber.prototype;- var TypeError$1 = global$1.TypeError;- var stringSlice$1 = uncurryThis$3(''.slice);- var charCodeAt = uncurryThis$3(''.charCodeAt);-- // `ToNumeric` abstract operation- // https://tc39.es/ecma262/#sec-tonumeric- var toNumeric = function (value) {- var primValue = toPrimitive(value, 'number');- return typeof primValue == 'bigint' ? primValue : toNumber(primValue);- };-- // `ToNumber` abstract operation- // https://tc39.es/ecma262/#sec-tonumber- var toNumber = function (argument) {- var it = toPrimitive(argument, 'number');- var first, third, radix, maxCode, digits, length, index, code;- if (isSymbol(it)) throw TypeError$1('Cannot convert a Symbol value to a number');- if (typeof it == 'string' && it.length > 2) {- it = trim(it);- first = charCodeAt(it, 0);- if (first === 43 || first === 45) {- third = charCodeAt(it, 2);- if (third === 88 || third === 120) return NaN; // Number('+0x1') should be NaN, old V8 fix- } else if (first === 48) {- switch (charCodeAt(it, 1)) {- case 66: case 98: radix = 2; maxCode = 49; break; // fast equal of /^0b[01]+$/i- case 79: case 111: radix = 8; maxCode = 55; break; // fast equal of /^0o[0-7]+$/i- default: return +it;- }- digits = stringSlice$1(it, 2);- length = digits.length;- for (index = 0; index < length; index++) {- code = charCodeAt(digits, index);- // parseInt parses a string to a first unavailable symbol- // but ToNumber should return NaN if a string contains unavailable symbols- if (code < 48 || code > maxCode) return NaN;- } return parseInt(digits, radix);- }- } return +it;- };-- var FORCED = isForced(NUMBER, !NativeNumber(' 0o1') || !NativeNumber('0b1') || NativeNumber('+0x1'));-- var calledWithNew = function (dummy) {- // includes check on 1..constructor(foo) case- return isPrototypeOf(NumberPrototype, dummy) && fails$1(function () { thisNumberValue(dummy); });- };-- // `Number` constructor- // https://tc39.es/ecma262/#sec-number-constructor- var NumberWrapper = function Number(value) {- var n = arguments.length < 1 ? 0 : NativeNumber(toNumeric(value));- return calledWithNew(this) ? inheritIfRequired(Object(n), this, NumberWrapper) : n;- };-- NumberWrapper.prototype = NumberPrototype;- if (FORCED && !IS_PURE) NumberPrototype.constructor = NumberWrapper;-- $$4({ global: true, constructor: true, wrap: true, forced: FORCED }, {- Number: NumberWrapper- });-- // Use `internal/copy-constructor-properties` helper in `core-js@4`- var copyConstructorProperties = function (target, source) {- for (var keys = DESCRIPTORS ? getOwnPropertyNames(source) : (- // ES3:- 'MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,' +- // ES2015 (in case, if modules with ES2015 Number statics required before):- 'EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,' +- // ESNext- 'fromString,range'- ).split(','), j = 0, key; keys.length > j; j++) {- if (hasOwn(source, key = keys[j]) && !hasOwn(target, key)) {- defineProperty(target, key, getOwnPropertyDescriptor$2(source, key));- }- }- };- if (FORCED || IS_PURE) copyConstructorProperties(path[NUMBER], NativeNumber);-- var $$3 = _export;- var uncurryThis$2 = functionUncurryThis;- var isArray = isArray$5;-- var nativeReverse = uncurryThis$2([].reverse);- var test = [1, 2];-- // `Array.prototype.reverse` method- // https://tc39.es/ecma262/#sec-array.prototype.reverse- // fix for Safari 12.0 bug- // https://bugs.webkit.org/show_bug.cgi?id=188794- $$3({ target: 'Array', proto: true, forced: String(test) === String(test.reverse()) }, {- reverse: function reverse() {- // eslint-disable-next-line no-self-assign -- dirty hack- if (isArray(this)) this.length = this.length;- return nativeReverse(this);- }- });-- var $$2 = _export;- var fails = fails$v;- var toObject = toObject$a;- var nativeGetPrototypeOf = objectGetPrototypeOf;- var CORRECT_PROTOTYPE_GETTER = correctPrototypeGetter;-- var FAILS_ON_PRIMITIVES = fails(function () { nativeGetPrototypeOf(1); });-- // `Object.getPrototypeOf` method- // https://tc39.es/ecma262/#sec-object.getprototypeof- $$2({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES, sham: !CORRECT_PROTOTYPE_GETTER }, {- getPrototypeOf: function getPrototypeOf(it) {- return nativeGetPrototypeOf(toObject(it));- }- });-- var call = functionCall;- var fixRegExpWellKnownSymbolLogic = fixRegexpWellKnownSymbolLogic;- var anObject = anObject$d;- var isNullOrUndefined = isNullOrUndefined$7;- var toLength$2 = toLength$6;- var toString$2 = toString$f;- var requireObjectCoercible$2 = requireObjectCoercible$b;- var getMethod = getMethod$5;- var advanceStringIndex = advanceStringIndex$3;- var regExpExec = regexpExecAbstract;-- // @@match logic- fixRegExpWellKnownSymbolLogic('match', function (MATCH, nativeMatch, maybeCallNative) {- return [- // `String.prototype.match` method- // https://tc39.es/ecma262/#sec-string.prototype.match- function match(regexp) {- var O = requireObjectCoercible$2(this);- var matcher = isNullOrUndefined(regexp) ? undefined : getMethod(regexp, MATCH);- return matcher ? call(matcher, regexp, O) : new RegExp(regexp)[MATCH](toString$2(O));- },- // `RegExp.prototype[@@match]` method- // https://tc39.es/ecma262/#sec-regexp.prototype-@@match- function (string) {- var rx = anObject(this);- var S = toString$2(string);- var res = maybeCallNative(nativeMatch, rx, S);-- if (res.done) return res.value;-- if (!rx.global) return regExpExec(rx, S);-- var fullUnicode = rx.unicode;- rx.lastIndex = 0;- var A = [];- var n = 0;- var result;- while ((result = regExpExec(rx, S)) !== null) {- var matchStr = toString$2(result[0]);- A[n] = matchStr;- if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength$2(rx.lastIndex), fullUnicode);- n++;- }- return n === 0 ? null : A;- }- ];- });-- var $$1 = _export;- var uncurryThis$1 = functionUncurryThisClause;- var getOwnPropertyDescriptor$1 = objectGetOwnPropertyDescriptor.f;- var toLength$1 = toLength$6;- var toString$1 = toString$f;- var notARegExp$1 = notARegexp;- var requireObjectCoercible$1 = requireObjectCoercible$b;- var correctIsRegExpLogic$1 = correctIsRegexpLogic;-- // eslint-disable-next-line es/no-string-prototype-startswith -- safe- var nativeStartsWith = uncurryThis$1(''.startsWith);- var stringSlice = uncurryThis$1(''.slice);- var min$1 = Math.min;-- var CORRECT_IS_REGEXP_LOGIC$1 = correctIsRegExpLogic$1('startsWith');- // https://github.com/zloirock/core-js/pull/702- var MDN_POLYFILL_BUG$1 = !CORRECT_IS_REGEXP_LOGIC$1 && !!function () {- var descriptor = getOwnPropertyDescriptor$1(String.prototype, 'startsWith');- return descriptor && !descriptor.writable;- }();-- // `String.prototype.startsWith` method- // https://tc39.es/ecma262/#sec-string.prototype.startswith- $$1({ target: 'String', proto: true, forced: !MDN_POLYFILL_BUG$1 && !CORRECT_IS_REGEXP_LOGIC$1 }, {- startsWith: function startsWith(searchString /* , position = 0 */) {- var that = toString$1(requireObjectCoercible$1(this));- notARegExp$1(searchString);- var index = toLength$1(min$1(arguments.length > 1 ? arguments[1] : undefined, that.length));- var search = toString$1(searchString);- return nativeStartsWith- ? nativeStartsWith(that, search, index)- : stringSlice(that, index, index + search.length) === search;- }- });-- var $ = _export;- var uncurryThis = functionUncurryThisClause;- var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;- var toLength = toLength$6;- var toString = toString$f;- var notARegExp = notARegexp;- var requireObjectCoercible = requireObjectCoercible$b;- var correctIsRegExpLogic = correctIsRegexpLogic;-- // eslint-disable-next-line es/no-string-prototype-endswith -- safe- var nativeEndsWith = uncurryThis(''.endsWith);- var slice = uncurryThis(''.slice);- var min = Math.min;-- var CORRECT_IS_REGEXP_LOGIC = correctIsRegExpLogic('endsWith');- // https://github.com/zloirock/core-js/pull/702- var MDN_POLYFILL_BUG = !CORRECT_IS_REGEXP_LOGIC && !!function () {- var descriptor = getOwnPropertyDescriptor(String.prototype, 'endsWith');- return descriptor && !descriptor.writable;- }();-- // `String.prototype.endsWith` method- // https://tc39.es/ecma262/#sec-string.prototype.endswith- $({ target: 'String', proto: true, forced: !MDN_POLYFILL_BUG && !CORRECT_IS_REGEXP_LOGIC }, {- endsWith: function endsWith(searchString /* , endPosition = @length */) {- var that = toString(requireObjectCoercible(this));- notARegExp(searchString);- var endPosition = arguments.length > 1 ? arguments[1] : undefined;- var len = that.length;- var end = endPosition === undefined ? len : min(toLength(endPosition), len);- var search = toString(searchString);- return nativeEndsWith- ? nativeEndsWith(that, search, end)- : slice(that, end - search.length, end) === search;- }- });-- var Utils = {- getBootstrapVersion: function getBootstrapVersion() {- var bootstrapVersion = 5;- try {- var rawVersion = $$p.fn.dropdown.Constructor.VERSION;-- // Only try to parse VERSION if it is defined.- // It is undefined in older versions of Bootstrap (tested with 3.1.1).- if (rawVersion !== undefined) {- bootstrapVersion = parseInt(rawVersion, 10);- }- } catch (e) {- // ignore- }- try {- // eslint-disable-next-line no-undef- var _rawVersion = bootstrap.Tooltip.VERSION;- if (_rawVersion !== undefined) {- bootstrapVersion = parseInt(_rawVersion, 10);- }- } catch (e) {- // ignore- }- return bootstrapVersion;- },- getIconsPrefix: function getIconsPrefix(theme) {- return {- bootstrap3: 'glyphicon',- bootstrap4: 'fa',- bootstrap5: 'bi',- 'bootstrap-table': 'icon',- bulma: 'fa',- foundation: 'fa',- materialize: 'material-icons',- semantic: 'fa'- }[theme] || 'fa';- },- getIcons: function getIcons(prefix) {- return {- glyphicon: {- paginationSwitchDown: 'glyphicon-collapse-down icon-chevron-down',- paginationSwitchUp: 'glyphicon-collapse-up icon-chevron-up',- refresh: 'glyphicon-refresh icon-refresh',- toggleOff: 'glyphicon-list-alt icon-list-alt',- toggleOn: 'glyphicon-list-alt icon-list-alt',- columns: 'glyphicon-th icon-th',- detailOpen: 'glyphicon-plus icon-plus',- detailClose: 'glyphicon-minus icon-minus',- fullscreen: 'glyphicon-fullscreen',- search: 'glyphicon-search',- clearSearch: 'glyphicon-trash'- },- fa: {- paginationSwitchDown: 'fa-caret-square-down',- paginationSwitchUp: 'fa-caret-square-up',- refresh: 'fa-sync',- toggleOff: 'fa-toggle-off',- toggleOn: 'fa-toggle-on',- columns: 'fa-th-list',- detailOpen: 'fa-plus',- detailClose: 'fa-minus',- fullscreen: 'fa-arrows-alt',- search: 'fa-search',- clearSearch: 'fa-trash'- },- bi: {- paginationSwitchDown: 'bi-caret-down-square',- paginationSwitchUp: 'bi-caret-up-square',- refresh: 'bi-arrow-clockwise',- toggleOff: 'bi-toggle-off',- toggleOn: 'bi-toggle-on',- columns: 'bi-list-ul',- detailOpen: 'bi-plus',- detailClose: 'bi-dash',- fullscreen: 'bi-arrows-move',- search: 'bi-search',- clearSearch: 'bi-trash'- },- icon: {- paginationSwitchDown: 'icon-arrow-up-circle',- paginationSwitchUp: 'icon-arrow-down-circle',- refresh: 'icon-refresh-cw',- toggleOff: 'icon-toggle-right',- toggleOn: 'icon-toggle-right',- columns: 'icon-list',- detailOpen: 'icon-plus',- detailClose: 'icon-minus',- fullscreen: 'icon-maximize',- search: 'icon-search',- clearSearch: 'icon-trash-2'- },- 'material-icons': {- paginationSwitchDown: 'grid_on',- paginationSwitchUp: 'grid_off',- refresh: 'refresh',- toggleOff: 'tablet',- toggleOn: 'tablet_android',- columns: 'view_list',- detailOpen: 'add',- detailClose: 'remove',- fullscreen: 'fullscreen',- sort: 'sort',- search: 'search',- clearSearch: 'delete'- }- }[prefix];- },- getSearchInput: function getSearchInput(that) {- if (typeof that.options.searchSelector === 'string') {- return $$p(that.options.searchSelector);- }- return that.$toolbar.find('.search input');- },- // $.extend: https://github.com/jquery/jquery/blob/3.6.2/src/core.js#L132- extend: function extend() {- var _this = this;- for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {- args[_key] = arguments[_key];- }- var target = args[0] || {};- var i = 1;- var deep = false;- var clone;-- // Handle a deep copy situation- if (typeof target === 'boolean') {- deep = target;-- // Skip the boolean and the target- target = args[i] || {};- i++;- }-- // Handle case when target is a string or something (possible in deep copy)- if (_typeof(target) !== 'object' && typeof target !== 'function') {- target = {};- }- for (; i < args.length; i++) {- var options = args[i];-- // Ignore undefined/null values- if (typeof options === 'undefined' || options === null) {- continue;- }-- // Extend the base object- // eslint-disable-next-line guard-for-in- for (var name in options) {- var copy = options[name];-- // Prevent Object.prototype pollution- // Prevent never-ending loop- if (name === '__proto__' || target === copy) {- continue;- }- var copyIsArray = Array.isArray(copy);-- // Recurse if we're merging plain objects or arrays- if (deep && copy && (this.isObject(copy) || copyIsArray)) {- var src = target[name];- if (copyIsArray && Array.isArray(src)) {- if (src.every(function (it) {- return !_this.isObject(it) && !Array.isArray(it);- })) {- target[name] = copy;- continue;- }- }- if (copyIsArray && !Array.isArray(src)) {- clone = [];- } else if (!copyIsArray && !this.isObject(src)) {- clone = {};- } else {- clone = src;- }-- // Never move original objects, clone them- target[name] = this.extend(deep, clone, copy);-- // Don't bring in undefined values- } else if (copy !== undefined) {- target[name] = copy;- }- }- }- return target;- },- // it only does '%s', and return '' when arguments are undefined- sprintf: function sprintf(_str) {- for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {- args[_key2 - 1] = arguments[_key2];- }- var flag = true;- var i = 0;- var str = _str.replace(/%s/g, function () {- var arg = args[i++];- if (typeof arg === 'undefined') {- flag = false;- return '';- }- return arg;- });- return flag ? str : '';- },- isObject: function isObject(obj) {- if (_typeof(obj) !== 'object' || obj === null) {- return false;- }- var proto = obj;- while (Object.getPrototypeOf(proto) !== null) {- proto = Object.getPrototypeOf(proto);- }- return Object.getPrototypeOf(obj) === proto;- },- isEmptyObject: function isEmptyObject() {- var obj = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};- return Object.entries(obj).length === 0 && obj.constructor === Object;- },- isNumeric: function isNumeric(n) {- return !isNaN(parseFloat(n)) && isFinite(n);- },- getFieldTitle: function getFieldTitle(list, value) {- var _iterator = _createForOfIteratorHelper(list),- _step;- try {- for (_iterator.s(); !(_step = _iterator.n()).done;) {- var item = _step.value;- if (item.field === value) {- return item.title;- }- }- } catch (err) {- _iterator.e(err);- } finally {- _iterator.f();- }- return '';- },- setFieldIndex: function setFieldIndex(columns) {- var totalCol = 0;- var flag = [];- var _iterator2 = _createForOfIteratorHelper(columns[0]),- _step2;- try {- for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {- var column = _step2.value;- totalCol += column.colspan || 1;- }- } catch (err) {- _iterator2.e(err);- } finally {- _iterator2.f();- }- for (var i = 0; i < columns.length; i++) {- flag[i] = [];- for (var j = 0; j < totalCol; j++) {- flag[i][j] = false;- }- }- for (var _i = 0; _i < columns.length; _i++) {- var _iterator3 = _createForOfIteratorHelper(columns[_i]),- _step3;- try {- for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {- var r = _step3.value;- var rowspan = r.rowspan || 1;- var colspan = r.colspan || 1;- var index = flag[_i].indexOf(false);- r.colspanIndex = index;- if (colspan === 1) {- r.fieldIndex = index;- // when field is undefined, use index instead- if (typeof r.field === 'undefined') {- r.field = index;- }- } else {- r.colspanGroup = r.colspan;- }- for (var _j = 0; _j < rowspan; _j++) {- for (var k = 0; k < colspan; k++) {- flag[_i + _j][index + k] = true;- }- }- }- } catch (err) {- _iterator3.e(err);- } finally {- _iterator3.f();- }- }- },- normalizeAccent: function normalizeAccent(value) {- if (typeof value !== 'string') {- return value;- }- return value.normalize('NFD').replace(/[\u0300-\u036f]/g, '');- },- updateFieldGroup: function updateFieldGroup(columns, fieldColumns) {- var _ref;- var allColumns = (_ref = []).concat.apply(_ref, _toConsumableArray(columns));- var _iterator4 = _createForOfIteratorHelper(columns),- _step4;- try {- for (_iterator4.s(); !(_step4 = _iterator4.n()).done;) {- var c = _step4.value;- var _iterator6 = _createForOfIteratorHelper(c),- _step6;- try {- for (_iterator6.s(); !(_step6 = _iterator6.n()).done;) {- var r = _step6.value;- if (r.colspanGroup > 1) {- var colspan = 0;- var _loop = function _loop(i) {- var column = allColumns.find(function (col) {- return col.fieldIndex === i;- });- if (column.visible) {- colspan++;- }- };- for (var i = r.colspanIndex; i < r.colspanIndex + r.colspanGroup; i++) {- _loop(i);- }- r.colspan = colspan;- r.visible = colspan > 0;- }- }- } catch (err) {- _iterator6.e(err);- } finally {- _iterator6.f();- }- }- } catch (err) {- _iterator4.e(err);- } finally {- _iterator4.f();- }- if (columns.length < 2) {- return;- }- var _iterator5 = _createForOfIteratorHelper(fieldColumns),- _step5;- try {- var _loop2 = function _loop2() {- var column = _step5.value;- var sameColumns = allColumns.filter(function (col) {- return col.fieldIndex === column.fieldIndex;- });- if (sameColumns.length > 1) {- var _iterator7 = _createForOfIteratorHelper(sameColumns),- _step7;- try {- for (_iterator7.s(); !(_step7 = _iterator7.n()).done;) {- var _c = _step7.value;- _c.visible = column.visible;- }- } catch (err) {- _iterator7.e(err);- } finally {- _iterator7.f();- }- }- };- for (_iterator5.s(); !(_step5 = _iterator5.n()).done;) {- _loop2();- }- } catch (err) {- _iterator5.e(err);- } finally {- _iterator5.f();- }- },- getScrollBarWidth: function getScrollBarWidth() {- if (this.cachedWidth === undefined) {- var $inner = $$p('<div/>').addClass('fixed-table-scroll-inner');- var $outer = $$p('<div/>').addClass('fixed-table-scroll-outer');- $outer.append($inner);- $$p('body').append($outer);- var w1 = $inner[0].offsetWidth;- $outer.css('overflow', 'scroll');- var w2 = $inner[0].offsetWidth;- if (w1 === w2) {- w2 = $outer[0].clientWidth;- }- $outer.remove();- this.cachedWidth = w1 - w2;- }- return this.cachedWidth;- },- calculateObjectValue: function calculateObjectValue(self, name, args, defaultValue) {- var func = name;- if (typeof name === 'string') {- // support obj.func1.func2- var names = name.split('.');- if (names.length > 1) {- func = window;- var _iterator8 = _createForOfIteratorHelper(names),- _step8;- try {- for (_iterator8.s(); !(_step8 = _iterator8.n()).done;) {- var f = _step8.value;- func = func[f];- }- } catch (err) {- _iterator8.e(err);- } finally {- _iterator8.f();- }- } else {- func = window[name];- }- }- if (func !== null && _typeof(func) === 'object') {- return func;- }- if (typeof func === 'function') {- return func.apply(self, args || []);- }- if (!func && typeof name === 'string' && args && this.sprintf.apply(this, [name].concat(_toConsumableArray(args)))) {- return this.sprintf.apply(this, [name].concat(_toConsumableArray(args)));- }- return defaultValue;- },- compareObjects: function compareObjects(objectA, objectB, compareLength) {- var aKeys = Object.keys(objectA);- var bKeys = Object.keys(objectB);- if (compareLength && aKeys.length !== bKeys.length) {- return false;- }- for (var _i2 = 0, _aKeys = aKeys; _i2 < _aKeys.length; _i2++) {- var key = _aKeys[_i2];- if (bKeys.includes(key) && objectA[key] !== objectB[key]) {- return false;- }- }- return true;- },- regexCompare: function regexCompare(value, search) {- try {- var regexpParts = search.match(/^\/(.*?)\/([gim]*)$/);- if (value.toString().search(regexpParts ? new RegExp(regexpParts[1], regexpParts[2]) : new RegExp(search, 'gim')) !== -1) {- return true;- }- } catch (e) {- return false;- }- return false;- },- escapeApostrophe: function escapeApostrophe(value) {- return value.toString().replace(/'/g, ''');- },- escapeHTML: function escapeHTML(text) {- if (!text) {- return text;- }- return text.toString().replace(/&/g, '&').replace(/</g, '<').replace(/>/g, '>').replace(/"/g, '"').replace(/'/g, ''');- },- unescapeHTML: function unescapeHTML(text) {- if (typeof text !== 'string' || !text) {- return text;- }- return text.toString().replace(/&/g, '&').replace(/</g, '<').replace(/>/g, '>').replace(/"/g, '"').replace(/'/g, '\'');- },- removeHTML: function removeHTML(text) {- if (!text) {- return text;- }- return text.toString().replace(/(<([^>]+)>)/ig, '').replace(/&[#A-Za-z0-9]+;/gi, '').trim();- },- getRealDataAttr: function getRealDataAttr(dataAttr) {- for (var _i3 = 0, _Object$entries = Object.entries(dataAttr); _i3 < _Object$entries.length; _i3++) {- var _Object$entries$_i = _slicedToArray(_Object$entries[_i3], 2),- attr = _Object$entries$_i[0],- value = _Object$entries$_i[1];- var auxAttr = attr.split(/(?=[A-Z])/).join('-').toLowerCase();- if (auxAttr !== attr) {- dataAttr[auxAttr] = value;- delete dataAttr[attr];- }- }- return dataAttr;- },- getItemField: function getItemField(item, field, escape) {- var columnEscape = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : undefined;- var value = item;-- // use column escape if it is defined- if (typeof columnEscape !== 'undefined') {- escape = columnEscape;- }- if (typeof field !== 'string' || item.hasOwnProperty(field)) {- return escape ? this.escapeHTML(item[field]) : item[field];- }- var props = field.split('.');- var _iterator9 = _createForOfIteratorHelper(props),- _step9;- try {- for (_iterator9.s(); !(_step9 = _iterator9.n()).done;) {- var p = _step9.value;- value = value && value[p];- }- } catch (err) {- _iterator9.e(err);- } finally {- _iterator9.f();- }- return escape ? this.escapeHTML(value) : value;- },- isIEBrowser: function isIEBrowser() {- return navigator.userAgent.includes('MSIE ') || /Trident.*rv:11\./.test(navigator.userAgent);- },- findIndex: function findIndex(items, item) {- var _iterator10 = _createForOfIteratorHelper(items),- _step10;- try {- for (_iterator10.s(); !(_step10 = _iterator10.n()).done;) {- var it = _step10.value;- if (JSON.stringify(it) === JSON.stringify(item)) {- return items.indexOf(it);- }- }- } catch (err) {- _iterator10.e(err);- } finally {- _iterator10.f();- }- return -1;- },- trToData: function trToData(columns, $els) {- var _this2 = this;- var data = [];- var m = [];- $els.each(function (y, el) {- var $el = $$p(el);- var row = {};-- // save tr's id, class and data-* attributes- row._id = $el.attr('id');- row._class = $el.attr('class');- row._data = _this2.getRealDataAttr($el.data());- row._style = $el.attr('style');- $el.find('>td,>th').each(function (_x, el) {- var $el = $$p(el);- var cspan = +$el.attr('colspan') || 1;- var rspan = +$el.attr('rowspan') || 1;- var x = _x;-- // skip already occupied cells in current row- for (; m[y] && m[y][x]; x++) {- // ignore- }-- // mark matrix elements occupied by current cell with true- for (var tx = x; tx < x + cspan; tx++) {- for (var ty = y; ty < y + rspan; ty++) {- if (!m[ty]) {- // fill missing rows- m[ty] = [];- }- m[ty][tx] = true;- }- }- var field = columns[x].field;- row[field] = _this2.escapeApostrophe($el.html().trim());- // save td's id, class and data-* attributes- row["_".concat(field, "_id")] = $el.attr('id');- row["_".concat(field, "_class")] = $el.attr('class');- row["_".concat(field, "_rowspan")] = $el.attr('rowspan');- row["_".concat(field, "_colspan")] = $el.attr('colspan');- row["_".concat(field, "_title")] = $el.attr('title');- row["_".concat(field, "_data")] = _this2.getRealDataAttr($el.data());- row["_".concat(field, "_style")] = $el.attr('style');- });- data.push(row);- });- return data;- },- sort: function sort(a, b, order, options, aPosition, bPosition) {- if (a === undefined || a === null) {- a = '';- }- if (b === undefined || b === null) {- b = '';- }- if (options.sortStable && a === b) {- a = aPosition;- b = bPosition;- }-- // If both values are numeric, do a numeric comparison- if (this.isNumeric(a) && this.isNumeric(b)) {- // Convert numerical values form string to float.- a = parseFloat(a);- b = parseFloat(b);- if (a < b) {- return order * -1;- }- if (a > b) {- return order;- }- return 0;- }- if (options.sortEmptyLast) {- if (a === '') {- return 1;- }- if (b === '') {- return -1;- }- }- if (a === b) {- return 0;- }-- // If value is not a string, convert to string- if (typeof a !== 'string') {- a = a.toString();- }- if (a.localeCompare(b) === -1) {- return order * -1;- }- return order;- },- getEventName: function getEventName(eventPrefix) {- var id = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';- id = id || "".concat(+new Date()).concat(~~(Math.random() * 1000000));- return "".concat(eventPrefix, "-").concat(id);- },- hasDetailViewIcon: function hasDetailViewIcon(options) {- return options.detailView && options.detailViewIcon && !options.cardView;- },- getDetailViewIndexOffset: function getDetailViewIndexOffset(options) {- return this.hasDetailViewIcon(options) && options.detailViewAlign !== 'right' ? 1 : 0;- },- checkAutoMergeCells: function checkAutoMergeCells(data) {- var _iterator11 = _createForOfIteratorHelper(data),- _step11;- try {- for (_iterator11.s(); !(_step11 = _iterator11.n()).done;) {- var row = _step11.value;- for (var _i4 = 0, _Object$keys = Object.keys(row); _i4 < _Object$keys.length; _i4++) {- var key = _Object$keys[_i4];- if (key.startsWith('_') && (key.endsWith('_rowspan') || key.endsWith('_colspan'))) {- return true;- }- }- }- } catch (err) {- _iterator11.e(err);- } finally {- _iterator11.f();- }- return false;- },- deepCopy: function deepCopy(arg) {- if (arg === undefined) {- return arg;- }- return this.extend(true, Array.isArray(arg) ? [] : {}, arg);- },- debounce: function debounce(func, wait, immediate) {- var timeout;- return function executedFunction() {- var context = this;- var args = arguments;- var later = function later() {- timeout = null;- if (!immediate) func.apply(context, args);- };- var callNow = immediate && !timeout;- clearTimeout(timeout);- timeout = setTimeout(later, wait);- if (callNow) func.apply(context, args);- };- }- };-- var VERSION = '1.22.1';- var bootstrapVersion = Utils.getBootstrapVersion();- var CONSTANTS = {- 3: {- classes: {- buttonsPrefix: 'btn',- buttons: 'default',- buttonsGroup: 'btn-group',- buttonsDropdown: 'btn-group',- pull: 'pull',- inputGroup: 'input-group',- inputPrefix: 'input-',- input: 'form-control',- select: 'form-control',- paginationDropdown: 'btn-group dropdown',- dropup: 'dropup',- dropdownActive: 'active',- paginationActive: 'active',- buttonActive: 'active'- },- html: {- toolbarDropdown: ['<ul class="dropdown-menu" role="menu">', '</ul>'],- toolbarDropdownItem: '<li class="dropdown-item-marker" role="menuitem"><label>%s</label></li>',- toolbarDropdownSeparator: '<li class="divider"></li>',- pageDropdown: ['<ul class="dropdown-menu" role="menu">', '</ul>'],- pageDropdownItem: '<li role="menuitem" class="%s"><a href="#">%s</a></li>',- dropdownCaret: '<span class="caret"></span>',- pagination: ['<ul class="pagination%s">', '</ul>'],- paginationItem: '<li class="page-item%s"><a class="page-link" aria-label="%s" href="javascript:void(0)">%s</a></li>',- icon: '<i class="%s %s"></i>',- inputGroup: '<div class="input-group">%s<span class="input-group-btn">%s</span></div>',- searchInput: '<input class="%s%s" type="text" placeholder="%s">',- searchButton: '<button class="%s" type="button" name="search" title="%s">%s %s</button>',- searchClearButton: '<button class="%s" type="button" name="clearSearch" title="%s">%s %s</button>'- }- },- 4: {- classes: {- buttonsPrefix: 'btn',- buttons: 'secondary',- buttonsGroup: 'btn-group',- buttonsDropdown: 'btn-group',- pull: 'float',- inputGroup: 'btn-group',- inputPrefix: 'form-control-',- input: 'form-control',- select: 'form-control',- paginationDropdown: 'btn-group dropdown',- dropup: 'dropup',- dropdownActive: 'active',- paginationActive: 'active',- buttonActive: 'active'- },- html: {- toolbarDropdown: ['<div class="dropdown-menu dropdown-menu-right">', '</div>'],- toolbarDropdownItem: '<label class="dropdown-item dropdown-item-marker">%s</label>',- pageDropdown: ['<div class="dropdown-menu">', '</div>'],- pageDropdownItem: '<a class="dropdown-item %s" href="#">%s</a>',- toolbarDropdownSeparator: '<div class="dropdown-divider"></div>',- dropdownCaret: '<span class="caret"></span>',- pagination: ['<ul class="pagination%s">', '</ul>'],- paginationItem: '<li class="page-item%s"><a class="page-link" aria-label="%s" href="javascript:void(0)">%s</a></li>',- icon: '<i class="%s %s"></i>',- inputGroup: '<div class="input-group">%s<div class="input-group-append">%s</div></div>',- searchInput: '<input class="%s%s" type="text" placeholder="%s">',- searchButton: '<button class="%s" type="button" name="search" title="%s">%s %s</button>',- searchClearButton: '<button class="%s" type="button" name="clearSearch" title="%s">%s %s</button>'- }- },- 5: {- classes: {- buttonsPrefix: 'btn',- buttons: 'secondary',- buttonsGroup: 'btn-group',- buttonsDropdown: 'btn-group',- pull: 'float',- inputGroup: 'btn-group',- inputPrefix: 'form-control-',- input: 'form-control',- select: 'form-select',- paginationDropdown: 'btn-group dropdown',- dropup: 'dropup',- dropdownActive: 'active',- paginationActive: 'active',- buttonActive: 'active'- },- html: {- dataToggle: 'data-bs-toggle',- toolbarDropdown: ['<div class="dropdown-menu dropdown-menu-end">', '</div>'],- toolbarDropdownItem: '<label class="dropdown-item dropdown-item-marker">%s</label>',- pageDropdown: ['<div class="dropdown-menu">', '</div>'],- pageDropdownItem: '<a class="dropdown-item %s" href="#">%s</a>',- toolbarDropdownSeparator: '<div class="dropdown-divider"></div>',- dropdownCaret: '<span class="caret"></span>',- pagination: ['<ul class="pagination%s">', '</ul>'],- paginationItem: '<li class="page-item%s"><a class="page-link" aria-label="%s" href="javascript:void(0)">%s</a></li>',- icon: '<i class="%s %s"></i>',- inputGroup: '<div class="input-group">%s%s</div>',- searchInput: '<input class="%s%s" type="text" placeholder="%s">',- searchButton: '<button class="%s" type="button" name="search" title="%s">%s %s</button>',- searchClearButton: '<button class="%s" type="button" name="clearSearch" title="%s">%s %s</button>'- }- }- }[bootstrapVersion];- var DEFAULTS = {- height: undefined,- classes: 'table table-bordered table-hover',- buttons: {},- theadClasses: '',- headerStyle: function headerStyle(column) {- return {};- },- rowStyle: function rowStyle(row, index) {- return {};- },- rowAttributes: function rowAttributes(row, index) {- return {};- },- undefinedText: '-',- locale: undefined,- virtualScroll: false,- virtualScrollItemHeight: undefined,- sortable: true,- sortClass: undefined,- silentSort: true,- sortEmptyLast: false,- sortName: undefined,- sortOrder: undefined,- sortReset: false,- sortStable: false,- sortResetPage: false,- rememberOrder: false,- serverSort: true,- customSort: undefined,- columns: [[]],- data: [],- url: undefined,- method: 'get',- cache: true,- contentType: 'application/json',- dataType: 'json',- ajax: undefined,- ajaxOptions: {},- queryParams: function queryParams(params) {- return params;- },- queryParamsType: 'limit',- // 'limit', undefined- responseHandler: function responseHandler(res) {- return res;- },- totalField: 'total',- totalNotFilteredField: 'totalNotFiltered',- dataField: 'rows',- footerField: 'footer',- pagination: false,- paginationParts: ['pageInfo', 'pageSize', 'pageList'],- showExtendedPagination: false,- paginationLoop: true,- sidePagination: 'client',- // client or server- totalRows: 0,- totalNotFiltered: 0,- pageNumber: 1,- pageSize: 10,- pageList: [10, 25, 50, 100],- paginationHAlign: 'right',- // right, left- paginationVAlign: 'bottom',- // bottom, top, both- paginationDetailHAlign: 'left',- // right, left- paginationPreText: '‹',- paginationNextText: '›',- paginationSuccessivelySize: 5,- // Maximum successively number of pages in a row- paginationPagesBySide: 1,- // Number of pages on each side (right, left) of the current page.- paginationUseIntermediate: false,- // Calculate intermediate pages for quick access- search: false,- searchable: false,- searchHighlight: false,- searchOnEnterKey: false,- strictSearch: false,- regexSearch: false,- searchSelector: false,- visibleSearch: false,- showButtonIcons: true,- showButtonText: false,- showSearchButton: false,- showSearchClearButton: false,- trimOnSearch: true,- searchAlign: 'right',- searchTimeOut: 500,- searchText: '',- customSearch: undefined,- showHeader: true,- showFooter: false,- footerStyle: function footerStyle(column) {- return {};- },- searchAccentNeutralise: false,- showColumns: false,- showColumnsToggleAll: false,- showColumnsSearch: false,- minimumCountColumns: 1,- showPaginationSwitch: false,- showRefresh: false,- showToggle: false,- showFullscreen: false,- smartDisplay: true,- escape: false,- escapeTitle: true,- filterOptions: {- filterAlgorithm: 'and'- },- idField: undefined,- selectItemName: 'btSelectItem',- clickToSelect: false,- ignoreClickToSelectOn: function ignoreClickToSelectOn(_ref) {- var tagName = _ref.tagName;- return ['A', 'BUTTON'].includes(tagName);- },- singleSelect: false,- checkboxHeader: true,- maintainMetaData: false,- multipleSelectRow: false,- uniqueId: undefined,- cardView: false,- detailView: false,- detailViewIcon: true,- detailViewByClick: false,- detailViewAlign: 'left',- detailFormatter: function detailFormatter(index, row) {- return '';- },- detailFilter: function detailFilter(index, row) {- return true;- },- toolbar: undefined,- toolbarAlign: 'left',- buttonsToolbar: undefined,- buttonsAlign: 'right',- buttonsOrder: ['paginationSwitch', 'refresh', 'toggle', 'fullscreen', 'columns'],- buttonsPrefix: CONSTANTS.classes.buttonsPrefix,- buttonsClass: CONSTANTS.classes.buttons,- iconsPrefix: undefined,- // init in initConstants- icons: {},- // init in initConstants- iconSize: undefined,- loadingFontSize: 'auto',- loadingTemplate: function loadingTemplate(loadingMessage) {- return "<span class=\"loading-wrap\">\n <span class=\"loading-text\">".concat(loadingMessage, "</span>\n <span class=\"animation-wrap\"><span class=\"animation-dot\"></span></span>\n </span>\n ");- },- onAll: function onAll(name, args) {- return false;- },- onClickCell: function onClickCell(field, value, row, $element) {- return false;- },- onDblClickCell: function onDblClickCell(field, value, row, $element) {- return false;- },- onClickRow: function onClickRow(item, $element) {- return false;- },- onDblClickRow: function onDblClickRow(item, $element) {- return false;- },- onSort: function onSort(name, order) {- return false;- },- onCheck: function onCheck(row) {- return false;- },- onUncheck: function onUncheck(row) {- return false;- },- onCheckAll: function onCheckAll(rows) {- return false;- },- onUncheckAll: function onUncheckAll(rows) {- return false;- },- onCheckSome: function onCheckSome(rows) {- return false;- },- onUncheckSome: function onUncheckSome(rows) {- return false;- },- onLoadSuccess: function onLoadSuccess(data) {- return false;- },- onLoadError: function onLoadError(status) {- return false;- },- onColumnSwitch: function onColumnSwitch(field, checked) {- return false;- },- onColumnSwitchAll: function onColumnSwitchAll(checked) {- return false;- },- onPageChange: function onPageChange(number, size) {- return false;- },- onSearch: function onSearch(text) {- return false;- },- onToggle: function onToggle(cardView) {- return false;- },- onPreBody: function onPreBody(data) {- return false;- },- onPostBody: function onPostBody() {- return false;- },- onPostHeader: function onPostHeader() {- return false;- },- onPostFooter: function onPostFooter() {- return false;- },- onExpandRow: function onExpandRow(index, row, $detail) {- return false;- },- onCollapseRow: function onCollapseRow(index, row) {- return false;- },- onRefreshOptions: function onRefreshOptions(options) {- return false;- },- onRefresh: function onRefresh(params) {- return false;- },- onResetView: function onResetView() {- return false;- },- onScrollBody: function onScrollBody() {- return false;- },- onTogglePagination: function onTogglePagination(newState) {- return false;- },- onVirtualScroll: function onVirtualScroll(startIndex, endIndex) {- return false;- }- };- var EN = {- formatLoadingMessage: function formatLoadingMessage() {- return 'Loading, please wait';- },- formatRecordsPerPage: function formatRecordsPerPage(pageNumber) {- return "".concat(pageNumber, " rows per page");- },- formatShowingRows: function formatShowingRows(pageFrom, pageTo, totalRows, totalNotFiltered) {- if (totalNotFiltered !== undefined && totalNotFiltered > 0 && totalNotFiltered > totalRows) {- return "Showing ".concat(pageFrom, " to ").concat(pageTo, " of ").concat(totalRows, " rows (filtered from ").concat(totalNotFiltered, " total rows)");- }- return "Showing ".concat(pageFrom, " to ").concat(pageTo, " of ").concat(totalRows, " rows");- },- formatSRPaginationPreText: function formatSRPaginationPreText() {- return 'previous page';- },- formatSRPaginationPageText: function formatSRPaginationPageText(page) {- return "to page ".concat(page);- },- formatSRPaginationNextText: function formatSRPaginationNextText() {- return 'next page';- },- formatDetailPagination: function formatDetailPagination(totalRows) {- return "Showing ".concat(totalRows, " rows");- },- formatSearch: function formatSearch() {- return 'Search';- },- formatClearSearch: function formatClearSearch() {- return 'Clear Search';- },- formatNoMatches: function formatNoMatches() {- return 'No matching records found';- },- formatPaginationSwitch: function formatPaginationSwitch() {- return 'Hide/Show pagination';- },- formatPaginationSwitchDown: function formatPaginationSwitchDown() {- return 'Show pagination';- },- formatPaginationSwitchUp: function formatPaginationSwitchUp() {- return 'Hide pagination';- },- formatRefresh: function formatRefresh() {- return 'Refresh';- },- formatToggleOn: function formatToggleOn() {- return 'Show card view';- },- formatToggleOff: function formatToggleOff() {- return 'Hide card view';- },- formatColumns: function formatColumns() {- return 'Columns';- },- formatColumnsToggleAll: function formatColumnsToggleAll() {- return 'Toggle all';- },- formatFullscreen: function formatFullscreen() {- return 'Fullscreen';- },- formatAllRows: function formatAllRows() {- return 'All';- }- };- var COLUMN_DEFAULTS = {- field: undefined,- title: undefined,- titleTooltip: undefined,- class: undefined,- width: undefined,- widthUnit: 'px',- rowspan: undefined,- colspan: undefined,- align: undefined,- // left, right, center- halign: undefined,- // left, right, center- falign: undefined,- // left, right, center- valign: undefined,- // top, middle, bottom- cellStyle: undefined,- radio: false,- checkbox: false,- checkboxEnabled: true,- clickToSelect: true,- showSelectTitle: false,- sortable: false,- sortName: undefined,- order: 'asc',- // asc, desc- sorter: undefined,- visible: true,- switchable: true,- switchableLabel: undefined,- cardVisible: true,- searchable: true,- formatter: undefined,- footerFormatter: undefined,- detailFormatter: undefined,- searchFormatter: true,- searchHighlightFormatter: false,- escape: undefined,- events: undefined- };- var METHODS = ['getOptions', 'refreshOptions', 'getData', 'getSelections', 'load', 'append', 'prepend', 'remove', 'removeAll', 'insertRow', 'updateRow', 'getRowByUniqueId', 'updateByUniqueId', 'removeByUniqueId', 'updateCell', 'updateCellByUniqueId', 'showRow', 'hideRow', 'getHiddenRows', 'showColumn', 'hideColumn', 'getVisibleColumns', 'getHiddenColumns', 'showAllColumns', 'hideAllColumns', 'mergeCells', 'checkAll', 'uncheckAll', 'checkInvert', 'check', 'uncheck', 'checkBy', 'uncheckBy', 'refresh', 'destroy', 'resetView', 'showLoading', 'hideLoading', 'togglePagination', 'toggleFullscreen', 'toggleView', 'resetSearch', 'filterBy', 'sortBy', 'scrollTo', 'getScrollPosition', 'selectPage', 'prevPage', 'nextPage', 'toggleDetailView', 'expandRow', 'collapseRow', 'expandRowByUniqueId', 'collapseRowByUniqueId', 'expandAllRows', 'collapseAllRows', 'updateColumnTitle', 'updateFormatText'];- var EVENTS = {- 'all.bs.table': 'onAll',- 'click-row.bs.table': 'onClickRow',- 'dbl-click-row.bs.table': 'onDblClickRow',- 'click-cell.bs.table': 'onClickCell',- 'dbl-click-cell.bs.table': 'onDblClickCell',- 'sort.bs.table': 'onSort',- 'check.bs.table': 'onCheck',- 'uncheck.bs.table': 'onUncheck',- 'check-all.bs.table': 'onCheckAll',- 'uncheck-all.bs.table': 'onUncheckAll',- 'check-some.bs.table': 'onCheckSome',- 'uncheck-some.bs.table': 'onUncheckSome',- 'load-success.bs.table': 'onLoadSuccess',- 'load-error.bs.table': 'onLoadError',- 'column-switch.bs.table': 'onColumnSwitch',- 'column-switch-all.bs.table': 'onColumnSwitchAll',- 'page-change.bs.table': 'onPageChange',- 'search.bs.table': 'onSearch',- 'toggle.bs.table': 'onToggle',- 'pre-body.bs.table': 'onPreBody',- 'post-body.bs.table': 'onPostBody',- 'post-header.bs.table': 'onPostHeader',- 'post-footer.bs.table': 'onPostFooter',- 'expand-row.bs.table': 'onExpandRow',- 'collapse-row.bs.table': 'onCollapseRow',- 'refresh-options.bs.table': 'onRefreshOptions',- 'reset-view.bs.table': 'onResetView',- 'refresh.bs.table': 'onRefresh',- 'scroll-body.bs.table': 'onScrollBody',- 'toggle-pagination.bs.table': 'onTogglePagination',- 'virtual-scroll.bs.table': 'onVirtualScroll'- };- Object.assign(DEFAULTS, EN);- var Constants = {- VERSION: VERSION,- THEME: "bootstrap".concat(bootstrapVersion),- CONSTANTS: CONSTANTS,- DEFAULTS: DEFAULTS,- COLUMN_DEFAULTS: COLUMN_DEFAULTS,- METHODS: METHODS,- EVENTS: EVENTS,- LOCALES: {- en: EN,- 'en-US': EN- }- };-- var BLOCK_ROWS = 50;- var CLUSTER_BLOCKS = 4;- var VirtualScroll = /*#__PURE__*/function () {- function VirtualScroll(options) {- var _this = this;- _classCallCheck(this, VirtualScroll);- this.rows = options.rows;- this.scrollEl = options.scrollEl;- this.contentEl = options.contentEl;- this.callback = options.callback;- this.itemHeight = options.itemHeight;- this.cache = {};- this.scrollTop = this.scrollEl.scrollTop;- this.initDOM(this.rows, options.fixedScroll);- this.scrollEl.scrollTop = this.scrollTop;- this.lastCluster = 0;- var onScroll = function onScroll() {- if (_this.lastCluster !== (_this.lastCluster = _this.getNum())) {- _this.initDOM(_this.rows);- _this.callback(_this.startIndex, _this.endIndex);- }- };- this.scrollEl.addEventListener('scroll', onScroll, false);- this.destroy = function () {- _this.contentEl.innerHtml = '';- _this.scrollEl.removeEventListener('scroll', onScroll, false);- };- }- _createClass(VirtualScroll, [{- key: "initDOM",- value: function initDOM(rows, fixedScroll) {- if (typeof this.clusterHeight === 'undefined') {- this.cache.scrollTop = this.scrollEl.scrollTop;- this.cache.data = this.contentEl.innerHTML = rows[0] + rows[0] + rows[0];- this.getRowsHeight(rows);- }- var data = this.initData(rows, this.getNum(fixedScroll));- var thisRows = data.rows.join('');- var dataChanged = this.checkChanges('data', thisRows);- var topOffsetChanged = this.checkChanges('top', data.topOffset);- var bottomOffsetChanged = this.checkChanges('bottom', data.bottomOffset);- var html = [];- if (dataChanged && topOffsetChanged) {- if (data.topOffset) {- html.push(this.getExtra('top', data.topOffset));- }- html.push(thisRows);- if (data.bottomOffset) {- html.push(this.getExtra('bottom', data.bottomOffset));- }- this.startIndex = data.start;- this.endIndex = data.end;- this.contentEl.innerHTML = html.join('');- if (fixedScroll) {- this.contentEl.scrollTop = this.cache.scrollTop;- }- } else if (bottomOffsetChanged) {- this.contentEl.lastChild.style.height = "".concat(data.bottomOffset, "px");- }- }- }, {- key: "getRowsHeight",- value: function getRowsHeight() {- if (typeof this.itemHeight === 'undefined') {- var nodes = this.contentEl.children;- var node = nodes[Math.floor(nodes.length / 2)];- this.itemHeight = node.offsetHeight;- }- this.blockHeight = this.itemHeight * BLOCK_ROWS;- this.clusterRows = BLOCK_ROWS * CLUSTER_BLOCKS;- this.clusterHeight = this.blockHeight * CLUSTER_BLOCKS;- }- }, {- key: "getNum",- value: function getNum(fixedScroll) {- this.scrollTop = fixedScroll ? this.cache.scrollTop : this.scrollEl.scrollTop;- return Math.floor(this.scrollTop / (this.clusterHeight - this.blockHeight)) || 0;- }- }, {- key: "initData",- value: function initData(rows, num) {- if (rows.length < BLOCK_ROWS) {- return {- topOffset: 0,- bottomOffset: 0,- rowsAbove: 0,- rows: rows- };- }- var start = Math.max((this.clusterRows - BLOCK_ROWS) * num, 0);- var end = start + this.clusterRows;- var topOffset = Math.max(start * this.itemHeight, 0);- var bottomOffset = Math.max((rows.length - end) * this.itemHeight, 0);- var thisRows = [];- var rowsAbove = start;- if (topOffset < 1) {- rowsAbove++;- }- for (var i = start; i < end; i++) {- rows[i] && thisRows.push(rows[i]);- }- return {- start: start,- end: end,- topOffset: topOffset,- bottomOffset: bottomOffset,- rowsAbove: rowsAbove,- rows: thisRows- };- }- }, {- key: "checkChanges",- value: function checkChanges(type, value) {- var changed = value !== this.cache[type];- this.cache[type] = value;- return changed;- }- }, {- key: "getExtra",- value: function getExtra(className, height) {- var tag = document.createElement('tr');- tag.className = "virtual-scroll-".concat(className);- if (height) {- tag.style.height = "".concat(height, "px");- }- return tag.outerHTML;- }- }]);- return VirtualScroll;- }();-- var BootstrapTable = /*#__PURE__*/function () {- function BootstrapTable(el, options) {- _classCallCheck(this, BootstrapTable);- this.options = options;- this.$el = $$p(el);- this.$el_ = this.$el.clone();- this.timeoutId_ = 0;- this.timeoutFooter_ = 0;- }- _createClass(BootstrapTable, [{- key: "init",- value: function init() {- this.initConstants();- this.initLocale();- this.initContainer();- this.initTable();- this.initHeader();- this.initData();- this.initHiddenRows();- this.initToolbar();- this.initPagination();- this.initBody();- this.initSearchText();- this.initServer();- }- }, {- key: "initConstants",- value: function initConstants() {- var opts = this.options;- this.constants = Constants.CONSTANTS;- this.constants.theme = $$p.fn.bootstrapTable.theme;- this.constants.dataToggle = this.constants.html.dataToggle || 'data-toggle';-- // init iconsPrefix and icons- var iconsPrefix = Utils.getIconsPrefix($$p.fn.bootstrapTable.theme);- var icons = Utils.getIcons(iconsPrefix);- if (typeof opts.icons === 'string') {- opts.icons = Utils.calculateObjectValue(null, opts.icons);- }- opts.iconsPrefix = opts.iconsPrefix || $$p.fn.bootstrapTable.defaults.iconsPrefix || iconsPrefix;- opts.icons = Object.assign(icons, $$p.fn.bootstrapTable.defaults.icons, opts.icons);-- // init buttons class- var buttonsPrefix = opts.buttonsPrefix ? "".concat(opts.buttonsPrefix, "-") : '';- this.constants.buttonsClass = [opts.buttonsPrefix, buttonsPrefix + opts.buttonsClass, Utils.sprintf("".concat(buttonsPrefix, "%s"), opts.iconSize)].join(' ').trim();- this.buttons = Utils.calculateObjectValue(this, opts.buttons, [], {});- if (_typeof(this.buttons) !== 'object') {- this.buttons = {};- }- }- }, {- key: "initLocale",- value: function initLocale() {- if (this.options.locale) {- var locales = $$p.fn.bootstrapTable.locales;- var parts = this.options.locale.split(/-|_/);- parts[0] = parts[0].toLowerCase();- if (parts[1]) {- parts[1] = parts[1].toUpperCase();- }- var localesToExtend = {};- if (locales[this.options.locale]) {- localesToExtend = locales[this.options.locale];- } else if (locales[parts.join('-')]) {- localesToExtend = locales[parts.join('-')];- } else if (locales[parts[0]]) {- localesToExtend = locales[parts[0]];- }- for (var _i = 0, _Object$entries = Object.entries(localesToExtend); _i < _Object$entries.length; _i++) {- var _Object$entries$_i = _slicedToArray(_Object$entries[_i], 2),- formatName = _Object$entries$_i[0],- func = _Object$entries$_i[1];- if (this.options[formatName] !== BootstrapTable.DEFAULTS[formatName]) {- continue;- }- this.options[formatName] = func;- }- }- }- }, {- key: "initContainer",- value: function initContainer() {- var topPagination = ['top', 'both'].includes(this.options.paginationVAlign) ? '<div class="fixed-table-pagination clearfix"></div>' : '';- var bottomPagination = ['bottom', 'both'].includes(this.options.paginationVAlign) ? '<div class="fixed-table-pagination"></div>' : '';- var loadingTemplate = Utils.calculateObjectValue(this.options, this.options.loadingTemplate, [this.options.formatLoadingMessage()]);- this.$container = $$p("\n <div class=\"bootstrap-table ".concat(this.constants.theme, "\">\n <div class=\"fixed-table-toolbar\"></div>\n ").concat(topPagination, "\n <div class=\"fixed-table-container\">\n <div class=\"fixed-table-header\"><table></table></div>\n <div class=\"fixed-table-body\">\n <div class=\"fixed-table-loading\">\n ").concat(loadingTemplate, "\n </div>\n </div>\n <div class=\"fixed-table-footer\"></div>\n </div>\n ").concat(bottomPagination, "\n </div>\n "));- this.$container.insertAfter(this.$el);- this.$tableContainer = this.$container.find('.fixed-table-container');- this.$tableHeader = this.$container.find('.fixed-table-header');- this.$tableBody = this.$container.find('.fixed-table-body');- this.$tableLoading = this.$container.find('.fixed-table-loading');- this.$tableFooter = this.$el.find('tfoot');- // checking if custom table-toolbar exists or not- if (this.options.buttonsToolbar) {- this.$toolbar = $$p('body').find(this.options.buttonsToolbar);- } else {- this.$toolbar = this.$container.find('.fixed-table-toolbar');- }- this.$pagination = this.$container.find('.fixed-table-pagination');- this.$tableBody.append(this.$el);- this.$container.after('<div class="clearfix"></div>');- this.$el.addClass(this.options.classes);- this.$tableLoading.addClass(this.options.classes);- if (this.options.height) {- this.$tableContainer.addClass('fixed-height');- if (this.options.showFooter) {- this.$tableContainer.addClass('has-footer');- }- if (this.options.classes.split(' ').includes('table-bordered')) {- this.$tableBody.append('<div class="fixed-table-border"></div>');- this.$tableBorder = this.$tableBody.find('.fixed-table-border');- this.$tableLoading.addClass('fixed-table-border');- }- this.$tableFooter = this.$container.find('.fixed-table-footer');- }- }- }, {- key: "initTable",- value: function initTable() {- var _this = this;- var columns = [];- this.$header = this.$el.find('>thead');- if (!this.$header.length) {- this.$header = $$p("<thead class=\"".concat(this.options.theadClasses, "\"></thead>")).appendTo(this.$el);- } else if (this.options.theadClasses) {- this.$header.addClass(this.options.theadClasses);- }- this._headerTrClasses = [];- this._headerTrStyles = [];- this.$header.find('tr').each(function (i, el) {- var $tr = $$p(el);- var column = [];- $tr.find('th').each(function (i, el) {- var $th = $$p(el);-- // #2014: getFieldIndex and elsewhere assume this is string, causes issues if not- if (typeof $th.data('field') !== 'undefined') {- $th.data('field', "".concat($th.data('field')));- }- var _data = Object.assign({}, $th.data());- for (var key in _data) {- if ($$p.fn.bootstrapTable.columnDefaults.hasOwnProperty(key)) {- delete _data[key];- }- }- column.push(Utils.extend({}, {- _data: Utils.getRealDataAttr(_data),- title: $th.html(),- class: $th.attr('class'),- titleTooltip: $th.attr('title'),- rowspan: $th.attr('rowspan') ? +$th.attr('rowspan') : undefined,- colspan: $th.attr('colspan') ? +$th.attr('colspan') : undefined- }, $th.data()));- });- columns.push(column);- if ($tr.attr('class')) {- _this._headerTrClasses.push($tr.attr('class'));- }- if ($tr.attr('style')) {- _this._headerTrStyles.push($tr.attr('style'));- }- });- if (!Array.isArray(this.options.columns[0])) {- this.options.columns = [this.options.columns];- }- this.options.columns = Utils.extend(true, [], columns, this.options.columns);- this.columns = [];- this.fieldsColumnsIndex = [];- Utils.setFieldIndex(this.options.columns);- this.options.columns.forEach(function (columns, i) {- columns.forEach(function (_column, j) {- var column = Utils.extend({}, BootstrapTable.COLUMN_DEFAULTS, _column, {- passed: _column- });- if (typeof column.fieldIndex !== 'undefined') {- _this.columns[column.fieldIndex] = column;- _this.fieldsColumnsIndex[column.field] = column.fieldIndex;- }- _this.options.columns[i][j] = column;- });- });-- // if options.data is setting, do not process tbody and tfoot data- if (!this.options.data.length) {- var htmlData = Utils.trToData(this.columns, this.$el.find('>tbody>tr'));- if (htmlData.length) {- this.options.data = htmlData;- this.fromHtml = true;- }- }- if (!(this.options.pagination && this.options.sidePagination !== 'server')) {- this.footerData = Utils.trToData(this.columns, this.$el.find('>tfoot>tr'));- }- if (this.footerData) {- this.$el.find('tfoot').html('<tr></tr>');- }- if (!this.options.showFooter || this.options.cardView) {- this.$tableFooter.hide();- } else {- this.$tableFooter.show();- }- }- }, {- key: "initHeader",- value: function initHeader() {- var _this2 = this;- var visibleColumns = {};- var headerHtml = [];- this.header = {- fields: [],- styles: [],- classes: [],- formatters: [],- detailFormatters: [],- events: [],- sorters: [],- sortNames: [],- cellStyles: [],- searchables: []- };- Utils.updateFieldGroup(this.options.columns, this.columns);- this.options.columns.forEach(function (columns, i) {- var html = [];- html.push("<tr".concat(Utils.sprintf(' class="%s"', _this2._headerTrClasses[i]), " ").concat(Utils.sprintf(' style="%s"', _this2._headerTrStyles[i]), ">"));- var detailViewTemplate = '';- if (i === 0 && Utils.hasDetailViewIcon(_this2.options)) {- var rowspan = _this2.options.columns.length > 1 ? " rowspan=\"".concat(_this2.options.columns.length, "\"") : '';- detailViewTemplate = "<th class=\"detail\"".concat(rowspan, ">\n <div class=\"fht-cell\"></div>\n </th>");- }- if (detailViewTemplate && _this2.options.detailViewAlign !== 'right') {- html.push(detailViewTemplate);- }- columns.forEach(function (column, j) {- var class_ = Utils.sprintf(' class="%s"', column['class']);- var unitWidth = column.widthUnit;- var width = parseFloat(column.width);- var columnHalign = column.halign ? column.halign : column.align;- var halign = Utils.sprintf('text-align: %s; ', columnHalign);- var align = Utils.sprintf('text-align: %s; ', column.align);- var style = Utils.sprintf('vertical-align: %s; ', column.valign);- style += Utils.sprintf('width: %s; ', (column.checkbox || column.radio) && !width ? !column.showSelectTitle ? '36px' : undefined : width ? width + unitWidth : undefined);- if (typeof column.fieldIndex === 'undefined' && !column.visible) {- return;- }- var headerStyle = Utils.calculateObjectValue(null, _this2.options.headerStyle, [column]);- var csses = [];- var data_ = [];- var classes = '';- if (headerStyle && headerStyle.css) {- for (var _i2 = 0, _Object$entries2 = Object.entries(headerStyle.css); _i2 < _Object$entries2.length; _i2++) {- var _Object$entries2$_i = _slicedToArray(_Object$entries2[_i2], 2),- key = _Object$entries2$_i[0],- value = _Object$entries2$_i[1];- csses.push("".concat(key, ": ").concat(value));- }- }- if (headerStyle && headerStyle.classes) {- classes = Utils.sprintf(' class="%s"', column['class'] ? [column['class'], headerStyle.classes].join(' ') : headerStyle.classes);- }- if (typeof column.fieldIndex !== 'undefined') {- _this2.header.fields[column.fieldIndex] = column.field;- _this2.header.styles[column.fieldIndex] = align + style;- _this2.header.classes[column.fieldIndex] = class_;- _this2.header.formatters[column.fieldIndex] = column.formatter;- _this2.header.detailFormatters[column.fieldIndex] = column.detailFormatter;- _this2.header.events[column.fieldIndex] = column.events;- _this2.header.sorters[column.fieldIndex] = column.sorter;- _this2.header.sortNames[column.fieldIndex] = column.sortName;- _this2.header.cellStyles[column.fieldIndex] = column.cellStyle;- _this2.header.searchables[column.fieldIndex] = column.searchable;- if (!column.visible) {- return;- }- if (_this2.options.cardView && !column.cardVisible) {- return;- }- visibleColumns[column.field] = column;- }- if (Object.keys(column._data || {}).length > 0) {- for (var _i3 = 0, _Object$entries3 = Object.entries(column._data); _i3 < _Object$entries3.length; _i3++) {- var _Object$entries3$_i = _slicedToArray(_Object$entries3[_i3], 2),- k = _Object$entries3$_i[0],- v = _Object$entries3$_i[1];- data_.push("data-".concat(k, "='").concat(_typeof(v) === 'object' ? JSON.stringify(v) : v, "'"));- }- }- html.push("<th".concat(Utils.sprintf(' title="%s"', column.titleTooltip)), column.checkbox || column.radio ? Utils.sprintf(' class="bs-checkbox %s"', column['class'] || '') : classes || class_, Utils.sprintf(' style="%s"', halign + style + csses.join('; ')), Utils.sprintf(' rowspan="%s"', column.rowspan), Utils.sprintf(' colspan="%s"', column.colspan), Utils.sprintf(' data-field="%s"', column.field),- // If `column` is not the first element of `this.options.columns[0]`, then className 'data-not-first-th' should be added.- j === 0 && i > 0 ? ' data-not-first-th' : '', data_.length > 0 ? data_.join(' ') : '', '>');- html.push(Utils.sprintf('<div class="th-inner %s">', _this2.options.sortable && column.sortable ? "sortable".concat(columnHalign === 'center' ? ' sortable-center' : '', " both") : ''));- var text = _this2.options.escape && _this2.options.escapeTitle ? Utils.escapeHTML(column.title) : column.title;- var title = text;- if (column.checkbox) {- text = '';- if (!_this2.options.singleSelect && _this2.options.checkboxHeader) {- text = '<label><input name="btSelectAll" type="checkbox" /><span></span></label>';- }- _this2.header.stateField = column.field;- }- if (column.radio) {- text = '';- _this2.header.stateField = column.field;- }- if (!text && column.showSelectTitle) {- text += title;- }- html.push(text);- html.push('</div>');- html.push('<div class="fht-cell"></div>');- html.push('</div>');- html.push('</th>');- });- if (detailViewTemplate && _this2.options.detailViewAlign === 'right') {- html.push(detailViewTemplate);- }- html.push('</tr>');- if (html.length > 3) {- headerHtml.push(html.join(''));- }- });- this.$header.html(headerHtml.join(''));- this.$header.find('th[data-field]').each(function (i, el) {- $$p(el).data(visibleColumns[$$p(el).data('field')]);- });- this.$container.off('click', '.th-inner').on('click', '.th-inner', function (e) {- var $this = $$p(e.currentTarget);- if (_this2.options.detailView && !$this.parent().hasClass('bs-checkbox')) {- if ($this.closest('.bootstrap-table')[0] !== _this2.$container[0]) {- return false;- }- }- if (_this2.options.sortable && $this.parent().data().sortable) {- _this2.onSort(e);- }- });- var resizeEvent = Utils.getEventName('resize.bootstrap-table', this.$el.attr('id'));- $$p(window).off(resizeEvent);- if (!this.options.showHeader || this.options.cardView) {- this.$header.hide();- this.$tableHeader.hide();- this.$tableLoading.css('top', 0);- } else {- this.$header.show();- this.$tableHeader.show();- this.$tableLoading.css('top', this.$header.outerHeight() + 1);- // Assign the correct sortable arrow- this.getCaret();- $$p(window).on(resizeEvent, function () {- return _this2.resetView();- });- }- this.$selectAll = this.$header.find('[name="btSelectAll"]');- this.$selectAll.off('click').on('click', function (e) {- e.stopPropagation();- var checked = $$p(e.currentTarget).prop('checked');- _this2[checked ? 'checkAll' : 'uncheckAll']();- _this2.updateSelected();- });- }- }, {- key: "initData",- value: function initData(data, type) {- if (type === 'append') {- this.options.data = this.options.data.concat(data);- } else if (type === 'prepend') {- this.options.data = [].concat(data).concat(this.options.data);- } else {- data = data || Utils.deepCopy(this.options.data);- this.options.data = Array.isArray(data) ? data : data[this.options.dataField];- }- this.data = _toConsumableArray(this.options.data);- if (this.options.sortReset) {- this.unsortedData = _toConsumableArray(this.data);- }- if (this.options.sidePagination === 'server') {- return;- }- this.initSort();- }- }, {- key: "initSort",- value: function initSort() {- var _this3 = this;- var name = this.options.sortName;- var order = this.options.sortOrder === 'desc' ? -1 : 1;- var index = this.header.fields.indexOf(this.options.sortName);- var timeoutId = 0;- if (index !== -1) {- if (this.options.sortStable) {- this.data.forEach(function (row, i) {- if (!row.hasOwnProperty('_position')) {- row._position = i;- }- });- }- if (this.options.customSort) {- Utils.calculateObjectValue(this.options, this.options.customSort, [this.options.sortName, this.options.sortOrder, this.data]);- } else {- this.data.sort(function (a, b) {- if (_this3.header.sortNames[index]) {- name = _this3.header.sortNames[index];- }- var aa = Utils.getItemField(a, name, _this3.options.escape);- var bb = Utils.getItemField(b, name, _this3.options.escape);- var value = Utils.calculateObjectValue(_this3.header, _this3.header.sorters[index], [aa, bb, a, b]);- if (value !== undefined) {- if (_this3.options.sortStable && value === 0) {- return order * (a._position - b._position);- }- return order * value;- }- return Utils.sort(aa, bb, order, _this3.options, a._position, b._position);- });- }- if (this.options.sortClass !== undefined) {- clearTimeout(timeoutId);- timeoutId = setTimeout(function () {- _this3.$el.removeClass(_this3.options.sortClass);- var index = _this3.$header.find("[data-field=\"".concat(_this3.options.sortName, "\"]")).index();- _this3.$el.find("tr td:nth-child(".concat(index + 1, ")")).addClass(_this3.options.sortClass);- }, 250);- }- } else if (this.options.sortReset) {- this.data = _toConsumableArray(this.unsortedData);- }- }- }, {- key: "sortBy",- value: function sortBy(params) {- this.options.sortName = params.field;- this.options.sortOrder = params.hasOwnProperty('sortOrder') ? params.sortOrder : 'asc';- this._sort();- }- }, {- key: "onSort",- value: function onSort(_ref) {- var type = _ref.type,- currentTarget = _ref.currentTarget;- var $this = type === 'keypress' ? $$p(currentTarget) : $$p(currentTarget).parent();- var $this_ = this.$header.find('th').eq($this.index());- this.$header.add(this.$header_).find('span.order').remove();- if (this.options.sortName === $this.data('field')) {- var currentSortOrder = this.options.sortOrder;- var initialSortOrder = this.columns[this.fieldsColumnsIndex[$this.data('field')]].sortOrder || this.columns[this.fieldsColumnsIndex[$this.data('field')]].order;- if (currentSortOrder === undefined) {- this.options.sortOrder = 'asc';- } else if (currentSortOrder === 'asc') {- this.options.sortOrder = this.options.sortReset ? initialSortOrder === 'asc' ? 'desc' : undefined : 'desc';- } else if (this.options.sortOrder === 'desc') {- this.options.sortOrder = this.options.sortReset ? initialSortOrder === 'desc' ? 'asc' : undefined : 'asc';- }- if (this.options.sortOrder === undefined) {- this.options.sortName = undefined;- }- } else {- this.options.sortName = $this.data('field');- if (this.options.rememberOrder) {- this.options.sortOrder = $this.data('order') === 'asc' ? 'desc' : 'asc';- } else {- this.options.sortOrder = this.columns[this.fieldsColumnsIndex[$this.data('field')]].sortOrder || this.columns[this.fieldsColumnsIndex[$this.data('field')]].order;- }- }- $this.add($this_).data('order', this.options.sortOrder);-- // Assign the correct sortable arrow- this.getCaret();- this._sort();- }- }, {- key: "_sort",- value: function _sort() {- this.trigger('sort', this.options.sortName, this.options.sortOrder);- if (this.options.sidePagination === 'server' && this.options.serverSort) {- this.options.pageNumber = 1;- this.initServer(this.options.silentSort);- return;- }- if (this.options.pagination && this.options.sortResetPage) {- this.options.pageNumber = 1;- this.initPagination();- }- this.initSort();- this.initBody();- }- }, {- key: "initToolbar",- value: function initToolbar() {- var _this4 = this;- var opts = this.options;- var html = [];- var timeoutId = 0;- var $keepOpen;- var switchableCount = 0;- if (this.$toolbar.find('.bs-bars').children().length) {- $$p('body').append($$p(opts.toolbar));- }- this.$toolbar.html('');- if (typeof opts.toolbar === 'string' || _typeof(opts.toolbar) === 'object') {- $$p(Utils.sprintf('<div class="bs-bars %s-%s"></div>', this.constants.classes.pull, opts.toolbarAlign)).appendTo(this.$toolbar).append($$p(opts.toolbar));- }-- // showColumns, showToggle, showRefresh- html = ["<div class=\"".concat(['columns', "columns-".concat(opts.buttonsAlign), this.constants.classes.buttonsGroup, "".concat(this.constants.classes.pull, "-").concat(opts.buttonsAlign)].join(' '), "\">")];- if (typeof opts.buttonsOrder === 'string') {- opts.buttonsOrder = opts.buttonsOrder.replace(/\[|\]| |'/g, '').split(',');- }- this.buttons = Object.assign(this.buttons, {- paginationSwitch: {- text: opts.pagination ? opts.formatPaginationSwitchUp() : opts.formatPaginationSwitchDown(),- icon: opts.pagination ? opts.icons.paginationSwitchDown : opts.icons.paginationSwitchUp,- render: false,- event: this.togglePagination,- attributes: {- 'aria-label': opts.formatPaginationSwitch(),- title: opts.formatPaginationSwitch()- }- },- refresh: {- text: opts.formatRefresh(),- icon: opts.icons.refresh,- render: false,- event: this.refresh,- attributes: {- 'aria-label': opts.formatRefresh(),- title: opts.formatRefresh()- }- },- toggle: {- text: opts.formatToggleOn(),- icon: opts.icons.toggleOff,- render: false,- event: this.toggleView,- attributes: {- 'aria-label': opts.formatToggleOn(),- title: opts.formatToggleOn()- }- },- fullscreen: {- text: opts.formatFullscreen(),- icon: opts.icons.fullscreen,- render: false,- event: this.toggleFullscreen,- attributes: {- 'aria-label': opts.formatFullscreen(),- title: opts.formatFullscreen()- }- },- columns: {- render: false,- html: function html() {- var html = [];- html.push("<div class=\"keep-open ".concat(_this4.constants.classes.buttonsDropdown, "\">\n <button class=\"").concat(_this4.constants.buttonsClass, " dropdown-toggle\" type=\"button\" ").concat(_this4.constants.dataToggle, "=\"dropdown\"\n aria-label=\"").concat(opts.formatColumns(), "\" title=\"").concat(opts.formatColumns(), "\">\n ").concat(opts.showButtonIcons ? Utils.sprintf(_this4.constants.html.icon, opts.iconsPrefix, opts.icons.columns) : '', "\n ").concat(opts.showButtonText ? opts.formatColumns() : '', "\n ").concat(_this4.constants.html.dropdownCaret, "\n </button>\n ").concat(_this4.constants.html.toolbarDropdown[0]));- if (opts.showColumnsSearch) {- html.push(Utils.sprintf(_this4.constants.html.toolbarDropdownItem, Utils.sprintf('<input type="text" class="%s" name="columnsSearch" placeholder="%s" autocomplete="off">', _this4.constants.classes.input, opts.formatSearch())));- html.push(_this4.constants.html.toolbarDropdownSeparator);- }- if (opts.showColumnsToggleAll) {- var allFieldsVisible = _this4.getVisibleColumns().length === _this4.columns.filter(function (column) {- return !_this4.isSelectionColumn(column);- }).length;- html.push(Utils.sprintf(_this4.constants.html.toolbarDropdownItem, Utils.sprintf('<input type="checkbox" class="toggle-all" %s> <span>%s</span>', allFieldsVisible ? 'checked="checked"' : '', opts.formatColumnsToggleAll())));- html.push(_this4.constants.html.toolbarDropdownSeparator);- }- var visibleColumns = 0;- _this4.columns.forEach(function (column) {- if (column.visible) {- visibleColumns++;- }- });- _this4.columns.forEach(function (column, i) {- if (_this4.isSelectionColumn(column)) {- return;- }- if (opts.cardView && !column.cardVisible) {- return;- }- var checked = column.visible ? ' checked="checked"' : '';- var disabled = visibleColumns <= opts.minimumCountColumns && checked ? ' disabled="disabled"' : '';- if (column.switchable) {- html.push(Utils.sprintf(_this4.constants.html.toolbarDropdownItem, Utils.sprintf('<input type="checkbox" data-field="%s" value="%s"%s%s> <span>%s</span>', column.field, i, checked, disabled, column.switchableLabel ? column.switchableLabel : column.title)));- switchableCount++;- }- });- html.push(_this4.constants.html.toolbarDropdown[1], '</div>');- return html.join('');- }- }- });- var buttonsHtml = {};- for (var _i4 = 0, _Object$entries4 = Object.entries(this.buttons); _i4 < _Object$entries4.length; _i4++) {- var _Object$entries4$_i = _slicedToArray(_Object$entries4[_i4], 2),- buttonName = _Object$entries4$_i[0],- buttonConfig = _Object$entries4$_i[1];- var buttonHtml = void 0;- if (buttonConfig.hasOwnProperty('html')) {- if (typeof buttonConfig.html === 'function') {- buttonHtml = buttonConfig.html();- } else if (typeof buttonConfig.html === 'string') {- buttonHtml = buttonConfig.html;- }- } else {- var buttonClass = this.constants.buttonsClass;- if (buttonConfig.hasOwnProperty('attributes') && buttonConfig.attributes.class) {- buttonClass += " ".concat(buttonConfig.attributes.class);- }- buttonHtml = "<button class=\"".concat(buttonClass, "\" type=\"button\" name=\"").concat(buttonName, "\"");- if (buttonConfig.hasOwnProperty('attributes')) {- for (var _i5 = 0, _Object$entries5 = Object.entries(buttonConfig.attributes); _i5 < _Object$entries5.length; _i5++) {- var _Object$entries5$_i = _slicedToArray(_Object$entries5[_i5], 2),- attributeName = _Object$entries5$_i[0],- value = _Object$entries5$_i[1];- if (attributeName === 'class') {- continue;- }- buttonHtml += " ".concat(attributeName, "=\"").concat(value, "\"");- }- }- buttonHtml += '>';- if (opts.showButtonIcons && buttonConfig.hasOwnProperty('icon')) {- buttonHtml += "".concat(Utils.sprintf(this.constants.html.icon, opts.iconsPrefix, buttonConfig.icon), " ");- }- if (opts.showButtonText && buttonConfig.hasOwnProperty('text')) {- buttonHtml += buttonConfig.text;- }- buttonHtml += '</button>';- }- buttonsHtml[buttonName] = buttonHtml;- var optionName = "show".concat(buttonName.charAt(0).toUpperCase()).concat(buttonName.substring(1));- var showOption = opts[optionName];- if ((!buttonConfig.hasOwnProperty('render') || buttonConfig.hasOwnProperty('render') && buttonConfig.render) && (showOption === undefined || showOption === true)) {- opts[optionName] = true;- }- if (!opts.buttonsOrder.includes(buttonName)) {- opts.buttonsOrder.push(buttonName);- }- }-- // Adding the button html to the final toolbar html when the showOption is true- var _iterator = _createForOfIteratorHelper(opts.buttonsOrder),- _step;- try {- for (_iterator.s(); !(_step = _iterator.n()).done;) {- var button = _step.value;- var _showOption = opts["show".concat(button.charAt(0).toUpperCase()).concat(button.substring(1))];- if (_showOption) {- html.push(buttonsHtml[button]);- }- }- } catch (err) {- _iterator.e(err);- } finally {- _iterator.f();- }- html.push('</div>');-- // Fix #188: this.showToolbar is for extensions- if (this.showToolbar || html.length > 2) {- this.$toolbar.append(html.join(''));- }- for (var _i6 = 0, _Object$entries6 = Object.entries(this.buttons); _i6 < _Object$entries6.length; _i6++) {- var _Object$entries6$_i = _slicedToArray(_Object$entries6[_i6], 2),- _buttonName = _Object$entries6$_i[0],- _buttonConfig = _Object$entries6$_i[1];- if (_buttonConfig.hasOwnProperty('event')) {- if (typeof _buttonConfig.event === 'function' || typeof _buttonConfig.event === 'string') {- var _ret = function () {- var event = typeof _buttonConfig.event === 'string' ? window[_buttonConfig.event] : _buttonConfig.event;- _this4.$toolbar.find("button[name=\"".concat(_buttonName, "\"]")).off('click').on('click', function () {- return event.call(_this4);- });- return "continue";- }();- if (_ret === "continue") continue;- }- var _loop = function _loop() {- var _Object$entries7$_i = _slicedToArray(_Object$entries7[_i7], 2),- eventType = _Object$entries7$_i[0],- eventFunction = _Object$entries7$_i[1];- var event = typeof eventFunction === 'string' ? window[eventFunction] : eventFunction;- _this4.$toolbar.find("button[name=\"".concat(_buttonName, "\"]")).off(eventType).on(eventType, function () {- return event.call(_this4);- });- };- for (var _i7 = 0, _Object$entries7 = Object.entries(_buttonConfig.event); _i7 < _Object$entries7.length; _i7++) {- _loop();- }- }- }- if (opts.showColumns) {- $keepOpen = this.$toolbar.find('.keep-open');- var $checkboxes = $keepOpen.find('input[type="checkbox"]:not(".toggle-all")');- var $toggleAll = $keepOpen.find('input[type="checkbox"].toggle-all');- if (switchableCount <= opts.minimumCountColumns) {- $keepOpen.find('input').prop('disabled', true);- }- $keepOpen.find('li, label').off('click').on('click', function (e) {- e.stopImmediatePropagation();- });- $checkboxes.off('click').on('click', function (_ref2) {- var currentTarget = _ref2.currentTarget;- var $this = $$p(currentTarget);- _this4._toggleColumn($this.val(), $this.prop('checked'), false);- _this4.trigger('column-switch', $this.data('field'), $this.prop('checked'));- $toggleAll.prop('checked', $checkboxes.filter(':checked').length === _this4.columns.filter(function (column) {- return !_this4.isSelectionColumn(column);- }).length);- });- $toggleAll.off('click').on('click', function (_ref3) {- var currentTarget = _ref3.currentTarget;- _this4._toggleAllColumns($$p(currentTarget).prop('checked'));- _this4.trigger('column-switch-all', $$p(currentTarget).prop('checked'));- });- if (opts.showColumnsSearch) {- var $columnsSearch = $keepOpen.find('[name="columnsSearch"]');- var $listItems = $keepOpen.find('.dropdown-item-marker');- $columnsSearch.on('keyup paste change', function (_ref4) {- var currentTarget = _ref4.currentTarget;- var $this = $$p(currentTarget);- var searchValue = $this.val().toLowerCase();- $listItems.show();- $checkboxes.each(function (i, el) {- var $checkbox = $$p(el);- var $listItem = $checkbox.parents('.dropdown-item-marker');- var text = $listItem.text().toLowerCase();- if (!text.includes(searchValue)) {- $listItem.hide();- }- });- });- }- }- var handleInputEvent = function handleInputEvent($searchInput) {- var eventTriggers = $searchInput.is('select') ? 'change' : 'keyup drop blur mouseup';- $searchInput.off(eventTriggers).on(eventTriggers, function (event) {- if (opts.searchOnEnterKey && event.keyCode !== 13) {- return;- }- if ([37, 38, 39, 40].includes(event.keyCode)) {- return;- }- clearTimeout(timeoutId); // doesn't matter if it's 0- timeoutId = setTimeout(function () {- _this4.onSearch({- currentTarget: event.currentTarget- });- }, opts.searchTimeOut);- });- };-- // Fix #4516: this.showSearchClearButton is for extensions- if ((opts.search || this.showSearchClearButton) && typeof opts.searchSelector !== 'string') {- html = [];- var showSearchButton = Utils.sprintf(this.constants.html.searchButton, this.constants.buttonsClass, opts.formatSearch(), opts.showButtonIcons ? Utils.sprintf(this.constants.html.icon, opts.iconsPrefix, opts.icons.search) : '', opts.showButtonText ? opts.formatSearch() : '');- var showSearchClearButton = Utils.sprintf(this.constants.html.searchClearButton, this.constants.buttonsClass, opts.formatClearSearch(), opts.showButtonIcons ? Utils.sprintf(this.constants.html.icon, opts.iconsPrefix, opts.icons.clearSearch) : '', opts.showButtonText ? opts.formatClearSearch() : '');- var searchInputHtml = "<input class=\"".concat(this.constants.classes.input, "\n ").concat(Utils.sprintf(' %s%s', this.constants.classes.inputPrefix, opts.iconSize), "\n search-input\" type=\"search\" aria-label=\"").concat(opts.formatSearch(), "\" placeholder=\"").concat(opts.formatSearch(), "\" autocomplete=\"off\">");- var searchInputFinalHtml = searchInputHtml;- if (opts.showSearchButton || opts.showSearchClearButton) {- var _buttonsHtml = (opts.showSearchButton ? showSearchButton : '') + (opts.showSearchClearButton ? showSearchClearButton : '');- searchInputFinalHtml = opts.search ? Utils.sprintf(this.constants.html.inputGroup, searchInputHtml, _buttonsHtml) : _buttonsHtml;- }- html.push(Utils.sprintf("\n <div class=\"".concat(this.constants.classes.pull, "-").concat(opts.searchAlign, " search ").concat(this.constants.classes.inputGroup, "\">\n %s\n </div>\n "), searchInputFinalHtml));- this.$toolbar.append(html.join(''));- var $searchInput = Utils.getSearchInput(this);- if (opts.showSearchButton) {- this.$toolbar.find('.search button[name=search]').off('click').on('click', function () {- clearTimeout(timeoutId); // doesn't matter if it's 0- timeoutId = setTimeout(function () {- _this4.onSearch({- currentTarget: $searchInput- });- }, opts.searchTimeOut);- });- if (opts.searchOnEnterKey) {- handleInputEvent($searchInput);- }- } else {- handleInputEvent($searchInput);- }- if (opts.showSearchClearButton) {- this.$toolbar.find('.search button[name=clearSearch]').click(function () {- _this4.resetSearch();- });- }- } else if (typeof opts.searchSelector === 'string') {- var _$searchInput = Utils.getSearchInput(this);- handleInputEvent(_$searchInput);- }- }- }, {- key: "onSearch",- value: function onSearch() {- var _ref5 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},- currentTarget = _ref5.currentTarget,- firedByInitSearchText = _ref5.firedByInitSearchText;- var overwriteSearchText = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;- if (currentTarget !== undefined && $$p(currentTarget).length && overwriteSearchText) {- var text = $$p(currentTarget).val().trim();- if (this.options.trimOnSearch && $$p(currentTarget).val() !== text) {- $$p(currentTarget).val(text);- }- if (this.searchText === text) {- return;- }- var $searchInput = Utils.getSearchInput(this);- var $currentTarget = currentTarget instanceof jQuery ? currentTarget : $$p(currentTarget);- if ($currentTarget.is($searchInput) || $currentTarget.hasClass('search-input')) {- this.searchText = text;- this.options.searchText = text;- }- }- if (!firedByInitSearchText) {- this.options.pageNumber = 1;- }- this.initSearch();- if (firedByInitSearchText) {- if (this.options.sidePagination === 'client') {- this.updatePagination();- }- } else {- this.updatePagination();- }- this.trigger('search', this.searchText);- }- }, {- key: "initSearch",- value: function initSearch() {- var _this5 = this;- this.filterOptions = this.filterOptions || this.options.filterOptions;- if (this.options.sidePagination !== 'server') {- if (this.options.customSearch) {- this.data = Utils.calculateObjectValue(this.options, this.options.customSearch, [this.options.data, this.searchText, this.filterColumns]);- if (this.options.sortReset) {- this.unsortedData = _toConsumableArray(this.data);- }- this.initSort();- return;- }- var rawSearchText = this.searchText && (this.fromHtml ? Utils.escapeHTML(this.searchText) : this.searchText);- var searchText = rawSearchText ? rawSearchText.toLowerCase() : '';- var f = Utils.isEmptyObject(this.filterColumns) ? null : this.filterColumns;- if (this.options.searchAccentNeutralise) {- searchText = Utils.normalizeAccent(searchText);- }-- // Check filter- if (typeof this.filterOptions.filterAlgorithm === 'function') {- this.data = this.options.data.filter(function (item) {- return _this5.filterOptions.filterAlgorithm.apply(null, [item, f]);- });- } else if (typeof this.filterOptions.filterAlgorithm === 'string') {- this.data = f ? this.options.data.filter(function (item) {- var filterAlgorithm = _this5.filterOptions.filterAlgorithm;- if (filterAlgorithm === 'and') {- for (var key in f) {- if (Array.isArray(f[key]) && !f[key].includes(item[key]) || !Array.isArray(f[key]) && item[key] !== f[key]) {- return false;- }- }- } else if (filterAlgorithm === 'or') {- var match = false;- for (var _key in f) {- if (Array.isArray(f[_key]) && f[_key].includes(item[_key]) || !Array.isArray(f[_key]) && item[_key] === f[_key]) {- match = true;- }- }- return match;- }- return true;- }) : _toConsumableArray(this.options.data);- }- var visibleFields = this.getVisibleFields();- this.data = searchText ? this.data.filter(function (item, i) {- for (var j = 0; j < _this5.header.fields.length; j++) {- if (!_this5.header.searchables[j] || _this5.options.visibleSearch && visibleFields.indexOf(_this5.header.fields[j]) === -1) {- continue;- }- var key = Utils.isNumeric(_this5.header.fields[j]) ? parseInt(_this5.header.fields[j], 10) : _this5.header.fields[j];- var column = _this5.columns[_this5.fieldsColumnsIndex[key]];- var value = void 0;- if (typeof key === 'string') {- value = item;- var props = key.split('.');- for (var _i8 = 0; _i8 < props.length; _i8++) {- if (value[props[_i8]] !== null) {- value = value[props[_i8]];- } else {- value = null;- break;- }- }- } else {- value = item[key];- }- if (_this5.options.searchAccentNeutralise) {- value = Utils.normalizeAccent(value);- }-- // Fix #142: respect searchFormatter boolean- if (column && column.searchFormatter) {- value = Utils.calculateObjectValue(column, _this5.header.formatters[j], [value, item, i, column.field], value);- }- if (typeof value === 'string' || typeof value === 'number') {- if (_this5.options.strictSearch && "".concat(value).toLowerCase() === searchText || _this5.options.regexSearch && Utils.regexCompare(value, rawSearchText)) {- return true;- }- var largerSmallerEqualsRegex = /(?:(<=|=>|=<|>=|>|<)(?:\s+)?(-?\d+)?|(-?\d+)?(\s+)?(<=|=>|=<|>=|>|<))/gm;- var matches = largerSmallerEqualsRegex.exec(_this5.searchText);- var comparisonCheck = false;- if (matches) {- var operator = matches[1] || "".concat(matches[5], "l");- var comparisonValue = matches[2] || matches[3];- var int = parseInt(value, 10);- var comparisonInt = parseInt(comparisonValue, 10);- switch (operator) {- case '>':- case '<l':- comparisonCheck = int > comparisonInt;- break;- case '<':- case '>l':- comparisonCheck = int < comparisonInt;- break;- case '<=':- case '=<':- case '>=l':- case '=>l':- comparisonCheck = int <= comparisonInt;- break;- case '>=':- case '=>':- case '<=l':- case '=<l':- comparisonCheck = int >= comparisonInt;- break;- }- }- if (comparisonCheck || "".concat(value).toLowerCase().includes(searchText)) {- return true;- }- }- }- return false;- }) : this.data;- if (this.options.sortReset) {- this.unsortedData = _toConsumableArray(this.data);- }- this.initSort();- }- }- }, {- key: "initPagination",- value: function initPagination() {- var _this6 = this;- var opts = this.options;- if (!opts.pagination) {- this.$pagination.hide();- return;- }- this.$pagination.show();- var html = [];- var allSelected = false;- var i;- var from;- var to;- var $pageList;- var $pre;- var $next;- var $number;- var data = this.getData({- includeHiddenRows: false- });- var pageList = opts.pageList;- if (typeof pageList === 'string') {- pageList = pageList.replace(/\[|\]| /g, '').toLowerCase().split(',');- }- pageList = pageList.map(function (value) {- if (typeof value === 'string') {- return value.toLowerCase() === opts.formatAllRows().toLowerCase() || ['all', 'unlimited'].includes(value.toLowerCase()) ? opts.formatAllRows() : +value;- }- return value;- });- this.paginationParts = opts.paginationParts;- if (typeof this.paginationParts === 'string') {- this.paginationParts = this.paginationParts.replace(/\[|\]| |'/g, '').split(',');- }- if (opts.sidePagination !== 'server') {- opts.totalRows = data.length;- }- this.totalPages = 0;- if (opts.totalRows) {- if (opts.pageSize === opts.formatAllRows()) {- opts.pageSize = opts.totalRows;- allSelected = true;- }- this.totalPages = ~~((opts.totalRows - 1) / opts.pageSize) + 1;- opts.totalPages = this.totalPages;- }- if (this.totalPages > 0 && opts.pageNumber > this.totalPages) {- opts.pageNumber = this.totalPages;- }- this.pageFrom = (opts.pageNumber - 1) * opts.pageSize + 1;- this.pageTo = opts.pageNumber * opts.pageSize;- if (this.pageTo > opts.totalRows) {- this.pageTo = opts.totalRows;- }- if (this.options.pagination && this.options.sidePagination !== 'server') {- this.options.totalNotFiltered = this.options.data.length;- }- if (!this.options.showExtendedPagination) {- this.options.totalNotFiltered = undefined;- }- if (this.paginationParts.includes('pageInfo') || this.paginationParts.includes('pageInfoShort') || this.paginationParts.includes('pageSize')) {- html.push("<div class=\"".concat(this.constants.classes.pull, "-").concat(opts.paginationDetailHAlign, " pagination-detail\">"));- }- if (this.paginationParts.includes('pageInfo') || this.paginationParts.includes('pageInfoShort')) {- var paginationInfo = this.paginationParts.includes('pageInfoShort') ? opts.formatDetailPagination(opts.totalRows) : opts.formatShowingRows(this.pageFrom, this.pageTo, opts.totalRows, opts.totalNotFiltered);- html.push("<span class=\"pagination-info\">\n ".concat(paginationInfo, "\n </span>"));- }- if (this.paginationParts.includes('pageSize')) {- html.push('<div class="page-list">');- var pageNumber = ["<div class=\"".concat(this.constants.classes.paginationDropdown, "\">\n <button class=\"").concat(this.constants.buttonsClass, " dropdown-toggle\" type=\"button\" ").concat(this.constants.dataToggle, "=\"dropdown\">\n <span class=\"page-size\">\n ").concat(allSelected ? opts.formatAllRows() : opts.pageSize, "\n </span>\n ").concat(this.constants.html.dropdownCaret, "\n </button>\n ").concat(this.constants.html.pageDropdown[0])];- pageList.forEach(function (page, i) {- if (!opts.smartDisplay || i === 0 || pageList[i - 1] < opts.totalRows || page === opts.formatAllRows()) {- var active;- if (allSelected) {- active = page === opts.formatAllRows() ? _this6.constants.classes.dropdownActive : '';- } else {- active = page === opts.pageSize ? _this6.constants.classes.dropdownActive : '';- }- pageNumber.push(Utils.sprintf(_this6.constants.html.pageDropdownItem, active, page));- }- });- pageNumber.push("".concat(this.constants.html.pageDropdown[1], "</div>"));- html.push(opts.formatRecordsPerPage(pageNumber.join('')));- }- if (this.paginationParts.includes('pageInfo') || this.paginationParts.includes('pageInfoShort') || this.paginationParts.includes('pageSize')) {- html.push('</div></div>');- }- if (this.paginationParts.includes('pageList')) {- html.push("<div class=\"".concat(this.constants.classes.pull, "-").concat(opts.paginationHAlign, " pagination\">"), Utils.sprintf(this.constants.html.pagination[0], Utils.sprintf(' pagination-%s', opts.iconSize)), Utils.sprintf(this.constants.html.paginationItem, ' page-pre', opts.formatSRPaginationPreText(), opts.paginationPreText));- if (this.totalPages < opts.paginationSuccessivelySize) {- from = 1;- to = this.totalPages;- } else {- from = opts.pageNumber - opts.paginationPagesBySide;- to = from + opts.paginationPagesBySide * 2;- }- if (opts.pageNumber < opts.paginationSuccessivelySize - 1) {- to = opts.paginationSuccessivelySize;- }- if (opts.paginationSuccessivelySize > this.totalPages - from) {- from = from - (opts.paginationSuccessivelySize - (this.totalPages - from)) + 1;- }- if (from < 1) {- from = 1;- }- if (to > this.totalPages) {- to = this.totalPages;- }- var middleSize = Math.round(opts.paginationPagesBySide / 2);- var pageItem = function pageItem(i) {- var classes = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';- return Utils.sprintf(_this6.constants.html.paginationItem, classes + (i === opts.pageNumber ? " ".concat(_this6.constants.classes.paginationActive) : ''), opts.formatSRPaginationPageText(i), i);- };- if (from > 1) {- var max = opts.paginationPagesBySide;- if (max >= from) max = from - 1;- for (i = 1; i <= max; i++) {- html.push(pageItem(i));- }- if (from - 1 === max + 1) {- i = from - 1;- html.push(pageItem(i));- } else if (from - 1 > max) {- if (from - opts.paginationPagesBySide * 2 > opts.paginationPagesBySide && opts.paginationUseIntermediate) {- i = Math.round((from - middleSize) / 2 + middleSize);- html.push(pageItem(i, ' page-intermediate'));- } else {- html.push(Utils.sprintf(this.constants.html.paginationItem, ' page-first-separator disabled', '', '...'));- }- }- }- for (i = from; i <= to; i++) {- html.push(pageItem(i));- }- if (this.totalPages > to) {- var min = this.totalPages - (opts.paginationPagesBySide - 1);- if (to >= min) min = to + 1;- if (to + 1 === min - 1) {- i = to + 1;- html.push(pageItem(i));- } else if (min > to + 1) {- if (this.totalPages - to > opts.paginationPagesBySide * 2 && opts.paginationUseIntermediate) {- i = Math.round((this.totalPages - middleSize - to) / 2 + to);- html.push(pageItem(i, ' page-intermediate'));- } else {- html.push(Utils.sprintf(this.constants.html.paginationItem, ' page-last-separator disabled', '', '...'));- }- }- for (i = min; i <= this.totalPages; i++) {- html.push(pageItem(i));- }- }- html.push(Utils.sprintf(this.constants.html.paginationItem, ' page-next', opts.formatSRPaginationNextText(), opts.paginationNextText));- html.push(this.constants.html.pagination[1], '</div>');- }- this.$pagination.html(html.join(''));- var dropupClass = ['bottom', 'both'].includes(opts.paginationVAlign) ? " ".concat(this.constants.classes.dropup) : '';- this.$pagination.last().find('.page-list > div').addClass(dropupClass);- if (!opts.onlyInfoPagination) {- $pageList = this.$pagination.find('.page-list a');- $pre = this.$pagination.find('.page-pre');- $next = this.$pagination.find('.page-next');- $number = this.$pagination.find('.page-item').not('.page-next, .page-pre, .page-last-separator, .page-first-separator');- if (this.totalPages <= 1) {- this.$pagination.find('div.pagination').hide();- }- if (opts.smartDisplay) {- if (pageList.length < 2 || opts.totalRows <= pageList[0]) {- this.$pagination.find('div.page-list').hide();- }- }-- // when data is empty, hide the pagination- this.$pagination[this.getData().length ? 'show' : 'hide']();- if (!opts.paginationLoop) {- if (opts.pageNumber === 1) {- $pre.addClass('disabled');- }- if (opts.pageNumber === this.totalPages) {- $next.addClass('disabled');- }- }- if (allSelected) {- opts.pageSize = opts.formatAllRows();- }- // removed the events for last and first, onPageNumber executeds the same logic- $pageList.off('click').on('click', function (e) {- return _this6.onPageListChange(e);- });- $pre.off('click').on('click', function (e) {- return _this6.onPagePre(e);- });- $next.off('click').on('click', function (e) {- return _this6.onPageNext(e);- });- $number.off('click').on('click', function (e) {- return _this6.onPageNumber(e);- });- }- }- }, {- key: "updatePagination",- value: function updatePagination(event) {- // Fix #171: IE disabled button can be clicked bug.- if (event && $$p(event.currentTarget).hasClass('disabled')) {- return;- }- if (!this.options.maintainMetaData) {- this.resetRows();- }- this.initPagination();- this.trigger('page-change', this.options.pageNumber, this.options.pageSize);- if (this.options.sidePagination === 'server') {- this.initServer();- } else {- this.initBody();- }- }- }, {- key: "onPageListChange",- value: function onPageListChange(event) {- event.preventDefault();- var $this = $$p(event.currentTarget);- $this.parent().addClass(this.constants.classes.dropdownActive).siblings().removeClass(this.constants.classes.dropdownActive);- this.options.pageSize = $this.text().toUpperCase() === this.options.formatAllRows().toUpperCase() ? this.options.formatAllRows() : +$this.text();- this.$toolbar.find('.page-size').text(this.options.pageSize);- this.updatePagination(event);- return false;- }- }, {- key: "onPagePre",- value: function onPagePre(event) {- if ($$p(event.target).hasClass('disabled')) {- return;- }- event.preventDefault();- if (this.options.pageNumber - 1 === 0) {- this.options.pageNumber = this.options.totalPages;- } else {- this.options.pageNumber--;- }- this.updatePagination(event);- return false;- }- }, {- key: "onPageNext",- value: function onPageNext(event) {- if ($$p(event.target).hasClass('disabled')) {- return;- }- event.preventDefault();- if (this.options.pageNumber + 1 > this.options.totalPages) {- this.options.pageNumber = 1;- } else {- this.options.pageNumber++;- }- this.updatePagination(event);- return false;- }- }, {- key: "onPageNumber",- value: function onPageNumber(event) {- event.preventDefault();- if (this.options.pageNumber === +$$p(event.currentTarget).text()) {- return;- }- this.options.pageNumber = +$$p(event.currentTarget).text();- this.updatePagination(event);- return false;- }-- // eslint-disable-next-line no-unused-vars- }, {- key: "initRow",- value: function initRow(item, i, data, trFragments) {- var _this7 = this;- var html = [];- var style = {};- var csses = [];- var data_ = '';- var attributes = {};- var htmlAttributes = [];- if (Utils.findIndex(this.hiddenRows, item) > -1) {- return;- }- style = Utils.calculateObjectValue(this.options, this.options.rowStyle, [item, i], style);- if (style && style.css) {- for (var _i9 = 0, _Object$entries8 = Object.entries(style.css); _i9 < _Object$entries8.length; _i9++) {- var _Object$entries8$_i = _slicedToArray(_Object$entries8[_i9], 2),- key = _Object$entries8$_i[0],- value = _Object$entries8$_i[1];- csses.push("".concat(key, ": ").concat(value));- }- }- attributes = Utils.calculateObjectValue(this.options, this.options.rowAttributes, [item, i], attributes);- if (attributes) {- for (var _i10 = 0, _Object$entries9 = Object.entries(attributes); _i10 < _Object$entries9.length; _i10++) {- var _Object$entries9$_i = _slicedToArray(_Object$entries9[_i10], 2),- _key2 = _Object$entries9$_i[0],- _value = _Object$entries9$_i[1];- htmlAttributes.push("".concat(_key2, "=\"").concat(Utils.escapeHTML(_value), "\""));- }- }- if (item._data && !Utils.isEmptyObject(item._data)) {- for (var _i11 = 0, _Object$entries10 = Object.entries(item._data); _i11 < _Object$entries10.length; _i11++) {- var _Object$entries10$_i = _slicedToArray(_Object$entries10[_i11], 2),- k = _Object$entries10$_i[0],- v = _Object$entries10$_i[1];- // ignore data-index- if (k === 'index') {- return;- }- data_ += " data-".concat(k, "='").concat(_typeof(v) === 'object' ? JSON.stringify(v) : v, "'");- }- }- html.push('<tr', Utils.sprintf(' %s', htmlAttributes.length ? htmlAttributes.join(' ') : undefined), Utils.sprintf(' id="%s"', Array.isArray(item) ? undefined : item._id), Utils.sprintf(' class="%s"', style.classes || (Array.isArray(item) ? undefined : item._class)), Utils.sprintf(' style="%s"', Array.isArray(item) ? undefined : item._style), " data-index=\"".concat(i, "\""), Utils.sprintf(' data-uniqueid="%s"', Utils.getItemField(item, this.options.uniqueId, false)), Utils.sprintf(' data-has-detail-view="%s"', this.options.detailView && Utils.calculateObjectValue(null, this.options.detailFilter, [i, item]) ? 'true' : undefined), Utils.sprintf('%s', data_), '>');- if (this.options.cardView) {- html.push("<td colspan=\"".concat(this.header.fields.length, "\"><div class=\"card-views\">"));- }- var detailViewTemplate = '';- if (Utils.hasDetailViewIcon(this.options)) {- detailViewTemplate = '<td>';- if (Utils.calculateObjectValue(null, this.options.detailFilter, [i, item])) {- detailViewTemplate += "\n <a class=\"detail-icon\" href=\"#\">\n ".concat(Utils.sprintf(this.constants.html.icon, this.options.iconsPrefix, this.options.icons.detailOpen), "\n </a>\n ");- }- detailViewTemplate += '</td>';- }- if (detailViewTemplate && this.options.detailViewAlign !== 'right') {- html.push(detailViewTemplate);- }- this.header.fields.forEach(function (field, j) {- var column = _this7.columns[j];- var text = '';- var value_ = Utils.getItemField(item, field, _this7.options.escape, column.escape);- var value = '';- var type = '';- var cellStyle = {};- var id_ = '';- var class_ = _this7.header.classes[j];- var style_ = '';- var styleToAdd_ = '';- var data_ = '';- var rowspan_ = '';- var colspan_ = '';- var title_ = '';- if ((_this7.fromHtml || _this7.autoMergeCells) && typeof value_ === 'undefined') {- if (!column.checkbox && !column.radio) {- return;- }- }- if (!column.visible) {- return;- }- if (_this7.options.cardView && !column.cardVisible) {- return;- }-- // Style concat- if (csses.concat([_this7.header.styles[j]]).length) {- styleToAdd_ += "".concat(csses.concat([_this7.header.styles[j]]).join('; '));- }- if (item["_".concat(field, "_style")]) {- styleToAdd_ += "".concat(item["_".concat(field, "_style")]);- }- if (styleToAdd_) {- style_ = " style=\"".concat(styleToAdd_, "\"");- }- // Style concat-- // handle id and class of td- if (item["_".concat(field, "_id")]) {- id_ = Utils.sprintf(' id="%s"', item["_".concat(field, "_id")]);- }- if (item["_".concat(field, "_class")]) {- class_ = Utils.sprintf(' class="%s"', item["_".concat(field, "_class")]);- }- if (item["_".concat(field, "_rowspan")]) {- rowspan_ = Utils.sprintf(' rowspan="%s"', item["_".concat(field, "_rowspan")]);- }- if (item["_".concat(field, "_colspan")]) {- colspan_ = Utils.sprintf(' colspan="%s"', item["_".concat(field, "_colspan")]);- }- if (item["_".concat(field, "_title")]) {- title_ = Utils.sprintf(' title="%s"', item["_".concat(field, "_title")]);- }- cellStyle = Utils.calculateObjectValue(_this7.header, _this7.header.cellStyles[j], [value_, item, i, field], cellStyle);- if (cellStyle.classes) {- class_ = " class=\"".concat(cellStyle.classes, "\"");- }- if (cellStyle.css) {- var csses_ = [];- for (var _i12 = 0, _Object$entries11 = Object.entries(cellStyle.css); _i12 < _Object$entries11.length; _i12++) {- var _Object$entries11$_i = _slicedToArray(_Object$entries11[_i12], 2),- _key3 = _Object$entries11$_i[0],- _value2 = _Object$entries11$_i[1];- csses_.push("".concat(_key3, ": ").concat(_value2));- }- style_ = " style=\"".concat(csses_.concat(_this7.header.styles[j]).join('; '), "\"");- }- value = Utils.calculateObjectValue(column, _this7.header.formatters[j], [value_, item, i, field], value_);- if (!(column.checkbox || column.radio)) {- value = typeof value === 'undefined' || value === null ? _this7.options.undefinedText : value;- }- if (column.searchable && _this7.searchText && _this7.options.searchHighlight && !(column.checkbox || column.radio)) {- var defValue = '';- var searchText = _this7.searchText.replace(/[.*+?^${}()|[\]\\]/g, '\\$&');- if (_this7.options.searchAccentNeutralise) {- var indexRegex = new RegExp("".concat(Utils.normalizeAccent(searchText)), 'gmi');- var match = indexRegex.exec(Utils.normalizeAccent(value));- if (match) {- searchText = value.substring(match.index, match.index + searchText.length);- }- }- var regExp = new RegExp("(".concat(searchText, ")"), 'gim');- var marker = '<mark>$1</mark>';- var isHTML = value && /<(?=.*? .*?\/ ?>|br|hr|input|!--|wbr)[a-z]+.*?>|<([a-z]+).*?<\/\1>/i.test(value);- if (isHTML) {- // value can contains a HTML tags- var textContent = new DOMParser().parseFromString(value.toString(), 'text/html').documentElement.textContent;- var textReplaced = textContent.replace(regExp, marker);- textContent = textContent.replace(/[.*+?^${}()|[\]\\]/g, '\\$&');- defValue = value.replace(new RegExp("(>\\s*)(".concat(textContent, ")(\\s*)"), 'gm'), "$1".concat(textReplaced, "$3"));- } else {- // but usually not- defValue = value.toString().replace(regExp, marker);- }- value = Utils.calculateObjectValue(column, column.searchHighlightFormatter, [value, _this7.searchText], defValue);- }- if (item["_".concat(field, "_data")] && !Utils.isEmptyObject(item["_".concat(field, "_data")])) {- for (var _i13 = 0, _Object$entries12 = Object.entries(item["_".concat(field, "_data")]); _i13 < _Object$entries12.length; _i13++) {- var _Object$entries12$_i = _slicedToArray(_Object$entries12[_i13], 2),- _k = _Object$entries12$_i[0],- _v = _Object$entries12$_i[1];- // ignore data-index- if (_k === 'index') {- return;- }- data_ += " data-".concat(_k, "=\"").concat(_v, "\"");- }- }- if (column.checkbox || column.radio) {- type = column.checkbox ? 'checkbox' : type;- type = column.radio ? 'radio' : type;- var c = column['class'] || '';- var isChecked = Utils.isObject(value) && value.hasOwnProperty('checked') ? value.checked : (value === true || value_) && value !== false;- var isDisabled = !column.checkboxEnabled || value && value.disabled;- text = [_this7.options.cardView ? "<div class=\"card-view ".concat(c, "\">") : "<td class=\"bs-checkbox ".concat(c, "\"").concat(class_).concat(style_, ">"), "<label>\n <input\n data-index=\"".concat(i, "\"\n name=\"").concat(_this7.options.selectItemName, "\"\n type=\"").concat(type, "\"\n ").concat(Utils.sprintf('value="%s"', item[_this7.options.idField]), "\n ").concat(Utils.sprintf('checked="%s"', isChecked ? 'checked' : undefined), "\n ").concat(Utils.sprintf('disabled="%s"', isDisabled ? 'disabled' : undefined), " />\n <span></span>\n </label>"), _this7.header.formatters[j] && typeof value === 'string' ? value : '', _this7.options.cardView ? '</div>' : '</td>'].join('');- item[_this7.header.stateField] = value === true || !!value_ || value && value.checked;- } else if (_this7.options.cardView) {- var cardTitle = _this7.options.showHeader ? "<span class=\"card-view-title ".concat(cellStyle.classes || '', "\"").concat(style_, ">").concat(Utils.getFieldTitle(_this7.columns, field), "</span>") : '';- text = "<div class=\"card-view\">".concat(cardTitle, "<span class=\"card-view-value ").concat(cellStyle.classes || '', "\"").concat(style_, ">").concat(value, "</span></div>");- if (_this7.options.smartDisplay && value === '') {- text = '<div class="card-view"></div>';- }- } else {- text = "<td".concat(id_).concat(class_).concat(style_).concat(data_).concat(rowspan_).concat(colspan_).concat(title_, ">").concat(value, "</td>");- }- html.push(text);- });- if (detailViewTemplate && this.options.detailViewAlign === 'right') {- html.push(detailViewTemplate);- }- if (this.options.cardView) {- html.push('</div></td>');- }- html.push('</tr>');- return html.join('');- }- }, {- key: "initBody",- value: function initBody(fixedScroll, updatedUid) {- var _this8 = this;- var data = this.getData();- this.trigger('pre-body', data);- this.$body = this.$el.find('>tbody');- if (!this.$body.length) {- this.$body = $$p('<tbody></tbody>').appendTo(this.$el);- }-- // Fix #389 Bootstrap-table-flatJSON is not working- if (!this.options.pagination || this.options.sidePagination === 'server') {- this.pageFrom = 1;- this.pageTo = data.length;- }- var rows = [];- var trFragments = $$p(document.createDocumentFragment());- var hasTr = false;- var toExpand = [];- this.autoMergeCells = Utils.checkAutoMergeCells(data.slice(this.pageFrom - 1, this.pageTo));- for (var i = this.pageFrom - 1; i < this.pageTo; i++) {- var item = data[i];- var tr = this.initRow(item, i, data, trFragments);- hasTr = hasTr || !!tr;- if (tr && typeof tr === 'string') {- var uniqueId = this.options.uniqueId;- if (uniqueId && item.hasOwnProperty(uniqueId)) {- var itemUniqueId = item[uniqueId];- var oldTr = this.$body.find(Utils.sprintf('> tr[data-uniqueid="%s"][data-has-detail-view]', itemUniqueId));- var oldTrNext = oldTr.next();- if (oldTrNext.is('tr.detail-view')) {- toExpand.push(i);- if (!updatedUid || itemUniqueId !== updatedUid) {- tr += oldTrNext[0].outerHTML;- }- }- }- if (!this.options.virtualScroll) {- trFragments.append(tr);- } else {- rows.push(tr);- }- }- }-- // show no records- if (!hasTr) {- this.$body.html("<tr class=\"no-records-found\">".concat(Utils.sprintf('<td colspan="%s">%s</td>', this.getVisibleFields().length + Utils.getDetailViewIndexOffset(this.options), this.options.formatNoMatches()), "</tr>"));- } else if (!this.options.virtualScroll) {- this.$body.html(trFragments);- } else {- if (this.virtualScroll) {- this.virtualScroll.destroy();- }- this.virtualScroll = new VirtualScroll({- rows: rows,- fixedScroll: fixedScroll,- scrollEl: this.$tableBody[0],- contentEl: this.$body[0],- itemHeight: this.options.virtualScrollItemHeight,- callback: function callback(startIndex, endIndex) {- _this8.fitHeader();- _this8.initBodyEvent();- _this8.trigger('virtual-scroll', startIndex, endIndex);- }- });- }- toExpand.forEach(function (index) {- _this8.expandRow(index);- });- if (!fixedScroll) {- this.scrollTo(0);- }- this.initBodyEvent();- this.initFooter();- this.resetView();- this.updateSelected();- if (this.options.sidePagination !== 'server') {- this.options.totalRows = data.length;- }- this.trigger('post-body', data);- }- }, {- key: "initBodyEvent",- value: function initBodyEvent() {- var _this9 = this;- // click to select by column- this.$body.find('> tr[data-index] > td').off('click dblclick').on('click dblclick', function (e) {- var $td = $$p(e.currentTarget);- if ($td.find('.detail-icon').length || $td.index() - Utils.getDetailViewIndexOffset(_this9.options) < 0) {- return;- }- var $tr = $td.parent();- var $cardViewArr = $$p(e.target).parents('.card-views').children();- var $cardViewTarget = $$p(e.target).parents('.card-view');- var rowIndex = $tr.data('index');- var item = _this9.data[rowIndex];- var index = _this9.options.cardView ? $cardViewArr.index($cardViewTarget) : $td[0].cellIndex;- var fields = _this9.getVisibleFields();- var field = fields[index - Utils.getDetailViewIndexOffset(_this9.options)];- var column = _this9.columns[_this9.fieldsColumnsIndex[field]];- var value = Utils.getItemField(item, field, _this9.options.escape, column.escape);- _this9.trigger(e.type === 'click' ? 'click-cell' : 'dbl-click-cell', field, value, item, $td);- _this9.trigger(e.type === 'click' ? 'click-row' : 'dbl-click-row', item, $tr, field);-- // if click to select - then trigger the checkbox/radio click- if (e.type === 'click' && _this9.options.clickToSelect && column.clickToSelect && !Utils.calculateObjectValue(_this9.options, _this9.options.ignoreClickToSelectOn, [e.target])) {- var $selectItem = $tr.find(Utils.sprintf('[name="%s"]', _this9.options.selectItemName));- if ($selectItem.length) {- $selectItem[0].click();- }- }- if (e.type === 'click' && _this9.options.detailViewByClick) {- _this9.toggleDetailView(rowIndex, _this9.header.detailFormatters[_this9.fieldsColumnsIndex[field]]);- }- }).off('mousedown').on('mousedown', function (e) {- // https://github.com/jquery/jquery/issues/1741- _this9.multipleSelectRowCtrlKey = e.ctrlKey || e.metaKey;- _this9.multipleSelectRowShiftKey = e.shiftKey;- });- this.$body.find('> tr[data-index] > td > .detail-icon').off('click').on('click', function (e) {- e.preventDefault();- _this9.toggleDetailView($$p(e.currentTarget).parent().parent().data('index'));- return false;- });- this.$selectItem = this.$body.find(Utils.sprintf('[name="%s"]', this.options.selectItemName));- this.$selectItem.off('click').on('click', function (e) {- e.stopImmediatePropagation();- var $this = $$p(e.currentTarget);- _this9._toggleCheck($this.prop('checked'), $this.data('index'));- });- this.header.events.forEach(function (_events, i) {- var events = _events;- if (!events) {- return;- }- // fix bug, if events is defined with namespace- if (typeof events === 'string') {- events = Utils.calculateObjectValue(null, events);- }- if (!events) {- throw new Error("Unknown event in the scope: ".concat(_events));- }- var field = _this9.header.fields[i];- var fieldIndex = _this9.getVisibleFields().indexOf(field);- if (fieldIndex === -1) {- return;- }- fieldIndex += Utils.getDetailViewIndexOffset(_this9.options);- var _loop2 = function _loop2(key) {- if (!events.hasOwnProperty(key)) {- return "continue";- }- var event = events[key];- _this9.$body.find('>tr:not(.no-records-found)').each(function (i, tr) {- var $tr = $$p(tr);- var $td = $tr.find(_this9.options.cardView ? '.card-views>.card-view' : '>td').eq(fieldIndex);- var index = key.indexOf(' ');- var name = key.substring(0, index);- var el = key.substring(index + 1);- $td.find(el).off(name).on(name, function (e) {- var index = $tr.data('index');- var row = _this9.data[index];- var value = row[field];- event.apply(_this9, [e, value, row, index]);- });- });- };- for (var key in events) {- var _ret2 = _loop2(key);- if (_ret2 === "continue") continue;- }- });- }- }, {- key: "initServer",- value: function initServer(silent, query, url) {- var _this10 = this;- var data = {};- var index = this.header.fields.indexOf(this.options.sortName);- var params = {- searchText: this.searchText,- sortName: this.options.sortName,- sortOrder: this.options.sortOrder- };- if (this.header.sortNames[index]) {- params.sortName = this.header.sortNames[index];- }- if (this.options.pagination && this.options.sidePagination === 'server') {- params.pageSize = this.options.pageSize === this.options.formatAllRows() ? this.options.totalRows : this.options.pageSize;- params.pageNumber = this.options.pageNumber;- }- if (!(url || this.options.url) && !this.options.ajax) {- return;- }- if (this.options.queryParamsType === 'limit') {- params = {- search: params.searchText,- sort: params.sortName,- order: params.sortOrder- };- if (this.options.pagination && this.options.sidePagination === 'server') {- params.offset = this.options.pageSize === this.options.formatAllRows() ? 0 : this.options.pageSize * (this.options.pageNumber - 1);- params.limit = this.options.pageSize;- if (params.limit === 0 || this.options.pageSize === this.options.formatAllRows()) {- delete params.limit;- }- }- }- if (this.options.search && this.options.sidePagination === 'server' && this.options.searchable && this.columns.filter(function (column) {- return column.searchable;- }).length) {- params.searchable = [];- var _iterator2 = _createForOfIteratorHelper(this.columns),- _step2;- try {- for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {- var column = _step2.value;- if (!column.checkbox && column.searchable && (this.options.visibleSearch && column.visible || !this.options.visibleSearch)) {- params.searchable.push(column.field);- }- }- } catch (err) {- _iterator2.e(err);- } finally {- _iterator2.f();- }- }- if (!Utils.isEmptyObject(this.filterColumnsPartial)) {- params.filter = JSON.stringify(this.filterColumnsPartial, null);- }- Utils.extend(params, query || {});- data = Utils.calculateObjectValue(this.options, this.options.queryParams, [params], data);-- // false to stop request- if (data === false) {- return;- }- if (!silent) {- this.showLoading();- }- var request = Utils.extend({}, Utils.calculateObjectValue(null, this.options.ajaxOptions), {- type: this.options.method,- url: url || this.options.url,- data: this.options.contentType === 'application/json' && this.options.method === 'post' ? JSON.stringify(data) : data,- cache: this.options.cache,- contentType: this.options.contentType,- dataType: this.options.dataType,- success: function success(_res, textStatus, jqXHR) {- var res = Utils.calculateObjectValue(_this10.options, _this10.options.responseHandler, [_res, jqXHR], _res);- _this10.load(res);- _this10.trigger('load-success', res, jqXHR && jqXHR.status, jqXHR);- if (!silent) {- _this10.hideLoading();- }- if (_this10.options.sidePagination === 'server' && _this10.options.pageNumber > 1 && res[_this10.options.totalField] > 0 && !res[_this10.options.dataField].length) {- _this10.updatePagination();- }- },- error: function error(jqXHR) {- // abort ajax by multiple request- if (jqXHR && jqXHR.status === 0 && _this10._xhrAbort) {- _this10._xhrAbort = false;- return;- }- var data = [];- if (_this10.options.sidePagination === 'server') {- data = {};- data[_this10.options.totalField] = 0;- data[_this10.options.dataField] = [];- }- _this10.load(data);- _this10.trigger('load-error', jqXHR && jqXHR.status, jqXHR);- if (!silent) {- _this10.hideLoading();- }- }- });- if (this.options.ajax) {- Utils.calculateObjectValue(this, this.options.ajax, [request], null);- } else {- if (this._xhr && this._xhr.readyState !== 4) {- this._xhrAbort = true;- this._xhr.abort();- }- this._xhr = $$p.ajax(request);- }- return data;- }- }, {- key: "initSearchText",- value: function initSearchText() {- if (this.options.search) {- this.searchText = '';- if (this.options.searchText !== '') {- var $search = Utils.getSearchInput(this);- $search.val(this.options.searchText);- this.onSearch({- currentTarget: $search,- firedByInitSearchText: true- });- }- }- }- }, {- key: "getCaret",- value: function getCaret() {- var _this11 = this;- this.$header.find('th').each(function (i, th) {- $$p(th).find('.sortable').removeClass('desc asc').addClass($$p(th).data('field') === _this11.options.sortName ? _this11.options.sortOrder : 'both');- });- }- }, {- key: "updateSelected",- value: function updateSelected() {- var checkAll = this.$selectItem.filter(':enabled').length && this.$selectItem.filter(':enabled').length === this.$selectItem.filter(':enabled').filter(':checked').length;- this.$selectAll.add(this.$selectAll_).prop('checked', checkAll);- this.$selectItem.each(function (i, el) {- $$p(el).closest('tr')[$$p(el).prop('checked') ? 'addClass' : 'removeClass']('selected');- });- }- }, {- key: "updateRows",- value: function updateRows() {- var _this12 = this;- this.$selectItem.each(function (i, el) {- _this12.data[$$p(el).data('index')][_this12.header.stateField] = $$p(el).prop('checked');- });- }- }, {- key: "resetRows",- value: function resetRows() {- var _iterator3 = _createForOfIteratorHelper(this.data),- _step3;- try {- for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {- var row = _step3.value;- this.$selectAll.prop('checked', false);- this.$selectItem.prop('checked', false);- if (this.header.stateField) {- row[this.header.stateField] = false;- }- }- } catch (err) {- _iterator3.e(err);- } finally {- _iterator3.f();- }- this.initHiddenRows();- }- }, {- key: "trigger",- value: function trigger(_name) {- var _this$options, _this$options2;- var name = "".concat(_name, ".bs.table");- for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key4 = 1; _key4 < _len; _key4++) {- args[_key4 - 1] = arguments[_key4];- }- (_this$options = this.options)[BootstrapTable.EVENTS[name]].apply(_this$options, [].concat(args, [this]));- this.$el.trigger($$p.Event(name, {- sender: this- }), args);- (_this$options2 = this.options).onAll.apply(_this$options2, [name].concat([].concat(args, [this])));- this.$el.trigger($$p.Event('all.bs.table', {- sender: this- }), [name, args]);- }- }, {- key: "resetHeader",- value: function resetHeader() {- var _this13 = this;- // fix #61: the hidden table reset header bug.- // fix bug: get $el.css('width') error sometime (height = 500)- clearTimeout(this.timeoutId_);- this.timeoutId_ = setTimeout(function () {- return _this13.fitHeader();- }, this.$el.is(':hidden') ? 100 : 0);- }- }, {- key: "fitHeader",- value: function fitHeader() {- var _this14 = this;- if (this.$el.is(':hidden')) {- this.timeoutId_ = setTimeout(function () {- return _this14.fitHeader();- }, 100);- return;- }- var fixedBody = this.$tableBody.get(0);- var scrollWidth = this.hasScrollBar && fixedBody.scrollHeight > fixedBody.clientHeight + this.$header.outerHeight() ? Utils.getScrollBarWidth() : 0;- this.$el.css('margin-top', -this.$header.outerHeight());- var focused = this.$tableHeader.find(':focus');- if (focused.length > 0) {- var $th = focused.parents('th');- if ($th.length > 0) {- var dataField = $th.attr('data-field');- if (dataField !== undefined) {- var $headerTh = this.$header.find("[data-field='".concat(dataField, "']"));- if ($headerTh.length > 0) {- $headerTh.find(':input').addClass('focus-temp');- }- }- }- }- this.$header_ = this.$header.clone(true, true);- this.$selectAll_ = this.$header_.find('[name="btSelectAll"]');- this.$tableHeader.css('margin-right', scrollWidth).find('table').css('width', this.$el.outerWidth()).html('').attr('class', this.$el.attr('class')).append(this.$header_);- this.$tableLoading.css('width', this.$el.outerWidth());- var focusedTemp = $$p('.focus-temp:visible:eq(0)');- if (focusedTemp.length > 0) {- focusedTemp.focus();- this.$header.find('.focus-temp').removeClass('focus-temp');- }-- // fix bug: $.data() is not working as expected after $.append()- this.$header.find('th[data-field]').each(function (i, el) {- _this14.$header_.find(Utils.sprintf('th[data-field="%s"]', $$p(el).data('field'))).data($$p(el).data());- });- var visibleFields = this.getVisibleFields();- var $ths = this.$header_.find('th');- var $tr = this.$body.find('>tr:not(.no-records-found,.virtual-scroll-top)').eq(0);- while ($tr.length && $tr.find('>td[colspan]:not([colspan="1"])').length) {- $tr = $tr.next();- }- var trLength = $tr.find('> *').length;- $tr.find('> *').each(function (i, el) {- var $this = $$p(el);- if (Utils.hasDetailViewIcon(_this14.options)) {- if (i === 0 && _this14.options.detailViewAlign !== 'right' || i === trLength - 1 && _this14.options.detailViewAlign === 'right') {- var $thDetail = $ths.filter('.detail');- var _zoomWidth = $thDetail.innerWidth() - $thDetail.find('.fht-cell').width();- $thDetail.find('.fht-cell').width($this.innerWidth() - _zoomWidth);- return;- }- }- var index = i - Utils.getDetailViewIndexOffset(_this14.options);- var $th = _this14.$header_.find(Utils.sprintf('th[data-field="%s"]', visibleFields[index]));- if ($th.length > 1) {- $th = $$p($ths[$this[0].cellIndex]);- }- var zoomWidth = $th.innerWidth() - $th.find('.fht-cell').width();- $th.find('.fht-cell').width($this.innerWidth() - zoomWidth);- });- this.horizontalScroll();- this.trigger('post-header');- }- }, {- key: "initFooter",- value: function initFooter() {- if (!this.options.showFooter || this.options.cardView) {- // do nothing- return;- }- var data = this.getData();- var html = [];- var detailTemplate = '';- if (Utils.hasDetailViewIcon(this.options)) {- detailTemplate = '<th class="detail"><div class="th-inner"></div><div class="fht-cell"></div></th>';- }- if (detailTemplate && this.options.detailViewAlign !== 'right') {- html.push(detailTemplate);- }- var _iterator4 = _createForOfIteratorHelper(this.columns),- _step4;- try {- for (_iterator4.s(); !(_step4 = _iterator4.n()).done;) {- var column = _step4.value;- var falign = '';- var valign = '';- var csses = [];- var style = {};- var class_ = Utils.sprintf(' class="%s"', column['class']);- if (!column.visible || this.footerData && this.footerData.length > 0 && !(column.field in this.footerData[0])) {- continue;- }- if (this.options.cardView && !column.cardVisible) {- return;- }- falign = Utils.sprintf('text-align: %s; ', column.falign ? column.falign : column.align);- valign = Utils.sprintf('vertical-align: %s; ', column.valign);- style = Utils.calculateObjectValue(null, this.options.footerStyle, [column]);- if (style && style.css) {- for (var _i14 = 0, _Object$entries13 = Object.entries(style.css); _i14 < _Object$entries13.length; _i14++) {- var _Object$entries13$_i = _slicedToArray(_Object$entries13[_i14], 2),- key = _Object$entries13$_i[0],- _value3 = _Object$entries13$_i[1];- csses.push("".concat(key, ": ").concat(_value3));- }- }- if (style && style.classes) {- class_ = Utils.sprintf(' class="%s"', column['class'] ? [column['class'], style.classes].join(' ') : style.classes);- }- html.push('<th', class_, Utils.sprintf(' style="%s"', falign + valign + csses.concat().join('; ')));- var colspan = 0;- if (this.footerData && this.footerData.length > 0) {- colspan = this.footerData[0]["_".concat(column.field, "_colspan")] || 0;- }- if (colspan) {- html.push(" colspan=\"".concat(colspan, "\" "));- }- html.push('>');- html.push('<div class="th-inner">');- var value = '';- if (this.footerData && this.footerData.length > 0) {- value = this.footerData[0][column.field] || '';- }- html.push(Utils.calculateObjectValue(column, column.footerFormatter, [data, value], value));- html.push('</div>');- html.push('<div class="fht-cell"></div>');- html.push('</div>');- html.push('</th>');- }- } catch (err) {- _iterator4.e(err);- } finally {- _iterator4.f();- }- if (detailTemplate && this.options.detailViewAlign === 'right') {- html.push(detailTemplate);- }- if (!this.options.height && !this.$tableFooter.length) {- this.$el.append('<tfoot><tr></tr></tfoot>');- this.$tableFooter = this.$el.find('tfoot');- }- if (!this.$tableFooter.find('tr').length) {- this.$tableFooter.html('<table><thead><tr></tr></thead></table>');- }- this.$tableFooter.find('tr').html(html.join(''));- this.trigger('post-footer', this.$tableFooter);- }- }, {- key: "fitFooter",- value: function fitFooter() {- var _this15 = this;- if (this.$el.is(':hidden')) {- setTimeout(function () {- return _this15.fitFooter();- }, 100);- return;- }- var fixedBody = this.$tableBody.get(0);- var scrollWidth = this.hasScrollBar && fixedBody.scrollHeight > fixedBody.clientHeight + this.$header.outerHeight() ? Utils.getScrollBarWidth() : 0;- this.$tableFooter.css('margin-right', scrollWidth).find('table').css('width', this.$el.outerWidth()).attr('class', this.$el.attr('class'));- var $ths = this.$tableFooter.find('th');- var $tr = this.$body.find('>tr:first-child:not(.no-records-found)');- $ths.find('.fht-cell').width('auto');- while ($tr.length && $tr.find('>td[colspan]:not([colspan="1"])').length) {- $tr = $tr.next();- }- var trLength = $tr.find('> *').length;- $tr.find('> *').each(function (i, el) {- var $this = $$p(el);- if (Utils.hasDetailViewIcon(_this15.options)) {- if (i === 0 && _this15.options.detailViewAlign === 'left' || i === trLength - 1 && _this15.options.detailViewAlign === 'right') {- var $thDetail = $ths.filter('.detail');- var _zoomWidth2 = $thDetail.innerWidth() - $thDetail.find('.fht-cell').width();- $thDetail.find('.fht-cell').width($this.innerWidth() - _zoomWidth2);- return;- }- }- var $th = $ths.eq(i);- var zoomWidth = $th.innerWidth() - $th.find('.fht-cell').width();- $th.find('.fht-cell').width($this.innerWidth() - zoomWidth);- });- this.horizontalScroll();- }- }, {- key: "horizontalScroll",- value: function horizontalScroll() {- var _this16 = this;- // horizontal scroll event- // TODO: it's probably better improving the layout than binding to scroll event- this.$tableBody.off('scroll').on('scroll', function () {- var scrollLeft = _this16.$tableBody.scrollLeft();- if (_this16.options.showHeader && _this16.options.height) {- _this16.$tableHeader.scrollLeft(scrollLeft);- }- if (_this16.options.showFooter && !_this16.options.cardView) {- _this16.$tableFooter.scrollLeft(scrollLeft);- }- _this16.trigger('scroll-body', _this16.$tableBody);- });- }- }, {- key: "getVisibleFields",- value: function getVisibleFields() {- var visibleFields = [];- var _iterator5 = _createForOfIteratorHelper(this.header.fields),- _step5;- try {- for (_iterator5.s(); !(_step5 = _iterator5.n()).done;) {- var field = _step5.value;- var column = this.columns[this.fieldsColumnsIndex[field]];- if (!column || !column.visible || this.options.cardView && !column.cardVisible) {- continue;- }- visibleFields.push(field);- }- } catch (err) {- _iterator5.e(err);- } finally {- _iterator5.f();- }- return visibleFields;- }- }, {- key: "initHiddenRows",- value: function initHiddenRows() {- this.hiddenRows = [];- }-- // PUBLIC FUNCTION DEFINITION- // =======================- }, {- key: "getOptions",- value: function getOptions() {- // deep copy and remove data- var options = Utils.extend({}, this.options);- delete options.data;- return Utils.extend(true, {}, options);- }- }, {- key: "refreshOptions",- value: function refreshOptions(options) {- // If the objects are equivalent then avoid the call of destroy / init methods- if (Utils.compareObjects(this.options, options, true)) {- return;- }- this.options = Utils.extend(this.options, options);- this.trigger('refresh-options', this.options);- this.destroy();- this.init();- }- }, {- key: "getData",- value: function getData(params) {- var _this17 = this;- var data = this.options.data;- if ((this.searchText || this.options.customSearch || this.options.sortName !== undefined || this.enableCustomSort ||- // Fix #4616: this.enableCustomSort is for extensions- !Utils.isEmptyObject(this.filterColumns) || typeof this.options.filterOptions.filterAlgorithm === 'function' || !Utils.isEmptyObject(this.filterColumnsPartial)) && (!params || !params.unfiltered)) {- data = this.data;- }- if (params && !params.includeHiddenRows) {- var hiddenRows = this.getHiddenRows();- data = data.filter(function (row) {- return Utils.findIndex(hiddenRows, row) === -1;- });- }- if (params && params.useCurrentPage) {- data = data.slice(this.pageFrom - 1, this.pageTo);- }- if (params && params.formatted) {- data.forEach(function (row) {- for (var _i15 = 0, _Object$entries14 = Object.entries(row); _i15 < _Object$entries14.length; _i15++) {- var _Object$entries14$_i = _slicedToArray(_Object$entries14[_i15], 2),- key = _Object$entries14$_i[0],- value = _Object$entries14$_i[1];- var column = _this17.columns[_this17.fieldsColumnsIndex[key]];- if (!column) {- return;- }- row[key] = Utils.calculateObjectValue(column, _this17.header.formatters[column.fieldIndex], [value, row, row.index, column.field], value);- }- });- }- return data;- }- }, {- key: "getSelections",- value: function getSelections() {- var _this18 = this;- return (this.options.maintainMetaData ? this.options.data : this.data).filter(function (row) {- return row[_this18.header.stateField] === true;- });- }- }, {- key: "load",- value: function load(_data) {- var fixedScroll = false;- var data = _data;-- // #431: support pagination- if (this.options.pagination && this.options.sidePagination === 'server') {- this.options.totalRows = data[this.options.totalField];- this.options.totalNotFiltered = data[this.options.totalNotFilteredField];- this.footerData = data[this.options.footerField] ? [data[this.options.footerField]] : undefined;- }- fixedScroll = data.fixedScroll;- data = Array.isArray(data) ? data : data[this.options.dataField];- this.initData(data);- this.initSearch();- this.initPagination();- this.initBody(fixedScroll);- }- }, {- key: "append",- value: function append(data) {- this.initData(data, 'append');- this.initSearch();- this.initPagination();- this.initSort();- this.initBody(true);- }- }, {- key: "prepend",- value: function prepend(data) {- this.initData(data, 'prepend');- this.initSearch();- this.initPagination();- this.initSort();- this.initBody(true);- }- }, {- key: "remove",- value: function remove(params) {- var removed = 0;- for (var i = this.options.data.length - 1; i >= 0; i--) {- var row = this.options.data[i];- var value = Utils.getItemField(row, params.field, this.options.escape, row.escape);- if (value === undefined && params.field !== '$index') {- continue;- }- if (!row.hasOwnProperty(params.field) && params.field === '$index' && params.values.includes(i) || params.values.includes(value)) {- removed++;- this.options.data.splice(i, 1);- }- }- if (!removed) {- return;- }- if (this.options.sidePagination === 'server') {- this.options.totalRows -= removed;- this.data = _toConsumableArray(this.options.data);- }- this.initSearch();- this.initPagination();- this.initSort();- this.initBody(true);- }- }, {- key: "removeAll",- value: function removeAll() {- if (this.options.data.length > 0) {- this.options.data.splice(0, this.options.data.length);- this.initSearch();- this.initPagination();- this.initBody(true);- }- }- }, {- key: "insertRow",- value: function insertRow(params) {- if (!params.hasOwnProperty('index') || !params.hasOwnProperty('row')) {- return;- }- this.options.data.splice(params.index, 0, params.row);- this.initSearch();- this.initPagination();- this.initSort();- this.initBody(true);- }- }, {- key: "updateRow",- value: function updateRow(params) {- var allParams = Array.isArray(params) ? params : [params];- var _iterator6 = _createForOfIteratorHelper(allParams),- _step6;- try {- for (_iterator6.s(); !(_step6 = _iterator6.n()).done;) {- var _params = _step6.value;- if (!_params.hasOwnProperty('index') || !_params.hasOwnProperty('row')) {- continue;- }- if (_params.hasOwnProperty('replace') && _params.replace) {- this.options.data[_params.index] = _params.row;- } else {- Utils.extend(this.options.data[_params.index], _params.row);- }- }- } catch (err) {- _iterator6.e(err);- } finally {- _iterator6.f();- }- this.initSearch();- this.initPagination();- this.initSort();- this.initBody(true);- }- }, {- key: "getRowByUniqueId",- value: function getRowByUniqueId(_id) {- var uniqueId = this.options.uniqueId;- var len = this.options.data.length;- var id = _id;- var dataRow = null;- var i;- var row;- for (i = len - 1; i >= 0; i--) {- row = this.options.data[i];- var rowUniqueId = Utils.getItemField(row, uniqueId, this.options.escape, row.escape);- if (rowUniqueId === undefined) {- continue;- }- if (typeof rowUniqueId === 'string') {- id = id.toString();- } else if (typeof rowUniqueId === 'number') {- if (Number(rowUniqueId) === rowUniqueId && rowUniqueId % 1 === 0) {- id = parseInt(id, 10);- } else if (rowUniqueId === Number(rowUniqueId) && rowUniqueId !== 0) {- id = parseFloat(id);- }- }- if (rowUniqueId === id) {- dataRow = row;- break;- }- }- return dataRow;- }- }, {- key: "updateByUniqueId",- value: function updateByUniqueId(params) {- var allParams = Array.isArray(params) ? params : [params];- var updatedUid = null;- var _iterator7 = _createForOfIteratorHelper(allParams),- _step7;- try {- for (_iterator7.s(); !(_step7 = _iterator7.n()).done;) {- var _params2 = _step7.value;- if (!_params2.hasOwnProperty('id') || !_params2.hasOwnProperty('row')) {- continue;- }- var rowId = this.options.data.indexOf(this.getRowByUniqueId(_params2.id));- if (rowId === -1) {- continue;- }- if (_params2.hasOwnProperty('replace') && _params2.replace) {- this.options.data[rowId] = _params2.row;- } else {- Utils.extend(this.options.data[rowId], _params2.row);- }- updatedUid = _params2.id;- }- } catch (err) {- _iterator7.e(err);- } finally {- _iterator7.f();- }- this.initSearch();- this.initPagination();- this.initSort();- this.initBody(true, updatedUid);- }- }, {- key: "removeByUniqueId",- value: function removeByUniqueId(id) {- var len = this.options.data.length;- var row = this.getRowByUniqueId(id);- if (row) {- this.options.data.splice(this.options.data.indexOf(row), 1);- }- if (len === this.options.data.length) {- return;- }- if (this.options.sidePagination === 'server') {- this.options.totalRows -= 1;- this.data = _toConsumableArray(this.options.data);- }- this.initSearch();- this.initPagination();- this.initBody(true);- }- }, {- key: "_updateCellOnly",- value: function _updateCellOnly(field, index) {- var rowHtml = this.initRow(this.options.data[index], index);- var fieldIndex = this.getVisibleFields().indexOf(field);- if (fieldIndex === -1) {- return;- }- fieldIndex += Utils.getDetailViewIndexOffset(this.options);- this.$body.find(">tr[data-index=".concat(index, "]")).find(">td:eq(".concat(fieldIndex, ")")).replaceWith($$p(rowHtml).find(">td:eq(".concat(fieldIndex, ")")));- this.initBodyEvent();- this.initFooter();- this.resetView();- this.updateSelected();- }- }, {- key: "updateCell",- value: function updateCell(params) {- if (!params.hasOwnProperty('index') || !params.hasOwnProperty('field') || !params.hasOwnProperty('value')) {- return;- }- this.options.data[params.index][params.field] = params.value;- if (params.reinit === false) {- this._updateCellOnly(params.field, params.index);- return;- }- this.initSort();- this.initBody(true);- }- }, {- key: "updateCellByUniqueId",- value: function updateCellByUniqueId(params) {- var _this19 = this;- var allParams = Array.isArray(params) ? params : [params];- allParams.forEach(function (_ref6) {- var id = _ref6.id,- field = _ref6.field,- value = _ref6.value;- var index = _this19.options.data.indexOf(_this19.getRowByUniqueId(id));- if (index === -1) {- return;- }- _this19.options.data[index][field] = value;- });- if (params.reinit === false) {- this._updateCellOnly(params.field, this.options.data.indexOf(this.getRowByUniqueId(params.id)));- return;- }- this.initSort();- this.initBody(true);- }- }, {- key: "showRow",- value: function showRow(params) {- this._toggleRow(params, true);- }- }, {- key: "hideRow",- value: function hideRow(params) {- this._toggleRow(params, false);- }- }, {- key: "_toggleRow",- value: function _toggleRow(params, visible) {- var row;- if (params.hasOwnProperty('index')) {- row = this.getData()[params.index];- } else if (params.hasOwnProperty('uniqueId')) {- row = this.getRowByUniqueId(params.uniqueId);- }- if (!row) {- return;- }- var index = Utils.findIndex(this.hiddenRows, row);- if (!visible && index === -1) {- this.hiddenRows.push(row);- } else if (visible && index > -1) {- this.hiddenRows.splice(index, 1);- }- this.initBody(true);- this.initPagination();- }- }, {- key: "getHiddenRows",- value: function getHiddenRows(show) {- if (show) {- this.initHiddenRows();- this.initBody(true);- this.initPagination();- return;- }- var data = this.getData();- var rows = [];- var _iterator8 = _createForOfIteratorHelper(data),- _step8;- try {- for (_iterator8.s(); !(_step8 = _iterator8.n()).done;) {- var row = _step8.value;- if (this.hiddenRows.includes(row)) {- rows.push(row);- }- }- } catch (err) {- _iterator8.e(err);- } finally {- _iterator8.f();- }- this.hiddenRows = rows;- return rows;- }- }, {- key: "showColumn",- value: function showColumn(field) {- var _this20 = this;- var fields = Array.isArray(field) ? field : [field];- fields.forEach(function (field) {- _this20._toggleColumn(_this20.fieldsColumnsIndex[field], true, true);- });- }- }, {- key: "hideColumn",- value: function hideColumn(field) {- var _this21 = this;- var fields = Array.isArray(field) ? field : [field];- fields.forEach(function (field) {- _this21._toggleColumn(_this21.fieldsColumnsIndex[field], false, true);- });- }- }, {- key: "_toggleColumn",- value: function _toggleColumn(index, checked, needUpdate) {- if (index === -1 || this.columns[index].visible === checked) {- return;- }- this.columns[index].visible = checked;- this.initHeader();- this.initSearch();- this.initPagination();- this.initBody();- if (this.options.showColumns) {- var $items = this.$toolbar.find('.keep-open input:not(".toggle-all")').prop('disabled', false);- if (needUpdate) {- $items.filter(Utils.sprintf('[value="%s"]', index)).prop('checked', checked);- }- if ($items.filter(':checked').length <= this.options.minimumCountColumns) {- $items.filter(':checked').prop('disabled', true);- }- }- }- }, {- key: "getVisibleColumns",- value: function getVisibleColumns() {- var _this22 = this;- return this.columns.filter(function (column) {- return column.visible && !_this22.isSelectionColumn(column);- });- }- }, {- key: "getHiddenColumns",- value: function getHiddenColumns() {- return this.columns.filter(function (_ref7) {- var visible = _ref7.visible;- return !visible;- });- }- }, {- key: "isSelectionColumn",- value: function isSelectionColumn(column) {- return column.radio || column.checkbox;- }- }, {- key: "showAllColumns",- value: function showAllColumns() {- this._toggleAllColumns(true);- }- }, {- key: "hideAllColumns",- value: function hideAllColumns() {- this._toggleAllColumns(false);- }- }, {- key: "_toggleAllColumns",- value: function _toggleAllColumns(visible) {- var _this23 = this;- var _iterator9 = _createForOfIteratorHelper(this.columns.slice().reverse()),- _step9;- try {- for (_iterator9.s(); !(_step9 = _iterator9.n()).done;) {- var column = _step9.value;- if (column.switchable) {- if (!visible && this.options.showColumns && this.getVisibleColumns().filter(function (it) {- return it.switchable;- }).length === this.options.minimumCountColumns) {- continue;- }- column.visible = visible;- }- }- } catch (err) {- _iterator9.e(err);- } finally {- _iterator9.f();- }- this.initHeader();- this.initSearch();- this.initPagination();- this.initBody();- if (this.options.showColumns) {- var $items = this.$toolbar.find('.keep-open input[type="checkbox"]:not(".toggle-all")').prop('disabled', false);- if (visible) {- $items.prop('checked', visible);- } else {- $items.get().reverse().forEach(function (item) {- if ($items.filter(':checked').length > _this23.options.minimumCountColumns) {- $$p(item).prop('checked', visible);- }- });- }- if ($items.filter(':checked').length <= this.options.minimumCountColumns) {- $items.filter(':checked').prop('disabled', true);- }- }- }- }, {- key: "mergeCells",- value: function mergeCells(options) {- var row = options.index;- var col = this.getVisibleFields().indexOf(options.field);- var rowspan = options.rowspan || 1;- var colspan = options.colspan || 1;- var i;- var j;- var $tr = this.$body.find('>tr[data-index]');- col += Utils.getDetailViewIndexOffset(this.options);- var $td = $tr.eq(row).find('>td').eq(col);- if (row < 0 || col < 0 || row >= this.data.length) {- return;- }- for (i = row; i < row + rowspan; i++) {- for (j = col; j < col + colspan; j++) {- $tr.eq(i).find('>td').eq(j).hide();- }- }- $td.attr('rowspan', rowspan).attr('colspan', colspan).show();- }- }, {- key: "checkAll",- value: function checkAll() {- this._toggleCheckAll(true);- }- }, {- key: "uncheckAll",- value: function uncheckAll() {- this._toggleCheckAll(false);- }- }, {- key: "_toggleCheckAll",- value: function _toggleCheckAll(checked) {- var rowsBefore = this.getSelections();- this.$selectAll.add(this.$selectAll_).prop('checked', checked);- this.$selectItem.filter(':enabled').prop('checked', checked);- this.updateRows();- this.updateSelected();- var rowsAfter = this.getSelections();- if (checked) {- this.trigger('check-all', rowsAfter, rowsBefore);- return;- }- this.trigger('uncheck-all', rowsAfter, rowsBefore);- }- }, {- key: "checkInvert",- value: function checkInvert() {- var $items = this.$selectItem.filter(':enabled');- var checked = $items.filter(':checked');- $items.each(function (i, el) {- $$p(el).prop('checked', !$$p(el).prop('checked'));- });- this.updateRows();- this.updateSelected();- this.trigger('uncheck-some', checked);- checked = this.getSelections();- this.trigger('check-some', checked);- }- }, {- key: "check",- value: function check(index) {- this._toggleCheck(true, index);- }- }, {- key: "uncheck",- value: function uncheck(index) {- this._toggleCheck(false, index);- }- }, {- key: "_toggleCheck",- value: function _toggleCheck(checked, index) {- var $el = this.$selectItem.filter("[data-index=\"".concat(index, "\"]"));- var row = this.data[index];- if ($el.is(':radio') || this.options.singleSelect || this.options.multipleSelectRow && !this.multipleSelectRowCtrlKey && !this.multipleSelectRowShiftKey) {- var _iterator10 = _createForOfIteratorHelper(this.options.data),- _step10;- try {- for (_iterator10.s(); !(_step10 = _iterator10.n()).done;) {- var r = _step10.value;- r[this.header.stateField] = false;- }- } catch (err) {- _iterator10.e(err);- } finally {- _iterator10.f();- }- this.$selectItem.filter(':checked').not($el).prop('checked', false);- }- row[this.header.stateField] = checked;- if (this.options.multipleSelectRow) {- if (this.multipleSelectRowShiftKey && this.multipleSelectRowLastSelectedIndex >= 0) {- var _ref8 = this.multipleSelectRowLastSelectedIndex < index ? [this.multipleSelectRowLastSelectedIndex, index] : [index, this.multipleSelectRowLastSelectedIndex],- _ref9 = _slicedToArray(_ref8, 2),- fromIndex = _ref9[0],- toIndex = _ref9[1];- for (var i = fromIndex + 1; i < toIndex; i++) {- this.data[i][this.header.stateField] = true;- this.$selectItem.filter("[data-index=\"".concat(i, "\"]")).prop('checked', true);- }- }- this.multipleSelectRowCtrlKey = false;- this.multipleSelectRowShiftKey = false;- this.multipleSelectRowLastSelectedIndex = checked ? index : -1;- }- $el.prop('checked', checked);- this.updateSelected();- this.trigger(checked ? 'check' : 'uncheck', this.data[index], $el);- }- }, {- key: "checkBy",- value: function checkBy(obj) {- this._toggleCheckBy(true, obj);- }- }, {- key: "uncheckBy",- value: function uncheckBy(obj) {- this._toggleCheckBy(false, obj);- }- }, {- key: "_toggleCheckBy",- value: function _toggleCheckBy(checked, obj) {- var _this24 = this;- if (!obj.hasOwnProperty('field') || !obj.hasOwnProperty('values')) {- return;- }- var rows = [];- this.data.forEach(function (row, i) {- if (!row.hasOwnProperty(obj.field)) {- return false;- }- if (obj.values.includes(row[obj.field])) {- var $el = _this24.$selectItem.filter(':enabled').filter(Utils.sprintf('[data-index="%s"]', i));- var onlyCurrentPage = obj.hasOwnProperty('onlyCurrentPage') ? obj.onlyCurrentPage : false;- $el = checked ? $el.not(':checked') : $el.filter(':checked');- if (!$el.length && onlyCurrentPage) {- return;- }- $el.prop('checked', checked);- row[_this24.header.stateField] = checked;- rows.push(row);- _this24.trigger(checked ? 'check' : 'uncheck', row, $el);- }- });- this.updateSelected();- this.trigger(checked ? 'check-some' : 'uncheck-some', rows);- }- }, {- key: "refresh",- value: function refresh(params) {- if (params && params.url) {- this.options.url = params.url;- }- if (params && params.pageNumber) {- this.options.pageNumber = params.pageNumber;- }- if (params && params.pageSize) {- this.options.pageSize = params.pageSize;- }- this.trigger('refresh', this.initServer(params && params.silent, params && params.query, params && params.url));- }- }, {- key: "destroy",- value: function destroy() {- this.$el.insertBefore(this.$container);- $$p(this.options.toolbar).insertBefore(this.$el);- this.$container.next().remove();- this.$container.remove();- this.$el.html(this.$el_.html()).css('margin-top', '0').attr('class', this.$el_.attr('class') || ''); // reset the class-- var resizeEvent = Utils.getEventName('resize.bootstrap-table', this.$el.attr('id'));- $$p(window).off(resizeEvent);- }- }, {- key: "resetView",- value: function resetView(params) {- var padding = 0;- if (params && params.height) {- this.options.height = params.height;- }- this.$tableContainer.toggleClass('has-card-view', this.options.cardView);- if (this.options.height) {- var fixedBody = this.$tableBody.get(0);- this.hasScrollBar = fixedBody.scrollWidth > fixedBody.clientWidth;- }- if (!this.options.cardView && this.options.showHeader && this.options.height) {- this.$tableHeader.show();- this.resetHeader();- padding += this.$header.outerHeight(true) + 1;- } else {- this.$tableHeader.hide();- this.trigger('post-header');- }- if (!this.options.cardView && this.options.showFooter) {- this.$tableFooter.show();- this.fitFooter();- if (this.options.height) {- padding += this.$tableFooter.outerHeight(true);- }- }- if (this.$container.hasClass('fullscreen')) {- this.$tableContainer.css('height', '');- this.$tableContainer.css('width', '');- } else if (this.options.height) {- if (this.$tableBorder) {- this.$tableBorder.css('width', '');- this.$tableBorder.css('height', '');- }- var toolbarHeight = this.$toolbar.outerHeight(true);- var paginationHeight = this.$pagination.outerHeight(true);- var height = this.options.height - toolbarHeight - paginationHeight;- var $bodyTable = this.$tableBody.find('>table');- var tableHeight = $bodyTable.outerHeight();- this.$tableContainer.css('height', "".concat(height, "px"));- if (this.$tableBorder && $bodyTable.is(':visible')) {- var tableBorderHeight = height - tableHeight - 2;- if (this.hasScrollBar) {- tableBorderHeight -= Utils.getScrollBarWidth();- }- this.$tableBorder.css('width', "".concat($bodyTable.outerWidth(), "px"));- this.$tableBorder.css('height', "".concat(tableBorderHeight, "px"));- }- }- if (this.options.cardView) {- // remove the element css- this.$el.css('margin-top', '0');- this.$tableContainer.css('padding-bottom', '0');- this.$tableFooter.hide();- } else {- // Assign the correct sortable arrow- this.getCaret();- this.$tableContainer.css('padding-bottom', "".concat(padding, "px"));- }- this.trigger('reset-view');- }- }, {- key: "showLoading",- value: function showLoading() {- this.$tableLoading.toggleClass('open', true);- var fontSize = this.options.loadingFontSize;- if (this.options.loadingFontSize === 'auto') {- fontSize = this.$tableLoading.width() * 0.04;- fontSize = Math.max(12, fontSize);- fontSize = Math.min(32, fontSize);- fontSize = "".concat(fontSize, "px");- }- this.$tableLoading.find('.loading-text').css('font-size', fontSize);- }- }, {- key: "hideLoading",- value: function hideLoading() {- this.$tableLoading.toggleClass('open', false);- }- }, {- key: "togglePagination",- value: function togglePagination() {- this.options.pagination = !this.options.pagination;- var icon = this.options.showButtonIcons ? this.options.pagination ? this.options.icons.paginationSwitchDown : this.options.icons.paginationSwitchUp : '';- var text = this.options.showButtonText ? this.options.pagination ? this.options.formatPaginationSwitchUp() : this.options.formatPaginationSwitchDown() : '';- this.$toolbar.find('button[name="paginationSwitch"]').html("".concat(Utils.sprintf(this.constants.html.icon, this.options.iconsPrefix, icon), " ").concat(text));- this.updatePagination();- this.trigger('toggle-pagination', this.options.pagination);- }- }, {- key: "toggleFullscreen",- value: function toggleFullscreen() {- this.$el.closest('.bootstrap-table').toggleClass('fullscreen');- this.resetView();- }- }, {- key: "toggleView",- value: function toggleView() {- this.options.cardView = !this.options.cardView;- this.initHeader();- var icon = this.options.showButtonIcons ? this.options.cardView ? this.options.icons.toggleOn : this.options.icons.toggleOff : '';- var text = this.options.showButtonText ? this.options.cardView ? this.options.formatToggleOff() : this.options.formatToggleOn() : '';- this.$toolbar.find('button[name="toggle"]').html("".concat(Utils.sprintf(this.constants.html.icon, this.options.iconsPrefix, icon), " ").concat(text)).attr('aria-label', text).attr('title', text);- this.initBody();- this.trigger('toggle', this.options.cardView);- }- }, {- key: "resetSearch",- value: function resetSearch(text) {- var $search = Utils.getSearchInput(this);- var textToUse = text || '';- $search.val(textToUse);- this.searchText = textToUse;- this.onSearch({- currentTarget: $search- }, false);- }- }, {- key: "filterBy",- value: function filterBy(columns, options) {- this.filterOptions = Utils.isEmptyObject(options) ? this.options.filterOptions : Utils.extend(this.options.filterOptions, options);- this.filterColumns = Utils.isEmptyObject(columns) ? {} : columns;- this.options.pageNumber = 1;- this.initSearch();- this.updatePagination();- }- }, {- key: "scrollTo",- value: function scrollTo(params) {- var options = {- unit: 'px',- value: 0- };- if (_typeof(params) === 'object') {- options = Object.assign(options, params);- } else if (typeof params === 'string' && params === 'bottom') {- options.value = this.$tableBody[0].scrollHeight;- } else if (typeof params === 'string' || typeof params === 'number') {- options.value = params;- }- var scrollTo = options.value;- if (options.unit === 'rows') {- scrollTo = 0;- this.$body.find("> tr:lt(".concat(options.value, ")")).each(function (i, el) {- scrollTo += $$p(el).outerHeight(true);- });- }- this.$tableBody.scrollTop(scrollTo);- }- }, {- key: "getScrollPosition",- value: function getScrollPosition() {- return this.$tableBody.scrollTop();- }- }, {- key: "selectPage",- value: function selectPage(page) {- if (page > 0 && page <= this.options.totalPages) {- this.options.pageNumber = page;- this.updatePagination();- }- }- }, {- key: "prevPage",- value: function prevPage() {- if (this.options.pageNumber > 1) {- this.options.pageNumber--;- this.updatePagination();- }- }- }, {- key: "nextPage",- value: function nextPage() {- if (this.options.pageNumber < this.options.totalPages) {- this.options.pageNumber++;- this.updatePagination();- }- }- }, {- key: "toggleDetailView",- value: function toggleDetailView(index, _columnDetailFormatter) {- var $tr = this.$body.find(Utils.sprintf('> tr[data-index="%s"]', index));- if ($tr.next().is('tr.detail-view')) {- this.collapseRow(index);- } else {- this.expandRow(index, _columnDetailFormatter);- }- this.resetView();- }- }, {- key: "expandRow",- value: function expandRow(index, _columnDetailFormatter) {- var row = this.data[index];- var $tr = this.$body.find(Utils.sprintf('> tr[data-index="%s"][data-has-detail-view]', index));- if (this.options.detailViewIcon) {- $tr.find('a.detail-icon').html(Utils.sprintf(this.constants.html.icon, this.options.iconsPrefix, this.options.icons.detailClose));- }- if ($tr.next().is('tr.detail-view')) {- return;- }- $tr.after(Utils.sprintf('<tr class="detail-view"><td colspan="%s"></td></tr>', $tr.children('td').length));- var $element = $tr.next().find('td');- var detailFormatter = _columnDetailFormatter || this.options.detailFormatter;- var content = Utils.calculateObjectValue(this.options, detailFormatter, [index, row, $element], '');- if ($element.length === 1) {- $element.append(content);- }- this.trigger('expand-row', index, row, $element);- }- }, {- key: "expandRowByUniqueId",- value: function expandRowByUniqueId(uniqueId) {- var row = this.getRowByUniqueId(uniqueId);- if (!row) {- return;- }- this.expandRow(this.data.indexOf(row));- }- }, {- key: "collapseRow",- value: function collapseRow(index) {- var row = this.data[index];- var $tr = this.$body.find(Utils.sprintf('> tr[data-index="%s"][data-has-detail-view]', index));- if (!$tr.next().is('tr.detail-view')) {- return;- }- if (this.options.detailViewIcon) {- $tr.find('a.detail-icon').html(Utils.sprintf(this.constants.html.icon, this.options.iconsPrefix, this.options.icons.detailOpen));- }- this.trigger('collapse-row', index, row, $tr.next());- $tr.next().remove();- }- }, {- key: "collapseRowByUniqueId",- value: function collapseRowByUniqueId(uniqueId) {- var row = this.getRowByUniqueId(uniqueId);- if (!row) {- return;- }- this.collapseRow(this.data.indexOf(row));- }- }, {- key: "expandAllRows",- value: function expandAllRows() {- var trs = this.$body.find('> tr[data-index][data-has-detail-view]');- for (var i = 0; i < trs.length; i++) {- this.expandRow($$p(trs[i]).data('index'));- }- }- }, {- key: "collapseAllRows",- value: function collapseAllRows() {- var trs = this.$body.find('> tr[data-index][data-has-detail-view]');- for (var i = 0; i < trs.length; i++) {- this.collapseRow($$p(trs[i]).data('index'));- }- }- }, {- key: "updateColumnTitle",- value: function updateColumnTitle(params) {- if (!params.hasOwnProperty('field') || !params.hasOwnProperty('title')) {- return;- }- this.columns[this.fieldsColumnsIndex[params.field]].title = this.options.escape && this.options.escapeTitle ? Utils.escapeHTML(params.title) : params.title;- if (this.columns[this.fieldsColumnsIndex[params.field]].visible) {- this.$header.find('th[data-field]').each(function (i, el) {- if ($$p(el).data('field') === params.field) {- $$p($$p(el).find('.th-inner')[0]).text(params.title);- return false;- }- });- this.resetView();- }- }- }, {- key: "updateFormatText",- value: function updateFormatText(formatName, text) {- if (!/^format/.test(formatName) || !this.options[formatName]) {- return;- }- if (typeof text === 'string') {- this.options[formatName] = function () {- return text;- };- } else if (typeof text === 'function') {- this.options[formatName] = text;- }- this.initToolbar();- this.initPagination();- this.initBody();- }- }]);- return BootstrapTable;- }();- BootstrapTable.VERSION = Constants.VERSION;- BootstrapTable.DEFAULTS = Constants.DEFAULTS;- BootstrapTable.LOCALES = Constants.LOCALES;- BootstrapTable.COLUMN_DEFAULTS = Constants.COLUMN_DEFAULTS;- BootstrapTable.METHODS = Constants.METHODS;- BootstrapTable.EVENTS = Constants.EVENTS;-- // BOOTSTRAP TABLE PLUGIN DEFINITION- // =======================-- $$p.BootstrapTable = BootstrapTable;- $$p.fn.bootstrapTable = function (option) {- for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key5 = 1; _key5 < _len2; _key5++) {- args[_key5 - 1] = arguments[_key5];- }- var value;- this.each(function (i, el) {- var data = $$p(el).data('bootstrap.table');- if (typeof option === 'string') {- var _data2;- if (!Constants.METHODS.includes(option)) {- throw new Error("Unknown method: ".concat(option));- }- if (!data) {- return;- }- value = (_data2 = data)[option].apply(_data2, args);- if (option === 'destroy') {- $$p(el).removeData('bootstrap.table');- }- return;- }- if (data) {- console.warn('You cannot initialize the table more than once!');- return;- }- var options = Utils.extend(true, {}, BootstrapTable.DEFAULTS, $$p(el).data(), _typeof(option) === 'object' && option);- data = new $$p.BootstrapTable(el, options);- $$p(el).data('bootstrap.table', data);- data.init();- });- return typeof value === 'undefined' ? this : value;- };- $$p.fn.bootstrapTable.Constructor = BootstrapTable;- $$p.fn.bootstrapTable.theme = Constants.THEME;- $$p.fn.bootstrapTable.VERSION = Constants.VERSION;- $$p.fn.bootstrapTable.defaults = BootstrapTable.DEFAULTS;- $$p.fn.bootstrapTable.columnDefaults = BootstrapTable.COLUMN_DEFAULTS;- $$p.fn.bootstrapTable.events = BootstrapTable.EVENTS;- $$p.fn.bootstrapTable.locales = BootstrapTable.LOCALES;- $$p.fn.bootstrapTable.methods = BootstrapTable.METHODS;- $$p.fn.bootstrapTable.utils = Utils;-- // BOOTSTRAP TABLE INIT- // =======================-- $$p(function () {- $$p('[data-toggle="table"]').bootstrapTable();- });-- return BootstrapTable;--}));--(function (global, factory) {- typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('jquery')) :- typeof define === 'function' && define.amd ? define(['jquery'], factory) :- (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.jQuery));-})(this, (function ($$4) { 'use strict';-- function _classCallCheck(instance, Constructor) {- if (!(instance instanceof Constructor)) {- throw new TypeError("Cannot call a class as a function");- }- }- function _defineProperties(target, props) {- for (var i = 0; i < props.length; i++) {- var descriptor = props[i];- descriptor.enumerable = descriptor.enumerable || false;- descriptor.configurable = true;- if ("value" in descriptor) descriptor.writable = true;- Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor);- }- }- function _createClass(Constructor, protoProps, staticProps) {- if (protoProps) _defineProperties(Constructor.prototype, protoProps);- if (staticProps) _defineProperties(Constructor, staticProps);- Object.defineProperty(Constructor, "prototype", {- writable: false- });- return Constructor;- }- function _inherits(subClass, superClass) {- if (typeof superClass !== "function" && superClass !== null) {- throw new TypeError("Super expression must either be null or a function");- }- subClass.prototype = Object.create(superClass && superClass.prototype, {- constructor: {- value: subClass,- writable: true,- configurable: true- }- });- Object.defineProperty(subClass, "prototype", {- writable: false- });- if (superClass) _setPrototypeOf(subClass, superClass);- }- function _getPrototypeOf(o) {- _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {- return o.__proto__ || Object.getPrototypeOf(o);- };- return _getPrototypeOf(o);- }- function _setPrototypeOf(o, p) {- _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {- o.__proto__ = p;- return o;- };- return _setPrototypeOf(o, p);- }- function _isNativeReflectConstruct() {- if (typeof Reflect === "undefined" || !Reflect.construct) return false;- if (Reflect.construct.sham) return false;- if (typeof Proxy === "function") return true;- try {- Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));- return true;- } catch (e) {- return false;- }- }- function _assertThisInitialized(self) {- if (self === void 0) {- throw new ReferenceError("this hasn't been initialised - super() hasn't been called");- }- return self;- }- function _possibleConstructorReturn(self, call) {- if (call && (typeof call === "object" || typeof call === "function")) {- return call;- } else if (call !== void 0) {- throw new TypeError("Derived constructors may only return object or undefined");- }- return _assertThisInitialized(self);- }- function _createSuper(Derived) {- var hasNativeReflectConstruct = _isNativeReflectConstruct();- return function _createSuperInternal() {- var Super = _getPrototypeOf(Derived),- result;- if (hasNativeReflectConstruct) {- var NewTarget = _getPrototypeOf(this).constructor;- result = Reflect.construct(Super, arguments, NewTarget);- } else {- result = Super.apply(this, arguments);- }- return _possibleConstructorReturn(this, result);- };- }- function _superPropBase(object, property) {- while (!Object.prototype.hasOwnProperty.call(object, property)) {- object = _getPrototypeOf(object);- if (object === null) break;- }- return object;- }- function _get() {- if (typeof Reflect !== "undefined" && Reflect.get) {- _get = Reflect.get.bind();- } else {- _get = function _get(target, property, receiver) {- var base = _superPropBase(target, property);- if (!base) return;- var desc = Object.getOwnPropertyDescriptor(base, property);- if (desc.get) {- return desc.get.call(arguments.length < 3 ? target : receiver);- }- return desc.value;- };- }- return _get.apply(this, arguments);- }- function _toPrimitive(input, hint) {- if (typeof input !== "object" || input === null) return input;- var prim = input[Symbol.toPrimitive];- if (prim !== undefined) {- var res = prim.call(input, hint || "default");- if (typeof res !== "object") return res;- throw new TypeError("@@toPrimitive must return a primitive value.");- }- return (hint === "string" ? String : Number)(input);- }- function _toPropertyKey(arg) {- var key = _toPrimitive(arg, "string");- return typeof key === "symbol" ? key : String(key);- }-- var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};-- var check = function (it) {- return it && it.Math == Math && it;- };-- // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028- var global$b =- // eslint-disable-next-line es/no-global-this -- safe- check(typeof globalThis == 'object' && globalThis) ||- check(typeof window == 'object' && window) ||- // eslint-disable-next-line no-restricted-globals -- safe- check(typeof self == 'object' && self) ||- check(typeof commonjsGlobal == 'object' && commonjsGlobal) ||- // eslint-disable-next-line no-new-func -- fallback- (function () { return this; })() || Function('return this')();-- var objectGetOwnPropertyDescriptor = {};-- var fails$e = function (exec) {- try {- return !!exec();- } catch (error) {- return true;- }- };-- var fails$d = fails$e;-- // Detect IE8's incomplete defineProperty implementation- var descriptors = !fails$d(function () {- // eslint-disable-next-line es/no-object-defineproperty -- required for testing- return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;- });-- var fails$c = fails$e;-- var functionBindNative = !fails$c(function () {- // eslint-disable-next-line es/no-function-prototype-bind -- safe- var test = (function () { /* empty */ }).bind();- // eslint-disable-next-line no-prototype-builtins -- safe- return typeof test != 'function' || test.hasOwnProperty('prototype');- });-- var NATIVE_BIND$2 = functionBindNative;-- var call$5 = Function.prototype.call;-- var functionCall = NATIVE_BIND$2 ? call$5.bind(call$5) : function () {- return call$5.apply(call$5, arguments);- };-- var objectPropertyIsEnumerable = {};-- var $propertyIsEnumerable = {}.propertyIsEnumerable;- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe- var getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;-- // Nashorn ~ JDK8 bug- var NASHORN_BUG = getOwnPropertyDescriptor$1 && !$propertyIsEnumerable.call({ 1: 2 }, 1);-- // `Object.prototype.propertyIsEnumerable` method implementation- // https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable- objectPropertyIsEnumerable.f = NASHORN_BUG ? function propertyIsEnumerable(V) {- var descriptor = getOwnPropertyDescriptor$1(this, V);- return !!descriptor && descriptor.enumerable;- } : $propertyIsEnumerable;-- var createPropertyDescriptor$3 = function (bitmap, value) {- return {- enumerable: !(bitmap & 1),- configurable: !(bitmap & 2),- writable: !(bitmap & 4),- value: value- };- };-- var NATIVE_BIND$1 = functionBindNative;-- var FunctionPrototype$1 = Function.prototype;- var call$4 = FunctionPrototype$1.call;- var uncurryThisWithBind = NATIVE_BIND$1 && FunctionPrototype$1.bind.bind(call$4, call$4);-- var functionUncurryThis = NATIVE_BIND$1 ? uncurryThisWithBind : function (fn) {- return function () {- return call$4.apply(fn, arguments);- };- };-- var uncurryThis$e = functionUncurryThis;-- var toString$4 = uncurryThis$e({}.toString);- var stringSlice$1 = uncurryThis$e(''.slice);-- var classofRaw$2 = function (it) {- return stringSlice$1(toString$4(it), 8, -1);- };-- var uncurryThis$d = functionUncurryThis;- var fails$b = fails$e;- var classof$6 = classofRaw$2;-- var $Object$3 = Object;- var split = uncurryThis$d(''.split);-- // fallback for non-array-like ES3 and non-enumerable old V8 strings- var indexedObject = fails$b(function () {- // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346- // eslint-disable-next-line no-prototype-builtins -- safe- return !$Object$3('z').propertyIsEnumerable(0);- }) ? function (it) {- return classof$6(it) == 'String' ? split(it, '') : $Object$3(it);- } : $Object$3;-- // we can't use just `it == null` since of `document.all` special case- // https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec- var isNullOrUndefined$2 = function (it) {- return it === null || it === undefined;- };-- var isNullOrUndefined$1 = isNullOrUndefined$2;-- var $TypeError$7 = TypeError;-- // `RequireObjectCoercible` abstract operation- // https://tc39.es/ecma262/#sec-requireobjectcoercible- var requireObjectCoercible$3 = function (it) {- if (isNullOrUndefined$1(it)) throw $TypeError$7("Can't call method on " + it);- return it;- };-- // toObject with fallback for non-array-like ES3 strings- var IndexedObject$2 = indexedObject;- var requireObjectCoercible$2 = requireObjectCoercible$3;-- var toIndexedObject$4 = function (it) {- return IndexedObject$2(requireObjectCoercible$2(it));- };-- var documentAll$2 = typeof document == 'object' && document.all;-- // https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot- // eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing- var IS_HTMLDDA = typeof documentAll$2 == 'undefined' && documentAll$2 !== undefined;-- var documentAll_1 = {- all: documentAll$2,- IS_HTMLDDA: IS_HTMLDDA- };-- var $documentAll$1 = documentAll_1;-- var documentAll$1 = $documentAll$1.all;-- // `IsCallable` abstract operation- // https://tc39.es/ecma262/#sec-iscallable- var isCallable$c = $documentAll$1.IS_HTMLDDA ? function (argument) {- return typeof argument == 'function' || argument === documentAll$1;- } : function (argument) {- return typeof argument == 'function';- };-- var isCallable$b = isCallable$c;- var $documentAll = documentAll_1;-- var documentAll = $documentAll.all;-- var isObject$8 = $documentAll.IS_HTMLDDA ? function (it) {- return typeof it == 'object' ? it !== null : isCallable$b(it) || it === documentAll;- } : function (it) {- return typeof it == 'object' ? it !== null : isCallable$b(it);- };-- var global$a = global$b;- var isCallable$a = isCallable$c;-- var aFunction = function (argument) {- return isCallable$a(argument) ? argument : undefined;- };-- var getBuiltIn$4 = function (namespace, method) {- return arguments.length < 2 ? aFunction(global$a[namespace]) : global$a[namespace] && global$a[namespace][method];- };-- var uncurryThis$c = functionUncurryThis;-- var objectIsPrototypeOf = uncurryThis$c({}.isPrototypeOf);-- var engineUserAgent = typeof navigator != 'undefined' && String(navigator.userAgent) || '';-- var global$9 = global$b;- var userAgent = engineUserAgent;-- var process = global$9.process;- var Deno = global$9.Deno;- var versions = process && process.versions || Deno && Deno.version;- var v8 = versions && versions.v8;- var match, version;-- if (v8) {- match = v8.split('.');- // in old Chrome, versions of V8 isn't V8 = Chrome / 10- // but their correct versions are not interesting for us- version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);- }-- // BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`- // so check `userAgent` even if `.v8` exists, but 0- if (!version && userAgent) {- match = userAgent.match(/Edge\/(\d+)/);- if (!match || match[1] >= 74) {- match = userAgent.match(/Chrome\/(\d+)/);- if (match) version = +match[1];- }- }-- var engineV8Version = version;-- /* eslint-disable es/no-symbol -- required for testing */-- var V8_VERSION$2 = engineV8Version;- var fails$a = fails$e;-- // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing- var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$a(function () {- var symbol = Symbol();- // Chrome 38 Symbol has incorrect toString conversion- // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances- return !String(symbol) || !(Object(symbol) instanceof Symbol) ||- // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances- !Symbol.sham && V8_VERSION$2 && V8_VERSION$2 < 41;- });-- /* eslint-disable es/no-symbol -- required for testing */-- var NATIVE_SYMBOL$1 = symbolConstructorDetection;-- var useSymbolAsUid = NATIVE_SYMBOL$1- && !Symbol.sham- && typeof Symbol.iterator == 'symbol';-- var getBuiltIn$3 = getBuiltIn$4;- var isCallable$9 = isCallable$c;- var isPrototypeOf = objectIsPrototypeOf;- var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;-- var $Object$2 = Object;-- var isSymbol$2 = USE_SYMBOL_AS_UID$1 ? function (it) {- return typeof it == 'symbol';- } : function (it) {- var $Symbol = getBuiltIn$3('Symbol');- return isCallable$9($Symbol) && isPrototypeOf($Symbol.prototype, $Object$2(it));- };-- var $String$3 = String;-- var tryToString$1 = function (argument) {- try {- return $String$3(argument);- } catch (error) {- return 'Object';- }- };-- var isCallable$8 = isCallable$c;- var tryToString = tryToString$1;-- var $TypeError$6 = TypeError;-- // `Assert: IsCallable(argument) is true`- var aCallable$2 = function (argument) {- if (isCallable$8(argument)) return argument;- throw $TypeError$6(tryToString(argument) + ' is not a function');- };-- var aCallable$1 = aCallable$2;- var isNullOrUndefined = isNullOrUndefined$2;-- // `GetMethod` abstract operation- // https://tc39.es/ecma262/#sec-getmethod- var getMethod$1 = function (V, P) {- var func = V[P];- return isNullOrUndefined(func) ? undefined : aCallable$1(func);- };-- var call$3 = functionCall;- var isCallable$7 = isCallable$c;- var isObject$7 = isObject$8;-- var $TypeError$5 = TypeError;-- // `OrdinaryToPrimitive` abstract operation- // https://tc39.es/ecma262/#sec-ordinarytoprimitive- var ordinaryToPrimitive$1 = function (input, pref) {- var fn, val;- if (pref === 'string' && isCallable$7(fn = input.toString) && !isObject$7(val = call$3(fn, input))) return val;- if (isCallable$7(fn = input.valueOf) && !isObject$7(val = call$3(fn, input))) return val;- if (pref !== 'string' && isCallable$7(fn = input.toString) && !isObject$7(val = call$3(fn, input))) return val;- throw $TypeError$5("Can't convert object to primitive value");- };-- var sharedExports = {};- var shared$3 = {- get exports(){ return sharedExports; },- set exports(v){ sharedExports = v; },- };-- var global$8 = global$b;-- // eslint-disable-next-line es/no-object-defineproperty -- safe- var defineProperty$3 = Object.defineProperty;-- var defineGlobalProperty$3 = function (key, value) {- try {- defineProperty$3(global$8, key, { value: value, configurable: true, writable: true });- } catch (error) {- global$8[key] = value;- } return value;- };-- var global$7 = global$b;- var defineGlobalProperty$2 = defineGlobalProperty$3;-- var SHARED = '__core-js_shared__';- var store$3 = global$7[SHARED] || defineGlobalProperty$2(SHARED, {});-- var sharedStore = store$3;-- var store$2 = sharedStore;-- (shared$3.exports = function (key, value) {- return store$2[key] || (store$2[key] = value !== undefined ? value : {});- })('versions', []).push({- version: '3.29.0',- mode: 'global',- copyright: '© 2014-2023 Denis Pushkarev (zloirock.ru)',- license: 'https://github.com/zloirock/core-js/blob/v3.29.0/LICENSE',- source: 'https://github.com/zloirock/core-js'- });-- var requireObjectCoercible$1 = requireObjectCoercible$3;-- var $Object$1 = Object;-- // `ToObject` abstract operation- // https://tc39.es/ecma262/#sec-toobject- var toObject$4 = function (argument) {- return $Object$1(requireObjectCoercible$1(argument));- };-- var uncurryThis$b = functionUncurryThis;- var toObject$3 = toObject$4;-- var hasOwnProperty = uncurryThis$b({}.hasOwnProperty);-- // `HasOwnProperty` abstract operation- // https://tc39.es/ecma262/#sec-hasownproperty- // eslint-disable-next-line es/no-object-hasown -- safe- var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {- return hasOwnProperty(toObject$3(it), key);- };-- var uncurryThis$a = functionUncurryThis;-- var id = 0;- var postfix = Math.random();- var toString$3 = uncurryThis$a(1.0.toString);-- var uid$2 = function (key) {- return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$3(++id + postfix, 36);- };-- var global$6 = global$b;- var shared$2 = sharedExports;- var hasOwn$6 = hasOwnProperty_1;- var uid$1 = uid$2;- var NATIVE_SYMBOL = symbolConstructorDetection;- var USE_SYMBOL_AS_UID = useSymbolAsUid;-- var Symbol$1 = global$6.Symbol;- var WellKnownSymbolsStore = shared$2('wks');- var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$1['for'] || Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid$1;-- var wellKnownSymbol$9 = function (name) {- if (!hasOwn$6(WellKnownSymbolsStore, name)) {- WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn$6(Symbol$1, name)- ? Symbol$1[name]- : createWellKnownSymbol('Symbol.' + name);- } return WellKnownSymbolsStore[name];- };-- var call$2 = functionCall;- var isObject$6 = isObject$8;- var isSymbol$1 = isSymbol$2;- var getMethod = getMethod$1;- var ordinaryToPrimitive = ordinaryToPrimitive$1;- var wellKnownSymbol$8 = wellKnownSymbol$9;-- var $TypeError$4 = TypeError;- var TO_PRIMITIVE = wellKnownSymbol$8('toPrimitive');-- // `ToPrimitive` abstract operation- // https://tc39.es/ecma262/#sec-toprimitive- var toPrimitive$1 = function (input, pref) {- if (!isObject$6(input) || isSymbol$1(input)) return input;- var exoticToPrim = getMethod(input, TO_PRIMITIVE);- var result;- if (exoticToPrim) {- if (pref === undefined) pref = 'default';- result = call$2(exoticToPrim, input, pref);- if (!isObject$6(result) || isSymbol$1(result)) return result;- throw $TypeError$4("Can't convert object to primitive value");- }- if (pref === undefined) pref = 'number';- return ordinaryToPrimitive(input, pref);- };-- var toPrimitive = toPrimitive$1;- var isSymbol = isSymbol$2;-- // `ToPropertyKey` abstract operation- // https://tc39.es/ecma262/#sec-topropertykey- var toPropertyKey$3 = function (argument) {- var key = toPrimitive(argument, 'string');- return isSymbol(key) ? key : key + '';- };-- var global$5 = global$b;- var isObject$5 = isObject$8;-- var document$1 = global$5.document;- // typeof document.createElement is 'object' in old IE- var EXISTS$1 = isObject$5(document$1) && isObject$5(document$1.createElement);-- var documentCreateElement$2 = function (it) {- return EXISTS$1 ? document$1.createElement(it) : {};- };-- var DESCRIPTORS$8 = descriptors;- var fails$9 = fails$e;- var createElement = documentCreateElement$2;-- // Thanks to IE8 for its funny defineProperty- var ie8DomDefine = !DESCRIPTORS$8 && !fails$9(function () {- // eslint-disable-next-line es/no-object-defineproperty -- required for testing- return Object.defineProperty(createElement('div'), 'a', {- get: function () { return 7; }- }).a != 7;- });-- var DESCRIPTORS$7 = descriptors;- var call$1 = functionCall;- var propertyIsEnumerableModule$1 = objectPropertyIsEnumerable;- var createPropertyDescriptor$2 = createPropertyDescriptor$3;- var toIndexedObject$3 = toIndexedObject$4;- var toPropertyKey$2 = toPropertyKey$3;- var hasOwn$5 = hasOwnProperty_1;- var IE8_DOM_DEFINE$1 = ie8DomDefine;-- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe- var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;-- // `Object.getOwnPropertyDescriptor` method- // https://tc39.es/ecma262/#sec-object.getownpropertydescriptor- objectGetOwnPropertyDescriptor.f = DESCRIPTORS$7 ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {- O = toIndexedObject$3(O);- P = toPropertyKey$2(P);- if (IE8_DOM_DEFINE$1) try {- return $getOwnPropertyDescriptor$1(O, P);- } catch (error) { /* empty */ }- if (hasOwn$5(O, P)) return createPropertyDescriptor$2(!call$1(propertyIsEnumerableModule$1.f, O, P), O[P]);- };-- var objectDefineProperty = {};-- var DESCRIPTORS$6 = descriptors;- var fails$8 = fails$e;-- // V8 ~ Chrome 36-- // https://bugs.chromium.org/p/v8/issues/detail?id=3334- var v8PrototypeDefineBug = DESCRIPTORS$6 && fails$8(function () {- // eslint-disable-next-line es/no-object-defineproperty -- required for testing- return Object.defineProperty(function () { /* empty */ }, 'prototype', {- value: 42,- writable: false- }).prototype != 42;- });-- var isObject$4 = isObject$8;-- var $String$2 = String;- var $TypeError$3 = TypeError;-- // `Assert: Type(argument) is Object`- var anObject$4 = function (argument) {- if (isObject$4(argument)) return argument;- throw $TypeError$3($String$2(argument) + ' is not an object');- };-- var DESCRIPTORS$5 = descriptors;- var IE8_DOM_DEFINE = ie8DomDefine;- var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug;- var anObject$3 = anObject$4;- var toPropertyKey$1 = toPropertyKey$3;-- var $TypeError$2 = TypeError;- // eslint-disable-next-line es/no-object-defineproperty -- safe- var $defineProperty = Object.defineProperty;- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe- var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;- var ENUMERABLE = 'enumerable';- var CONFIGURABLE$1 = 'configurable';- var WRITABLE = 'writable';-- // `Object.defineProperty` method- // https://tc39.es/ecma262/#sec-object.defineproperty- objectDefineProperty.f = DESCRIPTORS$5 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {- anObject$3(O);- P = toPropertyKey$1(P);- anObject$3(Attributes);- if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {- var current = $getOwnPropertyDescriptor(O, P);- if (current && current[WRITABLE]) {- O[P] = Attributes.value;- Attributes = {- configurable: CONFIGURABLE$1 in Attributes ? Attributes[CONFIGURABLE$1] : current[CONFIGURABLE$1],- enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],- writable: false- };- }- } return $defineProperty(O, P, Attributes);- } : $defineProperty : function defineProperty(O, P, Attributes) {- anObject$3(O);- P = toPropertyKey$1(P);- anObject$3(Attributes);- if (IE8_DOM_DEFINE) try {- return $defineProperty(O, P, Attributes);- } catch (error) { /* empty */ }- if ('get' in Attributes || 'set' in Attributes) throw $TypeError$2('Accessors not supported');- if ('value' in Attributes) O[P] = Attributes.value;- return O;- };-- var DESCRIPTORS$4 = descriptors;- var definePropertyModule$4 = objectDefineProperty;- var createPropertyDescriptor$1 = createPropertyDescriptor$3;-- var createNonEnumerableProperty$3 = DESCRIPTORS$4 ? function (object, key, value) {- return definePropertyModule$4.f(object, key, createPropertyDescriptor$1(1, value));- } : function (object, key, value) {- object[key] = value;- return object;- };-- var makeBuiltInExports = {};- var makeBuiltIn$2 = {- get exports(){ return makeBuiltInExports; },- set exports(v){ makeBuiltInExports = v; },- };-- var DESCRIPTORS$3 = descriptors;- var hasOwn$4 = hasOwnProperty_1;-- var FunctionPrototype = Function.prototype;- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe- var getDescriptor = DESCRIPTORS$3 && Object.getOwnPropertyDescriptor;-- var EXISTS = hasOwn$4(FunctionPrototype, 'name');- // additional protection from minified / mangled / dropped function names- var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';- var CONFIGURABLE = EXISTS && (!DESCRIPTORS$3 || (DESCRIPTORS$3 && getDescriptor(FunctionPrototype, 'name').configurable));-- var functionName = {- EXISTS: EXISTS,- PROPER: PROPER,- CONFIGURABLE: CONFIGURABLE- };-- var uncurryThis$9 = functionUncurryThis;- var isCallable$6 = isCallable$c;- var store$1 = sharedStore;-- var functionToString = uncurryThis$9(Function.toString);-- // this helper broken in `[email protected]`, so we can't use `shared` helper- if (!isCallable$6(store$1.inspectSource)) {- store$1.inspectSource = function (it) {- return functionToString(it);- };- }-- var inspectSource$2 = store$1.inspectSource;-- var global$4 = global$b;- var isCallable$5 = isCallable$c;-- var WeakMap$1 = global$4.WeakMap;-- var weakMapBasicDetection = isCallable$5(WeakMap$1) && /native code/.test(String(WeakMap$1));-- var shared$1 = sharedExports;- var uid = uid$2;-- var keys = shared$1('keys');-- var sharedKey$2 = function (key) {- return keys[key] || (keys[key] = uid(key));- };-- var hiddenKeys$4 = {};-- var NATIVE_WEAK_MAP = weakMapBasicDetection;- var global$3 = global$b;- var isObject$3 = isObject$8;- var createNonEnumerableProperty$2 = createNonEnumerableProperty$3;- var hasOwn$3 = hasOwnProperty_1;- var shared = sharedStore;- var sharedKey$1 = sharedKey$2;- var hiddenKeys$3 = hiddenKeys$4;-- var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';- var TypeError$1 = global$3.TypeError;- var WeakMap = global$3.WeakMap;- var set, get, has;-- var enforce = function (it) {- return has(it) ? get(it) : set(it, {});- };-- var getterFor = function (TYPE) {- return function (it) {- var state;- if (!isObject$3(it) || (state = get(it)).type !== TYPE) {- throw TypeError$1('Incompatible receiver, ' + TYPE + ' required');- } return state;- };- };-- if (NATIVE_WEAK_MAP || shared.state) {- var store = shared.state || (shared.state = new WeakMap());- /* eslint-disable no-self-assign -- prototype methods protection */- store.get = store.get;- store.has = store.has;- store.set = store.set;- /* eslint-enable no-self-assign -- prototype methods protection */- set = function (it, metadata) {- if (store.has(it)) throw TypeError$1(OBJECT_ALREADY_INITIALIZED);- metadata.facade = it;- store.set(it, metadata);- return metadata;- };- get = function (it) {- return store.get(it) || {};- };- has = function (it) {- return store.has(it);- };- } else {- var STATE = sharedKey$1('state');- hiddenKeys$3[STATE] = true;- set = function (it, metadata) {- if (hasOwn$3(it, STATE)) throw TypeError$1(OBJECT_ALREADY_INITIALIZED);- metadata.facade = it;- createNonEnumerableProperty$2(it, STATE, metadata);- return metadata;- };- get = function (it) {- return hasOwn$3(it, STATE) ? it[STATE] : {};- };- has = function (it) {- return hasOwn$3(it, STATE);- };- }-- var internalState = {- set: set,- get: get,- has: has,- enforce: enforce,- getterFor: getterFor- };-- var uncurryThis$8 = functionUncurryThis;- var fails$7 = fails$e;- var isCallable$4 = isCallable$c;- var hasOwn$2 = hasOwnProperty_1;- var DESCRIPTORS$2 = descriptors;- var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE;- var inspectSource$1 = inspectSource$2;- var InternalStateModule = internalState;-- var enforceInternalState = InternalStateModule.enforce;- var getInternalState = InternalStateModule.get;- var $String$1 = String;- // eslint-disable-next-line es/no-object-defineproperty -- safe- var defineProperty$2 = Object.defineProperty;- var stringSlice = uncurryThis$8(''.slice);- var replace = uncurryThis$8(''.replace);- var join = uncurryThis$8([].join);-- var CONFIGURABLE_LENGTH = DESCRIPTORS$2 && !fails$7(function () {- return defineProperty$2(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;- });-- var TEMPLATE = String(String).split('String');-- var makeBuiltIn$1 = makeBuiltIn$2.exports = function (value, name, options) {- if (stringSlice($String$1(name), 0, 7) === 'Symbol(') {- name = '[' + replace($String$1(name), /^Symbol\(([^)]*)\)/, '$1') + ']';- }- if (options && options.getter) name = 'get ' + name;- if (options && options.setter) name = 'set ' + name;- if (!hasOwn$2(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {- if (DESCRIPTORS$2) defineProperty$2(value, 'name', { value: name, configurable: true });- else value.name = name;- }- if (CONFIGURABLE_LENGTH && options && hasOwn$2(options, 'arity') && value.length !== options.arity) {- defineProperty$2(value, 'length', { value: options.arity });- }- try {- if (options && hasOwn$2(options, 'constructor') && options.constructor) {- if (DESCRIPTORS$2) defineProperty$2(value, 'prototype', { writable: false });- // in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable- } else if (value.prototype) value.prototype = undefined;- } catch (error) { /* empty */ }- var state = enforceInternalState(value);- if (!hasOwn$2(state, 'source')) {- state.source = join(TEMPLATE, typeof name == 'string' ? name : '');- } return value;- };-- // add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative- // eslint-disable-next-line no-extend-native -- required- Function.prototype.toString = makeBuiltIn$1(function toString() {- return isCallable$4(this) && getInternalState(this).source || inspectSource$1(this);- }, 'toString');-- var isCallable$3 = isCallable$c;- var definePropertyModule$3 = objectDefineProperty;- var makeBuiltIn = makeBuiltInExports;- var defineGlobalProperty$1 = defineGlobalProperty$3;-- var defineBuiltIn$2 = function (O, key, value, options) {- if (!options) options = {};- var simple = options.enumerable;- var name = options.name !== undefined ? options.name : key;- if (isCallable$3(value)) makeBuiltIn(value, name, options);- if (options.global) {- if (simple) O[key] = value;- else defineGlobalProperty$1(key, value);- } else {- try {- if (!options.unsafe) delete O[key];- else if (O[key]) simple = true;- } catch (error) { /* empty */ }- if (simple) O[key] = value;- else definePropertyModule$3.f(O, key, {- value: value,- enumerable: false,- configurable: !options.nonConfigurable,- writable: !options.nonWritable- });- } return O;- };-- var objectGetOwnPropertyNames = {};-- var ceil = Math.ceil;- var floor = Math.floor;-- // `Math.trunc` method- // https://tc39.es/ecma262/#sec-math.trunc- // eslint-disable-next-line es/no-math-trunc -- safe- var mathTrunc = Math.trunc || function trunc(x) {- var n = +x;- return (n > 0 ? floor : ceil)(n);- };-- var trunc = mathTrunc;-- // `ToIntegerOrInfinity` abstract operation- // https://tc39.es/ecma262/#sec-tointegerorinfinity- var toIntegerOrInfinity$2 = function (argument) {- var number = +argument;- // eslint-disable-next-line no-self-compare -- NaN check- return number !== number || number === 0 ? 0 : trunc(number);- };-- var toIntegerOrInfinity$1 = toIntegerOrInfinity$2;-- var max = Math.max;- var min$1 = Math.min;-- // Helper for a popular repeating case of the spec:- // Let integer be ? ToInteger(index).- // If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).- var toAbsoluteIndex$1 = function (index, length) {- var integer = toIntegerOrInfinity$1(index);- return integer < 0 ? max(integer + length, 0) : min$1(integer, length);- };-- var toIntegerOrInfinity = toIntegerOrInfinity$2;-- var min = Math.min;-- // `ToLength` abstract operation- // https://tc39.es/ecma262/#sec-tolength- var toLength$1 = function (argument) {- return argument > 0 ? min(toIntegerOrInfinity(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991- };-- var toLength = toLength$1;-- // `LengthOfArrayLike` abstract operation- // https://tc39.es/ecma262/#sec-lengthofarraylike- var lengthOfArrayLike$3 = function (obj) {- return toLength(obj.length);- };-- var toIndexedObject$2 = toIndexedObject$4;- var toAbsoluteIndex = toAbsoluteIndex$1;- var lengthOfArrayLike$2 = lengthOfArrayLike$3;-- // `Array.prototype.{ indexOf, includes }` methods implementation- var createMethod$1 = function (IS_INCLUDES) {- return function ($this, el, fromIndex) {- var O = toIndexedObject$2($this);- var length = lengthOfArrayLike$2(O);- var index = toAbsoluteIndex(fromIndex, length);- var value;- // Array#includes uses SameValueZero equality algorithm- // eslint-disable-next-line no-self-compare -- NaN check- if (IS_INCLUDES && el != el) while (length > index) {- value = O[index++];- // eslint-disable-next-line no-self-compare -- NaN check- if (value != value) return true;- // Array#indexOf ignores holes, Array#includes - not- } else for (;length > index; index++) {- if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;- } return !IS_INCLUDES && -1;- };- };-- var arrayIncludes = {- // `Array.prototype.includes` method- // https://tc39.es/ecma262/#sec-array.prototype.includes- includes: createMethod$1(true),- // `Array.prototype.indexOf` method- // https://tc39.es/ecma262/#sec-array.prototype.indexof- indexOf: createMethod$1(false)- };-- var uncurryThis$7 = functionUncurryThis;- var hasOwn$1 = hasOwnProperty_1;- var toIndexedObject$1 = toIndexedObject$4;- var indexOf = arrayIncludes.indexOf;- var hiddenKeys$2 = hiddenKeys$4;-- var push$1 = uncurryThis$7([].push);-- var objectKeysInternal = function (object, names) {- var O = toIndexedObject$1(object);- var i = 0;- var result = [];- var key;- for (key in O) !hasOwn$1(hiddenKeys$2, key) && hasOwn$1(O, key) && push$1(result, key);- // Don't enum bug & hidden keys- while (names.length > i) if (hasOwn$1(O, key = names[i++])) {- ~indexOf(result, key) || push$1(result, key);- }- return result;- };-- // IE8- don't enum bug keys- var enumBugKeys$3 = [- 'constructor',- 'hasOwnProperty',- 'isPrototypeOf',- 'propertyIsEnumerable',- 'toLocaleString',- 'toString',- 'valueOf'- ];-- var internalObjectKeys$1 = objectKeysInternal;- var enumBugKeys$2 = enumBugKeys$3;-- var hiddenKeys$1 = enumBugKeys$2.concat('length', 'prototype');-- // `Object.getOwnPropertyNames` method- // https://tc39.es/ecma262/#sec-object.getownpropertynames- // eslint-disable-next-line es/no-object-getownpropertynames -- safe- objectGetOwnPropertyNames.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {- return internalObjectKeys$1(O, hiddenKeys$1);- };-- var objectGetOwnPropertySymbols = {};-- // eslint-disable-next-line es/no-object-getownpropertysymbols -- safe- objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;-- var getBuiltIn$2 = getBuiltIn$4;- var uncurryThis$6 = functionUncurryThis;- var getOwnPropertyNamesModule = objectGetOwnPropertyNames;- var getOwnPropertySymbolsModule$1 = objectGetOwnPropertySymbols;- var anObject$2 = anObject$4;-- var concat$1 = uncurryThis$6([].concat);-- // all object keys, includes non-enumerable and symbols- var ownKeys$1 = getBuiltIn$2('Reflect', 'ownKeys') || function ownKeys(it) {- var keys = getOwnPropertyNamesModule.f(anObject$2(it));- var getOwnPropertySymbols = getOwnPropertySymbolsModule$1.f;- return getOwnPropertySymbols ? concat$1(keys, getOwnPropertySymbols(it)) : keys;- };-- var hasOwn = hasOwnProperty_1;- var ownKeys = ownKeys$1;- var getOwnPropertyDescriptorModule = objectGetOwnPropertyDescriptor;- var definePropertyModule$2 = objectDefineProperty;-- var copyConstructorProperties$1 = function (target, source, exceptions) {- var keys = ownKeys(source);- var defineProperty = definePropertyModule$2.f;- var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;- for (var i = 0; i < keys.length; i++) {- var key = keys[i];- if (!hasOwn(target, key) && !(exceptions && hasOwn(exceptions, key))) {- defineProperty(target, key, getOwnPropertyDescriptor(source, key));- }- }- };-- var fails$6 = fails$e;- var isCallable$2 = isCallable$c;-- var replacement = /#|\.prototype\./;-- var isForced$1 = function (feature, detection) {- var value = data[normalize(feature)];- return value == POLYFILL ? true- : value == NATIVE ? false- : isCallable$2(detection) ? fails$6(detection)- : !!detection;- };-- var normalize = isForced$1.normalize = function (string) {- return String(string).replace(replacement, '.').toLowerCase();- };-- var data = isForced$1.data = {};- var NATIVE = isForced$1.NATIVE = 'N';- var POLYFILL = isForced$1.POLYFILL = 'P';-- var isForced_1 = isForced$1;-- var global$2 = global$b;- var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;- var createNonEnumerableProperty$1 = createNonEnumerableProperty$3;- var defineBuiltIn$1 = defineBuiltIn$2;- var defineGlobalProperty = defineGlobalProperty$3;- var copyConstructorProperties = copyConstructorProperties$1;- var isForced = isForced_1;-- /*- options.target - name of the target object- options.global - target is the global object- options.stat - export as static methods of target- options.proto - export as prototype methods of target- options.real - real prototype method for the `pure` version- options.forced - export even if the native feature is available- options.bind - bind methods to the target, required for the `pure` version- options.wrap - wrap constructors to preventing global pollution, required for the `pure` version- options.unsafe - use the simple assignment of property instead of delete + defineProperty- options.sham - add a flag to not completely full polyfills- options.enumerable - export as enumerable property- options.dontCallGetSet - prevent calling a getter on target- options.name - the .name of the function if it does not match the key- */- var _export = function (options, source) {- var TARGET = options.target;- var GLOBAL = options.global;- var STATIC = options.stat;- var FORCED, target, key, targetProperty, sourceProperty, descriptor;- if (GLOBAL) {- target = global$2;- } else if (STATIC) {- target = global$2[TARGET] || defineGlobalProperty(TARGET, {});- } else {- target = (global$2[TARGET] || {}).prototype;- }- if (target) for (key in source) {- sourceProperty = source[key];- if (options.dontCallGetSet) {- descriptor = getOwnPropertyDescriptor(target, key);- targetProperty = descriptor && descriptor.value;- } else targetProperty = target[key];- FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);- // contained in target- if (!FORCED && targetProperty !== undefined) {- if (typeof sourceProperty == typeof targetProperty) continue;- copyConstructorProperties(sourceProperty, targetProperty);- }- // add a flag to not completely full polyfills- if (options.sham || (targetProperty && targetProperty.sham)) {- createNonEnumerableProperty$1(sourceProperty, 'sham', true);- }- defineBuiltIn$1(target, key, sourceProperty, options);- }- };-- var internalObjectKeys = objectKeysInternal;- var enumBugKeys$1 = enumBugKeys$3;-- // `Object.keys` method- // https://tc39.es/ecma262/#sec-object.keys- // eslint-disable-next-line es/no-object-keys -- safe- var objectKeys$2 = Object.keys || function keys(O) {- return internalObjectKeys(O, enumBugKeys$1);- };-- var DESCRIPTORS$1 = descriptors;- var uncurryThis$5 = functionUncurryThis;- var call = functionCall;- var fails$5 = fails$e;- var objectKeys$1 = objectKeys$2;- var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;- var propertyIsEnumerableModule = objectPropertyIsEnumerable;- var toObject$2 = toObject$4;- var IndexedObject$1 = indexedObject;-- // eslint-disable-next-line es/no-object-assign -- safe- var $assign = Object.assign;- // eslint-disable-next-line es/no-object-defineproperty -- required for testing- var defineProperty$1 = Object.defineProperty;- var concat = uncurryThis$5([].concat);-- // `Object.assign` method- // https://tc39.es/ecma262/#sec-object.assign- var objectAssign = !$assign || fails$5(function () {- // should have correct order of operations (Edge bug)- if (DESCRIPTORS$1 && $assign({ b: 1 }, $assign(defineProperty$1({}, 'a', {- enumerable: true,- get: function () {- defineProperty$1(this, 'b', {- value: 3,- enumerable: false- });- }- }), { b: 2 })).b !== 1) return true;- // should work with symbols and should have deterministic property order (V8 bug)- var A = {};- var B = {};- // eslint-disable-next-line es/no-symbol -- safe- var symbol = Symbol();- var alphabet = 'abcdefghijklmnopqrst';- A[symbol] = 7;- alphabet.split('').forEach(function (chr) { B[chr] = chr; });- return $assign({}, A)[symbol] != 7 || objectKeys$1($assign({}, B)).join('') != alphabet;- }) ? function assign(target, source) { // eslint-disable-line no-unused-vars -- required for `.length`- var T = toObject$2(target);- var argumentsLength = arguments.length;- var index = 1;- var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;- var propertyIsEnumerable = propertyIsEnumerableModule.f;- while (argumentsLength > index) {- var S = IndexedObject$1(arguments[index++]);- var keys = getOwnPropertySymbols ? concat(objectKeys$1(S), getOwnPropertySymbols(S)) : objectKeys$1(S);- var length = keys.length;- var j = 0;- var key;- while (length > j) {- key = keys[j++];- if (!DESCRIPTORS$1 || call(propertyIsEnumerable, S, key)) T[key] = S[key];- }- } return T;- } : $assign;-- var $$3 = _export;- var assign = objectAssign;-- // `Object.assign` method- // https://tc39.es/ecma262/#sec-object.assign- // eslint-disable-next-line es/no-object-assign -- required for testing- $$3({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }, {- assign: assign- });-- var classof$5 = classofRaw$2;-- // `IsArray` abstract operation- // https://tc39.es/ecma262/#sec-isarray- // eslint-disable-next-line es/no-array-isarray -- safe- var isArray$2 = Array.isArray || function isArray(argument) {- return classof$5(argument) == 'Array';- };-- var $TypeError$1 = TypeError;- var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; // 2 ** 53 - 1 == 9007199254740991-- var doesNotExceedSafeInteger$1 = function (it) {- if (it > MAX_SAFE_INTEGER) throw $TypeError$1('Maximum allowed index exceeded');- return it;- };-- var toPropertyKey = toPropertyKey$3;- var definePropertyModule$1 = objectDefineProperty;- var createPropertyDescriptor = createPropertyDescriptor$3;-- var createProperty$1 = function (object, key, value) {- var propertyKey = toPropertyKey(key);- if (propertyKey in object) definePropertyModule$1.f(object, propertyKey, createPropertyDescriptor(0, value));- else object[propertyKey] = value;- };-- var wellKnownSymbol$7 = wellKnownSymbol$9;-- var TO_STRING_TAG$1 = wellKnownSymbol$7('toStringTag');- var test = {};-- test[TO_STRING_TAG$1] = 'z';-- var toStringTagSupport = String(test) === '[object z]';-- var TO_STRING_TAG_SUPPORT$2 = toStringTagSupport;- var isCallable$1 = isCallable$c;- var classofRaw$1 = classofRaw$2;- var wellKnownSymbol$6 = wellKnownSymbol$9;-- var TO_STRING_TAG = wellKnownSymbol$6('toStringTag');- var $Object = Object;-- // ES3 wrong here- var CORRECT_ARGUMENTS = classofRaw$1(function () { return arguments; }()) == 'Arguments';-- // fallback for IE11 Script Access Denied error- var tryGet = function (it, key) {- try {- return it[key];- } catch (error) { /* empty */ }- };-- // getting tag from ES6+ `Object.prototype.toString`- var classof$4 = TO_STRING_TAG_SUPPORT$2 ? classofRaw$1 : function (it) {- var O, tag, result;- return it === undefined ? 'Undefined' : it === null ? 'Null'- // @@toStringTag case- : typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag- // builtinTag case- : CORRECT_ARGUMENTS ? classofRaw$1(O)- // ES3 arguments fallback- : (result = classofRaw$1(O)) == 'Object' && isCallable$1(O.callee) ? 'Arguments' : result;- };-- var uncurryThis$4 = functionUncurryThis;- var fails$4 = fails$e;- var isCallable = isCallable$c;- var classof$3 = classof$4;- var getBuiltIn$1 = getBuiltIn$4;- var inspectSource = inspectSource$2;-- var noop = function () { /* empty */ };- var empty = [];- var construct = getBuiltIn$1('Reflect', 'construct');- var constructorRegExp = /^\s*(?:class|function)\b/;- var exec = uncurryThis$4(constructorRegExp.exec);- var INCORRECT_TO_STRING = !constructorRegExp.exec(noop);-- var isConstructorModern = function isConstructor(argument) {- if (!isCallable(argument)) return false;- try {- construct(noop, empty, argument);- return true;- } catch (error) {- return false;- }- };-- var isConstructorLegacy = function isConstructor(argument) {- if (!isCallable(argument)) return false;- switch (classof$3(argument)) {- case 'AsyncFunction':- case 'GeneratorFunction':- case 'AsyncGeneratorFunction': return false;- }- try {- // we can't check .prototype since constructors produced by .bind haven't it- // `Function#toString` throws on some built-it function in some legacy engines- // (for example, `DOMQuad` and similar in FF41-)- return INCORRECT_TO_STRING || !!exec(constructorRegExp, inspectSource(argument));- } catch (error) {- return true;- }- };-- isConstructorLegacy.sham = true;-- // `IsConstructor` abstract operation- // https://tc39.es/ecma262/#sec-isconstructor- var isConstructor$1 = !construct || fails$4(function () {- var called;- return isConstructorModern(isConstructorModern.call)- || !isConstructorModern(Object)- || !isConstructorModern(function () { called = true; })- || called;- }) ? isConstructorLegacy : isConstructorModern;-- var isArray$1 = isArray$2;- var isConstructor = isConstructor$1;- var isObject$2 = isObject$8;- var wellKnownSymbol$5 = wellKnownSymbol$9;-- var SPECIES$1 = wellKnownSymbol$5('species');- var $Array = Array;-- // a part of `ArraySpeciesCreate` abstract operation- // https://tc39.es/ecma262/#sec-arrayspeciescreate- var arraySpeciesConstructor$1 = function (originalArray) {- var C;- if (isArray$1(originalArray)) {- C = originalArray.constructor;- // cross-realm fallback- if (isConstructor(C) && (C === $Array || isArray$1(C.prototype))) C = undefined;- else if (isObject$2(C)) {- C = C[SPECIES$1];- if (C === null) C = undefined;- }- } return C === undefined ? $Array : C;- };-- var arraySpeciesConstructor = arraySpeciesConstructor$1;-- // `ArraySpeciesCreate` abstract operation- // https://tc39.es/ecma262/#sec-arrayspeciescreate- var arraySpeciesCreate$2 = function (originalArray, length) {- return new (arraySpeciesConstructor(originalArray))(length === 0 ? 0 : length);- };-- var fails$3 = fails$e;- var wellKnownSymbol$4 = wellKnownSymbol$9;- var V8_VERSION$1 = engineV8Version;-- var SPECIES = wellKnownSymbol$4('species');-- var arrayMethodHasSpeciesSupport$1 = function (METHOD_NAME) {- // We can't use this feature detection in V8 since it causes- // deoptimization and serious performance degradation- // https://github.com/zloirock/core-js/issues/677- return V8_VERSION$1 >= 51 || !fails$3(function () {- var array = [];- var constructor = array.constructor = {};- constructor[SPECIES] = function () {- return { foo: 1 };- };- return array[METHOD_NAME](Boolean).foo !== 1;- });- };-- var $$2 = _export;- var fails$2 = fails$e;- var isArray = isArray$2;- var isObject$1 = isObject$8;- var toObject$1 = toObject$4;- var lengthOfArrayLike$1 = lengthOfArrayLike$3;- var doesNotExceedSafeInteger = doesNotExceedSafeInteger$1;- var createProperty = createProperty$1;- var arraySpeciesCreate$1 = arraySpeciesCreate$2;- var arrayMethodHasSpeciesSupport = arrayMethodHasSpeciesSupport$1;- var wellKnownSymbol$3 = wellKnownSymbol$9;- var V8_VERSION = engineV8Version;-- var IS_CONCAT_SPREADABLE = wellKnownSymbol$3('isConcatSpreadable');-- // We can't use this feature detection in V8 since it causes- // deoptimization and serious performance degradation- // https://github.com/zloirock/core-js/issues/679- var IS_CONCAT_SPREADABLE_SUPPORT = V8_VERSION >= 51 || !fails$2(function () {- var array = [];- array[IS_CONCAT_SPREADABLE] = false;- return array.concat()[0] !== array;- });-- var isConcatSpreadable = function (O) {- if (!isObject$1(O)) return false;- var spreadable = O[IS_CONCAT_SPREADABLE];- return spreadable !== undefined ? !!spreadable : isArray(O);- };-- var FORCED = !IS_CONCAT_SPREADABLE_SUPPORT || !arrayMethodHasSpeciesSupport('concat');-- // `Array.prototype.concat` method- // https://tc39.es/ecma262/#sec-array.prototype.concat- // with adding support of @@isConcatSpreadable and @@species- $$2({ target: 'Array', proto: true, arity: 1, forced: FORCED }, {- // eslint-disable-next-line no-unused-vars -- required for `.length`- concat: function concat(arg) {- var O = toObject$1(this);- var A = arraySpeciesCreate$1(O, 0);- var n = 0;- var i, k, length, len, E;- for (i = -1, length = arguments.length; i < length; i++) {- E = i === -1 ? O : arguments[i];- if (isConcatSpreadable(E)) {- len = lengthOfArrayLike$1(E);- doesNotExceedSafeInteger(n + len);- for (k = 0; k < len; k++, n++) if (k in E) createProperty(A, n, E[k]);- } else {- doesNotExceedSafeInteger(n + 1);- createProperty(A, n++, E);- }- }- A.length = n;- return A;- }- });-- var objectDefineProperties = {};-- var DESCRIPTORS = descriptors;- var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;- var definePropertyModule = objectDefineProperty;- var anObject$1 = anObject$4;- var toIndexedObject = toIndexedObject$4;- var objectKeys = objectKeys$2;-- // `Object.defineProperties` method- // https://tc39.es/ecma262/#sec-object.defineproperties- // eslint-disable-next-line es/no-object-defineproperties -- safe- objectDefineProperties.f = DESCRIPTORS && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {- anObject$1(O);- var props = toIndexedObject(Properties);- var keys = objectKeys(Properties);- var length = keys.length;- var index = 0;- var key;- while (length > index) definePropertyModule.f(O, key = keys[index++], props[key]);- return O;- };-- var getBuiltIn = getBuiltIn$4;-- var html$1 = getBuiltIn('document', 'documentElement');-- /* global ActiveXObject -- old IE, WSH */-- var anObject = anObject$4;- var definePropertiesModule = objectDefineProperties;- var enumBugKeys = enumBugKeys$3;- var hiddenKeys = hiddenKeys$4;- var html = html$1;- var documentCreateElement$1 = documentCreateElement$2;- var sharedKey = sharedKey$2;-- var GT = '>';- var LT = '<';- var PROTOTYPE = 'prototype';- var SCRIPT = 'script';- var IE_PROTO = sharedKey('IE_PROTO');-- var EmptyConstructor = function () { /* empty */ };-- var scriptTag = function (content) {- return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT;- };-- // Create object with fake `null` prototype: use ActiveX Object with cleared prototype- var NullProtoObjectViaActiveX = function (activeXDocument) {- activeXDocument.write(scriptTag(''));- activeXDocument.close();- var temp = activeXDocument.parentWindow.Object;- activeXDocument = null; // avoid memory leak- return temp;- };-- // Create object with fake `null` prototype: use iframe Object with cleared prototype- var NullProtoObjectViaIFrame = function () {- // Thrash, waste and sodomy: IE GC bug- var iframe = documentCreateElement$1('iframe');- var JS = 'java' + SCRIPT + ':';- var iframeDocument;- iframe.style.display = 'none';- html.appendChild(iframe);- // https://github.com/zloirock/core-js/issues/475- iframe.src = String(JS);- iframeDocument = iframe.contentWindow.document;- iframeDocument.open();- iframeDocument.write(scriptTag('document.F=Object'));- iframeDocument.close();- return iframeDocument.F;- };-- // Check for document.domain and active x support- // No need to use active x approach when document.domain is not set- // see https://github.com/es-shims/es5-shim/issues/150- // variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346- // avoid IE GC bug- var activeXDocument;- var NullProtoObject = function () {- try {- activeXDocument = new ActiveXObject('htmlfile');- } catch (error) { /* ignore */ }- NullProtoObject = typeof document != 'undefined'- ? document.domain && activeXDocument- ? NullProtoObjectViaActiveX(activeXDocument) // old IE- : NullProtoObjectViaIFrame()- : NullProtoObjectViaActiveX(activeXDocument); // WSH- var length = enumBugKeys.length;- while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];- return NullProtoObject();- };-- hiddenKeys[IE_PROTO] = true;-- // `Object.create` method- // https://tc39.es/ecma262/#sec-object.create- // eslint-disable-next-line es/no-object-create -- safe- var objectCreate = Object.create || function create(O, Properties) {- var result;- if (O !== null) {- EmptyConstructor[PROTOTYPE] = anObject(O);- result = new EmptyConstructor();- EmptyConstructor[PROTOTYPE] = null;- // add "__proto__" for Object.getPrototypeOf polyfill- result[IE_PROTO] = O;- } else result = NullProtoObject();- return Properties === undefined ? result : definePropertiesModule.f(result, Properties);- };-- var wellKnownSymbol$2 = wellKnownSymbol$9;- var create = objectCreate;- var defineProperty = objectDefineProperty.f;-- var UNSCOPABLES = wellKnownSymbol$2('unscopables');- var ArrayPrototype = Array.prototype;-- // Array.prototype[@@unscopables]- // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables- if (ArrayPrototype[UNSCOPABLES] == undefined) {- defineProperty(ArrayPrototype, UNSCOPABLES, {- configurable: true,- value: create(null)- });- }-- // add a key to Array.prototype[@@unscopables]- var addToUnscopables$1 = function (key) {- ArrayPrototype[UNSCOPABLES][key] = true;- };-- var $$1 = _export;- var $includes = arrayIncludes.includes;- var fails$1 = fails$e;- var addToUnscopables = addToUnscopables$1;-- // FF99+ bug- var BROKEN_ON_SPARSE = fails$1(function () {- // eslint-disable-next-line es/no-array-prototype-includes -- detection- return !Array(1).includes();- });-- // `Array.prototype.includes` method- // https://tc39.es/ecma262/#sec-array.prototype.includes- $$1({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE }, {- includes: function includes(el /* , fromIndex = 0 */) {- return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);- }- });-- // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables- addToUnscopables('includes');-- var TO_STRING_TAG_SUPPORT$1 = toStringTagSupport;- var classof$2 = classof$4;-- // `Object.prototype.toString` method implementation- // https://tc39.es/ecma262/#sec-object.prototype.tostring- var objectToString = TO_STRING_TAG_SUPPORT$1 ? {}.toString : function toString() {- return '[object ' + classof$2(this) + ']';- };-- var TO_STRING_TAG_SUPPORT = toStringTagSupport;- var defineBuiltIn = defineBuiltIn$2;- var toString$2 = objectToString;-- // `Object.prototype.toString` method- // https://tc39.es/ecma262/#sec-object.prototype.tostring- if (!TO_STRING_TAG_SUPPORT) {- defineBuiltIn(Object.prototype, 'toString', toString$2, { unsafe: true });- }-- // iterable DOM collections- // flag - `iterable` interface - 'entries', 'keys', 'values', 'forEach' methods- var domIterables = {- CSSRuleList: 0,- CSSStyleDeclaration: 0,- CSSValueList: 0,- ClientRectList: 0,- DOMRectList: 0,- DOMStringList: 0,- DOMTokenList: 1,- DataTransferItemList: 0,- FileList: 0,- HTMLAllCollection: 0,- HTMLCollection: 0,- HTMLFormElement: 0,- HTMLSelectElement: 0,- MediaList: 0,- MimeTypeArray: 0,- NamedNodeMap: 0,- NodeList: 1,- PaintRequestList: 0,- Plugin: 0,- PluginArray: 0,- SVGLengthList: 0,- SVGNumberList: 0,- SVGPathSegList: 0,- SVGPointList: 0,- SVGStringList: 0,- SVGTransformList: 0,- SourceBufferList: 0,- StyleSheetList: 0,- TextTrackCueList: 0,- TextTrackList: 0,- TouchList: 0- };-- // in old WebKit versions, `element.classList` is not an instance of global `DOMTokenList`- var documentCreateElement = documentCreateElement$2;-- var classList = documentCreateElement('span').classList;- var DOMTokenListPrototype$1 = classList && classList.constructor && classList.constructor.prototype;-- var domTokenListPrototype = DOMTokenListPrototype$1 === Object.prototype ? undefined : DOMTokenListPrototype$1;-- var classofRaw = classofRaw$2;- var uncurryThis$3 = functionUncurryThis;-- var functionUncurryThisClause = function (fn) {- // Nashorn bug:- // https://github.com/zloirock/core-js/issues/1128- // https://github.com/zloirock/core-js/issues/1130- if (classofRaw(fn) === 'Function') return uncurryThis$3(fn);- };-- var uncurryThis$2 = functionUncurryThisClause;- var aCallable = aCallable$2;- var NATIVE_BIND = functionBindNative;-- var bind$1 = uncurryThis$2(uncurryThis$2.bind);-- // optional / simple context binding- var functionBindContext = function (fn, that) {- aCallable(fn);- return that === undefined ? fn : NATIVE_BIND ? bind$1(fn, that) : function (/* ...args */) {- return fn.apply(that, arguments);- };- };-- var bind = functionBindContext;- var uncurryThis$1 = functionUncurryThis;- var IndexedObject = indexedObject;- var toObject = toObject$4;- var lengthOfArrayLike = lengthOfArrayLike$3;- var arraySpeciesCreate = arraySpeciesCreate$2;-- var push = uncurryThis$1([].push);-- // `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterReject }` methods implementation- var createMethod = function (TYPE) {- var IS_MAP = TYPE == 1;- var IS_FILTER = TYPE == 2;- var IS_SOME = TYPE == 3;- var IS_EVERY = TYPE == 4;- var IS_FIND_INDEX = TYPE == 6;- var IS_FILTER_REJECT = TYPE == 7;- var NO_HOLES = TYPE == 5 || IS_FIND_INDEX;- return function ($this, callbackfn, that, specificCreate) {- var O = toObject($this);- var self = IndexedObject(O);- var boundFunction = bind(callbackfn, that);- var length = lengthOfArrayLike(self);- var index = 0;- var create = specificCreate || arraySpeciesCreate;- var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_REJECT ? create($this, 0) : undefined;- var value, result;- for (;length > index; index++) if (NO_HOLES || index in self) {- value = self[index];- result = boundFunction(value, index, O);- if (TYPE) {- if (IS_MAP) target[index] = result; // map- else if (result) switch (TYPE) {- case 3: return true; // some- case 5: return value; // find- case 6: return index; // findIndex- case 2: push(target, value); // filter- } else switch (TYPE) {- case 4: return false; // every- case 7: push(target, value); // filterReject- }- }- }- return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : target;- };- };-- var arrayIteration = {- // `Array.prototype.forEach` method- // https://tc39.es/ecma262/#sec-array.prototype.foreach- forEach: createMethod(0),- // `Array.prototype.map` method- // https://tc39.es/ecma262/#sec-array.prototype.map- map: createMethod(1),- // `Array.prototype.filter` method- // https://tc39.es/ecma262/#sec-array.prototype.filter- filter: createMethod(2),- // `Array.prototype.some` method- // https://tc39.es/ecma262/#sec-array.prototype.some- some: createMethod(3),- // `Array.prototype.every` method- // https://tc39.es/ecma262/#sec-array.prototype.every- every: createMethod(4),- // `Array.prototype.find` method- // https://tc39.es/ecma262/#sec-array.prototype.find- find: createMethod(5),- // `Array.prototype.findIndex` method- // https://tc39.es/ecma262/#sec-array.prototype.findIndex- findIndex: createMethod(6),- // `Array.prototype.filterReject` method- // https://github.com/tc39/proposal-array-filtering- filterReject: createMethod(7)- };-- var fails = fails$e;-- var arrayMethodIsStrict$1 = function (METHOD_NAME, argument) {- var method = [][METHOD_NAME];- return !!method && fails(function () {- // eslint-disable-next-line no-useless-call -- required for testing- method.call(null, argument || function () { return 1; }, 1);- });- };-- var $forEach = arrayIteration.forEach;- var arrayMethodIsStrict = arrayMethodIsStrict$1;-- var STRICT_METHOD = arrayMethodIsStrict('forEach');-- // `Array.prototype.forEach` method implementation- // https://tc39.es/ecma262/#sec-array.prototype.foreach- var arrayForEach = !STRICT_METHOD ? function forEach(callbackfn /* , thisArg */) {- return $forEach(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);- // eslint-disable-next-line es/no-array-prototype-foreach -- safe- } : [].forEach;-- var global$1 = global$b;- var DOMIterables = domIterables;- var DOMTokenListPrototype = domTokenListPrototype;- var forEach = arrayForEach;- var createNonEnumerableProperty = createNonEnumerableProperty$3;-- var handlePrototype = function (CollectionPrototype) {- // some Chrome versions have non-configurable methods on DOMTokenList- if (CollectionPrototype && CollectionPrototype.forEach !== forEach) try {- createNonEnumerableProperty(CollectionPrototype, 'forEach', forEach);- } catch (error) {- CollectionPrototype.forEach = forEach;- }- };-- for (var COLLECTION_NAME in DOMIterables) {- if (DOMIterables[COLLECTION_NAME]) {- handlePrototype(global$1[COLLECTION_NAME] && global$1[COLLECTION_NAME].prototype);- }- }-- handlePrototype(DOMTokenListPrototype);-- var isObject = isObject$8;- var classof$1 = classofRaw$2;- var wellKnownSymbol$1 = wellKnownSymbol$9;-- var MATCH$1 = wellKnownSymbol$1('match');-- // `IsRegExp` abstract operation- // https://tc39.es/ecma262/#sec-isregexp- var isRegexp = function (it) {- var isRegExp;- return isObject(it) && ((isRegExp = it[MATCH$1]) !== undefined ? !!isRegExp : classof$1(it) == 'RegExp');- };-- var isRegExp = isRegexp;-- var $TypeError = TypeError;-- var notARegexp = function (it) {- if (isRegExp(it)) {- throw $TypeError("The method doesn't accept regular expressions");- } return it;- };-- var classof = classof$4;-- var $String = String;-- var toString$1 = function (argument) {- if (classof(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string');- return $String(argument);- };-- var wellKnownSymbol = wellKnownSymbol$9;-- var MATCH = wellKnownSymbol('match');-- var correctIsRegexpLogic = function (METHOD_NAME) {- var regexp = /./;- try {- '/./'[METHOD_NAME](regexp);- } catch (error1) {- try {- regexp[MATCH] = false;- return '/./'[METHOD_NAME](regexp);- } catch (error2) { /* empty */ }- } return false;- };-- var $ = _export;- var uncurryThis = functionUncurryThis;- var notARegExp = notARegexp;- var requireObjectCoercible = requireObjectCoercible$3;- var toString = toString$1;- var correctIsRegExpLogic = correctIsRegexpLogic;-- var stringIndexOf = uncurryThis(''.indexOf);-- // `String.prototype.includes` method- // https://tc39.es/ecma262/#sec-string.prototype.includes- $({ target: 'String', proto: true, forced: !correctIsRegExpLogic('includes') }, {- includes: function includes(searchString /* , position = 0 */) {- return !!~stringIndexOf(- toString(requireObjectCoercible(this)),- toString(notARegExp(searchString)),- arguments.length > 1 ? arguments[1] : undefined- );- }- });-- /**- * @author: Dennis Hernández- * @update zhixin wen <[email protected]>- */-- var debounce = function debounce(func, wait) {- var timeout = 0;- return function () {- for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {- args[_key] = arguments[_key];- }- var later = function later() {- timeout = 0;- func.apply(void 0, args);- };- clearTimeout(timeout);- timeout = setTimeout(later, wait);- };- };- Object.assign($$4.fn.bootstrapTable.defaults, {- mobileResponsive: false,- minWidth: 562,- minHeight: undefined,- heightThreshold: 100,- // just slightly larger than mobile chrome's auto-hiding toolbar- checkOnInit: true,- columnsHidden: []- });- $$4.BootstrapTable = /*#__PURE__*/function (_$$BootstrapTable) {- _inherits(_class, _$$BootstrapTable);- var _super = _createSuper(_class);- function _class() {- _classCallCheck(this, _class);- return _super.apply(this, arguments);- }- _createClass(_class, [{- key: "init",- value: function init() {- var _get2,- _this = this;- for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {- args[_key2] = arguments[_key2];- }- (_get2 = _get(_getPrototypeOf(_class.prototype), "init", this)).call.apply(_get2, [this].concat(args));- if (!this.options.mobileResponsive || !this.options.minWidth) {- return;- }- if (this.options.minWidth < 100 && this.options.resizable) {- console.warn('The minWidth when the resizable extension is active should be greater or equal than 100');- this.options.minWidth = 100;- }- var old = {- width: $$4(window).width(),- height: $$4(window).height()- };- $$4(window).on('resize orientationchange', debounce(function () {- // reset view if height has only changed by at least the threshold.- var width = $$4(window).width();- var height = $$4(window).height();- var $activeElement = $$4(document.activeElement);- if ($activeElement.length && ['INPUT', 'SELECT', 'TEXTAREA'].includes($activeElement.prop('nodeName'))) {- return;- }- if (Math.abs(old.height - height) > _this.options.heightThreshold || old.width !== width) {- _this.changeView(width, height);- old = {- width: width,- height: height- };- }- }, 200));- if (this.options.checkOnInit) {- var width = $$4(window).width();- var height = $$4(window).height();- this.changeView(width, height);- old = {- width: width,- height: height- };- }- }- }, {- key: "conditionCardView",- value: function conditionCardView() {- this.changeTableView(false);- this.showHideColumns(false);- }- }, {- key: "conditionFullView",- value: function conditionFullView() {- this.changeTableView(true);- this.showHideColumns(true);- }- }, {- key: "changeTableView",- value: function changeTableView(cardViewState) {- this.options.cardView = cardViewState;- this.toggleView();- }- }, {- key: "showHideColumns",- value: function showHideColumns(checked) {- var _this2 = this;- if (this.options.columnsHidden.length > 0) {- this.columns.forEach(function (column) {- if (_this2.options.columnsHidden.includes(column.field)) {- if (column.visible !== checked) {- _this2._toggleColumn(_this2.fieldsColumnsIndex[column.field], checked, true);- }- }- });- }- }- }, {- key: "changeView",- value: function changeView(width, height) {- if (this.options.minHeight) {- if (width <= this.options.minWidth && height <= this.options.minHeight) {- this.conditionCardView();- } else if (width > this.options.minWidth && height > this.options.minHeight) {- this.conditionFullView();- }- } else if (width <= this.options.minWidth) {- this.conditionCardView();- } else if (width > this.options.minWidth) {- this.conditionFullView();- }- this.resetView();- }- }]);- return _class;- }($$4.BootstrapTable);--}));--(function (global, factory) {- typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('jquery')) :- typeof define === 'function' && define.amd ? define(['jquery'], factory) :- (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.jQuery));-})(this, (function ($$7) { 'use strict';-- function _classCallCheck(instance, Constructor) {- if (!(instance instanceof Constructor)) {- throw new TypeError("Cannot call a class as a function");- }- }- function _defineProperties(target, props) {- for (var i = 0; i < props.length; i++) {- var descriptor = props[i];- descriptor.enumerable = descriptor.enumerable || false;- descriptor.configurable = true;- if ("value" in descriptor) descriptor.writable = true;- Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor);- }- }- function _createClass(Constructor, protoProps, staticProps) {- if (protoProps) _defineProperties(Constructor.prototype, protoProps);- if (staticProps) _defineProperties(Constructor, staticProps);- Object.defineProperty(Constructor, "prototype", {- writable: false- });- return Constructor;- }- function _defineProperty(obj, key, value) {- key = _toPropertyKey(key);- if (key in obj) {- Object.defineProperty(obj, key, {- value: value,- enumerable: true,- configurable: true,- writable: true- });- } else {- obj[key] = value;- }- return obj;- }- function _inherits(subClass, superClass) {- if (typeof superClass !== "function" && superClass !== null) {- throw new TypeError("Super expression must either be null or a function");- }- subClass.prototype = Object.create(superClass && superClass.prototype, {- constructor: {- value: subClass,- writable: true,- configurable: true- }- });- Object.defineProperty(subClass, "prototype", {- writable: false- });- if (superClass) _setPrototypeOf(subClass, superClass);- }- function _getPrototypeOf(o) {- _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {- return o.__proto__ || Object.getPrototypeOf(o);- };- return _getPrototypeOf(o);- }- function _setPrototypeOf(o, p) {- _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {- o.__proto__ = p;- return o;- };- return _setPrototypeOf(o, p);- }- function _isNativeReflectConstruct() {- if (typeof Reflect === "undefined" || !Reflect.construct) return false;- if (Reflect.construct.sham) return false;- if (typeof Proxy === "function") return true;- try {- Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));- return true;- } catch (e) {- return false;- }- }- function _assertThisInitialized(self) {- if (self === void 0) {- throw new ReferenceError("this hasn't been initialised - super() hasn't been called");- }- return self;- }- function _possibleConstructorReturn(self, call) {- if (call && (typeof call === "object" || typeof call === "function")) {- return call;- } else if (call !== void 0) {- throw new TypeError("Derived constructors may only return object or undefined");- }- return _assertThisInitialized(self);- }- function _createSuper(Derived) {- var hasNativeReflectConstruct = _isNativeReflectConstruct();- return function _createSuperInternal() {- var Super = _getPrototypeOf(Derived),- result;- if (hasNativeReflectConstruct) {- var NewTarget = _getPrototypeOf(this).constructor;- result = Reflect.construct(Super, arguments, NewTarget);- } else {- result = Super.apply(this, arguments);- }- return _possibleConstructorReturn(this, result);- };- }- function _superPropBase(object, property) {- while (!Object.prototype.hasOwnProperty.call(object, property)) {- object = _getPrototypeOf(object);- if (object === null) break;- }- return object;- }- function _get() {- if (typeof Reflect !== "undefined" && Reflect.get) {- _get = Reflect.get.bind();- } else {- _get = function _get(target, property, receiver) {- var base = _superPropBase(target, property);- if (!base) return;- var desc = Object.getOwnPropertyDescriptor(base, property);- if (desc.get) {- return desc.get.call(arguments.length < 3 ? target : receiver);- }- return desc.value;- };- }- return _get.apply(this, arguments);- }- function _unsupportedIterableToArray(o, minLen) {- if (!o) return;- if (typeof o === "string") return _arrayLikeToArray(o, minLen);- var n = Object.prototype.toString.call(o).slice(8, -1);- if (n === "Object" && o.constructor) n = o.constructor.name;- if (n === "Map" || n === "Set") return Array.from(o);- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);- }- function _arrayLikeToArray(arr, len) {- if (len == null || len > arr.length) len = arr.length;- for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];- return arr2;- }- function _createForOfIteratorHelper(o, allowArrayLike) {- var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"];- if (!it) {- if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") {- if (it) o = it;- var i = 0;- var F = function () {};- return {- s: F,- n: function () {- if (i >= o.length) return {- done: true- };- return {- done: false,- value: o[i++]- };- },- e: function (e) {- throw e;- },- f: F- };- }- 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 normalCompletion = true,- didErr = false,- err;- return {- s: function () {- it = it.call(o);- },- n: function () {- var step = it.next();- normalCompletion = step.done;- return step;- },- e: function (e) {- didErr = true;- err = e;- },- f: function () {- try {- if (!normalCompletion && it.return != null) it.return();- } finally {- if (didErr) throw err;- }- }- };- }- function _toPrimitive(input, hint) {- if (typeof input !== "object" || input === null) return input;- var prim = input[Symbol.toPrimitive];- if (prim !== undefined) {- var res = prim.call(input, hint || "default");- if (typeof res !== "object") return res;- throw new TypeError("@@toPrimitive must return a primitive value.");- }- return (hint === "string" ? String : Number)(input);- }- function _toPropertyKey(arg) {- var key = _toPrimitive(arg, "string");- return typeof key === "symbol" ? key : String(key);- }-- var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};-- var check = function (it) {- return it && it.Math == Math && it;- };-- // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028- var global$e =- // eslint-disable-next-line es/no-global-this -- safe- check(typeof globalThis == 'object' && globalThis) ||- check(typeof window == 'object' && window) ||- // eslint-disable-next-line no-restricted-globals -- safe- check(typeof self == 'object' && self) ||- check(typeof commonjsGlobal == 'object' && commonjsGlobal) ||- // eslint-disable-next-line no-new-func -- fallback- (function () { return this; })() || Function('return this')();-- var objectGetOwnPropertyDescriptor = {};-- var fails$i = function (exec) {- try {- return !!exec();- } catch (error) {- return true;- }- };-- var fails$h = fails$i;-- // Detect IE8's incomplete defineProperty implementation- var descriptors = !fails$h(function () {- // eslint-disable-next-line es/no-object-defineproperty -- required for testing- return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;- });-- var fails$g = fails$i;-- var functionBindNative = !fails$g(function () {- // eslint-disable-next-line es/no-function-prototype-bind -- safe- var test = (function () { /* empty */ }).bind();- // eslint-disable-next-line no-prototype-builtins -- safe- return typeof test != 'function' || test.hasOwnProperty('prototype');- });-- var NATIVE_BIND$3 = functionBindNative;-- var call$9 = Function.prototype.call;-- var functionCall = NATIVE_BIND$3 ? call$9.bind(call$9) : function () {- return call$9.apply(call$9, arguments);- };-- var objectPropertyIsEnumerable = {};-- var $propertyIsEnumerable = {}.propertyIsEnumerable;- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe- var getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;-- // Nashorn ~ JDK8 bug- var NASHORN_BUG = getOwnPropertyDescriptor$1 && !$propertyIsEnumerable.call({ 1: 2 }, 1);-- // `Object.prototype.propertyIsEnumerable` method implementation- // https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable- objectPropertyIsEnumerable.f = NASHORN_BUG ? function propertyIsEnumerable(V) {- var descriptor = getOwnPropertyDescriptor$1(this, V);- return !!descriptor && descriptor.enumerable;- } : $propertyIsEnumerable;-- var createPropertyDescriptor$3 = function (bitmap, value) {- return {- enumerable: !(bitmap & 1),- configurable: !(bitmap & 2),- writable: !(bitmap & 4),- value: value- };- };-- var NATIVE_BIND$2 = functionBindNative;-- var FunctionPrototype$2 = Function.prototype;- var call$8 = FunctionPrototype$2.call;- var uncurryThisWithBind = NATIVE_BIND$2 && FunctionPrototype$2.bind.bind(call$8, call$8);-- var functionUncurryThis = NATIVE_BIND$2 ? uncurryThisWithBind : function (fn) {- return function () {- return call$8.apply(fn, arguments);- };- };-- var uncurryThis$k = functionUncurryThis;-- var toString$6 = uncurryThis$k({}.toString);- var stringSlice$5 = uncurryThis$k(''.slice);-- var classofRaw$2 = function (it) {- return stringSlice$5(toString$6(it), 8, -1);- };-- var uncurryThis$j = functionUncurryThis;- var fails$f = fails$i;- var classof$6 = classofRaw$2;-- var $Object$3 = Object;- var split = uncurryThis$j(''.split);-- // fallback for non-array-like ES3 and non-enumerable old V8 strings- var indexedObject = fails$f(function () {- // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346- // eslint-disable-next-line no-prototype-builtins -- safe- return !$Object$3('z').propertyIsEnumerable(0);- }) ? function (it) {- return classof$6(it) == 'String' ? split(it, '') : $Object$3(it);- } : $Object$3;-- // we can't use just `it == null` since of `document.all` special case- // https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec- var isNullOrUndefined$3 = function (it) {- return it === null || it === undefined;- };-- var isNullOrUndefined$2 = isNullOrUndefined$3;-- var $TypeError$7 = TypeError;-- // `RequireObjectCoercible` abstract operation- // https://tc39.es/ecma262/#sec-requireobjectcoercible- var requireObjectCoercible$4 = function (it) {- if (isNullOrUndefined$2(it)) throw $TypeError$7("Can't call method on " + it);- return it;- };-- // toObject with fallback for non-array-like ES3 strings- var IndexedObject$3 = indexedObject;- var requireObjectCoercible$3 = requireObjectCoercible$4;-- var toIndexedObject$6 = function (it) {- return IndexedObject$3(requireObjectCoercible$3(it));- };-- var documentAll$2 = typeof document == 'object' && document.all;-- // https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot- // eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing- var IS_HTMLDDA = typeof documentAll$2 == 'undefined' && documentAll$2 !== undefined;-- var documentAll_1 = {- all: documentAll$2,- IS_HTMLDDA: IS_HTMLDDA- };-- var $documentAll$1 = documentAll_1;-- var documentAll$1 = $documentAll$1.all;-- // `IsCallable` abstract operation- // https://tc39.es/ecma262/#sec-iscallable- var isCallable$e = $documentAll$1.IS_HTMLDDA ? function (argument) {- return typeof argument == 'function' || argument === documentAll$1;- } : function (argument) {- return typeof argument == 'function';- };-- var isCallable$d = isCallable$e;- var $documentAll = documentAll_1;-- var documentAll = $documentAll.all;-- var isObject$8 = $documentAll.IS_HTMLDDA ? function (it) {- return typeof it == 'object' ? it !== null : isCallable$d(it) || it === documentAll;- } : function (it) {- return typeof it == 'object' ? it !== null : isCallable$d(it);- };-- var global$d = global$e;- var isCallable$c = isCallable$e;-- var aFunction = function (argument) {- return isCallable$c(argument) ? argument : undefined;- };-- var getBuiltIn$4 = function (namespace, method) {- return arguments.length < 2 ? aFunction(global$d[namespace]) : global$d[namespace] && global$d[namespace][method];- };-- var uncurryThis$i = functionUncurryThis;-- var objectIsPrototypeOf = uncurryThis$i({}.isPrototypeOf);-- var engineUserAgent = typeof navigator != 'undefined' && String(navigator.userAgent) || '';-- var global$c = global$e;- var userAgent = engineUserAgent;-- var process = global$c.process;- var Deno = global$c.Deno;- var versions = process && process.versions || Deno && Deno.version;- var v8 = versions && versions.v8;- var match, version;-- if (v8) {- match = v8.split('.');- // in old Chrome, versions of V8 isn't V8 = Chrome / 10- // but their correct versions are not interesting for us- version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);- }-- // BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`- // so check `userAgent` even if `.v8` exists, but 0- if (!version && userAgent) {- match = userAgent.match(/Edge\/(\d+)/);- if (!match || match[1] >= 74) {- match = userAgent.match(/Chrome\/(\d+)/);- if (match) version = +match[1];- }- }-- var engineV8Version = version;-- /* eslint-disable es/no-symbol -- required for testing */-- var V8_VERSION$2 = engineV8Version;- var fails$e = fails$i;-- // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing- var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$e(function () {- var symbol = Symbol();- // Chrome 38 Symbol has incorrect toString conversion- // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances- return !String(symbol) || !(Object(symbol) instanceof Symbol) ||- // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances- !Symbol.sham && V8_VERSION$2 && V8_VERSION$2 < 41;- });-- /* eslint-disable es/no-symbol -- required for testing */-- var NATIVE_SYMBOL$1 = symbolConstructorDetection;-- var useSymbolAsUid = NATIVE_SYMBOL$1- && !Symbol.sham- && typeof Symbol.iterator == 'symbol';-- var getBuiltIn$3 = getBuiltIn$4;- var isCallable$b = isCallable$e;- var isPrototypeOf = objectIsPrototypeOf;- var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;-- var $Object$2 = Object;-- var isSymbol$2 = USE_SYMBOL_AS_UID$1 ? function (it) {- return typeof it == 'symbol';- } : function (it) {- var $Symbol = getBuiltIn$3('Symbol');- return isCallable$b($Symbol) && isPrototypeOf($Symbol.prototype, $Object$2(it));- };-- var $String$3 = String;-- var tryToString$1 = function (argument) {- try {- return $String$3(argument);- } catch (error) {- return 'Object';- }- };-- var isCallable$a = isCallable$e;- var tryToString = tryToString$1;-- var $TypeError$6 = TypeError;-- // `Assert: IsCallable(argument) is true`- var aCallable$2 = function (argument) {- if (isCallable$a(argument)) return argument;- throw $TypeError$6(tryToString(argument) + ' is not a function');- };-- var aCallable$1 = aCallable$2;- var isNullOrUndefined$1 = isNullOrUndefined$3;-- // `GetMethod` abstract operation- // https://tc39.es/ecma262/#sec-getmethod- var getMethod$2 = function (V, P) {- var func = V[P];- return isNullOrUndefined$1(func) ? undefined : aCallable$1(func);- };-- var call$7 = functionCall;- var isCallable$9 = isCallable$e;- var isObject$7 = isObject$8;-- var $TypeError$5 = TypeError;-- // `OrdinaryToPrimitive` abstract operation- // https://tc39.es/ecma262/#sec-ordinarytoprimitive- var ordinaryToPrimitive$1 = function (input, pref) {- var fn, val;- if (pref === 'string' && isCallable$9(fn = input.toString) && !isObject$7(val = call$7(fn, input))) return val;- if (isCallable$9(fn = input.valueOf) && !isObject$7(val = call$7(fn, input))) return val;- if (pref !== 'string' && isCallable$9(fn = input.toString) && !isObject$7(val = call$7(fn, input))) return val;- throw $TypeError$5("Can't convert object to primitive value");- };-- var sharedExports = {};- var shared$4 = {- get exports(){ return sharedExports; },- set exports(v){ sharedExports = v; },- };-- var global$b = global$e;-- // eslint-disable-next-line es/no-object-defineproperty -- safe- var defineProperty$3 = Object.defineProperty;-- var defineGlobalProperty$3 = function (key, value) {- try {- defineProperty$3(global$b, key, { value: value, configurable: true, writable: true });- } catch (error) {- global$b[key] = value;- } return value;- };-- var global$a = global$e;- var defineGlobalProperty$2 = defineGlobalProperty$3;-- var SHARED = '__core-js_shared__';- var store$3 = global$a[SHARED] || defineGlobalProperty$2(SHARED, {});-- var sharedStore = store$3;-- var store$2 = sharedStore;-- (shared$4.exports = function (key, value) {- return store$2[key] || (store$2[key] = value !== undefined ? value : {});- })('versions', []).push({- version: '3.29.0',- mode: 'global',- copyright: '© 2014-2023 Denis Pushkarev (zloirock.ru)',- license: 'https://github.com/zloirock/core-js/blob/v3.29.0/LICENSE',- source: 'https://github.com/zloirock/core-js'- });-- var requireObjectCoercible$2 = requireObjectCoercible$4;-- var $Object$1 = Object;-- // `ToObject` abstract operation- // https://tc39.es/ecma262/#sec-toobject- var toObject$5 = function (argument) {- return $Object$1(requireObjectCoercible$2(argument));- };-- var uncurryThis$h = functionUncurryThis;- var toObject$4 = toObject$5;-- var hasOwnProperty = uncurryThis$h({}.hasOwnProperty);-- // `HasOwnProperty` abstract operation- // https://tc39.es/ecma262/#sec-hasownproperty- // eslint-disable-next-line es/no-object-hasown -- safe- var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {- return hasOwnProperty(toObject$4(it), key);- };-- var uncurryThis$g = functionUncurryThis;-- var id = 0;- var postfix = Math.random();- var toString$5 = uncurryThis$g(1.0.toString);-- var uid$2 = function (key) {- return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$5(++id + postfix, 36);- };-- var global$9 = global$e;- var shared$3 = sharedExports;- var hasOwn$6 = hasOwnProperty_1;- var uid$1 = uid$2;- var NATIVE_SYMBOL = symbolConstructorDetection;- var USE_SYMBOL_AS_UID = useSymbolAsUid;-- var Symbol$1 = global$9.Symbol;- var WellKnownSymbolsStore = shared$3('wks');- var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$1['for'] || Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid$1;-- var wellKnownSymbol$a = function (name) {- if (!hasOwn$6(WellKnownSymbolsStore, name)) {- WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn$6(Symbol$1, name)- ? Symbol$1[name]- : createWellKnownSymbol('Symbol.' + name);- } return WellKnownSymbolsStore[name];- };-- var call$6 = functionCall;- var isObject$6 = isObject$8;- var isSymbol$1 = isSymbol$2;- var getMethod$1 = getMethod$2;- var ordinaryToPrimitive = ordinaryToPrimitive$1;- var wellKnownSymbol$9 = wellKnownSymbol$a;-- var $TypeError$4 = TypeError;- var TO_PRIMITIVE = wellKnownSymbol$9('toPrimitive');-- // `ToPrimitive` abstract operation- // https://tc39.es/ecma262/#sec-toprimitive- var toPrimitive$1 = function (input, pref) {- if (!isObject$6(input) || isSymbol$1(input)) return input;- var exoticToPrim = getMethod$1(input, TO_PRIMITIVE);- var result;- if (exoticToPrim) {- if (pref === undefined) pref = 'default';- result = call$6(exoticToPrim, input, pref);- if (!isObject$6(result) || isSymbol$1(result)) return result;- throw $TypeError$4("Can't convert object to primitive value");- }- if (pref === undefined) pref = 'number';- return ordinaryToPrimitive(input, pref);- };-- var toPrimitive = toPrimitive$1;- var isSymbol = isSymbol$2;-- // `ToPropertyKey` abstract operation- // https://tc39.es/ecma262/#sec-topropertykey- var toPropertyKey$3 = function (argument) {- var key = toPrimitive(argument, 'string');- return isSymbol(key) ? key : key + '';- };-- var global$8 = global$e;- var isObject$5 = isObject$8;-- var document$1 = global$8.document;- // typeof document.createElement is 'object' in old IE- var EXISTS$1 = isObject$5(document$1) && isObject$5(document$1.createElement);-- var documentCreateElement$2 = function (it) {- return EXISTS$1 ? document$1.createElement(it) : {};- };-- var DESCRIPTORS$8 = descriptors;- var fails$d = fails$i;- var createElement = documentCreateElement$2;-- // Thanks to IE8 for its funny defineProperty- var ie8DomDefine = !DESCRIPTORS$8 && !fails$d(function () {- // eslint-disable-next-line es/no-object-defineproperty -- required for testing- return Object.defineProperty(createElement('div'), 'a', {- get: function () { return 7; }- }).a != 7;- });-- var DESCRIPTORS$7 = descriptors;- var call$5 = functionCall;- var propertyIsEnumerableModule$1 = objectPropertyIsEnumerable;- var createPropertyDescriptor$2 = createPropertyDescriptor$3;- var toIndexedObject$5 = toIndexedObject$6;- var toPropertyKey$2 = toPropertyKey$3;- var hasOwn$5 = hasOwnProperty_1;- var IE8_DOM_DEFINE$1 = ie8DomDefine;-- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe- var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;-- // `Object.getOwnPropertyDescriptor` method- // https://tc39.es/ecma262/#sec-object.getownpropertydescriptor- objectGetOwnPropertyDescriptor.f = DESCRIPTORS$7 ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {- O = toIndexedObject$5(O);- P = toPropertyKey$2(P);- if (IE8_DOM_DEFINE$1) try {- return $getOwnPropertyDescriptor$1(O, P);- } catch (error) { /* empty */ }- if (hasOwn$5(O, P)) return createPropertyDescriptor$2(!call$5(propertyIsEnumerableModule$1.f, O, P), O[P]);- };-- var objectDefineProperty = {};-- var DESCRIPTORS$6 = descriptors;- var fails$c = fails$i;-- // V8 ~ Chrome 36-- // https://bugs.chromium.org/p/v8/issues/detail?id=3334- var v8PrototypeDefineBug = DESCRIPTORS$6 && fails$c(function () {- // eslint-disable-next-line es/no-object-defineproperty -- required for testing- return Object.defineProperty(function () { /* empty */ }, 'prototype', {- value: 42,- writable: false- }).prototype != 42;- });-- var isObject$4 = isObject$8;-- var $String$2 = String;- var $TypeError$3 = TypeError;-- // `Assert: Type(argument) is Object`- var anObject$7 = function (argument) {- if (isObject$4(argument)) return argument;- throw $TypeError$3($String$2(argument) + ' is not an object');- };-- var DESCRIPTORS$5 = descriptors;- var IE8_DOM_DEFINE = ie8DomDefine;- var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug;- var anObject$6 = anObject$7;- var toPropertyKey$1 = toPropertyKey$3;-- var $TypeError$2 = TypeError;- // eslint-disable-next-line es/no-object-defineproperty -- safe- var $defineProperty = Object.defineProperty;- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe- var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;- var ENUMERABLE = 'enumerable';- var CONFIGURABLE$1 = 'configurable';- var WRITABLE = 'writable';-- // `Object.defineProperty` method- // https://tc39.es/ecma262/#sec-object.defineproperty- objectDefineProperty.f = DESCRIPTORS$5 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {- anObject$6(O);- P = toPropertyKey$1(P);- anObject$6(Attributes);- if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {- var current = $getOwnPropertyDescriptor(O, P);- if (current && current[WRITABLE]) {- O[P] = Attributes.value;- Attributes = {- configurable: CONFIGURABLE$1 in Attributes ? Attributes[CONFIGURABLE$1] : current[CONFIGURABLE$1],- enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],- writable: false- };- }- } return $defineProperty(O, P, Attributes);- } : $defineProperty : function defineProperty(O, P, Attributes) {- anObject$6(O);- P = toPropertyKey$1(P);- anObject$6(Attributes);- if (IE8_DOM_DEFINE) try {- return $defineProperty(O, P, Attributes);- } catch (error) { /* empty */ }- if ('get' in Attributes || 'set' in Attributes) throw $TypeError$2('Accessors not supported');- if ('value' in Attributes) O[P] = Attributes.value;- return O;- };-- var DESCRIPTORS$4 = descriptors;- var definePropertyModule$4 = objectDefineProperty;- var createPropertyDescriptor$1 = createPropertyDescriptor$3;-- var createNonEnumerableProperty$4 = DESCRIPTORS$4 ? function (object, key, value) {- return definePropertyModule$4.f(object, key, createPropertyDescriptor$1(1, value));- } : function (object, key, value) {- object[key] = value;- return object;- };-- var makeBuiltInExports = {};- var makeBuiltIn$2 = {- get exports(){ return makeBuiltInExports; },- set exports(v){ makeBuiltInExports = v; },- };-- var DESCRIPTORS$3 = descriptors;- var hasOwn$4 = hasOwnProperty_1;-- var FunctionPrototype$1 = Function.prototype;- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe- var getDescriptor = DESCRIPTORS$3 && Object.getOwnPropertyDescriptor;-- var EXISTS = hasOwn$4(FunctionPrototype$1, 'name');- // additional protection from minified / mangled / dropped function names- var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';- var CONFIGURABLE = EXISTS && (!DESCRIPTORS$3 || (DESCRIPTORS$3 && getDescriptor(FunctionPrototype$1, 'name').configurable));-- var functionName = {- EXISTS: EXISTS,- PROPER: PROPER,- CONFIGURABLE: CONFIGURABLE- };-- var uncurryThis$f = functionUncurryThis;- var isCallable$8 = isCallable$e;- var store$1 = sharedStore;-- var functionToString = uncurryThis$f(Function.toString);-- // this helper broken in `[email protected]`, so we can't use `shared` helper- if (!isCallable$8(store$1.inspectSource)) {- store$1.inspectSource = function (it) {- return functionToString(it);- };- }-- var inspectSource$2 = store$1.inspectSource;-- var global$7 = global$e;- var isCallable$7 = isCallable$e;-- var WeakMap$1 = global$7.WeakMap;-- var weakMapBasicDetection = isCallable$7(WeakMap$1) && /native code/.test(String(WeakMap$1));-- var shared$2 = sharedExports;- var uid = uid$2;-- var keys = shared$2('keys');-- var sharedKey$2 = function (key) {- return keys[key] || (keys[key] = uid(key));- };-- var hiddenKeys$4 = {};-- var NATIVE_WEAK_MAP = weakMapBasicDetection;- var global$6 = global$e;- var isObject$3 = isObject$8;- var createNonEnumerableProperty$3 = createNonEnumerableProperty$4;- var hasOwn$3 = hasOwnProperty_1;- var shared$1 = sharedStore;- var sharedKey$1 = sharedKey$2;- var hiddenKeys$3 = hiddenKeys$4;-- var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';- var TypeError$1 = global$6.TypeError;- var WeakMap = global$6.WeakMap;- var set, get, has;-- var enforce = function (it) {- return has(it) ? get(it) : set(it, {});- };-- var getterFor = function (TYPE) {- return function (it) {- var state;- if (!isObject$3(it) || (state = get(it)).type !== TYPE) {- throw TypeError$1('Incompatible receiver, ' + TYPE + ' required');- } return state;- };- };-- if (NATIVE_WEAK_MAP || shared$1.state) {- var store = shared$1.state || (shared$1.state = new WeakMap());- /* eslint-disable no-self-assign -- prototype methods protection */- store.get = store.get;- store.has = store.has;- store.set = store.set;- /* eslint-enable no-self-assign -- prototype methods protection */- set = function (it, metadata) {- if (store.has(it)) throw TypeError$1(OBJECT_ALREADY_INITIALIZED);- metadata.facade = it;- store.set(it, metadata);- return metadata;- };- get = function (it) {- return store.get(it) || {};- };- has = function (it) {- return store.has(it);- };- } else {- var STATE = sharedKey$1('state');- hiddenKeys$3[STATE] = true;- set = function (it, metadata) {- if (hasOwn$3(it, STATE)) throw TypeError$1(OBJECT_ALREADY_INITIALIZED);- metadata.facade = it;- createNonEnumerableProperty$3(it, STATE, metadata);- return metadata;- };- get = function (it) {- return hasOwn$3(it, STATE) ? it[STATE] : {};- };- has = function (it) {- return hasOwn$3(it, STATE);- };- }-- var internalState = {- set: set,- get: get,- has: has,- enforce: enforce,- getterFor: getterFor- };-- var uncurryThis$e = functionUncurryThis;- var fails$b = fails$i;- var isCallable$6 = isCallable$e;- var hasOwn$2 = hasOwnProperty_1;- var DESCRIPTORS$2 = descriptors;- var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE;- var inspectSource$1 = inspectSource$2;- var InternalStateModule = internalState;-- var enforceInternalState = InternalStateModule.enforce;- var getInternalState$1 = InternalStateModule.get;- var $String$1 = String;- // eslint-disable-next-line es/no-object-defineproperty -- safe- var defineProperty$2 = Object.defineProperty;- var stringSlice$4 = uncurryThis$e(''.slice);- var replace$2 = uncurryThis$e(''.replace);- var join = uncurryThis$e([].join);-- var CONFIGURABLE_LENGTH = DESCRIPTORS$2 && !fails$b(function () {- return defineProperty$2(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;- });-- var TEMPLATE = String(String).split('String');-- var makeBuiltIn$1 = makeBuiltIn$2.exports = function (value, name, options) {- if (stringSlice$4($String$1(name), 0, 7) === 'Symbol(') {- name = '[' + replace$2($String$1(name), /^Symbol\(([^)]*)\)/, '$1') + ']';- }- if (options && options.getter) name = 'get ' + name;- if (options && options.setter) name = 'set ' + name;- if (!hasOwn$2(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {- if (DESCRIPTORS$2) defineProperty$2(value, 'name', { value: name, configurable: true });- else value.name = name;- }- if (CONFIGURABLE_LENGTH && options && hasOwn$2(options, 'arity') && value.length !== options.arity) {- defineProperty$2(value, 'length', { value: options.arity });- }- try {- if (options && hasOwn$2(options, 'constructor') && options.constructor) {- if (DESCRIPTORS$2) defineProperty$2(value, 'prototype', { writable: false });- // in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable- } else if (value.prototype) value.prototype = undefined;- } catch (error) { /* empty */ }- var state = enforceInternalState(value);- if (!hasOwn$2(state, 'source')) {- state.source = join(TEMPLATE, typeof name == 'string' ? name : '');- } return value;- };-- // add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative- // eslint-disable-next-line no-extend-native -- required- Function.prototype.toString = makeBuiltIn$1(function toString() {- return isCallable$6(this) && getInternalState$1(this).source || inspectSource$1(this);- }, 'toString');-- var isCallable$5 = isCallable$e;- var definePropertyModule$3 = objectDefineProperty;- var makeBuiltIn = makeBuiltInExports;- var defineGlobalProperty$1 = defineGlobalProperty$3;-- var defineBuiltIn$3 = function (O, key, value, options) {- if (!options) options = {};- var simple = options.enumerable;- var name = options.name !== undefined ? options.name : key;- if (isCallable$5(value)) makeBuiltIn(value, name, options);- if (options.global) {- if (simple) O[key] = value;- else defineGlobalProperty$1(key, value);- } else {- try {- if (!options.unsafe) delete O[key];- else if (O[key]) simple = true;- } catch (error) { /* empty */ }- if (simple) O[key] = value;- else definePropertyModule$3.f(O, key, {- value: value,- enumerable: false,- configurable: !options.nonConfigurable,- writable: !options.nonWritable- });- } return O;- };-- var objectGetOwnPropertyNames = {};-- var ceil = Math.ceil;- var floor$1 = Math.floor;-- // `Math.trunc` method- // https://tc39.es/ecma262/#sec-math.trunc- // eslint-disable-next-line es/no-math-trunc -- safe- var mathTrunc = Math.trunc || function trunc(x) {- var n = +x;- return (n > 0 ? floor$1 : ceil)(n);- };-- var trunc = mathTrunc;-- // `ToIntegerOrInfinity` abstract operation- // https://tc39.es/ecma262/#sec-tointegerorinfinity- var toIntegerOrInfinity$4 = function (argument) {- var number = +argument;- // eslint-disable-next-line no-self-compare -- NaN check- return number !== number || number === 0 ? 0 : trunc(number);- };-- var toIntegerOrInfinity$3 = toIntegerOrInfinity$4;-- var max$2 = Math.max;- var min$2 = Math.min;-- // Helper for a popular repeating case of the spec:- // Let integer be ? ToInteger(index).- // If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).- var toAbsoluteIndex$2 = function (index, length) {- var integer = toIntegerOrInfinity$3(index);- return integer < 0 ? max$2(integer + length, 0) : min$2(integer, length);- };-- var toIntegerOrInfinity$2 = toIntegerOrInfinity$4;-- var min$1 = Math.min;-- // `ToLength` abstract operation- // https://tc39.es/ecma262/#sec-tolength- var toLength$2 = function (argument) {- return argument > 0 ? min$1(toIntegerOrInfinity$2(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991- };-- var toLength$1 = toLength$2;-- // `LengthOfArrayLike` abstract operation- // https://tc39.es/ecma262/#sec-lengthofarraylike- var lengthOfArrayLike$4 = function (obj) {- return toLength$1(obj.length);- };-- var toIndexedObject$4 = toIndexedObject$6;- var toAbsoluteIndex$1 = toAbsoluteIndex$2;- var lengthOfArrayLike$3 = lengthOfArrayLike$4;-- // `Array.prototype.{ indexOf, includes }` methods implementation- var createMethod$2 = function (IS_INCLUDES) {- return function ($this, el, fromIndex) {- var O = toIndexedObject$4($this);- var length = lengthOfArrayLike$3(O);- var index = toAbsoluteIndex$1(fromIndex, length);- var value;- // Array#includes uses SameValueZero equality algorithm- // eslint-disable-next-line no-self-compare -- NaN check- if (IS_INCLUDES && el != el) while (length > index) {- value = O[index++];- // eslint-disable-next-line no-self-compare -- NaN check- if (value != value) return true;- // Array#indexOf ignores holes, Array#includes - not- } else for (;length > index; index++) {- if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;- } return !IS_INCLUDES && -1;- };- };-- var arrayIncludes = {- // `Array.prototype.includes` method- // https://tc39.es/ecma262/#sec-array.prototype.includes- includes: createMethod$2(true),- // `Array.prototype.indexOf` method- // https://tc39.es/ecma262/#sec-array.prototype.indexof- indexOf: createMethod$2(false)- };-- var uncurryThis$d = functionUncurryThis;- var hasOwn$1 = hasOwnProperty_1;- var toIndexedObject$3 = toIndexedObject$6;- var indexOf$1 = arrayIncludes.indexOf;- var hiddenKeys$2 = hiddenKeys$4;-- var push$2 = uncurryThis$d([].push);-- var objectKeysInternal = function (object, names) {- var O = toIndexedObject$3(object);- var i = 0;- var result = [];- var key;- for (key in O) !hasOwn$1(hiddenKeys$2, key) && hasOwn$1(O, key) && push$2(result, key);- // Don't enum bug & hidden keys- while (names.length > i) if (hasOwn$1(O, key = names[i++])) {- ~indexOf$1(result, key) || push$2(result, key);- }- return result;- };-- // IE8- don't enum bug keys- var enumBugKeys$3 = [- 'constructor',- 'hasOwnProperty',- 'isPrototypeOf',- 'propertyIsEnumerable',- 'toLocaleString',- 'toString',- 'valueOf'- ];-- var internalObjectKeys$1 = objectKeysInternal;- var enumBugKeys$2 = enumBugKeys$3;-- var hiddenKeys$1 = enumBugKeys$2.concat('length', 'prototype');-- // `Object.getOwnPropertyNames` method- // https://tc39.es/ecma262/#sec-object.getownpropertynames- // eslint-disable-next-line es/no-object-getownpropertynames -- safe- objectGetOwnPropertyNames.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {- return internalObjectKeys$1(O, hiddenKeys$1);- };-- var objectGetOwnPropertySymbols = {};-- // eslint-disable-next-line es/no-object-getownpropertysymbols -- safe- objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;-- var getBuiltIn$2 = getBuiltIn$4;- var uncurryThis$c = functionUncurryThis;- var getOwnPropertyNamesModule = objectGetOwnPropertyNames;- var getOwnPropertySymbolsModule$1 = objectGetOwnPropertySymbols;- var anObject$5 = anObject$7;-- var concat$2 = uncurryThis$c([].concat);-- // all object keys, includes non-enumerable and symbols- var ownKeys$1 = getBuiltIn$2('Reflect', 'ownKeys') || function ownKeys(it) {- var keys = getOwnPropertyNamesModule.f(anObject$5(it));- var getOwnPropertySymbols = getOwnPropertySymbolsModule$1.f;- return getOwnPropertySymbols ? concat$2(keys, getOwnPropertySymbols(it)) : keys;- };-- var hasOwn = hasOwnProperty_1;- var ownKeys = ownKeys$1;- var getOwnPropertyDescriptorModule = objectGetOwnPropertyDescriptor;- var definePropertyModule$2 = objectDefineProperty;-- var copyConstructorProperties$1 = function (target, source, exceptions) {- var keys = ownKeys(source);- var defineProperty = definePropertyModule$2.f;- var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;- for (var i = 0; i < keys.length; i++) {- var key = keys[i];- if (!hasOwn(target, key) && !(exceptions && hasOwn(exceptions, key))) {- defineProperty(target, key, getOwnPropertyDescriptor(source, key));- }- }- };-- var fails$a = fails$i;- var isCallable$4 = isCallable$e;-- var replacement = /#|\.prototype\./;-- var isForced$1 = function (feature, detection) {- var value = data[normalize(feature)];- return value == POLYFILL ? true- : value == NATIVE ? false- : isCallable$4(detection) ? fails$a(detection)- : !!detection;- };-- var normalize = isForced$1.normalize = function (string) {- return String(string).replace(replacement, '.').toLowerCase();- };-- var data = isForced$1.data = {};- var NATIVE = isForced$1.NATIVE = 'N';- var POLYFILL = isForced$1.POLYFILL = 'P';-- var isForced_1 = isForced$1;-- var global$5 = global$e;- var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;- var createNonEnumerableProperty$2 = createNonEnumerableProperty$4;- var defineBuiltIn$2 = defineBuiltIn$3;- var defineGlobalProperty = defineGlobalProperty$3;- var copyConstructorProperties = copyConstructorProperties$1;- var isForced = isForced_1;-- /*- options.target - name of the target object- options.global - target is the global object- options.stat - export as static methods of target- options.proto - export as prototype methods of target- options.real - real prototype method for the `pure` version- options.forced - export even if the native feature is available- options.bind - bind methods to the target, required for the `pure` version- options.wrap - wrap constructors to preventing global pollution, required for the `pure` version- options.unsafe - use the simple assignment of property instead of delete + defineProperty- options.sham - add a flag to not completely full polyfills- options.enumerable - export as enumerable property- options.dontCallGetSet - prevent calling a getter on target- options.name - the .name of the function if it does not match the key- */- var _export = function (options, source) {- var TARGET = options.target;- var GLOBAL = options.global;- var STATIC = options.stat;- var FORCED, target, key, targetProperty, sourceProperty, descriptor;- if (GLOBAL) {- target = global$5;- } else if (STATIC) {- target = global$5[TARGET] || defineGlobalProperty(TARGET, {});- } else {- target = (global$5[TARGET] || {}).prototype;- }- if (target) for (key in source) {- sourceProperty = source[key];- if (options.dontCallGetSet) {- descriptor = getOwnPropertyDescriptor(target, key);- targetProperty = descriptor && descriptor.value;- } else targetProperty = target[key];- FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);- // contained in target- if (!FORCED && targetProperty !== undefined) {- if (typeof sourceProperty == typeof targetProperty) continue;- copyConstructorProperties(sourceProperty, targetProperty);- }- // add a flag to not completely full polyfills- if (options.sham || (targetProperty && targetProperty.sham)) {- createNonEnumerableProperty$2(sourceProperty, 'sham', true);- }- defineBuiltIn$2(target, key, sourceProperty, options);- }- };-- var internalObjectKeys = objectKeysInternal;- var enumBugKeys$1 = enumBugKeys$3;-- // `Object.keys` method- // https://tc39.es/ecma262/#sec-object.keys- // eslint-disable-next-line es/no-object-keys -- safe- var objectKeys$2 = Object.keys || function keys(O) {- return internalObjectKeys(O, enumBugKeys$1);- };-- var DESCRIPTORS$1 = descriptors;- var uncurryThis$b = functionUncurryThis;- var call$4 = functionCall;- var fails$9 = fails$i;- var objectKeys$1 = objectKeys$2;- var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;- var propertyIsEnumerableModule = objectPropertyIsEnumerable;- var toObject$3 = toObject$5;- var IndexedObject$2 = indexedObject;-- // eslint-disable-next-line es/no-object-assign -- safe- var $assign = Object.assign;- // eslint-disable-next-line es/no-object-defineproperty -- required for testing- var defineProperty$1 = Object.defineProperty;- var concat$1 = uncurryThis$b([].concat);-- // `Object.assign` method- // https://tc39.es/ecma262/#sec-object.assign- var objectAssign = !$assign || fails$9(function () {- // should have correct order of operations (Edge bug)- if (DESCRIPTORS$1 && $assign({ b: 1 }, $assign(defineProperty$1({}, 'a', {- enumerable: true,- get: function () {- defineProperty$1(this, 'b', {- value: 3,- enumerable: false- });- }- }), { b: 2 })).b !== 1) return true;- // should work with symbols and should have deterministic property order (V8 bug)- var A = {};- var B = {};- // eslint-disable-next-line es/no-symbol -- safe- var symbol = Symbol();- var alphabet = 'abcdefghijklmnopqrst';- A[symbol] = 7;- alphabet.split('').forEach(function (chr) { B[chr] = chr; });- return $assign({}, A)[symbol] != 7 || objectKeys$1($assign({}, B)).join('') != alphabet;- }) ? function assign(target, source) { // eslint-disable-line no-unused-vars -- required for `.length`- var T = toObject$3(target);- var argumentsLength = arguments.length;- var index = 1;- var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;- var propertyIsEnumerable = propertyIsEnumerableModule.f;- while (argumentsLength > index) {- var S = IndexedObject$2(arguments[index++]);- var keys = getOwnPropertySymbols ? concat$1(objectKeys$1(S), getOwnPropertySymbols(S)) : objectKeys$1(S);- var length = keys.length;- var j = 0;- var key;- while (length > j) {- key = keys[j++];- if (!DESCRIPTORS$1 || call$4(propertyIsEnumerable, S, key)) T[key] = S[key];- }- } return T;- } : $assign;-- var $$6 = _export;- var assign = objectAssign;-- // `Object.assign` method- // https://tc39.es/ecma262/#sec-object.assign- // eslint-disable-next-line es/no-object-assign -- required for testing- $$6({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }, {- assign: assign- });-- var wellKnownSymbol$8 = wellKnownSymbol$a;-- var TO_STRING_TAG$1 = wellKnownSymbol$8('toStringTag');- var test = {};-- test[TO_STRING_TAG$1] = 'z';-- var toStringTagSupport = String(test) === '[object z]';-- var TO_STRING_TAG_SUPPORT$2 = toStringTagSupport;- var isCallable$3 = isCallable$e;- var classofRaw$1 = classofRaw$2;- var wellKnownSymbol$7 = wellKnownSymbol$a;-- var TO_STRING_TAG = wellKnownSymbol$7('toStringTag');- var $Object = Object;-- // ES3 wrong here- var CORRECT_ARGUMENTS = classofRaw$1(function () { return arguments; }()) == 'Arguments';-- // fallback for IE11 Script Access Denied error- var tryGet = function (it, key) {- try {- return it[key];- } catch (error) { /* empty */ }- };-- // getting tag from ES6+ `Object.prototype.toString`- var classof$5 = TO_STRING_TAG_SUPPORT$2 ? classofRaw$1 : function (it) {- var O, tag, result;- return it === undefined ? 'Undefined' : it === null ? 'Null'- // @@toStringTag case- : typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag- // builtinTag case- : CORRECT_ARGUMENTS ? classofRaw$1(O)- // ES3 arguments fallback- : (result = classofRaw$1(O)) == 'Object' && isCallable$3(O.callee) ? 'Arguments' : result;- };-- var classof$4 = classof$5;-- var $String = String;-- var toString$4 = function (argument) {- if (classof$4(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string');- return $String(argument);- };-- var anObject$4 = anObject$7;-- // `RegExp.prototype.flags` getter implementation- // https://tc39.es/ecma262/#sec-get-regexp.prototype.flags- var regexpFlags$1 = function () {- var that = anObject$4(this);- var result = '';- if (that.hasIndices) result += 'd';- if (that.global) result += 'g';- if (that.ignoreCase) result += 'i';- if (that.multiline) result += 'm';- if (that.dotAll) result += 's';- if (that.unicode) result += 'u';- if (that.unicodeSets) result += 'v';- if (that.sticky) result += 'y';- return result;- };-- var fails$8 = fails$i;- var global$4 = global$e;-- // babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError- var $RegExp$2 = global$4.RegExp;-- var UNSUPPORTED_Y$1 = fails$8(function () {- var re = $RegExp$2('a', 'y');- re.lastIndex = 2;- return re.exec('abcd') != null;- });-- // UC Browser bug- // https://github.com/zloirock/core-js/issues/1008- var MISSED_STICKY = UNSUPPORTED_Y$1 || fails$8(function () {- return !$RegExp$2('a', 'y').sticky;- });-- var BROKEN_CARET = UNSUPPORTED_Y$1 || fails$8(function () {- // https://bugzilla.mozilla.org/show_bug.cgi?id=773687- var re = $RegExp$2('^r', 'gy');- re.lastIndex = 2;- return re.exec('str') != null;- });-- var regexpStickyHelpers = {- BROKEN_CARET: BROKEN_CARET,- MISSED_STICKY: MISSED_STICKY,- UNSUPPORTED_Y: UNSUPPORTED_Y$1- };-- var objectDefineProperties = {};-- var DESCRIPTORS = descriptors;- var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;- var definePropertyModule$1 = objectDefineProperty;- var anObject$3 = anObject$7;- var toIndexedObject$2 = toIndexedObject$6;- var objectKeys = objectKeys$2;-- // `Object.defineProperties` method- // https://tc39.es/ecma262/#sec-object.defineproperties- // eslint-disable-next-line es/no-object-defineproperties -- safe- objectDefineProperties.f = DESCRIPTORS && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {- anObject$3(O);- var props = toIndexedObject$2(Properties);- var keys = objectKeys(Properties);- var length = keys.length;- var index = 0;- var key;- while (length > index) definePropertyModule$1.f(O, key = keys[index++], props[key]);- return O;- };-- var getBuiltIn$1 = getBuiltIn$4;-- var html$1 = getBuiltIn$1('document', 'documentElement');-- /* global ActiveXObject -- old IE, WSH */-- var anObject$2 = anObject$7;- var definePropertiesModule = objectDefineProperties;- var enumBugKeys = enumBugKeys$3;- var hiddenKeys = hiddenKeys$4;- var html = html$1;- var documentCreateElement$1 = documentCreateElement$2;- var sharedKey = sharedKey$2;-- var GT = '>';- var LT = '<';- var PROTOTYPE = 'prototype';- var SCRIPT = 'script';- var IE_PROTO = sharedKey('IE_PROTO');-- var EmptyConstructor = function () { /* empty */ };-- var scriptTag = function (content) {- return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT;- };-- // Create object with fake `null` prototype: use ActiveX Object with cleared prototype- var NullProtoObjectViaActiveX = function (activeXDocument) {- activeXDocument.write(scriptTag(''));- activeXDocument.close();- var temp = activeXDocument.parentWindow.Object;- activeXDocument = null; // avoid memory leak- return temp;- };-- // Create object with fake `null` prototype: use iframe Object with cleared prototype- var NullProtoObjectViaIFrame = function () {- // Thrash, waste and sodomy: IE GC bug- var iframe = documentCreateElement$1('iframe');- var JS = 'java' + SCRIPT + ':';- var iframeDocument;- iframe.style.display = 'none';- html.appendChild(iframe);- // https://github.com/zloirock/core-js/issues/475- iframe.src = String(JS);- iframeDocument = iframe.contentWindow.document;- iframeDocument.open();- iframeDocument.write(scriptTag('document.F=Object'));- iframeDocument.close();- return iframeDocument.F;- };-- // Check for document.domain and active x support- // No need to use active x approach when document.domain is not set- // see https://github.com/es-shims/es5-shim/issues/150- // variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346- // avoid IE GC bug- var activeXDocument;- var NullProtoObject = function () {- try {- activeXDocument = new ActiveXObject('htmlfile');- } catch (error) { /* ignore */ }- NullProtoObject = typeof document != 'undefined'- ? document.domain && activeXDocument- ? NullProtoObjectViaActiveX(activeXDocument) // old IE- : NullProtoObjectViaIFrame()- : NullProtoObjectViaActiveX(activeXDocument); // WSH- var length = enumBugKeys.length;- while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];- return NullProtoObject();- };-- hiddenKeys[IE_PROTO] = true;-- // `Object.create` method- // https://tc39.es/ecma262/#sec-object.create- // eslint-disable-next-line es/no-object-create -- safe- var objectCreate = Object.create || function create(O, Properties) {- var result;- if (O !== null) {- EmptyConstructor[PROTOTYPE] = anObject$2(O);- result = new EmptyConstructor();- EmptyConstructor[PROTOTYPE] = null;- // add "__proto__" for Object.getPrototypeOf polyfill- result[IE_PROTO] = O;- } else result = NullProtoObject();- return Properties === undefined ? result : definePropertiesModule.f(result, Properties);- };-- var fails$7 = fails$i;- var global$3 = global$e;-- // babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError- var $RegExp$1 = global$3.RegExp;-- var regexpUnsupportedDotAll = fails$7(function () {- var re = $RegExp$1('.', 's');- return !(re.dotAll && re.exec('\n') && re.flags === 's');- });-- var fails$6 = fails$i;- var global$2 = global$e;-- // babel-minify and Closure Compiler transpiles RegExp('(?<a>b)', 'g') -> /(?<a>b)/g and it causes SyntaxError- var $RegExp = global$2.RegExp;-- var regexpUnsupportedNcg = fails$6(function () {- var re = $RegExp('(?<a>b)', 'g');- return re.exec('b').groups.a !== 'b' ||- 'b'.replace(re, '$<a>c') !== 'bc';- });-- /* eslint-disable regexp/no-empty-capturing-group, regexp/no-empty-group, regexp/no-lazy-ends -- testing */- /* eslint-disable regexp/no-useless-quantifier -- testing */- var call$3 = functionCall;- var uncurryThis$a = functionUncurryThis;- var toString$3 = toString$4;- var regexpFlags = regexpFlags$1;- var stickyHelpers = regexpStickyHelpers;- var shared = sharedExports;- var create$1 = objectCreate;- var getInternalState = internalState.get;- var UNSUPPORTED_DOT_ALL = regexpUnsupportedDotAll;- var UNSUPPORTED_NCG = regexpUnsupportedNcg;-- var nativeReplace = shared('native-string-replace', String.prototype.replace);- var nativeExec = RegExp.prototype.exec;- var patchedExec = nativeExec;- var charAt$3 = uncurryThis$a(''.charAt);- var indexOf = uncurryThis$a(''.indexOf);- var replace$1 = uncurryThis$a(''.replace);- var stringSlice$3 = uncurryThis$a(''.slice);-- var UPDATES_LAST_INDEX_WRONG = (function () {- var re1 = /a/;- var re2 = /b*/g;- call$3(nativeExec, re1, 'a');- call$3(nativeExec, re2, 'a');- return re1.lastIndex !== 0 || re2.lastIndex !== 0;- })();-- var UNSUPPORTED_Y = stickyHelpers.BROKEN_CARET;-- // nonparticipating capturing group, copied from es5-shim's String#split patch.- var NPCG_INCLUDED = /()??/.exec('')[1] !== undefined;-- var PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED || UNSUPPORTED_Y || UNSUPPORTED_DOT_ALL || UNSUPPORTED_NCG;-- if (PATCH) {- patchedExec = function exec(string) {- var re = this;- var state = getInternalState(re);- var str = toString$3(string);- var raw = state.raw;- var result, reCopy, lastIndex, match, i, object, group;-- if (raw) {- raw.lastIndex = re.lastIndex;- result = call$3(patchedExec, raw, str);- re.lastIndex = raw.lastIndex;- return result;- }-- var groups = state.groups;- var sticky = UNSUPPORTED_Y && re.sticky;- var flags = call$3(regexpFlags, re);- var source = re.source;- var charsAdded = 0;- var strCopy = str;-- if (sticky) {- flags = replace$1(flags, 'y', '');- if (indexOf(flags, 'g') === -1) {- flags += 'g';- }-- strCopy = stringSlice$3(str, re.lastIndex);- // Support anchored sticky behavior.- if (re.lastIndex > 0 && (!re.multiline || re.multiline && charAt$3(str, re.lastIndex - 1) !== '\n')) {- source = '(?: ' + source + ')';- strCopy = ' ' + strCopy;- charsAdded++;- }- // ^(? + rx + ) is needed, in combination with some str slicing, to- // simulate the 'y' flag.- reCopy = new RegExp('^(?:' + source + ')', flags);- }-- if (NPCG_INCLUDED) {- reCopy = new RegExp('^' + source + '$(?!\\s)', flags);- }- if (UPDATES_LAST_INDEX_WRONG) lastIndex = re.lastIndex;-- match = call$3(nativeExec, sticky ? reCopy : re, strCopy);-- if (sticky) {- if (match) {- match.input = stringSlice$3(match.input, charsAdded);- match[0] = stringSlice$3(match[0], charsAdded);- match.index = re.lastIndex;- re.lastIndex += match[0].length;- } else re.lastIndex = 0;- } else if (UPDATES_LAST_INDEX_WRONG && match) {- re.lastIndex = re.global ? match.index + match[0].length : lastIndex;- }- if (NPCG_INCLUDED && match && match.length > 1) {- // Fix browsers whose `exec` methods don't consistently return `undefined`- // for NPCG, like IE8. NOTE: This doesn't work for /(.?)?/- call$3(nativeReplace, match[0], reCopy, function () {- for (i = 1; i < arguments.length - 2; i++) {- if (arguments[i] === undefined) match[i] = undefined;- }- });- }-- if (match && groups) {- match.groups = object = create$1(null);- for (i = 0; i < groups.length; i++) {- group = groups[i];- object[group[0]] = match[group[1]];- }- }-- return match;- };- }-- var regexpExec$2 = patchedExec;-- var $$5 = _export;- var exec$1 = regexpExec$2;-- // `RegExp.prototype.exec` method- // https://tc39.es/ecma262/#sec-regexp.prototype.exec- $$5({ target: 'RegExp', proto: true, forced: /./.exec !== exec$1 }, {- exec: exec$1- });-- var NATIVE_BIND$1 = functionBindNative;-- var FunctionPrototype = Function.prototype;- var apply$1 = FunctionPrototype.apply;- var call$2 = FunctionPrototype.call;-- // eslint-disable-next-line es/no-reflect -- safe- var functionApply = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND$1 ? call$2.bind(apply$1) : function () {- return call$2.apply(apply$1, arguments);- });-- var classofRaw = classofRaw$2;- var uncurryThis$9 = functionUncurryThis;-- var functionUncurryThisClause = function (fn) {- // Nashorn bug:- // https://github.com/zloirock/core-js/issues/1128- // https://github.com/zloirock/core-js/issues/1130- if (classofRaw(fn) === 'Function') return uncurryThis$9(fn);- };-- // TODO: Remove from `core-js@4` since it's moved to entry points-- var uncurryThis$8 = functionUncurryThisClause;- var defineBuiltIn$1 = defineBuiltIn$3;- var regexpExec$1 = regexpExec$2;- var fails$5 = fails$i;- var wellKnownSymbol$6 = wellKnownSymbol$a;- var createNonEnumerableProperty$1 = createNonEnumerableProperty$4;-- var SPECIES$3 = wellKnownSymbol$6('species');- var RegExpPrototype = RegExp.prototype;-- var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {- var SYMBOL = wellKnownSymbol$6(KEY);-- var DELEGATES_TO_SYMBOL = !fails$5(function () {- // String methods call symbol-named RegEp methods- var O = {};- O[SYMBOL] = function () { return 7; };- return ''[KEY](O) != 7;- });-- var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails$5(function () {- // Symbol-named RegExp methods call .exec- var execCalled = false;- var re = /a/;-- if (KEY === 'split') {- // We can't use real regex here since it causes deoptimization- // and serious performance degradation in V8- // https://github.com/zloirock/core-js/issues/306- re = {};- // RegExp[@@split] doesn't call the regex's exec method, but first creates- // a new one. We need to return the patched regex when creating the new one.- re.constructor = {};- re.constructor[SPECIES$3] = function () { return re; };- re.flags = '';- re[SYMBOL] = /./[SYMBOL];- }-- re.exec = function () { execCalled = true; return null; };-- re[SYMBOL]('');- return !execCalled;- });-- if (- !DELEGATES_TO_SYMBOL ||- !DELEGATES_TO_EXEC ||- FORCED- ) {- var uncurriedNativeRegExpMethod = uncurryThis$8(/./[SYMBOL]);- var methods = exec(SYMBOL, ''[KEY], function (nativeMethod, regexp, str, arg2, forceStringMethod) {- var uncurriedNativeMethod = uncurryThis$8(nativeMethod);- var $exec = regexp.exec;- if ($exec === regexpExec$1 || $exec === RegExpPrototype.exec) {- if (DELEGATES_TO_SYMBOL && !forceStringMethod) {- // The native String method already delegates to @@method (this- // polyfilled function), leasing to infinite recursion.- // We avoid it by directly calling the native @@method method.- return { done: true, value: uncurriedNativeRegExpMethod(regexp, str, arg2) };- }- return { done: true, value: uncurriedNativeMethod(str, regexp, arg2) };- }- return { done: false };- });-- defineBuiltIn$1(String.prototype, KEY, methods[0]);- defineBuiltIn$1(RegExpPrototype, SYMBOL, methods[1]);- }-- if (SHAM) createNonEnumerableProperty$1(RegExpPrototype[SYMBOL], 'sham', true);- };-- var uncurryThis$7 = functionUncurryThis;- var toIntegerOrInfinity$1 = toIntegerOrInfinity$4;- var toString$2 = toString$4;- var requireObjectCoercible$1 = requireObjectCoercible$4;-- var charAt$2 = uncurryThis$7(''.charAt);- var charCodeAt = uncurryThis$7(''.charCodeAt);- var stringSlice$2 = uncurryThis$7(''.slice);-- var createMethod$1 = function (CONVERT_TO_STRING) {- return function ($this, pos) {- var S = toString$2(requireObjectCoercible$1($this));- var position = toIntegerOrInfinity$1(pos);- var size = S.length;- var first, second;- if (position < 0 || position >= size) return CONVERT_TO_STRING ? '' : undefined;- first = charCodeAt(S, position);- return first < 0xD800 || first > 0xDBFF || position + 1 === size- || (second = charCodeAt(S, position + 1)) < 0xDC00 || second > 0xDFFF- ? CONVERT_TO_STRING- ? charAt$2(S, position)- : first- : CONVERT_TO_STRING- ? stringSlice$2(S, position, position + 2)- : (first - 0xD800 << 10) + (second - 0xDC00) + 0x10000;- };- };-- var stringMultibyte = {- // `String.prototype.codePointAt` method- // https://tc39.es/ecma262/#sec-string.prototype.codepointat- codeAt: createMethod$1(false),- // `String.prototype.at` method- // https://github.com/mathiasbynens/String.prototype.at- charAt: createMethod$1(true)- };-- var charAt$1 = stringMultibyte.charAt;-- // `AdvanceStringIndex` abstract operation- // https://tc39.es/ecma262/#sec-advancestringindex- var advanceStringIndex$1 = function (S, index, unicode) {- return index + (unicode ? charAt$1(S, index).length : 1);- };-- var uncurryThis$6 = functionUncurryThis;- var toObject$2 = toObject$5;-- var floor = Math.floor;- var charAt = uncurryThis$6(''.charAt);- var replace = uncurryThis$6(''.replace);- var stringSlice$1 = uncurryThis$6(''.slice);- // eslint-disable-next-line redos/no-vulnerable -- safe- var SUBSTITUTION_SYMBOLS = /\$([$&'`]|\d{1,2}|<[^>]*>)/g;- var SUBSTITUTION_SYMBOLS_NO_NAMED = /\$([$&'`]|\d{1,2})/g;-- // `GetSubstitution` abstract operation- // https://tc39.es/ecma262/#sec-getsubstitution- var getSubstitution$1 = function (matched, str, position, captures, namedCaptures, replacement) {- var tailPos = position + matched.length;- var m = captures.length;- var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED;- if (namedCaptures !== undefined) {- namedCaptures = toObject$2(namedCaptures);- symbols = SUBSTITUTION_SYMBOLS;- }- return replace(replacement, symbols, function (match, ch) {- var capture;- switch (charAt(ch, 0)) {- case '$': return '$';- case '&': return matched;- case '`': return stringSlice$1(str, 0, position);- case "'": return stringSlice$1(str, tailPos);- case '<':- capture = namedCaptures[stringSlice$1(ch, 1, -1)];- break;- default: // \d\d?- var n = +ch;- if (n === 0) return match;- if (n > m) {- var f = floor(n / 10);- if (f === 0) return match;- if (f <= m) return captures[f - 1] === undefined ? charAt(ch, 1) : captures[f - 1] + charAt(ch, 1);- return match;- }- capture = captures[n - 1];- }- return capture === undefined ? '' : capture;- });- };-- var call$1 = functionCall;- var anObject$1 = anObject$7;- var isCallable$2 = isCallable$e;- var classof$3 = classofRaw$2;- var regexpExec = regexpExec$2;-- var $TypeError$1 = TypeError;-- // `RegExpExec` abstract operation- // https://tc39.es/ecma262/#sec-regexpexec- var regexpExecAbstract = function (R, S) {- var exec = R.exec;- if (isCallable$2(exec)) {- var result = call$1(exec, R, S);- if (result !== null) anObject$1(result);- return result;- }- if (classof$3(R) === 'RegExp') return call$1(regexpExec, R, S);- throw $TypeError$1('RegExp#exec called on incompatible receiver');- };-- var apply = functionApply;- var call = functionCall;- var uncurryThis$5 = functionUncurryThis;- var fixRegExpWellKnownSymbolLogic = fixRegexpWellKnownSymbolLogic;- var fails$4 = fails$i;- var anObject = anObject$7;- var isCallable$1 = isCallable$e;- var isNullOrUndefined = isNullOrUndefined$3;- var toIntegerOrInfinity = toIntegerOrInfinity$4;- var toLength = toLength$2;- var toString$1 = toString$4;- var requireObjectCoercible = requireObjectCoercible$4;- var advanceStringIndex = advanceStringIndex$1;- var getMethod = getMethod$2;- var getSubstitution = getSubstitution$1;- var regExpExec = regexpExecAbstract;- var wellKnownSymbol$5 = wellKnownSymbol$a;-- var REPLACE = wellKnownSymbol$5('replace');- var max$1 = Math.max;- var min = Math.min;- var concat = uncurryThis$5([].concat);- var push$1 = uncurryThis$5([].push);- var stringIndexOf = uncurryThis$5(''.indexOf);- var stringSlice = uncurryThis$5(''.slice);-- var maybeToString = function (it) {- return it === undefined ? it : String(it);- };-- // IE <= 11 replaces $0 with the whole match, as if it was $&- // https://stackoverflow.com/questions/6024666/getting-ie-to-replace-a-regex-with-the-literal-string-0- var REPLACE_KEEPS_$0 = (function () {- // eslint-disable-next-line regexp/prefer-escape-replacement-dollar-char -- required for testing- return 'a'.replace(/./, '$0') === '$0';- })();-- // Safari <= 13.0.3(?) substitutes nth capture where n>m with an empty string- var REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = (function () {- if (/./[REPLACE]) {- return /./[REPLACE]('a', '$0') === '';- }- return false;- })();-- var REPLACE_SUPPORTS_NAMED_GROUPS = !fails$4(function () {- var re = /./;- re.exec = function () {- var result = [];- result.groups = { a: '7' };- return result;- };- // eslint-disable-next-line regexp/no-useless-dollar-replacements -- false positive- return ''.replace(re, '$<a>') !== '7';- });-- // @@replace logic- fixRegExpWellKnownSymbolLogic('replace', function (_, nativeReplace, maybeCallNative) {- var UNSAFE_SUBSTITUTE = REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE ? '$' : '$0';-- return [- // `String.prototype.replace` method- // https://tc39.es/ecma262/#sec-string.prototype.replace- function replace(searchValue, replaceValue) {- var O = requireObjectCoercible(this);- var replacer = isNullOrUndefined(searchValue) ? undefined : getMethod(searchValue, REPLACE);- return replacer- ? call(replacer, searchValue, O, replaceValue)- : call(nativeReplace, toString$1(O), searchValue, replaceValue);- },- // `RegExp.prototype[@@replace]` method- // https://tc39.es/ecma262/#sec-regexp.prototype-@@replace- function (string, replaceValue) {- var rx = anObject(this);- var S = toString$1(string);-- if (- typeof replaceValue == 'string' &&- stringIndexOf(replaceValue, UNSAFE_SUBSTITUTE) === -1 &&- stringIndexOf(replaceValue, '$<') === -1- ) {- var res = maybeCallNative(nativeReplace, rx, S, replaceValue);- if (res.done) return res.value;- }-- var functionalReplace = isCallable$1(replaceValue);- if (!functionalReplace) replaceValue = toString$1(replaceValue);-- var global = rx.global;- if (global) {- var fullUnicode = rx.unicode;- rx.lastIndex = 0;- }- var results = [];- while (true) {- var result = regExpExec(rx, S);- if (result === null) break;-- push$1(results, result);- if (!global) break;-- var matchStr = toString$1(result[0]);- if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);- }-- var accumulatedResult = '';- var nextSourcePosition = 0;- for (var i = 0; i < results.length; i++) {- result = results[i];-- var matched = toString$1(result[0]);- var position = max$1(min(toIntegerOrInfinity(result.index), S.length), 0);- var captures = [];- // NOTE: This is equivalent to- // captures = result.slice(1).map(maybeToString)- // but for some reason `nativeSlice.call(result, 1, result.length)` (called in- // the slice polyfill when slicing native arrays) "doesn't work" in safari 9 and- // causes a crash (https://pastebin.com/N21QzeQA) when trying to debug it.- for (var j = 1; j < result.length; j++) push$1(captures, maybeToString(result[j]));- var namedCaptures = result.groups;- if (functionalReplace) {- var replacerArgs = concat([matched], captures, position, S);- if (namedCaptures !== undefined) push$1(replacerArgs, namedCaptures);- var replacement = toString$1(apply(replaceValue, undefined, replacerArgs));- } else {- replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue);- }- if (position >= nextSourcePosition) {- accumulatedResult += stringSlice(S, nextSourcePosition, position) + replacement;- nextSourcePosition = position + matched.length;- }- }- return accumulatedResult + stringSlice(S, nextSourcePosition);- }- ];- }, !REPLACE_SUPPORTS_NAMED_GROUPS || !REPLACE_KEEPS_$0 || REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE);-- var classof$2 = classofRaw$2;-- // `IsArray` abstract operation- // https://tc39.es/ecma262/#sec-isarray- // eslint-disable-next-line es/no-array-isarray -- safe- var isArray$3 = Array.isArray || function isArray(argument) {- return classof$2(argument) == 'Array';- };-- var uncurryThis$4 = functionUncurryThis;- var fails$3 = fails$i;- var isCallable = isCallable$e;- var classof$1 = classof$5;- var getBuiltIn = getBuiltIn$4;- var inspectSource = inspectSource$2;-- var noop = function () { /* empty */ };- var empty = [];- var construct = getBuiltIn('Reflect', 'construct');- var constructorRegExp = /^\s*(?:class|function)\b/;- var exec = uncurryThis$4(constructorRegExp.exec);- var INCORRECT_TO_STRING = !constructorRegExp.exec(noop);-- var isConstructorModern = function isConstructor(argument) {- if (!isCallable(argument)) return false;- try {- construct(noop, empty, argument);- return true;- } catch (error) {- return false;- }- };-- var isConstructorLegacy = function isConstructor(argument) {- if (!isCallable(argument)) return false;- switch (classof$1(argument)) {- case 'AsyncFunction':- case 'GeneratorFunction':- case 'AsyncGeneratorFunction': return false;- }- try {- // we can't check .prototype since constructors produced by .bind haven't it- // `Function#toString` throws on some built-it function in some legacy engines- // (for example, `DOMQuad` and similar in FF41-)- return INCORRECT_TO_STRING || !!exec(constructorRegExp, inspectSource(argument));- } catch (error) {- return true;- }- };-- isConstructorLegacy.sham = true;-- // `IsConstructor` abstract operation- // https://tc39.es/ecma262/#sec-isconstructor- var isConstructor$2 = !construct || fails$3(function () {- var called;- return isConstructorModern(isConstructorModern.call)- || !isConstructorModern(Object)- || !isConstructorModern(function () { called = true; })- || called;- }) ? isConstructorLegacy : isConstructorModern;-- var toPropertyKey = toPropertyKey$3;- var definePropertyModule = objectDefineProperty;- var createPropertyDescriptor = createPropertyDescriptor$3;-- var createProperty$2 = function (object, key, value) {- var propertyKey = toPropertyKey(key);- if (propertyKey in object) definePropertyModule.f(object, propertyKey, createPropertyDescriptor(0, value));- else object[propertyKey] = value;- };-- var fails$2 = fails$i;- var wellKnownSymbol$4 = wellKnownSymbol$a;- var V8_VERSION$1 = engineV8Version;-- var SPECIES$2 = wellKnownSymbol$4('species');-- var arrayMethodHasSpeciesSupport$3 = function (METHOD_NAME) {- // We can't use this feature detection in V8 since it causes- // deoptimization and serious performance degradation- // https://github.com/zloirock/core-js/issues/677- return V8_VERSION$1 >= 51 || !fails$2(function () {- var array = [];- var constructor = array.constructor = {};- constructor[SPECIES$2] = function () {- return { foo: 1 };- };- return array[METHOD_NAME](Boolean).foo !== 1;- });- };-- var uncurryThis$3 = functionUncurryThis;-- var arraySlice = uncurryThis$3([].slice);-- var $$4 = _export;- var isArray$2 = isArray$3;- var isConstructor$1 = isConstructor$2;- var isObject$2 = isObject$8;- var toAbsoluteIndex = toAbsoluteIndex$2;- var lengthOfArrayLike$2 = lengthOfArrayLike$4;- var toIndexedObject$1 = toIndexedObject$6;- var createProperty$1 = createProperty$2;- var wellKnownSymbol$3 = wellKnownSymbol$a;- var arrayMethodHasSpeciesSupport$2 = arrayMethodHasSpeciesSupport$3;- var nativeSlice = arraySlice;-- var HAS_SPECIES_SUPPORT$1 = arrayMethodHasSpeciesSupport$2('slice');-- var SPECIES$1 = wellKnownSymbol$3('species');- var $Array$1 = Array;- var max = Math.max;-- // `Array.prototype.slice` method- // https://tc39.es/ecma262/#sec-array.prototype.slice- // fallback for not array-like ES3 strings and DOM objects- $$4({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT$1 }, {- slice: function slice(start, end) {- var O = toIndexedObject$1(this);- var length = lengthOfArrayLike$2(O);- var k = toAbsoluteIndex(start, length);- var fin = toAbsoluteIndex(end === undefined ? length : end, length);- // inline `ArraySpeciesCreate` for usage native `Array#slice` where it's possible- var Constructor, result, n;- if (isArray$2(O)) {- Constructor = O.constructor;- // cross-realm fallback- if (isConstructor$1(Constructor) && (Constructor === $Array$1 || isArray$2(Constructor.prototype))) {- Constructor = undefined;- } else if (isObject$2(Constructor)) {- Constructor = Constructor[SPECIES$1];- if (Constructor === null) Constructor = undefined;- }- if (Constructor === $Array$1 || Constructor === undefined) {- return nativeSlice(O, k, fin);- }- }- result = new (Constructor === undefined ? $Array$1 : Constructor)(max(fin - k, 0));- for (n = 0; k < fin; k++, n++) if (k in O) createProperty$1(result, n, O[k]);- result.length = n;- return result;- }- });-- var uncurryThis$2 = functionUncurryThisClause;- var aCallable = aCallable$2;- var NATIVE_BIND = functionBindNative;-- var bind$1 = uncurryThis$2(uncurryThis$2.bind);-- // optional / simple context binding- var functionBindContext = function (fn, that) {- aCallable(fn);- return that === undefined ? fn : NATIVE_BIND ? bind$1(fn, that) : function (/* ...args */) {- return fn.apply(that, arguments);- };- };-- var isArray$1 = isArray$3;- var isConstructor = isConstructor$2;- var isObject$1 = isObject$8;- var wellKnownSymbol$2 = wellKnownSymbol$a;-- var SPECIES = wellKnownSymbol$2('species');- var $Array = Array;-- // a part of `ArraySpeciesCreate` abstract operation- // https://tc39.es/ecma262/#sec-arrayspeciescreate- var arraySpeciesConstructor$1 = function (originalArray) {- var C;- if (isArray$1(originalArray)) {- C = originalArray.constructor;- // cross-realm fallback- if (isConstructor(C) && (C === $Array || isArray$1(C.prototype))) C = undefined;- else if (isObject$1(C)) {- C = C[SPECIES];- if (C === null) C = undefined;- }- } return C === undefined ? $Array : C;- };-- var arraySpeciesConstructor = arraySpeciesConstructor$1;-- // `ArraySpeciesCreate` abstract operation- // https://tc39.es/ecma262/#sec-arrayspeciescreate- var arraySpeciesCreate$2 = function (originalArray, length) {- return new (arraySpeciesConstructor(originalArray))(length === 0 ? 0 : length);- };-- var bind = functionBindContext;- var uncurryThis$1 = functionUncurryThis;- var IndexedObject$1 = indexedObject;- var toObject$1 = toObject$5;- var lengthOfArrayLike$1 = lengthOfArrayLike$4;- var arraySpeciesCreate$1 = arraySpeciesCreate$2;-- var push = uncurryThis$1([].push);-- // `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterReject }` methods implementation- var createMethod = function (TYPE) {- var IS_MAP = TYPE == 1;- var IS_FILTER = TYPE == 2;- var IS_SOME = TYPE == 3;- var IS_EVERY = TYPE == 4;- var IS_FIND_INDEX = TYPE == 6;- var IS_FILTER_REJECT = TYPE == 7;- var NO_HOLES = TYPE == 5 || IS_FIND_INDEX;- return function ($this, callbackfn, that, specificCreate) {- var O = toObject$1($this);- var self = IndexedObject$1(O);- var boundFunction = bind(callbackfn, that);- var length = lengthOfArrayLike$1(self);- var index = 0;- var create = specificCreate || arraySpeciesCreate$1;- var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_REJECT ? create($this, 0) : undefined;- var value, result;- for (;length > index; index++) if (NO_HOLES || index in self) {- value = self[index];- result = boundFunction(value, index, O);- if (TYPE) {- if (IS_MAP) target[index] = result; // map- else if (result) switch (TYPE) {- case 3: return true; // some- case 5: return value; // find- case 6: return index; // findIndex- case 2: push(target, value); // filter- } else switch (TYPE) {- case 4: return false; // every- case 7: push(target, value); // filterReject- }- }- }- return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : target;- };- };-- var arrayIteration = {- // `Array.prototype.forEach` method- // https://tc39.es/ecma262/#sec-array.prototype.foreach- forEach: createMethod(0),- // `Array.prototype.map` method- // https://tc39.es/ecma262/#sec-array.prototype.map- map: createMethod(1),- // `Array.prototype.filter` method- // https://tc39.es/ecma262/#sec-array.prototype.filter- filter: createMethod(2),- // `Array.prototype.some` method- // https://tc39.es/ecma262/#sec-array.prototype.some- some: createMethod(3),- // `Array.prototype.every` method- // https://tc39.es/ecma262/#sec-array.prototype.every- every: createMethod(4),- // `Array.prototype.find` method- // https://tc39.es/ecma262/#sec-array.prototype.find- find: createMethod(5),- // `Array.prototype.findIndex` method- // https://tc39.es/ecma262/#sec-array.prototype.findIndex- findIndex: createMethod(6),- // `Array.prototype.filterReject` method- // https://github.com/tc39/proposal-array-filtering- filterReject: createMethod(7)- };-- var $$3 = _export;- var $map = arrayIteration.map;- var arrayMethodHasSpeciesSupport$1 = arrayMethodHasSpeciesSupport$3;-- var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport$1('map');-- // `Array.prototype.map` method- // https://tc39.es/ecma262/#sec-array.prototype.map- // with adding support of @@species- $$3({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {- map: function map(callbackfn /* , thisArg */) {- return $map(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);- }- });-- var wellKnownSymbol$1 = wellKnownSymbol$a;- var create = objectCreate;- var defineProperty = objectDefineProperty.f;-- var UNSCOPABLES = wellKnownSymbol$1('unscopables');- var ArrayPrototype = Array.prototype;-- // Array.prototype[@@unscopables]- // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables- if (ArrayPrototype[UNSCOPABLES] == undefined) {- defineProperty(ArrayPrototype, UNSCOPABLES, {- configurable: true,- value: create(null)- });- }-- // add a key to Array.prototype[@@unscopables]- var addToUnscopables$1 = function (key) {- ArrayPrototype[UNSCOPABLES][key] = true;- };-- var $$2 = _export;- var $find = arrayIteration.find;- var addToUnscopables = addToUnscopables$1;-- var FIND = 'find';- var SKIPS_HOLES = true;-- // Shouldn't skip holes- if (FIND in []) Array(1)[FIND](function () { SKIPS_HOLES = false; });-- // `Array.prototype.find` method- // https://tc39.es/ecma262/#sec-array.prototype.find- $$2({ target: 'Array', proto: true, forced: SKIPS_HOLES }, {- find: function find(callbackfn /* , that = undefined */) {- return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);- }- });-- // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables- addToUnscopables(FIND);-- var TO_STRING_TAG_SUPPORT$1 = toStringTagSupport;- var classof = classof$5;-- // `Object.prototype.toString` method implementation- // https://tc39.es/ecma262/#sec-object.prototype.tostring- var objectToString = TO_STRING_TAG_SUPPORT$1 ? {}.toString : function toString() {- return '[object ' + classof(this) + ']';- };-- var TO_STRING_TAG_SUPPORT = toStringTagSupport;- var defineBuiltIn = defineBuiltIn$3;- var toString = objectToString;-- // `Object.prototype.toString` method- // https://tc39.es/ecma262/#sec-object.prototype.tostring- if (!TO_STRING_TAG_SUPPORT) {- defineBuiltIn(Object.prototype, 'toString', toString, { unsafe: true });- }-- var $TypeError = TypeError;- var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; // 2 ** 53 - 1 == 9007199254740991-- var doesNotExceedSafeInteger$1 = function (it) {- if (it > MAX_SAFE_INTEGER) throw $TypeError('Maximum allowed index exceeded');- return it;- };-- var $$1 = _export;- var fails$1 = fails$i;- var isArray = isArray$3;- var isObject = isObject$8;- var toObject = toObject$5;- var lengthOfArrayLike = lengthOfArrayLike$4;- var doesNotExceedSafeInteger = doesNotExceedSafeInteger$1;- var createProperty = createProperty$2;- var arraySpeciesCreate = arraySpeciesCreate$2;- var arrayMethodHasSpeciesSupport = arrayMethodHasSpeciesSupport$3;- var wellKnownSymbol = wellKnownSymbol$a;- var V8_VERSION = engineV8Version;-- var IS_CONCAT_SPREADABLE = wellKnownSymbol('isConcatSpreadable');-- // We can't use this feature detection in V8 since it causes- // deoptimization and serious performance degradation- // https://github.com/zloirock/core-js/issues/679- var IS_CONCAT_SPREADABLE_SUPPORT = V8_VERSION >= 51 || !fails$1(function () {- var array = [];- array[IS_CONCAT_SPREADABLE] = false;- return array.concat()[0] !== array;- });-- var isConcatSpreadable = function (O) {- if (!isObject(O)) return false;- var spreadable = O[IS_CONCAT_SPREADABLE];- return spreadable !== undefined ? !!spreadable : isArray(O);- };-- var FORCED$1 = !IS_CONCAT_SPREADABLE_SUPPORT || !arrayMethodHasSpeciesSupport('concat');-- // `Array.prototype.concat` method- // https://tc39.es/ecma262/#sec-array.prototype.concat- // with adding support of @@isConcatSpreadable and @@species- $$1({ target: 'Array', proto: true, arity: 1, forced: FORCED$1 }, {- // eslint-disable-next-line no-unused-vars -- required for `.length`- concat: function concat(arg) {- var O = toObject(this);- var A = arraySpeciesCreate(O, 0);- var n = 0;- var i, k, length, len, E;- for (i = -1, length = arguments.length; i < length; i++) {- E = i === -1 ? O : arguments[i];- if (isConcatSpreadable(E)) {- len = lengthOfArrayLike(E);- doesNotExceedSafeInteger(n + len);- for (k = 0; k < len; k++, n++) if (k in E) createProperty(A, n, E[k]);- } else {- doesNotExceedSafeInteger(n + 1);- createProperty(A, n++, E);- }- }- A.length = n;- return A;- }- });-- var fails = fails$i;-- var arrayMethodIsStrict$2 = function (METHOD_NAME, argument) {- var method = [][METHOD_NAME];- return !!method && fails(function () {- // eslint-disable-next-line no-useless-call -- required for testing- method.call(null, argument || function () { return 1; }, 1);- });- };-- var $ = _export;- var uncurryThis = functionUncurryThis;- var IndexedObject = indexedObject;- var toIndexedObject = toIndexedObject$6;- var arrayMethodIsStrict$1 = arrayMethodIsStrict$2;-- var nativeJoin = uncurryThis([].join);-- var ES3_STRINGS = IndexedObject != Object;- var FORCED = ES3_STRINGS || !arrayMethodIsStrict$1('join', ',');-- // `Array.prototype.join` method- // https://tc39.es/ecma262/#sec-array.prototype.join- $({ target: 'Array', proto: true, forced: FORCED }, {- join: function join(separator) {- return nativeJoin(toIndexedObject(this), separator === undefined ? ',' : separator);- }- });-- // iterable DOM collections- // flag - `iterable` interface - 'entries', 'keys', 'values', 'forEach' methods- var domIterables = {- CSSRuleList: 0,- CSSStyleDeclaration: 0,- CSSValueList: 0,- ClientRectList: 0,- DOMRectList: 0,- DOMStringList: 0,- DOMTokenList: 1,- DataTransferItemList: 0,- FileList: 0,- HTMLAllCollection: 0,- HTMLCollection: 0,- HTMLFormElement: 0,- HTMLSelectElement: 0,- MediaList: 0,- MimeTypeArray: 0,- NamedNodeMap: 0,- NodeList: 1,- PaintRequestList: 0,- Plugin: 0,- PluginArray: 0,- SVGLengthList: 0,- SVGNumberList: 0,- SVGPathSegList: 0,- SVGPointList: 0,- SVGStringList: 0,- SVGTransformList: 0,- SourceBufferList: 0,- StyleSheetList: 0,- TextTrackCueList: 0,- TextTrackList: 0,- TouchList: 0- };-- // in old WebKit versions, `element.classList` is not an instance of global `DOMTokenList`- var documentCreateElement = documentCreateElement$2;-- var classList = documentCreateElement('span').classList;- var DOMTokenListPrototype$1 = classList && classList.constructor && classList.constructor.prototype;-- var domTokenListPrototype = DOMTokenListPrototype$1 === Object.prototype ? undefined : DOMTokenListPrototype$1;-- var $forEach = arrayIteration.forEach;- var arrayMethodIsStrict = arrayMethodIsStrict$2;-- var STRICT_METHOD = arrayMethodIsStrict('forEach');-- // `Array.prototype.forEach` method implementation- // https://tc39.es/ecma262/#sec-array.prototype.foreach- var arrayForEach = !STRICT_METHOD ? function forEach(callbackfn /* , thisArg */) {- return $forEach(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);- // eslint-disable-next-line es/no-array-prototype-foreach -- safe- } : [].forEach;-- var global$1 = global$e;- var DOMIterables = domIterables;- var DOMTokenListPrototype = domTokenListPrototype;- var forEach = arrayForEach;- var createNonEnumerableProperty = createNonEnumerableProperty$4;-- var handlePrototype = function (CollectionPrototype) {- // some Chrome versions have non-configurable methods on DOMTokenList- if (CollectionPrototype && CollectionPrototype.forEach !== forEach) try {- createNonEnumerableProperty(CollectionPrototype, 'forEach', forEach);- } catch (error) {- CollectionPrototype.forEach = forEach;- }- };-- for (var COLLECTION_NAME in DOMIterables) {- if (DOMIterables[COLLECTION_NAME]) {- handlePrototype(global$1[COLLECTION_NAME] && global$1[COLLECTION_NAME].prototype);- }- }-- handlePrototype(DOMTokenListPrototype);-- /**- * @author zhixin wen <[email protected]>- * extensions: https://github.com/hhurz/tableExport.jquery.plugin- */-- var Utils = $$7.fn.bootstrapTable.utils;- var TYPE_NAME = {- json: 'JSON',- xml: 'XML',- png: 'PNG',- csv: 'CSV',- txt: 'TXT',- sql: 'SQL',- doc: 'MS-Word',- excel: 'MS-Excel',- xlsx: 'MS-Excel (OpenXML)',- powerpoint: 'MS-Powerpoint',- pdf: 'PDF'- };- Object.assign($$7.fn.bootstrapTable.defaults, {- showExport: false,- exportDataType: 'basic',- // basic, all, selected- exportTypes: ['json', 'xml', 'csv', 'txt', 'sql', 'excel'],- exportOptions: {},- exportFooter: false- });- Object.assign($$7.fn.bootstrapTable.columnDefaults, {- forceExport: false,- forceHide: false- });- Object.assign($$7.fn.bootstrapTable.defaults.icons, {- export: {- bootstrap3: 'glyphicon-export icon-share',- bootstrap5: 'bi-download',- materialize: 'file_download',- 'bootstrap-table': 'icon-download'- }[$$7.fn.bootstrapTable.theme] || 'fa-download'- });- Object.assign($$7.fn.bootstrapTable.locales, {- formatExport: function formatExport() {- return 'Export data';- }- });- Object.assign($$7.fn.bootstrapTable.defaults, $$7.fn.bootstrapTable.locales);- $$7.fn.bootstrapTable.methods.push('exportTable');- Object.assign($$7.fn.bootstrapTable.defaults, {- // eslint-disable-next-line no-unused-vars- onExportSaved: function onExportSaved(exportedRows) {- return false;- },- onExportStarted: function onExportStarted() {- return false;- }- });- Object.assign($$7.fn.bootstrapTable.events, {- 'export-saved.bs.table': 'onExportSaved',- 'export-started.bs.table': 'onExportStarted'- });- $$7.BootstrapTable = /*#__PURE__*/function (_$$BootstrapTable) {- _inherits(_class, _$$BootstrapTable);- var _super = _createSuper(_class);- function _class() {- _classCallCheck(this, _class);- return _super.apply(this, arguments);- }- _createClass(_class, [{- key: "initToolbar",- value: function initToolbar() {- var _this = this,- _get2;- var o = this.options;- var exportTypes = o.exportTypes;- this.showToolbar = this.showToolbar || o.showExport;- if (this.options.showExport) {- if (typeof exportTypes === 'string') {- var types = exportTypes.slice(1, -1).replace(/ /g, '').split(',');- exportTypes = types.map(function (t) {- return t.slice(1, -1);- });- }- if (typeof o.exportOptions === 'string') {- o.exportOptions = Utils.calculateObjectValue(null, o.exportOptions);- }- this.$export = this.$toolbar.find('>.columns div.export');- if (this.$export.length) {- this.updateExportButton();- return;- }- this.buttons = Object.assign(this.buttons, {- export: {- html: function html() {- if (exportTypes.length === 1) {- return "\n <div class=\"export ".concat(_this.constants.classes.buttonsDropdown, "\"\n data-type=\"").concat(exportTypes[0], "\">\n <button class=\"").concat(_this.constants.buttonsClass, "\"\n aria-label=\"").concat(o.formatExport(), "\"\n type=\"button\"\n title=\"").concat(o.formatExport(), "\">\n ").concat(o.showButtonIcons ? Utils.sprintf(_this.constants.html.icon, o.iconsPrefix, o.icons.export) : '', "\n ").concat(o.showButtonText ? o.formatExport() : '', "\n </button>\n </div>\n ");- }- var html = [];- html.push("\n <div class=\"export ".concat(_this.constants.classes.buttonsDropdown, "\">\n <button class=\"").concat(_this.constants.buttonsClass, " dropdown-toggle\"\n aria-label=\"").concat(o.formatExport(), "\"\n ").concat(_this.constants.dataToggle, "=\"dropdown\"\n type=\"button\"\n title=\"").concat(o.formatExport(), "\">\n ").concat(o.showButtonIcons ? Utils.sprintf(_this.constants.html.icon, o.iconsPrefix, o.icons.export) : '', "\n ").concat(o.showButtonText ? o.formatExport() : '', "\n ").concat(_this.constants.html.dropdownCaret, "\n </button>\n ").concat(_this.constants.html.toolbarDropdown[0], "\n "));- var _iterator = _createForOfIteratorHelper(exportTypes),- _step;- try {- for (_iterator.s(); !(_step = _iterator.n()).done;) {- var type = _step.value;- if (TYPE_NAME.hasOwnProperty(type)) {- var $item = $$7(Utils.sprintf(_this.constants.html.pageDropdownItem, '', TYPE_NAME[type]));- $item.attr('data-type', type);- html.push($item.prop('outerHTML'));- }- }- } catch (err) {- _iterator.e(err);- } finally {- _iterator.f();- }- html.push(_this.constants.html.toolbarDropdown[1], '</div>');- return html.join('');- }- }- });- }- for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {- args[_key] = arguments[_key];- }- (_get2 = _get(_getPrototypeOf(_class.prototype), "initToolbar", this)).call.apply(_get2, [this].concat(args));- this.$export = this.$toolbar.find('>.columns div.export');- if (!this.options.showExport) {- return;- }- this.updateExportButton();- var $exportButtons = this.$export.find('[data-type]');- if (exportTypes.length === 1) {- $exportButtons = this.$export;- }- $exportButtons.click(function (e) {- e.preventDefault();- _this.exportTable({- type: $$7(e.currentTarget).data('type')- });- });- this.handleToolbar();- }- }, {- key: "handleToolbar",- value: function handleToolbar() {- if (!this.$export) {- return;- }- if (_get(_getPrototypeOf(_class.prototype), "handleToolbar", this)) {- _get(_getPrototypeOf(_class.prototype), "handleToolbar", this).call(this);- }- }- }, {- key: "exportTable",- value: function exportTable(options) {- var _this2 = this;- var o = this.options;- var stateField = this.header.stateField;- var isCardView = o.cardView;- var doExport = function doExport(callback) {- _this2.trigger('export-started');- if (stateField) {- _this2.hideColumn(stateField);- }- if (isCardView) {- _this2.toggleView();- }- _this2.columns.forEach(function (row) {- if (row.forceHide) {- _this2.hideColumn(row.field);- }- });- var data = _this2.getData();- if (o.detailView && o.detailViewIcon) {- var detailViewIndex = o.detailViewAlign === 'left' ? 0 : _this2.getVisibleFields().length + Utils.getDetailViewIndexOffset(_this2.options);- o.exportOptions.ignoreColumn = [detailViewIndex].concat(o.exportOptions.ignoreColumn || []);- }- if (o.exportFooter && o.height) {- var $footerRow = _this2.$tableFooter.find('tr').first();- var footerData = {};- var footerHtml = [];- $$7.each($footerRow.children(), function (index, footerCell) {- var footerCellHtml = $$7(footerCell).children('.th-inner').first().html();- footerData[_this2.columns[index].field] = footerCellHtml === ' ' ? null : footerCellHtml;-- // grab footer cell text into cell index-based array- footerHtml.push(footerCellHtml);- });- _this2.$body.append(_this2.$body.children().last()[0].outerHTML);- var $lastTableRow = _this2.$body.children().last();- $$7.each($lastTableRow.children(), function (index, lastTableRowCell) {- $$7(lastTableRowCell).html(footerHtml[index]);- });- }- var hiddenColumns = _this2.getHiddenColumns();- hiddenColumns.forEach(function (row) {- if (row.forceExport) {- _this2.showColumn(row.field);- }- });- if (typeof o.exportOptions.fileName === 'function') {- options.fileName = o.exportOptions.fileName();- }- _this2.$el.tableExport(Utils.extend({- onAfterSaveToFile: function onAfterSaveToFile() {- if (o.exportFooter) {- _this2.load(data);- }- if (stateField) {- _this2.showColumn(stateField);- }- if (isCardView) {- _this2.toggleView();- }- hiddenColumns.forEach(function (row) {- if (row.forceExport) {- _this2.hideColumn(row.field);- }- });- _this2.columns.forEach(function (row) {- if (row.forceHide) {- _this2.showColumn(row.field);- }- });- if (callback) callback();- }- }, o.exportOptions, options));- };- if (o.exportDataType === 'all' && o.pagination) {- var eventName = o.sidePagination === 'server' ? 'post-body.bs.table' : 'page-change.bs.table';- var virtualScroll = this.options.virtualScroll;- this.$el.one(eventName, function () {- setTimeout(function () {- doExport(function () {- _this2.options.virtualScroll = virtualScroll;- _this2.togglePagination();- });- }, 0);- });- this.options.virtualScroll = false;- this.togglePagination();- this.trigger('export-saved', this.getData());- } else if (o.exportDataType === 'selected') {- var data = this.getData();- var selectedData = this.getSelections();- var pagination = o.pagination;- if (!selectedData.length) {- return;- }- if (o.sidePagination === 'server') {- data = _defineProperty({- total: o.totalRows- }, this.options.dataField, data);- selectedData = _defineProperty({- total: selectedData.length- }, this.options.dataField, selectedData);- }- this.load(selectedData);- if (pagination) {- this.togglePagination();- }- doExport(function () {- if (pagination) {- _this2.togglePagination();- }- _this2.load(data);- });- this.trigger('export-saved', selectedData);- } else {- doExport();- this.trigger('export-saved', this.getData(true));- }- }- }, {- key: "updateSelected",- value: function updateSelected() {- _get(_getPrototypeOf(_class.prototype), "updateSelected", this).call(this);- this.updateExportButton();- }- }, {- key: "updateExportButton",- value: function updateExportButton() {- if (this.options.exportDataType === 'selected') {- this.$export.find('> button').prop('disabled', !this.getSelections().length);- }- }- }]);- return _class;- }($$7.BootstrapTable);--}));--(function (global, factory) {- typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('jquery')) :- typeof define === 'function' && define.amd ? define(['jquery'], factory) :- (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.jQuery));-})(this, (function ($$9) { 'use strict';-- function _classCallCheck(instance, Constructor) {- if (!(instance instanceof Constructor)) {- throw new TypeError("Cannot call a class as a function");- }- }- function _defineProperties(target, props) {- for (var i = 0; i < props.length; i++) {- var descriptor = props[i];- descriptor.enumerable = descriptor.enumerable || false;- descriptor.configurable = true;- if ("value" in descriptor) descriptor.writable = true;- Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor);- }- }- function _createClass(Constructor, protoProps, staticProps) {- if (protoProps) _defineProperties(Constructor.prototype, protoProps);- if (staticProps) _defineProperties(Constructor, staticProps);- Object.defineProperty(Constructor, "prototype", {- writable: false- });- return Constructor;- }- function _inherits(subClass, superClass) {- if (typeof superClass !== "function" && superClass !== null) {- throw new TypeError("Super expression must either be null or a function");- }- subClass.prototype = Object.create(superClass && superClass.prototype, {- constructor: {- value: subClass,- writable: true,- configurable: true- }- });- Object.defineProperty(subClass, "prototype", {- writable: false- });- if (superClass) _setPrototypeOf(subClass, superClass);- }- function _getPrototypeOf(o) {- _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {- return o.__proto__ || Object.getPrototypeOf(o);- };- return _getPrototypeOf(o);- }- function _setPrototypeOf(o, p) {- _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {- o.__proto__ = p;- return o;- };- return _setPrototypeOf(o, p);- }- function _isNativeReflectConstruct() {- if (typeof Reflect === "undefined" || !Reflect.construct) return false;- if (Reflect.construct.sham) return false;- if (typeof Proxy === "function") return true;- try {- Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));- return true;- } catch (e) {- return false;- }- }- function _assertThisInitialized(self) {- if (self === void 0) {- throw new ReferenceError("this hasn't been initialised - super() hasn't been called");- }- return self;- }- function _possibleConstructorReturn(self, call) {- if (call && (typeof call === "object" || typeof call === "function")) {- return call;- } else if (call !== void 0) {- throw new TypeError("Derived constructors may only return object or undefined");- }- return _assertThisInitialized(self);- }- function _createSuper(Derived) {- var hasNativeReflectConstruct = _isNativeReflectConstruct();- return function _createSuperInternal() {- var Super = _getPrototypeOf(Derived),- result;- if (hasNativeReflectConstruct) {- var NewTarget = _getPrototypeOf(this).constructor;- result = Reflect.construct(Super, arguments, NewTarget);- } else {- result = Super.apply(this, arguments);- }- return _possibleConstructorReturn(this, result);- };- }- function _superPropBase(object, property) {- while (!Object.prototype.hasOwnProperty.call(object, property)) {- object = _getPrototypeOf(object);- if (object === null) break;- }- return object;- }- function _get() {- if (typeof Reflect !== "undefined" && Reflect.get) {- _get = Reflect.get.bind();- } else {- _get = function _get(target, property, receiver) {- var base = _superPropBase(target, property);- if (!base) return;- var desc = Object.getOwnPropertyDescriptor(base, property);- if (desc.get) {- return desc.get.call(arguments.length < 3 ? target : receiver);- }- return desc.value;- };- }- return _get.apply(this, arguments);- }- function _unsupportedIterableToArray(o, minLen) {- if (!o) return;- if (typeof o === "string") return _arrayLikeToArray(o, minLen);- var n = Object.prototype.toString.call(o).slice(8, -1);- if (n === "Object" && o.constructor) n = o.constructor.name;- if (n === "Map" || n === "Set") return Array.from(o);- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);- }- function _arrayLikeToArray(arr, len) {- if (len == null || len > arr.length) len = arr.length;- for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];- return arr2;- }- function _createForOfIteratorHelper(o, allowArrayLike) {- var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"];- if (!it) {- if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") {- if (it) o = it;- var i = 0;- var F = function () {};- return {- s: F,- n: function () {- if (i >= o.length) return {- done: true- };- return {- done: false,- value: o[i++]- };- },- e: function (e) {- throw e;- },- f: F- };- }- 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 normalCompletion = true,- didErr = false,- err;- return {- s: function () {- it = it.call(o);- },- n: function () {- var step = it.next();- normalCompletion = step.done;- return step;- },- e: function (e) {- didErr = true;- err = e;- },- f: function () {- try {- if (!normalCompletion && it.return != null) it.return();- } finally {- if (didErr) throw err;- }- }- };- }- function _toPrimitive(input, hint) {- if (typeof input !== "object" || input === null) return input;- var prim = input[Symbol.toPrimitive];- if (prim !== undefined) {- var res = prim.call(input, hint || "default");- if (typeof res !== "object") return res;- throw new TypeError("@@toPrimitive must return a primitive value.");- }- return (hint === "string" ? String : Number)(input);- }- function _toPropertyKey(arg) {- var key = _toPrimitive(arg, "string");- return typeof key === "symbol" ? key : String(key);- }-- var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};-- var check = function (it) {- return it && it.Math == Math && it;- };-- // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028- var global$e =- // eslint-disable-next-line es/no-global-this -- safe- check(typeof globalThis == 'object' && globalThis) ||- check(typeof window == 'object' && window) ||- // eslint-disable-next-line no-restricted-globals -- safe- check(typeof self == 'object' && self) ||- check(typeof commonjsGlobal == 'object' && commonjsGlobal) ||- // eslint-disable-next-line no-new-func -- fallback- (function () { return this; })() || Function('return this')();-- var objectGetOwnPropertyDescriptor = {};-- var fails$k = function (exec) {- try {- return !!exec();- } catch (error) {- return true;- }- };-- var fails$j = fails$k;-- // Detect IE8's incomplete defineProperty implementation- var descriptors = !fails$j(function () {- // eslint-disable-next-line es/no-object-defineproperty -- required for testing- return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;- });-- var fails$i = fails$k;-- var functionBindNative = !fails$i(function () {- // eslint-disable-next-line es/no-function-prototype-bind -- safe- var test = (function () { /* empty */ }).bind();- // eslint-disable-next-line no-prototype-builtins -- safe- return typeof test != 'function' || test.hasOwnProperty('prototype');- });-- var NATIVE_BIND$3 = functionBindNative;-- var call$b = Function.prototype.call;-- var functionCall = NATIVE_BIND$3 ? call$b.bind(call$b) : function () {- return call$b.apply(call$b, arguments);- };-- var objectPropertyIsEnumerable = {};-- var $propertyIsEnumerable = {}.propertyIsEnumerable;- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe- var getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;-- // Nashorn ~ JDK8 bug- var NASHORN_BUG = getOwnPropertyDescriptor$1 && !$propertyIsEnumerable.call({ 1: 2 }, 1);-- // `Object.prototype.propertyIsEnumerable` method implementation- // https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable- objectPropertyIsEnumerable.f = NASHORN_BUG ? function propertyIsEnumerable(V) {- var descriptor = getOwnPropertyDescriptor$1(this, V);- return !!descriptor && descriptor.enumerable;- } : $propertyIsEnumerable;-- var createPropertyDescriptor$3 = function (bitmap, value) {- return {- enumerable: !(bitmap & 1),- configurable: !(bitmap & 2),- writable: !(bitmap & 4),- value: value- };- };-- var NATIVE_BIND$2 = functionBindNative;-- var FunctionPrototype$2 = Function.prototype;- var call$a = FunctionPrototype$2.call;- var uncurryThisWithBind = NATIVE_BIND$2 && FunctionPrototype$2.bind.bind(call$a, call$a);-- var functionUncurryThis = NATIVE_BIND$2 ? uncurryThisWithBind : function (fn) {- return function () {- return call$a.apply(fn, arguments);- };- };-- var uncurryThis$k = functionUncurryThis;-- var toString$8 = uncurryThis$k({}.toString);- var stringSlice$5 = uncurryThis$k(''.slice);-- var classofRaw$2 = function (it) {- return stringSlice$5(toString$8(it), 8, -1);- };-- var uncurryThis$j = functionUncurryThis;- var fails$h = fails$k;- var classof$7 = classofRaw$2;-- var $Object$3 = Object;- var split = uncurryThis$j(''.split);-- // fallback for non-array-like ES3 and non-enumerable old V8 strings- var indexedObject = fails$h(function () {- // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346- // eslint-disable-next-line no-prototype-builtins -- safe- return !$Object$3('z').propertyIsEnumerable(0);- }) ? function (it) {- return classof$7(it) == 'String' ? split(it, '') : $Object$3(it);- } : $Object$3;-- // we can't use just `it == null` since of `document.all` special case- // https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec- var isNullOrUndefined$4 = function (it) {- return it === null || it === undefined;- };-- var isNullOrUndefined$3 = isNullOrUndefined$4;-- var $TypeError$8 = TypeError;-- // `RequireObjectCoercible` abstract operation- // https://tc39.es/ecma262/#sec-requireobjectcoercible- var requireObjectCoercible$6 = function (it) {- if (isNullOrUndefined$3(it)) throw $TypeError$8("Can't call method on " + it);- return it;- };-- // toObject with fallback for non-array-like ES3 strings- var IndexedObject$3 = indexedObject;- var requireObjectCoercible$5 = requireObjectCoercible$6;-- var toIndexedObject$5 = function (it) {- return IndexedObject$3(requireObjectCoercible$5(it));- };-- var documentAll$2 = typeof document == 'object' && document.all;-- // https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot- // eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing- var IS_HTMLDDA = typeof documentAll$2 == 'undefined' && documentAll$2 !== undefined;-- var documentAll_1 = {- all: documentAll$2,- IS_HTMLDDA: IS_HTMLDDA- };-- var $documentAll$1 = documentAll_1;-- var documentAll$1 = $documentAll$1.all;-- // `IsCallable` abstract operation- // https://tc39.es/ecma262/#sec-iscallable- var isCallable$e = $documentAll$1.IS_HTMLDDA ? function (argument) {- return typeof argument == 'function' || argument === documentAll$1;- } : function (argument) {- return typeof argument == 'function';- };-- var isCallable$d = isCallable$e;- var $documentAll = documentAll_1;-- var documentAll = $documentAll.all;-- var isObject$8 = $documentAll.IS_HTMLDDA ? function (it) {- return typeof it == 'object' ? it !== null : isCallable$d(it) || it === documentAll;- } : function (it) {- return typeof it == 'object' ? it !== null : isCallable$d(it);- };-- var global$d = global$e;- var isCallable$c = isCallable$e;-- var aFunction = function (argument) {- return isCallable$c(argument) ? argument : undefined;- };-- var getBuiltIn$4 = function (namespace, method) {- return arguments.length < 2 ? aFunction(global$d[namespace]) : global$d[namespace] && global$d[namespace][method];- };-- var uncurryThis$i = functionUncurryThis;-- var objectIsPrototypeOf = uncurryThis$i({}.isPrototypeOf);-- var engineUserAgent = typeof navigator != 'undefined' && String(navigator.userAgent) || '';-- var global$c = global$e;- var userAgent = engineUserAgent;-- var process = global$c.process;- var Deno = global$c.Deno;- var versions = process && process.versions || Deno && Deno.version;- var v8 = versions && versions.v8;- var match, version;-- if (v8) {- match = v8.split('.');- // in old Chrome, versions of V8 isn't V8 = Chrome / 10- // but their correct versions are not interesting for us- version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);- }-- // BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`- // so check `userAgent` even if `.v8` exists, but 0- if (!version && userAgent) {- match = userAgent.match(/Edge\/(\d+)/);- if (!match || match[1] >= 74) {- match = userAgent.match(/Chrome\/(\d+)/);- if (match) version = +match[1];- }- }-- var engineV8Version = version;-- /* eslint-disable es/no-symbol -- required for testing */-- var V8_VERSION$2 = engineV8Version;- var fails$g = fails$k;-- // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing- var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$g(function () {- var symbol = Symbol();- // Chrome 38 Symbol has incorrect toString conversion- // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances- return !String(symbol) || !(Object(symbol) instanceof Symbol) ||- // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances- !Symbol.sham && V8_VERSION$2 && V8_VERSION$2 < 41;- });-- /* eslint-disable es/no-symbol -- required for testing */-- var NATIVE_SYMBOL$1 = symbolConstructorDetection;-- var useSymbolAsUid = NATIVE_SYMBOL$1- && !Symbol.sham- && typeof Symbol.iterator == 'symbol';-- var getBuiltIn$3 = getBuiltIn$4;- var isCallable$b = isCallable$e;- var isPrototypeOf$1 = objectIsPrototypeOf;- var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;-- var $Object$2 = Object;-- var isSymbol$2 = USE_SYMBOL_AS_UID$1 ? function (it) {- return typeof it == 'symbol';- } : function (it) {- var $Symbol = getBuiltIn$3('Symbol');- return isCallable$b($Symbol) && isPrototypeOf$1($Symbol.prototype, $Object$2(it));- };-- var $String$3 = String;-- var tryToString$1 = function (argument) {- try {- return $String$3(argument);- } catch (error) {- return 'Object';- }- };-- var isCallable$a = isCallable$e;- var tryToString = tryToString$1;-- var $TypeError$7 = TypeError;-- // `Assert: IsCallable(argument) is true`- var aCallable$2 = function (argument) {- if (isCallable$a(argument)) return argument;- throw $TypeError$7(tryToString(argument) + ' is not a function');- };-- var aCallable$1 = aCallable$2;- var isNullOrUndefined$2 = isNullOrUndefined$4;-- // `GetMethod` abstract operation- // https://tc39.es/ecma262/#sec-getmethod- var getMethod$3 = function (V, P) {- var func = V[P];- return isNullOrUndefined$2(func) ? undefined : aCallable$1(func);- };-- var call$9 = functionCall;- var isCallable$9 = isCallable$e;- var isObject$7 = isObject$8;-- var $TypeError$6 = TypeError;-- // `OrdinaryToPrimitive` abstract operation- // https://tc39.es/ecma262/#sec-ordinarytoprimitive- var ordinaryToPrimitive$1 = function (input, pref) {- var fn, val;- if (pref === 'string' && isCallable$9(fn = input.toString) && !isObject$7(val = call$9(fn, input))) return val;- if (isCallable$9(fn = input.valueOf) && !isObject$7(val = call$9(fn, input))) return val;- if (pref !== 'string' && isCallable$9(fn = input.toString) && !isObject$7(val = call$9(fn, input))) return val;- throw $TypeError$6("Can't convert object to primitive value");- };-- var sharedExports = {};- var shared$4 = {- get exports(){ return sharedExports; },- set exports(v){ sharedExports = v; },- };-- var global$b = global$e;-- // eslint-disable-next-line es/no-object-defineproperty -- safe- var defineProperty$3 = Object.defineProperty;-- var defineGlobalProperty$3 = function (key, value) {- try {- defineProperty$3(global$b, key, { value: value, configurable: true, writable: true });- } catch (error) {- global$b[key] = value;- } return value;- };-- var global$a = global$e;- var defineGlobalProperty$2 = defineGlobalProperty$3;-- var SHARED = '__core-js_shared__';- var store$3 = global$a[SHARED] || defineGlobalProperty$2(SHARED, {});-- var sharedStore = store$3;-- var store$2 = sharedStore;-- (shared$4.exports = function (key, value) {- return store$2[key] || (store$2[key] = value !== undefined ? value : {});- })('versions', []).push({- version: '3.29.0',- mode: 'global',- copyright: '© 2014-2023 Denis Pushkarev (zloirock.ru)',- license: 'https://github.com/zloirock/core-js/blob/v3.29.0/LICENSE',- source: 'https://github.com/zloirock/core-js'- });-- var requireObjectCoercible$4 = requireObjectCoercible$6;-- var $Object$1 = Object;-- // `ToObject` abstract operation- // https://tc39.es/ecma262/#sec-toobject- var toObject$5 = function (argument) {- return $Object$1(requireObjectCoercible$4(argument));- };-- var uncurryThis$h = functionUncurryThis;- var toObject$4 = toObject$5;-- var hasOwnProperty = uncurryThis$h({}.hasOwnProperty);-- // `HasOwnProperty` abstract operation- // https://tc39.es/ecma262/#sec-hasownproperty- // eslint-disable-next-line es/no-object-hasown -- safe- var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {- return hasOwnProperty(toObject$4(it), key);- };-- var uncurryThis$g = functionUncurryThis;-- var id = 0;- var postfix = Math.random();- var toString$7 = uncurryThis$g(1.0.toString);-- var uid$2 = function (key) {- return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$7(++id + postfix, 36);- };-- var global$9 = global$e;- var shared$3 = sharedExports;- var hasOwn$7 = hasOwnProperty_1;- var uid$1 = uid$2;- var NATIVE_SYMBOL = symbolConstructorDetection;- var USE_SYMBOL_AS_UID = useSymbolAsUid;-- var Symbol$1 = global$9.Symbol;- var WellKnownSymbolsStore = shared$3('wks');- var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$1['for'] || Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid$1;-- var wellKnownSymbol$b = function (name) {- if (!hasOwn$7(WellKnownSymbolsStore, name)) {- WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn$7(Symbol$1, name)- ? Symbol$1[name]- : createWellKnownSymbol('Symbol.' + name);- } return WellKnownSymbolsStore[name];- };-- var call$8 = functionCall;- var isObject$6 = isObject$8;- var isSymbol$1 = isSymbol$2;- var getMethod$2 = getMethod$3;- var ordinaryToPrimitive = ordinaryToPrimitive$1;- var wellKnownSymbol$a = wellKnownSymbol$b;-- var $TypeError$5 = TypeError;- var TO_PRIMITIVE = wellKnownSymbol$a('toPrimitive');-- // `ToPrimitive` abstract operation- // https://tc39.es/ecma262/#sec-toprimitive- var toPrimitive$1 = function (input, pref) {- if (!isObject$6(input) || isSymbol$1(input)) return input;- var exoticToPrim = getMethod$2(input, TO_PRIMITIVE);- var result;- if (exoticToPrim) {- if (pref === undefined) pref = 'default';- result = call$8(exoticToPrim, input, pref);- if (!isObject$6(result) || isSymbol$1(result)) return result;- throw $TypeError$5("Can't convert object to primitive value");- }- if (pref === undefined) pref = 'number';- return ordinaryToPrimitive(input, pref);- };-- var toPrimitive = toPrimitive$1;- var isSymbol = isSymbol$2;-- // `ToPropertyKey` abstract operation- // https://tc39.es/ecma262/#sec-topropertykey- var toPropertyKey$3 = function (argument) {- var key = toPrimitive(argument, 'string');- return isSymbol(key) ? key : key + '';- };-- var global$8 = global$e;- var isObject$5 = isObject$8;-- var document$1 = global$8.document;- // typeof document.createElement is 'object' in old IE- var EXISTS$1 = isObject$5(document$1) && isObject$5(document$1.createElement);-- var documentCreateElement$2 = function (it) {- return EXISTS$1 ? document$1.createElement(it) : {};- };-- var DESCRIPTORS$8 = descriptors;- var fails$f = fails$k;- var createElement = documentCreateElement$2;-- // Thanks to IE8 for its funny defineProperty- var ie8DomDefine = !DESCRIPTORS$8 && !fails$f(function () {- // eslint-disable-next-line es/no-object-defineproperty -- required for testing- return Object.defineProperty(createElement('div'), 'a', {- get: function () { return 7; }- }).a != 7;- });-- var DESCRIPTORS$7 = descriptors;- var call$7 = functionCall;- var propertyIsEnumerableModule$1 = objectPropertyIsEnumerable;- var createPropertyDescriptor$2 = createPropertyDescriptor$3;- var toIndexedObject$4 = toIndexedObject$5;- var toPropertyKey$2 = toPropertyKey$3;- var hasOwn$6 = hasOwnProperty_1;- var IE8_DOM_DEFINE$1 = ie8DomDefine;-- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe- var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;-- // `Object.getOwnPropertyDescriptor` method- // https://tc39.es/ecma262/#sec-object.getownpropertydescriptor- objectGetOwnPropertyDescriptor.f = DESCRIPTORS$7 ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {- O = toIndexedObject$4(O);- P = toPropertyKey$2(P);- if (IE8_DOM_DEFINE$1) try {- return $getOwnPropertyDescriptor$1(O, P);- } catch (error) { /* empty */ }- if (hasOwn$6(O, P)) return createPropertyDescriptor$2(!call$7(propertyIsEnumerableModule$1.f, O, P), O[P]);- };-- var objectDefineProperty = {};-- var DESCRIPTORS$6 = descriptors;- var fails$e = fails$k;-- // V8 ~ Chrome 36-- // https://bugs.chromium.org/p/v8/issues/detail?id=3334- var v8PrototypeDefineBug = DESCRIPTORS$6 && fails$e(function () {- // eslint-disable-next-line es/no-object-defineproperty -- required for testing- return Object.defineProperty(function () { /* empty */ }, 'prototype', {- value: 42,- writable: false- }).prototype != 42;- });-- var isObject$4 = isObject$8;-- var $String$2 = String;- var $TypeError$4 = TypeError;-- // `Assert: Type(argument) is Object`- var anObject$9 = function (argument) {- if (isObject$4(argument)) return argument;- throw $TypeError$4($String$2(argument) + ' is not an object');- };-- var DESCRIPTORS$5 = descriptors;- var IE8_DOM_DEFINE = ie8DomDefine;- var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug;- var anObject$8 = anObject$9;- var toPropertyKey$1 = toPropertyKey$3;-- var $TypeError$3 = TypeError;- // eslint-disable-next-line es/no-object-defineproperty -- safe- var $defineProperty = Object.defineProperty;- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe- var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;- var ENUMERABLE = 'enumerable';- var CONFIGURABLE$1 = 'configurable';- var WRITABLE = 'writable';-- // `Object.defineProperty` method- // https://tc39.es/ecma262/#sec-object.defineproperty- objectDefineProperty.f = DESCRIPTORS$5 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {- anObject$8(O);- P = toPropertyKey$1(P);- anObject$8(Attributes);- if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {- var current = $getOwnPropertyDescriptor(O, P);- if (current && current[WRITABLE]) {- O[P] = Attributes.value;- Attributes = {- configurable: CONFIGURABLE$1 in Attributes ? Attributes[CONFIGURABLE$1] : current[CONFIGURABLE$1],- enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],- writable: false- };- }- } return $defineProperty(O, P, Attributes);- } : $defineProperty : function defineProperty(O, P, Attributes) {- anObject$8(O);- P = toPropertyKey$1(P);- anObject$8(Attributes);- if (IE8_DOM_DEFINE) try {- return $defineProperty(O, P, Attributes);- } catch (error) { /* empty */ }- if ('get' in Attributes || 'set' in Attributes) throw $TypeError$3('Accessors not supported');- if ('value' in Attributes) O[P] = Attributes.value;- return O;- };-- var DESCRIPTORS$4 = descriptors;- var definePropertyModule$4 = objectDefineProperty;- var createPropertyDescriptor$1 = createPropertyDescriptor$3;-- var createNonEnumerableProperty$4 = DESCRIPTORS$4 ? function (object, key, value) {- return definePropertyModule$4.f(object, key, createPropertyDescriptor$1(1, value));- } : function (object, key, value) {- object[key] = value;- return object;- };-- var makeBuiltInExports = {};- var makeBuiltIn$2 = {- get exports(){ return makeBuiltInExports; },- set exports(v){ makeBuiltInExports = v; },- };-- var DESCRIPTORS$3 = descriptors;- var hasOwn$5 = hasOwnProperty_1;-- var FunctionPrototype$1 = Function.prototype;- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe- var getDescriptor = DESCRIPTORS$3 && Object.getOwnPropertyDescriptor;-- var EXISTS = hasOwn$5(FunctionPrototype$1, 'name');- // additional protection from minified / mangled / dropped function names- var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';- var CONFIGURABLE = EXISTS && (!DESCRIPTORS$3 || (DESCRIPTORS$3 && getDescriptor(FunctionPrototype$1, 'name').configurable));-- var functionName = {- EXISTS: EXISTS,- PROPER: PROPER,- CONFIGURABLE: CONFIGURABLE- };-- var uncurryThis$f = functionUncurryThis;- var isCallable$8 = isCallable$e;- var store$1 = sharedStore;-- var functionToString = uncurryThis$f(Function.toString);-- // this helper broken in `[email protected]`, so we can't use `shared` helper- if (!isCallable$8(store$1.inspectSource)) {- store$1.inspectSource = function (it) {- return functionToString(it);- };- }-- var inspectSource$2 = store$1.inspectSource;-- var global$7 = global$e;- var isCallable$7 = isCallable$e;-- var WeakMap$1 = global$7.WeakMap;-- var weakMapBasicDetection = isCallable$7(WeakMap$1) && /native code/.test(String(WeakMap$1));-- var shared$2 = sharedExports;- var uid = uid$2;-- var keys = shared$2('keys');-- var sharedKey$2 = function (key) {- return keys[key] || (keys[key] = uid(key));- };-- var hiddenKeys$4 = {};-- var NATIVE_WEAK_MAP = weakMapBasicDetection;- var global$6 = global$e;- var isObject$3 = isObject$8;- var createNonEnumerableProperty$3 = createNonEnumerableProperty$4;- var hasOwn$4 = hasOwnProperty_1;- var shared$1 = sharedStore;- var sharedKey$1 = sharedKey$2;- var hiddenKeys$3 = hiddenKeys$4;-- var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';- var TypeError$1 = global$6.TypeError;- var WeakMap = global$6.WeakMap;- var set, get, has;-- var enforce = function (it) {- return has(it) ? get(it) : set(it, {});- };-- var getterFor = function (TYPE) {- return function (it) {- var state;- if (!isObject$3(it) || (state = get(it)).type !== TYPE) {- throw TypeError$1('Incompatible receiver, ' + TYPE + ' required');- } return state;- };- };-- if (NATIVE_WEAK_MAP || shared$1.state) {- var store = shared$1.state || (shared$1.state = new WeakMap());- /* eslint-disable no-self-assign -- prototype methods protection */- store.get = store.get;- store.has = store.has;- store.set = store.set;- /* eslint-enable no-self-assign -- prototype methods protection */- set = function (it, metadata) {- if (store.has(it)) throw TypeError$1(OBJECT_ALREADY_INITIALIZED);- metadata.facade = it;- store.set(it, metadata);- return metadata;- };- get = function (it) {- return store.get(it) || {};- };- has = function (it) {- return store.has(it);- };- } else {- var STATE = sharedKey$1('state');- hiddenKeys$3[STATE] = true;- set = function (it, metadata) {- if (hasOwn$4(it, STATE)) throw TypeError$1(OBJECT_ALREADY_INITIALIZED);- metadata.facade = it;- createNonEnumerableProperty$3(it, STATE, metadata);- return metadata;- };- get = function (it) {- return hasOwn$4(it, STATE) ? it[STATE] : {};- };- has = function (it) {- return hasOwn$4(it, STATE);- };- }-- var internalState = {- set: set,- get: get,- has: has,- enforce: enforce,- getterFor: getterFor- };-- var uncurryThis$e = functionUncurryThis;- var fails$d = fails$k;- var isCallable$6 = isCallable$e;- var hasOwn$3 = hasOwnProperty_1;- var DESCRIPTORS$2 = descriptors;- var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE;- var inspectSource$1 = inspectSource$2;- var InternalStateModule = internalState;-- var enforceInternalState = InternalStateModule.enforce;- var getInternalState$1 = InternalStateModule.get;- var $String$1 = String;- // eslint-disable-next-line es/no-object-defineproperty -- safe- var defineProperty$2 = Object.defineProperty;- var stringSlice$4 = uncurryThis$e(''.slice);- var replace$2 = uncurryThis$e(''.replace);- var join = uncurryThis$e([].join);-- var CONFIGURABLE_LENGTH = DESCRIPTORS$2 && !fails$d(function () {- return defineProperty$2(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;- });-- var TEMPLATE = String(String).split('String');-- var makeBuiltIn$1 = makeBuiltIn$2.exports = function (value, name, options) {- if (stringSlice$4($String$1(name), 0, 7) === 'Symbol(') {- name = '[' + replace$2($String$1(name), /^Symbol\(([^)]*)\)/, '$1') + ']';- }- if (options && options.getter) name = 'get ' + name;- if (options && options.setter) name = 'set ' + name;- if (!hasOwn$3(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {- if (DESCRIPTORS$2) defineProperty$2(value, 'name', { value: name, configurable: true });- else value.name = name;- }- if (CONFIGURABLE_LENGTH && options && hasOwn$3(options, 'arity') && value.length !== options.arity) {- defineProperty$2(value, 'length', { value: options.arity });- }- try {- if (options && hasOwn$3(options, 'constructor') && options.constructor) {- if (DESCRIPTORS$2) defineProperty$2(value, 'prototype', { writable: false });- // in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable- } else if (value.prototype) value.prototype = undefined;- } catch (error) { /* empty */ }- var state = enforceInternalState(value);- if (!hasOwn$3(state, 'source')) {- state.source = join(TEMPLATE, typeof name == 'string' ? name : '');- } return value;- };-- // add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative- // eslint-disable-next-line no-extend-native -- required- Function.prototype.toString = makeBuiltIn$1(function toString() {- return isCallable$6(this) && getInternalState$1(this).source || inspectSource$1(this);- }, 'toString');-- var isCallable$5 = isCallable$e;- var definePropertyModule$3 = objectDefineProperty;- var makeBuiltIn = makeBuiltInExports;- var defineGlobalProperty$1 = defineGlobalProperty$3;-- var defineBuiltIn$4 = function (O, key, value, options) {- if (!options) options = {};- var simple = options.enumerable;- var name = options.name !== undefined ? options.name : key;- if (isCallable$5(value)) makeBuiltIn(value, name, options);- if (options.global) {- if (simple) O[key] = value;- else defineGlobalProperty$1(key, value);- } else {- try {- if (!options.unsafe) delete O[key];- else if (O[key]) simple = true;- } catch (error) { /* empty */ }- if (simple) O[key] = value;- else definePropertyModule$3.f(O, key, {- value: value,- enumerable: false,- configurable: !options.nonConfigurable,- writable: !options.nonWritable- });- } return O;- };-- var objectGetOwnPropertyNames = {};-- var ceil = Math.ceil;- var floor$1 = Math.floor;-- // `Math.trunc` method- // https://tc39.es/ecma262/#sec-math.trunc- // eslint-disable-next-line es/no-math-trunc -- safe- var mathTrunc = Math.trunc || function trunc(x) {- var n = +x;- return (n > 0 ? floor$1 : ceil)(n);- };-- var trunc = mathTrunc;-- // `ToIntegerOrInfinity` abstract operation- // https://tc39.es/ecma262/#sec-tointegerorinfinity- var toIntegerOrInfinity$4 = function (argument) {- var number = +argument;- // eslint-disable-next-line no-self-compare -- NaN check- return number !== number || number === 0 ? 0 : trunc(number);- };-- var toIntegerOrInfinity$3 = toIntegerOrInfinity$4;-- var max$1 = Math.max;- var min$2 = Math.min;-- // Helper for a popular repeating case of the spec:- // Let integer be ? ToInteger(index).- // If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).- var toAbsoluteIndex$1 = function (index, length) {- var integer = toIntegerOrInfinity$3(index);- return integer < 0 ? max$1(integer + length, 0) : min$2(integer, length);- };-- var toIntegerOrInfinity$2 = toIntegerOrInfinity$4;-- var min$1 = Math.min;-- // `ToLength` abstract operation- // https://tc39.es/ecma262/#sec-tolength- var toLength$2 = function (argument) {- return argument > 0 ? min$1(toIntegerOrInfinity$2(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991- };-- var toLength$1 = toLength$2;-- // `LengthOfArrayLike` abstract operation- // https://tc39.es/ecma262/#sec-lengthofarraylike- var lengthOfArrayLike$3 = function (obj) {- return toLength$1(obj.length);- };-- var toIndexedObject$3 = toIndexedObject$5;- var toAbsoluteIndex = toAbsoluteIndex$1;- var lengthOfArrayLike$2 = lengthOfArrayLike$3;-- // `Array.prototype.{ indexOf, includes }` methods implementation- var createMethod$2 = function (IS_INCLUDES) {- return function ($this, el, fromIndex) {- var O = toIndexedObject$3($this);- var length = lengthOfArrayLike$2(O);- var index = toAbsoluteIndex(fromIndex, length);- var value;- // Array#includes uses SameValueZero equality algorithm- // eslint-disable-next-line no-self-compare -- NaN check- if (IS_INCLUDES && el != el) while (length > index) {- value = O[index++];- // eslint-disable-next-line no-self-compare -- NaN check- if (value != value) return true;- // Array#indexOf ignores holes, Array#includes - not- } else for (;length > index; index++) {- if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;- } return !IS_INCLUDES && -1;- };- };-- var arrayIncludes = {- // `Array.prototype.includes` method- // https://tc39.es/ecma262/#sec-array.prototype.includes- includes: createMethod$2(true),- // `Array.prototype.indexOf` method- // https://tc39.es/ecma262/#sec-array.prototype.indexof- indexOf: createMethod$2(false)- };-- var uncurryThis$d = functionUncurryThis;- var hasOwn$2 = hasOwnProperty_1;- var toIndexedObject$2 = toIndexedObject$5;- var indexOf$1 = arrayIncludes.indexOf;- var hiddenKeys$2 = hiddenKeys$4;-- var push$2 = uncurryThis$d([].push);-- var objectKeysInternal = function (object, names) {- var O = toIndexedObject$2(object);- var i = 0;- var result = [];- var key;- for (key in O) !hasOwn$2(hiddenKeys$2, key) && hasOwn$2(O, key) && push$2(result, key);- // Don't enum bug & hidden keys- while (names.length > i) if (hasOwn$2(O, key = names[i++])) {- ~indexOf$1(result, key) || push$2(result, key);- }- return result;- };-- // IE8- don't enum bug keys- var enumBugKeys$3 = [- 'constructor',- 'hasOwnProperty',- 'isPrototypeOf',- 'propertyIsEnumerable',- 'toLocaleString',- 'toString',- 'valueOf'- ];-- var internalObjectKeys$1 = objectKeysInternal;- var enumBugKeys$2 = enumBugKeys$3;-- var hiddenKeys$1 = enumBugKeys$2.concat('length', 'prototype');-- // `Object.getOwnPropertyNames` method- // https://tc39.es/ecma262/#sec-object.getownpropertynames- // eslint-disable-next-line es/no-object-getownpropertynames -- safe- objectGetOwnPropertyNames.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {- return internalObjectKeys$1(O, hiddenKeys$1);- };-- var objectGetOwnPropertySymbols = {};-- // eslint-disable-next-line es/no-object-getownpropertysymbols -- safe- objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;-- var getBuiltIn$2 = getBuiltIn$4;- var uncurryThis$c = functionUncurryThis;- var getOwnPropertyNamesModule = objectGetOwnPropertyNames;- var getOwnPropertySymbolsModule$1 = objectGetOwnPropertySymbols;- var anObject$7 = anObject$9;-- var concat$2 = uncurryThis$c([].concat);-- // all object keys, includes non-enumerable and symbols- var ownKeys$1 = getBuiltIn$2('Reflect', 'ownKeys') || function ownKeys(it) {- var keys = getOwnPropertyNamesModule.f(anObject$7(it));- var getOwnPropertySymbols = getOwnPropertySymbolsModule$1.f;- return getOwnPropertySymbols ? concat$2(keys, getOwnPropertySymbols(it)) : keys;- };-- var hasOwn$1 = hasOwnProperty_1;- var ownKeys = ownKeys$1;- var getOwnPropertyDescriptorModule = objectGetOwnPropertyDescriptor;- var definePropertyModule$2 = objectDefineProperty;-- var copyConstructorProperties$1 = function (target, source, exceptions) {- var keys = ownKeys(source);- var defineProperty = definePropertyModule$2.f;- var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;- for (var i = 0; i < keys.length; i++) {- var key = keys[i];- if (!hasOwn$1(target, key) && !(exceptions && hasOwn$1(exceptions, key))) {- defineProperty(target, key, getOwnPropertyDescriptor(source, key));- }- }- };-- var fails$c = fails$k;- var isCallable$4 = isCallable$e;-- var replacement = /#|\.prototype\./;-- var isForced$1 = function (feature, detection) {- var value = data[normalize(feature)];- return value == POLYFILL ? true- : value == NATIVE ? false- : isCallable$4(detection) ? fails$c(detection)- : !!detection;- };-- var normalize = isForced$1.normalize = function (string) {- return String(string).replace(replacement, '.').toLowerCase();- };-- var data = isForced$1.data = {};- var NATIVE = isForced$1.NATIVE = 'N';- var POLYFILL = isForced$1.POLYFILL = 'P';-- var isForced_1 = isForced$1;-- var global$5 = global$e;- var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;- var createNonEnumerableProperty$2 = createNonEnumerableProperty$4;- var defineBuiltIn$3 = defineBuiltIn$4;- var defineGlobalProperty = defineGlobalProperty$3;- var copyConstructorProperties = copyConstructorProperties$1;- var isForced = isForced_1;-- /*- options.target - name of the target object- options.global - target is the global object- options.stat - export as static methods of target- options.proto - export as prototype methods of target- options.real - real prototype method for the `pure` version- options.forced - export even if the native feature is available- options.bind - bind methods to the target, required for the `pure` version- options.wrap - wrap constructors to preventing global pollution, required for the `pure` version- options.unsafe - use the simple assignment of property instead of delete + defineProperty- options.sham - add a flag to not completely full polyfills- options.enumerable - export as enumerable property- options.dontCallGetSet - prevent calling a getter on target- options.name - the .name of the function if it does not match the key- */- var _export = function (options, source) {- var TARGET = options.target;- var GLOBAL = options.global;- var STATIC = options.stat;- var FORCED, target, key, targetProperty, sourceProperty, descriptor;- if (GLOBAL) {- target = global$5;- } else if (STATIC) {- target = global$5[TARGET] || defineGlobalProperty(TARGET, {});- } else {- target = (global$5[TARGET] || {}).prototype;- }- if (target) for (key in source) {- sourceProperty = source[key];- if (options.dontCallGetSet) {- descriptor = getOwnPropertyDescriptor(target, key);- targetProperty = descriptor && descriptor.value;- } else targetProperty = target[key];- FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);- // contained in target- if (!FORCED && targetProperty !== undefined) {- if (typeof sourceProperty == typeof targetProperty) continue;- copyConstructorProperties(sourceProperty, targetProperty);- }- // add a flag to not completely full polyfills- if (options.sham || (targetProperty && targetProperty.sham)) {- createNonEnumerableProperty$2(sourceProperty, 'sham', true);- }- defineBuiltIn$3(target, key, sourceProperty, options);- }- };-- var objectDefineProperties = {};-- var internalObjectKeys = objectKeysInternal;- var enumBugKeys$1 = enumBugKeys$3;-- // `Object.keys` method- // https://tc39.es/ecma262/#sec-object.keys- // eslint-disable-next-line es/no-object-keys -- safe- var objectKeys$2 = Object.keys || function keys(O) {- return internalObjectKeys(O, enumBugKeys$1);- };-- var DESCRIPTORS$1 = descriptors;- var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;- var definePropertyModule$1 = objectDefineProperty;- var anObject$6 = anObject$9;- var toIndexedObject$1 = toIndexedObject$5;- var objectKeys$1 = objectKeys$2;-- // `Object.defineProperties` method- // https://tc39.es/ecma262/#sec-object.defineproperties- // eslint-disable-next-line es/no-object-defineproperties -- safe- objectDefineProperties.f = DESCRIPTORS$1 && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {- anObject$6(O);- var props = toIndexedObject$1(Properties);- var keys = objectKeys$1(Properties);- var length = keys.length;- var index = 0;- var key;- while (length > index) definePropertyModule$1.f(O, key = keys[index++], props[key]);- return O;- };-- var getBuiltIn$1 = getBuiltIn$4;-- var html$1 = getBuiltIn$1('document', 'documentElement');-- /* global ActiveXObject -- old IE, WSH */-- var anObject$5 = anObject$9;- var definePropertiesModule = objectDefineProperties;- var enumBugKeys = enumBugKeys$3;- var hiddenKeys = hiddenKeys$4;- var html = html$1;- var documentCreateElement$1 = documentCreateElement$2;- var sharedKey = sharedKey$2;-- var GT = '>';- var LT = '<';- var PROTOTYPE = 'prototype';- var SCRIPT = 'script';- var IE_PROTO = sharedKey('IE_PROTO');-- var EmptyConstructor = function () { /* empty */ };-- var scriptTag = function (content) {- return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT;- };-- // Create object with fake `null` prototype: use ActiveX Object with cleared prototype- var NullProtoObjectViaActiveX = function (activeXDocument) {- activeXDocument.write(scriptTag(''));- activeXDocument.close();- var temp = activeXDocument.parentWindow.Object;- activeXDocument = null; // avoid memory leak- return temp;- };-- // Create object with fake `null` prototype: use iframe Object with cleared prototype- var NullProtoObjectViaIFrame = function () {- // Thrash, waste and sodomy: IE GC bug- var iframe = documentCreateElement$1('iframe');- var JS = 'java' + SCRIPT + ':';- var iframeDocument;- iframe.style.display = 'none';- html.appendChild(iframe);- // https://github.com/zloirock/core-js/issues/475- iframe.src = String(JS);- iframeDocument = iframe.contentWindow.document;- iframeDocument.open();- iframeDocument.write(scriptTag('document.F=Object'));- iframeDocument.close();- return iframeDocument.F;- };-- // Check for document.domain and active x support- // No need to use active x approach when document.domain is not set- // see https://github.com/es-shims/es5-shim/issues/150- // variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346- // avoid IE GC bug- var activeXDocument;- var NullProtoObject = function () {- try {- activeXDocument = new ActiveXObject('htmlfile');- } catch (error) { /* ignore */ }- NullProtoObject = typeof document != 'undefined'- ? document.domain && activeXDocument- ? NullProtoObjectViaActiveX(activeXDocument) // old IE- : NullProtoObjectViaIFrame()- : NullProtoObjectViaActiveX(activeXDocument); // WSH- var length = enumBugKeys.length;- while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];- return NullProtoObject();- };-- hiddenKeys[IE_PROTO] = true;-- // `Object.create` method- // https://tc39.es/ecma262/#sec-object.create- // eslint-disable-next-line es/no-object-create -- safe- var objectCreate = Object.create || function create(O, Properties) {- var result;- if (O !== null) {- EmptyConstructor[PROTOTYPE] = anObject$5(O);- result = new EmptyConstructor();- EmptyConstructor[PROTOTYPE] = null;- // add "__proto__" for Object.getPrototypeOf polyfill- result[IE_PROTO] = O;- } else result = NullProtoObject();- return Properties === undefined ? result : definePropertiesModule.f(result, Properties);- };-- var wellKnownSymbol$9 = wellKnownSymbol$b;- var create$1 = objectCreate;- var defineProperty$1 = objectDefineProperty.f;-- var UNSCOPABLES = wellKnownSymbol$9('unscopables');- var ArrayPrototype = Array.prototype;-- // Array.prototype[@@unscopables]- // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables- if (ArrayPrototype[UNSCOPABLES] == undefined) {- defineProperty$1(ArrayPrototype, UNSCOPABLES, {- configurable: true,- value: create$1(null)- });- }-- // add a key to Array.prototype[@@unscopables]- var addToUnscopables$2 = function (key) {- ArrayPrototype[UNSCOPABLES][key] = true;- };-- var $$8 = _export;- var $includes = arrayIncludes.includes;- var fails$b = fails$k;- var addToUnscopables$1 = addToUnscopables$2;-- // FF99+ bug- var BROKEN_ON_SPARSE = fails$b(function () {- // eslint-disable-next-line es/no-array-prototype-includes -- detection- return !Array(1).includes();- });-- // `Array.prototype.includes` method- // https://tc39.es/ecma262/#sec-array.prototype.includes- $$8({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE }, {- includes: function includes(el /* , fromIndex = 0 */) {- return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);- }- });-- // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables- addToUnscopables$1('includes');-- var isObject$2 = isObject$8;- var classof$6 = classofRaw$2;- var wellKnownSymbol$8 = wellKnownSymbol$b;-- var MATCH$1 = wellKnownSymbol$8('match');-- // `IsRegExp` abstract operation- // https://tc39.es/ecma262/#sec-isregexp- var isRegexp = function (it) {- var isRegExp;- return isObject$2(it) && ((isRegExp = it[MATCH$1]) !== undefined ? !!isRegExp : classof$6(it) == 'RegExp');- };-- var isRegExp = isRegexp;-- var $TypeError$2 = TypeError;-- var notARegexp = function (it) {- if (isRegExp(it)) {- throw $TypeError$2("The method doesn't accept regular expressions");- } return it;- };-- var wellKnownSymbol$7 = wellKnownSymbol$b;-- var TO_STRING_TAG$1 = wellKnownSymbol$7('toStringTag');- var test = {};-- test[TO_STRING_TAG$1] = 'z';-- var toStringTagSupport = String(test) === '[object z]';-- var TO_STRING_TAG_SUPPORT$2 = toStringTagSupport;- var isCallable$3 = isCallable$e;- var classofRaw$1 = classofRaw$2;- var wellKnownSymbol$6 = wellKnownSymbol$b;-- var TO_STRING_TAG = wellKnownSymbol$6('toStringTag');- var $Object = Object;-- // ES3 wrong here- var CORRECT_ARGUMENTS = classofRaw$1(function () { return arguments; }()) == 'Arguments';-- // fallback for IE11 Script Access Denied error- var tryGet = function (it, key) {- try {- return it[key];- } catch (error) { /* empty */ }- };-- // getting tag from ES6+ `Object.prototype.toString`- var classof$5 = TO_STRING_TAG_SUPPORT$2 ? classofRaw$1 : function (it) {- var O, tag, result;- return it === undefined ? 'Undefined' : it === null ? 'Null'- // @@toStringTag case- : typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag- // builtinTag case- : CORRECT_ARGUMENTS ? classofRaw$1(O)- // ES3 arguments fallback- : (result = classofRaw$1(O)) == 'Object' && isCallable$3(O.callee) ? 'Arguments' : result;- };-- var classof$4 = classof$5;-- var $String = String;-- var toString$6 = function (argument) {- if (classof$4(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string');- return $String(argument);- };-- var wellKnownSymbol$5 = wellKnownSymbol$b;-- var MATCH = wellKnownSymbol$5('match');-- var correctIsRegexpLogic = function (METHOD_NAME) {- var regexp = /./;- try {- '/./'[METHOD_NAME](regexp);- } catch (error1) {- try {- regexp[MATCH] = false;- return '/./'[METHOD_NAME](regexp);- } catch (error2) { /* empty */ }- } return false;- };-- var $$7 = _export;- var uncurryThis$b = functionUncurryThis;- var notARegExp = notARegexp;- var requireObjectCoercible$3 = requireObjectCoercible$6;- var toString$5 = toString$6;- var correctIsRegExpLogic = correctIsRegexpLogic;-- var stringIndexOf$1 = uncurryThis$b(''.indexOf);-- // `String.prototype.includes` method- // https://tc39.es/ecma262/#sec-string.prototype.includes- $$7({ target: 'String', proto: true, forced: !correctIsRegExpLogic('includes') }, {- includes: function includes(searchString /* , position = 0 */) {- return !!~stringIndexOf$1(- toString$5(requireObjectCoercible$3(this)),- toString$5(notARegExp(searchString)),- arguments.length > 1 ? arguments[1] : undefined- );- }- });-- var classof$3 = classofRaw$2;-- // `IsArray` abstract operation- // https://tc39.es/ecma262/#sec-isarray- // eslint-disable-next-line es/no-array-isarray -- safe- var isArray$2 = Array.isArray || function isArray(argument) {- return classof$3(argument) == 'Array';- };-- var $TypeError$1 = TypeError;- var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; // 2 ** 53 - 1 == 9007199254740991-- var doesNotExceedSafeInteger$1 = function (it) {- if (it > MAX_SAFE_INTEGER) throw $TypeError$1('Maximum allowed index exceeded');- return it;- };-- var toPropertyKey = toPropertyKey$3;- var definePropertyModule = objectDefineProperty;- var createPropertyDescriptor = createPropertyDescriptor$3;-- var createProperty$1 = function (object, key, value) {- var propertyKey = toPropertyKey(key);- if (propertyKey in object) definePropertyModule.f(object, propertyKey, createPropertyDescriptor(0, value));- else object[propertyKey] = value;- };-- var uncurryThis$a = functionUncurryThis;- var fails$a = fails$k;- var isCallable$2 = isCallable$e;- var classof$2 = classof$5;- var getBuiltIn = getBuiltIn$4;- var inspectSource = inspectSource$2;-- var noop = function () { /* empty */ };- var empty = [];- var construct = getBuiltIn('Reflect', 'construct');- var constructorRegExp = /^\s*(?:class|function)\b/;- var exec$1 = uncurryThis$a(constructorRegExp.exec);- var INCORRECT_TO_STRING = !constructorRegExp.exec(noop);-- var isConstructorModern = function isConstructor(argument) {- if (!isCallable$2(argument)) return false;- try {- construct(noop, empty, argument);- return true;- } catch (error) {- return false;- }- };-- var isConstructorLegacy = function isConstructor(argument) {- if (!isCallable$2(argument)) return false;- switch (classof$2(argument)) {- case 'AsyncFunction':- case 'GeneratorFunction':- case 'AsyncGeneratorFunction': return false;- }- try {- // we can't check .prototype since constructors produced by .bind haven't it- // `Function#toString` throws on some built-it function in some legacy engines- // (for example, `DOMQuad` and similar in FF41-)- return INCORRECT_TO_STRING || !!exec$1(constructorRegExp, inspectSource(argument));- } catch (error) {- return true;- }- };-- isConstructorLegacy.sham = true;-- // `IsConstructor` abstract operation- // https://tc39.es/ecma262/#sec-isconstructor- var isConstructor$1 = !construct || fails$a(function () {- var called;- return isConstructorModern(isConstructorModern.call)- || !isConstructorModern(Object)- || !isConstructorModern(function () { called = true; })- || called;- }) ? isConstructorLegacy : isConstructorModern;-- var isArray$1 = isArray$2;- var isConstructor = isConstructor$1;- var isObject$1 = isObject$8;- var wellKnownSymbol$4 = wellKnownSymbol$b;-- var SPECIES$2 = wellKnownSymbol$4('species');- var $Array = Array;-- // a part of `ArraySpeciesCreate` abstract operation- // https://tc39.es/ecma262/#sec-arrayspeciescreate- var arraySpeciesConstructor$1 = function (originalArray) {- var C;- if (isArray$1(originalArray)) {- C = originalArray.constructor;- // cross-realm fallback- if (isConstructor(C) && (C === $Array || isArray$1(C.prototype))) C = undefined;- else if (isObject$1(C)) {- C = C[SPECIES$2];- if (C === null) C = undefined;- }- } return C === undefined ? $Array : C;- };-- var arraySpeciesConstructor = arraySpeciesConstructor$1;-- // `ArraySpeciesCreate` abstract operation- // https://tc39.es/ecma262/#sec-arrayspeciescreate- var arraySpeciesCreate$2 = function (originalArray, length) {- return new (arraySpeciesConstructor(originalArray))(length === 0 ? 0 : length);- };-- var fails$9 = fails$k;- var wellKnownSymbol$3 = wellKnownSymbol$b;- var V8_VERSION$1 = engineV8Version;-- var SPECIES$1 = wellKnownSymbol$3('species');-- var arrayMethodHasSpeciesSupport$3 = function (METHOD_NAME) {- // We can't use this feature detection in V8 since it causes- // deoptimization and serious performance degradation- // https://github.com/zloirock/core-js/issues/677- return V8_VERSION$1 >= 51 || !fails$9(function () {- var array = [];- var constructor = array.constructor = {};- constructor[SPECIES$1] = function () {- return { foo: 1 };- };- return array[METHOD_NAME](Boolean).foo !== 1;- });- };-- var $$6 = _export;- var fails$8 = fails$k;- var isArray = isArray$2;- var isObject = isObject$8;- var toObject$3 = toObject$5;- var lengthOfArrayLike$1 = lengthOfArrayLike$3;- var doesNotExceedSafeInteger = doesNotExceedSafeInteger$1;- var createProperty = createProperty$1;- var arraySpeciesCreate$1 = arraySpeciesCreate$2;- var arrayMethodHasSpeciesSupport$2 = arrayMethodHasSpeciesSupport$3;- var wellKnownSymbol$2 = wellKnownSymbol$b;- var V8_VERSION = engineV8Version;-- var IS_CONCAT_SPREADABLE = wellKnownSymbol$2('isConcatSpreadable');-- // We can't use this feature detection in V8 since it causes- // deoptimization and serious performance degradation- // https://github.com/zloirock/core-js/issues/679- var IS_CONCAT_SPREADABLE_SUPPORT = V8_VERSION >= 51 || !fails$8(function () {- var array = [];- array[IS_CONCAT_SPREADABLE] = false;- return array.concat()[0] !== array;- });-- var isConcatSpreadable = function (O) {- if (!isObject(O)) return false;- var spreadable = O[IS_CONCAT_SPREADABLE];- return spreadable !== undefined ? !!spreadable : isArray(O);- };-- var FORCED$1 = !IS_CONCAT_SPREADABLE_SUPPORT || !arrayMethodHasSpeciesSupport$2('concat');-- // `Array.prototype.concat` method- // https://tc39.es/ecma262/#sec-array.prototype.concat- // with adding support of @@isConcatSpreadable and @@species- $$6({ target: 'Array', proto: true, arity: 1, forced: FORCED$1 }, {- // eslint-disable-next-line no-unused-vars -- required for `.length`- concat: function concat(arg) {- var O = toObject$3(this);- var A = arraySpeciesCreate$1(O, 0);- var n = 0;- var i, k, length, len, E;- for (i = -1, length = arguments.length; i < length; i++) {- E = i === -1 ? O : arguments[i];- if (isConcatSpreadable(E)) {- len = lengthOfArrayLike$1(E);- doesNotExceedSafeInteger(n + len);- for (k = 0; k < len; k++, n++) if (k in E) createProperty(A, n, E[k]);- } else {- doesNotExceedSafeInteger(n + 1);- createProperty(A, n++, E);- }- }- A.length = n;- return A;- }- });-- var anObject$4 = anObject$9;-- // `RegExp.prototype.flags` getter implementation- // https://tc39.es/ecma262/#sec-get-regexp.prototype.flags- var regexpFlags$1 = function () {- var that = anObject$4(this);- var result = '';- if (that.hasIndices) result += 'd';- if (that.global) result += 'g';- if (that.ignoreCase) result += 'i';- if (that.multiline) result += 'm';- if (that.dotAll) result += 's';- if (that.unicode) result += 'u';- if (that.unicodeSets) result += 'v';- if (that.sticky) result += 'y';- return result;- };-- var fails$7 = fails$k;- var global$4 = global$e;-- // babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError- var $RegExp$2 = global$4.RegExp;-- var UNSUPPORTED_Y$1 = fails$7(function () {- var re = $RegExp$2('a', 'y');- re.lastIndex = 2;- return re.exec('abcd') != null;- });-- // UC Browser bug- // https://github.com/zloirock/core-js/issues/1008- var MISSED_STICKY = UNSUPPORTED_Y$1 || fails$7(function () {- return !$RegExp$2('a', 'y').sticky;- });-- var BROKEN_CARET = UNSUPPORTED_Y$1 || fails$7(function () {- // https://bugzilla.mozilla.org/show_bug.cgi?id=773687- var re = $RegExp$2('^r', 'gy');- re.lastIndex = 2;- return re.exec('str') != null;- });-- var regexpStickyHelpers = {- BROKEN_CARET: BROKEN_CARET,- MISSED_STICKY: MISSED_STICKY,- UNSUPPORTED_Y: UNSUPPORTED_Y$1- };-- var fails$6 = fails$k;- var global$3 = global$e;-- // babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError- var $RegExp$1 = global$3.RegExp;-- var regexpUnsupportedDotAll = fails$6(function () {- var re = $RegExp$1('.', 's');- return !(re.dotAll && re.exec('\n') && re.flags === 's');- });-- var fails$5 = fails$k;- var global$2 = global$e;-- // babel-minify and Closure Compiler transpiles RegExp('(?<a>b)', 'g') -> /(?<a>b)/g and it causes SyntaxError- var $RegExp = global$2.RegExp;-- var regexpUnsupportedNcg = fails$5(function () {- var re = $RegExp('(?<a>b)', 'g');- return re.exec('b').groups.a !== 'b' ||- 'b'.replace(re, '$<a>c') !== 'bc';- });-- /* eslint-disable regexp/no-empty-capturing-group, regexp/no-empty-group, regexp/no-lazy-ends -- testing */- /* eslint-disable regexp/no-useless-quantifier -- testing */- var call$6 = functionCall;- var uncurryThis$9 = functionUncurryThis;- var toString$4 = toString$6;- var regexpFlags = regexpFlags$1;- var stickyHelpers = regexpStickyHelpers;- var shared = sharedExports;- var create = objectCreate;- var getInternalState = internalState.get;- var UNSUPPORTED_DOT_ALL = regexpUnsupportedDotAll;- var UNSUPPORTED_NCG = regexpUnsupportedNcg;-- var nativeReplace = shared('native-string-replace', String.prototype.replace);- var nativeExec = RegExp.prototype.exec;- var patchedExec = nativeExec;- var charAt$3 = uncurryThis$9(''.charAt);- var indexOf = uncurryThis$9(''.indexOf);- var replace$1 = uncurryThis$9(''.replace);- var stringSlice$3 = uncurryThis$9(''.slice);-- var UPDATES_LAST_INDEX_WRONG = (function () {- var re1 = /a/;- var re2 = /b*/g;- call$6(nativeExec, re1, 'a');- call$6(nativeExec, re2, 'a');- return re1.lastIndex !== 0 || re2.lastIndex !== 0;- })();-- var UNSUPPORTED_Y = stickyHelpers.BROKEN_CARET;-- // nonparticipating capturing group, copied from es5-shim's String#split patch.- var NPCG_INCLUDED = /()??/.exec('')[1] !== undefined;-- var PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED || UNSUPPORTED_Y || UNSUPPORTED_DOT_ALL || UNSUPPORTED_NCG;-- if (PATCH) {- patchedExec = function exec(string) {- var re = this;- var state = getInternalState(re);- var str = toString$4(string);- var raw = state.raw;- var result, reCopy, lastIndex, match, i, object, group;-- if (raw) {- raw.lastIndex = re.lastIndex;- result = call$6(patchedExec, raw, str);- re.lastIndex = raw.lastIndex;- return result;- }-- var groups = state.groups;- var sticky = UNSUPPORTED_Y && re.sticky;- var flags = call$6(regexpFlags, re);- var source = re.source;- var charsAdded = 0;- var strCopy = str;-- if (sticky) {- flags = replace$1(flags, 'y', '');- if (indexOf(flags, 'g') === -1) {- flags += 'g';- }-- strCopy = stringSlice$3(str, re.lastIndex);- // Support anchored sticky behavior.- if (re.lastIndex > 0 && (!re.multiline || re.multiline && charAt$3(str, re.lastIndex - 1) !== '\n')) {- source = '(?: ' + source + ')';- strCopy = ' ' + strCopy;- charsAdded++;- }- // ^(? + rx + ) is needed, in combination with some str slicing, to- // simulate the 'y' flag.- reCopy = new RegExp('^(?:' + source + ')', flags);- }-- if (NPCG_INCLUDED) {- reCopy = new RegExp('^' + source + '$(?!\\s)', flags);- }- if (UPDATES_LAST_INDEX_WRONG) lastIndex = re.lastIndex;-- match = call$6(nativeExec, sticky ? reCopy : re, strCopy);-- if (sticky) {- if (match) {- match.input = stringSlice$3(match.input, charsAdded);- match[0] = stringSlice$3(match[0], charsAdded);- match.index = re.lastIndex;- re.lastIndex += match[0].length;- } else re.lastIndex = 0;- } else if (UPDATES_LAST_INDEX_WRONG && match) {- re.lastIndex = re.global ? match.index + match[0].length : lastIndex;- }- if (NPCG_INCLUDED && match && match.length > 1) {- // Fix browsers whose `exec` methods don't consistently return `undefined`- // for NPCG, like IE8. NOTE: This doesn't work for /(.?)?/- call$6(nativeReplace, match[0], reCopy, function () {- for (i = 1; i < arguments.length - 2; i++) {- if (arguments[i] === undefined) match[i] = undefined;- }- });- }-- if (match && groups) {- match.groups = object = create(null);- for (i = 0; i < groups.length; i++) {- group = groups[i];- object[group[0]] = match[group[1]];- }- }-- return match;- };- }-- var regexpExec$2 = patchedExec;-- var $$5 = _export;- var exec = regexpExec$2;-- // `RegExp.prototype.exec` method- // https://tc39.es/ecma262/#sec-regexp.prototype.exec- $$5({ target: 'RegExp', proto: true, forced: /./.exec !== exec }, {- exec: exec- });-- var NATIVE_BIND$1 = functionBindNative;-- var FunctionPrototype = Function.prototype;- var apply$1 = FunctionPrototype.apply;- var call$5 = FunctionPrototype.call;-- // eslint-disable-next-line es/no-reflect -- safe- var functionApply = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND$1 ? call$5.bind(apply$1) : function () {- return call$5.apply(apply$1, arguments);- });-- var classofRaw = classofRaw$2;- var uncurryThis$8 = functionUncurryThis;-- var functionUncurryThisClause = function (fn) {- // Nashorn bug:- // https://github.com/zloirock/core-js/issues/1128- // https://github.com/zloirock/core-js/issues/1130- if (classofRaw(fn) === 'Function') return uncurryThis$8(fn);- };-- // TODO: Remove from `core-js@4` since it's moved to entry points-- var uncurryThis$7 = functionUncurryThisClause;- var defineBuiltIn$2 = defineBuiltIn$4;- var regexpExec$1 = regexpExec$2;- var fails$4 = fails$k;- var wellKnownSymbol$1 = wellKnownSymbol$b;- var createNonEnumerableProperty$1 = createNonEnumerableProperty$4;-- var SPECIES = wellKnownSymbol$1('species');- var RegExpPrototype$2 = RegExp.prototype;-- var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {- var SYMBOL = wellKnownSymbol$1(KEY);-- var DELEGATES_TO_SYMBOL = !fails$4(function () {- // String methods call symbol-named RegEp methods- var O = {};- O[SYMBOL] = function () { return 7; };- return ''[KEY](O) != 7;- });-- var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails$4(function () {- // Symbol-named RegExp methods call .exec- var execCalled = false;- var re = /a/;-- if (KEY === 'split') {- // We can't use real regex here since it causes deoptimization- // and serious performance degradation in V8- // https://github.com/zloirock/core-js/issues/306- re = {};- // RegExp[@@split] doesn't call the regex's exec method, but first creates- // a new one. We need to return the patched regex when creating the new one.- re.constructor = {};- re.constructor[SPECIES] = function () { return re; };- re.flags = '';- re[SYMBOL] = /./[SYMBOL];- }-- re.exec = function () { execCalled = true; return null; };-- re[SYMBOL]('');- return !execCalled;- });-- if (- !DELEGATES_TO_SYMBOL ||- !DELEGATES_TO_EXEC ||- FORCED- ) {- var uncurriedNativeRegExpMethod = uncurryThis$7(/./[SYMBOL]);- var methods = exec(SYMBOL, ''[KEY], function (nativeMethod, regexp, str, arg2, forceStringMethod) {- var uncurriedNativeMethod = uncurryThis$7(nativeMethod);- var $exec = regexp.exec;- if ($exec === regexpExec$1 || $exec === RegExpPrototype$2.exec) {- if (DELEGATES_TO_SYMBOL && !forceStringMethod) {- // The native String method already delegates to @@method (this- // polyfilled function), leasing to infinite recursion.- // We avoid it by directly calling the native @@method method.- return { done: true, value: uncurriedNativeRegExpMethod(regexp, str, arg2) };- }- return { done: true, value: uncurriedNativeMethod(str, regexp, arg2) };- }- return { done: false };- });-- defineBuiltIn$2(String.prototype, KEY, methods[0]);- defineBuiltIn$2(RegExpPrototype$2, SYMBOL, methods[1]);- }-- if (SHAM) createNonEnumerableProperty$1(RegExpPrototype$2[SYMBOL], 'sham', true);- };-- var uncurryThis$6 = functionUncurryThis;- var toIntegerOrInfinity$1 = toIntegerOrInfinity$4;- var toString$3 = toString$6;- var requireObjectCoercible$2 = requireObjectCoercible$6;-- var charAt$2 = uncurryThis$6(''.charAt);- var charCodeAt = uncurryThis$6(''.charCodeAt);- var stringSlice$2 = uncurryThis$6(''.slice);-- var createMethod$1 = function (CONVERT_TO_STRING) {- return function ($this, pos) {- var S = toString$3(requireObjectCoercible$2($this));- var position = toIntegerOrInfinity$1(pos);- var size = S.length;- var first, second;- if (position < 0 || position >= size) return CONVERT_TO_STRING ? '' : undefined;- first = charCodeAt(S, position);- return first < 0xD800 || first > 0xDBFF || position + 1 === size- || (second = charCodeAt(S, position + 1)) < 0xDC00 || second > 0xDFFF- ? CONVERT_TO_STRING- ? charAt$2(S, position)- : first- : CONVERT_TO_STRING- ? stringSlice$2(S, position, position + 2)- : (first - 0xD800 << 10) + (second - 0xDC00) + 0x10000;- };- };-- var stringMultibyte = {- // `String.prototype.codePointAt` method- // https://tc39.es/ecma262/#sec-string.prototype.codepointat- codeAt: createMethod$1(false),- // `String.prototype.at` method- // https://github.com/mathiasbynens/String.prototype.at- charAt: createMethod$1(true)- };-- var charAt$1 = stringMultibyte.charAt;-- // `AdvanceStringIndex` abstract operation- // https://tc39.es/ecma262/#sec-advancestringindex- var advanceStringIndex$1 = function (S, index, unicode) {- return index + (unicode ? charAt$1(S, index).length : 1);- };-- var uncurryThis$5 = functionUncurryThis;- var toObject$2 = toObject$5;-- var floor = Math.floor;- var charAt = uncurryThis$5(''.charAt);- var replace = uncurryThis$5(''.replace);- var stringSlice$1 = uncurryThis$5(''.slice);- // eslint-disable-next-line redos/no-vulnerable -- safe- var SUBSTITUTION_SYMBOLS = /\$([$&'`]|\d{1,2}|<[^>]*>)/g;- var SUBSTITUTION_SYMBOLS_NO_NAMED = /\$([$&'`]|\d{1,2})/g;-- // `GetSubstitution` abstract operation- // https://tc39.es/ecma262/#sec-getsubstitution- var getSubstitution$1 = function (matched, str, position, captures, namedCaptures, replacement) {- var tailPos = position + matched.length;- var m = captures.length;- var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED;- if (namedCaptures !== undefined) {- namedCaptures = toObject$2(namedCaptures);- symbols = SUBSTITUTION_SYMBOLS;- }- return replace(replacement, symbols, function (match, ch) {- var capture;- switch (charAt(ch, 0)) {- case '$': return '$';- case '&': return matched;- case '`': return stringSlice$1(str, 0, position);- case "'": return stringSlice$1(str, tailPos);- case '<':- capture = namedCaptures[stringSlice$1(ch, 1, -1)];- break;- default: // \d\d?- var n = +ch;- if (n === 0) return match;- if (n > m) {- var f = floor(n / 10);- if (f === 0) return match;- if (f <= m) return captures[f - 1] === undefined ? charAt(ch, 1) : captures[f - 1] + charAt(ch, 1);- return match;- }- capture = captures[n - 1];- }- return capture === undefined ? '' : capture;- });- };-- var call$4 = functionCall;- var anObject$3 = anObject$9;- var isCallable$1 = isCallable$e;- var classof$1 = classofRaw$2;- var regexpExec = regexpExec$2;-- var $TypeError = TypeError;-- // `RegExpExec` abstract operation- // https://tc39.es/ecma262/#sec-regexpexec- var regexpExecAbstract = function (R, S) {- var exec = R.exec;- if (isCallable$1(exec)) {- var result = call$4(exec, R, S);- if (result !== null) anObject$3(result);- return result;- }- if (classof$1(R) === 'RegExp') return call$4(regexpExec, R, S);- throw $TypeError('RegExp#exec called on incompatible receiver');- };-- var apply = functionApply;- var call$3 = functionCall;- var uncurryThis$4 = functionUncurryThis;- var fixRegExpWellKnownSymbolLogic$1 = fixRegexpWellKnownSymbolLogic;- var fails$3 = fails$k;- var anObject$2 = anObject$9;- var isCallable = isCallable$e;- var isNullOrUndefined$1 = isNullOrUndefined$4;- var toIntegerOrInfinity = toIntegerOrInfinity$4;- var toLength = toLength$2;- var toString$2 = toString$6;- var requireObjectCoercible$1 = requireObjectCoercible$6;- var advanceStringIndex = advanceStringIndex$1;- var getMethod$1 = getMethod$3;- var getSubstitution = getSubstitution$1;- var regExpExec$1 = regexpExecAbstract;- var wellKnownSymbol = wellKnownSymbol$b;-- var REPLACE = wellKnownSymbol('replace');- var max = Math.max;- var min = Math.min;- var concat$1 = uncurryThis$4([].concat);- var push$1 = uncurryThis$4([].push);- var stringIndexOf = uncurryThis$4(''.indexOf);- var stringSlice = uncurryThis$4(''.slice);-- var maybeToString = function (it) {- return it === undefined ? it : String(it);- };-- // IE <= 11 replaces $0 with the whole match, as if it was $&- // https://stackoverflow.com/questions/6024666/getting-ie-to-replace-a-regex-with-the-literal-string-0- var REPLACE_KEEPS_$0 = (function () {- // eslint-disable-next-line regexp/prefer-escape-replacement-dollar-char -- required for testing- return 'a'.replace(/./, '$0') === '$0';- })();-- // Safari <= 13.0.3(?) substitutes nth capture where n>m with an empty string- var REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = (function () {- if (/./[REPLACE]) {- return /./[REPLACE]('a', '$0') === '';- }- return false;- })();-- var REPLACE_SUPPORTS_NAMED_GROUPS = !fails$3(function () {- var re = /./;- re.exec = function () {- var result = [];- result.groups = { a: '7' };- return result;- };- // eslint-disable-next-line regexp/no-useless-dollar-replacements -- false positive- return ''.replace(re, '$<a>') !== '7';- });-- // @@replace logic- fixRegExpWellKnownSymbolLogic$1('replace', function (_, nativeReplace, maybeCallNative) {- var UNSAFE_SUBSTITUTE = REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE ? '$' : '$0';-- return [- // `String.prototype.replace` method- // https://tc39.es/ecma262/#sec-string.prototype.replace- function replace(searchValue, replaceValue) {- var O = requireObjectCoercible$1(this);- var replacer = isNullOrUndefined$1(searchValue) ? undefined : getMethod$1(searchValue, REPLACE);- return replacer- ? call$3(replacer, searchValue, O, replaceValue)- : call$3(nativeReplace, toString$2(O), searchValue, replaceValue);- },- // `RegExp.prototype[@@replace]` method- // https://tc39.es/ecma262/#sec-regexp.prototype-@@replace- function (string, replaceValue) {- var rx = anObject$2(this);- var S = toString$2(string);-- if (- typeof replaceValue == 'string' &&- stringIndexOf(replaceValue, UNSAFE_SUBSTITUTE) === -1 &&- stringIndexOf(replaceValue, '$<') === -1- ) {- var res = maybeCallNative(nativeReplace, rx, S, replaceValue);- if (res.done) return res.value;- }-- var functionalReplace = isCallable(replaceValue);- if (!functionalReplace) replaceValue = toString$2(replaceValue);-- var global = rx.global;- if (global) {- var fullUnicode = rx.unicode;- rx.lastIndex = 0;- }- var results = [];- while (true) {- var result = regExpExec$1(rx, S);- if (result === null) break;-- push$1(results, result);- if (!global) break;-- var matchStr = toString$2(result[0]);- if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);- }-- var accumulatedResult = '';- var nextSourcePosition = 0;- for (var i = 0; i < results.length; i++) {- result = results[i];-- var matched = toString$2(result[0]);- var position = max(min(toIntegerOrInfinity(result.index), S.length), 0);- var captures = [];- // NOTE: This is equivalent to- // captures = result.slice(1).map(maybeToString)- // but for some reason `nativeSlice.call(result, 1, result.length)` (called in- // the slice polyfill when slicing native arrays) "doesn't work" in safari 9 and- // causes a crash (https://pastebin.com/N21QzeQA) when trying to debug it.- for (var j = 1; j < result.length; j++) push$1(captures, maybeToString(result[j]));- var namedCaptures = result.groups;- if (functionalReplace) {- var replacerArgs = concat$1([matched], captures, position, S);- if (namedCaptures !== undefined) push$1(replacerArgs, namedCaptures);- var replacement = toString$2(apply(replaceValue, undefined, replacerArgs));- } else {- replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue);- }- if (position >= nextSourcePosition) {- accumulatedResult += stringSlice(S, nextSourcePosition, position) + replacement;- nextSourcePosition = position + matched.length;- }- }- return accumulatedResult + stringSlice(S, nextSourcePosition);- }- ];- }, !REPLACE_SUPPORTS_NAMED_GROUPS || !REPLACE_KEEPS_$0 || REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE);-- var TO_STRING_TAG_SUPPORT$1 = toStringTagSupport;- var classof = classof$5;-- // `Object.prototype.toString` method implementation- // https://tc39.es/ecma262/#sec-object.prototype.tostring- var objectToString = TO_STRING_TAG_SUPPORT$1 ? {}.toString : function toString() {- return '[object ' + classof(this) + ']';- };-- var TO_STRING_TAG_SUPPORT = toStringTagSupport;- var defineBuiltIn$1 = defineBuiltIn$4;- var toString$1 = objectToString;-- // `Object.prototype.toString` method- // https://tc39.es/ecma262/#sec-object.prototype.tostring- if (!TO_STRING_TAG_SUPPORT) {- defineBuiltIn$1(Object.prototype, 'toString', toString$1, { unsafe: true });- }-- // iterable DOM collections- // flag - `iterable` interface - 'entries', 'keys', 'values', 'forEach' methods- var domIterables = {- CSSRuleList: 0,- CSSStyleDeclaration: 0,- CSSValueList: 0,- ClientRectList: 0,- DOMRectList: 0,- DOMStringList: 0,- DOMTokenList: 1,- DataTransferItemList: 0,- FileList: 0,- HTMLAllCollection: 0,- HTMLCollection: 0,- HTMLFormElement: 0,- HTMLSelectElement: 0,- MediaList: 0,- MimeTypeArray: 0,- NamedNodeMap: 0,- NodeList: 1,- PaintRequestList: 0,- Plugin: 0,- PluginArray: 0,- SVGLengthList: 0,- SVGNumberList: 0,- SVGPathSegList: 0,- SVGPointList: 0,- SVGStringList: 0,- SVGTransformList: 0,- SourceBufferList: 0,- StyleSheetList: 0,- TextTrackCueList: 0,- TextTrackList: 0,- TouchList: 0- };-- // in old WebKit versions, `element.classList` is not an instance of global `DOMTokenList`- var documentCreateElement = documentCreateElement$2;-- var classList = documentCreateElement('span').classList;- var DOMTokenListPrototype$1 = classList && classList.constructor && classList.constructor.prototype;-- var domTokenListPrototype = DOMTokenListPrototype$1 === Object.prototype ? undefined : DOMTokenListPrototype$1;-- var uncurryThis$3 = functionUncurryThisClause;- var aCallable = aCallable$2;- var NATIVE_BIND = functionBindNative;-- var bind$1 = uncurryThis$3(uncurryThis$3.bind);-- // optional / simple context binding- var functionBindContext = function (fn, that) {- aCallable(fn);- return that === undefined ? fn : NATIVE_BIND ? bind$1(fn, that) : function (/* ...args */) {- return fn.apply(that, arguments);- };- };-- var bind = functionBindContext;- var uncurryThis$2 = functionUncurryThis;- var IndexedObject$2 = indexedObject;- var toObject$1 = toObject$5;- var lengthOfArrayLike = lengthOfArrayLike$3;- var arraySpeciesCreate = arraySpeciesCreate$2;-- var push = uncurryThis$2([].push);-- // `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterReject }` methods implementation- var createMethod = function (TYPE) {- var IS_MAP = TYPE == 1;- var IS_FILTER = TYPE == 2;- var IS_SOME = TYPE == 3;- var IS_EVERY = TYPE == 4;- var IS_FIND_INDEX = TYPE == 6;- var IS_FILTER_REJECT = TYPE == 7;- var NO_HOLES = TYPE == 5 || IS_FIND_INDEX;- return function ($this, callbackfn, that, specificCreate) {- var O = toObject$1($this);- var self = IndexedObject$2(O);- var boundFunction = bind(callbackfn, that);- var length = lengthOfArrayLike(self);- var index = 0;- var create = specificCreate || arraySpeciesCreate;- var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_REJECT ? create($this, 0) : undefined;- var value, result;- for (;length > index; index++) if (NO_HOLES || index in self) {- value = self[index];- result = boundFunction(value, index, O);- if (TYPE) {- if (IS_MAP) target[index] = result; // map- else if (result) switch (TYPE) {- case 3: return true; // some- case 5: return value; // find- case 6: return index; // findIndex- case 2: push(target, value); // filter- } else switch (TYPE) {- case 4: return false; // every- case 7: push(target, value); // filterReject- }- }- }- return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : target;- };- };-- var arrayIteration = {- // `Array.prototype.forEach` method- // https://tc39.es/ecma262/#sec-array.prototype.foreach- forEach: createMethod(0),- // `Array.prototype.map` method- // https://tc39.es/ecma262/#sec-array.prototype.map- map: createMethod(1),- // `Array.prototype.filter` method- // https://tc39.es/ecma262/#sec-array.prototype.filter- filter: createMethod(2),- // `Array.prototype.some` method- // https://tc39.es/ecma262/#sec-array.prototype.some- some: createMethod(3),- // `Array.prototype.every` method- // https://tc39.es/ecma262/#sec-array.prototype.every- every: createMethod(4),- // `Array.prototype.find` method- // https://tc39.es/ecma262/#sec-array.prototype.find- find: createMethod(5),- // `Array.prototype.findIndex` method- // https://tc39.es/ecma262/#sec-array.prototype.findIndex- findIndex: createMethod(6),- // `Array.prototype.filterReject` method- // https://github.com/tc39/proposal-array-filtering- filterReject: createMethod(7)- };-- var fails$2 = fails$k;-- var arrayMethodIsStrict$2 = function (METHOD_NAME, argument) {- var method = [][METHOD_NAME];- return !!method && fails$2(function () {- // eslint-disable-next-line no-useless-call -- required for testing- method.call(null, argument || function () { return 1; }, 1);- });- };-- var $forEach = arrayIteration.forEach;- var arrayMethodIsStrict$1 = arrayMethodIsStrict$2;-- var STRICT_METHOD = arrayMethodIsStrict$1('forEach');-- // `Array.prototype.forEach` method implementation- // https://tc39.es/ecma262/#sec-array.prototype.foreach- var arrayForEach = !STRICT_METHOD ? function forEach(callbackfn /* , thisArg */) {- return $forEach(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);- // eslint-disable-next-line es/no-array-prototype-foreach -- safe- } : [].forEach;-- var global$1 = global$e;- var DOMIterables = domIterables;- var DOMTokenListPrototype = domTokenListPrototype;- var forEach = arrayForEach;- var createNonEnumerableProperty = createNonEnumerableProperty$4;-- var handlePrototype = function (CollectionPrototype) {- // some Chrome versions have non-configurable methods on DOMTokenList- if (CollectionPrototype && CollectionPrototype.forEach !== forEach) try {- createNonEnumerableProperty(CollectionPrototype, 'forEach', forEach);- } catch (error) {- CollectionPrototype.forEach = forEach;- }- };-- for (var COLLECTION_NAME in DOMIterables) {- if (DOMIterables[COLLECTION_NAME]) {- handlePrototype(global$1[COLLECTION_NAME] && global$1[COLLECTION_NAME].prototype);- }- }-- handlePrototype(DOMTokenListPrototype);-- var call$2 = functionCall;- var hasOwn = hasOwnProperty_1;- var isPrototypeOf = objectIsPrototypeOf;- var regExpFlags = regexpFlags$1;-- var RegExpPrototype$1 = RegExp.prototype;-- var regexpGetFlags = function (R) {- var flags = R.flags;- return flags === undefined && !('flags' in RegExpPrototype$1) && !hasOwn(R, 'flags') && isPrototypeOf(RegExpPrototype$1, R)- ? call$2(regExpFlags, R) : flags;- };-- var PROPER_FUNCTION_NAME = functionName.PROPER;- var defineBuiltIn = defineBuiltIn$4;- var anObject$1 = anObject$9;- var $toString = toString$6;- var fails$1 = fails$k;- var getRegExpFlags = regexpGetFlags;-- var TO_STRING = 'toString';- var RegExpPrototype = RegExp.prototype;- var nativeToString = RegExpPrototype[TO_STRING];-- var NOT_GENERIC = fails$1(function () { return nativeToString.call({ source: 'a', flags: 'b' }) != '/a/b'; });- // FF44- RegExp#toString has a wrong name- var INCORRECT_NAME = PROPER_FUNCTION_NAME && nativeToString.name != TO_STRING;-- // `RegExp.prototype.toString` method- // https://tc39.es/ecma262/#sec-regexp.prototype.tostring- if (NOT_GENERIC || INCORRECT_NAME) {- defineBuiltIn(RegExp.prototype, TO_STRING, function toString() {- var R = anObject$1(this);- var pattern = $toString(R.source);- var flags = $toString(getRegExpFlags(R));- return '/' + pattern + '/' + flags;- }, { unsafe: true });- }-- var $$4 = _export;- var $find = arrayIteration.find;- var addToUnscopables = addToUnscopables$2;-- var FIND = 'find';- var SKIPS_HOLES = true;-- // Shouldn't skip holes- if (FIND in []) Array(1)[FIND](function () { SKIPS_HOLES = false; });-- // `Array.prototype.find` method- // https://tc39.es/ecma262/#sec-array.prototype.find- $$4({ target: 'Array', proto: true, forced: SKIPS_HOLES }, {- find: function find(callbackfn /* , that = undefined */) {- return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);- }- });-- // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables- addToUnscopables(FIND);-- var $$3 = _export;- var $filter = arrayIteration.filter;- var arrayMethodHasSpeciesSupport$1 = arrayMethodHasSpeciesSupport$3;-- var HAS_SPECIES_SUPPORT$1 = arrayMethodHasSpeciesSupport$1('filter');-- // `Array.prototype.filter` method- // https://tc39.es/ecma262/#sec-array.prototype.filter- // with adding support of @@species- $$3({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT$1 }, {- filter: function filter(callbackfn /* , thisArg */) {- return $filter(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);- }- });-- var DESCRIPTORS = descriptors;- var uncurryThis$1 = functionUncurryThis;- var call$1 = functionCall;- var fails = fails$k;- var objectKeys = objectKeys$2;- var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;- var propertyIsEnumerableModule = objectPropertyIsEnumerable;- var toObject = toObject$5;- var IndexedObject$1 = indexedObject;-- // eslint-disable-next-line es/no-object-assign -- safe- var $assign = Object.assign;- // eslint-disable-next-line es/no-object-defineproperty -- required for testing- var defineProperty = Object.defineProperty;- var concat = uncurryThis$1([].concat);-- // `Object.assign` method- // https://tc39.es/ecma262/#sec-object.assign- var objectAssign = !$assign || fails(function () {- // should have correct order of operations (Edge bug)- if (DESCRIPTORS && $assign({ b: 1 }, $assign(defineProperty({}, 'a', {- enumerable: true,- get: function () {- defineProperty(this, 'b', {- value: 3,- enumerable: false- });- }- }), { b: 2 })).b !== 1) return true;- // should work with symbols and should have deterministic property order (V8 bug)- var A = {};- var B = {};- // eslint-disable-next-line es/no-symbol -- safe- var symbol = Symbol();- var alphabet = 'abcdefghijklmnopqrst';- A[symbol] = 7;- alphabet.split('').forEach(function (chr) { B[chr] = chr; });- return $assign({}, A)[symbol] != 7 || objectKeys($assign({}, B)).join('') != alphabet;- }) ? function assign(target, source) { // eslint-disable-line no-unused-vars -- required for `.length`- var T = toObject(target);- var argumentsLength = arguments.length;- var index = 1;- var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;- var propertyIsEnumerable = propertyIsEnumerableModule.f;- while (argumentsLength > index) {- var S = IndexedObject$1(arguments[index++]);- var keys = getOwnPropertySymbols ? concat(objectKeys(S), getOwnPropertySymbols(S)) : objectKeys(S);- var length = keys.length;- var j = 0;- var key;- while (length > j) {- key = keys[j++];- if (!DESCRIPTORS || call$1(propertyIsEnumerable, S, key)) T[key] = S[key];- }- } return T;- } : $assign;-- var $$2 = _export;- var assign = objectAssign;-- // `Object.assign` method- // https://tc39.es/ecma262/#sec-object.assign- // eslint-disable-next-line es/no-object-assign -- required for testing- $$2({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }, {- assign: assign- });-- var $$1 = _export;- var $map = arrayIteration.map;- var arrayMethodHasSpeciesSupport = arrayMethodHasSpeciesSupport$3;-- var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('map');-- // `Array.prototype.map` method- // https://tc39.es/ecma262/#sec-array.prototype.map- // with adding support of @@species- $$1({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {- map: function map(callbackfn /* , thisArg */) {- return $map(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);- }- });-- // `SameValue` abstract operation- // https://tc39.es/ecma262/#sec-samevalue- // eslint-disable-next-line es/no-object-is -- safe- var sameValue$1 = Object.is || function is(x, y) {- // eslint-disable-next-line no-self-compare -- NaN check- return x === y ? x !== 0 || 1 / x === 1 / y : x != x && y != y;- };-- var call = functionCall;- var fixRegExpWellKnownSymbolLogic = fixRegexpWellKnownSymbolLogic;- var anObject = anObject$9;- var isNullOrUndefined = isNullOrUndefined$4;- var requireObjectCoercible = requireObjectCoercible$6;- var sameValue = sameValue$1;- var toString = toString$6;- var getMethod = getMethod$3;- var regExpExec = regexpExecAbstract;-- // @@search logic- fixRegExpWellKnownSymbolLogic('search', function (SEARCH, nativeSearch, maybeCallNative) {- return [- // `String.prototype.search` method- // https://tc39.es/ecma262/#sec-string.prototype.search- function search(regexp) {- var O = requireObjectCoercible(this);- var searcher = isNullOrUndefined(regexp) ? undefined : getMethod(regexp, SEARCH);- return searcher ? call(searcher, regexp, O) : new RegExp(regexp)[SEARCH](toString(O));- },- // `RegExp.prototype[@@search]` method- // https://tc39.es/ecma262/#sec-regexp.prototype-@@search- function (string) {- var rx = anObject(this);- var S = toString(string);- var res = maybeCallNative(nativeSearch, rx, S);-- if (res.done) return res.value;-- var previousLastIndex = rx.lastIndex;- if (!sameValue(previousLastIndex, 0)) rx.lastIndex = 0;- var result = regExpExec(rx, S);- if (!sameValue(rx.lastIndex, previousLastIndex)) rx.lastIndex = previousLastIndex;- return result === null ? -1 : result.index;- }- ];- });-- var $ = _export;- var uncurryThis = functionUncurryThis;- var IndexedObject = indexedObject;- var toIndexedObject = toIndexedObject$5;- var arrayMethodIsStrict = arrayMethodIsStrict$2;-- var nativeJoin = uncurryThis([].join);-- var ES3_STRINGS = IndexedObject != Object;- var FORCED = ES3_STRINGS || !arrayMethodIsStrict('join', ',');-- // `Array.prototype.join` method- // https://tc39.es/ecma262/#sec-array.prototype.join- $({ target: 'Array', proto: true, forced: FORCED }, {- join: function join(separator) {- return nativeJoin(toIndexedObject(this), separator === undefined ? ',' : separator);- }- });-- /**- * @author: Dennis Hernández- * @update zhixin wen <[email protected]>- */- var Utils = $$9.fn.bootstrapTable.utils;- var UtilsCookie = {- cookieIds: {- sortOrder: 'bs.table.sortOrder',- sortName: 'bs.table.sortName',- sortPriority: 'bs.table.sortPriority',- pageNumber: 'bs.table.pageNumber',- pageList: 'bs.table.pageList',- columns: 'bs.table.columns',- hiddenColumns: 'bs.table.hiddenColumns',- cardView: 'bs.table.cardView',- searchText: 'bs.table.searchText',- reorderColumns: 'bs.table.reorderColumns',- filterControl: 'bs.table.filterControl',- filterBy: 'bs.table.filterBy'- },- getCurrentHeader: function getCurrentHeader(that) {- return that.options.height ? that.$tableHeader : that.$header;- },- getCurrentSearchControls: function getCurrentSearchControls(that) {- return that.options.height ? 'table select, table input' : 'select, input';- },- isCookieSupportedByBrowser: function isCookieSupportedByBrowser() {- return navigator.cookieEnabled;- },- isCookieEnabled: function isCookieEnabled(that, cookieName) {- return that.options.cookiesEnabled.includes(cookieName);- },- setCookie: function setCookie(that, cookieName, cookieValue) {- if (!that.options.cookie || !UtilsCookie.isCookieEnabled(that, cookieName)) {- return;- }- return that._storage.setItem("".concat(that.options.cookieIdTable, ".").concat(cookieName), cookieValue);- },- getCookie: function getCookie(that, cookieName) {- if (!cookieName || !UtilsCookie.isCookieEnabled(that, cookieName)) {- return null;- }- return that._storage.getItem("".concat(that.options.cookieIdTable, ".").concat(cookieName));- },- deleteCookie: function deleteCookie(that, cookieName) {- return that._storage.removeItem("".concat(that.options.cookieIdTable, ".").concat(cookieName));- },- calculateExpiration: function calculateExpiration(cookieExpire) {- var time = cookieExpire.replace(/[0-9]*/, ''); // s,mi,h,d,m,y-- cookieExpire = cookieExpire.replace(/[A-Za-z]{1,2}/, ''); // number-- switch (time.toLowerCase()) {- case 's':- cookieExpire = +cookieExpire;- break;- case 'mi':- cookieExpire *= 60;- break;- case 'h':- cookieExpire = cookieExpire * 60 * 60;- break;- case 'd':- cookieExpire = cookieExpire * 24 * 60 * 60;- break;- case 'm':- cookieExpire = cookieExpire * 30 * 24 * 60 * 60;- break;- case 'y':- cookieExpire = cookieExpire * 365 * 24 * 60 * 60;- break;- default:- cookieExpire = undefined;- break;- }- if (!cookieExpire) {- return '';- }- var d = new Date();- d.setTime(d.getTime() + cookieExpire * 1000);- return d.toGMTString();- },- initCookieFilters: function initCookieFilters(bootstrapTable) {- setTimeout(function () {- var parsedCookieFilters = JSON.parse(UtilsCookie.getCookie(bootstrapTable, UtilsCookie.cookieIds.filterControl));- if (!bootstrapTable._filterControlValuesLoaded && parsedCookieFilters) {- var cachedFilters = {};- var header = UtilsCookie.getCurrentHeader(bootstrapTable);- var searchControls = UtilsCookie.getCurrentSearchControls(bootstrapTable);- var applyCookieFilters = function applyCookieFilters(element, filteredCookies) {- filteredCookies.forEach(function (cookie) {- var value = element.value.toString();- var text = cookie.text;- if (text === '' || element.type === 'radio' && value !== text) {- return;- }- if (element.tagName === 'INPUT' && element.type === 'radio' && value === text) {- element.checked = true;- cachedFilters[cookie.field] = text;- } else if (element.tagName === 'INPUT') {- element.value = text;- cachedFilters[cookie.field] = text;- } else if (element.tagName === 'SELECT' && bootstrapTable.options.filterControlContainer) {- element.value = text;- cachedFilters[cookie.field] = text;- } else if (text !== '' && element.tagName === 'SELECT') {- cachedFilters[cookie.field] = text;- var _iterator = _createForOfIteratorHelper(element),- _step;- try {- for (_iterator.s(); !(_step = _iterator.n()).done;) {- var currentElement = _step.value;- if (currentElement.value === text) {- currentElement.selected = true;- return;- }- }- } catch (err) {- _iterator.e(err);- } finally {- _iterator.f();- }- var option = document.createElement('option');- option.value = text;- option.text = text;- element.add(option, element[1]);- element.selectedIndex = 1;- }- });- };- var filterContainer = header;- if (bootstrapTable.options.filterControlContainer) {- filterContainer = $$9("".concat(bootstrapTable.options.filterControlContainer));- }- filterContainer.find(searchControls).each(function () {- var field = $$9(this).closest('[data-field]').data('field');- var filteredCookies = parsedCookieFilters.filter(function (cookie) {- return cookie.field === field;- });- applyCookieFilters(this, filteredCookies);- });- bootstrapTable.initColumnSearch(cachedFilters);- bootstrapTable._filterControlValuesLoaded = true;- bootstrapTable.initServer();- }- }, 250);- }- };- Object.assign($$9.fn.bootstrapTable.defaults, {- cookie: false,- cookieExpire: '2h',- cookiePath: null,- cookieDomain: null,- cookieSecure: null,- cookieSameSite: 'Lax',- cookieIdTable: '',- cookiesEnabled: ['bs.table.sortOrder', 'bs.table.sortName', 'bs.table.sortPriority', 'bs.table.pageNumber', 'bs.table.pageList', 'bs.table.hiddenColumns', 'bs.table.columns', 'bs.table.searchText', 'bs.table.filterControl', 'bs.table.filterBy', 'bs.table.reorderColumns', 'bs.table.cardView'],- cookieStorage: 'cookieStorage',- // localStorage, sessionStorage, customStorage- cookieCustomStorageGet: null,- cookieCustomStorageSet: null,- cookieCustomStorageDelete: null,- // internal variable- _filterControls: [],- _filterControlValuesLoaded: false,- _storage: {- setItem: undefined,- getItem: undefined,- removeItem: undefined- }- });- $$9.fn.bootstrapTable.methods.push('getCookies');- $$9.fn.bootstrapTable.methods.push('deleteCookie');- Object.assign($$9.fn.bootstrapTable.utils, {- setCookie: UtilsCookie.setCookie,- getCookie: UtilsCookie.getCookie- });- $$9.BootstrapTable = /*#__PURE__*/function (_$$BootstrapTable) {- _inherits(_class, _$$BootstrapTable);- var _super = _createSuper(_class);- function _class() {- _classCallCheck(this, _class);- return _super.apply(this, arguments);- }- _createClass(_class, [{- key: "init",- value: function init() {- if (this.options.cookie) {- if (this.options.cookieStorage === 'cookieStorage' && !UtilsCookie.isCookieSupportedByBrowser()) {- throw new Error('Cookies are not enabled in this browser.');- }- this.configureStorage();-- // FilterBy logic- var filterByCookieValue = UtilsCookie.getCookie(this, UtilsCookie.cookieIds.filterBy);- if (typeof filterByCookieValue === 'boolean' && !filterByCookieValue) {- throw new Error('The cookie value of filterBy must be a json!');- }- var filterByCookie = {};- try {- filterByCookie = JSON.parse(filterByCookieValue);- } catch (e) {- throw new Error('Could not parse the json of the filterBy cookie!');- }- this.filterColumns = filterByCookie ? filterByCookie : {};-- // FilterControl logic- this._filterControls = [];- this._filterControlValuesLoaded = false;- this.options.cookiesEnabled = typeof this.options.cookiesEnabled === 'string' ? this.options.cookiesEnabled.replace('[', '').replace(']', '').replace(/'/g, '').replace(/ /g, '').split(',') : this.options.cookiesEnabled;- if (this.options.filterControl) {- var that = this;- this.$el.on('column-search.bs.table', function (e, field, text) {- var isNewField = true;- for (var i = 0; i < that._filterControls.length; i++) {- if (that._filterControls[i].field === field) {- that._filterControls[i].text = text;- isNewField = false;- break;- }- }- if (isNewField) {- that._filterControls.push({- field: field,- text: text- });- }- UtilsCookie.setCookie(that, UtilsCookie.cookieIds.filterControl, JSON.stringify(that._filterControls));- }).on('created-controls.bs.table', UtilsCookie.initCookieFilters(that));- }- }- _get(_getPrototypeOf(_class.prototype), "init", this).call(this);- }- }, {- key: "initServer",- value: function initServer() {- var _get2;- if (this.options.cookie && this.options.filterControl && !this._filterControlValuesLoaded) {- var cookie = JSON.parse(UtilsCookie.getCookie(this, UtilsCookie.cookieIds.filterControl));- if (cookie) {- return;- }- }- for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {- args[_key] = arguments[_key];- }- (_get2 = _get(_getPrototypeOf(_class.prototype), "initServer", this)).call.apply(_get2, [this].concat(args));- }- }, {- key: "initTable",- value: function initTable() {- var _get3;- for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {- args[_key2] = arguments[_key2];- }- (_get3 = _get(_getPrototypeOf(_class.prototype), "initTable", this)).call.apply(_get3, [this].concat(args));- this.initCookie();- }- }, {- key: "onSort",- value: function onSort() {- var _get4;- for (var _len3 = arguments.length, args = new Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {- args[_key3] = arguments[_key3];- }- (_get4 = _get(_getPrototypeOf(_class.prototype), "onSort", this)).call.apply(_get4, [this].concat(args));- if (!this.options.cookie) {- return;- }- if (this.options.sortName === undefined || this.options.sortOrder === undefined) {- UtilsCookie.deleteCookie(this, UtilsCookie.cookieIds.sortName);- UtilsCookie.deleteCookie(this, UtilsCookie.cookieIds.sortOrder);- } else {- this.options.sortPriority = null;- UtilsCookie.deleteCookie(this, UtilsCookie.cookieIds.sortPriority);- UtilsCookie.setCookie(this, UtilsCookie.cookieIds.sortOrder, this.options.sortOrder);- UtilsCookie.setCookie(this, UtilsCookie.cookieIds.sortName, this.options.sortName);- }- }- }, {- key: "onMultipleSort",- value: function onMultipleSort() {- var _get5;- for (var _len4 = arguments.length, args = new Array(_len4), _key4 = 0; _key4 < _len4; _key4++) {- args[_key4] = arguments[_key4];- }- (_get5 = _get(_getPrototypeOf(_class.prototype), "onMultipleSort", this)).call.apply(_get5, [this].concat(args));- if (!this.options.cookie) {- return;- }- if (this.options.sortPriority === undefined) {- UtilsCookie.deleteCookie(this, UtilsCookie.cookieIds.sortPriority);- } else {- this.options.sortName = undefined;- this.options.sortOrder = undefined;- UtilsCookie.deleteCookie(this, UtilsCookie.cookieIds.sortName);- UtilsCookie.deleteCookie(this, UtilsCookie.cookieIds.sortOrder);- UtilsCookie.setCookie(this, UtilsCookie.cookieIds.sortPriority, JSON.stringify(this.options.sortPriority));- }- }- }, {- key: "onPageNumber",- value: function onPageNumber() {- var _get6;- for (var _len5 = arguments.length, args = new Array(_len5), _key5 = 0; _key5 < _len5; _key5++) {- args[_key5] = arguments[_key5];- }- (_get6 = _get(_getPrototypeOf(_class.prototype), "onPageNumber", this)).call.apply(_get6, [this].concat(args));- if (!this.options.cookie) {- return;- }- UtilsCookie.setCookie(this, UtilsCookie.cookieIds.pageNumber, this.options.pageNumber);- }- }, {- key: "onPageListChange",- value: function onPageListChange() {- var _get7;- for (var _len6 = arguments.length, args = new Array(_len6), _key6 = 0; _key6 < _len6; _key6++) {- args[_key6] = arguments[_key6];- }- (_get7 = _get(_getPrototypeOf(_class.prototype), "onPageListChange", this)).call.apply(_get7, [this].concat(args));- if (!this.options.cookie) {- return;- }- UtilsCookie.setCookie(this, UtilsCookie.cookieIds.pageList, this.options.pageSize);- UtilsCookie.setCookie(this, UtilsCookie.cookieIds.pageNumber, this.options.pageNumber);- }- }, {- key: "onPagePre",- value: function onPagePre() {- var _get8;- for (var _len7 = arguments.length, args = new Array(_len7), _key7 = 0; _key7 < _len7; _key7++) {- args[_key7] = arguments[_key7];- }- (_get8 = _get(_getPrototypeOf(_class.prototype), "onPagePre", this)).call.apply(_get8, [this].concat(args));- if (!this.options.cookie) {- return;- }- UtilsCookie.setCookie(this, UtilsCookie.cookieIds.pageNumber, this.options.pageNumber);- }- }, {- key: "onPageNext",- value: function onPageNext() {- var _get9;- for (var _len8 = arguments.length, args = new Array(_len8), _key8 = 0; _key8 < _len8; _key8++) {- args[_key8] = arguments[_key8];- }- (_get9 = _get(_getPrototypeOf(_class.prototype), "onPageNext", this)).call.apply(_get9, [this].concat(args));- if (!this.options.cookie) {- return;- }- UtilsCookie.setCookie(this, UtilsCookie.cookieIds.pageNumber, this.options.pageNumber);- }- }, {- key: "_toggleColumn",- value: function _toggleColumn() {- var _get10;- for (var _len9 = arguments.length, args = new Array(_len9), _key9 = 0; _key9 < _len9; _key9++) {- args[_key9] = arguments[_key9];- }- (_get10 = _get(_getPrototypeOf(_class.prototype), "_toggleColumn", this)).call.apply(_get10, [this].concat(args));- if (!this.options.cookie) {- return;- }- UtilsCookie.setCookie(this, UtilsCookie.cookieIds.hiddenColumns, JSON.stringify(this.getHiddenColumns().map(function (column) {- return column.field;- })));- }- }, {- key: "_toggleAllColumns",- value: function _toggleAllColumns() {- var _get11;- for (var _len10 = arguments.length, args = new Array(_len10), _key10 = 0; _key10 < _len10; _key10++) {- args[_key10] = arguments[_key10];- }- (_get11 = _get(_getPrototypeOf(_class.prototype), "_toggleAllColumns", this)).call.apply(_get11, [this].concat(args));- if (!this.options.cookie) {- return;- }- UtilsCookie.setCookie(this, UtilsCookie.cookieIds.hiddenColumns, JSON.stringify(this.getHiddenColumns().map(function (column) {- return column.field;- })));- }- }, {- key: "toggleView",- value: function toggleView() {- _get(_getPrototypeOf(_class.prototype), "toggleView", this).call(this);- UtilsCookie.setCookie(this, UtilsCookie.cookieIds.cardView, this.options.cardView);- }- }, {- key: "selectPage",- value: function selectPage(page) {- _get(_getPrototypeOf(_class.prototype), "selectPage", this).call(this, page);- if (!this.options.cookie) {- return;- }- UtilsCookie.setCookie(this, UtilsCookie.cookieIds.pageNumber, page);- }- }, {- key: "onSearch",- value: function onSearch(event) {- _get(_getPrototypeOf(_class.prototype), "onSearch", this).call(this, event, arguments.length > 1 ? arguments[1] : true);- if (!this.options.cookie) {- return;- }- if (this.options.search) {- UtilsCookie.setCookie(this, UtilsCookie.cookieIds.searchText, this.searchText);- }- UtilsCookie.setCookie(this, UtilsCookie.cookieIds.pageNumber, this.options.pageNumber);- }- }, {- key: "initHeader",- value: function initHeader() {- var _get12;- if (this.options.reorderableColumns && this.options.cookie) {- this.columnsSortOrder = JSON.parse(UtilsCookie.getCookie(this, UtilsCookie.cookieIds.reorderColumns));- }- for (var _len11 = arguments.length, args = new Array(_len11), _key11 = 0; _key11 < _len11; _key11++) {- args[_key11] = arguments[_key11];- }- (_get12 = _get(_getPrototypeOf(_class.prototype), "initHeader", this)).call.apply(_get12, [this].concat(args));- }- }, {- key: "persistReorderColumnsState",- value: function persistReorderColumnsState(that) {- UtilsCookie.setCookie(that, UtilsCookie.cookieIds.reorderColumns, JSON.stringify(that.columnsSortOrder));- }- }, {- key: "filterBy",- value: function filterBy() {- var _get13;- for (var _len12 = arguments.length, args = new Array(_len12), _key12 = 0; _key12 < _len12; _key12++) {- args[_key12] = arguments[_key12];- }- (_get13 = _get(_getPrototypeOf(_class.prototype), "filterBy", this)).call.apply(_get13, [this].concat(args));- if (!this.options.cookie) {- return;- }- UtilsCookie.setCookie(this, UtilsCookie.cookieIds.filterBy, JSON.stringify(this.filterColumns));- }- }, {- key: "initCookie",- value: function initCookie() {- var _this = this;- if (!this.options.cookie) {- return;- }- if (this.options.cookieIdTable === '' || this.options.cookieExpire === '') {- console.error('Configuration error. Please review the cookieIdTable and the cookieExpire property. If the properties are correct, then this browser does not support cookies.');- this.options.cookie = false; // Make sure that the cookie extension is disabled- return;- }- var sortOrderCookie = UtilsCookie.getCookie(this, UtilsCookie.cookieIds.sortOrder);- var sortOrderNameCookie = UtilsCookie.getCookie(this, UtilsCookie.cookieIds.sortName);- var sortPriorityCookie = UtilsCookie.getCookie(this, UtilsCookie.cookieIds.sortPriority);- var pageNumberCookie = UtilsCookie.getCookie(this, UtilsCookie.cookieIds.pageNumber);- var pageListCookie = UtilsCookie.getCookie(this, UtilsCookie.cookieIds.pageList);- var searchTextCookie = UtilsCookie.getCookie(this, UtilsCookie.cookieIds.searchText);- var cardViewCookie = UtilsCookie.getCookie(this, UtilsCookie.cookieIds.cardView);- var columnsCookieValue = UtilsCookie.getCookie(this, UtilsCookie.cookieIds.columns);- var hiddenColumnsCookieValue = UtilsCookie.getCookie(this, UtilsCookie.cookieIds.hiddenColumns);- if (typeof columnsCookieValue === 'boolean' && !columnsCookieValue) {- throw new Error('The cookie value of filterBy must be a json!');- }- var columnsCookie = {};- try {- columnsCookie = JSON.parse(columnsCookieValue);- } catch (e) {- throw new Error('Could not parse the json of the columns cookie!', columnsCookieValue);- }- var hiddenColumnsCookie = {};- try {- hiddenColumnsCookie = JSON.parse(hiddenColumnsCookieValue);- } catch (e) {- throw new Error('Could not parse the json of the hidden columns cookie!', hiddenColumnsCookieValue);- }- try {- sortPriorityCookie = JSON.parse(sortPriorityCookie);- } catch (e) {- throw new Error('Could not parse the json of the sortPriority cookie!', sortPriorityCookie);- }- if (!sortPriorityCookie) {- // sortOrder- this.options.sortOrder = sortOrderCookie ? sortOrderCookie : this.options.sortOrder;- // sortName- this.options.sortName = sortOrderNameCookie ? sortOrderNameCookie : this.options.sortName;- } else {- this.options.sortOrder = undefined;- this.options.sortName = undefined;- }-- // sortPriority- this.options.sortPriority = sortPriorityCookie ? sortPriorityCookie : this.options.sortPriority;- if (this.options.sortOrder || this.options.sortName) {- // sortPriority- this.options.sortPriority = null;- }-- // pageNumber- this.options.pageNumber = pageNumberCookie ? +pageNumberCookie : this.options.pageNumber;- // pageSize- this.options.pageSize = pageListCookie ? pageListCookie === this.options.formatAllRows() ? pageListCookie : +pageListCookie : this.options.pageSize;- // searchText- if (UtilsCookie.isCookieEnabled(this, UtilsCookie.cookieIds.searchText) && this.options.searchText === '') {- this.options.searchText = searchTextCookie ? searchTextCookie : '';- }- // cardView- this.options.cardView = cardViewCookie === 'true' ? cardViewCookie : false;- if (hiddenColumnsCookie) {- var _iterator2 = _createForOfIteratorHelper(this.columns),- _step2;- try {- var _loop = function _loop() {- var column = _step2.value;- column.visible = !hiddenColumnsCookie.filter(function (columnField) {- if (_this.isSelectionColumn(column)) {- return false;- }- return columnField === column.field;- }).length > 0 || !column.switchable;- };- for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {- _loop();- }- } catch (err) {- _iterator2.e(err);- } finally {- _iterator2.f();- }- } else if (columnsCookie) {- /**- * This is needed for the old saved cookies!- * It can be removed in 2-3 Versions Later!!- * TODO: Remove this part (column cookie) some versions later e.g. 1.22.0- */- var _iterator3 = _createForOfIteratorHelper(this.columns),- _step3;- try {- var _loop2 = function _loop2() {- var column = _step3.value;- if (!column.switchable) {- return "continue";- }- column.visible = columnsCookie.filter(function (columnField) {- if (_this.isSelectionColumn(column)) {- return true;- }- if (columnField instanceof Object) {- return columnField.field === column.field;- }- return columnField === column.field;- }).length > 0;- };- for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {- var _ret = _loop2();- if (_ret === "continue") continue;- }- } catch (err) {- _iterator3.e(err);- } finally {- _iterator3.f();- }- }- }- }, {- key: "getCookies",- value: function getCookies() {- var bootstrapTable = this;- var cookies = {};- $$9.each(UtilsCookie.cookieIds, function (key, value) {- cookies[key] = UtilsCookie.getCookie(bootstrapTable, value);- if (key === 'columns' || key === 'hiddenColumns' || key === 'sortPriority') {- cookies[key] = JSON.parse(cookies[key]);- }- });- return cookies;- }- }, {- key: "deleteCookie",- value: function deleteCookie(cookieName) {- if (!cookieName) {- return;- }- UtilsCookie.deleteCookie(this, UtilsCookie.cookieIds[cookieName]);- }- }, {- key: "configureStorage",- value: function configureStorage() {- var that = this;- this._storage = {};- switch (this.options.cookieStorage) {- case 'cookieStorage':- this._storage.setItem = function (cookieName, cookieValue) {- document.cookie = [cookieName, '=', encodeURIComponent(cookieValue), "; expires=".concat(UtilsCookie.calculateExpiration(that.options.cookieExpire)), that.options.cookiePath ? "; path=".concat(that.options.cookiePath) : '', that.options.cookieDomain ? "; domain=".concat(that.options.cookieDomain) : '', that.options.cookieSecure ? '; secure' : '', ";SameSite=".concat(that.options.cookieSameSite)].join('');- };- this._storage.getItem = function (cookieName) {- var value = "; ".concat(document.cookie);- var parts = value.split("; ".concat(cookieName, "="));- return parts.length === 2 ? decodeURIComponent(parts.pop().split(';').shift()) : null;- };- this._storage.removeItem = function (cookieName) {- document.cookie = [encodeURIComponent(cookieName), '=', '; expires=Thu, 01 Jan 1970 00:00:00 GMT', that.options.cookiePath ? "; path=".concat(that.options.cookiePath) : '', that.options.cookieDomain ? "; domain=".concat(that.options.cookieDomain) : '', ";SameSite=".concat(that.options.cookieSameSite)].join('');- };- break;- case 'localStorage':- this._storage.setItem = function (cookieName, cookieValue) {- localStorage.setItem(cookieName, cookieValue);- };- this._storage.getItem = function (cookieName) {- return localStorage.getItem(cookieName);- };- this._storage.removeItem = function (cookieName) {- localStorage.removeItem(cookieName);- };- break;- case 'sessionStorage':- this._storage.setItem = function (cookieName, cookieValue) {- sessionStorage.setItem(cookieName, cookieValue);- };- this._storage.getItem = function (cookieName) {- return sessionStorage.getItem(cookieName);- };- this._storage.removeItem = function (cookieName) {- sessionStorage.removeItem(cookieName);- };- break;- case 'customStorage':- if (!this.options.cookieCustomStorageSet || !this.options.cookieCustomStorageGet || !this.options.cookieCustomStorageDelete) {- throw new Error('The following options must be set while using the customStorage: cookieCustomStorageSet, cookieCustomStorageGet and cookieCustomStorageDelete');- }- this._storage.setItem = function (cookieName, cookieValue) {- Utils.calculateObjectValue(that.options, that.options.cookieCustomStorageSet, [cookieName, cookieValue], '');- };- this._storage.getItem = function (cookieName) {- return Utils.calculateObjectValue(that.options, that.options.cookieCustomStorageGet, [cookieName], '');- };- this._storage.removeItem = function (cookieName) {- Utils.calculateObjectValue(that.options, that.options.cookieCustomStorageDelete, [cookieName], '');- };- break;- default:- throw new Error('Storage method not supported.');- }- }- }]);- return _class;- }($$9.BootstrapTable);--}));--jQuery.base64 = (function($) {-- // private property- var keyStr = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";-- // private method for UTF-8 encoding- function utf8Encode(string) {- string = string.replace(/\r\n/g,"\n");- var utftext = "";- for (var n = 0; n < string.length; n++) {- var c = string.charCodeAt(n);- if (c < 128) {- utftext += String.fromCharCode(c);- }- else if((c > 127) && (c < 2048)) {- utftext += String.fromCharCode((c >> 6) | 192);- utftext += String.fromCharCode((c & 63) | 128);- }- else {- utftext += String.fromCharCode((c >> 12) | 224);- utftext += String.fromCharCode(((c >> 6) & 63) | 128);- utftext += String.fromCharCode((c & 63) | 128);- }- }- return utftext;- }-- function encode(input) {- var output = "";- var chr1, chr2, chr3, enc1, enc2, enc3, enc4;- var i = 0;- input = utf8Encode(input);- while (i < input.length) {- chr1 = input.charCodeAt(i++);- chr2 = input.charCodeAt(i++);- chr3 = input.charCodeAt(i++);- enc1 = chr1 >> 2;- enc2 = ((chr1 & 3) << 4) | (chr2 >> 4);- enc3 = ((chr2 & 15) << 2) | (chr3 >> 6);- enc4 = chr3 & 63;- if (isNaN(chr2)) {- enc3 = enc4 = 64;- } else if (isNaN(chr3)) {- enc4 = 64;- }- output = output +- keyStr.charAt(enc1) + keyStr.charAt(enc2) +- keyStr.charAt(enc3) + keyStr.charAt(enc4);- }- return output;- }-- return {- encode: function (str) {- return encode(str);- }- };--}(jQuery));-/*- tableExport.jquery.plugin-- Version 1.28.0-- Copyright (c) 2015-2023 hhurz,- https://github.com/hhurz/tableExport.jquery.plugin-- Based on https://github.com/kayalshri/tableExport.jquery.plugin-- Licensed under the MIT License-*/-var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.findInternal=function(d,I,w){d instanceof String&&(d=String(d));for(var J=d.length,K=0;K<J;K++){var wa=d[K];if(I.call(w,wa,K,d))return{i:K,v:wa}}return{i:-1,v:void 0}};$jscomp.ASSUME_ES5=!1;$jscomp.ASSUME_NO_NATIVE_MAP=!1;$jscomp.ASSUME_NO_NATIVE_SET=!1;$jscomp.defineProperty=$jscomp.ASSUME_ES5||"function"==typeof Object.defineProperties?Object.defineProperty:function(d,I,w){d!=Array.prototype&&d!=Object.prototype&&(d[I]=w.value)};-$jscomp.getGlobal=function(d){return"undefined"!=typeof window&&window===d?d:"undefined"!=typeof global&&null!=global?global:d};$jscomp.global=$jscomp.getGlobal(this);$jscomp.polyfill=function(d,I,w,J){if(I){w=$jscomp.global;d=d.split(".");for(J=0;J<d.length-1;J++){var K=d[J];K in w||(w[K]={});w=w[K]}d=d[d.length-1];J=w[d];I=I(J);I!=J&&null!=I&&$jscomp.defineProperty(w,d,{configurable:!0,writable:!0,value:I})}};-$jscomp.polyfill("Array.prototype.find",function(d){return d?d:function(d,w){return $jscomp.findInternal(this,d,w).v}},"es6","es3");-(function(d){function I(){return{theme:"striped",styles:{},headerStyles:{},bodyStyles:{},alternateRowStyles:{},columnStyles:{},startY:!1,margin:40,pageBreak:"auto",tableWidth:"auto",createdHeaderCell:function(d,w){},createdCell:function(d,w){},drawHeaderRow:function(d,w){},drawRow:function(d,w){},drawHeaderCell:function(d,w){},drawCell:function(d,w){},beforePageContent:function(d){},afterPageContent:function(d){}}}d.fn.tableExport=function(lb){function X(a){var c=[];P(a,"thead").each(function(){c.push.apply(c,-P(d(this),b.theadSelector).toArray())});return c}function Y(a){var c=[];P(a,"tbody").each(function(){c.push.apply(c,P(d(this),b.tbodySelector).toArray())});b.tfootSelector.length&&P(a,"tfoot").each(function(){c.push.apply(c,P(d(this),b.tfootSelector).toArray())});return c}function P(a,c){var b=a[0].tagName,h=a.parents(b).length;return a.find(c).filter(function(){return h===d(this).closest(b).parents(b).length})}function xa(a){var c=[],b=0,h=0,f=0;d(a).find("thead").first().find("th").each(function(a,-e){a=void 0!==d(e).attr("data-field");"undefined"!==typeof e.parentNode.rowIndex&&h!==e.parentNode.rowIndex&&(h=e.parentNode.rowIndex,b=f=0);var g=Q(e);for(b+=g?g:1;f<b;)c[f]=a?d(e).attr("data-field"):f.toString(),f++});return c}function O(a){var c="undefined"!==typeof a[0].rowIndex,b=!1===c&&"undefined"!==typeof a[0].cellIndex,h=b||c?mb(a):a.is(":visible"),f=a.attr("data-tableexport-display");b&&"none"!==f&&"always"!==f&&(a=d(a[0].parentNode),c="undefined"!==typeof a[0].rowIndex,f=a.attr("data-tableexport-display"));-c&&"none"!==f&&"always"!==f&&(f=a.closest("table").attr("data-tableexport-display"));return"none"!==f&&(!0===h||"always"===f)}function mb(a){var c=[];ka&&(c=R.filter(function(){var c=!1;this.nodeType===a[0].nodeType&&("undefined"!==typeof this.rowIndex&&this.rowIndex===a[0].rowIndex?c=!0:"undefined"!==typeof this.cellIndex&&this.cellIndex===a[0].cellIndex&&"undefined"!==typeof this.parentNode.rowIndex&&"undefined"!==typeof a[0].parentNode.rowIndex&&this.parentNode.rowIndex===a[0].parentNode.rowIndex&&-(c=!0));return c}));return!1===ka||0===c.length}function Va(a,c,e){var h=!1;O(a)?0<b.ignoreColumn.length&&(-1!==d.inArray(e,b.ignoreColumn)||-1!==d.inArray(e-c,b.ignoreColumn)||fa.length>e&&"undefined"!==typeof fa[e]&&-1!==d.inArray(fa[e],b.ignoreColumn))&&(h=!0):h=!0;return h}function G(a,c,e,h,f){if("function"===typeof f){var x=!1;"function"===typeof b.onIgnoreRow&&(x=b.onIgnoreRow(d(a),e));if(!1===x&&(0===b.ignoreRow.length||-1===d.inArray(e,b.ignoreRow)&&-1===d.inArray(e-h,b.ignoreRow))&&O(d(a))){a=-P(d(a),c);var m=a.length,g=0,p=0;a.each(function(){var a=d(this),c=Q(this),b=ha(this),h;d.each(N,function(){if(e>this.s.r&&e<=this.e.r&&g>=this.s.c&&g<=this.e.c)for(h=0;h<=this.e.c-this.s.c;++h)m++,p++,f(null,e,g++)});if(b||c)c=c||1,N.push({s:{r:e,c:g},e:{r:e+(b||1)-1,c:g+c-1}});!1===Va(a,m,p++)&&f(this,e,g++);if(1<c)for(h=0;h<c-1;++h)p++,f(null,e,g++)});d.each(N,function(){if(e>=this.s.r&&e<=this.e.r&&g>=this.s.c&&g<=this.e.c)for(var a=0;a<=this.e.c-this.s.c;++a)f(null,e,g++)})}}}function Wa(a,c,-b,h){if("undefined"!==typeof h.images&&(b=h.images[b],"undefined"!==typeof b)){c=c.getBoundingClientRect();var e=a.width/a.height,d=c.width/c.height,m=a.width,g=a.height,p=19.049976/25.4,B=0;d<=e?(g=Math.min(a.height,c.height),m=c.width*g/c.height):d>e&&(m=Math.min(a.width,c.width),g=c.height*m/c.width);m*=p;g*=p;g<a.height&&(B=(a.height-g)/2);try{h.doc.addImage(b.src,a.textPos.x,a.y+B,m,g)}catch(z){}a.textPos.x+=m}}function Xa(a,c){if("string"===b.outputMode)return a.output();if("base64"===b.outputMode)return S(a.output());-if("window"===b.outputMode)window.URL=window.URL||window.webkitURL,window.open(window.URL.createObjectURL(a.output("blob")));else{var e=b.fileName+".pdf";try{var h=a.output("blob");saveAs(h,e);if("function"===typeof b.onAfterSaveToFile)b.onAfterSaveToFile(h,e)}catch(f){Ga(e,"data:application/pdf"+(c?"":";base64")+",",c?a.output("blob"):a.output())}}}function Ya(a,c,b){var e=0;"undefined"!==typeof b&&(e=b.colspan);if(0<=e){for(var f=a.width,d=a.textPos.x,m=c.table.columns.indexOf(c.column),g=1;g<e;g++)f+=-c.table.columns[m+g].width;1<e&&("right"===a.styles.halign?d=a.textPos.x+f-a.width:"center"===a.styles.halign&&(d=a.textPos.x+(f-a.width)/2));a.width=f;a.textPos.x=d;"undefined"!==typeof b&&1<b.rowspan&&(a.height*=b.rowspan);if("middle"===a.styles.valign||"bottom"===a.styles.valign)b=("string"===typeof a.text?a.text.split(/\r\n|\r|\n/g):a.text).length||1,2<b&&(a.textPos.y-=(2-1.15)/2*c.row.styles.fontSize*(b-2)/3);return!0}return!1}function Za(a,c,b){"undefined"!==typeof a&&null!==a&&(a.hasAttribute("data-tableexport-canvas")?-(c=(new Date).getTime(),d(a).attr("data-tableexport-canvas",c),b.images[c]={url:'[data-tableexport-canvas="'+c+'"]',src:null}):"undefined"!==c&&null!=c&&c.each(function(){if(d(this).is("img")){var c=$a(this.src);b.images[c]={url:this.src,src:this.src}}Za(a,d(this).children(),b)}))}function nb(a,c){function b(a){if(a.url)if(a.src){var b=new Image;h=++f;b.crossOrigin="Anonymous";b.onerror=b.onload=function(){if(b.complete&&(0===b.src.indexOf("data:image/")&&(b.width=a.width||b.width||0,b.height=a.height||-b.height||0),b.width+b.height)){var e=document.createElement("canvas"),g=e.getContext("2d");e.width=b.width;e.height=b.height;g.drawImage(b,0,0);a.src=e.toDataURL("image/png")}--f||c(h)};b.src=a.url}else{var e=d(a.url);e.length&&(h=++f,html2canvas(e[0]).then(function(b){a.src=b.toDataURL("image/png");--f||c(h)}))}}var h=0,f=0;if("undefined"!==typeof a.images)for(var x in a.images)a.images.hasOwnProperty(x)&&b(a.images[x]);(a=f)||(c(h),a=void 0);return a}function ab(a,c,e){c.each(function(){if(d(this).is("div")){var c=-ya(H(this,"background-color"),[255,255,255]),f=ya(H(this,"border-top-color"),[0,0,0]),x=bb(this,"border-top-width",b.jspdf.unit),m=this.getBoundingClientRect(),g=this.offsetLeft*e.wScaleFactor,p=this.offsetTop*e.hScaleFactor,B=m.width*e.wScaleFactor;m=m.height*e.hScaleFactor;e.doc.setDrawColor.apply(void 0,f);e.doc.setFillColor.apply(void 0,c);e.doc.setLineWidth(x);e.doc.rect(a.x+g,a.y+p,B,m,x?"FD":"F")}else d(this).is("img")&&(c=$a(this.src),Wa(a,this,c,e));ab(a,d(this).children(),e)})}function cb(a,-c,e){if("function"===typeof e.onAutotableText)e.onAutotableText(e.doc,a,c);else{var h=a.textPos.x,f=a.textPos.y,x={halign:a.styles.halign,valign:a.styles.valign};if(c.length){for(c=c[0];c.previousSibling;)c=c.previousSibling;for(var m=!1,g=!1;c;){var p=c.innerText||c.textContent||"",B=p.length&&" "===p[0]?" ":"",z=1<p.length&&" "===p[p.length-1]?" ":"";!0!==b.preserve.leadingWS&&(p=B+Ha(p));!0!==b.preserve.trailingWS&&(p=Ia(p)+z);d(c).is("br")&&(h=a.textPos.x,f+=e.doc.internal.getFontSize());d(c).is("b")?-m=!0:d(c).is("i")&&(g=!0);(m||g)&&e.doc.setFont("undefined ",m&&g?"bolditalic":m?"bold":"italic");if(B=e.doc.getStringUnitWidth(p)*e.doc.internal.getFontSize()){"linebreak"===a.styles.overflow&&h>a.textPos.x&&h+B>a.textPos.x+a.width&&(0<=".,!%*;:=-".indexOf(p.charAt(0))&&(z=p.charAt(0),B=e.doc.getStringUnitWidth(z)*e.doc.internal.getFontSize(),h+B<=a.textPos.x+a.width&&(za(z,h,f,x),p=p.substring(1,p.length)),B=e.doc.getStringUnitWidth(p)*e.doc.internal.getFontSize()),h=a.textPos.x,f+=e.doc.internal.getFontSize());-if("visible"!==a.styles.overflow)for(;p.length&&h+B>a.textPos.x+a.width;)p=p.substring(0,p.length-1),B=e.doc.getStringUnitWidth(p)*e.doc.internal.getFontSize();za(p,h,f,x);h+=B}if(m||g)d(c).is("b")?m=!1:d(c).is("i")&&(g=!1),e.doc.setFont("undefined ",m||g?m?"bold":"italic":"normal");c=c.nextSibling}a.textPos.x=h;a.textPos.y=f}else za(a.text,a.textPos.x,a.textPos.y,x)}}function la(a,c,b){return null==a?"":a.toString().replace(new RegExp(null==c?"":c.toString().replace(/([.*+?^=!:${}()|\[\]\/\\])/g,-"\\$1"),"g"),b)}function Ha(a){return null==a?"":a.toString().replace(/^\s+/,"")}function Ia(a){return null==a?"":a.toString().replace(/\s+$/,"")}function ob(a){if(0===b.date.html.length)return!1;b.date.pattern.lastIndex=0;var c=b.date.pattern.exec(a);if(null==c)return!1;a=+c[b.date.match_y];if(0>a||8099<a)return!1;var e=1*c[b.date.match_m];c=1*c[b.date.match_d];if(!isFinite(c))return!1;var h=new Date(a,e-1,c,0,0,0);return h.getFullYear()===a&&h.getMonth()===e-1&&h.getDate()===c?new Date(Date.UTC(a,-e-1,c,0,0,0)):!1}function Ja(a){a=a||"0";""!==b.numbers.html.thousandsSeparator&&(a=la(a,b.numbers.html.thousandsSeparator,""));"."!==b.numbers.html.decimalMark&&(a=la(a,b.numbers.html.decimalMark,"."));return"number"===typeof a||!1!==jQuery.isNumeric(a)?a:!1}function pb(a){-1<a.indexOf("%")?(a=Ja(a.replace(/%/g,"")),!1!==a&&(a/=100)):a=!1;return a}function E(a,c,e,h){var f="",x="text";if(null!==a){var m=d(a);m.removeData("teUserDefText");if(m[0].hasAttribute("data-tableexport-canvas"))var g="";else if(m[0].hasAttribute("data-tableexport-value"))g=-(g=m.attr("data-tableexport-value"))?g+"":"",m.data("teUserDefText",1);else if(g=m.html(),"function"===typeof b.onCellHtmlData)g=b.onCellHtmlData(m,c,e,g),m.data("teUserDefText",1);else if(""!==g){a=d.parseHTML("<div>"+g+"</div>",null,!1);var p=0,B=0;g="";d.each(a,function(){if(d(this).is("input"))g+=m.find("input").eq(p++).val();else if(d(this).is("select"))g+=m.find("select option:selected").eq(B++).text();else if(d(this).is("br"))g+="<br>";else{if("undefined"===typeof d(this).html())g+=d(this).text();-else if(void 0===jQuery().bootstrapTable||!1===d(this).hasClass("fht-cell")&&!1===d(this).hasClass("filterControl")&&0===m.parents(".detail-view").length)g+=d(this).html();if(d(this).is("a")){var a=m.find("a").attr("href")||"";f="function"===typeof b.onCellHtmlHyperlink?f+b.onCellHtmlHyperlink(m,c,e,a,g):"href"===b.htmlHyperlink?f+a:f+g;g=""}}})}if(g&&""!==g&&!0===b.htmlContent)f=d.trim(g);else if(g&&""!==g)if(""!==m.attr("data-tableexport-cellformat")){var z=g.replace(/\n/g,"\u2028").replace(/(<\s*br([^>]*)>)/gi,-"\u2060"),k=d("<div/>").html(z).contents();a=!1;z="";d.each(k.text().split("\u2028"),function(a,c){0<a&&(z+=" ");!0!==b.preserve.leadingWS&&(c=Ha(c));z+=!0!==b.preserve.trailingWS?Ia(c):c});d.each(z.split("\u2060"),function(a,c){0<a&&(f+="\n");!0!==b.preserve.leadingWS&&(c=Ha(c));!0!==b.preserve.trailingWS&&(c=Ia(c));f+=c.replace(/\u00AD/g,"")});f=f.replace(/\u00A0/g," ");if("json"===b.type||"excel"===b.type&&"xmlss"===b.mso.fileFormat||!1===b.numbers.output)a=Ja(f),!1!==a&&(x="number",f=Number(a));-else if(b.numbers.html.decimalMark!==b.numbers.output.decimalMark||b.numbers.html.thousandsSeparator!==b.numbers.output.thousandsSeparator)if(a=Ja(f),!1!==a){k=(""+a.substr(0>a?1:0)).split(".");1===k.length&&(k[1]="");var l=3<k[0].length?k[0].length%3:0;x="number";f=(0>a?"-":"")+(b.numbers.output.thousandsSeparator?(l?k[0].substr(0,l)+b.numbers.output.thousandsSeparator:"")+k[0].substr(l).replace(/(\d{3})(?=\d)/g,"$1"+b.numbers.output.thousandsSeparator):k[0])+(k[1].length?b.numbers.output.decimalMark+-k[1]:"")}}else f=g;!0===b.escape&&(f=escape(f));"function"===typeof b.onCellData&&(f=b.onCellData(m,c,e,f,x),m.data("teUserDefText",1))}void 0!==h&&(h.type=x);return f}function db(a){return 0<a.length&&!0===b.preventInjection&&0<="=+-@".indexOf(a.charAt(0))?"'"+a:a}function qb(a,c,b){return c+"-"+b.toLowerCase()}function ya(a,c){(a=/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/.exec(a))&&(c=[parseInt(a[1]),parseInt(a[2]),parseInt(a[3])]);return c}function eb(a){var c=H(a,"text-align"),b=H(a,"font-weight"),-h=H(a,"font-style"),f="";"start"===c&&(c="rtl"===H(a,"direction")?"right":"left");700<=b&&(f="bold");"italic"===h&&(f+=h);""===f&&(f="normal");c={style:{align:c,bcolor:ya(H(a,"background-color"),[255,255,255]),color:ya(H(a,"color"),[0,0,0]),fstyle:f},colspan:Q(a),rowspan:ha(a)};null!==a&&(a=a.getBoundingClientRect(),c.rect={width:a.width,height:a.height});return c}function Q(a){var c=d(a).attr("data-tableexport-colspan");"undefined"===typeof c&&d(a).is("[colspan]")&&(c=d(a).attr("colspan"));return parseInt(c)||-0}function ha(a){var c=d(a).attr("data-tableexport-rowspan");"undefined"===typeof c&&d(a).is("[rowspan]")&&(c=d(a).attr("rowspan"));return parseInt(c)||0}function H(a,c){try{return window.getComputedStyle?(c=c.replace(/([a-z])([A-Z])/,qb),"object"===typeof a&&void 0!==a.nodeType?window.getComputedStyle(a,null).getPropertyValue(c):"object"===typeof a&&a.length?a.getPropertyValue(c):""):a.currentStyle?a.currentStyle[c]:a.style[c]}catch(e){}return""}function bb(a,c,b){c=H(a,c).match(/\d+/);if(null!==-c){c=c[0];a=a.parentElement;var e=document.createElement("div");e.style.overflow="hidden";e.style.visibility="hidden";a.appendChild(e);e.style.width=100+b;b=100/e.offsetWidth;a.removeChild(e);return c*b}return 0}function rb(a){for(var c=new ArrayBuffer(a.length),b=new Uint8Array(c),h=0;h!==a.length;++h)b[h]=a.charCodeAt(h)&255;return c}function Ka(a){var c=a.c,b="";for(++c;c;c=Math.floor((c-1)/26))b=String.fromCharCode((c-1)%26+65)+b;return b+(""+(a.r+1))}function La(a,c){if("undefined"===typeof c||-"number"===typeof c)return La(a.s,a.e);"string"!==typeof a&&(a=Ka(a));"string"!==typeof c&&(c=Ka(c));return a===c?a:a+":"+c}function fb(a,c){var b=Number(a);if(isFinite(b))return b;var h=1;""!==c.thousandsSeparator&&(a=a.replace(new RegExp("([\\d])"+c.thousandsSeparator+"([\\d])","g"),"$1$2"));"."!==c.decimalMark&&(a=a.replace(new RegExp("([\\d])"+c.decimalMark+"([\\d])","g"),"$1.$2"));a=a.replace(/[$]/g,"").replace(/[%]/g,function(){h*=100;return""});if(isFinite(b=Number(a)))return b/h;a=a.replace(/[(](.*)[)]/,-function(a,c){h=-h;return c});return isFinite(b=Number(a))?b/h:b}function $a(a){var c=0,b;if(0===a.length)return c;var h=0;for(b=a.length;h<b;h++){var f=a.charCodeAt(h);c=(c<<5)-c+f;c|=0}return c}function T(a,c,e,h,f,d){var m=!0;"function"===typeof b.onBeforeSaveToFile&&(m=b.onBeforeSaveToFile(a,c,e,h,f),"boolean"!==typeof m&&(m=!0));if(m)try{if(gb=d?new Blob([String.fromCharCode(65279),[a]],{type:e+";charset="+h}):new Blob([a],{type:e+";charset="+h}),saveAs(gb,c,{autoBom:!1}),"function"===typeof b.onAfterSaveToFile)b.onAfterSaveToFile(a,-c)}catch(g){Ga(c,"data:"+e+(h.length?";charset="+h:"")+(f.length?";"+f:"")+",",d?"\ufeff"+a:a)}}function Ga(a,c,e){var d=window.navigator.userAgent;if(!1!==a&&window.navigator.msSaveOrOpenBlob)window.navigator.msSaveOrOpenBlob(new Blob([e]),a);else if(!1!==a&&(0<d.indexOf("MSIE ")||d.match(/Trident.*rv\:11\./))){if(c=document.createElement("iframe")){document.body.appendChild(c);c.setAttribute("style","display:none");c.contentDocument.open("txt/plain","replace");c.contentDocument.write(e);c.contentDocument.close();-c.contentWindow.focus();switch(a.substr(a.lastIndexOf(".")+1)){case "doc":case "json":case "png":case "pdf":case "xls":case "xlsx":a+=".txt"}c.contentDocument.execCommand("SaveAs",!0,a);document.body.removeChild(c)}}else{var f=document.createElement("a");if(f){var x=null;f.style.display="none";!1!==a?f.download=a:f.target="_blank";"object"===typeof e?(window.URL=window.URL||window.webkitURL,d=[],d.push(e),x=window.URL.createObjectURL(new Blob(d,{type:c})),f.href=x):0<=c.toLowerCase().indexOf("base64,")?-f.href=c+S(e):f.href=c+encodeURIComponent(e);document.body.appendChild(f);if(document.createEvent)null===Aa&&(Aa=document.createEvent("MouseEvents")),Aa.initEvent("click",!0,!1),f.dispatchEvent(Aa);else if(document.createEventObject)f.fireEvent("onclick");else if("function"===typeof f.onclick)f.onclick();setTimeout(function(){x&&window.URL.revokeObjectURL(x);document.body.removeChild(f);if("function"===typeof b.onAfterSaveToFile)b.onAfterSaveToFile(e,a)},100)}}}function S(a){var c,b="",d=0;if("string"===-typeof a){a=a.replace(/\x0d\x0a/g,"\n");var f="";for(c=0;c<a.length;c++){var x=a.charCodeAt(c);128>x?f+=String.fromCharCode(x):(127<x&&2048>x?f+=String.fromCharCode(x>>6|192):(f+=String.fromCharCode(x>>12|224),f+=String.fromCharCode(x>>6&63|128)),f+=String.fromCharCode(x&63|128))}a=f}for(;d<a.length;){var m=a.charCodeAt(d++);f=a.charCodeAt(d++);c=a.charCodeAt(d++);x=m>>2;m=(m&3)<<4|f>>4;var g=(f&15)<<2|c>>6;var p=c&63;isNaN(f)?g=p=64:isNaN(c)&&(p=64);b=b+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(x)+-"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(m)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(g)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(p)}return b}function sb(a,c,b,d){c&&"object"===typeof c||console.error("The headers should be an object or array, is: "+typeof c);b&&"object"===typeof b||console.error("The data should be an object or array, is: "+typeof b);d&&"object"!==typeof d&&console.error("The data should be an object or array, is: "+-typeof b);Array.prototype.forEach||console.error("The current browser does not support Array.prototype.forEach which is required for jsPDF-AutoTable");y=a;l=tb(d||{});Ma=1;F={y:!1===l.startY?l.margin.top:l.startY};a={textColor:30,fontSize:y.internal.getFontSize(),fontStyle:y.internal.getFont().fontStyle,fontName:y.internal.getFont().fontName};ub(c,b);vb();c=l.startY+l.margin.bottom+q.headerRow.height+(q.rows[0]&&"auto"===l.pageBreak?q.rows[0].height:0);"avoid"===l.pageBreak&&(c+=q.height);if("always"===-l.pageBreak&&!1!==l.startY||!1!==l.startY&&c>y.internal.pageSize.height)y.addPage(),F.y=l.margin.top;ma(a);l.beforePageContent(U());!1!==l.drawHeaderRow(q.headerRow,U({row:q.headerRow}))&&Na(q.headerRow,l.drawHeaderCell);ma(a);wb();l.afterPageContent(U());ma(a);return y}function za(a,c,b,d){"number"===typeof c&&"number"===typeof b||console.error("The x and y parameters are required. Missing for the text: ",a);var e=y.internal.getFontSize()/y.internal.scaleFactor,h=/\r\n|\r|\n/g,m=null,g=1;if("middle"===-d.valign||"bottom"===d.valign||"center"===d.halign||"right"===d.halign)m="string"===typeof a?a.split(h):a,g=m.length||1;b+=e*(2-1.15);"middle"===d.valign?b-=g/2*e:"bottom"===d.valign&&(b-=g*e);if("center"===d.halign||"right"===d.halign){h=e;"center"===d.halign&&(h*=.5);if(m&&1<=g){for(a=0;a<m.length;a++)y.text(m[a],c-y.getStringUnitWidth(m[a])*h,b),b+=e;return y}c-=y.getStringUnitWidth(a)*h}y.text(a,c,b);return y}function tb(a){var c=Z(I(),a);"undefined"!==typeof c.extendWidth&&(c.tableWidth=c.extendWidth?-"auto":"wrap",console.error("Use of deprecated option: extendWidth, use tableWidth instead."));"undefined"!==typeof c.margins&&("undefined"===typeof c.margin&&(c.margin=c.margins),console.error("Use of deprecated option: margins, use margin instead."));[["padding","cellPadding"],["lineHeight","rowHeight"],"fontSize","overflow"].forEach(function(a){var b="string"===typeof a?a:a[0];a="string"===typeof a?a:a[1];"undefined"!==typeof c[b]&&("undefined"===typeof c.styles[a]&&(c.styles[a]=c[b]),console.error("Use of deprecated option: "+-b+", use the style "+a+" instead."))});var b=c.margin;c.margin={};"number"===typeof b.horizontal&&(b.right=b.horizontal,b.left=b.horizontal);"number"===typeof b.vertical&&(b.top=b.vertical,b.bottom=b.vertical);["top","right","bottom","left"].forEach(function(a,d){"number"===typeof b?c.margin[a]=b:(d=Array.isArray(b)?d:a,c.margin[a]="number"===typeof b[d]?b[d]:40)});return c}function ub(a,b){q=new w;q.x=l.margin.left;var c=/\r\n|\r|\n/g,h=new J(a);h.index=-1;var f=Z(Ba,pa[l.theme].table,pa[l.theme].header);-h.styles=Z(f,l.styles,l.headerStyles);a.forEach(function(a,b){"object"===typeof a&&(b="undefined"!==typeof a.dataKey?a.dataKey:a.key);"undefined"!==typeof a.width&&console.error("Use of deprecated option: column.width, use column.styles.columnWidth instead.");var g=new wa(b);g.styles=l.columnStyles[g.dataKey]||{};q.columns.push(g);var e=new K;e.raw="object"===typeof a?a.title:a;e.styles=d.extend({},h.styles);e.text=""+e.raw;e.contentWidth=2*e.styles.cellPadding+Ca(e.text,e.styles);e.text=e.text.split(c);-h.cells[b]=e;l.createdHeaderCell(e,{column:g,row:h,settings:l})});q.headerRow=h;b.forEach(function(a,b){var d=new J(a),e=0===b%2,f=Z(Ba,pa[l.theme].table,e?pa[l.theme].alternateRow:{});e=Z(l.styles,l.bodyStyles,e?l.alternateRowStyles:{});d.styles=Z(f,e);d.index=b;q.columns.forEach(function(b){var g=new K;g.raw=a[b.dataKey];g.styles=Z(d.styles,b.styles);g.text="undefined"!==typeof g.raw?""+g.raw:"";d.cells[b.dataKey]=g;l.createdCell(g,U({column:b,row:d}));g.contentWidth=2*g.styles.cellPadding+Ca(g.text,-g.styles);g.text=g.text.split(c)});q.rows.push(d)})}function vb(){var a=0;q.columns.forEach(function(b){b.contentWidth=q.headerRow.cells[b.dataKey].contentWidth;q.rows.forEach(function(a){a=a.cells[b.dataKey].contentWidth;a>b.contentWidth&&(b.contentWidth=a)});b.width=b.contentWidth;a+=b.contentWidth});q.contentWidth=a;var b=y.internal.pageSize.width-l.margin.left-l.margin.right,d=b;"number"===typeof l.tableWidth?d=l.tableWidth:"wrap"===l.tableWidth&&(d=q.contentWidth);q.width=d<b?d:b;var h=[],f=-0,k=q.width/q.columns.length,m=0;q.columns.forEach(function(a){var b=Z(Ba,pa[l.theme].table,l.styles,a.styles);"wrap"===b.columnWidth?a.width=a.contentWidth:"number"===typeof b.columnWidth?a.width=b.columnWidth:a.contentWidth<=k&&q.contentWidth>q.width?a.width=a.contentWidth:(h.push(a),f+=a.contentWidth,a.width=0);m+=a.width});hb(h,m,f,k);q.height=0;q.rows.concat(q.headerRow).forEach(function(a,b){var c=0,d=q.x;q.columns.forEach(function(b){var e=a.cells[b.dataKey];b.x=d;ma(e.styles);var g=b.width--2*e.styles.cellPadding;"linebreak"===e.styles.overflow?e.text=y.splitTextToSize(e.text,g+1,{fontSize:e.styles.fontSize}):"ellipsize"===e.styles.overflow?e.text=Oa(e.text,g,e.styles):"visible"!==e.styles.overflow&&("hidden"===e.styles.overflow?e.text=Oa(e.text,g,e.styles,""):"function"===typeof e.styles.overflow?e.text=e.styles.overflow(e.text,g):console.error("Unrecognized overflow type: "+e.styles.overflow));e=Array.isArray(e.text)?e.text.length-1:0;e>c&&(c=e);d+=b.width});a.heightStyle=a.styles.rowHeight;-a.height=a.heightStyle+c*a.styles.fontSize*1.15+(2-1.15)/2*a.styles.fontSize;q.height+=a.height})}function hb(a,b,d,h){for(var c=q.width-b-d,e=0;e<a.length;e++){var m=a[e],g=m.contentWidth/d,p=m.contentWidth+c*g<h;if(0>c&&p){a.splice(e,1);d-=m.contentWidth;m.width=h;b+=m.width;hb(a,b,d,h);break}else m.width=m.contentWidth+c*g}}function wb(){q.rows.forEach(function(a,b){F.y+a.height+l.margin.bottom>=y.internal.pageSize.height&&(l.afterPageContent(U()),y.addPage(),Ma++,F={x:l.margin.left,y:l.margin.top},-l.beforePageContent(U()),!1!==l.drawHeaderRow(q.headerRow,U({row:q.headerRow}))&&Na(q.headerRow,l.drawHeaderCell));a.y=F.y;!1!==l.drawRow(a,U({row:a}))&&Na(a,l.drawCell)})}function Na(a,b){for(var c=0;c<q.columns.length;c++){var d=q.columns[c],f=a.cells[d.dataKey];f&&(ma(f.styles),f.x=d.x,f.y=F.y,f.height=a.height,f.width=d.width,f.textPos.y="top"===f.styles.valign?F.y+f.styles.cellPadding:"bottom"===f.styles.valign?F.y+a.height-f.styles.cellPadding:F.y+a.height/2,f.textPos.x="right"===f.styles.halign?-f.x+f.width-f.styles.cellPadding:"center"===f.styles.halign?f.x+f.width/2:f.x+f.styles.cellPadding,d=U({column:d,row:a}),!1!==b(f,d)&&(y.rect(f.x,f.y,f.width,f.height,f.styles.fillStyle),za(f.text,f.textPos.x,f.textPos.y,{halign:f.styles.halign,valign:f.styles.valign})))}F.y+=a.height}function ma(a){[{func:y.setFillColor,value:a.fillColor},{func:y.setTextColor,value:a.textColor},{func:y.setFont,value:a.font,style:a.fontStyle},{func:y.setDrawColor,value:a.lineColor},{func:y.setLineWidth,value:a.lineWidth},-{func:y.setFont,value:a.font},{func:y.setFontSize,value:a.fontSize}].forEach(function(a){"undefined"!==typeof a.value&&(a.value.constructor===Array?a.func.apply(y,a.value):"undefined"!==typeof a.style?a.func(a.value,a.style):a.func(a.value))})}function U(a){a=a||{};var b={pageCount:Ma,settings:l,table:q,cursor:F},d;for(d in a)a.hasOwnProperty(d)&&(b[d]=a[d]);return b}function Oa(a,b,d,h){h="undefined"!==typeof h?h:"...";if(Array.isArray(a))return a.forEach(function(c,e){a[e]=Oa(c,b,d,h)}),a;if(b>=-Ca(a,d))return a;for(;b<Ca(a+h,d)&&!(2>a.length);)a=a.substring(0,a.length-1);return a.trim()+h}function Ca(a,b){ma(b);return y.getStringUnitWidth(a)*b.fontSize}function Z(a){var b={},d;for(d in a)a.hasOwnProperty(d)&&(b[d]=a[d]);for(var h=1;h<arguments.length;h++){var f=arguments[h];for(d in f)f.hasOwnProperty(d)&&(b[d]=f[d])}return b}var L,b={csvEnclosure:'"',csvSeparator:",",csvUseBOM:!0,date:{html:"dd/mm/yyyy"},displayTableName:!1,escape:!1,exportHiddenCells:!1,fileName:"tableExport",htmlContent:!1,-htmlHyperlink:"content",ignoreColumn:[],ignoreRow:[],jsonScope:"all",jspdf:{orientation:"p",unit:"pt",format:"a4",margins:{left:20,right:10,top:10,bottom:10},onDocCreated:null,autotable:{styles:{cellPadding:2,rowHeight:12,fontSize:8,fillColor:255,textColor:50,fontStyle:"normal",overflow:"ellipsize",halign:"inherit",valign:"middle"},headerStyles:{fillColor:[52,73,94],textColor:255,fontStyle:"bold",halign:"inherit",valign:"middle"},alternateRowStyles:{fillColor:245},tableExport:{doc:null,onAfterAutotable:null,-onBeforeAutotable:null,onAutotableText:null,onTable:null,outputImages:!0}}},mso:{fileFormat:"xlshtml",onMsoNumberFormat:null,pageFormat:"a4",pageOrientation:"portrait",rtl:!1,styles:[],worksheetName:"",xlsx:{formatId:{date:14,numbers:2,currency:164},format:{currency:"$#,##0.00;[Red]-$#,##0.00"},onHyperlink:null}},numbers:{html:{decimalMark:".",thousandsSeparator:","},output:{decimalMark:".",thousandsSeparator:","}},onAfterSaveToFile:null,onBeforeSaveToFile:null,onCellData:null,onCellHtmlData:null,-onCellHtmlHyperlink:null,onIgnoreRow:null,onTableExportBegin:null,onTableExportEnd:null,outputMode:"file",pdfmake:{enabled:!1,docDefinition:{pageSize:"A4",pageOrientation:"portrait",styles:{header:{background:"#34495E",color:"#FFFFFF",bold:!0,alignment:"center",fillColor:"#34495E"},alternateRow:{fillColor:"#f5f5f5"}},defaultStyle:{color:"#000000",fontSize:8,font:"Roboto"}},fonts:{}},preserve:{leadingWS:!1,trailingWS:!1},preventInjection:!0,sql:{tableEnclosure:"`",columnEnclosure:"`"},tbodySelector:"tr",-tfootSelector:"tr",theadSelector:"tr",tableName:"Table",type:"csv"},V={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,-3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]},pa={striped:{table:{fillColor:255,textColor:80,fontStyle:"normal",fillStyle:"F"},header:{textColor:255,fillColor:[41,128,185],rowHeight:23,-fontStyle:"bold"},body:{},alternateRow:{fillColor:245}},grid:{table:{fillColor:255,textColor:80,fontStyle:"normal",lineWidth:.1,fillStyle:"DF"},header:{textColor:255,fillColor:[26,188,156],rowHeight:23,fillStyle:"F",fontStyle:"bold"},body:{},alternateRow:{}},plain:{header:{fontStyle:"bold"}}},Ba={cellPadding:5,fontSize:10,fontName:"helvetica",lineColor:200,lineWidth:.1,fontStyle:"normal",overflow:"ellipsize",fillColor:255,textColor:20,halign:"left",valign:"top",fillStyle:"F",rowHeight:20,columnWidth:"auto"},-u=this,Aa=null,v=[],A=[],r=0,t="",fa=[],N=[],gb,R=[],ka=!1;d.extend(!0,b,lb);"xlsx"===b.type&&(b.mso.fileFormat=b.type,b.type="excel");"undefined"!==typeof b.excelFileFormat&&"undefined"===typeof b.mso.fileFormat&&(b.mso.fileFormat=b.excelFileFormat);"undefined"!==typeof b.excelPageFormat&&"undefined"===typeof b.mso.pageFormat&&(b.mso.pageFormat=b.excelPageFormat);"undefined"!==typeof b.excelPageOrientation&&"undefined"===typeof b.mso.pageOrientation&&(b.mso.pageOrientation=b.excelPageOrientation);-"undefined"!==typeof b.excelRTL&&"undefined"===typeof b.mso.rtl&&(b.mso.rtl=b.excelRTL);"undefined"!==typeof b.excelstyles&&"undefined"===typeof b.mso.styles&&(b.mso.styles=b.excelstyles);"undefined"!==typeof b.onMsoNumberFormat&&"undefined"===typeof b.mso.onMsoNumberFormat&&(b.mso.onMsoNumberFormat=b.onMsoNumberFormat);"undefined"!==typeof b.worksheetName&&"undefined"===typeof b.mso.worksheetName&&(b.mso.worksheetName=b.worksheetName);"undefined"!==typeof b.mso.xslx&&"undefined"===typeof b.mso.xlsx&&-(b.mso.xlsx=b.mso.xslx);b.mso.pageOrientation="l"===b.mso.pageOrientation.substr(0,1)?"landscape":"portrait";b.date.html=b.date.html||"";if(b.date.html.length){var ia=[];ia.dd="(3[01]|[12][0-9]|0?[1-9])";ia.mm="(1[012]|0?[1-9])";ia.yyyy="((?:1[6-9]|2[0-2])\\d{2})";ia.yy="(\\d{2})";var xb=b.date.html.match(/[^a-zA-Z0-9]/)[0],aa=b.date.html.toLowerCase().split(xb);b.date.regex="^\\s*";b.date.regex+=ia[aa[0]];b.date.regex+="(.)";b.date.regex+=ia[aa[1]];b.date.regex+="\\2";b.date.regex+=ia[aa[2]];b.date.regex+=-"\\s*$";b.date.pattern=new RegExp(b.date.regex,"g");var ba=aa.indexOf("dd")+1;b.date.match_d=ba+(1<ba?1:0);ba=aa.indexOf("mm")+1;b.date.match_m=ba+(1<ba?1:0);ba=(0<=aa.indexOf("yyyy")?aa.indexOf("yyyy"):aa.indexOf("yy"))+1;b.date.match_y=ba+(1<ba?1:0)}fa=xa(u);if("function"===typeof b.onTableExportBegin)b.onTableExportBegin();if("csv"===b.type||"tsv"===b.type||"txt"===b.type){var ca="",qa=0;N=[];r=0;var Pa=function(a,c,e){a.each(function(){t="";G(this,c,r,e+a.length,function(a,c,d){var e=t,g="";if(null!==-a)if(a=E(a,c,d),c=null===a||""===a?"":a.toString(),"tsv"===b.type)a instanceof Date&&a.toLocaleString(),g=la(c,"\t"," ");else if(a instanceof Date)g=b.csvEnclosure+a.toLocaleString()+b.csvEnclosure;else if(g=db(c),g=la(g,b.csvEnclosure,b.csvEnclosure+b.csvEnclosure),0<=g.indexOf(b.csvSeparator)||/[\r\n ]/g.test(g))g=b.csvEnclosure+g+b.csvEnclosure;t=e+(g+("tsv"===b.type?"\t":b.csvSeparator))});t=d.trim(t).substring(0,t.length-1);0<t.length&&(0<ca.length&&(ca+="\n"),ca+=t);r++});return a.length};qa+=-Pa(d(u).find("thead").first().find(b.theadSelector),"th,td",qa);P(d(u),"tbody").each(function(){qa+=Pa(P(d(this),b.tbodySelector),"td,th",qa)});b.tfootSelector.length&&Pa(d(u).find("tfoot").first().find(b.tfootSelector),"td,th",qa);ca+="\n";if("string"===b.outputMode)return ca;if("base64"===b.outputMode)return S(ca);if("window"===b.outputMode){Ga(!1,"data:text/"+("csv"===b.type?"csv":"plain")+";charset=utf-8,",ca);return}T(ca,b.fileName+"."+b.type,"text/"+("csv"===b.type?"csv":"plain"),"utf-8","",-"csv"===b.type&&b.csvUseBOM)}else if("sql"===b.type){r=0;N=[];var D="INSERT INTO "+b.sql.tableEnclosure+b.tableName+b.sql.tableEnclosure+" (";v=X(d(u));d(v).each(function(){G(this,"th,td",r,v.length,function(a,c,d){a=E(a,c,d)||"";-1<a.indexOf(b.sql.columnEnclosure)&&(a=la(a.toString(),b.sql.columnEnclosure,b.sql.columnEnclosure+b.sql.columnEnclosure));D+=b.sql.columnEnclosure+a+b.sql.columnEnclosure+","});r++;D=d.trim(D).substring(0,D.length-1)});D+=") VALUES ";A=Y(d(u));d(A).each(function(){t="";-G(this,"td,th",r,v.length+A.length,function(a,b,d){a=E(a,b,d)||"";-1<a.indexOf("'")&&(a=la(a.toString(),"'","''"));t+="'"+a+"',"});3<t.length&&(D+="("+t,D=d.trim(D).substring(0,D.length-1),D+="),");r++});D=d.trim(D).substring(0,D.length-1);D+=";";if("string"===b.outputMode)return D;if("base64"===b.outputMode)return S(D);T(D,b.fileName+".sql","application/sql","utf-8","",!1)}else if("json"===b.type){var na=[];N=[];v=X(d(u));d(v).each(function(){var a=[];G(this,"th,td",r,v.length,function(b,d,h){a.push(E(b,-d,h))});na.push(a)});var Qa=[];A=Y(d(u));d(A).each(function(){var a={},b=0;G(this,"td,th",r,v.length+A.length,function(c,d,f){na.length?a[na[na.length-1][b]]=E(c,d,f):a[b]=E(c,d,f);b++});!1===d.isEmptyObject(a)&&Qa.push(a);r++});var Ra="head"===b.jsonScope?JSON.stringify(na):"data"===b.jsonScope?JSON.stringify(Qa):JSON.stringify({header:na,data:Qa});if("string"===b.outputMode)return Ra;if("base64"===b.outputMode)return S(Ra);T(Ra,b.fileName+".json","application/json","utf-8","base64",!1)}else if("xml"===-b.type){r=0;N=[];var da='<?xml version="1.0" encoding="utf-8"?>';da+="<tabledata><fields>";v=X(d(u));d(v).each(function(){G(this,"th,td",r,v.length,function(a,b,d){da+="<field>"+E(a,b,d)+"</field>"});r++});da+="</fields><data>";var ib=1;A=Y(d(u));d(A).each(function(){var a=1;t="";G(this,"td,th",r,v.length+A.length,function(b,d,h){t+="<column-"+a+">"+E(b,d,h)+"</column-"+a+">";a++});0<t.length&&"<column-1></column-1>"!==t&&(da+='<row id="'+ib+'">'+t+"</row>",ib++);r++});da+="</data></tabledata>";if("string"===-b.outputMode)return da;if("base64"===b.outputMode)return S(da);T(da,b.fileName+".xml","application/xml","utf-8","base64",!1)}else if("excel"===b.type&&"xmlss"===b.mso.fileFormat){var Sa=[],M=[];d(u).filter(function(){return O(d(this))}).each(function(){function a(a,b,c){var e=[];d(a).each(function(){var b=0,f=0;t="";G(this,"td,th",r,c+a.length,function(a,c,g){if(null!==a){var m="";c=E(a,c,g);g="String";if(!1!==jQuery.isNumeric(c))g="Number";else{var h=pb(c);!1!==h&&(c=h,g="Number",m+=' ss:StyleID="pct1"')}"Number"!==-g&&(c=c.replace(/\n/g,"<br>"));h=Q(a);a=ha(a);d.each(e,function(){if(r>=this.s.r&&r<=this.e.r&&f>=this.s.c&&f<=this.e.c)for(var a=0;a<=this.e.c-this.s.c;++a)f++,b++});if(a||h)a=a||1,h=h||1,e.push({s:{r:r,c:f},e:{r:r+a-1,c:f+h-1}});1<h&&(m+=' ss:MergeAcross="'+(h-1)+'"',f+=h-1);1<a&&(m+=' ss:MergeDown="'+(a-1)+'" ss:StyleID="rsp1"');0<b&&(m+=' ss:Index="'+(f+1)+'"',b=0);t+="<Cell"+m+'><Data ss:Type="'+g+'">'+d("<div />").text(c).html()+"</Data></Cell>\r";f++}});0<t.length&&(L+='<Row ss:AutoFitHeight="0">\r'+-t+"</Row>\r");r++});return a.length}var c=d(this),e="";"string"===typeof b.mso.worksheetName&&b.mso.worksheetName.length?e=b.mso.worksheetName+" "+(M.length+1):"undefined"!==typeof b.mso.worksheetName[M.length]&&(e=b.mso.worksheetName[M.length]);e.length||(e=c.find("caption").text()||"");e.length||(e="Table "+(M.length+1));e=d.trim(e.replace(/[\\\/[\]*:?'"]/g,"").substring(0,31));M.push(d("<div />").text(e).html());!1===b.exportHiddenCells&&(R=c.find("tr, th, td").filter(":hidden"),ka=0<R.length);-r=0;fa=xa(this);L="<Table>\r";e=a(X(c),"th,td",0);a(Y(c),"td,th",e);L+="</Table>\r";Sa.push(L)});for(var Da={},Ta={},ea,ra,oa=0,yb=M.length;oa<yb;oa++)ea=M[oa],ra=Da[ea],ra=Da[ea]=null==ra?1:ra+1,2===ra&&(M[Ta[ea]]=M[Ta[ea]].substring(0,29)+"-1"),1<Da[ea]?M[oa]=M[oa].substring(0,29)+"-"+Da[ea]:Ta[ea]=oa;for(var W='<?xml version="1.0" encoding="UTF-8"?>\r<?mso-application progid="Excel.Sheet"?>\r<Workbook xmlns="urn:schemas-microsoft-com:office:spreadsheet"\r xmlns:o="urn:schemas-microsoft-com:office:office"\r xmlns:x="urn:schemas-microsoft-com:office:excel"\r xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet"\r xmlns:html="http://www.w3.org/TR/REC-html40">\r<DocumentProperties xmlns="urn:schemas-microsoft-com:office:office">\r <Created>'+-(new Date).toISOString()+'</Created>\r</DocumentProperties>\r<OfficeDocumentSettings xmlns="urn:schemas-microsoft-com:office:office">\r <AllowPNG/>\r</OfficeDocumentSettings>\r<ExcelWorkbook xmlns="urn:schemas-microsoft-com:office:excel">\r <WindowHeight>9000</WindowHeight>\r <WindowWidth>13860</WindowWidth>\r <WindowTopX>0</WindowTopX>\r <WindowTopY>0</WindowTopY>\r <ProtectStructure>False</ProtectStructure>\r <ProtectWindows>False</ProtectWindows>\r</ExcelWorkbook>\r<Styles>\r <Style ss:ID="Default" ss:Name="Normal">\r <Alignment ss:Vertical="Bottom"/>\r <Borders/>\r <Font/>\r <Interior/>\r <NumberFormat/>\r <Protection/>\r </Style>\r <Style ss:ID="rsp1">\r <Alignment ss:Vertical="Center"/>\r </Style>\r <Style ss:ID="pct1">\r <NumberFormat ss:Format="Percent"/>\r </Style>\r</Styles>\r',-Ea=0;Ea<Sa.length;Ea++)W+='<Worksheet ss:Name="'+M[Ea]+'" ss:RightToLeft="'+(b.mso.rtl?"1":"0")+'">\r'+Sa[Ea],W=b.mso.rtl?W+'<WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel">\r<DisplayRightToLeft/>\r</WorksheetOptions>\r':W+'<WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel"/>\r',W+="</Worksheet>\r";W+="</Workbook>\r";if("string"===b.outputMode)return W;if("base64"===b.outputMode)return S(W);T(W,b.fileName+".xml","application/xml","utf-8","base64",!1)}else if("excel"===-b.type&&"xlsx"===b.mso.fileFormat){var sa=[],jb=XLSX.utils.book_new();d(u).filter(function(){return O(d(this))}).each(function(){for(var a=d(this),c,e={},h=this.getElementsByTagName("tr"),f=Math.min(1E7,h.length),k={s:{r:0,c:0},e:{r:0,c:0}},m=[],g,p=0,B=0,z,l,r,q,n,t=XLSX.SSF.get_table();p<h.length&&B<f;++p)if(z=h[p],l=!1,"function"===typeof b.onIgnoreRow&&(l=b.onIgnoreRow(d(z),p)),!0!==l&&(0===b.ignoreRow.length||-1===d.inArray(p,b.ignoreRow)&&-1===d.inArray(p-h.length,b.ignoreRow))&&!1!==O(d(z))){var v=-z.children,y=0;for(z=0;z<v.length;++z)n=v[z],q=+Q(n)||1,y+=q;var A=0;for(z=l=0;z<v.length;++z)if(n=v[z],q=+Q(n)||1,g=z+A,!Va(d(n),y,g+(g<l?l-g:0))){A+=q-1;for(g=0;g<m.length;++g){var C=m[g];C.s.c==l&&C.s.r<=B&&B<=C.e.r&&(l=C.e.c+1,g=-1)}(0<(r=+ha(n))||1<q)&&m.push({s:{r:B,c:l},e:{r:B+(r||1)-1,c:l+q-1}});var w={type:""};C=E(n,p,z+A,w);g={t:"s",v:C};var u="";if(""!==(d(n).attr("data-tableexport-cellformat")||void 0))if(c=parseInt(d(n).attr("data-tableexport-xlsxformatid")||0),0===c&&"function"===typeof b.mso.xlsx.formatId.numbers&&-(c=b.mso.xlsx.formatId.numbers(d(n),p,z+A)),0===c&&"function"===typeof b.mso.xlsx.formatId.date&&(c=b.mso.xlsx.formatId.date(d(n),p,z+A)),49===c||"@"===c)u="s";else if("number"===w.type||0<c&&14>c||36<c&&41>c||48===c)u="n";else{if("date"===w.type||13<c&&37>c||44<c&&48>c||56===c)u="d"}else u="s";if(null!=C){if(0===C.length)g.t="z";else if(0!==C.trim().length&&"s"!==u)if("function"===w.type)g={f:C};else if("TRUE"===C)g={t:"b",v:!0};else if("FALSE"===C)g={t:"b",v:!1};else if("n"===u||isFinite(fb(C,b.numbers.output))){if(u=-fb(C,b.numbers.output),0===c&&"function"!==typeof b.mso.xlsx.formatId.numbers&&(c=b.mso.xlsx.formatId.numbers),isFinite(u)||isFinite(C))g={t:"n",v:isFinite(u)?u:C,z:"string"===typeof c?c:c in t?t[c]:c===b.mso.xlsx.formatId.currency?b.mso.xlsx.format.currency:"0.00"}}else if(!1!==(w=ob(C))||"d"===u)0===c&&"function"!==typeof b.mso.xlsx.formatId.date&&(c=b.mso.xlsx.formatId.date),g={t:"d",v:!1!==w?w:C,z:"string"===typeof c?c:c in t?t[c]:"m/d/yy"};(u=d(n).find("a"))&&u.length&&(u=u[0].hasAttribute("href")?-u.attr("href"):"",C="href"!==b.htmlHyperlink||""===u?C:"",w=""!==u?'=HYPERLINK("'+u+(C.length?'","'+C:"")+'")':"",""!==w&&("function"===typeof b.mso.xlsx.onHyperlink?(C=b.mso.xlsx.onHyperlink(d(n),p,z,u,C,w),g=0!==C.indexOf("=HYPERLINK")?{t:"s",v:C}:{f:C}):g={f:w}))}e[Ka({c:l,r:B})]=g;k.e.c<l&&(k.e.c=l);l+=q}++B}m.length&&(e["!merges"]=(e["!merges"]||[]).concat(m));k.e.r=Math.max(k.e.r,B-1);e["!ref"]=La(k);B>=f&&(e["!fullref"]=La((k.e.r=h.length-p+B-1,k)));c="";"string"===typeof b.mso.worksheetName&&-b.mso.worksheetName.length?c=b.mso.worksheetName+" "+(sa.length+1):"undefined"!==typeof b.mso.worksheetName[sa.length]&&(c=b.mso.worksheetName[sa.length]);c.length||(c=a.find("caption").text()||"");c.length||(c="Table "+(sa.length+1));c=d.trim(c.replace(/[\\\/[\]*:?'"]/g,"").substring(0,31));sa.push(c);XLSX.utils.book_append_sheet(jb,e,c)});var zb=XLSX.write(jb,{type:"binary",bookType:b.mso.fileFormat,bookSST:!1});T(rb(zb),b.fileName+"."+b.mso.fileFormat,"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",-"UTF-8","",!1)}else if("excel"===b.type||"xls"===b.type||"word"===b.type||"doc"===b.type){var ta="excel"===b.type||"xls"===b.type?"excel":"word",Ab="excel"===ta?"xls":"doc",Bb='xmlns:x="urn:schemas-microsoft-com:office:'+ta+'"',ua=L="";d(u).filter(function(){return O(d(this))}).each(function(){var a=d(this);""===ua&&(ua=b.mso.worksheetName||a.find("caption").text()||"Table",ua=d.trim(ua.replace(/[\\\/[\]*:?'"]/g,"").substring(0,31)));!1===b.exportHiddenCells&&(R=a.find("tr, th, td").filter(":hidden"),-ka=0<R.length);r=0;N=[];fa=xa(this);L+="<table><thead>";v=X(a);d(v).each(function(){var a=d(this),e=document.defaultView.getComputedStyle(a[0],null);t="";G(this,"th,td",r,v.length,function(a,c,d){if(null!==a){var f="";t+="<th";if(b.mso.styles.length){var g=document.defaultView.getComputedStyle(a,null),h;for(h in b.mso.styles){var k=b.mso.styles[h],l=H(g,k);""===l&&(l=H(e,k));""!==l&&"0px none rgb(0, 0, 0)"!==l&&"rgba(0, 0, 0, 0)"!==l&&(f+=""===f?'style="':";",f+=k+":"+l)}}""!==f&&(t+=" "+f+'"');f=-Q(a);0<f&&(t+=' colspan="'+f+'"');f=ha(a);0<f&&(t+=' rowspan="'+f+'"');t+=">"+E(a,c,d)+"</th>"}});0<t.length&&(L+="<tr>"+t+"</tr>");r++});L+="</thead><tbody>";A=Y(a);d(A).each(function(){var a=d(this),e=null,h=null;t="";G(this,"td,th",r,v.length+A.length,function(c,k,m){if(null!==c){var g=E(c,k,m),f="",l=d(c).attr("data-tableexport-msonumberformat");"undefined"===typeof l&&"function"===typeof b.mso.onMsoNumberFormat&&(l=b.mso.onMsoNumberFormat(c,k,m));"undefined"!==typeof l&&""!==l&&(f="style=\"mso-number-format:'"+-l+"'");if(b.mso.styles.length){e=document.defaultView.getComputedStyle(c,null);h=null;for(var n in b.mso.styles)k=b.mso.styles[n],l=H(e,k),""===l&&(null===h&&(h=document.defaultView.getComputedStyle(a[0],null)),l=H(h,k)),""!==l&&"0px none rgb(0, 0, 0)"!==l&&"rgba(0, 0, 0, 0)"!==l&&(f+=""===f?'style="':";",f+=k+":"+l)}t+="<td";""!==f&&(t+=" "+f+'"');f=Q(c);0<f&&(t+=' colspan="'+f+'"');c=ha(c);0<c&&(t+=' rowspan="'+c+'"');"string"===typeof g&&""!==g&&(g=db(g),g=g.replace(/\n/g,"<br>"));t+=">"+g+"</td>"}});-0<t.length&&(L+="<tr>"+t+"</tr>");r++});b.displayTableName&&(L+="<tr><td></td></tr><tr><td></td></tr><tr><td>"+E(d("<p>"+b.tableName+"</p>"))+"</td></tr>");L+="</tbody></table>"});var n='<html xmlns:o="urn:schemas-microsoft-com:office:office" '+Bb+' xmlns="http://www.w3.org/TR/REC-html40">';n+="<head>";n+='<meta http-equiv="content-type" content="application/vnd.ms-'+ta+'; charset=UTF-8">';"excel"===ta&&(n+="\x3c!--[if gte mso 9]>",n+="<xml>",n+="<x:ExcelWorkbook>",n+="<x:ExcelWorksheets>",n+="<x:ExcelWorksheet>",-n+="<x:Name>",n+=ua,n+="</x:Name>",n+="<x:WorksheetOptions>",n+="<x:DisplayGridlines/>",b.mso.rtl&&(n+="<x:DisplayRightToLeft/>"),n+="</x:WorksheetOptions>",n+="</x:ExcelWorksheet>",n+="</x:ExcelWorksheets>",n+="</x:ExcelWorkbook>",n+="</xml>",n+="<![endif]--\x3e");n+="<style>";n+="@page { size:"+b.mso.pageOrientation+"; mso-page-orientation:"+b.mso.pageOrientation+"; }";n+="@page Section1 {size:"+V[b.mso.pageFormat][0]+"pt "+V[b.mso.pageFormat][1]+"pt";n+="; margin:1.0in 1.25in 1.0in 1.25in;mso-header-margin:.5in;mso-footer-margin:.5in;mso-paper-source:0;}";-n+="div.Section1 {page:Section1;}";n+="@page Section2 {size:"+V[b.mso.pageFormat][1]+"pt "+V[b.mso.pageFormat][0]+"pt";n+=";mso-page-orientation:"+b.mso.pageOrientation+";margin:1.25in 1.0in 1.25in 1.0in;mso-header-margin:.5in;mso-footer-margin:.5in;mso-paper-source:0;}";n+="div.Section2 {page:Section2;}";n+="br {mso-data-placement:same-cell;}";n+="</style>";n+="</head>";n+="<body>";n+='<div class="Section'+("landscape"===b.mso.pageOrientation?"2":"1")+'">';n+=L;n+="</div>";n+="</body>";n+="</html>";-if("string"===b.outputMode)return n;if("base64"===b.outputMode)return S(n);T(n,b.fileName+"."+Ab,"application/vnd.ms-"+ta,"","base64",!1)}else if("png"===b.type)html2canvas(d(u)[0]).then(function(a){a=a.toDataURL();for(var c=atob(a.substring(22)),d=new ArrayBuffer(c.length),h=new Uint8Array(d),f=0;f<c.length;f++)h[f]=c.charCodeAt(f);if("string"===b.outputMode)return c;if("base64"===b.outputMode)return S(a);"window"===b.outputMode?window.open(a):T(d,b.fileName+".png","image/png","","",!1)});else if("pdf"===-b.type)if(!0===b.pdfmake.enabled){var ja={content:[]};d.extend(!0,ja,b.pdfmake.docDefinition);N=[];d(u).filter(function(){return O(d(this))}).each(function(){var a=d(this),c=[],e=[];r=0;var h=function(a,b,c){var g=0;d(a).each(function(){var a=[];G(this,b,r,c,function(c,d,g){if("undefined"!==typeof c&&null!==c){var e=Q(c),f=ha(c);c={text:E(c,d,g)||" "};if(1<e||1<f)c.colSpan=e||1,c.rowSpan=f||1}else c={text:" "};0<=b.indexOf("th")&&(c.style="header");a.push(c)});a.length&&e.push(a);g<a.length&&(g=a.length);-r++});return g};v=X(a);for(var f=h(v,"th,td",v.length),k=c.length;k<f;k++)c.push("*");A=Y(a);f=h(A,"td",v.length+A.length);for(a=c.length;a<f;a++)c.push("*");ja.content.push({table:{headerRows:v.length?v.length:null,widths:c,body:e},layout:{layout:"noBorders",hLineStyle:function(a,b){return 0},vLineWidth:function(a,b){return 0},hLineColor:function(a,c){return a<c.table.headerRows?b.pdfmake.docDefinition.styles.header.background:b.pdfmake.docDefinition.styles.alternateRow.fillColor},vLineColor:function(a,-c){return a<c.table.headerRows?b.pdfmake.docDefinition.styles.header.background:b.pdfmake.docDefinition.styles.alternateRow.fillColor},fillColor:function(a,c,d){return 0===a%2?b.pdfmake.docDefinition.styles.alternateRow.fillColor:null}},pageBreak:ja.content.length?"before":void 0})});"undefined"!==typeof pdfMake&&"undefined"!==typeof pdfMake.createPdf&&(pdfMake.fonts={Roboto:{normal:"Roboto-Regular.ttf",bold:"Roboto-Medium.ttf",italics:"Roboto-Italic.ttf",bolditalics:"Roboto-MediumItalic.ttf"}},pdfMake.vfs.hasOwnProperty("Mirza-Regular.ttf")?-(ja.defaultStyle.font="Mirza",d.extend(!0,pdfMake.fonts,{Mirza:{normal:"Mirza-Regular.ttf",bold:"Mirza-Bold.ttf",italics:"Mirza-Medium.ttf",bolditalics:"Mirza-SemiBold.ttf"}})):pdfMake.vfs.hasOwnProperty("gbsn00lp.ttf")?(ja.defaultStyle.font="gbsn00lp",d.extend(!0,pdfMake.fonts,{gbsn00lp:{normal:"gbsn00lp.ttf",bold:"gbsn00lp.ttf",italics:"gbsn00lp.ttf",bolditalics:"gbsn00lp.ttf"}})):pdfMake.vfs.hasOwnProperty("ZCOOLXiaoWei-Regular.ttf")&&(ja.defaultStyle.font="ZCOOLXiaoWei",d.extend(!0,pdfMake.fonts,-{ZCOOLXiaoWei:{normal:"ZCOOLXiaoWei-Regular.ttf",bold:"ZCOOLXiaoWei-Regular.ttf",italics:"ZCOOLXiaoWei-Regular.ttf",bolditalics:"ZCOOLXiaoWei-Regular.ttf"}})),d.extend(!0,pdfMake.fonts,b.pdfmake.fonts),pdfMake.createPdf(ja).getBuffer(function(a){T(a,b.fileName+".pdf","application/pdf","","",!1)}))}else if(!1===b.jspdf.autotable){var Ua=new jspdf.jsPDF({orientation:b.jspdf.orientation,unit:b.jspdf.unit,format:b.jspdf.format});Ua.html(u[0],{callback:function(){Xa(Ua,!1)},html2canvas:{scale:(Ua.internal.pageSize.width--2*b.jspdf.margins.left)/u[0].scrollWidth},x:b.jspdf.margins.left,y:b.jspdf.margins.top})}else{var k=b.jspdf.autotable.tableExport;if("string"===typeof b.jspdf.format&&"bestfit"===b.jspdf.format.toLowerCase()){var Fa="",va="",kb=0;d(u).each(function(){if(O(d(this))){var a=bb(d(this).get(0),"width","pt");if(a>kb){a>V.a0[0]&&(Fa="a0",va="l");for(var b in V)V.hasOwnProperty(b)&&V[b][1]>a&&(Fa=b,va="l",V[b][0]>a&&(va="p"));kb=a}}});b.jspdf.format=""===Fa?"a4":Fa;b.jspdf.orientation=""===va?"w":va}if(null==-k.doc&&(k.doc=new jspdf.jsPDF(b.jspdf.orientation,b.jspdf.unit,b.jspdf.format),k.wScaleFactor=1,k.hScaleFactor=1,"function"===typeof b.jspdf.onDocCreated))b.jspdf.onDocCreated(k.doc);Ba.fontName=k.doc.getFont().fontName;!0===k.outputImages&&(k.images={});"undefined"!==typeof k.images&&(d(u).filter(function(){return O(d(this))}).each(function(){var a=0;N=[];!1===b.exportHiddenCells&&(R=d(this).find("tr, th, td").filter(":hidden"),ka=0<R.length);v=X(d(this));A=Y(d(this));d(A).each(function(){G(this,-"td,th",v.length+a,v.length+A.length,function(a){Za(a,d(a).children(),k)});a++})}),v=[],A=[]);nb(k,function(){d(u).filter(function(){return O(d(this))}).each(function(){var a;r=0;N=[];!1===b.exportHiddenCells&&(R=d(this).find("tr, th, td").filter(":hidden"),ka=0<R.length);fa=xa(this);k.columns=[];k.rows=[];k.teCells={};if("function"===typeof k.onTable&&!1===k.onTable(d(this),b))return!0;b.jspdf.autotable.tableExport=null;var c=d.extend(!0,{},b.jspdf.autotable);b.jspdf.autotable.tableExport=k;c.margin=-{};d.extend(!0,c.margin,b.jspdf.margins);c.tableExport=k;"function"!==typeof c.createdHeaderCell&&(c.createdHeaderCell=function(a,b){if("undefined"!==typeof k.columns[b.column.dataKey]){var d=k.columns[b.column.dataKey];if("undefined"!==typeof d.rect){a.contentWidth=d.rect.width;if("undefined"===typeof k.heightRatio||0===k.heightRatio){var e=b.row.raw[b.column.dataKey].rowspan?b.row.raw[b.column.dataKey].rect.height/b.row.raw[b.column.dataKey].rowspan:b.row.raw[b.column.dataKey].rect.height;k.heightRatio=-a.styles.rowHeight/e}e=b.row.raw[b.column.dataKey].rect.height*k.heightRatio;e>a.styles.rowHeight&&(a.styles.rowHeight=e)}a.styles.halign="inherit"===c.headerStyles.halign?"center":c.headerStyles.halign;a.styles.valign=c.headerStyles.valign;"undefined"!==typeof d.style&&!0!==d.style.hidden&&("inherit"===c.headerStyles.halign&&(a.styles.halign=d.style.align),"inherit"===c.styles.fillColor&&(a.styles.fillColor=d.style.bcolor),"inherit"===c.styles.textColor&&(a.styles.textColor=d.style.color),"inherit"===-c.styles.fontStyle&&(a.styles.fontStyle=d.style.fstyle))}});"function"!==typeof c.createdCell&&(c.createdCell=function(a,b){b=k.teCells[b.row.index+":"+b.column.dataKey];a.styles.halign="inherit"===c.styles.halign?"center":c.styles.halign;a.styles.valign=c.styles.valign;"undefined"!==typeof b&&"undefined"!==typeof b.style&&!0!==b.style.hidden&&("inherit"===c.styles.halign&&(a.styles.halign=b.style.align),"inherit"===c.styles.fillColor&&(a.styles.fillColor=b.style.bcolor),"inherit"===c.styles.textColor&&-(a.styles.textColor=b.style.color),"inherit"===c.styles.fontStyle&&(a.styles.fontStyle=b.style.fstyle))});"function"!==typeof c.drawHeaderCell&&(c.drawHeaderCell=function(a,b){var c=k.columns[b.column.dataKey];return(!0!==c.style.hasOwnProperty("hidden")||!0!==c.style.hidden)&&0<=c.rowIndex?Ya(a,b,c):!1});"function"!==typeof c.drawCell&&(c.drawCell=function(a,b){var c=k.teCells[b.row.index+":"+b.column.dataKey];if(!0!==("undefined"!==typeof c&&c.isCanvas))Ya(a,b,c)&&(k.doc.rect(a.x,a.y,a.width,a.height,-a.styles.fillStyle),"undefined"===typeof c||"undefined"!==typeof c.hasUserDefText&&!0===c.hasUserDefText||"undefined"===typeof c.elements||!c.elements.length?cb(a,{},k):(b=a.height/c.rect.height,b>k.hScaleFactor&&(k.hScaleFactor=b),k.wScaleFactor=a.width/c.rect.width,b=a.textPos.y,ab(a,c.elements,k),a.textPos.y=b,cb(a,c.elements,k)));else{c=c.elements[0];var e=d(c).attr("data-tableexport-canvas"),f=c.getBoundingClientRect();a.width=f.width*k.wScaleFactor;a.height=f.height*k.hScaleFactor;b.row.height=-a.height;Wa(a,c,e,k)}return!1});k.headerrows=[];v=X(d(this));d(v).each(function(){a=0;k.headerrows[r]=[];G(this,"th,td",r,v.length,function(b,c,d){var e=eb(b);e.title=E(b,c,d);e.key=a++;e.rowIndex=r;k.headerrows[r].push(e)});r++});if(0<r)for(var e=r-1;0<=e;)d.each(k.headerrows[e],function(){var a=this;0<e&&null===this.rect&&(a=k.headerrows[e-1][this.key]);null!==a&&0<=a.rowIndex&&(!0!==a.style.hasOwnProperty("hidden")||!0!==a.style.hidden)&&k.columns.push(a)}),e=0<k.columns.length?-1:e-1;var h=0;-A=[];A=Y(d(this));d(A).each(function(){var b=[];a=0;G(this,"td,th",r,v.length+A.length,function(c,e,f){if("undefined"===typeof k.columns[a]){var g={title:"",key:a,style:{hidden:!0}};k.columns.push(g)}b.push(E(c,e,f));"undefined"!==typeof c&&null!==c?(g=eb(c),g.isCanvas=c.hasAttribute("data-tableexport-canvas"),g.elements=g.isCanvas?d(c):d(c).children(),"undefined"!==typeof d(c).data("teUserDefText")&&(g.hasUserDefText=!0)):(g=d.extend(!0,{},k.teCells[h+":"+(a-1)]),g.colspan=-1);k.teCells[h+":"+a++]=-g});b.length&&(k.rows.push(b),h++);r++});if("function"===typeof k.onBeforeAutotable)k.onBeforeAutotable(d(this),k.columns,k.rows,c);sb(c.tableExport.doc,k.columns,k.rows,c);if("function"===typeof k.onAfterAutotable)k.onAfterAutotable(d(this),c);var f=b.jspdf.autotable;var l="undefined"===typeof F||"undefined"===typeof F.y?0:F.y;f.startY=l+c.margin.top});Xa(k.doc,"undefined"!==typeof k.images&&!1===jQuery.isEmptyObject(k.images));"undefined"!==typeof k.headerrows&&(k.headerrows.length=0);"undefined"!==-typeof k.columns&&(k.columns.length=0);"undefined"!==typeof k.rows&&(k.rows.length=0);delete k.doc;k.doc=null})}var y,F,l,Ma,q;if("function"===typeof b.onTableExportEnd)b.onTableExportEnd();return this};var w=function(){return function(){this.contentWidth=this.y=this.x=this.width=this.height=0;this.rows=[];this.columns=[];this.headerRow=null;this.settings={}}}(),J=function(){return function(d){this.raw=d||{};this.index=0;this.styles={};this.cells={};this.y=this.height=0}}(),K=function(){return function(d){this.raw=-d;this.styles={};this.text="";this.contentWidth=0;this.textPos={};this.y=this.x=this.width=this.height=0}}(),wa=function(){return function(d){this.dataKey=d;this.options={};this.styles={};this.x=this.width=this.contentWidth=0}}()})(jQuery);--/** @license- *- * jsPDF - PDF Document creation from JavaScript- * Version 2.3.1 Built on 2021-03-08T15:44:11.672Z- * CommitID 00000000- *- * Copyright (c) 2010-2020 James Hall <[email protected]>, https://github.com/MrRio/jsPDF- * 2015-2020 yWorks GmbH, http://www.yworks.com- * 2015-2020 Lukas Holländer <[email protected]>, https://github.com/HackbrettXXX- * 2016-2018 Aras Abbasi <[email protected]>- * 2010 Aaron Spike, https://github.com/acspike- * 2012 Willow Systems Corporation, willow-systems.com- * 2012 Pablo Hess, https://github.com/pablohess- * 2012 Florian Jenett, https://github.com/fjenett- * 2013 Warren Weckesser, https://github.com/warrenweckesser- * 2013 Youssef Beddad, https://github.com/lifof- * 2013 Lee Driscoll, https://github.com/lsdriscoll- * 2013 Stefan Slonevskiy, https://github.com/stefslon- * 2013 Jeremy Morel, https://github.com/jmorel- * 2013 Christoph Hartmann, https://github.com/chris-rock- * 2014 Juan Pablo Gaviria, https://github.com/juanpgaviria- * 2014 James Makes, https://github.com/dollaruw- * 2014 Diego Casorran, https://github.com/diegocr- * 2014 Steven Spungin, https://github.com/Flamenco- * 2014 Kenneth Glassey, https://github.com/Gavvers- *- * Permission is hereby granted, free of charge, to any person obtaining- * a copy of this software and associated documentation files (the- * "Software"), to deal in the Software without restriction, including- * without limitation the rights to use, copy, modify, merge, publish,- * distribute, sublicense, and/or sell copies of the Software, and to- * permit persons to whom the Software is furnished to do so, subject to- * the following conditions:- *- * The above copyright notice and this permission notice shall be- * included in all copies or substantial portions of the Software.- *- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,- * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF- * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND- * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE- * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION- * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION- * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.- *- * Contributor(s):- * siefkenj, ahwolf, rickygu, Midnith, saintclair, eaparango,- * kim3er, mfo, alnorth, Flamenco- */--!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t=t||self).jspdf={})}(this,(function(t){"use strict";var e=function(){return"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this}();function r(){e.console&&"function"==typeof e.console.log&&e.console.log.apply(e.console,arguments)}var n={log:r,warn:function(t){e.console&&("function"==typeof e.console.warn?e.console.warn.apply(e.console,arguments):r.call(null,arguments))},error:function(t){e.console&&("function"==typeof e.console.error?e.console.error.apply(e.console,arguments):r(t))}};-/**- * @license- * FileSaver.js- * A saveAs() FileSaver implementation.- *- * By Eli Grey, http://eligrey.com- *- * License : https://github.com/eligrey/FileSaver.js/blob/master/LICENSE.md (MIT)- * source : http://purl.eligrey.com/github/FileSaver.js- */function i(t,e,r){var i=new XMLHttpRequest;i.open("GET",t),i.responseType="blob",i.onload=function(){c(i.response,e,r)},i.onerror=function(){n.error("could not download file")},i.send()}function a(t){var e=new XMLHttpRequest;e.open("HEAD",t,!1);try{e.send()}catch(t){}return e.status>=200&&e.status<=299}function o(t){try{t.dispatchEvent(new MouseEvent("click"))}catch(r){var e=document.createEvent("MouseEvents");e.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),t.dispatchEvent(e)}}var s,u,c=e.saveAs||("object"!=typeof window||window!==e?function(){}:"undefined"!=typeof HTMLAnchorElement&&"download"in HTMLAnchorElement.prototype?function(t,r,n){var s=e.URL||e.webkitURL,u=document.createElement("a");r=r||t.name||"download",u.download=r,u.rel="noopener","string"==typeof t?(u.href=t,u.origin!==location.origin?a(u.href)?i(t,r,n):o(u,u.target="_blank"):o(u)):(u.href=s.createObjectURL(t),setTimeout((function(){s.revokeObjectURL(u.href)}),4e4),setTimeout((function(){o(u)}),0))}:"msSaveOrOpenBlob"in navigator?function(t,e,r){if(e=e||t.name||"download","string"==typeof t)if(a(t))i(t,e,r);else{var s=document.createElement("a");s.href=t,s.target="_blank",setTimeout((function(){o(s)}))}else navigator.msSaveOrOpenBlob(function(t,e){return void 0===e?e={autoBom:!1}:"object"!=typeof e&&(n.warn("Deprecated: Expected third argument to be a object"),e={autoBom:!e}),e.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(t.type)?new Blob([String.fromCharCode(65279),t],{type:t.type}):t}(t,r),e)}:function(t,r,n,a){if((a=a||open("","_blank"))&&(a.document.title=a.document.body.innerText="downloading..."),"string"==typeof t)return i(t,r,n);var o="application/octet-stream"===t.type,s=/constructor/i.test(e.HTMLElement)||e.safari,u=/CriOS\/[\d]+/.test(navigator.userAgent);if((u||o&&s)&&"object"==typeof FileReader){var c=new FileReader;c.onloadend=function(){var t=c.result;t=u?t:t.replace(/^data:[^;]*;/,"data:attachment/file;"),a?a.location.href=t:location=t,a=null},c.readAsDataURL(t)}else{var l=e.URL||e.webkitURL,h=l.createObjectURL(t);a?a.location=h:location.href=h,a=null,setTimeout((function(){l.revokeObjectURL(h)}),4e4)}});-/**- * A class to parse color values- * @author Stoyan Stefanov <[email protected]>- * {@link http://www.phpied.com/rgb-color-parser-in-javascript/}- * @license Use it if you like it- */function l(t){var e;t=t||"",this.ok=!1,"#"==t.charAt(0)&&(t=t.substr(1,6));t={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"}[t=(t=t.replace(/ /g,"")).toLowerCase()]||t;for(var r=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(t){return[parseInt(t[1]),parseInt(t[2]),parseInt(t[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(t){return[parseInt(t[1],16),parseInt(t[2],16),parseInt(t[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(t){return[parseInt(t[1]+t[1],16),parseInt(t[2]+t[2],16),parseInt(t[3]+t[3],16)]}}],n=0;n<r.length;n++){var i=r[n].re,a=r[n].process,o=i.exec(t);o&&(e=a(o),this.r=e[0],this.g=e[1],this.b=e[2],this.ok=!0)}this.r=this.r<0||isNaN(this.r)?0:this.r>255?255:this.r,this.g=this.g<0||isNaN(this.g)?0:this.g>255?255:this.g,this.b=this.b<0||isNaN(this.b)?0:this.b>255?255:this.b,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toHex=function(){var t=this.r.toString(16),e=this.g.toString(16),r=this.b.toString(16);return 1==t.length&&(t="0"+t),1==e.length&&(e="0"+e),1==r.length&&(r="0"+r),"#"+t+e+r}}-/**- * @license- * Joseph Myers does not specify a particular license for his work.- *- * Author: Joseph Myers- * Accessed from: http://www.myersdaily.org/joseph/javascript/md5.js- *- * Modified by: Owen Leong- */-function h(t,e){var r=t[0],n=t[1],i=t[2],a=t[3];r=d(r,n,i,a,e[0],7,-680876936),a=d(a,r,n,i,e[1],12,-389564586),i=d(i,a,r,n,e[2],17,606105819),n=d(n,i,a,r,e[3],22,-1044525330),r=d(r,n,i,a,e[4],7,-176418897),a=d(a,r,n,i,e[5],12,1200080426),i=d(i,a,r,n,e[6],17,-1473231341),n=d(n,i,a,r,e[7],22,-45705983),r=d(r,n,i,a,e[8],7,1770035416),a=d(a,r,n,i,e[9],12,-1958414417),i=d(i,a,r,n,e[10],17,-42063),n=d(n,i,a,r,e[11],22,-1990404162),r=d(r,n,i,a,e[12],7,1804603682),a=d(a,r,n,i,e[13],12,-40341101),i=d(i,a,r,n,e[14],17,-1502002290),r=p(r,n=d(n,i,a,r,e[15],22,1236535329),i,a,e[1],5,-165796510),a=p(a,r,n,i,e[6],9,-1069501632),i=p(i,a,r,n,e[11],14,643717713),n=p(n,i,a,r,e[0],20,-373897302),r=p(r,n,i,a,e[5],5,-701558691),a=p(a,r,n,i,e[10],9,38016083),i=p(i,a,r,n,e[15],14,-660478335),n=p(n,i,a,r,e[4],20,-405537848),r=p(r,n,i,a,e[9],5,568446438),a=p(a,r,n,i,e[14],9,-1019803690),i=p(i,a,r,n,e[3],14,-187363961),n=p(n,i,a,r,e[8],20,1163531501),r=p(r,n,i,a,e[13],5,-1444681467),a=p(a,r,n,i,e[2],9,-51403784),i=p(i,a,r,n,e[7],14,1735328473),r=g(r,n=p(n,i,a,r,e[12],20,-1926607734),i,a,e[5],4,-378558),a=g(a,r,n,i,e[8],11,-2022574463),i=g(i,a,r,n,e[11],16,1839030562),n=g(n,i,a,r,e[14],23,-35309556),r=g(r,n,i,a,e[1],4,-1530992060),a=g(a,r,n,i,e[4],11,1272893353),i=g(i,a,r,n,e[7],16,-155497632),n=g(n,i,a,r,e[10],23,-1094730640),r=g(r,n,i,a,e[13],4,681279174),a=g(a,r,n,i,e[0],11,-358537222),i=g(i,a,r,n,e[3],16,-722521979),n=g(n,i,a,r,e[6],23,76029189),r=g(r,n,i,a,e[9],4,-640364487),a=g(a,r,n,i,e[12],11,-421815835),i=g(i,a,r,n,e[15],16,530742520),r=m(r,n=g(n,i,a,r,e[2],23,-995338651),i,a,e[0],6,-198630844),a=m(a,r,n,i,e[7],10,1126891415),i=m(i,a,r,n,e[14],15,-1416354905),n=m(n,i,a,r,e[5],21,-57434055),r=m(r,n,i,a,e[12],6,1700485571),a=m(a,r,n,i,e[3],10,-1894986606),i=m(i,a,r,n,e[10],15,-1051523),n=m(n,i,a,r,e[1],21,-2054922799),r=m(r,n,i,a,e[8],6,1873313359),a=m(a,r,n,i,e[15],10,-30611744),i=m(i,a,r,n,e[6],15,-1560198380),n=m(n,i,a,r,e[13],21,1309151649),r=m(r,n,i,a,e[4],6,-145523070),a=m(a,r,n,i,e[11],10,-1120210379),i=m(i,a,r,n,e[2],15,718787259),n=m(n,i,a,r,e[9],21,-343485551),t[0]=L(r,t[0]),t[1]=L(n,t[1]),t[2]=L(i,t[2]),t[3]=L(a,t[3])}function f(t,e,r,n,i,a){return e=L(L(e,t),L(n,a)),L(e<<i|e>>>32-i,r)}function d(t,e,r,n,i,a,o){return f(e&r|~e&n,t,e,i,a,o)}function p(t,e,r,n,i,a,o){return f(e&n|r&~n,t,e,i,a,o)}function g(t,e,r,n,i,a,o){return f(e^r^n,t,e,i,a,o)}function m(t,e,r,n,i,a,o){return f(r^(e|~n),t,e,i,a,o)}function v(t){var e,r=t.length,n=[1732584193,-271733879,-1732584194,271733878];for(e=64;e<=t.length;e+=64)h(n,b(t.substring(e-64,e)));t=t.substring(e-64);var i=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(e=0;e<t.length;e++)i[e>>2]|=t.charCodeAt(e)<<(e%4<<3);if(i[e>>2]|=128<<(e%4<<3),e>55)for(h(n,i),e=0;e<16;e++)i[e]=0;return i[14]=8*r,h(n,i),n}function b(t){var e,r=[];for(e=0;e<64;e+=4)r[e>>2]=t.charCodeAt(e)+(t.charCodeAt(e+1)<<8)+(t.charCodeAt(e+2)<<16)+(t.charCodeAt(e+3)<<24);return r}s=e.atob.bind(e),u=e.btoa.bind(e);var y="0123456789abcdef".split("");function w(t){for(var e="",r=0;r<4;r++)e+=y[t>>8*r+4&15]+y[t>>8*r&15];return e}function N(t){return String.fromCharCode((255&t)>>0,(65280&t)>>8,(16711680&t)>>16,(4278190080&t)>>24)}function A(t){return function(t){return t.map(N).join("")}(v(t))}function L(t,e){return t+e&4294967295}if("5d41402abc4b2a76b9719d911017c592"!=function(t){for(var e=0;e<t.length;e++)t[e]=w(t[e]);return t.join("")}(v("hello"))){function L(t,e){var r=(65535&t)+(65535&e);return(t>>16)+(e>>16)+(r>>16)<<16|65535&r}}-/**- * @license- * FPDF is released under a permissive license: there is no usage restriction.- * You may embed it freely in your application (commercial or not), with or- * without modifications.- *- * Reference: http://www.fpdf.org/en/script/script37.php- */function x(t,e){var r,n,i,a;if(t!==r){for(var o=(i=t,a=1+(256/t.length>>0),new Array(a+1).join(i)),s=[],u=0;u<256;u++)s[u]=u;var c=0;for(u=0;u<256;u++){var l=s[u];c=(c+l+o.charCodeAt(u))%256,s[u]=s[c],s[c]=l}r=t,n=s}else s=n;var h=e.length,f=0,d=0,p="";for(u=0;u<h;u++)d=(d+(l=s[f=(f+1)%256]))%256,s[f]=s[d],s[d]=l,o=s[(s[f]+s[d])%256],p+=String.fromCharCode(e.charCodeAt(u)^o);return p}-/**- * @license- * Licensed under the MIT License.- * http://opensource.org/licenses/mit-license- * Author: Owen Leong (@owenl131)- * Date: 15 Oct 2020- * References:- * https://www.cs.cmu.edu/~dst/Adobe/Gallery/anon21jul01-pdf-encryption.txt- * https://github.com/foliojs/pdfkit/blob/master/lib/security.js- * http://www.fpdf.org/en/script/script37.php- */var S={print:4,modify:8,copy:16,"annot-forms":32};function _(t,e,r,n){this.v=1,this.r=2;let i=192;t.forEach((function(t){if(void 0!==S.perm)throw new Error("Invalid permission: "+t);i+=S[t]})),this.padding="(¿N^NuAd\0NVÿú\b..\0¶Ðh>/\f©þdSiz";let a=(e+this.padding).substr(0,32),o=(r+this.padding).substr(0,32);this.O=this.processOwnerPassword(a,o),this.P=-(1+(255^i)),this.encryptionKey=A(a+this.O+this.lsbFirstWord(this.P)+this.hexToBytes(n)).substr(0,5),this.U=x(this.encryptionKey,this.padding)}function P(t){if("object"!=typeof t)throw new Error("Invalid Context passed to initialize PubSub (jsPDF-module)");var r={};this.subscribe=function(t,e,n){if(n=n||!1,"string"!=typeof t||"function"!=typeof e||"boolean"!=typeof n)throw new Error("Invalid arguments passed to PubSub.subscribe (jsPDF-module)");r.hasOwnProperty(t)||(r[t]={});var i=Math.random().toString(35);return r[t][i]=[e,!!n],i},this.unsubscribe=function(t){for(var e in r)if(r[e][t])return delete r[e][t],0===Object.keys(r[e]).length&&delete r[e],!0;return!1},this.publish=function(i){if(r.hasOwnProperty(i)){var a=Array.prototype.slice.call(arguments,1),o=[];for(var s in r[i]){var u=r[i][s];try{u[0].apply(t,a)}catch(t){e.console&&n.error("jsPDF PubSub Error",t.message,t)}u[1]&&o.push(s)}o.length&&o.forEach(this.unsubscribe)}},this.getTopics=function(){return r}}function k(t){if(!(this instanceof k))return new k(t);var e="opacity,stroke-opacity".split(",");for(var r in t)t.hasOwnProperty(r)&&e.indexOf(r)>=0&&(this[r]=t[r]);this.id="",this.objectNumber=-1}function F(t,e){this.gState=t,this.matrix=e,this.id="",this.objectNumber=-1}function I(t,e,r,n,i){if(!(this instanceof I))return new I(t,e,r,n,i);this.type="axial"===t?2:3,this.coords=e,this.colors=r,F.call(this,n,i)}function C(t,e,r,n,i){if(!(this instanceof C))return new C(t,e,r,n,i);this.boundingBox=t,this.xStep=e,this.yStep=r,this.stream="",this.cloneIndex=0,F.call(this,n,i)}function j(t){var r,i="string"==typeof arguments[0]?arguments[0]:"p",a=arguments[1],o=arguments[2],s=arguments[3],h=[],f=1,d=16,p="S",g=null;"object"==typeof(t=t||{})&&(i=t.orientation,a=t.unit||a,o=t.format||o,s=t.compress||t.compressPdf||s,null!==(g=t.encryption||null)&&(g.userPassword=g.userPassword||"",g.ownerPassword=g.ownerPassword||"",g.userPermissions=g.userPermissions||[]),f="number"==typeof t.userUnit?Math.abs(t.userUnit):1,void 0!==t.precision&&(r=t.precision),void 0!==t.floatPrecision&&(d=t.floatPrecision),p=t.defaultPathOperation||"S"),h=t.filters||(!0===s?["FlateEncode"]:h),a=a||"mm",i=(""+(i||"P")).toLowerCase();var m=t.putOnlyUsedFonts||!1,v={},b={internal:{},__private__:{}};b.__private__.PubSub=P;var y="1.3",w=b.__private__.getPdfVersion=function(){return y};b.__private__.setPdfVersion=function(t){y=t};var N={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};b.__private__.getPageFormats=function(){return N};var A=b.__private__.getPageFormat=function(t){return N[t]};o=o||"a4";var L={COMPAT:"compat",ADVANCED:"advanced"},x=L.COMPAT;function S(){this.saveGraphicsState(),ct(new Ht(xt,0,0,-xt,0,Er()*xt).toString()+" cm"),this.setFontSize(this.getFontSize()/xt),p="n",x=L.ADVANCED}function F(){this.restoreGraphicsState(),p="S",x=L.COMPAT}var O=function(t,e){if("bold"==t&&"normal"==e||"bold"==t&&400==e||"normal"==t&&"italic"==e||"bold"==t&&"italic"==e)throw new Error("Invalid Combination of fontweight and fontstyle");return e&&t!==e&&(t=400==e?"italic"==t?"italic":"normal":700==e&&"italic"!==t?"bold":t+""+e),t};b.advancedAPI=function(t){var e=x===L.COMPAT;return e&&S.call(this),"function"!=typeof t||(t(this),e&&F.call(this)),this},b.compatAPI=function(t){var e=x===L.ADVANCED;return e&&F.call(this),"function"!=typeof t||(t(this),e&&S.call(this)),this},b.isAdvancedAPI=function(){return x===L.ADVANCED};var B,M=function(t){if(x!==L.ADVANCED)throw new Error(t+" is only available in 'advanced' API mode. You need to call advancedAPI() first.")},E=b.roundToPrecision=b.__private__.roundToPrecision=function(t,e){var n=r||e;if(isNaN(t)||isNaN(n))throw new Error("Invalid argument passed to jsPDF.roundToPrecision");return t.toFixed(n).replace(/0+$/,"")};B=b.hpf=b.__private__.hpf="number"==typeof d?function(t){if(isNaN(t))throw new Error("Invalid argument passed to jsPDF.hpf");return E(t,d)}:"smart"===d?function(t){if(isNaN(t))throw new Error("Invalid argument passed to jsPDF.hpf");return E(t,t>-1&&t<1?16:5)}:function(t){if(isNaN(t))throw new Error("Invalid argument passed to jsPDF.hpf");return E(t,16)};var q=b.f2=b.__private__.f2=function(t){if(isNaN(t))throw new Error("Invalid argument passed to jsPDF.f2");return E(t,2)},R=b.__private__.f3=function(t){if(isNaN(t))throw new Error("Invalid argument passed to jsPDF.f3");return E(t,3)},T=b.scale=b.__private__.scale=function(t){if(isNaN(t))throw new Error("Invalid argument passed to jsPDF.scale");return x===L.COMPAT?t*xt:x===L.ADVANCED?t:void 0},D=function(t){return x===L.COMPAT?Er()-t:x===L.ADVANCED?t:void 0},U=function(t){return T(D(t))};b.__private__.setPrecision=b.setPrecision=function(t){"number"==typeof parseInt(t,10)&&(r=parseInt(t,10))};var z,H="00000000000000000000000000000000",W=b.__private__.getFileId=function(){return H},V=b.__private__.setFileId=function(t){return H=void 0!==t&&/^[a-fA-F0-9]{32}$/.test(t)?t.toUpperCase():H.split("").map((function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))})).join(""),null!==g&&(Ve=new _(g.userPermissions,g.userPassword,g.ownerPassword,H)),H};b.setFileId=function(t){return V(t),this},b.getFileId=function(){return W()};var G=b.__private__.convertDateToPDFDate=function(t){var e=t.getTimezoneOffset(),r=e<0?"+":"-",n=Math.floor(Math.abs(e/60)),i=Math.abs(e%60),a=[r,Z(n),"'",Z(i),"'"].join("");return["D:",t.getFullYear(),Z(t.getMonth()+1),Z(t.getDate()),Z(t.getHours()),Z(t.getMinutes()),Z(t.getSeconds()),a].join("")},Y=b.__private__.convertPDFDateToDate=function(t){var e=parseInt(t.substr(2,4),10),r=parseInt(t.substr(6,2),10)-1,n=parseInt(t.substr(8,2),10),i=parseInt(t.substr(10,2),10),a=parseInt(t.substr(12,2),10),o=parseInt(t.substr(14,2),10);return new Date(e,r,n,i,a,o,0)},J=b.__private__.setCreationDate=function(t){var e;if(void 0===t&&(t=new Date),t instanceof Date)e=G(t);else{if(!/^D:(20[0-2][0-9]|203[0-7]|19[7-9][0-9])(0[0-9]|1[0-2])([0-2][0-9]|3[0-1])(0[0-9]|1[0-9]|2[0-3])(0[0-9]|[1-5][0-9])(0[0-9]|[1-5][0-9])(\+0[0-9]|\+1[0-4]|-0[0-9]|-1[0-1])'(0[0-9]|[1-5][0-9])'?$/.test(t))throw new Error("Invalid argument passed to jsPDF.setCreationDate");e=t}return z=e},X=b.__private__.getCreationDate=function(t){var e=z;return"jsDate"===t&&(e=Y(z)),e};b.setCreationDate=function(t){return J(t),this},b.getCreationDate=function(t){return X(t)};var K,Z=b.__private__.padd2=function(t){return("0"+parseInt(t)).slice(-2)},$=b.__private__.padd2Hex=function(t){return("00"+(t=t.toString())).substr(t.length)},Q=0,tt=[],et=[],rt=0,nt=[],it=[],at=!1,ot=et,st=function(){Q=0,rt=0,et=[],tt=[],nt=[],Zt=Jt(),$t=Jt()};b.__private__.setCustomOutputDestination=function(t){at=!0,ot=t};var ut=function(t){at||(ot=t)};b.__private__.resetCustomOutputDestination=function(){at=!1,ot=et};var ct=b.__private__.out=function(t){return t=t.toString(),rt+=t.length+1,ot.push(t),ot},lt=b.__private__.write=function(t){return ct(1===arguments.length?t.toString():Array.prototype.join.call(arguments," "))},ht=b.__private__.getArrayBuffer=function(t){for(var e=t.length,r=new ArrayBuffer(e),n=new Uint8Array(r);e--;)n[e]=t.charCodeAt(e);return r},ft=[["Helvetica","helvetica","normal","WinAnsiEncoding"],["Helvetica-Bold","helvetica","bold","WinAnsiEncoding"],["Helvetica-Oblique","helvetica","italic","WinAnsiEncoding"],["Helvetica-BoldOblique","helvetica","bolditalic","WinAnsiEncoding"],["Courier","courier","normal","WinAnsiEncoding"],["Courier-Bold","courier","bold","WinAnsiEncoding"],["Courier-Oblique","courier","italic","WinAnsiEncoding"],["Courier-BoldOblique","courier","bolditalic","WinAnsiEncoding"],["Times-Roman","times","normal","WinAnsiEncoding"],["Times-Bold","times","bold","WinAnsiEncoding"],["Times-Italic","times","italic","WinAnsiEncoding"],["Times-BoldItalic","times","bolditalic","WinAnsiEncoding"],["ZapfDingbats","zapfdingbats","normal",null],["Symbol","symbol","normal",null]];b.__private__.getStandardFonts=function(){return ft};var dt=t.fontSize||16;b.__private__.setFontSize=b.setFontSize=function(t){return dt=x===L.ADVANCED?t/xt:t,this};var pt,gt=b.__private__.getFontSize=b.getFontSize=function(){return x===L.COMPAT?dt:dt*xt},mt=t.R2L||!1;b.__private__.setR2L=b.setR2L=function(t){return mt=t,this},b.__private__.getR2L=b.getR2L=function(){return mt};var vt,bt=b.__private__.setZoomMode=function(t){var e=[void 0,null,"fullwidth","fullheight","fullpage","original"];if(/^\d*\.?\d*%$/.test(t))pt=t;else if(isNaN(t)){if(-1===e.indexOf(t))throw new Error('zoom must be Integer (e.g. 2), a percentage Value (e.g. 300%) or fullwidth, fullheight, fullpage, original. "'+t+'" is not recognized.');pt=t}else pt=parseInt(t,10)};b.__private__.getZoomMode=function(){return pt};var yt,wt=b.__private__.setPageMode=function(t){if(-1==[void 0,null,"UseNone","UseOutlines","UseThumbs","FullScreen"].indexOf(t))throw new Error('Page mode must be one of UseNone, UseOutlines, UseThumbs, or FullScreen. "'+t+'" is not recognized.');vt=t};b.__private__.getPageMode=function(){return vt};var Nt=b.__private__.setLayoutMode=function(t){if(-1==[void 0,null,"continuous","single","twoleft","tworight","two"].indexOf(t))throw new Error('Layout mode must be one of continuous, single, twoleft, tworight. "'+t+'" is not recognized.');yt=t};b.__private__.getLayoutMode=function(){return yt},b.__private__.setDisplayMode=b.setDisplayMode=function(t,e,r){return bt(t),Nt(e),wt(r),this};var At={title:"",subject:"",author:"",keywords:"",creator:""};b.__private__.getDocumentProperty=function(t){if(-1===Object.keys(At).indexOf(t))throw new Error("Invalid argument passed to jsPDF.getDocumentProperty");return At[t]},b.__private__.getDocumentProperties=function(){return At},b.__private__.setDocumentProperties=b.setProperties=b.setDocumentProperties=function(t){for(var e in At)At.hasOwnProperty(e)&&t[e]&&(At[e]=t[e]);return this},b.__private__.setDocumentProperty=function(t,e){if(-1===Object.keys(At).indexOf(t))throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");return At[t]=e};var Lt,xt,St,_t,Pt,kt={},Ft={},It=[],Ct={},jt={},Ot={},Bt={},Mt=null,Et=0,qt=[],Rt=new P(b),Tt=t.hotfixes||[],Dt={},Ut={},zt=[],Ht=function(t,e,r,n,i,a){if(!(this instanceof Ht))return new Ht(t,e,r,n,i,a);isNaN(t)&&(t=1),isNaN(e)&&(e=0),isNaN(r)&&(r=0),isNaN(n)&&(n=1),isNaN(i)&&(i=0),isNaN(a)&&(a=0),this._matrix=[t,e,r,n,i,a]};Object.defineProperty(Ht.prototype,"sx",{get:function(){return this._matrix[0]},set:function(t){this._matrix[0]=t}}),Object.defineProperty(Ht.prototype,"shy",{get:function(){return this._matrix[1]},set:function(t){this._matrix[1]=t}}),Object.defineProperty(Ht.prototype,"shx",{get:function(){return this._matrix[2]},set:function(t){this._matrix[2]=t}}),Object.defineProperty(Ht.prototype,"sy",{get:function(){return this._matrix[3]},set:function(t){this._matrix[3]=t}}),Object.defineProperty(Ht.prototype,"tx",{get:function(){return this._matrix[4]},set:function(t){this._matrix[4]=t}}),Object.defineProperty(Ht.prototype,"ty",{get:function(){return this._matrix[5]},set:function(t){this._matrix[5]=t}}),Object.defineProperty(Ht.prototype,"a",{get:function(){return this._matrix[0]},set:function(t){this._matrix[0]=t}}),Object.defineProperty(Ht.prototype,"b",{get:function(){return this._matrix[1]},set:function(t){this._matrix[1]=t}}),Object.defineProperty(Ht.prototype,"c",{get:function(){return this._matrix[2]},set:function(t){this._matrix[2]=t}}),Object.defineProperty(Ht.prototype,"d",{get:function(){return this._matrix[3]},set:function(t){this._matrix[3]=t}}),Object.defineProperty(Ht.prototype,"e",{get:function(){return this._matrix[4]},set:function(t){this._matrix[4]=t}}),Object.defineProperty(Ht.prototype,"f",{get:function(){return this._matrix[5]},set:function(t){this._matrix[5]=t}}),Object.defineProperty(Ht.prototype,"rotation",{get:function(){return Math.atan2(this.shx,this.sx)}}),Object.defineProperty(Ht.prototype,"scaleX",{get:function(){return this.decompose().scale.sx}}),Object.defineProperty(Ht.prototype,"scaleY",{get:function(){return this.decompose().scale.sy}}),Object.defineProperty(Ht.prototype,"isIdentity",{get:function(){return 1===this.sx&&(0===this.shy&&(0===this.shx&&(1===this.sy&&(0===this.tx&&0===this.ty))))}}),Ht.prototype.join=function(t){return[this.sx,this.shy,this.shx,this.sy,this.tx,this.ty].map(B).join(t)},Ht.prototype.multiply=function(t){var e=t.sx*this.sx+t.shy*this.shx,r=t.sx*this.shy+t.shy*this.sy,n=t.shx*this.sx+t.sy*this.shx,i=t.shx*this.shy+t.sy*this.sy,a=t.tx*this.sx+t.ty*this.shx+this.tx,o=t.tx*this.shy+t.ty*this.sy+this.ty;return new Ht(e,r,n,i,a,o)},Ht.prototype.decompose=function(){var t=this.sx,e=this.shy,r=this.shx,n=this.sy,i=this.tx,a=this.ty,o=Math.sqrt(t*t+e*e),s=(t/=o)*r+(e/=o)*n;r-=t*s,n-=e*s;var u=Math.sqrt(r*r+n*n);return s/=u,t*(n/=u)<e*(r/=u)&&(t=-t,e=-e,s=-s,o=-o),{scale:new Ht(o,0,0,u,0,0),translate:new Ht(1,0,0,1,i,a),rotate:new Ht(t,e,-e,t,0,0),skew:new Ht(1,0,s,1,0,0)}},Ht.prototype.toString=function(t){return this.join(" ")},Ht.prototype.inversed=function(){var t=this.sx,e=this.shy,r=this.shx,n=this.sy,i=this.tx,a=this.ty,o=1/(t*n-e*r),s=n*o,u=-e*o,c=-r*o,l=t*o;return new Ht(s,u,c,l,-s*i-c*a,-u*i-l*a)},Ht.prototype.applyToPoint=function(t){var e=t.x*this.sx+t.y*this.shx+this.tx,r=t.x*this.shy+t.y*this.sy+this.ty;return new kr(e,r)},Ht.prototype.applyToRectangle=function(t){var e=this.applyToPoint(t),r=this.applyToPoint(new kr(t.x+t.w,t.y+t.h));return new Fr(e.x,e.y,r.x-e.x,r.y-e.y)},Ht.prototype.clone=function(){var t=this.sx,e=this.shy,r=this.shx,n=this.sy,i=this.tx,a=this.ty;return new Ht(t,e,r,n,i,a)},b.Matrix=Ht;var Wt=b.matrixMult=function(t,e){return e.multiply(t)},Vt=new Ht(1,0,0,1,0,0);b.unitMatrix=b.identityMatrix=Vt;var Gt=function(t,e){if(!jt[t]){var r=(e instanceof I?"Sh":"P")+(Object.keys(Ct).length+1).toString(10);e.id=r,jt[t]=r,Ct[r]=e,Rt.publish("addPattern",e)}};b.ShadingPattern=I,b.TilingPattern=C,b.addShadingPattern=function(t,e){return M("addShadingPattern()"),Gt(t,e),this},b.beginTilingPattern=function(t){M("beginTilingPattern()"),Cr(t.boundingBox[0],t.boundingBox[1],t.boundingBox[2]-t.boundingBox[0],t.boundingBox[3]-t.boundingBox[1],t.matrix)},b.endTilingPattern=function(t,e){M("endTilingPattern()"),e.stream=it[K].join("\n"),Gt(t,e),Rt.publish("endTilingPattern",e),zt.pop().restore()};var Yt=b.__private__.newObject=function(){var t=Jt();return Xt(t,!0),t},Jt=b.__private__.newObjectDeferred=function(){return Q++,tt[Q]=function(){return rt},Q},Xt=function(t,e){return e="boolean"==typeof e&&e,tt[t]=rt,e&&ct(t+" 0 obj"),t},Kt=b.__private__.newAdditionalObject=function(){var t={objId:Jt(),content:""};return nt.push(t),t},Zt=Jt(),$t=Jt(),Qt=b.__private__.decodeColorString=function(t){var e=t.split(" ");if(2!==e.length||"g"!==e[1]&&"G"!==e[1]){if(5===e.length&&("k"===e[4]||"K"===e[4])){e=[(1-e[0])*(1-e[3]),(1-e[1])*(1-e[3]),(1-e[2])*(1-e[3]),"r"]}}else{var r=parseFloat(e[0]);e=[r,r,r,"r"]}for(var n="#",i=0;i<3;i++)n+=("0"+Math.floor(255*parseFloat(e[i])).toString(16)).slice(-2);return n},te=b.__private__.encodeColorString=function(t){var e;"string"==typeof t&&(t={ch1:t});var r=t.ch1,n=t.ch2,i=t.ch3,a=t.ch4,o="draw"===t.pdfColorType?["G","RG","K"]:["g","rg","k"];if("string"==typeof r&&"#"!==r.charAt(0)){var s=new l(r);if(s.ok)r=s.toHex();else if(!/^\d*\.?\d*$/.test(r))throw new Error('Invalid color "'+r+'" passed to jsPDF.encodeColorString.')}if("string"==typeof r&&/^#[0-9A-Fa-f]{3}$/.test(r)&&(r="#"+r[1]+r[1]+r[2]+r[2]+r[3]+r[3]),"string"==typeof r&&/^#[0-9A-Fa-f]{6}$/.test(r)){var u=parseInt(r.substr(1),16);r=u>>16&255,n=u>>8&255,i=255&u}if(void 0===n||void 0===a&&r===n&&n===i)if("string"==typeof r)e=r+" "+o[0];else switch(t.precision){case 2:e=q(r/255)+" "+o[0];break;case 3:default:e=R(r/255)+" "+o[0]}else if(void 0===a||"object"==typeof a){if(a&&!isNaN(a.a)&&0===a.a)return e=["1.","1.","1.",o[1]].join(" ");if("string"==typeof r)e=[r,n,i,o[1]].join(" ");else switch(t.precision){case 2:e=[q(r/255),q(n/255),q(i/255),o[1]].join(" ");break;default:case 3:e=[R(r/255),R(n/255),R(i/255),o[1]].join(" ")}}else if("string"==typeof r)e=[r,n,i,a,o[2]].join(" ");else switch(t.precision){case 2:e=[q(r),q(n),q(i),q(a),o[2]].join(" ");break;case 3:default:e=[R(r),R(n),R(i),R(a),o[2]].join(" ")}return e},ee=b.__private__.getFilters=function(){return h},re=b.__private__.putStream=function(t){var e=(t=t||{}).data||"",r=t.filters||ee(),n=t.alreadyAppliedFilters||[],i=t.addLength1||!1,a=e.length,o=t.objectId,s=function(t){return t};if(null!==g&&void 0===o)throw new Error("ObjectId must be passed to putStream for file encryption");null!==g&&(s=Ve.encryptor(o,0));var u={};!0===r&&(r=["FlateEncode"]);var c=t.additionalKeyValues||[],l=(u=void 0!==j.API.processDataByFilters?j.API.processDataByFilters(e,r):{data:e,reverseChain:[]}).reverseChain+(Array.isArray(n)?n.join(" "):n.toString());if(0!==u.data.length&&(c.push({key:"Length",value:u.data.length}),!0===i&&c.push({key:"Length1",value:a})),0!=l.length)if(l.split("/").length-1==1)c.push({key:"Filter",value:l});else{c.push({key:"Filter",value:"["+l+"]"});for(var h=0;h<c.length;h+=1)if("DecodeParms"===c[h].key){for(var f=[],d=0;d<u.reverseChain.split("/").length-1;d+=1)f.push("null");f.push(c[h].value),c[h].value="["+f.join(" ")+"]"}}ct("<<");for(var p=0;p<c.length;p++)ct("/"+c[p].key+" "+c[p].value);ct(">>"),0!==u.data.length&&(ct("stream"),ct(s(u.data)),ct("endstream"))},ne=b.__private__.putPage=function(t){var e=t.number,r=t.data,n=t.objId,i=t.contentsObjId;Xt(n,!0),ct("<</Type /Page"),ct("/Parent "+t.rootDictionaryObjId+" 0 R"),ct("/Resources "+t.resourceDictionaryObjId+" 0 R"),ct("/MediaBox ["+parseFloat(B(t.mediaBox.bottomLeftX))+" "+parseFloat(B(t.mediaBox.bottomLeftY))+" "+B(t.mediaBox.topRightX)+" "+B(t.mediaBox.topRightY)+"]"),null!==t.cropBox&&ct("/CropBox ["+B(t.cropBox.bottomLeftX)+" "+B(t.cropBox.bottomLeftY)+" "+B(t.cropBox.topRightX)+" "+B(t.cropBox.topRightY)+"]"),null!==t.bleedBox&&ct("/BleedBox ["+B(t.bleedBox.bottomLeftX)+" "+B(t.bleedBox.bottomLeftY)+" "+B(t.bleedBox.topRightX)+" "+B(t.bleedBox.topRightY)+"]"),null!==t.trimBox&&ct("/TrimBox ["+B(t.trimBox.bottomLeftX)+" "+B(t.trimBox.bottomLeftY)+" "+B(t.trimBox.topRightX)+" "+B(t.trimBox.topRightY)+"]"),null!==t.artBox&&ct("/ArtBox ["+B(t.artBox.bottomLeftX)+" "+B(t.artBox.bottomLeftY)+" "+B(t.artBox.topRightX)+" "+B(t.artBox.topRightY)+"]"),"number"==typeof t.userUnit&&1!==t.userUnit&&ct("/UserUnit "+t.userUnit),Rt.publish("putPage",{objId:n,pageContext:qt[e],pageNumber:e,page:r}),ct("/Contents "+i+" 0 R"),ct(">>"),ct("endobj");var a=r.join("\n");return x===L.ADVANCED&&(a+="\nQ"),Xt(i,!0),re({data:a,filters:ee(),objectId:i}),ct("endobj"),n},ie=b.__private__.putPages=function(){var t,e,r=[];for(t=1;t<=Et;t++)qt[t].objId=Jt(),qt[t].contentsObjId=Jt();for(t=1;t<=Et;t++)r.push(ne({number:t,data:it[t],objId:qt[t].objId,contentsObjId:qt[t].contentsObjId,mediaBox:qt[t].mediaBox,cropBox:qt[t].cropBox,bleedBox:qt[t].bleedBox,trimBox:qt[t].trimBox,artBox:qt[t].artBox,userUnit:qt[t].userUnit,rootDictionaryObjId:Zt,resourceDictionaryObjId:$t}));Xt(Zt,!0),ct("<</Type /Pages");var n="/Kids [";for(e=0;e<Et;e++)n+=r[e]+" 0 R ";ct(n+"]"),ct("/Count "+Et),ct(">>"),ct("endobj"),Rt.publish("postPutPages")},ae=function(t){var e=function(t,e){return-1!==t.indexOf(" ")?"("+Fe(t,e)+")":Fe(t,e)};Rt.publish("putFont",{font:t,out:ct,newObject:Yt,putStream:re,pdfEscapeWithNeededParanthesis:e}),!0!==t.isAlreadyPutted&&(t.objectNumber=Yt(),ct("<<"),ct("/Type /Font"),ct("/BaseFont /"+e(t.postScriptName)),ct("/Subtype /Type1"),"string"==typeof t.encoding&&ct("/Encoding /"+t.encoding),ct("/FirstChar 32"),ct("/LastChar 255"),ct(">>"),ct("endobj"))},oe=function(){for(var t in kt)kt.hasOwnProperty(t)&&(!1===m||!0===m&&v.hasOwnProperty(t))&&ae(kt[t])},se=function(t){t.objectNumber=Yt();var e=[];e.push({key:"Type",value:"/XObject"}),e.push({key:"Subtype",value:"/Form"}),e.push({key:"BBox",value:"["+[B(t.x),B(t.y),B(t.x+t.width),B(t.y+t.height)].join(" ")+"]"}),e.push({key:"Matrix",value:"["+t.matrix.toString()+"]"});var r=t.pages[1].join("\n");re({data:r,additionalKeyValues:e,objectId:t.objectNumber}),ct("endobj")},ue=function(){for(var t in Dt)Dt.hasOwnProperty(t)&&se(Dt[t])},ce=function(t,e){var r,n=[],i=1/(e-1);for(r=0;r<1;r+=i)n.push(r);if(n.push(1),0!=t[0].offset){var a={offset:0,color:t[0].color};t.unshift(a)}if(1!=t[t.length-1].offset){var o={offset:1,color:t[t.length-1].color};t.push(o)}for(var s="",u=0,c=0;c<n.length;c++){for(r=n[c];r>t[u+1].offset;)u++;var l=t[u].offset,h=(r-l)/(t[u+1].offset-l),f=t[u].color,d=t[u+1].color;s+=$(Math.round((1-h)*f[0]+h*d[0]).toString(16))+$(Math.round((1-h)*f[1]+h*d[1]).toString(16))+$(Math.round((1-h)*f[2]+h*d[2]).toString(16))}return s.trim()},le=function(t,e){e||(e=21);var r=Yt(),n=ce(t.colors,e),i=[];i.push({key:"FunctionType",value:"0"}),i.push({key:"Domain",value:"[0.0 1.0]"}),i.push({key:"Size",value:"["+e+"]"}),i.push({key:"BitsPerSample",value:"8"}),i.push({key:"Range",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),i.push({key:"Decode",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),re({data:n,additionalKeyValues:i,alreadyAppliedFilters:["/ASCIIHexDecode"],objectId:r}),ct("endobj"),t.objectNumber=Yt(),ct("<< /ShadingType "+t.type),ct("/ColorSpace /DeviceRGB");var a="/Coords ["+B(parseFloat(t.coords[0]))+" "+B(parseFloat(t.coords[1]))+" ";2===t.type?a+=B(parseFloat(t.coords[2]))+" "+B(parseFloat(t.coords[3])):a+=B(parseFloat(t.coords[2]))+" "+B(parseFloat(t.coords[3]))+" "+B(parseFloat(t.coords[4]))+" "+B(parseFloat(t.coords[5])),ct(a+="]"),t.matrix&&ct("/Matrix ["+t.matrix.toString()+"]"),ct("/Function "+r+" 0 R"),ct("/Extend [true true]"),ct(">>"),ct("endobj")},he=function(t,e){var r=Jt(),n=Yt();e.push({resourcesOid:r,objectOid:n}),t.objectNumber=n;var i=[];i.push({key:"Type",value:"/Pattern"}),i.push({key:"PatternType",value:"1"}),i.push({key:"PaintType",value:"1"}),i.push({key:"TilingType",value:"1"}),i.push({key:"BBox",value:"["+t.boundingBox.map(B).join(" ")+"]"}),i.push({key:"XStep",value:B(t.xStep)}),i.push({key:"YStep",value:B(t.yStep)}),i.push({key:"Resources",value:r+" 0 R"}),t.matrix&&i.push({key:"Matrix",value:"["+t.matrix.toString()+"]"}),re({data:t.stream,additionalKeyValues:i,objectId:t.objectNumber}),ct("endobj")},fe=function(t){var e;for(e in Ct)Ct.hasOwnProperty(e)&&(Ct[e]instanceof I?le(Ct[e]):Ct[e]instanceof C&&he(Ct[e],t))},de=function(t){for(var e in t.objectNumber=Yt(),ct("<<"),t)switch(e){case"opacity":ct("/ca "+q(t[e]));break;case"stroke-opacity":ct("/CA "+q(t[e]))}ct(">>"),ct("endobj")},pe=function(){var t;for(t in Ot)Ot.hasOwnProperty(t)&&de(Ot[t])},ge=function(){for(var t in ct("/XObject <<"),Dt)Dt.hasOwnProperty(t)&&Dt[t].objectNumber>=0&&ct("/"+t+" "+Dt[t].objectNumber+" 0 R");Rt.publish("putXobjectDict"),ct(">>")},me=function(){Ve.oid=Yt(),ct("<<"),ct("/Filter /Standard"),ct("/V "+Ve.v),ct("/R "+Ve.r),ct("/U <"+Ve.toHexString(Ve.U)+">"),ct("/O <"+Ve.toHexString(Ve.O)+">"),ct("/P "+Ve.P),ct(">>"),ct("endobj")},ve=function(){for(var t in ct("/Font <<"),kt)kt.hasOwnProperty(t)&&(!1===m||!0===m&&v.hasOwnProperty(t))&&ct("/"+t+" "+kt[t].objectNumber+" 0 R");ct(">>")},be=function(){if(Object.keys(Ct).length>0){for(var t in ct("/Shading <<"),Ct)Ct.hasOwnProperty(t)&&Ct[t]instanceof I&&Ct[t].objectNumber>=0&&ct("/"+t+" "+Ct[t].objectNumber+" 0 R");Rt.publish("putShadingPatternDict"),ct(">>")}},ye=function(t){if(Object.keys(Ct).length>0){for(var e in ct("/Pattern <<"),Ct)Ct.hasOwnProperty(e)&&Ct[e]instanceof b.TilingPattern&&Ct[e].objectNumber>=0&&Ct[e].objectNumber<t&&ct("/"+e+" "+Ct[e].objectNumber+" 0 R");Rt.publish("putTilingPatternDict"),ct(">>")}},we=function(){if(Object.keys(Ot).length>0){var t;for(t in ct("/ExtGState <<"),Ot)Ot.hasOwnProperty(t)&&Ot[t].objectNumber>=0&&ct("/"+t+" "+Ot[t].objectNumber+" 0 R");Rt.publish("putGStateDict"),ct(">>")}},Ne=function(t){Xt(t.resourcesOid,!0),ct("<<"),ct("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),ve(),be(),ye(t.objectOid),we(),ge(),ct(">>"),ct("endobj")},Ae=function(){var t=[];oe(),pe(),ue(),fe(t),Rt.publish("putResources"),t.forEach(Ne),Ne({resourcesOid:$t,objectOid:Number.MAX_SAFE_INTEGER}),Rt.publish("postPutResources")},Le=function(){Rt.publish("putAdditionalObjects");for(var t=0;t<nt.length;t++){var e=nt[t];Xt(e.objId,!0),ct(e.content),ct("endobj")}Rt.publish("postPutAdditionalObjects")},xe=function(t){Ft[t.fontName]=Ft[t.fontName]||{},Ft[t.fontName][t.fontStyle]=t.id},Se=function(t,e,r,n,i){var a={id:"F"+(Object.keys(kt).length+1).toString(10),postScriptName:t,fontName:e,fontStyle:r,encoding:n,isStandardFont:i||!1,metadata:{}};return Rt.publish("addFont",{font:a,instance:this}),kt[a.id]=a,xe(a),a.id},_e=function(t){for(var e=0,r=ft.length;e<r;e++){var n=Se.call(this,t[e][0],t[e][1],t[e][2],ft[e][3],!0);!1===m&&(v[n]=!0);var i=t[e][0].split("-");xe({id:n,fontName:i[0],fontStyle:i[1]||""})}Rt.publish("addFonts",{fonts:kt,dictionary:Ft})},Pe=function(t){return t.foo=function(){try{return t.apply(this,arguments)}catch(t){var r=t.stack||"";~r.indexOf(" at ")&&(r=r.split(" at ")[1]);var n="Error in function "+r.split("\n")[0].split("<")[0]+": "+t.message;if(!e.console)throw new Error(n);e.console.error(n,t),e.alert&&alert(n)}},t.foo.bar=t,t.foo},ke=function(t,e){var r,n,i,a,o,s,u,c,l;if(i=(e=e||{}).sourceEncoding||"Unicode",o=e.outputEncoding,(e.autoencode||o)&&kt[Lt].metadata&&kt[Lt].metadata[i]&&kt[Lt].metadata[i].encoding&&(a=kt[Lt].metadata[i].encoding,!o&&kt[Lt].encoding&&(o=kt[Lt].encoding),!o&&a.codePages&&(o=a.codePages[0]),"string"==typeof o&&(o=a[o]),o)){for(u=!1,s=[],r=0,n=t.length;r<n;r++)(c=o[t.charCodeAt(r)])?s.push(String.fromCharCode(c)):s.push(t[r]),s[r].charCodeAt(0)>>8&&(u=!0);t=s.join("")}for(r=t.length;void 0===u&&0!==r;)t.charCodeAt(r-1)>>8&&(u=!0),r--;if(!u)return t;for(s=e.noBOM?[]:[254,255],r=0,n=t.length;r<n;r++){if((l=(c=t.charCodeAt(r))>>8)>>8)throw new Error("Character at position "+r+" of string '"+t+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");s.push(l),s.push(c-(l<<8))}return String.fromCharCode.apply(void 0,s)},Fe=b.__private__.pdfEscape=b.pdfEscape=function(t,e){return ke(t,e).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},Ie=b.__private__.beginPage=function(t){it[++Et]=[],qt[Et]={objId:0,contentsObjId:0,userUnit:Number(f),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number(t[0]),topRightY:Number(t[1])}},Oe(Et),ut(it[K])},Ce=function(t,e){var r,a,s;switch(i=e||i,"string"==typeof t&&(r=A(t.toLowerCase()),Array.isArray(r)&&(a=r[0],s=r[1])),Array.isArray(t)&&(a=t[0]*xt,s=t[1]*xt),isNaN(a)&&(a=o[0],s=o[1]),(a>14400||s>14400)&&(n.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),a=Math.min(14400,a),s=Math.min(14400,s)),o=[a,s],i.substr(0,1)){case"l":s>a&&(o=[s,a]);break;case"p":a>s&&(o=[s,a])}Ie(o),hr(lr),ct(yr),0!==Sr&&ct(Sr+" J"),0!==_r&&ct(_r+" j"),Rt.publish("addPage",{pageNumber:Et})},je=function(t){t>0&&t<=Et&&(it.splice(t,1),qt.splice(t,1),Et--,K>Et&&(K=Et),this.setPage(K))},Oe=function(t){t>0&&t<=Et&&(K=t)},Be=b.__private__.getNumberOfPages=b.getNumberOfPages=function(){return it.length-1},Me=function(t,e,r){var i,a=void 0;return r=r||{},t=void 0!==t?t:kt[Lt].fontName,e=void 0!==e?e:kt[Lt].fontStyle,i=t.toLowerCase(),void 0!==Ft[i]&&void 0!==Ft[i][e]?a=Ft[i][e]:void 0!==Ft[t]&&void 0!==Ft[t][e]?a=Ft[t][e]:!1===r.disableWarning&&n.warn("Unable to look up font label for font '"+t+"', '"+e+"'. Refer to getFontList() for available fonts."),a||r.noFallback||null==(a=Ft.times[e])&&(a=Ft.times.normal),a},Ee=b.__private__.putInfo=function(){var t=Yt(),e=function(t){return t};for(var r in null!==g&&(e=Ve.encryptor(t,0)),ct("<<"),ct("/Producer ("+Fe(e("jsPDF "+j.version))+")"),At)At.hasOwnProperty(r)&&At[r]&&ct("/"+r.substr(0,1).toUpperCase()+r.substr(1)+" ("+Fe(e(At[r]))+")");ct("/CreationDate ("+Fe(e(z))+")"),ct(">>"),ct("endobj")},qe=b.__private__.putCatalog=function(t){var e=(t=t||{}).rootDictionaryObjId||Zt;switch(Yt(),ct("<<"),ct("/Type /Catalog"),ct("/Pages "+e+" 0 R"),pt||(pt="fullwidth"),pt){case"fullwidth":ct("/OpenAction [3 0 R /FitH null]");break;case"fullheight":ct("/OpenAction [3 0 R /FitV null]");break;case"fullpage":ct("/OpenAction [3 0 R /Fit]");break;case"original":ct("/OpenAction [3 0 R /XYZ null null 1]");break;default:var r=""+pt;"%"===r.substr(r.length-1)&&(pt=parseInt(pt)/100),"number"==typeof pt&&ct("/OpenAction [3 0 R /XYZ null null "+q(pt)+"]")}switch(yt||(yt="continuous"),yt){case"continuous":ct("/PageLayout /OneColumn");break;case"single":ct("/PageLayout /SinglePage");break;case"two":case"twoleft":ct("/PageLayout /TwoColumnLeft");break;case"tworight":ct("/PageLayout /TwoColumnRight")}vt&&ct("/PageMode /"+vt),Rt.publish("putCatalog"),ct(">>"),ct("endobj")},Re=b.__private__.putTrailer=function(){ct("trailer"),ct("<<"),ct("/Size "+(Q+1)),ct("/Root "+Q+" 0 R"),ct("/Info "+(Q-1)+" 0 R"),null!==g&&ct("/Encrypt "+Ve.oid+" 0 R"),ct("/ID [ <"+H+"> <"+H+"> ]"),ct(">>")},Te=b.__private__.putHeader=function(){ct("%PDF-"+y),ct("%ºß¬à")},De=b.__private__.putXRef=function(){var t="0000000000";ct("xref"),ct("0 "+(Q+1)),ct("0000000000 65535 f ");for(var e=1;e<=Q;e++){"function"==typeof tt[e]?ct((t+tt[e]()).slice(-10)+" 00000 n "):void 0!==tt[e]?ct((t+tt[e]).slice(-10)+" 00000 n "):ct("0000000000 00000 n ")}},Ue=b.__private__.buildDocument=function(){st(),ut(et),Rt.publish("buildDocument"),Te(),ie(),Le(),Ae(),null!==g&&me(),Ee(),qe();var t=rt;return De(),Re(),ct("startxref"),ct(""+t),ct("%%EOF"),ut(it[K]),et.join("\n")},ze=b.__private__.getBlob=function(t){return new Blob([ht(t)],{type:"application/pdf"})},He=b.output=b.__private__.output=Pe((function(t,r){switch("string"==typeof(r=r||{})?r={filename:r}:r.filename=r.filename||"generated.pdf",t){case void 0:return Ue();case"save":b.save(r.filename);break;case"arraybuffer":return ht(Ue());case"blob":return ze(Ue());case"bloburi":case"bloburl":if(void 0!==e.URL&&"function"==typeof e.URL.createObjectURL)return e.URL&&e.URL.createObjectURL(ze(Ue()))||void 0;n.warn("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":var i="",a=Ue();try{i=u(a)}catch(t){i=u(unescape(encodeURIComponent(a)))}return"data:application/pdf;filename="+r.filename+";base64,"+i;case"pdfobjectnewwindow":if("[object Window]"===Object.prototype.toString.call(e)){var o='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><script src="'+(r.pdfObjectUrl||"https://cdnjs.cloudflare.com/ajax/libs/pdfobject/2.1.1/pdfobject.min.js")+'"><\/script><script >PDFObject.embed("'+this.output("dataurlstring")+'", '+JSON.stringify(r)+");<\/script></body></html>",s=e.open();return null!==s&&s.document.write(o),s}throw new Error("The option pdfobjectnewwindow just works in a browser-environment.");case"pdfjsnewwindow":if("[object Window]"===Object.prototype.toString.call(e)){var c='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><iframe id="pdfViewer" src="'+(r.pdfJsUrl||"examples/PDF.js/web/viewer.html")+"?file=&downloadName="+r.filename+'" width="500px" height="400px" /></body></html>',l=e.open();if(null!==l){l.document.write(c);var h=this;l.document.documentElement.querySelector("#pdfViewer").onload=function(){l.document.title=r.filename,l.document.documentElement.querySelector("#pdfViewer").contentWindow.PDFViewerApplication.open(h.output("bloburl"))}}return l}throw new Error("The option pdfjsnewwindow just works in a browser-environment.");case"dataurlnewwindow":if("[object Window]"!==Object.prototype.toString.call(e))throw new Error("The option dataurlnewwindow just works in a browser-environment.");var f='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><iframe src="'+this.output("datauristring",r)+'"></iframe></body></html>',d=e.open();if(null!==d&&(d.document.write(f),d.document.title=r.filename),d||"undefined"==typeof safari)return d;break;case"datauri":case"dataurl":return e.document.location.href=this.output("datauristring",r);default:return null}})),We=function(t){return!0===Array.isArray(Tt)&&Tt.indexOf(t)>-1};switch(a){case"pt":xt=1;break;case"mm":xt=72/25.4;break;case"cm":xt=72/2.54;break;case"in":xt=72;break;case"px":xt=1==We("px_scaling")?.75:96/72;break;case"pc":case"em":xt=12;break;case"ex":xt=6;break;default:throw new Error("Invalid unit: "+a)}var Ve=null;J(),V();var Ge=function(t){return null!==g?Ve.encryptor(t,0):function(t){return t}},Ye=b.__private__.getPageInfo=b.getPageInfo=function(t){if(isNaN(t)||t%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfo");return{objId:qt[t].objId,pageNumber:t,pageContext:qt[t]}},Je=b.__private__.getPageInfoByObjId=function(t){if(isNaN(t)||t%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfoByObjId");for(var e in qt)if(qt[e].objId===t)break;return Ye(e)},Xe=b.__private__.getCurrentPageInfo=b.getCurrentPageInfo=function(){return{objId:qt[K].objId,pageNumber:K,pageContext:qt[K]}};b.addPage=function(){return Ce.apply(this,arguments),this},b.setPage=function(){return Oe.apply(this,arguments),ut.call(this,it[K]),this},b.insertPage=function(t){return this.addPage(),this.movePage(K,t),this},b.movePage=function(t,e){var r,n;if(t>e){r=it[t],n=qt[t];for(var i=t;i>e;i--)it[i]=it[i-1],qt[i]=qt[i-1];it[e]=r,qt[e]=n,this.setPage(e)}else if(t<e){r=it[t],n=qt[t];for(var a=t;a<e;a++)it[a]=it[a+1],qt[a]=qt[a+1];it[e]=r,qt[e]=n,this.setPage(e)}return this},b.deletePage=function(){return je.apply(this,arguments),this},b.__private__.text=b.text=function(t,e,r,n,i){var a,o,s,u,c,l,h,f,d=(n=n||{}).scope||this;if("number"==typeof t&&"number"==typeof e&&("string"==typeof r||Array.isArray(r))){var p=r;r=e,e=t,t=p}if(arguments[3]instanceof Ht==!1?(s=arguments[4],u=arguments[5],"object"==typeof(h=arguments[3])&&null!==h||("string"==typeof s&&(u=s,s=null),"string"==typeof h&&(u=h,h=null),"number"==typeof h&&(s=h,h=null),n={flags:h,angle:s,align:u})):(M("The transform parameter of text() with a Matrix value"),f=i),isNaN(e)||isNaN(r)||null==t)throw new Error("Invalid arguments passed to jsPDF.text");if(0===t.length)return d;var g="",m=!1,b="number"==typeof n.lineHeightFactor?n.lineHeightFactor:cr,y=d.internal.scaleFactor;function w(t){return t=t.split("\t").join(Array(n.TabLen||9).join(" ")),Fe(t,h)}function N(t){for(var e,r=t.concat(),n=[],i=r.length;i--;)"string"==typeof(e=r.shift())?n.push(e):Array.isArray(t)&&(1===e.length||void 0===e[1]&&void 0===e[2])?n.push(e[0]):n.push([e[0],e[1],e[2]]);return n}function A(t,e){var r;if("string"==typeof t)r=e(t)[0];else if(Array.isArray(t)){for(var n,i,a=t.concat(),o=[],s=a.length;s--;)"string"==typeof(n=a.shift())?o.push(e(n)[0]):Array.isArray(n)&&"string"==typeof n[0]&&(i=e(n[0],n[1],n[2]),o.push([i[0],i[1],i[2]]));r=o}return r}var S=!1,_=!0;if("string"==typeof t)S=!0;else if(Array.isArray(t)){var P=t.concat();o=[];for(var k,F=P.length;F--;)("string"!=typeof(k=P.shift())||Array.isArray(k)&&"string"!=typeof k[0])&&(_=!1);S=_}if(!1===S)throw new Error('Type of text must be string or Array. "'+t+'" is not recognized.');"string"==typeof t&&(t=t.match(/[\r?\n]/)?t.split(/\r\n|\r|\n/g):[t]);var I=dt/d.internal.scaleFactor,C=I*(cr-1);switch(n.baseline){case"bottom":r-=C;break;case"top":r+=I-C;break;case"hanging":r+=I-2*C;break;case"middle":r+=I/2-C}if((l=n.maxWidth||0)>0&&("string"==typeof t?t=d.splitTextToSize(t,l):"[object Array]"===Object.prototype.toString.call(t)&&(t=t.reduce((function(t,e){return t.concat(d.splitTextToSize(e,l))}),[]))),a={text:t,x:e,y:r,options:n,mutex:{pdfEscape:Fe,activeFontKey:Lt,fonts:kt,activeFontSize:dt}},Rt.publish("preProcessText",a),t=a.text,s=(n=a.options).angle,f instanceof Ht==!1&&s&&"number"==typeof s){s*=Math.PI/180,0===n.rotationDirection&&(s=-s),x===L.ADVANCED&&(s=-s);var j=Math.cos(s),O=Math.sin(s);f=new Ht(j,O,-O,j,0,0)}else s&&s instanceof Ht&&(f=s);x!==L.ADVANCED||f||(f=Vt),void 0!==(c=n.charSpace||Lr)&&(g+=B(T(c))+" Tc\n",this.setCharSpace(this.getCharSpace()||0));n.lang;var E=-1,q=void 0!==n.renderingMode?n.renderingMode:n.stroke,R=d.internal.getCurrentPageInfo().pageContext;switch(q){case 0:case!1:case"fill":E=0;break;case 1:case!0:case"stroke":E=1;break;case 2:case"fillThenStroke":E=2;break;case 3:case"invisible":E=3;break;case 4:case"fillAndAddForClipping":E=4;break;case 5:case"strokeAndAddPathForClipping":E=5;break;case 6:case"fillThenStrokeAndAddToPathForClipping":E=6;break;case 7:case"addToPathForClipping":E=7}var D=void 0!==R.usedRenderingMode?R.usedRenderingMode:-1;-1!==E?g+=E+" Tr\n":-1!==D&&(g+="0 Tr\n"),-1!==E&&(R.usedRenderingMode=E),u=n.align||"left";var U,z=dt*b,H=d.internal.pageSize.getWidth(),W=kt[Lt];c=n.charSpace||Lr,l=n.maxWidth||0,h=Object.assign({autoencode:!0,noBOM:!0},n.flags);var V=[];if("[object Array]"===Object.prototype.toString.call(t)){var G;o=N(t),"left"!==u&&(U=o.map((function(t){return d.getStringUnitWidth(t,{font:W,charSpace:c,fontSize:dt,doKerning:!1})*dt/y})));var Y,J=0;if("right"===u){e-=U[0],t=[],F=o.length;for(var X=0;X<F;X++)0===X?(Y=gr(e),G=mr(r)):(Y=T(J-U[X]),G=-z),t.push([o[X],Y,G]),J=U[X]}else if("center"===u){e-=U[0]/2,t=[],F=o.length;for(var K=0;K<F;K++)0===K?(Y=gr(e),G=mr(r)):(Y=T((J-U[K])/2),G=-z),t.push([o[K],Y,G]),J=U[K]}else if("left"===u){t=[],F=o.length;for(var Z=0;Z<F;Z++)t.push(o[Z])}else{if("justify"!==u)throw new Error('Unrecognized alignment option, use "left", "center", "right" or "justify".');t=[],F=o.length,l=0!==l?l:H;for(var $=0;$<F;$++)G=0===$?mr(r):-z,Y=0===$?gr(e):0,$<F-1&&V.push(B(T((l-U[$])/(o[$].split(" ").length-1)))),t.push([o[$],Y,G])}}var Q="boolean"==typeof n.R2L?n.R2L:mt;!0===Q&&(t=A(t,(function(t,e,r){return[t.split("").reverse().join(""),e,r]}))),a={text:t,x:e,y:r,options:n,mutex:{pdfEscape:Fe,activeFontKey:Lt,fonts:kt,activeFontSize:dt}},Rt.publish("postProcessText",a),t=a.text,m=a.mutex.isHex||!1;var tt=kt[Lt].encoding;"WinAnsiEncoding"!==tt&&"StandardEncoding"!==tt||(t=A(t,(function(t,e,r){return[w(t),e,r]}))),o=N(t),t=[];for(var et,rt,nt,it=0,at=1,ot=Array.isArray(o[0])?at:it,st="",ut=function(t,e,r){var i="";return r instanceof Ht?(r="number"==typeof n.angle?Wt(r,new Ht(1,0,0,1,t,e)):Wt(new Ht(1,0,0,1,t,e),r),x===L.ADVANCED&&(r=Wt(new Ht(1,0,0,-1,0,0),r)),i=r.join(" ")+" Tm\n"):i=B(t)+" "+B(e)+" Td\n",i},lt=0;lt<o.length;lt++){switch(st="",ot){case at:nt=(m?"<":"(")+o[lt][0]+(m?">":")"),et=parseFloat(o[lt][1]),rt=parseFloat(o[lt][2]);break;case it:nt=(m?"<":"(")+o[lt]+(m?">":")"),et=gr(e),rt=mr(r)}void 0!==V&&void 0!==V[lt]&&(st=V[lt]+" Tw\n"),0===lt?t.push(st+ut(et,rt,f)+nt):ot===it?t.push(st+nt):ot===at&&t.push(st+ut(et,rt,f)+nt)}t=ot===it?t.join(" Tj\nT* "):t.join(" Tj\n"),t+=" Tj\n";var ht="BT\n/";return ht+=Lt+" "+dt+" Tf\n",ht+=B(dt*b)+" TL\n",ht+=Nr+"\n",ht+=g,ht+=t,ct(ht+="ET"),v[Lt]=!0,d};var Ke=b.__private__.clip=b.clip=function(t){return ct("evenodd"===t?"W*":"W"),this};b.clipEvenOdd=function(){return Ke("evenodd")},b.__private__.discardPath=b.discardPath=function(){return ct("n"),this};var Ze=b.__private__.isValidStyle=function(t){var e=!1;return-1!==[void 0,null,"S","D","F","DF","FD","f","f*","B","B*","n"].indexOf(t)&&(e=!0),e};b.__private__.setDefaultPathOperation=b.setDefaultPathOperation=function(t){return Ze(t)&&(p=t),this};var $e=b.__private__.getStyle=b.getStyle=function(t){var e=p;switch(t){case"D":case"S":e="S";break;case"F":e="f";break;case"FD":case"DF":e="B";break;case"f":case"f*":case"B":case"B*":e=t}return e},Qe=b.close=function(){return ct("h"),this};b.stroke=function(){return ct("S"),this},b.fill=function(t){return tr("f",t),this},b.fillEvenOdd=function(t){return tr("f*",t),this},b.fillStroke=function(t){return tr("B",t),this},b.fillStrokeEvenOdd=function(t){return tr("B*",t),this};var tr=function(t,e){"object"==typeof e?nr(e,t):ct(t)},er=function(t){null===t||x===L.ADVANCED&&void 0===t||(t=$e(t),ct(t))};function rr(t,e,r,n,i){var a=new C(e||this.boundingBox,r||this.xStep,n||this.yStep,this.gState,i||this.matrix);a.stream=this.stream;var o=t+"$$"+this.cloneIndex+++"$$";return Gt(o,a),a}var nr=function(t,e){var r=jt[t.key],n=Ct[r];if(n instanceof I)ct("q"),ct(ir(e)),n.gState&&b.setGState(n.gState),ct(t.matrix.toString()+" cm"),ct("/"+r+" sh"),ct("Q");else if(n instanceof C){var i=new Ht(1,0,0,-1,0,Er());t.matrix&&(i=i.multiply(t.matrix||Vt),r=rr.call(n,t.key,t.boundingBox,t.xStep,t.yStep,i).id),ct("q"),ct("/Pattern cs"),ct("/"+r+" scn"),n.gState&&b.setGState(n.gState),ct(e),ct("Q")}},ir=function(t){switch(t){case"f":case"F":return"W n";case"f*":return"W* n";case"B":return"W S";case"B*":return"W* S";case"S":return"W S";case"n":return"W n"}},ar=b.moveTo=function(t,e){return ct(B(T(t))+" "+B(U(e))+" m"),this},or=b.lineTo=function(t,e){return ct(B(T(t))+" "+B(U(e))+" l"),this},sr=b.curveTo=function(t,e,r,n,i,a){return ct([B(T(t)),B(U(e)),B(T(r)),B(U(n)),B(T(i)),B(U(a)),"c"].join(" ")),this};b.__private__.line=b.line=function(t,e,r,n,i){if(isNaN(t)||isNaN(e)||isNaN(r)||isNaN(n)||!Ze(i))throw new Error("Invalid arguments passed to jsPDF.line");return x===L.COMPAT?this.lines([[r-t,n-e]],t,e,[1,1],i||"S"):this.lines([[r-t,n-e]],t,e,[1,1]).stroke()},b.__private__.lines=b.lines=function(t,e,r,n,i,a){var o,s,u,c,l,h,f,d,p,g,m,v;if("number"==typeof t&&(v=r,r=e,e=t,t=v),n=n||[1,1],a=a||!1,isNaN(e)||isNaN(r)||!Array.isArray(t)||!Array.isArray(n)||!Ze(i)||"boolean"!=typeof a)throw new Error("Invalid arguments passed to jsPDF.lines");for(ar(e,r),o=n[0],s=n[1],c=t.length,g=e,m=r,u=0;u<c;u++)2===(l=t[u]).length?(g=l[0]*o+g,m=l[1]*s+m,or(g,m)):(h=l[0]*o+g,f=l[1]*s+m,d=l[2]*o+g,p=l[3]*s+m,g=l[4]*o+g,m=l[5]*s+m,sr(h,f,d,p,g,m));return a&&Qe(),er(i),this},b.path=function(t){for(var e=0;e<t.length;e++){var r=t[e],n=r.c;switch(r.op){case"m":ar(n[0],n[1]);break;case"l":or(n[0],n[1]);break;case"c":sr.apply(this,n);break;case"h":Qe()}}return this},b.__private__.rect=b.rect=function(t,e,r,n,i){if(isNaN(t)||isNaN(e)||isNaN(r)||isNaN(n)||!Ze(i))throw new Error("Invalid arguments passed to jsPDF.rect");return x===L.COMPAT&&(n=-n),ct([B(T(t)),B(U(e)),B(T(r)),B(T(n)),"re"].join(" ")),er(i),this},b.__private__.triangle=b.triangle=function(t,e,r,n,i,a,o){if(isNaN(t)||isNaN(e)||isNaN(r)||isNaN(n)||isNaN(i)||isNaN(a)||!Ze(o))throw new Error("Invalid arguments passed to jsPDF.triangle");return this.lines([[r-t,n-e],[i-r,a-n],[t-i,e-a]],t,e,[1,1],o,!0),this},b.__private__.roundedRect=b.roundedRect=function(t,e,r,n,i,a,o){if(isNaN(t)||isNaN(e)||isNaN(r)||isNaN(n)||isNaN(i)||isNaN(a)||!Ze(o))throw new Error("Invalid arguments passed to jsPDF.roundedRect");var s=4/3*(Math.SQRT2-1);return i=Math.min(i,.5*r),a=Math.min(a,.5*n),this.lines([[r-2*i,0],[i*s,0,i,a-a*s,i,a],[0,n-2*a],[0,a*s,-i*s,a,-i,a],[2*i-r,0],[-i*s,0,-i,-a*s,-i,-a],[0,2*a-n],[0,-a*s,i*s,-a,i,-a]],t+i,e,[1,1],o,!0),this},b.__private__.ellipse=b.ellipse=function(t,e,r,n,i){if(isNaN(t)||isNaN(e)||isNaN(r)||isNaN(n)||!Ze(i))throw new Error("Invalid arguments passed to jsPDF.ellipse");var a=4/3*(Math.SQRT2-1)*r,o=4/3*(Math.SQRT2-1)*n;return ar(t+r,e),sr(t+r,e-o,t+a,e-n,t,e-n),sr(t-a,e-n,t-r,e-o,t-r,e),sr(t-r,e+o,t-a,e+n,t,e+n),sr(t+a,e+n,t+r,e+o,t+r,e),er(i),this},b.__private__.circle=b.circle=function(t,e,r,n){if(isNaN(t)||isNaN(e)||isNaN(r)||!Ze(n))throw new Error("Invalid arguments passed to jsPDF.circle");return this.ellipse(t,e,r,r,n)},b.setFont=function(t,e,r){return r&&(e=O(e,r)),Lt=Me(t,e,{disableWarning:!1}),this};var ur=b.__private__.getFont=b.getFont=function(){return kt[Me.apply(b,arguments)]};b.__private__.getFontList=b.getFontList=function(){var t,e,r={};for(t in Ft)if(Ft.hasOwnProperty(t))for(e in r[t]=[],Ft[t])Ft[t].hasOwnProperty(e)&&r[t].push(e);return r},b.addFont=function(t,e,r,n,i){var a=["StandardEncoding","MacRomanEncoding","Identity-H","WinAnsiEncoding"];return arguments[3]&&-1!==a.indexOf(arguments[3])?i=arguments[3]:arguments[3]&&-1==a.indexOf(arguments[3])&&(r=O(r,n)),i=i||"Identity-H",Se.call(this,t,e,r,i)};var cr,lr=t.lineWidth||.200025,hr=b.__private__.setLineWidth=b.setLineWidth=function(t){return ct(B(T(t))+" w"),this};b.__private__.setLineDash=j.API.setLineDash=j.API.setLineDashPattern=function(t,e){if(t=t||[],e=e||0,isNaN(e)||!Array.isArray(t))throw new Error("Invalid arguments passed to jsPDF.setLineDash");return t=t.map((function(t){return B(T(t))})).join(" "),e=B(T(e)),ct("["+t+"] "+e+" d"),this};var fr=b.__private__.getLineHeight=b.getLineHeight=function(){return dt*cr};b.__private__.getLineHeight=b.getLineHeight=function(){return dt*cr};var dr=b.__private__.setLineHeightFactor=b.setLineHeightFactor=function(t){return"number"==typeof(t=t||1.15)&&(cr=t),this},pr=b.__private__.getLineHeightFactor=b.getLineHeightFactor=function(){return cr};dr(t.lineHeight);var gr=b.__private__.getHorizontalCoordinate=function(t){return T(t)},mr=b.__private__.getVerticalCoordinate=function(t){return x===L.ADVANCED?t:qt[K].mediaBox.topRightY-qt[K].mediaBox.bottomLeftY-T(t)},vr=b.__private__.getHorizontalCoordinateString=b.getHorizontalCoordinateString=function(t){return B(gr(t))},br=b.__private__.getVerticalCoordinateString=b.getVerticalCoordinateString=function(t){return B(mr(t))},yr=t.strokeColor||"0 G";b.__private__.getStrokeColor=b.getDrawColor=function(){return Qt(yr)},b.__private__.setStrokeColor=b.setDrawColor=function(t,e,r,n){return yr=te({ch1:t,ch2:e,ch3:r,ch4:n,pdfColorType:"draw",precision:2}),ct(yr),this};var wr=t.fillColor||"0 g";b.__private__.getFillColor=b.getFillColor=function(){return Qt(wr)},b.__private__.setFillColor=b.setFillColor=function(t,e,r,n){return wr=te({ch1:t,ch2:e,ch3:r,ch4:n,pdfColorType:"fill",precision:2}),ct(wr),this};var Nr=t.textColor||"0 g",Ar=b.__private__.getTextColor=b.getTextColor=function(){return Qt(Nr)};b.__private__.setTextColor=b.setTextColor=function(t,e,r,n){return Nr=te({ch1:t,ch2:e,ch3:r,ch4:n,pdfColorType:"text",precision:3}),this};var Lr=t.charSpace,xr=b.__private__.getCharSpace=b.getCharSpace=function(){return parseFloat(Lr||0)};b.__private__.setCharSpace=b.setCharSpace=function(t){if(isNaN(t))throw new Error("Invalid argument passed to jsPDF.setCharSpace");return Lr=t,this};var Sr=0;b.CapJoinStyles={0:0,butt:0,but:0,miter:0,1:1,round:1,rounded:1,circle:1,2:2,projecting:2,project:2,square:2,bevel:2},b.__private__.setLineCap=b.setLineCap=function(t){var e=b.CapJoinStyles[t];if(void 0===e)throw new Error("Line cap style of '"+t+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return Sr=e,ct(e+" J"),this};var _r=0;b.__private__.setLineJoin=b.setLineJoin=function(t){var e=b.CapJoinStyles[t];if(void 0===e)throw new Error("Line join style of '"+t+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return _r=e,ct(e+" j"),this},b.__private__.setLineMiterLimit=b.__private__.setMiterLimit=b.setLineMiterLimit=b.setMiterLimit=function(t){if(t=t||0,isNaN(t))throw new Error("Invalid argument passed to jsPDF.setLineMiterLimit");return ct(B(T(t))+" M"),this},b.GState=k,b.setGState=function(t){(t="string"==typeof t?Ot[Bt[t]]:Pr(null,t)).equals(Mt)||(ct("/"+t.id+" gs"),Mt=t)};var Pr=function(t,e){if(!t||!Bt[t]){var r=!1;for(var n in Ot)if(Ot.hasOwnProperty(n)&&Ot[n].equals(e)){r=!0;break}if(r)e=Ot[n];else{var i="GS"+(Object.keys(Ot).length+1).toString(10);Ot[i]=e,e.id=i}return t&&(Bt[t]=e.id),Rt.publish("addGState",e),e}};b.addGState=function(t,e){return Pr(t,e),this},b.saveGraphicsState=function(){return ct("q"),It.push({key:Lt,size:dt,color:Nr}),this},b.restoreGraphicsState=function(){ct("Q");var t=It.pop();return Lt=t.key,dt=t.size,Nr=t.color,Mt=null,this},b.setCurrentTransformationMatrix=function(t){return ct(t.toString()+" cm"),this},b.comment=function(t){return ct("#"+t),this};var kr=function(t,e){var r=t||0;Object.defineProperty(this,"x",{enumerable:!0,get:function(){return r},set:function(t){isNaN(t)||(r=parseFloat(t))}});var n=e||0;Object.defineProperty(this,"y",{enumerable:!0,get:function(){return n},set:function(t){isNaN(t)||(n=parseFloat(t))}});var i="pt";return Object.defineProperty(this,"type",{enumerable:!0,get:function(){return i},set:function(t){i=t.toString()}}),this},Fr=function(t,e,r,n){kr.call(this,t,e),this.type="rect";var i=r||0;Object.defineProperty(this,"w",{enumerable:!0,get:function(){return i},set:function(t){isNaN(t)||(i=parseFloat(t))}});var a=n||0;return Object.defineProperty(this,"h",{enumerable:!0,get:function(){return a},set:function(t){isNaN(t)||(a=parseFloat(t))}}),this},Ir=function(){this.page=Et,this.currentPage=K,this.pages=it.slice(0),this.pagesContext=qt.slice(0),this.x=St,this.y=_t,this.matrix=Pt,this.width=Br(K),this.height=Er(K),this.outputDestination=ot,this.id="",this.objectNumber=-1};Ir.prototype.restore=function(){Et=this.page,K=this.currentPage,qt=this.pagesContext,it=this.pages,St=this.x,_t=this.y,Pt=this.matrix,Mr(K,this.width),qr(K,this.height),ot=this.outputDestination};var Cr=function(t,e,r,n,i){zt.push(new Ir),Et=K=0,it=[],St=t,_t=e,Pt=i,Ie([r,n])},jr=function(t){if(!Ut[t]){var e=new Ir,r="Xo"+(Object.keys(Dt).length+1).toString(10);e.id=r,Ut[t]=r,Dt[r]=e,Rt.publish("addFormObject",e),zt.pop().restore()}};for(var Or in b.beginFormObject=function(t,e,r,n,i){return Cr(t,e,r,n,i),this},b.endFormObject=function(t){return jr(t),this},b.doFormObject=function(t,e){var r=Dt[Ut[t]];return ct("q"),ct(e.toString()+" cm"),ct("/"+r.id+" Do"),ct("Q"),this},b.getFormObject=function(t){var e=Dt[Ut[t]];return{x:e.x,y:e.y,width:e.width,height:e.height,matrix:e.matrix}},b.save=function(t,r){return t=t||"generated.pdf",(r=r||{}).returnPromise=r.returnPromise||!1,!1===r.returnPromise?(c(ze(Ue()),t),"function"==typeof c.unload&&e.setTimeout&&setTimeout(c.unload,911),this):new Promise((function(r,n){try{var i=c(ze(Ue()),t);"function"==typeof c.unload&&e.setTimeout&&setTimeout(c.unload,911),r(i)}catch(t){n(t.message)}}))},j.API)j.API.hasOwnProperty(Or)&&("events"===Or&&j.API.events.length?function(t,e){var r,n,i;for(i=e.length-1;-1!==i;i--)r=e[i][0],n=e[i][1],t.subscribe.apply(t,[r].concat("function"==typeof n?[n]:n))}(Rt,j.API.events):b[Or]=j.API[Or]);var Br=b.getPageWidth=function(t){return(qt[t=t||K].mediaBox.topRightX-qt[t].mediaBox.bottomLeftX)/xt},Mr=b.setPageWidth=function(t,e){qt[t].mediaBox.topRightX=e*xt+qt[t].mediaBox.bottomLeftX},Er=b.getPageHeight=function(t){return(qt[t=t||K].mediaBox.topRightY-qt[t].mediaBox.bottomLeftY)/xt},qr=b.setPageHeight=function(t,e){qt[t].mediaBox.topRightY=e*xt+qt[t].mediaBox.bottomLeftY};return b.internal={pdfEscape:Fe,getStyle:$e,getFont:ur,getFontSize:gt,getCharSpace:xr,getTextColor:Ar,getLineHeight:fr,getLineHeightFactor:pr,write:lt,getHorizontalCoordinate:gr,getVerticalCoordinate:mr,getCoordinateString:vr,getVerticalCoordinateString:br,collections:{},newObject:Yt,newAdditionalObject:Kt,newObjectDeferred:Jt,newObjectDeferredBegin:Xt,getFilters:ee,putStream:re,events:Rt,scaleFactor:xt,pageSize:{getWidth:function(){return Br(K)},setWidth:function(t){Mr(K,t)},getHeight:function(){return Er(K)},setHeight:function(t){qr(K,t)}},encryptionOptions:g,encryption:Ve,getEncryptor:Ge,output:He,getNumberOfPages:Be,pages:it,out:ct,f2:q,f3:R,getPageInfo:Ye,getPageInfoByObjId:Je,getCurrentPageInfo:Xe,getPDFVersion:w,Point:kr,Rectangle:Fr,Matrix:Ht,hasHotfix:We},Object.defineProperty(b.internal.pageSize,"width",{get:function(){return Br(K)},set:function(t){Mr(K,t)},enumerable:!0,configurable:!0}),Object.defineProperty(b.internal.pageSize,"height",{get:function(){return Er(K)},set:function(t){qr(K,t)},enumerable:!0,configurable:!0}),_e.call(b,ft),Lt="F1",Ce(o,i),Rt.publish("initialized"),b}_.prototype.lsbFirstWord=function(t){return String.fromCharCode(t>>0&255,t>>8&255,t>>16&255,t>>24&255)},_.prototype.toHexString=function(t){return t.split("").map((function(t){return("0"+(255&t.charCodeAt(0)).toString(16)).slice(-2)})).join("")},_.prototype.hexToBytes=function(t){for(var e=[],r=0;r<t.length;r+=2)e.push(String.fromCharCode(parseInt(t.substr(r,2),16)));return e.join("")},_.prototype.processOwnerPassword=function(t,e){return x(A(e).substr(0,5),t)},_.prototype.encryptor=function(t,e){let r=A(this.encryptionKey+String.fromCharCode(255&t,t>>8&255,t>>16&255,255&e,e>>8&255)).substr(0,10);return function(t){return x(r,t)}},k.prototype.equals=function(t){var e,r="id,objectNumber,equals";if(!t||typeof t!=typeof this)return!1;var n=0;for(e in this)if(!(r.indexOf(e)>=0)){if(this.hasOwnProperty(e)&&!t.hasOwnProperty(e))return!1;if(this[e]!==t[e])return!1;n++}for(e in t)t.hasOwnProperty(e)&&r.indexOf(e)<0&&n--;return 0===n},j.API={events:[]},j.version="2.3.1";var O=j.API,B=1,M=function(t){return t.replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},E=function(t){return t.replace(/\\\\/g,"\\").replace(/\\\(/g,"(").replace(/\\\)/g,")")},q=function(t){return t.toFixed(2)},R=function(t){return t.toFixed(5)};O.__acroform__={};var T=function(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t},D=function(t){return t*B},U=function(t){var e=new at,r=yt.internal.getHeight(t)||0,n=yt.internal.getWidth(t)||0;return e.BBox=[0,0,Number(q(n)),Number(q(r))],e},z=O.__acroform__.setBit=function(t,e){if(t=t||0,e=e||0,isNaN(t)||isNaN(e))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBit");return t|=1<<e},H=O.__acroform__.clearBit=function(t,e){if(t=t||0,e=e||0,isNaN(t)||isNaN(e))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBit");return t&=~(1<<e)},W=O.__acroform__.getBit=function(t,e){if(isNaN(t)||isNaN(e))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBit");return 0==(t&1<<e)?0:1},V=O.__acroform__.getBitForPdf=function(t,e){if(isNaN(t)||isNaN(e))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBitForPdf");return W(t,e-1)},G=O.__acroform__.setBitForPdf=function(t,e){if(isNaN(t)||isNaN(e))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBitForPdf");return z(t,e-1)},Y=O.__acroform__.clearBitForPdf=function(t,e){if(isNaN(t)||isNaN(e))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBitForPdf");return H(t,e-1)},J=O.__acroform__.calculateCoordinates=function(t,e){var r=e.internal.getHorizontalCoordinate,n=e.internal.getVerticalCoordinate,i=t[0],a=t[1],o=t[2],s=t[3],u={};return u.lowerLeft_X=r(i)||0,u.lowerLeft_Y=n(a+s)||0,u.upperRight_X=r(i+o)||0,u.upperRight_Y=n(a)||0,[Number(q(u.lowerLeft_X)),Number(q(u.lowerLeft_Y)),Number(q(u.upperRight_X)),Number(q(u.upperRight_Y))]},X=function(t){if(t.appearanceStreamContent)return t.appearanceStreamContent;if(t.V||t.DV){var e=[],r=t._V||t.DV,n=K(t,r),i=t.scope.internal.getFont(t.fontName,t.fontStyle).id;e.push("/Tx BMC"),e.push("q"),e.push("BT"),e.push(t.scope.__private__.encodeColorString(t.color)),e.push("/"+i+" "+q(n.fontSize)+" Tf"),e.push("1 0 0 1 0 0 Tm"),e.push(n.text),e.push("ET"),e.push("Q"),e.push("EMC");var a=U(t);return a.scope=t.scope,a.stream=e.join("\n"),a}},K=function(t,e){var r=0===t.fontSize?t.maxFontSize:t.fontSize,n={text:"",fontSize:""},i=(e=")"==(e="("==e.substr(0,1)?e.substr(1):e).substr(e.length-1)?e.substr(0,e.length-1):e).split(" "),a=r,o=yt.internal.getHeight(t)||0;o=o<0?-o:o;var s=yt.internal.getWidth(t)||0;s=s<0?-s:s;var u=function(e,r,n){if(e+1<i.length){var a=r+" "+i[e+1];return Z(a,t,n).width<=s-4}return!1};a++;t:for(;a>0;){e="",a--;var c,l,h=Z("3",t,a).height,f=t.multiline?o-a:(o-h)/2,d=f+=2,p=0,g=0;if(a<=0){e="(...) Tj\n",e+="% Width of Text: "+Z(e,t,a=12).width+", FieldWidth:"+s+"\n";break}var m="",v=0;for(var b in i)if(i.hasOwnProperty(b)){m=" "==(m+=i[b]+" ").substr(m.length-1)?m.substr(0,m.length-1):m;var y=parseInt(b),w=u(y,m,a),N=b>=i.length-1;if(w&&!N){m+=" ";continue}if(w||N){if(N)g=y;else if(t.multiline&&(h+2)*(v+2)+2>o)continue t}else{if(!t.multiline)continue t;if((h+2)*(v+2)+2>o)continue t;g=y}for(var A="",L=p;L<=g;L++)A+=i[L]+" ";switch(A=" "==A.substr(A.length-1)?A.substr(0,A.length-1):A,l=Z(A,t,a).width,t.textAlign){case"right":c=s-l-2;break;case"center":c=(s-l)/2;break;case"left":default:c=2}e+=q(c)+" "+q(d)+" Td\n",e+="("+M(A)+") Tj\n",e+=-q(c)+" 0 Td\n",d=-(a+2),l=0,p=g+1,v++,m=""}else;break}return n.text=e,n.fontSize=a,n},Z=function(t,e,r){var n=e.scope.internal.getFont(e.fontName,e.fontStyle),i=e.scope.getStringUnitWidth(t,{font:n,fontSize:parseFloat(r),charSpace:0})*parseFloat(r);return{height:e.scope.getStringUnitWidth("3",{font:n,fontSize:parseFloat(r),charSpace:0})*parseFloat(r)*1.5,width:i}},$={fields:[],xForms:[],acroFormDictionaryRoot:null,printedOut:!1,internal:null,isInitialized:!1},Q=function(t,e){var r={type:"reference",object:t};void 0===e.internal.getPageInfo(t.page).pageContext.annotations.find((function(t){return t.type===r.type&&t.object===r.object}))&&e.internal.getPageInfo(t.page).pageContext.annotations.push(r)},tt=function(t,e){for(var r in t)if(t.hasOwnProperty(r)){var n=r,i=t[r];e.internal.newObjectDeferredBegin(i.objId,!0),"object"==typeof i&&"function"==typeof i.putStream&&i.putStream(),delete t[n]}},et=function(t,e){if(e.scope=t,void 0!==t.internal&&(void 0===t.internal.acroformPlugin||!1===t.internal.acroformPlugin.isInitialized)){if(st.FieldNum=0,t.internal.acroformPlugin=JSON.parse(JSON.stringify($)),t.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("Exception while creating AcroformDictionary");B=t.internal.scaleFactor,t.internal.acroformPlugin.acroFormDictionaryRoot=new ot,t.internal.acroformPlugin.acroFormDictionaryRoot.scope=t,t.internal.acroformPlugin.acroFormDictionaryRoot._eventID=t.internal.events.subscribe("postPutResources",(function(){!function(t){t.internal.events.unsubscribe(t.internal.acroformPlugin.acroFormDictionaryRoot._eventID),delete t.internal.acroformPlugin.acroFormDictionaryRoot._eventID,t.internal.acroformPlugin.printedOut=!0}(t)})),t.internal.events.subscribe("buildDocument",(function(){!function(t){t.internal.acroformPlugin.acroFormDictionaryRoot.objId=void 0;var e=t.internal.acroformPlugin.acroFormDictionaryRoot.Fields;for(var r in e)if(e.hasOwnProperty(r)){var n=e[r];n.objId=void 0,n.hasAnnotation&&Q(n,t)}}(t)})),t.internal.events.subscribe("putCatalog",(function(){!function(t){if(void 0===t.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("putCatalogCallback: Root missing.");t.internal.write("/AcroForm "+t.internal.acroformPlugin.acroFormDictionaryRoot.objId+" 0 R")}(t)})),t.internal.events.subscribe("postPutPages",(function(e){!function(t,e){var r=!t;for(var n in t||(e.internal.newObjectDeferredBegin(e.internal.acroformPlugin.acroFormDictionaryRoot.objId,!0),e.internal.acroformPlugin.acroFormDictionaryRoot.putStream()),t=t||e.internal.acroformPlugin.acroFormDictionaryRoot.Kids)if(t.hasOwnProperty(n)){var i=t[n],a=[],o=i.Rect;if(i.Rect&&(i.Rect=J(i.Rect,e)),e.internal.newObjectDeferredBegin(i.objId,!0),i.DA=yt.createDefaultAppearanceStream(i),"object"==typeof i&&"function"==typeof i.getKeyValueListForStream&&(a=i.getKeyValueListForStream()),i.Rect=o,i.hasAppearanceStream&&!i.appearanceStreamContent){var s=X(i);a.push({key:"AP",value:"<</N "+s+">>"}),e.internal.acroformPlugin.xForms.push(s)}if(i.appearanceStreamContent){var u="";for(var c in i.appearanceStreamContent)if(i.appearanceStreamContent.hasOwnProperty(c)){var l=i.appearanceStreamContent[c];if(u+="/"+c+" ",u+="<<",Object.keys(l).length>=1||Array.isArray(l)){for(var n in l)if(l.hasOwnProperty(n)){var h=l[n];"function"==typeof h&&(h=h.call(e,i)),u+="/"+n+" "+h+" ",e.internal.acroformPlugin.xForms.indexOf(h)>=0||e.internal.acroformPlugin.xForms.push(h)}}else"function"==typeof(h=l)&&(h=h.call(e,i)),u+="/"+n+" "+h,e.internal.acroformPlugin.xForms.indexOf(h)>=0||e.internal.acroformPlugin.xForms.push(h);u+=">>"}a.push({key:"AP",value:"<<\n"+u+">>"})}e.internal.putStream({additionalKeyValues:a,objectId:i.objId}),e.internal.out("endobj")}r&&tt(e.internal.acroformPlugin.xForms,e)}(e,t)})),t.internal.acroformPlugin.isInitialized=!0}},rt=O.__acroform__.arrayToPdfArray=function(t,e,r){var n=function(t){return t};if(Array.isArray(t)){for(var i="[",a=0;a<t.length;a++)switch(0!==a&&(i+=" "),typeof t[a]){case"boolean":case"number":case"object":i+=t[a].toString();break;case"string":"/"!==t[a].substr(0,1)?(void 0!==e&&r&&(n=r.internal.getEncryptor(e)),i+="("+M(n(t[a].toString()))+")"):i+=t[a].toString()}return i+="]"}throw new Error("Invalid argument passed to jsPDF.__acroform__.arrayToPdfArray")};var nt=function(t,e,r){var n=function(t){return t};return void 0!==e&&r&&(n=r.internal.getEncryptor(e)),(t=t||"").toString(),t="("+M(n(t))+")"},it=function(){this._objId=void 0,this._scope=void 0,Object.defineProperty(this,"objId",{get:function(){if(void 0===this._objId){if(void 0===this.scope)return;this._objId=this.scope.internal.newObjectDeferred()}return this._objId},set:function(t){this._objId=t}}),Object.defineProperty(this,"scope",{value:this._scope,writable:!0})};it.prototype.toString=function(){return this.objId+" 0 R"},it.prototype.putStream=function(){var t=this.getKeyValueListForStream();this.scope.internal.putStream({data:this.stream,additionalKeyValues:t,objectId:this.objId}),this.scope.internal.out("endobj")},it.prototype.getKeyValueListForStream=function(){var t=[],e=Object.getOwnPropertyNames(this).filter((function(t){return"content"!=t&&"appearanceStreamContent"!=t&&"scope"!=t&&"objId"!=t&&"_"!=t.substring(0,1)}));for(var r in e)if(!1===Object.getOwnPropertyDescriptor(this,e[r]).configurable){var n=e[r],i=this[n];i&&(Array.isArray(i)?t.push({key:n,value:rt(i,this.objId,this.scope)}):i instanceof it?(i.scope=this.scope,t.push({key:n,value:i.objId+" 0 R"})):"function"!=typeof i&&t.push({key:n,value:i}))}return t};var at=function(){it.call(this),Object.defineProperty(this,"Type",{value:"/XObject",configurable:!1,writable:!0}),Object.defineProperty(this,"Subtype",{value:"/Form",configurable:!1,writable:!0}),Object.defineProperty(this,"FormType",{value:1,configurable:!1,writable:!0});var t,e=[];Object.defineProperty(this,"BBox",{configurable:!1,get:function(){return e},set:function(t){e=t}}),Object.defineProperty(this,"Resources",{value:"2 0 R",configurable:!1,writable:!0}),Object.defineProperty(this,"stream",{enumerable:!1,configurable:!0,set:function(e){t=e.trim()},get:function(){return t||null}})};T(at,it);var ot=function(){it.call(this);var t,e=[];Object.defineProperty(this,"Kids",{enumerable:!1,configurable:!0,get:function(){return e.length>0?e:void 0}}),Object.defineProperty(this,"Fields",{enumerable:!1,configurable:!1,get:function(){return e}}),Object.defineProperty(this,"DA",{enumerable:!1,configurable:!1,get:function(){if(t){var e=function(t){return t};return this.scope&&(e=this.scope.internal.getEncryptor(this.objId)),"("+M(e(t))+")"}},set:function(e){t=e}})};T(ot,it);var st=function(){it.call(this);var t=4;Object.defineProperty(this,"F",{enumerable:!1,configurable:!1,get:function(){return t},set:function(e){if(isNaN(e))throw new Error('Invalid value "'+e+'" for attribute F supplied.');t=e}}),Object.defineProperty(this,"showWhenPrinted",{enumerable:!0,configurable:!0,get:function(){return Boolean(V(t,3))},set:function(e){!0===Boolean(e)?this.F=G(t,3):this.F=Y(t,3)}});var e=0;Object.defineProperty(this,"Ff",{enumerable:!1,configurable:!1,get:function(){return e},set:function(t){if(isNaN(t))throw new Error('Invalid value "'+t+'" for attribute Ff supplied.');e=t}});var r=[];Object.defineProperty(this,"Rect",{enumerable:!1,configurable:!1,get:function(){if(0!==r.length)return r},set:function(t){r=void 0!==t?t:[]}}),Object.defineProperty(this,"x",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[0])?0:r[0]},set:function(t){r[0]=t}}),Object.defineProperty(this,"y",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[1])?0:r[1]},set:function(t){r[1]=t}}),Object.defineProperty(this,"width",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[2])?0:r[2]},set:function(t){r[2]=t}}),Object.defineProperty(this,"height",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[3])?0:r[3]},set:function(t){r[3]=t}});var n="";Object.defineProperty(this,"FT",{enumerable:!0,configurable:!1,get:function(){return n},set:function(t){switch(t){case"/Btn":case"/Tx":case"/Ch":case"/Sig":n=t;break;default:throw new Error('Invalid value "'+t+'" for attribute FT supplied.')}}});var i=null;Object.defineProperty(this,"T",{enumerable:!0,configurable:!1,get:function(){if(!i||i.length<1){if(this instanceof gt)return;i="FieldObject"+st.FieldNum++}var t=function(t){return t};return this.scope&&(t=this.scope.internal.getEncryptor(this.objId)),"("+M(t(i))+")"},set:function(t){i=t.toString()}}),Object.defineProperty(this,"fieldName",{configurable:!0,enumerable:!0,get:function(){return i},set:function(t){i=t}});var a="helvetica";Object.defineProperty(this,"fontName",{enumerable:!0,configurable:!0,get:function(){return a},set:function(t){a=t}});var o="normal";Object.defineProperty(this,"fontStyle",{enumerable:!0,configurable:!0,get:function(){return o},set:function(t){o=t}});var s=0;Object.defineProperty(this,"fontSize",{enumerable:!0,configurable:!0,get:function(){return s},set:function(t){s=t}});var u=void 0;Object.defineProperty(this,"maxFontSize",{enumerable:!0,configurable:!0,get:function(){return void 0===u?50/B:u},set:function(t){u=t}});var c="black";Object.defineProperty(this,"color",{enumerable:!0,configurable:!0,get:function(){return c},set:function(t){c=t}});var l="/F1 0 Tf 0 g";Object.defineProperty(this,"DA",{enumerable:!0,configurable:!1,get:function(){if(!(!l||this instanceof gt||this instanceof vt))return nt(l,this.objId,this.scope)},set:function(t){t=t.toString(),l=t}});var h=null;Object.defineProperty(this,"DV",{enumerable:!1,configurable:!1,get:function(){if(h)return this instanceof ft==!1?nt(h,this.objId,this.scope):h},set:function(t){t=t.toString(),h=this instanceof ft==!1?"("===t.substr(0,1)?E(t.substr(1,t.length-2)):E(t):t}}),Object.defineProperty(this,"defaultValue",{enumerable:!0,configurable:!0,get:function(){return this instanceof ft==!0?E(h.substr(1,h.length-1)):h},set:function(t){t=t.toString(),h=this instanceof ft==!0?"/"+t:t}});var f=null;Object.defineProperty(this,"_V",{enumerable:!1,configurable:!1,get:function(){if(f)return f},set:function(t){this.V=t}}),Object.defineProperty(this,"V",{enumerable:!1,configurable:!1,get:function(){if(f)return this instanceof ft==!1?nt(f,this.objId,this.scope):f},set:function(t){t=t.toString(),f=this instanceof ft==!1?"("===t.substr(0,1)?E(t.substr(1,t.length-2)):E(t):t}}),Object.defineProperty(this,"value",{enumerable:!0,configurable:!0,get:function(){return this instanceof ft==!0?E(f.substr(1,f.length-1)):f},set:function(t){t=t.toString(),f=this instanceof ft==!0?"/"+t:t}}),Object.defineProperty(this,"hasAnnotation",{enumerable:!0,configurable:!0,get:function(){return this.Rect}}),Object.defineProperty(this,"Type",{enumerable:!0,configurable:!1,get:function(){return this.hasAnnotation?"/Annot":null}}),Object.defineProperty(this,"Subtype",{enumerable:!0,configurable:!1,get:function(){return this.hasAnnotation?"/Widget":null}});var d,p=!1;Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return p},set:function(t){t=Boolean(t),p=t}}),Object.defineProperty(this,"page",{enumerable:!0,configurable:!0,get:function(){if(d)return d},set:function(t){d=t}}),Object.defineProperty(this,"readOnly",{enumerable:!0,configurable:!0,get:function(){return Boolean(V(this.Ff,1))},set:function(t){!0===Boolean(t)?this.Ff=G(this.Ff,1):this.Ff=Y(this.Ff,1)}}),Object.defineProperty(this,"required",{enumerable:!0,configurable:!0,get:function(){return Boolean(V(this.Ff,2))},set:function(t){!0===Boolean(t)?this.Ff=G(this.Ff,2):this.Ff=Y(this.Ff,2)}}),Object.defineProperty(this,"noExport",{enumerable:!0,configurable:!0,get:function(){return Boolean(V(this.Ff,3))},set:function(t){!0===Boolean(t)?this.Ff=G(this.Ff,3):this.Ff=Y(this.Ff,3)}});var g=null;Object.defineProperty(this,"Q",{enumerable:!0,configurable:!1,get:function(){if(null!==g)return g},set:function(t){if(-1===[0,1,2].indexOf(t))throw new Error('Invalid value "'+t+'" for attribute Q supplied.');g=t}}),Object.defineProperty(this,"textAlign",{get:function(){var t;switch(g){case 0:default:t="left";break;case 1:t="center";break;case 2:t="right"}return t},configurable:!0,enumerable:!0,set:function(t){switch(t){case"right":case 2:g=2;break;case"center":case 1:g=1;break;case"left":case 0:default:g=0}}})};T(st,it);var ut=function(){st.call(this),this.FT="/Ch",this.V="()",this.fontName="zapfdingbats";var t=0;Object.defineProperty(this,"TI",{enumerable:!0,configurable:!1,get:function(){return t},set:function(e){t=e}}),Object.defineProperty(this,"topIndex",{enumerable:!0,configurable:!0,get:function(){return t},set:function(e){t=e}});var e=[];Object.defineProperty(this,"Opt",{enumerable:!0,configurable:!1,get:function(){return rt(e,this.objId,this.scope)},set:function(t){var r,n;n=[],"string"==typeof(r=t)&&(n=function(t,e,r){r||(r=1);for(var n,i=[];n=e.exec(t);)i.push(n[r]);return i}(r,/\((.*?)\)/g)),e=n}}),this.getOptions=function(){return e},this.setOptions=function(t){e=t,this.sort&&e.sort()},this.addOption=function(t){t=(t=t||"").toString(),e.push(t),this.sort&&e.sort()},this.removeOption=function(t,r){for(r=r||!1,t=(t=t||"").toString();-1!==e.indexOf(t)&&(e.splice(e.indexOf(t),1),!1!==r););},Object.defineProperty(this,"combo",{enumerable:!0,configurable:!0,get:function(){return Boolean(V(this.Ff,18))},set:function(t){!0===Boolean(t)?this.Ff=G(this.Ff,18):this.Ff=Y(this.Ff,18)}}),Object.defineProperty(this,"edit",{enumerable:!0,configurable:!0,get:function(){return Boolean(V(this.Ff,19))},set:function(t){!0===this.combo&&(!0===Boolean(t)?this.Ff=G(this.Ff,19):this.Ff=Y(this.Ff,19))}}),Object.defineProperty(this,"sort",{enumerable:!0,configurable:!0,get:function(){return Boolean(V(this.Ff,20))},set:function(t){!0===Boolean(t)?(this.Ff=G(this.Ff,20),e.sort()):this.Ff=Y(this.Ff,20)}}),Object.defineProperty(this,"multiSelect",{enumerable:!0,configurable:!0,get:function(){return Boolean(V(this.Ff,22))},set:function(t){!0===Boolean(t)?this.Ff=G(this.Ff,22):this.Ff=Y(this.Ff,22)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return Boolean(V(this.Ff,23))},set:function(t){!0===Boolean(t)?this.Ff=G(this.Ff,23):this.Ff=Y(this.Ff,23)}}),Object.defineProperty(this,"commitOnSelChange",{enumerable:!0,configurable:!0,get:function(){return Boolean(V(this.Ff,27))},set:function(t){!0===Boolean(t)?this.Ff=G(this.Ff,27):this.Ff=Y(this.Ff,27)}}),this.hasAppearanceStream=!1};T(ut,st);var ct=function(){ut.call(this),this.fontName="helvetica",this.combo=!1};T(ct,ut);var lt=function(){ct.call(this),this.combo=!0};T(lt,ct);var ht=function(){lt.call(this),this.edit=!0};T(ht,lt);var ft=function(){st.call(this),this.FT="/Btn",Object.defineProperty(this,"noToggleToOff",{enumerable:!0,configurable:!0,get:function(){return Boolean(V(this.Ff,15))},set:function(t){!0===Boolean(t)?this.Ff=G(this.Ff,15):this.Ff=Y(this.Ff,15)}}),Object.defineProperty(this,"radio",{enumerable:!0,configurable:!0,get:function(){return Boolean(V(this.Ff,16))},set:function(t){!0===Boolean(t)?this.Ff=G(this.Ff,16):this.Ff=Y(this.Ff,16)}}),Object.defineProperty(this,"pushButton",{enumerable:!0,configurable:!0,get:function(){return Boolean(V(this.Ff,17))},set:function(t){!0===Boolean(t)?this.Ff=G(this.Ff,17):this.Ff=Y(this.Ff,17)}}),Object.defineProperty(this,"radioIsUnison",{enumerable:!0,configurable:!0,get:function(){return Boolean(V(this.Ff,26))},set:function(t){!0===Boolean(t)?this.Ff=G(this.Ff,26):this.Ff=Y(this.Ff,26)}});var t,e={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var t=function(t){return t};if(this.scope&&(t=this.scope.internal.getEncryptor(this.objId)),0!==Object.keys(e).length){var r,n=[];for(r in n.push("<<"),e)n.push("/"+r+" ("+M(t(e[r]))+")");return n.push(">>"),n.join("\n")}},set:function(t){"object"==typeof t&&(e=t)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return e.CA||""},set:function(t){"string"==typeof t&&(e.CA=t)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return t},set:function(e){t=e}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return t.substr(1,t.length-1)},set:function(e){t="/"+e}})};T(ft,st);var dt=function(){ft.call(this),this.pushButton=!0};T(dt,ft);var pt=function(){ft.call(this),this.radio=!0,this.pushButton=!1;var t=[];Object.defineProperty(this,"Kids",{enumerable:!0,configurable:!1,get:function(){return t},set:function(e){t=void 0!==e?e:[]}})};T(pt,ft);var gt=function(){var t,e;st.call(this),Object.defineProperty(this,"Parent",{enumerable:!1,configurable:!1,get:function(){return t},set:function(e){t=e}}),Object.defineProperty(this,"optionName",{enumerable:!1,configurable:!0,get:function(){return e},set:function(t){e=t}});var r,n={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var t=function(t){return t};this.scope&&(t=this.scope.internal.getEncryptor(this.objId));var e,r=[];for(e in r.push("<<"),n)r.push("/"+e+" ("+M(t(n[e]))+")");return r.push(">>"),r.join("\n")},set:function(t){"object"==typeof t&&(n=t)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return n.CA||""},set:function(t){"string"==typeof t&&(n.CA=t)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return r},set:function(t){r=t}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return r.substr(1,r.length-1)},set:function(t){r="/"+t}}),this.caption="l",this.appearanceState="Off",this._AppearanceType=yt.RadioButton.Circle,this.appearanceStreamContent=this._AppearanceType.createAppearanceStream(this.optionName)};T(gt,st),pt.prototype.setAppearance=function(t){if(!("createAppearanceStream"in t)||!("getCA"in t))throw new Error("Couldn't assign Appearance to RadioButton. Appearance was Invalid!");for(var e in this.Kids)if(this.Kids.hasOwnProperty(e)){var r=this.Kids[e];r.appearanceStreamContent=t.createAppearanceStream(r.optionName),r.caption=t.getCA()}},pt.prototype.createOption=function(t){var e=new gt;return e.Parent=this,e.optionName=t,this.Kids.push(e),wt.call(this.scope,e),e};var mt=function(){ft.call(this),this.fontName="zapfdingbats",this.caption="3",this.appearanceState="On",this.value="On",this.textAlign="center",this.appearanceStreamContent=yt.CheckBox.createAppearanceStream()};T(mt,ft);var vt=function(){st.call(this),this.FT="/Tx",Object.defineProperty(this,"multiline",{enumerable:!0,configurable:!0,get:function(){return Boolean(V(this.Ff,13))},set:function(t){!0===Boolean(t)?this.Ff=G(this.Ff,13):this.Ff=Y(this.Ff,13)}}),Object.defineProperty(this,"fileSelect",{enumerable:!0,configurable:!0,get:function(){return Boolean(V(this.Ff,21))},set:function(t){!0===Boolean(t)?this.Ff=G(this.Ff,21):this.Ff=Y(this.Ff,21)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return Boolean(V(this.Ff,23))},set:function(t){!0===Boolean(t)?this.Ff=G(this.Ff,23):this.Ff=Y(this.Ff,23)}}),Object.defineProperty(this,"doNotScroll",{enumerable:!0,configurable:!0,get:function(){return Boolean(V(this.Ff,24))},set:function(t){!0===Boolean(t)?this.Ff=G(this.Ff,24):this.Ff=Y(this.Ff,24)}}),Object.defineProperty(this,"comb",{enumerable:!0,configurable:!0,get:function(){return Boolean(V(this.Ff,25))},set:function(t){!0===Boolean(t)?this.Ff=G(this.Ff,25):this.Ff=Y(this.Ff,25)}}),Object.defineProperty(this,"richText",{enumerable:!0,configurable:!0,get:function(){return Boolean(V(this.Ff,26))},set:function(t){!0===Boolean(t)?this.Ff=G(this.Ff,26):this.Ff=Y(this.Ff,26)}});var t=null;Object.defineProperty(this,"MaxLen",{enumerable:!0,configurable:!1,get:function(){return t},set:function(e){t=e}}),Object.defineProperty(this,"maxLength",{enumerable:!0,configurable:!0,get:function(){return t},set:function(e){Number.isInteger(e)&&(t=e)}}),Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return this.V||this.DV}})};T(vt,st);var bt=function(){vt.call(this),Object.defineProperty(this,"password",{enumerable:!0,configurable:!0,get:function(){return Boolean(V(this.Ff,14))},set:function(t){!0===Boolean(t)?this.Ff=G(this.Ff,14):this.Ff=Y(this.Ff,14)}}),this.password=!0};T(bt,vt);var yt={CheckBox:{createAppearanceStream:function(){return{N:{On:yt.CheckBox.YesNormal},D:{On:yt.CheckBox.YesPushDown,Off:yt.CheckBox.OffPushDown}}},YesPushDown:function(t){var e=U(t);e.scope=t.scope;var r=[],n=t.scope.internal.getFont(t.fontName,t.fontStyle).id,i=t.scope.__private__.encodeColorString(t.color),a=K(t,t.caption);return r.push("0.749023 g"),r.push("0 0 "+q(yt.internal.getWidth(t))+" "+q(yt.internal.getHeight(t))+" re"),r.push("f"),r.push("BMC"),r.push("q"),r.push("0 0 1 rg"),r.push("/"+n+" "+q(a.fontSize)+" Tf "+i),r.push("BT"),r.push(a.text),r.push("ET"),r.push("Q"),r.push("EMC"),e.stream=r.join("\n"),e},YesNormal:function(t){var e=U(t);e.scope=t.scope;var r=t.scope.internal.getFont(t.fontName,t.fontStyle).id,n=t.scope.__private__.encodeColorString(t.color),i=[],a=yt.internal.getHeight(t),o=yt.internal.getWidth(t),s=K(t,t.caption);return i.push("1 g"),i.push("0 0 "+q(o)+" "+q(a)+" re"),i.push("f"),i.push("q"),i.push("0 0 1 rg"),i.push("0 0 "+q(o-1)+" "+q(a-1)+" re"),i.push("W"),i.push("n"),i.push("0 g"),i.push("BT"),i.push("/"+r+" "+q(s.fontSize)+" Tf "+n),i.push(s.text),i.push("ET"),i.push("Q"),e.stream=i.join("\n"),e},OffPushDown:function(t){var e=U(t);e.scope=t.scope;var r=[];return r.push("0.749023 g"),r.push("0 0 "+q(yt.internal.getWidth(t))+" "+q(yt.internal.getHeight(t))+" re"),r.push("f"),e.stream=r.join("\n"),e}},RadioButton:{Circle:{createAppearanceStream:function(t){var e={D:{Off:yt.RadioButton.Circle.OffPushDown},N:{}};return e.N[t]=yt.RadioButton.Circle.YesNormal,e.D[t]=yt.RadioButton.Circle.YesPushDown,e},getCA:function(){return"l"},YesNormal:function(t){var e=U(t);e.scope=t.scope;var r=[],n=yt.internal.getWidth(t)<=yt.internal.getHeight(t)?yt.internal.getWidth(t)/4:yt.internal.getHeight(t)/4;n=Number((.9*n).toFixed(5));var i=yt.internal.Bezier_C,a=Number((n*i).toFixed(5));return r.push("q"),r.push("1 0 0 1 "+R(yt.internal.getWidth(t)/2)+" "+R(yt.internal.getHeight(t)/2)+" cm"),r.push(n+" 0 m"),r.push(n+" "+a+" "+a+" "+n+" 0 "+n+" c"),r.push("-"+a+" "+n+" -"+n+" "+a+" -"+n+" 0 c"),r.push("-"+n+" -"+a+" -"+a+" -"+n+" 0 -"+n+" c"),r.push(a+" -"+n+" "+n+" -"+a+" "+n+" 0 c"),r.push("f"),r.push("Q"),e.stream=r.join("\n"),e},YesPushDown:function(t){var e=U(t);e.scope=t.scope;var r=[],n=yt.internal.getWidth(t)<=yt.internal.getHeight(t)?yt.internal.getWidth(t)/4:yt.internal.getHeight(t)/4;n=Number((.9*n).toFixed(5));var i=Number((2*n).toFixed(5)),a=Number((i*yt.internal.Bezier_C).toFixed(5)),o=Number((n*yt.internal.Bezier_C).toFixed(5));return r.push("0.749023 g"),r.push("q"),r.push("1 0 0 1 "+R(yt.internal.getWidth(t)/2)+" "+R(yt.internal.getHeight(t)/2)+" cm"),r.push(i+" 0 m"),r.push(i+" "+a+" "+a+" "+i+" 0 "+i+" c"),r.push("-"+a+" "+i+" -"+i+" "+a+" -"+i+" 0 c"),r.push("-"+i+" -"+a+" -"+a+" -"+i+" 0 -"+i+" c"),r.push(a+" -"+i+" "+i+" -"+a+" "+i+" 0 c"),r.push("f"),r.push("Q"),r.push("0 g"),r.push("q"),r.push("1 0 0 1 "+R(yt.internal.getWidth(t)/2)+" "+R(yt.internal.getHeight(t)/2)+" cm"),r.push(n+" 0 m"),r.push(n+" "+o+" "+o+" "+n+" 0 "+n+" c"),r.push("-"+o+" "+n+" -"+n+" "+o+" -"+n+" 0 c"),r.push("-"+n+" -"+o+" -"+o+" -"+n+" 0 -"+n+" c"),r.push(o+" -"+n+" "+n+" -"+o+" "+n+" 0 c"),r.push("f"),r.push("Q"),e.stream=r.join("\n"),e},OffPushDown:function(t){var e=U(t);e.scope=t.scope;var r=[],n=yt.internal.getWidth(t)<=yt.internal.getHeight(t)?yt.internal.getWidth(t)/4:yt.internal.getHeight(t)/4;n=Number((.9*n).toFixed(5));var i=Number((2*n).toFixed(5)),a=Number((i*yt.internal.Bezier_C).toFixed(5));return r.push("0.749023 g"),r.push("q"),r.push("1 0 0 1 "+R(yt.internal.getWidth(t)/2)+" "+R(yt.internal.getHeight(t)/2)+" cm"),r.push(i+" 0 m"),r.push(i+" "+a+" "+a+" "+i+" 0 "+i+" c"),r.push("-"+a+" "+i+" -"+i+" "+a+" -"+i+" 0 c"),r.push("-"+i+" -"+a+" -"+a+" -"+i+" 0 -"+i+" c"),r.push(a+" -"+i+" "+i+" -"+a+" "+i+" 0 c"),r.push("f"),r.push("Q"),e.stream=r.join("\n"),e}},Cross:{createAppearanceStream:function(t){var e={D:{Off:yt.RadioButton.Cross.OffPushDown},N:{}};return e.N[t]=yt.RadioButton.Cross.YesNormal,e.D[t]=yt.RadioButton.Cross.YesPushDown,e},getCA:function(){return"8"},YesNormal:function(t){var e=U(t);e.scope=t.scope;var r=[],n=yt.internal.calculateCross(t);return r.push("q"),r.push("1 1 "+q(yt.internal.getWidth(t)-2)+" "+q(yt.internal.getHeight(t)-2)+" re"),r.push("W"),r.push("n"),r.push(q(n.x1.x)+" "+q(n.x1.y)+" m"),r.push(q(n.x2.x)+" "+q(n.x2.y)+" l"),r.push(q(n.x4.x)+" "+q(n.x4.y)+" m"),r.push(q(n.x3.x)+" "+q(n.x3.y)+" l"),r.push("s"),r.push("Q"),e.stream=r.join("\n"),e},YesPushDown:function(t){var e=U(t);e.scope=t.scope;var r=yt.internal.calculateCross(t),n=[];return n.push("0.749023 g"),n.push("0 0 "+q(yt.internal.getWidth(t))+" "+q(yt.internal.getHeight(t))+" re"),n.push("f"),n.push("q"),n.push("1 1 "+q(yt.internal.getWidth(t)-2)+" "+q(yt.internal.getHeight(t)-2)+" re"),n.push("W"),n.push("n"),n.push(q(r.x1.x)+" "+q(r.x1.y)+" m"),n.push(q(r.x2.x)+" "+q(r.x2.y)+" l"),n.push(q(r.x4.x)+" "+q(r.x4.y)+" m"),n.push(q(r.x3.x)+" "+q(r.x3.y)+" l"),n.push("s"),n.push("Q"),e.stream=n.join("\n"),e},OffPushDown:function(t){var e=U(t);e.scope=t.scope;var r=[];return r.push("0.749023 g"),r.push("0 0 "+q(yt.internal.getWidth(t))+" "+q(yt.internal.getHeight(t))+" re"),r.push("f"),e.stream=r.join("\n"),e}}},createDefaultAppearanceStream:function(t){var e=t.scope.internal.getFont(t.fontName,t.fontStyle).id,r=t.scope.__private__.encodeColorString(t.color);return"/"+e+" "+t.fontSize+" Tf "+r}};yt.internal={Bezier_C:.551915024494,calculateCross:function(t){var e=yt.internal.getWidth(t),r=yt.internal.getHeight(t),n=Math.min(e,r);return{x1:{x:(e-n)/2,y:(r-n)/2+n},x2:{x:(e-n)/2+n,y:(r-n)/2},x3:{x:(e-n)/2,y:(r-n)/2},x4:{x:(e-n)/2+n,y:(r-n)/2+n}}}},yt.internal.getWidth=function(t){var e=0;return"object"==typeof t&&(e=D(t.Rect[2])),e},yt.internal.getHeight=function(t){var e=0;return"object"==typeof t&&(e=D(t.Rect[3])),e};var wt=O.addField=function(t){if(et(this,t),!(t instanceof st))throw new Error("Invalid argument passed to jsPDF.addField.");var e;return(e=t).scope.internal.acroformPlugin.printedOut&&(e.scope.internal.acroformPlugin.printedOut=!1,e.scope.internal.acroformPlugin.acroFormDictionaryRoot=null),e.scope.internal.acroformPlugin.acroFormDictionaryRoot.Fields.push(e),t.page=t.scope.internal.getCurrentPageInfo().pageNumber,this};O.AcroFormChoiceField=ut,O.AcroFormListBox=ct,O.AcroFormComboBox=lt,O.AcroFormEditBox=ht,O.AcroFormButton=ft,O.AcroFormPushButton=dt,O.AcroFormRadioButton=pt,O.AcroFormCheckBox=mt,O.AcroFormTextField=vt,O.AcroFormPasswordField=bt,O.AcroFormAppearance=yt,O.AcroForm={ChoiceField:ut,ListBox:ct,ComboBox:lt,EditBox:ht,Button:ft,PushButton:dt,RadioButton:pt,CheckBox:mt,TextField:vt,PasswordField:bt,Appearance:yt},j.AcroForm={ChoiceField:ut,ListBox:ct,ComboBox:lt,EditBox:ht,Button:ft,PushButton:dt,RadioButton:pt,CheckBox:mt,TextField:vt,PasswordField:bt,Appearance:yt};var Nt=j.AcroForm;-/** @license- * jsPDF addImage plugin- * Copyright (c) 2012 Jason Siefken, https://github.com/siefkenj/- * 2013 Chris Dowling, https://github.com/gingerchris- * 2013 Trinh Ho, https://github.com/ineedfat- * 2013 Edwin Alejandro Perez, https://github.com/eaparango- * 2013 Norah Smith, https://github.com/burnburnrocket- * 2014 Diego Casorran, https://github.com/diegocr- * 2014 James Robb, https://github.com/jamesbrobb- *- * Permission is hereby granted, free of charge, to any person obtaining- * a copy of this software and associated documentation files (the- * "Software"), to deal in the Software without restriction, including- * without limitation the rights to use, copy, modify, merge, publish,- * distribute, sublicense, and/or sell copies of the Software, and to- * permit persons to whom the Software is furnished to do so, subject to- * the following conditions:- *- * The above copyright notice and this permission notice shall be- * included in all copies or substantial portions of the Software.- *- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,- * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF- * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND- * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE- * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION- * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION- * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.- */function At(t){return t.reduce((function(t,e,r){return t[e]=r,t}),{})}!function(t){t.__addimage__={};var e="UNKNOWN",r={PNG:[[137,80,78,71]],TIFF:[[77,77,0,42],[73,73,42,0]],JPEG:[[255,216,255,224,void 0,void 0,74,70,73,70,0],[255,216,255,225,void 0,void 0,69,120,105,102,0,0],[255,216,255,219],[255,216,255,238]],JPEG2000:[[0,0,0,12,106,80,32,32]],GIF87a:[[71,73,70,56,55,97]],GIF89a:[[71,73,70,56,57,97]],WEBP:[[82,73,70,70,void 0,void 0,void 0,void 0,87,69,66,80]],BMP:[[66,77],[66,65],[67,73],[67,80],[73,67],[80,84]]},n=t.__addimage__.getImageFileTypeByImageData=function(t,n){var i,a;n=n||e;var o,s,u,c=e;if(x(t))for(u in r)for(o=r[u],i=0;i<o.length;i+=1){for(s=!0,a=0;a<o[i].length;a+=1)if(void 0!==o[i][a]&&o[i][a]!==t[a]){s=!1;break}if(!0===s){c=u;break}}else for(u in r)for(o=r[u],i=0;i<o.length;i+=1){for(s=!0,a=0;a<o[i].length;a+=1)if(void 0!==o[i][a]&&o[i][a]!==t.charCodeAt(a)){s=!1;break}if(!0===s){c=u;break}}return c===e&&n!==e&&(c=n),c},i=function(t){for(var e=this.internal.write,r=this.internal.putStream,n=(0,this.internal.getFilters)();-1!==n.indexOf("FlateEncode");)n.splice(n.indexOf("FlateEncode"),1);t.objectId=this.internal.newObject();var a=[];if(a.push({key:"Type",value:"/XObject"}),a.push({key:"Subtype",value:"/Image"}),a.push({key:"Width",value:t.width}),a.push({key:"Height",value:t.height}),t.colorSpace===b.INDEXED?a.push({key:"ColorSpace",value:"[/Indexed /DeviceRGB "+(t.palette.length/3-1)+" "+("sMask"in t&&void 0!==t.sMask?t.objectId+2:t.objectId+1)+" 0 R]"}):(a.push({key:"ColorSpace",value:"/"+t.colorSpace}),t.colorSpace===b.DEVICE_CMYK&&a.push({key:"Decode",value:"[1 0 1 0 1 0 1 0]"})),a.push({key:"BitsPerComponent",value:t.bitsPerComponent}),"decodeParameters"in t&&void 0!==t.decodeParameters&&a.push({key:"DecodeParms",value:"<<"+t.decodeParameters+">>"}),"transparency"in t&&Array.isArray(t.transparency)){for(var o="",s=0,u=t.transparency.length;s<u;s++)o+=t.transparency[s]+" "+t.transparency[s]+" ";a.push({key:"Mask",value:"["+o+"]"})}void 0!==t.sMask&&a.push({key:"SMask",value:t.objectId+1+" 0 R"});var c=void 0!==t.filter?["/"+t.filter]:void 0;if(r({data:t.data,additionalKeyValues:a,alreadyAppliedFilters:c,objectId:t.objectId}),e("endobj"),"sMask"in t&&void 0!==t.sMask){var l="/Predictor "+t.predictor+" /Colors 1 /BitsPerComponent "+t.bitsPerComponent+" /Columns "+t.width,h={width:t.width,height:t.height,colorSpace:"DeviceGray",bitsPerComponent:t.bitsPerComponent,decodeParameters:l,data:t.sMask};"filter"in t&&(h.filter=t.filter),i.call(this,h)}if(t.colorSpace===b.INDEXED){var f=this.internal.newObject();r({data:_(new Uint8Array(t.palette)),objectId:f}),e("endobj")}},a=function(){var t=this.internal.collections.addImage_images;for(var e in t)i.call(this,t[e])},o=function(){var t,e=this.internal.collections.addImage_images,r=this.internal.write;for(var n in e)r("/I"+(t=e[n]).index,t.objectId,"0","R")},c=function(){this.internal.collections.addImage_images||(this.internal.collections.addImage_images={},this.internal.events.subscribe("putResources",a),this.internal.events.subscribe("putXobjectDict",o))},l=function(){var t=this.internal.collections.addImage_images;return c.call(this),t},h=function(){return Object.keys(this.internal.collections.addImage_images).length},f=function(e){return"function"==typeof t["process"+e.toUpperCase()]},d=function(t){return"object"==typeof t&&1===t.nodeType},p=function(e,r){if("IMG"===e.nodeName&&e.hasAttribute("src")){var n=""+e.getAttribute("src");if(0===n.indexOf("data:image/"))return s(unescape(n).split("base64,").pop());var i=t.loadFile(n,!0);if(void 0!==i)return i}if("CANVAS"===e.nodeName){var a;switch(r){case"PNG":a="image/png";break;case"WEBP":a="image/webp";break;case"JPEG":case"JPG":default:a="image/jpeg"}return s(e.toDataURL(a,1).split("base64,").pop())}},g=function(t){var e=this.internal.collections.addImage_images;if(e)for(var r in e)if(t===e[r].alias)return e[r]},m=function(t,e,r){return t||e||(t=-96,e=-96),t<0&&(t=-1*r.width*72/t/this.internal.scaleFactor),e<0&&(e=-1*r.height*72/e/this.internal.scaleFactor),0===t&&(t=e*r.width/r.height),0===e&&(e=t*r.height/r.width),[t,e]},v=function(t,e,r,n,i,a){var o=m.call(this,r,n,i),s=this.internal.getCoordinateString,u=this.internal.getVerticalCoordinateString,c=l.call(this);if(r=o[0],n=o[1],c[i.index]=i,a){a*=Math.PI/180;var h=Math.cos(a),f=Math.sin(a),d=function(t){return t.toFixed(4)},p=[d(h),d(f),d(-1*f),d(h),0,0,"cm"]}this.internal.write("q"),a?(this.internal.write([1,"0","0",1,s(t),u(e+n),"cm"].join(" ")),this.internal.write(p.join(" ")),this.internal.write([s(r),"0","0",s(n),"0","0","cm"].join(" "))):this.internal.write([s(r),"0","0",s(n),s(t),u(e+n),"cm"].join(" ")),this.isAdvancedAPI()&&this.internal.write([1,0,0,-1,0,0,"cm"].join(" ")),this.internal.write("/I"+i.index+" Do"),this.internal.write("Q")},b=t.color_spaces={DEVICE_RGB:"DeviceRGB",DEVICE_GRAY:"DeviceGray",DEVICE_CMYK:"DeviceCMYK",CAL_GREY:"CalGray",CAL_RGB:"CalRGB",LAB:"Lab",ICC_BASED:"ICCBased",INDEXED:"Indexed",PATTERN:"Pattern",SEPARATION:"Separation",DEVICE_N:"DeviceN"};t.decode={DCT_DECODE:"DCTDecode",FLATE_DECODE:"FlateDecode",LZW_DECODE:"LZWDecode",JPX_DECODE:"JPXDecode",JBIG2_DECODE:"JBIG2Decode",ASCII85_DECODE:"ASCII85Decode",ASCII_HEX_DECODE:"ASCIIHexDecode",RUN_LENGTH_DECODE:"RunLengthDecode",CCITT_FAX_DECODE:"CCITTFaxDecode"};var y=t.image_compression={NONE:"NONE",FAST:"FAST",MEDIUM:"MEDIUM",SLOW:"SLOW"},w=t.__addimage__.sHashCode=function(t){var e,r,n=0;if("string"==typeof t)for(r=t.length,e=0;e<r;e++)n=(n<<5)-n+t.charCodeAt(e),n|=0;else if(x(t))for(r=t.byteLength/2,e=0;e<r;e++)n=(n<<5)-n+t[e],n|=0;return n},N=t.__addimage__.validateStringAsBase64=function(t){(t=t||"").toString().trim();var e=!0;return 0===t.length&&(e=!1),t.length%4!=0&&(e=!1),!1===/^[A-Za-z0-9+/]+$/.test(t.substr(0,t.length-2))&&(e=!1),!1===/^[A-Za-z0-9/][A-Za-z0-9+/]|[A-Za-z0-9+/]=|==$/.test(t.substr(-2))&&(e=!1),e},A=t.__addimage__.extractImageFromDataUrl=function(t){var e=(t=t||"").split("base64,"),r=null;if(2===e.length){var n=/^data:(\w*\/\w*);*(charset=(?!charset=)[\w=-]*)*;*$/.exec(e[0]);Array.isArray(n)&&(r={mimeType:n[1],charset:n[2],data:e[1]})}return r},L=t.__addimage__.supportsArrayBuffer=function(){return"undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array};t.__addimage__.isArrayBuffer=function(t){return L()&&t instanceof ArrayBuffer};var x=t.__addimage__.isArrayBufferView=function(t){return L()&&"undefined"!=typeof Uint32Array&&(t instanceof Int8Array||t instanceof Uint8Array||"undefined"!=typeof Uint8ClampedArray&&t instanceof Uint8ClampedArray||t instanceof Int16Array||t instanceof Uint16Array||t instanceof Int32Array||t instanceof Uint32Array||t instanceof Float32Array||t instanceof Float64Array)},S=t.__addimage__.binaryStringToUint8Array=function(t){for(var e=t.length,r=new Uint8Array(e),n=0;n<e;n++)r[n]=t.charCodeAt(n);return r},_=t.__addimage__.arrayBufferToBinaryString=function(t){try{return s(u(String.fromCharCode.apply(null,t)))}catch(e){if("undefined"!=typeof Uint8Array&&void 0!==Uint8Array.prototype.reduce)return new Uint8Array(t).reduce((function(t,e){return t.push(String.fromCharCode(e)),t}),[]).join("")}};t.addImage=function(){var t,r,n,i,a,o,s,u,l;if("number"==typeof arguments[1]?(r=e,n=arguments[1],i=arguments[2],a=arguments[3],o=arguments[4],s=arguments[5],u=arguments[6],l=arguments[7]):(r=arguments[1],n=arguments[2],i=arguments[3],a=arguments[4],o=arguments[5],s=arguments[6],u=arguments[7],l=arguments[8]),"object"==typeof(t=arguments[0])&&!d(t)&&"imageData"in t){var h=t;t=h.imageData,r=h.format||r||e,n=h.x||n||0,i=h.y||i||0,a=h.w||h.width||a,o=h.h||h.height||o,s=h.alias||s,u=h.compression||u,l=h.rotation||h.angle||l}var f=this.internal.getFilters();if(void 0===u&&-1!==f.indexOf("FlateEncode")&&(u="SLOW"),isNaN(n)||isNaN(i))throw new Error("Invalid coordinates passed to jsPDF.addImage");c.call(this);var p=P.call(this,t,r,s,u);return v.call(this,n,i,a,o,p,l),this};var P=function(r,i,a,o){var s,u,c;if("string"==typeof r&&n(r)===e){r=unescape(r);var l=k(r,!1);(""!==l||void 0!==(l=t.loadFile(r,!0)))&&(r=l)}if(d(r)&&(r=p(r,i)),i=n(r,i),!f(i))throw new Error("addImage does not support files of type '"+i+"', please ensure that a plugin for '"+i+"' support is added.");if((null==(c=a)||0===c.length)&&(a=function(t){return"string"==typeof t||x(t)?w(t):null}(r)),(s=g.call(this,a))||(L()&&(r instanceof Uint8Array||(u=r,r=S(r))),s=this["process"+i.toUpperCase()](r,h.call(this),a,function(e){return e&&"string"==typeof e&&(e=e.toUpperCase()),e in t.image_compression?e:y.NONE}(o),u)),!s)throw new Error("An unknown error occurred whilst processing the image.");return s},k=t.__addimage__.convertBase64ToBinaryString=function(t,e){var r;e="boolean"!=typeof e||e;var n,i="";if("string"==typeof t){n=null!==(r=A(t))?r.data:t;try{i=s(n)}catch(t){if(e)throw N(n)?new Error("atob-Error in jsPDF.convertBase64ToBinaryString "+t.message):new Error("Supplied Data is not a valid base64-String jsPDF.convertBase64ToBinaryString ")}}return i};t.getImageProperties=function(r){var i,a,o="";if(d(r)&&(r=p(r)),"string"==typeof r&&n(r)===e&&(""===(o=k(r,!1))&&(o=t.loadFile(r)||""),r=o),a=n(r),!f(a))throw new Error("addImage does not support files of type '"+a+"', please ensure that a plugin for '"+a+"' support is added.");if(!L()||r instanceof Uint8Array||(r=S(r)),!(i=this["process"+a.toUpperCase()](r)))throw new Error("An unknown error occurred whilst processing the image");return i.fileType=a,i}}(j.API),-/**- * @license- * Copyright (c) 2014 Steven Spungin (TwelveTone LLC) [email protected]- *- * Licensed under the MIT License.- * http://opensource.org/licenses/mit-license- */-function(t){var e=function(t){if(void 0!==t&&""!=t)return!0};j.API.events.push(["addPage",function(t){this.internal.getPageInfo(t.pageNumber).pageContext.annotations=[]}]),t.events.push(["putPage",function(t){for(var r,n,i,a=this.internal.getCoordinateString,o=this.internal.getVerticalCoordinateString,s=this.internal.getPageInfoByObjId(t.objId),u=t.pageContext.annotations,c=!1,l=0;l<u.length&&!c;l++)switch((r=u[l]).type){case"link":(e(r.options.url)||e(r.options.pageNumber))&&(c=!0);break;case"reference":case"text":case"freetext":c=!0}if(0!=c){this.internal.write("/Annots [");for(var h=0;h<u.length;h++){r=u[h];var f=this.internal.pdfEscape,d=this.internal.getEncryptor(t.objId);switch(r.type){case"reference":this.internal.write(" "+r.object.objId+" 0 R ");break;case"text":var p=this.internal.newAdditionalObject(),g=this.internal.newAdditionalObject(),m=this.internal.getEncryptor(p.objId),v=r.title||"Note";i="<</Type /Annot /Subtype /Text "+(n="/Rect ["+a(r.bounds.x)+" "+o(r.bounds.y+r.bounds.h)+" "+a(r.bounds.x+r.bounds.w)+" "+o(r.bounds.y)+"] ")+"/Contents ("+f(m(r.contents))+")",i+=" /Popup "+g.objId+" 0 R",i+=" /P "+s.objId+" 0 R",i+=" /T ("+f(m(v))+") >>",p.content=i;var b=p.objId+" 0 R";i="<</Type /Annot /Subtype /Popup "+(n="/Rect ["+a(r.bounds.x+30)+" "+o(r.bounds.y+r.bounds.h)+" "+a(r.bounds.x+r.bounds.w+30)+" "+o(r.bounds.y)+"] ")+" /Parent "+b,r.open&&(i+=" /Open true"),i+=" >>",g.content=i,this.internal.write(p.objId,"0 R",g.objId,"0 R");break;case"freetext":n="/Rect ["+a(r.bounds.x)+" "+o(r.bounds.y)+" "+a(r.bounds.x+r.bounds.w)+" "+o(r.bounds.y+r.bounds.h)+"] ";var y=r.color||"#000000";i="<</Type /Annot /Subtype /FreeText "+n+"/Contents ("+f(d(r.contents))+")",i+=" /DS(font: Helvetica,sans-serif 12.0pt; text-align:left; color:#"+y+")",i+=" /Border [0 0 0]",i+=" >>",this.internal.write(i);break;case"link":if(r.options.name){var w=this.annotations._nameMap[r.options.name];r.options.pageNumber=w.page,r.options.top=w.y}else r.options.top||(r.options.top=0);if(n="/Rect ["+r.finalBounds.x+" "+r.finalBounds.y+" "+r.finalBounds.w+" "+r.finalBounds.h+"] ",i="",r.options.url)i="<</Type /Annot /Subtype /Link "+n+"/Border [0 0 0] /A <</S /URI /URI ("+f(d(r.options.url))+") >>";else if(r.options.pageNumber){switch(i="<</Type /Annot /Subtype /Link "+n+"/Border [0 0 0] /Dest ["+this.internal.getPageInfo(r.options.pageNumber).objId+" 0 R",r.options.magFactor=r.options.magFactor||"XYZ",r.options.magFactor){case"Fit":i+=" /Fit]";break;case"FitH":i+=" /FitH "+r.options.top+"]";break;case"FitV":r.options.left=r.options.left||0,i+=" /FitV "+r.options.left+"]";break;case"XYZ":default:var N=o(r.options.top);r.options.left=r.options.left||0,void 0===r.options.zoom&&(r.options.zoom=0),i+=" /XYZ "+r.options.left+" "+N+" "+r.options.zoom+"]"}}""!=i&&(i+=" >>",this.internal.write(i))}}this.internal.write("]")}}]),t.createAnnotation=function(t){var e=this.internal.getCurrentPageInfo();switch(t.type){case"link":this.link(t.bounds.x,t.bounds.y,t.bounds.w,t.bounds.h,t);break;case"text":case"freetext":e.pageContext.annotations.push(t)}},t.link=function(t,e,r,n,i){var a=this.internal.getCurrentPageInfo(),o=this.internal.getCoordinateString,s=this.internal.getVerticalCoordinateString;a.pageContext.annotations.push({finalBounds:{x:o(t),y:s(e),w:o(t+r),h:s(e+n)},options:i,type:"link"})},t.textWithLink=function(t,e,r,n){var i=this.getTextWidth(t),a=this.internal.getLineHeight()/this.internal.scaleFactor;return this.text(t,e,r,n),r+=.2*a,"center"===n.align&&(e-=i/2),"right"===n.align&&(e-=i),this.link(e,r-a,i,a,n),i},t.getTextWidth=function(t){var e=this.internal.getFontSize();return this.getStringUnitWidth(t)*e/this.internal.scaleFactor}}(j.API),-/**- * @license- * Copyright (c) 2017 Aras Abbasi- *- * Licensed under the MIT License.- * http://opensource.org/licenses/mit-license- */-function(t){var e={1569:[65152],1570:[65153,65154],1571:[65155,65156],1572:[65157,65158],1573:[65159,65160],1574:[65161,65162,65163,65164],1575:[65165,65166],1576:[65167,65168,65169,65170],1577:[65171,65172],1578:[65173,65174,65175,65176],1579:[65177,65178,65179,65180],1580:[65181,65182,65183,65184],1581:[65185,65186,65187,65188],1582:[65189,65190,65191,65192],1583:[65193,65194],1584:[65195,65196],1585:[65197,65198],1586:[65199,65200],1587:[65201,65202,65203,65204],1588:[65205,65206,65207,65208],1589:[65209,65210,65211,65212],1590:[65213,65214,65215,65216],1591:[65217,65218,65219,65220],1592:[65221,65222,65223,65224],1593:[65225,65226,65227,65228],1594:[65229,65230,65231,65232],1601:[65233,65234,65235,65236],1602:[65237,65238,65239,65240],1603:[65241,65242,65243,65244],1604:[65245,65246,65247,65248],1605:[65249,65250,65251,65252],1606:[65253,65254,65255,65256],1607:[65257,65258,65259,65260],1608:[65261,65262],1609:[65263,65264,64488,64489],1610:[65265,65266,65267,65268],1649:[64336,64337],1655:[64477],1657:[64358,64359,64360,64361],1658:[64350,64351,64352,64353],1659:[64338,64339,64340,64341],1662:[64342,64343,64344,64345],1663:[64354,64355,64356,64357],1664:[64346,64347,64348,64349],1667:[64374,64375,64376,64377],1668:[64370,64371,64372,64373],1670:[64378,64379,64380,64381],1671:[64382,64383,64384,64385],1672:[64392,64393],1676:[64388,64389],1677:[64386,64387],1678:[64390,64391],1681:[64396,64397],1688:[64394,64395],1700:[64362,64363,64364,64365],1702:[64366,64367,64368,64369],1705:[64398,64399,64400,64401],1709:[64467,64468,64469,64470],1711:[64402,64403,64404,64405],1713:[64410,64411,64412,64413],1715:[64406,64407,64408,64409],1722:[64414,64415],1723:[64416,64417,64418,64419],1726:[64426,64427,64428,64429],1728:[64420,64421],1729:[64422,64423,64424,64425],1733:[64480,64481],1734:[64473,64474],1735:[64471,64472],1736:[64475,64476],1737:[64482,64483],1739:[64478,64479],1740:[64508,64509,64510,64511],1744:[64484,64485,64486,64487],1746:[64430,64431],1747:[64432,64433]},r={65247:{65154:65269,65156:65271,65160:65273,65166:65275},65248:{65154:65270,65156:65272,65160:65274,65166:65276},65165:{65247:{65248:{65258:65010}}},1617:{1612:64606,1613:64607,1614:64608,1615:64609,1616:64610}},n={1612:64606,1613:64607,1614:64608,1615:64609,1616:64610},i=[1570,1571,1573,1575];t.__arabicParser__={};var a=t.__arabicParser__.isInArabicSubstitutionA=function(t){return void 0!==e[t.charCodeAt(0)]},o=t.__arabicParser__.isArabicLetter=function(t){return"string"==typeof t&&/^[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF]+$/.test(t)},s=t.__arabicParser__.isArabicEndLetter=function(t){return o(t)&&a(t)&&e[t.charCodeAt(0)].length<=2},u=t.__arabicParser__.isArabicAlfLetter=function(t){return o(t)&&i.indexOf(t.charCodeAt(0))>=0};t.__arabicParser__.arabicLetterHasIsolatedForm=function(t){return o(t)&&a(t)&&e[t.charCodeAt(0)].length>=1};var c=t.__arabicParser__.arabicLetterHasFinalForm=function(t){return o(t)&&a(t)&&e[t.charCodeAt(0)].length>=2};t.__arabicParser__.arabicLetterHasInitialForm=function(t){return o(t)&&a(t)&&e[t.charCodeAt(0)].length>=3};var l=t.__arabicParser__.arabicLetterHasMedialForm=function(t){return o(t)&&a(t)&&4==e[t.charCodeAt(0)].length},h=t.__arabicParser__.resolveLigatures=function(t){var e=0,n=r,i="",a=0;for(e=0;e<t.length;e+=1)void 0!==n[t.charCodeAt(e)]?(a++,"number"==typeof(n=n[t.charCodeAt(e)])&&(i+=String.fromCharCode(n),n=r,a=0),e===t.length-1&&(n=r,i+=t.charAt(e-(a-1)),e-=a-1,a=0)):(n=r,i+=t.charAt(e-a),e-=a,a=0);return i};t.__arabicParser__.isArabicDiacritic=function(t){return void 0!==t&&void 0!==n[t.charCodeAt(0)]};var f=t.__arabicParser__.getCorrectForm=function(t,e,r){return o(t)?!1===a(t)?-1:!c(t)||!o(e)&&!o(r)||!o(r)&&s(e)||s(t)&&!o(e)||s(t)&&u(e)||s(t)&&s(e)?0:l(t)&&o(e)&&!s(e)&&o(r)&&c(r)?3:s(t)||!o(r)?1:2:-1},d=function(t){var r=0,n=0,i=0,a="",s="",u="",c=(t=t||"").split("\\s+"),l=[];for(r=0;r<c.length;r+=1){for(l.push(""),n=0;n<c[r].length;n+=1)a=c[r][n],s=c[r][n-1],u=c[r][n+1],o(a)?(i=f(a,s,u),l[r]+=-1!==i?String.fromCharCode(e[a.charCodeAt(0)][i]):a):l[r]+=a;l[r]=h(l[r])}return l.join(" ")},p=t.__arabicParser__.processArabic=t.processArabic=function(){var t,e="string"==typeof arguments[0]?arguments[0]:arguments[0].text,r=[];if(Array.isArray(e)){var n=0;for(r=[],n=0;n<e.length;n+=1)Array.isArray(e[n])?r.push([d(e[n][0]),e[n][1],e[n][2]]):r.push([d(e[n])]);t=r}else t=d(e);return"string"==typeof arguments[0]?t:(arguments[0].text=t,arguments[0])};t.events.push(["preProcessText",p])}(j.API),-/** @license- * jsPDF Autoprint Plugin- *- * Licensed under the MIT License.- * http://opensource.org/licenses/mit-license- */-function(t){t.autoPrint=function(t){var e;switch((t=t||{}).variant=t.variant||"non-conform",t.variant){case"javascript":this.addJS("print({});");break;case"non-conform":default:this.internal.events.subscribe("postPutResources",(function(){e=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /Named"),this.internal.out("/Type /Action"),this.internal.out("/N /Print"),this.internal.out(">>"),this.internal.out("endobj")})),this.internal.events.subscribe("putCatalog",(function(){this.internal.out("/OpenAction "+e+" 0 R")}))}return this}}(j.API),-/**- * @license- * Copyright (c) 2014 Steven Spungin (TwelveTone LLC) [email protected]- *- * Licensed under the MIT License.- * http://opensource.org/licenses/mit-license- */-function(t){var e=function(){var t=void 0;Object.defineProperty(this,"pdf",{get:function(){return t},set:function(e){t=e}});var e=150;Object.defineProperty(this,"width",{get:function(){return e},set:function(t){e=isNaN(t)||!1===Number.isInteger(t)||t<0?150:t,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=e+1)}});var r=300;Object.defineProperty(this,"height",{get:function(){return r},set:function(t){r=isNaN(t)||!1===Number.isInteger(t)||t<0?300:t,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=r+1)}});var n=[];Object.defineProperty(this,"childNodes",{get:function(){return n},set:function(t){n=t}});var i={};Object.defineProperty(this,"style",{get:function(){return i},set:function(t){i=t}}),Object.defineProperty(this,"parentNode",{})};e.prototype.getContext=function(t,e){var r;if("2d"!==(t=t||"2d"))return null;for(r in e)this.pdf.context2d.hasOwnProperty(r)&&(this.pdf.context2d[r]=e[r]);return this.pdf.context2d._canvas=this,this.pdf.context2d},e.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},t.events.push(["initialized",function(){this.canvas=new e,this.canvas.pdf=this}])}(j.API),-/**- * @license- * ====================================================================- * Copyright (c) 2013 Youssef Beddad, [email protected]- * 2013 Eduardo Menezes de Morais, [email protected]- * 2013 Lee Driscoll, https://github.com/lsdriscoll- * 2014 Juan Pablo Gaviria, https://github.com/juanpgaviria- * 2014 James Hall, [email protected]- * 2014 Diego Casorran, https://github.com/diegocr- *- * Permission is hereby granted, free of charge, to any person obtaining- * a copy of this software and associated documentation files (the- * "Software"), to deal in the Software without restriction, including- * without limitation the rights to use, copy, modify, merge, publish,- * distribute, sublicense, and/or sell copies of the Software, and to- * permit persons to whom the Software is furnished to do so, subject to- * the following conditions:- *- * The above copyright notice and this permission notice shall be- * included in all copies or substantial portions of the Software.- *- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,- * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF- * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND- * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE- * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION- * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION- * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.- * ====================================================================- */-function(t){var e={left:0,top:0,bottom:0,right:0},r=!1,n=function(){void 0===this.internal.__cell__&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.__cell__.margins=Object.assign({},e),this.internal.__cell__.margins.width=this.getPageWidth(),i.call(this))},i=function(){this.internal.__cell__.lastCell=new a,this.internal.__cell__.pages=1},a=function(){var t=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return t},set:function(e){t=e}});var e=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return e},set:function(t){e=t}});var r=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return r},set:function(t){r=t}});var n=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return n},set:function(t){n=t}});var i=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return i},set:function(t){i=t}});var a=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return a},set:function(t){a=t}});var o=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return o},set:function(t){o=t}}),this};a.prototype.clone=function(){return new a(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},a.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},t.setHeaderFunction=function(t){return n.call(this),this.internal.__cell__.headerFunction="function"==typeof t?t:void 0,this},t.getTextDimensions=function(t,e){n.call(this);var r=(e=e||{}).fontSize||this.getFontSize(),i=e.font||this.getFont(),a=e.scaleFactor||this.internal.scaleFactor,o=0,s=0,u=0,c=this;if(!Array.isArray(t)&&"string"!=typeof t){if("number"!=typeof t)throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");t=String(t)}const l=e.maxWidth;l>0?"string"==typeof t?t=this.splitTextToSize(t,l):"[object Array]"===Object.prototype.toString.call(t)&&(t=t.reduce((function(t,e){return t.concat(c.splitTextToSize(e,l))}),[])):t=Array.isArray(t)?t:[t];for(var h=0;h<t.length;h++)o<(u=this.getStringUnitWidth(t[h],{font:i})*r)&&(o=u);return 0!==o&&(s=t.length),{w:o/=a,h:Math.max((s*r*this.getLineHeightFactor()-r*(this.getLineHeightFactor()-1))/a,0)}},t.cellAddPage=function(){n.call(this),this.addPage();var t=this.internal.__cell__.margins||e;return this.internal.__cell__.lastCell=new a(t.left,t.top,void 0,void 0),this.internal.__cell__.pages+=1,this};var o=t.cell=function(){var t;t=arguments[0]instanceof a?arguments[0]:new a(arguments[0],arguments[1],arguments[2],arguments[3],arguments[4],arguments[5]),n.call(this);var i=this.internal.__cell__.lastCell,o=this.internal.__cell__.padding,s=this.internal.__cell__.margins||e,u=this.internal.__cell__.tableHeaderRow,c=this.internal.__cell__.printHeaders;return void 0!==i.lineNumber&&(i.lineNumber===t.lineNumber?(t.x=(i.x||0)+(i.width||0),t.y=i.y||0):i.y+i.height+t.height+s.bottom>this.getPageHeight()?(this.cellAddPage(),t.y=s.top,c&&u&&(this.printHeaderRow(t.lineNumber,!0),t.y+=u[0].height)):t.y=i.y+i.height||t.y),void 0!==t.text[0]&&(this.rect(t.x,t.y,t.width,t.height,!0===r?"FD":void 0),"right"===t.align?this.text(t.text,t.x+t.width-o,t.y+o,{align:"right",baseline:"top"}):"center"===t.align?this.text(t.text,t.x+t.width/2,t.y+o,{align:"center",baseline:"top",maxWidth:t.width-o-o}):this.text(t.text,t.x+o,t.y+o,{align:"left",baseline:"top",maxWidth:t.width-o-o})),this.internal.__cell__.lastCell=t,this};t.table=function(t,r,u,c,l){if(n.call(this),!u)throw new Error("No data for PDF table.");var h,f,d,p,g=[],m=[],v=[],b={},y={},w=[],N=[],A=(l=l||{}).autoSize||!1,L=!1!==l.printHeaders,x=l.css&&void 0!==l.css["font-size"]?16*l.css["font-size"]:l.fontSize||12,S=l.margins||Object.assign({width:this.getPageWidth()},e),_="number"==typeof l.padding?l.padding:3,P=l.headerBackgroundColor||"#c8c8c8";if(i.call(this),this.internal.__cell__.printHeaders=L,this.internal.__cell__.margins=S,this.internal.__cell__.table_font_size=x,this.internal.__cell__.padding=_,this.internal.__cell__.headerBackgroundColor=P,this.setFontSize(x),null==c)m=g=Object.keys(u[0]),v=g.map((function(){return"left"}));else if(Array.isArray(c)&&"object"==typeof c[0])for(g=c.map((function(t){return t.name})),m=c.map((function(t){return t.prompt||t.name||""})),v=c.map((function(t){return t.align||"left"})),h=0;h<c.length;h+=1)y[c[h].name]=c[h].width*(19.049976/25.4);else Array.isArray(c)&&"string"==typeof c[0]&&(m=g=c,v=g.map((function(){return"left"})));if(A||Array.isArray(c)&&"string"==typeof c[0])for(h=0;h<g.length;h+=1){for(b[p=g[h]]=u.map((function(t){return t[p]})),this.setFont(void 0,"bold"),w.push(this.getTextDimensions(m[h],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w),f=b[p],this.setFont(void 0,"normal"),d=0;d<f.length;d+=1)w.push(this.getTextDimensions(f[d],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w);y[p]=Math.max.apply(null,w)+_+_,w=[]}if(L){var k={};for(h=0;h<g.length;h+=1)k[g[h]]={},k[g[h]].text=m[h],k[g[h]].align=v[h];var F=s.call(this,k,y);N=g.map((function(e){return new a(t,r,y[e],F,k[e].text,void 0,k[e].align)})),this.setTableHeaderRow(N),this.printHeaderRow(1,!1)}var I=c.reduce((function(t,e){return t[e.name]=e.align,t}),{});for(h=0;h<u.length;h+=1){var C=s.call(this,u[h],y);for(d=0;d<g.length;d+=1)o.call(this,new a(t,r,y[g[d]],C,u[h][g[d]],h+2,I[g[d]]))}return this.internal.__cell__.table_x=t,this.internal.__cell__.table_y=r,this};var s=function(t,e){var r=this.internal.__cell__.padding,n=this.internal.__cell__.table_font_size,i=this.internal.scaleFactor;return Object.keys(t).map((function(n){var i=t[n];return this.splitTextToSize(i.hasOwnProperty("text")?i.text:i,e[n]-r-r)}),this).map((function(t){return this.getLineHeightFactor()*t.length*n/i+r+r}),this).reduce((function(t,e){return Math.max(t,e)}),0)};t.setTableHeaderRow=function(t){n.call(this),this.internal.__cell__.tableHeaderRow=t},t.printHeaderRow=function(t,e){if(n.call(this),!this.internal.__cell__.tableHeaderRow)throw new Error("Property tableHeaderRow does not exist.");var i;if(r=!0,"function"==typeof this.internal.__cell__.headerFunction){var s=this.internal.__cell__.headerFunction(this,this.internal.__cell__.pages);this.internal.__cell__.lastCell=new a(s[0],s[1],s[2],s[3],void 0,-1)}this.setFont(void 0,"bold");for(var u=[],c=0;c<this.internal.__cell__.tableHeaderRow.length;c+=1)i=this.internal.__cell__.tableHeaderRow[c].clone(),e&&(i.y=this.internal.__cell__.margins.top||0,u.push(i)),i.lineNumber=t,this.setFillColor(this.internal.__cell__.headerBackgroundColor),o.call(this,i);u.length>0&&this.setTableHeaderRow(u),this.setFont(void 0,"normal"),r=!1}}(j.API);var Lt={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},xt=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],St=At(xt),_t=[100,200,300,400,500,600,700,800,900],Pt=At(_t);function kt(t){var e=t.family.replace(/"|'/g,"").toLowerCase(),r=function(t){return Lt[t=t||"normal"]?t:"normal"}(t.style),n=function(t){if(!t)return 400;if("number"==typeof t)return t>=100&&t<=900&&t%100==0?t:400;if(/^\d00$/.test(t))return parseInt(t);switch(t){case"bold":return 700;case"normal":default:return 400}}(t.weight),i=function(t){return"number"==typeof St[t=t||"normal"]?t:"normal"}(t.stretch);return{family:e,style:r,weight:n,stretch:i,src:t.src||[],ref:t.ref||{name:e,style:[i,r,n].join(" ")}}}function Ft(t,e,r,n){var i;for(i=r;i>=0&&i<e.length;i+=n)if(t[e[i]])return t[e[i]];for(i=r;i>=0&&i<e.length;i-=n)if(t[e[i]])return t[e[i]]}var It={"sans-serif":"helvetica",fixed:"courier",monospace:"courier",terminal:"courier",cursive:"times",fantasy:"times",serif:"times"},Ct={caption:"times",icon:"times",menu:"times","message-box":"times","small-caption":"times","status-bar":"times"};function jt(t){return[t.stretch,t.style,t.weight,t.family].join(" ")}function Ot(t,e,r){for(var n=(r=r||{}).defaultFontFamily||"times",i=Object.assign({},It,r.genericFontFamilies||{}),a=null,o=null,s=0;s<e.length;++s)if(i[(a=kt(e[s])).family]&&(a.family=i[a.family]),t.hasOwnProperty(a.family)){o=t[a.family];break}if(!(o=o||t[n]))throw new Error("Could not find a font-family for the rule '"+jt(a)+"' and default family '"+n+"'.");if(o=function(t,e){if(e[t])return e[t];var r=St[t],n=r<=St.normal?-1:1,i=Ft(e,xt,r,n);if(!i)throw new Error("Could not find a matching font-stretch value for "+t);return i}(a.stretch,o),o=function(t,e){if(e[t])return e[t];for(var r=Lt[t],n=0;n<r.length;++n)if(e[r[n]])return e[r[n]];throw new Error("Could not find a matching font-style for "+t)}(a.style,o),!(o=function(t,e){if(e[t])return e[t];if(400===t&&e[500])return e[500];if(500===t&&e[400])return e[400];var r=Pt[t],n=Ft(e,_t,r,t<400?-1:1);if(!n)throw new Error("Could not find a matching font-weight for value "+t);return n}(a.weight,o)))throw new Error("Failed to resolve a font for the rule '"+jt(a)+"'.");return o}function Bt(t){return t.trimLeft()}function Mt(t,e){for(var r=0;r<t.length;){if(t.charAt(r)===e)return[t.substring(0,r),t.substring(r+1)];r+=1}return null}function Et(t){var e=t.match(/^(-[a-z_]|[a-z_])[a-z0-9_-]*/i);return null===e?null:[e[0],t.substring(e[0].length)]}var qt=["times"];!function(t){var e,r,i,a,o,s,u,c,h,f=function(t){return t=t||{},this.isStrokeTransparent=t.isStrokeTransparent||!1,this.strokeOpacity=t.strokeOpacity||1,this.strokeStyle=t.strokeStyle||"#000000",this.fillStyle=t.fillStyle||"#000000",this.isFillTransparent=t.isFillTransparent||!1,this.fillOpacity=t.fillOpacity||1,this.font=t.font||"10px sans-serif",this.textBaseline=t.textBaseline||"alphabetic",this.textAlign=t.textAlign||"left",this.lineWidth=t.lineWidth||1,this.lineJoin=t.lineJoin||"miter",this.lineCap=t.lineCap||"butt",this.path=t.path||[],this.transform=void 0!==t.transform?t.transform.clone():new c,this.globalCompositeOperation=t.globalCompositeOperation||"normal",this.globalAlpha=t.globalAlpha||1,this.clip_path=t.clip_path||[],this.currentPoint=t.currentPoint||new s,this.miterLimit=t.miterLimit||10,this.lastPoint=t.lastPoint||new s,this.ignoreClearRect="boolean"!=typeof t.ignoreClearRect||t.ignoreClearRect,this};t.events.push(["initialized",function(){this.context2d=new d(this),e=this.internal.f2,r=this.internal.getCoordinateString,i=this.internal.getVerticalCoordinateString,a=this.internal.getHorizontalCoordinate,o=this.internal.getVerticalCoordinate,s=this.internal.Point,u=this.internal.Rectangle,c=this.internal.Matrix,h=new f}]);var d=function(t){Object.defineProperty(this,"canvas",{get:function(){return{parentNode:!1,style:!1}}});var e=t;Object.defineProperty(this,"pdf",{get:function(){return e}});var r=!1;Object.defineProperty(this,"pageWrapXEnabled",{get:function(){return r},set:function(t){r=Boolean(t)}});var n=!1;Object.defineProperty(this,"pageWrapYEnabled",{get:function(){return n},set:function(t){n=Boolean(t)}});var i=0;Object.defineProperty(this,"posX",{get:function(){return i},set:function(t){isNaN(t)||(i=t)}});var a=0;Object.defineProperty(this,"posY",{get:function(){return a},set:function(t){isNaN(t)||(a=t)}});var o=!1;Object.defineProperty(this,"autoPaging",{get:function(){return o},set:function(t){o=Boolean(t)}});var s=0;Object.defineProperty(this,"lastBreak",{get:function(){return s},set:function(t){s=t}});var u=[];Object.defineProperty(this,"pageBreaks",{get:function(){return u},set:function(t){u=t}}),Object.defineProperty(this,"ctx",{get:function(){return h},set:function(t){t instanceof f&&(h=t)}}),Object.defineProperty(this,"path",{get:function(){return h.path},set:function(t){h.path=t}});var c=[];Object.defineProperty(this,"ctxStack",{get:function(){return c},set:function(t){c=t}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(t){var e;e=p(t),this.ctx.fillStyle=e.style,this.ctx.isFillTransparent=0===e.a,this.ctx.fillOpacity=e.a,this.pdf.setFillColor(e.r,e.g,e.b,{a:e.a}),this.pdf.setTextColor(e.r,e.g,e.b,{a:e.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(t){var e=p(t);this.ctx.strokeStyle=e.style,this.ctx.isStrokeTransparent=0===e.a,this.ctx.strokeOpacity=e.a,0===e.a?this.pdf.setDrawColor(255,255,255):(e.a,this.pdf.setDrawColor(e.r,e.g,e.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(t){-1!==["butt","round","square"].indexOf(t)&&(this.ctx.lineCap=t,this.pdf.setLineCap(t))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(t){isNaN(t)||(this.ctx.lineWidth=t,this.pdf.setLineWidth(t))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(t){-1!==["bevel","round","miter"].indexOf(t)&&(this.ctx.lineJoin=t,this.pdf.setLineJoin(t))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(t){isNaN(t)||(this.ctx.miterLimit=t,this.pdf.setMiterLimit(t))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(t){this.ctx.textBaseline=t}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(t){-1!==["right","end","center","left","start"].indexOf(t)&&(this.ctx.textAlign=t)}});var l=null;function d(t,e){if(null===l){var r=function(t){var e=[];return Object.keys(t).forEach((function(r){t[r].forEach((function(t){var n=null;switch(t){case"bold":n={family:r,weight:"bold"};break;case"italic":n={family:r,style:"italic"};break;case"bolditalic":n={family:r,weight:"bold",style:"italic"};break;case"":case"normal":n={family:r}}null!==n&&(n.ref={name:r,style:t},e.push(n))}))})),e}(t.getFontList());l=function(t){for(var e={},r=0;r<t.length;++r){var n=kt(t[r]),i=n.family,a=n.stretch,o=n.style,s=n.weight;e[i]=e[i]||{},e[i][a]=e[i][a]||{},e[i][a][o]=e[i][a][o]||{},e[i][a][o][s]=n}return e}(r.concat(e))}return l}var g=null;Object.defineProperty(this,"fontFaces",{get:function(){return g},set:function(t){l=null,g=t}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(t){var e;if(this.ctx.font=t,null!==(e=/^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:\%|in|[cem]m|ex|p[ctx]))(?:\s*\/\s*(normal|[.\d]+(?:\%|in|[cem]m|ex|p[ctx])))?\s*([-_,\"\'\sa-z]+?)\s*$/i.exec(t))){var r=e[1],n=(e[2],e[3]),i=e[4],a=(e[5],e[6]),o=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(i)[2];i="px"===o?Math.floor(parseFloat(i)*this.pdf.internal.scaleFactor):"em"===o?Math.floor(parseFloat(i)*this.pdf.getFontSize()):Math.floor(parseFloat(i)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(i);var s=function(t){var e,r,n=[],i=t.trim();if(""===i)return qt;if(i in Ct)return[Ct[i]];for(;""!==i;){switch(r=null,e=(i=Bt(i)).charAt(0)){case'"':case"'":r=Mt(i.substring(1),e);break;default:r=Et(i)}if(null===r)return qt;if(n.push(r[0]),""!==(i=Bt(r[1]))&&","!==i.charAt(0))return qt;i=i.replace(/^,/,"")}return n}(a);if(this.fontFaces){var u=Ot(d(this.pdf,this.fontFaces),s.map((function(t){return{family:t,stretch:"normal",weight:n,style:r}})));this.pdf.setFont(u.ref.name,u.ref.style)}else{var c="";("bold"===n||parseInt(n,10)>=700||"bold"===r)&&(c="bold"),"italic"===r&&(c+="italic"),0===c.length&&(c="normal");for(var l="",h={arial:"Helvetica",Arial:"Helvetica",verdana:"Helvetica",Verdana:"Helvetica",helvetica:"Helvetica",Helvetica:"Helvetica","sans-serif":"Helvetica",fixed:"Courier",monospace:"Courier",terminal:"Courier",cursive:"Times",fantasy:"Times",serif:"Times"},f=0;f<s.length;f++){if(void 0!==this.pdf.internal.getFont(s[f],c,{noFallback:!0,disableWarning:!0})){l=s[f];break}if("bolditalic"===c&&void 0!==this.pdf.internal.getFont(s[f],"bold",{noFallback:!0,disableWarning:!0}))l=s[f],c="bold";else if(void 0!==this.pdf.internal.getFont(s[f],"normal",{noFallback:!0,disableWarning:!0})){l=s[f],c="normal";break}}if(""===l)for(var p=0;p<s.length;p++)if(h[s[p]]){l=h[s[p]];break}l=""===l?"Times":l,this.pdf.setFont(l,c)}}}}),Object.defineProperty(this,"globalCompositeOperation",{get:function(){return this.ctx.globalCompositeOperation},set:function(t){this.ctx.globalCompositeOperation=t}}),Object.defineProperty(this,"globalAlpha",{get:function(){return this.ctx.globalAlpha},set:function(t){this.ctx.globalAlpha=t}}),Object.defineProperty(this,"ignoreClearRect",{get:function(){return this.ctx.ignoreClearRect},set:function(t){this.ctx.ignoreClearRect=Boolean(t)}})};d.prototype.fill=function(){N.call(this,"fill",!1)},d.prototype.stroke=function(){N.call(this,"stroke",!1)},d.prototype.beginPath=function(){this.path=[{type:"begin"}]},d.prototype.moveTo=function(t,e){if(isNaN(t)||isNaN(e))throw n.error("jsPDF.context2d.moveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.moveTo");var r=this.ctx.transform.applyToPoint(new s(t,e));this.path.push({type:"mt",x:r.x,y:r.y}),this.ctx.lastPoint=new s(t,e)},d.prototype.closePath=function(){var t=new s(0,0),e=0;for(e=this.path.length-1;-1!==e;e--)if("begin"===this.path[e].type&&"object"==typeof this.path[e+1]&&"number"==typeof this.path[e+1].x){t=new s(this.path[e+1].x,this.path[e+1].y),this.path.push({type:"lt",x:t.x,y:t.y});break}"object"==typeof this.path[e+2]&&"number"==typeof this.path[e+2].x&&this.path.push(JSON.parse(JSON.stringify(this.path[e+2]))),this.path.push({type:"close"}),this.ctx.lastPoint=new s(t.x,t.y)},d.prototype.lineTo=function(t,e){if(isNaN(t)||isNaN(e))throw n.error("jsPDF.context2d.lineTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.lineTo");var r=this.ctx.transform.applyToPoint(new s(t,e));this.path.push({type:"lt",x:r.x,y:r.y}),this.ctx.lastPoint=new s(r.x,r.y)},d.prototype.clip=function(){this.ctx.clip_path=JSON.parse(JSON.stringify(this.path)),N.call(this,null,!0)},d.prototype.quadraticCurveTo=function(t,e,r,i){if(isNaN(r)||isNaN(i)||isNaN(t)||isNaN(e))throw n.error("jsPDF.context2d.quadraticCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.quadraticCurveTo");var a=this.ctx.transform.applyToPoint(new s(r,i)),o=this.ctx.transform.applyToPoint(new s(t,e));this.path.push({type:"qct",x1:o.x,y1:o.y,x:a.x,y:a.y}),this.ctx.lastPoint=new s(a.x,a.y)},d.prototype.bezierCurveTo=function(t,e,r,i,a,o){if(isNaN(a)||isNaN(o)||isNaN(t)||isNaN(e)||isNaN(r)||isNaN(i))throw n.error("jsPDF.context2d.bezierCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.bezierCurveTo");var u=this.ctx.transform.applyToPoint(new s(a,o)),c=this.ctx.transform.applyToPoint(new s(t,e)),l=this.ctx.transform.applyToPoint(new s(r,i));this.path.push({type:"bct",x1:c.x,y1:c.y,x2:l.x,y2:l.y,x:u.x,y:u.y}),this.ctx.lastPoint=new s(u.x,u.y)},d.prototype.arc=function(t,e,r,i,a,o){if(isNaN(t)||isNaN(e)||isNaN(r)||isNaN(i)||isNaN(a))throw n.error("jsPDF.context2d.arc: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.arc");if(o=Boolean(o),!this.ctx.transform.isIdentity){var u=this.ctx.transform.applyToPoint(new s(t,e));t=u.x,e=u.y;var c=this.ctx.transform.applyToPoint(new s(0,r)),l=this.ctx.transform.applyToPoint(new s(0,0));r=Math.sqrt(Math.pow(c.x-l.x,2)+Math.pow(c.y-l.y,2))}Math.abs(a-i)>=2*Math.PI&&(i=0,a=2*Math.PI),this.path.push({type:"arc",x:t,y:e,radius:r,startAngle:i,endAngle:a,counterclockwise:o})},d.prototype.arcTo=function(t,e,r,n,i){throw new Error("arcTo not implemented.")},d.prototype.rect=function(t,e,r,i){if(isNaN(t)||isNaN(e)||isNaN(r)||isNaN(i))throw n.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(t,e),this.lineTo(t+r,e),this.lineTo(t+r,e+i),this.lineTo(t,e+i),this.lineTo(t,e),this.lineTo(t+r,e),this.lineTo(t,e)},d.prototype.fillRect=function(t,e,r,i){if(isNaN(t)||isNaN(e)||isNaN(r)||isNaN(i))throw n.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!g.call(this)){var a={};"butt"!==this.lineCap&&(a.lineCap=this.lineCap,this.lineCap="butt"),"miter"!==this.lineJoin&&(a.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(t,e,r,i),this.fill(),a.hasOwnProperty("lineCap")&&(this.lineCap=a.lineCap),a.hasOwnProperty("lineJoin")&&(this.lineJoin=a.lineJoin)}},d.prototype.strokeRect=function(t,e,r,i){if(isNaN(t)||isNaN(e)||isNaN(r)||isNaN(i))throw n.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");m.call(this)||(this.beginPath(),this.rect(t,e,r,i),this.stroke())},d.prototype.clearRect=function(t,e,r,i){if(isNaN(t)||isNaN(e)||isNaN(r)||isNaN(i))throw n.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(t,e,r,i))},d.prototype.save=function(t){t="boolean"!=typeof t||t;for(var e=this.pdf.internal.getCurrentPageInfo().pageNumber,r=0;r<this.pdf.internal.getNumberOfPages();r++)this.pdf.setPage(r+1),this.pdf.internal.out("q");if(this.pdf.setPage(e),t){this.ctx.fontSize=this.pdf.internal.getFontSize();var n=new f(this.ctx);this.ctxStack.push(this.ctx),this.ctx=n}},d.prototype.restore=function(t){t="boolean"!=typeof t||t;for(var e=this.pdf.internal.getCurrentPageInfo().pageNumber,r=0;r<this.pdf.internal.getNumberOfPages();r++)this.pdf.setPage(r+1),this.pdf.internal.out("Q");this.pdf.setPage(e),t&&0!==this.ctxStack.length&&(this.ctx=this.ctxStack.pop(),this.fillStyle=this.ctx.fillStyle,this.strokeStyle=this.ctx.strokeStyle,this.font=this.ctx.font,this.lineCap=this.ctx.lineCap,this.lineWidth=this.ctx.lineWidth,this.lineJoin=this.ctx.lineJoin)},d.prototype.toDataURL=function(){throw new Error("toDataUrl not implemented.")};var p=function(t){var e,r,n,i;if(!0===t.isCanvasGradient&&(t=t.getColor()),!t)return{r:0,g:0,b:0,a:0,style:t};if(/transparent|rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*0+\s*\)/.test(t))e=0,r=0,n=0,i=0;else{var a=/rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/.exec(t);if(null!==a)e=parseInt(a[1]),r=parseInt(a[2]),n=parseInt(a[3]),i=1;else if(null!==(a=/rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*([\d.]+)\s*\)/.exec(t)))e=parseInt(a[1]),r=parseInt(a[2]),n=parseInt(a[3]),i=parseFloat(a[4]);else{if(i=1,"string"==typeof t&&"#"!==t.charAt(0)){var o=new l(t);t=o.ok?o.toHex():"#000000"}4===t.length?(e=t.substring(1,2),e+=e,r=t.substring(2,3),r+=r,n=t.substring(3,4),n+=n):(e=t.substring(1,3),r=t.substring(3,5),n=t.substring(5,7)),e=parseInt(e,16),r=parseInt(r,16),n=parseInt(n,16)}}return{r:e,g:r,b:n,a:i,style:t}},g=function(){return this.ctx.isFillTransparent||0==this.globalAlpha},m=function(){return Boolean(this.ctx.isStrokeTransparent||0==this.globalAlpha)};d.prototype.fillText=function(t,e,r,i){if(isNaN(e)||isNaN(r)||"string"!=typeof t)throw n.error("jsPDF.context2d.fillText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillText");if(i=isNaN(i)?void 0:i,!g.call(this)){r=L.call(this,r);var a=B(this.ctx.transform.rotation),o=this.ctx.transform.scaleX;k.call(this,{text:t,x:e,y:r,scale:o,angle:a,align:this.textAlign,maxWidth:i})}},d.prototype.strokeText=function(t,e,r,i){if(isNaN(e)||isNaN(r)||"string"!=typeof t)throw n.error("jsPDF.context2d.strokeText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeText");if(!m.call(this)){i=isNaN(i)?void 0:i,r=L.call(this,r);var a=B(this.ctx.transform.rotation),o=this.ctx.transform.scaleX;k.call(this,{text:t,x:e,y:r,scale:o,renderingMode:"stroke",angle:a,align:this.textAlign,maxWidth:i})}},d.prototype.measureText=function(t){if("string"!=typeof t)throw n.error("jsPDF.context2d.measureText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.measureText");var e=this.pdf,r=this.pdf.internal.scaleFactor,i=e.internal.getFontSize(),a=e.getStringUnitWidth(t)*i/e.internal.scaleFactor,o=function(t){var e=(t=t||{}).width||0;return Object.defineProperty(this,"width",{get:function(){return e}}),this};return new o({width:a*=Math.round(96*r/72*1e4)/1e4})},d.prototype.scale=function(t,e){if(isNaN(t)||isNaN(e))throw n.error("jsPDF.context2d.scale: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.scale");var r=new c(t,0,0,e,0,0);this.ctx.transform=this.ctx.transform.multiply(r)},d.prototype.rotate=function(t){if(isNaN(t))throw n.error("jsPDF.context2d.rotate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rotate");var e=new c(Math.cos(t),Math.sin(t),-Math.sin(t),Math.cos(t),0,0);this.ctx.transform=this.ctx.transform.multiply(e)},d.prototype.translate=function(t,e){if(isNaN(t)||isNaN(e))throw n.error("jsPDF.context2d.translate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.translate");var r=new c(1,0,0,1,t,e);this.ctx.transform=this.ctx.transform.multiply(r)},d.prototype.transform=function(t,e,r,i,a,o){if(isNaN(t)||isNaN(e)||isNaN(r)||isNaN(i)||isNaN(a)||isNaN(o))throw n.error("jsPDF.context2d.transform: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.transform");var s=new c(t,e,r,i,a,o);this.ctx.transform=this.ctx.transform.multiply(s)},d.prototype.setTransform=function(t,e,r,n,i,a){t=isNaN(t)?1:t,e=isNaN(e)?0:e,r=isNaN(r)?0:r,n=isNaN(n)?1:n,i=isNaN(i)?0:i,a=isNaN(a)?0:a,this.ctx.transform=new c(t,e,r,n,i,a)},d.prototype.drawImage=function(t,e,r,n,i,a,o,s,l){var h=this.pdf.getImageProperties(t),f=1,d=1,p=1,g=1;void 0!==n&&void 0!==s&&(p=s/n,g=l/i,f=h.width/n*s/n,d=h.height/i*l/i),void 0===a&&(a=e,o=r,e=0,r=0),void 0!==n&&void 0===s&&(s=n,l=i),void 0===n&&void 0===s&&(s=h.width,l=h.height);for(var m,b=this.ctx.transform.decompose(),N=B(b.rotate.shx),L=new c,x=(L=(L=(L=L.multiply(b.translate)).multiply(b.skew)).multiply(b.scale)).applyToRectangle(new u(a-e*p,o-r*g,n*f,i*d)),S=v.call(this,x),_=[],P=0;P<S.length;P+=1)-1===_.indexOf(S[P])&&_.push(S[P]);if(w(_),this.autoPaging)for(var k=_[0],F=_[_.length-1],I=k;I<F+1;I++){if(this.pdf.setPage(I),0!==this.ctx.clip_path.length){var C=this.path;m=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=y(m,this.posX,-1*this.pdf.internal.pageSize.height*(I-1)+this.posY),A.call(this,"fill",!0),this.path=C}var j=JSON.parse(JSON.stringify(x));j=y([j],this.posX,-1*this.pdf.internal.pageSize.height*(I-1)+this.posY)[0],this.pdf.addImage(t,"JPEG",j.x,j.y,j.w,j.h,null,null,N)}else this.pdf.addImage(t,"JPEG",x.x,x.y,x.w,x.h,null,null,N)};var v=function(t,e,r){var n=[];switch(e=e||this.pdf.internal.pageSize.width,r=r||this.pdf.internal.pageSize.height,t.type){default:case"mt":case"lt":n.push(Math.floor((t.y+this.posY)/r)+1);break;case"arc":n.push(Math.floor((t.y+this.posY-t.radius)/r)+1),n.push(Math.floor((t.y+this.posY+t.radius)/r)+1);break;case"qct":var i=M(this.ctx.lastPoint.x,this.ctx.lastPoint.y,t.x1,t.y1,t.x,t.y);n.push(Math.floor(i.y/r)+1),n.push(Math.floor((i.y+i.h)/r)+1);break;case"bct":var a=E(this.ctx.lastPoint.x,this.ctx.lastPoint.y,t.x1,t.y1,t.x2,t.y2,t.x,t.y);n.push(Math.floor(a.y/r)+1),n.push(Math.floor((a.y+a.h)/r)+1);break;case"rect":n.push(Math.floor((t.y+this.posY)/r)+1),n.push(Math.floor((t.y+t.h+this.posY)/r)+1)}for(var o=0;o<n.length;o+=1)for(;this.pdf.internal.getNumberOfPages()<n[o];)b.call(this);return n},b=function(){var t=this.fillStyle,e=this.strokeStyle,r=this.font,n=this.lineCap,i=this.lineWidth,a=this.lineJoin;this.pdf.addPage(),this.fillStyle=t,this.strokeStyle=e,this.font=r,this.lineCap=n,this.lineWidth=i,this.lineJoin=a},y=function(t,e,r){for(var n=0;n<t.length;n++)switch(t[n].type){case"bct":t[n].x2+=e,t[n].y2+=r;case"qct":t[n].x1+=e,t[n].y1+=r;case"mt":case"lt":case"arc":default:t[n].x+=e,t[n].y+=r}return t},w=function(t){return t.sort((function(t,e){return t-e}))},N=function(t,e){for(var r,n,i=this.fillStyle,a=this.strokeStyle,o=this.lineCap,s=this.lineWidth,u=s*this.ctx.transform.scaleX,c=this.lineJoin,l=JSON.parse(JSON.stringify(this.path)),h=JSON.parse(JSON.stringify(this.path)),f=[],d=0;d<h.length;d++)if(void 0!==h[d].x)for(var p=v.call(this,h[d]),g=0;g<p.length;g+=1)-1===f.indexOf(p[g])&&f.push(p[g]);for(var m=0;m<f.length;m++)for(;this.pdf.internal.getNumberOfPages()<f[m];)b.call(this);if(w(f),this.autoPaging)for(var N=f[0],L=f[f.length-1],x=N;x<L+1;x++){if(this.pdf.setPage(x),this.fillStyle=i,this.strokeStyle=a,this.lineCap=o,this.lineWidth=u,this.lineJoin=c,0!==this.ctx.clip_path.length){var S=this.path;r=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=y(r,this.posX,-1*this.pdf.internal.pageSize.height*(x-1)+this.posY),A.call(this,t,!0),this.path=S}n=JSON.parse(JSON.stringify(l)),this.path=y(n,this.posX,-1*this.pdf.internal.pageSize.height*(x-1)+this.posY),!1!==e&&0!==x||A.call(this,t,e),this.lineWidth=s}else this.lineWidth=u,A.call(this,t,e),this.lineWidth=s;this.path=l},A=function(t,e){if(("stroke"!==t||e||!m.call(this))&&("stroke"===t||e||!g.call(this))){for(var r,n,i=[],a=this.path,o=0;o<a.length;o++){var s=a[o];switch(s.type){case"begin":i.push({begin:!0});break;case"close":i.push({close:!0});break;case"mt":i.push({start:s,deltas:[],abs:[]});break;case"lt":var u=i.length;if(!isNaN(a[o-1].x)&&(r=[s.x-a[o-1].x,s.y-a[o-1].y],u>0))for(;u>=0;u--)if(!0!==i[u-1].close&&!0!==i[u-1].begin){i[u-1].deltas.push(r),i[u-1].abs.push(s);break}break;case"bct":r=[s.x1-a[o-1].x,s.y1-a[o-1].y,s.x2-a[o-1].x,s.y2-a[o-1].y,s.x-a[o-1].x,s.y-a[o-1].y],i[i.length-1].deltas.push(r);break;case"qct":var c=a[o-1].x+2/3*(s.x1-a[o-1].x),l=a[o-1].y+2/3*(s.y1-a[o-1].y),h=s.x+2/3*(s.x1-s.x),f=s.y+2/3*(s.y1-s.y),d=s.x,p=s.y;r=[c-a[o-1].x,l-a[o-1].y,h-a[o-1].x,f-a[o-1].y,d-a[o-1].x,p-a[o-1].y],i[i.length-1].deltas.push(r);break;case"arc":i.push({deltas:[],abs:[],arc:!0}),Array.isArray(i[i.length-1].abs)&&i[i.length-1].abs.push(s)}}n=e?null:"stroke"===t?"stroke":"fill";for(var v=0;v<i.length;v++){if(i[v].arc){for(var b=i[v].abs,y=0;y<b.length;y++){var w=b[y];"arc"===w.type?x.call(this,w.x,w.y,w.radius,w.startAngle,w.endAngle,w.counterclockwise,void 0,e):F.call(this,w.x,w.y)}S.call(this,n),this.pdf.internal.out("h")}if(!i[v].arc&&!0!==i[v].close&&!0!==i[v].begin){var N=i[v].start.x,A=i[v].start.y;I.call(this,i[v].deltas,N,A)}}n&&S.call(this,n),e&&_.call(this)}},L=function(t){var e=this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor,r=e*(this.pdf.internal.getLineHeightFactor()-1);switch(this.ctx.textBaseline){case"bottom":return t-r;case"top":return t+e-r;case"hanging":return t+e-2*r;case"middle":return t+e/2-r;case"ideographic":return t;case"alphabetic":default:return t}};d.prototype.createLinearGradient=function(){var t=function(){};return t.colorStops=[],t.addColorStop=function(t,e){this.colorStops.push([t,e])},t.getColor=function(){return 0===this.colorStops.length?"#000000":this.colorStops[0][1]},t.isCanvasGradient=!0,t},d.prototype.createPattern=function(){return this.createLinearGradient()},d.prototype.createRadialGradient=function(){return this.createLinearGradient()};var x=function(t,e,r,n,i,a,o,s){for(var u=j.call(this,r,n,i,a),c=0;c<u.length;c++){var l=u[c];0===c&&P.call(this,l.x1+t,l.y1+e),C.call(this,t,e,l.x2,l.y2,l.x3,l.y3,l.x4,l.y4)}s?_.call(this):S.call(this,o)},S=function(t){switch(t){case"stroke":this.pdf.internal.out("S");break;case"fill":this.pdf.internal.out("f")}},_=function(){this.pdf.clip(),this.pdf.discardPath()},P=function(t,e){this.pdf.internal.out(r(t)+" "+i(e)+" m")},k=function(t){var e;switch(t.align){case"right":case"end":e="right";break;case"center":e="center";break;case"left":case"start":default:e="left"}var r=this.ctx.transform.applyToPoint(new s(t.x,t.y)),n=this.ctx.transform.decompose(),i=new c;i=(i=(i=i.multiply(n.translate)).multiply(n.skew)).multiply(n.scale);for(var a,o,l,h=this.pdf.getTextDimensions(t.text),f=this.ctx.transform.applyToRectangle(new u(t.x,t.y,h.w,h.h)),d=i.applyToRectangle(new u(t.x,t.y-h.h,h.w,h.h)),p=v.call(this,d),g=[],m=0;m<p.length;m+=1)-1===g.indexOf(p[m])&&g.push(p[m]);if(w(g),!0===this.autoPaging)for(var b=g[0],N=g[g.length-1],L=b;L<N+1;L++){if(this.pdf.setPage(L),0!==this.ctx.clip_path.length){var x=this.path;a=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=y(a,this.posX,-1*this.pdf.internal.pageSize.height*(L-1)+this.posY),A.call(this,"fill",!0),this.path=x}var S=JSON.parse(JSON.stringify(f));S=y([S],this.posX,-1*this.pdf.internal.pageSize.height*(L-1)+this.posY)[0],t.scale>=.01&&(o=this.pdf.internal.getFontSize(),this.pdf.setFontSize(o*t.scale),l=this.lineWidth,this.lineWidth=l*t.scale),this.pdf.text(t.text,S.x,S.y,{angle:t.angle,align:e,renderingMode:t.renderingMode,maxWidth:t.maxWidth}),t.scale>=.01&&(this.pdf.setFontSize(o),this.lineWidth=l)}else t.scale>=.01&&(o=this.pdf.internal.getFontSize(),this.pdf.setFontSize(o*t.scale),l=this.lineWidth,this.lineWidth=l*t.scale),this.pdf.text(t.text,r.x+this.posX,r.y+this.posY,{angle:t.angle,align:e,renderingMode:t.renderingMode,maxWidth:t.maxWidth}),t.scale>=.01&&(this.pdf.setFontSize(o),this.lineWidth=l)},F=function(t,e,n,a){n=n||0,a=a||0,this.pdf.internal.out(r(t+n)+" "+i(e+a)+" l")},I=function(t,e,r){return this.pdf.lines(t,e,r,null,null)},C=function(t,r,n,i,s,u,c,l){this.pdf.internal.out([e(a(n+t)),e(o(i+r)),e(a(s+t)),e(o(u+r)),e(a(c+t)),e(o(l+r)),"c"].join(" "))},j=function(t,e,r,n){for(var i=2*Math.PI,a=Math.PI/2;e>r;)e-=i;var o=Math.abs(r-e);o<i&&n&&(o=i-o);for(var s=[],u=n?-1:1,c=e;o>1e-5;){var l=c+u*Math.min(o,a);s.push(O.call(this,t,c,l)),o-=Math.abs(l-c),c=l}return s},O=function(t,e,r){var n=(r-e)/2,i=t*Math.cos(n),a=t*Math.sin(n),o=i,s=-a,u=o*o+s*s,c=u+o*i+s*a,l=4/3*(Math.sqrt(2*u*c)-c)/(o*a-s*i),h=o-l*s,f=s+l*o,d=h,p=-f,g=n+e,m=Math.cos(g),v=Math.sin(g);return{x1:t*Math.cos(e),y1:t*Math.sin(e),x2:h*m-f*v,y2:h*v+f*m,x3:d*m-p*v,y3:d*v+p*m,x4:t*Math.cos(r),y4:t*Math.sin(r)}},B=function(t){return 180*t/Math.PI},M=function(t,e,r,n,i,a){var o=t+.5*(r-t),s=e+.5*(n-e),c=i+.5*(r-i),l=a+.5*(n-a),h=Math.min(t,i,o,c),f=Math.max(t,i,o,c),d=Math.min(e,a,s,l),p=Math.max(e,a,s,l);return new u(h,d,f-h,p-d)},E=function(t,e,r,n,i,a,o,s){var c,l,h,f,d,p,g,m,v,b,y,w,N,A,L=r-t,x=n-e,S=i-r,_=a-n,P=o-i,k=s-a;for(l=0;l<41;l++)v=(g=(h=t+(c=l/40)*L)+c*((d=r+c*S)-h))+c*(d+c*(i+c*P-d)-g),b=(m=(f=e+c*x)+c*((p=n+c*_)-f))+c*(p+c*(a+c*k-p)-m),0==l?(y=v,w=b,N=v,A=b):(y=Math.min(y,v),w=Math.min(w,b),N=Math.max(N,v),A=Math.max(A,b));return new u(Math.round(y),Math.round(w),Math.round(N-y),Math.round(A-w))}}(j.API);try{require("worker_threads").Worker}catch(t){}var Rt=Uint8Array,Tt=Uint16Array,Dt=Uint32Array,Ut=new Rt([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),zt=new Rt([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),Ht=new Rt([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),Wt=function(t,e){for(var r=new Tt(31),n=0;n<31;++n)r[n]=e+=1<<t[n-1];var i=new Dt(r[30]);for(n=1;n<30;++n)for(var a=r[n];a<r[n+1];++a)i[a]=a-r[n]<<5|n;return[r,i]},Vt=Wt(Ut,2),Gt=Vt[0],Yt=Vt[1];Gt[28]=258,Yt[258]=28;for(var Jt=Wt(zt,0),Xt=Jt[0],Kt=Jt[1],Zt=new Tt(32768),$t=0;$t<32768;++$t){var Qt=(43690&$t)>>>1|(21845&$t)<<1;Qt=(61680&(Qt=(52428&Qt)>>>2|(13107&Qt)<<2))>>>4|(3855&Qt)<<4,Zt[$t]=((65280&Qt)>>>8|(255&Qt)<<8)>>>1}var te=function(t,e,r){for(var n=t.length,i=0,a=new Tt(e);i<n;++i)++a[t[i]-1];var o,s=new Tt(e);for(i=0;i<e;++i)s[i]=s[i-1]+a[i-1]<<1;if(r){o=new Tt(1<<e);var u=15-e;for(i=0;i<n;++i)if(t[i])for(var c=i<<4|t[i],l=e-t[i],h=s[t[i]-1]++<<l,f=h|(1<<l)-1;h<=f;++h)o[Zt[h]>>>u]=c}else for(o=new Tt(n),i=0;i<n;++i)o[i]=Zt[s[t[i]-1]++]>>>15-t[i];return o},ee=new Rt(288);for($t=0;$t<144;++$t)ee[$t]=8;for($t=144;$t<256;++$t)ee[$t]=9;for($t=256;$t<280;++$t)ee[$t]=7;for($t=280;$t<288;++$t)ee[$t]=8;var re=new Rt(32);for($t=0;$t<32;++$t)re[$t]=5;var ne=te(ee,9,0),ie=te(ee,9,1),ae=te(re,5,0),oe=te(re,5,1),se=function(t){for(var e=t[0],r=1;r<t.length;++r)t[r]>e&&(e=t[r]);return e},ue=function(t,e,r){var n=e/8>>0;return(t[n]|t[n+1]<<8)>>>(7&e)&r},ce=function(t,e){var r=e/8>>0;return(t[r]|t[r+1]<<8|t[r+2]<<16)>>>(7&e)},le=function(t){return(t/8>>0)+(7&t&&1)},he=function(t,e,r){(null==e||e<0)&&(e=0),(null==r||r>t.length)&&(r=t.length);var n=new(t instanceof Tt?Tt:t instanceof Dt?Dt:Rt)(r-e);return n.set(t.subarray(e,r)),n},fe=function(t,e,r){r<<=7&e;var n=e/8>>0;t[n]|=r,t[n+1]|=r>>>8},de=function(t,e,r){r<<=7&e;var n=e/8>>0;t[n]|=r,t[n+1]|=r>>>8,t[n+2]|=r>>>16},pe=function(t,e){for(var r=[],n=0;n<t.length;++n)t[n]&&r.push({s:n,f:t[n]});var i=r.length,a=r.slice();if(!i)return[new Rt(0),0];if(1==i){var o=new Rt(r[0].s+1);return o[r[0].s]=1,[o,1]}r.sort((function(t,e){return t.f-e.f})),r.push({s:-1,f:25001});var s=r[0],u=r[1],c=0,l=1,h=2;for(r[0]={s:-1,f:s.f+u.f,l:s,r:u};l!=i-1;)s=r[r[c].f<r[h].f?c++:h++],u=r[c!=l&&r[c].f<r[h].f?c++:h++],r[l++]={s:-1,f:s.f+u.f,l:s,r:u};var f=a[0].s;for(n=1;n<i;++n)a[n].s>f&&(f=a[n].s);var d=new Tt(f+1),p=ge(r[l-1],d,0);if(p>e){n=0;var g=0,m=p-e,v=1<<m;for(a.sort((function(t,e){return d[e.s]-d[t.s]||t.f-e.f}));n<i;++n){var b=a[n].s;if(!(d[b]>e))break;g+=v-(1<<p-d[b]),d[b]=e}for(g>>>=m;g>0;){var y=a[n].s;d[y]<e?g-=1<<e-d[y]++-1:++n}for(;n>=0&&g;--n){var w=a[n].s;d[w]==e&&(--d[w],++g)}p=e}return[new Rt(d),p]},ge=function(t,e,r){return-1==t.s?Math.max(ge(t.l,e,r+1),ge(t.r,e,r+1)):e[t.s]=r},me=function(t){for(var e=t.length;e&&!t[--e];);for(var r=new Tt(++e),n=0,i=t[0],a=1,o=function(t){r[n++]=t},s=1;s<=e;++s)if(t[s]==i&&s!=e)++a;else{if(!i&&a>2){for(;a>138;a-=138)o(32754);a>2&&(o(a>10?a-11<<5|28690:a-3<<5|12305),a=0)}else if(a>3){for(o(i),--a;a>6;a-=6)o(8304);a>2&&(o(a-3<<5|8208),a=0)}for(;a--;)o(i);a=1,i=t[s]}return[r.subarray(0,n),e]},ve=function(t,e){for(var r=0,n=0;n<e.length;++n)r+=t[n]*e[n];return r},be=function(t,e,r){var n=r.length,i=le(e+2);t[i]=255&n,t[i+1]=n>>>8,t[i+2]=255^t[i],t[i+3]=255^t[i+1];for(var a=0;a<n;++a)t[i+a+4]=r[a];return 8*(i+4+n)},ye=function(t,e,r,n,i,a,o,s,u,c,l){fe(e,l++,r),++i[256];for(var h=pe(i,15),f=h[0],d=h[1],p=pe(a,15),g=p[0],m=p[1],v=me(f),b=v[0],y=v[1],w=me(g),N=w[0],A=w[1],L=new Tt(19),x=0;x<b.length;++x)L[31&b[x]]++;for(x=0;x<N.length;++x)L[31&N[x]]++;for(var S=pe(L,7),_=S[0],P=S[1],k=19;k>4&&!_[Ht[k-1]];--k);var F,I,C,j,O=c+5<<3,B=ve(i,ee)+ve(a,re)+o,M=ve(i,f)+ve(a,g)+o+14+3*k+ve(L,_)+(2*L[16]+3*L[17]+7*L[18]);if(O<=B&&O<=M)return be(e,l,t.subarray(u,u+c));if(fe(e,l,1+(M<B)),l+=2,M<B){F=te(f,d,0),I=f,C=te(g,m,0),j=g;var E=te(_,P,0);fe(e,l,y-257),fe(e,l+5,A-1),fe(e,l+10,k-4),l+=14;for(x=0;x<k;++x)fe(e,l+3*x,_[Ht[x]]);l+=3*k;for(var q=[b,N],R=0;R<2;++R){var T=q[R];for(x=0;x<T.length;++x){var D=31&T[x];fe(e,l,E[D]),l+=_[D],D>15&&(fe(e,l,T[x]>>>5&127),l+=T[x]>>>12)}}}else F=ne,I=ee,C=ae,j=re;for(x=0;x<s;++x)if(n[x]>255){D=n[x]>>>18&31;de(e,l,F[D+257]),l+=I[D+257],D>7&&(fe(e,l,n[x]>>>23&31),l+=Ut[D]);var U=31&n[x];de(e,l,C[U]),l+=j[U],U>3&&(de(e,l,n[x]>>>5&8191),l+=zt[U])}else de(e,l,F[n[x]]),l+=I[n[x]];return de(e,l,F[256]),l+I[256]},we=new Dt([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),Ne=new Rt(0),Ae=function(t,e,r,n,i){return function(t,e,r,n,i,a){var o=t.length,s=new Rt(n+o+5*(1+Math.floor(o/7e3))+i),u=s.subarray(n,s.length-i),c=0;if(!e||o<8)for(var l=0;l<=o;l+=65535){var h=l+65535;h<o?c=be(u,c,t.subarray(l,h)):(u[l]=a,c=be(u,c,t.subarray(l,o)))}else{for(var f=we[e-1],d=f>>>13,p=8191&f,g=(1<<r)-1,m=new Tt(32768),v=new Tt(g+1),b=Math.ceil(r/3),y=2*b,w=function(e){return(t[e]^t[e+1]<<b^t[e+2]<<y)&g},N=new Dt(25e3),A=new Tt(288),L=new Tt(32),x=0,S=0,_=(l=0,0),P=0,k=0;l<o;++l){var F=w(l),I=32767&l,C=v[F];if(m[I]=C,v[F]=I,P<=l){var j=o-l;if((x>7e3||_>24576)&&j>423){c=ye(t,u,0,N,A,L,S,_,k,l-k,c),_=x=S=0,k=l;for(var O=0;O<286;++O)A[O]=0;for(O=0;O<30;++O)L[O]=0}var B=2,M=0,E=p,q=I-C&32767;if(j>2&&F==w(l-q))for(var R=Math.min(d,j)-1,T=Math.min(32767,l),D=Math.min(258,j);q<=T&&--E&&I!=C;){if(t[l+B]==t[l+B-q]){for(var U=0;U<D&&t[l+U]==t[l+U-q];++U);if(U>B){if(B=U,M=q,U>R)break;var z=Math.min(q,U-2),H=0;for(O=0;O<z;++O){var W=l-q+O+32768&32767,V=W-m[W]+32768&32767;V>H&&(H=V,C=W)}}}q+=(I=C)-(C=m[I])+32768&32767}if(M){N[_++]=268435456|Yt[B]<<18|Kt[M];var G=31&Yt[B],Y=31&Kt[M];S+=Ut[G]+zt[Y],++A[257+G],++L[Y],P=l+B,++x}else N[_++]=t[l],++A[t[l]]}}c=ye(t,u,a,N,A,L,S,_,k,l-k,c),a||(c=be(u,c,Ne))}return he(s,0,n+le(c)+i)}(t,null==e.level?6:e.level,null==e.mem?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(t.length)))):12+e.mem,r,n,!i)};function Le(t,e){void 0===e&&(e={});var r=function(){var t=1,e=0;return{p:function(r){for(var n=t,i=e,a=r.length,o=0;o!=a;){for(var s=Math.min(o+5552,a);o<s;++o)i+=n+=r[o];n%=65521,i%=65521}t=n,e=i},d:function(){return(t>>>8<<16|(255&e)<<8|e>>>8)+2*((255&t)<<23)}}}();r.p(t);var n=Ae(t,e,2,4);return function(t,e){var r=e.level,n=0==r?0:r<6?1:9==r?3:2;t[0]=120,t[1]=n<<6|(n?32-2*n:1)}(n,e),function(t,e,r){for(;r;++e)t[e]=r,r>>>=8}(n,n.length-4,r.d()),n}function xe(t,e){return function(t,e,r){var n=t.length,i=!e||r,a=!r||r.i;r||(r={}),e||(e=new Rt(3*n));var o=function(t){var r=e.length;if(t>r){var n=new Rt(Math.max(2*r,t));n.set(e),e=n}},s=r.f||0,u=r.p||0,c=r.b||0,l=r.l,h=r.d,f=r.m,d=r.n,p=8*n;do{if(!l){r.f=s=ue(t,u,1);var g=ue(t,u+1,3);if(u+=3,!g){var m=t[(P=le(u)+4)-4]|t[P-3]<<8,v=P+m;if(v>n){if(a)throw"unexpected EOF";break}i&&o(c+m),e.set(t.subarray(P,v),c),r.b=c+=m,r.p=u=8*v;continue}if(1==g)l=ie,h=oe,f=9,d=5;else{if(2!=g)throw"invalid block type";var b=ue(t,u,31)+257,y=ue(t,u+10,15)+4,w=b+ue(t,u+5,31)+1;u+=14;for(var N=new Rt(w),A=new Rt(19),L=0;L<y;++L)A[Ht[L]]=ue(t,u+3*L,7);u+=3*y;var x=se(A),S=(1<<x)-1;if(!a&&u+w*(x+7)>p)break;var _=te(A,x,1);for(L=0;L<w;){var P,k=_[ue(t,u,S)];if(u+=15&k,(P=k>>>4)<16)N[L++]=P;else{var F=0,I=0;for(16==P?(I=3+ue(t,u,3),u+=2,F=N[L-1]):17==P?(I=3+ue(t,u,7),u+=3):18==P&&(I=11+ue(t,u,127),u+=7);I--;)N[L++]=F}}var C=N.subarray(0,b),j=N.subarray(b);f=se(C),d=se(j),l=te(C,f,1),h=te(j,d,1)}if(u>p)throw"unexpected EOF"}i&&o(c+131072);for(var O=(1<<f)-1,B=(1<<d)-1,M=f+d+18;a||u+M<p;){var E=(F=l[ce(t,u)&O])>>>4;if((u+=15&F)>p)throw"unexpected EOF";if(!F)throw"invalid length/literal";if(E<256)e[c++]=E;else{if(256==E){l=null;break}var q=E-254;if(E>264){var R=Ut[L=E-257];q=ue(t,u,(1<<R)-1)+Gt[L],u+=R}var T=h[ce(t,u)&B],D=T>>>4;if(!T)throw"invalid distance";u+=15&T;j=Xt[D];if(D>3){R=zt[D];j+=ce(t,u)&(1<<R)-1,u+=R}if(u>p)throw"unexpected EOF";i&&o(c+131072);for(var U=c+q;c<U;c+=4)e[c]=e[c-j],e[c+1]=e[c+1-j],e[c+2]=e[c+2-j],e[c+3]=e[c+3-j];c=U}}r.l=l,r.p=u,r.b=c,l&&(s=1,r.m=f,r.d=h,r.n=d)}while(!s);return c==e.length?e:he(e,0,c)}((function(t){if(8!=(15&t[0])||t[0]>>>4>7||(t[0]<<8|t[1])%31)throw"invalid zlib data";if(32&t[1])throw"invalid zlib data: preset dictionaries not supported"}(t),t.subarray(2,-4)),e)}-/**- * @license- * jsPDF filters PlugIn- * Copyright (c) 2014 Aras Abbasi- *- * Licensed under the MIT License.- * http://opensource.org/licenses/mit-license- */!function(t){var e=function(t){var e,r,n,i,a,o,s,u,c,l;for(/[^\x00-\xFF]/.test(t),r=[],n=0,i=(t+=e="\0\0\0\0".slice(t.length%4||4)).length;i>n;n+=4)0!==(a=(t.charCodeAt(n)<<24)+(t.charCodeAt(n+1)<<16)+(t.charCodeAt(n+2)<<8)+t.charCodeAt(n+3))?(o=(a=((a=((a=((a=(a-(l=a%85))/85)-(c=a%85))/85)-(u=a%85))/85)-(s=a%85))/85)%85,r.push(o+33,s+33,u+33,c+33,l+33)):r.push(122);return function(t,e){for(var r=e;r>0;r--)t.pop()}(r,e.length),String.fromCharCode.apply(String,r)+"~>"},r=function(t){var e,r,n,i,a,o=String,s="length",u=255,c="charCodeAt",l="slice",h="replace";for(t[l](-2),t=t[l](0,-2)[h](/\s/g,"")[h]("z","!!!!!"),n=[],i=0,a=(t+=e="uuuuu"[l](t[s]%5||5))[s];a>i;i+=5)r=52200625*(t[c](i)-33)+614125*(t[c](i+1)-33)+7225*(t[c](i+2)-33)+85*(t[c](i+3)-33)+(t[c](i+4)-33),n.push(u&r>>24,u&r>>16,u&r>>8,u&r);return function(t,e){for(var r=e;r>0;r--)t.pop()}(n,e[s]),o.fromCharCode.apply(o,n)},n=function(t){var e=new RegExp(/^([0-9A-Fa-f]{2})+$/);if(-1!==(t=t.replace(/\s/g,"")).indexOf(">")&&(t=t.substr(0,t.indexOf(">"))),t.length%2&&(t+="0"),!1===e.test(t))return"";for(var r="",n=0;n<t.length;n+=2)r+=String.fromCharCode("0x"+(t[n]+t[n+1]));return r},i=function(t){for(var e=new Uint8Array(t.length),r=t.length;r--;)e[r]=t.charCodeAt(r);return t=(e=Le(e)).reduce((function(t,e){return t+String.fromCharCode(e)}),"")};t.processDataByFilters=function(t,a){var o=0,s=t||"",u=[];for("string"==typeof(a=a||[])&&(a=[a]),o=0;o<a.length;o+=1)switch(a[o]){case"ASCII85Decode":case"/ASCII85Decode":s=r(s),u.push("/ASCII85Encode");break;case"ASCII85Encode":case"/ASCII85Encode":s=e(s),u.push("/ASCII85Decode");break;case"ASCIIHexDecode":case"/ASCIIHexDecode":s=n(s),u.push("/ASCIIHexEncode");break;case"ASCIIHexEncode":case"/ASCIIHexEncode":s=s.split("").map((function(t){return("0"+t.charCodeAt().toString(16)).slice(-2)})).join("")+">",u.push("/ASCIIHexDecode");break;case"FlateEncode":case"/FlateEncode":s=i(s),u.push("/FlateDecode");break;default:throw new Error('The filter: "'+a[o]+'" is not implemented')}return{data:s,reverseChain:u.reverse().join(" ")}}}(j.API),-/**- * @license- * jsPDF fileloading PlugIn- * Copyright (c) 2018 Aras Abbasi ([email protected])- *- * Licensed under the MIT License.- * http://opensource.org/licenses/mit-license- */-function(t){t.loadFile=function(t,e,r){return function(t,e,r){e=!1!==e,r="function"==typeof r?r:function(){};var n=void 0;try{n=function(t,e,r){var n=new XMLHttpRequest,i=0,a=function(t){var e=t.length,r=[],n=String.fromCharCode;for(i=0;i<e;i+=1)r.push(n(255&t.charCodeAt(i)));return r.join("")};if(n.open("GET",t,!e),n.overrideMimeType("text/plain; charset=x-user-defined"),!1===e&&(n.onload=function(){200===n.status?r(a(this.responseText)):r(void 0)}),n.send(null),e&&200===n.status)return a(n.responseText)}(t,e,r)}catch(t){}return n}(t,e,r)},t.loadImageFile=t.loadFile}(j.API),-/**- * @license- * Copyright (c) 2018 Erik Koopmans- * Released under the MIT License.- *- * Licensed under the MIT License.- * http://opensource.org/licenses/mit-license- */-function(r){function n(){return(e.html2canvas?Promise.resolve(e.html2canvas):"object"==typeof t&&"undefined"!=typeof module?new Promise((function(t,e){try{t(require("html2canvas"))}catch(t){e(t)}})):"function"==typeof define&&define.amd?new Promise((function(t,e){try{require(["html2canvas"],t)}catch(t){e(t)}})):Promise.reject(new Error("Could not load html2canvas"))).catch((function(t){return Promise.reject(new Error("Could not load html2canvas: "+t))})).then((function(t){return t.default?t.default:t}))}function i(){return(e.DOMPurify?Promise.resolve(e.DOMPurify):"object"==typeof t&&"undefined"!=typeof module?new Promise((function(t,e){try{t(require("dompurify"))}catch(t){e(t)}})):"function"==typeof define&&define.amd?new Promise((function(t,e){try{require(["dompurify"],t)}catch(t){e(t)}})):Promise.reject(new Error("Could not load dompurify"))).catch((function(t){return Promise.reject(new Error("Could not load dompurify: "+t))})).then((function(t){return t.default?t.default:t}))}var a=function(t){var e=typeof t;return"undefined"===e?"undefined":"string"===e||t instanceof String?"string":"number"===e||t instanceof Number?"number":"function"===e||t instanceof Function?"function":t&&t.constructor===Array?"array":t&&1===t.nodeType?"element":"object"===e?"object":"unknown"},o=function(t,e){var r=document.createElement(t);for(var n in e.className&&(r.className=e.className),e.innerHTML&&e.dompurify&&(r.innerHTML=e.dompurify.sanitize(e.innerHTML)),e.style)r.style[n]=e.style[n];return r},s=function(t,e){for(var r=3===t.nodeType?document.createTextNode(t.nodeValue):t.cloneNode(!1),n=t.firstChild;n;n=n.nextSibling)!0!==e&&1===n.nodeType&&"SCRIPT"===n.nodeName||r.appendChild(s(n,e));return 1===t.nodeType&&("CANVAS"===t.nodeName?(r.width=t.width,r.height=t.height,r.getContext("2d").drawImage(t,0,0)):"TEXTAREA"!==t.nodeName&&"SELECT"!==t.nodeName||(r.value=t.value),r.addEventListener("load",(function(){r.scrollTop=t.scrollTop,r.scrollLeft=t.scrollLeft}),!0)),r},u=function t(e){var r=Object.assign(t.convert(Promise.resolve()),JSON.parse(JSON.stringify(t.template))),n=t.convert(Promise.resolve(),r);return n=(n=n.setProgress(1,t,1,[t])).set(e)};(u.prototype=Object.create(Promise.prototype)).constructor=u,u.convert=function(t,e){return t.__proto__=e||u.prototype,t},u.template={prop:{src:null,container:null,overlay:null,canvas:null,img:null,pdf:null,pageSize:null,callback:function(){}},progress:{val:0,state:null,n:0,stack:[]},opt:{filename:"file.pdf",margin:[0,0,0,0],enableLinks:!0,x:0,y:0,html2canvas:{},jsPDF:{},backgroundColor:"transparent"}},u.prototype.from=function(t,e){return this.then((function(){switch(e=e||function(t){switch(a(t)){case"string":return"string";case"element":return"canvas"===t.nodeName.toLowerCase()?"canvas":"element";default:return"unknown"}}(t)){case"string":return this.then(i).then((function(e){return this.set({src:o("div",{innerHTML:t,dompurify:e})})}));case"element":return this.set({src:t});case"canvas":return this.set({canvas:t});case"img":return this.set({img:t});default:return this.error("Unknown source type.")}}))},u.prototype.to=function(t){switch(t){case"container":return this.toContainer();case"canvas":return this.toCanvas();case"img":return this.toImg();case"pdf":return this.toPdf();default:return this.error("Invalid target.")}},u.prototype.toContainer=function(){return this.thenList([function(){return this.prop.src||this.error("Cannot duplicate - no source HTML.")},function(){return this.prop.pageSize||this.setPageSize()}]).then((function(){var t={position:"relative",display:"inline-block",width:Math.max(this.prop.src.clientWidth,this.prop.src.scrollWidth,this.prop.src.offsetWidth)+"px",left:0,right:0,top:0,margin:"auto",backgroundColor:this.opt.backgroundColor},e=s(this.prop.src,this.opt.html2canvas.javascriptEnabled);"BODY"===e.tagName&&(t.height=Math.max(document.body.scrollHeight,document.body.offsetHeight,document.documentElement.clientHeight,document.documentElement.scrollHeight,document.documentElement.offsetHeight)+"px"),this.prop.overlay=o("div",{className:"html2pdf__overlay",style:{position:"fixed",overflow:"hidden",zIndex:1e3,left:"-100000px",right:0,bottom:0,top:0}}),this.prop.container=o("div",{className:"html2pdf__container",style:t}),this.prop.container.appendChild(e),this.prop.container.firstChild.appendChild(o("div",{style:{clear:"both",border:"0 none transparent",margin:0,padding:0,height:0}})),this.prop.container.style.float="none",this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay),this.prop.container.firstChild.style.position="relative",this.prop.container.height=Math.max(this.prop.container.firstChild.clientHeight,this.prop.container.firstChild.scrollHeight,this.prop.container.firstChild.offsetHeight)+"px"}))},u.prototype.toCanvas=function(){var t=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(t).then(n).then((function(t){var e=Object.assign({},this.opt.html2canvas);return delete e.onrendered,t(this.prop.container,e)})).then((function(t){(this.opt.html2canvas.onrendered||function(){})(t),this.prop.canvas=t,document.body.removeChild(this.prop.overlay)}))},u.prototype.toContext2d=function(){var t=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(t).then(n).then((function(t){var e=this.opt.jsPDF,r=this.opt.fontFaces,n=Object.assign({async:!0,allowTaint:!0,scale:1,scrollX:this.opt.scrollX||0,scrollY:this.opt.scrollY||0,backgroundColor:"#ffffff",imageTimeout:15e3,logging:!0,proxy:null,removeContainer:!0,foreignObjectRendering:!1,useCORS:!1},this.opt.html2canvas);if(delete n.onrendered,e.context2d.autoPaging=!0,e.context2d.posX=this.opt.x,e.context2d.posY=this.opt.y,e.context2d.fontFaces=r,r)for(var i=0;i<r.length;++i){var a=r[i],o=a.src.find((function(t){return"truetype"===t.format}));o&&e.addFont(o.url,a.ref.name,a.ref.style)}return n.windowHeight=n.windowHeight||0,n.windowHeight=0==n.windowHeight?Math.max(this.prop.container.clientHeight,this.prop.container.scrollHeight,this.prop.container.offsetHeight):n.windowHeight,t(this.prop.container,n)})).then((function(t){(this.opt.html2canvas.onrendered||function(){})(t),this.prop.canvas=t,document.body.removeChild(this.prop.overlay)}))},u.prototype.toImg=function(){return this.thenList([function(){return this.prop.canvas||this.toCanvas()}]).then((function(){var t=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=t}))},u.prototype.toPdf=function(){return this.thenList([function(){return this.toContext2d()}]).then((function(){this.prop.pdf=this.prop.pdf||this.opt.jsPDF}))},u.prototype.output=function(t,e,r){return"img"===(r=r||"pdf").toLowerCase()||"image"===r.toLowerCase()?this.outputImg(t,e):this.outputPdf(t,e)},u.prototype.outputPdf=function(t,e){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then((function(){return this.prop.pdf.output(t,e)}))},u.prototype.outputImg=function(t){return this.thenList([function(){return this.prop.img||this.toImg()}]).then((function(){switch(t){case void 0:case"img":return this.prop.img;case"datauristring":case"dataurlstring":return this.prop.img.src;case"datauri":case"dataurl":return document.location.href=this.prop.img.src;default:throw'Image output type "'+t+'" is not supported.'}}))},u.prototype.save=function(t){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).set(t?{filename:t}:null).then((function(){this.prop.pdf.save(this.opt.filename)}))},u.prototype.doCallback=function(){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then((function(){this.prop.callback(this.prop.pdf)}))},u.prototype.set=function(t){if("object"!==a(t))return this;var e=Object.keys(t||{}).map((function(e){if(e in u.template.prop)return function(){this.prop[e]=t[e]};switch(e){case"margin":return this.setMargin.bind(this,t.margin);case"jsPDF":return function(){return this.opt.jsPDF=t.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,t.pageSize);default:return function(){this.opt[e]=t[e]}}}),this);return this.then((function(){return this.thenList(e)}))},u.prototype.get=function(t,e){return this.then((function(){var r=t in u.template.prop?this.prop[t]:this.opt[t];return e?e(r):r}))},u.prototype.setMargin=function(t){return this.then((function(){switch(a(t)){case"number":t=[t,t,t,t];case"array":if(2===t.length&&(t=[t[0],t[1],t[0],t[1]]),4===t.length)break;default:return this.error("Invalid margin array.")}this.opt.margin=t})).then(this.setPageSize)},u.prototype.setPageSize=function(t){function e(t,e){return Math.floor(t*e/72*96)}return this.then((function(){(t=t||j.getPageSize(this.opt.jsPDF)).hasOwnProperty("inner")||(t.inner={width:t.width-this.opt.margin[1]-this.opt.margin[3],height:t.height-this.opt.margin[0]-this.opt.margin[2]},t.inner.px={width:e(t.inner.width,t.k),height:e(t.inner.height,t.k)},t.inner.ratio=t.inner.height/t.inner.width),this.prop.pageSize=t}))},u.prototype.setProgress=function(t,e,r,n){return null!=t&&(this.progress.val=t),null!=e&&(this.progress.state=e),null!=r&&(this.progress.n=r),null!=n&&(this.progress.stack=n),this.progress.ratio=this.progress.val/this.progress.state,this},u.prototype.updateProgress=function(t,e,r,n){return this.setProgress(t?this.progress.val+t:null,e||null,r?this.progress.n+r:null,n?this.progress.stack.concat(n):null)},u.prototype.then=function(t,e){var r=this;return this.thenCore(t,e,(function(t,e){return r.updateProgress(null,null,1,[t]),Promise.prototype.then.call(this,(function(e){return r.updateProgress(null,t),e})).then(t,e).then((function(t){return r.updateProgress(1),t}))}))},u.prototype.thenCore=function(t,e,r){r=r||Promise.prototype.then;t&&(t=t.bind(this)),e&&(e=e.bind(this));var n=-1!==Promise.toString().indexOf("[native code]")&&"Promise"===Promise.name?this:u.convert(Object.assign({},this),Promise.prototype),i=r.call(n,t,e);return u.convert(i,this.__proto__)},u.prototype.thenExternal=function(t,e){return Promise.prototype.then.call(this,t,e)},u.prototype.thenList=function(t){var e=this;return t.forEach((function(t){e=e.thenCore(t)})),e},u.prototype.catch=function(t){t&&(t=t.bind(this));var e=Promise.prototype.catch.call(this,t);return u.convert(e,this)},u.prototype.catchExternal=function(t){return Promise.prototype.catch.call(this,t)},u.prototype.error=function(t){return this.then((function(){throw new Error(t)}))},u.prototype.using=u.prototype.set,u.prototype.saveAs=u.prototype.save,u.prototype.export=u.prototype.output,u.prototype.run=u.prototype.then,j.getPageSize=function(t,e,r){if("object"==typeof t){var n=t;t=n.orientation,e=n.unit||e,r=n.format||r}e=e||"mm",r=r||"a4",t=(""+(t||"P")).toLowerCase();var i,a=(""+r).toLowerCase(),o={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};switch(e){case"pt":i=1;break;case"mm":i=72/25.4;break;case"cm":i=72/2.54;break;case"in":i=72;break;case"px":i=.75;break;case"pc":case"em":i=12;break;case"ex":i=6;break;default:throw"Invalid unit: "+e}var s,u=0,c=0;if(o.hasOwnProperty(a))u=o[a][1]/i,c=o[a][0]/i;else try{u=r[1],c=r[0]}catch(t){throw new Error("Invalid format: "+r)}if("p"===t||"portrait"===t)t="p",c>u&&(s=c,c=u,u=s);else{if("l"!==t&&"landscape"!==t)throw"Invalid orientation: "+t;t="l",u>c&&(s=c,c=u,u=s)}return{width:c,height:u,unit:e,k:i,orientation:t}},r.html=function(t,e){(e=e||{}).callback=e.callback||function(){},e.html2canvas=e.html2canvas||{},e.html2canvas.canvas=e.html2canvas.canvas||this.canvas,e.jsPDF=e.jsPDF||this,e.fontFaces=e.fontFaces?e.fontFaces.map(kt):null;var r=new u(e);return e.worker?r:r.from(t).doCallback()}}(j.API),-/**- * @license- * ====================================================================- * Copyright (c) 2013 Youssef Beddad, [email protected]- *- * Permission is hereby granted, free of charge, to any person obtaining- * a copy of this software and associated documentation files (the- * "Software"), to deal in the Software without restriction, including- * without limitation the rights to use, copy, modify, merge, publish,- * distribute, sublicense, and/or sell copies of the Software, and to- * permit persons to whom the Software is furnished to do so, subject to- * the following conditions:- *- * The above copyright notice and this permission notice shall be- * included in all copies or substantial portions of the Software.- *- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,- * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF- * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND- * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE- * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION- * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION- * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.- * ====================================================================- */-function(t){var e,r,n;t.addJS=function(t){return n=t,this.internal.events.subscribe("postPutResources",(function(){e=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(e+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),r=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+n+")"),this.internal.out(">>"),this.internal.out("endobj")})),this.internal.events.subscribe("putCatalog",(function(){void 0!==e&&void 0!==r&&this.internal.out("/Names <</JavaScript "+e+" 0 R>>")})),this}}(j.API),-/**- * @license- * Copyright (c) 2014 Steven Spungin (TwelveTone LLC) [email protected]- *- * Licensed under the MIT License.- * http://opensource.org/licenses/mit-license- */-function(t){var e;t.events.push(["postPutResources",function(){var t=this,r=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var n=t.outline.render().split(/\r\n/),i=0;i<n.length;i++){var a=n[i],o=r.exec(a);if(null!=o){var s=o[1];t.internal.newObjectDeferredBegin(s,!1)}t.internal.write(a)}if(this.outline.createNamedDestinations){var u=this.internal.pages.length,c=[];for(i=0;i<u;i++){var l=t.internal.newObject();c.push(l);var h=t.internal.getPageInfo(i+1);t.internal.write("<< /D["+h.objId+" 0 R /XYZ null null null]>> endobj")}var f=t.internal.newObject();t.internal.write("<< /Names [ ");for(i=0;i<c.length;i++)t.internal.write("(page_"+(i+1)+")"+c[i]+" 0 R");t.internal.write(" ] >>","endobj"),e=t.internal.newObject(),t.internal.write("<< /Dests "+f+" 0 R"),t.internal.write(">>","endobj")}}]),t.events.push(["putCatalog",function(){this.outline.root.children.length>0&&(this.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&this.internal.write("/Names "+e+" 0 R"))}]),t.events.push(["initialized",function(){var t=this;t.outline={createNamedDestinations:!1,root:{children:[]}},t.outline.add=function(t,e,r){var n={title:e,options:r,children:[]};return null==t&&(t=this.root),t.children.push(n),n},t.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=t,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},t.outline.genIds_r=function(e){e.id=t.internal.newObjectDeferred();for(var r=0;r<e.children.length;r++)this.genIds_r(e.children[r])},t.outline.renderRoot=function(t){this.objStart(t),this.line("/Type /Outlines"),t.children.length>0&&(this.line("/First "+this.makeRef(t.children[0])),this.line("/Last "+this.makeRef(t.children[t.children.length-1]))),this.line("/Count "+this.count_r({count:0},t)),this.objEnd()},t.outline.renderItems=function(e){for(var r=this.ctx.pdf.internal.getVerticalCoordinateString,n=0;n<e.children.length;n++){var i=e.children[n];this.objStart(i),this.line("/Title "+this.makeString(i.title)),this.line("/Parent "+this.makeRef(e)),n>0&&this.line("/Prev "+this.makeRef(e.children[n-1])),n<e.children.length-1&&this.line("/Next "+this.makeRef(e.children[n+1])),i.children.length>0&&(this.line("/First "+this.makeRef(i.children[0])),this.line("/Last "+this.makeRef(i.children[i.children.length-1])));var a=this.count=this.count_r({count:0},i);if(a>0&&this.line("/Count "+a),i.options&&i.options.pageNumber){var o=t.internal.getPageInfo(i.options.pageNumber);this.line("/Dest ["+o.objId+" 0 R /XYZ 0 "+r(0)+" 0]")}this.objEnd()}for(var s=0;s<e.children.length;s++)this.renderItems(e.children[s])},t.outline.line=function(t){this.ctx.val+=t+"\r\n"},t.outline.makeRef=function(t){return t.id+" 0 R"},t.outline.makeString=function(e){return"("+t.internal.pdfEscape(e)+")"},t.outline.objStart=function(t){this.ctx.val+="\r\n"+t.id+" 0 obj\r\n<<\r\n"},t.outline.objEnd=function(){this.ctx.val+=">> \r\nendobj\r\n"},t.outline.count_r=function(t,e){for(var r=0;r<e.children.length;r++)t.count++,this.count_r(t,e.children[r]);return t.count}}])}(j.API),-/**- * @license- *- * Licensed under the MIT License.- * http://opensource.org/licenses/mit-license- */-function(t){var e=[192,193,194,195,196,197,198,199];t.processJPEG=function(t,r,n,i,a,o){var s,u=this.decode.DCT_DECODE,c=null;if("string"==typeof t||this.__addimage__.isArrayBuffer(t)||this.__addimage__.isArrayBufferView(t)){switch(t=a||t,t=this.__addimage__.isArrayBuffer(t)?new Uint8Array(t):t,(s=function(t){for(var r,n=256*t.charCodeAt(4)+t.charCodeAt(5),i=t.length,a={width:0,height:0,numcomponents:1},o=4;o<i;o+=2){if(o+=n,-1!==e.indexOf(t.charCodeAt(o+1))){r=256*t.charCodeAt(o+5)+t.charCodeAt(o+6),a={width:256*t.charCodeAt(o+7)+t.charCodeAt(o+8),height:r,numcomponents:t.charCodeAt(o+9)};break}n=256*t.charCodeAt(o+2)+t.charCodeAt(o+3)}return a}(t=this.__addimage__.isArrayBufferView(t)?this.__addimage__.arrayBufferToBinaryString(t):t)).numcomponents){case 1:o=this.color_spaces.DEVICE_GRAY;break;case 4:o=this.color_spaces.DEVICE_CMYK;break;case 3:o=this.color_spaces.DEVICE_RGB}c={data:t,width:s.width,height:s.height,colorSpace:o,bitsPerComponent:8,filter:u,index:r,alias:n}}return c}}(j.API);var Se,_e,Pe,ke,Fe,Ie=function(){var t,r,n;function i(t){var e,r,n,i,a,o,s,u,c,l,h,f,d,p;for(this.data=t,this.pos=8,this.palette=[],this.imgData=[],this.transparency={},this.animation=null,this.text={},o=null;;){switch(e=this.readUInt32(),c=function(){var t,e;for(e=[],t=0;t<4;++t)e.push(String.fromCharCode(this.data[this.pos++]));return e}.call(this).join("")){case"IHDR":this.width=this.readUInt32(),this.height=this.readUInt32(),this.bits=this.data[this.pos++],this.colorType=this.data[this.pos++],this.compressionMethod=this.data[this.pos++],this.filterMethod=this.data[this.pos++],this.interlaceMethod=this.data[this.pos++];break;case"acTL":this.animation={numFrames:this.readUInt32(),numPlays:this.readUInt32()||1/0,frames:[]};break;case"PLTE":this.palette=this.read(e);break;case"fcTL":o&&this.animation.frames.push(o),this.pos+=4,o={width:this.readUInt32(),height:this.readUInt32(),xOffset:this.readUInt32(),yOffset:this.readUInt32()},a=this.readUInt16(),i=this.readUInt16()||100,o.delay=1e3*a/i,o.disposeOp=this.data[this.pos++],o.blendOp=this.data[this.pos++],o.data=[];break;case"IDAT":case"fdAT":for("fdAT"===c&&(this.pos+=4,e-=4),t=(null!=o?o.data:void 0)||this.imgData,f=0;0<=e?f<e:f>e;0<=e?++f:--f)t.push(this.data[this.pos++]);break;case"tRNS":switch(this.transparency={},this.colorType){case 3:if(n=this.palette.length/3,this.transparency.indexed=this.read(e),this.transparency.indexed.length>n)throw new Error("More transparent colors than palette size");if((l=n-this.transparency.indexed.length)>0)for(d=0;0<=l?d<l:d>l;0<=l?++d:--d)this.transparency.indexed.push(255);break;case 0:this.transparency.grayscale=this.read(e)[0];break;case 2:this.transparency.rgb=this.read(e)}break;case"tEXt":s=(h=this.read(e)).indexOf(0),u=String.fromCharCode.apply(String,h.slice(0,s)),this.text[u]=String.fromCharCode.apply(String,h.slice(s+1));break;case"IEND":return o&&this.animation.frames.push(o),this.colors=function(){switch(this.colorType){case 0:case 3:case 4:return 1;case 2:case 6:return 3}}.call(this),this.hasAlphaChannel=4===(p=this.colorType)||6===p,r=this.colors+(this.hasAlphaChannel?1:0),this.pixelBitlength=this.bits*r,this.colorSpace=function(){switch(this.colors){case 1:return"DeviceGray";case 3:return"DeviceRGB"}}.call(this),void(this.imgData=new Uint8Array(this.imgData));default:this.pos+=e}if(this.pos+=4,this.pos>this.data.length)throw new Error("Incomplete or corrupt PNG file")}}i.prototype.read=function(t){var e,r;for(r=[],e=0;0<=t?e<t:e>t;0<=t?++e:--e)r.push(this.data[this.pos++]);return r},i.prototype.readUInt32=function(){return this.data[this.pos++]<<24|this.data[this.pos++]<<16|this.data[this.pos++]<<8|this.data[this.pos++]},i.prototype.readUInt16=function(){return this.data[this.pos++]<<8|this.data[this.pos++]},i.prototype.decodePixels=function(t){var e=this.pixelBitlength/8,r=new Uint8Array(this.width*this.height*e),n=0,i=this;if(null==t&&(t=this.imgData),0===t.length)return new Uint8Array(0);function a(a,o,s,u){var c,l,h,f,d,p,g,m,v,b,y,w,N,A,L,x,S,_,P,k,F,I=Math.ceil((i.width-a)/s),C=Math.ceil((i.height-o)/u),j=i.width==I&&i.height==C;for(A=e*I,w=j?r:new Uint8Array(A*C),p=t.length,N=0,l=0;N<C&&n<p;){switch(t[n++]){case 0:for(f=S=0;S<A;f=S+=1)w[l++]=t[n++];break;case 1:for(f=_=0;_<A;f=_+=1)c=t[n++],d=f<e?0:w[l-e],w[l++]=(c+d)%256;break;case 2:for(f=P=0;P<A;f=P+=1)c=t[n++],h=(f-f%e)/e,L=N&&w[(N-1)*A+h*e+f%e],w[l++]=(L+c)%256;break;case 3:for(f=k=0;k<A;f=k+=1)c=t[n++],h=(f-f%e)/e,d=f<e?0:w[l-e],L=N&&w[(N-1)*A+h*e+f%e],w[l++]=(c+Math.floor((d+L)/2))%256;break;case 4:for(f=F=0;F<A;f=F+=1)c=t[n++],h=(f-f%e)/e,d=f<e?0:w[l-e],0===N?L=x=0:(L=w[(N-1)*A+h*e+f%e],x=h&&w[(N-1)*A+(h-1)*e+f%e]),g=d+L-x,m=Math.abs(g-d),b=Math.abs(g-L),y=Math.abs(g-x),v=m<=b&&m<=y?d:b<=y?L:x,w[l++]=(c+v)%256;break;default:throw new Error("Invalid filter algorithm: "+t[n-1])}if(!j){var O=((o+N*u)*i.width+a)*e,B=N*A;for(f=0;f<I;f+=1){for(var M=0;M<e;M+=1)r[O++]=w[B++];O+=(s-1)*e}}N++}}return t=xe(t),1==i.interlaceMethod?(a(0,0,8,8),a(4,0,8,8),a(0,4,4,8),a(2,0,4,4),a(0,2,2,4),a(1,0,2,2),a(0,1,1,2)):a(0,0,1,1),r},i.prototype.decodePalette=function(){var t,e,r,n,i,a,o,s,u;for(r=this.palette,a=this.transparency.indexed||[],i=new Uint8Array((a.length||0)+r.length),n=0,t=0,e=o=0,s=r.length;o<s;e=o+=3)i[n++]=r[e],i[n++]=r[e+1],i[n++]=r[e+2],i[n++]=null!=(u=a[t++])?u:255;return i},i.prototype.copyToImageData=function(t,e){var r,n,i,a,o,s,u,c,l,h,f;if(n=this.colors,l=null,r=this.hasAlphaChannel,this.palette.length&&(l=null!=(f=this._decodedPalette)?f:this._decodedPalette=this.decodePalette(),n=4,r=!0),c=(i=t.data||t).length,o=l||e,a=s=0,1===n)for(;a<c;)u=l?4*e[a/4]:s,h=o[u++],i[a++]=h,i[a++]=h,i[a++]=h,i[a++]=r?o[u++]:255,s=u;else for(;a<c;)u=l?4*e[a/4]:s,i[a++]=o[u++],i[a++]=o[u++],i[a++]=o[u++],i[a++]=r?o[u++]:255,s=u},i.prototype.decode=function(){var t;return t=new Uint8Array(this.width*this.height*4),this.copyToImageData(t,this.decodePixels()),t};var a=function(){if("[object Window]"===Object.prototype.toString.call(e)){try{r=e.document.createElement("canvas"),n=r.getContext("2d")}catch(t){return!1}return!0}return!1};return a(),t=function(t){var e;if(!0===a())return n.width=t.width,n.height=t.height,n.clearRect(0,0,t.width,t.height),n.putImageData(t,0,0),(e=new Image).src=r.toDataURL(),e;throw new Error("This method requires a Browser with Canvas-capability.")},i.prototype.decodeFrames=function(e){var r,n,i,a,o,s,u,c;if(this.animation){for(c=[],n=o=0,s=(u=this.animation.frames).length;o<s;n=++o)r=u[n],i=e.createImageData(r.width,r.height),a=this.decodePixels(new Uint8Array(r.data)),this.copyToImageData(i,a),r.imageData=i,c.push(r.image=t(i));return c}},i.prototype.renderFrame=function(t,e){var r,n,i;return r=(n=this.animation.frames)[e],i=n[e-1],0===e&&t.clearRect(0,0,this.width,this.height),1===(null!=i?i.disposeOp:void 0)?t.clearRect(i.xOffset,i.yOffset,i.width,i.height):2===(null!=i?i.disposeOp:void 0)&&t.putImageData(i.imageData,i.xOffset,i.yOffset),0===r.blendOp&&t.clearRect(r.xOffset,r.yOffset,r.width,r.height),t.drawImage(r.image,r.xOffset,r.yOffset)},i.prototype.animate=function(t){var e,r,n,i,a,o,s=this;return r=0,o=this.animation,i=o.numFrames,n=o.frames,a=o.numPlays,(e=function(){var o,u;if(o=r++%i,u=n[o],s.renderFrame(t,o),i>1&&r/i<a)return s.animation._timeout=setTimeout(e,u.delay)})()},i.prototype.stopAnimation=function(){var t;return clearTimeout(null!=(t=this.animation)?t._timeout:void 0)},i.prototype.render=function(t){var e,r;return t._png&&t._png.stopAnimation(),t._png=this,t.width=this.width,t.height=this.height,e=t.getContext("2d"),this.animation?(this.decodeFrames(e),this.animate(e)):(r=e.createImageData(this.width,this.height),this.copyToImageData(r,this.decodePixels()),e.putImageData(r,0,0))},i}();-/**- * @license- *- * Copyright (c) 2014 James Robb, https://github.com/jamesbrobb- *- * Permission is hereby granted, free of charge, to any person obtaining- * a copy of this software and associated documentation files (the- * "Software"), to deal in the Software without restriction, including- * without limitation the rights to use, copy, modify, merge, publish,- * distribute, sublicense, and/or sell copies of the Software, and to- * permit persons to whom the Software is furnished to do so, subject to- * the following conditions:- *- * The above copyright notice and this permission notice shall be- * included in all copies or substantial portions of the Software.- *- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,- * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF- * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND- * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE- * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION- * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION- * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.- * ====================================================================- */-/**- * @license- * (c) Dean McNamee <[email protected]>, 2013.- *- * https://github.com/deanm/omggif- *- * Permission is hereby granted, free of charge, to any person obtaining a copy- * of this software and associated documentation files (the "Software"), to- * deal in the Software without restriction, including without limitation the- * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or- * sell copies of the Software, and to permit persons to whom the Software is- * furnished to do so, subject to the following conditions:- *- * The above copyright notice and this permission notice shall be included in- * all copies or substantial portions of the Software.- *- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING- * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS- * IN THE SOFTWARE.- *- * omggif is a JavaScript implementation of a GIF 89a encoder and decoder,- * including animation and compression. It does not rely on any specific- * underlying system, so should run in the browser, Node, or Plask.- */-function Ce(t){var e=0;if(71!==t[e++]||73!==t[e++]||70!==t[e++]||56!==t[e++]||56!=(t[e++]+1&253)||97!==t[e++])throw new Error("Invalid GIF 87a/89a header.");var r=t[e++]|t[e++]<<8,n=t[e++]|t[e++]<<8,i=t[e++],a=i>>7,o=1<<(7&i)+1;t[e++];t[e++];var s=null,u=null;a&&(s=e,u=o,e+=3*o);var c=!0,l=[],h=0,f=null,d=0,p=null;for(this.width=r,this.height=n;c&&e<t.length;)switch(t[e++]){case 33:switch(t[e++]){case 255:if(11!==t[e]||78==t[e+1]&&69==t[e+2]&&84==t[e+3]&&83==t[e+4]&&67==t[e+5]&&65==t[e+6]&&80==t[e+7]&&69==t[e+8]&&50==t[e+9]&&46==t[e+10]&&48==t[e+11]&&3==t[e+12]&&1==t[e+13]&&0==t[e+16])e+=14,p=t[e++]|t[e++]<<8,e++;else for(e+=12;;){if(!((P=t[e++])>=0))throw Error("Invalid block size");if(0===P)break;e+=P}break;case 249:if(4!==t[e++]||0!==t[e+4])throw new Error("Invalid graphics extension block.");var g=t[e++];h=t[e++]|t[e++]<<8,f=t[e++],0==(1&g)&&(f=null),d=g>>2&7,e++;break;case 254:for(;;){if(!((P=t[e++])>=0))throw Error("Invalid block size");if(0===P)break;e+=P}break;default:throw new Error("Unknown graphic control label: 0x"+t[e-1].toString(16))}break;case 44:var m=t[e++]|t[e++]<<8,v=t[e++]|t[e++]<<8,b=t[e++]|t[e++]<<8,y=t[e++]|t[e++]<<8,w=t[e++],N=w>>6&1,A=1<<(7&w)+1,L=s,x=u,S=!1;if(w>>7){S=!0;L=e,x=A,e+=3*A}var _=e;for(e++;;){var P;if(!((P=t[e++])>=0))throw Error("Invalid block size");if(0===P)break;e+=P}l.push({x:m,y:v,width:b,height:y,has_local_palette:S,palette_offset:L,palette_size:x,data_offset:_,data_length:e-_,transparent_index:f,interlaced:!!N,delay:h,disposal:d});break;case 59:c=!1;break;default:throw new Error("Unknown gif block: 0x"+t[e-1].toString(16))}this.numFrames=function(){return l.length},this.loopCount=function(){return p},this.frameInfo=function(t){if(t<0||t>=l.length)throw new Error("Frame index out of range.");return l[t]},this.decodeAndBlitFrameBGRA=function(e,n){var i=this.frameInfo(e),a=i.width*i.height,o=new Uint8Array(a);je(t,i.data_offset,o,a);var s=i.palette_offset,u=i.transparent_index;null===u&&(u=256);var c=i.width,l=r-c,h=c,f=4*(i.y*r+i.x),d=4*((i.y+i.height)*r+i.x),p=f,g=4*l;!0===i.interlaced&&(g+=4*r*7);for(var m=8,v=0,b=o.length;v<b;++v){var y=o[v];if(0===h&&(h=c,(p+=g)>=d&&(g=4*l+4*r*(m-1),p=f+(c+l)*(m<<1),m>>=1)),y===u)p+=4;else{var w=t[s+3*y],N=t[s+3*y+1],A=t[s+3*y+2];n[p++]=A,n[p++]=N,n[p++]=w,n[p++]=255}--h}},this.decodeAndBlitFrameRGBA=function(e,n){var i=this.frameInfo(e),a=i.width*i.height,o=new Uint8Array(a);je(t,i.data_offset,o,a);var s=i.palette_offset,u=i.transparent_index;null===u&&(u=256);var c=i.width,l=r-c,h=c,f=4*(i.y*r+i.x),d=4*((i.y+i.height)*r+i.x),p=f,g=4*l;!0===i.interlaced&&(g+=4*r*7);for(var m=8,v=0,b=o.length;v<b;++v){var y=o[v];if(0===h&&(h=c,(p+=g)>=d&&(g=4*l+4*r*(m-1),p=f+(c+l)*(m<<1),m>>=1)),y===u)p+=4;else{var w=t[s+3*y],N=t[s+3*y+1],A=t[s+3*y+2];n[p++]=w,n[p++]=N,n[p++]=A,n[p++]=255}--h}}}function je(t,e,r,i){for(var a=t[e++],o=1<<a,s=o+1,u=s+1,c=a+1,l=(1<<c)-1,h=0,f=0,d=0,p=t[e++],g=new Int32Array(4096),m=null;;){for(;h<16&&0!==p;)f|=t[e++]<<h,h+=8,1===p?p=t[e++]:--p;if(h<c)break;var v=f&l;if(f>>=c,h-=c,v!==o){if(v===s)break;for(var b=v<u?v:m,y=0,w=b;w>o;)w=g[w]>>8,++y;var N=w;if(d+y+(b!==v?1:0)>i)return void n.log("Warning, gif stream longer than expected.");r[d++]=N;var A=d+=y;for(b!==v&&(r[d++]=N),w=b;y--;)w=g[w],r[--A]=255&w,w>>=8;null!==m&&u<4096&&(g[u++]=m<<8|N,u>=l+1&&c<12&&(++c,l=l<<1|1)),m=v}else u=s+1,l=(1<<(c=a+1))-1,m=null}return d!==i&&n.log("Warning, gif stream shorter than expected."),r}-/**- * @license- Copyright (c) 2008, Adobe Systems Incorporated- All rights reserved.-- Redistribution and use in source and binary forms, with or without- modification, are permitted provided that the following conditions are- met:-- * Redistributions of source code must retain the above copyright notice,- this list of conditions and the following disclaimer.-- * Redistributions in binary form must reproduce the above copyright- notice, this list of conditions and the following disclaimer in the- documentation and/or other materials provided with the distribution.-- * Neither the name of Adobe Systems Incorporated nor the names of its- contributors may be used to endorse or promote products derived from- this software without specific prior written permission.-- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS- IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,- THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR- PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR- CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,- EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,- PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR- PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS- SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.- */function Oe(t){var e,r,n,i,a,o=Math.floor,s=new Array(64),u=new Array(64),c=new Array(64),l=new Array(64),h=new Array(65535),f=new Array(65535),d=new Array(64),p=new Array(64),g=[],m=0,v=7,b=new Array(64),y=new Array(64),w=new Array(64),N=new Array(256),A=new Array(2048),L=[0,1,5,6,14,15,27,28,2,4,7,13,16,26,29,42,3,8,12,17,25,30,41,43,9,11,18,24,31,40,44,53,10,19,23,32,39,45,52,54,20,22,33,38,46,51,55,60,21,34,37,47,50,56,59,61,35,36,48,49,57,58,62,63],x=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],S=[0,1,2,3,4,5,6,7,8,9,10,11],_=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],P=[1,2,3,0,4,17,5,18,33,49,65,6,19,81,97,7,34,113,20,50,129,145,161,8,35,66,177,193,21,82,209,240,36,51,98,114,130,9,10,22,23,24,25,26,37,38,39,40,41,42,52,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,225,226,227,228,229,230,231,232,233,234,241,242,243,244,245,246,247,248,249,250],k=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],F=[0,1,2,3,4,5,6,7,8,9,10,11],I=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],C=[0,1,2,3,17,4,5,33,49,6,18,65,81,7,97,113,19,34,50,129,8,20,66,145,161,177,193,9,35,51,82,240,21,98,114,209,10,22,36,52,225,37,241,23,24,25,26,38,39,40,41,42,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,130,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,226,227,228,229,230,231,232,233,234,242,243,244,245,246,247,248,249,250];function j(t,e){for(var r=0,n=0,i=new Array,a=1;a<=16;a++){for(var o=1;o<=t[a];o++)i[e[n]]=[],i[e[n]][0]=r,i[e[n]][1]=a,n++,r++;r*=2}return i}function O(t){for(var e=t[0],r=t[1]-1;r>=0;)e&1<<r&&(m|=1<<v),r--,--v<0&&(255==m?(B(255),B(0)):B(m),v=7,m=0)}function B(t){g.push(t)}function M(t){B(t>>8&255),B(255&t)}function E(t,e,r,n,i){for(var a,o=i[0],s=i[240],u=function(t,e){var r,n,i,a,o,s,u,c,l,h,f=0;for(l=0;l<8;++l){r=t[f],n=t[f+1],i=t[f+2],a=t[f+3],o=t[f+4],s=t[f+5],u=t[f+6];var p=r+(c=t[f+7]),g=r-c,m=n+u,v=n-u,b=i+s,y=i-s,w=a+o,N=a-o,A=p+w,L=p-w,x=m+b,S=m-b;t[f]=A+x,t[f+4]=A-x;var _=.707106781*(S+L);t[f+2]=L+_,t[f+6]=L-_;var P=.382683433*((A=N+y)-(S=v+g)),k=.5411961*A+P,F=1.306562965*S+P,I=.707106781*(x=y+v),C=g+I,j=g-I;t[f+5]=j+k,t[f+3]=j-k,t[f+1]=C+F,t[f+7]=C-F,f+=8}for(f=0,l=0;l<8;++l){r=t[f],n=t[f+8],i=t[f+16],a=t[f+24],o=t[f+32],s=t[f+40],u=t[f+48];var O=r+(c=t[f+56]),B=r-c,M=n+u,E=n-u,q=i+s,R=i-s,T=a+o,D=a-o,U=O+T,z=O-T,H=M+q,W=M-q;t[f]=U+H,t[f+32]=U-H;var V=.707106781*(W+z);t[f+16]=z+V,t[f+48]=z-V;var G=.382683433*((U=D+R)-(W=E+B)),Y=.5411961*U+G,J=1.306562965*W+G,X=.707106781*(H=R+E),K=B+X,Z=B-X;t[f+40]=Z+Y,t[f+24]=Z-Y,t[f+8]=K+J,t[f+56]=K-J,f++}for(l=0;l<64;++l)h=t[l]*e[l],d[l]=h>0?h+.5|0:h-.5|0;return d}(t,e),c=0;c<64;++c)p[L[c]]=u[c];var l=p[0]-r;r=p[0],0==l?O(n[0]):(O(n[f[a=32767+l]]),O(h[a]));for(var g=63;g>0&&0==p[g];)g--;if(0==g)return O(o),r;for(var m,v=1;v<=g;){for(var b=v;0==p[v]&&v<=g;)++v;var y=v-b;if(y>=16){m=y>>4;for(var w=1;w<=m;++w)O(s);y&=15}a=32767+p[v],O(i[(y<<4)+f[a]]),O(h[a]),v++}return 63!=g&&O(o),r}function q(t){(t=Math.min(Math.max(t,1),100),a!=t)&&(!function(t){for(var e=[16,11,10,16,24,40,51,61,12,12,14,19,26,58,60,55,14,13,16,24,40,57,69,56,14,17,22,29,51,87,80,62,18,22,37,56,68,109,103,77,24,35,55,64,81,104,113,92,49,64,78,87,103,121,120,101,72,92,95,98,112,100,103,99],r=0;r<64;r++){var n=o((e[r]*t+50)/100);n=Math.min(Math.max(n,1),255),s[L[r]]=n}for(var i=[17,18,24,47,99,99,99,99,18,21,26,66,99,99,99,99,24,26,56,99,99,99,99,99,47,66,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99],a=0;a<64;a++){var h=o((i[a]*t+50)/100);h=Math.min(Math.max(h,1),255),u[L[a]]=h}for(var f=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],d=0,p=0;p<8;p++)for(var g=0;g<8;g++)c[d]=1/(s[L[d]]*f[p]*f[g]*8),l[d]=1/(u[L[d]]*f[p]*f[g]*8),d++}(t<50?Math.floor(5e3/t):Math.floor(200-2*t)),a=t)}this.encode=function(t,a){a&&q(a),g=new Array,m=0,v=7,M(65496),M(65504),M(16),B(74),B(70),B(73),B(70),B(0),B(1),B(1),B(0),M(1),M(1),B(0),B(0),function(){M(65499),M(132),B(0);for(var t=0;t<64;t++)B(s[t]);B(1);for(var e=0;e<64;e++)B(u[e])}(),function(t,e){M(65472),M(17),B(8),M(e),M(t),B(3),B(1),B(17),B(0),B(2),B(17),B(1),B(3),B(17),B(1)}(t.width,t.height),function(){M(65476),M(418),B(0);for(var t=0;t<16;t++)B(x[t+1]);for(var e=0;e<=11;e++)B(S[e]);B(16);for(var r=0;r<16;r++)B(_[r+1]);for(var n=0;n<=161;n++)B(P[n]);B(1);for(var i=0;i<16;i++)B(k[i+1]);for(var a=0;a<=11;a++)B(F[a]);B(17);for(var o=0;o<16;o++)B(I[o+1]);for(var s=0;s<=161;s++)B(C[s])}(),M(65498),M(12),B(3),B(1),B(0),B(2),B(17),B(3),B(17),B(0),B(63),B(0);var o=0,h=0,f=0;m=0,v=7,this.encode.displayName="_encode_";for(var d,p,N,L,j,R,T,D,U,z=t.data,H=t.width,W=t.height,V=4*H,G=0;G<W;){for(d=0;d<V;){for(j=V*G+d,T=-1,D=0,U=0;U<64;U++)R=j+(D=U>>3)*V+(T=4*(7&U)),G+D>=W&&(R-=V*(G+1+D-W)),d+T>=V&&(R-=d+T-V+4),p=z[R++],N=z[R++],L=z[R++],b[U]=(A[p]+A[N+256>>0]+A[L+512>>0]>>16)-128,y[U]=(A[p+768>>0]+A[N+1024>>0]+A[L+1280>>0]>>16)-128,w[U]=(A[p+1280>>0]+A[N+1536>>0]+A[L+1792>>0]>>16)-128;o=E(b,c,o,e,n),h=E(y,l,h,r,i),f=E(w,l,f,r,i),d+=32}G+=8}if(v>=0){var Y=[];Y[1]=v+1,Y[0]=(1<<v+1)-1,O(Y)}return M(65497),new Uint8Array(g)},t=t||50,function(){for(var t=String.fromCharCode,e=0;e<256;e++)N[e]=t(e)}(),e=j(x,S),r=j(k,F),n=j(_,P),i=j(I,C),function(){for(var t=1,e=2,r=1;r<=15;r++){for(var n=t;n<e;n++)f[32767+n]=r,h[32767+n]=[],h[32767+n][1]=r,h[32767+n][0]=n;for(var i=-(e-1);i<=-t;i++)f[32767+i]=r,h[32767+i]=[],h[32767+i][1]=r,h[32767+i][0]=e-1+i;t<<=1,e<<=1}}(),function(){for(var t=0;t<256;t++)A[t]=19595*t,A[t+256>>0]=38470*t,A[t+512>>0]=7471*t+32768,A[t+768>>0]=-11059*t,A[t+1024>>0]=-21709*t,A[t+1280>>0]=32768*t+8421375,A[t+1536>>0]=-27439*t,A[t+1792>>0]=-5329*t}(),q(t)}-/**- * @license- * Copyright (c) 2017 Aras Abbasi- *- * Licensed under the MIT License.- * http://opensource.org/licenses/mit-license- */function Be(t,e){if(this.pos=0,this.buffer=t,this.datav=new DataView(t.buffer),this.is_with_alpha=!!e,this.bottom_up=!0,this.flag=String.fromCharCode(this.buffer[0])+String.fromCharCode(this.buffer[1]),this.pos+=2,-1===["BM","BA","CI","CP","IC","PT"].indexOf(this.flag))throw new Error("Invalid BMP File");this.parseHeader(),this.parseBGR()}function Me(t){function e(t){if(!t)throw Error("assert :P")}function r(t,e,r){for(var n=0;4>n;n++)if(t[e+n]!=r.charCodeAt(n))return!0;return!1}function n(t,e,r,n,i){for(var a=0;a<i;a++)t[e+a]=r[n+a]}function i(t,e,r,n){for(var i=0;i<n;i++)t[e+i]=r}function a(t){return new Int32Array(t)}function o(t,e){for(var r=[],n=0;n<t;n++)r.push(new e);return r}function s(t,e){var r=[];return function t(r,n,i){for(var a=i[n],o=0;o<a&&(r.push(i.length>n+1?[]:new e),!(i.length<n+1));o++)t(r[o],n+1,i)}(r,0,t),r}function u(t,e){for(var r="",n=0;n<4;n++)r+=String.fromCharCode(t[e++]);return r}function c(t,e){return(t[e+0]<<0|t[e+1]<<8|t[e+2]<<16)>>>0}function l(t,e){return(t[e+0]<<0|t[e+1]<<8|t[e+2]<<16|t[e+3]<<24)>>>0}new(Me=function(){var t=this;function u(t,e){for(var r=1<<e-1>>>0;t&r;)r>>>=1;return r?(t&r-1)+r:t}function c(t,r,n,i,a){e(!(i%n));do{t[r+(i-=n)]=a}while(0<i)}function l(t,r,n,i,o){if(e(2328>=o),512>=o)var s=a(512);else if(null==(s=a(o)))return 0;return function(t,r,n,i,o,s){var l,f,d=r,p=1<<n,g=a(16),m=a(16);for(e(0!=o),e(null!=i),e(null!=t),e(0<n),f=0;f<o;++f){if(15<i[f])return 0;++g[i[f]]}if(g[0]==o)return 0;for(m[1]=0,l=1;15>l;++l){if(g[l]>1<<l)return 0;m[l+1]=m[l]+g[l]}for(f=0;f<o;++f)l=i[f],0<i[f]&&(s[m[l]++]=f);if(1==m[15])return(i=new h).g=0,i.value=s[0],c(t,d,1,p,i),p;var v,b=-1,y=p-1,w=0,N=1,A=1,L=1<<n;for(f=0,l=1,o=2;l<=n;++l,o<<=1){if(N+=A<<=1,0>(A-=g[l]))return 0;for(;0<g[l];--g[l])(i=new h).g=l,i.value=s[f++],c(t,d+w,o,L,i),w=u(w,l)}for(l=n+1,o=2;15>=l;++l,o<<=1){if(N+=A<<=1,0>(A-=g[l]))return 0;for(;0<g[l];--g[l]){if(i=new h,(w&y)!=b){for(d+=L,v=1<<(b=l)-n;15>b&&!(0>=(v-=g[b]));)++b,v<<=1;p+=L=1<<(v=b-n),t[r+(b=w&y)].g=v+n,t[r+b].value=d-r-b}i.g=l-n,i.value=s[f++],c(t,d+(w>>n),o,L,i),w=u(w,l)}}return N!=2*m[15]-1?0:p}(t,r,n,i,o,s)}function h(){this.value=this.g=0}function f(){this.value=this.g=0}function d(){this.G=o(5,h),this.H=a(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=o(Rr,f)}function p(t,r,n,i){e(null!=t),e(null!=r),e(2147483648>i),t.Ca=254,t.I=0,t.b=-8,t.Ka=0,t.oa=r,t.pa=n,t.Jd=r,t.Yc=n+i,t.Zc=4<=i?n+i-4+1:n,_(t)}function g(t,e){for(var r=0;0<e--;)r|=k(t,128)<<e;return r}function m(t,e){var r=g(t,e);return P(t)?-r:r}function v(t,r,n,i){var a,o=0;for(e(null!=t),e(null!=r),e(4294967288>i),t.Sb=i,t.Ra=0,t.u=0,t.h=0,4<i&&(i=4),a=0;a<i;++a)o+=r[n+a]<<8*a;t.Ra=o,t.bb=i,t.oa=r,t.pa=n}function b(t){for(;8<=t.u&&t.bb<t.Sb;)t.Ra>>>=8,t.Ra+=t.oa[t.pa+t.bb]<<Ur-8>>>0,++t.bb,t.u-=8;L(t)&&(t.h=1,t.u=0)}function y(t,r){if(e(0<=r),!t.h&&r<=Dr){var n=A(t)&Tr[r];return t.u+=r,b(t),n}return t.h=1,t.u=0}function w(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function N(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function A(t){return t.Ra>>>(t.u&Ur-1)>>>0}function L(t){return e(t.bb<=t.Sb),t.h||t.bb==t.Sb&&t.u>Ur}function x(t,e){t.u=e,t.h=L(t)}function S(t){t.u>=zr&&(e(t.u>=zr),b(t))}function _(t){e(null!=t&&null!=t.oa),t.pa<t.Zc?(t.I=(t.oa[t.pa++]|t.I<<8)>>>0,t.b+=8):(e(null!=t&&null!=t.oa),t.pa<t.Yc?(t.b+=8,t.I=t.oa[t.pa++]|t.I<<8):t.Ka?t.b=0:(t.I<<=8,t.b+=8,t.Ka=1))}function P(t){return g(t,1)}function k(t,e){var r=t.Ca;0>t.b&&_(t);var n=t.b,i=r*e>>>8,a=(t.I>>>n>i)+0;for(a?(r-=i,t.I-=i+1<<n>>>0):r=i+1,n=r,i=0;256<=n;)i+=8,n>>=8;return n=7^i+Hr[n],t.b-=n,t.Ca=(r<<n)-1,a}function F(t,e,r){t[e+0]=r>>24&255,t[e+1]=r>>16&255,t[e+2]=r>>8&255,t[e+3]=r>>0&255}function I(t,e){return t[e+0]<<0|t[e+1]<<8}function C(t,e){return I(t,e)|t[e+2]<<16}function j(t,e){return I(t,e)|I(t,e+2)<<16}function O(t,r){var n=1<<r;return e(null!=t),e(0<r),t.X=a(n),null==t.X?0:(t.Mb=32-r,t.Xa=r,1)}function B(t,r){e(null!=t),e(null!=r),e(t.Xa==r.Xa),n(r.X,0,t.X,0,1<<r.Xa)}function M(){this.X=[],this.Xa=this.Mb=0}function E(t,r,n,i){e(null!=n),e(null!=i);var a=n[0],o=i[0];return 0==a&&(a=(t*o+r/2)/r),0==o&&(o=(r*a+t/2)/t),0>=a||0>=o?0:(n[0]=a,i[0]=o,1)}function q(t,e){return t+(1<<e)-1>>>e}function R(t,e){return((4278255360&t)+(4278255360&e)>>>0&4278255360)+((16711935&t)+(16711935&e)>>>0&16711935)>>>0}function T(e,r){t[r]=function(r,n,i,a,o,s,u){var c;for(c=0;c<o;++c){var l=t[e](s[u+c-1],i,a+c);s[u+c]=R(r[n+c],l)}}}function D(){this.ud=this.hd=this.jd=0}function U(t,e){return((4278124286&(t^e))>>>1)+(t&e)>>>0}function z(t){return 0<=t&&256>t?t:0>t?0:255<t?255:void 0}function H(t,e){return z(t+(t-e+.5>>1))}function W(t,e,r){return Math.abs(e-r)-Math.abs(t-r)}function V(t,e,r,n,i,a,o){for(n=a[o-1],r=0;r<i;++r)a[o+r]=n=R(t[e+r],n)}function G(t,e,r,n,i){var a;for(a=0;a<r;++a){var o=t[e+a],s=o>>8&255,u=16711935&(u=(u=16711935&o)+((s<<16)+s));n[i+a]=(4278255360&o)+u>>>0}}function Y(t,e){e.jd=t>>0&255,e.hd=t>>8&255,e.ud=t>>16&255}function J(t,e,r,n,i,a){var o;for(o=0;o<n;++o){var s=e[r+o],u=s>>>8,c=s,l=255&(l=(l=s>>>16)+((t.jd<<24>>24)*(u<<24>>24)>>>5));c=255&(c=(c=c+((t.hd<<24>>24)*(u<<24>>24)>>>5))+((t.ud<<24>>24)*(l<<24>>24)>>>5));i[a+o]=(4278255360&s)+(l<<16)+c}}function X(e,r,n,i,a){t[r]=function(t,e,r,n,o,s,u,c,l){for(n=u;n<c;++n)for(u=0;u<l;++u)o[s++]=a(r[i(t[e++])])},t[e]=function(e,r,o,s,u,c,l){var h=8>>e.b,f=e.Ea,d=e.K[0],p=e.w;if(8>h)for(e=(1<<e.b)-1,p=(1<<h)-1;r<o;++r){var g,m=0;for(g=0;g<f;++g)g&e||(m=i(s[u++])),c[l++]=a(d[m&p]),m>>=h}else t["VP8LMapColor"+n](s,u,d,p,c,l,r,o,f)}}function K(t,e,r,n,i){for(r=e+r;e<r;){var a=t[e++];n[i++]=a>>16&255,n[i++]=a>>8&255,n[i++]=a>>0&255}}function Z(t,e,r,n,i){for(r=e+r;e<r;){var a=t[e++];n[i++]=a>>16&255,n[i++]=a>>8&255,n[i++]=a>>0&255,n[i++]=a>>24&255}}function $(t,e,r,n,i){for(r=e+r;e<r;){var a=(o=t[e++])>>16&240|o>>12&15,o=o>>0&240|o>>28&15;n[i++]=a,n[i++]=o}}function Q(t,e,r,n,i){for(r=e+r;e<r;){var a=(o=t[e++])>>16&248|o>>13&7,o=o>>5&224|o>>3&31;n[i++]=a,n[i++]=o}}function tt(t,e,r,n,i){for(r=e+r;e<r;){var a=t[e++];n[i++]=a>>0&255,n[i++]=a>>8&255,n[i++]=a>>16&255}}function et(t,e,r,i,a,o){if(0==o)for(r=e+r;e<r;)F(i,((o=t[e++])[0]>>24|o[1]>>8&65280|o[2]<<8&16711680|o[3]<<24)>>>0),a+=32;else n(i,a,t,e,r)}function rt(e,r){t[r][0]=t[e+"0"],t[r][1]=t[e+"1"],t[r][2]=t[e+"2"],t[r][3]=t[e+"3"],t[r][4]=t[e+"4"],t[r][5]=t[e+"5"],t[r][6]=t[e+"6"],t[r][7]=t[e+"7"],t[r][8]=t[e+"8"],t[r][9]=t[e+"9"],t[r][10]=t[e+"10"],t[r][11]=t[e+"11"],t[r][12]=t[e+"12"],t[r][13]=t[e+"13"],t[r][14]=t[e+"0"],t[r][15]=t[e+"0"]}function nt(t){return t==Hn||t==Wn||t==Vn||t==Gn}function it(){this.eb=[],this.size=this.A=this.fb=0}function at(){this.y=[],this.f=[],this.ea=[],this.F=[],this.Tc=this.Ed=this.Cd=this.Fd=this.lb=this.Db=this.Ab=this.fa=this.J=this.W=this.N=this.O=0}function ot(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new it,this.f.kb=new at,this.sd=null}function st(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function ut(){this.Id=this.fd=this.Md=this.hb=this.ib=this.da=this.bd=this.cd=this.j=this.v=this.Da=this.Sd=this.ob=0}function ct(t){return alert("todo:WebPSamplerProcessPlane"),t.T}function lt(t,e){var r=t.T,i=e.ba.f.RGBA,a=i.eb,o=i.fb+t.ka*i.A,s=vi[e.ba.S],u=t.y,c=t.O,l=t.f,h=t.N,f=t.ea,d=t.W,p=e.cc,g=e.dc,m=e.Mc,v=e.Nc,b=t.ka,y=t.ka+t.T,w=t.U,N=w+1>>1;for(0==b?s(u,c,null,null,l,h,f,d,l,h,f,d,a,o,null,null,w):(s(e.ec,e.fc,u,c,p,g,m,v,l,h,f,d,a,o-i.A,a,o,w),++r);b+2<y;b+=2)p=l,g=h,m=f,v=d,h+=t.Rc,d+=t.Rc,o+=2*i.A,s(u,(c+=2*t.fa)-t.fa,u,c,p,g,m,v,l,h,f,d,a,o-i.A,a,o,w);return c+=t.fa,t.j+y<t.o?(n(e.ec,e.fc,u,c,w),n(e.cc,e.dc,l,h,N),n(e.Mc,e.Nc,f,d,N),r--):1&y||s(u,c,null,null,l,h,f,d,l,h,f,d,a,o+i.A,null,null,w),r}function ht(t,r,n){var i=t.F,a=[t.J];if(null!=i){var o=t.U,s=r.ba.S,u=s==Dn||s==Vn;r=r.ba.f.RGBA;var c=[0],l=t.ka;c[0]=t.T,t.Kb&&(0==l?--c[0]:(--l,a[0]-=t.width),t.j+t.ka+t.T==t.o&&(c[0]=t.o-t.j-l));var h=r.eb;l=r.fb+l*r.A;t=Sn(i,a[0],t.width,o,c,h,l+(u?0:3),r.A),e(n==c),t&&nt(s)&&Ln(h,l,u,o,c,r.A)}return 0}function ft(t){var e=t.ma,r=e.ba.S,n=11>r,i=r==qn||r==Tn||r==Dn||r==Un||12==r||nt(r);if(e.memory=null,e.Ib=null,e.Jb=null,e.Nd=null,!Mr(e.Oa,t,i?11:12))return 0;if(i&&nt(r)&&br(),t.da)alert("todo:use_scaling");else{if(n){if(e.Ib=ct,t.Kb){if(r=t.U+1>>1,e.memory=a(t.U+2*r),null==e.memory)return 0;e.ec=e.memory,e.fc=0,e.cc=e.ec,e.dc=e.fc+t.U,e.Mc=e.cc,e.Nc=e.dc+r,e.Ib=lt,br()}}else alert("todo:EmitYUV");i&&(e.Jb=ht,n&&mr())}if(n&&!Ci){for(t=0;256>t;++t)ji[t]=89858*(t-128)+_i>>Si,Mi[t]=-22014*(t-128)+_i,Bi[t]=-45773*(t-128),Oi[t]=113618*(t-128)+_i>>Si;for(t=Pi;t<ki;++t)e=76283*(t-16)+_i>>Si,Ei[t-Pi]=Vt(e,255),qi[t-Pi]=Vt(e+8>>4,15);Ci=1}return 1}function dt(t){var r=t.ma,n=t.U,i=t.T;return e(!(1&t.ka)),0>=n||0>=i?0:(n=r.Ib(t,r),null!=r.Jb&&r.Jb(t,r,n),r.Dc+=n,1)}function pt(t){t.ma.memory=null}function gt(t,e,r,n){return 47!=y(t,8)?0:(e[0]=y(t,14)+1,r[0]=y(t,14)+1,n[0]=y(t,1),0!=y(t,3)?0:!t.h)}function mt(t,e){if(4>t)return t+1;var r=t-2>>1;return(2+(1&t)<<r)+y(e,r)+1}function vt(t,e){return 120<e?e-120:1<=(r=((r=$n[e-1])>>4)*t+(8-(15&r)))?r:1;var r}function bt(t,e,r){var n=A(r),i=t[e+=255&n].g-8;return 0<i&&(x(r,r.u+8),n=A(r),e+=t[e].value,e+=n&(1<<i)-1),x(r,r.u+t[e].g),t[e].value}function yt(t,r,n){return n.g+=t.g,n.value+=t.value<<r>>>0,e(8>=n.g),t.g}function wt(t,r,n){var i=t.xc;return e((r=0==i?0:t.vc[t.md*(n>>i)+(r>>i)])<t.Wb),t.Ya[r]}function Nt(t,r,i,a){var o=t.ab,s=t.c*r,u=t.C;r=u+r;var c=i,l=a;for(a=t.Ta,i=t.Ua;0<o--;){var h=t.gc[o],f=u,d=r,p=c,g=l,m=(l=a,c=i,h.Ea);switch(e(f<d),e(d<=h.nc),h.hc){case 2:Gr(p,g,(d-f)*m,l,c);break;case 0:var v=f,b=d,y=l,w=c,N=(_=h).Ea;0==v&&(Wr(p,g,null,null,1,y,w),V(p,g+1,0,0,N-1,y,w+1),g+=N,w+=N,++v);for(var A=1<<_.b,L=A-1,x=q(N,_.b),S=_.K,_=_.w+(v>>_.b)*x;v<b;){var P=S,k=_,F=1;for(Vr(p,g,y,w-N,1,y,w);F<N;){var I=(F&~L)+A;I>N&&(I=N),(0,Zr[P[k++]>>8&15])(p,g+ +F,y,w+F-N,I-F,y,w+F),F=I}g+=N,w+=N,++v&L||(_+=x)}d!=h.nc&&n(l,c-m,l,c+(d-f-1)*m,m);break;case 1:for(m=p,b=g,N=(p=h.Ea)-(w=p&~(y=(g=1<<h.b)-1)),v=q(p,h.b),A=h.K,h=h.w+(f>>h.b)*v;f<d;){for(L=A,x=h,S=new D,_=b+w,P=b+p;b<_;)Y(L[x++],S),$r(S,m,b,g,l,c),b+=g,c+=g;b<P&&(Y(L[x++],S),$r(S,m,b,N,l,c),b+=N,c+=N),++f&y||(h+=v)}break;case 3:if(p==l&&g==c&&0<h.b){for(b=l,p=m=c+(d-f)*m-(w=(d-f)*q(h.Ea,h.b)),g=l,y=c,v=[],w=(N=w)-1;0<=w;--w)v[w]=g[y+w];for(w=N-1;0<=w;--w)b[p+w]=v[w];Yr(h,f,d,l,m,l,c)}else Yr(h,f,d,p,g,l,c)}c=a,l=i}l!=i&&n(a,i,c,l,s)}function At(t,r){var n=t.V,i=t.Ba+t.c*t.C,a=r-t.C;if(e(r<=t.l.o),e(16>=a),0<a){var o=t.l,s=t.Ta,u=t.Ua,c=o.width;if(Nt(t,a,n,i),a=u=[u],e((n=t.C)<(i=r)),e(o.v<o.va),i>o.o&&(i=o.o),n<o.j){var l=o.j-n;n=o.j;a[0]+=l*c}if(n>=i?n=0:(a[0]+=4*o.v,o.ka=n-o.j,o.U=o.va-o.v,o.T=i-n,n=1),n){if(u=u[0],11>(n=t.ca).S){var h=n.f.RGBA,f=(i=n.S,a=o.U,o=o.T,l=h.eb,h.A),d=o;for(h=h.fb+t.Ma*h.A;0<d--;){var p=s,g=u,m=a,v=l,b=h;switch(i){case En:Qr(p,g,m,v,b);break;case qn:tn(p,g,m,v,b);break;case Hn:tn(p,g,m,v,b),Ln(v,b,0,m,1,0);break;case Rn:nn(p,g,m,v,b);break;case Tn:et(p,g,m,v,b,1);break;case Wn:et(p,g,m,v,b,1),Ln(v,b,0,m,1,0);break;case Dn:et(p,g,m,v,b,0);break;case Vn:et(p,g,m,v,b,0),Ln(v,b,1,m,1,0);break;case Un:en(p,g,m,v,b);break;case Gn:en(p,g,m,v,b),xn(v,b,m,1,0);break;case zn:rn(p,g,m,v,b);break;default:e(0)}u+=c,h+=f}t.Ma+=o}else alert("todo:EmitRescaledRowsYUVA");e(t.Ma<=n.height)}}t.C=r,e(t.C<=t.i)}function Lt(t){var e;if(0<t.ua)return 0;for(e=0;e<t.Wb;++e){var r=t.Ya[e].G,n=t.Ya[e].H;if(0<r[1][n[1]+0].g||0<r[2][n[2]+0].g||0<r[3][n[3]+0].g)return 0}return 1}function xt(t,r,n,i,a,o){if(0!=t.Z){var s=t.qd,u=t.rd;for(e(null!=mi[t.Z]);r<n;++r)mi[t.Z](s,u,i,a,i,a,o),s=i,u=a,a+=o;t.qd=s,t.rd=u}}function St(t,r){var n=t.l.ma,i=0==n.Z||1==n.Z?t.l.j:t.C;i=t.C<i?i:t.C;if(e(r<=t.l.o),r>i){var a=t.l.width,o=n.ca,s=n.tb+a*i,u=t.V,c=t.Ba+t.c*i,l=t.gc;e(1==t.ab),e(3==l[0].hc),Xr(l[0],i,r,u,c,o,s),xt(n,i,r,o,s,a)}t.C=t.Ma=r}function _t(t,r,n,i,a,o,s){var u=t.$/i,c=t.$%i,l=t.m,h=t.s,f=n+t.$,d=f;a=n+i*a;var p=n+i*o,g=280+h.ua,m=t.Pb?u:16777216,v=0<h.ua?h.Wa:null,b=h.wc,y=f<p?wt(h,c,u):null;e(t.C<o),e(p<=a);var w=!1;t:for(;;){for(;w||f<p;){var N=0;if(u>=m){var _=f-n;e((m=t).Pb),m.wd=m.m,m.xd=_,0<m.s.ua&&B(m.s.Wa,m.s.vb),m=u+ti}if(c&b||(y=wt(h,c,u)),e(null!=y),y.Qb&&(r[f]=y.qb,w=!0),!w)if(S(l),y.jc){N=l,_=r;var P=f,k=y.pd[A(N)&Rr-1];e(y.jc),256>k.g?(x(N,N.u+k.g),_[P]=k.value,N=0):(x(N,N.u+k.g-256),e(256<=k.value),N=k.value),0==N&&(w=!0)}else N=bt(y.G[0],y.H[0],l);if(l.h)break;if(w||256>N){if(!w)if(y.nd)r[f]=(y.qb|N<<8)>>>0;else{if(S(l),w=bt(y.G[1],y.H[1],l),S(l),_=bt(y.G[2],y.H[2],l),P=bt(y.G[3],y.H[3],l),l.h)break;r[f]=(P<<24|w<<16|N<<8|_)>>>0}if(w=!1,++f,++c>=i&&(c=0,++u,null!=s&&u<=o&&!(u%16)&&s(t,u),null!=v))for(;d<f;)N=r[d++],v.X[(506832829*N&4294967295)>>>v.Mb]=N}else if(280>N){if(N=mt(N-256,l),_=bt(y.G[4],y.H[4],l),S(l),_=vt(i,_=mt(_,l)),l.h)break;if(f-n<_||a-f<N)break t;for(P=0;P<N;++P)r[f+P]=r[f+P-_];for(f+=N,c+=N;c>=i;)c-=i,++u,null!=s&&u<=o&&!(u%16)&&s(t,u);if(e(f<=a),c&b&&(y=wt(h,c,u)),null!=v)for(;d<f;)N=r[d++],v.X[(506832829*N&4294967295)>>>v.Mb]=N}else{if(!(N<g))break t;for(w=N-280,e(null!=v);d<f;)N=r[d++],v.X[(506832829*N&4294967295)>>>v.Mb]=N;N=f,e(!(w>>>(_=v).Xa)),r[N]=_.X[w],w=!0}w||e(l.h==L(l))}if(t.Pb&&l.h&&f<a)e(t.m.h),t.a=5,t.m=t.wd,t.$=t.xd,0<t.s.ua&&B(t.s.vb,t.s.Wa);else{if(l.h)break t;null!=s&&s(t,u>o?o:u),t.a=0,t.$=f-n}return 1}return t.a=3,0}function Pt(t){e(null!=t),t.vc=null,t.yc=null,t.Ya=null;var r=t.Wa;null!=r&&(r.X=null),t.vb=null,e(null!=t)}function kt(){var e=new or;return null==e?null:(e.a=0,e.xb=gi,rt("Predictor","VP8LPredictors"),rt("Predictor","VP8LPredictors_C"),rt("PredictorAdd","VP8LPredictorsAdd"),rt("PredictorAdd","VP8LPredictorsAdd_C"),Gr=G,$r=J,Qr=K,tn=Z,en=$,rn=Q,nn=tt,t.VP8LMapColor32b=Jr,t.VP8LMapColor8b=Kr,e)}function Ft(t,r,n,s,u){var c=1,f=[t],p=[r],g=s.m,m=s.s,v=null,b=0;t:for(;;){if(n)for(;c&&y(g,1);){var w=f,N=p,L=s,_=1,P=L.m,k=L.gc[L.ab],F=y(P,2);if(L.Oc&1<<F)c=0;else{switch(L.Oc|=1<<F,k.hc=F,k.Ea=w[0],k.nc=N[0],k.K=[null],++L.ab,e(4>=L.ab),F){case 0:case 1:k.b=y(P,3)+2,_=Ft(q(k.Ea,k.b),q(k.nc,k.b),0,L,k.K),k.K=k.K[0];break;case 3:var I,C=y(P,8)+1,j=16<C?0:4<C?1:2<C?2:3;if(w[0]=q(k.Ea,j),k.b=j,I=_=Ft(C,1,0,L,k.K)){var B,M=C,E=k,T=1<<(8>>E.b),D=a(T);if(null==D)I=0;else{var U=E.K[0],z=E.w;for(D[0]=E.K[0][0],B=1;B<1*M;++B)D[B]=R(U[z+B],D[B-1]);for(;B<4*T;++B)D[B]=0;E.K[0]=null,E.K[0]=D,I=1}}_=I;break;case 2:break;default:e(0)}c=_}}if(f=f[0],p=p[0],c&&y(g,1)&&!(c=1<=(b=y(g,4))&&11>=b)){s.a=3;break t}var H;if(H=c)e:{var W,V,G,Y=s,J=f,X=p,K=b,Z=n,$=Y.m,Q=Y.s,tt=[null],et=1,rt=0,nt=Qn[K];r:for(;;){if(Z&&y($,1)){var it=y($,3)+2,at=q(J,it),ot=q(X,it),st=at*ot;if(!Ft(at,ot,0,Y,tt))break r;for(tt=tt[0],Q.xc=it,W=0;W<st;++W){var ut=tt[W]>>8&65535;tt[W]=ut,ut>=et&&(et=ut+1)}}if($.h)break r;for(V=0;5>V;++V){var ct=Xn[V];!V&&0<K&&(ct+=1<<K),rt<ct&&(rt=ct)}var lt=o(et*nt,h),ht=et,ft=o(ht,d);if(null==ft)var dt=null;else e(65536>=ht),dt=ft;var pt=a(rt);if(null==dt||null==pt||null==lt){Y.a=1;break r}var gt=lt;for(W=G=0;W<et;++W){var mt=dt[W],vt=mt.G,bt=mt.H,wt=0,Nt=1,At=0;for(V=0;5>V;++V){ct=Xn[V],vt[V]=gt,bt[V]=G,!V&&0<K&&(ct+=1<<K);n:{var Lt,xt=ct,St=Y,kt=pt,It=gt,Ct=G,jt=0,Ot=St.m,Bt=y(Ot,1);if(i(kt,0,0,xt),Bt){var Mt=y(Ot,1)+1,Et=y(Ot,1),qt=y(Ot,0==Et?1:8);kt[qt]=1,2==Mt&&(kt[qt=y(Ot,8)]=1);var Rt=1}else{var Tt=a(19),Dt=y(Ot,4)+4;if(19<Dt){St.a=3;var Ut=0;break n}for(Lt=0;Lt<Dt;++Lt)Tt[Zn[Lt]]=y(Ot,3);var zt=void 0,Ht=void 0,Wt=St,Vt=Tt,Gt=xt,Yt=kt,Jt=0,Xt=Wt.m,Kt=8,Zt=o(128,h);i:for(;l(Zt,0,7,Vt,19);){if(y(Xt,1)){var $t=2+2*y(Xt,3);if((zt=2+y(Xt,$t))>Gt)break i}else zt=Gt;for(Ht=0;Ht<Gt&&zt--;){S(Xt);var Qt=Zt[0+(127&A(Xt))];x(Xt,Xt.u+Qt.g);var te=Qt.value;if(16>te)Yt[Ht++]=te,0!=te&&(Kt=te);else{var ee=16==te,re=te-16,ne=Jn[re],ie=y(Xt,Yn[re])+ne;if(Ht+ie>Gt)break i;for(var ae=ee?Kt:0;0<ie--;)Yt[Ht++]=ae}}Jt=1;break i}Jt||(Wt.a=3),Rt=Jt}(Rt=Rt&&!Ot.h)&&(jt=l(It,Ct,8,kt,xt)),Rt&&0!=jt?Ut=jt:(St.a=3,Ut=0)}if(0==Ut)break r;if(Nt&&1==Kn[V]&&(Nt=0==gt[G].g),wt+=gt[G].g,G+=Ut,3>=V){var oe,se=pt[0];for(oe=1;oe<ct;++oe)pt[oe]>se&&(se=pt[oe]);At+=se}}if(mt.nd=Nt,mt.Qb=0,Nt&&(mt.qb=(vt[3][bt[3]+0].value<<24|vt[1][bt[1]+0].value<<16|vt[2][bt[2]+0].value)>>>0,0==wt&&256>vt[0][bt[0]+0].value&&(mt.Qb=1,mt.qb+=vt[0][bt[0]+0].value<<8)),mt.jc=!mt.Qb&&6>At,mt.jc){var ue,ce=mt;for(ue=0;ue<Rr;++ue){var le=ue,he=ce.pd[le],fe=ce.G[0][ce.H[0]+le];256<=fe.value?(he.g=fe.g+256,he.value=fe.value):(he.g=0,he.value=0,le>>=yt(fe,8,he),le>>=yt(ce.G[1][ce.H[1]+le],16,he),le>>=yt(ce.G[2][ce.H[2]+le],0,he),yt(ce.G[3][ce.H[3]+le],24,he))}}}Q.vc=tt,Q.Wb=et,Q.Ya=dt,Q.yc=lt,H=1;break e}H=0}if(!(c=H)){s.a=3;break t}if(0<b){if(m.ua=1<<b,!O(m.Wa,b)){s.a=1,c=0;break t}}else m.ua=0;var de=s,pe=f,ge=p,me=de.s,ve=me.xc;if(de.c=pe,de.i=ge,me.md=q(pe,ve),me.wc=0==ve?-1:(1<<ve)-1,n){s.xb=pi;break t}if(null==(v=a(f*p))){s.a=1,c=0;break t}c=(c=_t(s,v,0,f,p,p,null))&&!g.h;break t}return c?(null!=u?u[0]=v:(e(null==v),e(n)),s.$=0,n||Pt(m)):Pt(m),c}function It(t,r){var n=t.c*t.i,i=n+r+16*r;return e(t.c<=r),t.V=a(i),null==t.V?(t.Ta=null,t.Ua=0,t.a=1,0):(t.Ta=t.V,t.Ua=t.Ba+n+r,1)}function Ct(t,r){var n=t.C,i=r-n,a=t.V,o=t.Ba+t.c*n;for(e(r<=t.l.o);0<i;){var s=16<i?16:i,u=t.l.ma,c=t.l.width,l=c*s,h=u.ca,f=u.tb+c*n,d=t.Ta,p=t.Ua;Nt(t,s,a,o),_n(d,p,h,f,l),xt(u,n,n+s,h,f,c),i-=s,a+=s*t.c,n+=s}e(n==r),t.C=t.Ma=r}function jt(){this.ub=this.yd=this.td=this.Rb=0}function Ot(){this.Kd=this.Ld=this.Ud=this.Td=this.i=this.c=0}function Bt(){this.Fb=this.Bb=this.Cb=0,this.Zb=a(4),this.Lb=a(4)}function Mt(){this.Yb=function(){var t=[];return function t(e,r,n){for(var i=n[r],a=0;a<i&&(e.push(n.length>r+1?[]:0),!(n.length<r+1));a++)t(e[a],r+1,n)}(t,0,[3,11]),t}()}function Et(){this.jb=a(3),this.Wc=s([4,8],Mt),this.Xc=s([4,17],Mt)}function qt(){this.Pc=this.wb=this.Tb=this.zd=0,this.vd=new a(4),this.od=new a(4)}function Rt(){this.ld=this.La=this.dd=this.tc=0}function Tt(){this.Na=this.la=0}function Dt(){this.Sc=[0,0],this.Eb=[0,0],this.Qc=[0,0],this.ia=this.lc=0}function Ut(){this.ad=a(384),this.Za=0,this.Ob=a(16),this.$b=this.Ad=this.ia=this.Gc=this.Hc=this.Dd=0}function zt(){this.uc=this.M=this.Nb=0,this.wa=Array(new Rt),this.Y=0,this.ya=Array(new Ut),this.aa=0,this.l=new Gt}function Ht(){this.y=a(16),this.f=a(8),this.ea=a(8)}function Wt(){this.cb=this.a=0,this.sc="",this.m=new w,this.Od=new jt,this.Kc=new Ot,this.ed=new qt,this.Qa=new Bt,this.Ic=this.$c=this.Aa=0,this.D=new zt,this.Xb=this.Va=this.Hb=this.zb=this.yb=this.Ub=this.za=0,this.Jc=o(8,w),this.ia=0,this.pb=o(4,Dt),this.Pa=new Et,this.Bd=this.kc=0,this.Ac=[],this.Bc=0,this.zc=[0,0,0,0],this.Gd=Array(new Ht),this.Hd=0,this.rb=Array(new Tt),this.sb=0,this.wa=Array(new Rt),this.Y=0,this.oc=[],this.pc=0,this.sa=[],this.ta=0,this.qa=[],this.ra=0,this.Ha=[],this.B=this.R=this.Ia=0,this.Ec=[],this.M=this.ja=this.Vb=this.Fc=0,this.ya=Array(new Ut),this.L=this.aa=0,this.gd=s([4,2],Rt),this.ga=null,this.Fa=[],this.Cc=this.qc=this.P=0,this.Gb=[],this.Uc=0,this.mb=[],this.nb=0,this.rc=[],this.Ga=this.Vc=0}function Vt(t,e){return 0>t?0:t>e?e:t}function Gt(){this.T=this.U=this.ka=this.height=this.width=0,this.y=[],this.f=[],this.ea=[],this.Rc=this.fa=this.W=this.N=this.O=0,this.ma="void",this.put="VP8IoPutHook",this.ac="VP8IoSetupHook",this.bc="VP8IoTeardownHook",this.ha=this.Kb=0,this.data=[],this.hb=this.ib=this.da=this.o=this.j=this.va=this.v=this.Da=this.ob=this.w=0,this.F=[],this.J=0}function Yt(){var t=new Wt;return null!=t&&(t.a=0,t.sc="OK",t.cb=0,t.Xb=0,ni||(ni=Zt)),t}function Jt(t,e,r){return 0==t.a&&(t.a=e,t.sc=r,t.cb=0),0}function Xt(t,e,r){return 3<=r&&157==t[e+0]&&1==t[e+1]&&42==t[e+2]}function Kt(t,r){if(null==t)return 0;if(t.a=0,t.sc="OK",null==r)return Jt(t,2,"null VP8Io passed to VP8GetHeaders()");var n=r.data,a=r.w,o=r.ha;if(4>o)return Jt(t,7,"Truncated header.");var s=n[a+0]|n[a+1]<<8|n[a+2]<<16,u=t.Od;if(u.Rb=!(1&s),u.td=s>>1&7,u.yd=s>>4&1,u.ub=s>>5,3<u.td)return Jt(t,3,"Incorrect keyframe parameters.");if(!u.yd)return Jt(t,4,"Frame not displayable.");a+=3,o-=3;var c=t.Kc;if(u.Rb){if(7>o)return Jt(t,7,"cannot parse picture header");if(!Xt(n,a,o))return Jt(t,3,"Bad code word");c.c=16383&(n[a+4]<<8|n[a+3]),c.Td=n[a+4]>>6,c.i=16383&(n[a+6]<<8|n[a+5]),c.Ud=n[a+6]>>6,a+=7,o-=7,t.za=c.c+15>>4,t.Ub=c.i+15>>4,r.width=c.c,r.height=c.i,r.Da=0,r.j=0,r.v=0,r.va=r.width,r.o=r.height,r.da=0,r.ib=r.width,r.hb=r.height,r.U=r.width,r.T=r.height,i((s=t.Pa).jb,0,255,s.jb.length),e(null!=(s=t.Qa)),s.Cb=0,s.Bb=0,s.Fb=1,i(s.Zb,0,0,s.Zb.length),i(s.Lb,0,0,s.Lb)}if(u.ub>o)return Jt(t,7,"bad partition length");p(s=t.m,n,a,u.ub),a+=u.ub,o-=u.ub,u.Rb&&(c.Ld=P(s),c.Kd=P(s)),c=t.Qa;var l,h=t.Pa;if(e(null!=s),e(null!=c),c.Cb=P(s),c.Cb){if(c.Bb=P(s),P(s)){for(c.Fb=P(s),l=0;4>l;++l)c.Zb[l]=P(s)?m(s,7):0;for(l=0;4>l;++l)c.Lb[l]=P(s)?m(s,6):0}if(c.Bb)for(l=0;3>l;++l)h.jb[l]=P(s)?g(s,8):255}else c.Bb=0;if(s.Ka)return Jt(t,3,"cannot parse segment header");if((c=t.ed).zd=P(s),c.Tb=g(s,6),c.wb=g(s,3),c.Pc=P(s),c.Pc&&P(s)){for(h=0;4>h;++h)P(s)&&(c.vd[h]=m(s,6));for(h=0;4>h;++h)P(s)&&(c.od[h]=m(s,6))}if(t.L=0==c.Tb?0:c.zd?1:2,s.Ka)return Jt(t,3,"cannot parse filter header");var f=o;if(o=l=a,a=l+f,c=f,t.Xb=(1<<g(t.m,2))-1,f<3*(h=t.Xb))n=7;else{for(l+=3*h,c-=3*h,f=0;f<h;++f){var d=n[o+0]|n[o+1]<<8|n[o+2]<<16;d>c&&(d=c),p(t.Jc[+f],n,l,d),l+=d,c-=d,o+=3}p(t.Jc[+h],n,l,c),n=l<a?0:5}if(0!=n)return Jt(t,n,"cannot parse partitions");for(n=g(l=t.m,7),o=P(l)?m(l,4):0,a=P(l)?m(l,4):0,c=P(l)?m(l,4):0,h=P(l)?m(l,4):0,l=P(l)?m(l,4):0,f=t.Qa,d=0;4>d;++d){if(f.Cb){var v=f.Zb[d];f.Fb||(v+=n)}else{if(0<d){t.pb[d]=t.pb[0];continue}v=n}var b=t.pb[d];b.Sc[0]=ei[Vt(v+o,127)],b.Sc[1]=ri[Vt(v+0,127)],b.Eb[0]=2*ei[Vt(v+a,127)],b.Eb[1]=101581*ri[Vt(v+c,127)]>>16,8>b.Eb[1]&&(b.Eb[1]=8),b.Qc[0]=ei[Vt(v+h,117)],b.Qc[1]=ri[Vt(v+l,127)],b.lc=v+l}if(!u.Rb)return Jt(t,4,"Not a key frame.");for(P(s),u=t.Pa,n=0;4>n;++n){for(o=0;8>o;++o)for(a=0;3>a;++a)for(c=0;11>c;++c)h=k(s,ci[n][o][a][c])?g(s,8):si[n][o][a][c],u.Wc[n][o].Yb[a][c]=h;for(o=0;17>o;++o)u.Xc[n][o]=u.Wc[n][li[o]]}return t.kc=P(s),t.kc&&(t.Bd=g(s,8)),t.cb=1}function Zt(t,e,r,n,i,a,o){var s=e[i].Yb[r];for(r=0;16>i;++i){if(!k(t,s[r+0]))return i;for(;!k(t,s[r+1]);)if(s=e[++i].Yb[0],r=0,16==i)return 16;var u=e[i+1].Yb;if(k(t,s[r+2])){var c=t,l=0;if(k(c,(f=s)[(h=r)+3]))if(k(c,f[h+6])){for(s=0,h=2*(l=k(c,f[h+8]))+(f=k(c,f[h+9+l])),l=0,f=ii[h];f[s];++s)l+=l+k(c,f[s]);l+=3+(8<<h)}else k(c,f[h+7])?(l=7+2*k(c,165),l+=k(c,145)):l=5+k(c,159);else l=k(c,f[h+4])?3+k(c,f[h+5]):2;s=u[2]}else l=1,s=u[1];u=o+ai[i],0>(c=t).b&&_(c);var h,f=c.b,d=(h=c.Ca>>1)-(c.I>>f)>>31;--c.b,c.Ca+=d,c.Ca|=1,c.I-=(h+1&d)<<f,a[u]=((l^d)-d)*n[(0<i)+0]}return 16}function $t(t){var e=t.rb[t.sb-1];e.la=0,e.Na=0,i(t.zc,0,0,t.zc.length),t.ja=0}function Qt(t,r){if(null==t)return 0;if(null==r)return Jt(t,2,"NULL VP8Io parameter in VP8Decode().");if(!t.cb&&!Kt(t,r))return 0;if(e(t.cb),null==r.ac||r.ac(r)){r.ob&&(t.L=0);var s=Ti[t.L];if(2==t.L?(t.yb=0,t.zb=0):(t.yb=r.v-s>>4,t.zb=r.j-s>>4,0>t.yb&&(t.yb=0),0>t.zb&&(t.zb=0)),t.Va=r.o+15+s>>4,t.Hb=r.va+15+s>>4,t.Hb>t.za&&(t.Hb=t.za),t.Va>t.Ub&&(t.Va=t.Ub),0<t.L){var u=t.ed;for(s=0;4>s;++s){var c;if(t.Qa.Cb){var l=t.Qa.Lb[s];t.Qa.Fb||(l+=u.Tb)}else l=u.Tb;for(c=0;1>=c;++c){var h=t.gd[s][c],f=l;if(u.Pc&&(f+=u.vd[0],c&&(f+=u.od[0])),0<(f=0>f?0:63<f?63:f)){var d=f;0<u.wb&&((d=4<u.wb?d>>2:d>>1)>9-u.wb&&(d=9-u.wb)),1>d&&(d=1),h.dd=d,h.tc=2*f+d,h.ld=40<=f?2:15<=f?1:0}else h.tc=0;h.La=c}}}s=0}else Jt(t,6,"Frame setup failed"),s=t.a;if(s=0==s){if(s){t.$c=0,0<t.Aa||(t.Ic=Ui);t:{s=t.Ic;u=4*(d=t.za);var p=32*d,g=d+1,m=0<t.L?d*(0<t.Aa?2:1):0,v=(2==t.Aa?2:1)*d;if((h=u+832+(c=3*(16*s+Ti[t.L])/2*p)+(l=null!=t.Fa&&0<t.Fa.length?t.Kc.c*t.Kc.i:0))!=h)s=0;else{if(h>t.Vb){if(t.Vb=0,t.Ec=a(h),t.Fc=0,null==t.Ec){s=Jt(t,1,"no memory during frame initialization.");break t}t.Vb=h}h=t.Ec,f=t.Fc,t.Ac=h,t.Bc=f,f+=u,t.Gd=o(p,Ht),t.Hd=0,t.rb=o(g+1,Tt),t.sb=1,t.wa=m?o(m,Rt):null,t.Y=0,t.D.Nb=0,t.D.wa=t.wa,t.D.Y=t.Y,0<t.Aa&&(t.D.Y+=d),e(!0),t.oc=h,t.pc=f,f+=832,t.ya=o(v,Ut),t.aa=0,t.D.ya=t.ya,t.D.aa=t.aa,2==t.Aa&&(t.D.aa+=d),t.R=16*d,t.B=8*d,d=(p=Ti[t.L])*t.R,p=p/2*t.B,t.sa=h,t.ta=f+d,t.qa=t.sa,t.ra=t.ta+16*s*t.R+p,t.Ha=t.qa,t.Ia=t.ra+8*s*t.B+p,t.$c=0,f+=c,t.mb=l?h:null,t.nb=l?f:null,e(f+l<=t.Fc+t.Vb),$t(t),i(t.Ac,t.Bc,0,u),s=1}}if(s){if(r.ka=0,r.y=t.sa,r.O=t.ta,r.f=t.qa,r.N=t.ra,r.ea=t.Ha,r.Vd=t.Ia,r.fa=t.R,r.Rc=t.B,r.F=null,r.J=0,!Cn){for(s=-255;255>=s;++s)Pn[255+s]=0>s?-s:s;for(s=-1020;1020>=s;++s)kn[1020+s]=-128>s?-128:127<s?127:s;for(s=-112;112>=s;++s)Fn[112+s]=-16>s?-16:15<s?15:s;for(s=-255;510>=s;++s)In[255+s]=0>s?0:255<s?255:s;Cn=1}an=ce,on=ae,un=oe,cn=se,ln=ue,sn=ie,hn=Je,fn=Xe,dn=$e,pn=Qe,gn=Ke,mn=Ze,vn=tr,bn=er,yn=ze,wn=He,Nn=We,An=Ve,fi[0]=xe,fi[1]=he,fi[2]=Ae,fi[3]=Le,fi[4]=Se,fi[5]=Pe,fi[6]=_e,fi[7]=ke,fi[8]=Ie,fi[9]=Fe,hi[0]=ve,hi[1]=de,hi[2]=pe,hi[3]=ge,hi[4]=be,hi[5]=ye,hi[6]=we,di[0]=Be,di[1]=fe,di[2]=Ce,di[3]=je,di[4]=Ee,di[5]=Me,di[6]=qe,s=1}else s=0}s&&(s=function(t,r){for(t.M=0;t.M<t.Va;++t.M){var o,s=t.Jc[t.M&t.Xb],u=t.m,c=t;for(o=0;o<c.za;++o){var l=u,h=c,f=h.Ac,d=h.Bc+4*o,p=h.zc,g=h.ya[h.aa+o];if(h.Qa.Bb?g.$b=k(l,h.Pa.jb[0])?2+k(l,h.Pa.jb[2]):k(l,h.Pa.jb[1]):g.$b=0,h.kc&&(g.Ad=k(l,h.Bd)),g.Za=!k(l,145)+0,g.Za){var m=g.Ob,v=0;for(h=0;4>h;++h){var b,y=p[0+h];for(b=0;4>b;++b){y=ui[f[d+b]][y];for(var w=oi[k(l,y[0])];0<w;)w=oi[2*w+k(l,y[w])];y=-w,f[d+b]=y}n(m,v,f,d,4),v+=4,p[0+h]=y}}else y=k(l,156)?k(l,128)?1:3:k(l,163)?2:0,g.Ob[0]=y,i(f,d,y,4),i(p,0,y,4);g.Dd=k(l,142)?k(l,114)?k(l,183)?1:3:2:0}if(c.m.Ka)return Jt(t,7,"Premature end-of-partition0 encountered.");for(;t.ja<t.za;++t.ja){if(c=s,l=(u=t).rb[u.sb-1],f=u.rb[u.sb+u.ja],o=u.ya[u.aa+u.ja],d=u.kc?o.Ad:0)l.la=f.la=0,o.Za||(l.Na=f.Na=0),o.Hc=0,o.Gc=0,o.ia=0;else{var N,A;l=f,f=c,d=u.Pa.Xc,p=u.ya[u.aa+u.ja],g=u.pb[p.$b];if(h=p.ad,m=0,v=u.rb[u.sb-1],y=b=0,i(h,m,0,384),p.Za)var L=0,x=d[3];else{w=a(16);var S=l.Na+v.Na;if(S=ni(f,d[1],S,g.Eb,0,w,0),l.Na=v.Na=(0<S)+0,1<S)an(w,0,h,m);else{var _=w[0]+3>>3;for(w=0;256>w;w+=16)h[m+w]=_}L=1,x=d[0]}var P=15&l.la,F=15&v.la;for(w=0;4>w;++w){var I=1&F;for(_=A=0;4>_;++_)P=P>>1|(I=(S=ni(f,x,S=I+(1&P),g.Sc,L,h,m))>L)<<7,A=A<<2|(3<S?3:1<S?2:0!=h[m+0]),m+=16;P>>=4,F=F>>1|I<<7,b=(b<<8|A)>>>0}for(x=P,L=F>>4,N=0;4>N;N+=2){for(A=0,P=l.la>>4+N,F=v.la>>4+N,w=0;2>w;++w){for(I=1&F,_=0;2>_;++_)S=I+(1&P),P=P>>1|(I=0<(S=ni(f,d[2],S,g.Qc,0,h,m)))<<3,A=A<<2|(3<S?3:1<S?2:0!=h[m+0]),m+=16;P>>=2,F=F>>1|I<<5}y|=A<<4*N,x|=P<<4<<N,L|=(240&F)<<N}l.la=x,v.la=L,p.Hc=b,p.Gc=y,p.ia=43690&y?0:g.ia,d=!(b|y)}if(0<u.L&&(u.wa[u.Y+u.ja]=u.gd[o.$b][o.Za],u.wa[u.Y+u.ja].La|=!d),c.Ka)return Jt(t,7,"Premature end-of-file encountered.")}if($t(t),u=r,c=1,o=(s=t).D,l=0<s.L&&s.M>=s.zb&&s.M<=s.Va,0==s.Aa)t:{if(o.M=s.M,o.uc=l,Or(s,o),c=1,o=(A=s.D).Nb,l=(y=Ti[s.L])*s.R,f=y/2*s.B,w=16*o*s.R,_=8*o*s.B,d=s.sa,p=s.ta-l+w,g=s.qa,h=s.ra-f+_,m=s.Ha,v=s.Ia-f+_,F=0==(P=A.M),b=P>=s.Va-1,2==s.Aa&&Or(s,A),A.uc)for(I=(S=s).D.M,e(S.D.uc),A=S.yb;A<S.Hb;++A){L=A,x=I;var C=(j=(U=S).D).Nb;N=U.R;var j=j.wa[j.Y+L],O=U.sa,B=U.ta+16*C*N+16*L,M=j.dd,E=j.tc;if(0!=E)if(e(3<=E),1==U.L)0<L&&wn(O,B,N,E+4),j.La&&An(O,B,N,E),0<x&&yn(O,B,N,E+4),j.La&&Nn(O,B,N,E);else{var q=U.B,R=U.qa,T=U.ra+8*C*q+8*L,D=U.Ha,U=U.Ia+8*C*q+8*L;C=j.ld;0<L&&(fn(O,B,N,E+4,M,C),pn(R,T,D,U,q,E+4,M,C)),j.La&&(mn(O,B,N,E,M,C),bn(R,T,D,U,q,E,M,C)),0<x&&(hn(O,B,N,E+4,M,C),dn(R,T,D,U,q,E+4,M,C)),j.La&&(gn(O,B,N,E,M,C),vn(R,T,D,U,q,E,M,C))}}if(s.ia&&alert("todo:DitherRow"),null!=u.put){if(A=16*P,P=16*(P+1),F?(u.y=s.sa,u.O=s.ta+w,u.f=s.qa,u.N=s.ra+_,u.ea=s.Ha,u.W=s.Ia+_):(A-=y,u.y=d,u.O=p,u.f=g,u.N=h,u.ea=m,u.W=v),b||(P-=y),P>u.o&&(P=u.o),u.F=null,u.J=null,null!=s.Fa&&0<s.Fa.length&&A<P&&(u.J=hr(s,u,A,P-A),u.F=s.mb,null==u.F&&0==u.F.length)){c=Jt(s,3,"Could not decode alpha data.");break t}A<u.j&&(y=u.j-A,A=u.j,e(!(1&y)),u.O+=s.R*y,u.N+=s.B*(y>>1),u.W+=s.B*(y>>1),null!=u.F&&(u.J+=u.width*y)),A<P&&(u.O+=u.v,u.N+=u.v>>1,u.W+=u.v>>1,null!=u.F&&(u.J+=u.v),u.ka=A-u.j,u.U=u.va-u.v,u.T=P-A,c=u.put(u))}o+1!=s.Ic||b||(n(s.sa,s.ta-l,d,p+16*s.R,l),n(s.qa,s.ra-f,g,h+8*s.B,f),n(s.Ha,s.Ia-f,m,v+8*s.B,f))}if(!c)return Jt(t,6,"Output aborted.")}return 1}(t,r)),null!=r.bc&&r.bc(r),s&=1}return s?(t.cb=0,s):0}function te(t,e,r,n,i){i=t[e+r+32*n]+(i>>3),t[e+r+32*n]=-256&i?0>i?0:255:i}function ee(t,e,r,n,i,a){te(t,e,0,r,n+i),te(t,e,1,r,n+a),te(t,e,2,r,n-a),te(t,e,3,r,n-i)}function re(t){return(20091*t>>16)+t}function ne(t,e,r,n){var i,o=0,s=a(16);for(i=0;4>i;++i){var u=t[e+0]+t[e+8],c=t[e+0]-t[e+8],l=(35468*t[e+4]>>16)-re(t[e+12]),h=re(t[e+4])+(35468*t[e+12]>>16);s[o+0]=u+h,s[o+1]=c+l,s[o+2]=c-l,s[o+3]=u-h,o+=4,e++}for(i=o=0;4>i;++i)u=(t=s[o+0]+4)+s[o+8],c=t-s[o+8],l=(35468*s[o+4]>>16)-re(s[o+12]),te(r,n,0,0,u+(h=re(s[o+4])+(35468*s[o+12]>>16))),te(r,n,1,0,c+l),te(r,n,2,0,c-l),te(r,n,3,0,u-h),o++,n+=32}function ie(t,e,r,n){var i=t[e+0]+4,a=35468*t[e+4]>>16,o=re(t[e+4]),s=35468*t[e+1]>>16;ee(r,n,0,i+o,t=re(t[e+1]),s),ee(r,n,1,i+a,t,s),ee(r,n,2,i-a,t,s),ee(r,n,3,i-o,t,s)}function ae(t,e,r,n,i){ne(t,e,r,n),i&&ne(t,e+16,r,n+4)}function oe(t,e,r,n){on(t,e+0,r,n,1),on(t,e+32,r,n+128,1)}function se(t,e,r,n){var i;for(t=t[e+0]+4,i=0;4>i;++i)for(e=0;4>e;++e)te(r,n,e,i,t)}function ue(t,e,r,n){t[e+0]&&cn(t,e+0,r,n),t[e+16]&&cn(t,e+16,r,n+4),t[e+32]&&cn(t,e+32,r,n+128),t[e+48]&&cn(t,e+48,r,n+128+4)}function ce(t,e,r,n){var i,o=a(16);for(i=0;4>i;++i){var s=t[e+0+i]+t[e+12+i],u=t[e+4+i]+t[e+8+i],c=t[e+4+i]-t[e+8+i],l=t[e+0+i]-t[e+12+i];o[0+i]=s+u,o[8+i]=s-u,o[4+i]=l+c,o[12+i]=l-c}for(i=0;4>i;++i)s=(t=o[0+4*i]+3)+o[3+4*i],u=o[1+4*i]+o[2+4*i],c=o[1+4*i]-o[2+4*i],l=t-o[3+4*i],r[n+0]=s+u>>3,r[n+16]=l+c>>3,r[n+32]=s-u>>3,r[n+48]=l-c>>3,n+=64}function le(t,e,r){var n,i=e-32,a=Bn,o=255-t[i-1];for(n=0;n<r;++n){var s,u=a,c=o+t[e-1];for(s=0;s<r;++s)t[e+s]=u[c+t[i+s]];e+=32}}function he(t,e){le(t,e,4)}function fe(t,e){le(t,e,8)}function de(t,e){le(t,e,16)}function pe(t,e){var r;for(r=0;16>r;++r)n(t,e+32*r,t,e-32,16)}function ge(t,e){var r;for(r=16;0<r;--r)i(t,e,t[e-1],16),e+=32}function me(t,e,r){var n;for(n=0;16>n;++n)i(e,r+32*n,t,16)}function ve(t,e){var r,n=16;for(r=0;16>r;++r)n+=t[e-1+32*r]+t[e+r-32];me(n>>5,t,e)}function be(t,e){var r,n=8;for(r=0;16>r;++r)n+=t[e-1+32*r];me(n>>4,t,e)}function ye(t,e){var r,n=8;for(r=0;16>r;++r)n+=t[e+r-32];me(n>>4,t,e)}function we(t,e){me(128,t,e)}function Ne(t,e,r){return t+2*e+r+2>>2}function Ae(t,e){var r,i=e-32;i=new Uint8Array([Ne(t[i-1],t[i+0],t[i+1]),Ne(t[i+0],t[i+1],t[i+2]),Ne(t[i+1],t[i+2],t[i+3]),Ne(t[i+2],t[i+3],t[i+4])]);for(r=0;4>r;++r)n(t,e+32*r,i,0,i.length)}function Le(t,e){var r=t[e-1],n=t[e-1+32],i=t[e-1+64],a=t[e-1+96];F(t,e+0,16843009*Ne(t[e-1-32],r,n)),F(t,e+32,16843009*Ne(r,n,i)),F(t,e+64,16843009*Ne(n,i,a)),F(t,e+96,16843009*Ne(i,a,a))}function xe(t,e){var r,n=4;for(r=0;4>r;++r)n+=t[e+r-32]+t[e-1+32*r];for(n>>=3,r=0;4>r;++r)i(t,e+32*r,n,4)}function Se(t,e){var r=t[e-1+0],n=t[e-1+32],i=t[e-1+64],a=t[e-1-32],o=t[e+0-32],s=t[e+1-32],u=t[e+2-32],c=t[e+3-32];t[e+0+96]=Ne(n,i,t[e-1+96]),t[e+1+96]=t[e+0+64]=Ne(r,n,i),t[e+2+96]=t[e+1+64]=t[e+0+32]=Ne(a,r,n),t[e+3+96]=t[e+2+64]=t[e+1+32]=t[e+0+0]=Ne(o,a,r),t[e+3+64]=t[e+2+32]=t[e+1+0]=Ne(s,o,a),t[e+3+32]=t[e+2+0]=Ne(u,s,o),t[e+3+0]=Ne(c,u,s)}function _e(t,e){var r=t[e+1-32],n=t[e+2-32],i=t[e+3-32],a=t[e+4-32],o=t[e+5-32],s=t[e+6-32],u=t[e+7-32];t[e+0+0]=Ne(t[e+0-32],r,n),t[e+1+0]=t[e+0+32]=Ne(r,n,i),t[e+2+0]=t[e+1+32]=t[e+0+64]=Ne(n,i,a),t[e+3+0]=t[e+2+32]=t[e+1+64]=t[e+0+96]=Ne(i,a,o),t[e+3+32]=t[e+2+64]=t[e+1+96]=Ne(a,o,s),t[e+3+64]=t[e+2+96]=Ne(o,s,u),t[e+3+96]=Ne(s,u,u)}function Pe(t,e){var r=t[e-1+0],n=t[e-1+32],i=t[e-1+64],a=t[e-1-32],o=t[e+0-32],s=t[e+1-32],u=t[e+2-32],c=t[e+3-32];t[e+0+0]=t[e+1+64]=a+o+1>>1,t[e+1+0]=t[e+2+64]=o+s+1>>1,t[e+2+0]=t[e+3+64]=s+u+1>>1,t[e+3+0]=u+c+1>>1,t[e+0+96]=Ne(i,n,r),t[e+0+64]=Ne(n,r,a),t[e+0+32]=t[e+1+96]=Ne(r,a,o),t[e+1+32]=t[e+2+96]=Ne(a,o,s),t[e+2+32]=t[e+3+96]=Ne(o,s,u),t[e+3+32]=Ne(s,u,c)}function ke(t,e){var r=t[e+0-32],n=t[e+1-32],i=t[e+2-32],a=t[e+3-32],o=t[e+4-32],s=t[e+5-32],u=t[e+6-32],c=t[e+7-32];t[e+0+0]=r+n+1>>1,t[e+1+0]=t[e+0+64]=n+i+1>>1,t[e+2+0]=t[e+1+64]=i+a+1>>1,t[e+3+0]=t[e+2+64]=a+o+1>>1,t[e+0+32]=Ne(r,n,i),t[e+1+32]=t[e+0+96]=Ne(n,i,a),t[e+2+32]=t[e+1+96]=Ne(i,a,o),t[e+3+32]=t[e+2+96]=Ne(a,o,s),t[e+3+64]=Ne(o,s,u),t[e+3+96]=Ne(s,u,c)}function Fe(t,e){var r=t[e-1+0],n=t[e-1+32],i=t[e-1+64],a=t[e-1+96];t[e+0+0]=r+n+1>>1,t[e+2+0]=t[e+0+32]=n+i+1>>1,t[e+2+32]=t[e+0+64]=i+a+1>>1,t[e+1+0]=Ne(r,n,i),t[e+3+0]=t[e+1+32]=Ne(n,i,a),t[e+3+32]=t[e+1+64]=Ne(i,a,a),t[e+3+64]=t[e+2+64]=t[e+0+96]=t[e+1+96]=t[e+2+96]=t[e+3+96]=a}function Ie(t,e){var r=t[e-1+0],n=t[e-1+32],i=t[e-1+64],a=t[e-1+96],o=t[e-1-32],s=t[e+0-32],u=t[e+1-32],c=t[e+2-32];t[e+0+0]=t[e+2+32]=r+o+1>>1,t[e+0+32]=t[e+2+64]=n+r+1>>1,t[e+0+64]=t[e+2+96]=i+n+1>>1,t[e+0+96]=a+i+1>>1,t[e+3+0]=Ne(s,u,c),t[e+2+0]=Ne(o,s,u),t[e+1+0]=t[e+3+32]=Ne(r,o,s),t[e+1+32]=t[e+3+64]=Ne(n,r,o),t[e+1+64]=t[e+3+96]=Ne(i,n,r),t[e+1+96]=Ne(a,i,n)}function Ce(t,e){var r;for(r=0;8>r;++r)n(t,e+32*r,t,e-32,8)}function je(t,e){var r;for(r=0;8>r;++r)i(t,e,t[e-1],8),e+=32}function Oe(t,e,r){var n;for(n=0;8>n;++n)i(e,r+32*n,t,8)}function Be(t,e){var r,n=8;for(r=0;8>r;++r)n+=t[e+r-32]+t[e-1+32*r];Oe(n>>4,t,e)}function Me(t,e){var r,n=4;for(r=0;8>r;++r)n+=t[e+r-32];Oe(n>>3,t,e)}function Ee(t,e){var r,n=4;for(r=0;8>r;++r)n+=t[e-1+32*r];Oe(n>>3,t,e)}function qe(t,e){Oe(128,t,e)}function Re(t,e,r){var n=t[e-r],i=t[e+0],a=3*(i-n)+jn[1020+t[e-2*r]-t[e+r]],o=On[112+(a+4>>3)];t[e-r]=Bn[255+n+On[112+(a+3>>3)]],t[e+0]=Bn[255+i-o]}function Te(t,e,r,n){var i=t[e+0],a=t[e+r];return Mn[255+t[e-2*r]-t[e-r]]>n||Mn[255+a-i]>n}function De(t,e,r,n){return 4*Mn[255+t[e-r]-t[e+0]]+Mn[255+t[e-2*r]-t[e+r]]<=n}function Ue(t,e,r,n,i){var a=t[e-3*r],o=t[e-2*r],s=t[e-r],u=t[e+0],c=t[e+r],l=t[e+2*r],h=t[e+3*r];return 4*Mn[255+s-u]+Mn[255+o-c]>n?0:Mn[255+t[e-4*r]-a]<=i&&Mn[255+a-o]<=i&&Mn[255+o-s]<=i&&Mn[255+h-l]<=i&&Mn[255+l-c]<=i&&Mn[255+c-u]<=i}function ze(t,e,r,n){var i=2*n+1;for(n=0;16>n;++n)De(t,e+n,r,i)&&Re(t,e+n,r)}function He(t,e,r,n){var i=2*n+1;for(n=0;16>n;++n)De(t,e+n*r,1,i)&&Re(t,e+n*r,1)}function We(t,e,r,n){var i;for(i=3;0<i;--i)ze(t,e+=4*r,r,n)}function Ve(t,e,r,n){var i;for(i=3;0<i;--i)He(t,e+=4,r,n)}function Ge(t,e,r,n,i,a,o,s){for(a=2*a+1;0<i--;){if(Ue(t,e,r,a,o))if(Te(t,e,r,s))Re(t,e,r);else{var u=t,c=e,l=r,h=u[c-2*l],f=u[c-l],d=u[c+0],p=u[c+l],g=u[c+2*l],m=27*(b=jn[1020+3*(d-f)+jn[1020+h-p]])+63>>7,v=18*b+63>>7,b=9*b+63>>7;u[c-3*l]=Bn[255+u[c-3*l]+b],u[c-2*l]=Bn[255+h+v],u[c-l]=Bn[255+f+m],u[c+0]=Bn[255+d-m],u[c+l]=Bn[255+p-v],u[c+2*l]=Bn[255+g-b]}e+=n}}function Ye(t,e,r,n,i,a,o,s){for(a=2*a+1;0<i--;){if(Ue(t,e,r,a,o))if(Te(t,e,r,s))Re(t,e,r);else{var u=t,c=e,l=r,h=u[c-l],f=u[c+0],d=u[c+l],p=On[112+((g=3*(f-h))+4>>3)],g=On[112+(g+3>>3)],m=p+1>>1;u[c-2*l]=Bn[255+u[c-2*l]+m],u[c-l]=Bn[255+h+g],u[c+0]=Bn[255+f-p],u[c+l]=Bn[255+d-m]}e+=n}}function Je(t,e,r,n,i,a){Ge(t,e,r,1,16,n,i,a)}function Xe(t,e,r,n,i,a){Ge(t,e,1,r,16,n,i,a)}function Ke(t,e,r,n,i,a){var o;for(o=3;0<o;--o)Ye(t,e+=4*r,r,1,16,n,i,a)}function Ze(t,e,r,n,i,a){var o;for(o=3;0<o;--o)Ye(t,e+=4,1,r,16,n,i,a)}function $e(t,e,r,n,i,a,o,s){Ge(t,e,i,1,8,a,o,s),Ge(r,n,i,1,8,a,o,s)}function Qe(t,e,r,n,i,a,o,s){Ge(t,e,1,i,8,a,o,s),Ge(r,n,1,i,8,a,o,s)}function tr(t,e,r,n,i,a,o,s){Ye(t,e+4*i,i,1,8,a,o,s),Ye(r,n+4*i,i,1,8,a,o,s)}function er(t,e,r,n,i,a,o,s){Ye(t,e+4,1,i,8,a,o,s),Ye(r,n+4,1,i,8,a,o,s)}function rr(){this.ba=new ot,this.ec=[],this.cc=[],this.Mc=[],this.Dc=this.Nc=this.dc=this.fc=0,this.Oa=new ut,this.memory=0,this.Ib="OutputFunc",this.Jb="OutputAlphaFunc",this.Nd="OutputRowFunc"}function nr(){this.data=[],this.offset=this.kd=this.ha=this.w=0,this.na=[],this.xa=this.gb=this.Ja=this.Sa=this.P=0}function ir(){this.nc=this.Ea=this.b=this.hc=0,this.K=[],this.w=0}function ar(){this.ua=0,this.Wa=new M,this.vb=new M,this.md=this.xc=this.wc=0,this.vc=[],this.Wb=0,this.Ya=new d,this.yc=new h}function or(){this.xb=this.a=0,this.l=new Gt,this.ca=new ot,this.V=[],this.Ba=0,this.Ta=[],this.Ua=0,this.m=new N,this.Pb=0,this.wd=new N,this.Ma=this.$=this.C=this.i=this.c=this.xd=0,this.s=new ar,this.ab=0,this.gc=o(4,ir),this.Oc=0}function sr(){this.Lc=this.Z=this.$a=this.i=this.c=0,this.l=new Gt,this.ic=0,this.ca=[],this.tb=0,this.qd=null,this.rd=0}function ur(t,e,r,n,i,a,o){for(t=null==t?0:t[e+0],e=0;e<o;++e)i[a+e]=t+r[n+e]&255,t=i[a+e]}function cr(t,e,r,n,i,a,o){var s;if(null==t)ur(null,null,r,n,i,a,o);else for(s=0;s<o;++s)i[a+s]=t[e+s]+r[n+s]&255}function lr(t,e,r,n,i,a,o){if(null==t)ur(null,null,r,n,i,a,o);else{var s,u=t[e+0],c=u,l=u;for(s=0;s<o;++s)c=l+(u=t[e+s])-c,l=r[n+s]+(-256&c?0>c?0:255:c)&255,c=u,i[a+s]=l}}function hr(t,r,i,o){var s=r.width,u=r.o;if(e(null!=t&&null!=r),0>i||0>=o||i+o>u)return null;if(!t.Cc){if(null==t.ga){var c;if(t.ga=new sr,(c=null==t.ga)||(c=r.width*r.o,e(0==t.Gb.length),t.Gb=a(c),t.Uc=0,null==t.Gb?c=0:(t.mb=t.Gb,t.nb=t.Uc,t.rc=null,c=1),c=!c),!c){c=t.ga;var l=t.Fa,h=t.P,f=t.qc,d=t.mb,p=t.nb,g=h+1,m=f-1,b=c.l;if(e(null!=l&&null!=d&&null!=r),mi[0]=null,mi[1]=ur,mi[2]=cr,mi[3]=lr,c.ca=d,c.tb=p,c.c=r.width,c.i=r.height,e(0<c.c&&0<c.i),1>=f)r=0;else if(c.$a=l[h+0]>>0&3,c.Z=l[h+0]>>2&3,c.Lc=l[h+0]>>4&3,h=l[h+0]>>6&3,0>c.$a||1<c.$a||4<=c.Z||1<c.Lc||h)r=0;else if(b.put=dt,b.ac=ft,b.bc=pt,b.ma=c,b.width=r.width,b.height=r.height,b.Da=r.Da,b.v=r.v,b.va=r.va,b.j=r.j,b.o=r.o,c.$a)t:{e(1==c.$a),r=kt();e:for(;;){if(null==r){r=0;break t}if(e(null!=c),c.mc=r,r.c=c.c,r.i=c.i,r.l=c.l,r.l.ma=c,r.l.width=c.c,r.l.height=c.i,r.a=0,v(r.m,l,g,m),!Ft(c.c,c.i,1,r,null))break e;if(1==r.ab&&3==r.gc[0].hc&&Lt(r.s)?(c.ic=1,l=r.c*r.i,r.Ta=null,r.Ua=0,r.V=a(l),r.Ba=0,null==r.V?(r.a=1,r=0):r=1):(c.ic=0,r=It(r,c.c)),!r)break e;r=1;break t}c.mc=null,r=0}else r=m>=c.c*c.i;c=!r}if(c)return null;1!=t.ga.Lc?t.Ga=0:o=u-i}e(null!=t.ga),e(i+o<=u);t:{if(r=(l=t.ga).c,u=l.l.o,0==l.$a){if(g=t.rc,m=t.Vc,b=t.Fa,h=t.P+1+i*r,f=t.mb,d=t.nb+i*r,e(h<=t.P+t.qc),0!=l.Z)for(e(null!=mi[l.Z]),c=0;c<o;++c)mi[l.Z](g,m,b,h,f,d,r),g=f,m=d,d+=r,h+=r;else for(c=0;c<o;++c)n(f,d,b,h,r),g=f,m=d,d+=r,h+=r;t.rc=g,t.Vc=m}else{if(e(null!=l.mc),r=i+o,e(null!=(c=l.mc)),e(r<=c.i),c.C>=r)r=1;else if(l.ic||mr(),l.ic){l=c.V,g=c.Ba,m=c.c;var y=c.i,w=(b=1,h=c.$/m,f=c.$%m,d=c.m,p=c.s,c.$),N=m*y,A=m*r,x=p.wc,_=w<A?wt(p,f,h):null;e(w<=N),e(r<=y),e(Lt(p));e:for(;;){for(;!d.h&&w<A;){if(f&x||(_=wt(p,f,h)),e(null!=_),S(d),256>(y=bt(_.G[0],_.H[0],d)))l[g+w]=y,++w,++f>=m&&(f=0,++h<=r&&!(h%16)&&St(c,h));else{if(!(280>y)){b=0;break e}y=mt(y-256,d);var P,k=bt(_.G[4],_.H[4],d);if(S(d),!(w>=(k=vt(m,k=mt(k,d)))&&N-w>=y)){b=0;break e}for(P=0;P<y;++P)l[g+w+P]=l[g+w+P-k];for(w+=y,f+=y;f>=m;)f-=m,++h<=r&&!(h%16)&&St(c,h);w<A&&f&x&&(_=wt(p,f,h))}e(d.h==L(d))}St(c,h>r?r:h);break e}!b||d.h&&w<N?(b=0,c.a=d.h?5:3):c.$=w,r=b}else r=_t(c,c.V,c.Ba,c.c,c.i,r,Ct);if(!r){o=0;break t}}i+o>=u&&(t.Cc=1),o=1}if(!o)return null;if(t.Cc&&(null!=(o=t.ga)&&(o.mc=null),t.ga=null,0<t.Ga))return alert("todo:WebPDequantizeLevels"),null}return t.nb+i*s}function fr(t,e,r,n,i,a){for(;0<i--;){var o,s=t,u=e+(r?1:0),c=t,l=e+(r?0:3);for(o=0;o<n;++o){var h=c[l+4*o];255!=h&&(h*=32897,s[u+4*o+0]=s[u+4*o+0]*h>>23,s[u+4*o+1]=s[u+4*o+1]*h>>23,s[u+4*o+2]=s[u+4*o+2]*h>>23)}e+=a}}function dr(t,e,r,n,i){for(;0<n--;){var a;for(a=0;a<r;++a){var o=t[e+2*a+0],s=15&(c=t[e+2*a+1]),u=4369*s,c=(240&c|c>>4)*u>>16;t[e+2*a+0]=(240&o|o>>4)*u>>16&240|(15&o|o<<4)*u>>16>>4&15,t[e+2*a+1]=240&c|s}e+=i}}function pr(t,e,r,n,i,a,o,s){var u,c,l=255;for(c=0;c<i;++c){for(u=0;u<n;++u){var h=t[e+u];a[o+4*u]=h,l&=h}e+=r,o+=s}return 255!=l}function gr(t,e,r,n,i){var a;for(a=0;a<i;++a)r[n+a]=t[e+a]>>8}function mr(){Ln=fr,xn=dr,Sn=pr,_n=gr}function vr(r,n,i){t[r]=function(t,r,a,o,s,u,c,l,h,f,d,p,g,m,v,b,y){var w,N=y-1>>1,A=s[u+0]|c[l+0]<<16,L=h[f+0]|d[p+0]<<16;e(null!=t);var x=3*A+L+131074>>2;for(n(t[r+0],255&x,x>>16,g,m),null!=a&&(x=3*L+A+131074>>2,n(a[o+0],255&x,x>>16,v,b)),w=1;w<=N;++w){var S=s[u+w]|c[l+w]<<16,_=h[f+w]|d[p+w]<<16,P=A+S+L+_+524296,k=P+2*(S+L)>>3;x=k+A>>1,A=(P=P+2*(A+_)>>3)+S>>1,n(t[r+2*w-1],255&x,x>>16,g,m+(2*w-1)*i),n(t[r+2*w-0],255&A,A>>16,g,m+(2*w-0)*i),null!=a&&(x=P+L>>1,A=k+_>>1,n(a[o+2*w-1],255&x,x>>16,v,b+(2*w-1)*i),n(a[o+2*w+0],255&A,A>>16,v,b+(2*w+0)*i)),A=S,L=_}1&y||(x=3*A+L+131074>>2,n(t[r+y-1],255&x,x>>16,g,m+(y-1)*i),null!=a&&(x=3*L+A+131074>>2,n(a[o+y-1],255&x,x>>16,v,b+(y-1)*i)))}}function br(){vi[En]=bi,vi[qn]=wi,vi[Rn]=yi,vi[Tn]=Ni,vi[Dn]=Ai,vi[Un]=Li,vi[zn]=xi,vi[Hn]=wi,vi[Wn]=Ni,vi[Vn]=Ai,vi[Gn]=Li}function yr(t){return t&~Ii?0>t?0:255:t>>Fi}function wr(t,e){return yr((19077*t>>8)+(26149*e>>8)-14234)}function Nr(t,e,r){return yr((19077*t>>8)-(6419*e>>8)-(13320*r>>8)+8708)}function Ar(t,e){return yr((19077*t>>8)+(33050*e>>8)-17685)}function Lr(t,e,r,n,i){n[i+0]=wr(t,r),n[i+1]=Nr(t,e,r),n[i+2]=Ar(t,e)}function xr(t,e,r,n,i){n[i+0]=Ar(t,e),n[i+1]=Nr(t,e,r),n[i+2]=wr(t,r)}function Sr(t,e,r,n,i){var a=Nr(t,e,r);e=a<<3&224|Ar(t,e)>>3,n[i+0]=248&wr(t,r)|a>>5,n[i+1]=e}function _r(t,e,r,n,i){var a=240&Ar(t,e)|15;n[i+0]=240&wr(t,r)|Nr(t,e,r)>>4,n[i+1]=a}function Pr(t,e,r,n,i){n[i+0]=255,Lr(t,e,r,n,i+1)}function kr(t,e,r,n,i){xr(t,e,r,n,i),n[i+3]=255}function Fr(t,e,r,n,i){Lr(t,e,r,n,i),n[i+3]=255}function Vt(t,e){return 0>t?0:t>e?e:t}function Ir(e,r,n){t[e]=function(t,e,i,a,o,s,u,c,l){for(var h=c+(-2&l)*n;c!=h;)r(t[e+0],i[a+0],o[s+0],u,c),r(t[e+1],i[a+0],o[s+0],u,c+n),e+=2,++a,++s,c+=2*n;1&l&&r(t[e+0],i[a+0],o[s+0],u,c)}}function Cr(t,e,r){return 0==r?0==t?0==e?6:5:0==e?4:0:r}function jr(t,e,r,n,i){switch(t>>>30){case 3:on(e,r,n,i,0);break;case 2:sn(e,r,n,i);break;case 1:cn(e,r,n,i)}}function Or(t,e){var r,a,o=e.M,s=e.Nb,u=t.oc,c=t.pc+40,l=t.oc,h=t.pc+584,f=t.oc,d=t.pc+600;for(r=0;16>r;++r)u[c+32*r-1]=129;for(r=0;8>r;++r)l[h+32*r-1]=129,f[d+32*r-1]=129;for(0<o?u[c-1-32]=l[h-1-32]=f[d-1-32]=129:(i(u,c-32-1,127,21),i(l,h-32-1,127,9),i(f,d-32-1,127,9)),a=0;a<t.za;++a){var p=e.ya[e.aa+a];if(0<a){for(r=-1;16>r;++r)n(u,c+32*r-4,u,c+32*r+12,4);for(r=-1;8>r;++r)n(l,h+32*r-4,l,h+32*r+4,4),n(f,d+32*r-4,f,d+32*r+4,4)}var g=t.Gd,m=t.Hd+a,v=p.ad,b=p.Hc;if(0<o&&(n(u,c-32,g[m].y,0,16),n(l,h-32,g[m].f,0,8),n(f,d-32,g[m].ea,0,8)),p.Za){var y=u,w=c-32+16;for(0<o&&(a>=t.za-1?i(y,w,g[m].y[15],4):n(y,w,g[m+1].y,0,4)),r=0;4>r;r++)y[w+128+r]=y[w+256+r]=y[w+384+r]=y[w+0+r];for(r=0;16>r;++r,b<<=2)y=u,w=c+Ri[r],fi[p.Ob[r]](y,w),jr(b,v,16*+r,y,w)}else if(y=Cr(a,o,p.Ob[0]),hi[y](u,c),0!=b)for(r=0;16>r;++r,b<<=2)jr(b,v,16*+r,u,c+Ri[r]);for(r=p.Gc,y=Cr(a,o,p.Dd),di[y](l,h),di[y](f,d),b=v,y=l,w=h,255&(p=r>>0)&&(170&p?un(b,256,y,w):ln(b,256,y,w)),p=f,b=d,255&(r>>=8)&&(170&r?un(v,320,p,b):ln(v,320,p,b)),o<t.Ub-1&&(n(g[m].y,0,u,c+480,16),n(g[m].f,0,l,h+224,8),n(g[m].ea,0,f,d+224,8)),r=8*s*t.B,g=t.sa,m=t.ta+16*a+16*s*t.R,v=t.qa,p=t.ra+8*a+r,b=t.Ha,y=t.Ia+8*a+r,r=0;16>r;++r)n(g,m+r*t.R,u,c+32*r,16);for(r=0;8>r;++r)n(v,p+r*t.B,l,h+32*r,8),n(b,y+r*t.B,f,d+32*r,8)}}function Br(t,n,i,a,o,s,u,c,l){var h=[0],f=[0],d=0,p=null!=l?l.kd:0,g=null!=l?l:new nr;if(null==t||12>i)return 7;g.data=t,g.w=n,g.ha=i,n=[n],i=[i],g.gb=[g.gb];t:{var m=n,b=i,y=g.gb;if(e(null!=t),e(null!=b),e(null!=y),y[0]=0,12<=b[0]&&!r(t,m[0],"RIFF")){if(r(t,m[0]+8,"WEBP")){y=3;break t}var w=j(t,m[0]+4);if(12>w||4294967286<w){y=3;break t}if(p&&w>b[0]-8){y=7;break t}y[0]=w,m[0]+=12,b[0]-=12}y=0}if(0!=y)return y;for(w=0<g.gb[0],i=i[0];;){t:{var A=t;b=n,y=i;var L=h,x=f,S=m=[0];if((k=d=[d])[0]=0,8>y[0])y=7;else{if(!r(A,b[0],"VP8X")){if(10!=j(A,b[0]+4)){y=3;break t}if(18>y[0]){y=7;break t}var _=j(A,b[0]+8),P=1+C(A,b[0]+12);if(2147483648<=P*(A=1+C(A,b[0]+15))){y=3;break t}null!=S&&(S[0]=_),null!=L&&(L[0]=P),null!=x&&(x[0]=A),b[0]+=18,y[0]-=18,k[0]=1}y=0}}if(d=d[0],m=m[0],0!=y)return y;if(b=!!(2&m),!w&&d)return 3;if(null!=s&&(s[0]=!!(16&m)),null!=u&&(u[0]=b),null!=c&&(c[0]=0),u=h[0],m=f[0],d&&b&&null==l){y=0;break}if(4>i){y=7;break}if(w&&d||!w&&!d&&!r(t,n[0],"ALPH")){i=[i],g.na=[g.na],g.P=[g.P],g.Sa=[g.Sa];t:{_=t,y=n,w=i;var k=g.gb;L=g.na,x=g.P,S=g.Sa;P=22,e(null!=_),e(null!=w),A=y[0];var F=w[0];for(e(null!=L),e(null!=S),L[0]=null,x[0]=null,S[0]=0;;){if(y[0]=A,w[0]=F,8>F){y=7;break t}var I=j(_,A+4);if(4294967286<I){y=3;break t}var O=8+I+1&-2;if(P+=O,0<k&&P>k){y=3;break t}if(!r(_,A,"VP8 ")||!r(_,A,"VP8L")){y=0;break t}if(F[0]<O){y=7;break t}r(_,A,"ALPH")||(L[0]=_,x[0]=A+8,S[0]=I),A+=O,F-=O}}if(i=i[0],g.na=g.na[0],g.P=g.P[0],g.Sa=g.Sa[0],0!=y)break}i=[i],g.Ja=[g.Ja],g.xa=[g.xa];t:if(k=t,y=n,w=i,L=g.gb[0],x=g.Ja,S=g.xa,_=y[0],A=!r(k,_,"VP8 "),P=!r(k,_,"VP8L"),e(null!=k),e(null!=w),e(null!=x),e(null!=S),8>w[0])y=7;else{if(A||P){if(k=j(k,_+4),12<=L&&k>L-12){y=3;break t}if(p&&k>w[0]-8){y=7;break t}x[0]=k,y[0]+=8,w[0]-=8,S[0]=P}else S[0]=5<=w[0]&&47==k[_+0]&&!(k[_+4]>>5),x[0]=w[0];y=0}if(i=i[0],g.Ja=g.Ja[0],g.xa=g.xa[0],n=n[0],0!=y)break;if(4294967286<g.Ja)return 3;if(null==c||b||(c[0]=g.xa?2:1),u=[u],m=[m],g.xa){if(5>i){y=7;break}c=u,p=m,b=s,null==t||5>i?t=0:5<=i&&47==t[n+0]&&!(t[n+4]>>5)?(w=[0],k=[0],L=[0],v(x=new N,t,n,i),gt(x,w,k,L)?(null!=c&&(c[0]=w[0]),null!=p&&(p[0]=k[0]),null!=b&&(b[0]=L[0]),t=1):t=0):t=0}else{if(10>i){y=7;break}c=m,null==t||10>i||!Xt(t,n+3,i-3)?t=0:(p=t[n+0]|t[n+1]<<8|t[n+2]<<16,b=16383&(t[n+7]<<8|t[n+6]),t=16383&(t[n+9]<<8|t[n+8]),1&p||3<(p>>1&7)||!(p>>4&1)||p>>5>=g.Ja||!b||!t?t=0:(u&&(u[0]=b),c&&(c[0]=t),t=1))}if(!t)return 3;if(u=u[0],m=m[0],d&&(h[0]!=u||f[0]!=m))return 3;null!=l&&(l[0]=g,l.offset=n-l.w,e(4294967286>n-l.w),e(l.offset==l.ha-i));break}return 0==y||7==y&&d&&null==l?(null!=s&&(s[0]|=null!=g.na&&0<g.na.length),null!=a&&(a[0]=u),null!=o&&(o[0]=m),0):y}function Mr(t,e,r){var n=e.width,i=e.height,a=0,o=0,s=n,u=i;if(e.Da=null!=t&&0<t.Da,e.Da&&(s=t.cd,u=t.bd,a=t.v,o=t.j,11>r||(a&=-2,o&=-2),0>a||0>o||0>=s||0>=u||a+s>n||o+u>i))return 0;if(e.v=a,e.j=o,e.va=a+s,e.o=o+u,e.U=s,e.T=u,e.da=null!=t&&0<t.da,e.da){if(!E(s,u,r=[t.ib],a=[t.hb]))return 0;e.ib=r[0],e.hb=a[0]}return e.ob=null!=t&&t.ob,e.Kb=null==t||!t.Sd,e.da&&(e.ob=e.ib<3*n/4&&e.hb<3*i/4,e.Kb=0),1}function Er(t){if(null==t)return 2;if(11>t.S){var e=t.f.RGBA;e.fb+=(t.height-1)*e.A,e.A=-e.A}else e=t.f.kb,t=t.height,e.O+=(t-1)*e.fa,e.fa=-e.fa,e.N+=(t-1>>1)*e.Ab,e.Ab=-e.Ab,e.W+=(t-1>>1)*e.Db,e.Db=-e.Db,null!=e.F&&(e.J+=(t-1)*e.lb,e.lb=-e.lb);return 0}function qr(t,e,r,n){if(null==n||0>=t||0>=e)return 2;if(null!=r){if(r.Da){var i=r.cd,o=r.bd,s=-2&r.v,u=-2&r.j;if(0>s||0>u||0>=i||0>=o||s+i>t||u+o>e)return 2;t=i,e=o}if(r.da){if(!E(t,e,i=[r.ib],o=[r.hb]))return 2;t=i[0],e=o[0]}}n.width=t,n.height=e;t:{var c=n.width,l=n.height;if(t=n.S,0>=c||0>=l||!(t>=En&&13>t))t=2;else{if(0>=n.Rd&&null==n.sd){s=o=i=e=0;var h=(u=c*zi[t])*l;if(11>t||(o=(l+1)/2*(e=(c+1)/2),12==t&&(s=(i=c)*l)),null==(l=a(h+2*o+s))){t=1;break t}n.sd=l,11>t?((c=n.f.RGBA).eb=l,c.fb=0,c.A=u,c.size=h):((c=n.f.kb).y=l,c.O=0,c.fa=u,c.Fd=h,c.f=l,c.N=0+h,c.Ab=e,c.Cd=o,c.ea=l,c.W=0+h+o,c.Db=e,c.Ed=o,12==t&&(c.F=l,c.J=0+h+2*o),c.Tc=s,c.lb=i)}if(e=1,i=n.S,o=n.width,s=n.height,i>=En&&13>i)if(11>i)t=n.f.RGBA,e&=(u=Math.abs(t.A))*(s-1)+o<=t.size,e&=u>=o*zi[i],e&=null!=t.eb;else{t=n.f.kb,u=(o+1)/2,h=(s+1)/2,c=Math.abs(t.fa);l=Math.abs(t.Ab);var f=Math.abs(t.Db),d=Math.abs(t.lb),p=d*(s-1)+o;e&=c*(s-1)+o<=t.Fd,e&=l*(h-1)+u<=t.Cd,e=(e&=f*(h-1)+u<=t.Ed)&c>=o&l>=u&f>=u,e&=null!=t.y,e&=null!=t.f,e&=null!=t.ea,12==i&&(e&=d>=o,e&=p<=t.Tc,e&=null!=t.F)}else e=0;t=e?0:2}}return 0!=t||null!=r&&r.fd&&(t=Er(n)),t}var Rr=64,Tr=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535,131071,262143,524287,1048575,2097151,4194303,8388607,16777215],Dr=24,Ur=32,zr=8,Hr=[0,0,1,1,2,2,2,2,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7];T("Predictor0","PredictorAdd0"),t.Predictor0=function(){return 4278190080},t.Predictor1=function(t){return t},t.Predictor2=function(t,e,r){return e[r+0]},t.Predictor3=function(t,e,r){return e[r+1]},t.Predictor4=function(t,e,r){return e[r-1]},t.Predictor5=function(t,e,r){return U(U(t,e[r+1]),e[r+0])},t.Predictor6=function(t,e,r){return U(t,e[r-1])},t.Predictor7=function(t,e,r){return U(t,e[r+0])},t.Predictor8=function(t,e,r){return U(e[r-1],e[r+0])},t.Predictor9=function(t,e,r){return U(e[r+0],e[r+1])},t.Predictor10=function(t,e,r){return U(U(t,e[r-1]),U(e[r+0],e[r+1]))},t.Predictor11=function(t,e,r){var n=e[r+0];return 0>=W(n>>24&255,t>>24&255,(e=e[r-1])>>24&255)+W(n>>16&255,t>>16&255,e>>16&255)+W(n>>8&255,t>>8&255,e>>8&255)+W(255&n,255&t,255&e)?n:t},t.Predictor12=function(t,e,r){var n=e[r+0];return(z((t>>24&255)+(n>>24&255)-((e=e[r-1])>>24&255))<<24|z((t>>16&255)+(n>>16&255)-(e>>16&255))<<16|z((t>>8&255)+(n>>8&255)-(e>>8&255))<<8|z((255&t)+(255&n)-(255&e)))>>>0},t.Predictor13=function(t,e,r){var n=e[r-1];return(H((t=U(t,e[r+0]))>>24&255,n>>24&255)<<24|H(t>>16&255,n>>16&255)<<16|H(t>>8&255,n>>8&255)<<8|H(t>>0&255,n>>0&255))>>>0};var Wr=t.PredictorAdd0;t.PredictorAdd1=V,T("Predictor2","PredictorAdd2"),T("Predictor3","PredictorAdd3"),T("Predictor4","PredictorAdd4"),T("Predictor5","PredictorAdd5"),T("Predictor6","PredictorAdd6"),T("Predictor7","PredictorAdd7"),T("Predictor8","PredictorAdd8"),T("Predictor9","PredictorAdd9"),T("Predictor10","PredictorAdd10"),T("Predictor11","PredictorAdd11"),T("Predictor12","PredictorAdd12"),T("Predictor13","PredictorAdd13");var Vr=t.PredictorAdd2;X("ColorIndexInverseTransform","MapARGB","32b",(function(t){return t>>8&255}),(function(t){return t})),X("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",(function(t){return t}),(function(t){return t>>8&255}));var Gr,Yr=t.ColorIndexInverseTransform,Jr=t.MapARGB,Xr=t.VP8LColorIndexInverseTransformAlpha,Kr=t.MapAlpha,Zr=t.VP8LPredictorsAdd=[];Zr.length=16,(t.VP8LPredictors=[]).length=16,(t.VP8LPredictorsAdd_C=[]).length=16,(t.VP8LPredictors_C=[]).length=16;var $r,Qr,tn,en,rn,nn,an,on,sn,un,cn,ln,hn,fn,dn,pn,gn,mn,vn,bn,yn,wn,Nn,An,Ln,xn,Sn,_n,Pn=a(511),kn=a(2041),Fn=a(225),In=a(767),Cn=0,jn=kn,On=Fn,Bn=In,Mn=Pn,En=0,qn=1,Rn=2,Tn=3,Dn=4,Un=5,zn=6,Hn=7,Wn=8,Vn=9,Gn=10,Yn=[2,3,7],Jn=[3,3,11],Xn=[280,256,256,256,40],Kn=[0,1,1,1,0],Zn=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],$n=[24,7,23,25,40,6,39,41,22,26,38,42,56,5,55,57,21,27,54,58,37,43,72,4,71,73,20,28,53,59,70,74,36,44,88,69,75,52,60,3,87,89,19,29,86,90,35,45,68,76,85,91,51,61,104,2,103,105,18,30,102,106,34,46,84,92,67,77,101,107,50,62,120,1,119,121,83,93,17,31,100,108,66,78,118,122,33,47,117,123,49,63,99,109,82,94,0,116,124,65,79,16,32,98,110,48,115,125,81,95,64,114,126,97,111,80,113,127,96,112],Qn=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],ti=8,ei=[4,5,6,7,8,9,10,10,11,12,13,14,15,16,17,17,18,19,20,20,21,21,22,22,23,23,24,25,25,26,27,28,29,30,31,32,33,34,35,36,37,37,38,39,40,41,42,43,44,45,46,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,76,77,78,79,80,81,82,83,84,85,86,87,88,89,91,93,95,96,98,100,101,102,104,106,108,110,112,114,116,118,122,124,126,128,130,132,134,136,138,140,143,145,148,151,154,157],ri=[4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,119,122,125,128,131,134,137,140,143,146,149,152,155,158,161,164,167,170,173,177,181,185,189,193,197,201,205,209,213,217,221,225,229,234,239,245,249,254,259,264,269,274,279,284],ni=null,ii=[[173,148,140,0],[176,155,140,135,0],[180,157,141,134,130,0],[254,254,243,230,196,177,153,140,133,130,129,0]],ai=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],oi=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],si=[[[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]],[[253,136,254,255,228,219,128,128,128,128,128],[189,129,242,255,227,213,255,219,128,128,128],[106,126,227,252,214,209,255,255,128,128,128]],[[1,98,248,255,236,226,255,255,128,128,128],[181,133,238,254,221,234,255,154,128,128,128],[78,134,202,247,198,180,255,219,128,128,128]],[[1,185,249,255,243,255,128,128,128,128,128],[184,150,247,255,236,224,128,128,128,128,128],[77,110,216,255,236,230,128,128,128,128,128]],[[1,101,251,255,241,255,128,128,128,128,128],[170,139,241,252,236,209,255,255,128,128,128],[37,116,196,243,228,255,255,255,128,128,128]],[[1,204,254,255,245,255,128,128,128,128,128],[207,160,250,255,238,128,128,128,128,128,128],[102,103,231,255,211,171,128,128,128,128,128]],[[1,152,252,255,240,255,128,128,128,128,128],[177,135,243,255,234,225,128,128,128,128,128],[80,129,211,255,194,224,128,128,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[246,1,255,128,128,128,128,128,128,128,128],[255,128,128,128,128,128,128,128,128,128,128]]],[[[198,35,237,223,193,187,162,160,145,155,62],[131,45,198,221,172,176,220,157,252,221,1],[68,47,146,208,149,167,221,162,255,223,128]],[[1,149,241,255,221,224,255,255,128,128,128],[184,141,234,253,222,220,255,199,128,128,128],[81,99,181,242,176,190,249,202,255,255,128]],[[1,129,232,253,214,197,242,196,255,255,128],[99,121,210,250,201,198,255,202,128,128,128],[23,91,163,242,170,187,247,210,255,255,128]],[[1,200,246,255,234,255,128,128,128,128,128],[109,178,241,255,231,245,255,255,128,128,128],[44,130,201,253,205,192,255,255,128,128,128]],[[1,132,239,251,219,209,255,165,128,128,128],[94,136,225,251,218,190,255,255,128,128,128],[22,100,174,245,186,161,255,199,128,128,128]],[[1,182,249,255,232,235,128,128,128,128,128],[124,143,241,255,227,234,128,128,128,128,128],[35,77,181,251,193,211,255,205,128,128,128]],[[1,157,247,255,236,231,255,255,128,128,128],[121,141,235,255,225,227,255,255,128,128,128],[45,99,188,251,195,217,255,224,128,128,128]],[[1,1,251,255,213,255,128,128,128,128,128],[203,1,248,255,255,128,128,128,128,128,128],[137,1,177,255,224,255,128,128,128,128,128]]],[[[253,9,248,251,207,208,255,192,128,128,128],[175,13,224,243,193,185,249,198,255,255,128],[73,17,171,221,161,179,236,167,255,234,128]],[[1,95,247,253,212,183,255,255,128,128,128],[239,90,244,250,211,209,255,255,128,128,128],[155,77,195,248,188,195,255,255,128,128,128]],[[1,24,239,251,218,219,255,205,128,128,128],[201,51,219,255,196,186,128,128,128,128,128],[69,46,190,239,201,218,255,228,128,128,128]],[[1,191,251,255,255,128,128,128,128,128,128],[223,165,249,255,213,255,128,128,128,128,128],[141,124,248,255,255,128,128,128,128,128,128]],[[1,16,248,255,255,128,128,128,128,128,128],[190,36,230,255,236,255,128,128,128,128,128],[149,1,255,128,128,128,128,128,128,128,128]],[[1,226,255,128,128,128,128,128,128,128,128],[247,192,255,128,128,128,128,128,128,128,128],[240,128,255,128,128,128,128,128,128,128,128]],[[1,134,252,255,255,128,128,128,128,128,128],[213,62,250,255,255,128,128,128,128,128,128],[55,93,255,128,128,128,128,128,128,128,128]],[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]]],[[[202,24,213,235,186,191,220,160,240,175,255],[126,38,182,232,169,184,228,174,255,187,128],[61,46,138,219,151,178,240,170,255,216,128]],[[1,112,230,250,199,191,247,159,255,255,128],[166,109,228,252,211,215,255,174,128,128,128],[39,77,162,232,172,180,245,178,255,255,128]],[[1,52,220,246,198,199,249,220,255,255,128],[124,74,191,243,183,193,250,221,255,255,128],[24,71,130,219,154,170,243,182,255,255,128]],[[1,182,225,249,219,240,255,224,128,128,128],[149,150,226,252,216,205,255,171,128,128,128],[28,108,170,242,183,194,254,223,255,255,128]],[[1,81,230,252,204,203,255,192,128,128,128],[123,102,209,247,188,196,255,233,128,128,128],[20,95,153,243,164,173,255,203,128,128,128]],[[1,222,248,255,216,213,128,128,128,128,128],[168,175,246,252,235,205,255,255,128,128,128],[47,116,215,255,211,212,255,255,128,128,128]],[[1,121,236,253,212,214,255,255,128,128,128],[141,84,213,252,201,202,255,219,128,128,128],[42,80,160,240,162,185,255,205,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[244,1,255,128,128,128,128,128,128,128,128],[238,1,255,128,128,128,128,128,128,128,128]]]],ui=[[[231,120,48,89,115,113,120,152,112],[152,179,64,126,170,118,46,70,95],[175,69,143,80,85,82,72,155,103],[56,58,10,171,218,189,17,13,152],[114,26,17,163,44,195,21,10,173],[121,24,80,195,26,62,44,64,85],[144,71,10,38,171,213,144,34,26],[170,46,55,19,136,160,33,206,71],[63,20,8,114,114,208,12,9,226],[81,40,11,96,182,84,29,16,36]],[[134,183,89,137,98,101,106,165,148],[72,187,100,130,157,111,32,75,80],[66,102,167,99,74,62,40,234,128],[41,53,9,178,241,141,26,8,107],[74,43,26,146,73,166,49,23,157],[65,38,105,160,51,52,31,115,128],[104,79,12,27,217,255,87,17,7],[87,68,71,44,114,51,15,186,23],[47,41,14,110,182,183,21,17,194],[66,45,25,102,197,189,23,18,22]],[[88,88,147,150,42,46,45,196,205],[43,97,183,117,85,38,35,179,61],[39,53,200,87,26,21,43,232,171],[56,34,51,104,114,102,29,93,77],[39,28,85,171,58,165,90,98,64],[34,22,116,206,23,34,43,166,73],[107,54,32,26,51,1,81,43,31],[68,25,106,22,64,171,36,225,114],[34,19,21,102,132,188,16,76,124],[62,18,78,95,85,57,50,48,51]],[[193,101,35,159,215,111,89,46,111],[60,148,31,172,219,228,21,18,111],[112,113,77,85,179,255,38,120,114],[40,42,1,196,245,209,10,25,109],[88,43,29,140,166,213,37,43,154],[61,63,30,155,67,45,68,1,209],[100,80,8,43,154,1,51,26,71],[142,78,78,16,255,128,34,197,171],[41,40,5,102,211,183,4,1,221],[51,50,17,168,209,192,23,25,82]],[[138,31,36,171,27,166,38,44,229],[67,87,58,169,82,115,26,59,179],[63,59,90,180,59,166,93,73,154],[40,40,21,116,143,209,34,39,175],[47,15,16,183,34,223,49,45,183],[46,17,33,183,6,98,15,32,183],[57,46,22,24,128,1,54,17,37],[65,32,73,115,28,128,23,128,205],[40,3,9,115,51,192,18,6,223],[87,37,9,115,59,77,64,21,47]],[[104,55,44,218,9,54,53,130,226],[64,90,70,205,40,41,23,26,57],[54,57,112,184,5,41,38,166,213],[30,34,26,133,152,116,10,32,134],[39,19,53,221,26,114,32,73,255],[31,9,65,234,2,15,1,118,73],[75,32,12,51,192,255,160,43,51],[88,31,35,67,102,85,55,186,85],[56,21,23,111,59,205,45,37,192],[55,38,70,124,73,102,1,34,98]],[[125,98,42,88,104,85,117,175,82],[95,84,53,89,128,100,113,101,45],[75,79,123,47,51,128,81,171,1],[57,17,5,71,102,57,53,41,49],[38,33,13,121,57,73,26,1,85],[41,10,67,138,77,110,90,47,114],[115,21,2,10,102,255,166,23,6],[101,29,16,10,85,128,101,196,26],[57,18,10,102,102,213,34,20,43],[117,20,15,36,163,128,68,1,26]],[[102,61,71,37,34,53,31,243,192],[69,60,71,38,73,119,28,222,37],[68,45,128,34,1,47,11,245,171],[62,17,19,70,146,85,55,62,70],[37,43,37,154,100,163,85,160,1],[63,9,92,136,28,64,32,201,85],[75,15,9,9,64,255,184,119,16],[86,6,28,5,64,255,25,248,1],[56,8,17,132,137,255,55,116,128],[58,15,20,82,135,57,26,121,40]],[[164,50,31,137,154,133,25,35,218],[51,103,44,131,131,123,31,6,158],[86,40,64,135,148,224,45,183,128],[22,26,17,131,240,154,14,1,209],[45,16,21,91,64,222,7,1,197],[56,21,39,155,60,138,23,102,213],[83,12,13,54,192,255,68,47,28],[85,26,85,85,128,128,32,146,171],[18,11,7,63,144,171,4,4,246],[35,27,10,146,174,171,12,26,128]],[[190,80,35,99,180,80,126,54,45],[85,126,47,87,176,51,41,20,32],[101,75,128,139,118,146,116,128,85],[56,41,15,176,236,85,37,9,62],[71,30,17,119,118,255,17,18,138],[101,38,60,138,55,70,43,26,142],[146,36,19,30,171,255,97,27,20],[138,45,61,62,219,1,81,188,64],[32,41,20,117,151,142,20,21,163],[112,19,12,61,195,128,48,4,24]]],ci=[[[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[176,246,255,255,255,255,255,255,255,255,255],[223,241,252,255,255,255,255,255,255,255,255],[249,253,253,255,255,255,255,255,255,255,255]],[[255,244,252,255,255,255,255,255,255,255,255],[234,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255]],[[255,246,254,255,255,255,255,255,255,255,255],[239,253,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[251,255,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[251,254,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,254,253,255,254,255,255,255,255,255,255],[250,255,254,255,254,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[217,255,255,255,255,255,255,255,255,255,255],[225,252,241,253,255,255,254,255,255,255,255],[234,250,241,250,253,255,253,254,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[223,254,254,255,255,255,255,255,255,255,255],[238,253,254,254,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[249,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,255,255,255,255,255,255,255,255,255],[247,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[252,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[186,251,250,255,255,255,255,255,255,255,255],[234,251,244,254,255,255,255,255,255,255,255],[251,251,243,253,254,255,254,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[236,253,254,255,255,255,255,255,255,255,255],[251,253,253,254,254,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[254,254,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[254,254,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[248,255,255,255,255,255,255,255,255,255,255],[250,254,252,254,255,255,255,255,255,255,255],[248,254,249,253,255,255,255,255,255,255,255]],[[255,253,253,255,255,255,255,255,255,255,255],[246,253,253,255,255,255,255,255,255,255,255],[252,254,251,254,254,255,255,255,255,255,255]],[[255,254,252,255,255,255,255,255,255,255,255],[248,254,253,255,255,255,255,255,255,255,255],[253,255,254,254,255,255,255,255,255,255,255]],[[255,251,254,255,255,255,255,255,255,255,255],[245,251,254,255,255,255,255,255,255,255,255],[253,253,254,255,255,255,255,255,255,255,255]],[[255,251,253,255,255,255,255,255,255,255,255],[252,253,254,255,255,255,255,255,255,255,255],[255,254,255,255,255,255,255,255,255,255,255]],[[255,252,255,255,255,255,255,255,255,255,255],[249,255,254,255,255,255,255,255,255,255,255],[255,255,254,255,255,255,255,255,255,255,255]],[[255,255,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]]],li=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],hi=[],fi=[],di=[],pi=1,gi=2,mi=[],vi=[];vr("UpsampleRgbLinePair",Lr,3),vr("UpsampleBgrLinePair",xr,3),vr("UpsampleRgbaLinePair",Fr,4),vr("UpsampleBgraLinePair",kr,4),vr("UpsampleArgbLinePair",Pr,4),vr("UpsampleRgba4444LinePair",_r,2),vr("UpsampleRgb565LinePair",Sr,2);var bi=t.UpsampleRgbLinePair,yi=t.UpsampleBgrLinePair,wi=t.UpsampleRgbaLinePair,Ni=t.UpsampleBgraLinePair,Ai=t.UpsampleArgbLinePair,Li=t.UpsampleRgba4444LinePair,xi=t.UpsampleRgb565LinePair,Si=16,_i=1<<Si-1,Pi=-227,ki=482,Fi=6,Ii=(256<<Fi)-1,Ci=0,ji=a(256),Oi=a(256),Bi=a(256),Mi=a(256),Ei=a(ki-Pi),qi=a(ki-Pi);Ir("YuvToRgbRow",Lr,3),Ir("YuvToBgrRow",xr,3),Ir("YuvToRgbaRow",Fr,4),Ir("YuvToBgraRow",kr,4),Ir("YuvToArgbRow",Pr,4),Ir("YuvToRgba4444Row",_r,2),Ir("YuvToRgb565Row",Sr,2);var Ri=[0,4,8,12,128,132,136,140,256,260,264,268,384,388,392,396],Ti=[0,2,8],Di=[8,7,6,4,4,2,2,2,1,1,1,1],Ui=1;this.WebPDecodeRGBA=function(t,r,n,i,a){var o=qn,s=new rr,u=new ot;s.ba=u,u.S=o,u.width=[u.width],u.height=[u.height];var c=u.width,l=u.height,h=new st;if(null==h||null==t)var f=2;else e(null!=h),f=Br(t,r,n,h.width,h.height,h.Pd,h.Qd,h.format,null);if(0!=f?c=0:(null!=c&&(c[0]=h.width[0]),null!=l&&(l[0]=h.height[0]),c=1),c){u.width=u.width[0],u.height=u.height[0],null!=i&&(i[0]=u.width),null!=a&&(a[0]=u.height);t:{if(i=new Gt,(a=new nr).data=t,a.w=r,a.ha=n,a.kd=1,r=[0],e(null!=a),(0==(t=Br(a.data,a.w,a.ha,null,null,null,r,null,a))||7==t)&&r[0]&&(t=4),0==(r=t)){if(e(null!=s),i.data=a.data,i.w=a.w+a.offset,i.ha=a.ha-a.offset,i.put=dt,i.ac=ft,i.bc=pt,i.ma=s,a.xa){if(null==(t=kt())){s=1;break t}if(function(t,r){var n=[0],i=[0],a=[0];e:for(;;){if(null==t)return 0;if(null==r)return t.a=2,0;if(t.l=r,t.a=0,v(t.m,r.data,r.w,r.ha),!gt(t.m,n,i,a)){t.a=3;break e}if(t.xb=gi,r.width=n[0],r.height=i[0],!Ft(n[0],i[0],1,t,null))break e;return 1}return e(0!=t.a),0}(t,i)){if(i=0==(r=qr(i.width,i.height,s.Oa,s.ba))){e:{i=t;r:for(;;){if(null==i){i=0;break e}if(e(null!=i.s.yc),e(null!=i.s.Ya),e(0<i.s.Wb),e(null!=(n=i.l)),e(null!=(a=n.ma)),0!=i.xb){if(i.ca=a.ba,i.tb=a.tb,e(null!=i.ca),!Mr(a.Oa,n,Tn)){i.a=2;break r}if(!It(i,n.width))break r;if(n.da)break r;if((n.da||nt(i.ca.S))&&mr(),11>i.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),null!=i.ca.f.kb.F&&mr()),i.Pb&&0<i.s.ua&&null==i.s.vb.X&&!O(i.s.vb,i.s.Wa.Xa)){i.a=1;break r}i.xb=0}if(!_t(i,i.V,i.Ba,i.c,i.i,n.o,At))break r;a.Dc=i.Ma,i=1;break e}e(0!=i.a),i=0}i=!i}i&&(r=t.a)}else r=t.a}else{if(null==(t=new Yt)){s=1;break t}if(t.Fa=a.na,t.P=a.P,t.qc=a.Sa,Kt(t,i)){if(0==(r=qr(i.width,i.height,s.Oa,s.ba))){if(t.Aa=0,n=s.Oa,e(null!=(a=t)),null!=n){if(0<(c=0>(c=n.Md)?0:100<c?255:255*c/100)){for(l=h=0;4>l;++l)12>(f=a.pb[l]).lc&&(f.ia=c*Di[0>f.lc?0:f.lc]>>3),h|=f.ia;h&&(alert("todo:VP8InitRandom"),a.ia=1)}a.Ga=n.Id,100<a.Ga?a.Ga=100:0>a.Ga&&(a.Ga=0)}Qt(t,i)||(r=t.a)}}else r=t.a}0==r&&null!=s.Oa&&s.Oa.fd&&(r=Er(s.ba))}s=r}o=0!=s?null:11>o?u.f.RGBA.eb:u.f.kb.y}else o=null;return o};var zi=[3,4,3,4,4,2,2,4,4,4,2,1,1]});var h=[0],f=[0],d=[],p=new Me,g=t,m=function(t,e){var r={},n=0,i=!1,a=0,o=0;if(r.frames=[],!-/** @license- * Copyright (c) 2017 Dominik Homberger-- Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:-- The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.-- https://webpjs.appspot.com- WebPRiffParser [email protected]- */-function(t,e,r,n){for(var i=0;i<n;i++)if(t[e+i]!=r.charCodeAt(i))return!0;return!1}(t,e,"RIFF",4)){var s,h;l(t,e+=4);for(e+=8;e<t.length;){var f=u(t,e),d=l(t,e+=4);e+=4;var p=d+(1&d);switch(f){case"VP8 ":case"VP8L":void 0===r.frames[n]&&(r.frames[n]={});(v=r.frames[n]).src_off=i?o:e-8,v.src_size=a+d+8,n++,i&&(i=!1,a=0,o=0);break;case"VP8X":(v=r.header={}).feature_flags=t[e];var g=e+4;v.canvas_width=1+c(t,g);g+=3;v.canvas_height=1+c(t,g);g+=3;break;case"ALPH":i=!0,a=p+8,o=e-8;break;case"ANIM":(v=r.header).bgcolor=l(t,e);g=e+4;v.loop_count=(s=t)[(h=g)+0]<<0|s[h+1]<<8;g+=2;break;case"ANMF":var m,v;(v=r.frames[n]={}).offset_x=2*c(t,e),e+=3,v.offset_y=2*c(t,e),e+=3,v.width=1+c(t,e),e+=3,v.height=1+c(t,e),e+=3,v.duration=c(t,e),e+=3,m=t[e++],v.dispose=1&m,v.blend=m>>1&1}"ANMF"!=f&&(e+=p)}return r}}(g,0);m.response=g,m.rgbaoutput=!0,m.dataurl=!1;var v=m.header?m.header:null,b=m.frames?m.frames:null;if(v){v.loop_counter=v.loop_count,h=[v.canvas_height],f=[v.canvas_width];for(var y=0;y<b.length&&0!=b[y].blend;y++);}var w=b[0],N=p.WebPDecodeRGBA(g,w.src_off,w.src_size,f,h);w.rgba=N,w.imgwidth=f[0],w.imgheight=h[0];for(var A=0;A<f[0]*h[0]*4;A++)d[A]=N[A];return this.width=f,this.height=h,this.data=d,this}!function(t){var e=function(){return!0},r=function(e,r,i,c){var l=4,h=o;switch(c){case t.image_compression.FAST:l=1,h=a;break;case t.image_compression.MEDIUM:l=6,h=s;break;case t.image_compression.SLOW:l=9,h=u}var f=Le(e=n(e,r,i,h),{level:l});return t.__addimage__.arrayBufferToBinaryString(f)},n=function(t,e,r,n){for(var i,a,o,s=t.length/e,u=new Uint8Array(t.length+s),c=l(),f=0;f<s;f+=1){if(o=f*e,i=t.subarray(o,o+e),n)u.set(n(i,r,a),o+f);else{for(var d,p=c.length,g=[];d<p;d+=1)g[d]=c[d](i,r,a);var m=h(g.concat());u.set(g[m],o+f)}a=i}return u},i=function(t){var e=Array.apply([],t);return e.unshift(0),e},a=function(t,e){var r,n=[],i=t.length;n[0]=1;for(var a=0;a<i;a+=1)r=t[a-e]||0,n[a+1]=t[a]-r+256&255;return n},o=function(t,e,r){var n,i=[],a=t.length;i[0]=2;for(var o=0;o<a;o+=1)n=r&&r[o]||0,i[o+1]=t[o]-n+256&255;return i},s=function(t,e,r){var n,i,a=[],o=t.length;a[0]=3;for(var s=0;s<o;s+=1)n=t[s-e]||0,i=r&&r[s]||0,a[s+1]=t[s]+256-(n+i>>>1)&255;return a},u=function(t,e,r){var n,i,a,o,s=[],u=t.length;s[0]=4;for(var l=0;l<u;l+=1)n=t[l-e]||0,i=r&&r[l]||0,a=r&&r[l-e]||0,o=c(n,i,a),s[l+1]=t[l]-o+256&255;return s},c=function(t,e,r){if(t===e&&e===r)return t;var n=Math.abs(e-r),i=Math.abs(t-r),a=Math.abs(t+e-r-r);return n<=i&&n<=a?t:i<=a?e:r},l=function(){return[i,a,o,s,u]},h=function(t){var e=t.map((function(t){return t.reduce((function(t,e){return t+Math.abs(e)}),0)}));return e.indexOf(Math.min.apply(null,e))};t.processPNG=function(n,i,a,o){var s,u,c,l,h,f,d,p,g,m,v,b,y,w,N,A=this.decode.FLATE_DECODE,L="";if(this.__addimage__.isArrayBuffer(n)&&(n=new Uint8Array(n)),this.__addimage__.isArrayBufferView(n)){if(n=(c=new Ie(n)).imgData,u=c.bits,s=c.colorSpace,h=c.colors,-1!==[4,6].indexOf(c.colorType)){if(8===c.bits){g=(p=32==c.pixelBitlength?new Uint32Array(c.decodePixels().buffer):16==c.pixelBitlength?new Uint16Array(c.decodePixels().buffer):new Uint8Array(c.decodePixels().buffer)).length,v=new Uint8Array(g*c.colors),m=new Uint8Array(g);var x,S=c.pixelBitlength-c.bits;for(w=0,N=0;w<g;w++){for(y=p[w],x=0;x<S;)v[N++]=y>>>x&255,x+=c.bits;m[w]=y>>>x&255}}if(16===c.bits){g=(p=new Uint32Array(c.decodePixels().buffer)).length,v=new Uint8Array(g*(32/c.pixelBitlength)*c.colors),m=new Uint8Array(g*(32/c.pixelBitlength)),b=c.colors>1,w=0,N=0;for(var _=0;w<g;)y=p[w++],v[N++]=y>>>0&255,b&&(v[N++]=y>>>16&255,y=p[w++],v[N++]=y>>>0&255),m[_++]=y>>>16&255;u=8}o!==t.image_compression.NONE&&e()?(n=r(v,c.width*c.colors,c.colors,o),d=r(m,c.width,1,o)):(n=v,d=m,A=void 0)}if(3===c.colorType&&(s=this.color_spaces.INDEXED,f=c.palette,c.transparency.indexed)){var P=c.transparency.indexed,k=0;for(w=0,g=P.length;w<g;++w)k+=P[w];if((k/=255)===g-1&&-1!==P.indexOf(0))l=[P.indexOf(0)];else if(k!==g){for(p=c.decodePixels(),m=new Uint8Array(p.length),w=0,g=p.length;w<g;w++)m[w]=P[p[w]];d=r(m,c.width,1)}}var F=function(e){var r;switch(e){case t.image_compression.FAST:r=11;break;case t.image_compression.MEDIUM:r=13;break;case t.image_compression.SLOW:r=14;break;default:r=12}return r}(o);return A===this.decode.FLATE_DECODE&&(L="/Predictor "+F+" "),L+="/Colors "+h+" /BitsPerComponent "+u+" /Columns "+c.width,(this.__addimage__.isArrayBuffer(n)||this.__addimage__.isArrayBufferView(n))&&(n=this.__addimage__.arrayBufferToBinaryString(n)),(d&&this.__addimage__.isArrayBuffer(d)||this.__addimage__.isArrayBufferView(d))&&(d=this.__addimage__.arrayBufferToBinaryString(d)),{alias:a,data:n,index:i,filter:A,decodeParameters:L,transparency:l,palette:f,sMask:d,predictor:F,width:c.width,height:c.height,bitsPerComponent:u,colorSpace:s}}}}(j.API),function(t){t.processGIF89A=function(e,r,n,i){var a=new Ce(e),o=a.width,s=a.height,u=[];a.decodeAndBlitFrameRGBA(0,u);var c={data:u,width:o,height:s},l=new Oe(100).encode(c,100);return t.processJPEG.call(this,l,r,n,i)},t.processGIF87A=t.processGIF89A}(j.API),Be.prototype.parseHeader=function(){if(this.fileSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.reserved=this.datav.getUint32(this.pos,!0),this.pos+=4,this.offset=this.datav.getUint32(this.pos,!0),this.pos+=4,this.headerSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.width=this.datav.getUint32(this.pos,!0),this.pos+=4,this.height=this.datav.getInt32(this.pos,!0),this.pos+=4,this.planes=this.datav.getUint16(this.pos,!0),this.pos+=2,this.bitPP=this.datav.getUint16(this.pos,!0),this.pos+=2,this.compress=this.datav.getUint32(this.pos,!0),this.pos+=4,this.rawSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.hr=this.datav.getUint32(this.pos,!0),this.pos+=4,this.vr=this.datav.getUint32(this.pos,!0),this.pos+=4,this.colors=this.datav.getUint32(this.pos,!0),this.pos+=4,this.importantColors=this.datav.getUint32(this.pos,!0),this.pos+=4,16===this.bitPP&&this.is_with_alpha&&(this.bitPP=15),this.bitPP<15){var t=0===this.colors?1<<this.bitPP:this.colors;this.palette=new Array(t);for(var e=0;e<t;e++){var r=this.datav.getUint8(this.pos++,!0),n=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0),a=this.datav.getUint8(this.pos++,!0);this.palette[e]={red:i,green:n,blue:r,quad:a}}}this.height<0&&(this.height*=-1,this.bottom_up=!1)},Be.prototype.parseBGR=function(){this.pos=this.offset;try{var t="bit"+this.bitPP,e=this.width*this.height*4;this.data=new Uint8Array(e),this[t]()}catch(t){n.log("bit decode error:"+t)}},Be.prototype.bit1=function(){var t,e=Math.ceil(this.width/8),r=e%4;for(t=this.height-1;t>=0;t--){for(var n=this.bottom_up?t:this.height-1-t,i=0;i<e;i++)for(var a=this.datav.getUint8(this.pos++,!0),o=n*this.width*4+8*i*4,s=0;s<8&&8*i+s<this.width;s++){var u=this.palette[a>>7-s&1];this.data[o+4*s]=u.blue,this.data[o+4*s+1]=u.green,this.data[o+4*s+2]=u.red,this.data[o+4*s+3]=255}0!==r&&(this.pos+=4-r)}},Be.prototype.bit4=function(){for(var t=Math.ceil(this.width/2),e=t%4,r=this.height-1;r>=0;r--){for(var n=this.bottom_up?r:this.height-1-r,i=0;i<t;i++){var a=this.datav.getUint8(this.pos++,!0),o=n*this.width*4+2*i*4,s=a>>4,u=15&a,c=this.palette[s];if(this.data[o]=c.blue,this.data[o+1]=c.green,this.data[o+2]=c.red,this.data[o+3]=255,2*i+1>=this.width)break;c=this.palette[u],this.data[o+4]=c.blue,this.data[o+4+1]=c.green,this.data[o+4+2]=c.red,this.data[o+4+3]=255}0!==e&&(this.pos+=4-e)}},Be.prototype.bit8=function(){for(var t=this.width%4,e=this.height-1;e>=0;e--){for(var r=this.bottom_up?e:this.height-1-e,n=0;n<this.width;n++){var i=this.datav.getUint8(this.pos++,!0),a=r*this.width*4+4*n;if(i<this.palette.length){var o=this.palette[i];this.data[a]=o.red,this.data[a+1]=o.green,this.data[a+2]=o.blue,this.data[a+3]=255}else this.data[a]=255,this.data[a+1]=255,this.data[a+2]=255,this.data[a+3]=255}0!==t&&(this.pos+=4-t)}},Be.prototype.bit15=function(){for(var t=this.width%3,e=parseInt("11111",2),r=this.height-1;r>=0;r--){for(var n=this.bottom_up?r:this.height-1-r,i=0;i<this.width;i++){var a=this.datav.getUint16(this.pos,!0);this.pos+=2;var o=(a&e)/e*255|0,s=(a>>5&e)/e*255|0,u=(a>>10&e)/e*255|0,c=a>>15?255:0,l=n*this.width*4+4*i;this.data[l]=u,this.data[l+1]=s,this.data[l+2]=o,this.data[l+3]=c}this.pos+=t}},Be.prototype.bit16=function(){for(var t=this.width%3,e=parseInt("11111",2),r=parseInt("111111",2),n=this.height-1;n>=0;n--){for(var i=this.bottom_up?n:this.height-1-n,a=0;a<this.width;a++){var o=this.datav.getUint16(this.pos,!0);this.pos+=2;var s=(o&e)/e*255|0,u=(o>>5&r)/r*255|0,c=(o>>11)/e*255|0,l=i*this.width*4+4*a;this.data[l]=c,this.data[l+1]=u,this.data[l+2]=s,this.data[l+3]=255}this.pos+=t}},Be.prototype.bit24=function(){for(var t=this.height-1;t>=0;t--){for(var e=this.bottom_up?t:this.height-1-t,r=0;r<this.width;r++){var n=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0),a=this.datav.getUint8(this.pos++,!0),o=e*this.width*4+4*r;this.data[o]=a,this.data[o+1]=i,this.data[o+2]=n,this.data[o+3]=255}this.pos+=this.width%4}},Be.prototype.bit32=function(){for(var t=this.height-1;t>=0;t--)for(var e=this.bottom_up?t:this.height-1-t,r=0;r<this.width;r++){var n=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0),a=this.datav.getUint8(this.pos++,!0),o=this.datav.getUint8(this.pos++,!0),s=e*this.width*4+4*r;this.data[s]=a,this.data[s+1]=i,this.data[s+2]=n,this.data[s+3]=o}},Be.prototype.getData=function(){return this.data},-/**- * @license- * Copyright (c) 2018 Aras Abbasi- *- * Licensed under the MIT License.- * http://opensource.org/licenses/mit-license- */-function(t){t.processBMP=function(e,r,n,i){var a=new Be(e,!1),o=a.width,s=a.height,u={data:a.getData(),width:o,height:s},c=new Oe(100).encode(u,100);return t.processJPEG.call(this,c,r,n,i)}}(j.API),Me.prototype.getData=function(){return this.data},-/**- * @license- * Copyright (c) 2019 Aras Abbasi- *- * Licensed under the MIT License.- * http://opensource.org/licenses/mit-license- */-function(t){t.processWEBP=function(e,r,n,i){var a=new Me(e,!1),o=a.width,s=a.height,u={data:a.getData(),width:o,height:s},c=new Oe(100).encode(u,100);return t.processJPEG.call(this,c,r,n,i)}}(j.API),-/**- * @license- * Licensed under the MIT License.- * http://opensource.org/licenses/mit-license- */-function(t){t.setLanguage=function(t){return void 0===this.internal.languageSettings&&(this.internal.languageSettings={},this.internal.languageSettings.isSubscribed=!1),void 0!=={af:"Afrikaans",sq:"Albanian",ar:"Arabic (Standard)","ar-DZ":"Arabic (Algeria)","ar-BH":"Arabic (Bahrain)","ar-EG":"Arabic (Egypt)","ar-IQ":"Arabic (Iraq)","ar-JO":"Arabic (Jordan)","ar-KW":"Arabic (Kuwait)","ar-LB":"Arabic (Lebanon)","ar-LY":"Arabic (Libya)","ar-MA":"Arabic (Morocco)","ar-OM":"Arabic (Oman)","ar-QA":"Arabic (Qatar)","ar-SA":"Arabic (Saudi Arabia)","ar-SY":"Arabic (Syria)","ar-TN":"Arabic (Tunisia)","ar-AE":"Arabic (U.A.E.)","ar-YE":"Arabic (Yemen)",an:"Aragonese",hy:"Armenian",as:"Assamese",ast:"Asturian",az:"Azerbaijani",eu:"Basque",be:"Belarusian",bn:"Bengali",bs:"Bosnian",br:"Breton",bg:"Bulgarian",my:"Burmese",ca:"Catalan",ch:"Chamorro",ce:"Chechen",zh:"Chinese","zh-HK":"Chinese (Hong Kong)","zh-CN":"Chinese (PRC)","zh-SG":"Chinese (Singapore)","zh-TW":"Chinese (Taiwan)",cv:"Chuvash",co:"Corsican",cr:"Cree",hr:"Croatian",cs:"Czech",da:"Danish",nl:"Dutch (Standard)","nl-BE":"Dutch (Belgian)",en:"English","en-AU":"English (Australia)","en-BZ":"English (Belize)","en-CA":"English (Canada)","en-IE":"English (Ireland)","en-JM":"English (Jamaica)","en-NZ":"English (New Zealand)","en-PH":"English (Philippines)","en-ZA":"English (South Africa)","en-TT":"English (Trinidad & Tobago)","en-GB":"English (United Kingdom)","en-US":"English (United States)","en-ZW":"English (Zimbabwe)",eo:"Esperanto",et:"Estonian",fo:"Faeroese",fj:"Fijian",fi:"Finnish",fr:"French (Standard)","fr-BE":"French (Belgium)","fr-CA":"French (Canada)","fr-FR":"French (France)","fr-LU":"French (Luxembourg)","fr-MC":"French (Monaco)","fr-CH":"French (Switzerland)",fy:"Frisian",fur:"Friulian",gd:"Gaelic (Scots)","gd-IE":"Gaelic (Irish)",gl:"Galacian",ka:"Georgian",de:"German (Standard)","de-AT":"German (Austria)","de-DE":"German (Germany)","de-LI":"German (Liechtenstein)","de-LU":"German (Luxembourg)","de-CH":"German (Switzerland)",el:"Greek",gu:"Gujurati",ht:"Haitian",he:"Hebrew",hi:"Hindi",hu:"Hungarian",is:"Icelandic",id:"Indonesian",iu:"Inuktitut",ga:"Irish",it:"Italian (Standard)","it-CH":"Italian (Switzerland)",ja:"Japanese",kn:"Kannada",ks:"Kashmiri",kk:"Kazakh",km:"Khmer",ky:"Kirghiz",tlh:"Klingon",ko:"Korean","ko-KP":"Korean (North Korea)","ko-KR":"Korean (South Korea)",la:"Latin",lv:"Latvian",lt:"Lithuanian",lb:"Luxembourgish",mk:"FYRO Macedonian",ms:"Malay",ml:"Malayalam",mt:"Maltese",mi:"Maori",mr:"Marathi",mo:"Moldavian",nv:"Navajo",ng:"Ndonga",ne:"Nepali",no:"Norwegian",nb:"Norwegian (Bokmal)",nn:"Norwegian (Nynorsk)",oc:"Occitan",or:"Oriya",om:"Oromo",fa:"Persian","fa-IR":"Persian/Iran",pl:"Polish",pt:"Portuguese","pt-BR":"Portuguese (Brazil)",pa:"Punjabi","pa-IN":"Punjabi (India)","pa-PK":"Punjabi (Pakistan)",qu:"Quechua",rm:"Rhaeto-Romanic",ro:"Romanian","ro-MO":"Romanian (Moldavia)",ru:"Russian","ru-MO":"Russian (Moldavia)",sz:"Sami (Lappish)",sg:"Sango",sa:"Sanskrit",sc:"Sardinian",sd:"Sindhi",si:"Singhalese",sr:"Serbian",sk:"Slovak",sl:"Slovenian",so:"Somani",sb:"Sorbian",es:"Spanish","es-AR":"Spanish (Argentina)","es-BO":"Spanish (Bolivia)","es-CL":"Spanish (Chile)","es-CO":"Spanish (Colombia)","es-CR":"Spanish (Costa Rica)","es-DO":"Spanish (Dominican Republic)","es-EC":"Spanish (Ecuador)","es-SV":"Spanish (El Salvador)","es-GT":"Spanish (Guatemala)","es-HN":"Spanish (Honduras)","es-MX":"Spanish (Mexico)","es-NI":"Spanish (Nicaragua)","es-PA":"Spanish (Panama)","es-PY":"Spanish (Paraguay)","es-PE":"Spanish (Peru)","es-PR":"Spanish (Puerto Rico)","es-ES":"Spanish (Spain)","es-UY":"Spanish (Uruguay)","es-VE":"Spanish (Venezuela)",sx:"Sutu",sw:"Swahili",sv:"Swedish","sv-FI":"Swedish (Finland)","sv-SV":"Swedish (Sweden)",ta:"Tamil",tt:"Tatar",te:"Teluga",th:"Thai",tig:"Tigre",ts:"Tsonga",tn:"Tswana",tr:"Turkish",tk:"Turkmen",uk:"Ukrainian",hsb:"Upper Sorbian",ur:"Urdu",ve:"Venda",vi:"Vietnamese",vo:"Volapuk",wa:"Walloon",cy:"Welsh",xh:"Xhosa",ji:"Yiddish",zu:"Zulu"}[t]&&(this.internal.languageSettings.languageCode=t,!1===this.internal.languageSettings.isSubscribed&&(this.internal.events.subscribe("putCatalog",(function(){this.internal.write("/Lang ("+this.internal.languageSettings.languageCode+")")})),this.internal.languageSettings.isSubscribed=!0)),this}}(j.API),-/** @license- * MIT license.- * Copyright (c) 2012 Willow Systems Corporation, willow-systems.com- * 2014 Diego Casorran, https://github.com/diegocr- *- * Permission is hereby granted, free of charge, to any person obtaining- * a copy of this software and associated documentation files (the- * "Software"), to deal in the Software without restriction, including- * without limitation the rights to use, copy, modify, merge, publish,- * distribute, sublicense, and/or sell copies of the Software, and to- * permit persons to whom the Software is furnished to do so, subject to- * the following conditions:- *- * The above copyright notice and this permission notice shall be- * included in all copies or substantial portions of the Software.- *- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,- * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF- * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND- * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE- * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION- * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION- * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.- * ====================================================================- */-Se=j.API,_e=Se.getCharWidthsArray=function(t,e){var r,n,i=(e=e||{}).font||this.internal.getFont(),a=e.fontSize||this.internal.getFontSize(),o=e.charSpace||this.internal.getCharSpace(),s=e.widths?e.widths:i.metadata.Unicode.widths,u=s.fof?s.fof:1,c=e.kerning?e.kerning:i.metadata.Unicode.kerning,l=c.fof?c.fof:1,h=!1!==e.doKerning,f=0,d=t.length,p=0,g=s[0]||u,m=[];for(r=0;r<d;r++)n=t.charCodeAt(r),"function"==typeof i.metadata.widthOfString?m.push((i.metadata.widthOfGlyph(i.metadata.characterToGlyph(n))+o*(1e3/a)||0)/1e3):(f=h&&"object"==typeof c[n]&&!isNaN(parseInt(c[n][p],10))?c[n][p]/l:0,m.push((s[n]||g)/u+f)),p=n;return m},Pe=Se.getStringUnitWidth=function(t,e){var r=(e=e||{}).fontSize||this.internal.getFontSize(),n=e.font||this.internal.getFont(),i=e.charSpace||this.internal.getCharSpace();return Se.processArabic&&(t=Se.processArabic(t)),"function"==typeof n.metadata.widthOfString?n.metadata.widthOfString(t,r,i)/r:_e.apply(this,arguments).reduce((function(t,e){return t+e}),0)},ke=function(t,e,r,n){for(var i=[],a=0,o=t.length,s=0;a!==o&&s+e[a]<r;)s+=e[a],a++;i.push(t.slice(0,a));var u=a;for(s=0;a!==o;)s+e[a]>n&&(i.push(t.slice(u,a)),s=0,u=a),s+=e[a],a++;return u!==a&&i.push(t.slice(u,a)),i},Fe=function(t,e,r){r||(r={});var n,i,a,o,s,u,c,l=[],h=[l],f=r.textIndent||0,d=0,p=0,g=t.split(" "),m=_e.apply(this,[" ",r])[0];if(u=-1===r.lineIndent?g[0].length+2:r.lineIndent||0){var v=Array(u).join(" "),b=[];g.map((function(t){(t=t.split(/\s*\n/)).length>1?b=b.concat(t.map((function(t,e){return(e&&t.length?"\n":"")+t}))):b.push(t[0])})),g=b,u=Pe.apply(this,[v,r])}for(a=0,o=g.length;a<o;a++){var y=0;if(n=g[a],u&&"\n"==n[0]&&(n=n.substr(1),y=1),f+d+(p=(i=_e.apply(this,[n,r])).reduce((function(t,e){return t+e}),0))>e||y){if(p>e){for(s=ke.apply(this,[n,i,e-(f+d),e]),l.push(s.shift()),l=[s.pop()];s.length;)h.push([s.shift()]);p=i.slice(n.length-(l[0]?l[0].length:0)).reduce((function(t,e){return t+e}),0)}else l=[n];h.push(l),f=p+u,d=m}else l.push(n),f+=d+p,d=m}return c=u?function(t,e){return(e?v:"")+t.join(" ")}:function(t){return t.join(" ")},h.map(c)},Se.splitTextToSize=function(t,e,r){var n,i=(r=r||{}).fontSize||this.internal.getFontSize(),a=function(t){if(t.widths&&t.kerning)return{widths:t.widths,kerning:t.kerning};var e=this.internal.getFont(t.fontName,t.fontStyle);return e.metadata.Unicode?{widths:e.metadata.Unicode.widths||{0:1},kerning:e.metadata.Unicode.kerning||{}}:{font:e.metadata,fontSize:this.internal.getFontSize(),charSpace:this.internal.getCharSpace()}}.call(this,r);n=Array.isArray(t)?t:String(t).split(/\r?\n/);var o=1*this.internal.scaleFactor*e/i;a.textIndent=r.textIndent?1*r.textIndent*this.internal.scaleFactor/i:0,a.lineIndent=r.lineIndent;var s,u,c=[];for(s=0,u=n.length;s<u;s++)c=c.concat(Fe.apply(this,[n[s],o,a]));return c},-/** @license- jsPDF standard_fonts_metrics plugin- * Copyright (c) 2012 Willow Systems Corporation, willow-systems.com- * MIT license.- * Permission is hereby granted, free of charge, to any person obtaining- * a copy of this software and associated documentation files (the- * "Software"), to deal in the Software without restriction, including- * without limitation the rights to use, copy, modify, merge, publish,- * distribute, sublicense, and/or sell copies of the Software, and to- * permit persons to whom the Software is furnished to do so, subject to- * the following conditions:- *- * The above copyright notice and this permission notice shall be- * included in all copies or substantial portions of the Software.- *- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,- * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF- * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND- * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE- * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION- * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION- * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.- * ====================================================================- */-function(t){t.__fontmetrics__=t.__fontmetrics__||{};for(var e="klmnopqrstuvwxyz",r={},n={},i=0;i<e.length;i++)r[e[i]]="0123456789abcdef"[i],n["0123456789abcdef"[i]]=e[i];var a=function(t){return"0x"+parseInt(t,10).toString(16)},o=t.__fontmetrics__.compress=function(t){var e,r,i,s,u=["{"];for(var c in t){if(e=t[c],isNaN(parseInt(c,10))?r="'"+c+"'":(c=parseInt(c,10),r=(r=a(c).slice(2)).slice(0,-1)+n[r.slice(-1)]),"number"==typeof e)e<0?(i=a(e).slice(3),s="-"):(i=a(e).slice(2),s=""),i=s+i.slice(0,-1)+n[i.slice(-1)];else{if("object"!=typeof e)throw new Error("Don't know what to do with value type "+typeof e+".");i=o(e)}u.push(r+i)}return u.push("}"),u.join("")},s=t.__fontmetrics__.uncompress=function(t){if("string"!=typeof t)throw new Error("Invalid argument passed to uncompress.");for(var e,n,i,a,o={},s=1,u=o,c=[],l="",h="",f=t.length-1,d=1;d<f;d+=1)"'"==(a=t[d])?e?(i=e.join(""),e=void 0):e=[]:e?e.push(a):"{"==a?(c.push([u,i]),u={},i=void 0):"}"==a?((n=c.pop())[0][n[1]]=u,i=void 0,u=n[0]):"-"==a?s=-1:void 0===i?r.hasOwnProperty(a)?(l+=r[a],i=parseInt(l,16)*s,s=1,l=""):l+=a:r.hasOwnProperty(a)?(h+=r[a],u[i]=parseInt(h,16)*s,s=1,i=void 0,h=""):h+=a;return o},u={codePages:["WinAnsiEncoding"],WinAnsiEncoding:s("{19m8n201n9q201o9r201s9l201t9m201u8m201w9n201x9o201y8o202k8q202l8r202m9p202q8p20aw8k203k8t203t8v203u9v2cq8s212m9t15m8w15n9w2dw9s16k8u16l9u17s9z17x8y17y9y}")},c={Unicode:{Courier:u,"Courier-Bold":u,"Courier-BoldOblique":u,"Courier-Oblique":u,Helvetica:u,"Helvetica-Bold":u,"Helvetica-BoldOblique":u,"Helvetica-Oblique":u,"Times-Roman":u,"Times-Bold":u,"Times-BoldItalic":u,"Times-Italic":u}},l={Unicode:{"Courier-Oblique":s("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-BoldItalic":s("{'widths'{k3o2q4ycx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2r202m2n2n3m2o3m2p5n202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5n4l4m4m4m4n4m4o4s4p4m4q4m4r4s4s4y4t2r4u3m4v4m4w3x4x5t4y4s4z4s5k3x5l4s5m4m5n3r5o3x5p4s5q4m5r5t5s4m5t3x5u3x5v2l5w1w5x2l5y3t5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q2l6r3m6s3r6t1w6u1w6v3m6w1w6x4y6y3r6z3m7k3m7l3m7m2r7n2r7o1w7p3r7q2w7r4m7s3m7t2w7u2r7v2n7w1q7x2n7y3t202l3mcl4mal2ram3man3mao3map3mar3mas2lat4uau1uav3maw3way4uaz2lbk2sbl3t'fof'6obo2lbp3tbq3mbr1tbs2lbu1ybv3mbz3mck4m202k3mcm4mcn4mco4mcp4mcq5ycr4mcs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz2w203k6o212m6o2dw2l2cq2l3t3m3u2l17s3x19m3m}'kerning'{cl{4qu5kt5qt5rs17ss5ts}201s{201ss}201t{cks4lscmscnscoscpscls2wu2yu201ts}201x{2wu2yu}2k{201ts}2w{4qx5kx5ou5qx5rs17su5tu}2x{17su5tu5ou}2y{4qx5kx5ou5qx5rs17ss5ts}'fof'-6ofn{17sw5tw5ou5qw5rs}7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qs}3v{17su5tu5os5qs}7p{17su5tu}ck{4qu5kt5qt5rs17ss5ts}4l{4qu5kt5qt5rs17ss5ts}cm{4qu5kt5qt5rs17ss5ts}cn{4qu5kt5qt5rs17ss5ts}co{4qu5kt5qt5rs17ss5ts}cp{4qu5kt5qt5rs17ss5ts}6l{4qu5ou5qw5rt17su5tu}5q{ckuclucmucnucoucpu4lu}5r{ckuclucmucnucoucpu4lu}7q{cksclscmscnscoscps4ls}6p{4qu5ou5qw5rt17sw5tw}ek{4qu5ou5qw5rt17su5tu}el{4qu5ou5qw5rt17su5tu}em{4qu5ou5qw5rt17su5tu}en{4qu5ou5qw5rt17su5tu}eo{4qu5ou5qw5rt17su5tu}ep{4qu5ou5qw5rt17su5tu}es{17ss5ts5qs4qu}et{4qu5ou5qw5rt17sw5tw}eu{4qu5ou5qw5rt17ss5ts}ev{17ss5ts5qs4qu}6z{17sw5tw5ou5qw5rs}fm{17sw5tw5ou5qw5rs}7n{201ts}fo{17sw5tw5ou5qw5rs}fp{17sw5tw5ou5qw5rs}fq{17sw5tw5ou5qw5rs}7r{cksclscmscnscoscps4ls}fs{17sw5tw5ou5qw5rs}ft{17su5tu}fu{17su5tu}fv{17su5tu}fw{17su5tu}fz{cksclscmscnscoscps4ls}}}"),"Helvetica-Bold":s("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"),Courier:s("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-BoldOblique":s("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Bold":s("{'widths'{k3q2q5ncx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2l202m2n2n3m2o3m2p6o202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5x4l4s4m4m4n4s4o4s4p4m4q3x4r4y4s4y4t2r4u3m4v4y4w4m4x5y4y4s4z4y5k3x5l4y5m4s5n3r5o4m5p4s5q4s5r6o5s4s5t4s5u4m5v2l5w1w5x2l5y3u5z3m6k2l6l3m6m3r6n2w6o3r6p2w6q2l6r3m6s3r6t1w6u2l6v3r6w1w6x5n6y3r6z3m7k3r7l3r7m2w7n2r7o2l7p3r7q3m7r4s7s3m7t3m7u2w7v2r7w1q7x2r7y3o202l3mcl4sal2lam3man3mao3map3mar3mas2lat4uau1yav3maw3tay4uaz2lbk2sbl3t'fof'6obo2lbp3rbr1tbs2lbu2lbv3mbz3mck4s202k3mcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3rek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3m3u2l17s4s19m3m}'kerning'{cl{4qt5ks5ot5qy5rw17sv5tv}201t{cks4lscmscnscoscpscls4wv}2k{201ts}2w{4qu5ku7mu5os5qx5ru17su5tu}2x{17su5tu5ou5qs}2y{4qv5kv7mu5ot5qz5ru17su5tu}'fof'-6o7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qu}3v{17su5tu5os5qu}fu{17su5tu5ou5qu}7p{17su5tu5ou5qu}ck{4qt5ks5ot5qy5rw17sv5tv}4l{4qt5ks5ot5qy5rw17sv5tv}cm{4qt5ks5ot5qy5rw17sv5tv}cn{4qt5ks5ot5qy5rw17sv5tv}co{4qt5ks5ot5qy5rw17sv5tv}cp{4qt5ks5ot5qy5rw17sv5tv}6l{17st5tt5ou5qu}17s{ckuclucmucnucoucpu4lu4wu}5o{ckuclucmucnucoucpu4lu4wu}5q{ckzclzcmzcnzcozcpz4lz4wu}5r{ckxclxcmxcnxcoxcpx4lx4wu}5t{ckuclucmucnucoucpu4lu4wu}7q{ckuclucmucnucoucpu4lu}6p{17sw5tw5ou5qu}ek{17st5tt5qu}el{17st5tt5ou5qu}em{17st5tt5qu}en{17st5tt5qu}eo{17st5tt5qu}ep{17st5tt5ou5qu}es{17ss5ts5qu}et{17sw5tw5ou5qu}eu{17sw5tw5ou5qu}ev{17ss5ts5qu}6z{17sw5tw5ou5qu5rs}fm{17sw5tw5ou5qu5rs}fn{17sw5tw5ou5qu5rs}fo{17sw5tw5ou5qu5rs}fp{17sw5tw5ou5qu5rs}fq{17sw5tw5ou5qu5rs}7r{cktcltcmtcntcotcpt4lt5os}fs{17sw5tw5ou5qu5rs}ft{17su5tu5ou5qu}7m{5os}fv{17su5tu5ou5qu}fw{17su5tu5ou5qu}fz{cksclscmscnscoscps4ls}}}"),Symbol:s("{'widths'{k3uaw4r19m3m2k1t2l2l202m2y2n3m2p5n202q6o3k3m2s2l2t2l2v3r2w1t3m3m2y1t2z1wbk2sbl3r'fof'6o3n3m3o3m3p3m3q3m3r3m3s3m3t3m3u1w3v1w3w3r3x3r3y3r3z2wbp3t3l3m5v2l5x2l5z3m2q4yfr3r7v3k7w1o7x3k}'kerning'{'fof'-6o}}"),Helvetica:s("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}"),"Helvetica-BoldOblique":s("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"),ZapfDingbats:s("{'widths'{k4u2k1w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-Bold":s("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Italic":s("{'widths'{k3n2q4ycx2l201n3m201o5t201s2l201t2l201u2l201w3r201x3r201y3r2k1t2l2l202m2n2n3m2o3m2p5n202q5t2r1p2s2l2t2l2u3m2v4n2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w4n3x4n3y4n3z3m4k5w4l3x4m3x4n4m4o4s4p3x4q3x4r4s4s4s4t2l4u2w4v4m4w3r4x5n4y4m4z4s5k3x5l4s5m3x5n3m5o3r5p4s5q3x5r5n5s3x5t3r5u3r5v2r5w1w5x2r5y2u5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q1w6r3m6s3m6t1w6u1w6v2w6w1w6x4s6y3m6z3m7k3m7l3m7m2r7n2r7o1w7p3m7q2w7r4m7s2w7t2w7u2r7v2s7w1v7x2s7y3q202l3mcl3xal2ram3man3mao3map3mar3mas2lat4wau1vav3maw4nay4waz2lbk2sbl4n'fof'6obo2lbp3mbq3obr1tbs2lbu1zbv3mbz3mck3x202k3mcm3xcn3xco3xcp3xcq5tcr4mcs3xct3xcu3xcv3xcw2l2m2ucy2lcz2ldl4mdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr4nfs3mft3mfu3mfv3mfw3mfz2w203k6o212m6m2dw2l2cq2l3t3m3u2l17s3r19m3m}'kerning'{cl{5kt4qw}201s{201sw}201t{201tw2wy2yy6q-t}201x{2wy2yy}2k{201tw}2w{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}2x{17ss5ts5os}2y{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}'fof'-6o6t{17ss5ts5qs}7t{5os}3v{5qs}7p{17su5tu5qs}ck{5kt4qw}4l{5kt4qw}cm{5kt4qw}cn{5kt4qw}co{5kt4qw}cp{5kt4qw}6l{4qs5ks5ou5qw5ru17su5tu}17s{2ks}5q{ckvclvcmvcnvcovcpv4lv}5r{ckuclucmucnucoucpu4lu}5t{2ks}6p{4qs5ks5ou5qw5ru17su5tu}ek{4qs5ks5ou5qw5ru17su5tu}el{4qs5ks5ou5qw5ru17su5tu}em{4qs5ks5ou5qw5ru17su5tu}en{4qs5ks5ou5qw5ru17su5tu}eo{4qs5ks5ou5qw5ru17su5tu}ep{4qs5ks5ou5qw5ru17su5tu}es{5ks5qs4qs}et{4qs5ks5ou5qw5ru17su5tu}eu{4qs5ks5qw5ru17su5tu}ev{5ks5qs4qs}ex{17ss5ts5qs}6z{4qv5ks5ou5qw5ru17su5tu}fm{4qv5ks5ou5qw5ru17su5tu}fn{4qv5ks5ou5qw5ru17su5tu}fo{4qv5ks5ou5qw5ru17su5tu}fp{4qv5ks5ou5qw5ru17su5tu}fq{4qv5ks5ou5qw5ru17su5tu}7r{5os}fs{4qv5ks5ou5qw5ru17su5tu}ft{17su5tu5qs}fu{17su5tu5qs}fv{17su5tu5qs}fw{17su5tu5qs}}}"),"Times-Roman":s("{'widths'{k3n2q4ycx2l201n3m201o6o201s2l201t2l201u2l201w2w201x2w201y2w2k1t2l2l202m2n2n3m2o3m2p5n202q6o2r1m2s2l2t2l2u3m2v3s2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v1w3w3s3x3s3y3s3z2w4k5w4l4s4m4m4n4m4o4s4p3x4q3r4r4s4s4s4t2l4u2r4v4s4w3x4x5t4y4s4z4s5k3r5l4s5m4m5n3r5o3x5p4s5q4s5r5y5s4s5t4s5u3x5v2l5w1w5x2l5y2z5z3m6k2l6l2w6m3m6n2w6o3m6p2w6q2l6r3m6s3m6t1w6u1w6v3m6w1w6x4y6y3m6z3m7k3m7l3m7m2l7n2r7o1w7p3m7q3m7r4s7s3m7t3m7u2w7v3k7w1o7x3k7y3q202l3mcl4sal2lam3man3mao3map3mar3mas2lat4wau1vav3maw3say4waz2lbk2sbl3s'fof'6obo2lbp3mbq2xbr1tbs2lbu1zbv3mbz2wck4s202k3mcm4scn4sco4scp4scq5tcr4mcs3xct3xcu3xcv3xcw2l2m2tcy2lcz2ldl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek2wel2wem2wen2weo2wep2weq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr3sfs3mft3mfu3mfv3mfw3mfz3m203k6o212m6m2dw2l2cq2l3t3m3u1w17s4s19m3m}'kerning'{cl{4qs5ku17sw5ou5qy5rw201ss5tw201ws}201s{201ss}201t{ckw4lwcmwcnwcowcpwclw4wu201ts}2k{201ts}2w{4qs5kw5os5qx5ru17sx5tx}2x{17sw5tw5ou5qu}2y{4qs5kw5os5qx5ru17sx5tx}'fof'-6o7t{ckuclucmucnucoucpu4lu5os5rs}3u{17su5tu5qs}3v{17su5tu5qs}7p{17sw5tw5qs}ck{4qs5ku17sw5ou5qy5rw201ss5tw201ws}4l{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cm{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cn{4qs5ku17sw5ou5qy5rw201ss5tw201ws}co{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cp{4qs5ku17sw5ou5qy5rw201ss5tw201ws}6l{17su5tu5os5qw5rs}17s{2ktclvcmvcnvcovcpv4lv4wuckv}5o{ckwclwcmwcnwcowcpw4lw4wu}5q{ckyclycmycnycoycpy4ly4wu5ms}5r{cktcltcmtcntcotcpt4lt4ws}5t{2ktclvcmvcnvcovcpv4lv4wuckv}7q{cksclscmscnscoscps4ls}6p{17su5tu5qw5rs}ek{5qs5rs}el{17su5tu5os5qw5rs}em{17su5tu5os5qs5rs}en{17su5qs5rs}eo{5qs5rs}ep{17su5tu5os5qw5rs}es{5qs}et{17su5tu5qw5rs}eu{17su5tu5qs5rs}ev{5qs}6z{17sv5tv5os5qx5rs}fm{5os5qt5rs}fn{17sv5tv5os5qx5rs}fo{17sv5tv5os5qx5rs}fp{5os5qt5rs}fq{5os5qt5rs}7r{ckuclucmucnucoucpu4lu5os}fs{17sv5tv5os5qx5rs}ft{17ss5ts5qs}fu{17sw5tw5qs}fv{17sw5tw5qs}fw{17ss5ts5qs}fz{ckuclucmucnucoucpu4lu5os5rs}}}"),"Helvetica-Oblique":s("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}")}};t.events.push(["addFont",function(t){var e=t.font,r=l.Unicode[e.postScriptName];r&&(e.metadata.Unicode={},e.metadata.Unicode.widths=r.widths,e.metadata.Unicode.kerning=r.kerning);var n=c.Unicode[e.postScriptName];n&&(e.metadata.Unicode.encoding=n,e.encoding=n.codePages[0])}])}(j.API),-/**- * @license- * Licensed under the MIT License.- * http://opensource.org/licenses/mit-license- */-function(t){var e=function(t){for(var e=t.length,r=new Uint8Array(e),n=0;n<e;n++)r[n]=t.charCodeAt(n);return r};t.API.events.push(["addFont",function(r){var n=void 0,i=r.font,a=r.instance;if(!i.isStandardFont){if(void 0===a)throw new Error("Font does not exist in vFS, import fonts or remove declaration doc.addFont('"+i.postScriptName+"').");if("string"!=typeof(n=!1===a.existsFileInVFS(i.postScriptName)?a.loadFile(i.postScriptName):a.getFileFromVFS(i.postScriptName)))throw new Error("Font is not stored as string-data in vFS, import fonts or remove declaration doc.addFont('"+i.postScriptName+"').");!function(r,n){n=/^\x00\x01\x00\x00/.test(n)?e(n):e(s(n)),r.metadata=t.API.TTFFont.open(n),r.metadata.Unicode=r.metadata.Unicode||{encoding:{},kerning:{},widths:[]},r.metadata.glyIdsUsed=[0]}(i,n)}}])}(j),-/** @license- * Copyright (c) 2012 Willow Systems Corporation, willow-systems.com- *- * Permission is hereby granted, free of charge, to any person obtaining- * a copy of this software and associated documentation files (the- * "Software"), to deal in the Software without restriction, including- * without limitation the rights to use, copy, modify, merge, publish,- * distribute, sublicense, and/or sell copies of the Software, and to- * permit persons to whom the Software is furnished to do so, subject to- * the following conditions:- *- * The above copyright notice and this permission notice shall be- * included in all copies or substantial portions of the Software.- *- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,- * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF- * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND- * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE- * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION- * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION- * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.- * ====================================================================- */-function(r){function i(){return(e.canvg?Promise.resolve(e.canvg):"object"==typeof t&&"undefined"!=typeof module?new Promise((function(t,e){try{t(require("canvg"))}catch(t){e(t)}})):"function"==typeof define&&define.amd?new Promise((function(t,e){try{require(["canvg"],t)}catch(t){e(t)}})):Promise.reject(new Error("Could not load canvg"))).catch((function(t){return Promise.reject(new Error("Could not load canvg: "+t))})).then((function(t){return t.default?t.default:t}))}r.addSvgAsImage=function(t,e,r,a,o,s,u,c){if(isNaN(e)||isNaN(r))throw n.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(a)||isNaN(o))throw n.error("jsPDF.addSvgAsImage: Invalid measurements",arguments),new Error("Invalid measurements (width and/or height) passed to jsPDF.addSvgAsImage");var l=document.createElement("canvas");l.width=a,l.height=o;var h=l.getContext("2d");h.fillStyle="#fff",h.fillRect(0,0,l.width,l.height);var f={ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0},d=this;return i().then((function(e){return e.fromString(h,t,f)}),(function(){return Promise.reject(new Error("Could not load canvg."))})).then((function(t){return t.render(f)})).then((function(){d.addImage(l.toDataURL("image/jpeg",1),e,r,a,o,u,c)}))}}(j.API),-/**- * @license- * ====================================================================- * Copyright (c) 2013 Eduardo Menezes de Morais, [email protected]- *- * Permission is hereby granted, free of charge, to any person obtaining- * a copy of this software and associated documentation files (the- * "Software"), to deal in the Software without restriction, including- * without limitation the rights to use, copy, modify, merge, publish,- * distribute, sublicense, and/or sell copies of the Software, and to- * permit persons to whom the Software is furnished to do so, subject to- * the following conditions:- *- * The above copyright notice and this permission notice shall be- * included in all copies or substantial portions of the Software.- *- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,- * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF- * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND- * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE- * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION- * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION- * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.- * ====================================================================- */-function(t){t.putTotalPages=function(t){var e,r=0;parseInt(this.internal.getFont().id.substr(1),10)<15?(e=new RegExp(t,"g"),r=this.internal.getNumberOfPages()):(e=new RegExp(this.pdfEscape16(t,this.internal.getFont()),"g"),r=this.pdfEscape16(this.internal.getNumberOfPages()+"",this.internal.getFont()));for(var n=1;n<=this.internal.getNumberOfPages();n++)for(var i=0;i<this.internal.pages[n].length;i++)this.internal.pages[n][i]=this.internal.pages[n][i].replace(e,r);return this}}(j.API),-/**- * @license- * jsPDF viewerPreferences Plugin- * @author Aras Abbasi (github.com/arasabbasi)- * Licensed under the MIT License.- * http://opensource.org/licenses/mit-license- */-function(t){t.viewerPreferences=function(t,e){var r;t=t||{},e=e||!1;var n,i,a,o={HideToolbar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideMenubar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideWindowUI:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},FitWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},CenterWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},DisplayDocTitle:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.4},NonFullScreenPageMode:{defaultValue:"UseNone",value:"UseNone",type:"name",explicitSet:!1,valueSet:["UseNone","UseOutlines","UseThumbs","UseOC"],pdfVersion:1.3},Direction:{defaultValue:"L2R",value:"L2R",type:"name",explicitSet:!1,valueSet:["L2R","R2L"],pdfVersion:1.3},ViewArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},ViewClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintScaling:{defaultValue:"AppDefault",value:"AppDefault",type:"name",explicitSet:!1,valueSet:["AppDefault","None"],pdfVersion:1.6},Duplex:{defaultValue:"",value:"none",type:"name",explicitSet:!1,valueSet:["Simplex","DuplexFlipShortEdge","DuplexFlipLongEdge","none"],pdfVersion:1.7},PickTrayByPDFSize:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.7},PrintPageRange:{defaultValue:"",value:"",type:"array",explicitSet:!1,valueSet:null,pdfVersion:1.7},NumCopies:{defaultValue:1,value:1,type:"integer",explicitSet:!1,valueSet:null,pdfVersion:1.7}},s=Object.keys(o),u=[],c=0,l=0,h=0;function f(t,e){var r,n=!1;for(r=0;r<t.length;r+=1)t[r]===e&&(n=!0);return n}if(void 0===this.internal.viewerpreferences&&(this.internal.viewerpreferences={},this.internal.viewerpreferences.configuration=JSON.parse(JSON.stringify(o)),this.internal.viewerpreferences.isSubscribed=!1),r=this.internal.viewerpreferences.configuration,"reset"===t||!0===e){var d=s.length;for(h=0;h<d;h+=1)r[s[h]].value=r[s[h]].defaultValue,r[s[h]].explicitSet=!1}if("object"==typeof t)for(i in t)if(a=t[i],f(s,i)&&void 0!==a){if("boolean"===r[i].type&&"boolean"==typeof a)r[i].value=a;else if("name"===r[i].type&&f(r[i].valueSet,a))r[i].value=a;else if("integer"===r[i].type&&Number.isInteger(a))r[i].value=a;else if("array"===r[i].type){for(c=0;c<a.length;c+=1)if(n=!0,1===a[c].length&&"number"==typeof a[c][0])u.push(String(a[c]-1));else if(a[c].length>1){for(l=0;l<a[c].length;l+=1)"number"!=typeof a[c][l]&&(n=!1);!0===n&&u.push([a[c][0]-1,a[c][1]-1].join(" "))}r[i].value="["+u.join(" ")+"]"}else r[i].value=r[i].defaultValue;r[i].explicitSet=!0}return!1===this.internal.viewerpreferences.isSubscribed&&(this.internal.events.subscribe("putCatalog",(function(){var t,e=[];for(t in r)!0===r[t].explicitSet&&("name"===r[t].type?e.push("/"+t+" /"+r[t].value):e.push("/"+t+" "+r[t].value));0!==e.length&&this.internal.write("/ViewerPreferences\n<<\n"+e.join("\n")+"\n>>")})),this.internal.viewerpreferences.isSubscribed=!0),this.internal.viewerpreferences.configuration=r,this}}(j.API),-/** ====================================================================- * @license- * jsPDF XMP metadata plugin- * Copyright (c) 2016 Jussi Utunen, [email protected]- *- * Permission is hereby granted, free of charge, to any person obtaining- * a copy of this software and associated documentation files (the- * "Software"), to deal in the Software without restriction, including- * without limitation the rights to use, copy, modify, merge, publish,- * distribute, sublicense, and/or sell copies of the Software, and to- * permit persons to whom the Software is furnished to do so, subject to- * the following conditions:- *- * The above copyright notice and this permission notice shall be- * included in all copies or substantial portions of the Software.- *- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,- * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF- * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND- * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE- * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION- * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION- * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.- * ====================================================================- */-function(t){var e=function(){var t='<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"><rdf:Description rdf:about="" xmlns:jspdf="'+this.internal.__metadata__.namespaceuri+'"><jspdf:metadata>',e=unescape(encodeURIComponent('<x:xmpmeta xmlns:x="adobe:ns:meta/">')),r=unescape(encodeURIComponent(t)),n=unescape(encodeURIComponent(this.internal.__metadata__.metadata)),i=unescape(encodeURIComponent("</jspdf:metadata></rdf:Description></rdf:RDF>")),a=unescape(encodeURIComponent("</x:xmpmeta>")),o=r.length+n.length+i.length+e.length+a.length;this.internal.__metadata__.metadata_object_number=this.internal.newObject(),this.internal.write("<< /Type /Metadata /Subtype /XML /Length "+o+" >>"),this.internal.write("stream"),this.internal.write(e+r+n+i+a),this.internal.write("endstream"),this.internal.write("endobj")},r=function(){this.internal.__metadata__.metadata_object_number&&this.internal.write("/Metadata "+this.internal.__metadata__.metadata_object_number+" 0 R")};t.addMetadata=function(t,n){return void 0===this.internal.__metadata__&&(this.internal.__metadata__={metadata:t,namespaceuri:n||"http://jspdf.default.namespaceuri/"},this.internal.events.subscribe("putCatalog",r),this.internal.events.subscribe("postPutResources",e)),this}}(j.API),function(t){var e=t.API,r=e.pdfEscape16=function(t,e){for(var r,n=e.metadata.Unicode.widths,i=["","0","00","000","0000"],a=[""],o=0,s=t.length;o<s;++o){if(r=e.metadata.characterToGlyph(t.charCodeAt(o)),e.metadata.glyIdsUsed.push(r),e.metadata.toUnicode[r]=t.charCodeAt(o),-1==n.indexOf(r)&&(n.push(r),n.push([parseInt(e.metadata.widthOfGlyph(r),10)])),"0"==r)return a.join("");r=r.toString(16),a.push(i[4-r.length],r)}return a.join("")},n=function(t){var e,r,n,i,a,o,s;for(a="/CIDInit /ProcSet findresource begin\n12 dict begin\nbegincmap\n/CIDSystemInfo <<\n /Registry (Adobe)\n /Ordering (UCS)\n /Supplement 0\n>> def\n/CMapName /Adobe-Identity-UCS def\n/CMapType 2 def\n1 begincodespacerange\n<0000><ffff>\nendcodespacerange",n=[],o=0,s=(r=Object.keys(t).sort((function(t,e){return t-e}))).length;o<s;o++)e=r[o],n.length>=100&&(a+="\n"+n.length+" beginbfchar\n"+n.join("\n")+"\nendbfchar",n=[]),void 0!==t[e]&&null!==t[e]&&"function"==typeof t[e].toString&&(i=("0000"+t[e].toString(16)).slice(-4),e=("0000"+(+e).toString(16)).slice(-4),n.push("<"+e+"><"+i+">"));return n.length&&(a+="\n"+n.length+" beginbfchar\n"+n.join("\n")+"\nendbfchar\n"),a+="endcmap\nCMapName currentdict /CMap defineresource pop\nend\nend"};e.events.push(["putFont",function(e){!function(e){var r=e.font,i=e.out,a=e.newObject,o=e.putStream,s=e.pdfEscapeWithNeededParanthesis;if(r.metadata instanceof t.API.TTFFont&&"Identity-H"===r.encoding){for(var u=r.metadata.Unicode.widths,c=r.metadata.subset.encode(r.metadata.glyIdsUsed,1),l="",h=0;h<c.length;h++)l+=String.fromCharCode(c[h]);var f=a();o({data:l,addLength1:!0,objectId:f}),i("endobj");var d=a();o({data:n(r.metadata.toUnicode),addLength1:!0,objectId:d}),i("endobj");var p=a();i("<<"),i("/Type /FontDescriptor"),i("/FontName /"+s(r.fontName)),i("/FontFile2 "+f+" 0 R"),i("/FontBBox "+t.API.PDFObject.convert(r.metadata.bbox)),i("/Flags "+r.metadata.flags),i("/StemV "+r.metadata.stemV),i("/ItalicAngle "+r.metadata.italicAngle),i("/Ascent "+r.metadata.ascender),i("/Descent "+r.metadata.decender),i("/CapHeight "+r.metadata.capHeight),i(">>"),i("endobj");var g=a();i("<<"),i("/Type /Font"),i("/BaseFont /"+s(r.fontName)),i("/FontDescriptor "+p+" 0 R"),i("/W "+t.API.PDFObject.convert(u)),i("/CIDToGIDMap /Identity"),i("/DW 1000"),i("/Subtype /CIDFontType2"),i("/CIDSystemInfo"),i("<<"),i("/Supplement 0"),i("/Registry (Adobe)"),i("/Ordering ("+r.encoding+")"),i(">>"),i(">>"),i("endobj"),r.objectNumber=a(),i("<<"),i("/Type /Font"),i("/Subtype /Type0"),i("/ToUnicode "+d+" 0 R"),i("/BaseFont /"+s(r.fontName)),i("/Encoding /"+r.encoding),i("/DescendantFonts ["+g+" 0 R]"),i(">>"),i("endobj"),r.isAlreadyPutted=!0}}(e)}]);e.events.push(["putFont",function(e){!function(e){var r=e.font,i=e.out,a=e.newObject,o=e.putStream,s=e.pdfEscapeWithNeededParanthesis;if(r.metadata instanceof t.API.TTFFont&&"WinAnsiEncoding"===r.encoding){for(var u=r.metadata.rawData,c="",l=0;l<u.length;l++)c+=String.fromCharCode(u[l]);var h=a();o({data:c,addLength1:!0,objectId:h}),i("endobj");var f=a();o({data:n(r.metadata.toUnicode),addLength1:!0,objectId:f}),i("endobj");var d=a();i("<<"),i("/Descent "+r.metadata.decender),i("/CapHeight "+r.metadata.capHeight),i("/StemV "+r.metadata.stemV),i("/Type /FontDescriptor"),i("/FontFile2 "+h+" 0 R"),i("/Flags 96"),i("/FontBBox "+t.API.PDFObject.convert(r.metadata.bbox)),i("/FontName /"+s(r.fontName)),i("/ItalicAngle "+r.metadata.italicAngle),i("/Ascent "+r.metadata.ascender),i(">>"),i("endobj"),r.objectNumber=a();for(var p=0;p<r.metadata.hmtx.widths.length;p++)r.metadata.hmtx.widths[p]=parseInt(r.metadata.hmtx.widths[p]*(1e3/r.metadata.head.unitsPerEm));i("<</Subtype/TrueType/Type/Font/ToUnicode "+f+" 0 R/BaseFont/"+s(r.fontName)+"/FontDescriptor "+d+" 0 R/Encoding/"+r.encoding+" /FirstChar 29 /LastChar 255 /Widths "+t.API.PDFObject.convert(r.metadata.hmtx.widths)+">>"),i("endobj"),r.isAlreadyPutted=!0}}(e)}]);var i=function(t){var e,n=t.text||"",i=t.x,a=t.y,o=t.options||{},s=t.mutex||{},u=s.pdfEscape,c=s.activeFontKey,l=s.fonts,h=c,f="",d=0,p="",g=l[h].encoding;if("Identity-H"!==l[h].encoding)return{text:n,x:i,y:a,options:o,mutex:s};for(p=n,h=c,Array.isArray(n)&&(p=n[0]),d=0;d<p.length;d+=1)l[h].metadata.hasOwnProperty("cmap")&&(e=l[h].metadata.cmap.unicode.codeMap[p[d].charCodeAt(0)]),e||p[d].charCodeAt(0)<256&&l[h].metadata.hasOwnProperty("Unicode")?f+=p[d]:f+="";var m="";return parseInt(h.slice(1))<14||"WinAnsiEncoding"===g?m=u(f,h).split("").map((function(t){return t.charCodeAt(0).toString(16)})).join(""):"Identity-H"===g&&(m=r(f,l[h])),s.isHex=!0,{text:m,x:i,y:a,options:o,mutex:s}};e.events.push(["postProcessText",function(t){var e=t.text||"",r=[],n={text:e,x:t.x,y:t.y,options:t.options,mutex:t.mutex};if(Array.isArray(e)){var a=0;for(a=0;a<e.length;a+=1)Array.isArray(e[a])&&3===e[a].length?r.push([i(Object.assign({},n,{text:e[a][0]})).text,e[a][1],e[a][2]]):r.push(i(Object.assign({},n,{text:e[a]})).text);t.text=r}else t.text=i(Object.assign({},n,{text:e})).text}])}(j),-/**- * @license- * jsPDF virtual FileSystem functionality- *- * Licensed under the MIT License.- * http://opensource.org/licenses/mit-license- */-function(t){var e=function(){return void 0===this.internal.vFS&&(this.internal.vFS={}),!0};t.existsFileInVFS=function(t){return e.call(this),void 0!==this.internal.vFS[t]},t.addFileToVFS=function(t,r){return e.call(this),this.internal.vFS[t]=r,this},t.getFileFromVFS=function(t){return e.call(this),void 0!==this.internal.vFS[t]?this.internal.vFS[t]:null}}(j.API),-/**- * @license- * Unicode Bidi Engine based on the work of Alex Shensis (@asthensis)- * MIT License- */-function(t){t.__bidiEngine__=t.prototype.__bidiEngine__=function(t){var r,n,i,a,o,s,u,c=e,l=[[0,3,0,1,0,0,0],[0,3,0,1,2,2,0],[0,3,0,17,2,0,1],[0,3,5,5,4,1,0],[0,3,21,21,4,0,1],[0,3,5,5,4,2,0]],h=[[2,0,1,1,0,1,0],[2,0,1,1,0,2,0],[2,0,2,1,3,2,0],[2,0,2,33,3,1,1]],f={L:0,R:1,EN:2,AN:3,N:4,B:5,S:6},d={0:0,5:1,6:2,7:3,32:4,251:5,254:6,255:7},p=["(",")","(","<",">","<","[","]","[","{","}","{","«","»","«","‹","›","‹","⁅","⁆","⁅","⁽","⁾","⁽","₍","₎","₍","≤","≥","≤","〈","〉","〈","﹙","﹚","﹙","﹛","﹜","﹛","﹝","﹞","﹝","﹤","﹥","﹤"],g=new RegExp(/^([1-4|9]|1[0-9]|2[0-9]|3[0168]|4[04589]|5[012]|7[78]|159|16[0-9]|17[0-2]|21[569]|22[03489]|250)$/),m=!1,v=0;this.__bidiEngine__={};var b=function(t){var e=t.charCodeAt(),r=e>>8,n=d[r];return void 0!==n?c[256*n+(255&e)]:252===r||253===r?"AL":g.test(r)?"L":8===r?"R":"N"},y=function(t){for(var e,r=0;r<t.length;r++){if("L"===(e=b(t.charAt(r))))return!1;if("R"===e)return!0}return!1},w=function(t,e,o,s){var u,c,l,h,f=e[s];switch(f){case"L":case"R":m=!1;break;case"N":case"AN":break;case"EN":m&&(f="AN");break;case"AL":m=!0,f="R";break;case"WS":f="N";break;case"CS":s<1||s+1>=e.length||"EN"!==(u=o[s-1])&&"AN"!==u||"EN"!==(c=e[s+1])&&"AN"!==c?f="N":m&&(c="AN"),f=c===u?c:"N";break;case"ES":f="EN"===(u=s>0?o[s-1]:"B")&&s+1<e.length&&"EN"===e[s+1]?"EN":"N";break;case"ET":if(s>0&&"EN"===o[s-1]){f="EN";break}if(m){f="N";break}for(l=s+1,h=e.length;l<h&&"ET"===e[l];)l++;f=l<h&&"EN"===e[l]?"EN":"N";break;case"NSM":if(i&&!a){for(h=e.length,l=s+1;l<h&&"NSM"===e[l];)l++;if(l<h){var d=t[s],p=d>=1425&&d<=2303||64286===d;if(u=e[l],p&&("R"===u||"AL"===u)){f="R";break}}}f=s<1||"B"===(u=e[s-1])?"N":o[s-1];break;case"B":m=!1,r=!0,f=v;break;case"S":n=!0,f="N";break;case"LRE":case"RLE":case"LRO":case"RLO":case"PDF":m=!1;break;case"BN":f="N"}return f},N=function(t,e,r){var n=t.split("");return r&&A(n,r,{hiLevel:v}),n.reverse(),e&&e.reverse(),n.join("")},A=function(t,e,i){var a,o,s,u,c,d=-1,p=t.length,g=0,y=[],N=v?h:l,A=[];for(m=!1,r=!1,n=!1,o=0;o<p;o++)A[o]=b(t[o]);for(s=0;s<p;s++){if(c=g,y[s]=w(t,A,y,s),a=240&(g=N[c][f[y[s]]]),g&=15,e[s]=u=N[g][5],a>0)if(16===a){for(o=d;o<s;o++)e[o]=1;d=-1}else d=-1;if(N[g][6])-1===d&&(d=s);else if(d>-1){for(o=d;o<s;o++)e[o]=u;d=-1}"B"===A[s]&&(e[s]=0),i.hiLevel|=u}n&&function(t,e,r){for(var n=0;n<r;n++)if("S"===t[n]){e[n]=v;for(var i=n-1;i>=0&&"WS"===t[i];i--)e[i]=v}}(A,e,p)},L=function(t,e,n,i,a){if(!(a.hiLevel<t)){if(1===t&&1===v&&!r)return e.reverse(),void(n&&n.reverse());for(var o,s,u,c,l=e.length,h=0;h<l;){if(i[h]>=t){for(u=h+1;u<l&&i[u]>=t;)u++;for(c=h,s=u-1;c<s;c++,s--)o=e[c],e[c]=e[s],e[s]=o,n&&(o=n[c],n[c]=n[s],n[s]=o);h=u}h++}}},x=function(t,e,r){var n=t.split(""),i={hiLevel:v};return r||(r=[]),A(n,r,i),function(t,e,r){if(0!==r.hiLevel&&u)for(var n,i=0;i<t.length;i++)1===e[i]&&(n=p.indexOf(t[i]))>=0&&(t[i]=p[n+1])}(n,r,i),L(2,n,e,r,i),L(1,n,e,r,i),n.join("")};return this.__bidiEngine__.doBidiReorder=function(t,e,r){if(function(t,e){if(e)for(var r=0;r<t.length;r++)e[r]=r;void 0===a&&(a=y(t)),void 0===s&&(s=y(t))}(t,e),i||!o||s)if(i&&o&&a^s)v=a?1:0,t=N(t,e,r);else if(!i&&o&&s)v=a?1:0,t=x(t,e,r),t=N(t,e);else if(!i||a||o||s){if(i&&!o&&a^s)t=N(t,e),a?(v=0,t=x(t,e,r)):(v=1,t=x(t,e,r),t=N(t,e));else if(i&&a&&!o&&s)v=1,t=x(t,e,r),t=N(t,e);else if(!i&&!o&&a^s){var n=u;a?(v=1,t=x(t,e,r),v=0,u=!1,t=x(t,e,r),u=n):(v=0,t=x(t,e,r),t=N(t,e),v=1,u=!1,t=x(t,e,r),u=n,t=N(t,e))}}else v=0,t=x(t,e,r);else v=a?1:0,t=x(t,e,r);return t},this.__bidiEngine__.setOptions=function(t){t&&(i=t.isInputVisual,o=t.isOutputVisual,a=t.isInputRtl,s=t.isOutputRtl,u=t.isSymmetricSwapping)},this.__bidiEngine__.setOptions(t),this.__bidiEngine__};var e=["BN","BN","BN","BN","BN","BN","BN","BN","BN","S","B","S","WS","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","B","B","B","S","WS","N","N","ET","ET","ET","N","N","N","N","N","ES","CS","ES","CS","CS","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","CS","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","BN","BN","BN","BN","BN","BN","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","CS","N","ET","ET","ET","ET","N","N","N","N","L","N","N","BN","N","N","ET","ET","EN","EN","N","L","N","N","N","EN","L","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","N","N","N","N","N","ET","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","R","NSM","R","NSM","NSM","R","NSM","NSM","R","NSM","N","N","N","N","N","N","N","N","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","N","N","N","N","N","R","R","R","R","R","N","N","N","N","N","N","N","N","N","N","N","AN","AN","AN","AN","AN","AN","N","N","AL","ET","ET","AL","CS","AL","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AN","AN","AN","AN","AN","AN","AN","AN","AN","AN","ET","AN","AN","AL","AL","AL","NSM","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AN","N","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","NSM","NSM","N","NSM","NSM","NSM","NSM","AL","AL","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","AL","AL","NSM","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AL","N","N","N","N","N","N","N","N","N","N","N","N","N","N","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","R","R","N","N","N","N","R","N","N","N","N","N","WS","WS","WS","WS","WS","WS","WS","WS","WS","WS","WS","BN","BN","BN","L","R","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","WS","B","LRE","RLE","PDF","LRO","RLO","CS","ET","ET","ET","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","CS","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","WS","BN","BN","BN","BN","BN","N","LRI","RLI","FSI","PDI","BN","BN","BN","BN","BN","BN","EN","L","N","N","EN","EN","EN","EN","EN","EN","ES","ES","N","N","N","L","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","ES","ES","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","L","L","N","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","N","N","N","N","N","R","NSM","R","R","R","R","R","R","R","R","R","R","ES","R","R","R","R","R","R","R","R","R","R","R","R","R","N","R","R","R","R","R","N","R","N","R","R","N","R","R","N","R","R","R","R","R","R","R","R","R","R","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","CS","N","CS","N","N","CS","N","N","N","N","N","N","N","N","N","ET","N","N","ES","ES","N","N","N","N","N","ET","ET","N","N","N","N","N","AL","AL","AL","AL","AL","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","N","BN","N","N","N","ET","ET","ET","N","N","N","N","N","ES","CS","ES","CS","CS","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","CS","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","L","L","L","L","L","L","N","N","L","L","L","L","L","L","N","N","L","L","L","L","L","L","N","N","L","L","L","N","N","N","ET","ET","N","N","N","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N"],r=new t.__bidiEngine__({isInputVisual:!0});t.API.events.push(["postProcessText",function(t){var e=t.text,n=(t.x,t.y,t.options||{}),i=(t.mutex,n.lang,[]);if(n.isInputVisual="boolean"!=typeof n.isInputVisual||n.isInputVisual,r.setOptions(n),"[object Array]"===Object.prototype.toString.call(e)){var a=0;for(i=[],a=0;a<e.length;a+=1)"[object Array]"===Object.prototype.toString.call(e[a])?i.push([r.doBidiReorder(e[a][0]),e[a][1],e[a][2]]):i.push([r.doBidiReorder(e[a])]);t.text=i}else t.text=r.doBidiReorder(e);r.setOptions({isInputVisual:!0})}])}(j),j.API.TTFFont=function(){function t(t){var e;if(this.rawData=t,e=this.contents=new qe(t),this.contents.pos=4,"ttcf"===e.readString(4))throw new Error("TTCF not supported.");e.pos=0,this.parse(),this.subset=new rr(this),this.registerTTF()}return t.open=function(e){return new t(e)},t.prototype.parse=function(){return this.directory=new Re(this.contents),this.head=new Ue(this),this.name=new Je(this),this.cmap=new He(this),this.toUnicode={},this.hhea=new We(this),this.maxp=new Xe(this),this.hmtx=new Ke(this),this.post=new Ge(this),this.os2=new Ve(this),this.loca=new er(this),this.glyf=new $e(this),this.ascender=this.os2.exists&&this.os2.ascender||this.hhea.ascender,this.decender=this.os2.exists&&this.os2.decender||this.hhea.decender,this.lineGap=this.os2.exists&&this.os2.lineGap||this.hhea.lineGap,this.bbox=[this.head.xMin,this.head.yMin,this.head.xMax,this.head.yMax]},t.prototype.registerTTF=function(){var t,e,r,n,i;if(this.scaleFactor=1e3/this.head.unitsPerEm,this.bbox=function(){var e,r,n,i;for(i=[],e=0,r=(n=this.bbox).length;e<r;e++)t=n[e],i.push(Math.round(t*this.scaleFactor));return i}.call(this),this.stemV=0,this.post.exists?(r=255&(n=this.post.italic_angle),0!=(32768&(e=n>>16))&&(e=-(1+(65535^e))),this.italicAngle=+(e+"."+r)):this.italicAngle=0,this.ascender=Math.round(this.ascender*this.scaleFactor),this.decender=Math.round(this.decender*this.scaleFactor),this.lineGap=Math.round(this.lineGap*this.scaleFactor),this.capHeight=this.os2.exists&&this.os2.capHeight||this.ascender,this.xHeight=this.os2.exists&&this.os2.xHeight||0,this.familyClass=(this.os2.exists&&this.os2.familyClass||0)>>8,this.isSerif=1===(i=this.familyClass)||2===i||3===i||4===i||5===i||7===i,this.isScript=10===this.familyClass,this.flags=0,this.post.isFixedPitch&&(this.flags|=1),this.isSerif&&(this.flags|=2),this.isScript&&(this.flags|=8),0!==this.italicAngle&&(this.flags|=64),this.flags|=32,!this.cmap.unicode)throw new Error("No unicode cmap for font")},t.prototype.characterToGlyph=function(t){var e;return(null!=(e=this.cmap.unicode)?e.codeMap[t]:void 0)||0},t.prototype.widthOfGlyph=function(t){var e;return e=1e3/this.head.unitsPerEm,this.hmtx.forGlyph(t).advance*e},t.prototype.widthOfString=function(t,e,r){var n,i,a,o;for(a=0,i=0,o=(t=""+t).length;0<=o?i<o:i>o;i=0<=o?++i:--i)n=t.charCodeAt(i),a+=this.widthOfGlyph(this.characterToGlyph(n))+r*(1e3/e)||0;return a*(e/1e3)},t.prototype.lineHeight=function(t,e){var r;return null==e&&(e=!1),r=e?this.lineGap:0,(this.ascender+r-this.decender)/1e3*t},t}();var Ee,qe=function(){function t(t){this.data=null!=t?t:[],this.pos=0,this.length=this.data.length}return t.prototype.readByte=function(){return this.data[this.pos++]},t.prototype.writeByte=function(t){return this.data[this.pos++]=t},t.prototype.readUInt32=function(){return 16777216*this.readByte()+(this.readByte()<<16)+(this.readByte()<<8)+this.readByte()},t.prototype.writeUInt32=function(t){return this.writeByte(t>>>24&255),this.writeByte(t>>16&255),this.writeByte(t>>8&255),this.writeByte(255&t)},t.prototype.readInt32=function(){var t;return(t=this.readUInt32())>=2147483648?t-4294967296:t},t.prototype.writeInt32=function(t){return t<0&&(t+=4294967296),this.writeUInt32(t)},t.prototype.readUInt16=function(){return this.readByte()<<8|this.readByte()},t.prototype.writeUInt16=function(t){return this.writeByte(t>>8&255),this.writeByte(255&t)},t.prototype.readInt16=function(){var t;return(t=this.readUInt16())>=32768?t-65536:t},t.prototype.writeInt16=function(t){return t<0&&(t+=65536),this.writeUInt16(t)},t.prototype.readString=function(t){var e,r;for(r=[],e=0;0<=t?e<t:e>t;e=0<=t?++e:--e)r[e]=String.fromCharCode(this.readByte());return r.join("")},t.prototype.writeString=function(t){var e,r,n;for(n=[],e=0,r=t.length;0<=r?e<r:e>r;e=0<=r?++e:--e)n.push(this.writeByte(t.charCodeAt(e)));return n},t.prototype.readShort=function(){return this.readInt16()},t.prototype.writeShort=function(t){return this.writeInt16(t)},t.prototype.readLongLong=function(){var t,e,r,n,i,a,o,s;return t=this.readByte(),e=this.readByte(),r=this.readByte(),n=this.readByte(),i=this.readByte(),a=this.readByte(),o=this.readByte(),s=this.readByte(),128&t?-1*(72057594037927940*(255^t)+281474976710656*(255^e)+1099511627776*(255^r)+4294967296*(255^n)+16777216*(255^i)+65536*(255^a)+256*(255^o)+(255^s)+1):72057594037927940*t+281474976710656*e+1099511627776*r+4294967296*n+16777216*i+65536*a+256*o+s},t.prototype.writeLongLong=function(t){var e,r;return e=Math.floor(t/4294967296),r=4294967295&t,this.writeByte(e>>24&255),this.writeByte(e>>16&255),this.writeByte(e>>8&255),this.writeByte(255&e),this.writeByte(r>>24&255),this.writeByte(r>>16&255),this.writeByte(r>>8&255),this.writeByte(255&r)},t.prototype.readInt=function(){return this.readInt32()},t.prototype.writeInt=function(t){return this.writeInt32(t)},t.prototype.read=function(t){var e,r;for(e=[],r=0;0<=t?r<t:r>t;r=0<=t?++r:--r)e.push(this.readByte());return e},t.prototype.write=function(t){var e,r,n,i;for(i=[],r=0,n=t.length;r<n;r++)e=t[r],i.push(this.writeByte(e));return i},t}(),Re=function(){var t;function e(t){var e,r,n;for(this.scalarType=t.readInt(),this.tableCount=t.readShort(),this.searchRange=t.readShort(),this.entrySelector=t.readShort(),this.rangeShift=t.readShort(),this.tables={},r=0,n=this.tableCount;0<=n?r<n:r>n;r=0<=n?++r:--r)e={tag:t.readString(4),checksum:t.readInt(),offset:t.readInt(),length:t.readInt()},this.tables[e.tag]=e}return e.prototype.encode=function(e){var r,n,i,a,o,s,u,c,l,h,f,d,p;for(p in f=Object.keys(e).length,s=Math.log(2),l=16*Math.floor(Math.log(f)/s),a=Math.floor(l/s),c=16*f-l,(n=new qe).writeInt(this.scalarType),n.writeShort(f),n.writeShort(l),n.writeShort(a),n.writeShort(c),i=16*f,u=n.pos+i,o=null,d=[],e)for(h=e[p],n.writeString(p),n.writeInt(t(h)),n.writeInt(u),n.writeInt(h.length),d=d.concat(h),"head"===p&&(o=u),u+=h.length;u%4;)d.push(0),u++;return n.write(d),r=2981146554-t(n.data),n.pos=o+8,n.writeUInt32(r),n.data},t=function(t){var e,r,n,i;for(t=Ze.call(t);t.length%4;)t.push(0);for(n=new qe(t),r=0,e=0,i=t.length;e<i;e=e+=4)r+=n.readUInt32();return 4294967295&r},e}(),Te={}.hasOwnProperty,De=function(t,e){for(var r in e)Te.call(e,r)&&(t[r]=e[r]);function n(){this.constructor=t}return n.prototype=e.prototype,t.prototype=new n,t.__super__=e.prototype,t},Ue=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return De(e,t),e.prototype.tag="head",e.prototype.parse=function(t){return t.pos=this.offset,this.version=t.readInt(),this.revision=t.readInt(),this.checkSumAdjustment=t.readInt(),this.magicNumber=t.readInt(),this.flags=t.readShort(),this.unitsPerEm=t.readShort(),this.created=t.readLongLong(),this.modified=t.readLongLong(),this.xMin=t.readShort(),this.yMin=t.readShort(),this.xMax=t.readShort(),this.yMax=t.readShort(),this.macStyle=t.readShort(),this.lowestRecPPEM=t.readShort(),this.fontDirectionHint=t.readShort(),this.indexToLocFormat=t.readShort(),this.glyphDataFormat=t.readShort()},e.prototype.encode=function(t){var e;return(e=new qe).writeInt(this.version),e.writeInt(this.revision),e.writeInt(this.checkSumAdjustment),e.writeInt(this.magicNumber),e.writeShort(this.flags),e.writeShort(this.unitsPerEm),e.writeLongLong(this.created),e.writeLongLong(this.modified),e.writeShort(this.xMin),e.writeShort(this.yMin),e.writeShort(this.xMax),e.writeShort(this.yMax),e.writeShort(this.macStyle),e.writeShort(this.lowestRecPPEM),e.writeShort(this.fontDirectionHint),e.writeShort(t),e.writeShort(this.glyphDataFormat),e.data},e}(Ee=function(){function t(t){var e;this.file=t,e=this.file.directory.tables[this.tag],this.exists=!!e,e&&(this.offset=e.offset,this.length=e.length,this.parse(this.file.contents))}return t.prototype.parse=function(){},t.prototype.encode=function(){},t.prototype.raw=function(){return this.exists?(this.file.contents.pos=this.offset,this.file.contents.read(this.length)):null},t}()),ze=function(){function t(t,e){var r,n,i,a,o,s,u,c,l,h,f,d,p,g,m,v,b;switch(this.platformID=t.readUInt16(),this.encodingID=t.readShort(),this.offset=e+t.readInt(),l=t.pos,t.pos=this.offset,this.format=t.readUInt16(),this.length=t.readUInt16(),this.language=t.readUInt16(),this.isUnicode=3===this.platformID&&1===this.encodingID&&4===this.format||0===this.platformID&&4===this.format,this.codeMap={},this.format){case 0:for(s=0;s<256;++s)this.codeMap[s]=t.readByte();break;case 4:for(f=t.readUInt16(),h=f/2,t.pos+=6,i=function(){var e,r;for(r=[],s=e=0;0<=h?e<h:e>h;s=0<=h?++e:--e)r.push(t.readUInt16());return r}(),t.pos+=2,p=function(){var e,r;for(r=[],s=e=0;0<=h?e<h:e>h;s=0<=h?++e:--e)r.push(t.readUInt16());return r}(),u=function(){var e,r;for(r=[],s=e=0;0<=h?e<h:e>h;s=0<=h?++e:--e)r.push(t.readUInt16());return r}(),c=function(){var e,r;for(r=[],s=e=0;0<=h?e<h:e>h;s=0<=h?++e:--e)r.push(t.readUInt16());return r}(),n=(this.length-t.pos+this.offset)/2,o=function(){var e,r;for(r=[],s=e=0;0<=n?e<n:e>n;s=0<=n?++e:--e)r.push(t.readUInt16());return r}(),s=m=0,b=i.length;m<b;s=++m)for(g=i[s],r=v=d=p[s];d<=g?v<=g:v>=g;r=d<=g?++v:--v)0===c[s]?a=r+u[s]:0!==(a=o[c[s]/2+(r-d)-(h-s)]||0)&&(a+=u[s]),this.codeMap[r]=65535&a}t.pos=l}return t.encode=function(t,e){var r,n,i,a,o,s,u,c,l,h,f,d,p,g,m,v,b,y,w,N,A,L,x,S,_,P,k,F,I,C,j,O,B,M,E,q,R,T,D,U,z,H,W,V,G,Y;switch(F=new qe,a=Object.keys(t).sort((function(t,e){return t-e})),e){case"macroman":for(p=0,g=function(){var t=[];for(d=0;d<256;++d)t.push(0);return t}(),v={0:0},i={},I=0,B=a.length;I<B;I++)null==v[W=t[n=a[I]]]&&(v[W]=++p),i[n]={old:t[n],new:v[t[n]]},g[n]=v[t[n]];return F.writeUInt16(1),F.writeUInt16(0),F.writeUInt32(12),F.writeUInt16(0),F.writeUInt16(262),F.writeUInt16(0),F.write(g),{charMap:i,subtable:F.data,maxGlyphID:p+1};case"unicode":for(P=[],l=[],b=0,v={},r={},m=u=null,C=0,M=a.length;C<M;C++)null==v[w=t[n=a[C]]]&&(v[w]=++b),r[n]={old:w,new:v[w]},o=v[w]-n,null!=m&&o===u||(m&&l.push(m),P.push(n),u=o),m=n;for(m&&l.push(m),l.push(65535),P.push(65535),S=2*(x=P.length),L=2*Math.pow(Math.log(x)/Math.LN2,2),h=Math.log(L/2)/Math.LN2,A=2*x-L,s=[],N=[],f=[],d=j=0,E=P.length;j<E;d=++j){if(_=P[d],c=l[d],65535===_){s.push(0),N.push(0);break}if(_-(k=r[_].new)>=32768)for(s.push(0),N.push(2*(f.length+x-d)),n=O=_;_<=c?O<=c:O>=c;n=_<=c?++O:--O)f.push(r[n].new);else s.push(k-_),N.push(0)}for(F.writeUInt16(3),F.writeUInt16(1),F.writeUInt32(12),F.writeUInt16(4),F.writeUInt16(16+8*x+2*f.length),F.writeUInt16(0),F.writeUInt16(S),F.writeUInt16(L),F.writeUInt16(h),F.writeUInt16(A),z=0,q=l.length;z<q;z++)n=l[z],F.writeUInt16(n);for(F.writeUInt16(0),H=0,R=P.length;H<R;H++)n=P[H],F.writeUInt16(n);for(V=0,T=s.length;V<T;V++)o=s[V],F.writeUInt16(o);for(G=0,D=N.length;G<D;G++)y=N[G],F.writeUInt16(y);for(Y=0,U=f.length;Y<U;Y++)p=f[Y],F.writeUInt16(p);return{charMap:r,subtable:F.data,maxGlyphID:b+1}}},t}(),He=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return De(e,t),e.prototype.tag="cmap",e.prototype.parse=function(t){var e,r,n;for(t.pos=this.offset,this.version=t.readUInt16(),n=t.readUInt16(),this.tables=[],this.unicode=null,r=0;0<=n?r<n:r>n;r=0<=n?++r:--r)e=new ze(t,this.offset),this.tables.push(e),e.isUnicode&&null==this.unicode&&(this.unicode=e);return!0},e.encode=function(t,e){var r,n;return null==e&&(e="macroman"),r=ze.encode(t,e),(n=new qe).writeUInt16(0),n.writeUInt16(1),r.table=n.data.concat(r.subtable),r},e}(Ee),We=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return De(e,t),e.prototype.tag="hhea",e.prototype.parse=function(t){return t.pos=this.offset,this.version=t.readInt(),this.ascender=t.readShort(),this.decender=t.readShort(),this.lineGap=t.readShort(),this.advanceWidthMax=t.readShort(),this.minLeftSideBearing=t.readShort(),this.minRightSideBearing=t.readShort(),this.xMaxExtent=t.readShort(),this.caretSlopeRise=t.readShort(),this.caretSlopeRun=t.readShort(),this.caretOffset=t.readShort(),t.pos+=8,this.metricDataFormat=t.readShort(),this.numberOfMetrics=t.readUInt16()},e}(Ee),Ve=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return De(e,t),e.prototype.tag="OS/2",e.prototype.parse=function(t){if(t.pos=this.offset,this.version=t.readUInt16(),this.averageCharWidth=t.readShort(),this.weightClass=t.readUInt16(),this.widthClass=t.readUInt16(),this.type=t.readShort(),this.ySubscriptXSize=t.readShort(),this.ySubscriptYSize=t.readShort(),this.ySubscriptXOffset=t.readShort(),this.ySubscriptYOffset=t.readShort(),this.ySuperscriptXSize=t.readShort(),this.ySuperscriptYSize=t.readShort(),this.ySuperscriptXOffset=t.readShort(),this.ySuperscriptYOffset=t.readShort(),this.yStrikeoutSize=t.readShort(),this.yStrikeoutPosition=t.readShort(),this.familyClass=t.readShort(),this.panose=function(){var e,r;for(r=[],e=0;e<10;++e)r.push(t.readByte());return r}(),this.charRange=function(){var e,r;for(r=[],e=0;e<4;++e)r.push(t.readInt());return r}(),this.vendorID=t.readString(4),this.selection=t.readShort(),this.firstCharIndex=t.readShort(),this.lastCharIndex=t.readShort(),this.version>0&&(this.ascent=t.readShort(),this.descent=t.readShort(),this.lineGap=t.readShort(),this.winAscent=t.readShort(),this.winDescent=t.readShort(),this.codePageRange=function(){var e,r;for(r=[],e=0;e<2;e=++e)r.push(t.readInt());return r}(),this.version>1))return this.xHeight=t.readShort(),this.capHeight=t.readShort(),this.defaultChar=t.readShort(),this.breakChar=t.readShort(),this.maxContext=t.readShort()},e}(Ee),Ge=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return De(e,t),e.prototype.tag="post",e.prototype.parse=function(t){var e,r,n;switch(t.pos=this.offset,this.format=t.readInt(),this.italicAngle=t.readInt(),this.underlinePosition=t.readShort(),this.underlineThickness=t.readShort(),this.isFixedPitch=t.readInt(),this.minMemType42=t.readInt(),this.maxMemType42=t.readInt(),this.minMemType1=t.readInt(),this.maxMemType1=t.readInt(),this.format){case 65536:break;case 131072:var i;for(r=t.readUInt16(),this.glyphNameIndex=[],i=0;0<=r?i<r:i>r;i=0<=r?++i:--i)this.glyphNameIndex.push(t.readUInt16());for(this.names=[],n=[];t.pos<this.offset+this.length;)e=t.readByte(),n.push(this.names.push(t.readString(e)));return n;case 151552:return r=t.readUInt16(),this.offsets=t.read(r);case 196608:break;case 262144:return this.map=function(){var e,r,n;for(n=[],i=e=0,r=this.file.maxp.numGlyphs;0<=r?e<r:e>r;i=0<=r?++e:--e)n.push(t.readUInt32());return n}.call(this)}},e}(Ee),Ye=function(t,e){this.raw=t,this.length=t.length,this.platformID=e.platformID,this.encodingID=e.encodingID,this.languageID=e.languageID},Je=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return De(e,t),e.prototype.tag="name",e.prototype.parse=function(t){var e,r,n,i,a,o,s,u,c,l,h;for(t.pos=this.offset,t.readShort(),e=t.readShort(),o=t.readShort(),r=[],i=0;0<=e?i<e:i>e;i=0<=e?++i:--i)r.push({platformID:t.readShort(),encodingID:t.readShort(),languageID:t.readShort(),nameID:t.readShort(),length:t.readShort(),offset:this.offset+o+t.readShort()});for(s={},i=c=0,l=r.length;c<l;i=++c)n=r[i],t.pos=n.offset,u=t.readString(n.length),a=new Ye(u,n),null==s[h=n.nameID]&&(s[h]=[]),s[n.nameID].push(a);this.strings=s,this.copyright=s[0],this.fontFamily=s[1],this.fontSubfamily=s[2],this.uniqueSubfamily=s[3],this.fontName=s[4],this.version=s[5];try{this.postscriptName=s[6][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}catch(t){this.postscriptName=s[4][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}return this.trademark=s[7],this.manufacturer=s[8],this.designer=s[9],this.description=s[10],this.vendorUrl=s[11],this.designerUrl=s[12],this.license=s[13],this.licenseUrl=s[14],this.preferredFamily=s[15],this.preferredSubfamily=s[17],this.compatibleFull=s[18],this.sampleText=s[19]},e}(Ee),Xe=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return De(e,t),e.prototype.tag="maxp",e.prototype.parse=function(t){return t.pos=this.offset,this.version=t.readInt(),this.numGlyphs=t.readUInt16(),this.maxPoints=t.readUInt16(),this.maxContours=t.readUInt16(),this.maxCompositePoints=t.readUInt16(),this.maxComponentContours=t.readUInt16(),this.maxZones=t.readUInt16(),this.maxTwilightPoints=t.readUInt16(),this.maxStorage=t.readUInt16(),this.maxFunctionDefs=t.readUInt16(),this.maxInstructionDefs=t.readUInt16(),this.maxStackElements=t.readUInt16(),this.maxSizeOfInstructions=t.readUInt16(),this.maxComponentElements=t.readUInt16(),this.maxComponentDepth=t.readUInt16()},e}(Ee),Ke=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return De(e,t),e.prototype.tag="hmtx",e.prototype.parse=function(t){var e,r,n,i,a,o,s;for(t.pos=this.offset,this.metrics=[],e=0,o=this.file.hhea.numberOfMetrics;0<=o?e<o:e>o;e=0<=o?++e:--e)this.metrics.push({advance:t.readUInt16(),lsb:t.readInt16()});for(n=this.file.maxp.numGlyphs-this.file.hhea.numberOfMetrics,this.leftSideBearings=function(){var r,i;for(i=[],e=r=0;0<=n?r<n:r>n;e=0<=n?++r:--r)i.push(t.readInt16());return i}(),this.widths=function(){var t,e,r,n;for(n=[],t=0,e=(r=this.metrics).length;t<e;t++)i=r[t],n.push(i.advance);return n}.call(this),r=this.widths[this.widths.length-1],s=[],e=a=0;0<=n?a<n:a>n;e=0<=n?++a:--a)s.push(this.widths.push(r));return s},e.prototype.forGlyph=function(t){return t in this.metrics?this.metrics[t]:{advance:this.metrics[this.metrics.length-1].advance,lsb:this.leftSideBearings[t-this.metrics.length]}},e}(Ee),Ze=[].slice,$e=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return De(e,t),e.prototype.tag="glyf",e.prototype.parse=function(){return this.cache={}},e.prototype.glyphFor=function(t){var e,r,n,i,a,o,s,u,c,l;return t in this.cache?this.cache[t]:(i=this.file.loca,e=this.file.contents,r=i.indexOf(t),0===(n=i.lengthOf(t))?this.cache[t]=null:(e.pos=this.offset+r,a=(o=new qe(e.read(n))).readShort(),u=o.readShort(),l=o.readShort(),s=o.readShort(),c=o.readShort(),this.cache[t]=-1===a?new tr(o,u,l,s,c):new Qe(o,a,u,l,s,c),this.cache[t]))},e.prototype.encode=function(t,e,r){var n,i,a,o,s;for(a=[],i=[],o=0,s=e.length;o<s;o++)n=t[e[o]],i.push(a.length),n&&(a=a.concat(n.encode(r)));return i.push(a.length),{table:a,offsets:i}},e}(Ee),Qe=function(){function t(t,e,r,n,i,a){this.raw=t,this.numberOfContours=e,this.xMin=r,this.yMin=n,this.xMax=i,this.yMax=a,this.compound=!1}return t.prototype.encode=function(){return this.raw.data},t}(),tr=function(){function t(t,e,r,n,i){var a,o;for(this.raw=t,this.xMin=e,this.yMin=r,this.xMax=n,this.yMax=i,this.compound=!0,this.glyphIDs=[],this.glyphOffsets=[],a=this.raw;o=a.readShort(),this.glyphOffsets.push(a.pos),this.glyphIDs.push(a.readUInt16()),32&o;)a.pos+=1&o?4:2,128&o?a.pos+=8:64&o?a.pos+=4:8&o&&(a.pos+=2)}return 1,8,32,64,128,t.prototype.encode=function(){var t,e,r;for(e=new qe(Ze.call(this.raw.data)),t=0,r=this.glyphIDs.length;t<r;++t)e.pos=this.glyphOffsets[t];return e.data},t}(),er=function(t){function e(){return e.__super__.constructor.apply(this,arguments)}return De(e,t),e.prototype.tag="loca",e.prototype.parse=function(t){var e,r;return t.pos=this.offset,e=this.file.head.indexToLocFormat,this.offsets=0===e?function(){var e,n;for(n=[],r=0,e=this.length;r<e;r+=2)n.push(2*t.readUInt16());return n}.call(this):function(){var e,n;for(n=[],r=0,e=this.length;r<e;r+=4)n.push(t.readUInt32());return n}.call(this)},e.prototype.indexOf=function(t){return this.offsets[t]},e.prototype.lengthOf=function(t){return this.offsets[t+1]-this.offsets[t]},e.prototype.encode=function(t,e){for(var r=new Uint32Array(this.offsets.length),n=0,i=0,a=0;a<r.length;++a)if(r[a]=n,i<e.length&&e[i]==a){++i,r[a]=n;var o=this.offsets[a],s=this.offsets[a+1]-o;s>0&&(n+=s)}for(var u=new Array(4*r.length),c=0;c<r.length;++c)u[4*c+3]=255&r[c],u[4*c+2]=(65280&r[c])>>8,u[4*c+1]=(16711680&r[c])>>16,u[4*c]=(4278190080&r[c])>>24;return u},e}(Ee),rr=function(){function t(t){this.font=t,this.subset={},this.unicodes={},this.next=33}return t.prototype.generateCmap=function(){var t,e,r,n,i;for(e in n=this.font.cmap.tables[0].codeMap,t={},i=this.subset)r=i[e],t[e]=n[r];return t},t.prototype.glyphsFor=function(t){var e,r,n,i,a,o,s;for(n={},a=0,o=t.length;a<o;a++)n[i=t[a]]=this.font.glyf.glyphFor(i);for(i in e=[],n)(null!=(r=n[i])?r.compound:void 0)&&e.push.apply(e,r.glyphIDs);if(e.length>0)for(i in s=this.glyphsFor(e))r=s[i],n[i]=r;return n},t.prototype.encode=function(t,e){var r,n,i,a,o,s,u,c,l,h,f,d,p,g,m;for(n in r=He.encode(this.generateCmap(),"unicode"),a=this.glyphsFor(t),f={0:0},m=r.charMap)f[(s=m[n]).old]=s.new;for(d in h=r.maxGlyphID,a)d in f||(f[d]=h++);return c=function(t){var e,r;for(e in r={},t)r[t[e]]=e;return r}(f),l=Object.keys(c).sort((function(t,e){return t-e})),p=function(){var t,e,r;for(r=[],t=0,e=l.length;t<e;t++)o=l[t],r.push(c[o]);return r}(),i=this.font.glyf.encode(a,p,f),u=this.font.loca.encode(i.offsets,p),g={cmap:this.font.cmap.raw(),glyf:i.table,loca:u,hmtx:this.font.hmtx.raw(),hhea:this.font.hhea.raw(),maxp:this.font.maxp.raw(),post:this.font.post.raw(),name:this.font.name.raw(),head:this.font.head.encode(e)},this.font.os2.exists&&(g["OS/2"]=this.font.os2.raw()),this.font.directory.encode(g)},t}();j.API.PDFObject=function(){var t;function e(){}return t=function(t,e){return(Array(e+1).join("0")+t).slice(-e)},e.convert=function(r){var n,i,a,o;if(Array.isArray(r))return"["+function(){var t,i,a;for(a=[],t=0,i=r.length;t<i;t++)n=r[t],a.push(e.convert(n));return a}().join(" ")+"]";if("string"==typeof r)return"/"+r;if(null!=r?r.isString:void 0)return"("+r+")";if(r instanceof Date)return"(D:"+t(r.getUTCFullYear(),4)+t(r.getUTCMonth(),2)+t(r.getUTCDate(),2)+t(r.getUTCHours(),2)+t(r.getUTCMinutes(),2)+t(r.getUTCSeconds(),2)+"Z)";if("[object Object]"==={}.toString.call(r)){for(i in a=["<<"],r)o=r[i],a.push("/"+i+" "+e.convert(o));return a.push(">>"),a.join("\n")}return""+r},e}(),t.AcroForm=Nt,t.AcroFormAppearance=yt,t.AcroFormButton=ft,t.AcroFormCheckBox=mt,t.AcroFormChoiceField=ut,t.AcroFormComboBox=lt,t.AcroFormEditBox=ht,t.AcroFormListBox=ct,t.AcroFormPasswordField=bt,t.AcroFormPushButton=dt,t.AcroFormRadioButton=pt,t.AcroFormTextField=vt,t.GState=k,t.ShadingPattern=I,t.TilingPattern=C,t.default=j,t.jsPDF=j,Object.defineProperty(t,"__esModule",{value:!0})}));-//# sourceMappingURL=jspdf.umd.min.js.map--/*! @source http://purl.eligrey.com/github/FileSaver.js/blob/master/FileSaver.js */-var saveAs=saveAs||function(e){"use strict";if(typeof e==="undefined"||typeof navigator!=="undefined"&&/MSIE [1-9]\./.test(navigator.userAgent)){return}var t=e.document,n=function(){return e.URL||e.webkitURL||e},r=t.createElementNS("http://www.w3.org/1999/xhtml","a"),o="download"in r,a=function(e){var t=new MouseEvent("click");e.dispatchEvent(t)},i=/constructor/i.test(e.HTMLElement)||e.safari,f=/CriOS\/[\d]+/.test(navigator.userAgent),u=function(t){(e.setImmediate||e.setTimeout)(function(){throw t},0)},s="application/octet-stream",d=1e3*40,c=function(e){var t=function(){if(typeof e==="string"){n().revokeObjectURL(e)}else{e.remove()}};setTimeout(t,d)},l=function(e,t,n){t=[].concat(t);var r=t.length;while(r--){var o=e["on"+t[r]];if(typeof o==="function"){try{o.call(e,n||e)}catch(a){u(a)}}}},p=function(e){if(/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)){return new Blob([String.fromCharCode(65279),e],{type:e.type})}return e},v=function(t,u,d){if(!d){t=p(t)}var v=this,w=t.type,m=w===s,y,h=function(){l(v,"writestart progress write writeend".split(" "))},S=function(){if((f||m&&i)&&e.FileReader){var r=new FileReader;r.onloadend=function(){var t=f?r.result:r.result.replace(/^data:[^;]*;/,"data:attachment/file;");var n=e.open(t,"_blank");if(!n)e.location.href=t;t=undefined;v.readyState=v.DONE;h()};r.readAsDataURL(t);v.readyState=v.INIT;return}if(!y){y=n().createObjectURL(t)}if(m){e.location.href=y}else{var o=e.open(y,"_blank");if(!o){e.location.href=y}}v.readyState=v.DONE;h();c(y)};v.readyState=v.INIT;if(o){y=n().createObjectURL(t);setTimeout(function(){r.href=y;r.download=u;a(r);h();c(y);v.readyState=v.DONE});return}S()},w=v.prototype,m=function(e,t,n){return new v(e,t||e.name||"download",n)};if(typeof navigator!=="undefined"&&navigator.msSaveOrOpenBlob){return function(e,t,n){t=t||e.name||"download";if(!n){e=p(e)}return navigator.msSaveOrOpenBlob(e,t)}}w.abort=function(){};w.readyState=w.INIT=0;w.WRITING=1;w.DONE=2;w.error=w.onwritestart=w.onprogress=w.onwrite=w.onabort=w.onerror=w.onwriteend=null;return m}(typeof self!=="undefined"&&self||typeof window!=="undefined"&&window||this.content);if(typeof module!=="undefined"&&module.exports){module.exports.saveAs=saveAs}else if(typeof define!=="undefined"&&define!==null&&define.amd!==null){define("FileSaver.js",function(){return saveAs})}--/*! xlsx.js (C) 2013-present SheetJS -- http://sheetjs.com */-var XLSX={};function make_xlsx_lib(e){e.version="0.18.5";var r=1200,t=1252;var a;if(typeof cptable!=="undefined")a=cptable;else if(typeof module!=="undefined"&&typeof require!=="undefined"){a=undefined}var n=[874,932,936,949,950,1250,1251,1252,1253,1254,1255,1256,1257,1258,1e4];var i={0:1252,1:65001,2:65001,77:1e4,128:932,129:949,130:1361,134:936,136:950,161:1253,162:1254,163:1258,177:1255,178:1256,186:1257,204:1251,222:874,238:1250,255:1252,69:6969};var s=function(e){if(n.indexOf(e)==-1)return;t=i[0]=e};function f(){s(1252)}var o=function(e){r=e;s(e)};function c(){o(1200);f()}function l(e){var r=[];for(var t=0,a=e.length;t<a;++t)r[t]=e.charCodeAt(t);return r}function u(e){var r=[];for(var t=0;t<e.length>>1;++t)r[t]=String.fromCharCode(e.charCodeAt(2*t)+(e.charCodeAt(2*t+1)<<8));return r.join("")}function h(e){var r=[];for(var t=0;t<e.length>>1;++t)r[t]=String.fromCharCode(e.charCodeAt(2*t+1)+(e.charCodeAt(2*t)<<8));return r.join("")}var d=function(e){var r=e.charCodeAt(0),t=e.charCodeAt(1);if(r==255&&t==254)return u(e.slice(2));if(r==254&&t==255)return h(e.slice(2));if(r==65279)return e.slice(1);return e};var v=function Yw(e){return String.fromCharCode(e)};var p=function Kw(e){return String.fromCharCode(e)};if(typeof a!=="undefined"){o=function(e){r=e;s(e)};d=function(e){if(e.charCodeAt(0)===255&&e.charCodeAt(1)===254){return a.utils.decode(1200,l(e.slice(2)))}return e};v=function Jw(e){if(r===1200)return String.fromCharCode(e);return a.utils.decode(r,[e&255,e>>8])[0]};p=function qw(e){return a.utils.decode(t,[e])[0]}}var m=null;var b=true;var g="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function w(e){var r="";var t=0,a=0,n=0,i=0,s=0,f=0,o=0;for(var c=0;c<e.length;){t=e.charCodeAt(c++);i=t>>2;a=e.charCodeAt(c++);s=(t&3)<<4|a>>4;n=e.charCodeAt(c++);f=(a&15)<<2|n>>6;o=n&63;if(isNaN(a)){f=o=64}else if(isNaN(n)){o=64}r+=g.charAt(i)+g.charAt(s)+g.charAt(f)+g.charAt(o)}return r}function k(e){var r="";var t=0,a=0,n=0,i=0,s=0,f=0,o=0;e=e.replace(/[^\w\+\/\=]/g,"");for(var c=0;c<e.length;){i=g.indexOf(e.charAt(c++));s=g.indexOf(e.charAt(c++));t=i<<2|s>>4;r+=String.fromCharCode(t);f=g.indexOf(e.charAt(c++));a=(s&15)<<4|f>>2;if(f!==64){r+=String.fromCharCode(a)}o=g.indexOf(e.charAt(c++));n=(f&3)<<6|o;if(o!==64){r+=String.fromCharCode(n)}}return r}var T=function(){return typeof Buffer!=="undefined"&&typeof undefined!=="undefined"&&typeof{}!=="undefined"&&!!{}.node}();var E=function(){if(typeof Buffer!=="undefined"){var e=!Buffer.from;if(!e)try{Buffer.from("foo","utf8")}catch(r){e=true}return e?function(e,r){return r?new Buffer(e,r):new Buffer(e)}:Buffer.from.bind(Buffer)}return function(){}}();function y(e){if(T)return Buffer.alloc?Buffer.alloc(e):new Buffer(e);return typeof Uint8Array!="undefined"?new Uint8Array(e):new Array(e)}function S(e){if(T)return Buffer.allocUnsafe?Buffer.allocUnsafe(e):new Buffer(e);return typeof Uint8Array!="undefined"?new Uint8Array(e):new Array(e)}var _=function Zw(e){if(T)return E(e,"binary");return e.split("").map(function(e){return e.charCodeAt(0)&255})};function A(e){if(typeof ArrayBuffer==="undefined")return _(e);var r=new ArrayBuffer(e.length),t=new Uint8Array(r);for(var a=0;a!=e.length;++a)t[a]=e.charCodeAt(a)&255;return r}function x(e){if(Array.isArray(e))return e.map(function(e){return String.fromCharCode(e)}).join("");var r=[];for(var t=0;t<e.length;++t)r[t]=String.fromCharCode(e[t]);return r.join("")}function C(e){if(typeof Uint8Array==="undefined")throw new Error("Unsupported");return new Uint8Array(e)}function R(e){if(typeof ArrayBuffer=="undefined")throw new Error("Unsupported");if(e instanceof ArrayBuffer)return R(new Uint8Array(e));var r=new Array(e.length);for(var t=0;t<e.length;++t)r[t]=e[t];return r}var O=T?function(e){return Buffer.concat(e.map(function(e){return Buffer.isBuffer(e)?e:E(e)}))}:function(e){if(typeof Uint8Array!=="undefined"){var r=0,t=0;for(r=0;r<e.length;++r)t+=e[r].length;var a=new Uint8Array(t);var n=0;for(r=0,t=0;r<e.length;t+=n,++r){n=e[r].length;if(e[r]instanceof Uint8Array)a.set(e[r],t);else if(typeof e[r]=="string"){throw"wtf"}else a.set(new Uint8Array(e[r]),t)}return a}return[].concat.apply([],e.map(function(e){return Array.isArray(e)?e:[].slice.call(e)}))};function I(e){var r=[],t=0,a=e.length+250;var n=y(e.length+255);for(var i=0;i<e.length;++i){var s=e.charCodeAt(i);if(s<128)n[t++]=s;else if(s<2048){n[t++]=192|s>>6&31;n[t++]=128|s&63}else if(s>=55296&&s<57344){s=(s&1023)+64;var f=e.charCodeAt(++i)&1023;n[t++]=240|s>>8&7;n[t++]=128|s>>2&63;n[t++]=128|f>>6&15|(s&3)<<4;n[t++]=128|f&63}else{n[t++]=224|s>>12&15;n[t++]=128|s>>6&63;n[t++]=128|s&63}if(t>a){r.push(n.slice(0,t));t=0;n=y(65535);a=65530}}r.push(n.slice(0,t));return O(r)}var N=/\u0000/g,F=/[\u0001-\u0006]/g;function D(e){var r="",t=e.length-1;while(t>=0)r+=e.charAt(t--);return r}function P(e,r){var t=""+e;return t.length>=r?t:wr("0",r-t.length)+t}function L(e,r){var t=""+e;return t.length>=r?t:wr(" ",r-t.length)+t}function M(e,r){var t=""+e;return t.length>=r?t:t+wr(" ",r-t.length)}function U(e,r){var t=""+Math.round(e);return t.length>=r?t:wr("0",r-t.length)+t}function B(e,r){var t=""+e;return t.length>=r?t:wr("0",r-t.length)+t}var W=Math.pow(2,32);function H(e,r){if(e>W||e<-W)return U(e,r);var t=Math.round(e);return B(t,r)}function z(e,r){r=r||0;return e.length>=7+r&&(e.charCodeAt(r)|32)===103&&(e.charCodeAt(r+1)|32)===101&&(e.charCodeAt(r+2)|32)===110&&(e.charCodeAt(r+3)|32)===101&&(e.charCodeAt(r+4)|32)===114&&(e.charCodeAt(r+5)|32)===97&&(e.charCodeAt(r+6)|32)===108}var V=[["Sun","Sunday"],["Mon","Monday"],["Tue","Tuesday"],["Wed","Wednesday"],["Thu","Thursday"],["Fri","Friday"],["Sat","Saturday"]];var G=[["J","Jan","January"],["F","Feb","February"],["M","Mar","March"],["A","Apr","April"],["M","May","May"],["J","Jun","June"],["J","Jul","July"],["A","Aug","August"],["S","Sep","September"],["O","Oct","October"],["N","Nov","November"],["D","Dec","December"]];function j(e){if(!e)e={};e[0]="General";e[1]="0";e[2]="0.00";e[3]="#,##0";e[4]="#,##0.00";e[9]="0%";e[10]="0.00%";e[11]="0.00E+00";e[12]="# ?/?";e[13]="# ??/??";e[14]="m/d/yy";e[15]="d-mmm-yy";e[16]="d-mmm";e[17]="mmm-yy";e[18]="h:mm AM/PM";e[19]="h:mm:ss AM/PM";e[20]="h:mm";e[21]="h:mm:ss";e[22]="m/d/yy h:mm";e[37]="#,##0 ;(#,##0)";e[38]="#,##0 ;[Red](#,##0)";e[39]="#,##0.00;(#,##0.00)";e[40]="#,##0.00;[Red](#,##0.00)";e[45]="mm:ss";e[46]="[h]:mm:ss";e[47]="mmss.0";e[48]="##0.0E+0";e[49]="@";e[56]='"上午/下午 "hh"時"mm"分"ss"秒 "';return e}var X={0:"General",1:"0",2:"0.00",3:"#,##0",4:"#,##0.00",9:"0%",10:"0.00%",11:"0.00E+00",12:"# ?/?",13:"# ??/??",14:"m/d/yy",15:"d-mmm-yy",16:"d-mmm",17:"mmm-yy",18:"h:mm AM/PM",19:"h:mm:ss AM/PM",20:"h:mm",21:"h:mm:ss",22:"m/d/yy h:mm",37:"#,##0 ;(#,##0)",38:"#,##0 ;[Red](#,##0)",39:"#,##0.00;(#,##0.00)",40:"#,##0.00;[Red](#,##0.00)",45:"mm:ss",46:"[h]:mm:ss",47:"mmss.0",48:"##0.0E+0",49:"@",56:'"上午/下午 "hh"時"mm"分"ss"秒 "'};var Y={5:37,6:38,7:39,8:40,23:0,24:0,25:0,26:0,27:14,28:14,29:14,30:14,31:14,50:14,51:14,52:14,53:14,54:14,55:14,56:14,57:14,58:14,59:1,60:2,61:3,62:4,67:9,68:10,69:12,70:13,71:14,72:14,73:15,74:16,75:17,76:20,77:21,78:22,79:45,80:46,81:47,82:0};var K={5:'"$"#,##0_);\\("$"#,##0\\)',63:'"$"#,##0_);\\("$"#,##0\\)',6:'"$"#,##0_);[Red]\\("$"#,##0\\)',64:'"$"#,##0_);[Red]\\("$"#,##0\\)',7:'"$"#,##0.00_);\\("$"#,##0.00\\)',65:'"$"#,##0.00_);\\("$"#,##0.00\\)',8:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',66:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',41:'_(* #,##0_);_(* \\(#,##0\\);_(* "-"_);_(@_)',42:'_("$"* #,##0_);_("$"* \\(#,##0\\);_("$"* "-"_);_(@_)',43:'_(* #,##0.00_);_(* \\(#,##0.00\\);_(* "-"??_);_(@_)',44:'_("$"* #,##0.00_);_("$"* \\(#,##0.00\\);_("$"* "-"??_);_(@_)'};function J(e,r,t){var a=e<0?-1:1;var n=e*a;var i=0,s=1,f=0;var o=1,c=0,l=0;var u=Math.floor(n);while(c<r){u=Math.floor(n);f=u*s+i;l=u*c+o;if(n-u<5e-8)break;n=1/(n-u);i=s;s=f;o=c;c=l}if(l>r){if(c>r){l=o;f=i}else{l=c;f=s}}if(!t)return[0,a*f,l];var h=Math.floor(a*f/l);return[h,a*f-h*l,l]}function q(e,r,t){if(e>2958465||e<0)return null;var a=e|0,n=Math.floor(86400*(e-a)),i=0;var s=[];var f={D:a,T:n,u:86400*(e-a)-n,y:0,m:0,d:0,H:0,M:0,S:0,q:0};if(Math.abs(f.u)<1e-6)f.u=0;if(r&&r.date1904)a+=1462;if(f.u>.9999){f.u=0;if(++n==86400){f.T=n=0;++a;++f.D}}if(a===60){s=t?[1317,10,29]:[1900,2,29];i=3}else if(a===0){s=t?[1317,8,29]:[1900,1,0];i=6}else{if(a>60)--a;var o=new Date(1900,0,1);o.setDate(o.getDate()+a-1);s=[o.getFullYear(),o.getMonth()+1,o.getDate()];i=o.getDay();if(a<60)i=(i+6)%7;if(t)i=oe(o,s)}f.y=s[0];f.m=s[1];f.d=s[2];f.S=n%60;n=Math.floor(n/60);f.M=n%60;n=Math.floor(n/60);f.H=n;f.q=i;return f}var Z=new Date(1899,11,31,0,0,0);var Q=Z.getTime();var ee=new Date(1900,2,1,0,0,0);function re(e,r){var t=e.getTime();if(r)t-=1461*24*60*60*1e3;else if(e>=ee)t+=24*60*60*1e3;return(t-(Q+(e.getTimezoneOffset()-Z.getTimezoneOffset())*6e4))/(24*60*60*1e3)}function te(e){return e.indexOf(".")==-1?e:e.replace(/(?:\.0*|(\.\d*[1-9])0+)$/,"$1")}function ae(e){if(e.indexOf("E")==-1)return e;return e.replace(/(?:\.0*|(\.\d*[1-9])0+)[Ee]/,"$1E").replace(/(E[+-])(\d)$/,"$10$2")}function ne(e){var r=e<0?12:11;var t=te(e.toFixed(12));if(t.length<=r)return t;t=e.toPrecision(10);if(t.length<=r)return t;return e.toExponential(5)}function ie(e){var r=te(e.toFixed(11));return r.length>(e<0?12:11)||r==="0"||r==="-0"?e.toPrecision(6):r}function se(e){var r=Math.floor(Math.log(Math.abs(e))*Math.LOG10E),t;if(r>=-4&&r<=-1)t=e.toPrecision(10+r);else if(Math.abs(r)<=9)t=ne(e);else if(r===10)t=e.toFixed(10).substr(0,12);else t=ie(e);return te(ae(t.toUpperCase()))}function fe(e,r){switch(typeof e){case"string":return e;case"boolean":return e?"TRUE":"FALSE";case"number":return(e|0)===e?e.toString(10):se(e);case"undefined":return"";case"object":if(e==null)return"";if(e instanceof Date)return Be(14,re(e,r&&r.date1904),r);}throw new Error("unsupported value in General format: "+e)}function oe(e,r){r[0]-=581;var t=e.getDay();if(e<60)t=(t+6)%7;return t}function ce(e,r,t,a){var n="",i=0,s=0,f=t.y,o,c=0;switch(e){case 98:f=t.y+543;case 121:switch(r.length){case 1:;case 2:o=f%100;c=2;break;default:o=f%1e4;c=4;break;}break;case 109:switch(r.length){case 1:;case 2:o=t.m;c=r.length;break;case 3:return G[t.m-1][1];case 5:return G[t.m-1][0];default:return G[t.m-1][2];}break;case 100:switch(r.length){case 1:;case 2:o=t.d;c=r.length;break;case 3:return V[t.q][0];default:return V[t.q][1];}break;case 104:switch(r.length){case 1:;case 2:o=1+(t.H+11)%12;c=r.length;break;default:throw"bad hour format: "+r;}break;case 72:switch(r.length){case 1:;case 2:o=t.H;c=r.length;break;default:throw"bad hour format: "+r;}break;case 77:switch(r.length){case 1:;case 2:o=t.M;c=r.length;break;default:throw"bad minute format: "+r;}break;case 115:if(r!="s"&&r!="ss"&&r!=".0"&&r!=".00"&&r!=".000")throw"bad second format: "+r;if(t.u===0&&(r=="s"||r=="ss"))return P(t.S,r.length);if(a>=2)s=a===3?1e3:100;else s=a===1?10:1;i=Math.round(s*(t.S+t.u));if(i>=60*s)i=0;if(r==="s")return i===0?"0":""+i/s;n=P(i,2+a);if(r==="ss")return n.substr(0,2);return"."+n.substr(2,r.length-1);case 90:switch(r){case"[h]":;case"[hh]":o=t.D*24+t.H;break;case"[m]":;case"[mm]":o=(t.D*24+t.H)*60+t.M;break;case"[s]":;case"[ss]":o=((t.D*24+t.H)*60+t.M)*60+Math.round(t.S+t.u);break;default:throw"bad abstime format: "+r;}c=r.length===3?1:2;break;case 101:o=f;c=1;break;}var l=c>0?P(o,c):"";return l}function le(e){var r=3;if(e.length<=r)return e;var t=e.length%r,a=e.substr(0,t);for(;t!=e.length;t+=r)a+=(a.length>0?",":"")+e.substr(t,r);return a}var ue=/%/g;function he(e,r,t){var a=r.replace(ue,""),n=r.length-a.length;return Ie(e,a,t*Math.pow(10,2*n))+wr("%",n)}function de(e,r,t){var a=r.length-1;while(r.charCodeAt(a-1)===44)--a;return Ie(e,r.substr(0,a),t/Math.pow(10,3*(r.length-a)))}function ve(e,r){var t;var a=e.indexOf("E")-e.indexOf(".")-1;if(e.match(/^#+0.0E\+0$/)){if(r==0)return"0.0E+0";else if(r<0)return"-"+ve(e,-r);var n=e.indexOf(".");if(n===-1)n=e.indexOf("E");var i=Math.floor(Math.log(r)*Math.LOG10E)%n;if(i<0)i+=n;t=(r/Math.pow(10,i)).toPrecision(a+1+(n+i)%n);if(t.indexOf("e")===-1){var s=Math.floor(Math.log(r)*Math.LOG10E);if(t.indexOf(".")===-1)t=t.charAt(0)+"."+t.substr(1)+"E+"+(s-t.length+i);else t+="E+"+(s-i);while(t.substr(0,2)==="0."){t=t.charAt(0)+t.substr(2,n)+"."+t.substr(2+n);t=t.replace(/^0+([1-9])/,"$1").replace(/^0+\./,"0.")}t=t.replace(/\+-/,"-")}t=t.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/,function(e,r,t,a){return r+t+a.substr(0,(n+i)%n)+"."+a.substr(i)+"E"})}else t=r.toExponential(a);if(e.match(/E\+00$/)&&t.match(/e[+-]\d$/))t=t.substr(0,t.length-1)+"0"+t.charAt(t.length-1);if(e.match(/E\-/)&&t.match(/e\+/))t=t.replace(/e\+/,"e");return t.replace("e","E")}var pe=/# (\?+)( ?)\/( ?)(\d+)/;function me(e,r,t){var a=parseInt(e[4],10),n=Math.round(r*a),i=Math.floor(n/a);var s=n-i*a,f=a;return t+(i===0?"":""+i)+" "+(s===0?wr(" ",e[1].length+1+e[4].length):L(s,e[1].length)+e[2]+"/"+e[3]+P(f,e[4].length))}function be(e,r,t){return t+(r===0?"":""+r)+wr(" ",e[1].length+2+e[4].length)}var ge=/^#*0*\.([0#]+)/;var we=/\).*[0#]/;var ke=/\(###\) ###\\?-####/;function Te(e){var r="",t;for(var a=0;a!=e.length;++a)switch(t=e.charCodeAt(a)){case 35:break;case 63:r+=" ";break;case 48:r+="0";break;default:r+=String.fromCharCode(t);}return r}function Ee(e,r){var t=Math.pow(10,r);return""+Math.round(e*t)/t}function ye(e,r){var t=e-Math.floor(e),a=Math.pow(10,r);if(r<(""+Math.round(t*a)).length)return 0;return Math.round(t*a)}function Se(e,r){if(r<(""+Math.round((e-Math.floor(e))*Math.pow(10,r))).length){return 1}return 0}function _e(e){if(e<2147483647&&e>-2147483648)return""+(e>=0?e|0:e-1|0);return""+Math.floor(e)}function Ae(e,r,t){if(e.charCodeAt(0)===40&&!r.match(we)){var a=r.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");if(t>=0)return Ae("n",a,t);return"("+Ae("n",a,-t)+")"}if(r.charCodeAt(r.length-1)===44)return de(e,r,t);if(r.indexOf("%")!==-1)return he(e,r,t);if(r.indexOf("E")!==-1)return ve(r,t);if(r.charCodeAt(0)===36)return"$"+Ae(e,r.substr(r.charAt(1)==" "?2:1),t);var n;var i,s,f,o=Math.abs(t),c=t<0?"-":"";if(r.match(/^00+$/))return c+H(o,r.length);if(r.match(/^[#?]+$/)){n=H(t,0);if(n==="0")n="";return n.length>r.length?n:Te(r.substr(0,r.length-n.length))+n}if(i=r.match(pe))return me(i,o,c);if(r.match(/^#+0+$/))return c+H(o,r.length-r.indexOf("0"));if(i=r.match(ge)){n=Ee(t,i[1].length).replace(/^([^\.]+)$/,"$1."+Te(i[1])).replace(/\.$/,"."+Te(i[1])).replace(/\.(\d*)$/,function(e,r){return"."+r+wr("0",Te(i[1]).length-r.length)});return r.indexOf("0.")!==-1?n:n.replace(/^0\./,".")}r=r.replace(/^#+([0.])/,"$1");if(i=r.match(/^(0*)\.(#*)$/)){return c+Ee(o,i[2].length).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,i[1].length?"0.":".")}if(i=r.match(/^#{1,3},##0(\.?)$/))return c+le(H(o,0));if(i=r.match(/^#,##0\.([#0]*0)$/)){return t<0?"-"+Ae(e,r,-t):le(""+(Math.floor(t)+Se(t,i[1].length)))+"."+P(ye(t,i[1].length),i[1].length)}if(i=r.match(/^#,#*,#0/))return Ae(e,r.replace(/^#,#*,/,""),t);if(i=r.match(/^([0#]+)(\\?-([0#]+))+$/)){n=D(Ae(e,r.replace(/[\\-]/g,""),t));s=0;return D(D(r.replace(/\\/g,"")).replace(/[0#]/g,function(e){return s<n.length?n.charAt(s++):e==="0"?"0":""}))}if(r.match(ke)){n=Ae(e,"##########",t);return"("+n.substr(0,3)+") "+n.substr(3,3)+"-"+n.substr(6)}var l="";if(i=r.match(/^([#0?]+)( ?)\/( ?)([#0?]+)/)){s=Math.min(i[4].length,7);f=J(o,Math.pow(10,s)-1,false);n=""+c;l=Ie("n",i[1],f[1]);if(l.charAt(l.length-1)==" ")l=l.substr(0,l.length-1)+"0";n+=l+i[2]+"/"+i[3];l=M(f[2],s);if(l.length<i[4].length)l=Te(i[4].substr(i[4].length-l.length))+l;n+=l;return n}if(i=r.match(/^# ([#0?]+)( ?)\/( ?)([#0?]+)/)){s=Math.min(Math.max(i[1].length,i[4].length),7);f=J(o,Math.pow(10,s)-1,true);return c+(f[0]||(f[1]?"":"0"))+" "+(f[1]?L(f[1],s)+i[2]+"/"+i[3]+M(f[2],s):wr(" ",2*s+1+i[2].length+i[3].length))}if(i=r.match(/^[#0?]+$/)){n=H(t,0);if(r.length<=n.length)return n;return Te(r.substr(0,r.length-n.length))+n}if(i=r.match(/^([#0?]+)\.([#0]+)$/)){n=""+t.toFixed(Math.min(i[2].length,10)).replace(/([^0])0+$/,"$1");s=n.indexOf(".");var u=r.indexOf(".")-s,h=r.length-n.length-u;return Te(r.substr(0,u)+n+r.substr(r.length-h))}if(i=r.match(/^00,000\.([#0]*0)$/)){s=ye(t,i[1].length);return t<0?"-"+Ae(e,r,-t):le(_e(t)).replace(/^\d,\d{3}$/,"0$&").replace(/^\d*$/,function(e){return"00,"+(e.length<3?P(0,3-e.length):"")+e})+"."+P(s,i[1].length)}switch(r){case"###,##0.00":return Ae(e,"#,##0.00",t);case"###,###":;case"##,###":;case"#,###":var d=le(H(o,0));return d!=="0"?c+d:"";case"###,###.00":return Ae(e,"###,##0.00",t).replace(/^0\./,".");case"#,###.00":return Ae(e,"#,##0.00",t).replace(/^0\./,".");default:;}throw new Error("unsupported format |"+r+"|")}function xe(e,r,t){var a=r.length-1;while(r.charCodeAt(a-1)===44)--a;return Ie(e,r.substr(0,a),t/Math.pow(10,3*(r.length-a)))}function Ce(e,r,t){var a=r.replace(ue,""),n=r.length-a.length;return Ie(e,a,t*Math.pow(10,2*n))+wr("%",n)}function Re(e,r){var t;var a=e.indexOf("E")-e.indexOf(".")-1;if(e.match(/^#+0.0E\+0$/)){if(r==0)return"0.0E+0";else if(r<0)return"-"+Re(e,-r);var n=e.indexOf(".");if(n===-1)n=e.indexOf("E");var i=Math.floor(Math.log(r)*Math.LOG10E)%n;if(i<0)i+=n;t=(r/Math.pow(10,i)).toPrecision(a+1+(n+i)%n);if(!t.match(/[Ee]/)){var s=Math.floor(Math.log(r)*Math.LOG10E);if(t.indexOf(".")===-1)t=t.charAt(0)+"."+t.substr(1)+"E+"+(s-t.length+i);else t+="E+"+(s-i);t=t.replace(/\+-/,"-")}t=t.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/,function(e,r,t,a){return r+t+a.substr(0,(n+i)%n)+"."+a.substr(i)+"E"})}else t=r.toExponential(a);if(e.match(/E\+00$/)&&t.match(/e[+-]\d$/))t=t.substr(0,t.length-1)+"0"+t.charAt(t.length-1);if(e.match(/E\-/)&&t.match(/e\+/))t=t.replace(/e\+/,"e");return t.replace("e","E")}function Oe(e,r,t){if(e.charCodeAt(0)===40&&!r.match(we)){var a=r.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");if(t>=0)return Oe("n",a,t);return"("+Oe("n",a,-t)+")"}if(r.charCodeAt(r.length-1)===44)return xe(e,r,t);if(r.indexOf("%")!==-1)return Ce(e,r,t);if(r.indexOf("E")!==-1)return Re(r,t);if(r.charCodeAt(0)===36)return"$"+Oe(e,r.substr(r.charAt(1)==" "?2:1),t);var n;var i,s,f,o=Math.abs(t),c=t<0?"-":"";if(r.match(/^00+$/))return c+P(o,r.length);if(r.match(/^[#?]+$/)){n=""+t;if(t===0)n="";return n.length>r.length?n:Te(r.substr(0,r.length-n.length))+n}if(i=r.match(pe))return be(i,o,c);if(r.match(/^#+0+$/))return c+P(o,r.length-r.indexOf("0"));if(i=r.match(ge)){n=(""+t).replace(/^([^\.]+)$/,"$1."+Te(i[1])).replace(/\.$/,"."+Te(i[1]));n=n.replace(/\.(\d*)$/,function(e,r){return"."+r+wr("0",Te(i[1]).length-r.length)});return r.indexOf("0.")!==-1?n:n.replace(/^0\./,".")}r=r.replace(/^#+([0.])/,"$1");if(i=r.match(/^(0*)\.(#*)$/)){return c+(""+o).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,i[1].length?"0.":".")}if(i=r.match(/^#{1,3},##0(\.?)$/))return c+le(""+o);if(i=r.match(/^#,##0\.([#0]*0)$/)){return t<0?"-"+Oe(e,r,-t):le(""+t)+"."+wr("0",i[1].length)}if(i=r.match(/^#,#*,#0/))return Oe(e,r.replace(/^#,#*,/,""),t);if(i=r.match(/^([0#]+)(\\?-([0#]+))+$/)){n=D(Oe(e,r.replace(/[\\-]/g,""),t));s=0;return D(D(r.replace(/\\/g,"")).replace(/[0#]/g,function(e){return s<n.length?n.charAt(s++):e==="0"?"0":""}))}if(r.match(ke)){n=Oe(e,"##########",t);return"("+n.substr(0,3)+") "+n.substr(3,3)+"-"+n.substr(6)}var l="";if(i=r.match(/^([#0?]+)( ?)\/( ?)([#0?]+)/)){s=Math.min(i[4].length,7);f=J(o,Math.pow(10,s)-1,false);n=""+c;l=Ie("n",i[1],f[1]);if(l.charAt(l.length-1)==" ")l=l.substr(0,l.length-1)+"0";n+=l+i[2]+"/"+i[3];l=M(f[2],s);if(l.length<i[4].length)l=Te(i[4].substr(i[4].length-l.length))+l;n+=l;return n}if(i=r.match(/^# ([#0?]+)( ?)\/( ?)([#0?]+)/)){s=Math.min(Math.max(i[1].length,i[4].length),7);f=J(o,Math.pow(10,s)-1,true);return c+(f[0]||(f[1]?"":"0"))+" "+(f[1]?L(f[1],s)+i[2]+"/"+i[3]+M(f[2],s):wr(" ",2*s+1+i[2].length+i[3].length))}if(i=r.match(/^[#0?]+$/)){n=""+t;if(r.length<=n.length)return n;return Te(r.substr(0,r.length-n.length))+n}if(i=r.match(/^([#0]+)\.([#0]+)$/)){n=""+t.toFixed(Math.min(i[2].length,10)).replace(/([^0])0+$/,"$1");s=n.indexOf(".");var u=r.indexOf(".")-s,h=r.length-n.length-u;return Te(r.substr(0,u)+n+r.substr(r.length-h))}if(i=r.match(/^00,000\.([#0]*0)$/)){return t<0?"-"+Oe(e,r,-t):le(""+t).replace(/^\d,\d{3}$/,"0$&").replace(/^\d*$/,function(e){return"00,"+(e.length<3?P(0,3-e.length):"")+e})+"."+P(0,i[1].length)}switch(r){case"###,###":;case"##,###":;case"#,###":var d=le(""+o);return d!=="0"?c+d:"";default:if(r.match(/\.[0#?]*$/))return Oe(e,r.slice(0,r.lastIndexOf(".")),t)+Te(r.slice(r.lastIndexOf(".")));}throw new Error("unsupported format |"+r+"|")}function Ie(e,r,t){return(t|0)===t?Oe(e,r,t):Ae(e,r,t)}function Ne(e){var r=[];var t=false;for(var a=0,n=0;a<e.length;++a)switch(e.charCodeAt(a)){case 34:t=!t;break;case 95:;case 42:;case 92:++a;break;case 59:r[r.length]=e.substr(n,a-n);n=a+1;}r[r.length]=e.substr(n);if(t===true)throw new Error("Format |"+e+"| unterminated string ");return r}var Fe=/\[[HhMmSs\u0E0A\u0E19\u0E17]*\]/;function De(e){var r=0,t="",a="";while(r<e.length){switch(t=e.charAt(r)){case"G":if(z(e,r))r+=6;r++;break;case'"':for(;e.charCodeAt(++r)!==34&&r<e.length;){}++r;break;case"\\":r+=2;break;case"_":r+=2;break;case"@":++r;break;case"B":;case"b":if(e.charAt(r+1)==="1"||e.charAt(r+1)==="2")return true;case"M":;case"D":;case"Y":;case"H":;case"S":;case"E":;case"m":;case"d":;case"y":;case"h":;case"s":;case"e":;case"g":return true;case"A":;case"a":;case"上":if(e.substr(r,3).toUpperCase()==="A/P")return true;if(e.substr(r,5).toUpperCase()==="AM/PM")return true;if(e.substr(r,5).toUpperCase()==="上午/下午")return true;++r;break;case"[":a=t;while(e.charAt(r++)!=="]"&&r<e.length)a+=e.charAt(r);if(a.match(Fe))return true;break;case".":;case"0":;case"#":while(r<e.length&&("0#?.,E+-%".indexOf(t=e.charAt(++r))>-1||t=="\\"&&e.charAt(r+1)=="-"&&"0#".indexOf(e.charAt(r+2))>-1)){}break;case"?":while(e.charAt(++r)===t){}break;case"*":++r;if(e.charAt(r)==" "||e.charAt(r)=="*")++r;break;case"(":;case")":++r;break;case"1":;case"2":;case"3":;case"4":;case"5":;case"6":;case"7":;case"8":;case"9":while(r<e.length&&"0123456789".indexOf(e.charAt(++r))>-1){}break;case" ":++r;break;default:++r;break;}}return false}function Pe(e,r,t,a){var n=[],i="",s=0,f="",o="t",c,l,u;var h="H";while(s<e.length){switch(f=e.charAt(s)){case"G":if(!z(e,s))throw new Error("unrecognized character "+f+" in "+e);n[n.length]={t:"G",v:"General"};s+=7;break;case'"':for(i="";(u=e.charCodeAt(++s))!==34&&s<e.length;)i+=String.fromCharCode(u);n[n.length]={t:"t",v:i};++s;break;case"\\":var d=e.charAt(++s),v=d==="("||d===")"?d:"t";n[n.length]={t:v,v:d};++s;break;case"_":n[n.length]={t:"t",v:" "};s+=2;break;case"@":n[n.length]={t:"T",v:r};++s;break;case"B":;case"b":if(e.charAt(s+1)==="1"||e.charAt(s+1)==="2"){if(c==null){c=q(r,t,e.charAt(s+1)==="2");if(c==null)return""}n[n.length]={t:"X",v:e.substr(s,2)};o=f;s+=2;break};case"M":;case"D":;case"Y":;case"H":;case"S":;case"E":f=f.toLowerCase();case"m":;case"d":;case"y":;case"h":;case"s":;case"e":;case"g":if(r<0)return"";if(c==null){c=q(r,t);if(c==null)return""}i=f;while(++s<e.length&&e.charAt(s).toLowerCase()===f)i+=f;if(f==="m"&&o.toLowerCase()==="h")f="M";if(f==="h")f=h;n[n.length]={t:f,v:i};o=f;break;case"A":;case"a":;case"上":var p={t:f,v:f};if(c==null)c=q(r,t);if(e.substr(s,3).toUpperCase()==="A/P"){if(c!=null)p.v=c.H>=12?"P":"A";p.t="T";h="h";s+=3}else if(e.substr(s,5).toUpperCase()==="AM/PM"){if(c!=null)p.v=c.H>=12?"PM":"AM";p.t="T";s+=5;h="h"}else if(e.substr(s,5).toUpperCase()==="上午/下午"){if(c!=null)p.v=c.H>=12?"下午":"上午";p.t="T";s+=5;h="h"}else{p.t="t";++s}if(c==null&&p.t==="T")return"";n[n.length]=p;o=f;break;case"[":i=f;while(e.charAt(s++)!=="]"&&s<e.length)i+=e.charAt(s);if(i.slice(-1)!=="]")throw'unterminated "[" block: |'+i+"|";if(i.match(Fe)){if(c==null){c=q(r,t);if(c==null)return""}n[n.length]={t:"Z",v:i.toLowerCase()};o=i.charAt(1)}else if(i.indexOf("$")>-1){i=(i.match(/\$([^-\[\]]*)/)||[])[1]||"$";if(!De(e))n[n.length]={t:"t",v:i}}break;case".":if(c!=null){i=f;while(++s<e.length&&(f=e.charAt(s))==="0")i+=f;n[n.length]={t:"s",v:i};break};case"0":;case"#":i=f;while(++s<e.length&&"0#?.,E+-%".indexOf(f=e.charAt(s))>-1)i+=f;n[n.length]={t:"n",v:i};break;case"?":i=f;while(e.charAt(++s)===f)i+=f;n[n.length]={t:f,v:i};o=f;break;case"*":++s;if(e.charAt(s)==" "||e.charAt(s)=="*")++s;break;case"(":;case")":n[n.length]={t:a===1?"t":f,v:f};++s;break;case"1":;case"2":;case"3":;case"4":;case"5":;case"6":;case"7":;case"8":;case"9":i=f;while(s<e.length&&"0123456789".indexOf(e.charAt(++s))>-1)i+=e.charAt(s);n[n.length]={t:"D",v:i};break;case" ":n[n.length]={t:f,v:f};++s;break;case"$":n[n.length]={t:"t",v:"$"};++s;break;default:if(",$-+/():!^&'~{}<>=€acfijklopqrtuvwxzP".indexOf(f)===-1)throw new Error("unrecognized character "+f+" in "+e);n[n.length]={t:"t",v:f};++s;break;}}var m=0,b=0,g;for(s=n.length-1,o="t";s>=0;--s){switch(n[s].t){case"h":;case"H":n[s].t=h;o="h";if(m<1)m=1;break;case"s":if(g=n[s].v.match(/\.0+$/))b=Math.max(b,g[0].length-1);if(m<3)m=3;case"d":;case"y":;case"M":;case"e":o=n[s].t;break;case"m":if(o==="s"){n[s].t="M";if(m<2)m=2}break;case"X":break;case"Z":if(m<1&&n[s].v.match(/[Hh]/))m=1;if(m<2&&n[s].v.match(/[Mm]/))m=2;if(m<3&&n[s].v.match(/[Ss]/))m=3;}}switch(m){case 0:break;case 1:if(c.u>=.5){c.u=0;++c.S}if(c.S>=60){c.S=0;++c.M}if(c.M>=60){c.M=0;++c.H}break;case 2:if(c.u>=.5){c.u=0;++c.S}if(c.S>=60){c.S=0;++c.M}break;}var w="",k;for(s=0;s<n.length;++s){switch(n[s].t){case"t":;case"T":;case" ":;case"D":break;case"X":n[s].v="";n[s].t=";";break;case"d":;case"m":;case"y":;case"h":;case"H":;case"M":;case"s":;case"e":;case"b":;case"Z":n[s].v=ce(n[s].t.charCodeAt(0),n[s].v,c,b);n[s].t="t";break;case"n":;case"?":k=s+1;while(n[k]!=null&&((f=n[k].t)==="?"||f==="D"||(f===" "||f==="t")&&n[k+1]!=null&&(n[k+1].t==="?"||n[k+1].t==="t"&&n[k+1].v==="/")||n[s].t==="("&&(f===" "||f==="n"||f===")")||f==="t"&&(n[k].v==="/"||n[k].v===" "&&n[k+1]!=null&&n[k+1].t=="?"))){n[s].v+=n[k].v;n[k]={v:"",t:";"};++k}w+=n[s].v;s=k-1;break;case"G":n[s].t="t";n[s].v=fe(r,t);break;}}var T="",E,y;if(w.length>0){if(w.charCodeAt(0)==40){E=r<0&&w.charCodeAt(0)===45?-r:r;y=Ie("n",w,E)}else{E=r<0&&a>1?-r:r;y=Ie("n",w,E);if(E<0&&n[0]&&n[0].t=="t"){y=y.substr(1);n[0].v="-"+n[0].v}}k=y.length-1;var S=n.length;for(s=0;s<n.length;++s)if(n[s]!=null&&n[s].t!="t"&&n[s].v.indexOf(".")>-1){S=s;break}var _=n.length;if(S===n.length&&y.indexOf("E")===-1){for(s=n.length-1;s>=0;--s){if(n[s]==null||"n?".indexOf(n[s].t)===-1)continue;if(k>=n[s].v.length-1){k-=n[s].v.length;n[s].v=y.substr(k+1,n[s].v.length)}else if(k<0)n[s].v="";else{n[s].v=y.substr(0,k+1);k=-1}n[s].t="t";_=s}if(k>=0&&_<n.length)n[_].v=y.substr(0,k+1)+n[_].v}else if(S!==n.length&&y.indexOf("E")===-1){k=y.indexOf(".")-1;for(s=S;s>=0;--s){if(n[s]==null||"n?".indexOf(n[s].t)===-1)continue;l=n[s].v.indexOf(".")>-1&&s===S?n[s].v.indexOf(".")-1:n[s].v.length-1;T=n[s].v.substr(l+1);for(;l>=0;--l){if(k>=0&&(n[s].v.charAt(l)==="0"||n[s].v.charAt(l)==="#"))T=y.charAt(k--)+T}n[s].v=T;n[s].t="t";_=s}if(k>=0&&_<n.length)n[_].v=y.substr(0,k+1)+n[_].v;k=y.indexOf(".")+1;for(s=S;s<n.length;++s){if(n[s]==null||"n?(".indexOf(n[s].t)===-1&&s!==S)continue;l=n[s].v.indexOf(".")>-1&&s===S?n[s].v.indexOf(".")+1:0;T=n[s].v.substr(0,l);for(;l<n[s].v.length;++l){if(k<y.length)T+=y.charAt(k++)}n[s].v=T;n[s].t="t";_=s}}}for(s=0;s<n.length;++s)if(n[s]!=null&&"n?".indexOf(n[s].t)>-1){E=a>1&&r<0&&s>0&&n[s-1].v==="-"?-r:r;n[s].v=Ie(n[s].t,n[s].v,E);n[s].t="t"}var A="";for(s=0;s!==n.length;++s)if(n[s]!=null)A+=n[s].v;return A}var Le=/\[(=|>[=]?|<[>=]?)(-?\d+(?:\.\d*)?)\]/;function Me(e,r){if(r==null)return false;var t=parseFloat(r[2]);switch(r[1]){case"=":if(e==t)return true;break;case">":if(e>t)return true;break;case"<":if(e<t)return true;break;case"<>":if(e!=t)return true;break;case">=":if(e>=t)return true;break;case"<=":if(e<=t)return true;break;}return false}function Ue(e,r){var t=Ne(e);var a=t.length,n=t[a-1].indexOf("@");if(a<4&&n>-1)--a;if(t.length>4)throw new Error("cannot find right format for |"+t.join("|")+"|");if(typeof r!=="number")return[4,t.length===4||n>-1?t[t.length-1]:"@"];switch(t.length){case 1:t=n>-1?["General","General","General",t[0]]:[t[0],t[0],t[0],"@"];break;case 2:t=n>-1?[t[0],t[0],t[0],t[1]]:[t[0],t[1],t[0],"@"];break;case 3:t=n>-1?[t[0],t[1],t[0],t[2]]:[t[0],t[1],t[2],"@"];break;case 4:break;}var i=r>0?t[0]:r<0?t[1]:t[2];if(t[0].indexOf("[")===-1&&t[1].indexOf("[")===-1)return[a,i];if(t[0].match(/\[[=<>]/)!=null||t[1].match(/\[[=<>]/)!=null){var s=t[0].match(Le);var f=t[1].match(Le);return Me(r,s)?[a,t[0]]:Me(r,f)?[a,t[1]]:[a,t[s!=null&&f!=null?2:1]]}return[a,i]}function Be(e,r,t){if(t==null)t={};var a="";switch(typeof e){case"string":if(e=="m/d/yy"&&t.dateNF)a=t.dateNF;else a=e;break;case"number":if(e==14&&t.dateNF)a=t.dateNF;else a=(t.table!=null?t.table:X)[e];if(a==null)a=t.table&&t.table[Y[e]]||X[Y[e]];if(a==null)a=K[e]||"General";break;}if(z(a,0))return fe(r,t);if(r instanceof Date)r=re(r,t.date1904);var n=Ue(a,r);if(z(n[1]))return fe(r,t);if(r===true)r="TRUE";else if(r===false)r="FALSE";else if(r===""||r==null)return"";return Pe(n[1],r,t,n[0])}function We(e,r){if(typeof r!="number"){r=+r||-1;for(var t=0;t<392;++t){if(X[t]==undefined){if(r<0)r=t;continue}if(X[t]==e){r=t;break}}if(r<0)r=391}X[r]=e;return r}function He(e){for(var r=0;r!=392;++r)if(e[r]!==undefined)We(e[r],r)}function ze(){X=j()}var Ve={format:Be,load:We,_table:X,load_table:He,parse_date_code:q,is_date:De,get_table:function Qw(){return Ve._table=X}};var Ge={5:'"$"#,##0_);\\("$"#,##0\\)',6:'"$"#,##0_);[Red]\\("$"#,##0\\)',7:'"$"#,##0.00_);\\("$"#,##0.00\\)',8:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',23:"General",24:"General",25:"General",26:"General",27:"m/d/yy",28:"m/d/yy",29:"m/d/yy",30:"m/d/yy",31:"m/d/yy",32:"h:mm:ss",33:"h:mm:ss",34:"h:mm:ss",35:"h:mm:ss",36:"m/d/yy",41:'_(* #,##0_);_(* (#,##0);_(* "-"_);_(@_)',42:'_("$"* #,##0_);_("$"* (#,##0);_("$"* "-"_);_(@_)',43:'_(* #,##0.00_);_(* (#,##0.00);_(* "-"??_);_(@_)',44:'_("$"* #,##0.00_);_("$"* (#,##0.00);_("$"* "-"??_);_(@_)',50:"m/d/yy",51:"m/d/yy",52:"m/d/yy",53:"m/d/yy",54:"m/d/yy",55:"m/d/yy",56:"m/d/yy",57:"m/d/yy",58:"m/d/yy",59:"0",60:"0.00",61:"#,##0",62:"#,##0.00",63:'"$"#,##0_);\\("$"#,##0\\)',64:'"$"#,##0_);[Red]\\("$"#,##0\\)',65:'"$"#,##0.00_);\\("$"#,##0.00\\)',66:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',67:"0%",68:"0.00%",69:"# ?/?",70:"# ??/??",71:"m/d/yy",72:"m/d/yy",73:"d-mmm-yy",74:"d-mmm",75:"mmm-yy",76:"h:mm",77:"h:mm:ss",78:"m/d/yy h:mm",79:"mm:ss",80:"[h]:mm:ss",81:"mmss.0"};var je=/[dD]+|[mM]+|[yYeE]+|[Hh]+|[Ss]+/g;function Xe(e){var r=typeof e=="number"?X[e]:e;r=r.replace(je,"(\\d+)");return new RegExp("^"+r+"$")}function $e(e,r,t){var a=-1,n=-1,i=-1,s=-1,f=-1,o=-1;(r.match(je)||[]).forEach(function(e,r){var c=parseInt(t[r+1],10);switch(e.toLowerCase().charAt(0)){case"y":a=c;break;case"d":i=c;break;case"h":s=c;break;case"s":o=c;break;case"m":if(s>=0)f=c;else n=c;break;}});if(o>=0&&f==-1&&n>=0){f=n;n=-1}var c=(""+(a>=0?a:(new Date).getFullYear())).slice(-4)+"-"+("00"+(n>=1?n:1)).slice(-2)+"-"+("00"+(i>=1?i:1)).slice(-2);if(c.length==7)c="0"+c;if(c.length==8)c="20"+c;var l=("00"+(s>=0?s:0)).slice(-2)+":"+("00"+(f>=0?f:0)).slice(-2)+":"+("00"+(o>=0?o:0)).slice(-2);if(s==-1&&f==-1&&o==-1)return c;if(a==-1&&n==-1&&i==-1)return l;return c+"T"+l}var Ye=function(){var e={};e.version="1.2.0";function r(){var e=0,r=new Array(256);for(var t=0;t!=256;++t){e=t;e=e&1?-306674912^e>>>1:e>>>1;e=e&1?-306674912^e>>>1:e>>>1;e=e&1?-306674912^e>>>1:e>>>1;e=e&1?-306674912^e>>>1:e>>>1;e=e&1?-306674912^e>>>1:e>>>1;e=e&1?-306674912^e>>>1:e>>>1;e=e&1?-306674912^e>>>1:e>>>1;e=e&1?-306674912^e>>>1:e>>>1;r[t]=e}return typeof Int32Array!=="undefined"?new Int32Array(r):r}var t=r();function a(e){var r=0,t=0,a=0,n=typeof Int32Array!=="undefined"?new Int32Array(4096):new Array(4096);for(a=0;a!=256;++a)n[a]=e[a];for(a=0;a!=256;++a){t=e[a];for(r=256+a;r<4096;r+=256)t=n[r]=t>>>8^e[t&255]}var i=[];for(a=1;a!=16;++a)i[a-1]=typeof Int32Array!=="undefined"?n.subarray(a*256,a*256+256):n.slice(a*256,a*256+256);return i}var n=a(t);var i=n[0],s=n[1],f=n[2],o=n[3],c=n[4];var l=n[5],u=n[6],h=n[7],d=n[8],v=n[9];var p=n[10],m=n[11],b=n[12],g=n[13],w=n[14];-function k(e,r){var a=r^-1;for(var n=0,i=e.length;n<i;)a=a>>>8^t[(a^e.charCodeAt(n++))&255];return~a}function T(e,r){var a=r^-1,n=e.length-15,k=0;for(;k<n;)a=w[e[k++]^a&255]^g[e[k++]^a>>8&255]^b[e[k++]^a>>16&255]^m[e[k++]^a>>>24]^p[e[k++]]^v[e[k++]]^d[e[k++]]^h[e[k++]]^u[e[k++]]^l[e[k++]]^c[e[k++]]^o[e[k++]]^f[e[k++]]^s[e[k++]]^i[e[k++]]^t[e[k++]];n+=15;while(k<n)a=a>>>8^t[(a^e[k++])&255];return~a}function E(e,r){var a=r^-1;for(var n=0,i=e.length,s=0,f=0;n<i;){s=e.charCodeAt(n++);if(s<128){a=a>>>8^t[(a^s)&255]}else if(s<2048){a=a>>>8^t[(a^(192|s>>6&31))&255];a=a>>>8^t[(a^(128|s&63))&255]}else if(s>=55296&&s<57344){s=(s&1023)+64;f=e.charCodeAt(n++)&1023;a=a>>>8^t[(a^(240|s>>8&7))&255];a=a>>>8^t[(a^(128|s>>2&63))&255];a=a>>>8^t[(a^(128|f>>6&15|(s&3)<<4))&255];a=a>>>8^t[(a^(128|f&63))&255]}else{a=a>>>8^t[(a^(224|s>>12&15))&255];a=a>>>8^t[(a^(128|s>>6&63))&255];a=a>>>8^t[(a^(128|s&63))&255]}}return~a}e.table=t;e.bstr=k;e.buf=T;e.str=E;return e}();var Ke=function ek(){var e={};e.version="1.2.1";function r(e,r){var t=e.split("/"),a=r.split("/");for(var n=0,i=0,s=Math.min(t.length,a.length);n<s;++n){if(i=t[n].length-a[n].length)return i;if(t[n]!=a[n])return t[n]<a[n]?-1:1}return t.length-a.length}function t(e){if(e.charAt(e.length-1)=="/")return e.slice(0,-1).indexOf("/")===-1?e:t(e.slice(0,-1));var r=e.lastIndexOf("/");return r===-1?e:e.slice(0,r+1)}function a(e){if(e.charAt(e.length-1)=="/")return a(e.slice(0,-1));var r=e.lastIndexOf("/");return r===-1?e:e.slice(r+1)}function n(e,r){if(typeof r==="string")r=new Date(r);var t=r.getHours();t=t<<6|r.getMinutes();t=t<<5|r.getSeconds()>>>1;e._W(2,t);var a=r.getFullYear()-1980;a=a<<4|r.getMonth()+1;a=a<<5|r.getDate();e._W(2,a)}function i(e){var r=e._R(2)&65535;var t=e._R(2)&65535;var a=new Date;var n=t&31;t>>>=5;var i=t&15;t>>>=4;a.setMilliseconds(0);a.setFullYear(t+1980);a.setMonth(i-1);a.setDate(n);var s=r&31;r>>>=5;var f=r&63;r>>>=6;a.setHours(r);a.setMinutes(f);a.setSeconds(s<<1);return a}function s(e){la(e,0);var r={};var t=0;while(e.l<=e.length-4){var a=e._R(2);var n=e._R(2),i=e.l+n;var s={};switch(a){case 21589:{t=e._R(1);if(t&1)s.mtime=e._R(4);if(n>5){if(t&2)s.atime=e._R(4);if(t&4)s.ctime=e._R(4)}if(s.mtime)s.mt=new Date(s.mtime*1e3)}break;}e.l=i;r[a]=s}return r}var f;function o(){return f||(f=undefined)}function c(e,r){if(e[0]==80&&e[1]==75)return Ie(e,r);if((e[0]|32)==109&&(e[1]|32)==105)return We(e,r);if(e.length<512)throw new Error("CFB file size "+e.length+" < 512");var t=3;var a=512;var n=0;var i=0;var s=0;var f=0;var o=0;var c=[];var v=e.slice(0,512);la(v,0);var m=l(v);t=m[0];switch(t){case 3:a=512;break;case 4:a=4096;break;case 0:if(m[1]==0)return Ie(e,r);default:throw new Error("Major Version: Expected 3 or 4 saw "+t);}if(a!==512){v=e.slice(0,a);la(v,28)}var w=e.slice(0,a);u(v,t);var k=v._R(4,"i");if(t===3&&k!==0)throw new Error("# Directory Sectors: Expected 0 saw "+k);v.l+=4;s=v._R(4,"i");v.l+=4;v.chk("00100000","Mini Stream Cutoff Size: ");f=v._R(4,"i");n=v._R(4,"i");o=v._R(4,"i");i=v._R(4,"i");for(var T=-1,E=0;E<109;++E){T=v._R(4,"i");if(T<0)break;c[E]=T}var y=h(e,a);p(o,i,y,a,c);var S=b(y,s,c,a);S[s].name="!Directory";if(n>0&&f!==U)S[f].name="!MiniFAT";S[c[0]].name="!FAT";S.fat_addrs=c;S.ssz=a;var _={},A=[],x=[],C=[];g(s,S,y,A,n,_,x,f);d(x,C,A);A.shift();var R={FileIndex:x,FullPaths:C};if(r&&r.raw)R.raw={header:w,sectors:y};return R}function l(e){if(e[e.l]==80&&e[e.l+1]==75)return[0,0];e.chk(B,"Header Signature: ");e.l+=16;var r=e._R(2,"u");return[e._R(2,"u"),r]}function u(e,r){var t=9;e.l+=2;switch(t=e._R(2)){case 9:if(r!=3)throw new Error("Sector Shift: Expected 9 saw "+t);break;case 12:if(r!=4)throw new Error("Sector Shift: Expected 12 saw "+t);break;default:throw new Error("Sector Shift: Expected 9 or 12 saw "+t);}e.chk("0600","Mini Sector Shift: ");e.chk("000000000000","Reserved: ")}function h(e,r){var t=Math.ceil(e.length/r)-1;var a=[];for(var n=1;n<t;++n)a[n-1]=e.slice(n*r,(n+1)*r);a[t-1]=e.slice(t*r);return a}function d(e,r,t){var a=0,n=0,i=0,s=0,f=0,o=t.length;var c=[],l=[];for(;a<o;++a){c[a]=l[a]=a;r[a]=t[a]}for(;f<l.length;++f){a=l[f];n=e[a].L;i=e[a].R;s=e[a].C;if(c[a]===a){if(n!==-1&&c[n]!==n)c[a]=c[n];if(i!==-1&&c[i]!==i)c[a]=c[i]}if(s!==-1)c[s]=a;if(n!==-1&&a!=c[a]){c[n]=c[a];if(l.lastIndexOf(n)<f)l.push(n)}if(i!==-1&&a!=c[a]){c[i]=c[a];if(l.lastIndexOf(i)<f)l.push(i)}}for(a=1;a<o;++a)if(c[a]===a){if(i!==-1&&c[i]!==i)c[a]=c[i];else if(n!==-1&&c[n]!==n)c[a]=c[n]}for(a=1;a<o;++a){if(e[a].type===0)continue;f=a;if(f!=c[f])do{f=c[f];r[a]=r[f]+"/"+r[a]}while(f!==0&&-1!==c[f]&&f!=c[f]);c[a]=-1}r[0]+="/";for(a=1;a<o;++a){if(e[a].type!==2)r[a]+="/"}}function v(e,r,t){var a=e.start,n=e.size;var i=[];var s=a;while(t&&n>0&&s>=0){i.push(r.slice(s*M,s*M+M));n-=M;s=ta(t,s*4)}if(i.length===0)return ha(0);return O(i).slice(0,e.size)}function p(e,r,t,a,n){var i=U;if(e===U){if(r!==0)throw new Error("DIFAT chain shorter than expected")}else if(e!==-1){var s=t[e],f=(a>>>2)-1;if(!s)return;for(var o=0;o<f;++o){if((i=ta(s,o*4))===U)break;n.push(i)}p(ta(s,a-4),r-1,t,a,n)}}function m(e,r,t,a,n){var i=[],s=[];if(!n)n=[];var f=a-1,o=0,c=0;for(o=r;o>=0;){n[o]=true;i[i.length]=o;s.push(e[o]);var l=t[Math.floor(o*4/a)];c=o*4&f;if(a<4+c)throw new Error("FAT boundary crossed: "+o+" 4 "+a);if(!e[l])break;o=ta(e[l],c)}return{nodes:i,data:It([s])}}function b(e,r,t,a){var n=e.length,i=[];var s=[],f=[],o=[];var c=a-1,l=0,u=0,h=0,d=0;for(l=0;l<n;++l){f=[];h=l+r;if(h>=n)h-=n;if(s[h])continue;o=[];var v=[];for(u=h;u>=0;){v[u]=true;s[u]=true;f[f.length]=u;o.push(e[u]);var p=t[Math.floor(u*4/a)];d=u*4&c;if(a<4+d)throw new Error("FAT boundary crossed: "+u+" 4 "+a);if(!e[p])break;u=ta(e[p],d);if(v[u])break}i[h]={nodes:f,data:It([o])}}return i}function g(e,r,t,a,n,i,s,f){var o=0,c=a.length?2:0;var l=r[e].data;var u=0,h=0,d;for(;u<l.length;u+=128){var p=l.slice(u,u+128);la(p,64);h=p._R(2);d=Ft(p,0,h-c);a.push(d);var b={name:d,type:p._R(1),color:p._R(1),L:p._R(4,"i"),R:p._R(4,"i"),C:p._R(4,"i"),clsid:p._R(16),state:p._R(4,"i"),start:0,size:0};var g=p._R(2)+p._R(2)+p._R(2)+p._R(2);if(g!==0)b.ct=A(p,p.l-8);var w=p._R(2)+p._R(2)+p._R(2)+p._R(2);if(w!==0)b.mt=A(p,p.l-8);b.start=p._R(4,"i");b.size=p._R(4,"i");if(b.size<0&&b.start<0){b.size=b.type=0;b.start=U;b.name=""}if(b.type===5){o=b.start;if(n>0&&o!==U)r[o].name="!StreamData"}else if(b.size>=4096){b.storage="fat";if(r[b.start]===undefined)r[b.start]=m(t,b.start,r.fat_addrs,r.ssz);r[b.start].name=b.name;b.content=r[b.start].data.slice(0,b.size)}else{b.storage="minifat";if(b.size<0)b.size=0;else if(o!==U&&b.start!==U&&r[o]){b.content=v(b,r[o].data,(r[f]||{}).data)}}if(b.content)la(b.content,0);i[d]=b;s.push(b)}}function A(e,r){return new Date((ra(e,r+4)/1e7*Math.pow(2,32)+ra(e,r)/1e7-11644473600)*1e3)}function x(e,r){o();return c(f.readFileSync(e),r)}function C(e,r){var t=r&&r.type;if(!t){if(T&&Buffer.isBuffer(e))t="buffer"}switch(t||"base64"){case"file":return x(e,r);case"base64":return c(_(k(e)),r);case"binary":return c(_(e),r);}return c(e,r)}function R(e,r){var t=r||{},a=t.root||"Root Entry";if(!e.FullPaths)e.FullPaths=[];if(!e.FileIndex)e.FileIndex=[];if(e.FullPaths.length!==e.FileIndex.length)throw new Error("inconsistent CFB structure");if(e.FullPaths.length===0){e.FullPaths[0]=a+"/";e.FileIndex[0]={name:a,type:5}}if(t.CLSID)e.FileIndex[0].clsid=t.CLSID;I(e)}function I(e){var r="Sh33tJ5";if(Ke.find(e,"/"+r))return;var t=ha(4);t[0]=55;t[1]=t[3]=50;t[2]=54;e.FileIndex.push({name:r,type:2,content:t,size:4,L:69,R:69,C:69});e.FullPaths.push(e.FullPaths[0]+r);D(e)}function D(e,n){R(e);var i=false,s=false;for(var f=e.FullPaths.length-1;f>=0;--f){var o=e.FileIndex[f];switch(o.type){case 0:if(s)i=true;else{e.FileIndex.pop();e.FullPaths.pop()}break;case 1:;case 2:;case 5:s=true;if(isNaN(o.R*o.L*o.C))i=true;if(o.R>-1&&o.L>-1&&o.R==o.L)i=true;break;default:i=true;break;}}if(!i&&!n)return;var c=new Date(1987,1,19),l=0;var u=Object.create?Object.create(null):{};var h=[];for(f=0;f<e.FullPaths.length;++f){u[e.FullPaths[f]]=true;if(e.FileIndex[f].type===0)continue;h.push([e.FullPaths[f],e.FileIndex[f]])}for(f=0;f<h.length;++f){var d=t(h[f][0]);s=u[d];if(!s){h.push([d,{name:a(d).replace("/",""),type:1,clsid:H,ct:c,mt:c,content:null}]);u[d]=true}}h.sort(function(e,t){return r(e[0],t[0])});e.FullPaths=[];e.FileIndex=[];for(f=0;f<h.length;++f){e.FullPaths[f]=h[f][0];e.FileIndex[f]=h[f][1]}for(f=0;f<h.length;++f){var v=e.FileIndex[f];var p=e.FullPaths[f];v.name=a(p).replace("/","");v.L=v.R=v.C=-(v.color=1);v.size=v.content?v.content.length:0;v.start=0;v.clsid=v.clsid||H;if(f===0){v.C=h.length>1?1:-1;v.size=0;v.type=5}else if(p.slice(-1)=="/"){for(l=f+1;l<h.length;++l)if(t(e.FullPaths[l])==p)break;v.C=l>=h.length?-1:l;for(l=f+1;l<h.length;++l)if(t(e.FullPaths[l])==t(p))break;v.R=l>=h.length?-1:l;v.type=1}else{if(t(e.FullPaths[f+1]||"")==t(p))v.R=f+1;v.type=2}}}function P(e,r){var t=r||{};if(t.fileType=="mad")return He(e,t);D(e);switch(t.fileType){case"zip":return Fe(e,t);}var a=function(e){var r=0,t=0;for(var a=0;a<e.FileIndex.length;++a){var n=e.FileIndex[a];if(!n.content)continue;var i=n.content.length;if(i>0){if(i<4096)r+=i+63>>6;else t+=i+511>>9}}var s=e.FullPaths.length+3>>2;var f=r+7>>3;var o=r+127>>7;var c=f+t+s+o;var l=c+127>>7;var u=l<=109?0:Math.ceil((l-109)/127);while(c+l+u+127>>7>l)u=++l<=109?0:Math.ceil((l-109)/127);var h=[1,u,l,o,s,t,r,0];e.FileIndex[0].size=r<<6;h[7]=(e.FileIndex[0].start=h[0]+h[1]+h[2]+h[3]+h[4]+h[5])+(h[6]+7>>3);return h}(e);var n=ha(a[7]<<9);var i=0,s=0;{for(i=0;i<8;++i)n._W(1,W[i]);for(i=0;i<8;++i)n._W(2,0);n._W(2,62);n._W(2,3);n._W(2,65534);n._W(2,9);n._W(2,6);for(i=0;i<3;++i)n._W(2,0);n._W(4,0);n._W(4,a[2]);n._W(4,a[0]+a[1]+a[2]+a[3]-1);n._W(4,0);n._W(4,1<<12);n._W(4,a[3]?a[0]+a[1]+a[2]-1:U);n._W(4,a[3]);n._W(-4,a[1]?a[0]-1:U);n._W(4,a[1]);for(i=0;i<109;++i)n._W(-4,i<a[2]?a[1]+i:-1)}if(a[1]){for(s=0;s<a[1];++s){for(;i<236+s*127;++i)n._W(-4,i<a[2]?a[1]+i:-1);n._W(-4,s===a[1]-1?U:s+1)}}var f=function(e){for(s+=e;i<s-1;++i)n._W(-4,i+1);if(e){++i;n._W(-4,U)}};s=i=0;for(s+=a[1];i<s;++i)n._W(-4,z.DIFSECT);for(s+=a[2];i<s;++i)n._W(-4,z.FATSECT);f(a[3]);f(a[4]);var o=0,c=0;var l=e.FileIndex[0];for(;o<e.FileIndex.length;++o){l=e.FileIndex[o];if(!l.content)continue;c=l.content.length;if(c<4096)continue;l.start=s;f(c+511>>9)}f(a[6]+7>>3);while(n.l&511)n._W(-4,z.ENDOFCHAIN);s=i=0;for(o=0;o<e.FileIndex.length;++o){l=e.FileIndex[o];if(!l.content)continue;c=l.content.length;if(!c||c>=4096)continue;l.start=s;f(c+63>>6)}while(n.l&511)n._W(-4,z.ENDOFCHAIN);for(i=0;i<a[4]<<2;++i){var u=e.FullPaths[i];if(!u||u.length===0){for(o=0;o<17;++o)n._W(4,0);for(o=0;o<3;++o)n._W(4,-1);for(o=0;o<12;++o)n._W(4,0);continue}l=e.FileIndex[i];if(i===0)l.start=l.size?l.start-1:U;var h=i===0&&t.root||l.name;c=2*(h.length+1);n._W(64,h,"utf16le");n._W(2,c);n._W(1,l.type);n._W(1,l.color);n._W(-4,l.L);n._W(-4,l.R);n._W(-4,l.C);if(!l.clsid)for(o=0;o<4;++o)n._W(4,0);else n._W(16,l.clsid,"hex");n._W(4,l.state||0);n._W(4,0);n._W(4,0);n._W(4,0);n._W(4,0);n._W(4,l.start);n._W(4,l.size);n._W(4,0)}for(i=1;i<e.FileIndex.length;++i){l=e.FileIndex[i];if(l.size>=4096){n.l=l.start+1<<9;if(T&&Buffer.isBuffer(l.content)){l.content.copy(n,n.l,0,l.size);n.l+=l.size+511&-512}else{for(o=0;o<l.size;++o)n._W(1,l.content[o]);for(;o&511;++o)n._W(1,0)}}}for(i=1;i<e.FileIndex.length;++i){l=e.FileIndex[i];if(l.size>0&&l.size<4096){if(T&&Buffer.isBuffer(l.content)){l.content.copy(n,n.l,0,l.size);n.l+=l.size+63&-64}else{for(o=0;o<l.size;++o)n._W(1,l.content[o]);for(;o&63;++o)n._W(1,0)}}}if(T){n.l=n.length}else{while(n.l<n.length)n._W(1,0)}return n}function L(e,r){var t=e.FullPaths.map(function(e){return e.toUpperCase()});var a=t.map(function(e){var r=e.split("/");return r[r.length-(e.slice(-1)=="/"?2:1)]});var n=false;if(r.charCodeAt(0)===47){n=true;r=t[0].slice(0,-1)+r}else n=r.indexOf("/")!==-1;var i=r.toUpperCase();var s=n===true?t.indexOf(i):a.indexOf(i);if(s!==-1)return e.FileIndex[s];var f=!i.match(F);i=i.replace(N,"");if(f)i=i.replace(F,"!");for(s=0;s<t.length;++s){if((f?t[s].replace(F,"!"):t[s]).replace(N,"")==i)return e.FileIndex[s];if((f?a[s].replace(F,"!"):a[s]).replace(N,"")==i)return e.FileIndex[s]}return null}var M=64;var U=-2;var B="d0cf11e0a1b11ae1";var W=[208,207,17,224,161,177,26,225];var H="00000000000000000000000000000000";var z={MAXREGSECT:-6,DIFSECT:-4,FATSECT:-3,ENDOFCHAIN:U,FREESECT:-1,HEADER_SIGNATURE:B,HEADER_MINOR_VERSION:"3e00",MAXREGSID:-6,NOSTREAM:-1,HEADER_CLSID:H,EntryTypes:["unknown","storage","stream","lockbytes","property","root"]};function V(e,r,t){o();var a=P(e,t);f.writeFileSync(r,a)}function G(e){var r=new Array(e.length);for(var t=0;t<e.length;++t)r[t]=String.fromCharCode(e[t]);return r.join("")}function j(e,r){var t=P(e,r);switch(r&&r.type||"buffer"){case"file":o();f.writeFileSync(r.filename,t);return t;case"binary":return typeof t=="string"?t:G(t);case"base64":return w(typeof t=="string"?t:G(t));case"buffer":if(T)return Buffer.isBuffer(t)?t:E(t);case"array":return typeof t=="string"?_(t):t;}return t}var X;function $(e){try{var r=e.InflateRaw;var t=new r;t._processChunk(new Uint8Array([3,0]),t._finishFlushFlag);if(t.bytesRead)X=e;else throw new Error("zlib does not expose bytesRead")}catch(a){console.error("cannot use native zlib: "+(a.message||a))}}function Y(e,r){if(!X)return Re(e,r);var t=X.InflateRaw;var a=new t;var n=a._processChunk(e.slice(e.l),a._finishFlushFlag);e.l+=a.bytesRead;return n}function K(e){return X?X.deflateRawSync(e):Te(e)}var J=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];var q=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258];var Z=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577];function Q(e){var r=(e<<1|e<<11)&139536|(e<<5|e<<15)&558144;return(r>>16|r>>8|r)&255}var ee=typeof Uint8Array!=="undefined";var re=ee?new Uint8Array(1<<8):[];for(var te=0;te<1<<8;++te)re[te]=Q(te);function ae(e,r){var t=re[e&255];if(r<=8)return t>>>8-r;t=t<<8|re[e>>8&255];if(r<=16)return t>>>16-r;t=t<<8|re[e>>16&255];return t>>>24-r}function ne(e,r){var t=r&7,a=r>>>3;return(e[a]|(t<=6?0:e[a+1]<<8))>>>t&3}function ie(e,r){var t=r&7,a=r>>>3;return(e[a]|(t<=5?0:e[a+1]<<8))>>>t&7}function se(e,r){var t=r&7,a=r>>>3;return(e[a]|(t<=4?0:e[a+1]<<8))>>>t&15}function fe(e,r){var t=r&7,a=r>>>3;return(e[a]|(t<=3?0:e[a+1]<<8))>>>t&31}function oe(e,r){var t=r&7,a=r>>>3;return(e[a]|(t<=1?0:e[a+1]<<8))>>>t&127}function ce(e,r,t){var a=r&7,n=r>>>3,i=(1<<t)-1;var s=e[n]>>>a;if(t<8-a)return s&i;s|=e[n+1]<<8-a;if(t<16-a)return s&i;s|=e[n+2]<<16-a;if(t<24-a)return s&i;s|=e[n+3]<<24-a;return s&i}function le(e,r,t){var a=r&7,n=r>>>3;if(a<=5)e[n]|=(t&7)<<a;else{e[n]|=t<<a&255;e[n+1]=(t&7)>>8-a}return r+3}function ue(e,r,t){var a=r&7,n=r>>>3;t=(t&1)<<a;e[n]|=t;return r+1}function he(e,r,t){var a=r&7,n=r>>>3;t<<=a;e[n]|=t&255;t>>>=8;e[n+1]=t;return r+8}function de(e,r,t){var a=r&7,n=r>>>3;t<<=a;e[n]|=t&255;t>>>=8;e[n+1]=t&255;e[n+2]=t>>>8;return r+16}function ve(e,r){var t=e.length,a=2*t>r?2*t:r+5,n=0;if(t>=r)return e;if(T){var i=S(a);if(e.copy)e.copy(i);else for(;n<e.length;++n)i[n]=e[n];return i}else if(ee){var s=new Uint8Array(a);if(s.set)s.set(e);else for(;n<t;++n)s[n]=e[n];return s}e.length=a;return e}function pe(e){var r=new Array(e);for(var t=0;t<e;++t)r[t]=0;return r}function me(e,r,t){var a=1,n=0,i=0,s=0,f=0,o=e.length;var c=ee?new Uint16Array(32):pe(32);for(i=0;i<32;++i)c[i]=0;for(i=o;i<t;++i)e[i]=0;o=e.length;var l=ee?new Uint16Array(o):pe(o);for(i=0;i<o;++i){c[n=e[i]]++;if(a<n)a=n;l[i]=0}c[0]=0;for(i=1;i<=a;++i)c[i+16]=f=f+c[i-1]<<1;for(i=0;i<o;++i){f=e[i];if(f!=0)l[i]=c[f+16]++}var u=0;for(i=0;i<o;++i){u=e[i];if(u!=0){f=ae(l[i],a)>>a-u;for(s=(1<<a+4-u)-1;s>=0;--s)r[f|s<<u]=u&15|i<<4}}return a}var be=ee?new Uint16Array(512):pe(512);var ge=ee?new Uint16Array(32):pe(32);if(!ee){for(var we=0;we<512;++we)be[we]=0;for(we=0;we<32;++we)ge[we]=0}(function(){var e=[];var r=0;for(;r<32;r++)e.push(5);me(e,ge,32);var t=[];r=0;for(;r<=143;r++)t.push(8);for(;r<=255;r++)t.push(9);for(;r<=279;r++)t.push(7);for(;r<=287;r++)t.push(8);me(t,be,288)})();var ke=function $e(){var e=ee?new Uint8Array(32768):[];var r=0,t=0;for(;r<Z.length-1;++r){for(;t<Z[r+1];++t)e[t]=r}for(;t<32768;++t)e[t]=29;var a=ee?new Uint8Array(259):[];for(r=0,t=0;r<q.length-1;++r){for(;t<q[r+1];++t)a[t]=r}function n(e,r){var t=0;while(t<e.length){var a=Math.min(65535,e.length-t);var n=t+a==e.length;r._W(1,+n);r._W(2,a);r._W(2,~a&65535);while(a-- >0)r[r.l++]=e[t++]}return r.l}function i(r,t){var n=0;var i=0;var s=ee?new Uint16Array(32768):[];while(i<r.length){var f=Math.min(65535,r.length-i);if(f<10){n=le(t,n,+!!(i+f==r.length));if(n&7)n+=8-(n&7);t.l=n/8|0;t._W(2,f);t._W(2,~f&65535);while(f-- >0)t[t.l++]=r[i++];n=t.l*8;continue}n=le(t,n,+!!(i+f==r.length)+2);var o=0;while(f-- >0){var c=r[i];o=(o<<5^c)&32767;var l=-1,u=0;if(l=s[o]){l|=i&~32767;if(l>i)l-=32768;if(l<i)while(r[l+u]==r[i+u]&&u<250)++u}if(u>2){c=a[u];if(c<=22)n=he(t,n,re[c+1]>>1)-1;else{he(t,n,3);n+=5;he(t,n,re[c-23]>>5);n+=3}var h=c<8?0:c-4>>2;if(h>0){de(t,n,u-q[c]);n+=h}c=e[i-l];n=he(t,n,re[c]>>3);n-=3;var d=c<4?0:c-2>>1;if(d>0){de(t,n,i-l-Z[c]);n+=d}for(var v=0;v<u;++v){s[o]=i&32767;o=(o<<5^r[i])&32767;++i}f-=u-1}else{if(c<=143)c=c+48;else n=ue(t,n,1);n=he(t,n,re[c]);s[o]=i&32767;++i}}n=he(t,n,0)-1}t.l=(n+7)/8|0;return t.l}return function s(e,r){if(e.length<8)return n(e,r);return i(e,r)}}();function Te(e){var r=ha(50+Math.floor(e.length*1.1));var t=ke(e,r);return r.slice(0,t)}var Ee=ee?new Uint16Array(32768):pe(32768);var ye=ee?new Uint16Array(32768):pe(32768);var Se=ee?new Uint16Array(128):pe(128);var _e=1,Ae=1;function xe(e,r){var t=fe(e,r)+257;r+=5;var a=fe(e,r)+1;r+=5;var n=se(e,r)+4;r+=4;var i=0;var s=ee?new Uint8Array(19):pe(19);var f=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];var o=1;var c=ee?new Uint8Array(8):pe(8);var l=ee?new Uint8Array(8):pe(8);var u=s.length;for(var h=0;h<n;++h){s[J[h]]=i=ie(e,r);if(o<i)o=i;c[i]++;r+=3}var d=0;c[0]=0;for(h=1;h<=o;++h)l[h]=d=d+c[h-1]<<1;for(h=0;h<u;++h)if((d=s[h])!=0)f[h]=l[d]++;var v=0;for(h=0;h<u;++h){v=s[h];if(v!=0){d=re[f[h]]>>8-v;for(var p=(1<<7-v)-1;p>=0;--p)Se[d|p<<v]=v&7|h<<3}}var m=[];o=1;for(;m.length<t+a;){d=Se[oe(e,r)];r+=d&7;switch(d>>>=3){case 16:i=3+ne(e,r);r+=2;d=m[m.length-1];while(i-- >0)m.push(d);break;case 17:i=3+ie(e,r);r+=3;while(i-- >0)m.push(0);break;case 18:i=11+oe(e,r);r+=7;while(i-- >0)m.push(0);break;default:m.push(d);if(o<d)o=d;break;}}var b=m.slice(0,t),g=m.slice(t);for(h=t;h<286;++h)b[h]=0;for(h=a;h<30;++h)g[h]=0;_e=me(b,Ee,286);Ae=me(g,ye,30);return r}function Ce(e,r){if(e[0]==3&&!(e[1]&3)){return[y(r),2]}var t=0;var a=0;var n=S(r?r:1<<18);var i=0;var s=n.length>>>0;var f=0,o=0;while((a&1)==0){a=ie(e,t);t+=3;if(a>>>1==0){if(t&7)t+=8-(t&7);var c=e[t>>>3]|e[(t>>>3)+1]<<8;t+=32;if(c>0){if(!r&&s<i+c){n=ve(n,i+c);s=n.length}while(c-- >0){n[i++]=e[t>>>3];t+=8}}continue}else if(a>>1==1){f=9;o=5}else{t=xe(e,t);f=_e;o=Ae}for(;;){if(!r&&s<i+32767){n=ve(n,i+32767);s=n.length}var l=ce(e,t,f);var u=a>>>1==1?be[l]:Ee[l];t+=u&15;u>>>=4;if((u>>>8&255)===0)n[i++]=u;else if(u==256)break;else{u-=257;var h=u<8?0:u-4>>2;if(h>5)h=0;var d=i+q[u];if(h>0){d+=ce(e,t,h);t+=h}l=ce(e,t,o);u=a>>>1==1?ge[l]:ye[l];t+=u&15;u>>>=4;var v=u<4?0:u-2>>1;var p=Z[u];if(v>0){p+=ce(e,t,v);t+=v}if(!r&&s<d){n=ve(n,d+100);s=n.length}while(i<d){n[i]=n[i-p];++i}}}}if(r)return[n,t+7>>>3];return[n.slice(0,i),t+7>>>3]}function Re(e,r){var t=e.slice(e.l||0);var a=Ce(t,r);e.l+=a[1];return a[0]}function Oe(e,r){if(e){if(typeof console!=="undefined")console.error(r)}else throw new Error(r)}function Ie(e,r){var t=e;la(t,0);var a=[],n=[];var i={FileIndex:a,FullPaths:n};R(i,{root:r.root});var f=t.length-4;while((t[f]!=80||t[f+1]!=75||t[f+2]!=5||t[f+3]!=6)&&f>=0)--f;t.l=f+4;t.l+=4;var o=t._R(2);t.l+=6;var c=t._R(4);t.l=c;for(f=0;f<o;++f){t.l+=20;var l=t._R(4);var u=t._R(4);var h=t._R(2);var d=t._R(2);var v=t._R(2);t.l+=8;var p=t._R(4);var m=s(t.slice(t.l+h,t.l+h+d));t.l+=h+d+v;var b=t.l;t.l=p+4;Ne(t,l,u,i,m);t.l=b}return i}function Ne(e,r,t,a,n){e.l+=2;var f=e._R(2);var o=e._R(2);var c=i(e);if(f&8257)throw new Error("Unsupported ZIP encryption");var l=e._R(4);var u=e._R(4);var h=e._R(4);var d=e._R(2);var v=e._R(2);var p="";for(var m=0;m<d;++m)p+=String.fromCharCode(e[e.l++]);if(v){var b=s(e.slice(e.l,e.l+v));if((b[21589]||{}).mt)c=b[21589].mt;if(((n||{})[21589]||{}).mt)c=n[21589].mt}e.l+=v;var g=e.slice(e.l,e.l+u);switch(o){case 8:g=Y(e,h);break;case 0:break;default:throw new Error("Unsupported ZIP Compression method "+o);}var w=false;if(f&8){l=e._R(4);if(l==134695760){l=e._R(4);w=true}u=e._R(4);h=e._R(4)}if(u!=r)Oe(w,"Bad compressed size: "+r+" != "+u);if(h!=t)Oe(w,"Bad uncompressed size: "+t+" != "+h);Ve(a,p,g,{unsafe:true,mt:c})}function Fe(e,r){var t=r||{};var a=[],i=[];var s=ha(1);var f=t.compression?8:0,o=0;var c=false;if(c)o|=8;var l=0,u=0;var h=0,d=0;var v=e.FullPaths[0],p=v,m=e.FileIndex[0];var b=[];var g=0;for(l=1;l<e.FullPaths.length;++l){p=e.FullPaths[l].slice(v.length);m=e.FileIndex[l];if(!m.size||!m.content||p=="Sh33tJ5")continue;var w=h;var k=ha(p.length);for(u=0;u<p.length;++u)k._W(1,p.charCodeAt(u)&127);k=k.slice(0,k.l);b[d]=Ye.buf(m.content,0);var T=m.content;if(f==8)T=K(T);s=ha(30);s._W(4,67324752);s._W(2,20);s._W(2,o);s._W(2,f);if(m.mt)n(s,m.mt);else s._W(4,0);s._W(-4,o&8?0:b[d]);s._W(4,o&8?0:T.length);s._W(4,o&8?0:m.content.length);s._W(2,k.length);s._W(2,0);h+=s.length;a.push(s);h+=k.length;a.push(k);h+=T.length;a.push(T);if(o&8){s=ha(12);s._W(-4,b[d]);s._W(4,T.length);s._W(4,m.content.length);h+=s.l;a.push(s)}s=ha(46);s._W(4,33639248);s._W(2,0);s._W(2,20);s._W(2,o);s._W(2,f);s._W(4,0);s._W(-4,b[d]);s._W(4,T.length);s._W(4,m.content.length);s._W(2,k.length);s._W(2,0);s._W(2,0);s._W(2,0);s._W(2,0);s._W(4,0);s._W(4,w);g+=s.l;i.push(s);g+=k.length;i.push(k);++d}s=ha(22);s._W(4,101010256);s._W(2,0);s._W(2,0);s._W(2,d);s._W(2,d);s._W(4,g);s._W(4,h);s._W(2,0);return O([O(a),O(i),s])}var De={htm:"text/html",xml:"text/xml",gif:"image/gif",jpg:"image/jpeg",png:"image/png",mso:"application/x-mso",thmx:"application/vnd.ms-officetheme",sh33tj5:"application/octet-stream"};function Pe(e,r){if(e.ctype)return e.ctype;var t=e.name||"",a=t.match(/\.([^\.]+)$/);if(a&&De[a[1]])return De[a[1]];if(r){a=(t=r).match(/[\.\\]([^\.\\])+$/);if(a&&De[a[1]])return De[a[1]]}return"application/octet-stream"}function Le(e){var r=w(e);var t=[];for(var a=0;a<r.length;a+=76)t.push(r.slice(a,a+76));return t.join("\r\n")+"\r\n"}function Me(e){var r=e.replace(/[\x00-\x08\x0B\x0C\x0E-\x1F\x7E-\xFF=]/g,function(e){var r=e.charCodeAt(0).toString(16).toUpperCase();return"="+(r.length==1?"0"+r:r)});r=r.replace(/ $/gm,"=20").replace(/\t$/gm,"=09");if(r.charAt(0)=="\n")r="=0D"+r.slice(1);r=r.replace(/\r(?!\n)/gm,"=0D").replace(/\n\n/gm,"\n=0A").replace(/([^\r\n])\n/gm,"$1=0A");var t=[],a=r.split("\r\n");for(var n=0;n<a.length;++n){var i=a[n];if(i.length==0){t.push("");continue}for(var s=0;s<i.length;){var f=76;var o=i.slice(s,s+f);if(o.charAt(f-1)=="=")f--;else if(o.charAt(f-2)=="=")f-=2;else if(o.charAt(f-3)=="=")f-=3;o=i.slice(s,s+f);s+=f;if(s<i.length)o+="=";t.push(o)}}return t.join("\r\n")}function Ue(e){var r=[];for(var t=0;t<e.length;++t){var a=e[t];while(t<=e.length&&a.charAt(a.length-1)=="=")a=a.slice(0,a.length-1)+e[++t];r.push(a)}for(var n=0;n<r.length;++n)r[n]=r[n].replace(/[=][0-9A-Fa-f]{2}/g,function(e){return String.fromCharCode(parseInt(e.slice(1),16))});return _(r.join("\r\n"))}function Be(e,r,t){var a="",n="",i="",s;var f=0;for(;f<10;++f){var o=r[f];if(!o||o.match(/^\s*$/))break;var c=o.match(/^(.*?):\s*([^\s].*)$/);if(c)switch(c[1].toLowerCase()){case"content-location":a=c[2].trim();break;case"content-type":i=c[2].trim();break;case"content-transfer-encoding":n=c[2].trim();break;}}++f;switch(n.toLowerCase()){case"base64":s=_(k(r.slice(f).join("")));break;case"quoted-printable":s=Ue(r.slice(f));break;default:throw new Error("Unsupported Content-Transfer-Encoding "+n);}var l=Ve(e,a.slice(t.length),s,{unsafe:true});if(i)l.ctype=i}function We(e,r){if(G(e.slice(0,13)).toLowerCase()!="mime-version:")throw new Error("Unsupported MAD header");var t=r&&r.root||"";var a=(T&&Buffer.isBuffer(e)?e.toString("binary"):G(e)).split("\r\n");var n=0,i="";for(n=0;n<a.length;++n){i=a[n];if(!/^Content-Location:/i.test(i))continue;i=i.slice(i.indexOf("file"));if(!t)t=i.slice(0,i.lastIndexOf("/")+1);if(i.slice(0,t.length)==t)continue;while(t.length>0){t=t.slice(0,t.length-1);t=t.slice(0,t.lastIndexOf("/")+1);if(i.slice(0,t.length)==t)break}}var s=(a[1]||"").match(/boundary="(.*?)"/);if(!s)throw new Error("MAD cannot find boundary");var f="--"+(s[1]||"");var o=[],c=[];var l={FileIndex:o,FullPaths:c};R(l);var u,h=0;for(n=0;n<a.length;++n){var d=a[n];if(d!==f&&d!==f+"--")continue;if(h++)Be(l,a.slice(u,n),t);u=n}return l}function He(e,r){var t=r||{};var a=t.boundary||"SheetJS";a="------="+a;var n=["MIME-Version: 1.0",'Content-Type: multipart/related; boundary="'+a.slice(2)+'"',"","",""];var i=e.FullPaths[0],s=i,f=e.FileIndex[0];for(var o=1;o<e.FullPaths.length;++o){s=e.FullPaths[o].slice(i.length);f=e.FileIndex[o];if(!f.size||!f.content||s=="Sh33tJ5")continue;s=s.replace(/[\x00-\x08\x0B\x0C\x0E-\x1F\x7E-\xFF]/g,function(e){return"_x"+e.charCodeAt(0).toString(16)+"_"}).replace(/[\u0080-\uFFFF]/g,function(e){return"_u"+e.charCodeAt(0).toString(16)+"_"});var c=f.content;var l=T&&Buffer.isBuffer(c)?c.toString("binary"):G(c);var u=0,h=Math.min(1024,l.length),d=0;for(var v=0;v<=h;++v)if((d=l.charCodeAt(v))>=32&&d<128)++u;var p=u>=h*4/5;n.push(a);n.push("Content-Location: "+(t.root||"file:///C:/SheetJS/")+s);n.push("Content-Transfer-Encoding: "+(p?"quoted-printable":"base64"));n.push("Content-Type: "+Pe(f,s));n.push("");n.push(p?Me(l):Le(l))}n.push(a+"--\r\n");return n.join("\r\n")}function ze(e){var r={};R(r,e);return r}function Ve(e,r,t,n){var i=n&&n.unsafe;if(!i)R(e);var s=!i&&Ke.find(e,r);if(!s){var f=e.FullPaths[0];if(r.slice(0,f.length)==f)f=r;else{if(f.slice(-1)!="/")f+="/";f=(f+r).replace("//","/")}s={name:a(r),type:2};e.FileIndex.push(s);e.FullPaths.push(f);if(!i)Ke.utils.cfb_gc(e)}s.content=t;s.size=t?t.length:0;if(n){if(n.CLSID)s.clsid=n.CLSID;if(n.mt)s.mt=n.mt;if(n.ct)s.ct=n.ct}return s}function Ge(e,r){R(e);var t=Ke.find(e,r);if(t)for(var a=0;a<e.FileIndex.length;++a)if(e.FileIndex[a]==t){e.FileIndex.splice(a,1);e.FullPaths.splice(a,1);return true}return false}function je(e,r,t){R(e);var n=Ke.find(e,r);if(n)for(var i=0;i<e.FileIndex.length;++i)if(e.FileIndex[i]==n){e.FileIndex[i].name=a(t);e.FullPaths[i]=t;return true}return false}function Xe(e){D(e,true)}e.find=L;e.read=C;e.parse=c;e.write=j;e.writeFile=V;e.utils={cfb_new:ze,cfb_add:Ve,cfb_del:Ge,cfb_mov:je,cfb_gc:Xe,ReadShift:na,CheckField:ca,prep_blob:la,bconcat:O,use_zlib:$,_deflateRaw:Te,_inflateRaw:Re,consts:z};return e}();var Je;if(typeof require!=="undefined")try{Je=undefined}catch(qe){}function Ze(e){if(typeof e==="string")return A(e);if(Array.isArray(e))return C(e);return e}function Qe(e,r,t){if(typeof Je!=="undefined"&&Je.writeFileSync)return t?Je.writeFileSync(e,r,t):Je.writeFileSync(e,r);if(typeof Deno!=="undefined"){if(t&&typeof r=="string")switch(t){case"utf8":r=new TextEncoder(t).encode(r);break;case"binary":r=A(r);break;default:throw new Error("Unsupported encoding "+t);}return Deno.writeFileSync(e,r)}var a=t=="utf8"?lt(r):r;if(typeof IE_SaveFile!=="undefined")return IE_SaveFile(a,e);if(typeof Blob!=="undefined"){var n=new Blob([Ze(a)],{type:"application/octet-stream"});if(typeof navigator!=="undefined"&&navigator.msSaveBlob)return navigator.msSaveBlob(n,e);if(typeof saveAs!=="undefined")return saveAs(n,e);if(typeof URL!=="undefined"&&typeof document!=="undefined"&&document.createElement&&URL.createObjectURL){var i=URL.createObjectURL(n);if(typeof chrome==="object"&&typeof(chrome.downloads||{}).download=="function"){if(URL.revokeObjectURL&&typeof setTimeout!=="undefined")setTimeout(function(){URL.revokeObjectURL(i)},6e4);return chrome.downloads.download({url:i,filename:e,saveAs:true})}var s=document.createElement("a");if(s.download!=null){s.download=e;s.href=i;document.body.appendChild(s);s.click();document.body.removeChild(s);if(URL.revokeObjectURL&&typeof setTimeout!=="undefined")setTimeout(function(){URL.revokeObjectURL(i)},6e4);return i}}}if(typeof $!=="undefined"&&typeof File!=="undefined"&&typeof Folder!=="undefined")try{var f=File(e);f.open("w");f.encoding="binary";if(Array.isArray(r))r=x(r);f.write(r);f.close();return r}catch(o){if(!o.message||!o.message.match(/onstruct/))throw o}throw new Error("cannot save file "+e)}function er(e){if(typeof Je!=="undefined")return Je.readFileSync(e);if(typeof Deno!=="undefined")return Deno.readFileSync(e);if(typeof $!=="undefined"&&typeof File!=="undefined"&&typeof Folder!=="undefined")try{var r=File(e);r.open("r");r.encoding="binary";var t=r.read();r.close();return t}catch(a){if(!a.message||!a.message.match(/onstruct/))throw a}throw new Error("Cannot access file "+e)}function rr(e){var r=Object.keys(e),t=[];for(var a=0;a<r.length;++a)if(Object.prototype.hasOwnProperty.call(e,r[a]))t.push(r[a]);return t}function tr(e,r){var t=[],a=rr(e);for(var n=0;n!==a.length;++n)if(t[e[a[n]][r]]==null)t[e[a[n]][r]]=a[n];return t}function ar(e){var r=[],t=rr(e);for(var a=0;a!==t.length;++a)r[e[t[a]]]=t[a];return r}function nr(e){var r=[],t=rr(e);for(var a=0;a!==t.length;++a)r[e[t[a]]]=parseInt(t[a],10);return r}function ir(e){var r=[],t=rr(e);for(var a=0;a!==t.length;++a){if(r[e[t[a]]]==null)r[e[t[a]]]=[];r[e[t[a]]].push(t[a])}return r}var sr=new Date(1899,11,30,0,0,0);function fr(e,r){var t=e.getTime();if(r)t-=1462*24*60*60*1e3;var a=sr.getTime()+(e.getTimezoneOffset()-sr.getTimezoneOffset())*6e4;return(t-a)/(24*60*60*1e3)}var or=new Date;var cr=sr.getTime()+(or.getTimezoneOffset()-sr.getTimezoneOffset())*6e4;var lr=or.getTimezoneOffset();function ur(e){var r=new Date;r.setTime(e*24*60*60*1e3+cr);if(r.getTimezoneOffset()!==lr){r.setTime(r.getTime()+(r.getTimezoneOffset()-lr)*6e4)}return r}function hr(e){var r=0,t=0,a=false;var n=e.match(/P([0-9\.]+Y)?([0-9\.]+M)?([0-9\.]+D)?T([0-9\.]+H)?([0-9\.]+M)?([0-9\.]+S)?/);if(!n)throw new Error("|"+e+"| is not an ISO8601 Duration");for(var i=1;i!=n.length;++i){if(!n[i])continue;t=1;if(i>3)a=true;switch(n[i].slice(n[i].length-1)){case"Y":throw new Error("Unsupported ISO Duration Field: "+n[i].slice(n[i].length-1));case"D":t*=24;case"H":t*=60;case"M":if(!a)throw new Error("Unsupported ISO Duration Field: M");else t*=60;case"S":break;}r+=t*parseInt(n[i],10)}return r}var dr=new Date("2017-02-19T19:06:09.000Z");var vr=isNaN(dr.getFullYear())?new Date("2/19/17"):dr;var pr=vr.getFullYear()==2017;function mr(e,r){var t=new Date(e);if(pr){if(r>0)t.setTime(t.getTime()+t.getTimezoneOffset()*60*1e3);else if(r<0)t.setTime(t.getTime()-t.getTimezoneOffset()*60*1e3);return t}if(e instanceof Date)return e;if(vr.getFullYear()==1917&&!isNaN(t.getFullYear())){-var a=t.getFullYear();if(e.indexOf(""+a)>-1)return t;t.setFullYear(t.getFullYear()+100);return t}var n=e.match(/\d+/g)||["2017","2","19","0","0","0"];var i=new Date(+n[0],+n[1]-1,+n[2],+n[3]||0,+n[4]||0,+n[5]||0);if(e.indexOf("Z")>-1)i=new Date(i.getTime()-i.getTimezoneOffset()*60*1e3);return i}function br(e,r){if(T&&Buffer.isBuffer(e)){if(r){if(e[0]==255&&e[1]==254)return lt(e.slice(2).toString("utf16le"));if(e[1]==254&&e[2]==255)return lt(h(e.slice(2).toString("binary")))}return e.toString("binary")}if(typeof TextDecoder!=="undefined")try{if(r){if(e[0]==255&&e[1]==254)return lt(new TextDecoder("utf-16le").decode(e.slice(2)));if(e[0]==254&&e[1]==255)return lt(new TextDecoder("utf-16be").decode(e.slice(2)))}var t={"€":"","‚":"","ƒ":"","„":"","…":" ","†":"","‡":"","ˆ":"","‰":"","Š":"","‹":"","Œ":"","Ž":"","‘":"","’":"","“":"","”":"","•":"","–":"","—":"","˜":"","™":"","š":"","›":"","œ":"","ž":"","Ÿ":""};if(Array.isArray(e))e=new Uint8Array(e);return new TextDecoder("latin1").decode(e).replace(/[€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ]/g,function(e){return t[e]||e})}catch(a){}var n=[];for(var i=0;i!=e.length;++i)n.push(String.fromCharCode(e[i]));return n.join("")}function gr(e){if(typeof JSON!="undefined"&&!Array.isArray(e))return JSON.parse(JSON.stringify(e));if(typeof e!="object"||e==null)return e;if(e instanceof Date)return new Date(e.getTime());var r={};for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t))r[t]=gr(e[t]);return r}function wr(e,r){var t="";while(t.length<r)t+=e;return t}function kr(e){var r=Number(e);if(!isNaN(r))return isFinite(r)?r:NaN;if(!/\d/.test(e))return r;var t=1;var a=e.replace(/([\d]),([\d])/g,"$1$2").replace(/[$]/g,"").replace(/[%]/g,function(){t*=100;return""});if(!isNaN(r=Number(a)))return r/t;a=a.replace(/[(](.*)[)]/,function(e,r){t=-t;return r});if(!isNaN(r=Number(a)))return r/t;return r}var Tr=["january","february","march","april","may","june","july","august","september","october","november","december"];function Er(e){var r=new Date(e),t=new Date(NaN);var a=r.getYear(),n=r.getMonth(),i=r.getDate();if(isNaN(i))return t;var s=e.toLowerCase();if(s.match(/jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec/)){s=s.replace(/[^a-z]/g,"").replace(/([^a-z]|^)[ap]m?([^a-z]|$)/,"");if(s.length>3&&Tr.indexOf(s)==-1)return t}else if(s.match(/[a-z]/))return t;if(a<0||a>8099)return t;if((n>0||i>1)&&a!=101)return r;if(e.match(/[^-0-9:,\/\\]/))return t;return r}var yr=function(){var e="abacaba".split(/(:?b)/i).length==5;return function r(t,a,n){if(e||typeof a=="string")return t.split(a);var i=t.split(a),s=[i[0]];for(var f=1;f<i.length;++f){s.push(n);s.push(i[f])}return s}}();function Sr(e){if(!e)return null;if(e.content&&e.type)return br(e.content,true);if(e.data)return d(e.data);if(e.asNodeBuffer&&T)return d(e.asNodeBuffer().toString("binary"));if(e.asBinary)return d(e.asBinary());if(e._data&&e._data.getContent)return d(br(Array.prototype.slice.call(e._data.getContent(),0)));return null}function _r(e){if(!e)return null;if(e.data)return l(e.data);if(e.asNodeBuffer&&T)return e.asNodeBuffer();if(e._data&&e._data.getContent){var r=e._data.getContent();if(typeof r=="string")return l(r);return Array.prototype.slice.call(r)}if(e.content&&e.type)return e.content;return null}function Ar(e){return e&&e.name.slice(-4)===".bin"?_r(e):Sr(e)}function xr(e,r){var t=e.FullPaths||rr(e.files);var a=r.toLowerCase().replace(/[\/]/g,"\\"),n=a.replace(/\\/g,"/");for(var i=0;i<t.length;++i){var s=t[i].replace(/^Root Entry[\/]/,"").toLowerCase();if(a==s||n==s)return e.files?e.files[t[i]]:e.FileIndex[i]}return null}function Cr(e,r){var t=xr(e,r);if(t==null)throw new Error("Cannot find file "+r+" in zip");return t}function Rr(e,r,t){if(!t)return Ar(Cr(e,r));if(!r)return null;try{return Rr(e,r)}catch(a){return null}}function Or(e,r,t){if(!t)return Sr(Cr(e,r));if(!r)return null;try{return Or(e,r)}catch(a){return null}}function Ir(e,r,t){if(!t)return _r(Cr(e,r));if(!r)return null;try{return Ir(e,r)}catch(a){return null}}function Nr(e){var r=e.FullPaths||rr(e.files),t=[];for(var a=0;a<r.length;++a)if(r[a].slice(-1)!="/")t.push(r[a].replace(/^Root Entry[\/]/,""));return t.sort()}function Fr(e,r,t){if(e.FullPaths){if(typeof t=="string"){var a;if(T)a=E(t);else a=I(t);return Ke.utils.cfb_add(e,r,a)}Ke.utils.cfb_add(e,r,t)}else e.file(r,t)}function Dr(){return Ke.utils.cfb_new()}function Pr(e,r){switch(r.type){case"base64":return Ke.read(e,{type:"base64"});case"binary":return Ke.read(e,{type:"binary"});case"buffer":;case"array":return Ke.read(e,{type:"buffer"});}throw new Error("Unrecognized type "+r.type)}function Lr(e,r){if(e.charAt(0)=="/")return e.slice(1);var t=r.split("/");if(r.slice(-1)!="/")t.pop();var a=e.split("/");while(a.length!==0){var n=a.shift();if(n==="..")t.pop();else if(n!==".")t.push(n)}return t.join("/")}var Mr='<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\r\n';var Ur=/([^"\s?>\/]+)\s*=\s*((?:")([^"]*)(?:")|(?:')([^']*)(?:')|([^'">\s]+))/g;var Br=/<[\/\?]?[a-zA-Z0-9:_-]+(?:\s+[^"\s?>\/]+\s*=\s*(?:"[^"]*"|'[^']*'|[^'">\s=]+))*\s*[\/\?]?>/gm,Wr=/<[^>]*>/g;var Hr=Mr.match(Br)?Br:Wr;var zr=/<\w*:/,Vr=/<(\/?)\w+:/;function Gr(e,r,t){var a={};var n=0,i=0;for(;n!==e.length;++n)if((i=e.charCodeAt(n))===32||i===10||i===13)break;if(!r)a[0]=e.slice(0,n);if(n===e.length)return a;var s=e.match(Ur),f=0,o="",c=0,l="",u="",h=1;if(s)for(c=0;c!=s.length;++c){u=s[c];for(i=0;i!=u.length;++i)if(u.charCodeAt(i)===61)break;l=u.slice(0,i).trim();while(u.charCodeAt(i+1)==32)++i;h=(n=u.charCodeAt(i+1))==34||n==39?1:0;o=u.slice(i+1+h,u.length-h);for(f=0;f!=l.length;++f)if(l.charCodeAt(f)===58)break;if(f===l.length){if(l.indexOf("_")>0)l=l.slice(0,l.indexOf("_"));a[l]=o;if(!t)a[l.toLowerCase()]=o}else{var d=(f===5&&l.slice(0,5)==="xmlns"?"xmlns":"")+l.slice(f+1);if(a[d]&&l.slice(f-3,f)=="ext")continue;a[d]=o;if(!t)a[d.toLowerCase()]=o}}return a}function jr(e){return e.replace(Vr,"<$1")}var Xr={""":'"',"'":"'",">":">","<":"<","&":"&"};var $r=ar(Xr);var Yr=function(){var e=/&(?:quot|apos|gt|lt|amp|#x?([\da-fA-F]+));/gi,r=/_x([\da-fA-F]{4})_/gi;return function t(a){var n=a+"",i=n.indexOf("<![CDATA[");if(i==-1)return n.replace(e,function(e,r){return Xr[e]||String.fromCharCode(parseInt(r,e.indexOf("x")>-1?16:10))||e}).replace(r,function(e,r){return String.fromCharCode(parseInt(r,16))});var s=n.indexOf("]]>");return t(n.slice(0,i))+n.slice(i+9,s)+t(n.slice(s+3))}}();var Kr=/[&<>'"]/g,Jr=/[\u0000-\u0008\u000b-\u001f]/g;function qr(e){var r=e+"";return r.replace(Kr,function(e){return $r[e]}).replace(Jr,function(e){return"_x"+("000"+e.charCodeAt(0).toString(16)).slice(-4)+"_"})}function Zr(e){return qr(e).replace(/ /g,"_x0020_")}var Qr=/[\u0000-\u001f]/g;function et(e){var r=e+"";return r.replace(Kr,function(e){return $r[e]}).replace(/\n/g,"<br/>").replace(Qr,function(e){return"&#x"+("000"+e.charCodeAt(0).toString(16)).slice(-4)+";"})}function rt(e){var r=e+"";return r.replace(Kr,function(e){return $r[e]}).replace(Qr,function(e){return"&#x"+e.charCodeAt(0).toString(16).toUpperCase()+";"})}var tt=function(){var e=/&#(\d+);/g;function r(e,r){return String.fromCharCode(parseInt(r,10))}return function t(a){return a.replace(e,r)}}();function at(e){return e.replace(/(\r\n|[\r\n])/g," ")}function nt(e){switch(e){case 1:;case true:;case"1":;case"true":;case"TRUE":return true;default:return false;}}function it(e){var r="",t=0,a=0,n=0,i=0,s=0,f=0;while(t<e.length){a=e.charCodeAt(t++);if(a<128){r+=String.fromCharCode(a);continue}n=e.charCodeAt(t++);if(a>191&&a<224){s=(a&31)<<6;s|=n&63;r+=String.fromCharCode(s);continue}i=e.charCodeAt(t++);if(a<240){r+=String.fromCharCode((a&15)<<12|(n&63)<<6|i&63);continue}s=e.charCodeAt(t++);f=((a&7)<<18|(n&63)<<12|(i&63)<<6|s&63)-65536;r+=String.fromCharCode(55296+(f>>>10&1023));r+=String.fromCharCode(56320+(f&1023))}return r}function st(e){var r=y(2*e.length),t,a,n=1,i=0,s=0,f;for(a=0;a<e.length;a+=n){n=1;if((f=e.charCodeAt(a))<128)t=f;else if(f<224){t=(f&31)*64+(e.charCodeAt(a+1)&63);n=2}else if(f<240){t=(f&15)*4096+(e.charCodeAt(a+1)&63)*64+(e.charCodeAt(a+2)&63);n=3}else{n=4;t=(f&7)*262144+(e.charCodeAt(a+1)&63)*4096+(e.charCodeAt(a+2)&63)*64+(e.charCodeAt(a+3)&63);t-=65536;s=55296+(t>>>10&1023);t=56320+(t&1023)}if(s!==0){r[i++]=s&255;r[i++]=s>>>8;s=0}r[i++]=t%256;r[i++]=t>>>8}return r.slice(0,i).toString("ucs2")}function ft(e){return E(e,"binary").toString("utf8")}var ot="foo bar bazâð£";var ct=T&&(ft(ot)==it(ot)&&ft||st(ot)==it(ot)&&st)||it;var lt=T?function(e){return E(e,"utf8").toString("binary")}:function(e){var r=[],t=0,a=0,n=0;while(t<e.length){a=e.charCodeAt(t++);switch(true){case a<128:r.push(String.fromCharCode(a));break;case a<2048:r.push(String.fromCharCode(192+(a>>6)));r.push(String.fromCharCode(128+(a&63)));break;case a>=55296&&a<57344:a-=55296;n=e.charCodeAt(t++)-56320+(a<<10);r.push(String.fromCharCode(240+(n>>18&7)));r.push(String.fromCharCode(144+(n>>12&63)));r.push(String.fromCharCode(128+(n>>6&63)));r.push(String.fromCharCode(128+(n&63)));break;default:r.push(String.fromCharCode(224+(a>>12)));r.push(String.fromCharCode(128+(a>>6&63)));r.push(String.fromCharCode(128+(a&63)));}}return r.join("")};var ut=function(){var e={};return function r(t,a){var n=t+"|"+(a||"");if(e[n])return e[n];return e[n]=new RegExp("<(?:\\w+:)?"+t+'(?: xml:space="preserve")?(?:[^>]*)>([\\s\\S]*?)</(?:\\w+:)?'+t+">",a||"")}}();var ht=function(){var e=[["nbsp"," "],["middot","·"],["quot",'"'],["apos","'"],["gt",">"],["lt","<"],["amp","&"]].map(function(e){return[new RegExp("&"+e[0]+";","ig"),e[1]]});return function r(t){var a=t.replace(/^[\t\n\r ]+/,"").replace(/[\t\n\r ]+$/,"").replace(/>\s+/g,">").replace(/\s+</g,"<").replace(/[\t\n\r ]+/g," ").replace(/<\s*[bB][rR]\s*\/?>/g,"\n").replace(/<[^>]*>/g,"");for(var n=0;n<e.length;++n)a=a.replace(e[n][0],e[n][1]);return a}}();var dt=function(){var e={};return function r(t){if(e[t]!==undefined)return e[t];return e[t]=new RegExp("<(?:vt:)?"+t+">([\\s\\S]*?)</(?:vt:)?"+t+">","g")}}();var vt=/<\/?(?:vt:)?variant>/g,pt=/<(?:vt:)([^>]*)>([\s\S]*)</;function mt(e,r){var t=Gr(e);var a=e.match(dt(t.baseType))||[];var n=[];if(a.length!=t.size){if(r.WTF)throw new Error("unexpected vector length "+a.length+" != "+t.size);return n}a.forEach(function(e){var r=e.replace(vt,"").match(pt);if(r)n.push({v:ct(r[2]),t:r[1]})});return n}var bt=/(^\s|\s$|\n)/;function gt(e,r){return"<"+e+(r.match(bt)?' xml:space="preserve"':"")+">"+r+"</"+e+">"}function wt(e){return rr(e).map(function(r){return" "+r+'="'+e[r]+'"'}).join("")}function kt(e,r,t){return"<"+e+(t!=null?wt(t):"")+(r!=null?(r.match(bt)?' xml:space="preserve"':"")+">"+r+"</"+e:"/")+">"}function Tt(e,r){try{return e.toISOString().replace(/\.\d*/,"")}catch(t){if(r)throw t}return""}function Et(e,r){switch(typeof e){case"string":var t=kt("vt:lpwstr",qr(e));if(r)t=t.replace(/"/g,"_x0022_");return t;case"number":return kt((e|0)==e?"vt:i4":"vt:r8",qr(String(e)));case"boolean":return kt("vt:bool",e?"true":"false");}if(e instanceof Date)return kt("vt:filetime",Tt(e));throw new Error("Unable to serialize "+e)}function yt(e){if(T&&Buffer.isBuffer(e))return e.toString("utf8");if(typeof e==="string")return e;if(typeof Uint8Array!=="undefined"&&e instanceof Uint8Array)return ct(x(R(e)));throw new Error("Bad input format: expected Buffer or string")}var St=/<(\/?)([^\s?><!\/:]*:|)([^\s?<>:\/]+)(?:[\s?:\/][^>]*)?>/gm;var _t={CORE_PROPS:"http://schemas.openxmlformats.org/package/2006/metadata/core-properties",CUST_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/custom-properties",EXT_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/extended-properties",CT:"http://schemas.openxmlformats.org/package/2006/content-types",RELS:"http://schemas.openxmlformats.org/package/2006/relationships",TCMNT:"http://schemas.microsoft.com/office/spreadsheetml/2018/threadedcomments",dc:"http://purl.org/dc/elements/1.1/",dcterms:"http://purl.org/dc/terms/",dcmitype:"http://purl.org/dc/dcmitype/",mx:"http://schemas.microsoft.com/office/mac/excel/2008/main",r:"http://schemas.openxmlformats.org/officeDocument/2006/relationships",sjs:"http://schemas.openxmlformats.org/package/2006/sheetjs/core-properties",vt:"http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes",xsi:"http://www.w3.org/2001/XMLSchema-instance",xsd:"http://www.w3.org/2001/XMLSchema"};var At=["http://schemas.openxmlformats.org/spreadsheetml/2006/main","http://purl.oclc.org/ooxml/spreadsheetml/main","http://schemas.microsoft.com/office/excel/2006/main","http://schemas.microsoft.com/office/excel/2006/2"];var xt={o:"urn:schemas-microsoft-com:office:office",x:"urn:schemas-microsoft-com:office:excel",ss:"urn:schemas-microsoft-com:office:spreadsheet",dt:"uuid:C2F41010-65B3-11d1-A29F-00AA00C14882",mv:"http://macVmlSchemaUri",v:"urn:schemas-microsoft-com:vml",html:"http://www.w3.org/TR/REC-html40"};function Ct(e,r){var t=1-2*(e[r+7]>>>7);var a=((e[r+7]&127)<<4)+(e[r+6]>>>4&15);var n=e[r+6]&15;for(var i=5;i>=0;--i)n=n*256+e[r+i];if(a==2047)return n==0?t*Infinity:NaN;if(a==0)a=-1022;else{a-=1023;n+=Math.pow(2,52)}return t*Math.pow(2,a-52)*n}function Rt(e,r,t){var a=(r<0||1/r==-Infinity?1:0)<<7,n=0,i=0;var s=a?-r:r;if(!isFinite(s)){n=2047;i=isNaN(r)?26985:0}else if(s==0)n=i=0;else{n=Math.floor(Math.log(s)/Math.LN2);i=s*Math.pow(2,52-n);if(n<=-1023&&(!isFinite(i)||i<Math.pow(2,52))){n=-1022}else{i-=Math.pow(2,52);n+=1023}}for(var f=0;f<=5;++f,i/=256)e[t+f]=i&255;e[t+6]=(n&15)<<4|i&15;e[t+7]=n>>4|a}var Ot=function(e){var r=[],t=10240;for(var a=0;a<e[0].length;++a)if(e[0][a])for(var n=0,i=e[0][a].length;n<i;n+=t)r.push.apply(r,e[0][a].slice(n,n+t));return r};var It=T?function(e){return e[0].length>0&&Buffer.isBuffer(e[0][0])?Buffer.concat(e[0].map(function(e){return Buffer.isBuffer(e)?e:E(e)})):Ot(e)}:Ot;var Nt=function(e,r,t){var a=[];for(var n=r;n<t;n+=2)a.push(String.fromCharCode(Qt(e,n)));return a.join("").replace(N,"")};var Ft=T?function(e,r,t){if(!Buffer.isBuffer(e))return Nt(e,r,t);return e.toString("utf16le",r,t).replace(N,"")}:Nt;var Dt=function(e,r,t){var a=[];for(var n=r;n<r+t;++n)a.push(("0"+e[n].toString(16)).slice(-2));return a.join("")};var Pt=T?function(e,r,t){return Buffer.isBuffer(e)?e.toString("hex",r,r+t):Dt(e,r,t)}:Dt;var Lt=function(e,r,t){var a=[];for(var n=r;n<t;n++)a.push(String.fromCharCode(Zt(e,n)));return a.join("")};var Mt=T?function rk(e,r,t){return Buffer.isBuffer(e)?e.toString("utf8",r,t):Lt(e,r,t)}:Lt;var Ut=function(e,r){var t=ra(e,r);return t>0?Mt(e,r+4,r+4+t-1):""};var Bt=Ut;var Wt=function(e,r){var t=ra(e,r);return t>0?Mt(e,r+4,r+4+t-1):""};var Ht=Wt;var zt=function(e,r){var t=2*ra(e,r);return t>0?Mt(e,r+4,r+4+t-1):""};var Vt=zt;var Gt=function tk(e,r){var t=ra(e,r);return t>0?Ft(e,r+4,r+4+t):""};var jt=Gt;var Xt=function(e,r){var t=ra(e,r);return t>0?Mt(e,r+4,r+4+t):""};var $t=Xt;var Yt=function(e,r){return Ct(e,r)};var Kt=Yt;var Jt=function ak(e){return Array.isArray(e)||typeof Uint8Array!=="undefined"&&e instanceof Uint8Array};if(T){Bt=function nk(e,r){if(!Buffer.isBuffer(e))return Ut(e,r);var t=e.readUInt32LE(r);return t>0?e.toString("utf8",r+4,r+4+t-1):""};Ht=function ik(e,r){if(!Buffer.isBuffer(e))return Wt(e,r);var t=e.readUInt32LE(r);return t>0?e.toString("utf8",r+4,r+4+t-1):""};Vt=function sk(e,r){if(!Buffer.isBuffer(e))return zt(e,r);var t=2*e.readUInt32LE(r);return e.toString("utf16le",r+4,r+4+t-1)};jt=function fk(e,r){if(!Buffer.isBuffer(e))return Gt(e,r);var t=e.readUInt32LE(r);return e.toString("utf16le",r+4,r+4+t)};$t=function ok(e,r){if(!Buffer.isBuffer(e))return Xt(e,r);var t=e.readUInt32LE(r);return e.toString("utf8",r+4,r+4+t)};Kt=function ck(e,r){if(Buffer.isBuffer(e))return e.readDoubleLE(r);return Yt(e,r)};Jt=function lk(e){return Buffer.isBuffer(e)||Array.isArray(e)||typeof Uint8Array!=="undefined"&&e instanceof Uint8Array}}function qt(){Ft=function(e,r,t){return a.utils.decode(1200,e.slice(r,t)).replace(N,"")};Mt=function(e,r,t){return a.utils.decode(65001,e.slice(r,t))};Bt=function(e,r){var n=ra(e,r);return n>0?a.utils.decode(t,e.slice(r+4,r+4+n-1)):""};Ht=function(e,t){var n=ra(e,t);return n>0?a.utils.decode(r,e.slice(t+4,t+4+n-1)):""};Vt=function(e,r){var t=2*ra(e,r);return t>0?a.utils.decode(1200,e.slice(r+4,r+4+t-1)):""};jt=function(e,r){var t=ra(e,r);return t>0?a.utils.decode(1200,e.slice(r+4,r+4+t)):""};$t=function(e,r){var t=ra(e,r);return t>0?a.utils.decode(65001,e.slice(r+4,r+4+t)):""}}if(typeof a!=="undefined")qt();var Zt=function(e,r){return e[r]};var Qt=function(e,r){return e[r+1]*(1<<8)+e[r]};var ea=function(e,r){var t=e[r+1]*(1<<8)+e[r];return t<32768?t:(65535-t+1)*-1};var ra=function(e,r){return e[r+3]*(1<<24)+(e[r+2]<<16)+(e[r+1]<<8)+e[r]};var ta=function(e,r){return e[r+3]<<24|e[r+2]<<16|e[r+1]<<8|e[r]};var aa=function(e,r){return e[r]<<24|e[r+1]<<16|e[r+2]<<8|e[r+3]};function na(e,t){var n="",i,s,f=[],o,c,l,u;switch(t){case"dbcs":u=this.l;if(T&&Buffer.isBuffer(this))n=this.slice(this.l,this.l+2*e).toString("utf16le");else for(l=0;l<e;++l){n+=String.fromCharCode(Qt(this,u));u+=2}e*=2;break;case"utf8":n=Mt(this,this.l,this.l+e);break;case"utf16le":e*=2;n=Ft(this,this.l,this.l+e);break;case"wstr":if(typeof a!=="undefined")n=a.utils.decode(r,this.slice(this.l,this.l+2*e));else return na.call(this,e,"dbcs");e=2*e;break;case"lpstr-ansi":n=Bt(this,this.l);e=4+ra(this,this.l);break;case"lpstr-cp":n=Ht(this,this.l);e=4+ra(this,this.l);break;case"lpwstr":n=Vt(this,this.l);e=4+2*ra(this,this.l);break;case"lpp4":e=4+ra(this,this.l);n=jt(this,this.l);if(e&2)e+=2;break;case"8lpp4":e=4+ra(this,this.l);n=$t(this,this.l);if(e&3)e+=4-(e&3);break;case"cstr":e=0;n="";while((o=Zt(this,this.l+e++))!==0)f.push(v(o));n=f.join("");break;case"_wstr":e=0;n="";while((o=Qt(this,this.l+e))!==0){f.push(v(o));e+=2}e+=2;n=f.join("");break;case"dbcs-cont":n="";u=this.l;for(l=0;l<e;++l){if(this.lens&&this.lens.indexOf(u)!==-1){o=Zt(this,u);this.l=u+1;c=na.call(this,e-l,o?"dbcs-cont":"sbcs-cont");return f.join("")+c}f.push(v(Qt(this,u)));u+=2}n=f.join("");e*=2;break;case"cpstr":if(typeof a!=="undefined"){n=a.utils.decode(r,this.slice(this.l,this.l+e));break};case"sbcs-cont":n="";u=this.l;for(l=0;l!=e;++l){if(this.lens&&this.lens.indexOf(u)!==-1){o=Zt(this,u);this.l=u+1;c=na.call(this,e-l,o?"dbcs-cont":"sbcs-cont");return f.join("")+c}f.push(v(Zt(this,u)));u+=1}n=f.join("");break;default:switch(e){case 1:i=Zt(this,this.l);this.l++;return i;case 2:i=(t==="i"?ea:Qt)(this,this.l);this.l+=2;return i;case 4:;case-4:if(t==="i"||(this[this.l+3]&128)===0){i=(e>0?ta:aa)(this,this.l);this.l+=4;return i}else{s=ra(this,this.l);this.l+=4}return s;case 8:;case-8:if(t==="f"){if(e==8)s=Kt(this,this.l);else s=Kt([this[this.l+7],this[this.l+6],this[this.l+5],this[this.l+4],this[this.l+3],this[this.l+2],this[this.l+1],this[this.l+0]],0);this.l+=8;return s}else e=8;case 16:n=Pt(this,this.l,e);break;};}this.l+=e;return n}var ia=function(e,r,t){e[t]=r&255;e[t+1]=r>>>8&255;e[t+2]=r>>>16&255;e[t+3]=r>>>24&255};var sa=function(e,r,t){e[t]=r&255;e[t+1]=r>>8&255;e[t+2]=r>>16&255;e[t+3]=r>>24&255};var fa=function(e,r,t){e[t]=r&255;e[t+1]=r>>>8&255};function oa(e,r,n){var i=0,s=0;if(n==="dbcs"){for(s=0;s!=r.length;++s)fa(this,r.charCodeAt(s),this.l+2*s);i=2*r.length}else if(n==="sbcs"){if(typeof a!=="undefined"&&t==874){for(s=0;s!=r.length;++s){var f=a.utils.encode(t,r.charAt(s));this[this.l+s]=f[0]}}else{r=r.replace(/[^\x00-\x7F]/g,"_");for(s=0;s!=r.length;++s)this[this.l+s]=r.charCodeAt(s)&255}i=r.length}else if(n==="hex"){for(;s<e;++s){this[this.l++]=parseInt(r.slice(2*s,2*s+2),16)||0}return this}else if(n==="utf16le"){var o=Math.min(this.l+e,this.length);for(s=0;s<Math.min(r.length,e);++s){var c=r.charCodeAt(s);this[this.l++]=c&255;this[this.l++]=c>>8}while(this.l<o)this[this.l++]=0;return this}else switch(e){case 1:i=1;this[this.l]=r&255;break;case 2:i=2;this[this.l]=r&255;r>>>=8;this[this.l+1]=r&255;break;case 3:i=3;this[this.l]=r&255;r>>>=8;this[this.l+1]=r&255;r>>>=8;this[this.l+2]=r&255;break;case 4:i=4;ia(this,r,this.l);break;case 8:i=8;if(n==="f"){Rt(this,r,this.l);break};case 16:break;case-4:i=4;sa(this,r,this.l);break;}this.l+=i;return this}function ca(e,r){var t=Pt(this,this.l,e.length>>1);if(t!==e)throw new Error(r+"Expected "+e+" saw "+t);this.l+=e.length>>1}function la(e,r){e.l=r;e._R=na;e.chk=ca;e._W=oa}function ua(e,r){e.l+=r}function ha(e){var r=y(e);la(r,0);return r}function da(e,r,t){if(!e)return;var a,n,i;la(e,e.l||0);var s=e.length,f=0,o=0;while(e.l<s){f=e._R(1);if(f&128)f=(f&127)+((e._R(1)&127)<<7);var c=mb[f]||mb[65535];a=e._R(1);i=a&127;for(n=1;n<4&&a&128;++n)i+=((a=e._R(1))&127)<<7*n;o=e.l+i;var l=c.f&&c.f(e,i,t);e.l=o;if(r(l,c,f))return}}function va(){var e=[],r=T?256:2048;var t=function o(e){var r=ha(e);la(r,0);return r};var a=t(r);var n=function c(){if(!a)return;if(a.length>a.l){a=a.slice(0,a.l);a.l=a.length}if(a.length>0)e.push(a);a=null};var i=function l(e){if(a&&e<a.length-a.l)return a;n();return a=t(Math.max(e+1,r))};var s=function u(){n();return O(e)};var f=function h(e){n();a=e;if(a.l==null)a.l=a.length;i(r)};return{next:i,push:f,end:s,_bufs:e}}function pa(e,r,t,a){var n=+r,i;if(isNaN(n))return;if(!a)a=mb[n].p||(t||[]).length||0;i=1+(n>=128?1:0)+1;if(a>=128)++i;if(a>=16384)++i;if(a>=2097152)++i;var s=e.next(i);if(n<=127)s._W(1,n);else{s._W(1,(n&127)+128);s._W(1,n>>7)}for(var f=0;f!=4;++f){if(a>=128){s._W(1,(a&127)+128);a>>=7}else{s._W(1,a);break}}if(a>0&&Jt(t))e.push(t)}function ma(e,r,t){var a=gr(e);if(r.s){if(a.cRel)a.c+=r.s.c;if(a.rRel)a.r+=r.s.r}else{if(a.cRel)a.c+=r.c;if(a.rRel)a.r+=r.r}if(!t||t.biff<12){while(a.c>=256)a.c-=256;while(a.r>=65536)a.r-=65536}return a}function ba(e,r,t){var a=gr(e);a.s=ma(a.s,r.s,t);a.e=ma(a.e,r.s,t);return a}function ga(e,r){if(e.cRel&&e.c<0){e=gr(e);while(e.c<0)e.c+=r>8?16384:256}if(e.rRel&&e.r<0){e=gr(e);while(e.r<0)e.r+=r>8?1048576:r>5?65536:16384}var t=Oa(e);if(!e.cRel&&e.cRel!=null)t=Aa(t);if(!e.rRel&&e.rRel!=null)t=Ea(t);return t}function wa(e,r){if(e.s.r==0&&!e.s.rRel){if(e.e.r==(r.biff>=12?1048575:r.biff>=8?65536:16384)&&!e.e.rRel){return(e.s.cRel?"":"$")+_a(e.s.c)+":"+(e.e.cRel?"":"$")+_a(e.e.c)}}if(e.s.c==0&&!e.s.cRel){if(e.e.c==(r.biff>=12?16383:255)&&!e.e.cRel){return(e.s.rRel?"":"$")+Ta(e.s.r)+":"+(e.e.rRel?"":"$")+Ta(e.e.r)}}return ga(e.s,r.biff)+":"+ga(e.e,r.biff)}function ka(e){return parseInt(ya(e),10)-1}function Ta(e){return""+(e+1)}function Ea(e){return e.replace(/([A-Z]|^)(\d+)$/,"$1$$$2")}function ya(e){return e.replace(/\$(\d+)$/,"$1")}function Sa(e){var r=xa(e),t=0,a=0;for(;a!==r.length;++a)t=26*t+r.charCodeAt(a)-64;return t-1}function _a(e){if(e<0)throw new Error("invalid column "+e);var r="";for(++e;e;e=Math.floor((e-1)/26))r=String.fromCharCode((e-1)%26+65)+r;return r}function Aa(e){return e.replace(/^([A-Z])/,"$$$1")}function xa(e){return e.replace(/^\$([A-Z])/,"$1")}function Ca(e){return e.replace(/(\$?[A-Z]*)(\$?\d*)/,"$1,$2").split(",")}function Ra(e){var r=0,t=0;for(var a=0;a<e.length;++a){var n=e.charCodeAt(a);if(n>=48&&n<=57)r=10*r+(n-48);else if(n>=65&&n<=90)t=26*t+(n-64)}return{c:t-1,r:r-1}}function Oa(e){var r=e.c+1;var t="";for(;r;r=(r-1)/26|0)t=String.fromCharCode((r-1)%26+65)+t;return t+(e.r+1)}function Ia(e){var r=e.indexOf(":");if(r==-1)return{s:Ra(e),e:Ra(e)};return{s:Ra(e.slice(0,r)),e:Ra(e.slice(r+1))}}function Na(e,r){if(typeof r==="undefined"||typeof r==="number"){return Na(e.s,e.e)}if(typeof e!=="string")e=Oa(e);if(typeof r!=="string")r=Oa(r);return e==r?e:e+":"+r}function Fa(e){var r={s:{c:0,r:0},e:{c:0,r:0}};var t=0,a=0,n=0;var i=e.length;for(t=0;a<i;++a){if((n=e.charCodeAt(a)-64)<1||n>26)break;t=26*t+n}r.s.c=--t;for(t=0;a<i;++a){if((n=e.charCodeAt(a)-48)<0||n>9)break;t=10*t+n}r.s.r=--t;if(a===i||n!=10){r.e.c=r.s.c;r.e.r=r.s.r;return r}++a;for(t=0;a!=i;++a){if((n=e.charCodeAt(a)-64)<1||n>26)break;t=26*t+n}r.e.c=--t;for(t=0;a!=i;++a){if((n=e.charCodeAt(a)-48)<0||n>9)break;t=10*t+n}r.e.r=--t;return r}function Da(e,r){var t=e.t=="d"&&r instanceof Date;if(e.z!=null)try{return e.w=Be(e.z,t?fr(r):r)}catch(a){}try{return e.w=Be((e.XF||{}).numFmtId||(t?14:0),t?fr(r):r)}catch(a){return""+r}}function Pa(e,r,t){if(e==null||e.t==null||e.t=="z")return"";if(e.w!==undefined)return e.w;if(e.t=="d"&&!e.z&&t&&t.dateNF)e.z=t.dateNF;if(e.t=="e")return Gn[e.v]||e.v;if(r==undefined)return Da(e,e.v);return Da(e,r)}function La(e,r){var t=r&&r.sheet?r.sheet:"Sheet1";var a={};a[t]=e;return{SheetNames:[t],Sheets:a}}function Ma(e,r,t){var a=t||{};var n=e?Array.isArray(e):a.dense;if(m!=null&&n==null)n=m;var i=e||(n?[]:{});var s=0,f=0;if(i&&a.origin!=null){if(typeof a.origin=="number")s=a.origin;else{var o=typeof a.origin=="string"?Ra(a.origin):a.origin;s=o.r;f=o.c}if(!i["!ref"])i["!ref"]="A1:A1"}var c={s:{c:1e7,r:1e7},e:{c:0,r:0}};if(i["!ref"]){var l=Fa(i["!ref"]);c.s.c=l.s.c;c.s.r=l.s.r;c.e.c=Math.max(c.e.c,l.e.c);c.e.r=Math.max(c.e.r,l.e.r);if(s==-1)c.e.r=s=l.e.r+1}for(var u=0;u!=r.length;++u){if(!r[u])continue;if(!Array.isArray(r[u]))throw new Error("aoa_to_sheet expects an array of arrays");for(var h=0;h!=r[u].length;++h){if(typeof r[u][h]==="undefined")continue;var d={v:r[u][h]};var v=s+u,p=f+h;if(c.s.r>v)c.s.r=v;if(c.s.c>p)c.s.c=p;if(c.e.r<v)c.e.r=v;if(c.e.c<p)c.e.c=p;if(r[u][h]&&typeof r[u][h]==="object"&&!Array.isArray(r[u][h])&&!(r[u][h]instanceof Date))d=r[u][h];else{if(Array.isArray(d.v)){d.f=r[u][h][1];d.v=d.v[0]}if(d.v===null){if(d.f)d.t="n";else if(a.nullError){d.t="e";d.v=0}else if(!a.sheetStubs)continue;else d.t="z"}else if(typeof d.v==="number")d.t="n";else if(typeof d.v==="boolean")d.t="b";else if(d.v instanceof Date){d.z=a.dateNF||X[14];if(a.cellDates){d.t="d";d.w=Be(d.z,fr(d.v))}else{d.t="n";d.v=fr(d.v);d.w=Be(d.z,d.v)}}else d.t="s"}if(n){if(!i[v])i[v]=[];if(i[v][p]&&i[v][p].z)d.z=i[v][p].z;i[v][p]=d}else{var b=Oa({c:p,r:v});if(i[b]&&i[b].z)d.z=i[b].z;i[b]=d}}}if(c.s.c<1e7)i["!ref"]=Na(c);return i}function Ua(e,r){return Ma(null,e,r)}function Ba(e){return e._R(4,"i")}function Wa(e,r){if(!r)r=ha(4);r._W(4,e);return r}function Ha(e){var r=e._R(4);return r===0?"":e._R(r,"dbcs")}function za(e,r){var t=false;if(r==null){t=true;r=ha(4+2*e.length)}r._W(4,e.length);if(e.length>0)r._W(0,e,"dbcs");return t?r.slice(0,r.l):r}function Va(e){return{ich:e._R(2),ifnt:e._R(2)}}function Ga(e,r){if(!r)r=ha(4);r._W(2,e.ich||0);r._W(2,e.ifnt||0);return r}function ja(e,r){var t=e.l;var a=e._R(1);var n=Ha(e);var i=[];var s={t:n,h:n};if((a&1)!==0){var f=e._R(4);for(var o=0;o!=f;++o)i.push(Va(e));s.r=i}else s.r=[{ich:0,ifnt:0}];e.l=t+r;return s}function Xa(e,r){var t=false;if(r==null){t=true;r=ha(15+4*e.t.length)}r._W(1,0);za(e.t,r);return t?r.slice(0,r.l):r}var $a=ja;function Ya(e,r){var t=false;if(r==null){t=true;r=ha(23+4*e.t.length)}r._W(1,1);za(e.t,r);r._W(4,1);Ga({ich:0,ifnt:0},r);return t?r.slice(0,r.l):r}function Ka(e){var r=e._R(4);var t=e._R(2);t+=e._R(1)<<16;e.l++;return{c:r,iStyleRef:t}}function Ja(e,r){if(r==null)r=ha(8);r._W(-4,e.c);r._W(3,e.iStyleRef||e.s);r._W(1,0);return r}function qa(e){var r=e._R(2);r+=e._R(1)<<16;e.l++;return{c:-1,iStyleRef:r}}function Za(e,r){if(r==null)r=ha(4);r._W(3,e.iStyleRef||e.s);r._W(1,0);return r}var Qa=Ha;var en=za;function rn(e){var r=e._R(4);return r===0||r===4294967295?"":e._R(r,"dbcs")}function tn(e,r){var t=false;if(r==null){t=true;r=ha(127)}r._W(4,e.length>0?e.length:4294967295);if(e.length>0)r._W(0,e,"dbcs");return t?r.slice(0,r.l):r}var an=Ha;var nn=rn;var sn=tn;function fn(e){var r=e.slice(e.l,e.l+4);var t=r[0]&1,a=r[0]&2;e.l+=4;var n=a===0?Kt([0,0,0,0,r[0]&252,r[1],r[2],r[3]],0):ta(r,0)>>2;return t?n/100:n}function on(e,r){if(r==null)r=ha(4);var t=0,a=0,n=e*100;if(e==(e|0)&&e>=-(1<<29)&&e<1<<29){a=1}else if(n==(n|0)&&n>=-(1<<29)&&n<1<<29){a=1;t=1}if(a)r._W(-4,((t?n:e)<<2)+(t+2));else throw new Error("unsupported RkNumber "+e)}function cn(e){var r={s:{},e:{}};r.s.r=e._R(4);r.e.r=e._R(4);r.s.c=e._R(4);r.e.c=e._R(4);return r}function ln(e,r){if(!r)r=ha(16);r._W(4,e.s.r);r._W(4,e.e.r);r._W(4,e.s.c);r._W(4,e.e.c);return r}var un=cn;var hn=ln;function dn(e){if(e.length-e.l<8)throw"XLS Xnum Buffer underflow";return e._R(8,"f")}function vn(e,r){return(r||ha(8))._W(8,e,"f")}function pn(e){var r={};var t=e._R(1);var a=t>>>1;var n=e._R(1);var i=e._R(2,"i");var s=e._R(1);var f=e._R(1);var o=e._R(1);e.l++;switch(a){case 0:r.auto=1;break;case 1:r.index=n;var c=Vn[n];if(c)r.rgb=gc(c);break;case 2:r.rgb=gc([s,f,o]);break;case 3:r.theme=n;break;}if(i!=0)r.tint=i>0?i/32767:i/32768;return r}function mn(e,r){if(!r)r=ha(8);if(!e||e.auto){r._W(4,0);r._W(4,0);return r}if(e.index!=null){r._W(1,2);r._W(1,e.index)}else if(e.theme!=null){r._W(1,6);r._W(1,e.theme)}else{r._W(1,5);r._W(1,0)}var t=e.tint||0;if(t>0)t*=32767;else if(t<0)t*=32768;r._W(2,t);if(!e.rgb||e.theme!=null){r._W(2,0);r._W(1,0);r._W(1,0)}else{var a=e.rgb||"FFFFFF";if(typeof a=="number")a=("000000"+a.toString(16)).slice(-6);r._W(1,parseInt(a.slice(0,2),16));r._W(1,parseInt(a.slice(2,4),16));r._W(1,parseInt(a.slice(4,6),16));r._W(1,255)}return r}function bn(e){var r=e._R(1);e.l++;var t={fBold:r&1,fItalic:r&2,fUnderline:r&4,fStrikeout:r&8,fOutline:r&16,fShadow:r&32,fCondense:r&64,fExtend:r&128};return t}function gn(e,r){if(!r)r=ha(2);var t=(e.italic?2:0)|(e.strike?8:0)|(e.outline?16:0)|(e.shadow?32:0)|(e.condense?64:0)|(e.extend?128:0);r._W(1,t);r._W(1,0);return r}function wn(e,r){var t={2:"BITMAP",3:"METAFILEPICT",8:"DIB",14:"ENHMETAFILE"};var a=e._R(4);switch(a){case 0:return"";case 4294967295:;case 4294967294:return t[e._R(4)]||"";}if(a>400)throw new Error("Unsupported Clipboard: "+a.toString(16));e.l-=4;return e._R(0,r==1?"lpstr":"lpwstr")}function kn(e){return wn(e,1)}function Tn(e){return wn(e,2)}var En=2;var yn=3;var Sn=11;var _n=12;var An=19;var xn=30;var Cn=64;var Rn=65;var On=71;var In=4096;var Nn=4108;var Fn=4126;var Dn=80;var Pn=81;var Ln=[Dn,Pn];var Mn={1:{n:"CodePage",t:En},2:{n:"Category",t:Dn},3:{n:"PresentationFormat",t:Dn},4:{n:"ByteCount",t:yn},5:{n:"LineCount",t:yn},6:{n:"ParagraphCount",t:yn},7:{n:"SlideCount",t:yn},8:{n:"NoteCount",t:yn},9:{n:"HiddenCount",t:yn},10:{n:"MultimediaClipCount",t:yn},11:{n:"ScaleCrop",t:Sn},12:{n:"HeadingPairs",t:Nn},13:{n:"TitlesOfParts",t:Fn},14:{n:"Manager",t:Dn},15:{n:"Company",t:Dn},16:{n:"LinksUpToDate",t:Sn},17:{n:"CharacterCount",t:yn},19:{n:"SharedDoc",t:Sn},22:{n:"HyperlinksChanged",t:Sn},23:{n:"AppVersion",t:yn,p:"version"},24:{n:"DigSig",t:Rn},26:{n:"ContentType",t:Dn},27:{n:"ContentStatus",t:Dn},28:{n:"Language",t:Dn},29:{n:"Version",t:Dn},255:{},2147483648:{n:"Locale",t:An},2147483651:{n:"Behavior",t:An},1919054434:{}};var Un={1:{n:"CodePage",t:En},2:{n:"Title",t:Dn},3:{n:"Subject",t:Dn},4:{n:"Author",t:Dn},5:{n:"Keywords",t:Dn},6:{n:"Comments",t:Dn},7:{n:"Template",t:Dn},8:{n:"LastAuthor",t:Dn},9:{n:"RevNumber",t:Dn},10:{n:"EditTime",t:Cn},11:{n:"LastPrinted",t:Cn},12:{n:"CreatedDate",t:Cn},13:{n:"ModifiedDate",t:Cn},14:{n:"PageCount",t:yn},15:{n:"WordCount",t:yn},16:{n:"CharCount",t:yn},17:{n:"Thumbnail",t:On},18:{n:"Application",t:Dn},19:{n:"DocSecurity",t:yn},255:{},2147483648:{n:"Locale",t:An},2147483651:{n:"Behavior",t:An},1919054434:{}};var Bn={1:"US",2:"CA",3:"",7:"RU",20:"EG",30:"GR",31:"NL",32:"BE",33:"FR",34:"ES",36:"HU",39:"IT",41:"CH",43:"AT",44:"GB",45:"DK",46:"SE",47:"NO",48:"PL",49:"DE",52:"MX",55:"BR",61:"AU",64:"NZ",66:"TH",81:"JP",82:"KR",84:"VN",86:"CN",90:"TR",105:"JS",213:"DZ",216:"MA",218:"LY",351:"PT",354:"IS",358:"FI",420:"CZ",886:"TW",961:"LB",962:"JO",963:"SY",964:"IQ",965:"KW",966:"SA",971:"AE",972:"IL",974:"QA",981:"IR",65535:"US"};var Wn=[null,"solid","mediumGray","darkGray","lightGray","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","gray125","gray0625"];-function Hn(e){return e.map(function(e){return[e>>16&255,e>>8&255,e&255]})}var zn=Hn([0,16777215,16711680,65280,255,16776960,16711935,65535,0,16777215,16711680,65280,255,16776960,16711935,65535,8388608,32768,128,8421376,8388736,32896,12632256,8421504,10066431,10040166,16777164,13434879,6684774,16744576,26316,13421823,128,16711935,16776960,65535,8388736,8388608,32896,255,52479,13434879,13434828,16777113,10079487,16751052,13408767,16764057,3368703,3394764,10079232,16763904,16750848,16737792,6710937,9868950,13158,3381606,13056,3355392,10040064,10040166,3355545,3355443,16777215,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]);var Vn=gr(zn);var Gn={0:"#NULL!",7:"#DIV/0!",15:"#VALUE!",23:"#REF!",29:"#NAME?",36:"#NUM!",42:"#N/A",43:"#GETTING_DATA",255:"#WTF?"};var jn={"#NULL!":0,"#DIV/0!":7,"#VALUE!":15,"#REF!":23,"#NAME?":29,"#NUM!":36,"#N/A":42,"#GETTING_DATA":43,"#WTF?":255};var Xn={"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":"workbooks","application/vnd.ms-excel.sheet.macroEnabled.main+xml":"workbooks","application/vnd.ms-excel.sheet.binary.macroEnabled.main":"workbooks","application/vnd.ms-excel.addin.macroEnabled.main+xml":"workbooks","application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":"workbooks","application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":"sheets","application/vnd.ms-excel.worksheet":"sheets","application/vnd.ms-excel.binIndexWs":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":"charts","application/vnd.ms-excel.chartsheet":"charts","application/vnd.ms-excel.macrosheet+xml":"macros","application/vnd.ms-excel.macrosheet":"macros","application/vnd.ms-excel.intlmacrosheet":"TODO","application/vnd.ms-excel.binIndexMs":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":"dialogs","application/vnd.ms-excel.dialogsheet":"dialogs","application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml":"strs","application/vnd.ms-excel.sharedStrings":"strs","application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":"styles","application/vnd.ms-excel.styles":"styles","application/vnd.openxmlformats-package.core-properties+xml":"coreprops","application/vnd.openxmlformats-officedocument.custom-properties+xml":"custprops","application/vnd.openxmlformats-officedocument.extended-properties+xml":"extprops","application/vnd.openxmlformats-officedocument.customXmlProperties+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.customProperty":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":"comments","application/vnd.ms-excel.comments":"comments","application/vnd.ms-excel.threadedcomments+xml":"threadedcomments","application/vnd.ms-excel.person+xml":"people","application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml":"metadata","application/vnd.ms-excel.sheetMetadata":"metadata","application/vnd.ms-excel.pivotTable":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotTable+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.chart+xml":"TODO","application/vnd.ms-office.chartcolorstyle+xml":"TODO","application/vnd.ms-office.chartstyle+xml":"TODO","application/vnd.ms-office.chartex+xml":"TODO","application/vnd.ms-excel.calcChain":"calcchains","application/vnd.openxmlformats-officedocument.spreadsheetml.calcChain+xml":"calcchains","application/vnd.openxmlformats-officedocument.spreadsheetml.printerSettings":"TODO","application/vnd.ms-office.activeX":"TODO","application/vnd.ms-office.activeX+xml":"TODO","application/vnd.ms-excel.attachedToolbars":"TODO","application/vnd.ms-excel.connections":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":"TODO","application/vnd.ms-excel.externalLink":"links","application/vnd.openxmlformats-officedocument.spreadsheetml.externalLink+xml":"links","application/vnd.ms-excel.pivotCacheDefinition":"TODO","application/vnd.ms-excel.pivotCacheRecords":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheDefinition+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheRecords+xml":"TODO","application/vnd.ms-excel.queryTable":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.queryTable+xml":"TODO","application/vnd.ms-excel.userNames":"TODO","application/vnd.ms-excel.revisionHeaders":"TODO","application/vnd.ms-excel.revisionLog":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.revisionHeaders+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.revisionLog+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.userNames+xml":"TODO","application/vnd.ms-excel.tableSingleCells":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.tableSingleCells+xml":"TODO","application/vnd.ms-excel.slicer":"TODO","application/vnd.ms-excel.slicerCache":"TODO","application/vnd.ms-excel.slicer+xml":"TODO","application/vnd.ms-excel.slicerCache+xml":"TODO","application/vnd.ms-excel.wsSortMap":"TODO","application/vnd.ms-excel.table":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":"TODO","application/vnd.openxmlformats-officedocument.theme+xml":"themes","application/vnd.openxmlformats-officedocument.themeOverride+xml":"TODO","application/vnd.ms-excel.Timeline+xml":"TODO","application/vnd.ms-excel.TimelineCache+xml":"TODO","application/vnd.ms-office.vbaProject":"vba","application/vnd.ms-office.vbaProjectSignature":"TODO","application/vnd.ms-office.volatileDependencies":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.volatileDependencies+xml":"TODO","application/vnd.ms-excel.controlproperties+xml":"TODO","application/vnd.openxmlformats-officedocument.model+data":"TODO","application/vnd.ms-excel.Survey+xml":"TODO","application/vnd.openxmlformats-officedocument.drawing+xml":"drawings","application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramColors+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramData+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramLayout+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramStyle+xml":"TODO","application/vnd.openxmlformats-officedocument.vmlDrawing":"TODO","application/vnd.openxmlformats-package.relationships+xml":"rels","application/vnd.openxmlformats-officedocument.oleObject":"TODO","image/png":"TODO",sheet:"js"};var $n={workbooks:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml",xlsm:"application/vnd.ms-excel.sheet.macroEnabled.main+xml",xlsb:"application/vnd.ms-excel.sheet.binary.macroEnabled.main",xlam:"application/vnd.ms-excel.addin.macroEnabled.main+xml",xltx:"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml"},strs:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml",xlsb:"application/vnd.ms-excel.sharedStrings"},comments:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml",xlsb:"application/vnd.ms-excel.comments"},sheets:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml",xlsb:"application/vnd.ms-excel.worksheet"},charts:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml",xlsb:"application/vnd.ms-excel.chartsheet"},dialogs:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml",xlsb:"application/vnd.ms-excel.dialogsheet"},macros:{xlsx:"application/vnd.ms-excel.macrosheet+xml",xlsb:"application/vnd.ms-excel.macrosheet"},metadata:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml",xlsb:"application/vnd.ms-excel.sheetMetadata"},styles:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml",xlsb:"application/vnd.ms-excel.styles"}};function Yn(){return{workbooks:[],sheets:[],charts:[],dialogs:[],macros:[],rels:[],strs:[],comments:[],threadedcomments:[],links:[],coreprops:[],extprops:[],custprops:[],themes:[],styles:[],calcchains:[],vba:[],drawings:[],metadata:[],people:[],TODO:[],xmlns:""}}function Kn(e){var r=Yn();if(!e||!e.match)return r;var t={};(e.match(Hr)||[]).forEach(function(e){var a=Gr(e);switch(a[0].replace(zr,"<")){case"<?xml":break;case"<Types":r.xmlns=a["xmlns"+(a[0].match(/<(\w+):/)||["",""])[1]];break;case"<Default":t[a.Extension]=a.ContentType;break;case"<Override":if(r[Xn[a.ContentType]]!==undefined)r[Xn[a.ContentType]].push(a.PartName);break;}});if(r.xmlns!==_t.CT)throw new Error("Unknown Namespace: "+r.xmlns);r.calcchain=r.calcchains.length>0?r.calcchains[0]:"";r.sst=r.strs.length>0?r.strs[0]:"";r.style=r.styles.length>0?r.styles[0]:"";r.defaults=t;delete r.calcchains;return r}function Jn(e,r){var t=ir(Xn);var a=[],n;a[a.length]=Mr;a[a.length]=kt("Types",null,{xmlns:_t.CT,"xmlns:xsd":_t.xsd,"xmlns:xsi":_t.xsi});a=a.concat([["xml","application/xml"],["bin","application/vnd.ms-excel.sheet.binary.macroEnabled.main"],["vml","application/vnd.openxmlformats-officedocument.vmlDrawing"],["data","application/vnd.openxmlformats-officedocument.model+data"],["bmp","image/bmp"],["png","image/png"],["gif","image/gif"],["emf","image/x-emf"],["wmf","image/x-wmf"],["jpg","image/jpeg"],["jpeg","image/jpeg"],["tif","image/tiff"],["tiff","image/tiff"],["pdf","application/pdf"],["rels","application/vnd.openxmlformats-package.relationships+xml"]].map(function(e){return kt("Default",null,{Extension:e[0],ContentType:e[1]})}));var i=function(t){if(e[t]&&e[t].length>0){n=e[t][0];a[a.length]=kt("Override",null,{PartName:(n[0]=="/"?"":"/")+n,ContentType:$n[t][r.bookType]||$n[t]["xlsx"]})}};var s=function(t){(e[t]||[]).forEach(function(e){a[a.length]=kt("Override",null,{PartName:(e[0]=="/"?"":"/")+e,ContentType:$n[t][r.bookType]||$n[t]["xlsx"]})})};var f=function(r){(e[r]||[]).forEach(function(e){a[a.length]=kt("Override",null,{PartName:(e[0]=="/"?"":"/")+e,ContentType:t[r][0]})})};i("workbooks");s("sheets");s("charts");f("themes");["strs","styles"].forEach(i);["coreprops","extprops","custprops"].forEach(f);f("vba");f("comments");f("threadedcomments");f("drawings");s("metadata");f("people");if(a.length>2){a[a.length]="</Types>";a[1]=a[1].replace("/>",">")}return a.join("")}var qn={WB:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument",SHEET:"http://sheetjs.openxmlformats.org/officeDocument/2006/relationships/officeDocument",HLINK:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink",VML:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/vmlDrawing",XPATH:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLinkPath",XMISS:"http://schemas.microsoft.com/office/2006/relationships/xlExternalLinkPath/xlPathMissing",XLINK:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLink",CXML:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXml",CXMLP:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXmlProps",CMNT:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments",CORE_PROPS:"http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties",EXT_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties",CUST_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/custom-properties",SST:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings",STY:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles",THEME:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme",CHART:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/chart",CHARTEX:"http://schemas.microsoft.com/office/2014/relationships/chartEx",CS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/chartsheet",WS:["http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet","http://purl.oclc.org/ooxml/officeDocument/relationships/worksheet"],DS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/dialogsheet",MS:"http://schemas.microsoft.com/office/2006/relationships/xlMacrosheet",IMG:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",DRAW:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing",XLMETA:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/sheetMetadata",TCMNT:"http://schemas.microsoft.com/office/2017/10/relationships/threadedComment",PEOPLE:"http://schemas.microsoft.com/office/2017/10/relationships/person",VBA:"http://schemas.microsoft.com/office/2006/relationships/vbaProject"};function Zn(e){var r=e.lastIndexOf("/");return e.slice(0,r+1)+"_rels/"+e.slice(r+1)+".rels"}function Qn(e,r){var t={"!id":{}};if(!e)return t;if(r.charAt(0)!=="/"){r="/"+r}var a={};(e.match(Hr)||[]).forEach(function(e){var n=Gr(e);if(n[0]==="<Relationship"){var i={};i.Type=n.Type;i.Target=n.Target;i.Id=n.Id;if(n.TargetMode)i.TargetMode=n.TargetMode;var s=n.TargetMode==="External"?n.Target:Lr(n.Target,r);t[s]=i;a[n.Id]=i}});t["!id"]=a;return t}function ei(e){var r=[Mr,kt("Relationships",null,{xmlns:_t.RELS})];rr(e["!id"]).forEach(function(t){r[r.length]=kt("Relationship",null,e["!id"][t])});if(r.length>2){r[r.length]="</Relationships>";r[1]=r[1].replace("/>",">")}return r.join("")}function ri(e,r,t,a,n,i){if(!n)n={};if(!e["!id"])e["!id"]={};if(!e["!idx"])e["!idx"]=1;if(r<0)for(r=e["!idx"];e["!id"]["rId"+r];++r){}e["!idx"]=r+1;n.Id="rId"+r;n.Type=a;n.Target=t;if(i)n.TargetMode=i;else if([qn.HLINK,qn.XPATH,qn.XMISS].indexOf(n.Type)>-1)n.TargetMode="External";if(e["!id"][n.Id])throw new Error("Cannot rewrite rId "+r);e["!id"][n.Id]=n;e[("/"+n.Target).replace("//","/")]=n;return r}var ti="application/vnd.oasis.opendocument.spreadsheet";function ai(e,r){var t=yt(e);var a;var n;while(a=St.exec(t))switch(a[3]){case"manifest":break;case"file-entry":n=Gr(a[0],false);if(n.path=="/"&&n.type!==ti)throw new Error("This OpenDocument is not a spreadsheet");break;case"encryption-data":;case"algorithm":;case"start-key-generation":;case"key-derivation":throw new Error("Unsupported ODS Encryption");default:if(r&&r.WTF)throw a;}}function ni(e){var r=[Mr];r.push('<manifest:manifest xmlns:manifest="urn:oasis:names:tc:opendocument:xmlns:manifest:1.0" manifest:version="1.2">\n');r.push(' <manifest:file-entry manifest:full-path="/" manifest:version="1.2" manifest:media-type="application/vnd.oasis.opendocument.spreadsheet"/>\n');for(var t=0;t<e.length;++t)r.push(' <manifest:file-entry manifest:full-path="'+e[t][0]+'" manifest:media-type="'+e[t][1]+'"/>\n');r.push("</manifest:manifest>");return r.join("")}function ii(e,r,t){return[' <rdf:Description rdf:about="'+e+'">\n',' <rdf:type rdf:resource="http://docs.oasis-open.org/ns/office/1.2/meta/'+(t||"odf")+"#"+r+'"/>\n'," </rdf:Description>\n"].join("")}function si(e,r){return[' <rdf:Description rdf:about="'+e+'">\n',' <ns0:hasPart xmlns:ns0="http://docs.oasis-open.org/ns/office/1.2/meta/pkg#" rdf:resource="'+r+'"/>\n'," </rdf:Description>\n"].join("")}function fi(e){var r=[Mr];r.push('<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">\n');for(var t=0;t!=e.length;++t){r.push(ii(e[t][0],e[t][1]));r.push(si("",e[t][0]))}r.push(ii("","Document","pkg"));r.push("</rdf:RDF>");return r.join("")}function oi(){return'<office:document-meta xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:xlink="http://www.w3.org/1999/xlink" office:version="1.2"><office:meta><meta:generator>Sheet'+"JS "+e.version+"</meta:generator></office:meta></office:document-meta>"}var ci=[["cp:category","Category"],["cp:contentStatus","ContentStatus"],["cp:keywords","Keywords"],["cp:lastModifiedBy","LastAuthor"],["cp:lastPrinted","LastPrinted"],["cp:revision","RevNumber"],["cp:version","Version"],["dc:creator","Author"],["dc:description","Comments"],["dc:identifier","Identifier"],["dc:language","Language"],["dc:subject","Subject"],["dc:title","Title"],["dcterms:created","CreatedDate","date"],["dcterms:modified","ModifiedDate","date"]];var li=function(){var e=new Array(ci.length);for(var r=0;r<ci.length;++r){var t=ci[r];var a="(?:"+t[0].slice(0,t[0].indexOf(":"))+":)"+t[0].slice(t[0].indexOf(":")+1);e[r]=new RegExp("<"+a+"[^>]*>([\\s\\S]*?)</"+a+">")}return e}();function ui(e){var r={};e=ct(e);for(var t=0;t<ci.length;++t){var a=ci[t],n=e.match(li[t]);if(n!=null&&n.length>0)r[a[1]]=Yr(n[1]);if(a[2]==="date"&&r[a[1]])r[a[1]]=mr(r[a[1]])}return r}function hi(e,r,t,a,n){if(n[e]!=null||r==null||r==="")return;n[e]=r;r=qr(r);a[a.length]=t?kt(e,r,t):gt(e,r)}function di(e,r){var t=r||{};var a=[Mr,kt("cp:coreProperties",null,{"xmlns:cp":_t.CORE_PROPS,"xmlns:dc":_t.dc,"xmlns:dcterms":_t.dcterms,"xmlns:dcmitype":_t.dcmitype,"xmlns:xsi":_t.xsi})],n={};if(!e&&!t.Props)return a.join("");if(e){if(e.CreatedDate!=null)hi("dcterms:created",typeof e.CreatedDate==="string"?e.CreatedDate:Tt(e.CreatedDate,t.WTF),{"xsi:type":"dcterms:W3CDTF"},a,n);if(e.ModifiedDate!=null)hi("dcterms:modified",typeof e.ModifiedDate==="string"?e.ModifiedDate:Tt(e.ModifiedDate,t.WTF),{"xsi:type":"dcterms:W3CDTF"},a,n)}for(var i=0;i!=ci.length;++i){var s=ci[i];var f=t.Props&&t.Props[s[1]]!=null?t.Props[s[1]]:e?e[s[1]]:null;if(f===true)f="1";else if(f===false)f="0";else if(typeof f=="number")f=String(f);if(f!=null)hi(s[0],f,null,a,n)}if(a.length>2){a[a.length]="</cp:coreProperties>";a[1]=a[1].replace("/>",">")}return a.join("")}var vi=[["Application","Application","string"],["AppVersion","AppVersion","string"],["Company","Company","string"],["DocSecurity","DocSecurity","string"],["Manager","Manager","string"],["HyperlinksChanged","HyperlinksChanged","bool"],["SharedDoc","SharedDoc","bool"],["LinksUpToDate","LinksUpToDate","bool"],["ScaleCrop","ScaleCrop","bool"],["HeadingPairs","HeadingPairs","raw"],["TitlesOfParts","TitlesOfParts","raw"]];var pi=["Worksheets","SheetNames","NamedRanges","DefinedNames","Chartsheets","ChartNames"];function mi(e,r,t,a){var n=[];if(typeof e=="string")n=mt(e,a);else for(var i=0;i<e.length;++i)n=n.concat(e[i].map(function(e){return{v:e}}));var s=typeof r=="string"?mt(r,a).map(function(e){return e.v}):r;var f=0,o=0;if(s.length>0)for(var c=0;c!==n.length;c+=2){o=+n[c+1].v;switch(n[c].v){case"Worksheets":;case"工作表":;case"Листы":;case"أوراق العمل":;case"ワークシート":;case"גליונות עבודה":;case"Arbeitsblätter":;case"Çalışma Sayfaları":;case"Feuilles de calcul":;case"Fogli di lavoro":;case"Folhas de cálculo":;case"Planilhas":;case"Regneark":;case"Hojas de cálculo":;case"Werkbladen":t.Worksheets=o;t.SheetNames=s.slice(f,f+o);break;case"Named Ranges":;case"Rangos con nombre":;case"名前付き一覧":;case"Benannte Bereiche":;case"Navngivne områder":t.NamedRanges=o;t.DefinedNames=s.slice(f,f+o);break;case"Charts":;case"Diagramme":t.Chartsheets=o;t.ChartNames=s.slice(f,f+o);break;}f+=o}}function bi(e,r,t){var a={};if(!r)r={};e=ct(e);vi.forEach(function(t){var n=(e.match(ut(t[0]))||[])[1];switch(t[2]){case"string":if(n)r[t[1]]=Yr(n);break;case"bool":r[t[1]]=n==="true";break;case"raw":var i=e.match(new RegExp("<"+t[0]+"[^>]*>([\\s\\S]*?)</"+t[0]+">"));if(i&&i.length>0)a[t[1]]=i[1];break;}});if(a.HeadingPairs&&a.TitlesOfParts)mi(a.HeadingPairs,a.TitlesOfParts,r,t);return r}function gi(e){var r=[],t=kt;if(!e)e={};e.Application="SheetJS";r[r.length]=Mr;r[r.length]=kt("Properties",null,{xmlns:_t.EXT_PROPS,"xmlns:vt":_t.vt});vi.forEach(function(a){if(e[a[1]]===undefined)return;var n;switch(a[2]){case"string":n=qr(String(e[a[1]]));break;case"bool":n=e[a[1]]?"true":"false";break;}if(n!==undefined)r[r.length]=t(a[0],n)});r[r.length]=t("HeadingPairs",t("vt:vector",t("vt:variant","<vt:lpstr>Worksheets</vt:lpstr>")+t("vt:variant",t("vt:i4",String(e.Worksheets))),{size:2,baseType:"variant"}));r[r.length]=t("TitlesOfParts",t("vt:vector",e.SheetNames.map(function(e){return"<vt:lpstr>"+qr(e)+"</vt:lpstr>"}).join(""),{size:e.Worksheets,baseType:"lpstr"}));if(r.length>2){r[r.length]="</Properties>";r[1]=r[1].replace("/>",">")}return r.join("")}var wi=/<[^>]+>[^<]*/g;function ki(e,r){var t={},a="";var n=e.match(wi);if(n)for(var i=0;i!=n.length;++i){var s=n[i],f=Gr(s);switch(f[0]){case"<?xml":break;case"<Properties":break;case"<property":a=Yr(f.name);break;case"</property>":a=null;break;default:if(s.indexOf("<vt:")===0){var o=s.split(">");var c=o[0].slice(4),l=o[1];switch(c){case"lpstr":;case"bstr":;case"lpwstr":t[a]=Yr(l);break;case"bool":t[a]=nt(l);break;case"i1":;case"i2":;case"i4":;case"i8":;case"int":;case"uint":t[a]=parseInt(l,10);break;case"r4":;case"r8":;case"decimal":t[a]=parseFloat(l);break;case"filetime":;case"date":t[a]=mr(l);break;case"cy":;case"error":t[a]=Yr(l);break;default:if(c.slice(-1)=="/")break;if(r.WTF&&typeof console!=="undefined")console.warn("Unexpected",s,c,o);}}else if(s.slice(0,2)==="</"){}else if(r.WTF)throw new Error(s);}}return t}function Ti(e){var r=[Mr,kt("Properties",null,{xmlns:_t.CUST_PROPS,"xmlns:vt":_t.vt})];if(!e)return r.join("");var t=1;rr(e).forEach(function a(n){++t;r[r.length]=kt("property",Et(e[n],true),{fmtid:"{D5CDD505-2E9C-101B-9397-08002B2CF9AE}",pid:t,name:qr(n)})});if(r.length>2){r[r.length]="</Properties>";r[1]=r[1].replace("/>",">")}return r.join("")}var Ei={Title:"Title",Subject:"Subject",Author:"Author",Keywords:"Keywords",Comments:"Description",LastAuthor:"LastAuthor",RevNumber:"Revision",Application:"AppName",LastPrinted:"LastPrinted",CreatedDate:"Created",ModifiedDate:"LastSaved",Category:"Category",Manager:"Manager",Company:"Company",AppVersion:"Version",ContentStatus:"ContentStatus",Identifier:"Identifier",Language:"Language"};var yi;function Si(e,r,t){if(!yi)yi=ar(Ei);r=yi[r]||r;e[r]=t}function _i(e,r){var t=[];rr(Ei).map(function(e){for(var r=0;r<ci.length;++r)if(ci[r][1]==e)return ci[r];for(r=0;r<vi.length;++r)if(vi[r][1]==e)return vi[r];throw e}).forEach(function(a){if(e[a[1]]==null)return;var n=r&&r.Props&&r.Props[a[1]]!=null?r.Props[a[1]]:e[a[1]];switch(a[2]){case"date":n=new Date(n).toISOString().replace(/\.\d*Z/,"Z");break;}if(typeof n=="number")n=String(n);else if(n===true||n===false){n=n?"1":"0"}else if(n instanceof Date)n=new Date(n).toISOString().replace(/\.\d*Z/,"");t.push(gt(Ei[a[1]]||a[1],n))});return kt("DocumentProperties",t.join(""),{xmlns:xt.o})}function Ai(e,r){var t=["Worksheets","SheetNames"];var a="CustomDocumentProperties";var n=[];if(e)rr(e).forEach(function(r){if(!Object.prototype.hasOwnProperty.call(e,r))return;for(var a=0;a<ci.length;++a)if(r==ci[a][1])return;for(a=0;a<vi.length;++a)if(r==vi[a][1])return;for(a=0;a<t.length;++a)if(r==t[a])return;var i=e[r];var s="string";if(typeof i=="number"){s="float";i=String(i)}else if(i===true||i===false){s="boolean";i=i?"1":"0"}else i=String(i);n.push(kt(Zr(r),i,{"dt:dt":s}))});if(r)rr(r).forEach(function(t){if(!Object.prototype.hasOwnProperty.call(r,t))return;if(e&&Object.prototype.hasOwnProperty.call(e,t))return;var a=r[t];var i="string";if(typeof a=="number"){i="float";a=String(a)}else if(a===true||a===false){i="boolean";a=a?"1":"0"}else if(a instanceof Date){i="dateTime.tz";a=a.toISOString()}else a=String(a);n.push(kt(Zr(t),a,{"dt:dt":i}))});return"<"+a+' xmlns="'+xt.o+'">'+n.join("")+"</"+a+">"}function xi(e){var r=e._R(4),t=e._R(4);return new Date((t/1e7*Math.pow(2,32)+r/1e7-11644473600)*1e3).toISOString().replace(/\.000/,"")}function Ci(e){var r=typeof e=="string"?new Date(Date.parse(e)):e;var t=r.getTime()/1e3+11644473600;var a=t%Math.pow(2,32),n=(t-a)/Math.pow(2,32);a*=1e7;n*=1e7;var i=a/Math.pow(2,32)|0;if(i>0){a=a%Math.pow(2,32);n+=i}var s=ha(8);s._W(4,a);s._W(4,n);return s}function Ri(e,r,t){var a=e.l;var n=e._R(0,"lpstr-cp");if(t)while(e.l-a&3)++e.l;return n}function Oi(e,r,t){var a=e._R(0,"lpwstr");if(t)e.l+=4-(a.length+1&3)&3;return a}function Ii(e,r,t){if(r===31)return Oi(e);return Ri(e,r,t)}function Ni(e,r,t){return Ii(e,r,t===false?0:4)}function Fi(e,r){if(!r)throw new Error("VtUnalignedString must have positive length");return Ii(e,r,0)}function Di(e){var r=e._R(4);var t=[];for(var a=0;a!=r;++a){var n=e.l;t[a]=e._R(0,"lpwstr").replace(N,"");if(e.l-n&2)e.l+=2}return t}function Pi(e){var r=e._R(4);var t=[];for(var a=0;a!=r;++a)t[a]=e._R(0,"lpstr-cp").replace(N,"");return t}function Li(e){var r=e.l;var t=Hi(e,Pn);if(e[e.l]==0&&e[e.l+1]==0&&e.l-r&2)e.l+=2;var a=Hi(e,yn);return[t,a]}function Mi(e){var r=e._R(4);var t=[];for(var a=0;a<r/2;++a)t.push(Li(e));return t}function Ui(e,r){var t=e._R(4);var a={};for(var n=0;n!=t;++n){var i=e._R(4);var s=e._R(4);a[i]=e._R(s,r===1200?"utf16le":"utf8").replace(N,"").replace(F,"!");if(r===1200&&s%2)e.l+=2}if(e.l&3)e.l=e.l>>2+1<<2;return a}function Bi(e){var r=e._R(4);var t=e.slice(e.l,e.l+r);e.l+=r;if((r&3)>0)e.l+=4-(r&3)&3;return t}function Wi(e){var r={};r.Size=e._R(4);e.l+=r.Size+3-(r.Size-1)%4;return r}function Hi(e,r,t){var a=e._R(2),n,i=t||{};e.l+=2;if(r!==_n)if(a!==r&&Ln.indexOf(r)===-1&&!((r&65534)==4126&&(a&65534)==4126))throw new Error("Expected type "+r+" saw "+a);switch(r===_n?a:r){case 2:n=e._R(2,"i");if(!i.raw)e.l+=2;return n;case 3:n=e._R(4,"i");return n;case 11:return e._R(4)!==0;case 19:n=e._R(4);return n;case 30:return Ri(e,a,4).replace(N,"");case 31:return Oi(e);case 64:return xi(e);case 65:return Bi(e);case 71:return Wi(e);case 80:return Ni(e,a,!i.raw).replace(N,"");case 81:return Fi(e,a).replace(N,"");case 4108:return Mi(e);case 4126:;case 4127:return a==4127?Di(e):Pi(e);default:throw new Error("TypedPropertyValue unrecognized type "+r+" "+a);}}function zi(e,r){var t=ha(4),a=ha(4);t._W(4,e==80?31:e);switch(e){case 3:a._W(-4,r);break;case 5:a=ha(8);a._W(8,r,"f");break;case 11:a._W(4,r?1:0);break;case 64:a=Ci(r);break;case 31:;case 80:a=ha(4+2*(r.length+1)+(r.length%2?0:2));a._W(4,r.length+1);a._W(0,r,"dbcs");while(a.l!=a.length)a._W(1,0);break;default:throw new Error("TypedPropertyValue unrecognized type "+e+" "+r);}return O([t,a])}function Vi(e,r){var t=e.l;var a=e._R(4);var n=e._R(4);var i=[],s=0;var f=0;var c=-1,l={};for(s=0;s!=n;++s){var u=e._R(4);var h=e._R(4);i[s]=[u,h+t]}i.sort(function(e,r){return e[1]-r[1]});var d={};for(s=0;s!=n;++s){if(e.l!==i[s][1]){var v=true;if(s>0&&r)switch(r[i[s-1][0]].t){case 2:if(e.l+2===i[s][1]){e.l+=2;v=false}break;case 80:if(e.l<=i[s][1]){e.l=i[s][1];v=false}break;case 4108:if(e.l<=i[s][1]){e.l=i[s][1];v=false}break;}if((!r||s==0)&&e.l<=i[s][1]){v=false;e.l=i[s][1]}if(v)throw new Error("Read Error: Expected address "+i[s][1]+" at "+e.l+" :"+s)}if(r){var p=r[i[s][0]];d[p.n]=Hi(e,p.t,{raw:true});if(p.p==="version")d[p.n]=String(d[p.n]>>16)+"."+("0000"+String(d[p.n]&65535)).slice(-4);if(p.n=="CodePage")switch(d[p.n]){case 0:d[p.n]=1252;case 874:;case 932:;case 936:;case 949:;case 950:;case 1250:;case 1251:;case 1253:;case 1254:;case 1255:;case 1256:;case 1257:;case 1258:;case 1e4:;case 1200:;case 1201:;case 1252:;case 65e3:;case-536:;case 65001:;case-535:o(f=d[p.n]>>>0&65535);break;default:throw new Error("Unsupported CodePage: "+d[p.n]);}}else{if(i[s][0]===1){f=d.CodePage=Hi(e,En);o(f);if(c!==-1){var m=e.l;e.l=i[c][1];l=Ui(e,f);e.l=m}}else if(i[s][0]===0){if(f===0){c=s;e.l=i[s+1][1];continue}l=Ui(e,f)}else{var b=l[i[s][0]];var g;switch(e[e.l]){case 65:e.l+=4;g=Bi(e);break;case 30:e.l+=4;g=Ni(e,e[e.l-4]).replace(/\u0000+$/,"");break;case 31:e.l+=4;g=Ni(e,e[e.l-4]).replace(/\u0000+$/,"");break;case 3:e.l+=4;g=e._R(4,"i");break;case 19:e.l+=4;g=e._R(4);break;case 5:e.l+=4;g=e._R(8,"f");break;case 11:e.l+=4;g=Zi(e,4);break;case 64:e.l+=4;g=mr(xi(e));break;default:throw new Error("unparsed value: "+e[e.l]);}d[b]=g}}}e.l=t+a;return d}var Gi=["CodePage","Thumbnail","_PID_LINKBASE","_PID_HLINKS","SystemIdentifier","FMTID"];function ji(e){switch(typeof e){case"boolean":return 11;case"number":return(e|0)==e?3:5;case"string":return 31;case"object":if(e instanceof Date)return 64;break;}return-1}function Xi(e,r,t){var a=ha(8),n=[],i=[];var s=8,f=0;var o=ha(8),c=ha(8);o._W(4,2);o._W(4,1200);c._W(4,1);i.push(o);n.push(c);s+=8+o.length;if(!r){c=ha(8);c._W(4,0);n.unshift(c);var l=[ha(4)];l[0]._W(4,e.length);for(f=0;f<e.length;++f){var u=e[f][0];o=ha(4+4+2*(u.length+1)+(u.length%2?0:2));o._W(4,f+2);o._W(4,u.length+1);o._W(0,u,"dbcs");while(o.l!=o.length)o._W(1,0);l.push(o)}o=O(l);i.unshift(o);s+=8+o.length}for(f=0;f<e.length;++f){if(r&&!r[e[f][0]])continue;if(Gi.indexOf(e[f][0])>-1||pi.indexOf(e[f][0])>-1)continue;if(e[f][1]==null)continue;var h=e[f][1],d=0;if(r){d=+r[e[f][0]];var v=t[d];if(v.p=="version"&&typeof h=="string"){var p=h.split(".");h=(+p[0]<<16)+(+p[1]||0)}o=zi(v.t,h)}else{var m=ji(h);if(m==-1){m=31;h=String(h)}o=zi(m,h)}i.push(o);c=ha(8);c._W(4,!r?2+f:d);n.push(c);s+=8+o.length}var b=8*(i.length+1);for(f=0;f<i.length;++f){n[f]._W(4,b);b+=i[f].length}a._W(4,s);a._W(4,i.length);return O([a].concat(n).concat(i))}function $i(e,r,t){var a=e.content;if(!a)return{};la(a,0);var n,i,s,f,o=0;a.chk("feff","Byte Order: ");a._R(2);var c=a._R(4);var l=a._R(16);if(l!==Ke.utils.consts.HEADER_CLSID&&l!==t)throw new Error("Bad PropertySet CLSID "+l);n=a._R(4);if(n!==1&&n!==2)throw new Error("Unrecognized #Sets: "+n);i=a._R(16);f=a._R(4);if(n===1&&f!==a.l)throw new Error("Length mismatch: "+f+" !== "+a.l);else if(n===2){s=a._R(16);o=a._R(4)}var u=Vi(a,r);var h={SystemIdentifier:c};for(var d in u)h[d]=u[d];h.FMTID=i;if(n===1)return h;if(o-a.l==2)a.l+=2;if(a.l!==o)throw new Error("Length mismatch 2: "+a.l+" !== "+o);var v;try{v=Vi(a,null)}catch(p){}for(d in v)h[d]=v[d];h.FMTID=[i,s];return h}function Yi(e,r,t,a,n,i){var s=ha(n?68:48);var f=[s];s._W(2,65534);s._W(2,0);s._W(4,842412599);s._W(16,Ke.utils.consts.HEADER_CLSID,"hex");s._W(4,n?2:1);s._W(16,r,"hex");s._W(4,n?68:48);var o=Xi(e,t,a);f.push(o);if(n){var c=Xi(n,null,null);s._W(16,i,"hex");s._W(4,68+o.length);f.push(c)}return O(f)}function Ki(e,r){e._R(r);return null}function Ji(e,r){if(!r)r=ha(e);for(var t=0;t<e;++t)r._W(1,0);return r}function qi(e,r,t){var a=[],n=e.l+r;while(e.l<n)a.push(t(e,n-e.l));if(n!==e.l)throw new Error("Slurp error");return a}function Zi(e,r){return e._R(r)===1}function Qi(e,r){if(!r)r=ha(2);r._W(2,+!!e);return r}function es(e){return e._R(2,"u")}function rs(e,r){if(!r)r=ha(2);r._W(2,e);return r}function ts(e,r){return qi(e,r,es)}function as(e){var r=e._R(1),t=e._R(1);return t===1?r:r===1}function ns(e,r,t){if(!t)t=ha(2);t._W(1,r=="e"?+e:+!!e);t._W(1,r=="e"?1:0);return t}function is(e,t,a){var n=e._R(a&&a.biff>=12?2:1);var i="sbcs-cont";var s=r;if(a&&a.biff>=8)r=1200;if(!a||a.biff==8){var f=e._R(1);if(f){i="dbcs-cont"}}else if(a.biff==12){i="wstr"}if(a.biff>=2&&a.biff<=5)i="cpstr";var o=n?e._R(n,i):"";r=s;return o}function ss(e){var t=r;r=1200;var a=e._R(2),n=e._R(1);var i=n&4,s=n&8;var f=1+(n&1);var o=0,c;var l={};if(s)o=e._R(2);if(i)c=e._R(4);var u=f==2?"dbcs-cont":"sbcs-cont";var h=a===0?"":e._R(a,u);if(s)e.l+=4*o;if(i)e.l+=c;l.t=h;if(!s){l.raw="<t>"+l.t+"</t>";l.r=l.t}r=t;return l}function fs(e){var r=e.t||"",t=1;var a=ha(3+(t>1?2:0));a._W(2,r.length);a._W(1,(t>1?8:0)|1);if(t>1)a._W(2,t);var n=ha(2*r.length);n._W(2*r.length,r,"utf16le");var i=[a,n];return O(i)}function os(e,r,t){-var a;if(t){if(t.biff>=2&&t.biff<=5)return e._R(r,"cpstr");if(t.biff>=12)return e._R(r,"dbcs-cont")}var n=e._R(1);if(n===0){a=e._R(r,"sbcs-cont")}else{a=e._R(r,"dbcs-cont")}return a}function cs(e,r,t){var a=e._R(t&&t.biff==2?1:2);if(a===0){e.l++;return""}return os(e,a,t)}function ls(e,r,t){if(t.biff>5)return cs(e,r,t);var a=e._R(1);if(a===0){e.l++;return""}return e._R(a,t.biff<=4||!e.lens?"cpstr":"sbcs-cont")}function us(e,r,t){if(!t)t=ha(3+2*e.length);t._W(2,e.length);t._W(1,1);t._W(31,e,"utf16le");return t}function hs(e){var r=e._R(1);e.l++;var t=e._R(2);e.l+=2;return[r,t]}function ds(e){var r=e._R(4),t=e.l;var a=false;if(r>24){e.l+=r-24;if(e._R(16)==="795881f43b1d7f48af2c825dc4852763")a=true;e.l=t}var n=e._R((a?r-24:r)>>1,"utf16le").replace(N,"");if(a)e.l+=24;return n}function vs(e){var r=e._R(2);var t="";while(r-- >0)t+="../";var a=e._R(0,"lpstr-ansi");e.l+=2;if(e._R(2)!=57005)throw new Error("Bad FileMoniker");var n=e._R(4);if(n===0)return t+a.replace(/\\/g,"/");var i=e._R(4);if(e._R(2)!=3)throw new Error("Bad FileMoniker");var s=e._R(i>>1,"utf16le").replace(N,"");return t+s}function ps(e,r){var t=e._R(16);r-=16;switch(t){case"e0c9ea79f9bace118c8200aa004ba90b":return ds(e,r);case"0303000000000000c000000000000046":return vs(e,r);default:throw new Error("Unsupported Moniker "+t);}}function ms(e){var r=e._R(4);var t=r>0?e._R(r,"utf16le").replace(N,""):"";return t}function bs(e,r){if(!r)r=ha(6+e.length*2);r._W(4,1+e.length);for(var t=0;t<e.length;++t)r._W(2,e.charCodeAt(t));r._W(2,0);return r}function gs(e,r){var t=e.l+r;var a=e._R(4);if(a!==2)throw new Error("Unrecognized streamVersion: "+a);var n=e._R(2);e.l+=2;var i,s,f,o,c="",l,u;if(n&16)i=ms(e,t-e.l);if(n&128)s=ms(e,t-e.l);if((n&257)===257)f=ms(e,t-e.l);if((n&257)===1)o=ps(e,t-e.l);if(n&8)c=ms(e,t-e.l);if(n&32)l=e._R(16);if(n&64)u=xi(e);e.l=t;var h=s||f||o||"";if(h&&c)h+="#"+c;if(!h)h="#"+c;if(n&2&&h.charAt(0)=="/"&&h.charAt(1)!="/")h="file://"+h;var d={Target:h};if(l)d.guid=l;if(u)d.time=u;if(i)d.Tooltip=i;return d}function ws(e){var r=ha(512),t=0;var a=e.Target;if(a.slice(0,7)=="file://")a=a.slice(7);var n=a.indexOf("#");var i=n>-1?31:23;switch(a.charAt(0)){case"#":i=28;break;case".":i&=~2;break;}r._W(4,2);r._W(4,i);var s=[8,6815827,6619237,4849780,83];for(t=0;t<s.length;++t)r._W(4,s[t]);if(i==28){a=a.slice(1);bs(a,r)}else if(i&2){s="e0 c9 ea 79 f9 ba ce 11 8c 82 00 aa 00 4b a9 0b".split(" ");for(t=0;t<s.length;++t)r._W(1,parseInt(s[t],16));var f=n>-1?a.slice(0,n):a;r._W(4,2*(f.length+1));for(t=0;t<f.length;++t)r._W(2,f.charCodeAt(t));r._W(2,0);if(i&8)bs(n>-1?a.slice(n+1):"",r)}else{s="03 03 00 00 00 00 00 00 c0 00 00 00 00 00 00 46".split(" ");for(t=0;t<s.length;++t)r._W(1,parseInt(s[t],16));var o=0;while(a.slice(o*3,o*3+3)=="../"||a.slice(o*3,o*3+3)=="..\\")++o;r._W(2,o);r._W(4,a.length-3*o+1);for(t=0;t<a.length-3*o;++t)r._W(1,a.charCodeAt(t+3*o)&255);r._W(1,0);r._W(2,65535);r._W(2,57005);for(t=0;t<6;++t)r._W(4,0)}return r.slice(0,r.l)}function ks(e){var r=e._R(1),t=e._R(1),a=e._R(1),n=e._R(1);return[r,t,a,n]}function Ts(e,r){var t=ks(e,r);t[3]=0;return t}function Es(e){var r=e._R(2);var t=e._R(2);var a=e._R(2);return{r:r,c:t,ixfe:a}}function ys(e,r,t,a){if(!a)a=ha(6);a._W(2,e);a._W(2,r);a._W(2,t||0);return a}function Ss(e){var r=e._R(2);var t=e._R(2);e.l+=8;return{type:r,flags:t}}function _s(e,r,t){return r===0?"":ls(e,r,t)}function As(e,r,t){var a=t.biff>8?4:2;var n=e._R(a),i=e._R(a,"i"),s=e._R(a,"i");return[n,i,s]}function xs(e){var r=e._R(2);var t=fn(e);return[r,t]}function Cs(e,r,t){e.l+=4;r-=4;var a=e.l+r;var n=is(e,r,t);var i=e._R(2);a-=e.l;if(i!==a)throw new Error("Malformed AddinUdf: padding = "+a+" != "+i);e.l+=i;return n}function Rs(e){var r=e._R(2);var t=e._R(2);var a=e._R(2);var n=e._R(2);return{s:{c:a,r:r},e:{c:n,r:t}}}function Os(e,r){if(!r)r=ha(8);r._W(2,e.s.r);r._W(2,e.e.r);r._W(2,e.s.c);r._W(2,e.e.c);return r}function Is(e){var r=e._R(2);var t=e._R(2);var a=e._R(1);var n=e._R(1);return{s:{c:a,r:r},e:{c:n,r:t}}}var Ns=Is;function Fs(e){e.l+=4;var r=e._R(2);var t=e._R(2);var a=e._R(2);e.l+=12;return[t,r,a]}function Ds(e){var r={};e.l+=4;e.l+=16;r.fSharedNote=e._R(2);e.l+=4;return r}function Ps(e){var r={};e.l+=4;e.cf=e._R(2);return r}function Ls(e){e.l+=2;e.l+=e._R(2)}var Ms={0:Ls,4:Ls,5:Ls,6:Ls,7:Ps,8:Ls,9:Ls,10:Ls,11:Ls,12:Ls,13:Ds,14:Ls,15:Ls,16:Ls,17:Ls,18:Ls,19:Ls,20:Ls,21:Fs};function Us(e,r){var t=e.l+r;var a=[];while(e.l<t){var n=e._R(2);e.l-=2;try{a.push(Ms[n](e,t-e.l))}catch(i){e.l=t;return a}}if(e.l!=t)e.l=t;return a}function Bs(e,r){var t={BIFFVer:0,dt:0};t.BIFFVer=e._R(2);r-=2;if(r>=2){t.dt=e._R(2);e.l-=2}switch(t.BIFFVer){case 1536:;case 1280:;case 1024:;case 768:;case 512:;case 2:;case 7:break;default:if(r>6)throw new Error("Unexpected BIFF Ver "+t.BIFFVer);}e._R(r);return t}function Ws(e,r,t){var a=1536,n=16;switch(t.bookType){case"biff8":break;case"biff5":a=1280;n=8;break;case"biff4":a=4;n=6;break;case"biff3":a=3;n=6;break;case"biff2":a=2;n=4;break;case"xla":break;default:throw new Error("unsupported BIFF version");}var i=ha(n);i._W(2,a);i._W(2,r);if(n>4)i._W(2,29282);if(n>6)i._W(2,1997);if(n>8){i._W(2,49161);i._W(2,1);i._W(2,1798);i._W(2,0)}return i}function Hs(e,r){if(r===0)return 1200;if(e._R(2)!==1200){}return 1200}function zs(e,r,t){if(t.enc){e.l+=r;return""}var a=e.l;var n=ls(e,0,t);e._R(r+a-e.l);return n}function Vs(e,r){var t=!r||r.biff==8;var a=ha(t?112:54);a._W(r.biff==8?2:1,7);if(t)a._W(1,0);a._W(4,859007059);a._W(4,5458548|(t?0:536870912));while(a.l<a.length)a._W(1,t?0:32);return a}function Gs(e,r,t){var a=t&&t.biff==8||r==2?e._R(2):(e.l+=r,0);return{fDialog:a&16,fBelow:a&64,fRight:a&128}}function js(e,r,t){var a=e._R(4);var n=e._R(1)&3;var i=e._R(1);switch(i){case 0:i="Worksheet";break;case 1:i="Macrosheet";break;case 2:i="Chartsheet";break;case 6:i="VBAModule";break;}var s=is(e,0,t);if(s.length===0)s="Sheet1";return{pos:a,hs:n,dt:i,name:s}}function Xs(e,r){var t=!r||r.biff>=8?2:1;var a=ha(8+t*e.name.length);a._W(4,e.pos);a._W(1,e.hs||0);a._W(1,e.dt);a._W(1,e.name.length);if(r.biff>=8)a._W(1,1);a._W(t*e.name.length,e.name,r.biff<8?"sbcs":"utf16le");var n=a.slice(0,a.l);n.l=a.l;return n}function $s(e,r){var t=e.l+r;var a=e._R(4);var n=e._R(4);var i=[];for(var s=0;s!=n&&e.l<t;++s){i.push(ss(e))}i.Count=a;i.Unique=n;return i}function Ys(e,r){var t=ha(8);t._W(4,e.Count);t._W(4,e.Unique);var a=[];for(var n=0;n<e.length;++n)a[n]=fs(e[n],r);var i=O([t].concat(a));i.parts=[t.length].concat(a.map(function(e){return e.length}));return i}function Ks(e,r){var t={};t.dsst=e._R(2);e.l+=r-2;return t}function Js(e){var r={};r.r=e._R(2);r.c=e._R(2);r.cnt=e._R(2)-r.c;var t=e._R(2);e.l+=4;var a=e._R(1);e.l+=3;if(a&7)r.level=a&7;if(a&32)r.hidden=true;if(a&64)r.hpt=t/20;return r}function qs(e){var r=Ss(e);if(r.type!=2211)throw new Error("Invalid Future Record "+r.type);var t=e._R(4);return t!==0}function Zs(e){e._R(2);return e._R(4)}function Qs(e,r,t){var a=0;if(!(t&&t.biff==2)){a=e._R(2)}var n=e._R(2);if(t&&t.biff==2){a=1-(n>>15);n&=32767}var i={Unsynced:a&1,DyZero:(a&2)>>1,ExAsc:(a&4)>>2,ExDsc:(a&8)>>3};return[i,n]}function ef(e){var r=e._R(2),t=e._R(2),a=e._R(2),n=e._R(2);var i=e._R(2),s=e._R(2),f=e._R(2);var o=e._R(2),c=e._R(2);return{Pos:[r,t],Dim:[a,n],Flags:i,CurTab:s,FirstTab:f,Selected:o,TabRatio:c}}function rf(){var e=ha(18);e._W(2,0);e._W(2,0);e._W(2,29280);e._W(2,17600);e._W(2,56);e._W(2,0);e._W(2,0);e._W(2,1);e._W(2,500);return e}function tf(e,r,t){if(t&&t.biff>=2&&t.biff<5)return{};var a=e._R(2);return{RTL:a&64}}function af(e){var r=ha(18),t=1718;if(e&&e.RTL)t|=64;r._W(2,t);r._W(4,0);r._W(4,64);r._W(4,0);r._W(4,0);return r}function nf(){}function sf(e,r,t){var a={dyHeight:e._R(2),fl:e._R(2)};switch(t&&t.biff||8){case 2:break;case 3:;case 4:e.l+=2;break;default:e.l+=10;break;}a.name=is(e,0,t);return a}function ff(e,r){var t=e.name||"Arial";var a=r&&r.biff==5,n=a?15+t.length:16+2*t.length;var i=ha(n);i._W(2,(e.sz||12)*20);i._W(4,0);i._W(2,400);i._W(4,0);i._W(2,0);i._W(1,t.length);if(!a)i._W(1,1);i._W((a?1:2)*t.length,t,a?"sbcs":"utf16le");return i}function of(e){var r=Es(e);r.isst=e._R(4);return r}function cf(e,r,t,a){var n=ha(10);ys(e,r,a,n);n._W(4,t);return n}function lf(e,r,t){if(t.biffguess&&t.biff==2)t.biff=5;var a=e.l+r;var n=Es(e,6);if(t.biff==2)e.l++;var i=cs(e,a-e.l,t);n.val=i;return n}function uf(e,r,t,a,n){var i=!n||n.biff==8;var s=ha(6+2+ +i+(1+i)*t.length);ys(e,r,a,s);s._W(2,t.length);if(i)s._W(1,1);s._W((1+i)*t.length,t,i?"utf16le":"sbcs");return s}function hf(e,r,t){var a=e._R(2);var n=ls(e,0,t);return[a,n]}function df(e,r,t,a){var n=t&&t.biff==5;if(!a)a=ha(n?3+r.length:5+2*r.length);a._W(2,e);a._W(n?1:2,r.length);if(!n)a._W(1,1);a._W((n?1:2)*r.length,r,n?"sbcs":"utf16le");var i=a.length>a.l?a.slice(0,a.l):a;if(i.l==null)i.l=i.length;return i}var vf=ls;function pf(e,r,t){var a=e.l+r;var n=t.biff==8||!t.biff?4:2;var i=e._R(n),s=e._R(n);var f=e._R(2),o=e._R(2);e.l=a;return{s:{r:i,c:f},e:{r:s,c:o}}}function mf(e,r){var t=r.biff==8||!r.biff?4:2;var a=ha(2*t+6);a._W(t,e.s.r);a._W(t,e.e.r+1);a._W(2,e.s.c);a._W(2,e.e.c+1);a._W(2,0);return a}function bf(e){var r=e._R(2),t=e._R(2);var a=xs(e);return{r:r,c:t,ixfe:a[0],rknum:a[1]}}function gf(e,r){var t=e.l+r-2;var a=e._R(2),n=e._R(2);var i=[];while(e.l<t)i.push(xs(e));if(e.l!==t)throw new Error("MulRK read error");var s=e._R(2);if(i.length!=s-n+1)throw new Error("MulRK length mismatch");return{r:a,c:n,C:s,rkrec:i}}function wf(e,r){var t=e.l+r-2;var a=e._R(2),n=e._R(2);var i=[];while(e.l<t)i.push(e._R(2));if(e.l!==t)throw new Error("MulBlank read error");var s=e._R(2);if(i.length!=s-n+1)throw new Error("MulBlank length mismatch");return{r:a,c:n,C:s,ixfe:i}}function kf(e,r,t,a){var n={};var i=e._R(4),s=e._R(4);var f=e._R(4),o=e._R(2);n.patternType=Wn[f>>26];if(!a.cellStyles)return n;n.alc=i&7;n.fWrap=i>>3&1;n.alcV=i>>4&7;n.fJustLast=i>>7&1;n.trot=i>>8&255;n.cIndent=i>>16&15;n.fShrinkToFit=i>>20&1;n.iReadOrder=i>>22&2;n.fAtrNum=i>>26&1;n.fAtrFnt=i>>27&1;n.fAtrAlc=i>>28&1;n.fAtrBdr=i>>29&1;n.fAtrPat=i>>30&1;n.fAtrProt=i>>31&1;n.dgLeft=s&15;n.dgRight=s>>4&15;n.dgTop=s>>8&15;n.dgBottom=s>>12&15;n.icvLeft=s>>16&127;n.icvRight=s>>23&127;n.grbitDiag=s>>30&3;n.icvTop=f&127;n.icvBottom=f>>7&127;n.icvDiag=f>>14&127;n.dgDiag=f>>21&15;n.icvFore=o&127;n.icvBack=o>>7&127;n.fsxButton=o>>14&1;return n}function Tf(e,r,t){var a={};a.ifnt=e._R(2);a.numFmtId=e._R(2);a.flags=e._R(2);a.fStyle=a.flags>>2&1;r-=6;a.data=kf(e,r,a.fStyle,t);return a}function Ef(e,r,t,a){var n=t&&t.biff==5;if(!a)a=ha(n?16:20);a._W(2,0);if(e.style){a._W(2,e.numFmtId||0);a._W(2,65524)}else{a._W(2,e.numFmtId||0);a._W(2,r<<4)}var i=0;if(e.numFmtId>0&&n)i|=1024;a._W(4,i);a._W(4,0);if(!n)a._W(4,0);a._W(2,0);return a}function yf(e){e.l+=4;var r=[e._R(2),e._R(2)];if(r[0]!==0)r[0]--;if(r[1]!==0)r[1]--;if(r[0]>7||r[1]>7)throw new Error("Bad Gutters: "+r.join("|"));return r}function Sf(e){var r=ha(8);r._W(4,0);r._W(2,e[0]?e[0]+1:0);r._W(2,e[1]?e[1]+1:0);return r}function _f(e,r,t){var a=Es(e,6);if(t.biff==2||r==9)++e.l;var n=as(e,2);a.val=n;a.t=n===true||n===false?"b":"e";return a}function Af(e,r,t,a,n,i){var s=ha(8);ys(e,r,a,s);ns(t,i,s);return s}function xf(e,r,t){if(t.biffguess&&t.biff==2)t.biff=5;var a=Es(e,6);var n=dn(e,8);a.val=n;return a}function Cf(e,r,t,a){var n=ha(14);ys(e,r,a,n);vn(t,n);return n}var Rf=_s;function Of(e,r,t){var a=e.l+r;var n=e._R(2);var i=e._R(2);t.sbcch=i;if(i==1025||i==14849)return[i,n];if(i<1||i>255)throw new Error("Unexpected SupBook type: "+i);var s=os(e,i);var f=[];while(a>e.l)f.push(cs(e));return[i,n,s,f]}function If(e,r,t){var a=e._R(2);var n;var i={fBuiltIn:a&1,fWantAdvise:a>>>1&1,fWantPict:a>>>2&1,fOle:a>>>3&1,fOleLink:a>>>4&1,cf:a>>>5&1023,fIcon:a>>>15&1};if(t.sbcch===14849)n=Cs(e,r-2,t);i.body=n||e._R(r-2);if(typeof n==="string")i.Name=n;return i}var Nf=["_xlnm.Consolidate_Area","_xlnm.Auto_Open","_xlnm.Auto_Close","_xlnm.Extract","_xlnm.Database","_xlnm.Criteria","_xlnm.Print_Area","_xlnm.Print_Titles","_xlnm.Recorder","_xlnm.Data_Form","_xlnm.Auto_Activate","_xlnm.Auto_Deactivate","_xlnm.Sheet_Title","_xlnm._FilterDatabase"];function Ff(e,r,t){var a=e.l+r;var n=e._R(2);var i=e._R(1);var s=e._R(1);var f=e._R(t&&t.biff==2?1:2);var o=0;if(!t||t.biff>=5){if(t.biff!=5)e.l+=2;o=e._R(2);if(t.biff==5)e.l+=2;e.l+=4}var c=os(e,s,t);if(n&32)c=Nf[c.charCodeAt(0)];var l=a-e.l;if(t&&t.biff==2)--l;var u=a==e.l||f===0||!(l>0)?[]:ld(e,l,t,f);return{chKey:i,Name:c,itab:o,rgce:u}}function Df(e,r,t){if(t.biff<8)return Pf(e,r,t);var a=[],n=e.l+r,i=e._R(t.biff>8?4:2);while(i--!==0)a.push(As(e,t.biff>8?12:6,t));if(e.l!=n)throw new Error("Bad ExternSheet: "+e.l+" != "+n);return a}function Pf(e,r,t){if(e[e.l+1]==3)e[e.l]++;var a=is(e,r,t);return a.charCodeAt(0)==3?a.slice(1):a}function Lf(e,r,t){if(t.biff<8){e.l+=r;return}var a=e._R(2);var n=e._R(2);var i=os(e,a,t);var s=os(e,n,t);return[i,s]}function Mf(e,r,t){var a=Is(e,6);e.l++;var n=e._R(1);r-=8;return[ud(e,r,t),n,a]}function Uf(e,r,t){var a=Ns(e,6);switch(t.biff){case 2:e.l++;r-=7;break;case 3:;case 4:e.l+=2;r-=8;break;default:e.l+=6;r-=12;}return[a,od(e,r,t,a)]}function Bf(e){var r=e._R(4)!==0;var t=e._R(4)!==0;var a=e._R(4);return[r,t,a]}function Wf(e,r,t){if(t.biff<8)return;var a=e._R(2),n=e._R(2);var i=e._R(2),s=e._R(2);var f=ls(e,0,t);if(t.biff<8)e._R(1);return[{r:a,c:n},f,s,i]}function Hf(e,r,t){return Wf(e,r,t)}function zf(e,r){var t=[];var a=e._R(2);while(a--)t.push(Rs(e,r));return t}function Vf(e){var r=ha(2+e.length*8);r._W(2,e.length);for(var t=0;t<e.length;++t)Os(e[t],r);return r}function Gf(e,r,t){if(t&&t.biff<8)return Xf(e,r,t);var a=Fs(e,22);var n=Us(e,r-22,a[1]);return{cmo:a,ft:n}}var jf={8:function(e,r){var t=e.l+r;e.l+=10;var a=e._R(2);e.l+=4;e.l+=2;e.l+=2;e.l+=2;e.l+=4;var n=e._R(1);e.l+=n;e.l=t;return{fmt:a}}};function Xf(e,r,t){e.l+=4;var a=e._R(2);var n=e._R(2);var i=e._R(2);e.l+=2;e.l+=2;e.l+=2;e.l+=2;e.l+=2;e.l+=2;e.l+=2;e.l+=2;e.l+=2;e.l+=6;r-=36;var s=[];s.push((jf[a]||ua)(e,r,t));return{cmo:[n,a,i],ft:s}}function $f(e,r,t){var a=e.l;var n="";try{e.l+=4;var i=(t.lastobj||{cmo:[0,0]}).cmo[1];var s;if([0,5,7,11,12,14].indexOf(i)==-1)e.l+=6;else s=hs(e,6,t);var f=e._R(2);e._R(2);es(e,2);var o=e._R(2);e.l+=o;for(var c=1;c<e.lens.length-1;++c){if(e.l-a!=e.lens[c])throw new Error("TxO: bad continue record");var l=e[e.l];var u=os(e,e.lens[c+1]-e.lens[c]-1);n+=u;if(n.length>=(l?f:2*f))break}if(n.length!==f&&n.length!==f*2){throw new Error("cchText: "+f+" != "+n.length)}e.l=a+r;return{t:n}}catch(h){e.l=a+r;return{t:n}}}function Yf(e,r){var t=Rs(e,8);e.l+=16;var a=gs(e,r-24);return[t,a]}function Kf(e){var r=ha(24);var t=Ra(e[0]);r._W(2,t.r);r._W(2,t.r);r._W(2,t.c);r._W(2,t.c);var a="d0 c9 ea 79 f9 ba ce 11 8c 82 00 aa 00 4b a9 0b".split(" ");for(var n=0;n<16;++n)r._W(1,parseInt(a[n],16));return O([r,ws(e[1])])}function Jf(e,r){e._R(2);var t=Rs(e,8);var a=e._R((r-10)/2,"dbcs-cont");a=a.replace(N,"");return[t,a]}function qf(e){var r=e[1].Tooltip;var t=ha(10+2*(r.length+1));t._W(2,2048);var a=Ra(e[0]);t._W(2,a.r);t._W(2,a.r);t._W(2,a.c);t._W(2,a.c);for(var n=0;n<r.length;++n)t._W(2,r.charCodeAt(n));t._W(2,0);return t}function Zf(e){var r=[0,0],t;t=e._R(2);r[0]=Bn[t]||t;t=e._R(2);r[1]=Bn[t]||t;return r}function Qf(e){if(!e)e=ha(4);e._W(2,1);e._W(2,1);return e}function eo(e){var r=e._R(2);var t=[];while(r-- >0)t.push(Ts(e,8));return t}function ro(e){var r=e._R(2);var t=[];while(r-- >0)t.push(Ts(e,8));return t}function to(e){e.l+=2;var r={cxfs:0,crc:0};r.cxfs=e._R(2);r.crc=e._R(4);return r}function ao(e,r,t){if(!t.cellStyles)return ua(e,r);var a=t&&t.biff>=12?4:2;var n=e._R(a);var i=e._R(a);var s=e._R(a);var f=e._R(a);var o=e._R(2);if(a==2)e.l+=2;var c={s:n,e:i,w:s,ixfe:f,flags:o};if(t.biff>=5||!t.biff)c.level=o>>8&7;return c}function no(e,r){var t=ha(12);t._W(2,r);t._W(2,r);t._W(2,e.width*256);t._W(2,0);var a=0;if(e.hidden)a|=1;t._W(1,a);a=e.level||0;t._W(1,a);t._W(2,0);return t}function io(e,r){var t={};if(r<32)return t;e.l+=16;t.header=dn(e,8);t.footer=dn(e,8);e.l+=2;return t}function so(e,r,t){var a={area:false};if(t.biff!=5){e.l+=r;return a}var n=e._R(1);e.l+=3;if(n&16)a.area=true;return a}function fo(e){var r=ha(2*e);for(var t=0;t<e;++t)r._W(2,t+1);return r}var oo=Es;var co=ts;var lo=cs;function uo(e){var r=e._R(2);var t=e._R(2);var a=e._R(4);var n={fmt:r,env:t,len:a,data:e.slice(e.l,e.l+a)};e.l+=a;return n}function ho(e,r,t){if(t.biffguess&&t.biff==5)t.biff=2;var a=Es(e,6);++e.l;var n=ls(e,r-7,t);a.t="str";a.val=n;return a}function vo(e){var r=Es(e,6);++e.l;var t=dn(e,8);r.t="n";r.val=t;return r}function po(e,r,t){var a=ha(15);kb(a,e,r);a._W(8,t,"f");return a}function mo(e){var r=Es(e,6);++e.l;var t=e._R(2);r.t="n";r.val=t;return r}function bo(e,r,t){var a=ha(9);kb(a,e,r);a._W(2,t);return a}function go(e){var r=e._R(1);if(r===0){e.l++;return""}return e._R(r,"sbcs-cont")}function wo(e,r){e.l+=6;e.l+=2;e.l+=1;e.l+=3;e.l+=1;e.l+=r-13}function ko(e,r,t){var a=e.l+r;var n=Es(e,6);var i=e._R(2);var s=os(e,i,t);e.l=a;n.t="str";n.val=s;return n}var To=[2,3,48,49,131,139,140,245];var Eo=function(){var e={1:437,2:850,3:1252,4:1e4,100:852,101:866,102:865,103:861,104:895,105:620,106:737,107:857,120:950,121:949,122:936,123:932,124:874,125:1255,126:1256,150:10007,151:10029,152:10006,200:1250,201:1251,202:1254,203:1253,0:20127,8:865,9:437,10:850,11:437,13:437,14:850,15:437,16:850,17:437,18:850,19:932,20:850,21:437,22:850,23:865,24:437,25:437,26:850,27:437,28:863,29:850,31:852,34:852,35:852,36:860,37:850,38:866,55:850,64:852,77:936,78:949,79:950,80:874,87:1252,88:1252,89:1252,108:863,134:737,135:852,136:857,204:1257,255:16969};var r=ar({1:437,2:850,3:1252,4:1e4,100:852,101:866,102:865,103:861,104:895,105:620,106:737,107:857,120:950,121:949,122:936,123:932,124:874,125:1255,126:1256,150:10007,151:10029,152:10006,200:1250,201:1251,202:1254,203:1253,0:20127});function n(r,t){var n=[];var i=y(1);switch(t.type){case"base64":i=_(k(r));break;case"binary":i=_(r);break;case"buffer":;case"array":i=r;break;}la(i,0);var s=i._R(1);var f=!!(s&136);var o=false,c=false;switch(s){case 2:break;case 3:break;case 48:o=true;f=true;break;case 49:o=true;f=true;break;case 131:break;case 139:break;case 140:c=true;break;case 245:break;default:throw new Error("DBF Unsupported Version: "+s.toString(16));}var l=0,u=521;if(s==2)l=i._R(2);i.l+=3;if(s!=2)l=i._R(4);if(l>1048576)l=1e6;if(s!=2)u=i._R(2);var h=i._R(2);var d=t.codepage||1252;if(s!=2){i.l+=16;i._R(1);if(i[i.l]!==0)d=e[i[i.l]];i.l+=1;i.l+=2}if(c)i.l+=36;var v=[],p={};var m=Math.min(i.length,s==2?521:u-10-(o?264:0));var b=c?32:11;while(i.l<m&&i[i.l]!=13){p={};p.name=a.utils.decode(d,i.slice(i.l,i.l+b)).replace(/[\u0000\r\n].*$/g,"");i.l+=b;p.type=String.fromCharCode(i._R(1));if(s!=2&&!c)p.offset=i._R(4);p.len=i._R(1);if(s==2)p.offset=i._R(2);p.dec=i._R(1);if(p.name.length)v.push(p);if(s!=2)i.l+=c?13:14;switch(p.type){case"B":if((!o||p.len!=8)&&t.WTF)console.log("Skipping "+p.name+":"+p.type);break;case"G":;case"P":if(t.WTF)console.log("Skipping "+p.name+":"+p.type);break;case"+":;case"0":;case"@":;case"C":;case"D":;case"F":;case"I":;case"L":;case"M":;case"N":;case"O":;case"T":;case"Y":break;default:throw new Error("Unknown Field Type: "+p.type);}}if(i[i.l]!==13)i.l=u-1;if(i._R(1)!==13)throw new Error("DBF Terminator not found "+i.l+" "+i[i.l]);i.l=u;var g=0,w=0;n[0]=[];for(w=0;w!=v.length;++w)n[0][w]=v[w].name;while(l-- >0){if(i[i.l]===42){i.l+=h;continue}++i.l;n[++g]=[];w=0;for(w=0;w!=v.length;++w){var T=i.slice(i.l,i.l+v[w].len);i.l+=v[w].len;la(T,0);var E=a.utils.decode(d,T);switch(v[w].type){case"C":if(E.trim().length)n[g][w]=E.replace(/\s+$/,"");break;case"D":if(E.length===8)n[g][w]=new Date(+E.slice(0,4),+E.slice(4,6)-1,+E.slice(6,8));else n[g][w]=E;break;case"F":n[g][w]=parseFloat(E.trim());break;case"+":;case"I":n[g][w]=c?T._R(-4,"i")^2147483648:T._R(4,"i");break;case"L":switch(E.trim().toUpperCase()){case"Y":;case"T":n[g][w]=true;break;case"N":;case"F":n[g][w]=false;break;case"":;case"?":break;default:throw new Error("DBF Unrecognized L:|"+E+"|");}break;case"M":if(!f)throw new Error("DBF Unexpected MEMO for type "+s.toString(16));n[g][w]="##MEMO##"+(c?parseInt(E.trim(),10):T._R(4));break;case"N":E=E.replace(/\u0000/g,"").trim();if(E&&E!=".")n[g][w]=+E||0;break;case"@":n[g][w]=new Date(T._R(-8,"f")-621356832e5);break;case"T":n[g][w]=new Date((T._R(4)-2440588)*864e5+T._R(4));break;case"Y":n[g][w]=T._R(4,"i")/1e4+T._R(4,"i")/1e4*Math.pow(2,32);break;case"O":n[g][w]=-T._R(-8,"f");break;case"B":if(o&&v[w].len==8){n[g][w]=T._R(8,"f");break};case"G":;case"P":T.l+=v[w].len;break;case"0":if(v[w].name==="_NullFlags")break;default:throw new Error("DBF Unsupported data type "+v[w].type);}}}if(s!=2)if(i.l<i.length&&i[i.l++]!=26)throw new Error("DBF EOF Marker missing "+(i.l-1)+" of "+i.length+" "+i[i.l-1].toString(16));if(t&&t.sheetRows)n=n.slice(0,t.sheetRows);t.DBF=v;return n}function i(e,r){var t=r||{};if(!t.dateNF)t.dateNF="yyyymmdd";var a=Ua(n(e,t),t);a["!cols"]=t.DBF.map(function(e){return{wch:e.len,DBF:e}});delete t.DBF;return a}function s(e,r){try{return La(i(e,r),r)}catch(t){if(r&&r.WTF)throw t}return{SheetNames:[],Sheets:{}}}var f={B:8,C:250,L:1,D:8,"?":0,"":0};function c(e,a){var n=a||{};if(+n.codepage>=0)o(+n.codepage);if(n.type=="string")throw new Error("Cannot write DBF to JS string");var i=va();var s=Ew(e,{header:1,raw:true,cellDates:true});var c=s[0],l=s.slice(1),u=e["!cols"]||[];var h=0,d=0,v=0,p=1;for(h=0;h<c.length;++h){if(((u[h]||{}).DBF||{}).name){c[h]=u[h].DBF.name;++v;continue}if(c[h]==null)continue;++v;if(typeof c[h]==="number")c[h]=c[h].toString(10);if(typeof c[h]!=="string")throw new Error("DBF Invalid column name "+c[h]+" |"+typeof c[h]+"|");if(c.indexOf(c[h])!==h)for(d=0;d<1024;++d)if(c.indexOf(c[h]+"_"+d)==-1){c[h]+="_"+d;break}}var m=Fa(e["!ref"]);var b=[];var g=[];var w=[];for(h=0;h<=m.e.c-m.s.c;++h){var k="",T="",E=0;var y=[];for(d=0;d<l.length;++d){if(l[d][h]!=null)y.push(l[d][h])}if(y.length==0||c[h]==null){b[h]="?";continue}for(d=0;d<y.length;++d){switch(typeof y[d]){case"number":T="B";break;case"string":T="C";break;case"boolean":T="L";break;case"object":T=y[d]instanceof Date?"D":"C";break;default:T="C";}E=Math.max(E,String(y[d]).length);k=k&&k!=T?"C":T}if(E>250)E=250;T=((u[h]||{}).DBF||{}).type;if(T=="C"){if(u[h].DBF.len>E)E=u[h].DBF.len}if(k=="B"&&T=="N"){k="N";w[h]=u[h].DBF.dec;E=u[h].DBF.len}g[h]=k=="C"||T=="N"?E:f[k]||0;p+=g[h];b[h]=k}var S=i.next(32);S._W(4,318902576);S._W(4,l.length);S._W(2,296+32*v);S._W(2,p);for(h=0;h<4;++h)S._W(4,0);S._W(4,0|(+r[t]||3)<<8);for(h=0,d=0;h<c.length;++h){if(c[h]==null)continue;var _=i.next(32);var A=(c[h].slice(-10)+"\0\0\0\0\0\0\0\0\0\0\0").slice(0,11);_._W(1,A,"sbcs");_._W(1,b[h]=="?"?"C":b[h],"sbcs");_._W(4,d);_._W(1,g[h]||f[b[h]]||0);_._W(1,w[h]||0);_._W(1,2);_._W(4,0);_._W(1,0);_._W(4,0);_._W(4,0);d+=g[h]||f[b[h]]||0}var x=i.next(264);x._W(4,13);for(h=0;h<65;++h)x._W(4,0);for(h=0;h<l.length;++h){var C=i.next(p);C._W(1,0);for(d=0;d<c.length;++d){if(c[d]==null)continue;switch(b[d]){case"L":C._W(1,l[h][d]==null?63:l[h][d]?84:70);break;case"B":C._W(8,l[h][d]||0,"f");break;case"N":var R="0";if(typeof l[h][d]=="number")R=l[h][d].toFixed(w[d]||0);for(v=0;v<g[d]-R.length;++v)C._W(1,32);C._W(1,R,"sbcs");break;case"D":if(!l[h][d])C._W(8,"00000000","sbcs");else{C._W(4,("0000"+l[h][d].getFullYear()).slice(-4),"sbcs");C._W(2,("00"+(l[h][d].getMonth()+1)).slice(-2),"sbcs");C._W(2,("00"+l[h][d].getDate()).slice(-2),"sbcs")}break;case"C":var O=String(l[h][d]!=null?l[h][d]:"").slice(0,g[d]);C._W(1,O,"sbcs");for(v=0;v<g[d]-O.length;++v)C._W(1,32);break;}}}i.next(1)._W(1,26);return i.end()}return{to_workbook:s,to_sheet:i,from_sheet:c}}();var yo=function(){var e={AA:"À",BA:"Á",CA:"Â",DA:195,HA:"Ä",JA:197,AE:"È",BE:"É",CE:"Ê",HE:"Ë",AI:"Ì",BI:"Í",CI:"Î",HI:"Ï",AO:"Ò",BO:"Ó",CO:"Ô",DO:213,HO:"Ö",AU:"Ù",BU:"Ú",CU:"Û",HU:"Ü",Aa:"à",Ba:"á",Ca:"â",Da:227,Ha:"ä",Ja:229,Ae:"è",Be:"é",Ce:"ê",He:"ë",Ai:"ì",Bi:"í",Ci:"î",Hi:"ï",Ao:"ò",Bo:"ó",Co:"ô",Do:245,Ho:"ö",Au:"ù",Bu:"ú",Cu:"û",Hu:"ü",KC:"Ç",Kc:"ç",q:"æ",z:"œ",a:"Æ",j:"Œ",DN:209,Dn:241,Hy:255,S:169,c:170,R:174,"B ":180,0:176,1:177,2:178,3:179,5:181,6:182,7:183,Q:185,k:186,b:208,i:216,l:222,s:240,y:248,"!":161,'"':162,"#":163,"(":164,"%":165,"'":167,"H ":168,"+":171,";":187,"<":188,"=":189,">":190,"?":191,"{":223};var r=new RegExp("N("+rr(e).join("|").replace(/\|\|\|/,"|\\||").replace(/([?()+])/g,"\\$1")+"|\\|)","gm");var t=function(r,t){var a=e[t];return typeof a=="number"?p(a):a};var n=function(e,r,t){var a=r.charCodeAt(0)-32<<4|t.charCodeAt(0)-48;return a==59?e:p(a)};e["|"]=254;function i(e,r){switch(r.type){case"base64":return s(k(e),r);case"binary":return s(e,r);case"buffer":return s(T&&Buffer.isBuffer(e)?e.toString("binary"):x(e),r);case"array":return s(br(e),r);}throw new Error("Unrecognized type "+r.type)}function s(e,i){var s=e.split(/[\n\r]+/),f=-1,c=-1,l=0,u=0,h=[];var d=[];var v=null;var p={},m=[],b=[],g=[];var w=0,k;if(+i.codepage>=0)o(+i.codepage);for(;l!==s.length;++l){w=0;var T=s[l].trim().replace(/\x1B([\x20-\x2F])([\x30-\x3F])/g,n).replace(r,t);var E=T.replace(/;;/g,"\0").split(";").map(function(e){return e.replace(/\u0000/g,";")});var y=E[0],S;if(T.length>0)switch(y){case"ID":break;case"E":break;case"B":break;case"O":break;case"W":break;case"P":if(E[1].charAt(0)=="P")d.push(T.slice(3).replace(/;;/g,";"));break;case"C":var _=false,A=false,x=false,C=false,R=-1,O=-1;for(u=1;u<E.length;++u)switch(E[u].charAt(0)){case"A":break;case"X":c=parseInt(E[u].slice(1))-1;A=true;break;case"Y":f=parseInt(E[u].slice(1))-1;if(!A)c=0;for(k=h.length;k<=f;++k)h[k]=[];break;case"K":S=E[u].slice(1);if(S.charAt(0)==='"')S=S.slice(1,S.length-1);else if(S==="TRUE")S=true;else if(S==="FALSE")S=false;else if(!isNaN(kr(S))){S=kr(S);if(v!==null&&De(v))S=ur(S)}else if(!isNaN(Er(S).getDate())){S=mr(S)}if(typeof a!=="undefined"&&typeof S=="string"&&(i||{}).type!="string"&&(i||{}).codepage)S=a.utils.decode(i.codepage,S);_=true;break;case"E":C=true;var I=Au(E[u].slice(1),{r:f,c:c});h[f][c]=[h[f][c],I];break;case"S":x=true;h[f][c]=[h[f][c],"S5S"];break;case"G":break;case"R":R=parseInt(E[u].slice(1))-1;break;case"C":O=parseInt(E[u].slice(1))-1;break;default:if(i&&i.WTF)throw new Error("SYLK bad record "+T);}if(_){if(h[f][c]&&h[f][c].length==2)h[f][c][0]=S;else h[f][c]=S;v=null}if(x){if(C)throw new Error("SYLK shared formula cannot have own formula");var N=R>-1&&h[R][O];if(!N||!N[1])throw new Error("SYLK shared formula cannot find base");h[f][c][1]=Ru(N[1],{r:f-R,c:c-O})}break;case"F":var F=0;for(u=1;u<E.length;++u)switch(E[u].charAt(0)){case"X":c=parseInt(E[u].slice(1))-1;++F;break;case"Y":f=parseInt(E[u].slice(1))-1;for(k=h.length;k<=f;++k)h[k]=[];break;case"M":w=parseInt(E[u].slice(1))/20;break;case"F":break;case"G":break;case"P":v=d[parseInt(E[u].slice(1))];break;case"S":break;case"D":break;case"N":break;case"W":g=E[u].slice(1).split(" ");for(k=parseInt(g[0],10);k<=parseInt(g[1],10);++k){w=parseInt(g[2],10);b[k-1]=w===0?{hidden:true}:{wch:w};Ic(b[k-1])}break;case"C":c=parseInt(E[u].slice(1))-1;if(!b[c])b[c]={};break;case"R":f=parseInt(E[u].slice(1))-1;if(!m[f])m[f]={};if(w>0){m[f].hpt=w;m[f].hpx=Pc(w)}else if(w===0)m[f].hidden=true;break;default:if(i&&i.WTF)throw new Error("SYLK bad record "+T);}if(F<1)v=null;break;default:if(i&&i.WTF)throw new Error("SYLK bad record "+T);}}if(m.length>0)p["!rows"]=m;if(b.length>0)p["!cols"]=b;if(i&&i.sheetRows)h=h.slice(0,i.sheetRows);return[h,p]}function f(e,r){var t=i(e,r);var a=t[0],n=t[1];var s=Ua(a,r);rr(n).forEach(function(e){s[e]=n[e]});return s}function c(e,r){return La(f(e,r),r)}function l(e,r,t,a){var n="C;Y"+(t+1)+";X"+(a+1)+";K";switch(e.t){case"n":n+=e.v||0;if(e.f&&!e.F)n+=";E"+Cu(e.f,{r:t,c:a});break;case"b":n+=e.v?"TRUE":"FALSE";break;case"e":n+=e.w||e.v;break;case"d":n+='"'+(e.w||e.v)+'"';break;case"s":n+='"'+e.v.replace(/"/g,"").replace(/;/g,";;")+'"';break;}return n}function u(e,r){r.forEach(function(r,t){var a="F;W"+(t+1)+" "+(t+1)+" ";if(r.hidden)a+="0";else{if(typeof r.width=="number"&&!r.wpx)r.wpx=Ac(r.width);if(typeof r.wpx=="number"&&!r.wch)r.wch=xc(r.wpx);if(typeof r.wch=="number")a+=Math.round(r.wch)}if(a.charAt(a.length-1)!=" ")e.push(a)})}function h(e,r){r.forEach(function(r,t){var a="F;";if(r.hidden)a+="M0;";else if(r.hpt)a+="M"+20*r.hpt+";";else if(r.hpx)a+="M"+20*Dc(r.hpx)+";";if(a.length>2)e.push(a+"R"+(t+1))})}function d(e,r){var t=["ID;PWXL;N;E"],a=[];var n=Fa(e["!ref"]),i;var s=Array.isArray(e);var f="\r\n";t.push("P;PGeneral");t.push("F;P0;DG0G8;M255");if(e["!cols"])u(t,e["!cols"]);if(e["!rows"])h(t,e["!rows"]);t.push("B;Y"+(n.e.r-n.s.r+1)+";X"+(n.e.c-n.s.c+1)+";D"+[n.s.c,n.s.r,n.e.c,n.e.r].join(" "));for(var o=n.s.r;o<=n.e.r;++o){for(var c=n.s.c;c<=n.e.c;++c){var d=Oa({r:o,c:c});i=s?(e[o]||[])[c]:e[d];if(!i||i.v==null&&(!i.f||i.F))continue;a.push(l(i,e,o,c,r))}}return t.join(f)+f+a.join(f)+f+"E"+f}return{to_workbook:c,to_sheet:f,from_sheet:d}}();var So=function(){function e(e,t){switch(t.type){case"base64":return r(k(e),t);case"binary":return r(e,t);case"buffer":return r(T&&Buffer.isBuffer(e)?e.toString("binary"):x(e),t);case"array":return r(br(e),t);}throw new Error("Unrecognized type "+t.type)}function r(e,r){var t=e.split("\n"),a=-1,n=-1,i=0,s=[];for(;i!==t.length;++i){if(t[i].trim()==="BOT"){s[++a]=[];n=0;continue}if(a<0)continue;var f=t[i].trim().split(",");var o=f[0],c=f[1];++i;var l=t[i]||"";while((l.match(/["]/g)||[]).length&1&&i<t.length-1)l+="\n"+t[++i];-l=l.trim();switch(+o){case-1:if(l==="BOT"){s[++a]=[];n=0;continue}else if(l!=="EOD")throw new Error("Unrecognized DIF special command "+l);break;case 0:if(l==="TRUE")s[a][n]=true;else if(l==="FALSE")s[a][n]=false;else if(!isNaN(kr(c)))s[a][n]=kr(c);else if(!isNaN(Er(c).getDate()))s[a][n]=mr(c);else s[a][n]=c;++n;break;case 1:l=l.slice(1,l.length-1);l=l.replace(/""/g,'"');if(b&&l&&l.match(/^=".*"$/))l=l.slice(2,-1);s[a][n++]=l!==""?l:null;break;}if(l==="EOD")break}if(r&&r.sheetRows)s=s.slice(0,r.sheetRows);return s}function t(r,t){return Ua(e(r,t),t)}function a(e,r){return La(t(e,r),r)}var n=function(){var e=function t(e,r,a,n,i){e.push(r);e.push(a+","+n);e.push('"'+i.replace(/"/g,'""')+'"')};var r=function a(e,r,t,n){e.push(r+","+t);e.push(r==1?'"'+n.replace(/"/g,'""')+'"':n)};return function n(t){var a=[];var n=Fa(t["!ref"]),i;var s=Array.isArray(t);e(a,"TABLE",0,1,"sheetjs");e(a,"VECTORS",0,n.e.r-n.s.r+1,"");e(a,"TUPLES",0,n.e.c-n.s.c+1,"");e(a,"DATA",0,0,"");for(var f=n.s.r;f<=n.e.r;++f){r(a,-1,0,"BOT");for(var o=n.s.c;o<=n.e.c;++o){var c=Oa({r:f,c:o});i=s?(t[f]||[])[o]:t[c];if(!i){r(a,1,0,"");continue}switch(i.t){case"n":var l=b?i.w:i.v;if(!l&&i.v!=null)l=i.v;if(l==null){if(b&&i.f&&!i.F)r(a,1,0,"="+i.f);else r(a,1,0,"")}else r(a,0,l,"V");break;case"b":r(a,0,i.v?1:0,i.v?"TRUE":"FALSE");break;case"s":r(a,1,0,!b||isNaN(i.v)?i.v:'="'+i.v+'"');break;case"d":if(!i.w)i.w=Be(i.z||X[14],fr(mr(i.v)));if(b)r(a,0,i.w,"V");else r(a,1,0,i.w);break;default:r(a,1,0,"");}}}r(a,-1,0,"EOD");var u="\r\n";var h=a.join(u);return h}}();return{to_workbook:a,to_sheet:t,from_sheet:n}}();var _o=function(){function e(e){return e.replace(/\\b/g,"\\").replace(/\\c/g,":").replace(/\\n/g,"\n")}function r(e){return e.replace(/\\/g,"\\b").replace(/:/g,"\\c").replace(/\n/g,"\\n")}function t(r,t){var a=r.split("\n"),n=-1,i=-1,s=0,f=[];for(;s!==a.length;++s){var o=a[s].trim().split(":");if(o[0]!=="cell")continue;var c=Ra(o[1]);if(f.length<=c.r)for(n=f.length;n<=c.r;++n)if(!f[n])f[n]=[];n=c.r;i=c.c;switch(o[2]){case"t":f[n][i]=e(o[3]);break;case"v":f[n][i]=+o[3];break;case"vtf":var l=o[o.length-1];case"vtc":switch(o[3]){case"nl":f[n][i]=+o[4]?true:false;break;default:f[n][i]=+o[4];break;}if(o[2]=="vtf")f[n][i]=[f[n][i],l];}}if(t&&t.sheetRows)f=f.slice(0,t.sheetRows);return f}function a(e,r){return Ua(t(e,r),r)}function n(e,r){return La(a(e,r),r)}var i=["socialcalc:version:1.5","MIME-Version: 1.0","Content-Type: multipart/mixed; boundary=SocialCalcSpreadsheetControlSave"].join("\n");var s=["--SocialCalcSpreadsheetControlSave","Content-type: text/plain; charset=UTF-8"].join("\n")+"\n";var f=["# SocialCalc Spreadsheet Control Save","part:sheet"].join("\n");var o="--SocialCalcSpreadsheetControlSave--";function c(e){if(!e||!e["!ref"])return"";var t=[],a=[],n,i="";var s=Ia(e["!ref"]);var f=Array.isArray(e);for(var o=s.s.r;o<=s.e.r;++o){for(var c=s.s.c;c<=s.e.c;++c){i=Oa({r:o,c:c});n=f?(e[o]||[])[c]:e[i];if(!n||n.v==null||n.t==="z")continue;a=["cell",i,"t"];switch(n.t){case"s":;case"str":a.push(r(n.v));break;case"n":if(!n.f){a[2]="v";a[3]=n.v}else{a[2]="vtf";a[3]="n";a[4]=n.v;a[5]=r(n.f)}break;case"b":a[2]="vt"+(n.f?"f":"c");a[3]="nl";a[4]=n.v?"1":"0";a[5]=r(n.f||(n.v?"TRUE":"FALSE"));break;case"d":var l=fr(mr(n.v));a[2]="vtc";a[3]="nd";a[4]=""+l;a[5]=n.w||Be(n.z||X[14],l);break;case"e":continue;}t.push(a.join(":"))}}t.push("sheet:c:"+(s.e.c-s.s.c+1)+":r:"+(s.e.r-s.s.r+1)+":tvf:1");t.push("valueformat:1:text-wiki");return t.join("\n")}function l(e){return[i,s,f,s,c(e),o].join("\n")}return{to_workbook:n,to_sheet:a,from_sheet:l}}();var Ao=function(){function e(e,r,t,a,n){if(n.raw)r[t][a]=e;else if(e===""){}else if(e==="TRUE")r[t][a]=true;else if(e==="FALSE")r[t][a]=false;else if(!isNaN(kr(e)))r[t][a]=kr(e);else if(!isNaN(Er(e).getDate()))r[t][a]=mr(e);else r[t][a]=e}function r(r,t){var a=t||{};var n=[];if(!r||r.length===0)return n;var i=r.split(/[\r\n]/);var s=i.length-1;while(s>=0&&i[s].length===0)--s;var f=10,o=0;var c=0;for(;c<=s;++c){o=i[c].indexOf(" ");if(o==-1)o=i[c].length;else o++;f=Math.max(f,o)}for(c=0;c<=s;++c){n[c]=[];var l=0;e(i[c].slice(0,f).trim(),n,c,l,a);for(l=1;l<=(i[c].length-f)/10+1;++l)e(i[c].slice(f+(l-1)*10,f+l*10).trim(),n,c,l,a)}if(a.sheetRows)n=n.slice(0,a.sheetRows);return n}var t={44:",",9:"\t",59:";",124:"|"};var n={44:3,9:2,59:1,124:0};function i(e){var r={},a=false,i=0,s=0;for(;i<e.length;++i){if((s=e.charCodeAt(i))==34)a=!a;else if(!a&&s in t)r[s]=(r[s]||0)+1}s=[];for(i in r)if(Object.prototype.hasOwnProperty.call(r,i)){s.push([r[i],i])}if(!s.length){r=n;for(i in r)if(Object.prototype.hasOwnProperty.call(r,i)){s.push([r[i],i])}}s.sort(function(e,r){return e[0]-r[0]||n[e[1]]-n[r[1]]});return t[s.pop()[1]]||44}function s(e,r){var t=r||{};var a="";if(m!=null&&t.dense==null)t.dense=m;var n=t.dense?[]:{};var s={s:{c:0,r:0},e:{c:0,r:0}};if(e.slice(0,4)=="sep="){if(e.charCodeAt(5)==13&&e.charCodeAt(6)==10){a=e.charAt(4);e=e.slice(7)}else if(e.charCodeAt(5)==13||e.charCodeAt(5)==10){a=e.charAt(4);e=e.slice(6)}else a=i(e.slice(0,1024))}else if(t&&t.FS)a=t.FS;else a=i(e.slice(0,1024));var f=0,o=0,c=0;var l=0,u=0,h=a.charCodeAt(0),d=false,v=0,p=e.charCodeAt(0);e=e.replace(/\r\n/gm,"\n");var b=t.dateNF!=null?Xe(t.dateNF):null;function g(){var r=e.slice(l,u);var a={};if(r.charAt(0)=='"'&&r.charAt(r.length-1)=='"')r=r.slice(1,-1).replace(/""/g,'"');if(r.length===0)a.t="z";else if(t.raw){a.t="s";a.v=r}else if(r.trim().length===0){a.t="s";a.v=r}else if(r.charCodeAt(0)==61){if(r.charCodeAt(1)==34&&r.charCodeAt(r.length-1)==34){a.t="s";a.v=r.slice(2,-1).replace(/""/g,'"')}else if(Iu(r)){a.t="n";a.f=r.slice(1)}else{a.t="s";a.v=r}}else if(r=="TRUE"){a.t="b";a.v=true}else if(r=="FALSE"){a.t="b";a.v=false}else if(!isNaN(c=kr(r))){a.t="n";if(t.cellText!==false)a.w=r;a.v=c}else if(!isNaN(Er(r).getDate())||b&&r.match(b)){a.z=t.dateNF||X[14];var i=0;if(b&&r.match(b)){r=$e(r,t.dateNF,r.match(b)||[]);i=1}if(t.cellDates){a.t="d";a.v=mr(r,i)}else{a.t="n";a.v=fr(mr(r,i))}if(t.cellText!==false)a.w=Be(a.z,a.v instanceof Date?fr(a.v):a.v);if(!t.cellNF)delete a.z}else{a.t="s";a.v=r}if(a.t=="z"){}else if(t.dense){if(!n[f])n[f]=[];n[f][o]=a}else n[Oa({c:o,r:f})]=a;l=u+1;p=e.charCodeAt(l);if(s.e.c<o)s.e.c=o;if(s.e.r<f)s.e.r=f;if(v==h)++o;else{o=0;++f;if(t.sheetRows&&t.sheetRows<=f)return true}}e:for(;u<e.length;++u)switch(v=e.charCodeAt(u)){case 34:if(p===34)d=!d;break;case h:;case 10:;case 13:if(!d&&g())break e;break;default:break;}if(u-l>0)g();n["!ref"]=Na(s);return n}function f(e,t){if(!(t&&t.PRN))return s(e,t);if(t.FS)return s(e,t);if(e.slice(0,4)=="sep=")return s(e,t);if(e.indexOf("\t")>=0||e.indexOf(",")>=0||e.indexOf(";")>=0)return s(e,t);return Ua(r(e,t),t)}function o(e,r){var t="",n=r.type=="string"?[0,0,0,0]:qg(e,r);switch(r.type){case"base64":t=k(e);break;case"binary":t=e;break;case"buffer":if(r.codepage==65001)t=e.toString("utf8");else if(r.codepage&&typeof a!=="undefined")t=a.utils.decode(r.codepage,e);else t=T&&Buffer.isBuffer(e)?e.toString("binary"):x(e);break;case"array":t=br(e);break;case"string":t=e;break;default:throw new Error("Unrecognized type "+r.type);}if(n[0]==239&&n[1]==187&&n[2]==191)t=ct(t.slice(3));else if(r.type!="string"&&r.type!="buffer"&&r.codepage==65001)t=ct(t);else if(r.type=="binary"&&typeof a!=="undefined"&&r.codepage)t=a.utils.decode(r.codepage,a.utils.encode(28591,t));if(t.slice(0,19)=="socialcalc:version:")return _o.to_sheet(r.type=="string"?t:ct(t),r);return f(t,r)}function c(e,r){return La(o(e,r),r)}function l(e){var r=[];var t=Fa(e["!ref"]),a;var n=Array.isArray(e);for(var i=t.s.r;i<=t.e.r;++i){var s=[];for(var f=t.s.c;f<=t.e.c;++f){var o=Oa({r:i,c:f});a=n?(e[i]||[])[f]:e[o];if(!a||a.v==null){s.push(" ");continue}var c=(a.w||(Pa(a),a.w)||"").slice(0,10);while(c.length<10)c+=" ";s.push(c+(f===0?" ":""))}r.push(s.join(""))}return r.join("\n")}return{to_workbook:c,to_sheet:o,from_sheet:l}}();function xo(e,r){var t=r||{},a=!!t.WTF;t.WTF=true;try{var n=yo.to_workbook(e,t);t.WTF=a;return n}catch(i){t.WTF=a;if(!i.message.match(/SYLK bad record ID/)&&a)throw i;return Ao.to_workbook(e,r)}}var Co=function(){function e(e,r,t){if(!e)return;la(e,e.l||0);var a=t.Enum||W;while(e.l<e.length){var n=e._R(2);var i=a[n]||a[65535];var s=e._R(2);var f=e.l+s;var o=i.f&&i.f(e,s,t);e.l=f;if(r(o,i,n))return}}function r(e,r){switch(r.type){case"base64":return t(_(k(e)),r);case"binary":return t(_(e),r);case"buffer":;case"array":return t(e,r);}throw"Unsupported type "+r.type}function t(r,t){if(!r)return r;var a=t||{};if(m!=null&&a.dense==null)a.dense=m;var n=a.dense?[]:{},i="Sheet1",s="",f=0;var o={},c=[],l=[];var u={s:{r:0,c:0},e:{r:0,c:0}};var h=a.sheetRows||0;if(r[2]==0){if(r[3]==8||r[3]==9){if(r.length>=16&&r[14]==5&&r[15]===108)throw new Error("Unsupported Works 3 for Mac file")}}if(r[2]==2){a.Enum=W;e(r,function(e,r,t){switch(t){case 0:a.vers=e;if(e>=4096)a.qpro=true;break;case 6:u=e;break;case 204:if(e)s=e;break;case 222:s=e;break;case 15:;case 51:if(!a.qpro)e[1].v=e[1].v.slice(1);case 13:;case 14:;case 16:if(t==14&&(e[2]&112)==112&&(e[2]&15)>1&&(e[2]&15)<15){e[1].z=a.dateNF||X[14];if(a.cellDates){e[1].t="d";e[1].v=ur(e[1].v)}}if(a.qpro){if(e[3]>f){n["!ref"]=Na(u);o[i]=n;c.push(i);n=a.dense?[]:{};u={s:{r:0,c:0},e:{r:0,c:0}};f=e[3];i=s||"Sheet"+(f+1);s=""}}var l=a.dense?(n[e[0].r]||[])[e[0].c]:n[Oa(e[0])];if(l){l.t=e[1].t;l.v=e[1].v;if(e[1].z!=null)l.z=e[1].z;if(e[1].f!=null)l.f=e[1].f;break}if(a.dense){if(!n[e[0].r])n[e[0].r]=[];n[e[0].r][e[0].c]=e[1]}else n[Oa(e[0])]=e[1];break;default:;}},a)}else if(r[2]==26||r[2]==14){a.Enum=H;if(r[2]==14){a.qpro=true;r.l=0}e(r,function(e,r,t){switch(t){case 204:i=e;break;case 22:e[1].v=e[1].v.slice(1);case 23:;case 24:;case 25:;case 37:;case 39:;case 40:if(e[3]>f){n["!ref"]=Na(u);o[i]=n;c.push(i);n=a.dense?[]:{};u={s:{r:0,c:0},e:{r:0,c:0}};f=e[3];i="Sheet"+(f+1)}if(h>0&&e[0].r>=h)break;if(a.dense){if(!n[e[0].r])n[e[0].r]=[];n[e[0].r][e[0].c]=e[1]}else n[Oa(e[0])]=e[1];if(u.e.c<e[0].c)u.e.c=e[0].c;if(u.e.r<e[0].r)u.e.r=e[0].r;break;case 27:if(e[14e3])l[e[14e3][0]]=e[14e3][1];break;case 1537:l[e[0]]=e[1];if(e[0]==f)i=e[1];break;default:break;}},a)}else throw new Error("Unrecognized LOTUS BOF "+r[2]);n["!ref"]=Na(u);o[s||i]=n;c.push(s||i);if(!l.length)return{SheetNames:c,Sheets:o};var d={},v=[];for(var p=0;p<l.length;++p)if(o[c[p]]){v.push(l[p]||c[p]);d[l[p]]=o[l[p]]||o[c[p]]}else{v.push(l[p]);d[l[p]]={"!ref":"A1"}}return{SheetNames:v,Sheets:d}}function a(e,r){var t=r||{};if(+t.codepage>=0)o(+t.codepage);if(t.type=="string")throw new Error("Cannot write WK1 to JS string");var a=va();var n=Fa(e["!ref"]);var s=Array.isArray(e);var f=[];gb(a,0,i(1030));gb(a,6,c(n));var l=Math.min(n.e.r,8191);for(var u=n.s.r;u<=l;++u){var d=Ta(u);for(var p=n.s.c;p<=n.e.c;++p){if(u===n.s.r)f[p]=_a(p);var m=f[p]+d;var g=s?(e[u]||[])[p]:e[m];if(!g||g.t=="z")continue;if(g.t=="n"){if((g.v|0)==g.v&&g.v>=-32768&&g.v<=32767)gb(a,13,v(u,p,g.v));else gb(a,14,b(u,p,g.v))}else{var w=Pa(g);gb(a,15,h(u,p,w.slice(0,239)))}}}gb(a,1);return a.end()}function n(e,r){var t=r||{};if(+t.codepage>=0)o(+t.codepage);if(t.type=="string")throw new Error("Cannot write WK3 to JS string");var a=va();gb(a,0,s(e));for(var n=0,i=0;n<e.SheetNames.length;++n)if((e.Sheets[e.SheetNames[n]]||{})["!ref"])gb(a,27,B(e.SheetNames[n],i++));var f=0;for(n=0;n<e.SheetNames.length;++n){var c=e.Sheets[e.SheetNames[n]];if(!c||!c["!ref"])continue;var l=Fa(c["!ref"]);var u=Array.isArray(c);var h=[];var d=Math.min(l.e.r,8191);for(var v=l.s.r;v<=d;++v){var p=Ta(v);for(var m=l.s.c;m<=l.e.c;++m){if(v===l.s.r)h[m]=_a(m);var b=h[m]+p;var g=u?(c[v]||[])[m]:c[b];if(!g||g.t=="z")continue;if(g.t=="n"){gb(a,23,O(v,m,f,g.v))}else{var w=Pa(g);gb(a,22,x(v,m,f,w.slice(0,239)))}}}++f}gb(a,1);return a.end()}function i(e){var r=ha(2);r._W(2,e);return r}function s(e){var r=ha(26);r._W(2,4096);r._W(2,4);r._W(4,0);var t=0,a=0,n=0;for(var i=0;i<e.SheetNames.length;++i){var s=e.SheetNames[i];var f=e.Sheets[s];if(!f||!f["!ref"])continue;++n;var o=Ia(f["!ref"]);if(t<o.e.r)t=o.e.r;if(a<o.e.c)a=o.e.c}if(t>8191)t=8191;r._W(2,t);r._W(1,n);r._W(1,a);r._W(2,0);r._W(2,0);r._W(1,1);r._W(1,2);r._W(4,0);r._W(4,0);return r}function f(e,r,t){var a={s:{c:0,r:0},e:{c:0,r:0}};if(r==8&&t.qpro){a.s.c=e._R(1);e.l++;a.s.r=e._R(2);a.e.c=e._R(1);e.l++;a.e.r=e._R(2);return a}a.s.c=e._R(2);a.s.r=e._R(2);if(r==12&&t.qpro)e.l+=2;a.e.c=e._R(2);a.e.r=e._R(2);if(r==12&&t.qpro)e.l+=2;if(a.s.c==65535)a.s.c=a.e.c=a.s.r=a.e.r=0;return a}function c(e){var r=ha(8);r._W(2,e.s.c);r._W(2,e.s.r);r._W(2,e.e.c);r._W(2,e.e.r);return r}function l(e,r,t){var a=[{c:0,r:0},{t:"n",v:0},0,0];if(t.qpro&&t.vers!=20768){a[0].c=e._R(1);a[3]=e._R(1);a[0].r=e._R(2);e.l+=2}else{a[2]=e._R(1);a[0].c=e._R(2);a[0].r=e._R(2)}return a}function u(e,r,t){var a=e.l+r;var n=l(e,r,t);n[1].t="s";if(t.vers==20768){e.l++;var i=e._R(1);n[1].v=e._R(i,"utf8");return n}if(t.qpro)e.l++;n[1].v=e._R(a-e.l,"cstr");return n}function h(e,r,t){var a=ha(7+t.length);a._W(1,255);a._W(2,r);a._W(2,e);a._W(1,39);for(var n=0;n<a.length;++n){var i=t.charCodeAt(n);a._W(1,i>=128?95:i)}a._W(1,0);return a}function d(e,r,t){var a=l(e,r,t);a[1].v=e._R(2,"i");return a}function v(e,r,t){var a=ha(7);a._W(1,255);a._W(2,r);a._W(2,e);a._W(2,t,"i");return a}function p(e,r,t){var a=l(e,r,t);a[1].v=e._R(8,"f");return a}function b(e,r,t){var a=ha(13);a._W(1,255);a._W(2,r);a._W(2,e);a._W(8,t,"f");return a}function g(e,r,t){var a=e.l+r;var n=l(e,r,t);n[1].v=e._R(8,"f");if(t.qpro)e.l=a;else{var i=e._R(2);y(e.slice(e.l,e.l+i),n);e.l+=i}return n}function w(e,r,t){var a=r&32768;r&=~32768;r=(a?e:0)+(r>=8192?r-16384:r);return(a?"":"$")+(t?_a(r):Ta(r))}var T={51:["FALSE",0],52:["TRUE",0],70:["LEN",1],80:["SUM",69],81:["AVERAGEA",69],82:["COUNTA",69],83:["MINA",69],84:["MAXA",69],111:["T",1]};var E=["","","","","","","","","","+","-","*","/","^","=","<>","<=",">=","<",">","","","","","&","","","","","","",""];function y(e,r){la(e,0);var t=[],a=0,n="",i="",s="",f="";while(e.l<e.length){var o=e[e.l++];switch(o){case 0:t.push(e._R(8,"f"));break;case 1:{i=w(r[0].c,e._R(2),true);n=w(r[0].r,e._R(2),false);t.push(i+n)}break;case 2:{var c=w(r[0].c,e._R(2),true);var l=w(r[0].r,e._R(2),false);i=w(r[0].c,e._R(2),true);n=w(r[0].r,e._R(2),false);t.push(c+l+":"+i+n)}break;case 3:if(e.l<e.length){console.error("WK1 premature formula end");return}break;case 4:t.push("("+t.pop()+")");break;case 5:t.push(e._R(2));break;case 6:{var u="";while(o=e[e.l++])u+=String.fromCharCode(o);t.push('"'+u.replace(/"/g,'""')+'"')}break;case 8:t.push("-"+t.pop());break;case 23:t.push("+"+t.pop());break;case 22:t.push("NOT("+t.pop()+")");break;case 20:;case 21:{f=t.pop();s=t.pop();t.push(["AND","OR"][o-20]+"("+s+","+f+")")}break;default:if(o<32&&E[o]){f=t.pop();s=t.pop();t.push(s+E[o]+f)}else if(T[o]){a=T[o][1];if(a==69)a=e[e.l++];if(a>t.length){console.error("WK1 bad formula parse 0x"+o.toString(16)+":|"+t.join("|")+"|");return}var h=t.slice(-a);t.length-=a;t.push(T[o][0]+"("+h.join(",")+")")}else if(o<=7)return console.error("WK1 invalid opcode "+o.toString(16));else if(o<=24)return console.error("WK1 unsupported op "+o.toString(16));else if(o<=30)return console.error("WK1 invalid opcode "+o.toString(16));else if(o<=115)return console.error("WK1 unsupported function opcode "+o.toString(16));else return console.error("WK1 unrecognized opcode "+o.toString(16));}}if(t.length==1)r[1].f=""+t[0];else console.error("WK1 bad formula parse |"+t.join("|")+"|")}function S(e){var r=[{c:0,r:0},{t:"n",v:0},0];r[0].r=e._R(2);r[3]=e[e.l++];r[0].c=e[e.l++];return r}function A(e,r){var t=S(e,r);t[1].t="s";t[1].v=e._R(r-4,"cstr");return t}function x(e,r,t,a){var n=ha(6+a.length);n._W(2,e);n._W(1,t);n._W(1,r);n._W(1,39);for(var i=0;i<a.length;++i){var s=a.charCodeAt(i);n._W(1,s>=128?95:s)}n._W(1,0);return n}function C(e,r){var t=S(e,r);t[1].v=e._R(2);var a=t[1].v>>1;if(t[1].v&1){switch(a&7){case 0:a=(a>>3)*5e3;break;case 1:a=(a>>3)*500;break;case 2:a=(a>>3)/20;break;case 3:a=(a>>3)/200;break;case 4:a=(a>>3)/2e3;break;case 5:a=(a>>3)/2e4;break;case 6:a=(a>>3)/16;break;case 7:a=(a>>3)/64;break;}}t[1].v=a;return t}function R(e,r){var t=S(e,r);var a=e._R(4);var n=e._R(4);var i=e._R(2);if(i==65535){if(a===0&&n===3221225472){t[1].t="e";t[1].v=15}else if(a===0&&n===3489660928){t[1].t="e";t[1].v=42}else t[1].v=0;return t}var s=i&32768;i=(i&32767)-16446;t[1].v=(1-s*2)*(n*Math.pow(2,i+32)+a*Math.pow(2,i));return t}function O(e,r,t,a){var n=ha(14);n._W(2,e);n._W(1,t);n._W(1,r);if(a==0){n._W(4,0);n._W(4,0);n._W(2,65535);return n}var i=0,s=0,f=0,o=0;if(a<0){i=1;a=-a}s=Math.log2(a)|0;a/=Math.pow(2,s-31);o=a>>>0;if((o&2147483648)==0){a/=2;++s;o=a>>>0}a-=o;o|=2147483648;o>>>=0;a*=Math.pow(2,32);f=a>>>0;n._W(4,f);n._W(4,o);s+=16383+(i?32768:0);n._W(2,s);return n}function I(e,r){var t=R(e,14);e.l+=r-14;return t}function N(e,r){var t=S(e,r);var a=e._R(4);t[1].v=a>>6;return t}function F(e,r){var t=S(e,r);var a=e._R(8,"f");t[1].v=a;return t}function D(e,r){var t=F(e,14);e.l+=r-10;return t}function P(e,r){return e[e.l+r-1]==0?e._R(r,"cstr"):""}function L(e,r){var t=e[e.l++];if(t>r-1)t=r-1;var a="";while(a.length<t)a+=String.fromCharCode(e[e.l++]);return a}function M(e,r,t){if(!t.qpro||r<21)return;var a=e._R(1);e.l+=17;e.l+=1;e.l+=2;var n=e._R(r-21,"cstr");return[a,n]}function U(e,r){var t={},a=e.l+r;while(e.l<a){var n=e._R(2);if(n==14e3){t[n]=[0,""];t[n][0]=e._R(2);while(e[e.l]){t[n][1]+=String.fromCharCode(e[e.l]);e.l++}e.l++}}return t}function B(e,r){var t=ha(5+e.length);t._W(2,14e3);t._W(2,r);for(var a=0;a<e.length;++a){var n=e.charCodeAt(a);t[t.l++]=n>127?95:n}t[t.l++]=0;return t}var W={0:{n:"BOF",f:es},1:{n:"EOF"},2:{n:"CALCMODE"},3:{n:"CALCORDER"},4:{n:"SPLIT"},5:{n:"SYNC"},6:{n:"RANGE",f:f},7:{n:"WINDOW1"},8:{n:"COLW1"},9:{n:"WINTWO"},10:{n:"COLW2"},11:{n:"NAME"},12:{n:"BLANK"},13:{n:"INTEGER",f:d},14:{n:"NUMBER",f:p},15:{n:"LABEL",f:u},16:{n:"FORMULA",f:g},24:{n:"TABLE"},25:{n:"ORANGE"},26:{n:"PRANGE"},27:{n:"SRANGE"},28:{n:"FRANGE"},29:{n:"KRANGE1"},32:{n:"HRANGE"},35:{n:"KRANGE2"},36:{n:"PROTEC"},37:{n:"FOOTER"},38:{n:"HEADER"},39:{n:"SETUP"},40:{n:"MARGINS"},41:{n:"LABELFMT"},42:{n:"TITLES"},43:{n:"SHEETJS"},45:{n:"GRAPH"},46:{n:"NGRAPH"},47:{n:"CALCCOUNT"},48:{n:"UNFORMATTED"},49:{n:"CURSORW12"},50:{n:"WINDOW"},51:{n:"STRING",f:u},55:{n:"PASSWORD"},56:{n:"LOCKED"},60:{n:"QUERY"},61:{n:"QUERYNAME"},62:{n:"PRINT"},63:{n:"PRINTNAME"},64:{n:"GRAPH2"},65:{n:"GRAPHNAME"},66:{n:"ZOOM"},67:{n:"SYMSPLIT"},68:{n:"NSROWS"},69:{n:"NSCOLS"},70:{n:"RULER"},71:{n:"NNAME"},72:{n:"ACOMM"},73:{n:"AMACRO"},74:{n:"PARSE"},102:{n:"PRANGES??"},103:{n:"RRANGES??"},104:{n:"FNAME??"},105:{n:"MRANGES??"},204:{n:"SHEETNAMECS",f:P},222:{n:"SHEETNAMELP",f:L},65535:{n:""}};var H={0:{n:"BOF"},1:{n:"EOF"},2:{n:"PASSWORD"},3:{n:"CALCSET"},4:{n:"WINDOWSET"},5:{n:"SHEETCELLPTR"},6:{n:"SHEETLAYOUT"},7:{n:"COLUMNWIDTH"},8:{n:"HIDDENCOLUMN"},9:{n:"USERRANGE"},10:{n:"SYSTEMRANGE"},11:{n:"ZEROFORCE"},12:{n:"SORTKEYDIR"},13:{n:"FILESEAL"},14:{n:"DATAFILLNUMS"},15:{n:"PRINTMAIN"},16:{n:"PRINTSTRING"},17:{n:"GRAPHMAIN"},18:{n:"GRAPHSTRING"},19:{n:"??"},20:{n:"ERRCELL"},21:{n:"NACELL"},22:{n:"LABEL16",f:A},23:{n:"NUMBER17",f:R},24:{n:"NUMBER18",f:C},25:{n:"FORMULA19",f:I},26:{n:"FORMULA1A"},27:{n:"XFORMAT",f:U},28:{n:"DTLABELMISC"},29:{n:"DTLABELCELL"},30:{n:"GRAPHWINDOW"},31:{n:"CPA"},32:{n:"LPLAUTO"},33:{n:"QUERY"},34:{n:"HIDDENSHEET"},35:{n:"??"},37:{n:"NUMBER25",f:N},38:{n:"??"},39:{n:"NUMBER27",f:F},40:{n:"FORMULA28",f:D},142:{n:"??"},147:{n:"??"},150:{n:"??"},151:{n:"??"},152:{n:"??"},153:{n:"??"},154:{n:"??"},155:{n:"??"},156:{n:"??"},163:{n:"??"},174:{n:"??"},175:{n:"??"},176:{n:"??"},177:{n:"??"},184:{n:"??"},185:{n:"??"},186:{n:"??"},187:{n:"??"},188:{n:"??"},195:{n:"??"},201:{n:"??"},204:{n:"SHEETNAMECS",f:P},205:{n:"??"},206:{n:"??"},207:{n:"??"},208:{n:"??"},256:{n:"??"},259:{n:"??"},260:{n:"??"},261:{n:"??"},262:{n:"??"},263:{n:"??"},265:{n:"??"},266:{n:"??"},267:{n:"??"},268:{n:"??"},270:{n:"??"},271:{n:"??"},384:{n:"??"},389:{n:"??"},390:{n:"??"},393:{n:"??"},396:{n:"??"},512:{n:"??"},514:{n:"??"},513:{n:"??"},516:{n:"??"},517:{n:"??"},640:{n:"??"},641:{n:"??"},642:{n:"??"},643:{n:"??"},644:{n:"??"},645:{n:"??"},646:{n:"??"},647:{n:"??"},648:{n:"??"},658:{n:"??"},659:{n:"??"},660:{n:"??"},661:{n:"??"},662:{n:"??"},665:{n:"??"},666:{n:"??"},768:{n:"??"},772:{n:"??"},1537:{n:"SHEETINFOQP",f:M},1600:{n:"??"},1602:{n:"??"},1793:{n:"??"},1794:{n:"??"},1795:{n:"??"},1796:{n:"??"},1920:{n:"??"},2048:{n:"??"},2049:{n:"??"},2052:{n:"??"},2688:{n:"??"},10998:{n:"??"},12849:{n:"??"},28233:{n:"??"},28484:{n:"??"},65535:{n:""}};return{sheet_to_wk1:a,book_to_wk3:n,to_workbook:r}}();function Ro(e){var r={},t=e.match(Hr),a=0;var n=false;if(t)for(;a!=t.length;++a){var s=Gr(t[a]);switch(s[0].replace(/\w*:/g,"")){case"<condense":break;case"<extend":break;case"<shadow":if(!s.val)break;case"<shadow>":;case"<shadow/>":r.shadow=1;break;case"</shadow>":break;case"<charset":if(s.val=="1")break;r.cp=i[parseInt(s.val,10)];break;case"<outline":if(!s.val)break;case"<outline>":;case"<outline/>":r.outline=1;break;case"</outline>":break;case"<rFont":r.name=s.val;break;case"<sz":r.sz=s.val;break;case"<strike":if(!s.val)break;case"<strike>":;case"<strike/>":r.strike=1;break;case"</strike>":break;case"<u":if(!s.val)break;switch(s.val){case"double":r.uval="double";break;case"singleAccounting":r.uval="single-accounting";break;case"doubleAccounting":r.uval="double-accounting";break;};case"<u>":;case"<u/>":r.u=1;break;case"</u>":break;case"<b":if(s.val=="0")break;case"<b>":;case"<b/>":r.b=1;break;case"</b>":break;case"<i":if(s.val=="0")break;case"<i>":;case"<i/>":r.i=1;break;case"</i>":break;case"<color":if(s.rgb)r.color=s.rgb.slice(2,8);break;case"<color>":;case"<color/>":;case"</color>":break;case"<family":r.family=s.val;break;case"<family>":;case"<family/>":;case"</family>":break;case"<vertAlign":r.valign=s.val;break;case"<vertAlign>":;case"<vertAlign/>":;case"</vertAlign>":break;case"<scheme":break;case"<scheme>":;case"<scheme/>":;case"</scheme>":break;case"<extLst":;case"<extLst>":;case"</extLst>":break;case"<ext":n=true;break;case"</ext>":n=false;break;default:if(s[0].charCodeAt(1)!==47&&!n)throw new Error("Unrecognized rich format "+s[0]);}}return r}var Oo=function(){var e=ut("t"),r=ut("rPr");function t(t){var a=t.match(e);if(!a)return{t:"s",v:""};var n={t:"s",v:Yr(a[1])};var i=t.match(r);if(i)n.s=Ro(i[1]);return n}var a=/<(?:\w+:)?r>/g,n=/<\/(?:\w+:)?r>/;return function i(e){return e.replace(a,"").split(n).map(t).filter(function(e){return e.v})}}();var Io=function uk(){var e=/(\r\n|\n)/g;function r(e,r,t){var a=[];if(e.u)a.push("text-decoration: underline;");if(e.uval)a.push("text-underline-style:"+e.uval+";");if(e.sz)a.push("font-size:"+e.sz+"pt;");if(e.outline)a.push("text-effect: outline;");if(e.shadow)a.push("text-shadow: auto;");r.push('<span style="'+a.join("")+'">');if(e.b){r.push("<b>");t.push("</b>")}if(e.i){r.push("<i>");t.push("</i>")}if(e.strike){r.push("<s>");t.push("</s>")}var n=e.valign||"";if(n=="superscript"||n=="super")n="sup";else if(n=="subscript")n="sub";if(n!=""){r.push("<"+n+">");t.push("</"+n+">")}t.push("</span>");return e}function t(t){var a=[[],t.v,[]];if(!t.v)return"";if(t.s)r(t.s,a[0],a[2]);return a[0].join("")+a[1].replace(e,"<br/>")+a[2].join("")}return function a(e){return e.map(t).join("")}}();var No=/<(?:\w+:)?t[^>]*>([^<]*)<\/(?:\w+:)?t>/g,Fo=/<(?:\w+:)?r>/;var Do=/<(?:\w+:)?rPh.*?>([\s\S]*?)<\/(?:\w+:)?rPh>/g;function Po(e,r){var t=r?r.cellHTML:true;var a={};if(!e)return{t:""};if(e.match(/^\s*<(?:\w+:)?t[^>]*>/)){a.t=Yr(ct(e.slice(e.indexOf(">")+1).split(/<\/(?:\w+:)?t>/)[0]||""));a.r=ct(e);if(t)a.h=et(a.t)}else if(e.match(Fo)){a.r=ct(e);a.t=Yr(ct((e.replace(Do,"").match(No)||[]).join("").replace(Hr,"")));if(t)a.h=Io(Oo(a.r))}return a}var Lo=/<(?:\w+:)?sst([^>]*)>([\s\S]*)<\/(?:\w+:)?sst>/;var Mo=/<(?:\w+:)?(?:si|sstItem)>/g;var Uo=/<\/(?:\w+:)?(?:si|sstItem)>/;function Bo(e,r){var t=[],a="";if(!e)return t;var n=e.match(Lo);if(n){a=n[2].replace(Mo,"").split(Uo);for(var i=0;i!=a.length;++i){var s=Po(a[i].trim(),r);if(s!=null)t[t.length]=s}n=Gr(n[1]);t.Count=n.count;t.Unique=n.uniqueCount}return t}var Wo=/^\s|\s$|[\t\n\r]/;function Ho(e,r){if(!r.bookSST)return"";var t=[Mr];t[t.length]=kt("sst",null,{xmlns:At[0],count:e.Count,uniqueCount:e.Unique});for(var a=0;a!=e.length;++a){if(e[a]==null)continue;var n=e[a];var i="<si>";if(n.r)i+=n.r;else{i+="<t";if(!n.t)n.t="";if(n.t.match(Wo))i+=' xml:space="preserve"';i+=">"+qr(n.t)+"</t>"}i+="</si>";t[t.length]=i}if(t.length>2){t[t.length]="</sst>";t[1]=t[1].replace("/>",">")}return t.join("")}function zo(e){return[e._R(4),e._R(4)]}function Vo(e,r){var t=[];var a=false;da(e,function n(e,i,s){switch(s){case 159:t.Count=e[0];t.Unique=e[1];break;case 19:t.push(e);break;case 160:return true;case 35:a=true;break;case 36:a=false;break;default:if(i.T){}if(!a||r.WTF)throw new Error("Unexpected record 0x"+s.toString(16));}});return t}function Go(e,r){if(!r)r=ha(8);r._W(4,e.Count);r._W(4,e.Unique);return r}var jo=Xa;function Xo(e){var r=va();pa(r,159,Go(e));for(var t=0;t<e.length;++t)pa(r,19,jo(e[t]));pa(r,160);return r.end()}function $o(e){if(typeof a!=="undefined")return a.utils.encode(t,e);var r=[],n=e.split("");for(var i=0;i<n.length;++i)r[i]=n[i].charCodeAt(0);return r}function Yo(e,r){var t={};t.Major=e._R(2);t.Minor=e._R(2);if(r>=4)e.l+=r-4;return t}function Ko(e){var r={};r.id=e._R(0,"lpp4");r.R=Yo(e,4);r.U=Yo(e,4);r.W=Yo(e,4);return r}function Jo(e){var r=e._R(4);var t=e.l+r-4;var a={};var n=e._R(4);var i=[];while(n-- >0)i.push({t:e._R(4),v:e._R(0,"lpp4")});a.name=e._R(0,"lpp4");a.comps=i;if(e.l!=t)throw new Error("Bad DataSpaceMapEntry: "+e.l+" != "+t);return a}function qo(e){var r=[];e.l+=4;var t=e._R(4);while(t-- >0)r.push(Jo(e));return r}function Zo(e){var r=[];e.l+=4;var t=e._R(4);while(t-- >0)r.push(e._R(0,"lpp4"));return r}function Qo(e){var r={};e._R(4);e.l+=4;r.id=e._R(0,"lpp4");r.name=e._R(0,"lpp4");r.R=Yo(e,4);r.U=Yo(e,4);r.W=Yo(e,4);return r}function ec(e){var r=Qo(e);r.ename=e._R(0,"8lpp4");r.blksz=e._R(4);r.cmode=e._R(4);if(e._R(4)!=4)throw new Error("Bad !Primary record");return r}function rc(e,r){var t=e.l+r;var a={};a.Flags=e._R(4)&63;e.l+=4;a.AlgID=e._R(4);var n=false;switch(a.AlgID){case 26126:;case 26127:;case 26128:n=a.Flags==36;break;case 26625:n=a.Flags==4;break;case 0:n=a.Flags==16||a.Flags==4||a.Flags==36;break;default:throw"Unrecognized encryption algorithm: "+a.AlgID;}if(!n)throw new Error("Encryption Flags/AlgID mismatch");a.AlgIDHash=e._R(4);a.KeySize=e._R(4);a.ProviderType=e._R(4);e.l+=8;a.CSPName=e._R(t-e.l>>1,"utf16le");e.l=t;return a}function tc(e,r){var t={},a=e.l+r;e.l+=4;t.Salt=e.slice(e.l,e.l+16);e.l+=16;t.Verifier=e.slice(e.l,e.l+16);e.l+=16;e._R(4);t.VerifierHash=e.slice(e.l,a);e.l=a;return t}function ac(e){var r=Yo(e);switch(r.Minor){case 2:return[r.Minor,nc(e,r)];case 3:return[r.Minor,ic(e,r)];case 4:return[r.Minor,sc(e,r)];}throw new Error("ECMA-376 Encrypted file unrecognized Version: "+r.Minor)}function nc(e){var r=e._R(4);if((r&63)!=36)throw new Error("EncryptionInfo mismatch");var t=e._R(4);var a=rc(e,t);var n=tc(e,e.length-e.l);return{t:"Std",h:a,v:n}}function ic(){throw new Error("File is password-protected: ECMA-376 Extensible")}function sc(e){var r=["saltSize","blockSize","keyBits","hashSize","cipherAlgorithm","cipherChaining","hashAlgorithm","saltValue"];e.l+=4;var t=e._R(e.length-e.l,"utf8");var a={};t.replace(Hr,function n(e){var t=Gr(e);switch(jr(t[0])){case"<?xml":break;case"<encryption":;case"</encryption>":break;case"<keyData":r.forEach(function(e){a[e]=t[e]});break;case"<dataIntegrity":a.encryptedHmacKey=t.encryptedHmacKey;a.encryptedHmacValue=t.encryptedHmacValue;break;case"<keyEncryptors>":;case"<keyEncryptors":a.encs=[];break;case"</keyEncryptors>":break;case"<keyEncryptor":a.uri=t.uri;break;case"</keyEncryptor>":break;case"<encryptedKey":a.encs.push(t);break;default:throw t[0];}});return a}function fc(e,r){var t={};var a=t.EncryptionVersionInfo=Yo(e,4);r-=4;if(a.Minor!=2)throw new Error("unrecognized minor version code: "+a.Minor);if(a.Major>4||a.Major<2)throw new Error("unrecognized major version code: "+a.Major);t.Flags=e._R(4);r-=4;var n=e._R(4);r-=4;t.EncryptionHeader=rc(e,n);r-=n;t.EncryptionVerifier=tc(e,r);return t}function oc(e){var r={};var t=r.EncryptionVersionInfo=Yo(e,4);if(t.Major!=1||t.Minor!=1)throw"unrecognized version code "+t.Major+" : "+t.Minor;r.Salt=e._R(16);r.EncryptedVerifier=e._R(16);r.EncryptedVerifierHash=e._R(16);return r}function cc(e){var r=0,t;var a=$o(e);var n=a.length+1,i,s;var f,o,c;t=y(n);t[0]=a.length;for(i=1;i!=n;++i)t[i]=a[i-1];for(i=n-1;i>=0;--i){s=t[i];f=(r&16384)===0?0:1;o=r<<1&32767;c=f|o;r=c^s}return r^52811}var lc=function(){var e=[187,255,255,186,255,255,185,128,0,190,15,0,191,15,0];var r=[57840,7439,52380,33984,4364,3600,61902,12606,6258,57657,54287,34041,10252,43370,20163];var t=[44796,19929,39858,10053,20106,40212,10761,31585,63170,64933,60267,50935,40399,11199,17763,35526,1453,2906,5812,11624,23248,885,1770,3540,7080,14160,28320,56640,55369,41139,20807,41614,21821,43642,17621,28485,56970,44341,19019,38038,14605,29210,60195,50791,40175,10751,21502,43004,24537,18387,36774,3949,7898,15796,31592,63184,47201,24803,49606,37805,14203,28406,56812,17824,35648,1697,3394,6788,13576,27152,43601,17539,35078,557,1114,2228,4456,30388,60776,51953,34243,7079,14158,28316,14128,28256,56512,43425,17251,34502,7597,13105,26210,52420,35241,883,1766,3532,4129,8258,16516,33032,4657,9314,18628];var a=function(e){return(e/2|e*128)&255};var n=function(e,r){return a(e^r)};var i=function(e){var a=r[e.length-1];var n=104;for(var i=e.length-1;i>=0;--i){var s=e[i];for(var f=0;f!=7;++f){if(s&64)a^=t[n];s*=2;--n}}return a};return function(r){var t=$o(r);var a=i(t);var s=t.length;var f=y(16);for(var o=0;o!=16;++o)f[o]=0;var c,l,u;if((s&1)===1){c=a>>8;f[s]=n(e[0],c);--s;c=a&255;l=t[t.length-1];f[s]=n(l,c)}while(s>0){--s;c=a>>8;f[s]=n(t[s],c);--s;c=a&255;f[s]=n(t[s],c)}s=15;u=15-t.length;while(u>0){c=a>>8;f[s]=n(e[u],c);--s;--u;c=a&255;f[s]=n(t[s],c);--s;--u}return f}}();var uc=function(e,r,t,a,n){if(!n)n=r;if(!a)a=lc(e);var i,s;for(i=0;i!=r.length;++i){s=r[i];s^=a[t];s=(s>>5|s<<3)&255;n[i]=s;++t}return[n,t,a]};var hc=function(e){var r=0,t=lc(e);return function(e){var a=uc("",e,r,t);r=a[1];return a[0]}};function dc(e,r,t,a){var n={key:es(e),verificationBytes:es(e)};if(t.password)n.verifier=cc(t.password);a.valid=n.verificationBytes===n.verifier;if(a.valid)a.insitu=hc(t.password);return n}function vc(e,r,t){var a=t||{};a.Info=e._R(2);e.l-=2;if(a.Info===1)a.Data=oc(e,r);else a.Data=fc(e,r);return a}function pc(e,r,t){var a={Type:t.biff>=8?e._R(2):0};if(a.Type)vc(e,r-2,a);else dc(e,t.biff>=8?r:r-2,t,a);return a}var mc=function(){function e(e,t){switch(t.type){case"base64":return r(k(e),t);case"binary":return r(e,t);case"buffer":return r(T&&Buffer.isBuffer(e)?e.toString("binary"):x(e),t);case"array":return r(br(e),t);}throw new Error("Unrecognized type "+t.type)}function r(e,r){var t=r||{};var a=t.dense?[]:{};var n=e.match(/\\trowd.*?\\row\b/g);if(!n.length)throw new Error("RTF missing table");-var i={s:{c:0,r:0},e:{c:0,r:n.length-1}};n.forEach(function(e,r){if(Array.isArray(a))a[r]=[];var t=/\\\w+\b/g;var n=0;var s;var f=-1;while(s=t.exec(e)){switch(s[0]){case"\\cell":var o=e.slice(n,t.lastIndex-s[0].length);if(o[0]==" ")o=o.slice(1);++f;if(o.length){var c={v:o,t:"s"};if(Array.isArray(a))a[r][f]=c;else a[Oa({r:r,c:f})]=c}break;}n=t.lastIndex}if(f>i.e.c)i.e.c=f});a["!ref"]=Na(i);return a}function t(r,t){return La(e(r,t),t)}function a(e){var r=["{\\rtf1\\ansi"];var t=Fa(e["!ref"]),a;var n=Array.isArray(e);for(var i=t.s.r;i<=t.e.r;++i){r.push("\\trowd\\trautofit1");for(var s=t.s.c;s<=t.e.c;++s)r.push("\\cellx"+(s+1));r.push("\\pard\\intbl");for(s=t.s.c;s<=t.e.c;++s){var f=Oa({r:i,c:s});a=n?(e[i]||[])[s]:e[f];if(!a||a.v==null&&(!a.f||a.F))continue;r.push(" "+(a.w||(Pa(a),a.w)));r.push("\\cell")}r.push("\\pard\\intbl\\row")}return r.join("")+"}"}return{to_workbook:t,to_sheet:e,from_sheet:a}}();function bc(e){var r=e.slice(e[0]==="#"?1:0).slice(0,6);return[parseInt(r.slice(0,2),16),parseInt(r.slice(2,4),16),parseInt(r.slice(4,6),16)]}function gc(e){for(var r=0,t=1;r!=3;++r)t=t*256+(e[r]>255?255:e[r]<0?0:e[r]);return t.toString(16).toUpperCase().slice(1)}function wc(e){var r=e[0]/255,t=e[1]/255,a=e[2]/255;var n=Math.max(r,t,a),i=Math.min(r,t,a),s=n-i;if(s===0)return[0,0,r];var f=0,o=0,c=n+i;o=s/(c>1?2-c:c);switch(n){case r:f=((t-a)/s+6)%6;break;case t:f=(a-r)/s+2;break;case a:f=(r-t)/s+4;break;}return[f/6,o,c/2]}function kc(e){var r=e[0],t=e[1],a=e[2];var n=t*2*(a<.5?a:1-a),i=a-n/2;var s=[i,i,i],f=6*r;var o;if(t!==0)switch(f|0){case 0:;case 6:o=n*f;s[0]+=n;s[1]+=o;break;case 1:o=n*(2-f);s[0]+=o;s[1]+=n;break;case 2:o=n*(f-2);s[1]+=n;s[2]+=o;break;case 3:o=n*(4-f);s[1]+=o;s[2]+=n;break;case 4:o=n*(f-4);s[2]+=n;s[0]+=o;break;case 5:o=n*(6-f);s[2]+=o;s[0]+=n;break;}for(var c=0;c!=3;++c)s[c]=Math.round(s[c]*255);return s}function Tc(e,r){if(r===0)return e;var t=wc(bc(e));if(r<0)t[2]=t[2]*(1+r);else t[2]=1-(1-t[2])*(1-r);return gc(kc(t))}var Ec=6,yc=15,Sc=1,_c=Ec;function Ac(e){return Math.floor((e+Math.round(128/_c)/256)*_c)}function xc(e){return Math.floor((e-5)/_c*100+.5)/100}function Cc(e){return Math.round((e*_c+5)/_c*256)/256}function Rc(e){return Cc(xc(Ac(e)))}function Oc(e){var r=Math.abs(e-Rc(e)),t=_c;if(r>.005)for(_c=Sc;_c<yc;++_c)if(Math.abs(e-Rc(e))<=r){r=Math.abs(e-Rc(e));t=_c}_c=t}function Ic(e){if(e.width){e.wpx=Ac(e.width);e.wch=xc(e.wpx);e.MDW=_c}else if(e.wpx){e.wch=xc(e.wpx);e.width=Cc(e.wch);e.MDW=_c}else if(typeof e.wch=="number"){e.width=Cc(e.wch);e.wpx=Ac(e.width);e.MDW=_c}if(e.customWidth)delete e.customWidth}var Nc=96,Fc=Nc;function Dc(e){return e*96/Fc}function Pc(e){return e*Fc/96}var Lc={None:"none",Solid:"solid",Gray50:"mediumGray",Gray75:"darkGray",Gray25:"lightGray",HorzStripe:"darkHorizontal",VertStripe:"darkVertical",ReverseDiagStripe:"darkDown",DiagStripe:"darkUp",DiagCross:"darkGrid",ThickDiagCross:"darkTrellis",ThinHorzStripe:"lightHorizontal",ThinVertStripe:"lightVertical",ThinReverseDiagStripe:"lightDown",ThinHorzCross:"lightGrid"};function Mc(e,r,t,a){r.Borders=[];var n={};var i=false;(e[0].match(Hr)||[]).forEach(function(e){var t=Gr(e);switch(jr(t[0])){case"<borders":;case"<borders>":;case"</borders>":break;case"<border":;case"<border>":;case"<border/>":n={};if(t.diagonalUp)n.diagonalUp=nt(t.diagonalUp);if(t.diagonalDown)n.diagonalDown=nt(t.diagonalDown);r.Borders.push(n);break;case"</border>":break;case"<left/>":break;case"<left":;case"<left>":break;case"</left>":break;case"<right/>":break;case"<right":;case"<right>":break;case"</right>":break;case"<top/>":break;case"<top":;case"<top>":break;case"</top>":break;case"<bottom/>":break;case"<bottom":;case"<bottom>":break;case"</bottom>":break;case"<diagonal":;case"<diagonal>":;case"<diagonal/>":break;case"</diagonal>":break;case"<horizontal":;case"<horizontal>":;case"<horizontal/>":break;case"</horizontal>":break;case"<vertical":;case"<vertical>":;case"<vertical/>":break;case"</vertical>":break;case"<start":;case"<start>":;case"<start/>":break;case"</start>":break;case"<end":;case"<end>":;case"<end/>":break;case"</end>":break;case"<color":;case"<color>":break;case"<color/>":;case"</color>":break;case"<extLst":;case"<extLst>":;case"</extLst>":break;case"<ext":i=true;break;case"</ext>":i=false;break;default:if(a&&a.WTF){if(!i)throw new Error("unrecognized "+t[0]+" in borders")};}})}function Uc(e,r,t,a){r.Fills=[];var n={};var i=false;(e[0].match(Hr)||[]).forEach(function(e){var t=Gr(e);switch(jr(t[0])){case"<fills":;case"<fills>":;case"</fills>":break;case"<fill>":;case"<fill":;case"<fill/>":n={};r.Fills.push(n);break;case"</fill>":break;case"<gradientFill>":break;case"<gradientFill":;case"</gradientFill>":r.Fills.push(n);n={};break;case"<patternFill":;case"<patternFill>":if(t.patternType)n.patternType=t.patternType;break;case"<patternFill/>":;case"</patternFill>":break;case"<bgColor":if(!n.bgColor)n.bgColor={};if(t.indexed)n.bgColor.indexed=parseInt(t.indexed,10);if(t.theme)n.bgColor.theme=parseInt(t.theme,10);if(t.tint)n.bgColor.tint=parseFloat(t.tint);if(t.rgb)n.bgColor.rgb=t.rgb.slice(-6);break;case"<bgColor/>":;case"</bgColor>":break;case"<fgColor":if(!n.fgColor)n.fgColor={};if(t.theme)n.fgColor.theme=parseInt(t.theme,10);if(t.tint)n.fgColor.tint=parseFloat(t.tint);if(t.rgb!=null)n.fgColor.rgb=t.rgb.slice(-6);break;case"<fgColor/>":;case"</fgColor>":break;case"<stop":;case"<stop/>":break;case"</stop>":break;case"<color":;case"<color/>":break;case"</color>":break;case"<extLst":;case"<extLst>":;case"</extLst>":break;case"<ext":i=true;break;case"</ext>":i=false;break;default:if(a&&a.WTF){if(!i)throw new Error("unrecognized "+t[0]+" in fills")};}})}function Bc(e,r,t,a){r.Fonts=[];var n={};var s=false;(e[0].match(Hr)||[]).forEach(function(e){var f=Gr(e);switch(jr(f[0])){case"<fonts":;case"<fonts>":;case"</fonts>":break;case"<font":;case"<font>":break;case"</font>":;case"<font/>":r.Fonts.push(n);n={};break;case"<name":if(f.val)n.name=ct(f.val);break;case"<name/>":;case"</name>":break;case"<b":n.bold=f.val?nt(f.val):1;break;case"<b/>":n.bold=1;break;case"<i":n.italic=f.val?nt(f.val):1;break;case"<i/>":n.italic=1;break;case"<u":switch(f.val){case"none":n.underline=0;break;case"single":n.underline=1;break;case"double":n.underline=2;break;case"singleAccounting":n.underline=33;break;case"doubleAccounting":n.underline=34;break;}break;case"<u/>":n.underline=1;break;case"<strike":n.strike=f.val?nt(f.val):1;break;case"<strike/>":n.strike=1;break;case"<outline":n.outline=f.val?nt(f.val):1;break;case"<outline/>":n.outline=1;break;case"<shadow":n.shadow=f.val?nt(f.val):1;break;case"<shadow/>":n.shadow=1;break;case"<condense":n.condense=f.val?nt(f.val):1;break;case"<condense/>":n.condense=1;break;case"<extend":n.extend=f.val?nt(f.val):1;break;case"<extend/>":n.extend=1;break;case"<sz":if(f.val)n.sz=+f.val;break;case"<sz/>":;case"</sz>":break;case"<vertAlign":if(f.val)n.vertAlign=f.val;break;case"<vertAlign/>":;case"</vertAlign>":break;case"<family":if(f.val)n.family=parseInt(f.val,10);break;case"<family/>":;case"</family>":break;case"<scheme":if(f.val)n.scheme=f.val;break;case"<scheme/>":;case"</scheme>":break;case"<charset":if(f.val=="1")break;f.codepage=i[parseInt(f.val,10)];break;case"<color":if(!n.color)n.color={};if(f.auto)n.color.auto=nt(f.auto);if(f.rgb)n.color.rgb=f.rgb.slice(-6);else if(f.indexed){n.color.index=parseInt(f.indexed,10);var o=Vn[n.color.index];if(n.color.index==81)o=Vn[1];if(!o)o=Vn[1];n.color.rgb=o[0].toString(16)+o[1].toString(16)+o[2].toString(16)}else if(f.theme){n.color.theme=parseInt(f.theme,10);if(f.tint)n.color.tint=parseFloat(f.tint);if(f.theme&&t.themeElements&&t.themeElements.clrScheme){n.color.rgb=Tc(t.themeElements.clrScheme[n.color.theme].rgb,n.color.tint||0)}}break;case"<color/>":;case"</color>":break;case"<AlternateContent":s=true;break;case"</AlternateContent>":s=false;break;case"<extLst":;case"<extLst>":;case"</extLst>":break;case"<ext":s=true;break;case"</ext>":s=false;break;default:if(a&&a.WTF){if(!s)throw new Error("unrecognized "+f[0]+" in fonts")};}})}function Wc(e,r,t){r.NumberFmt=[];var a=rr(X);for(var n=0;n<a.length;++n)r.NumberFmt[a[n]]=X[a[n]];var i=e[0].match(Hr);if(!i)return;for(n=0;n<i.length;++n){var s=Gr(i[n]);switch(jr(s[0])){case"<numFmts":;case"</numFmts>":;case"<numFmts/>":;case"<numFmts>":break;case"<numFmt":{var f=Yr(ct(s.formatCode)),o=parseInt(s.numFmtId,10);r.NumberFmt[o]=f;if(o>0){if(o>392){for(o=392;o>60;--o)if(r.NumberFmt[o]==null)break;r.NumberFmt[o]=f}We(f,o)}}break;case"</numFmt>":break;default:if(t.WTF)throw new Error("unrecognized "+s[0]+" in numFmts");}}}function Hc(e){var r=["<numFmts>"];[[5,8],[23,26],[41,44],[50,392]].forEach(function(t){for(var a=t[0];a<=t[1];++a)if(e[a]!=null)r[r.length]=kt("numFmt",null,{numFmtId:a,formatCode:qr(e[a])})});if(r.length===1)return"";r[r.length]="</numFmts>";r[0]=kt("numFmts",null,{count:r.length-2}).replace("/>",">");return r.join("")}var zc=["numFmtId","fillId","fontId","borderId","xfId"];var Vc=["applyAlignment","applyBorder","applyFill","applyFont","applyNumberFormat","applyProtection","pivotButton","quotePrefix"];function Gc(e,r,t){r.CellXf=[];var a;var n=false;(e[0].match(Hr)||[]).forEach(function(e){var i=Gr(e),s=0;switch(jr(i[0])){case"<cellXfs":;case"<cellXfs>":;case"<cellXfs/>":;case"</cellXfs>":break;case"<xf":;case"<xf/>":a=i;delete a[0];for(s=0;s<zc.length;++s)if(a[zc[s]])a[zc[s]]=parseInt(a[zc[s]],10);for(s=0;s<Vc.length;++s)if(a[Vc[s]])a[Vc[s]]=nt(a[Vc[s]]);if(r.NumberFmt&&a.numFmtId>392){for(s=392;s>60;--s)if(r.NumberFmt[a.numFmtId]==r.NumberFmt[s]){a.numFmtId=s;break}}r.CellXf.push(a);break;case"</xf>":break;case"<alignment":;case"<alignment/>":var f={};if(i.vertical)f.vertical=i.vertical;if(i.horizontal)f.horizontal=i.horizontal;if(i.textRotation!=null)f.textRotation=i.textRotation;if(i.indent)f.indent=i.indent;if(i.wrapText)f.wrapText=nt(i.wrapText);a.alignment=f;break;case"</alignment>":break;case"<protection":break;case"</protection>":;case"<protection/>":break;case"<AlternateContent":n=true;break;case"</AlternateContent>":n=false;break;case"<extLst":;case"<extLst>":;case"</extLst>":break;case"<ext":n=true;break;case"</ext>":n=false;break;default:if(t&&t.WTF){if(!n)throw new Error("unrecognized "+i[0]+" in cellXfs")};}})}function jc(e){var r=[];r[r.length]=kt("cellXfs",null);e.forEach(function(e){r[r.length]=kt("xf",null,e)});r[r.length]="</cellXfs>";if(r.length===2)return"";r[0]=kt("cellXfs",null,{count:r.length-2}).replace("/>",">");return r.join("")}var Xc=function hk(){var e=/<(?:\w+:)?numFmts([^>]*)>[\S\s]*?<\/(?:\w+:)?numFmts>/;var r=/<(?:\w+:)?cellXfs([^>]*)>[\S\s]*?<\/(?:\w+:)?cellXfs>/;var t=/<(?:\w+:)?fills([^>]*)>[\S\s]*?<\/(?:\w+:)?fills>/;var a=/<(?:\w+:)?fonts([^>]*)>[\S\s]*?<\/(?:\w+:)?fonts>/;var n=/<(?:\w+:)?borders([^>]*)>[\S\s]*?<\/(?:\w+:)?borders>/;return function i(s,f,o){var c={};if(!s)return c;s=s.replace(/<!--([\s\S]*?)-->/gm,"").replace(/<!DOCTYPE[^\[]*\[[^\]]*\]>/gm,"");var l;if(l=s.match(e))Wc(l,c,o);if(l=s.match(a))Bc(l,c,f,o);if(l=s.match(t))Uc(l,c,f,o);if(l=s.match(n))Mc(l,c,f,o);if(l=s.match(r))Gc(l,c,o);return c}}();function $c(e,r){var t=[Mr,kt("styleSheet",null,{xmlns:At[0],"xmlns:vt":_t.vt})],a;if(e.SSF&&(a=Hc(e.SSF))!=null)t[t.length]=a;t[t.length]='<fonts count="1"><font><sz val="12"/><color theme="1"/><name val="Calibri"/><family val="2"/><scheme val="minor"/></font></fonts>';t[t.length]='<fills count="2"><fill><patternFill patternType="none"/></fill><fill><patternFill patternType="gray125"/></fill></fills>';t[t.length]='<borders count="1"><border><left/><right/><top/><bottom/><diagonal/></border></borders>';t[t.length]='<cellStyleXfs count="1"><xf numFmtId="0" fontId="0" fillId="0" borderId="0"/></cellStyleXfs>';if(a=jc(r.cellXfs))t[t.length]=a;t[t.length]='<cellStyles count="1"><cellStyle name="Normal" xfId="0" builtinId="0"/></cellStyles>';t[t.length]='<dxfs count="0"/>';t[t.length]='<tableStyles count="0" defaultTableStyle="TableStyleMedium9" defaultPivotStyle="PivotStyleMedium4"/>';if(t.length>2){t[t.length]="</styleSheet>";t[1]=t[1].replace("/>",">")}return t.join("")}function Yc(e,r){var t=e._R(2);var a=Ha(e,r-2);return[t,a]}function Kc(e,r,t){if(!t)t=ha(6+4*r.length);t._W(2,e);za(r,t);var a=t.length>t.l?t.slice(0,t.l):t;if(t.l==null)t.l=t.length;return a}function Jc(e,r,t){var a={};a.sz=e._R(2)/20;var n=bn(e,2,t);if(n.fItalic)a.italic=1;if(n.fCondense)a.condense=1;if(n.fExtend)a.extend=1;if(n.fShadow)a.shadow=1;if(n.fOutline)a.outline=1;if(n.fStrikeout)a.strike=1;var i=e._R(2);if(i===700)a.bold=1;switch(e._R(2)){case 1:a.vertAlign="superscript";break;case 2:a.vertAlign="subscript";break;}var s=e._R(1);if(s!=0)a.underline=s;var f=e._R(1);if(f>0)a.family=f;var o=e._R(1);if(o>0)a.charset=o;e.l++;a.color=pn(e,8);switch(e._R(1)){case 1:a.scheme="major";break;case 2:a.scheme="minor";break;}a.name=Ha(e,r-21);return a}function qc(e,r){if(!r)r=ha(25+4*32);r._W(2,e.sz*20);gn(e,r);r._W(2,e.bold?700:400);var t=0;if(e.vertAlign=="superscript")t=1;else if(e.vertAlign=="subscript")t=2;r._W(2,t);r._W(1,e.underline||0);r._W(1,e.family||0);r._W(1,e.charset||0);r._W(1,0);mn(e.color,r);var a=0;if(e.scheme=="major")a=1;if(e.scheme=="minor")a=2;r._W(1,a);za(e.name,r);return r.length>r.l?r.slice(0,r.l):r}var Zc=["none","solid","mediumGray","darkGray","lightGray","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","gray125","gray0625"];var Qc;var el=ua;function rl(e,r){if(!r)r=ha(4*3+8*7+16*1);if(!Qc)Qc=ar(Zc);var t=Qc[e.patternType];if(t==null)t=40;r._W(4,t);var a=0;if(t!=40){mn({auto:1},r);mn({auto:1},r);for(;a<12;++a)r._W(4,0)}else{for(;a<4;++a)r._W(4,0);for(;a<12;++a)r._W(4,0)}return r.length>r.l?r.slice(0,r.l):r}function tl(e,r){var t=e.l+r;var a=e._R(2);var n=e._R(2);e.l=t;return{ixfe:a,numFmtId:n}}function al(e,r,t){if(!t)t=ha(16);t._W(2,r||0);t._W(2,e.numFmtId||0);t._W(2,0);t._W(2,0);t._W(2,0);t._W(1,0);t._W(1,0);var a=0;t._W(1,a);t._W(1,0);t._W(1,0);t._W(1,0);return t}function nl(e,r){if(!r)r=ha(10);r._W(1,0);r._W(1,0);r._W(4,0);r._W(4,0);return r}var il=ua;function sl(e,r){if(!r)r=ha(51);r._W(1,0);nl(null,r);nl(null,r);nl(null,r);nl(null,r);nl(null,r);return r.length>r.l?r.slice(0,r.l):r}function fl(e,r){if(!r)r=ha(12+4*10);r._W(4,e.xfId);r._W(2,1);r._W(1,+e.builtinId);r._W(1,0);tn(e.name||"",r);return r.length>r.l?r.slice(0,r.l):r}function ol(e,r,t){var a=ha(4+256*2*4);a._W(4,e);tn(r,a);tn(t,a);return a.length>a.l?a.slice(0,a.l):a}function cl(e,r,t){var a={};a.NumberFmt=[];for(var n in X)a.NumberFmt[n]=X[n];a.CellXf=[];a.Fonts=[];var i=[];var s=false;da(e,function f(e,n,o){switch(o){case 44:a.NumberFmt[e[0]]=e[1];We(e[1],e[0]);break;case 43:a.Fonts.push(e);if(e.color.theme!=null&&r&&r.themeElements&&r.themeElements.clrScheme){e.color.rgb=Tc(r.themeElements.clrScheme[e.color.theme].rgb,e.color.tint||0)}break;case 1025:break;case 45:break;case 46:break;case 47:if(i[i.length-1]==617){a.CellXf.push(e)}break;case 48:;case 507:;case 572:;case 475:break;case 1171:;case 2102:;case 1130:;case 512:;case 2095:;case 3072:break;case 35:s=true;break;case 36:s=false;break;case 37:i.push(o);s=true;break;case 38:i.pop();s=false;break;default:if(n.T>0)i.push(o);else if(n.T<0)i.pop();else if(!s||t.WTF&&i[i.length-1]!=37)throw new Error("Unexpected record 0x"+o.toString(16));}});return a}function ll(e,r){if(!r)return;var t=0;[[5,8],[23,26],[41,44],[50,392]].forEach(function(e){for(var a=e[0];a<=e[1];++a)if(r[a]!=null)++t});if(t==0)return;pa(e,615,Wa(t));[[5,8],[23,26],[41,44],[50,392]].forEach(function(t){for(var a=t[0];a<=t[1];++a)if(r[a]!=null)pa(e,44,Kc(a,r[a]))});pa(e,616)}function ul(e){var r=1;if(r==0)return;pa(e,611,Wa(r));pa(e,43,qc({sz:12,color:{theme:1},name:"Calibri",family:2,scheme:"minor"}));pa(e,612)}function hl(e){var r=2;if(r==0)return;pa(e,603,Wa(r));pa(e,45,rl({patternType:"none"}));pa(e,45,rl({patternType:"gray125"}));pa(e,604)}function dl(e){var r=1;if(r==0)return;pa(e,613,Wa(r));pa(e,46,sl({}));pa(e,614)}function vl(e){var r=1;pa(e,626,Wa(r));pa(e,47,al({numFmtId:0,fontId:0,fillId:0,borderId:0},65535));pa(e,627)}function pl(e,r){pa(e,617,Wa(r.length));r.forEach(function(r){pa(e,47,al(r,0))});pa(e,618)}function ml(e){var r=1;pa(e,619,Wa(r));pa(e,48,fl({xfId:0,builtinId:0,name:"Normal"}));pa(e,620)}function bl(e){var r=0;pa(e,505,Wa(r));pa(e,506)}function gl(e){var r=0;pa(e,508,ol(r,"TableStyleMedium9","PivotStyleMedium4"));pa(e,509)}function wl(){return}function kl(e,r){var t=va();pa(t,278);ll(t,e.SSF);ul(t,e);hl(t,e);dl(t,e);vl(t,e);pl(t,r.cellXfs);ml(t,e);bl(t,e);gl(t,e);wl(t,e);pa(t,279);return t.end()}var Tl=["</a:lt1>","</a:dk1>","</a:lt2>","</a:dk2>","</a:accent1>","</a:accent2>","</a:accent3>","</a:accent4>","</a:accent5>","</a:accent6>","</a:hlink>","</a:folHlink>"];function El(e,r,t){r.themeElements.clrScheme=[];var a={};(e[0].match(Hr)||[]).forEach(function(e){var n=Gr(e);switch(n[0]){case"<a:clrScheme":;case"</a:clrScheme>":break;case"<a:srgbClr":a.rgb=n.val;break;case"<a:sysClr":a.rgb=n.lastClr;break;case"<a:dk1>":;case"</a:dk1>":;case"<a:lt1>":;case"</a:lt1>":;case"<a:dk2>":;case"</a:dk2>":;case"<a:lt2>":;case"</a:lt2>":;case"<a:accent1>":;case"</a:accent1>":;case"<a:accent2>":;case"</a:accent2>":;case"<a:accent3>":;case"</a:accent3>":;case"<a:accent4>":;case"</a:accent4>":;case"<a:accent5>":;case"</a:accent5>":;case"<a:accent6>":;case"</a:accent6>":;case"<a:hlink>":;case"</a:hlink>":;case"<a:folHlink>":;case"</a:folHlink>":if(n[0].charAt(1)==="/"){r.themeElements.clrScheme[Tl.indexOf(n[0])]=a;a={}}else{a.name=n[0].slice(3,n[0].length-1)}break;default:if(t&&t.WTF)throw new Error("Unrecognized "+n[0]+" in clrScheme");}})}function yl(){}function Sl(){}var _l=/<a:clrScheme([^>]*)>[\s\S]*<\/a:clrScheme>/;var Al=/<a:fontScheme([^>]*)>[\s\S]*<\/a:fontScheme>/;var xl=/<a:fmtScheme([^>]*)>[\s\S]*<\/a:fmtScheme>/;function Cl(e,r,t){r.themeElements={};var a;[["clrScheme",_l,El],["fontScheme",Al,yl],["fmtScheme",xl,Sl]].forEach(function(n){if(!(a=e.match(n[1])))throw new Error(n[0]+" not found in themeElements");n[2](a,r,t)})}var Rl=/<a:themeElements([^>]*)>[\s\S]*<\/a:themeElements>/;function Ol(e,r){if(!e||e.length===0)e=Il();var t;var a={};if(!(t=e.match(Rl)))throw new Error("themeElements not found in theme");Cl(t[0],a,r);a.raw=e;return a}function Il(e,r){if(r&&r.themeXLSX)return r.themeXLSX;if(e&&typeof e.raw=="string")return e.raw;var t=[Mr];t[t.length]='<a:theme xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" name="Office Theme">';t[t.length]="<a:themeElements>";t[t.length]='<a:clrScheme name="Office">';t[t.length]='<a:dk1><a:sysClr val="windowText" lastClr="000000"/></a:dk1>';t[t.length]='<a:lt1><a:sysClr val="window" lastClr="FFFFFF"/></a:lt1>';t[t.length]='<a:dk2><a:srgbClr val="1F497D"/></a:dk2>';t[t.length]='<a:lt2><a:srgbClr val="EEECE1"/></a:lt2>';t[t.length]='<a:accent1><a:srgbClr val="4F81BD"/></a:accent1>';t[t.length]='<a:accent2><a:srgbClr val="C0504D"/></a:accent2>';t[t.length]='<a:accent3><a:srgbClr val="9BBB59"/></a:accent3>';t[t.length]='<a:accent4><a:srgbClr val="8064A2"/></a:accent4>';t[t.length]='<a:accent5><a:srgbClr val="4BACC6"/></a:accent5>';t[t.length]='<a:accent6><a:srgbClr val="F79646"/></a:accent6>';t[t.length]='<a:hlink><a:srgbClr val="0000FF"/></a:hlink>';t[t.length]='<a:folHlink><a:srgbClr val="800080"/></a:folHlink>';t[t.length]="</a:clrScheme>";t[t.length]='<a:fontScheme name="Office">';t[t.length]="<a:majorFont>";t[t.length]='<a:latin typeface="Cambria"/>';t[t.length]='<a:ea typeface=""/>';t[t.length]='<a:cs typeface=""/>';t[t.length]='<a:font script="Jpan" typeface="MS Pゴシック"/>';t[t.length]='<a:font script="Hang" typeface="맑은 고딕"/>';t[t.length]='<a:font script="Hans" typeface="宋体"/>';t[t.length]='<a:font script="Hant" typeface="新細明體"/>';t[t.length]='<a:font script="Arab" typeface="Times New Roman"/>';t[t.length]='<a:font script="Hebr" typeface="Times New Roman"/>';t[t.length]='<a:font script="Thai" typeface="Tahoma"/>';t[t.length]='<a:font script="Ethi" typeface="Nyala"/>';t[t.length]='<a:font script="Beng" typeface="Vrinda"/>';t[t.length]='<a:font script="Gujr" typeface="Shruti"/>';t[t.length]='<a:font script="Khmr" typeface="MoolBoran"/>';t[t.length]='<a:font script="Knda" typeface="Tunga"/>';t[t.length]='<a:font script="Guru" typeface="Raavi"/>';t[t.length]='<a:font script="Cans" typeface="Euphemia"/>';t[t.length]='<a:font script="Cher" typeface="Plantagenet Cherokee"/>';t[t.length]='<a:font script="Yiii" typeface="Microsoft Yi Baiti"/>';t[t.length]='<a:font script="Tibt" typeface="Microsoft Himalaya"/>';t[t.length]='<a:font script="Thaa" typeface="MV Boli"/>';t[t.length]='<a:font script="Deva" typeface="Mangal"/>';t[t.length]='<a:font script="Telu" typeface="Gautami"/>';t[t.length]='<a:font script="Taml" typeface="Latha"/>';t[t.length]='<a:font script="Syrc" typeface="Estrangelo Edessa"/>';t[t.length]='<a:font script="Orya" typeface="Kalinga"/>';t[t.length]='<a:font script="Mlym" typeface="Kartika"/>';t[t.length]='<a:font script="Laoo" typeface="DokChampa"/>';t[t.length]='<a:font script="Sinh" typeface="Iskoola Pota"/>';t[t.length]='<a:font script="Mong" typeface="Mongolian Baiti"/>';t[t.length]='<a:font script="Viet" typeface="Times New Roman"/>';t[t.length]='<a:font script="Uigh" typeface="Microsoft Uighur"/>';t[t.length]='<a:font script="Geor" typeface="Sylfaen"/>';t[t.length]="</a:majorFont>";t[t.length]="<a:minorFont>";t[t.length]='<a:latin typeface="Calibri"/>';t[t.length]='<a:ea typeface=""/>';t[t.length]='<a:cs typeface=""/>';t[t.length]='<a:font script="Jpan" typeface="MS Pゴシック"/>';t[t.length]='<a:font script="Hang" typeface="맑은 고딕"/>';t[t.length]='<a:font script="Hans" typeface="宋体"/>';t[t.length]='<a:font script="Hant" typeface="新細明體"/>';t[t.length]='<a:font script="Arab" typeface="Arial"/>';t[t.length]='<a:font script="Hebr" typeface="Arial"/>';t[t.length]='<a:font script="Thai" typeface="Tahoma"/>';t[t.length]='<a:font script="Ethi" typeface="Nyala"/>';t[t.length]='<a:font script="Beng" typeface="Vrinda"/>';t[t.length]='<a:font script="Gujr" typeface="Shruti"/>';t[t.length]='<a:font script="Khmr" typeface="DaunPenh"/>';t[t.length]='<a:font script="Knda" typeface="Tunga"/>';t[t.length]='<a:font script="Guru" typeface="Raavi"/>';t[t.length]='<a:font script="Cans" typeface="Euphemia"/>';t[t.length]='<a:font script="Cher" typeface="Plantagenet Cherokee"/>';t[t.length]='<a:font script="Yiii" typeface="Microsoft Yi Baiti"/>';t[t.length]='<a:font script="Tibt" typeface="Microsoft Himalaya"/>';t[t.length]='<a:font script="Thaa" typeface="MV Boli"/>';t[t.length]='<a:font script="Deva" typeface="Mangal"/>';t[t.length]='<a:font script="Telu" typeface="Gautami"/>';t[t.length]='<a:font script="Taml" typeface="Latha"/>';t[t.length]='<a:font script="Syrc" typeface="Estrangelo Edessa"/>';t[t.length]='<a:font script="Orya" typeface="Kalinga"/>';t[t.length]='<a:font script="Mlym" typeface="Kartika"/>';t[t.length]='<a:font script="Laoo" typeface="DokChampa"/>';t[t.length]='<a:font script="Sinh" typeface="Iskoola Pota"/>';t[t.length]='<a:font script="Mong" typeface="Mongolian Baiti"/>';t[t.length]='<a:font script="Viet" typeface="Arial"/>';t[t.length]='<a:font script="Uigh" typeface="Microsoft Uighur"/>';t[t.length]='<a:font script="Geor" typeface="Sylfaen"/>';t[t.length]="</a:minorFont>";t[t.length]="</a:fontScheme>";t[t.length]='<a:fmtScheme name="Office">';t[t.length]="<a:fillStyleLst>";t[t.length]='<a:solidFill><a:schemeClr val="phClr"/></a:solidFill>';t[t.length]='<a:gradFill rotWithShape="1">';t[t.length]="<a:gsLst>";t[t.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="50000"/><a:satMod val="300000"/></a:schemeClr></a:gs>';t[t.length]='<a:gs pos="35000"><a:schemeClr val="phClr"><a:tint val="37000"/><a:satMod val="300000"/></a:schemeClr></a:gs>';t[t.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:tint val="15000"/><a:satMod val="350000"/></a:schemeClr></a:gs>';t[t.length]="</a:gsLst>";t[t.length]='<a:lin ang="16200000" scaled="1"/>';t[t.length]="</a:gradFill>";t[t.length]='<a:gradFill rotWithShape="1">';t[t.length]="<a:gsLst>";t[t.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="100000"/><a:shade val="100000"/><a:satMod val="130000"/></a:schemeClr></a:gs>';t[t.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:tint val="50000"/><a:shade val="100000"/><a:satMod val="350000"/></a:schemeClr></a:gs>';t[t.length]="</a:gsLst>";t[t.length]='<a:lin ang="16200000" scaled="0"/>';t[t.length]="</a:gradFill>";t[t.length]="</a:fillStyleLst>";t[t.length]="<a:lnStyleLst>";t[t.length]='<a:ln w="9525" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"><a:shade val="95000"/><a:satMod val="105000"/></a:schemeClr></a:solidFill><a:prstDash val="solid"/></a:ln>';t[t.length]='<a:ln w="25400" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/></a:ln>';t[t.length]='<a:ln w="38100" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/></a:ln>';t[t.length]="</a:lnStyleLst>";t[t.length]="<a:effectStyleLst>";t[t.length]="<a:effectStyle>";t[t.length]="<a:effectLst>";t[t.length]='<a:outerShdw blurRad="40000" dist="20000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="38000"/></a:srgbClr></a:outerShdw>';t[t.length]="</a:effectLst>";t[t.length]="</a:effectStyle>";t[t.length]="<a:effectStyle>";t[t.length]="<a:effectLst>";t[t.length]='<a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="35000"/></a:srgbClr></a:outerShdw>';t[t.length]="</a:effectLst>";t[t.length]="</a:effectStyle>";t[t.length]="<a:effectStyle>";t[t.length]="<a:effectLst>";t[t.length]='<a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="35000"/></a:srgbClr></a:outerShdw>';t[t.length]="</a:effectLst>";t[t.length]='<a:scene3d><a:camera prst="orthographicFront"><a:rot lat="0" lon="0" rev="0"/></a:camera><a:lightRig rig="threePt" dir="t"><a:rot lat="0" lon="0" rev="1200000"/></a:lightRig></a:scene3d>';t[t.length]='<a:sp3d><a:bevelT w="63500" h="25400"/></a:sp3d>';t[t.length]="</a:effectStyle>";t[t.length]="</a:effectStyleLst>";t[t.length]="<a:bgFillStyleLst>";t[t.length]='<a:solidFill><a:schemeClr val="phClr"/></a:solidFill>';t[t.length]='<a:gradFill rotWithShape="1">';t[t.length]="<a:gsLst>";t[t.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="40000"/><a:satMod val="350000"/></a:schemeClr></a:gs>';t[t.length]='<a:gs pos="40000"><a:schemeClr val="phClr"><a:tint val="45000"/><a:shade val="99000"/><a:satMod val="350000"/></a:schemeClr></a:gs>';t[t.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:shade val="20000"/><a:satMod val="255000"/></a:schemeClr></a:gs>';t[t.length]="</a:gsLst>";t[t.length]='<a:path path="circle"><a:fillToRect l="50000" t="-80000" r="50000" b="180000"/></a:path>';t[t.length]="</a:gradFill>";t[t.length]='<a:gradFill rotWithShape="1">';t[t.length]="<a:gsLst>";t[t.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="80000"/><a:satMod val="300000"/></a:schemeClr></a:gs>';t[t.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:shade val="30000"/><a:satMod val="200000"/></a:schemeClr></a:gs>';t[t.length]="</a:gsLst>";t[t.length]='<a:path path="circle"><a:fillToRect l="50000" t="50000" r="50000" b="50000"/></a:path>';t[t.length]="</a:gradFill>";t[t.length]="</a:bgFillStyleLst>";t[t.length]="</a:fmtScheme>";t[t.length]="</a:themeElements>";t[t.length]="<a:objectDefaults>";t[t.length]="<a:spDef>";t[t.length]='<a:spPr/><a:bodyPr/><a:lstStyle/><a:style><a:lnRef idx="1"><a:schemeClr val="accent1"/></a:lnRef><a:fillRef idx="3"><a:schemeClr val="accent1"/></a:fillRef><a:effectRef idx="2"><a:schemeClr val="accent1"/></a:effectRef><a:fontRef idx="minor"><a:schemeClr val="lt1"/></a:fontRef></a:style>';t[t.length]="</a:spDef>";t[t.length]="<a:lnDef>";t[t.length]='<a:spPr/><a:bodyPr/><a:lstStyle/><a:style><a:lnRef idx="2"><a:schemeClr val="accent1"/></a:lnRef><a:fillRef idx="0"><a:schemeClr val="accent1"/></a:fillRef><a:effectRef idx="1"><a:schemeClr val="accent1"/></a:effectRef><a:fontRef idx="minor"><a:schemeClr val="tx1"/></a:fontRef></a:style>';t[t.length]="</a:lnDef>";t[t.length]="</a:objectDefaults>";t[t.length]="<a:extraClrSchemeLst/>";t[t.length]="</a:theme>";return t.join("")}function Nl(e,r,t){var a=e.l+r;var n=e._R(4);if(n===124226)return;if(!t.cellStyles){e.l=a;return}var i=e.slice(e.l);e.l=a;var s;try{s=Pr(i,{type:"array"})}catch(f){return}var o=Or(s,"theme/theme/theme1.xml",true);if(!o)return;return Ol(o,t)}function Fl(e){return e._R(4)}function Dl(e){var r={};r.xclrType=e._R(2);r.nTintShade=e._R(2);switch(r.xclrType){case 0:e.l+=4;break;case 1:r.xclrValue=Pl(e,4);break;case 2:r.xclrValue=ks(e,4);break;case 3:r.xclrValue=Fl(e,4);break;case 4:e.l+=4;break;}e.l+=8;return r}function Pl(e,r){return ua(e,r)}function Ll(e,r){return ua(e,r)}function Ml(e){var r=e._R(2);var t=e._R(2)-4;var a=[r];switch(r){case 4:;case 5:;case 7:;case 8:;case 9:;case 10:;case 11:;case 13:a[1]=Dl(e,t);break;case 6:a[1]=Ll(e,t);break;case 14:;case 15:a[1]=e._R(t===1?1:2);break;default:throw new Error("Unrecognized ExtProp type: "+r+" "+t);}return a}function Ul(e,r){var t=e.l+r;e.l+=2;var a=e._R(2);e.l+=2;var n=e._R(2);var i=[];while(n-- >0)i.push(Ml(e,t-e.l));return{ixfe:a,ext:i}}function Bl(e,r){r.forEach(function(e){switch(e[0]){case 4:break;case 5:break;case 6:break;case 7:break;case 8:break;case 9:break;case 10:break;case 11:break;case 13:break;case 14:break;case 15:break;}})}function Wl(e,r){return{flags:e._R(4),version:e._R(4),name:Ha(e,r-8)}}function Hl(e){var r=ha(12+2*e.name.length);r._W(4,e.flags);r._W(4,e.version);za(e.name,r);return r.slice(0,r.l)}function zl(e){var r=[];var t=e._R(4);while(t-- >0)r.push([e._R(4),e._R(4)]);return r}function Vl(e){var r=ha(4+8*e.length);r._W(4,e.length);for(var t=0;t<e.length;++t){r._W(4,e[t][0]);r._W(4,e[t][1])}return r}function Gl(e,r){var t=ha(8+2*r.length);t._W(4,e);za(r,t);return t.slice(0,t.l)}function jl(e){e.l+=4;return e._R(4)!=0}function Xl(e,r){var t=ha(8);t._W(4,e);t._W(4,r?1:0);return t}function $l(e,r,t){var a={Types:[],Cell:[],Value:[]};var n=t||{};var i=[];var s=false;var f=2;da(e,function(e,r,t){switch(t){case 335:a.Types.push({name:e.name});break;case 51:e.forEach(function(e){if(f==1)a.Cell.push({type:a.Types[e[0]-1].name,index:e[1]});else if(f==0)a.Value.push({type:a.Types[e[0]-1].name,index:e[1]})});break;case 337:f=e?1:0;break;case 338:f=2;break;case 35:i.push(t);s=true;break;case 36:i.pop();s=false;break;default:if(r.T){}else if(!s||n.WTF&&i[i.length-1]!=35)throw new Error("Unexpected record 0x"+t.toString(16));}});return a}function Yl(){var e=va();pa(e,332);pa(e,334,Wa(1));pa(e,335,Hl({name:"XLDAPR",version:12e4,flags:3496657072}));pa(e,336);pa(e,339,Gl(1,"XLDAPR"));pa(e,52);pa(e,35,Wa(514));pa(e,4096,Wa(0));pa(e,4097,rs(1));pa(e,36);pa(e,53);pa(e,340);pa(e,337,Xl(1,true));pa(e,51,Vl([[1,0]]));pa(e,338);pa(e,333);return e.end()}function Kl(e,r,t){var a={Types:[],Cell:[],Value:[]};if(!e)return a;var n=false;var i=2;var s;e.replace(Hr,function(e){var r=Gr(e);switch(jr(r[0])){case"<?xml":break;case"<metadata":;case"</metadata>":break;case"<metadataTypes":;case"</metadataTypes>":break;case"<metadataType":a.Types.push({name:r.name});break;case"</metadataType>":break;case"<futureMetadata":for(var f=0;f<a.Types.length;++f)if(a.Types[f].name==r.name)s=a.Types[f];break;case"</futureMetadata>":break;case"<bk>":-break;case"</bk>":break;case"<rc":if(i==1)a.Cell.push({type:a.Types[r.t-1].name,index:+r.v});else if(i==0)a.Value.push({type:a.Types[r.t-1].name,index:+r.v});break;case"</rc>":break;case"<cellMetadata":i=1;break;case"</cellMetadata>":i=2;break;case"<valueMetadata":i=0;break;case"</valueMetadata>":i=2;break;case"<extLst":;case"<extLst>":;case"</extLst>":;case"<extLst/>":break;case"<ext":n=true;break;case"</ext>":n=false;break;case"<rvb":if(!s)break;if(!s.offsets)s.offsets=[];s.offsets.push(+r.i);break;default:if(!n&&t.WTF)throw new Error("unrecognized "+r[0]+" in metadata");}return e});return a}function Jl(){var e=[Mr];e.push('<metadata xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" xmlns:xlrd="http://schemas.microsoft.com/office/spreadsheetml/2017/richdata" xmlns:xda="http://schemas.microsoft.com/office/spreadsheetml/2017/dynamicarray">\n <metadataTypes count="1">\n <metadataType name="XLDAPR" minSupportedVersion="120000" copy="1" pasteAll="1" pasteValues="1" merge="1" splitFirst="1" rowColShift="1" clearFormats="1" clearComments="1" assign="1" coerce="1" cellMeta="1"/>\n </metadataTypes>\n <futureMetadata name="XLDAPR" count="1">\n <bk>\n <extLst>\n <ext uri="{bdbb8cdc-fa1e-496e-a857-3c3f30c029c3}">\n <xda:dynamicArrayProperties fDynamic="1" fCollapsed="0"/>\n </ext>\n </extLst>\n </bk>\n </futureMetadata>\n <cellMetadata count="1">\n <bk>\n <rc t="1" v="0"/>\n </bk>\n </cellMetadata>\n</metadata>');return e.join("")}function ql(e){var r=[];if(!e)return r;var t=1;(e.match(Hr)||[]).forEach(function(e){var a=Gr(e);switch(a[0]){case"<?xml":break;case"<calcChain":;case"<calcChain>":;case"</calcChain>":break;case"<c":delete a[0];if(a.i)t=a.i;else a.i=t;r.push(a);break;}});return r}function Zl(e){var r={};r.i=e._R(4);var t={};t.r=e._R(4);t.c=e._R(4);r.r=Oa(t);var a=e._R(1);if(a&2)r.l="1";if(a&8)r.a="1";return r}function Ql(e,r,t){var a=[];var n=false;da(e,function i(e,r,s){switch(s){case 63:a.push(e);break;default:if(r.T){}else if(!n||t.WTF)throw new Error("Unexpected record 0x"+s.toString(16));}});return a}function eu(){}function ru(e,r,t,a){if(!e)return e;var n=a||{};var i=false,s=false;da(e,function f(e,r,t){if(s)return;switch(t){case 359:;case 363:;case 364:;case 366:;case 367:;case 368:;case 369:;case 370:;case 371:;case 472:;case 577:;case 578:;case 579:;case 580:;case 581:;case 582:;case 583:;case 584:;case 585:;case 586:;case 587:break;case 35:i=true;break;case 36:i=false;break;default:if(r.T){}else if(!i||n.WTF)throw new Error("Unexpected record 0x"+t.toString(16));}},n)}function tu(e,r){if(!e)return"??";var t=(e.match(/<c:chart [^>]*r:id="([^"]*)"/)||["",""])[1];return r["!id"][t].Target}var au=1024;function nu(e,r){var t=[21600,21600];var a=["m0,0l0",t[1],t[0],t[1],t[0],"0xe"].join(",");var n=[kt("xml",null,{"xmlns:v":xt.v,"xmlns:o":xt.o,"xmlns:x":xt.x,"xmlns:mv":xt.mv}).replace(/\/>/,">"),kt("o:shapelayout",kt("o:idmap",null,{"v:ext":"edit",data:e}),{"v:ext":"edit"}),kt("v:shapetype",[kt("v:stroke",null,{joinstyle:"miter"}),kt("v:path",null,{gradientshapeok:"t","o:connecttype":"rect"})].join(""),{id:"_x0000_t202","o:spt":202,coordsize:t.join(","),path:a})];while(au<e*1e3)au+=1e3;r.forEach(function(e){var r=Ra(e[0]);var t={color2:"#BEFF82",type:"gradient"};if(t.type=="gradient")t.angle="-180";var a=t.type=="gradient"?kt("o:fill",null,{type:"gradientUnscaled","v:ext":"view"}):null;var i=kt("v:fill",a,t);var s={on:"t",obscured:"t"};++au;n=n.concat(["<v:shape"+wt({id:"_x0000_s"+au,type:"#_x0000_t202",style:"position:absolute; margin-left:80pt;margin-top:5pt;width:104pt;height:64pt;z-index:10"+(e[1].hidden?";visibility:hidden":""),fillcolor:"#ECFAD4",strokecolor:"#edeaa1"})+">",i,kt("v:shadow",null,s),kt("v:path",null,{"o:connecttype":"none"}),'<v:textbox><div style="text-align:left"></div></v:textbox>','<x:ClientData ObjectType="Note">',"<x:MoveWithCells/>","<x:SizeWithCells/>",gt("x:Anchor",[r.c+1,0,r.r+1,0,r.c+3,20,r.r+5,20].join(",")),gt("x:AutoFill","False"),gt("x:Row",String(r.r)),gt("x:Column",String(r.c)),e[1].hidden?"":"<x:Visible/>","</x:ClientData>","</v:shape>"])});n.push("</xml>");return n.join("")}function iu(e,r,t,a){var n=Array.isArray(e);var i;r.forEach(function(r){var s=Ra(r.ref);if(n){if(!e[s.r])e[s.r]=[];i=e[s.r][s.c]}else i=e[r.ref];if(!i){i={t:"z"};if(n)e[s.r][s.c]=i;else e[r.ref]=i;var f=Fa(e["!ref"]||"BDWGO1000001:A1");if(f.s.r>s.r)f.s.r=s.r;if(f.e.r<s.r)f.e.r=s.r;if(f.s.c>s.c)f.s.c=s.c;if(f.e.c<s.c)f.e.c=s.c;var o=Na(f);if(o!==e["!ref"])e["!ref"]=o}if(!i.c)i.c=[];var c={a:r.author,t:r.t,r:r.r,T:t};if(r.h)c.h=r.h;for(var l=i.c.length-1;l>=0;--l){if(!t&&i.c[l].T)return;if(t&&!i.c[l].T)i.c.splice(l,1)}if(t&&a)for(l=0;l<a.length;++l){if(c.a==a[l].id){c.a=a[l].name||c.a;break}}i.c.push(c)})}function su(e,r){if(e.match(/<(?:\w+:)?comments *\/>/))return[];var t=[];var a=[];var n=e.match(/<(?:\w+:)?authors>([\s\S]*)<\/(?:\w+:)?authors>/);if(n&&n[1])n[1].split(/<\/\w*:?author>/).forEach(function(e){if(e===""||e.trim()==="")return;var r=e.match(/<(?:\w+:)?author[^>]*>(.*)/);if(r)t.push(r[1])});var i=e.match(/<(?:\w+:)?commentList>([\s\S]*)<\/(?:\w+:)?commentList>/);if(i&&i[1])i[1].split(/<\/\w*:?comment>/).forEach(function(e){if(e===""||e.trim()==="")return;var n=e.match(/<(?:\w+:)?comment[^>]*>/);if(!n)return;var i=Gr(n[0]);var s={author:i.authorId&&t[i.authorId]||"sheetjsghost",ref:i.ref,guid:i.guid};var f=Ra(i.ref);if(r.sheetRows&&r.sheetRows<=f.r)return;var o=e.match(/<(?:\w+:)?text>([\s\S]*)<\/(?:\w+:)?text>/);var c=!!o&&!!o[1]&&Po(o[1])||{r:"",t:"",h:""};s.r=c.r;if(c.r=="<t></t>")c.t=c.h="";s.t=(c.t||"").replace(/\r\n/g,"\n").replace(/\r/g,"\n");if(r.cellHTML)s.h=c.h;a.push(s)});return a}function fu(e){var r=[Mr,kt("comments",null,{xmlns:At[0]})];var t=[];r.push("<authors>");e.forEach(function(e){e[1].forEach(function(e){var a=qr(e.a);if(t.indexOf(a)==-1){t.push(a);r.push("<author>"+a+"</author>")}if(e.T&&e.ID&&t.indexOf("tc="+e.ID)==-1){t.push("tc="+e.ID);r.push("<author>"+"tc="+e.ID+"</author>")}})});if(t.length==0){t.push("SheetJ5");r.push("<author>SheetJ5</author>")}r.push("</authors>");r.push("<commentList>");e.forEach(function(e){var a=0,n=[];if(e[1][0]&&e[1][0].T&&e[1][0].ID)a=t.indexOf("tc="+e[1][0].ID);else e[1].forEach(function(e){if(e.a)a=t.indexOf(qr(e.a));n.push(e.t||"")});r.push('<comment ref="'+e[0]+'" authorId="'+a+'"><text>');if(n.length<=1)r.push(gt("t",qr(n[0]||"")));else{var i="Comment:\n "+n[0]+"\n";for(var s=1;s<n.length;++s)i+="Reply:\n "+n[s]+"\n";r.push(gt("t",qr(i)))}r.push("</text></comment>")});r.push("</commentList>");if(r.length>2){r[r.length]="</comments>";r[1]=r[1].replace("/>",">")}return r.join("")}function ou(e,r){var t=[];var a=false,n={},i=0;e.replace(Hr,function s(f,o){var c=Gr(f);switch(jr(c[0])){case"<?xml":break;case"<ThreadedComments":break;case"</ThreadedComments>":break;case"<threadedComment":n={author:c.personId,guid:c.id,ref:c.ref,T:1};break;case"</threadedComment>":if(n.t!=null)t.push(n);break;case"<text>":;case"<text":i=o+f.length;break;case"</text>":n.t=e.slice(i,o).replace(/\r\n/g,"\n").replace(/\r/g,"\n");break;case"<mentions":;case"<mentions>":a=true;break;case"</mentions>":a=false;break;case"<extLst":;case"<extLst>":;case"</extLst>":;case"<extLst/>":break;case"<ext":a=true;break;case"</ext>":a=false;break;default:if(!a&&r.WTF)throw new Error("unrecognized "+c[0]+" in threaded comments");}return f});return t}function cu(e,r,t){var a=[Mr,kt("ThreadedComments",null,{xmlns:_t.TCMNT}).replace(/[\/]>/,">")];e.forEach(function(e){var n="";(e[1]||[]).forEach(function(i,s){if(!i.T){delete i.ID;return}if(i.a&&r.indexOf(i.a)==-1)r.push(i.a);var f={ref:e[0],id:"{54EE7951-7262-4200-6969-"+("000000000000"+t.tcid++).slice(-12)+"}"};if(s==0)n=f.id;else f.parentId=n;i.ID=f.id;if(i.a)f.personId="{54EE7950-7262-4200-6969-"+("000000000000"+r.indexOf(i.a)).slice(-12)+"}";a.push(kt("threadedComment",gt("text",i.t||""),f))})});a.push("</ThreadedComments>");return a.join("")}function lu(e,r){var t=[];var a=false;e.replace(Hr,function n(e){var n=Gr(e);switch(jr(n[0])){case"<?xml":break;case"<personList":break;case"</personList>":break;case"<person":t.push({name:n.displayname,id:n.id});break;case"</person>":break;case"<extLst":;case"<extLst>":;case"</extLst>":;case"<extLst/>":break;case"<ext":a=true;break;case"</ext>":a=false;break;default:if(!a&&r.WTF)throw new Error("unrecognized "+n[0]+" in threaded comments");}return e});return t}function uu(e){var r=[Mr,kt("personList",null,{xmlns:_t.TCMNT,"xmlns:x":At[0]}).replace(/[\/]>/,">")];e.forEach(function(e,t){r.push(kt("person",null,{displayName:e,id:"{54EE7950-7262-4200-6969-"+("000000000000"+t).slice(-12)+"}",userId:e,providerId:"None"}))});r.push("</personList>");return r.join("")}function hu(e){var r={};r.iauthor=e._R(4);var t=un(e,16);r.rfx=t.s;r.ref=Oa(t.s);e.l+=16;return r}function du(e,r){if(r==null)r=ha(36);r._W(4,e[1].iauthor);hn(e[0],r);r._W(4,0);r._W(4,0);r._W(4,0);r._W(4,0);return r}var vu=Ha;function pu(e){return za(e.slice(0,54))}function mu(e,r){var t=[];var a=[];var n={};var i=false;da(e,function s(e,f,o){switch(o){case 632:a.push(e);break;case 635:n=e;break;case 637:n.t=e.t;n.h=e.h;n.r=e.r;break;case 636:n.author=a[n.iauthor];delete n.iauthor;if(r.sheetRows&&n.rfx&&r.sheetRows<=n.rfx.r)break;if(!n.t)n.t="";delete n.rfx;t.push(n);break;case 3072:break;case 35:i=true;break;case 36:i=false;break;case 37:break;case 38:break;default:if(f.T){}else if(!i||r.WTF)throw new Error("Unexpected record 0x"+o.toString(16));}});return t}function bu(e){var r=va();var t=[];pa(r,628);pa(r,630);e.forEach(function(e){e[1].forEach(function(e){if(t.indexOf(e.a)>-1)return;t.push(e.a.slice(0,54));pa(r,632,pu(e.a))})});pa(r,631);pa(r,633);e.forEach(function(e){e[1].forEach(function(a){a.iauthor=t.indexOf(a.a);var n={s:Ra(e[0]),e:Ra(e[0])};pa(r,635,du([n,a]));if(a.t&&a.t.length>0)pa(r,637,Ya(a));pa(r,636);delete a.iauthor})});pa(r,634);pa(r,629);return r.end()}var gu="application/vnd.ms-office.vbaProject";function wu(e){var r=Ke.utils.cfb_new({root:"R"});e.FullPaths.forEach(function(t,a){if(t.slice(-1)==="/"||!t.match(/_VBA_PROJECT_CUR/))return;var n=t.replace(/^[^\/]*/,"R").replace(/\/_VBA_PROJECT_CUR\u0000*/,"");Ke.utils.cfb_add(r,n,e.FileIndex[a].content)});return Ke.write(r)}function ku(e,r){r.FullPaths.forEach(function(t,a){if(a==0)return;var n=t.replace(/[^\/]*[\/]/,"/_VBA_PROJECT_CUR/");if(n.slice(-1)!=="/")Ke.utils.cfb_add(e,n,r.FileIndex[a].content)})}var Tu=["xlsb","xlsm","xlam","biff8","xla"];function Eu(){return{"!type":"dialog"}}function yu(){return{"!type":"dialog"}}function Su(){return{"!type":"macro"}}function _u(){return{"!type":"macro"}}var Au=function(){var e=/(^|[^A-Za-z_])R(\[?-?\d+\]|[1-9]\d*|)C(\[?-?\d+\]|[1-9]\d*|)(?![A-Za-z0-9_])/g;var r={r:0,c:0};function t(e,t,a,n){var i=false,s=false;if(a.length==0)s=true;else if(a.charAt(0)=="["){s=true;a=a.slice(1,-1)}if(n.length==0)i=true;else if(n.charAt(0)=="["){i=true;n=n.slice(1,-1)}var f=a.length>0?parseInt(a,10)|0:0,o=n.length>0?parseInt(n,10)|0:0;if(i)o+=r.c;else--o;if(s)f+=r.r;else--f;return t+(i?"":"$")+_a(o)+(s?"":"$")+Ta(f)}return function a(n,i){r=i;return n.replace(e,t)}}();var xu=/(^|[^._A-Z0-9])([$]?)([A-Z]{1,2}|[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D])([$]?)(10[0-3]\d{4}|104[0-7]\d{3}|1048[0-4]\d{2}|10485[0-6]\d|104857[0-6]|[1-9]\d{0,5})(?![_.\(A-Za-z0-9])/g;var Cu=function(){return function e(r,t){return r.replace(xu,function(e,r,a,n,i,s){var f=Sa(n)-(a?0:t.c);var o=ka(s)-(i?0:t.r);var c=o==0?"":!i?"["+o+"]":o+1;var l=f==0?"":!a?"["+f+"]":f+1;return r+"R"+c+"C"+l})}}();function Ru(e,r){return e.replace(xu,function(e,t,a,n,i,s){return t+(a=="$"?a+n:_a(Sa(n)+r.c))+(i=="$"?i+s:Ta(ka(s)+r.r))})}function Ou(e,r,t){var a=Ia(r),n=a.s,i=Ra(t);var s={r:i.r-n.r,c:i.c-n.c};return Ru(e,s)}function Iu(e){if(e.length==1)return false;return true}function Nu(e){return e.replace(/_xlfn\./g,"")}function Fu(e){e.l+=1;return}function Du(e,r){var t=e._R(r==1?1:2);return[t&16383,t>>14&1,t>>15&1]}function Pu(e,r,t){var a=2;if(t){if(t.biff>=2&&t.biff<=5)return Lu(e,r,t);else if(t.biff==12)a=4}var n=e._R(a),i=e._R(a);var s=Du(e,2);var f=Du(e,2);return{s:{r:n,c:s[0],cRel:s[1],rRel:s[2]},e:{r:i,c:f[0],cRel:f[1],rRel:f[2]}}}function Lu(e){var r=Du(e,2),t=Du(e,2);var a=e._R(1);var n=e._R(1);return{s:{r:r[0],c:a,cRel:r[1],rRel:r[2]},e:{r:t[0],c:n,cRel:t[1],rRel:t[2]}}}function Mu(e,r,t){if(t.biff<8)return Lu(e,r,t);var a=e._R(t.biff==12?4:2),n=e._R(t.biff==12?4:2);var i=Du(e,2);var s=Du(e,2);return{s:{r:a,c:i[0],cRel:i[1],rRel:i[2]},e:{r:n,c:s[0],cRel:s[1],rRel:s[2]}}}function Uu(e,r,t){if(t&&t.biff>=2&&t.biff<=5)return Bu(e,r,t);var a=e._R(t&&t.biff==12?4:2);var n=Du(e,2);return{r:a,c:n[0],cRel:n[1],rRel:n[2]}}function Bu(e){var r=Du(e,2);var t=e._R(1);return{r:r[0],c:t,cRel:r[1],rRel:r[2]}}function Wu(e){var r=e._R(2);var t=e._R(2);return{r:r,c:t&255,fQuoted:!!(t&16384),cRel:t>>15,rRel:t>>15}}function Hu(e,r,t){var a=t&&t.biff?t.biff:8;if(a>=2&&a<=5)return zu(e,r,t);var n=e._R(a>=12?4:2);var i=e._R(2);var s=(i&16384)>>14,f=(i&32768)>>15;i&=16383;if(f==1)while(n>524287)n-=1048576;if(s==1)while(i>8191)i=i-16384;return{r:n,c:i,cRel:s,rRel:f}}function zu(e){var r=e._R(2);var t=e._R(1);var a=(r&32768)>>15,n=(r&16384)>>14;r&=16383;if(a==1&&r>=8192)r=r-16384;if(n==1&&t>=128)t=t-256;return{r:r,c:t,cRel:n,rRel:a}}function Vu(e,r,t){var a=(e[e.l++]&96)>>5;var n=Pu(e,t.biff>=2&&t.biff<=5?6:8,t);return[a,n]}function Gu(e,r,t){var a=(e[e.l++]&96)>>5;var n=e._R(2,"i");var i=8;if(t)switch(t.biff){case 5:e.l+=12;i=6;break;case 12:i=12;break;}var s=Pu(e,i,t);return[a,n,s]}function ju(e,r,t){var a=(e[e.l++]&96)>>5;e.l+=t&&t.biff>8?12:t.biff<8?6:8;return[a]}function Xu(e,r,t){var a=(e[e.l++]&96)>>5;var n=e._R(2);var i=8;if(t)switch(t.biff){case 5:e.l+=12;i=6;break;case 12:i=12;break;}e.l+=i;return[a,n]}function $u(e,r,t){var a=(e[e.l++]&96)>>5;var n=Mu(e,r-1,t);return[a,n]}function Yu(e,r,t){var a=(e[e.l++]&96)>>5;e.l+=t.biff==2?6:t.biff==12?14:7;return[a]}function Ku(e){var r=e[e.l+1]&1;var t=1;e.l+=4;return[r,t]}function Ju(e,r,t){e.l+=2;var a=e._R(t&&t.biff==2?1:2);var n=[];for(var i=0;i<=a;++i)n.push(e._R(t&&t.biff==2?1:2));return n}function qu(e,r,t){var a=e[e.l+1]&255?1:0;e.l+=2;return[a,e._R(t&&t.biff==2?1:2)]}function Zu(e,r,t){var a=e[e.l+1]&255?1:0;e.l+=2;return[a,e._R(t&&t.biff==2?1:2)]}function Qu(e){var r=e[e.l+1]&255?1:0;e.l+=2;return[r,e._R(2)]}function eh(e,r,t){var a=e[e.l+1]&255?1:0;e.l+=t&&t.biff==2?3:4;return[a]}function rh(e){var r=e._R(1),t=e._R(1);return[r,t]}function th(e){e._R(2);return rh(e,2)}function ah(e){e._R(2);return rh(e,2)}function nh(e,r,t){var a=(e[e.l]&96)>>5;e.l+=1;var n=Uu(e,0,t);return[a,n]}function ih(e,r,t){var a=(e[e.l]&96)>>5;e.l+=1;var n=Hu(e,0,t);return[a,n]}function sh(e,r,t){var a=(e[e.l]&96)>>5;e.l+=1;var n=e._R(2);if(t&&t.biff==5)e.l+=12;var i=Uu(e,0,t);return[a,n,i]}function fh(e,r,t){var a=(e[e.l]&96)>>5;e.l+=1;var n=e._R(t&&t.biff<=3?1:2);return[yd[n],Ed[n],a]}function oh(e,r,t){var a=e[e.l++];var n=e._R(1),i=t&&t.biff<=3?[a==88?-1:0,e._R(1)]:ch(e);return[n,(i[0]===0?Ed:Td)[i[1]]]}function ch(e){return[e[e.l+1]>>7,e._R(2)&32767]}function lh(e,r,t){e.l+=t&&t.biff==2?3:4;return}function uh(e,r,t){e.l++;if(t&&t.biff==12)return[e._R(4,"i"),0];var a=e._R(2);var n=e._R(t&&t.biff==2?1:2);return[a,n]}function hh(e){e.l++;return Gn[e._R(1)]}function dh(e){e.l++;return e._R(2)}function vh(e){e.l++;return e._R(1)!==0}function ph(e){e.l++;return dn(e,8)}function mh(e,r,t){e.l++;return is(e,r-1,t)}function bh(e,r){var t=[e._R(1)];if(r==12)switch(t[0]){case 2:t[0]=4;break;case 4:t[0]=16;break;case 0:t[0]=1;break;case 1:t[0]=2;break;}switch(t[0]){case 4:t[1]=Zi(e,1)?"TRUE":"FALSE";if(r!=12)e.l+=7;break;case 37:;case 16:t[1]=Gn[e[e.l]];e.l+=r==12?4:8;break;case 0:e.l+=8;break;case 1:t[1]=dn(e,8);break;case 2:t[1]=ls(e,0,{biff:r>0&&r<8?2:r});break;default:throw new Error("Bad SerAr: "+t[0]);}return t}function gh(e,r,t){var a=e._R(t.biff==12?4:2);var n=[];for(var i=0;i!=a;++i)n.push((t.biff==12?un:Rs)(e,8));return n}function wh(e,r,t){var a=0,n=0;if(t.biff==12){a=e._R(4);n=e._R(4)}else{n=1+e._R(1);a=1+e._R(2)}if(t.biff>=2&&t.biff<8){--a;if(--n==0)n=256}for(var i=0,s=[];i!=a&&(s[i]=[]);++i)for(var f=0;f!=n;++f)s[i][f]=bh(e,t.biff);return s}function kh(e,r,t){var a=e._R(1)>>>5&3;var n=!t||t.biff>=8?4:2;var i=e._R(n);switch(t.biff){case 2:e.l+=5;break;case 3:;case 4:e.l+=8;break;case 5:e.l+=12;break;}return[a,0,i]}function Th(e,r,t){if(t.biff==5)return Eh(e,r,t);var a=e._R(1)>>>5&3;var n=e._R(2);var i=e._R(4);return[a,n,i]}function Eh(e){var r=e._R(1)>>>5&3;var t=e._R(2,"i");e.l+=8;var a=e._R(2);e.l+=12;return[r,t,a]}function yh(e,r,t){var a=e._R(1)>>>5&3;e.l+=t&&t.biff==2?3:4;var n=e._R(t&&t.biff==2?1:2);return[a,n]}function Sh(e,r,t){var a=e._R(1)>>>5&3;var n=e._R(t&&t.biff==2?1:2);return[a,n]}function _h(e,r,t){var a=e._R(1)>>>5&3;e.l+=4;if(t.biff<8)e.l--;if(t.biff==12)e.l+=2;return[a]}function Ah(e,r,t){var a=(e[e.l++]&96)>>5;var n=e._R(2);var i=4;if(t)switch(t.biff){case 5:i=15;break;case 12:i=6;break;}e.l+=i;return[a,n]}var xh=ua;var Ch=ua;var Rh=ua;function Oh(e,r,t){e.l+=2;return[Wu(e,4,t)]}function Ih(e){e.l+=6;return[]}var Nh=Oh;var Fh=Ih;var Dh=Ih;var Ph=Oh;function Lh(e){e.l+=2;return[es(e),e._R(2)&1]}var Mh=Oh;var Uh=Lh;var Bh=Ih;var Wh=Oh;var Hh=Oh;var zh=["Data","All","Headers","??","?Data2","??","?DataHeaders","??","Totals","??","??","??","?DataTotals","??","??","??","?Current"];function Vh(e){e.l+=2;var r=e._R(2);var t=e._R(2);var a=e._R(4);var n=e._R(2);var i=e._R(2);var s=zh[t>>2&31];return{ixti:r,coltype:t&3,rt:s,idx:a,c:n,C:i}}function Gh(e){e.l+=2;return[e._R(4)]}function jh(e,r,t){e.l+=5;e.l+=2;e.l+=t.biff==2?1:4;return["PTGSHEET"]}function Xh(e,r,t){e.l+=t.biff==2?4:5;return["PTGENDSHEET"]}function $h(e){var r=e._R(1)>>>5&3;var t=e._R(2);return[r,t]}function Yh(e){var r=e._R(1)>>>5&3;var t=e._R(2);return[r,t]}function Kh(e){e.l+=4;return[0,0]}var Jh={1:{n:"PtgExp",f:uh},2:{n:"PtgTbl",f:Rh},3:{n:"PtgAdd",f:Fu},4:{n:"PtgSub",f:Fu},5:{n:"PtgMul",f:Fu},6:{n:"PtgDiv",f:Fu},7:{n:"PtgPower",f:Fu},8:{n:"PtgConcat",f:Fu},9:{n:"PtgLt",f:Fu},10:{n:"PtgLe",f:Fu},11:{n:"PtgEq",f:Fu},12:{n:"PtgGe",f:Fu},13:{n:"PtgGt",f:Fu},14:{n:"PtgNe",f:Fu},15:{n:"PtgIsect",f:Fu},16:{n:"PtgUnion",f:Fu},17:{n:"PtgRange",f:Fu},18:{n:"PtgUplus",f:Fu},19:{n:"PtgUminus",f:Fu},20:{n:"PtgPercent",f:Fu},21:{n:"PtgParen",f:Fu},22:{n:"PtgMissArg",f:Fu},23:{n:"PtgStr",f:mh},26:{n:"PtgSheet",f:jh},27:{n:"PtgEndSheet",f:Xh},28:{n:"PtgErr",f:hh},29:{n:"PtgBool",f:vh},30:{n:"PtgInt",f:dh},31:{n:"PtgNum",f:ph},32:{n:"PtgArray",f:Yu},33:{n:"PtgFunc",f:fh},34:{n:"PtgFuncVar",f:oh},35:{n:"PtgName",f:kh},36:{n:"PtgRef",f:nh},37:{n:"PtgArea",f:Vu},38:{n:"PtgMemArea",f:yh},39:{n:"PtgMemErr",f:xh},40:{n:"PtgMemNoMem",f:Ch},41:{n:"PtgMemFunc",f:Sh},42:{n:"PtgRefErr",f:_h},43:{n:"PtgAreaErr",f:ju},44:{n:"PtgRefN",f:ih},45:{n:"PtgAreaN",f:$u},46:{n:"PtgMemAreaN",f:$h},47:{n:"PtgMemNoMemN",f:Yh},57:{n:"PtgNameX",f:Th},58:{n:"PtgRef3d",f:sh},59:{n:"PtgArea3d",f:Gu},60:{n:"PtgRefErr3d",f:Ah},61:{n:"PtgAreaErr3d",f:Xu},255:{}};var qh={64:32,96:32,65:33,97:33,66:34,98:34,67:35,99:35,68:36,100:36,69:37,101:37,70:38,102:38,71:39,103:39,72:40,104:40,73:41,105:41,74:42,106:42,75:43,107:43,76:44,108:44,77:45,109:45,78:46,110:46,79:47,111:47,88:34,120:34,89:57,121:57,90:58,122:58,91:59,123:59,92:60,124:60,93:61,125:61};var Zh={1:{n:"PtgElfLel",f:Lh},2:{n:"PtgElfRw",f:Wh},3:{n:"PtgElfCol",f:Nh},6:{n:"PtgElfRwV",f:Hh},7:{n:"PtgElfColV",f:Ph},10:{n:"PtgElfRadical",f:Mh},11:{n:"PtgElfRadicalS",f:Bh},13:{n:"PtgElfColS",f:Fh},15:{n:"PtgElfColSV",f:Dh},16:{n:"PtgElfRadicalLel",f:Uh},25:{n:"PtgList",f:Vh},29:{n:"PtgSxName",f:Gh},255:{}};var Qh={0:{n:"PtgAttrNoop",f:Kh},1:{n:"PtgAttrSemi",f:eh},2:{n:"PtgAttrIf",f:Zu},4:{n:"PtgAttrChoose",f:Ju},8:{n:"PtgAttrGoto",f:qu},16:{n:"PtgAttrSum",f:lh},32:{n:"PtgAttrBaxcel",f:Ku},33:{n:"PtgAttrBaxcel",f:Ku},64:{n:"PtgAttrSpace",f:th},65:{n:"PtgAttrSpaceSemi",f:ah},128:{n:"PtgAttrIfError",f:Qu},255:{}};function ed(e,r,t,a){if(a.biff<8)return ua(e,r);var n=e.l+r;var i=[];for(var s=0;s!==t.length;++s){switch(t[s][0]){case"PtgArray":t[s][1]=wh(e,0,a);i.push(t[s][1]);break;case"PtgMemArea":t[s][2]=gh(e,t[s][1],a);i.push(t[s][2]);break;case"PtgExp":if(a&&a.biff==12){t[s][1][1]=e._R(4);i.push(t[s][1])}break;case"PtgList":;case"PtgElfRadicalS":;case"PtgElfColS":;case"PtgElfColSV":throw"Unsupported "+t[s][0];default:break;}}r=n-e.l;if(r!==0)i.push(ua(e,r));return i}function rd(e,r,t){var a=e.l+r;var n,i,s=[];while(a!=e.l){r=a-e.l;i=e[e.l];n=Jh[i]||Jh[qh[i]];if(i===24||i===25)n=(i===24?Zh:Qh)[e[e.l+1]];if(!n||!n.f){ua(e,r)}else{s.push([n.n,n.f(e,r,t)])}}return s}function td(e){var r=[];for(var t=0;t<e.length;++t){var a=e[t],n=[];for(var i=0;i<a.length;++i){var s=a[i];if(s)switch(s[0]){case 2:n.push('"'+s[1].replace(/"/g,'""')+'"');break;default:n.push(s[1]);}else n.push("")}r.push(n.join(","))}return r.join(";")}var ad={PtgAdd:"+",PtgConcat:"&",PtgDiv:"/",PtgEq:"=",PtgGe:">=",PtgGt:">",PtgLe:"<=",PtgLt:"<",PtgMul:"*",PtgNe:"<>",PtgPower:"^",PtgSub:"-"};function nd(e,r){if(!e&&!(r&&r.biff<=5&&r.biff>=2))throw new Error("empty sheet name");if(/[^\w\u4E00-\u9FFF\u3040-\u30FF]/.test(e))return"'"+e+"'";return e}function id(e,r,t){if(!e)return"SH33TJSERR0";if(t.biff>8&&(!e.XTI||!e.XTI[r]))return e.SheetNames[r];if(!e.XTI)return"SH33TJSERR6";var a=e.XTI[r];if(t.biff<8){if(r>1e4)r-=65536;if(r<0)r=-r;return r==0?"":e.XTI[r-1]}if(!a)return"SH33TJSERR1";var n="";if(t.biff>8)switch(e[a[0]][0]){case 357:n=a[1]==-1?"#REF":e.SheetNames[a[1]];return a[1]==a[2]?n:n+":"+e.SheetNames[a[2]];case 358:if(t.SID!=null)return e.SheetNames[t.SID];return"SH33TJSSAME"+e[a[0]][0];case 355:;default:return"SH33TJSSRC"+e[a[0]][0];}switch(e[a[0]][0][0]){case 1025:n=a[1]==-1?"#REF":e.SheetNames[a[1]]||"SH33TJSERR3";return a[1]==a[2]?n:n+":"+e.SheetNames[a[2]];case 14849:return e[a[0]].slice(1).map(function(e){return e.Name}).join(";;");default:if(!e[a[0]][0][3])return"SH33TJSERR2";n=a[1]==-1?"#REF":e[a[0]][0][3][a[1]]||"SH33TJSERR4";return a[1]==a[2]?n:n+":"+e[a[0]][0][3][a[2]];}}function sd(e,r,t){var a=id(e,r,t);return a=="#REF"?a:nd(a,t)}function fd(e,r,t,a,n){var i=n&&n.biff||8;var s={s:{c:0,r:0},e:{c:0,r:0}};var f=[],o,c,l,u=0,h=0,d,v="";if(!e[0]||!e[0][0])return"";var p=-1,m="";for(var b=0,g=e[0].length;b<g;++b){var w=e[0][b];switch(w[0]){case"PtgUminus":f.push("-"+f.pop());break;case"PtgUplus":f.push("+"+f.pop());break;case"PtgPercent":f.push(f.pop()+"%");break;case"PtgAdd":;case"PtgConcat":;case"PtgDiv":;case"PtgEq":;case"PtgGe":;case"PtgGt":;case"PtgLe":;case"PtgLt":;case"PtgMul":;case"PtgNe":;case"PtgPower":;case"PtgSub":o=f.pop();c=f.pop();if(p>=0){switch(e[0][p][1][0]){case 0:m=wr(" ",e[0][p][1][1]);break;case 1:m=wr("\r",e[0][p][1][1]);break;default:m="";if(n.WTF)throw new Error("Unexpected PtgAttrSpaceType "+e[0][p][1][0]);}c=c+m;p=-1}f.push(c+ad[w[0]]+o);break;case"PtgIsect":o=f.pop();c=f.pop();f.push(c+" "+o);break;case"PtgUnion":o=f.pop();c=f.pop();f.push(c+","+o);break;case"PtgRange":o=f.pop();c=f.pop();f.push(c+":"+o);break;case"PtgAttrChoose":break;case"PtgAttrGoto":break;case"PtgAttrIf":break;case"PtgAttrIfError":break;case"PtgRef":l=ma(w[1][1],s,n);f.push(ga(l,i));break;case"PtgRefN":l=t?ma(w[1][1],t,n):w[1][1];f.push(ga(l,i));break;case"PtgRef3d":u=w[1][1];l=ma(w[1][2],s,n);v=sd(a,u,n);var k=v;f.push(v+"!"+ga(l,i));break;case"PtgFunc":;case"PtgFuncVar":var T=w[1][0],E=w[1][1];if(!T)T=0;T&=127;var y=T==0?[]:f.slice(-T);f.length-=T;if(E==="User")E=y.shift();f.push(E+"("+y.join(",")+")");break;case"PtgBool":f.push(w[1]?"TRUE":"FALSE");break;case"PtgInt":f.push(w[1]);break;case"PtgNum":f.push(String(w[1]));break;case"PtgStr":f.push('"'+w[1].replace(/"/g,'""')+'"');break;case"PtgErr":f.push(w[1]);break;case"PtgAreaN":d=ba(w[1][1],t?{s:t}:s,n);f.push(wa(d,n));break;case"PtgArea":d=ba(w[1][1],s,n);f.push(wa(d,n));break;case"PtgArea3d":u=w[1][1];d=w[1][2];v=sd(a,u,n);f.push(v+"!"+wa(d,n));break;case"PtgAttrSum":f.push("SUM("+f.pop()+")");break;case"PtgAttrBaxcel":;case"PtgAttrSemi":break;case"PtgName":h=w[1][2];var S=(a.names||[])[h-1]||(a[0]||[])[h];var _=S?S.Name:"SH33TJSNAME"+String(h);if(_&&_.slice(0,6)=="_xlfn."&&!n.xlfn)_=_.slice(6);f.push(_);break;case"PtgNameX":var A=w[1][1];h=w[1][2];var x;if(n.biff<=5){if(A<0)A=-A;if(a[A])x=a[A][h]}else{var C="";if(((a[A]||[])[0]||[])[0]==14849){}else if(((a[A]||[])[0]||[])[0]==1025){if(a[A][h]&&a[A][h].itab>0){C=a.SheetNames[a[A][h].itab-1]+"!"}}else C=a.SheetNames[h-1]+"!";if(a[A]&&a[A][h])C+=a[A][h].Name;else if(a[0]&&a[0][h])C+=a[0][h].Name;else{var R=(id(a,A,n)||"").split(";;");if(R[h-1])C=R[h-1];else C+="SH33TJSERRX"}f.push(C);break}if(!x)x={Name:"SH33TJSERRY"};f.push(x.Name);break;case"PtgParen":var O="(",I=")";if(p>=0){m="";switch(e[0][p][1][0]){case 2:O=wr(" ",e[0][p][1][1])+O;break;case 3:O=wr("\r",e[0][p][1][1])+O;break;case 4:I=wr(" ",e[0][p][1][1])+I;break;case 5:I=wr("\r",e[0][p][1][1])+I;break;default:if(n.WTF)throw new Error("Unexpected PtgAttrSpaceType "+e[0][p][1][0]);}p=-1}f.push(O+f.pop()+I);break;case"PtgRefErr":f.push("#REF!");break;case"PtgRefErr3d":f.push("#REF!");break;case"PtgExp":l={c:w[1][1],r:w[1][0]};var N={c:t.c,r:t.r};if(a.sharedf[Oa(l)]){var F=a.sharedf[Oa(l)];f.push(fd(F,s,N,a,n))}else{var D=false;for(o=0;o!=a.arrayf.length;++o){c=a.arrayf[o];if(l.c<c[0].s.c||l.c>c[0].e.c)continue;if(l.r<c[0].s.r||l.r>c[0].e.r)continue;f.push(fd(c[1],s,N,a,n));D=true;break}if(!D)f.push(w[1])}break;case"PtgArray":f.push("{"+td(w[1])+"}");break;case"PtgMemArea":break;case"PtgAttrSpace":;case"PtgAttrSpaceSemi":p=b;break;case"PtgTbl":break;case"PtgMemErr":break;case"PtgMissArg":f.push("");break;case"PtgAreaErr":f.push("#REF!");break;case"PtgAreaErr3d":f.push("#REF!");break;case"PtgList":f.push("Table"+w[1].idx+"[#"+w[1].rt+"]");break;case"PtgMemAreaN":;case"PtgMemNoMemN":;case"PtgAttrNoop":;case"PtgSheet":;case"PtgEndSheet":break;case"PtgMemFunc":break;case"PtgMemNoMem":break;case"PtgElfCol":;case"PtgElfColS":;case"PtgElfColSV":;case"PtgElfColV":;case"PtgElfLel":;case"PtgElfRadical":;case"PtgElfRadicalLel":;case"PtgElfRadicalS":;case"PtgElfRw":;case"PtgElfRwV":throw new Error("Unsupported ELFs");case"PtgSxName":throw new Error("Unrecognized Formula Token: "+String(w));default:throw new Error("Unrecognized Formula Token: "+String(w));}var P=["PtgAttrSpace","PtgAttrSpaceSemi","PtgAttrGoto"];if(n.biff!=3)if(p>=0&&P.indexOf(e[0][b][0])==-1){w=e[0][p];var L=true;switch(w[1][0]){case 4:L=false;case 0:m=wr(" ",w[1][1]);break;case 5:L=false;case 1:m=wr("\r",w[1][1]);break;default:m="";if(n.WTF)throw new Error("Unexpected PtgAttrSpaceType "+w[1][0]);}f.push((L?m:"")+f.pop()+(L?"":m));p=-1}}if(f.length>1&&n.WTF)throw new Error("bad formula stack");return f[0]}function od(e,r,t){var a=e.l+r,n=t.biff==2?1:2;var i,s=e._R(n);if(s==65535)return[[],ua(e,r-2)];var f=rd(e,s,t);if(r!==s+n)i=ed(e,r-s-n,f,t);e.l=a;return[f,i]}function cd(e,r,t){var a=e.l+r,n=t.biff==2?1:2;var i,s=e._R(n);if(s==65535)return[[],ua(e,r-2)];var f=rd(e,s,t);if(r!==s+n)i=ed(e,r-s-n,f,t);e.l=a;return[f,i]}function ld(e,r,t,a){var n=e.l+r;var i=rd(e,a,t);var s;if(n!==e.l)s=ed(e,n-e.l,i,t);return[i,s]}function ud(e,r,t){var a=e.l+r;var n,i=e._R(2);var s=rd(e,i,t);if(i==65535)return[[],ua(e,r-2)];if(r!==i+2)n=ed(e,a-i-2,s,t);return[s,n]}function hd(e){var r;if(Qt(e,e.l+6)!==65535)return[dn(e),"n"];switch(e[e.l]){case 0:e.l+=8;return["String","s"];case 1:r=e[e.l+2]===1;e.l+=8;return[r,"b"];case 2:r=e[e.l+2];e.l+=8;return[r,"e"];case 3:e.l+=8;return["","s"];}return[]}function dd(e){if(e==null){var r=ha(8);r._W(1,3);r._W(1,0);r._W(2,0);r._W(2,0);r._W(2,65535);return r}else if(typeof e=="number")return vn(e);return vn(0)}function vd(e,r,t){var a=e.l+r;var n=Es(e,6);if(t.biff==2)++e.l;var i=hd(e,8);var s=e._R(1);if(t.biff!=2){e._R(1);if(t.biff>=5){e._R(4)}}var f=cd(e,a-e.l,t);return{cell:n,val:i[0],formula:f,shared:s>>3&1,tt:i[1]}}function pd(e,r,t,a,n){var i=ys(r,t,n);var s=dd(e.v);var f=ha(6);var o=1|32;f._W(2,o);f._W(4,0);var c=ha(e.bf.length);for(var l=0;l<e.bf.length;++l)c[l]=e.bf[l];var u=O([i,s,f,c]);return u}function md(e,r,t){var a=e._R(4);var n=rd(e,a,t);var i=e._R(4);var s=i>0?ed(e,i,n,t):null;return[n,s]}var bd=md;var gd=md;var wd=md;var kd=md;var Td={0:"BEEP",1:"OPEN",2:"OPEN.LINKS",3:"CLOSE.ALL",4:"SAVE",5:"SAVE.AS",6:"FILE.DELETE",7:"PAGE.SETUP",8:"PRINT",9:"PRINTER.SETUP",10:"QUIT",11:"NEW.WINDOW",12:"ARRANGE.ALL",13:"WINDOW.SIZE",14:"WINDOW.MOVE",15:"FULL",16:"CLOSE",17:"RUN",22:"SET.PRINT.AREA",23:"SET.PRINT.TITLES",24:"SET.PAGE.BREAK",25:"REMOVE.PAGE.BREAK",26:"FONT",27:"DISPLAY",28:"PROTECT.DOCUMENT",29:"PRECISION",30:"A1.R1C1",31:"CALCULATE.NOW",32:"CALCULATION",34:"DATA.FIND",35:"EXTRACT",36:"DATA.DELETE",37:"SET.DATABASE",38:"SET.CRITERIA",39:"SORT",40:"DATA.SERIES",41:"TABLE",42:"FORMAT.NUMBER",43:"ALIGNMENT",44:"STYLE",45:"BORDER",46:"CELL.PROTECTION",47:"COLUMN.WIDTH",48:"UNDO",49:"CUT",50:"COPY",51:"PASTE",52:"CLEAR",53:"PASTE.SPECIAL",54:"EDIT.DELETE",55:"INSERT",56:"FILL.RIGHT",57:"FILL.DOWN",61:"DEFINE.NAME",62:"CREATE.NAMES",63:"FORMULA.GOTO",64:"FORMULA.FIND",65:"SELECT.LAST.CELL",66:"SHOW.ACTIVE.CELL",67:"GALLERY.AREA",68:"GALLERY.BAR",69:"GALLERY.COLUMN",70:"GALLERY.LINE",71:"GALLERY.PIE",72:"GALLERY.SCATTER",73:"COMBINATION",74:"PREFERRED",75:"ADD.OVERLAY",76:"GRIDLINES",77:"SET.PREFERRED",78:"AXES",79:"LEGEND",80:"ATTACH.TEXT",81:"ADD.ARROW",82:"SELECT.CHART",83:"SELECT.PLOT.AREA",84:"PATTERNS",85:"MAIN.CHART",86:"OVERLAY",87:"SCALE",88:"FORMAT.LEGEND",89:"FORMAT.TEXT",90:"EDIT.REPEAT",91:"PARSE",92:"JUSTIFY",93:"HIDE",94:"UNHIDE",95:"WORKSPACE",96:"FORMULA",97:"FORMULA.FILL",98:"FORMULA.ARRAY",99:"DATA.FIND.NEXT",100:"DATA.FIND.PREV",101:"FORMULA.FIND.NEXT",102:"FORMULA.FIND.PREV",103:"ACTIVATE",104:"ACTIVATE.NEXT",105:"ACTIVATE.PREV",106:"UNLOCKED.NEXT",107:"UNLOCKED.PREV",108:"COPY.PICTURE",109:"SELECT",110:"DELETE.NAME",111:"DELETE.FORMAT",112:"VLINE",113:"HLINE",114:"VPAGE",115:"HPAGE",116:"VSCROLL",117:"HSCROLL",118:"ALERT",119:"NEW",120:"CANCEL.COPY",121:"SHOW.CLIPBOARD",122:"MESSAGE",124:"PASTE.LINK",125:"APP.ACTIVATE",126:"DELETE.ARROW",127:"ROW.HEIGHT",128:"FORMAT.MOVE",129:"FORMAT.SIZE",130:"FORMULA.REPLACE",131:"SEND.KEYS",132:"SELECT.SPECIAL",133:"APPLY.NAMES",134:"REPLACE.FONT",135:"FREEZE.PANES",136:"SHOW.INFO",137:"SPLIT",138:"ON.WINDOW",139:"ON.DATA",140:"DISABLE.INPUT",142:"OUTLINE",143:"LIST.NAMES",144:"FILE.CLOSE",145:"SAVE.WORKBOOK",146:"DATA.FORM",147:"COPY.CHART",148:"ON.TIME",149:"WAIT",150:"FORMAT.FONT",151:"FILL.UP",152:"FILL.LEFT",153:"DELETE.OVERLAY",155:"SHORT.MENUS",159:"SET.UPDATE.STATUS",161:"COLOR.PALETTE",162:"DELETE.STYLE",163:"WINDOW.RESTORE",164:"WINDOW.MAXIMIZE",166:"CHANGE.LINK",167:"CALCULATE.DOCUMENT",168:"ON.KEY",169:"APP.RESTORE",170:"APP.MOVE",171:"APP.SIZE",172:"APP.MINIMIZE",173:"APP.MAXIMIZE",174:"BRING.TO.FRONT",175:"SEND.TO.BACK",185:"MAIN.CHART.TYPE",186:"OVERLAY.CHART.TYPE",187:"SELECT.END",188:"OPEN.MAIL",189:"SEND.MAIL",190:"STANDARD.FONT",191:"CONSOLIDATE",192:"SORT.SPECIAL",193:"GALLERY.3D.AREA",194:"GALLERY.3D.COLUMN",195:"GALLERY.3D.LINE",196:"GALLERY.3D.PIE",197:"VIEW.3D",198:"GOAL.SEEK",199:"WORKGROUP",200:"FILL.GROUP",201:"UPDATE.LINK",202:"PROMOTE",203:"DEMOTE",204:"SHOW.DETAIL",206:"UNGROUP",207:"OBJECT.PROPERTIES",208:"SAVE.NEW.OBJECT",209:"SHARE",210:"SHARE.NAME",211:"DUPLICATE",212:"APPLY.STYLE",213:"ASSIGN.TO.OBJECT",214:"OBJECT.PROTECTION",-215:"HIDE.OBJECT",216:"SET.EXTRACT",217:"CREATE.PUBLISHER",218:"SUBSCRIBE.TO",219:"ATTRIBUTES",220:"SHOW.TOOLBAR",222:"PRINT.PREVIEW",223:"EDIT.COLOR",224:"SHOW.LEVELS",225:"FORMAT.MAIN",226:"FORMAT.OVERLAY",227:"ON.RECALC",228:"EDIT.SERIES",229:"DEFINE.STYLE",240:"LINE.PRINT",243:"ENTER.DATA",249:"GALLERY.RADAR",250:"MERGE.STYLES",251:"EDITION.OPTIONS",252:"PASTE.PICTURE",253:"PASTE.PICTURE.LINK",254:"SPELLING",256:"ZOOM",259:"INSERT.OBJECT",260:"WINDOW.MINIMIZE",265:"SOUND.NOTE",266:"SOUND.PLAY",267:"FORMAT.SHAPE",268:"EXTEND.POLYGON",269:"FORMAT.AUTO",272:"GALLERY.3D.BAR",273:"GALLERY.3D.SURFACE",274:"FILL.AUTO",276:"CUSTOMIZE.TOOLBAR",277:"ADD.TOOL",278:"EDIT.OBJECT",279:"ON.DOUBLECLICK",280:"ON.ENTRY",281:"WORKBOOK.ADD",282:"WORKBOOK.MOVE",283:"WORKBOOK.COPY",284:"WORKBOOK.OPTIONS",285:"SAVE.WORKSPACE",288:"CHART.WIZARD",289:"DELETE.TOOL",290:"MOVE.TOOL",291:"WORKBOOK.SELECT",292:"WORKBOOK.ACTIVATE",293:"ASSIGN.TO.TOOL",295:"COPY.TOOL",296:"RESET.TOOL",297:"CONSTRAIN.NUMERIC",298:"PASTE.TOOL",302:"WORKBOOK.NEW",305:"SCENARIO.CELLS",306:"SCENARIO.DELETE",307:"SCENARIO.ADD",308:"SCENARIO.EDIT",309:"SCENARIO.SHOW",310:"SCENARIO.SHOW.NEXT",311:"SCENARIO.SUMMARY",312:"PIVOT.TABLE.WIZARD",313:"PIVOT.FIELD.PROPERTIES",314:"PIVOT.FIELD",315:"PIVOT.ITEM",316:"PIVOT.ADD.FIELDS",318:"OPTIONS.CALCULATION",319:"OPTIONS.EDIT",320:"OPTIONS.VIEW",321:"ADDIN.MANAGER",322:"MENU.EDITOR",323:"ATTACH.TOOLBARS",324:"VBAActivate",325:"OPTIONS.CHART",328:"VBA.INSERT.FILE",330:"VBA.PROCEDURE.DEFINITION",336:"ROUTING.SLIP",338:"ROUTE.DOCUMENT",339:"MAIL.LOGON",342:"INSERT.PICTURE",343:"EDIT.TOOL",344:"GALLERY.DOUGHNUT",350:"CHART.TREND",352:"PIVOT.ITEM.PROPERTIES",354:"WORKBOOK.INSERT",355:"OPTIONS.TRANSITION",356:"OPTIONS.GENERAL",370:"FILTER.ADVANCED",373:"MAIL.ADD.MAILER",374:"MAIL.DELETE.MAILER",375:"MAIL.REPLY",376:"MAIL.REPLY.ALL",377:"MAIL.FORWARD",378:"MAIL.NEXT.LETTER",379:"DATA.LABEL",380:"INSERT.TITLE",381:"FONT.PROPERTIES",382:"MACRO.OPTIONS",383:"WORKBOOK.HIDE",384:"WORKBOOK.UNHIDE",385:"WORKBOOK.DELETE",386:"WORKBOOK.NAME",388:"GALLERY.CUSTOM",390:"ADD.CHART.AUTOFORMAT",391:"DELETE.CHART.AUTOFORMAT",392:"CHART.ADD.DATA",393:"AUTO.OUTLINE",394:"TAB.ORDER",395:"SHOW.DIALOG",396:"SELECT.ALL",397:"UNGROUP.SHEETS",398:"SUBTOTAL.CREATE",399:"SUBTOTAL.REMOVE",400:"RENAME.OBJECT",412:"WORKBOOK.SCROLL",413:"WORKBOOK.NEXT",414:"WORKBOOK.PREV",415:"WORKBOOK.TAB.SPLIT",416:"FULL.SCREEN",417:"WORKBOOK.PROTECT",420:"SCROLLBAR.PROPERTIES",421:"PIVOT.SHOW.PAGES",422:"TEXT.TO.COLUMNS",423:"FORMAT.CHARTTYPE",424:"LINK.FORMAT",425:"TRACER.DISPLAY",430:"TRACER.NAVIGATE",431:"TRACER.CLEAR",432:"TRACER.ERROR",433:"PIVOT.FIELD.GROUP",434:"PIVOT.FIELD.UNGROUP",435:"CHECKBOX.PROPERTIES",436:"LABEL.PROPERTIES",437:"LISTBOX.PROPERTIES",438:"EDITBOX.PROPERTIES",439:"PIVOT.REFRESH",440:"LINK.COMBO",441:"OPEN.TEXT",442:"HIDE.DIALOG",443:"SET.DIALOG.FOCUS",444:"ENABLE.OBJECT",445:"PUSHBUTTON.PROPERTIES",446:"SET.DIALOG.DEFAULT",447:"FILTER",448:"FILTER.SHOW.ALL",449:"CLEAR.OUTLINE",450:"FUNCTION.WIZARD",451:"ADD.LIST.ITEM",452:"SET.LIST.ITEM",453:"REMOVE.LIST.ITEM",454:"SELECT.LIST.ITEM",455:"SET.CONTROL.VALUE",456:"SAVE.COPY.AS",458:"OPTIONS.LISTS.ADD",459:"OPTIONS.LISTS.DELETE",460:"SERIES.AXES",461:"SERIES.X",462:"SERIES.Y",463:"ERRORBAR.X",464:"ERRORBAR.Y",465:"FORMAT.CHART",466:"SERIES.ORDER",467:"MAIL.LOGOFF",468:"CLEAR.ROUTING.SLIP",469:"APP.ACTIVATE.MICROSOFT",470:"MAIL.EDIT.MAILER",471:"ON.SHEET",472:"STANDARD.WIDTH",473:"SCENARIO.MERGE",474:"SUMMARY.INFO",475:"FIND.FILE",476:"ACTIVE.CELL.FONT",477:"ENABLE.TIPWIZARD",478:"VBA.MAKE.ADDIN",480:"INSERTDATATABLE",481:"WORKGROUP.OPTIONS",482:"MAIL.SEND.MAILER",485:"AUTOCORRECT",489:"POST.DOCUMENT",491:"PICKLIST",493:"VIEW.SHOW",494:"VIEW.DEFINE",495:"VIEW.DELETE",509:"SHEET.BACKGROUND",510:"INSERT.MAP.OBJECT",511:"OPTIONS.MENONO",517:"MSOCHECKS",518:"NORMAL",519:"LAYOUT",520:"RM.PRINT.AREA",521:"CLEAR.PRINT.AREA",522:"ADD.PRINT.AREA",523:"MOVE.BRK",545:"HIDECURR.NOTE",546:"HIDEALL.NOTES",547:"DELETE.NOTE",548:"TRAVERSE.NOTES",549:"ACTIVATE.NOTES",620:"PROTECT.REVISIONS",621:"UNPROTECT.REVISIONS",647:"OPTIONS.ME",653:"WEB.PUBLISH",667:"NEWWEBQUERY",673:"PIVOT.TABLE.CHART",753:"OPTIONS.SAVE",755:"OPTIONS.SPELL",808:"HIDEALL.INKANNOTS"};var Ed={0:"COUNT",1:"IF",2:"ISNA",3:"ISERROR",4:"SUM",5:"AVERAGE",6:"MIN",7:"MAX",8:"ROW",9:"COLUMN",10:"NA",11:"NPV",12:"STDEV",13:"DOLLAR",14:"FIXED",15:"SIN",16:"COS",17:"TAN",18:"ATAN",19:"PI",20:"SQRT",21:"EXP",22:"LN",23:"LOG10",24:"ABS",25:"INT",26:"SIGN",27:"ROUND",28:"LOOKUP",29:"INDEX",30:"REPT",31:"MID",32:"LEN",33:"VALUE",34:"TRUE",35:"FALSE",36:"AND",37:"OR",38:"NOT",39:"MOD",40:"DCOUNT",41:"DSUM",42:"DAVERAGE",43:"DMIN",44:"DMAX",45:"DSTDEV",46:"VAR",47:"DVAR",48:"TEXT",49:"LINEST",50:"TREND",51:"LOGEST",52:"GROWTH",53:"GOTO",54:"HALT",55:"RETURN",56:"PV",57:"FV",58:"NPER",59:"PMT",60:"RATE",61:"MIRR",62:"IRR",63:"RAND",64:"MATCH",65:"DATE",66:"TIME",67:"DAY",68:"MONTH",69:"YEAR",70:"WEEKDAY",71:"HOUR",72:"MINUTE",73:"SECOND",74:"NOW",75:"AREAS",76:"ROWS",77:"COLUMNS",78:"OFFSET",79:"ABSREF",80:"RELREF",81:"ARGUMENT",82:"SEARCH",83:"TRANSPOSE",84:"ERROR",85:"STEP",86:"TYPE",87:"ECHO",88:"SET.NAME",89:"CALLER",90:"DEREF",91:"WINDOWS",92:"SERIES",93:"DOCUMENTS",94:"ACTIVE.CELL",95:"SELECTION",96:"RESULT",97:"ATAN2",98:"ASIN",99:"ACOS",100:"CHOOSE",101:"HLOOKUP",102:"VLOOKUP",103:"LINKS",104:"INPUT",105:"ISREF",106:"GET.FORMULA",107:"GET.NAME",108:"SET.VALUE",109:"LOG",110:"EXEC",111:"CHAR",112:"LOWER",113:"UPPER",114:"PROPER",115:"LEFT",116:"RIGHT",117:"EXACT",118:"TRIM",119:"REPLACE",120:"SUBSTITUTE",121:"CODE",122:"NAMES",123:"DIRECTORY",124:"FIND",125:"CELL",126:"ISERR",127:"ISTEXT",128:"ISNUMBER",129:"ISBLANK",130:"T",131:"N",132:"FOPEN",133:"FCLOSE",134:"FSIZE",135:"FREADLN",136:"FREAD",137:"FWRITELN",138:"FWRITE",139:"FPOS",140:"DATEVALUE",141:"TIMEVALUE",142:"SLN",143:"SYD",144:"DDB",145:"GET.DEF",146:"REFTEXT",147:"TEXTREF",148:"INDIRECT",149:"REGISTER",150:"CALL",151:"ADD.BAR",152:"ADD.MENU",153:"ADD.COMMAND",154:"ENABLE.COMMAND",155:"CHECK.COMMAND",156:"RENAME.COMMAND",157:"SHOW.BAR",158:"DELETE.MENU",159:"DELETE.COMMAND",160:"GET.CHART.ITEM",161:"DIALOG.BOX",162:"CLEAN",163:"MDETERM",164:"MINVERSE",165:"MMULT",166:"FILES",167:"IPMT",168:"PPMT",169:"COUNTA",170:"CANCEL.KEY",171:"FOR",172:"WHILE",173:"BREAK",174:"NEXT",175:"INITIATE",176:"REQUEST",177:"POKE",178:"EXECUTE",179:"TERMINATE",180:"RESTART",181:"HELP",182:"GET.BAR",183:"PRODUCT",184:"FACT",185:"GET.CELL",186:"GET.WORKSPACE",187:"GET.WINDOW",188:"GET.DOCUMENT",189:"DPRODUCT",190:"ISNONTEXT",191:"GET.NOTE",192:"NOTE",193:"STDEVP",194:"VARP",195:"DSTDEVP",196:"DVARP",197:"TRUNC",198:"ISLOGICAL",199:"DCOUNTA",200:"DELETE.BAR",201:"UNREGISTER",204:"USDOLLAR",205:"FINDB",206:"SEARCHB",207:"REPLACEB",208:"LEFTB",209:"RIGHTB",210:"MIDB",211:"LENB",212:"ROUNDUP",213:"ROUNDDOWN",214:"ASC",215:"DBCS",216:"RANK",219:"ADDRESS",220:"DAYS360",221:"TODAY",222:"VDB",223:"ELSE",224:"ELSE.IF",225:"END.IF",226:"FOR.CELL",227:"MEDIAN",228:"SUMPRODUCT",229:"SINH",230:"COSH",231:"TANH",232:"ASINH",233:"ACOSH",234:"ATANH",235:"DGET",236:"CREATE.OBJECT",237:"VOLATILE",238:"LAST.ERROR",239:"CUSTOM.UNDO",240:"CUSTOM.REPEAT",241:"FORMULA.CONVERT",242:"GET.LINK.INFO",243:"TEXT.BOX",244:"INFO",245:"GROUP",246:"GET.OBJECT",247:"DB",248:"PAUSE",251:"RESUME",252:"FREQUENCY",253:"ADD.TOOLBAR",254:"DELETE.TOOLBAR",255:"User",256:"RESET.TOOLBAR",257:"EVALUATE",258:"GET.TOOLBAR",259:"GET.TOOL",260:"SPELLING.CHECK",261:"ERROR.TYPE",262:"APP.TITLE",263:"WINDOW.TITLE",264:"SAVE.TOOLBAR",265:"ENABLE.TOOL",266:"PRESS.TOOL",267:"REGISTER.ID",268:"GET.WORKBOOK",269:"AVEDEV",270:"BETADIST",271:"GAMMALN",272:"BETAINV",273:"BINOMDIST",274:"CHIDIST",275:"CHIINV",276:"COMBIN",277:"CONFIDENCE",278:"CRITBINOM",279:"EVEN",280:"EXPONDIST",281:"FDIST",282:"FINV",283:"FISHER",284:"FISHERINV",285:"FLOOR",286:"GAMMADIST",287:"GAMMAINV",288:"CEILING",289:"HYPGEOMDIST",290:"LOGNORMDIST",291:"LOGINV",292:"NEGBINOMDIST",293:"NORMDIST",294:"NORMSDIST",295:"NORMINV",296:"NORMSINV",297:"STANDARDIZE",298:"ODD",299:"PERMUT",300:"POISSON",301:"TDIST",302:"WEIBULL",303:"SUMXMY2",304:"SUMX2MY2",305:"SUMX2PY2",306:"CHITEST",307:"CORREL",308:"COVAR",309:"FORECAST",310:"FTEST",311:"INTERCEPT",312:"PEARSON",313:"RSQ",314:"STEYX",315:"SLOPE",316:"TTEST",317:"PROB",318:"DEVSQ",319:"GEOMEAN",320:"HARMEAN",321:"SUMSQ",322:"KURT",323:"SKEW",324:"ZTEST",325:"LARGE",326:"SMALL",327:"QUARTILE",328:"PERCENTILE",329:"PERCENTRANK",330:"MODE",331:"TRIMMEAN",332:"TINV",334:"MOVIE.COMMAND",335:"GET.MOVIE",336:"CONCATENATE",337:"POWER",338:"PIVOT.ADD.DATA",339:"GET.PIVOT.TABLE",340:"GET.PIVOT.FIELD",341:"GET.PIVOT.ITEM",342:"RADIANS",343:"DEGREES",344:"SUBTOTAL",345:"SUMIF",346:"COUNTIF",347:"COUNTBLANK",348:"SCENARIO.GET",349:"OPTIONS.LISTS.GET",350:"ISPMT",351:"DATEDIF",352:"DATESTRING",353:"NUMBERSTRING",354:"ROMAN",355:"OPEN.DIALOG",356:"SAVE.DIALOG",357:"VIEW.GET",358:"GETPIVOTDATA",359:"HYPERLINK",360:"PHONETIC",361:"AVERAGEA",362:"MAXA",363:"MINA",364:"STDEVPA",365:"VARPA",366:"STDEVA",367:"VARA",368:"BAHTTEXT",369:"THAIDAYOFWEEK",370:"THAIDIGIT",371:"THAIMONTHOFYEAR",372:"THAINUMSOUND",373:"THAINUMSTRING",374:"THAISTRINGLENGTH",375:"ISTHAIDIGIT",376:"ROUNDBAHTDOWN",377:"ROUNDBAHTUP",378:"THAIYEAR",379:"RTD",380:"CUBEVALUE",381:"CUBEMEMBER",382:"CUBEMEMBERPROPERTY",383:"CUBERANKEDMEMBER",384:"HEX2BIN",385:"HEX2DEC",386:"HEX2OCT",387:"DEC2BIN",388:"DEC2HEX",389:"DEC2OCT",390:"OCT2BIN",391:"OCT2HEX",392:"OCT2DEC",393:"BIN2DEC",394:"BIN2OCT",395:"BIN2HEX",396:"IMSUB",397:"IMDIV",398:"IMPOWER",399:"IMABS",400:"IMSQRT",401:"IMLN",402:"IMLOG2",403:"IMLOG10",404:"IMSIN",405:"IMCOS",406:"IMEXP",407:"IMARGUMENT",408:"IMCONJUGATE",409:"IMAGINARY",410:"IMREAL",411:"COMPLEX",412:"IMSUM",413:"IMPRODUCT",414:"SERIESSUM",415:"FACTDOUBLE",416:"SQRTPI",417:"QUOTIENT",418:"DELTA",419:"GESTEP",420:"ISEVEN",421:"ISODD",422:"MROUND",423:"ERF",424:"ERFC",425:"BESSELJ",426:"BESSELK",427:"BESSELY",428:"BESSELI",429:"XIRR",430:"XNPV",431:"PRICEMAT",432:"YIELDMAT",433:"INTRATE",434:"RECEIVED",435:"DISC",436:"PRICEDISC",437:"YIELDDISC",438:"TBILLEQ",439:"TBILLPRICE",440:"TBILLYIELD",441:"PRICE",442:"YIELD",443:"DOLLARDE",444:"DOLLARFR",445:"NOMINAL",446:"EFFECT",447:"CUMPRINC",448:"CUMIPMT",449:"EDATE",450:"EOMONTH",451:"YEARFRAC",452:"COUPDAYBS",453:"COUPDAYS",454:"COUPDAYSNC",455:"COUPNCD",456:"COUPNUM",457:"COUPPCD",458:"DURATION",459:"MDURATION",460:"ODDLPRICE",461:"ODDLYIELD",462:"ODDFPRICE",463:"ODDFYIELD",464:"RANDBETWEEN",465:"WEEKNUM",466:"AMORDEGRC",467:"AMORLINC",468:"CONVERT",724:"SHEETJS",469:"ACCRINT",470:"ACCRINTM",471:"WORKDAY",472:"NETWORKDAYS",473:"GCD",474:"MULTINOMIAL",475:"LCM",476:"FVSCHEDULE",477:"CUBEKPIMEMBER",478:"CUBESET",479:"CUBESETCOUNT",480:"IFERROR",481:"COUNTIFS",482:"SUMIFS",483:"AVERAGEIF",484:"AVERAGEIFS"};var yd={2:1,3:1,10:0,15:1,16:1,17:1,18:1,19:0,20:1,21:1,22:1,23:1,24:1,25:1,26:1,27:2,30:2,31:3,32:1,33:1,34:0,35:0,38:1,39:2,40:3,41:3,42:3,43:3,44:3,45:3,47:3,48:2,53:1,61:3,63:0,65:3,66:3,67:1,68:1,69:1,70:1,71:1,72:1,73:1,74:0,75:1,76:1,77:1,79:2,80:2,83:1,85:0,86:1,89:0,90:1,94:0,95:0,97:2,98:1,99:1,101:3,102:3,105:1,106:1,108:2,111:1,112:1,113:1,114:1,117:2,118:1,119:4,121:1,126:1,127:1,128:1,129:1,130:1,131:1,133:1,134:1,135:1,136:2,137:2,138:2,140:1,141:1,142:3,143:4,144:4,161:1,162:1,163:1,164:1,165:2,172:1,175:2,176:2,177:3,178:2,179:1,184:1,186:1,189:3,190:1,195:3,196:3,197:1,198:1,199:3,201:1,207:4,210:3,211:1,212:2,213:2,214:1,215:1,225:0,229:1,230:1,231:1,232:1,233:1,234:1,235:3,244:1,247:4,252:2,257:1,261:1,271:1,273:4,274:2,275:2,276:2,277:3,278:3,279:1,280:3,281:3,282:3,283:1,284:1,285:2,286:4,287:3,288:2,289:4,290:3,291:3,292:3,293:4,294:1,295:3,296:1,297:3,298:1,299:2,300:3,301:3,302:4,303:2,304:2,305:2,306:2,307:2,308:2,309:3,310:2,311:2,312:2,313:2,314:2,315:2,316:4,325:2,326:2,327:2,328:2,331:2,332:2,337:2,342:1,343:1,346:2,347:1,350:4,351:3,352:1,353:2,360:1,368:1,369:1,370:1,371:1,372:1,373:1,374:1,375:1,376:1,377:1,378:1,382:3,385:1,392:1,393:1,396:2,397:2,398:2,399:1,400:1,401:1,402:1,403:1,404:1,405:1,406:1,407:1,408:1,409:1,410:1,414:4,415:1,416:1,417:2,420:1,421:1,422:2,424:1,425:2,426:2,427:2,428:2,430:3,438:3,439:3,440:3,443:2,444:2,445:2,446:2,447:6,448:6,449:2,450:2,464:2,468:3,476:2,479:1,480:2,65535:0};function Sd(e){if(e.slice(0,3)=="of:")e=e.slice(3);if(e.charCodeAt(0)==61){e=e.slice(1);if(e.charCodeAt(0)==61)e=e.slice(1)}e=e.replace(/COM\.MICROSOFT\./g,"");e=e.replace(/\[((?:\.[A-Z]+[0-9]+)(?::\.[A-Z]+[0-9]+)?)\]/g,function(e,r){return r.replace(/\./g,"")});e=e.replace(/\[.(#[A-Z]*[?!])\]/g,"$1");return e.replace(/[;~]/g,",").replace(/\|/g,";")}function _d(e){var r="of:="+e.replace(xu,"$1[.$2$3$4$5]").replace(/\]:\[/g,":");return r.replace(/;/g,"|").replace(/,/g,";")}function Ad(e){var r=e.split(":");var t=r[0].split(".")[0];return[t,r[0].split(".")[1]+(r.length>1?":"+(r[1].split(".")[1]||r[1].split(".")[0]):"")]}function xd(e){return e.replace(/\./,"!")}var Cd={};var Rd={};var Od=typeof Map!=="undefined";function Id(e,r,t){var a=0,n=e.length;if(t){if(Od?t.has(r):Object.prototype.hasOwnProperty.call(t,r)){var i=Od?t.get(r):t[r];for(;a<i.length;++a){if(e[i[a]].t===r){e.Count++;return i[a]}}}}else for(;a<n;++a){if(e[a].t===r){e.Count++;return a}}e[n]={t:r};e.Count++;e.Unique++;if(t){if(Od){if(!t.has(r))t.set(r,[]);t.get(r).push(n)}else{if(!Object.prototype.hasOwnProperty.call(t,r))t[r]=[];t[r].push(n)}}return n}function Nd(e,r){var t={min:e+1,max:e+1};var a=-1;if(r.MDW)_c=r.MDW;if(r.width!=null)t.customWidth=1;else if(r.wpx!=null)a=xc(r.wpx);else if(r.wch!=null)a=r.wch;if(a>-1){t.width=Cc(a);t.customWidth=1}else if(r.width!=null)t.width=r.width;if(r.hidden)t.hidden=true;if(r.level!=null){t.outlineLevel=t.level=r.level}return t}function Fd(e,r){if(!e)return;var t=[.7,.7,.75,.75,.3,.3];if(r=="xlml")t=[1,1,1,1,.5,.5];if(e.left==null)e.left=t[0];if(e.right==null)e.right=t[1];if(e.top==null)e.top=t[2];if(e.bottom==null)e.bottom=t[3];if(e.header==null)e.header=t[4];if(e.footer==null)e.footer=t[5]}function Dd(e,r,t){var a=t.revssf[r.z!=null?r.z:"General"];var n=60,i=e.length;if(a==null&&t.ssf){for(;n<392;++n)if(t.ssf[n]==null){We(r.z,n);t.ssf[n]=r.z;t.revssf[r.z]=a=n;break}}for(n=0;n!=i;++n)if(e[n].numFmtId===a)return n;e[i]={numFmtId:a,fontId:0,fillId:0,borderId:0,xfId:0,applyNumberFormat:1};return i}function Pd(e,r,t,a,n,i){try{if(a.cellNF)e.z=X[r]}catch(s){if(a.WTF)throw s}if(e.t==="z"&&!a.cellStyles)return;if(e.t==="d"&&typeof e.v==="string")e.v=mr(e.v);if((!a||a.cellText!==false)&&e.t!=="z")try{if(X[r]==null)We(Ge[r]||"General",r);if(e.t==="e")e.w=e.w||Gn[e.v];else if(r===0){if(e.t==="n"){if((e.v|0)===e.v)e.w=e.v.toString(10);else e.w=se(e.v)}else if(e.t==="d"){var f=fr(e.v);if((f|0)===f)e.w=f.toString(10);else e.w=se(f)}else if(e.v===undefined)return"";else e.w=fe(e.v,Rd)}else if(e.t==="d")e.w=Be(r,fr(e.v),Rd);else e.w=Be(r,e.v,Rd)}catch(s){if(a.WTF)throw s}if(!a.cellStyles)return;if(t!=null)try{e.s=i.Fills[t];if(e.s.fgColor&&e.s.fgColor.theme&&!e.s.fgColor.rgb){e.s.fgColor.rgb=Tc(n.themeElements.clrScheme[e.s.fgColor.theme].rgb,e.s.fgColor.tint||0);if(a.WTF)e.s.fgColor.raw_rgb=n.themeElements.clrScheme[e.s.fgColor.theme].rgb}if(e.s.bgColor&&e.s.bgColor.theme){e.s.bgColor.rgb=Tc(n.themeElements.clrScheme[e.s.bgColor.theme].rgb,e.s.bgColor.tint||0);if(a.WTF)e.s.bgColor.raw_rgb=n.themeElements.clrScheme[e.s.bgColor.theme].rgb}}catch(s){if(a.WTF&&i.Fills)throw s}}function Ld(e,r,t){if(e&&e["!ref"]){var a=Fa(e["!ref"]);if(a.e.c<a.s.c||a.e.r<a.s.r)throw new Error("Bad range ("+t+"): "+e["!ref"])}}function Md(e,r){var t=Fa(r);if(t.s.r<=t.e.r&&t.s.c<=t.e.c&&t.s.r>=0&&t.s.c>=0)e["!ref"]=Na(t)}var Ud=/<(?:\w:)?mergeCell ref="[A-Z0-9:]+"\s*[\/]?>/g;var Bd=/<(?:\w+:)?sheetData[^>]*>([\s\S]*)<\/(?:\w+:)?sheetData>/;var Wd=/<(?:\w:)?hyperlink [^>]*>/gm;var Hd=/"(\w*:\w*)"/;var zd=/<(?:\w:)?col\b[^>]*[\/]?>/g;var Vd=/<(?:\w:)?autoFilter[^>]*([\/]|>([\s\S]*)<\/(?:\w:)?autoFilter)>/g;var Gd=/<(?:\w:)?pageMargins[^>]*\/>/g;var jd=/<(?:\w:)?sheetPr\b(?:[^>a-z][^>]*)?\/>/;var Xd=/<(?:\w:)?sheetPr[^>]*(?:[\/]|>([\s\S]*)<\/(?:\w:)?sheetPr)>/;var $d=/<(?:\w:)?sheetViews[^>]*(?:[\/]|>([\s\S]*)<\/(?:\w:)?sheetViews)>/;function Yd(e,r,t,a,n,i,s){if(!e)return e;if(!a)a={"!id":{}};if(m!=null&&r.dense==null)r.dense=m;var f=r.dense?[]:{};var o={s:{r:2e6,c:2e6},e:{r:0,c:0}};var c="",l="";var u=e.match(Bd);if(u){c=e.slice(0,u.index);l=e.slice(u.index+u[0].length)}else c=l=e;var h=c.match(jd);if(h)Jd(h[0],f,n,t);else if(h=c.match(Xd))qd(h[0],h[1]||"",f,n,t,s,i);var d=(c.match(/<(?:\w*:)?dimension/)||{index:-1}).index;if(d>0){var v=c.slice(d,d+50).match(Hd);if(v)Md(f,v[1])}var p=c.match($d);if(p&&p[1])lv(p[1],n);var b=[];if(r.cellStyles){var g=c.match(zd);if(g)iv(b,g)}if(u)dv(u[1],f,r,o,i,s);var w=l.match(Vd);if(w)f["!autofilter"]=fv(w[0]);var k=[];var T=l.match(Ud);if(T)for(d=0;d!=T.length;++d)k[d]=Fa(T[d].slice(T[d].indexOf('"')+1));var E=l.match(Wd);if(E)tv(f,E,a);var y=l.match(Gd);if(y)f["!margins"]=av(Gr(y[0]));if(!f["!ref"]&&o.e.c>=o.s.c&&o.e.r>=o.s.r)f["!ref"]=Na(o);if(r.sheetRows>0&&f["!ref"]){var S=Fa(f["!ref"]);if(r.sheetRows<=+S.e.r){S.e.r=r.sheetRows-1;if(S.e.r>o.e.r)S.e.r=o.e.r;if(S.e.r<S.s.r)S.s.r=S.e.r;if(S.e.c>o.e.c)S.e.c=o.e.c;if(S.e.c<S.s.c)S.s.c=S.e.c;f["!fullref"]=f["!ref"];f["!ref"]=Na(S)}}if(b.length>0)f["!cols"]=b;if(k.length>0)f["!merges"]=k;return f}function Kd(e){if(e.length===0)return"";var r='<mergeCells count="'+e.length+'">';for(var t=0;t!=e.length;++t)r+='<mergeCell ref="'+Na(e[t])+'"/>';return r+"</mergeCells>"}function Jd(e,r,t,a){var n=Gr(e);if(!t.Sheets[a])t.Sheets[a]={};if(n.codeName)t.Sheets[a].CodeName=Yr(ct(n.codeName))}function qd(e,r,t,a,n){Jd(e.slice(0,e.indexOf(">")),t,a,n)}function Zd(e,r,t,a,n){var i=false;var s={},f=null;if(a.bookType!=="xlsx"&&r.vbaraw){var o=r.SheetNames[t];try{if(r.Workbook)o=r.Workbook.Sheets[t].CodeName||o}catch(c){}i=true;s.codeName=lt(qr(o))}if(e&&e["!outline"]){var l={summaryBelow:1,summaryRight:1};if(e["!outline"].above)l.summaryBelow=0;if(e["!outline"].left)l.summaryRight=0;f=(f||"")+kt("outlinePr",null,l)}if(!i&&!f)return;n[n.length]=kt("sheetPr",f,s)}var Qd=["objects","scenarios","selectLockedCells","selectUnlockedCells"];var ev=["formatColumns","formatRows","formatCells","insertColumns","insertRows","insertHyperlinks","deleteColumns","deleteRows","sort","autoFilter","pivotTables"];function rv(e){var r={sheet:1};Qd.forEach(function(t){if(e[t]!=null&&e[t])r[t]="1"});ev.forEach(function(t){if(e[t]!=null&&!e[t])r[t]="0"});if(e.password)r.password=cc(e.password).toString(16).toUpperCase();return kt("sheetProtection",null,r)}function tv(e,r,t){var a=Array.isArray(e);for(var n=0;n!=r.length;++n){var i=Gr(ct(r[n]),true);if(!i.ref)return;var s=((t||{})["!id"]||[])[i.id];if(s){i.Target=s.Target;if(i.location)i.Target+="#"+Yr(i.location)}else{i.Target="#"+Yr(i.location);s={Target:i.Target,TargetMode:"Internal"}}i.Rel=s;if(i.tooltip){i.Tooltip=i.tooltip;delete i.tooltip}var f=Fa(i.ref);for(var o=f.s.r;o<=f.e.r;++o)for(var c=f.s.c;c<=f.e.c;++c){var l=Oa({c:c,r:o});if(a){if(!e[o])e[o]=[];if(!e[o][c])e[o][c]={t:"z",v:undefined};e[o][c].l=i}else{if(!e[l])e[l]={t:"z",v:undefined};e[l].l=i}}}}function av(e){var r={};["left","right","top","bottom","header","footer"].forEach(function(t){if(e[t])r[t]=parseFloat(e[t])});return r}function nv(e){Fd(e);return kt("pageMargins",null,e)}function iv(e,r){var t=false;for(var a=0;a!=r.length;++a){var n=Gr(r[a],true);if(n.hidden)n.hidden=nt(n.hidden);var i=parseInt(n.min,10)-1,s=parseInt(n.max,10)-1;if(n.outlineLevel)n.level=+n.outlineLevel||0;delete n.min;delete n.max;n.width=+n.width;if(!t&&n.width){t=true;Oc(n.width)}Ic(n);while(i<=s)e[i++]=gr(n)}}function sv(e,r){var t=["<cols>"],a;for(var n=0;n!=r.length;++n){if(!(a=r[n]))continue;t[t.length]=kt("col",null,Nd(n,a))}t[t.length]="</cols>";return t.join("")}function fv(e){var r={ref:(e.match(/ref="([^"]*)"/)||[])[1]};return r}function ov(e,r,t,a){var n=typeof e.ref=="string"?e.ref:Na(e.ref);if(!t.Workbook)t.Workbook={Sheets:[]};if(!t.Workbook.Names)t.Workbook.Names=[];var i=t.Workbook.Names;var s=Ia(n);if(s.s.r==s.e.r){s.e.r=Ia(r["!ref"]).e.r;n=Na(s)}for(var f=0;f<i.length;++f){var o=i[f];if(o.Name!="_xlnm._FilterDatabase")continue;if(o.Sheet!=a)continue;o.Ref="'"+t.SheetNames[a]+"'!"+n;break}if(f==i.length)i.push({Name:"_xlnm._FilterDatabase",Sheet:a,Ref:"'"+t.SheetNames[a]+"'!"+n});return kt("autoFilter",null,{ref:n})}var cv=/<(?:\w:)?sheetView(?:[^>a-z][^>]*)?\/?>/;function lv(e,r){if(!r.Views)r.Views=[{}];(e.match(cv)||[]).forEach(function(e,t){var a=Gr(e);if(!r.Views[t])r.Views[t]={};if(+a.zoomScale)r.Views[t].zoom=+a.zoomScale;if(nt(a.rightToLeft))r.Views[t].RTL=true})}function uv(e,r,t,a){var n={workbookViewId:"0"};if((((a||{}).Workbook||{}).Views||[])[0])n.rightToLeft=a.Workbook.Views[0].RTL?"1":"0";return kt("sheetViews",kt("sheetView",null,n),{})}function hv(e,r,t,a){if(e.c)t["!comments"].push([r,e.c]);if(e.v===undefined&&typeof e.f!=="string"||e.t==="z"&&!e.f)return"";var n="";var i=e.t,s=e.v;if(e.t!=="z")switch(e.t){case"b":n=e.v?"1":"0";break;case"n":n=""+e.v;break;case"e":n=Gn[e.v];break;case"d":if(a&&a.cellDates)n=mr(e.v,-1).toISOString();else{e=gr(e);e.t="n";n=""+(e.v=fr(mr(e.v)))}if(typeof e.z==="undefined")e.z=X[14];break;default:n=e.v;break;}var f=gt("v",qr(n)),o={r:r};var c=Dd(a.cellXfs,e,a);if(c!==0)o.s=c;switch(e.t){case"n":break;case"d":o.t="d";break;case"b":o.t="b";break;case"e":o.t="e";break;case"z":break;default:if(e.v==null){delete e.t;break}if(e.v.length>32767)throw new Error("Text length must not exceed 32767 characters");if(a&&a.bookSST){f=gt("v",""+Id(a.Strings,e.v,a.revStrings));o.t="s";break}o.t="str";break;}if(e.t!=i){e.t=i;e.v=s}if(typeof e.f=="string"&&e.f){var l=e.F&&e.F.slice(0,r.length)==r?{t:"array",ref:e.F}:null;f=kt("f",qr(e.f),l)+(e.v!=null?f:"")}if(e.l)t["!links"].push([r,e.l]);if(e.D)o.cm=1;return kt("c",f,o)}var dv=function(){var e=/<(?:\w+:)?c[ \/>]/,r=/<\/(?:\w+:)?row>/;var t=/r=["']([^"']*)["']/,a=/<(?:\w+:)?is>([\S\s]*?)<\/(?:\w+:)?is>/;var n=/ref=["']([^"']*)["']/;var i=ut("v"),s=ut("f");return function f(o,c,l,u,h,d){var v=0,p="",m=[],b=[],g=0,w=0,k=0,T="",E;var y,S=0,_=0;var A,x;var C=0,R=0;var O=Array.isArray(d.CellXf),I;var N=[];var F=[];var D=Array.isArray(c);var P=[],L={},M=false;var U=!!l.sheetStubs;for(var B=o.split(r),W=0,H=B.length;W!=H;++W){p=B[W].trim();var z=p.length;if(z===0)continue;var V=0;e:for(v=0;v<z;++v)switch(p[v]){case">":if(p[v-1]!="/"){++v;break e}if(l&&l.cellStyles){y=Gr(p.slice(V,v),true);S=y.r!=null?parseInt(y.r,10):S+1;_=-1;if(l.sheetRows&&l.sheetRows<S)continue;L={};M=false;if(y.ht){M=true;L.hpt=parseFloat(y.ht);L.hpx=Pc(L.hpt)}if(y.hidden=="1"){M=true;L.hidden=true}if(y.outlineLevel!=null){M=true;L.level=+y.outlineLevel}if(M)P[S-1]=L}break;case"<":V=v;break;}if(V>=v)break;y=Gr(p.slice(V,v),true);S=y.r!=null?parseInt(y.r,10):S+1;_=-1;if(l.sheetRows&&l.sheetRows<S)continue;if(u.s.r>S-1)u.s.r=S-1;if(u.e.r<S-1)u.e.r=S-1;if(l&&l.cellStyles){L={};M=false;if(y.ht){M=true;L.hpt=parseFloat(y.ht);L.hpx=Pc(L.hpt)}if(y.hidden=="1"){M=true;L.hidden=true}if(y.outlineLevel!=null){M=true;L.level=+y.outlineLevel}if(M)P[S-1]=L}m=p.slice(v).split(e);for(var G=0;G!=m.length;++G)if(m[G].trim().charAt(0)!="<")break;m=m.slice(G);for(v=0;v!=m.length;++v){p=m[v].trim();if(p.length===0)continue;b=p.match(t);g=v;w=0;k=0;p="<c "+(p.slice(0,1)=="<"?">":"")+p;if(b!=null&&b.length===2){g=0;T=b[1];for(w=0;w!=T.length;++w){if((k=T.charCodeAt(w)-64)<1||k>26)break;g=26*g+k}--g;_=g}else++_;for(w=0;w!=p.length;++w)if(p.charCodeAt(w)===62)break;++w;y=Gr(p.slice(0,w),true);if(!y.r)y.r=Oa({r:S-1,c:_});T=p.slice(w);E={t:""};if((b=T.match(i))!=null&&b[1]!=="")E.v=Yr(b[1]);if(l.cellFormula){if((b=T.match(s))!=null&&b[1]!==""){E.f=Yr(ct(b[1])).replace(/\r\n/g,"\n");if(!l.xlfn)E.f=Nu(E.f);if(b[0].indexOf('t="array"')>-1){E.F=(T.match(n)||[])[1];if(E.F.indexOf(":")>-1)N.push([Fa(E.F),E.F])}else if(b[0].indexOf('t="shared"')>-1){x=Gr(b[0]);var j=Yr(ct(b[1]));if(!l.xlfn)j=Nu(j);F[parseInt(x.si,10)]=[x,j,y.r]}}else if(b=T.match(/<f[^>]*\/>/)){x=Gr(b[0]);if(F[x.si])E.f=Ou(F[x.si][1],F[x.si][2],y.r)}var $=Ra(y.r);for(w=0;w<N.length;++w)if($.r>=N[w][0].s.r&&$.r<=N[w][0].e.r)if($.c>=N[w][0].s.c&&$.c<=N[w][0].e.c)E.F=N[w][1]}if(y.t==null&&E.v===undefined){if(E.f||E.F){E.v=0;E.t="n"}else if(!U)continue;else E.t="z"}else E.t=y.t||"n";if(u.s.c>_)u.s.c=_;if(u.e.c<_)u.e.c=_;switch(E.t){case"n":if(E.v==""||E.v==null){if(!U)continue;E.t="z"}else E.v=parseFloat(E.v);break;case"s":if(typeof E.v=="undefined"){if(!U)continue;E.t="z"}else{A=Cd[parseInt(E.v,10)];E.v=A.t;E.r=A.r;if(l.cellHTML)E.h=A.h}break;case"str":E.t="s";E.v=E.v!=null?ct(E.v):"";if(l.cellHTML)E.h=et(E.v);break;case"inlineStr":b=T.match(a);E.t="s";if(b!=null&&(A=Po(b[1]))){E.v=A.t;if(l.cellHTML)E.h=A.h}else E.v="";break;case"b":E.v=nt(E.v);break;case"d":if(l.cellDates)E.v=mr(E.v,1);else{E.v=fr(mr(E.v,1));E.t="n"}break;case"e":if(!l||l.cellText!==false)E.w=E.v;E.v=jn[E.v];break;}C=R=0;I=null;if(O&&y.s!==undefined){I=d.CellXf[y.s];if(I!=null){if(I.numFmtId!=null)C=I.numFmtId;if(l.cellStyles){if(I.fillId!=null)R=I.fillId}}}Pd(E,C,R,l,h,d);if(l.cellDates&&O&&E.t=="n"&&De(X[C])){E.t="d";E.v=ur(E.v)}if(y.cm&&l.xlmeta){var Y=(l.xlmeta.Cell||[])[+y.cm-1];if(Y&&Y.type=="XLDAPR")E.D=true}if(D){var K=Ra(y.r);if(!c[K.r])c[K.r]=[];c[K.r][K.c]=E}else c[y.r]=E}}if(P.length>0)c["!rows"]=P}}();function vv(e,r,t,a){var n=[],i=[],s=Fa(e["!ref"]),f="",o,c="",l=[],u=0,h=0,d=e["!rows"];var v=Array.isArray(e);var p={r:c},m,b=-1;for(h=s.s.c;h<=s.e.c;++h)l[h]=_a(h);for(u=s.s.r;u<=s.e.r;++u){i=[];c=Ta(u);for(h=s.s.c;h<=s.e.c;++h){o=l[h]+c;var g=v?(e[u]||[])[h]:e[o];if(g===undefined)continue;if((f=hv(g,o,e,r,t,a))!=null)i.push(f)}if(i.length>0||d&&d[u]){p={r:c};if(d&&d[u]){m=d[u];if(m.hidden)p.hidden=1;b=-1;if(m.hpx)b=Dc(m.hpx);else if(m.hpt)b=m.hpt;if(b>-1){p.ht=b;p.customHeight=1}if(m.level){p.outlineLevel=m.level}}n[n.length]=kt("row",i.join(""),p)}}if(d)for(;u<d.length;++u){if(d&&d[u]){p={r:u+1};m=d[u];if(m.hidden)p.hidden=1;b=-1;if(m.hpx)b=Dc(m.hpx);else if(m.hpt)b=m.hpt;if(b>-1){p.ht=b;p.customHeight=1}if(m.level){p.outlineLevel=m.level}n[n.length]=kt("row","",p)}}return n.join("")}function pv(e,r,t,a){var n=[Mr,kt("worksheet",null,{xmlns:At[0],"xmlns:r":_t.r})];var i=t.SheetNames[e],s=0,f="";var o=t.Sheets[i];if(o==null)o={};var c=o["!ref"]||"A1";var l=Fa(c);if(l.e.c>16383||l.e.r>1048575){if(r.WTF)throw new Error("Range "+c+" exceeds format limit A1:XFD1048576");l.e.c=Math.min(l.e.c,16383);l.e.r=Math.min(l.e.c,1048575);c=Na(l)}if(!a)a={};o["!comments"]=[];var u=[];Zd(o,t,e,r,n);n[n.length]=kt("dimension",null,{ref:c});n[n.length]=uv(o,r,e,t);if(r.sheetFormat)n[n.length]=kt("sheetFormatPr",null,{defaultRowHeight:r.sheetFormat.defaultRowHeight||"16",baseColWidth:r.sheetFormat.baseColWidth||"10",outlineLevelRow:r.sheetFormat.outlineLevelRow||"7"});if(o["!cols"]!=null&&o["!cols"].length>0)n[n.length]=sv(o,o["!cols"]);n[s=n.length]="<sheetData/>";o["!links"]=[];if(o["!ref"]!=null){f=vv(o,r,e,t,a);if(f.length>0)n[n.length]=f}if(n.length>s+1){n[n.length]="</sheetData>";n[s]=n[s].replace("/>",">")}if(o["!protect"])n[n.length]=rv(o["!protect"]);if(o["!autofilter"]!=null)n[n.length]=ov(o["!autofilter"],o,t,e);if(o["!merges"]!=null&&o["!merges"].length>0)n[n.length]=Kd(o["!merges"]);var h=-1,d,v=-1;if(o["!links"].length>0){n[n.length]="<hyperlinks>";o["!links"].forEach(function(e){if(!e[1].Target)return;d={ref:e[0]};if(e[1].Target.charAt(0)!="#"){v=ri(a,-1,qr(e[1].Target).replace(/#.*$/,""),qn.HLINK);d["r:id"]="rId"+v}if((h=e[1].Target.indexOf("#"))>-1)d.location=qr(e[1].Target.slice(h+1));if(e[1].Tooltip)d.tooltip=qr(e[1].Tooltip);n[n.length]=kt("hyperlink",null,d)});n[n.length]="</hyperlinks>"}delete o["!links"];if(o["!margins"]!=null)n[n.length]=nv(o["!margins"]);if(!r||r.ignoreEC||r.ignoreEC==void 0)n[n.length]=gt("ignoredErrors",kt("ignoredError",null,{numberStoredAsText:1,sqref:c}));if(u.length>0){v=ri(a,-1,"../drawings/drawing"+(e+1)+".xml",qn.DRAW);n[n.length]=kt("drawing",null,{"r:id":"rId"+v});o["!drawing"]=u}if(o["!comments"].length>0){v=ri(a,-1,"../drawings/vmlDrawing"+(e+1)+".vml",qn.VML);n[n.length]=kt("legacyDrawing",null,{"r:id":"rId"+v});o["!legacy"]=v}if(n.length>1){n[n.length]="</worksheet>";n[1]=n[1].replace("/>",">")}return n.join("")}function mv(e,r){var t={};var a=e.l+r;t.r=e._R(4);e.l+=4;var n=e._R(2);e.l+=1;var i=e._R(1);e.l=a;if(i&7)t.level=i&7;if(i&16)t.hidden=true;if(i&32)t.hpt=n/20;return t}function bv(e,r,t){var a=ha(17+8*16);var n=(t["!rows"]||[])[e]||{};a._W(4,e);a._W(4,0);var i=320;if(n.hpx)i=Dc(n.hpx)*20;else if(n.hpt)i=n.hpt*20;a._W(2,i);a._W(1,0);var s=0;if(n.level)s|=n.level;if(n.hidden)s|=16;if(n.hpx||n.hpt)s|=32;a._W(1,s);a._W(1,0);var f=0,o=a.l;a.l+=4;var c={r:e,c:0};for(var l=0;l<16;++l){if(r.s.c>l+1<<10||r.e.c<l<<10)continue;var u=-1,h=-1;for(var d=l<<10;d<l+1<<10;++d){c.c=d;var v=Array.isArray(t)?(t[c.r]||[])[c.c]:t[Oa(c)];if(v){if(u<0)u=d;h=d}}if(u<0)continue;++f;a._W(4,u);a._W(4,h)}var p=a.l;a.l=o;a._W(4,f);a.l=p;return a.length>a.l?a.slice(0,a.l):a}function gv(e,r,t,a){var n=bv(a,t,r);if(n.length>17||(r["!rows"]||[])[a])pa(e,0,n)}var wv=un;var kv=hn;function Tv(){}function Ev(e,r){var t={};var a=e[e.l];++e.l;t.above=!(a&64);t.left=!(a&128);e.l+=18;t.name=Qa(e,r-19);return t}function yv(e,r,t){if(t==null)t=ha(84+4*e.length);var a=192;if(r){if(r.above)a&=~64;if(r.left)a&=~128}t._W(1,a);for(var n=1;n<3;++n)t._W(1,0);mn({auto:1},t);t._W(-4,-1);t._W(-4,-1);en(e,t);return t.slice(0,t.l)}function Sv(e){var r=Ka(e);return[r]}function _v(e,r,t){if(t==null)t=ha(8);return Ja(r,t)}function Av(e){var r=qa(e);return[r]}function xv(e,r,t){if(t==null)t=ha(4);return Za(r,t)}function Cv(e){var r=Ka(e);var t=e._R(1);return[r,t,"b"]}function Rv(e,r,t){if(t==null)t=ha(9);Ja(r,t);t._W(1,e.v?1:0);return t}function Ov(e){var r=qa(e);var t=e._R(1);return[r,t,"b"]}function Iv(e,r,t){if(t==null)t=ha(5);Za(r,t);t._W(1,e.v?1:0);return t}function Nv(e){var r=Ka(e);var t=e._R(1);return[r,t,"e"]}function Fv(e,r,t){if(t==null)t=ha(9);Ja(r,t);t._W(1,e.v);return t}function Dv(e){var r=qa(e);var t=e._R(1);return[r,t,"e"]}function Pv(e,r,t){if(t==null)t=ha(8);Za(r,t);t._W(1,e.v);t._W(2,0);t._W(1,0);return t}function Lv(e){var r=Ka(e);var t=e._R(4);return[r,t,"s"]}function Mv(e,r,t){if(t==null)t=ha(12);Ja(r,t);t._W(4,r.v);return t}function Uv(e){var r=qa(e);var t=e._R(4);return[r,t,"s"]}function Bv(e,r,t){if(t==null)t=ha(8);Za(r,t);t._W(4,r.v);return t}function Wv(e){var r=Ka(e);var t=dn(e);return[r,t,"n"]}function Hv(e,r,t){if(t==null)t=ha(16);Ja(r,t);vn(e.v,t);return t}function zv(e){var r=qa(e);var t=dn(e);return[r,t,"n"]}function Vv(e,r,t){if(t==null)t=ha(12);Za(r,t);vn(e.v,t);return t}function Gv(e){var r=Ka(e);var t=fn(e);return[r,t,"n"]}function jv(e,r,t){if(t==null)t=ha(12);Ja(r,t);on(e.v,t);return t}function Xv(e){var r=qa(e);var t=fn(e);return[r,t,"n"]}function $v(e,r,t){if(t==null)t=ha(8);Za(r,t);on(e.v,t);return t}function Yv(e){var r=Ka(e);var t=ja(e);return[r,t,"is"]}function Kv(e){var r=Ka(e);var t=Ha(e);return[r,t,"str"]}function Jv(e,r,t){if(t==null)t=ha(12+4*e.v.length);Ja(r,t);za(e.v,t);return t.length>t.l?t.slice(0,t.l):t}function qv(e){var r=qa(e);var t=Ha(e);return[r,t,"str"]}function Zv(e,r,t){if(t==null)t=ha(8+4*e.v.length);Za(r,t);za(e.v,t);return t.length>t.l?t.slice(0,t.l):t}function Qv(e,r,t){var a=e.l+r;var n=Ka(e);n.r=t["!row"];var i=e._R(1);var s=[n,i,"b"];if(t.cellFormula){e.l+=2;var f=gd(e,a-e.l,t);s[3]=fd(f,null,n,t.supbooks,t)}else e.l=a;return s}function ep(e,r,t){var a=e.l+r;var n=Ka(e);n.r=t["!row"];var i=e._R(1);var s=[n,i,"e"];if(t.cellFormula){e.l+=2;var f=gd(e,a-e.l,t);s[3]=fd(f,null,n,t.supbooks,t)}else e.l=a;return s}function rp(e,r,t){var a=e.l+r;var n=Ka(e);n.r=t["!row"];var i=dn(e);var s=[n,i,"n"];if(t.cellFormula){e.l+=2;var f=gd(e,a-e.l,t);s[3]=fd(f,null,n,t.supbooks,t)}else e.l=a;return s}function tp(e,r,t){-var a=e.l+r;var n=Ka(e);n.r=t["!row"];var i=Ha(e);var s=[n,i,"str"];if(t.cellFormula){e.l+=2;var f=gd(e,a-e.l,t);s[3]=fd(f,null,n,t.supbooks,t)}else e.l=a;return s}var ap=un;var np=hn;function ip(e,r){if(r==null)r=ha(4);r._W(4,e);return r}function sp(e,r){var t=e.l+r;var a=un(e,16);var n=rn(e);var i=Ha(e);var s=Ha(e);var f=Ha(e);e.l=t;var o={rfx:a,relId:n,loc:i,display:f};if(s)o.Tooltip=s;return o}function fp(e,r){var t=ha(50+4*(e[1].Target.length+(e[1].Tooltip||"").length));hn({s:Ra(e[0]),e:Ra(e[0])},t);sn("rId"+r,t);var a=e[1].Target.indexOf("#");var n=a==-1?"":e[1].Target.slice(a+1);za(n||"",t);za(e[1].Tooltip||"",t);za("",t);return t.slice(0,t.l)}function op(){}function cp(e,r,t){var a=e.l+r;var n=cn(e,16);var i=e._R(1);var s=[n];s[2]=i;if(t.cellFormula){var f=bd(e,a-e.l,t);s[1]=f}else e.l=a;return s}function lp(e,r,t){var a=e.l+r;var n=un(e,16);var i=[n];if(t.cellFormula){var s=kd(e,a-e.l,t);i[1]=s;e.l=a}else e.l=a;return i}function up(e,r,t){if(t==null)t=ha(18);var a=Nd(e,r);t._W(-4,e);t._W(-4,e);t._W(4,(a.width||10)*256);t._W(4,0);var n=0;if(r.hidden)n|=1;if(typeof a.width=="number")n|=2;if(r.level)n|=r.level<<8;t._W(2,n);return t}var hp=["left","right","top","bottom","header","footer"];function dp(e){var r={};hp.forEach(function(t){r[t]=dn(e,8)});return r}function vp(e,r){if(r==null)r=ha(6*8);Fd(e);hp.forEach(function(t){vn(e[t],r)});return r}function pp(e){var r=e._R(2);e.l+=28;return{RTL:r&32}}function mp(e,r,t){if(t==null)t=ha(30);var a=924;if((((r||{}).Views||[])[0]||{}).RTL)a|=32;t._W(2,a);t._W(4,0);t._W(4,0);t._W(4,0);t._W(1,0);t._W(1,0);t._W(2,0);t._W(2,100);t._W(2,0);t._W(2,0);t._W(2,0);t._W(4,0);return t}function bp(e){var r=ha(24);r._W(4,4);r._W(4,1);hn(e,r);return r}function gp(e,r){if(r==null)r=ha(16*4+2);r._W(2,e.password?cc(e.password):0);r._W(4,1);[["objects",false],["scenarios",false],["formatCells",true],["formatColumns",true],["formatRows",true],["insertColumns",true],["insertRows",true],["insertHyperlinks",true],["deleteColumns",true],["deleteRows",true],["selectLockedCells",false],["sort",true],["autoFilter",true],["pivotTables",true],["selectUnlockedCells",false]].forEach(function(t){if(t[1])r._W(4,e[t[0]]!=null&&!e[t[0]]?1:0);else r._W(4,e[t[0]]!=null&&e[t[0]]?0:1)});return r}function wp(){}function kp(){}function Tp(e,r,t,a,n,i,s){if(!e)return e;var f=r||{};if(!a)a={"!id":{}};if(m!=null&&f.dense==null)f.dense=m;var o=f.dense?[]:{};var c;var l={s:{r:2e6,c:2e6},e:{r:0,c:0}};var u=[];var h=false,d=false;var v,p,b,g,w,k,T,E,y;var S=[];f.biff=12;f["!row"]=0;var _=0,A=false;var x=[];var C={};var R=f.supbooks||n.supbooks||[[]];R.sharedf=C;R.arrayf=x;R.SheetNames=n.SheetNames||n.Sheets.map(function(e){return e.name});if(!f.supbooks){f.supbooks=R;if(n.Names)for(var O=0;O<n.Names.length;++O)R[0][O+1]=n.Names[O]}var I=[],N=[];var F=false;mb[16]={n:"BrtShortReal",f:zv};var D,P;da(e,function M(e,r,m){if(d)return;switch(m){case 148:c=e;break;case 0:v=e;if(f.sheetRows&&f.sheetRows<=v.r)d=true;E=Ta(g=v.r);f["!row"]=v.r;if(e.hidden||e.hpt||e.level!=null){if(e.hpt)e.hpx=Pc(e.hpt);N[e.r]=e}break;case 2:;case 3:;case 4:;case 5:;case 6:;case 7:;case 8:;case 9:;case 10:;case 11:;case 13:;case 14:;case 15:;case 16:;case 17:;case 18:;case 62:p={t:e[2]};switch(e[2]){case"n":p.v=e[1];break;case"s":T=Cd[e[1]];p.v=T.t;p.r=T.r;break;case"b":p.v=e[1]?true:false;break;case"e":p.v=e[1];if(f.cellText!==false)p.w=Gn[p.v];break;case"str":p.t="s";p.v=e[1];break;case"is":p.t="s";p.v=e[1].t;break;}if(b=s.CellXf[e[0].iStyleRef])Pd(p,b.numFmtId,null,f,i,s);w=e[0].c==-1?w+1:e[0].c;if(f.dense){if(!o[g])o[g]=[];o[g][w]=p}else o[_a(w)+E]=p;if(f.cellFormula){A=false;for(_=0;_<x.length;++_){var O=x[_];if(v.r>=O[0].s.r&&v.r<=O[0].e.r)if(w>=O[0].s.c&&w<=O[0].e.c){p.F=Na(O[0]);A=true}}if(!A&&e.length>3)p.f=e[3]}if(l.s.r>v.r)l.s.r=v.r;if(l.s.c>w)l.s.c=w;if(l.e.r<v.r)l.e.r=v.r;if(l.e.c<w)l.e.c=w;if(f.cellDates&&b&&p.t=="n"&&De(X[b.numFmtId])){var L=q(p.v);if(L){p.t="d";p.v=new Date(L.y,L.m-1,L.d,L.H,L.M,L.S,L.u)}}if(D){if(D.type=="XLDAPR")p.D=true;D=void 0}if(P)P=void 0;break;case 1:;case 12:if(!f.sheetStubs||h)break;p={t:"z",v:void 0};w=e[0].c==-1?w+1:e[0].c;if(f.dense){if(!o[g])o[g]=[];o[g][w]=p}else o[_a(w)+E]=p;if(l.s.r>v.r)l.s.r=v.r;if(l.s.c>w)l.s.c=w;if(l.e.r<v.r)l.e.r=v.r;if(l.e.c<w)l.e.c=w;if(D){if(D.type=="XLDAPR")p.D=true;D=void 0}if(P)P=void 0;break;case 176:S.push(e);break;case 49:{D=((f.xlmeta||{}).Cell||[])[e-1]}break;case 494:var M=a["!id"][e.relId];if(M){e.Target=M.Target;if(e.loc)e.Target+="#"+e.loc;e.Rel=M}else if(e.relId==""){e.Target="#"+e.loc}for(g=e.rfx.s.r;g<=e.rfx.e.r;++g)for(w=e.rfx.s.c;w<=e.rfx.e.c;++w){if(f.dense){if(!o[g])o[g]=[];if(!o[g][w])o[g][w]={t:"z",v:undefined};o[g][w].l=e}else{k=Oa({c:w,r:g});if(!o[k])o[k]={t:"z",v:undefined};o[k].l=e}}break;case 426:if(!f.cellFormula)break;x.push(e);y=f.dense?o[g][w]:o[_a(w)+E];y.f=fd(e[1],l,{r:v.r,c:w},R,f);y.F=Na(e[0]);break;case 427:if(!f.cellFormula)break;C[Oa(e[0].s)]=e[1];y=f.dense?o[g][w]:o[_a(w)+E];y.f=fd(e[1],l,{r:v.r,c:w},R,f);break;case 60:if(!f.cellStyles)break;while(e.e>=e.s){I[e.e--]={width:e.w/256,hidden:!!(e.flags&1),level:e.level};if(!F){F=true;Oc(e.w/256)}Ic(I[e.e+1])}break;case 161:o["!autofilter"]={ref:Na(e)};break;case 476:o["!margins"]=e;break;case 147:if(!n.Sheets[t])n.Sheets[t]={};if(e.name)n.Sheets[t].CodeName=e.name;if(e.above||e.left)o["!outline"]={above:e.above,left:e.left};break;case 137:if(!n.Views)n.Views=[{}];if(!n.Views[0])n.Views[0]={};if(e.RTL)n.Views[0].RTL=true;break;case 485:break;case 64:;case 1053:break;case 151:break;case 152:;case 175:;case 644:;case 625:;case 562:;case 396:;case 1112:;case 1146:;case 471:;case 1050:;case 649:;case 1105:;case 589:;case 607:;case 564:;case 1055:;case 168:;case 174:;case 1180:;case 499:;case 507:;case 550:;case 171:;case 167:;case 1177:;case 169:;case 1181:;case 551:;case 552:;case 661:;case 639:;case 478:;case 537:;case 477:;case 536:;case 1103:;case 680:;case 1104:;case 1024:;case 663:;case 535:;case 678:;case 504:;case 1043:;case 428:;case 170:;case 3072:;case 50:;case 2070:;case 1045:break;case 35:h=true;break;case 36:h=false;break;case 37:u.push(m);h=true;break;case 38:u.pop();h=false;break;default:if(r.T){}else if(!h||f.WTF)throw new Error("Unexpected record 0x"+m.toString(16));}},f);delete f.supbooks;delete f["!row"];if(!o["!ref"]&&(l.s.r<2e6||c&&(c.e.r>0||c.e.c>0||c.s.r>0||c.s.c>0)))o["!ref"]=Na(c||l);if(f.sheetRows&&o["!ref"]){var L=Fa(o["!ref"]);if(f.sheetRows<=+L.e.r){L.e.r=f.sheetRows-1;if(L.e.r>l.e.r)L.e.r=l.e.r;if(L.e.r<L.s.r)L.s.r=L.e.r;if(L.e.c>l.e.c)L.e.c=l.e.c;if(L.e.c<L.s.c)L.s.c=L.e.c;o["!fullref"]=o["!ref"];o["!ref"]=Na(L)}}if(S.length>0)o["!merges"]=S;if(I.length>0)o["!cols"]=I;if(N.length>0)o["!rows"]=N;return o}function Ep(e,r,t,a,n,i,s){if(r.v===undefined)return false;var f="";switch(r.t){case"b":f=r.v?"1":"0";break;case"d":r=gr(r);r.z=r.z||X[14];r.v=fr(mr(r.v));r.t="n";break;case"n":;case"e":f=""+r.v;break;default:f=r.v;break;}var o={r:t,c:a};o.s=Dd(n.cellXfs,r,n);if(r.l)i["!links"].push([Oa(o),r.l]);if(r.c)i["!comments"].push([Oa(o),r.c]);switch(r.t){case"s":;case"str":if(n.bookSST){f=Id(n.Strings,r.v,n.revStrings);o.t="s";o.v=f;if(s)pa(e,18,Bv(r,o));else pa(e,7,Mv(r,o))}else{o.t="str";if(s)pa(e,17,Zv(r,o));else pa(e,6,Jv(r,o))}return true;case"n":if(r.v==(r.v|0)&&r.v>-1e3&&r.v<1e3){if(s)pa(e,13,$v(r,o));else pa(e,2,jv(r,o))}else{if(s)pa(e,16,Vv(r,o));else pa(e,5,Hv(r,o))}return true;case"b":o.t="b";if(s)pa(e,15,Iv(r,o));else pa(e,4,Rv(r,o));return true;case"e":o.t="e";if(s)pa(e,14,Pv(r,o));else pa(e,3,Fv(r,o));return true;}if(s)pa(e,12,xv(r,o));else pa(e,1,_v(r,o));return true}function yp(e,r,t,a){var n=Fa(r["!ref"]||"A1"),i,s="",f=[];pa(e,145);var o=Array.isArray(r);var c=n.e.r;if(r["!rows"])c=Math.max(n.e.r,r["!rows"].length-1);for(var l=n.s.r;l<=c;++l){s=Ta(l);gv(e,r,n,l);var u=false;if(l<=n.e.r)for(var h=n.s.c;h<=n.e.c;++h){if(l===n.s.r)f[h]=_a(h);i=f[h]+s;var d=o?(r[l]||[])[h]:r[i];if(!d){u=false;continue}u=Ep(e,d,l,h,a,r,u)}}pa(e,146)}function Sp(e,r){if(!r||!r["!merges"])return;pa(e,177,ip(r["!merges"].length));r["!merges"].forEach(function(r){pa(e,176,np(r))});pa(e,178)}function _p(e,r){if(!r||!r["!cols"])return;pa(e,390);r["!cols"].forEach(function(r,t){if(r)pa(e,60,up(t,r))});pa(e,391)}function Ap(e,r){if(!r||!r["!ref"])return;pa(e,648);pa(e,649,bp(Fa(r["!ref"])));pa(e,650)}function xp(e,r,t){r["!links"].forEach(function(r){if(!r[1].Target)return;var a=ri(t,-1,r[1].Target.replace(/#.*$/,""),qn.HLINK);pa(e,494,fp(r,a))});delete r["!links"]}function Cp(e,r,t,a){if(r["!comments"].length>0){var n=ri(a,-1,"../drawings/vmlDrawing"+(t+1)+".vml",qn.VML);pa(e,551,sn("rId"+n));r["!legacy"]=n}}function Rp(e,r,t,a){if(!r["!autofilter"])return;var n=r["!autofilter"];var i=typeof n.ref==="string"?n.ref:Na(n.ref);if(!t.Workbook)t.Workbook={Sheets:[]};if(!t.Workbook.Names)t.Workbook.Names=[];var s=t.Workbook.Names;var f=Ia(i);if(f.s.r==f.e.r){f.e.r=Ia(r["!ref"]).e.r;i=Na(f)}for(var o=0;o<s.length;++o){var c=s[o];if(c.Name!="_xlnm._FilterDatabase")continue;if(c.Sheet!=a)continue;c.Ref="'"+t.SheetNames[a]+"'!"+i;break}if(o==s.length)s.push({Name:"_xlnm._FilterDatabase",Sheet:a,Ref:"'"+t.SheetNames[a]+"'!"+i});pa(e,161,hn(Fa(i)));pa(e,162)}function Op(e,r,t){pa(e,133);{pa(e,137,mp(r,t));pa(e,138)}pa(e,134)}function Ip(){}function Np(e,r){if(!r["!protect"])return;pa(e,535,gp(r["!protect"]))}function Fp(e,r,t,a){var n=va();var i=t.SheetNames[e],s=t.Sheets[i]||{};var f=i;try{if(t&&t.Workbook)f=t.Workbook.Sheets[e].CodeName||f}catch(o){}var c=Fa(s["!ref"]||"A1");if(c.e.c>16383||c.e.r>1048575){if(r.WTF)throw new Error("Range "+(s["!ref"]||"A1")+" exceeds format limit A1:XFD1048576");c.e.c=Math.min(c.e.c,16383);c.e.r=Math.min(c.e.c,1048575)}s["!links"]=[];s["!comments"]=[];pa(n,129);if(t.vbaraw||s["!outline"])pa(n,147,yv(f,s["!outline"]));pa(n,148,kv(c));Op(n,s,t.Workbook);Ip(n,s);_p(n,s,e,r,t);yp(n,s,e,r,t);Np(n,s);Rp(n,s,t,e);Sp(n,s);xp(n,s,a);if(s["!margins"])pa(n,476,vp(s["!margins"]));if(!r||r.ignoreEC||r.ignoreEC==void 0)Ap(n,s);Cp(n,s,e,a);pa(n,130);return n.end()}function Dp(e){var r=[];var t=e.match(/^<c:numCache>/);var a;(e.match(/<c:pt idx="(\d*)">(.*?)<\/c:pt>/gm)||[]).forEach(function(e){var a=e.match(/<c:pt idx="(\d*?)"><c:v>(.*)<\/c:v><\/c:pt>/);if(!a)return;r[+a[1]]=t?+a[2]:a[2]});var n=Yr((e.match(/<c:formatCode>([\s\S]*?)<\/c:formatCode>/)||["","General"])[1]);(e.match(/<c:f>(.*?)<\/c:f>/gm)||[]).forEach(function(e){a=e.replace(/<.*?>/g,"")});return[r,n,a]}function Pp(e,r,t,a,n,i){var s=i||{"!type":"chart"};if(!e)return i;var f=0,o=0,c="A";var l={s:{r:2e6,c:2e6},e:{r:0,c:0}};(e.match(/<c:numCache>[\s\S]*?<\/c:numCache>/gm)||[]).forEach(function(e){var r=Dp(e);l.s.r=l.s.c=0;l.e.c=f;c=_a(f);r[0].forEach(function(e,t){s[c+Ta(t)]={t:"n",v:e,z:r[1]};o=t});if(l.e.r<o)l.e.r=o;++f});if(f>0)s["!ref"]=Na(l);return s}function Lp(e,r,t,a,n){if(!e)return e;if(!a)a={"!id":{}};var i={"!type":"chart","!drawel":null,"!rel":""};var s;var f=e.match(jd);if(f)Jd(f[0],i,n,t);if(s=e.match(/drawing r:id="(.*?)"/))i["!rel"]=s[1];if(a["!id"][i["!rel"]])i["!drawel"]=a["!id"][i["!rel"]];return i}function Mp(e,r,t,a){var n=[Mr,kt("chartsheet",null,{xmlns:At[0],"xmlns:r":_t.r})];n[n.length]=kt("drawing",null,{"r:id":"rId1"});ri(a,-1,"../drawings/drawing"+(e+1)+".xml",qn.DRAW);if(n.length>2){n[n.length]="</chartsheet>";n[1]=n[1].replace("/>",">")}return n.join("")}function Up(e,r){e.l+=10;var t=Ha(e,r-10);return{name:t}}function Bp(e,r,t,a,n){if(!e)return e;if(!a)a={"!id":{}};var i={"!type":"chart","!drawel":null,"!rel":""};var s=[];var f=false;da(e,function o(e,a,c){switch(c){case 550:i["!rel"]=e;break;case 651:if(!n.Sheets[t])n.Sheets[t]={};if(e.name)n.Sheets[t].CodeName=e.name;break;case 562:;case 652:;case 669:;case 679:;case 551:;case 552:;case 476:;case 3072:break;case 35:f=true;break;case 36:f=false;break;case 37:s.push(c);break;case 38:s.pop();break;default:if(a.T>0)s.push(c);else if(a.T<0)s.pop();else if(!f||r.WTF)throw new Error("Unexpected record 0x"+c.toString(16));}},r);if(a["!id"][i["!rel"]])i["!drawel"]=a["!id"][i["!rel"]];return i}function Wp(){var e=va();pa(e,129);pa(e,130);return e.end()}var Hp=[["allowRefreshQuery",false,"bool"],["autoCompressPictures",true,"bool"],["backupFile",false,"bool"],["checkCompatibility",false,"bool"],["CodeName",""],["date1904",false,"bool"],["defaultThemeVersion",0,"int"],["filterPrivacy",false,"bool"],["hidePivotFieldList",false,"bool"],["promptedSolutions",false,"bool"],["publishItems",false,"bool"],["refreshAllConnections",false,"bool"],["saveExternalLinkValues",true,"bool"],["showBorderUnselectedTables",true,"bool"],["showInkAnnotation",true,"bool"],["showObjects","all"],["showPivotChartFilter",false,"bool"],["updateLinks","userSet"]];var zp=[["activeTab",0,"int"],["autoFilterDateGrouping",true,"bool"],["firstSheet",0,"int"],["minimized",false,"bool"],["showHorizontalScroll",true,"bool"],["showSheetTabs",true,"bool"],["showVerticalScroll",true,"bool"],["tabRatio",600,"int"],["visibility","visible"]];var Vp=[];var Gp=[["calcCompleted","true"],["calcMode","auto"],["calcOnSave","true"],["concurrentCalc","true"],["fullCalcOnLoad","false"],["fullPrecision","true"],["iterate","false"],["iterateCount","100"],["iterateDelta","0.001"],["refMode","A1"]];function jp(e,r){for(var t=0;t!=e.length;++t){var a=e[t];for(var n=0;n!=r.length;++n){var i=r[n];if(a[i[0]]==null)a[i[0]]=i[1];else switch(i[2]){case"bool":if(typeof a[i[0]]=="string")a[i[0]]=nt(a[i[0]]);break;case"int":if(typeof a[i[0]]=="string")a[i[0]]=parseInt(a[i[0]],10);break;}}}}function Xp(e,r){for(var t=0;t!=r.length;++t){var a=r[t];if(e[a[0]]==null)e[a[0]]=a[1];else switch(a[2]){case"bool":if(typeof e[a[0]]=="string")e[a[0]]=nt(e[a[0]]);break;case"int":if(typeof e[a[0]]=="string")e[a[0]]=parseInt(e[a[0]],10);break;}}}function $p(e){Xp(e.WBProps,Hp);Xp(e.CalcPr,Gp);jp(e.WBView,zp);jp(e.Sheets,Vp);Rd.date1904=nt(e.WBProps.date1904)}function Yp(e){if(!e.Workbook)return"false";if(!e.Workbook.WBProps)return"false";return nt(e.Workbook.WBProps.date1904)?"true":"false"}var Kp="][*?/\\".split("");function Jp(e,r){if(e.length>31){if(r)return false;throw new Error("Sheet names cannot exceed 31 chars")}var t=true;Kp.forEach(function(a){if(e.indexOf(a)==-1)return;if(!r)throw new Error("Sheet name cannot contain : \\ / ? * [ ]");t=false});return t}function qp(e,r,t){e.forEach(function(a,n){Jp(a);for(var i=0;i<n;++i)if(a==e[i])throw new Error("Duplicate Sheet Name: "+a);if(t){var s=r&&r[n]&&r[n].CodeName||a;if(s.charCodeAt(0)==95&&s.length>22)throw new Error("Bad Code Name: Worksheet"+s)}})}function Zp(e){if(!e||!e.SheetNames||!e.Sheets)throw new Error("Invalid Workbook");if(!e.SheetNames.length)throw new Error("Workbook is empty");var r=e.Workbook&&e.Workbook.Sheets||[];qp(e.SheetNames,r,!!e.vbaraw);for(var t=0;t<e.SheetNames.length;++t)Ld(e.Sheets[e.SheetNames[t]],e.SheetNames[t],t)}var Qp=/<\w+:workbook/;function em(e,r){if(!e)throw new Error("Could not find file");var t={AppVersion:{},WBProps:{},WBView:[],Sheets:[],CalcPr:{},Names:[],xmlns:""};var a=false,n="xmlns";var i={},s=0;e.replace(Hr,function f(o,c){var l=Gr(o);switch(jr(l[0])){case"<?xml":break;case"<workbook":if(o.match(Qp))n="xmlns"+o.match(/<(\w+):/)[1];t.xmlns=l[n];break;case"</workbook>":break;case"<fileVersion":delete l[0];t.AppVersion=l;break;case"<fileVersion/>":;case"</fileVersion>":break;case"<fileSharing":break;case"<fileSharing/>":break;case"<workbookPr":;case"<workbookPr/>":Hp.forEach(function(e){if(l[e[0]]==null)return;switch(e[2]){case"bool":t.WBProps[e[0]]=nt(l[e[0]]);break;case"int":t.WBProps[e[0]]=parseInt(l[e[0]],10);break;default:t.WBProps[e[0]]=l[e[0]];}});if(l.codeName)t.WBProps.CodeName=ct(l.codeName);break;case"</workbookPr>":break;case"<workbookProtection":break;case"<workbookProtection/>":break;case"<bookViews":;case"<bookViews>":;case"</bookViews>":break;case"<workbookView":;case"<workbookView/>":delete l[0];t.WBView.push(l);break;case"</workbookView>":break;case"<sheets":;case"<sheets>":;case"</sheets>":break;case"<sheet":switch(l.state){case"hidden":l.Hidden=1;break;case"veryHidden":l.Hidden=2;break;default:l.Hidden=0;}delete l.state;l.name=Yr(ct(l.name));delete l[0];t.Sheets.push(l);break;case"</sheet>":break;case"<functionGroups":;case"<functionGroups/>":break;case"<functionGroup":break;case"<externalReferences":;case"</externalReferences>":;case"<externalReferences>":break;case"<externalReference":break;case"<definedNames/>":break;case"<definedNames>":;case"<definedNames":a=true;break;case"</definedNames>":a=false;break;case"<definedName":{i={};i.Name=ct(l.name);if(l.comment)i.Comment=l.comment;if(l.localSheetId)i.Sheet=+l.localSheetId;if(nt(l.hidden||"0"))i.Hidden=true;s=c+o.length}break;case"</definedName>":{i.Ref=Yr(ct(e.slice(s,c)));t.Names.push(i)}break;case"<definedName/>":break;case"<calcPr":delete l[0];t.CalcPr=l;break;case"<calcPr/>":delete l[0];t.CalcPr=l;break;case"</calcPr>":break;case"<oleSize":break;case"<customWorkbookViews>":;case"</customWorkbookViews>":;case"<customWorkbookViews":break;case"<customWorkbookView":;case"</customWorkbookView>":break;case"<pivotCaches>":;case"</pivotCaches>":;case"<pivotCaches":break;case"<pivotCache":break;case"<smartTagPr":;case"<smartTagPr/>":break;case"<smartTagTypes":;case"<smartTagTypes>":;case"</smartTagTypes>":break;case"<smartTagType":break;case"<webPublishing":;case"<webPublishing/>":break;case"<fileRecoveryPr":;case"<fileRecoveryPr/>":break;case"<webPublishObjects>":;case"<webPublishObjects":;case"</webPublishObjects>":break;case"<webPublishObject":break;case"<extLst":;case"<extLst>":;case"</extLst>":;case"<extLst/>":break;case"<ext":a=true;break;case"</ext>":a=false;break;case"<ArchID":break;case"<AlternateContent":;case"<AlternateContent>":a=true;break;case"</AlternateContent>":a=false;break;case"<revisionPtr":break;default:if(!a&&r.WTF)throw new Error("unrecognized "+l[0]+" in workbook");}return o});if(At.indexOf(t.xmlns)===-1)throw new Error("Unknown Namespace: "+t.xmlns);$p(t);return t}function rm(e){var r=[Mr];r[r.length]=kt("workbook",null,{xmlns:At[0],"xmlns:r":_t.r});var t=e.Workbook&&(e.Workbook.Names||[]).length>0;var a={codeName:"ThisWorkbook"};if(e.Workbook&&e.Workbook.WBProps){Hp.forEach(function(r){if(e.Workbook.WBProps[r[0]]==null)return;if(e.Workbook.WBProps[r[0]]==r[1])return;a[r[0]]=e.Workbook.WBProps[r[0]]});if(e.Workbook.WBProps.CodeName){a.codeName=e.Workbook.WBProps.CodeName;delete a.CodeName}}r[r.length]=kt("workbookPr",null,a);var n=e.Workbook&&e.Workbook.Sheets||[];var i=0;if(n&&n[0]&&!!n[0].Hidden){r[r.length]="<bookViews>";for(i=0;i!=e.SheetNames.length;++i){if(!n[i])break;if(!n[i].Hidden)break}if(i==e.SheetNames.length)i=0;r[r.length]='<workbookView firstSheet="'+i+'" activeTab="'+i+'"/>';r[r.length]="</bookViews>"}r[r.length]="<sheets>";for(i=0;i!=e.SheetNames.length;++i){var s={name:qr(e.SheetNames[i].slice(0,31))};s.sheetId=""+(i+1);s["r:id"]="rId"+(i+1);if(n[i])switch(n[i].Hidden){case 1:s.state="hidden";break;case 2:s.state="veryHidden";break;}r[r.length]=kt("sheet",null,s)}r[r.length]="</sheets>";if(t){r[r.length]="<definedNames>";if(e.Workbook&&e.Workbook.Names)e.Workbook.Names.forEach(function(e){var t={name:e.Name};if(e.Comment)t.comment=e.Comment;if(e.Sheet!=null)t.localSheetId=""+e.Sheet;if(e.Hidden)t.hidden="1";if(!e.Ref)return;r[r.length]=kt("definedName",qr(e.Ref),t)});r[r.length]="</definedNames>"}if(r.length>2){r[r.length]="</workbook>";r[1]=r[1].replace("/>",">")}return r.join("")}function tm(e,r){var t={};t.Hidden=e._R(4);t.iTabID=e._R(4);t.strRelID=nn(e,r-8);t.name=Ha(e);return t}function am(e,r){if(!r)r=ha(127);r._W(4,e.Hidden);r._W(4,e.iTabID);sn(e.strRelID,r);za(e.name.slice(0,31),r);return r.length>r.l?r.slice(0,r.l):r}function nm(e,r){var t={};var a=e._R(4);t.defaultThemeVersion=e._R(4);var n=r>8?Ha(e):"";if(n.length>0)t.CodeName=n;t.autoCompressPictures=!!(a&65536);t.backupFile=!!(a&64);t.checkCompatibility=!!(a&4096);t.date1904=!!(a&1);t.filterPrivacy=!!(a&8);t.hidePivotFieldList=!!(a&1024);t.promptedSolutions=!!(a&16);t.publishItems=!!(a&2048);t.refreshAllConnections=!!(a&262144);t.saveExternalLinkValues=!!(a&128);t.showBorderUnselectedTables=!!(a&4);t.showInkAnnotation=!!(a&32);t.showObjects=["all","placeholders","none"][a>>13&3];t.showPivotChartFilter=!!(a&32768);t.updateLinks=["userSet","never","always"][a>>8&3];return t}function im(e,r){if(!r)r=ha(72);var t=0;if(e){if(e.filterPrivacy)t|=8}r._W(4,t);r._W(4,0);en(e&&e.CodeName||"ThisWorkbook",r);return r.slice(0,r.l)}function sm(e,r){var t={};e._R(4);t.ArchID=e._R(4);e.l+=r-8;return t}function fm(e,r,t){var a=e.l+r;e.l+=4;e.l+=1;var n=e._R(4);var i=an(e);var s=wd(e,0,t);var f=rn(e);e.l=a;var o={Name:i,Ptg:s};if(n<268435455)o.Sheet=n;if(f)o.Comment=f;return o}function om(e,r){var t={AppVersion:{},WBProps:{},WBView:[],Sheets:[],CalcPr:{},xmlns:""};var a=[];var n=false;if(!r)r={};r.biff=12;var i=[];var s=[[]];s.SheetNames=[];s.XTI=[];mb[16]={n:"BrtFRTArchID$",f:sm};da(e,function f(e,o,c){switch(c){case 156:s.SheetNames.push(e.name);t.Sheets.push(e);break;case 153:t.WBProps=e;break;case 39:if(e.Sheet!=null)r.SID=e.Sheet;e.Ref=fd(e.Ptg,null,null,s,r);delete r.SID;delete e.Ptg;i.push(e);break;case 1036:break;case 357:;case 358:;case 355:;case 667:if(!s[0].length)s[0]=[c,e];else s.push([c,e]);s[s.length-1].XTI=[];break;case 362:if(s.length===0){s[0]=[];s[0].XTI=[]}s[s.length-1].XTI=s[s.length-1].XTI.concat(e);s.XTI=s.XTI.concat(e);break;case 361:break;case 2071:;case 158:;case 143:;case 664:;case 353:break;case 3072:;case 3073:;case 534:;case 677:;case 157:;case 610:;case 2050:;case 155:;case 548:;case 676:;case 128:;case 665:;case 2128:;case 2125:;case 549:;case 2053:;case 596:;case 2076:;case 2075:;case 2082:;case 397:;case 154:;case 1117:;case 553:;case 2091:break;case 35:a.push(c);n=true;break;case 36:a.pop();n=false;break;case 37:a.push(c);n=true;break;case 38:a.pop();n=false;break;case 16:break;default:if(o.T){}else if(!n||r.WTF&&a[a.length-1]!=37&&a[a.length-1]!=35)throw new Error("Unexpected record 0x"+c.toString(16));}},r);$p(t);t.Names=i;t.supbooks=s;return t}function cm(e,r){pa(e,143);for(var t=0;t!=r.SheetNames.length;++t){var a=r.Workbook&&r.Workbook.Sheets&&r.Workbook.Sheets[t]&&r.Workbook.Sheets[t].Hidden||0;var n={Hidden:a,iTabID:t+1,strRelID:"rId"+(t+1),name:r.SheetNames[t]};pa(e,156,am(n))}pa(e,144)}function lm(r,t){if(!t)t=ha(127);for(var a=0;a!=4;++a)t._W(4,0);za("SheetJS",t);za(e.version,t);za(e.version,t);za("7262",t);return t.length>t.l?t.slice(0,t.l):t}function um(e,r){if(!r)r=ha(29);r._W(-4,0);r._W(-4,460);r._W(4,28800);r._W(4,17600);r._W(4,500);r._W(4,e);r._W(4,e);var t=120;r._W(1,t);return r.length>r.l?r.slice(0,r.l):r}function hm(e,r){if(!r.Workbook||!r.Workbook.Sheets)return;var t=r.Workbook.Sheets;var a=0,n=-1,i=-1;for(;a<t.length;++a){if(!t[a]||!t[a].Hidden&&n==-1)n=a;else if(t[a].Hidden==1&&i==-1)i=a}if(i>n)return;pa(e,135);pa(e,158,um(n));pa(e,136)}function dm(e,r){var t=va();pa(t,131);pa(t,128,lm());pa(t,153,im(e.Workbook&&e.Workbook.WBProps||null));hm(t,e,r);cm(t,e,r);pa(t,132);return t.end()}function vm(e,r,t){if(r.slice(-4)===".bin")return om(e,t);return em(e,t)}function pm(e,r,t,a,n,i,s,f){if(r.slice(-4)===".bin")return Tp(e,a,t,n,i,s,f);return Yd(e,a,t,n,i,s,f)}function mm(e,r,t,a,n,i,s,f){if(r.slice(-4)===".bin")return Bp(e,a,t,n,i,s,f);return Lp(e,a,t,n,i,s,f)}function bm(e,r,t,a,n,i,s,f){if(r.slice(-4)===".bin")return Su(e,a,t,n,i,s,f);return _u(e,a,t,n,i,s,f)}function gm(e,r,t,a,n,i,s,f){if(r.slice(-4)===".bin")return Eu(e,a,t,n,i,s,f);return yu(e,a,t,n,i,s,f)}function wm(e,r,t,a){if(r.slice(-4)===".bin")return cl(e,t,a);return Xc(e,t,a)}function km(e,r,t){return Ol(e,t)}function Tm(e,r,t){if(r.slice(-4)===".bin")return Vo(e,t);return Bo(e,t)}function Em(e,r,t){if(r.slice(-4)===".bin")return mu(e,t);return su(e,t)}function ym(e,r,t){if(r.slice(-4)===".bin")return Ql(e,r,t);return ql(e,r,t)}function Sm(e,r,t,a){if(t.slice(-4)===".bin")return ru(e,r,t,a);return eu(e,r,t,a)}function _m(e,r,t){if(r.slice(-4)===".bin")return $l(e,r,t);return Kl(e,r,t)}function Am(e,r,t){return(r.slice(-4)===".bin"?dm:rm)(e,t)}function xm(e,r,t,a,n){return(r.slice(-4)===".bin"?Fp:pv)(e,t,a,n)}function Cm(e,r,t,a,n){return(r.slice(-4)===".bin"?Wp:Mp)(e,t,a,n)}function Rm(e,r,t){return(r.slice(-4)===".bin"?kl:$c)(e,t)}function Om(e,r,t){return(r.slice(-4)===".bin"?Xo:Ho)(e,t)}function Im(e,r,t){return(r.slice(-4)===".bin"?bu:fu)(e,t)}function Nm(e){return(e.slice(-4)===".bin"?Yl:Jl)()}var Fm=/([\w:]+)=((?:")([^"]*)(?:")|(?:')([^']*)(?:'))/g;var Dm=/([\w:]+)=((?:")(?:[^"]*)(?:")|(?:')(?:[^']*)(?:'))/;function Pm(e,r){var t=e.split(/\s+/);var a=[];if(!r)a[0]=t[0];if(t.length===1)return a;var n=e.match(Fm),i,s,f,o;if(n)for(o=0;o!=n.length;++o){i=n[o].match(Dm);if((s=i[1].indexOf(":"))===-1)a[i[1]]=i[2].slice(1,i[2].length-1);else{if(i[1].slice(0,6)==="xmlns:")f="xmlns"+i[1].slice(6);else f=i[1].slice(s+1);a[f]=i[2].slice(1,i[2].length-1)}}return a}function Lm(e){var r=e.split(/\s+/);var t={};if(r.length===1)return t;var a=e.match(Fm),n,i,s,f;if(a)for(f=0;f!=a.length;++f){n=a[f].match(Dm);if((i=n[1].indexOf(":"))===-1)t[n[1]]=n[2].slice(1,n[2].length-1);else{if(n[1].slice(0,6)==="xmlns:")s="xmlns"+n[1].slice(6);else s=n[1].slice(i+1);t[s]=n[2].slice(1,n[2].length-1)}}return t}var Mm;function Um(e,r){var t=Mm[e]||Yr(e);if(t==="General")return fe(r);return Be(t,r)}function Bm(e,r,t,a){var n=a;switch((t[0].match(/dt:dt="([\w.]+)"/)||["",""])[1]){case"boolean":n=nt(a);break;case"i2":;case"int":n=parseInt(a,10);break;case"r4":;case"float":n=parseFloat(a);break;case"date":;case"dateTime.tz":n=mr(a);break;case"i8":;case"string":;case"fixed":;case"uuid":;case"bin.base64":break;default:throw new Error("bad custprop:"+t[0]);}e[Yr(r)]=n}function Wm(e,r,t){if(e.t==="z")return;if(!t||t.cellText!==false)try{if(e.t==="e"){e.w=e.w||Gn[e.v]}else if(r==="General"){if(e.t==="n"){if((e.v|0)===e.v)e.w=e.v.toString(10);else e.w=se(e.v)}else e.w=fe(e.v)}else e.w=Um(r||"General",e.v)}catch(a){if(t.WTF)throw a}try{var n=Mm[r]||r||"General";if(t.cellNF)e.z=n;if(t.cellDates&&e.t=="n"&&De(n)){var i=q(e.v);if(i){e.t="d";e.v=new Date(i.y,i.m-1,i.d,i.H,i.M,i.S,i.u)}}}catch(a){if(t.WTF)throw a}}function Hm(e,r,t){if(t.cellStyles){if(r.Interior){var a=r.Interior;if(a.Pattern)a.patternType=Lc[a.Pattern]||a.Pattern}}e[r.ID]=r}function zm(e,r,t,a,n,i,s,f,o,c){var l="General",u=a.StyleID,h={};c=c||{};var d=[];var v=0;if(u===undefined&&f)u=f.StyleID;if(u===undefined&&s)u=s.StyleID;while(i[u]!==undefined){if(i[u].nf)l=i[u].nf;if(i[u].Interior)d.push(i[u].Interior);if(!i[u].Parent)break;u=i[u].Parent}switch(t.Type){case"Boolean":a.t="b";a.v=nt(e);break;case"String":a.t="s";a.r=tt(Yr(e));a.v=e.indexOf("<")>-1?Yr(r||e).replace(/<.*?>/g,""):a.r;break;case"DateTime":if(e.slice(-1)!="Z")e+="Z";a.v=(mr(e)-new Date(Date.UTC(1899,11,30)))/(24*60*60*1e3);if(a.v!==a.v)a.v=Yr(e);else if(a.v<60)a.v=a.v-1;if(!l||l=="General")l="yyyy-mm-dd";case"Number":if(a.v===undefined)a.v=+e;if(!a.t)a.t="n";break;case"Error":a.t="e";a.v=jn[e];if(c.cellText!==false)a.w=e;break;default:if(e==""&&r==""){a.t="z"}else{a.t="s";a.v=tt(r||e)}break;}Wm(a,l,c);if(c.cellFormula!==false){if(a.Formula){var p=Yr(a.Formula);if(p.charCodeAt(0)==61)p=p.slice(1);a.f=Au(p,n);delete a.Formula;if(a.ArrayRange=="RC")a.F=Au("RC:RC",n);else if(a.ArrayRange){a.F=Au(a.ArrayRange,n);o.push([Fa(a.F),a.F])}}else{for(v=0;v<o.length;++v)if(n.r>=o[v][0].s.r&&n.r<=o[v][0].e.r)if(n.c>=o[v][0].s.c&&n.c<=o[v][0].e.c)a.F=o[v][1]}}if(c.cellStyles){d.forEach(function(e){if(!h.patternType&&e.patternType)h.patternType=e.patternType});a.s=h}if(a.StyleID!==undefined)a.ixfe=a.StyleID}function Vm(e){e.t=e.v||"";e.t=e.t.replace(/\r\n/g,"\n").replace(/\r/g,"\n");e.v=e.w=e.ixfe=undefined}function Gm(e,r){var t=r||{};ze();var n=d(yt(e));if(t.type=="binary"||t.type=="array"||t.type=="base64"){if(typeof a!=="undefined")n=a.utils.decode(65001,l(n));else n=ct(n)}var i=n.slice(0,1024).toLowerCase(),s=false;i=i.replace(/".*?"/g,"");if((i.indexOf(">")&1023)>Math.min(i.indexOf(",")&1023,i.indexOf(";")&1023)){var f=gr(t);f.type="string";return Ao.to_workbook(n,f)}if(i.indexOf("<?xml")==-1)["html","table","head","meta","script","style","div"].forEach(function(e){if(i.indexOf("<"+e)>=0)s=true});if(s)return Hb(n,t);Mm={"General Number":"General","General Date":X[22],"Long Date":"dddd, mmmm dd, yyyy","Medium Date":X[15],"Short Date":X[14],"Long Time":X[19],"Medium Time":X[18],"Short Time":X[20],Currency:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',Fixed:X[2],Standard:X[4],Percent:X[10],Scientific:X[11],"Yes/No":'"Yes";"Yes";"No";@',"True/False":'"True";"True";"False";@',"On/Off":'"Yes";"Yes";"No";@'};var o;var c=[],u;if(m!=null&&t.dense==null)t.dense=m;var h={},v=[],p=t.dense?[]:{},b="";var g={},w={};var k=Pm('<Data ss:Type="String">'),T=0;var E=0,y=0;var S={s:{r:2e6,c:2e6},e:{r:0,c:0}};var _={},A={};var x="",C=0;var R=[];var O={},I={},N=0,F=[];var D=[],P={};var L=[],M,U=false;var B=[];var W=[],H={},z=0,V=0;var G={Sheets:[],WBProps:{date1904:false}},j={};St.lastIndex=0;n=n.replace(/<!--([\s\S]*?)-->/gm,"");var $="";while(o=St.exec(n))switch(o[3]=($=o[3]).toLowerCase()){case"data":if($=="data"){if(o[1]==="/"){if((u=c.pop())[0]!==o[3])throw new Error("Bad state: "+u.join("|"))}else if(o[0].charAt(o[0].length-2)!=="/")c.push([o[3],true]);break}if(c[c.length-1][1])break;if(o[1]==="/")zm(n.slice(T,o.index),x,k,c[c.length-1][0]=="comment"?P:g,{c:E,r:y},_,L[E],w,B,t);else{x="";k=Pm(o[0]);T=o.index+o[0].length}break;case"cell":if(o[1]==="/"){if(D.length>0)g.c=D;if((!t.sheetRows||t.sheetRows>y)&&g.v!==undefined){if(t.dense){if(!p[y])p[y]=[];p[y][E]=g}else p[_a(E)+Ta(y)]=g}if(g.HRef){g.l={Target:Yr(g.HRef)};if(g.HRefScreenTip)g.l.Tooltip=g.HRefScreenTip;delete g.HRef;delete g.HRefScreenTip}if(g.MergeAcross||g.MergeDown){z=E+(parseInt(g.MergeAcross,10)|0);V=y+(parseInt(g.MergeDown,10)|0);R.push({s:{c:E,r:y},e:{c:z,r:V}})}if(!t.sheetStubs){if(g.MergeAcross)E=z+1;else++E}else if(g.MergeAcross||g.MergeDown){for(var Y=E;Y<=z;++Y){for(var K=y;K<=V;++K){if(Y>E||K>y){if(t.dense){if(!p[K])p[K]=[];p[K][Y]={t:"z"}}else p[_a(Y)+Ta(K)]={t:"z"}}}}E=z+1}else++E}else{g=Lm(o[0]);if(g.Index)E=+g.Index-1;if(E<S.s.c)S.s.c=E;if(E>S.e.c)S.e.c=E;if(o[0].slice(-2)==="/>")++E;D=[]}break;case"row":if(o[1]==="/"||o[0].slice(-2)==="/>"){if(y<S.s.r)S.s.r=y;if(y>S.e.r)S.e.r=y;if(o[0].slice(-2)==="/>"){w=Pm(o[0]);if(w.Index)y=+w.Index-1}E=0;++y}else{w=Pm(o[0]);if(w.Index)y=+w.Index-1;H={};if(w.AutoFitHeight=="0"||w.Height){H.hpx=parseInt(w.Height,10);H.hpt=Dc(H.hpx);W[y]=H}if(w.Hidden=="1"){H.hidden=true;W[y]=H}}break;case"worksheet":if(o[1]==="/"){if((u=c.pop())[0]!==o[3])throw new Error("Bad state: "+u.join("|"));v.push(b);if(S.s.r<=S.e.r&&S.s.c<=S.e.c){p["!ref"]=Na(S);if(t.sheetRows&&t.sheetRows<=S.e.r){p["!fullref"]=p["!ref"];S.e.r=t.sheetRows-1;p["!ref"]=Na(S)}}if(R.length)p["!merges"]=R;if(L.length>0)p["!cols"]=L;if(W.length>0)p["!rows"]=W;h[b]=p}else{S={s:{r:2e6,c:2e6},e:{r:0,c:0}};y=E=0;c.push([o[3],false]);u=Pm(o[0]);b=Yr(u.Name);p=t.dense?[]:{};R=[];B=[];W=[];j={name:b,Hidden:0};G.Sheets.push(j)}break;case"table":if(o[1]==="/"){if((u=c.pop())[0]!==o[3])throw new Error("Bad state: "+u.join("|"))}else if(o[0].slice(-2)=="/>")break;else{c.push([o[3],false]);L=[];U=false}break;case"style":if(o[1]==="/")Hm(_,A,t);else A=Pm(o[0]);break;case"numberformat":A.nf=Yr(Pm(o[0]).Format||"General");if(Mm[A.nf])A.nf=Mm[A.nf];for(var J=0;J!=392;++J)if(X[J]==A.nf)break;if(J==392)for(J=57;J!=392;++J)if(X[J]==null){We(A.nf,J);break}break;case"column":if(c[c.length-1][0]!=="table")break;M=Pm(o[0]);if(M.Hidden){M.hidden=true;delete M.Hidden}if(M.Width)M.wpx=parseInt(M.Width,10);if(!U&&M.wpx>10){U=true;_c=Ec;for(var q=0;q<L.length;++q)if(L[q])Ic(L[q])}if(U)Ic(M);L[M.Index-1||L.length]=M;for(var Z=0;Z<+M.Span;++Z)L[L.length]=gr(M);-break;case"namedrange":if(o[1]==="/")break;if(!G.Names)G.Names=[];var Q=Gr(o[0]);var ee={Name:Q.Name,Ref:Au(Q.RefersTo.slice(1),{r:0,c:0})};if(G.Sheets.length>0)ee.Sheet=G.Sheets.length-1;G.Names.push(ee);break;case"namedcell":break;case"b":break;case"i":break;case"u":break;case"s":break;case"em":break;case"h2":break;case"h3":break;case"sub":break;case"sup":break;case"span":break;case"alignment":break;case"borders":break;case"border":break;case"font":if(o[0].slice(-2)==="/>")break;else if(o[1]==="/")x+=n.slice(C,o.index);else C=o.index+o[0].length;break;case"interior":if(!t.cellStyles)break;A.Interior=Pm(o[0]);break;case"protection":break;case"author":;case"title":;case"description":;case"created":;case"keywords":;case"subject":;case"category":;case"company":;case"lastauthor":;case"lastsaved":;case"lastprinted":;case"version":;case"revision":;case"totaltime":;case"hyperlinkbase":;case"manager":;case"contentstatus":;case"identifier":;case"language":;case"appname":if(o[0].slice(-2)==="/>")break;else if(o[1]==="/")Si(O,$,n.slice(N,o.index));else N=o.index+o[0].length;break;case"paragraphs":break;case"styles":;case"workbook":if(o[1]==="/"){if((u=c.pop())[0]!==o[3])throw new Error("Bad state: "+u.join("|"))}else c.push([o[3],false]);break;case"comment":if(o[1]==="/"){if((u=c.pop())[0]!==o[3])throw new Error("Bad state: "+u.join("|"));Vm(P);D.push(P)}else{c.push([o[3],false]);u=Pm(o[0]);P={a:u.Author}}break;case"autofilter":if(o[1]==="/"){if((u=c.pop())[0]!==o[3])throw new Error("Bad state: "+u.join("|"))}else if(o[0].charAt(o[0].length-2)!=="/"){var re=Pm(o[0]);p["!autofilter"]={ref:Au(re.Range).replace(/\$/g,"")};c.push([o[3],true])}break;case"name":break;case"datavalidation":if(o[1]==="/"){if((u=c.pop())[0]!==o[3])throw new Error("Bad state: "+u.join("|"))}else{if(o[0].charAt(o[0].length-2)!=="/")c.push([o[3],true])}break;case"pixelsperinch":break;case"componentoptions":;case"documentproperties":;case"customdocumentproperties":;case"officedocumentsettings":;case"pivottable":;case"pivotcache":;case"names":;case"mapinfo":;case"pagebreaks":;case"querytable":;case"sorting":;case"schema":;case"conditionalformatting":;case"smarttagtype":;case"smarttags":;case"excelworkbook":;case"workbookoptions":;case"worksheetoptions":if(o[1]==="/"){if((u=c.pop())[0]!==o[3])throw new Error("Bad state: "+u.join("|"))}else if(o[0].charAt(o[0].length-2)!=="/")c.push([o[3],true]);break;case"null":break;default:if(c.length==0&&o[3]=="document")return Qb(n,t);if(c.length==0&&o[3]=="uof")return Qb(n,t);var te=true;switch(c[c.length-1][0]){case"officedocumentsettings":switch(o[3]){case"allowpng":break;case"removepersonalinformation":break;case"downloadcomponents":break;case"locationofcomponents":break;case"colors":break;case"color":break;case"index":break;case"rgb":break;case"targetscreensize":break;case"readonlyrecommended":break;default:te=false;}break;case"componentoptions":switch(o[3]){case"toolbar":break;case"hideofficelogo":break;case"spreadsheetautofit":break;case"label":break;case"caption":break;case"maxheight":break;case"maxwidth":break;case"nextsheetnumber":break;default:te=false;}break;case"excelworkbook":switch(o[3]){case"date1904":G.WBProps.date1904=true;break;case"windowheight":break;case"windowwidth":break;case"windowtopx":break;case"windowtopy":break;case"tabratio":break;case"protectstructure":break;case"protectwindow":break;case"protectwindows":break;case"activesheet":break;case"displayinknotes":break;case"firstvisiblesheet":break;case"supbook":break;case"sheetname":break;case"sheetindex":break;case"sheetindexfirst":break;case"sheetindexlast":break;case"dll":break;case"acceptlabelsinformulas":break;case"donotsavelinkvalues":break;case"iteration":break;case"maxiterations":break;case"maxchange":break;case"path":break;case"xct":break;case"count":break;case"selectedsheets":break;case"calculation":break;case"uncalced":break;case"startupprompt":break;case"crn":break;case"externname":break;case"formula":break;case"colfirst":break;case"collast":break;case"wantadvise":break;case"boolean":break;case"error":break;case"text":break;case"ole":break;case"noautorecover":break;case"publishobjects":break;case"donotcalculatebeforesave":break;case"number":break;case"refmoder1c1":break;case"embedsavesmarttags":break;default:te=false;}break;case"workbookoptions":switch(o[3]){case"owcversion":break;case"height":break;case"width":break;default:te=false;}break;case"worksheetoptions":switch(o[3]){case"visible":if(o[0].slice(-2)==="/>"){}else if(o[1]==="/")switch(n.slice(N,o.index)){case"SheetHidden":j.Hidden=1;break;case"SheetVeryHidden":j.Hidden=2;break;}else N=o.index+o[0].length;break;case"header":if(!p["!margins"])Fd(p["!margins"]={},"xlml");if(!isNaN(+Gr(o[0]).Margin))p["!margins"].header=+Gr(o[0]).Margin;break;case"footer":if(!p["!margins"])Fd(p["!margins"]={},"xlml");if(!isNaN(+Gr(o[0]).Margin))p["!margins"].footer=+Gr(o[0]).Margin;break;case"pagemargins":var ae=Gr(o[0]);if(!p["!margins"])Fd(p["!margins"]={},"xlml");if(!isNaN(+ae.Top))p["!margins"].top=+ae.Top;if(!isNaN(+ae.Left))p["!margins"].left=+ae.Left;if(!isNaN(+ae.Right))p["!margins"].right=+ae.Right;if(!isNaN(+ae.Bottom))p["!margins"].bottom=+ae.Bottom;break;case"displayrighttoleft":if(!G.Views)G.Views=[];if(!G.Views[0])G.Views[0]={};G.Views[0].RTL=true;break;case"freezepanes":break;case"frozennosplit":break;case"splithorizontal":;case"splitvertical":break;case"donotdisplaygridlines":break;case"activerow":break;case"activecol":break;case"toprowbottompane":break;case"leftcolumnrightpane":break;case"unsynced":break;case"print":break;case"printerrors":break;case"panes":break;case"scale":break;case"pane":break;case"number":break;case"layout":break;case"pagesetup":break;case"selected":break;case"protectobjects":break;case"enableselection":break;case"protectscenarios":break;case"validprinterinfo":break;case"horizontalresolution":break;case"verticalresolution":break;case"numberofcopies":break;case"activepane":break;case"toprowvisible":break;case"leftcolumnvisible":break;case"fittopage":break;case"rangeselection":break;case"papersizeindex":break;case"pagelayoutzoom":break;case"pagebreakzoom":break;case"filteron":break;case"fitwidth":break;case"fitheight":break;case"commentslayout":break;case"zoom":break;case"lefttoright":break;case"gridlines":break;case"allowsort":break;case"allowfilter":break;case"allowinsertrows":break;case"allowdeleterows":break;case"allowinsertcols":break;case"allowdeletecols":break;case"allowinserthyperlinks":break;case"allowformatcells":break;case"allowsizecols":break;case"allowsizerows":break;case"nosummaryrowsbelowdetail":if(!p["!outline"])p["!outline"]={};p["!outline"].above=true;break;case"tabcolorindex":break;case"donotdisplayheadings":break;case"showpagelayoutzoom":break;case"nosummarycolumnsrightdetail":if(!p["!outline"])p["!outline"]={};p["!outline"].left=true;break;case"blackandwhite":break;case"donotdisplayzeros":break;case"displaypagebreak":break;case"rowcolheadings":break;case"donotdisplayoutline":break;case"noorientation":break;case"allowusepivottables":break;case"zeroheight":break;case"viewablerange":break;case"selection":break;case"protectcontents":break;default:te=false;}break;case"pivottable":;case"pivotcache":switch(o[3]){case"immediateitemsondrop":break;case"showpagemultipleitemlabel":break;case"compactrowindent":break;case"location":break;case"pivotfield":break;case"orientation":break;case"layoutform":break;case"layoutsubtotallocation":break;case"layoutcompactrow":break;case"position":break;case"pivotitem":break;case"datatype":break;case"datafield":break;case"sourcename":break;case"parentfield":break;case"ptlineitems":break;case"ptlineitem":break;case"countofsameitems":break;case"item":break;case"itemtype":break;case"ptsource":break;case"cacheindex":break;case"consolidationreference":break;case"filename":break;case"reference":break;case"nocolumngrand":break;case"norowgrand":break;case"blanklineafteritems":break;case"hidden":break;case"subtotal":break;case"basefield":break;case"mapchilditems":break;case"function":break;case"refreshonfileopen":break;case"printsettitles":break;case"mergelabels":break;case"defaultversion":break;case"refreshname":break;case"refreshdate":break;case"refreshdatecopy":break;case"versionlastrefresh":break;case"versionlastupdate":break;case"versionupdateablemin":break;case"versionrefreshablemin":break;case"calculation":break;default:te=false;}break;case"pagebreaks":switch(o[3]){case"colbreaks":break;case"colbreak":break;case"rowbreaks":break;case"rowbreak":break;case"colstart":break;case"colend":break;case"rowend":break;default:te=false;}break;case"autofilter":switch(o[3]){case"autofiltercolumn":break;case"autofiltercondition":break;case"autofilterand":break;case"autofilteror":break;default:te=false;}break;case"querytable":switch(o[3]){case"id":break;case"autoformatfont":break;case"autoformatpattern":break;case"querysource":break;case"querytype":break;case"enableredirections":break;case"refreshedinxl9":break;case"urlstring":break;case"htmltables":break;case"connection":break;case"commandtext":break;case"refreshinfo":break;case"notitles":break;case"nextid":break;case"columninfo":break;case"overwritecells":break;case"donotpromptforfile":break;case"textwizardsettings":break;case"source":break;case"number":break;case"decimal":break;case"thousandseparator":break;case"trailingminusnumbers":break;case"formatsettings":break;case"fieldtype":break;case"delimiters":break;case"tab":break;case"comma":break;case"autoformatname":break;case"versionlastedit":break;case"versionlastrefresh":break;default:te=false;}break;case"datavalidation":switch(o[3]){case"range":break;case"type":break;case"min":break;case"max":break;case"sort":break;case"descending":break;case"order":break;case"casesensitive":break;case"value":break;case"errorstyle":break;case"errormessage":break;case"errortitle":break;case"inputmessage":break;case"inputtitle":break;case"combohide":break;case"inputhide":break;case"condition":break;case"qualifier":break;case"useblank":break;case"value1":break;case"value2":break;case"format":break;case"cellrangelist":break;default:te=false;}break;case"sorting":;case"conditionalformatting":switch(o[3]){case"range":break;case"type":break;case"min":break;case"max":break;case"sort":break;case"descending":break;case"order":break;case"casesensitive":break;case"value":break;case"errorstyle":break;case"errormessage":break;case"errortitle":break;case"cellrangelist":break;case"inputmessage":break;case"inputtitle":break;case"combohide":break;case"inputhide":break;case"condition":break;case"qualifier":break;case"useblank":break;case"value1":break;case"value2":break;case"format":break;default:te=false;}break;case"mapinfo":;case"schema":;case"data":switch(o[3]){case"map":break;case"entry":break;case"range":break;case"xpath":break;case"field":break;case"xsdtype":break;case"filteron":break;case"aggregate":break;case"elementtype":break;case"attributetype":break;case"schema":;case"element":;case"complextype":;case"datatype":;case"all":;case"attribute":;case"extends":break;case"row":break;default:te=false;}break;case"smarttags":break;default:te=false;break;}if(te)break;if(o[3].match(/!\[CDATA/))break;if(!c[c.length-1][1])throw"Unrecognized tag: "+o[3]+"|"+c.join("|");if(c[c.length-1][0]==="customdocumentproperties"){if(o[0].slice(-2)==="/>")break;else if(o[1]==="/")Bm(I,$,F,n.slice(N,o.index));else{F=o;N=o.index+o[0].length}break}if(t.WTF)throw"Unrecognized tag: "+o[3]+"|"+c.join("|");}var ne={};if(!t.bookSheets&&!t.bookProps)ne.Sheets=h;ne.SheetNames=v;ne.Workbook=G;ne.SSF=gr(X);ne.Props=O;ne.Custprops=I;return ne}function jm(e,r){Wg(r=r||{});switch(r.type||"base64"){case"base64":return Gm(k(e),r);case"binary":;case"buffer":;case"file":return Gm(e,r);case"array":return Gm(x(e),r);}}function Xm(e,r){var t=[];if(e.Props)t.push(_i(e.Props,r));if(e.Custprops)t.push(Ai(e.Props,e.Custprops,r));return t.join("")}function $m(){return""}function Ym(e,r){var t=['<Style ss:ID="Default" ss:Name="Normal"><NumberFormat/></Style>'];r.cellXfs.forEach(function(e,r){var a=[];a.push(kt("NumberFormat",null,{"ss:Format":qr(X[e.numFmtId])}));var n={"ss:ID":"s"+(21+r)};t.push(kt("Style",a.join(""),n))});return kt("Styles",t.join(""))}function Km(e){return kt("NamedRange",null,{"ss:Name":e.Name,"ss:RefersTo":"="+Cu(e.Ref,{r:0,c:0})})}function Jm(e){if(!((e||{}).Workbook||{}).Names)return"";var r=e.Workbook.Names;var t=[];for(var a=0;a<r.length;++a){var n=r[a];if(n.Sheet!=null)continue;if(n.Name.match(/^_xlfn\./))continue;t.push(Km(n))}return kt("Names",t.join(""))}function qm(e,r,t,a){if(!e)return"";if(!((a||{}).Workbook||{}).Names)return"";var n=a.Workbook.Names;var i=[];for(var s=0;s<n.length;++s){var f=n[s];if(f.Sheet!=t)continue;if(f.Name.match(/^_xlfn\./))continue;i.push(Km(f))}return i.join("")}function Zm(e,r,t,a){if(!e)return"";var n=[];if(e["!margins"]){n.push("<PageSetup>");if(e["!margins"].header)n.push(kt("Header",null,{"x:Margin":e["!margins"].header}));if(e["!margins"].footer)n.push(kt("Footer",null,{"x:Margin":e["!margins"].footer}));n.push(kt("PageMargins",null,{"x:Bottom":e["!margins"].bottom||"0.75","x:Left":e["!margins"].left||"0.7","x:Right":e["!margins"].right||"0.7","x:Top":e["!margins"].top||"0.75"}));n.push("</PageSetup>")}if(a&&a.Workbook&&a.Workbook.Sheets&&a.Workbook.Sheets[t]){if(a.Workbook.Sheets[t].Hidden)n.push(kt("Visible",a.Workbook.Sheets[t].Hidden==1?"SheetHidden":"SheetVeryHidden",{}));else{for(var i=0;i<t;++i)if(a.Workbook.Sheets[i]&&!a.Workbook.Sheets[i].Hidden)break;if(i==t)n.push("<Selected/>")}}if(((((a||{}).Workbook||{}).Views||[])[0]||{}).RTL)n.push("<DisplayRightToLeft/>");if(e["!protect"]){n.push(gt("ProtectContents","True"));if(e["!protect"].objects)n.push(gt("ProtectObjects","True"));if(e["!protect"].scenarios)n.push(gt("ProtectScenarios","True"));if(e["!protect"].selectLockedCells!=null&&!e["!protect"].selectLockedCells)n.push(gt("EnableSelection","NoSelection"));else if(e["!protect"].selectUnlockedCells!=null&&!e["!protect"].selectUnlockedCells)n.push(gt("EnableSelection","UnlockedCells"));[["formatCells","AllowFormatCells"],["formatColumns","AllowSizeCols"],["formatRows","AllowSizeRows"],["insertColumns","AllowInsertCols"],["insertRows","AllowInsertRows"],["insertHyperlinks","AllowInsertHyperlinks"],["deleteColumns","AllowDeleteCols"],["deleteRows","AllowDeleteRows"],["sort","AllowSort"],["autoFilter","AllowFilter"],["pivotTables","AllowUsePivotTables"]].forEach(function(r){if(e["!protect"][r[0]])n.push("<"+r[1]+"/>")})}if(n.length==0)return"";return kt("WorksheetOptions",n.join(""),{xmlns:xt.x})}function Qm(e){return e.map(function(e){var r=at(e.t||"");var t=kt("ss:Data",r,{xmlns:"http://www.w3.org/TR/REC-html40"});return kt("Comment",t,{"ss:Author":e.a})}).join("")}function eb(e,r,t,a,n,i,s){if(!e||e.v==undefined&&e.f==undefined)return"";var f={};if(e.f)f["ss:Formula"]="="+qr(Cu(e.f,s));if(e.F&&e.F.slice(0,r.length)==r){var o=Ra(e.F.slice(r.length+1));f["ss:ArrayRange"]="RC:R"+(o.r==s.r?"":"["+(o.r-s.r)+"]")+"C"+(o.c==s.c?"":"["+(o.c-s.c)+"]")}if(e.l&&e.l.Target){f["ss:HRef"]=qr(e.l.Target);if(e.l.Tooltip)f["x:HRefScreenTip"]=qr(e.l.Tooltip)}if(t["!merges"]){var c=t["!merges"];for(var l=0;l!=c.length;++l){if(c[l].s.c!=s.c||c[l].s.r!=s.r)continue;if(c[l].e.c>c[l].s.c)f["ss:MergeAcross"]=c[l].e.c-c[l].s.c;if(c[l].e.r>c[l].s.r)f["ss:MergeDown"]=c[l].e.r-c[l].s.r}}var u="",h="";switch(e.t){case"z":if(!a.sheetStubs)return"";break;case"n":u="Number";h=String(e.v);break;case"b":u="Boolean";h=e.v?"1":"0";break;case"e":u="Error";h=Gn[e.v];break;case"d":u="DateTime";h=new Date(e.v).toISOString();if(e.z==null)e.z=e.z||X[14];break;case"s":u="String";h=rt(e.v||"");break;}var d=Dd(a.cellXfs,e,a);f["ss:StyleID"]="s"+(21+d);f["ss:Index"]=s.c+1;var v=e.v!=null?h:"";var p=e.t=="z"?"":'<Data ss:Type="'+u+'">'+v+"</Data>";if((e.c||[]).length>0)p+=Qm(e.c);return kt("Cell",p,f)}function rb(e,r){var t='<Row ss:Index="'+(e+1)+'"';if(r){if(r.hpt&&!r.hpx)r.hpx=Pc(r.hpt);if(r.hpx)t+=' ss:AutoFitHeight="0" ss:Height="'+r.hpx+'"';if(r.hidden)t+=' ss:Hidden="1"'}return t+">"}function tb(e,r,t,a){if(!e["!ref"])return"";var n=Fa(e["!ref"]);var i=e["!merges"]||[],s=0;var f=[];if(e["!cols"])e["!cols"].forEach(function(e,r){Ic(e);var t=!!e.width;var a=Nd(r,e);var n={"ss:Index":r+1};if(t)n["ss:Width"]=Ac(a.width);if(e.hidden)n["ss:Hidden"]="1";f.push(kt("Column",null,n))});var o=Array.isArray(e);for(var c=n.s.r;c<=n.e.r;++c){var l=[rb(c,(e["!rows"]||[])[c])];for(var u=n.s.c;u<=n.e.c;++u){var h=false;for(s=0;s!=i.length;++s){if(i[s].s.c>u)continue;if(i[s].s.r>c)continue;if(i[s].e.c<u)continue;if(i[s].e.r<c)continue;if(i[s].s.c!=u||i[s].s.r!=c)h=true;break}if(h)continue;var d={r:c,c:u};var v=Oa(d),p=o?(e[c]||[])[u]:e[v];l.push(eb(p,v,e,r,t,a,d))}l.push("</Row>");if(l.length>2)f.push(l.join(""))}return f.join("")}function ab(e,r,t){var a=[];var n=t.SheetNames[e];var i=t.Sheets[n];var s=i?qm(i,r,e,t):"";if(s.length>0)a.push("<Names>"+s+"</Names>");s=i?tb(i,r,e,t):"";if(s.length>0)a.push("<Table>"+s+"</Table>");a.push(Zm(i,r,e,t));return a.join("")}function nb(e,r){if(!r)r={};if(!e.SSF)e.SSF=gr(X);if(e.SSF){ze();He(e.SSF);r.revssf=nr(e.SSF);r.revssf[e.SSF[65535]]=0;r.ssf=e.SSF;r.cellXfs=[];Dd(r.cellXfs,{},{revssf:{General:0}})}var t=[];t.push(Xm(e,r));t.push($m(e,r));t.push("");t.push("");for(var a=0;a<e.SheetNames.length;++a)t.push(kt("Worksheet",ab(a,r,e),{"ss:Name":qr(e.SheetNames[a])}));t[2]=Ym(e,r);t[3]=Jm(e,r);return Mr+kt("Workbook",t.join(""),{xmlns:xt.ss,"xmlns:o":xt.o,"xmlns:x":xt.x,"xmlns:ss":xt.ss,"xmlns:dt":xt.dt,"xmlns:html":xt.html})}function ib(e){var r={};var t=e.content;t.l=28;r.AnsiUserType=t._R(0,"lpstr-ansi");r.AnsiClipboardFormat=kn(t);if(t.length-t.l<=4)return r;var a=t._R(4);if(a==0||a>40)return r;t.l-=4;r.Reserved1=t._R(0,"lpstr-ansi");if(t.length-t.l<=4)return r;a=t._R(4);if(a!==1907505652)return r;r.UnicodeClipboardFormat=Tn(t);a=t._R(4);if(a==0||a>40)return r;t.l-=4;r.Reserved2=t._R(0,"lpwstr")}var sb=[60,1084,2066,2165,2175];function fb(e,r,t,a,n){var i=a;var s=[];var f=t.slice(t.l,t.l+i);if(n&&n.enc&&n.enc.insitu&&f.length>0)switch(e){case 9:;case 521:;case 1033:;case 2057:;case 47:;case 405:;case 225:;case 406:;case 312:;case 404:;case 10:break;case 133:break;default:n.enc.insitu(f);}s.push(f);t.l+=i;var o=Qt(t,t.l),c=bb[o];var l=0;while(c!=null&&sb.indexOf(o)>-1){i=Qt(t,t.l+2);l=t.l+4;if(o==2066)l+=4;else if(o==2165||o==2175){l+=12}f=t.slice(l,t.l+4+i);s.push(f);t.l+=4+i;c=bb[o=Qt(t,t.l)]}var u=O(s);la(u,0);var h=0;u.lens=[];for(var d=0;d<s.length;++d){u.lens.push(h);h+=s[d].length}if(u.length<a)throw"XLS Record 0x"+e.toString(16)+" Truncated: "+u.length+" < "+a;return r.f(u,u.length,n)}function ob(e,r,t){if(e.t==="z")return;if(!e.XF)return;var a=0;try{a=e.z||e.XF.numFmtId||0;if(r.cellNF)e.z=X[a]}catch(n){if(r.WTF)throw n}if(!r||r.cellText!==false)try{if(e.t==="e"){e.w=e.w||Gn[e.v]}else if(a===0||a=="General"){if(e.t==="n"){if((e.v|0)===e.v)e.w=e.v.toString(10);else e.w=se(e.v)}else e.w=fe(e.v)}else e.w=Be(a,e.v,{date1904:!!t,dateNF:r&&r.dateNF})}catch(n){if(r.WTF)throw n}if(r.cellDates&&a&&e.t=="n"&&De(X[a]||String(a))){var i=q(e.v);if(i){e.t="d";e.v=new Date(i.y,i.m-1,i.d,i.H,i.M,i.S,i.u)}}}function cb(e,r,t){return{v:e,ixfe:r,t:t}}function lb(e,r){var t={opts:{}};var a={};if(m!=null&&r.dense==null)r.dense=m;var n=r.dense?[]:{};var i={};var s={};var f=null;var c=[];var l="";var u={};var h,d="",v,p,b,g;var w={};var k=[];var T;var E;var y=[];var S=[];var _={Sheets:[],WBProps:{date1904:false},Views:[{}]},A={};var x=function ve(e){if(e<8)return Vn[e];if(e<64)return S[e-8]||Vn[e];return Vn[e]};var C=function pe(e,r,t){var a=r.XF.data;if(!a||!a.patternType||!t||!t.cellStyles)return;r.s={};r.s.patternType=a.patternType;var n;if(n=gc(x(a.icvFore))){r.s.fgColor={rgb:n}}if(n=gc(x(a.icvBack))){r.s.bgColor={rgb:n}}};var R=function me(e,r,t){if(B>1)return;if(t.sheetRows&&e.r>=t.sheetRows)return;if(t.cellStyles&&r.XF&&r.XF.data)C(e,r,t);delete r.ixfe;delete r.XF;h=e;d=Oa(e);if(!s||!s.s||!s.e)s={s:{r:0,c:0},e:{r:0,c:0}};if(e.r<s.s.r)s.s.r=e.r;if(e.c<s.s.c)s.s.c=e.c;if(e.r+1>s.e.r)s.e.r=e.r+1;if(e.c+1>s.e.c)s.e.c=e.c+1;if(t.cellFormula&&r.f){for(var a=0;a<k.length;++a){if(k[a][0].s.c>e.c||k[a][0].s.r>e.r)continue;if(k[a][0].e.c<e.c||k[a][0].e.r<e.r)continue;r.F=Na(k[a][0]);if(k[a][0].s.c!=e.c||k[a][0].s.r!=e.r)delete r.f;if(r.f)r.f=""+fd(k[a][1],s,e,M,O);break}}{if(t.dense){if(!n[e.r])n[e.r]=[];n[e.r][e.c]=r}else n[d]=r}};var O={enc:false,sbcch:0,snames:[],sharedf:w,arrayf:k,rrtabid:[],lastuser:"",biff:8,codepage:0,winlocked:0,cellStyles:!!r&&!!r.cellStyles,WTF:!!r&&!!r.wtf};if(r.password)O.password=r.password;var I;var N=[];var F=[];var D=[],P=[];var L=false;var M=[];M.SheetNames=O.snames;M.sharedf=O.sharedf;M.arrayf=O.arrayf;M.names=[];M.XTI=[];var U=0;var B=0;var W=0,H=[];var z=[];var V;O.codepage=1200;o(1200);var G=false;while(e.l<e.length-1){var j=e.l;var $=e._R(2);if($===0&&U===10)break;var Y=e.l===e.length?0:e._R(2);var K=bb[$];if(K&&K.f){if(r.bookSheets){if(U===133&&$!==133)break}U=$;if(K.r===2||K.r==12){var J=e._R(2);Y-=2;if(!O.enc&&J!==$&&((J&255)<<8|J>>8)!==$)throw new Error("rt mismatch: "+J+"!="+$);if(K.r==12){e.l+=10;Y-=10}}var q={};if($===10)q=K.f(e,Y,O);else q=fb($,K,e,Y,O);if(B==0&&[9,521,1033,2057].indexOf(U)===-1)continue;switch($){case 34:t.opts.Date1904=_.WBProps.date1904=q;break;case 134:t.opts.WriteProtect=true;break;case 47:if(!O.enc)e.l=0;O.enc=q;if(!r.password)throw new Error("File is password-protected");if(q.valid==null)throw new Error("Encryption scheme unsupported");if(!q.valid)throw new Error("Password is incorrect");break;case 92:O.lastuser=q;break;case 66:var Z=Number(q);switch(Z){case 21010:Z=1200;break;case 32768:Z=1e4;break;case 32769:Z=1252;break;}o(O.codepage=Z);G=true;break;case 317:O.rrtabid=q;break;case 25:O.winlocked=q;break;case 439:t.opts["RefreshAll"]=q;break;case 12:t.opts["CalcCount"]=q;break;case 16:t.opts["CalcDelta"]=q;break;case 17:t.opts["CalcIter"]=q;break;case 13:t.opts["CalcMode"]=q;break;case 14:t.opts["CalcPrecision"]=q;break;case 95:t.opts["CalcSaveRecalc"]=q;break;case 15:O.CalcRefMode=q;break;case 2211:t.opts.FullCalc=q;break;case 129:if(q.fDialog)n["!type"]="dialog";if(!q.fBelow)(n["!outline"]||(n["!outline"]={})).above=true;if(!q.fRight)(n["!outline"]||(n["!outline"]={})).left=true;break;case 224:y.push(q);break;case 430:M.push([q]);M[M.length-1].XTI=[];break;case 35:;case 547:M[M.length-1].push(q);break;case 24:;case 536:V={Name:q.Name,Ref:fd(q.rgce,s,null,M,O)};if(q.itab>0)V.Sheet=q.itab-1;M.names.push(V);if(!M[0]){M[0]=[];M[0].XTI=[]}M[M.length-1].push(q);if(q.Name=="_xlnm._FilterDatabase"&&q.itab>0)if(q.rgce&&q.rgce[0]&&q.rgce[0][0]&&q.rgce[0][0][0]=="PtgArea3d")z[q.itab-1]={ref:Na(q.rgce[0][0][1][2])};break;case 22:O.ExternCount=q;break;case 23:if(M.length==0){M[0]=[];M[0].XTI=[]}M[M.length-1].XTI=M[M.length-1].XTI.concat(q);M.XTI=M.XTI.concat(q);break;case 2196:if(O.biff<8)break;if(V!=null)V.Comment=q[1];break;case 18:n["!protect"]=q;break;case 19:if(q!==0&&O.WTF)console.error("Password verifier: "+q);break;case 133:{i[q.pos]=q;O.snames.push(q.name)}break;case 10:{if(--B)break;if(s.e){if(s.e.r>0&&s.e.c>0){s.e.r--;s.e.c--;n["!ref"]=Na(s);if(r.sheetRows&&r.sheetRows<=s.e.r){var Q=s.e.r;s.e.r=r.sheetRows-1;n["!fullref"]=n["!ref"];n["!ref"]=Na(s);s.e.r=Q}s.e.r++;s.e.c++}if(N.length>0)n["!merges"]=N;if(F.length>0)n["!objects"]=F;if(D.length>0)n["!cols"]=D;if(P.length>0)n["!rows"]=P;_.Sheets.push(A)}if(l==="")u=n;else a[l]=n;n=r.dense?[]:{}}break;case 9:;case 521:;case 1033:;case 2057:{if(O.biff===8)O.biff={9:2,521:3,1033:4}[$]||{512:2,768:3,1024:4,1280:5,1536:8,2:2,7:2}[q.BIFFVer]||8;O.biffguess=q.BIFFVer==0;if(q.BIFFVer==0&&q.dt==4096){O.biff=5;G=true;o(O.codepage=28591)}if(O.biff==8&&q.BIFFVer==0&&q.dt==16)O.biff=2;if(B++)break;n=r.dense?[]:{};if(O.biff<8&&!G){G=true;o(O.codepage=r.codepage||1252)}if(O.biff<5||q.BIFFVer==0&&q.dt==4096){if(l==="")l="Sheet1";s={s:{r:0,c:0},e:{r:0,c:0}};var ee={pos:e.l-Y,name:l};i[ee.pos]=ee;O.snames.push(l)}else l=(i[j]||{name:""}).name;if(q.dt==32)n["!type"]="chart";if(q.dt==64)n["!type"]="macro";N=[];F=[];O.arrayf=k=[];D=[];P=[];L=false;A={Hidden:(i[j]||{hs:0}).hs,name:l}}break;case 515:;case 3:;case 2:{if(n["!type"]=="chart")if(r.dense?(n[q.r]||[])[q.c]:n[Oa({c:q.c,r:q.r})])++q.c;T={ixfe:q.ixfe,XF:y[q.ixfe]||{},v:q.val,t:"n"};if(W>0)T.z=H[T.ixfe>>8&63];ob(T,r,t.opts.Date1904);R({c:q.c,r:q.r},T,r)}break;case 5:;case 517:{T={ixfe:q.ixfe,XF:y[q.ixfe],v:q.val,t:q.t};if(W>0)T.z=H[T.ixfe>>8&63];ob(T,r,t.opts.Date1904);R({c:q.c,r:q.r},T,r)}break;case 638:{T={ixfe:q.ixfe,XF:y[q.ixfe],v:q.rknum,t:"n"};if(W>0)T.z=H[T.ixfe>>8&63];ob(T,r,t.opts.Date1904);R({c:q.c,r:q.r},T,r)}break;case 189:{for(var re=q.c;re<=q.C;++re){var te=q.rkrec[re-q.c][0];T={ixfe:te,XF:y[te],v:q.rkrec[re-q.c][1],t:"n"};if(W>0)T.z=H[T.ixfe>>8&63];ob(T,r,t.opts.Date1904);R({c:re,r:q.r},T,r)}}break;case 6:;case 518:;case 1030:{if(q.val=="String"){f=q;break}T=cb(q.val,q.cell.ixfe,q.tt);T.XF=y[T.ixfe];if(r.cellFormula){var ae=q.formula;if(ae&&ae[0]&&ae[0][0]&&ae[0][0][0]=="PtgExp"){var ne=ae[0][0][1][0],ie=ae[0][0][1][1];var se=Oa({r:ne,c:ie});if(w[se])T.f=""+fd(q.formula,s,q.cell,M,O);else T.F=((r.dense?(n[ne]||[])[ie]:n[se])||{}).F}else T.f=""+fd(q.formula,s,q.cell,M,O)}if(W>0)T.z=H[T.ixfe>>8&63];ob(T,r,t.opts.Date1904);R(q.cell,T,r);f=q}break;case 7:;case 519:{if(f){f.val=q;T=cb(q,f.cell.ixfe,"s");T.XF=y[T.ixfe];if(r.cellFormula){T.f=""+fd(f.formula,s,f.cell,M,O)}if(W>0)T.z=H[T.ixfe>>8&63];ob(T,r,t.opts.Date1904);R(f.cell,T,r);f=null}else throw new Error("String record expects Formula")}break;case 33:;case 545:{k.push(q);var fe=Oa(q[0].s);v=r.dense?(n[q[0].s.r]||[])[q[0].s.c]:n[fe];if(r.cellFormula&&v){if(!f)break;if(!fe||!v)break;v.f=""+fd(q[1],s,q[0],M,O);v.F=Na(q[0])}}break;case 1212:{if(!r.cellFormula)break;if(d){if(!f)break;w[Oa(f.cell)]=q[0];v=r.dense?(n[f.cell.r]||[])[f.cell.c]:n[Oa(f.cell)];(v||{}).f=""+fd(q[0],s,h,M,O)}}break;case 253:T=cb(c[q.isst].t,q.ixfe,"s");if(c[q.isst].h)T.h=c[q.isst].h;T.XF=y[T.ixfe];if(W>0)T.z=H[T.ixfe>>8&63];ob(T,r,t.opts.Date1904);R({c:q.c,r:q.r},T,r);break;case 513:if(r.sheetStubs){T={ixfe:q.ixfe,XF:y[q.ixfe],t:"z"};if(W>0)T.z=H[T.ixfe>>8&63];ob(T,r,t.opts.Date1904);R({c:q.c,r:q.r},T,r)}break;case 190:if(r.sheetStubs){for(var oe=q.c;oe<=q.C;++oe){var ce=q.ixfe[oe-q.c];T={ixfe:ce,XF:y[ce],t:"z"};if(W>0)T.z=H[T.ixfe>>8&63];ob(T,r,t.opts.Date1904);R({c:oe,r:q.r},T,r)}}break;case 214:;case 516:;case 4:T=cb(q.val,q.ixfe,"s");T.XF=y[T.ixfe];if(W>0)T.z=H[T.ixfe>>8&63];ob(T,r,t.opts.Date1904);R({c:q.c,r:q.r},T,r);break;case 0:;case 512:{if(B===1)s=q}break;case 252:{c=q}break;case 1054:{if(O.biff==4){H[W++]=q[1];for(var le=0;le<W+163;++le)if(X[le]==q[1])break;if(le>=163)We(q[1],W+163)}else We(q[1],q[0])}break;case 30:{H[W++]=q;for(var ue=0;ue<W+163;++ue)if(X[ue]==q)break;if(ue>=163)We(q,W+163)}break;case 229:N=N.concat(q);break;case 93:F[q.cmo[0]]=O.lastobj=q;break;case 438:O.lastobj.TxO=q;break;case 127:O.lastobj.ImData=q;break;case 440:{for(g=q[0].s.r;g<=q[0].e.r;++g)for(b=q[0].s.c;b<=q[0].e.c;++b){v=r.dense?(n[g]||[])[b]:n[Oa({c:b,r:g})];if(v)v.l=q[1]}}break;case 2048:{for(g=q[0].s.r;g<=q[0].e.r;++g)for(b=q[0].s.c;b<=q[0].e.c;++b){v=r.dense?(n[g]||[])[b]:n[Oa({c:b,r:g})];if(v&&v.l)v.l.Tooltip=q[1]}}break;case 28:{if(O.biff<=5&&O.biff>=2)break;v=r.dense?(n[q[0].r]||[])[q[0].c]:n[Oa(q[0])];var he=F[q[2]];if(!v){if(r.dense){if(!n[q[0].r])n[q[0].r]=[];v=n[q[0].r][q[0].c]={t:"z"}}else{v=n[Oa(q[0])]={t:"z"}}s.e.r=Math.max(s.e.r,q[0].r);s.s.r=Math.min(s.s.r,q[0].r);s.e.c=Math.max(s.e.c,q[0].c);s.s.c=Math.min(s.s.c,q[0].c)}if(!v.c)v.c=[];p={a:q[1],t:he.TxO.t};v.c.push(p)}break;case 2173:Bl(y[q.ixfe],q.ext);break;case 125:{if(!O.cellStyles)break;while(q.e>=q.s){D[q.e--]={width:q.w/256,level:q.level||0,hidden:!!(q.flags&1)};if(!L){L=true;Oc(q.w/256)}Ic(D[q.e+1])}}break;case 520:{var de={};if(q.level!=null){P[q.r]=de;de.level=q.level}if(q.hidden){P[q.r]=de;de.hidden=true}if(q.hpt){P[q.r]=de;de.hpt=q.hpt;de.hpx=Pc(q.hpt)}}break;case 38:;case 39:;case 40:;case 41:if(!n["!margins"])Fd(n["!margins"]={});n["!margins"][{38:"left",39:"right",40:"top",41:"bottom"}[$]]=q;break;case 161:if(!n["!margins"])Fd(n["!margins"]={});n["!margins"].header=q.header;n["!margins"].footer=q.footer;break;case 574:if(q.RTL)_.Views[0].RTL=true;break;case 146:S=q;break;case 2198:I=q;break;case 140:E=q;break;case 442:{if(!l)_.WBProps.CodeName=q||"ThisWorkbook";else A.CodeName=q||A.name}break;}}else{if(!K)console.error("Missing Info for XLS Record 0x"+$.toString(16));e.l+=Y}}t.SheetNames=rr(i).sort(function(e,r){return Number(e)-Number(r)}).map(function(e){return i[e].name});if(!r.bookSheets)t.Sheets=a;if(!t.SheetNames.length&&u["!ref"]){t.SheetNames.push("Sheet1");if(t.Sheets)t.Sheets["Sheet1"]=u}else t.Preamble=u;if(t.Sheets)z.forEach(function(e,r){t.Sheets[t.SheetNames[r]]["!autofilter"]=e});t.Strings=c;t.SSF=gr(X);if(O.enc)t.Encryption=O.enc;if(I)t.Themes=I;t.Metadata={};if(E!==undefined)t.Metadata.Country=E;if(M.names.length>0)_.Names=M.names;t.Workbook=_;return t}var ub={SI:"e0859ff2f94f6810ab9108002b27b3d9",DSI:"02d5cdd59c2e1b10939708002b2cf9ae",UDI:"05d5cdd59c2e1b10939708002b2cf9ae"};function hb(e,r,t){var a=Ke.find(e,"/!DocumentSummaryInformation");if(a&&a.size>0)try{var n=$i(a,Mn,ub.DSI);for(var i in n)r[i]=n[i]}catch(s){if(t.WTF)throw s}var f=Ke.find(e,"/!SummaryInformation");if(f&&f.size>0)try{var o=$i(f,Un,ub.SI);for(var c in o)if(r[c]==null)r[c]=o[c]}catch(s){if(t.WTF)throw s}if(r.HeadingPairs&&r.TitlesOfParts){mi(r.HeadingPairs,r.TitlesOfParts,r,t);delete r.HeadingPairs;delete r.TitlesOfParts}}function db(e,r){var t=[],a=[],n=[];var i=0,s;var f=tr(Mn,"n");var o=tr(Un,"n");if(e.Props){s=rr(e.Props);for(i=0;i<s.length;++i)(Object.prototype.hasOwnProperty.call(f,s[i])?t:Object.prototype.hasOwnProperty.call(o,s[i])?a:n).push([s[i],e.Props[s[i]]])}if(e.Custprops){s=rr(e.Custprops);for(i=0;i<s.length;++i)if(!Object.prototype.hasOwnProperty.call(e.Props||{},s[i]))(Object.prototype.hasOwnProperty.call(f,s[i])?t:Object.prototype.hasOwnProperty.call(o,s[i])?a:n).push([s[i],e.Custprops[s[i]]])}var c=[];for(i=0;i<n.length;++i){if(Gi.indexOf(n[i][0])>-1||pi.indexOf(n[i][0])>-1)continue;if(n[i][1]==null)continue;c.push(n[i])}if(a.length)Ke.utils.cfb_add(r,"/SummaryInformation",Yi(a,ub.SI,o,Un));if(t.length||c.length)Ke.utils.cfb_add(r,"/DocumentSummaryInformation",Yi(t,ub.DSI,f,Mn,c.length?c:null,ub.UDI))}function vb(e,r){if(!r)r={};Wg(r);c();if(r.codepage)s(r.codepage);var t,a;if(e.FullPaths){if(Ke.find(e,"/encryption"))throw new Error("File is password-protected");t=Ke.find(e,"!CompObj");a=Ke.find(e,"/Workbook")||Ke.find(e,"/Book")}else{switch(r.type){case"base64":e=_(k(e));break;case"binary":e=_(e);break;case"buffer":break;case"array":if(!Array.isArray(e))e=Array.prototype.slice.call(e);break;}la(e,0);a={content:e}}var n;var i;if(t)ib(t);if(r.bookProps&&!r.bookSheets)n={};else{var f=T?"buffer":"array";if(a&&a.content)n=lb(a.content,r);else if((i=Ke.find(e,"PerfectOffice_MAIN"))&&i.content)n=Co.to_workbook(i.content,(r.type=f,r));else if((i=Ke.find(e,"NativeContent_MAIN"))&&i.content)n=Co.to_workbook(i.content,(r.type=f,r));else if((i=Ke.find(e,"MN0"))&&i.content)throw new Error("Unsupported Works 4 for Mac file");else throw new Error("Cannot find Workbook stream");if(r.bookVBA&&e.FullPaths&&Ke.find(e,"/_VBA_PROJECT_CUR/VBA/dir"))n.vbaraw=wu(e)}var o={};if(e.FullPaths)hb(e,o,r);n.Props=n.Custprops=o;if(r.bookFiles)n.cfb=e;return n}function pb(e,r){var t=r||{};var a=Ke.utils.cfb_new({root:"R"});var n="/Workbook";switch(t.bookType||"xls"){case"xls":t.bookType="biff8";case"xla":if(!t.bookType)t.bookType="xla";case"biff8":n="/Workbook";t.biff=8;break;case"biff5":n="/Book";t.biff=5;break;default:throw new Error("invalid type "+t.bookType+" for XLS CFB");}Ke.utils.cfb_add(a,n,Lb(e,t));if(t.biff==8&&(e.Props||e.Custprops))db(e,a);if(t.biff==8&&e.vbaraw)ku(a,Ke.read(e.vbaraw,{type:typeof e.vbaraw=="string"?"binary":"buffer"}));return a}var mb={0:{f:mv},1:{f:Sv},2:{f:Gv},3:{f:Nv},4:{f:Cv},5:{f:Wv},6:{f:Kv},7:{f:Lv-},8:{f:tp},9:{f:rp},10:{f:Qv},11:{f:ep},12:{f:Av},13:{f:Xv},14:{f:Dv},15:{f:Ov},16:{f:zv},17:{f:qv},18:{f:Uv},19:{f:ja},20:{},21:{},22:{},23:{},24:{},25:{},26:{},27:{},28:{},29:{},30:{},31:{},32:{},33:{},34:{},35:{T:1},36:{T:-1},37:{T:1},38:{T:-1},39:{f:fm},40:{},42:{},43:{f:Jc},44:{f:Yc},45:{f:el},46:{f:il},47:{f:tl},48:{},49:{f:Ba},50:{},51:{f:zl},52:{T:1},53:{T:-1},54:{T:1},55:{T:-1},56:{T:1},57:{T:-1},58:{},59:{},60:{f:ao},62:{f:Yv},63:{f:Zl},64:{f:wp},65:{},66:{},67:{},68:{},69:{},70:{},128:{},129:{T:1},130:{T:-1},131:{T:1,f:ua,p:0},132:{T:-1},133:{T:1},134:{T:-1},135:{T:1},136:{T:-1},137:{T:1,f:pp},138:{T:-1},139:{T:1},140:{T:-1},141:{T:1},142:{T:-1},143:{T:1},144:{T:-1},145:{T:1},146:{T:-1},147:{f:Ev},148:{f:wv,p:16},151:{f:op},152:{},153:{f:nm},154:{},155:{},156:{f:tm},157:{},158:{},159:{T:1,f:zo},160:{T:-1},161:{T:1,f:un},162:{T:-1},163:{T:1},164:{T:-1},165:{T:1},166:{T:-1},167:{},168:{},169:{},170:{},171:{},172:{T:1},173:{T:-1},174:{},175:{},176:{f:ap},177:{T:1},178:{T:-1},179:{T:1},180:{T:-1},181:{T:1},182:{T:-1},183:{T:1},184:{T:-1},185:{T:1},186:{T:-1},187:{T:1},188:{T:-1},189:{T:1},190:{T:-1},191:{T:1},192:{T:-1},193:{T:1},194:{T:-1},195:{T:1},196:{T:-1},197:{T:1},198:{T:-1},199:{T:1},200:{T:-1},201:{T:1},202:{T:-1},203:{T:1},204:{T:-1},205:{T:1},206:{T:-1},207:{T:1},208:{T:-1},209:{T:1},210:{T:-1},211:{T:1},212:{T:-1},213:{T:1},214:{T:-1},215:{T:1},216:{T:-1},217:{T:1},218:{T:-1},219:{T:1},220:{T:-1},221:{T:1},222:{T:-1},223:{T:1},224:{T:-1},225:{T:1},226:{T:-1},227:{T:1},228:{T:-1},229:{T:1},230:{T:-1},231:{T:1},232:{T:-1},233:{T:1},234:{T:-1},235:{T:1},236:{T:-1},237:{T:1},238:{T:-1},239:{T:1},240:{T:-1},241:{T:1},242:{T:-1},243:{T:1},244:{T:-1},245:{T:1},246:{T:-1},247:{T:1},248:{T:-1},249:{T:1},250:{T:-1},251:{T:1},252:{T:-1},253:{T:1},254:{T:-1},255:{T:1},256:{T:-1},257:{T:1},258:{T:-1},259:{T:1},260:{T:-1},261:{T:1},262:{T:-1},263:{T:1},264:{T:-1},265:{T:1},266:{T:-1},267:{T:1},268:{T:-1},269:{T:1},270:{T:-1},271:{T:1},272:{T:-1},273:{T:1},274:{T:-1},275:{T:1},276:{T:-1},277:{},278:{T:1},279:{T:-1},280:{T:1},281:{T:-1},282:{T:1},283:{T:1},284:{T:-1},285:{T:1},286:{T:-1},287:{T:1},288:{T:-1},289:{T:1},290:{T:-1},291:{T:1},292:{T:-1},293:{T:1},294:{T:-1},295:{T:1},296:{T:-1},297:{T:1},298:{T:-1},299:{T:1},300:{T:-1},301:{T:1},302:{T:-1},303:{T:1},304:{T:-1},305:{T:1},306:{T:-1},307:{T:1},308:{T:-1},309:{T:1},310:{T:-1},311:{T:1},312:{T:-1},313:{T:-1},314:{T:1},315:{T:-1},316:{T:1},317:{T:-1},318:{T:1},319:{T:-1},320:{T:1},321:{T:-1},322:{T:1},323:{T:-1},324:{T:1},325:{T:-1},326:{T:1},327:{T:-1},328:{T:1},329:{T:-1},330:{T:1},331:{T:-1},332:{T:1},333:{T:-1},334:{T:1},335:{f:Wl},336:{T:-1},337:{f:jl,T:1},338:{T:-1},339:{T:1},340:{T:-1},341:{T:1},342:{T:-1},343:{T:1},344:{T:-1},345:{T:1},346:{T:-1},347:{T:1},348:{T:-1},349:{T:1},350:{T:-1},351:{},352:{},353:{T:1},354:{T:-1},355:{f:nn},357:{},358:{},359:{},360:{T:1},361:{},362:{f:Df},363:{},364:{},366:{},367:{},368:{},369:{},370:{},371:{},372:{T:1},373:{T:-1},374:{T:1},375:{T:-1},376:{T:1},377:{T:-1},378:{T:1},379:{T:-1},380:{T:1},381:{T:-1},382:{T:1},383:{T:-1},384:{T:1},385:{T:-1},386:{T:1},387:{T:-1},388:{T:1},389:{T:-1},390:{T:1},391:{T:-1},392:{T:1},393:{T:-1},394:{T:1},395:{T:-1},396:{},397:{},398:{},399:{},400:{},401:{T:1},403:{},404:{},405:{},406:{},407:{},408:{},409:{},410:{},411:{},412:{},413:{},414:{},415:{},416:{},417:{},418:{},419:{},420:{},421:{},422:{T:1},423:{T:1},424:{T:-1},425:{T:-1},426:{f:cp},427:{f:lp},428:{},429:{T:1},430:{T:-1},431:{T:1},432:{T:-1},433:{T:1},434:{T:-1},435:{T:1},436:{T:-1},437:{T:1},438:{T:-1},439:{T:1},440:{T:-1},441:{T:1},442:{T:-1},443:{T:1},444:{T:-1},445:{T:1},446:{T:-1},447:{T:1},448:{T:-1},449:{T:1},450:{T:-1},451:{T:1},452:{T:-1},453:{T:1},454:{T:-1},455:{T:1},456:{T:-1},457:{T:1},458:{T:-1},459:{T:1},460:{T:-1},461:{T:1},462:{T:-1},463:{T:1},464:{T:-1},465:{T:1},466:{T:-1},467:{T:1},468:{T:-1},469:{T:1},470:{T:-1},471:{},472:{},473:{T:1},474:{T:-1},475:{},476:{f:dp},477:{},478:{},479:{T:1},480:{T:-1},481:{T:1},482:{T:-1},483:{T:1},484:{T:-1},485:{f:Tv},486:{T:1},487:{T:-1},488:{T:1},489:{T:-1},490:{T:1},491:{T:-1},492:{T:1},493:{T:-1},494:{f:sp},495:{T:1},496:{T:-1},497:{T:1},498:{T:-1},499:{},500:{T:1},501:{T:-1},502:{T:1},503:{T:-1},504:{},505:{T:1},506:{T:-1},507:{},508:{T:1},509:{T:-1},510:{T:1},511:{T:-1},512:{},513:{},514:{T:1},515:{T:-1},516:{T:1},517:{T:-1},518:{T:1},519:{T:-1},520:{T:1},521:{T:-1},522:{},523:{},524:{},525:{},526:{},527:{},528:{T:1},529:{T:-1},530:{T:1},531:{T:-1},532:{T:1},533:{T:-1},534:{},535:{},536:{},537:{},538:{T:1},539:{T:-1},540:{T:1},541:{T:-1},542:{T:1},548:{},549:{},550:{f:nn},551:{},552:{},553:{},554:{T:1},555:{T:-1},556:{T:1},557:{T:-1},558:{T:1},559:{T:-1},560:{T:1},561:{T:-1},562:{},564:{},565:{T:1},566:{T:-1},569:{T:1},570:{T:-1},572:{},573:{T:1},574:{T:-1},577:{},578:{},579:{},580:{},581:{},582:{},583:{},584:{},585:{},586:{},587:{},588:{T:-1},589:{},590:{T:1},591:{T:-1},592:{T:1},593:{T:-1},594:{T:1},595:{T:-1},596:{},597:{T:1},598:{T:-1},599:{T:1},600:{T:-1},601:{T:1},602:{T:-1},603:{T:1},604:{T:-1},605:{T:1},606:{T:-1},607:{},608:{T:1},609:{T:-1},610:{},611:{T:1},612:{T:-1},613:{T:1},614:{T:-1},615:{T:1},616:{T:-1},617:{T:1},618:{T:-1},619:{T:1},620:{T:-1},625:{},626:{T:1},627:{T:-1},628:{T:1},629:{T:-1},630:{T:1},631:{T:-1},632:{f:vu},633:{T:1},634:{T:-1},635:{T:1,f:hu},636:{T:-1},637:{f:$a},638:{T:1},639:{},640:{T:-1},641:{T:1},642:{T:-1},643:{T:1},644:{},645:{T:-1},646:{T:1},648:{T:1},649:{},650:{T:-1},651:{f:Up},652:{},653:{T:1},654:{T:-1},655:{T:1},656:{T:-1},657:{T:1},658:{T:-1},659:{},660:{T:1},661:{},662:{T:-1},663:{},664:{T:1},665:{},666:{T:-1},667:{},668:{},669:{},671:{T:1},672:{T:-1},673:{T:1},674:{T:-1},675:{},676:{},677:{},678:{},679:{},680:{},681:{},1024:{},1025:{},1026:{T:1},1027:{T:-1},1028:{T:1},1029:{T:-1},1030:{},1031:{T:1},1032:{T:-1},1033:{T:1},1034:{T:-1},1035:{},1036:{},1037:{},1038:{T:1},1039:{T:-1},1040:{},1041:{T:1},1042:{T:-1},1043:{},1044:{},1045:{},1046:{T:1},1047:{T:-1},1048:{T:1},1049:{T:-1},1050:{},1051:{T:1},1052:{T:1},1053:{f:kp},1054:{T:1},1055:{},1056:{T:1},1057:{T:-1},1058:{T:1},1059:{T:-1},1061:{},1062:{T:1},1063:{T:-1},1064:{T:1},1065:{T:-1},1066:{T:1},1067:{T:-1},1068:{T:1},1069:{T:-1},1070:{T:1},1071:{T:-1},1072:{T:1},1073:{T:-1},1075:{T:1},1076:{T:-1},1077:{T:1},1078:{T:-1},1079:{T:1},1080:{T:-1},1081:{T:1},1082:{T:-1},1083:{T:1},1084:{T:-1},1085:{},1086:{T:1},1087:{T:-1},1088:{T:1},1089:{T:-1},1090:{T:1},1091:{T:-1},1092:{T:1},1093:{T:-1},1094:{T:1},1095:{T:-1},1096:{},1097:{T:1},1098:{},1099:{T:-1},1100:{T:1},1101:{T:-1},1102:{},1103:{},1104:{},1105:{},1111:{},1112:{},1113:{T:1},1114:{T:-1},1115:{T:1},1116:{T:-1},1117:{},1118:{T:1},1119:{T:-1},1120:{T:1},1121:{T:-1},1122:{T:1},1123:{T:-1},1124:{T:1},1125:{T:-1},1126:{},1128:{T:1},1129:{T:-1},1130:{},1131:{T:1},1132:{T:-1},1133:{T:1},1134:{T:-1},1135:{T:1},1136:{T:-1},1137:{T:1},1138:{T:-1},1139:{T:1},1140:{T:-1},1141:{},1142:{T:1},1143:{T:-1},1144:{T:1},1145:{T:-1},1146:{},1147:{T:1},1148:{T:-1},1149:{T:1},1150:{T:-1},1152:{T:1},1153:{T:-1},1154:{T:-1},1155:{T:-1},1156:{T:-1},1157:{T:1},1158:{T:-1},1159:{T:1},1160:{T:-1},1161:{T:1},1162:{T:-1},1163:{T:1},1164:{T:-1},1165:{T:1},1166:{T:-1},1167:{T:1},1168:{T:-1},1169:{T:1},1170:{T:-1},1171:{},1172:{T:1},1173:{T:-1},1177:{},1178:{T:1},1180:{},1181:{},1182:{},2048:{T:1},2049:{T:-1},2050:{},2051:{T:1},2052:{T:-1},2053:{},2054:{},2055:{T:1},2056:{T:-1},2057:{T:1},2058:{T:-1},2060:{},2067:{},2068:{T:1},2069:{T:-1},2070:{},2071:{},2072:{T:1},2073:{T:-1},2075:{},2076:{},2077:{T:1},2078:{T:-1},2079:{},2080:{T:1},2081:{T:-1},2082:{},2083:{T:1},2084:{T:-1},2085:{T:1},2086:{T:-1},2087:{T:1},2088:{T:-1},2089:{T:1},2090:{T:-1},2091:{},2092:{},2093:{T:1},2094:{T:-1},2095:{},2096:{T:1},2097:{T:-1},2098:{T:1},2099:{T:-1},2100:{T:1},2101:{T:-1},2102:{},2103:{T:1},2104:{T:-1},2105:{},2106:{T:1},2107:{T:-1},2108:{},2109:{T:1},2110:{T:-1},2111:{T:1},2112:{T:-1},2113:{T:1},2114:{T:-1},2115:{},2116:{},2117:{},2118:{T:1},2119:{T:-1},2120:{},2121:{T:1},2122:{T:-1},2123:{T:1},2124:{T:-1},2125:{},2126:{T:1},2127:{T:-1},2128:{},2129:{T:1},2130:{T:-1},2131:{T:1},2132:{T:-1},2133:{T:1},2134:{},2135:{},2136:{},2137:{T:1},2138:{T:-1},2139:{T:1},2140:{T:-1},2141:{},3072:{},3073:{},4096:{T:1},4097:{T:-1},5002:{T:1},5003:{T:-1},5081:{T:1},5082:{T:-1},5083:{},5084:{T:1},5085:{T:-1},5086:{T:1},5087:{T:-1},5088:{},5089:{},5090:{},5092:{T:1},5093:{T:-1},5094:{},5095:{T:1},5096:{T:-1},5097:{},5099:{},65535:{n:""}};var bb={6:{f:vd},10:{f:Ki},12:{f:es},13:{f:es},14:{f:Zi},15:{f:Zi},16:{f:dn},17:{f:Zi},18:{f:Zi},19:{f:es},20:{f:Rf},21:{f:Rf},23:{f:Df},24:{f:Ff},25:{f:Zi},26:{},27:{},28:{f:Hf},29:{},34:{f:Zi},35:{f:If},38:{f:dn},39:{f:dn},40:{f:dn},41:{f:dn},42:{f:Zi},43:{f:Zi},47:{f:pc},49:{f:sf},51:{f:es},60:{},61:{f:ef},64:{f:Zi},65:{f:nf},66:{f:es},77:{},80:{},81:{},82:{},85:{f:es},89:{},90:{},91:{},92:{f:zs},93:{f:Gf},94:{},95:{f:Zi},96:{},97:{},99:{f:Zi},125:{f:ao},128:{f:yf},129:{f:Gs},130:{f:es},131:{f:Zi},132:{f:Zi},133:{f:js},134:{},140:{f:Zf},141:{f:es},144:{},146:{f:ro},151:{},152:{},153:{},154:{},155:{},156:{f:es},157:{},158:{},160:{f:co},161:{f:io},174:{},175:{},176:{},177:{},178:{},180:{},181:{},182:{},184:{},185:{},189:{f:gf},190:{f:wf},193:{f:Ki},197:{},198:{},199:{},200:{},201:{},202:{f:Zi},203:{},204:{},205:{},206:{},207:{},208:{},209:{},210:{},211:{},213:{},215:{},216:{},217:{},218:{f:es},220:{},221:{f:Zi},222:{},224:{f:Tf},225:{f:Hs},226:{f:Ki},227:{},229:{f:zf},233:{},235:{},236:{},237:{},239:{},240:{},241:{},242:{},244:{},245:{},246:{},247:{},248:{},249:{},251:{},252:{f:$s},253:{f:of},255:{f:Ks},256:{},259:{},290:{},311:{},312:{},315:{},317:{f:ts},318:{},319:{},320:{},330:{},331:{},333:{},334:{},335:{},336:{},337:{},338:{},339:{},340:{},351:{},352:{f:Zi},353:{f:Ki},401:{},402:{},403:{},404:{},405:{},406:{},407:{},408:{},425:{},426:{},427:{},428:{},429:{},430:{f:Of},431:{f:Zi},432:{},433:{},434:{},437:{},438:{f:$f},439:{f:Zi},440:{f:Yf},441:{},442:{f:cs},443:{},444:{f:es},445:{},446:{},448:{f:Ki},449:{f:Zs,r:2},450:{f:Ki},512:{f:pf},513:{f:oo},515:{f:xf},516:{f:lf},517:{f:_f},519:{f:lo},520:{f:Js},523:{},545:{f:Uf},549:{f:Qs},566:{},574:{f:tf},638:{f:bf},659:{},1048:{},1054:{f:hf},1084:{},1212:{f:Mf},2048:{f:Jf},2049:{},2050:{},2051:{},2052:{},2053:{},2054:{},2055:{},2056:{},2057:{f:Bs},2058:{},2059:{},2060:{},2061:{},2062:{},2063:{},2064:{},2066:{},2067:{},2128:{},2129:{},2130:{},2131:{},2132:{},2133:{},2134:{},2135:{},2136:{},2137:{},2138:{},2146:{},2147:{r:12},2148:{},2149:{},2150:{},2151:{f:Ki},2152:{},2154:{},2155:{},2156:{},2161:{},2162:{},2164:{},2165:{},2166:{},2167:{},2168:{},2169:{},2170:{},2171:{},2172:{f:to,r:12},2173:{f:Ul,r:12},2174:{},2175:{},2180:{},2181:{},2182:{},2183:{},2184:{},2185:{},2186:{},2187:{},2188:{f:Zi,r:12},2189:{},2190:{r:12},2191:{},2192:{},2194:{},2195:{},2196:{f:Lf,r:12},2197:{},2198:{f:Nl,r:12},2199:{},2200:{},2201:{},2202:{f:Bf,r:12},2203:{f:Ki},2204:{},2205:{},2206:{},2207:{},2211:{f:qs},2212:{},2213:{},2214:{},2215:{},4097:{},4098:{},4099:{},4102:{},4103:{},4105:{},4106:{},4107:{},4108:{},4109:{},4116:{},4117:{},4118:{},4119:{},4120:{},4121:{},4122:{},4123:{},4124:{},4125:{},4126:{},4127:{},4128:{},4129:{},4130:{},4132:{},4133:{},4134:{f:es},4135:{},4146:{},4147:{},4148:{},4149:{},4154:{},4156:{},4157:{},4158:{},4159:{},4160:{},4161:{},4163:{},4164:{f:so},4165:{},4166:{},4168:{},4170:{},4171:{},4174:{},4175:{},4176:{},4177:{},4187:{},4188:{f:eo},4189:{},4191:{},4192:{},4193:{},4194:{},4195:{},4196:{},4197:{},4198:{},4199:{},4200:{},0:{f:pf},1:{},2:{f:mo},3:{f:vo},4:{f:ho},5:{f:_f},7:{f:go},8:{},9:{f:Bs},11:{},22:{f:es},30:{f:vf},31:{},32:{},33:{f:Uf},36:{},37:{f:Qs},50:{f:wo},62:{},52:{},67:{},68:{f:es},69:{},86:{},126:{},127:{f:uo},135:{},136:{},137:{},145:{},148:{},149:{},150:{},169:{},171:{},188:{},191:{},192:{},194:{},195:{},214:{f:ko},223:{},234:{},354:{},421:{},518:{f:vd},521:{f:Bs},536:{f:Ff},547:{f:If},561:{},579:{},1030:{f:vd},1033:{f:Bs},1091:{},2157:{},2163:{},2177:{},2240:{},2241:{},2242:{},2243:{},2244:{},2245:{},2246:{},2247:{},2248:{},2249:{},2250:{},2251:{},2262:{r:12},29282:{}};function gb(e,r,t,a){var n=r;if(isNaN(n))return;var i=a||(t||[]).length||0;var s=e.next(4);s._W(2,n);s._W(2,i);if(i>0&&Jt(t))e.push(t)}function wb(e,r,t,a){var n=a||(t||[]).length||0;if(n<=8224)return gb(e,r,t,n);var i=r;if(isNaN(i))return;var s=t.parts||[],f=0;var o=0,c=0;while(c+(s[f]||8224)<=8224){c+=s[f]||8224;f++}var l=e.next(4);l._W(2,i);l._W(2,c);e.push(t.slice(o,o+c));o+=c;while(o<n){l=e.next(4);l._W(2,60);c=0;while(c+(s[f]||8224)<=8224){c+=s[f]||8224;f++}l._W(2,c);e.push(t.slice(o,o+c));o+=c}}function kb(e,r,t){if(!e)e=ha(7);e._W(2,r);e._W(2,t);e._W(2,0);e._W(1,0);return e}function Tb(e,r,t,a){var n=ha(9);kb(n,e,r);ns(t,a||"b",n);return n}function Eb(e,r,t){var a=ha(8+2*t.length);kb(a,e,r);a._W(1,t.length);a._W(t.length,t,"sbcs");return a.l<a.length?a.slice(0,a.l):a}function yb(e,r,t,a){if(r.v!=null)switch(r.t){case"d":;case"n":var n=r.t=="d"?fr(mr(r.v)):r.v;if(n==(n|0)&&n>=0&&n<65536)gb(e,2,bo(t,a,n));else gb(e,3,po(t,a,n));return;case"b":;case"e":gb(e,5,Tb(t,a,r.v,r.t));return;case"s":;case"str":gb(e,4,Eb(t,a,(r.v||"").slice(0,255)));return;}gb(e,1,kb(null,t,a))}function Sb(e,r,t,a){var n=Array.isArray(r);var i=Fa(r["!ref"]||"A1"),s,f="",o=[];if(i.e.c>255||i.e.r>16383){if(a.WTF)throw new Error("Range "+(r["!ref"]||"A1")+" exceeds format limit A1:IV16384");i.e.c=Math.min(i.e.c,255);i.e.r=Math.min(i.e.c,16383);s=Na(i)}for(var c=i.s.r;c<=i.e.r;++c){f=Ta(c);for(var l=i.s.c;l<=i.e.c;++l){if(c===i.s.r)o[l]=_a(l);s=o[l]+f;var u=n?(r[c]||[])[l]:r[s];if(!u)continue;yb(e,u,c,l,a)}}}function _b(e,r){var t=r||{};if(m!=null&&t.dense==null)t.dense=m;var a=va();var n=0;for(var i=0;i<e.SheetNames.length;++i)if(e.SheetNames[i]==t.sheet)n=i;if(n==0&&!!t.sheet&&e.SheetNames[0]!=t.sheet)throw new Error("Sheet not found: "+t.sheet);gb(a,t.biff==4?1033:t.biff==3?521:9,Ws(e,16,t));Sb(a,e.Sheets[e.SheetNames[n]],n,t,e);gb(a,10);return a.end()}function Ab(e,r,t){gb(e,49,ff({sz:12,color:{theme:1},name:"Arial",family:2,scheme:"minor"},t))}function xb(e,r,t){if(!r)return;[[5,8],[23,26],[41,44],[50,392]].forEach(function(a){for(var n=a[0];n<=a[1];++n)if(r[n]!=null)gb(e,1054,df(n,r[n],t))})}function Cb(e,r){var t=ha(19);t._W(4,2151);t._W(4,0);t._W(4,0);t._W(2,3);t._W(1,1);t._W(4,0);gb(e,2151,t);t=ha(39);t._W(4,2152);t._W(4,0);t._W(4,0);t._W(2,3);t._W(1,0);t._W(4,0);t._W(2,1);t._W(4,4);t._W(2,0);Os(Fa(r["!ref"]||"A1"),t);t._W(4,4);gb(e,2152,t)}function Rb(e,r){for(var t=0;t<16;++t)gb(e,224,Ef({numFmtId:0,style:true},0,r));r.cellXfs.forEach(function(t){gb(e,224,Ef(t,0,r))})}function Ob(e,r){for(var t=0;t<r["!links"].length;++t){var a=r["!links"][t];gb(e,440,Kf(a));if(a[1].Tooltip)gb(e,2048,qf(a))}delete r["!links"]}function Ib(e,r){if(!r)return;var t=0;r.forEach(function(r,a){if(++t<=256&&r){gb(e,125,no(Nd(a,r),a))}})}function Nb(e,r,t,a,n){var i=16+Dd(n.cellXfs,r,n);if(r.v==null&&!r.bf){gb(e,513,ys(t,a,i));return}if(r.bf)gb(e,6,pd(r,t,a,n,i));else switch(r.t){case"d":;case"n":var s=r.t=="d"?fr(mr(r.v)):r.v;gb(e,515,Cf(t,a,s,i,n));break;case"b":;case"e":gb(e,517,Af(t,a,r.v,i,n,r.t));break;case"s":;case"str":if(n.bookSST){var f=Id(n.Strings,r.v,n.revStrings);gb(e,253,cf(t,a,f,i,n))}else gb(e,516,uf(t,a,(r.v||"").slice(0,255),i,n));break;default:gb(e,513,ys(t,a,i));}}function Fb(e,r,t){var a=va();var n=t.SheetNames[e],i=t.Sheets[n]||{};var s=(t||{}).Workbook||{};var f=(s.Sheets||[])[e]||{};var o=Array.isArray(i);var c=r.biff==8;var l,u="",h=[];var d=Fa(i["!ref"]||"A1");var v=c?65536:16384;if(d.e.c>255||d.e.r>=v){if(r.WTF)throw new Error("Range "+(i["!ref"]||"A1")+" exceeds format limit A1:IV16384");d.e.c=Math.min(d.e.c,255);d.e.r=Math.min(d.e.c,v-1)}gb(a,2057,Ws(t,16,r));gb(a,13,rs(1));gb(a,12,rs(100));gb(a,15,Qi(true));gb(a,17,Qi(false));gb(a,16,vn(.001));gb(a,95,Qi(true));gb(a,42,Qi(false));gb(a,43,Qi(false));gb(a,130,rs(1));gb(a,128,Sf([0,0]));gb(a,131,Qi(false));gb(a,132,Qi(false));if(c)Ib(a,i["!cols"]);gb(a,512,mf(d,r));if(c)i["!links"]=[];for(var p=d.s.r;p<=d.e.r;++p){u=Ta(p);for(var m=d.s.c;m<=d.e.c;++m){if(p===d.s.r)h[m]=_a(m);l=h[m]+u;var b=o?(i[p]||[])[m]:i[l];if(!b)continue;Nb(a,b,p,m,r);if(c&&b.l)i["!links"].push([l,b.l])}}var g=f.CodeName||f.name||n;if(c)gb(a,574,af((s.Views||[])[0]));if(c&&(i["!merges"]||[]).length)gb(a,229,Vf(i["!merges"]));if(c)Ob(a,i);gb(a,442,us(g,r));if(c)Cb(a,i);gb(a,10);return a.end()}function Db(e,r,t){var a=va();var n=(e||{}).Workbook||{};var i=n.Sheets||[];var s=n.WBProps||{};var f=t.biff==8,o=t.biff==5;gb(a,2057,Ws(e,5,t));if(t.bookType=="xla")gb(a,135);gb(a,225,f?rs(1200):null);gb(a,193,Ji(2));if(o)gb(a,191);if(o)gb(a,192);gb(a,226);gb(a,92,Vs("SheetJS",t));gb(a,66,rs(f?1200:1252));if(f)gb(a,353,rs(0));if(f)gb(a,448);gb(a,317,fo(e.SheetNames.length));if(f&&e.vbaraw)gb(a,211);if(f&&e.vbaraw){var c=s.CodeName||"ThisWorkbook";gb(a,442,us(c,t))}gb(a,156,rs(17));gb(a,25,Qi(false));gb(a,18,Qi(false));gb(a,19,rs(0));if(f)gb(a,431,Qi(false));if(f)gb(a,444,rs(0));gb(a,61,rf(t));gb(a,64,Qi(false));gb(a,141,rs(0));gb(a,34,Qi(Yp(e)=="true"));gb(a,14,Qi(true));if(f)gb(a,439,Qi(false));gb(a,218,rs(0));Ab(a,e,t);xb(a,e.SSF,t);Rb(a,t);if(f)gb(a,352,Qi(false));var l=a.end();var u=va();if(f)gb(u,140,Qf());if(f&&t.Strings)wb(u,252,Ys(t.Strings,t));gb(u,10);var h=u.end();var d=va();var v=0,p=0;for(p=0;p<e.SheetNames.length;++p)v+=(f?12:11)+(f?2:1)*e.SheetNames[p].length;var m=l.length+v+h.length;for(p=0;p<e.SheetNames.length;++p){var b=i[p]||{};gb(d,133,Xs({pos:m,hs:b.Hidden||0,dt:0,name:e.SheetNames[p]},t));m+=r[p].length}var g=d.end();if(v!=g.length)throw new Error("BS8 "+v+" != "+g.length);var w=[];if(l.length)w.push(l);if(g.length)w.push(g);if(h.length)w.push(h);return O(w)}function Pb(e,r){var t=r||{};var a=[];if(e&&!e.SSF){e.SSF=gr(X)}if(e&&e.SSF){ze();He(e.SSF);t.revssf=nr(e.SSF);t.revssf[e.SSF[65535]]=0;t.ssf=e.SSF}t.Strings=[];t.Strings.Count=0;t.Strings.Unique=0;Hg(t);t.cellXfs=[];Dd(t.cellXfs,{},{revssf:{General:0}});if(!e.Props)e.Props={};for(var n=0;n<e.SheetNames.length;++n)a[a.length]=Fb(n,t,e);a.unshift(Db(e,a,t));return O(a)}function Lb(e,r){for(var t=0;t<=e.SheetNames.length;++t){var a=e.Sheets[e.SheetNames[t]];if(!a||!a["!ref"])continue;var n=Ia(a["!ref"]);if(n.e.c>255){if(typeof console!="undefined"&&console.error)console.error("Worksheet '"+e.SheetNames[t]+"' extends beyond column IV (255). Data may be lost.")}}var i=r||{};switch(i.biff||2){case 8:;case 5:return Pb(e,r);case 4:;case 3:;case 2:return _b(e,r);}throw new Error("invalid type "+i.bookType+" for BIFF")}function Mb(e,r){var t=r||{};if(m!=null&&t.dense==null)t.dense=m;var a=t.dense?[]:{};e=e.replace(/<!--.*?-->/g,"");var n=e.match(/<table/i);if(!n)throw new Error("Invalid HTML: could not find <table>");var i=e.match(/<\/table/i);var s=n.index,f=i&&i.index||e.length;var o=yr(e.slice(s,f),/(:?<tr[^>]*>)/i,"<tr>");var c=-1,l=0,u=0,h=0;var d={s:{r:1e7,c:1e7},e:{r:0,c:0}};var v=[];for(s=0;s<o.length;++s){var p=o[s].trim();var b=p.slice(0,3).toLowerCase();if(b=="<tr"){++c;if(t.sheetRows&&t.sheetRows<=c){--c;break}l=0;continue}if(b!="<td"&&b!="<th")continue;var g=p.split(/<\/t[dh]>/i);for(f=0;f<g.length;++f){var w=g[f].trim();if(!w.match(/<t[dh]/i))continue;var k=w,T=0;while(k.charAt(0)=="<"&&(T=k.indexOf(">"))>-1)k=k.slice(T+1);for(var E=0;E<v.length;++E){var y=v[E];if(y.s.c==l&&y.s.r<c&&c<=y.e.r){l=y.e.c+1;E=-1}}var S=Gr(w.slice(0,w.indexOf(">")));h=S.colspan?+S.colspan:1;if((u=+S.rowspan)>1||h>1)v.push({s:{r:c,c:l},e:{r:c+(u||1)-1,c:l+h-1}});var _=S.t||S["data-t"]||"";if(!k.length){l+=h;continue}k=ht(k);if(d.s.r>c)d.s.r=c;if(d.e.r<c)d.e.r=c;if(d.s.c>l)d.s.c=l;if(d.e.c<l)d.e.c=l;if(!k.length){l+=h;continue}var A={t:"s",v:k};if(t.raw||!k.trim().length||_=="s"){}else if(k==="TRUE")A={t:"b",v:true};else if(k==="FALSE")A={t:"b",v:false};else if(!isNaN(kr(k)))A={t:"n",v:kr(k)};else if(!isNaN(Er(k).getDate())){A={t:"d",v:mr(k)};if(!t.cellDates)A={t:"n",v:fr(A.v)};A.z=t.dateNF||X[14]}if(t.dense){if(!a[c])a[c]=[];a[c][l]=A}else a[Oa({r:c,c:l})]=A;l+=h}}a["!ref"]=Na(d);if(v.length)a["!merges"]=v;return a}function Ub(e,r,t,a){var n=e["!merges"]||[];var i=[];for(var s=r.s.c;s<=r.e.c;++s){var f=0,o=0;for(var c=0;c<n.length;++c){if(n[c].s.r>t||n[c].s.c>s)continue;if(n[c].e.r<t||n[c].e.c<s)continue;if(n[c].s.r<t||n[c].s.c<s){f=-1;break}f=n[c].e.r-n[c].s.r+1;o=n[c].e.c-n[c].s.c+1;break}if(f<0)continue;var l=Oa({r:t,c:s});var u=a.dense?(e[t]||[])[s]:e[l];var h=u&&u.v!=null&&(u.h||et(u.w||(Pa(u),u.w)||""))||"";var d={};if(f>1)d.rowspan=f;if(o>1)d.colspan=o;if(a.editable)h='<span contenteditable="true">'+h+"</span>";else if(u){d["data-t"]=u&&u.t||"z";if(u.v!=null)d["data-v"]=u.v;if(u.z!=null)d["data-z"]=u.z;if(u.l&&(u.l.Target||"#").charAt(0)!="#")h='<a href="'+u.l.Target+'">'+h+"</a>"}d.id=(a.id||"sjs")+"-"+l;i.push(kt("td",h,d))}var v="<tr>";return v+i.join("")+"</tr>"}var Bb='<html><head><meta charset="utf-8"/><title>SheetJS Table Export</title></head><body>';var Wb="</body></html>";function Hb(e,r){var t=e.match(/<table[\s\S]*?>[\s\S]*?<\/table>/gi);if(!t||t.length==0)throw new Error("Invalid HTML: could not find <table>");if(t.length==1)return La(Mb(t[0],r),r);var a=Nw();t.forEach(function(e,t){Fw(a,Mb(e,r),"Sheet"+(t+1))});return a}function zb(e,r,t){var a=[];return a.join("")+"<table"+(t&&t.id?' id="'+t.id+'"':"")+">"}function Vb(e,r){var t=r||{};var a=t.header!=null?t.header:Bb;var n=t.footer!=null?t.footer:Wb;var i=[a];var s=Ia(e["!ref"]);t.dense=Array.isArray(e);i.push(zb(e,s,t));for(var f=s.s.r;f<=s.e.r;++f)i.push(Ub(e,s,f,t));i.push("</table>"+n);return i.join("")}function Gb(e,r,t){var a=t||{};if(m!=null)a.dense=m;var n=0,i=0;if(a.origin!=null){if(typeof a.origin=="number")n=a.origin;else{var s=typeof a.origin=="string"?Ra(a.origin):a.origin;n=s.r;i=s.c}}var f=r.getElementsByTagName("tr");var o=Math.min(a.sheetRows||1e7,f.length);var c={s:{r:0,c:0},e:{r:n,c:i}};if(e["!ref"]){var l=Ia(e["!ref"]);c.s.r=Math.min(c.s.r,l.s.r);c.s.c=Math.min(c.s.c,l.s.c);c.e.r=Math.max(c.e.r,l.e.r);c.e.c=Math.max(c.e.c,l.e.c);if(n==-1)c.e.r=n=l.e.r+1}var u=[],h=0;var d=e["!rows"]||(e["!rows"]=[]);var v=0,p=0,b=0,g=0,w=0,k=0;if(!e["!cols"])e["!cols"]=[];for(;v<f.length&&p<o;++v){var T=f[v];if($b(T)){if(a.display)continue;d[p]={hidden:true}}var E=T.children;for(b=g=0;b<E.length;++b){var y=E[b];if(a.display&&$b(y))continue;var S=y.hasAttribute("data-v")?y.getAttribute("data-v"):y.hasAttribute("v")?y.getAttribute("v"):ht(y.innerHTML);var _=y.getAttribute("data-z")||y.getAttribute("z");for(h=0;h<u.length;++h){var A=u[h];if(A.s.c==g+i&&A.s.r<p+n&&p+n<=A.e.r){g=A.e.c+1-i;h=-1}}k=+y.getAttribute("colspan")||1;if((w=+y.getAttribute("rowspan")||1)>1||k>1)u.push({s:{r:p+n,c:g+i},e:{r:p+n+(w||1)-1,c:g+i+(k||1)-1}});var x={t:"s",v:S};var C=y.getAttribute("data-t")||y.getAttribute("t")||"";if(S!=null){if(S.length==0)x.t=C||"z";else if(a.raw||S.trim().length==0||C=="s"){}else if(S==="TRUE")x={t:"b",v:true};else if(S==="FALSE")x={t:"b",v:false};else if(!isNaN(kr(S)))x={t:"n",v:kr(S)};else if(!isNaN(Er(S).getDate())){x={t:"d",v:mr(S)};if(!a.cellDates)x={t:"n",v:fr(x.v)};x.z=a.dateNF||X[14]}}if(x.z===undefined&&_!=null)x.z=_;var R="",O=y.getElementsByTagName("A");if(O&&O.length)for(var I=0;I<O.length;++I)if(O[I].hasAttribute("href")){R=O[I].getAttribute("href");if(R.charAt(0)!="#")break}if(R&&R.charAt(0)!="#")x.l={Target:R};if(a.dense){if(!e[p+n])e[p+n]=[];e[p+n][g+i]=x}else e[Oa({c:g+i,r:p+n})]=x;if(c.e.c<g+i)c.e.c=g+i;g+=k}++p}if(u.length)e["!merges"]=(e["!merges"]||[]).concat(u);c.e.r=Math.max(c.e.r,p-1+n);e["!ref"]=Na(c);if(p>=o)e["!fullref"]=Na((c.e.r=f.length-v+p-1+n,c));return e}function jb(e,r){var t=r||{};var a=t.dense?[]:{};return Gb(a,e,r)}function Xb(e,r){return La(jb(e,r),r)}function $b(e){var r="";var t=Yb(e);if(t)r=t(e).getPropertyValue("display");if(!r)r=e.style&&e.style.display;return r==="none"}function Yb(e){if(e.ownerDocument.defaultView&&typeof e.ownerDocument.defaultView.getComputedStyle==="function")return e.ownerDocument.defaultView.getComputedStyle;if(typeof getComputedStyle==="function")return getComputedStyle;return null}function Kb(e){var r=e.replace(/[\t\r\n]/g," ").trim().replace(/ +/g," ").replace(/<text:s\/>/g," ").replace(/<text:s text:c="(\d+)"\/>/g,function(e,r){return Array(parseInt(r,10)+1).join(" ")}).replace(/<text:tab[^>]*\/>/g,"\t").replace(/<text:line-break\/>/g,"\n");var t=Yr(r.replace(/<[^>]*>/g,""));return[t]}var Jb={day:["d","dd"],month:["m","mm"],year:["y","yy"],hours:["h","hh"],minutes:["m","mm"],seconds:["s","ss"],"am-pm":["A/P","AM/PM"],"day-of-week":["ddd","dddd"],era:["e","ee"],quarter:["\\Qm",'m\\"th quarter"']};function qb(e,r){var t=r||{};if(m!=null&&t.dense==null)t.dense=m;var a=yt(e);var n=[],i;var s;var f={name:""},o="",c=0;var l;var u;var h={},d=[];var v=t.dense?[]:{};var p,b;var g={value:""};var w="",k=0,T;var E=[];var y=-1,S=-1,_={s:{r:1e6,c:1e7},e:{r:0,c:0}};var A=0;var x={};var C=[],R={},O=0,I=0;var N=[],F=1,D=1;var P=[];var L={Names:[]};var M={};var U=["",""];var B=[],W={};var H="",z=0;var V=false,G=false;var j=0;St.lastIndex=0;a=a.replace(/<!--([\s\S]*?)-->/gm,"").replace(/<!DOCTYPE[^\[]*\[[^\]]*\]>/gm,"");while(p=St.exec(a))switch(p[3]=p[3].replace(/_.*$/,"")){case"table":;case"工作表":if(p[1]==="/"){if(_.e.c>=_.s.c&&_.e.r>=_.s.r)v["!ref"]=Na(_);else v["!ref"]="A1:A1";if(t.sheetRows>0&&t.sheetRows<=_.e.r){v["!fullref"]=v["!ref"];_.e.r=t.sheetRows-1;v["!ref"]=Na(_)}if(C.length)v["!merges"]=C;if(N.length)v["!rows"]=N;l.name=l["名称"]||l.name;if(typeof JSON!=="undefined")JSON.stringify(l);d.push(l.name);h[l.name]=v;G=false}else if(p[0].charAt(p[0].length-2)!=="/"){l=Gr(p[0],false);y=S=-1;_.s.r=_.s.c=1e7;_.e.r=_.e.c=0;v=t.dense?[]:{};C=[];N=[];G=true}break;case"table-row-group":if(p[1]==="/")--A;else++A;break;case"table-row":;case"行":if(p[1]==="/"){y+=F;F=1;break}u=Gr(p[0],false);if(u["行号"])y=u["行号"]-1;else if(y==-1)y=0;F=+u["number-rows-repeated"]||1;if(F<10)for(j=0;j<F;++j)if(A>0)N[y+j]={level:A};S=-1;break;case"covered-table-cell":if(p[1]!=="/")++S;if(t.sheetStubs){if(t.dense){if(!v[y])v[y]=[];v[y][S]={t:"z"}}else v[Oa({r:y,c:S})]={t:"z"}}w="";E=[];break;case"table-cell":;case"数据":if(p[0].charAt(p[0].length-2)==="/"){++S;g=Gr(p[0],false);D=parseInt(g["number-columns-repeated"]||"1",10);b={t:"z",v:null};if(g.formula&&t.cellFormula!=false)b.f=Sd(Yr(g.formula));if((g["数据类型"]||g["value-type"])=="string"){b.t="s";b.v=Yr(g["string-value"]||"");if(t.dense){if(!v[y])v[y]=[];v[y][S]=b}else{v[Oa({r:y,c:S})]=b}}S+=D-1}else if(p[1]!=="/"){++S;w="";k=0;E=[];D=1;var X=F?y+F-1:y;if(S>_.e.c)_.e.c=S;if(S<_.s.c)_.s.c=S;if(y<_.s.r)_.s.r=y;if(X>_.e.r)_.e.r=X;g=Gr(p[0],false);B=[];W={};b={t:g["数据类型"]||g["value-type"],v:null};if(t.cellFormula){if(g.formula)g.formula=Yr(g.formula);if(g["number-matrix-columns-spanned"]&&g["number-matrix-rows-spanned"]){O=parseInt(g["number-matrix-rows-spanned"],10)||0;I=parseInt(g["number-matrix-columns-spanned"],10)||0;R={s:{r:y,c:S},e:{r:y+O-1,c:S+I-1}};b.F=Na(R);P.push([R,b.F])}if(g.formula)b.f=Sd(g.formula);else for(j=0;j<P.length;++j)if(y>=P[j][0].s.r&&y<=P[j][0].e.r)if(S>=P[j][0].s.c&&S<=P[j][0].e.c)b.F=P[j][1]}if(g["number-columns-spanned"]||g["number-rows-spanned"]){O=parseInt(g["number-rows-spanned"],10)||0;I=parseInt(g["number-columns-spanned"],10)||0;R={s:{r:y,c:S},e:{r:y+O-1,c:S+I-1}};C.push(R)}if(g["number-columns-repeated"])D=parseInt(g["number-columns-repeated"],10);switch(b.t){case"boolean":b.t="b";b.v=nt(g["boolean-value"]);break;case"float":b.t="n";b.v=parseFloat(g.value);break;case"percentage":b.t="n";b.v=parseFloat(g.value);break;case"currency":b.t="n";b.v=parseFloat(g.value);break;case"date":b.t="d";b.v=mr(g["date-value"]);if(!t.cellDates){b.t="n";b.v=fr(b.v)}b.z="m/d/yy";break;case"time":b.t="n";b.v=hr(g["time-value"])/86400;if(t.cellDates){b.t="d";b.v=ur(b.v)}b.z="HH:MM:SS";break;case"number":b.t="n";b.v=parseFloat(g["数据数值"]);break;default:if(b.t==="string"||b.t==="text"||!b.t){b.t="s";if(g["string-value"]!=null){w=Yr(g["string-value"]);E=[]}}else throw new Error("Unsupported value type "+b.t);}}else{V=false;if(b.t==="s"){b.v=w||"";if(E.length)b.R=E;V=k==0}if(M.Target)b.l=M;if(B.length>0){b.c=B;B=[]}if(w&&t.cellText!==false)b.w=w;if(V){b.t="z";delete b.v}if(!V||t.sheetStubs){if(!(t.sheetRows&&t.sheetRows<=y)){for(var $=0;$<F;++$){D=parseInt(g["number-columns-repeated"]||"1",10);if(t.dense){if(!v[y+$])v[y+$]=[];v[y+$][S]=$==0?b:gr(b);while(--D>0)v[y+$][S+D]=gr(b)}else{v[Oa({r:y+$,c:S})]=b;while(--D>0)v[Oa({r:y+$,c:S+D})]=gr(b)}if(_.e.c<=S)_.e.c=S}}}D=parseInt(g["number-columns-repeated"]||"1",10);S+=D-1;D=0;b={};w="";E=[]}M={};break;case"document":;case"document-content":;case"电子表格文档":;case"spreadsheet":;case"主体":;case"scripts":;case"styles":;case"font-face-decls":;case"master-styles":if(p[1]==="/"){if((i=n.pop())[0]!==p[3])throw"Bad state: "+i}else if(p[0].charAt(p[0].length-2)!=="/")n.push([p[3],true]);break;case"annotation":if(p[1]==="/"){if((i=n.pop())[0]!==p[3])throw"Bad state: "+i;W.t=w;if(E.length)W.R=E;W.a=H;B.push(W)}else if(p[0].charAt(p[0].length-2)!=="/"){n.push([p[3],false])}H="";z=0;w="";k=0;E=[];break;case"creator":if(p[1]==="/"){H=a.slice(z,p.index)}else z=p.index+p[0].length;break;case"meta":;case"元数据":;case"settings":;case"config-item-set":;case"config-item-map-indexed":;case"config-item-map-entry":;case"config-item-map-named":;case"shapes":;case"frame":;case"text-box":;case"image":;case"data-pilot-tables":;case"list-style":;case"form":;case"dde-links":;case"event-listeners":;case"chart":if(p[1]==="/"){if((i=n.pop())[0]!==p[3])throw"Bad state: "+i}else if(p[0].charAt(p[0].length-2)!=="/")n.push([p[3],false]);w="";k=0;E=[];break;case"scientific-number":break;case"currency-symbol":break;case"currency-style":break;case"number-style":;case"percentage-style":;case"date-style":;case"time-style":if(p[1]==="/"){x[f.name]=o;if((i=n.pop())[0]!==p[3])throw"Bad state: "+i}else if(p[0].charAt(p[0].length-2)!=="/"){o="";f=Gr(p[0],false);n.push([p[3],true])}break;case"script":break;case"libraries":break;case"automatic-styles":break;case"default-style":;case"page-layout":break;case"style":break;case"map":break;case"font-face":break;case"paragraph-properties":break;case"table-properties":break;case"table-column-properties":break;case"table-row-properties":break;case"table-cell-properties":break;case"number":switch(n[n.length-1][0]){case"time-style":;case"date-style":s=Gr(p[0],false);o+=Jb[p[3]][s.style==="long"?1:0];break;}break;case"fraction":break;case"day":;case"month":;case"year":;case"era":;case"day-of-week":;case"week-of-year":;case"quarter":;case"hours":;case"minutes":;case"seconds":;case"am-pm":switch(n[n.length-1][0]){case"time-style":;case"date-style":s=Gr(p[0],false);o+=Jb[p[3]][s.style==="long"?1:0];break;}break;case"boolean-style":break;case"boolean":break;case"text-style":break;case"text":if(p[0].slice(-2)==="/>")break;else if(p[1]==="/")switch(n[n.length-1][0]){case"number-style":;case"date-style":;case"time-style":o+=a.slice(c,p.index);break;}else c=p.index+p[0].length;break;case"named-range":s=Gr(p[0],false);U=Ad(s["cell-range-address"]);var Y={Name:s.name,Ref:U[0]+"!"+U[1]};if(G)Y.Sheet=d.length;L.Names.push(Y);break;case"text-content":break;case"text-properties":break;case"embedded-text":break;case"body":;case"电子表格":break;case"forms":break;case"table-column":break;case"table-header-rows":break;case"table-rows":break;case"table-column-group":break;case"table-header-columns":break;case"table-columns":break;case"null-date":break;case"graphic-properties":break;case"calculation-settings":break;case"named-expressions":break;case"label-range":break;case"label-ranges":break;case"named-expression":break;case"sort":break;case"sort-by":break;case"sort-groups":break;case"tab":break;case"line-break":break;case"span":break;case"p":;case"文本串":if(["master-styles"].indexOf(n[n.length-1][0])>-1)break;if(p[1]==="/"&&(!g||!g["string-value"])){var K=Kb(a.slice(k,p.index),T);w=(w.length>0?w+"\n":"")+K[0]}else{-T=Gr(p[0],false);k=p.index+p[0].length}break;case"s":break;case"database-range":if(p[1]==="/")break;try{U=Ad(Gr(p[0])["target-range-address"]);h[U[0]]["!autofilter"]={ref:U[1]}}catch(J){}break;case"date":break;case"object":break;case"title":;case"标题":break;case"desc":break;case"binary-data":break;case"table-source":break;case"scenario":break;case"iteration":break;case"content-validations":break;case"content-validation":break;case"help-message":break;case"error-message":break;case"database-ranges":break;case"filter":break;case"filter-and":break;case"filter-or":break;case"filter-condition":break;case"list-level-style-bullet":break;case"list-level-style-number":break;case"list-level-properties":break;case"sender-firstname":;case"sender-lastname":;case"sender-initials":;case"sender-title":;case"sender-position":;case"sender-email":;case"sender-phone-private":;case"sender-fax":;case"sender-company":;case"sender-phone-work":;case"sender-street":;case"sender-city":;case"sender-postal-code":;case"sender-country":;case"sender-state-or-province":;case"author-name":;case"author-initials":;case"chapter":;case"file-name":;case"template-name":;case"sheet-name":break;case"event-listener":break;case"initial-creator":;case"creation-date":;case"print-date":;case"generator":;case"document-statistic":;case"user-defined":;case"editing-duration":;case"editing-cycles":break;case"config-item":break;case"page-number":break;case"page-count":break;case"time":break;case"cell-range-source":break;case"detective":break;case"operation":break;case"highlighted-range":break;case"data-pilot-table":;case"source-cell-range":;case"source-service":;case"data-pilot-field":;case"data-pilot-level":;case"data-pilot-subtotals":;case"data-pilot-subtotal":;case"data-pilot-members":;case"data-pilot-member":;case"data-pilot-display-info":;case"data-pilot-sort-info":;case"data-pilot-layout-info":;case"data-pilot-field-reference":;case"data-pilot-groups":;case"data-pilot-group":;case"data-pilot-group-member":break;case"rect":break;case"dde-connection-decls":;case"dde-connection-decl":;case"dde-link":;case"dde-source":break;case"properties":break;case"property":break;case"a":if(p[1]!=="/"){M=Gr(p[0],false);if(!M.href)break;M.Target=Yr(M.href);delete M.href;if(M.Target.charAt(0)=="#"&&M.Target.indexOf(".")>-1){U=Ad(M.Target.slice(1));M.Target="#"+U[0]+"!"+U[1]}else if(M.Target.match(/^\.\.[\\\/]/))M.Target=M.Target.slice(3)}break;case"table-protection":break;case"data-pilot-grand-total":break;case"office-document-common-attrs":break;default:switch(p[2]){case"dc:":;case"calcext:":;case"loext:":;case"ooo:":;case"chartooo:":;case"draw:":;case"style:":;case"chart:":;case"form:":;case"uof:":;case"表:":;case"字:":break;default:if(t.WTF)throw new Error(p);};}var q={Sheets:h,SheetNames:d,Workbook:L};if(t.bookSheets)delete q.Sheets;return q}function Zb(e,r){r=r||{};if(xr(e,"META-INF/manifest.xml"))ai(Rr(e,"META-INF/manifest.xml"),r);var t=Or(e,"content.xml");if(!t)throw new Error("Missing content.xml in ODS / UOF file");var a=qb(ct(t),r);if(xr(e,"meta.xml"))a.Props=ui(Rr(e,"meta.xml"));return a}function Qb(e,r){return qb(e,r)}var eg=function(){var e=["<office:master-styles>",'<style:master-page style:name="mp1" style:page-layout-name="mp1">',"<style:header/>",'<style:header-left style:display="false"/>',"<style:footer/>",'<style:footer-left style:display="false"/>',"</style:master-page>","</office:master-styles>"].join("");var r="<office:document-styles "+wt({"xmlns:office":"urn:oasis:names:tc:opendocument:xmlns:office:1.0","xmlns:table":"urn:oasis:names:tc:opendocument:xmlns:table:1.0","xmlns:style":"urn:oasis:names:tc:opendocument:xmlns:style:1.0","xmlns:text":"urn:oasis:names:tc:opendocument:xmlns:text:1.0","xmlns:draw":"urn:oasis:names:tc:opendocument:xmlns:drawing:1.0","xmlns:fo":"urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0","xmlns:xlink":"http://www.w3.org/1999/xlink","xmlns:dc":"http://purl.org/dc/elements/1.1/","xmlns:number":"urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0","xmlns:svg":"urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0","xmlns:of":"urn:oasis:names:tc:opendocument:xmlns:of:1.2","office:version":"1.2"})+">"+e+"</office:document-styles>";return function t(){return Mr+r}}();var rg=function(){var e=function(e){return qr(e).replace(/ +/g,function(e){return'<text:s text:c="'+e.length+'"/>'}).replace(/\t/g,"<text:tab/>").replace(/\n/g,"</text:p><text:p>").replace(/^ /,"<text:s/>").replace(/ $/,"<text:s/>")};var r=" <table:table-cell />\n";var t=" <table:covered-table-cell/>\n";var a=function(a,n,i){var s=[];s.push(' <table:table table:name="'+qr(n.SheetNames[i])+'" table:style-name="ta1">\n');var f=0,o=0,c=Ia(a["!ref"]||"A1");var l=a["!merges"]||[],u=0;var h=Array.isArray(a);if(a["!cols"]){for(o=0;o<=c.e.c;++o)s.push(" <table:table-column"+(a["!cols"][o]?' table:style-name="co'+a["!cols"][o].ods+'"':"")+"></table:table-column>\n")}var d="",v=a["!rows"]||[];for(f=0;f<c.s.r;++f){d=v[f]?' table:style-name="ro'+v[f].ods+'"':"";s.push(" <table:table-row"+d+"></table:table-row>\n")}for(;f<=c.e.r;++f){d=v[f]?' table:style-name="ro'+v[f].ods+'"':"";s.push(" <table:table-row"+d+">\n");for(o=0;o<c.s.c;++o)s.push(r);for(;o<=c.e.c;++o){var p=false,m={},b="";for(u=0;u!=l.length;++u){if(l[u].s.c>o)continue;if(l[u].s.r>f)continue;if(l[u].e.c<o)continue;if(l[u].e.r<f)continue;if(l[u].s.c!=o||l[u].s.r!=f)p=true;m["table:number-columns-spanned"]=l[u].e.c-l[u].s.c+1;m["table:number-rows-spanned"]=l[u].e.r-l[u].s.r+1;break}if(p){s.push(t);continue}var g=Oa({r:f,c:o}),w=h?(a[f]||[])[o]:a[g];if(w&&w.f){m["table:formula"]=qr(_d(w.f));if(w.F){if(w.F.slice(0,g.length)==g){var k=Ia(w.F);m["table:number-matrix-columns-spanned"]=k.e.c-k.s.c+1;m["table:number-matrix-rows-spanned"]=k.e.r-k.s.r+1}}}if(!w){s.push(r);continue}switch(w.t){case"b":b=w.v?"TRUE":"FALSE";m["office:value-type"]="boolean";m["office:boolean-value"]=w.v?"true":"false";break;case"n":b=w.w||String(w.v||0);m["office:value-type"]="float";m["office:value"]=w.v||0;break;case"s":;case"str":b=w.v==null?"":w.v;m["office:value-type"]="string";break;case"d":b=w.w||mr(w.v).toISOString();m["office:value-type"]="date";m["office:date-value"]=mr(w.v).toISOString();m["table:style-name"]="ce1";break;default:s.push(r);continue;}var T=e(b);if(w.l&&w.l.Target){var E=w.l.Target;E=E.charAt(0)=="#"?"#"+xd(E.slice(1)):E;if(E.charAt(0)!="#"&&!E.match(/^\w+:/))E="../"+E;T=kt("text:a",T,{"xlink:href":E.replace(/&/g,"&")})}s.push(" "+kt("table:table-cell",kt("text:p",T,{}),m)+"\n")}s.push(" </table:table-row>\n")}s.push(" </table:table>\n");return s.join("")};var n=function(e,r){e.push(" <office:automatic-styles>\n");e.push(' <number:date-style style:name="N37" number:automatic-order="true">\n');e.push(' <number:month number:style="long"/>\n');e.push(" <number:text>/</number:text>\n");e.push(' <number:day number:style="long"/>\n');e.push(" <number:text>/</number:text>\n");e.push(" <number:year/>\n");e.push(" </number:date-style>\n");var t=0;r.SheetNames.map(function(e){return r.Sheets[e]}).forEach(function(r){if(!r)return;if(r["!cols"]){for(var a=0;a<r["!cols"].length;++a)if(r["!cols"][a]){var n=r["!cols"][a];if(n.width==null&&n.wpx==null&&n.wch==null)continue;Ic(n);n.ods=t;var i=r["!cols"][a].wpx+"px";e.push(' <style:style style:name="co'+t+'" style:family="table-column">\n');e.push(' <style:table-column-properties fo:break-before="auto" style:column-width="'+i+'"/>\n');e.push(" </style:style>\n");++t}}});var a=0;r.SheetNames.map(function(e){return r.Sheets[e]}).forEach(function(r){if(!r)return;if(r["!rows"]){for(var t=0;t<r["!rows"].length;++t)if(r["!rows"][t]){r["!rows"][t].ods=a;var n=r["!rows"][t].hpx+"px";e.push(' <style:style style:name="ro'+a+'" style:family="table-row">\n');e.push(' <style:table-row-properties fo:break-before="auto" style:row-height="'+n+'"/>\n');e.push(" </style:style>\n");++a}}});e.push(' <style:style style:name="ta1" style:family="table" style:master-page-name="mp1">\n');e.push(' <style:table-properties table:display="true" style:writing-mode="lr-tb"/>\n');e.push(" </style:style>\n");e.push(' <style:style style:name="ce1" style:family="table-cell" style:parent-style-name="Default" style:data-style-name="N37"/>\n');e.push(" </office:automatic-styles>\n")};return function i(e,r){var t=[Mr];var i=wt({"xmlns:office":"urn:oasis:names:tc:opendocument:xmlns:office:1.0","xmlns:table":"urn:oasis:names:tc:opendocument:xmlns:table:1.0","xmlns:style":"urn:oasis:names:tc:opendocument:xmlns:style:1.0","xmlns:text":"urn:oasis:names:tc:opendocument:xmlns:text:1.0","xmlns:draw":"urn:oasis:names:tc:opendocument:xmlns:drawing:1.0","xmlns:fo":"urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0","xmlns:xlink":"http://www.w3.org/1999/xlink","xmlns:dc":"http://purl.org/dc/elements/1.1/","xmlns:meta":"urn:oasis:names:tc:opendocument:xmlns:meta:1.0","xmlns:number":"urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0","xmlns:presentation":"urn:oasis:names:tc:opendocument:xmlns:presentation:1.0","xmlns:svg":"urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0","xmlns:chart":"urn:oasis:names:tc:opendocument:xmlns:chart:1.0","xmlns:dr3d":"urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0","xmlns:math":"http://www.w3.org/1998/Math/MathML","xmlns:form":"urn:oasis:names:tc:opendocument:xmlns:form:1.0","xmlns:script":"urn:oasis:names:tc:opendocument:xmlns:script:1.0","xmlns:ooo":"http://openoffice.org/2004/office","xmlns:ooow":"http://openoffice.org/2004/writer","xmlns:oooc":"http://openoffice.org/2004/calc","xmlns:dom":"http://www.w3.org/2001/xml-events","xmlns:xforms":"http://www.w3.org/2002/xforms","xmlns:xsd":"http://www.w3.org/2001/XMLSchema","xmlns:xsi":"http://www.w3.org/2001/XMLSchema-instance","xmlns:sheet":"urn:oasis:names:tc:opendocument:sh33tjs:1.0","xmlns:rpt":"http://openoffice.org/2005/report","xmlns:of":"urn:oasis:names:tc:opendocument:xmlns:of:1.2","xmlns:xhtml":"http://www.w3.org/1999/xhtml","xmlns:grddl":"http://www.w3.org/2003/g/data-view#","xmlns:tableooo":"http://openoffice.org/2009/table","xmlns:drawooo":"http://openoffice.org/2010/draw","xmlns:calcext":"urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0","xmlns:loext":"urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0","xmlns:field":"urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0","xmlns:formx":"urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0","xmlns:css3t":"http://www.w3.org/TR/css3-text/","office:version":"1.2"});var s=wt({"xmlns:config":"urn:oasis:names:tc:opendocument:xmlns:config:1.0","office:mimetype":"application/vnd.oasis.opendocument.spreadsheet"});if(r.bookType=="fods"){t.push("<office:document"+i+s+">\n");t.push(oi().replace(/office:document-meta/g,"office:meta"))}else t.push("<office:document-content"+i+">\n");n(t,e);t.push(" <office:body>\n");t.push(" <office:spreadsheet>\n");for(var f=0;f!=e.SheetNames.length;++f)t.push(a(e.Sheets[e.SheetNames[f]],e,f,r));t.push(" </office:spreadsheet>\n");t.push(" </office:body>\n");if(r.bookType=="fods")t.push("</office:document>");else t.push("</office:document-content>");return t.join("")}}();function tg(e,r){if(r.bookType=="fods")return rg(e,r);var t=Dr();var a="";var n=[];var i=[];a="mimetype";Fr(t,a,"application/vnd.oasis.opendocument.spreadsheet");a="content.xml";Fr(t,a,rg(e,r));n.push([a,"text/xml"]);i.push([a,"ContentFile"]);a="styles.xml";Fr(t,a,eg(e,r));n.push([a,"text/xml"]);i.push([a,"StylesFile"]);a="meta.xml";Fr(t,a,Mr+oi());n.push([a,"text/xml"]);i.push([a,"MetadataFile"]);a="manifest.rdf";Fr(t,a,fi(i));n.push([a,"application/rdf+xml"]);a="META-INF/manifest.xml";Fr(t,a,ni(n));return t}function ag(e){return new DataView(e.buffer,e.byteOffset,e.byteLength)}function ng(e){return typeof TextDecoder!="undefined"?(new TextDecoder).decode(e):ct(x(e))}function ig(e){return typeof TextEncoder!="undefined"?(new TextEncoder).encode(e):_(lt(e))}function sg(e,r){e:for(var t=0;t<=e.length-r.length;++t){for(var a=0;a<r.length;++a)if(e[t+a]!=r[a])continue e;return true}return false}function fg(e){var r=e.reduce(function(e,r){return e+r.length},0);var t=new Uint8Array(r);var a=0;e.forEach(function(e){t.set(e,a);a+=e.length});return t}function og(e){e-=e>>1&1431655765;e=(e&858993459)+(e>>2&858993459);return(e+(e>>4)&252645135)*16843009>>>24}function cg(e,r){var t=(e[r+15]&127)<<7|e[r+14]>>1;var a=e[r+14]&1;for(var n=r+13;n>=r;--n)a=a*256+e[n];return(e[r+15]&128?-a:a)*Math.pow(10,t-6176)}function lg(e,r,t){var a=Math.floor(t==0?0:Math.LOG10E*Math.log(Math.abs(t)))+6176-20;var n=t/Math.pow(10,a-6176);e[r+15]|=a>>7;e[r+14]|=(a&127)<<1;for(var i=0;n>=1;++i,n/=256)e[r+i]=n&255;e[r+15]|=t>=0?0:128}function ug(e,r){var t=r?r[0]:0;var a=e[t]&127;e:if(e[t++]>=128){a|=(e[t]&127)<<7;if(e[t++]<128)break e;a|=(e[t]&127)<<14;if(e[t++]<128)break e;a|=(e[t]&127)<<21;if(e[t++]<128)break e;a+=(e[t]&127)*Math.pow(2,28);++t;if(e[t++]<128)break e;a+=(e[t]&127)*Math.pow(2,35);++t;if(e[t++]<128)break e;a+=(e[t]&127)*Math.pow(2,42);++t;if(e[t++]<128)break e}if(r)r[0]=t;return a}function hg(e){var r=new Uint8Array(7);r[0]=e&127;var t=1;e:if(e>127){r[t-1]|=128;r[t]=e>>7&127;++t;if(e<=16383)break e;r[t-1]|=128;r[t]=e>>14&127;++t;if(e<=2097151)break e;r[t-1]|=128;r[t]=e>>21&127;++t;if(e<=268435455)break e;r[t-1]|=128;r[t]=e/256>>>21&127;++t;if(e<=34359738367)break e;r[t-1]|=128;r[t]=e/65536>>>21&127;++t;if(e<=4398046511103)break e;r[t-1]|=128;r[t]=e/16777216>>>21&127;++t}return r.slice(0,t)}function dg(e){var r=0,t=e[r]&127;e:if(e[r++]>=128){t|=(e[r]&127)<<7;if(e[r++]<128)break e;t|=(e[r]&127)<<14;if(e[r++]<128)break e;t|=(e[r]&127)<<21;if(e[r++]<128)break e;t|=(e[r]&127)<<28}return t}function vg(e){var r=[],t=[0];while(t[0]<e.length){var a=t[0];var n=ug(e,t);var i=n&7;n=Math.floor(n/8);var s=0;var f;if(n==0)break;switch(i){case 0:{var o=t[0];while(e[t[0]++]>=128);f=e.slice(o,t[0])}break;case 5:s=4;f=e.slice(t[0],t[0]+s);t[0]+=s;break;case 1:s=8;f=e.slice(t[0],t[0]+s);t[0]+=s;break;case 2:s=ug(e,t);f=e.slice(t[0],t[0]+s);t[0]+=s;break;case 3:;case 4:;default:throw new Error("PB Type ".concat(i," for Field ").concat(n," at offset ").concat(a));}var c={data:f,type:i};if(r[n]==null)r[n]=[c];else r[n].push(c)}return r}function pg(e){var r=[];e.forEach(function(e,t){e.forEach(function(e){if(!e.data)return;r.push(hg(t*8+e.type));if(e.type==2)r.push(hg(e.data.length));r.push(e.data)})});return fg(r)}function mg(e,r){return(e==null?void 0:e.map(function(e){return r(e.data)}))||[]}function bg(e){var r;var t=[],a=[0];while(a[0]<e.length){var n=ug(e,a);var i=vg(e.slice(a[0],a[0]+n));a[0]+=n;var s={id:dg(i[1][0].data),messages:[]};i[2].forEach(function(r){var t=vg(r.data);var n=dg(t[3][0].data);s.messages.push({meta:t,data:e.slice(a[0],a[0]+n)});a[0]+=n});if((r=i[3])==null?void 0:r[0])s.merge=dg(i[3][0].data)>>>0>0;t.push(s)}return t}function gg(e){var r=[];e.forEach(function(e){var t=[];t[1]=[{data:hg(e.id),type:0}];t[2]=[];if(e.merge!=null)t[3]=[{data:hg(+!!e.merge),type:0}];var a=[];e.messages.forEach(function(e){a.push(e.data);e.meta[3]=[{type:0,data:hg(e.data.length)}];t[2].push({data:pg(e.meta),type:2})});var n=pg(t);r.push(hg(n.length));r.push(n);a.forEach(function(e){return r.push(e)})});return fg(r)}function wg(e,r){if(e!=0)throw new Error("Unexpected Snappy chunk type ".concat(e));var t=[0];var a=ug(r,t);var n=[];while(t[0]<r.length){var i=r[t[0]]&3;if(i==0){var s=r[t[0]++]>>2;if(s<60)++s;else{var f=s-59;s=r[t[0]];if(f>1)s|=r[t[0]+1]<<8;if(f>2)s|=r[t[0]+2]<<16;if(f>3)s|=r[t[0]+3]<<24;s>>>=0;s++;t[0]+=f}n.push(r.slice(t[0],t[0]+s));t[0]+=s;continue}else{var o=0,c=0;if(i==1){c=(r[t[0]]>>2&7)+4;o=(r[t[0]++]&224)<<3;o|=r[t[0]++]}else{c=(r[t[0]++]>>2)+1;if(i==2){o=r[t[0]]|r[t[0]+1]<<8;t[0]+=2}else{o=(r[t[0]]|r[t[0]+1]<<8|r[t[0]+2]<<16|r[t[0]+3]<<24)>>>0;t[0]+=4}}n=[fg(n)];if(o==0)throw new Error("Invalid offset 0");if(o>n[0].length)throw new Error("Invalid offset beyond length");if(c>=o){n.push(n[0].slice(-o));c-=o;while(c>=n[n.length-1].length){n.push(n[n.length-1]);c-=n[n.length-1].length}}n.push(n[0].slice(-o,-o+c))}}var l=fg(n);if(l.length!=a)throw new Error("Unexpected length: ".concat(l.length," != ").concat(a));return l}function kg(e){var r=[];var t=0;while(t<e.length){var a=e[t++];var n=e[t]|e[t+1]<<8|e[t+2]<<16;t+=3;r.push(wg(a,e.slice(t,t+n)));t+=n}if(t!==e.length)throw new Error("data is not a valid framed stream!");return fg(r)}function Tg(e){var r=[];var t=0;while(t<e.length){var a=Math.min(e.length-t,268435455);var n=new Uint8Array(4);r.push(n);var i=hg(a);var s=i.length;r.push(i);if(a<=60){s++;r.push(new Uint8Array([a-1<<2]))}else if(a<=256){s+=2;r.push(new Uint8Array([240,a-1&255]))}else if(a<=65536){s+=3;r.push(new Uint8Array([244,a-1&255,a-1>>8&255]))}else if(a<=16777216){s+=4;r.push(new Uint8Array([248,a-1&255,a-1>>8&255,a-1>>16&255]))}else if(a<=4294967296){s+=5;r.push(new Uint8Array([252,a-1&255,a-1>>8&255,a-1>>16&255,a-1>>>24&255]))}r.push(e.slice(t,t+a));s+=a;n[0]=0;n[1]=s&255;n[2]=s>>8&255;n[3]=s>>16&255;t+=a}return fg(r)}function Eg(e,r,t,a){var n=ag(e);var i=n.getUint32(4,true);var s=(a>1?12:8)+og(i&(a>1?3470:398))*4;var f=-1,o=-1,c=NaN,l=new Date(2001,0,1);if(i&512){f=n.getUint32(s,true);s+=4}s+=og(i&(a>1?12288:4096))*4;if(i&16){o=n.getUint32(s,true);s+=4}if(i&32){c=n.getFloat64(s,true);s+=8}if(i&64){l.setTime(l.getTime()+n.getFloat64(s,true)*1e3);s+=8}var u;switch(e[2]){case 0:break;case 2:u={t:"n",v:c};break;case 3:u={t:"s",v:r[o]};break;case 5:u={t:"d",v:l};break;case 6:u={t:"b",v:c>0};break;case 7:u={t:"n",v:c/86400};break;case 8:u={t:"e",v:0};break;case 9:{if(f>-1)u={t:"s",v:t[f]};else if(o>-1)u={t:"s",v:r[o]};else if(!isNaN(c))u={t:"n",v:c};else throw new Error("Unsupported cell type ".concat(e.slice(0,4)))}break;default:throw new Error("Unsupported cell type ".concat(e.slice(0,4)));}return u}function yg(e,r,t){var a=ag(e);var n=a.getUint32(8,true);var i=12;var s=-1,f=-1,o=NaN,c=NaN,l=new Date(2001,0,1);if(n&1){o=cg(e,i);i+=16}if(n&2){c=a.getFloat64(i,true);i+=8}if(n&4){l.setTime(l.getTime()+a.getFloat64(i,true)*1e3);i+=8}if(n&8){f=a.getUint32(i,true);i+=4}if(n&16){s=a.getUint32(i,true);i+=4}var u;switch(e[1]){case 0:break;case 2:u={t:"n",v:o};break;case 3:u={t:"s",v:r[f]};break;case 5:u={t:"d",v:l};break;case 6:u={t:"b",v:c>0};break;case 7:u={t:"n",v:c/86400};break;case 8:u={t:"e",v:0};break;case 9:{if(s>-1)u={t:"s",v:t[s]};else throw new Error("Unsupported cell type ".concat(e[1]," : ").concat(n&31," : ").concat(e.slice(0,4)))}break;case 10:u={t:"n",v:o};break;default:throw new Error("Unsupported cell type ".concat(e[1]," : ").concat(n&31," : ").concat(e.slice(0,4)));}return u}function Sg(e,r){var t=new Uint8Array(32),a=ag(t),n=12,i=0;t[0]=5;switch(e.t){case"n":t[1]=2;lg(t,n,e.v);i|=1;n+=16;break;case"b":t[1]=6;a.setFloat64(n,e.v?1:0,true);i|=2;n+=8;break;case"s":if(r.indexOf(e.v)==-1)throw new Error("Value ".concat(e.v," missing from SST!"));t[1]=3;a.setUint32(n,r.indexOf(e.v),true);i|=8;n+=4;break;default:throw"unsupported cell type "+e.t;}a.setUint32(8,i,true);return t.slice(0,n)}function _g(e,r){var t=new Uint8Array(32),a=ag(t),n=12,i=0;t[0]=3;switch(e.t){case"n":t[2]=2;a.setFloat64(n,e.v,true);i|=32;n+=8;break;case"b":t[2]=6;a.setFloat64(n,e.v?1:0,true);i|=32;n+=8;break;case"s":if(r.indexOf(e.v)==-1)throw new Error("Value ".concat(e.v," missing from SST!"));t[2]=3;a.setUint32(n,r.indexOf(e.v),true);i|=16;n+=4;break;default:throw"unsupported cell type "+e.t;}a.setUint32(4,i,true);return t.slice(0,n)}function Ag(e,r,t){switch(e[0]){case 0:;case 1:;case 2:;case 3:return Eg(e,r,t,e[0]);case 5:return yg(e,r,t);default:throw new Error("Unsupported payload version ".concat(e[0]));}}function xg(e){var r=vg(e);return ug(r[1][0].data)}function Cg(e){var r=[];r[1]=[{type:0,data:hg(e)}];return pg(r)}function Rg(e,r){var t=vg(r.data);var a=dg(t[1][0].data);var n=t[3];var i=[];(n||[]).forEach(function(r){var t=vg(r.data);var n=dg(t[1][0].data)>>>0;switch(a){case 1:i[n]=ng(t[3][0].data);break;case 8:{var s=e[xg(t[9][0].data)][0];var f=vg(s.data);var o=e[xg(f[1][0].data)][0];var c=dg(o.meta[1][0].data);if(c!=2001)throw new Error("2000 unexpected reference to ".concat(c));var l=vg(o.data);i[n]=l[3].map(function(e){return ng(e.data)}).join("")}break;}});return i}function Og(e,r){var t,a,n,i,s,f,o,c,l,u,h,d,v,p;var m=vg(e);var b=dg(m[1][0].data)>>>0;var g=dg(m[2][0].data)>>>0;var w=((a=(t=m[8])==null?void 0:t[0])==null?void 0:a.data)&&dg(m[8][0].data)>0||false;var k,T;if(((i=(n=m[7])==null?void 0:n[0])==null?void 0:i.data)&&r!=0){k=(f=(s=m[7])==null?void 0:s[0])==null?void 0:f.data;T=(c=(o=m[6])==null?void 0:o[0])==null?void 0:c.data}else if(((u=(l=m[4])==null?void 0:l[0])==null?void 0:u.data)&&r!=1){k=(d=(h=m[4])==null?void 0:h[0])==null?void 0:d.data;T=(p=(v=m[3])==null?void 0:v[0])==null?void 0:p.data}else throw"NUMBERS Tile missing ".concat(r," cell storage");var E=w?4:1;var y=ag(k);var S=[];for(var _=0;_<k.length/2;++_){var A=y.getUint16(_*2,true);if(A<65535)S.push([_,A])}if(S.length!=g)throw"Expected ".concat(g," cells, found ").concat(S.length);var x=[];for(_=0;_<S.length-1;++_)x[S[_][0]]=T.subarray(S[_][1]*E,S[_+1][1]*E);if(S.length>=1)x[S[S.length-1][0]]=T.subarray(S[S.length-1][1]*E);return{R:b,cells:x}}function Ig(e,r){var t;var a=vg(r.data);var n=((t=a==null?void 0:a[7])==null?void 0:t[0])?dg(a[7][0].data)>>>0>0?1:0:-1;var i=mg(a[5],function(e){return Og(e,n)});return{nrows:dg(a[4][0].data)>>>0,data:i.reduce(function(e,r){if(!e[r.R])e[r.R]=[];r.cells.forEach(function(t,a){if(e[r.R][a])throw new Error("Duplicate cell r=".concat(r.R," c=").concat(a));e[r.R][a]=t});return e},[])}}function Ng(e,r,t){var a;var n=vg(r.data);var i={s:{r:0,c:0},e:{r:0,c:0}};i.e.r=(dg(n[6][0].data)>>>0)-1;if(i.e.r<0)throw new Error("Invalid row varint ".concat(n[6][0].data));i.e.c=(dg(n[7][0].data)>>>0)-1;if(i.e.c<0)throw new Error("Invalid col varint ".concat(n[7][0].data));t["!ref"]=Na(i);var s=vg(n[4][0].data);var f=Rg(e,e[xg(s[4][0].data)][0]);var o=((a=s[17])==null?void 0:a[0])?Rg(e,e[xg(s[17][0].data)][0]):[];var c=vg(s[3][0].data);var l=0;c[1].forEach(function(r){var a=vg(r.data);var n=e[xg(a[2][0].data)][0];var i=dg(n.meta[1][0].data);if(i!=6002)throw new Error("6001 unexpected reference to ".concat(i));var s=Ig(e,n);s.data.forEach(function(e,r){e.forEach(function(e,a){var n=Oa({r:l+r,c:a});var i=Ag(e,f,o);if(i)t[n]=i})});l+=s.nrows})}function Fg(e,r){var t=vg(r.data);var a={"!ref":"A1"};var n=e[xg(t[2][0].data)];var i=dg(n[0].meta[1][0].data);if(i!=6001)throw new Error("6000 unexpected reference to ".concat(i));Ng(e,n[0],a);return a}function Dg(e,r){var t;var a=vg(r.data);var n={name:((t=a[1])==null?void 0:t[0])?ng(a[1][0].data):"",sheets:[]};var i=mg(a[2],xg);i.forEach(function(r){e[r].forEach(function(r){var t=dg(r.meta[1][0].data);if(t==6e3)n.sheets.push(Fg(e,r))})});return n}function Pg(e,r){var t=Nw();var a=vg(r.data);var n=mg(a[1],xg);n.forEach(function(r){e[r].forEach(function(r){var a=dg(r.meta[1][0].data);if(a==2){var n=Dg(e,r);n.sheets.forEach(function(e,r){Fw(t,e,r==0?n.name:n.name+"_"+r,true)})}})});if(t.SheetNames.length==0)throw new Error("Empty NUMBERS file");return t}function Lg(e){var r,t,a,n;var i={},s=[];e.FullPaths.forEach(function(e){if(e.match(/\.iwpv2/))throw new Error("Unsupported password protection")});e.FileIndex.forEach(function(e){if(!e.name.match(/\.iwa$/))return;var r;try{r=kg(e.content)}catch(t){return console.log("?? "+e.content.length+" "+(t.message||t))}var a;try{a=bg(r)}catch(t){return console.log("## "+(t.message||t))}a.forEach(function(e){i[e.id]=e.messages;s.push(e.id)})});if(!s.length)throw new Error("File has no messages");var f=((n=(a=(t=(r=i==null?void 0:i[1])==null?void 0:r[0])==null?void 0:t.meta)==null?void 0:a[1])==null?void 0:n[0].data)&&dg(i[1][0].meta[1][0].data)==1&&i[1][0];if(!f)s.forEach(function(e){i[e].forEach(function(e){var r=dg(e.meta[1][0].data)>>>0;if(r==1){if(!f)f=e;else throw new Error("Document has multiple roots")}})});if(!f)throw new Error("Cannot find Document root");return Pg(i,f)}function Mg(e,r,t){var a,n,i,s;if(!((a=e[6])==null?void 0:a[0])||!((n=e[7])==null?void 0:n[0]))throw"Mutation only works on post-BNC storages!";var f=((s=(i=e[8])==null?void 0:i[0])==null?void 0:s.data)&&dg(e[8][0].data)>0||false;if(f)throw"Math only works with normal offsets";var o=0;var c=ag(e[7][0].data),l=0,u=[];var h=ag(e[4][0].data),d=0,v=[];for(var p=0;p<r.length;++p){if(r[p]==null){c.setUint16(p*2,65535,true);h.setUint16(p*2,65535);continue}c.setUint16(p*2,l,true);h.setUint16(p*2,d,true);var m,b;switch(typeof r[p]){case"string":m=Sg({t:"s",v:r[p]},t);b=_g({t:"s",v:r[p]},t);break;case"number":m=Sg({t:"n",v:r[p]},t);b=_g({t:"n",v:r[p]},t);break;case"boolean":m=Sg({t:"b",v:r[p]},t);b=_g({t:"b",v:r[p]},t);break;default:throw new Error("Unsupported value "+r[p]);}u.push(m);l+=m.length;v.push(b);d+=b.length;++o}e[2][0].data=hg(o);for(;p<e[7][0].data.length/2;++p){c.setUint16(p*2,65535,true);h.setUint16(p*2,65535,true)}e[6][0].data=fg(u);e[3][0].data=fg(v);return o}function Ug(e,r){if(!r||!r.numbers)throw new Error("Must pass a `numbers` option -- check the README");var t=e.Sheets[e.SheetNames[0]];if(e.SheetNames.length>1)console.error("The Numbers writer currently writes only the first table");var a=Ia(t["!ref"]);a.s.r=a.s.c=0;var n=false;if(a.e.c>9){n=true;a.e.c=9}if(a.e.r>49){n=true;a.e.r=49}if(n)console.error("The Numbers writer is currently limited to ".concat(Na(a)));var i=Ew(t,{range:a,header:1});var s=["~Sh33tJ5~"];i.forEach(function(e){return e.forEach(function(e){if(typeof e=="string")s.push(e)})});var f={};var o=[];var c=Ke.read(r.numbers,{type:"base64"});c.FileIndex.map(function(e,r){return[e,c.FullPaths[r]]}).forEach(function(e){var r=e[0],t=e[1];if(r.type!=2)return;if(!r.name.match(/\.iwa/))return;var a=r.content;var n=kg(a);var i=bg(n);i.forEach(function(e){o.push(e.id);f[e.id]={deps:[],location:t,type:dg(e.messages[0].meta[1][0].data)}})});o.sort(function(e,r){return e-r});var l=o.filter(function(e){return e>1}).map(function(e){return[e,hg(e)]});c.FileIndex.map(function(e,r){return[e,c.FullPaths[r]]}).forEach(function(e){var r=e[0],t=e[1];if(!r.name.match(/\.iwa/))return;var a=bg(kg(r.content));a.forEach(function(e){e.messages.forEach(function(r){l.forEach(function(r){if(e.messages.some(function(e){return dg(e.meta[1][0].data)!=11006&&sg(e.data,r[1])})){f[r[0]].deps.push(e.id)}})})})});function u(){for(var e=927262;e<2e6;++e)if(!f[e])return e;throw new Error("Too many messages")}var h=Ke.find(c,f[1].location);var d=bg(kg(h.content));var v;for(var p=0;p<d.length;++p){var m=d[p];if(m.id==1)v=m}var b=xg(vg(v.messages[0].data)[1][0].data);h=Ke.find(c,f[b].location);d=bg(kg(h.content));for(p=0;p<d.length;++p){m=d[p];if(m.id==b)v=m}b=xg(vg(v.messages[0].data)[2][0].data);h=Ke.find(c,f[b].location);d=bg(kg(h.content));for(p=0;p<d.length;++p){m=d[p];if(m.id==b)v=m}b=xg(vg(v.messages[0].data)[2][0].data);h=Ke.find(c,f[b].location);d=bg(kg(h.content));for(p=0;p<d.length;++p){m=d[p];if(m.id==b)v=m}var g=vg(v.messages[0].data);{g[6][0].data=hg(a.e.r+1);g[7][0].data=hg(a.e.c+1);var w=xg(g[46][0].data);var k=Ke.find(c,f[w].location);var T=bg(kg(k.content));{for(var E=0;E<T.length;++E){if(T[E].id==w)break}if(T[E].id!=w)throw"Bad ColumnRowUIDMapArchive";var y=vg(T[E].messages[0].data);y[1]=[];y[2]=[],y[3]=[];for(var S=0;S<=a.e.c;++S){var _=[];_[1]=_[2]=[{type:0,data:hg(S+420690)}];y[1].push({type:2,data:pg(_)});y[2].push({type:0,data:hg(S)});y[3].push({type:0,data:hg(S)})}y[4]=[];y[5]=[],y[6]=[];for(var A=0;A<=a.e.r;++A){_=[];_[1]=_[2]=[{type:0,data:hg(A+726270)}];y[4].push({type:2,data:pg(_)});y[5].push({type:0,data:hg(A)});y[6].push({type:0,data:hg(A)})}T[E].messages[0].data=pg(y)}k.content=Tg(gg(T));k.size=k.content.length;delete g[46];var x=vg(g[4][0].data);{x[7][0].data=hg(a.e.r+1);var C=vg(x[1][0].data);var R=xg(C[2][0].data);k=Ke.find(c,f[R].location);T=bg(kg(k.content));{if(T[0].id!=R)throw"Bad HeaderStorageBucket";var O=vg(T[0].messages[0].data);for(A=0;A<i.length;++A){var I=vg(O[2][0].data);I[1][0].data=hg(A);I[4][0].data=hg(i[A].length);O[2][A]={type:O[2][0].type,data:pg(I)}}T[0].messages[0].data=pg(O)}k.content=Tg(gg(T));k.size=k.content.length;var N=xg(x[2][0].data);k=Ke.find(c,f[N].location);T=bg(kg(k.content));{if(T[0].id!=N)throw"Bad HeaderStorageBucket";O=vg(T[0].messages[0].data);for(S=0;S<=a.e.c;++S){I=vg(O[2][0].data);I[1][0].data=hg(S);I[4][0].data=hg(a.e.r+1);O[2][S]={type:O[2][0].type,data:pg(I)}}T[0].messages[0].data=pg(O)}k.content=Tg(gg(T));k.size=k.content.length;var F=xg(x[4][0].data);(function(){var e=Ke.find(c,f[F].location);var r=bg(kg(e.content));var t;for(var a=0;a<r.length;++a){var n=r[a];if(n.id==F)t=n}var i=vg(t.messages[0].data);{i[3]=[];var o=[];s.forEach(function(e,r){o[1]=[{type:0,data:hg(r)}];o[2]=[{type:0,data:hg(1)}];o[3]=[{type:2,data:ig(e)}];i[3].push({type:2,data:pg(o)})})}t.messages[0].data=pg(i);var l=gg(r);var u=Tg(l);e.content=u;e.size=e.content.length})();var D=vg(x[3][0].data);{var P=D[1][0];delete D[2];var L=vg(P.data);{var M=xg(L[2][0].data);(function(){var e=Ke.find(c,f[M].location);var r=bg(kg(e.content));var t;for(var n=0;n<r.length;++n){var o=r[n];if(o.id==M)t=o}var l=vg(t.messages[0].data);{delete l[6];delete D[7];var u=new Uint8Array(l[5][0].data);l[5]=[];var h=0;for(var d=0;d<=a.e.r;++d){var v=vg(u);h+=Mg(v,i[d],s);v[1][0].data=hg(d);l[5].push({data:pg(v),type:2})}l[1]=[{type:0,data:hg(a.e.c+1)}];l[2]=[{type:0,data:hg(a.e.r+1)}];l[3]=[{type:0,data:hg(h)}];l[4]=[{type:0,data:hg(a.e.r+1)}]}t.messages[0].data=pg(l);var p=gg(r);var m=Tg(p);e.content=m;e.size=e.content.length})()}P.data=pg(L)}x[3][0].data=pg(D)}g[4][0].data=pg(x)}v.messages[0].data=pg(g);var U=gg(d);var B=Tg(U);h.content=B;h.size=h.content.length;return c}function Bg(e){return function r(t){for(var a=0;a!=e.length;++a){var n=e[a];if(t[n[0]]===undefined)t[n[0]]=n[1];if(n[2]==="n")t[n[0]]=Number(t[n[0]])}}}function Wg(e){Bg([["cellNF",false],["cellHTML",true],["cellFormula",true],["cellStyles",false],["cellText",true],["cellDates",false],["sheetStubs",false],["sheetRows",0,"n"],["bookDeps",false],["bookSheets",false],["bookProps",false],["bookFiles",false],["bookVBA",false],["password",""],["WTF",false]])(e)}function Hg(e){Bg([["cellDates",false],["bookSST",false],["bookType","xlsx"],["compression",false],["WTF",false]])(e)}function zg(e){if(qn.WS.indexOf(e)>-1)return"sheet";if(qn.CS&&e==qn.CS)return"chart";if(qn.DS&&e==qn.DS)return"dialog";if(qn.MS&&e==qn.MS)return"macro";return e&&e.length?e:"sheet"}function Vg(e,r){if(!e)return 0;try{e=r.map(function a(r){if(!r.id)r.id=r.strRelID;return[r.name,e["!id"][r.id].Target,zg(e["!id"][r.id].Type)]})}catch(t){return null}return!e||e.length===0?null:e}function Gg(e,r,t,a,n,i,s,f,o,c,l,u){try{i[a]=Qn(Or(e,t,true),r);var h=Rr(e,r);var d;switch(f){case"sheet":d=pm(h,r,n,o,i[a],c,l,u);break;case"chart":d=mm(h,r,n,o,i[a],c,l,u);if(!d||!d["!drawel"])break;var v=Lr(d["!drawel"].Target,r);var p=Zn(v);var m=tu(Or(e,v,true),Qn(Or(e,p,true),v));var b=Lr(m,v);var g=Zn(b);d=Pp(Or(e,b,true),b,o,Qn(Or(e,g,true),b),c,d);break;case"macro":d=bm(h,r,n,o,i[a],c,l,u);break;case"dialog":d=gm(h,r,n,o,i[a],c,l,u);break;default:throw new Error("Unrecognized sheet type "+f);}s[a]=d;var w=[];if(i&&i[a])rr(i[a]).forEach(function(t){var n="";if(i[a][t].Type==qn.CMNT){n=Lr(i[a][t].Target,r);var s=Em(Rr(e,n,true),n,o);if(!s||!s.length)return;iu(d,s,false)}if(i[a][t].Type==qn.TCMNT){n=Lr(i[a][t].Target,r);w=w.concat(ou(Rr(e,n,true),o))}});if(w&&w.length)iu(d,w,true,o.people||[])}catch(k){if(o.WTF)throw k}}function jg(e){return e.charAt(0)=="/"?e.slice(1):e}function Xg(e,r){ze();r=r||{};Wg(r);if(xr(e,"META-INF/manifest.xml"))return Zb(e,r);if(xr(e,"objectdata.xml"))return Zb(e,r);if(xr(e,"Index/Document.iwa")){if(typeof Uint8Array=="undefined")throw new Error("NUMBERS file parsing requires Uint8Array support");if(typeof Lg!="undefined"){if(e.FileIndex)return Lg(e);var t=Ke.utils.cfb_new();Nr(e).forEach(function(r){Fr(t,r,Ir(e,r))});return Lg(t)}throw new Error("Unsupported NUMBERS file")}if(!xr(e,"[Content_Types].xml")){if(xr(e,"index.xml.gz"))throw new Error("Unsupported NUMBERS 08 file");-if(xr(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Error("Unsupported ZIP file")}var a=Nr(e);var n=Kn(Or(e,"[Content_Types].xml"));var i=false;var s,f;if(n.workbooks.length===0){f="xl/workbook.xml";if(Rr(e,f,true))n.workbooks.push(f)}if(n.workbooks.length===0){f="xl/workbook.bin";if(!Rr(e,f,true))throw new Error("Could not find workbook");n.workbooks.push(f);i=true}if(n.workbooks[0].slice(-3)=="bin")i=true;var o={};var c={};if(!r.bookSheets&&!r.bookProps){Cd=[];if(n.sst)try{Cd=Tm(Rr(e,jg(n.sst)),n.sst,r)}catch(l){if(r.WTF)throw l}if(r.cellStyles&&n.themes.length)o=km(Or(e,n.themes[0].replace(/^\//,""),true)||"",n.themes[0],r);if(n.style)c=wm(Rr(e,jg(n.style)),n.style,o,r)}n.links.map(function(t){try{var a=Qn(Or(e,Zn(jg(t))),t);return Sm(Rr(e,jg(t)),a,t,r)}catch(n){}});var u=vm(Rr(e,jg(n.workbooks[0])),n.workbooks[0],r);var h={},d="";if(n.coreprops.length){d=Rr(e,jg(n.coreprops[0]),true);if(d)h=ui(d);if(n.extprops.length!==0){d=Rr(e,jg(n.extprops[0]),true);if(d)bi(d,h,r)}}var v={};if(!r.bookSheets||r.bookProps){if(n.custprops.length!==0){d=Or(e,jg(n.custprops[0]),true);if(d)v=ki(d,r)}}var p={};if(r.bookSheets||r.bookProps){if(u.Sheets)s=u.Sheets.map(function I(e){return e.name});else if(h.Worksheets&&h.SheetNames.length>0)s=h.SheetNames;if(r.bookProps){p.Props=h;p.Custprops=v}if(r.bookSheets&&typeof s!=="undefined")p.SheetNames=s;if(r.bookSheets?p.SheetNames:r.bookProps)return p}s={};var m={};if(r.bookDeps&&n.calcchain)m=ym(Rr(e,jg(n.calcchain)),n.calcchain,r);var b=0;var g={};var w,k;{var T=u.Sheets;h.Worksheets=T.length;h.SheetNames=[];for(var E=0;E!=T.length;++E){h.SheetNames[E]=T[E].name}}var y=i?"bin":"xml";var S=n.workbooks[0].lastIndexOf("/");var _=(n.workbooks[0].slice(0,S+1)+"_rels/"+n.workbooks[0].slice(S+1)+".rels").replace(/^\//,"");if(!xr(e,_))_="xl/_rels/workbook."+y+".rels";var A=Qn(Or(e,_,true),_.replace(/_rels.*/,"s5s"));if((n.metadata||[]).length>=1){r.xlmeta=_m(Rr(e,jg(n.metadata[0])),n.metadata[0],r)}if((n.people||[]).length>=1){r.people=lu(Rr(e,jg(n.people[0])),r)}if(A)A=Vg(A,u.Sheets);var x=Rr(e,"xl/worksheets/sheet.xml",true)?1:0;e:for(b=0;b!=h.Worksheets;++b){var C="sheet";if(A&&A[b]){w="xl/"+A[b][1].replace(/[\/]?xl\//,"");if(!xr(e,w))w=A[b][1];if(!xr(e,w))w=_.replace(/_rels\/.*$/,"")+A[b][1];C=A[b][2]}else{w="xl/worksheets/sheet"+(b+1-x)+"."+y;w=w.replace(/sheet0\./,"sheet.")}k=w.replace(/^(.*)(\/)([^\/]*)$/,"$1/_rels/$3.rels");if(r&&r.sheets!=null)switch(typeof r.sheets){case"number":if(b!=r.sheets)continue e;break;case"string":if(h.SheetNames[b].toLowerCase()!=r.sheets.toLowerCase())continue e;break;default:if(Array.isArray&&Array.isArray(r.sheets)){var R=false;for(var O=0;O!=r.sheets.length;++O){if(typeof r.sheets[O]=="number"&&r.sheets[O]==b)R=1;if(typeof r.sheets[O]=="string"&&r.sheets[O].toLowerCase()==h.SheetNames[b].toLowerCase())R=1}if(!R)continue e};}Gg(e,w,k,h.SheetNames[b],b,g,s,C,r,u,o,c)}p={Directory:n,Workbook:u,Props:h,Custprops:v,Deps:m,Sheets:s,SheetNames:h.SheetNames,Strings:Cd,Styles:c,Themes:o,SSF:gr(X)};if(r&&r.bookFiles){if(e.files){p.keys=a;p.files=e.files}else{p.keys=[];p.files={};e.FullPaths.forEach(function(r,t){r=r.replace(/^Root Entry[\/]/,"");p.keys.push(r);p.files[r]=e.FileIndex[t]})}}if(r&&r.bookVBA){if(n.vba.length>0)p.vbaraw=Rr(e,jg(n.vba[0]),true);else if(n.defaults&&n.defaults.bin===gu)p.vbaraw=Rr(e,"xl/vbaProject.bin",true)}return p}function $g(e,r){var t=r||{};var a="Workbook",n=Ke.find(e,a);try{a="/!DataSpaces/Version";n=Ke.find(e,a);if(!n||!n.content)throw new Error("ECMA-376 Encrypted file missing "+a);Ko(n.content);a="/!DataSpaces/DataSpaceMap";n=Ke.find(e,a);if(!n||!n.content)throw new Error("ECMA-376 Encrypted file missing "+a);var i=qo(n.content);if(i.length!==1||i[0].comps.length!==1||i[0].comps[0].t!==0||i[0].name!=="StrongEncryptionDataSpace"||i[0].comps[0].v!=="EncryptedPackage")throw new Error("ECMA-376 Encrypted file bad "+a);a="/!DataSpaces/DataSpaceInfo/StrongEncryptionDataSpace";n=Ke.find(e,a);if(!n||!n.content)throw new Error("ECMA-376 Encrypted file missing "+a);var s=Zo(n.content);if(s.length!=1||s[0]!="StrongEncryptionTransform")throw new Error("ECMA-376 Encrypted file bad "+a);a="/!DataSpaces/TransformInfo/StrongEncryptionTransform/!Primary";n=Ke.find(e,a);if(!n||!n.content)throw new Error("ECMA-376 Encrypted file missing "+a);ec(n.content)}catch(f){}a="/EncryptionInfo";n=Ke.find(e,a);if(!n||!n.content)throw new Error("ECMA-376 Encrypted file missing "+a);var o=ac(n.content);a="/EncryptedPackage";n=Ke.find(e,a);if(!n||!n.content)throw new Error("ECMA-376 Encrypted file missing "+a);if(o[0]==4&&typeof decrypt_agile!=="undefined")return decrypt_agile(o[1],n.content,t.password||"",t);if(o[0]==2&&typeof decrypt_std76!=="undefined")return decrypt_std76(o[1],n.content,t.password||"",t);throw new Error("File is password-protected")}function Yg(e,r){if(r.bookType=="ods")return tg(e,r);if(r.bookType=="numbers")return Ug(e,r);if(r.bookType=="xlsb")return Kg(e,r);return Jg(e,r)}function Kg(e,r){au=1024;if(e&&!e.SSF){e.SSF=gr(X)}if(e&&e.SSF){ze();He(e.SSF);r.revssf=nr(e.SSF);r.revssf[e.SSF[65535]]=0;r.ssf=e.SSF}r.rels={};r.wbrels={};r.Strings=[];r.Strings.Count=0;r.Strings.Unique=0;if(Od)r.revStrings=new Map;else{r.revStrings={};r.revStrings.foo=[];delete r.revStrings.foo}var t=r.bookType=="xlsb"?"bin":"xml";var a=Tu.indexOf(r.bookType)>-1;var n=Yn();Hg(r=r||{});var i=Dr();var s="",f=0;r.cellXfs=[];Dd(r.cellXfs,{},{revssf:{General:0}});if(!e.Props)e.Props={};s="docProps/core.xml";Fr(i,s,di(e.Props,r));n.coreprops.push(s);ri(r.rels,2,s,qn.CORE_PROPS);s="docProps/app.xml";if(e.Props&&e.Props.SheetNames){}else if(!e.Workbook||!e.Workbook.Sheets)e.Props.SheetNames=e.SheetNames;else{var o=[];for(var c=0;c<e.SheetNames.length;++c)if((e.Workbook.Sheets[c]||{}).Hidden!=2)o.push(e.SheetNames[c]);e.Props.SheetNames=o}e.Props.Worksheets=e.Props.SheetNames.length;Fr(i,s,gi(e.Props,r));n.extprops.push(s);ri(r.rels,3,s,qn.EXT_PROPS);if(e.Custprops!==e.Props&&rr(e.Custprops||{}).length>0){s="docProps/custom.xml";Fr(i,s,Ti(e.Custprops,r));n.custprops.push(s);ri(r.rels,4,s,qn.CUST_PROPS)}for(f=1;f<=e.SheetNames.length;++f){var l={"!id":{}};var u=e.Sheets[e.SheetNames[f-1]];var h=(u||{})["!type"]||"sheet";switch(h){case"chart":;default:s="xl/worksheets/sheet"+f+"."+t;Fr(i,s,xm(f-1,s,r,e,l));n.sheets.push(s);ri(r.wbrels,-1,"worksheets/sheet"+f+"."+t,qn.WS[0]);}if(u){var d=u["!comments"];var v=false;var p="";if(d&&d.length>0){p="xl/comments"+f+"."+t;Fr(i,p,Im(d,p,r));n.comments.push(p);ri(l,-1,"../comments"+f+"."+t,qn.CMNT);v=true}if(u["!legacy"]){if(v)Fr(i,"xl/drawings/vmlDrawing"+f+".vml",nu(f,u["!comments"]))}delete u["!comments"];delete u["!legacy"]}if(l["!id"].rId1)Fr(i,Zn(s),ei(l))}if(r.Strings!=null&&r.Strings.length>0){s="xl/sharedStrings."+t;Fr(i,s,Om(r.Strings,s,r));n.strs.push(s);ri(r.wbrels,-1,"sharedStrings."+t,qn.SST)}s="xl/workbook."+t;Fr(i,s,Am(e,s,r));n.workbooks.push(s);ri(r.rels,1,s,qn.WB);s="xl/theme/theme1.xml";Fr(i,s,Il(e.Themes,r));n.themes.push(s);ri(r.wbrels,-1,"theme/theme1.xml",qn.THEME);s="xl/styles."+t;Fr(i,s,Rm(e,s,r));n.styles.push(s);ri(r.wbrels,-1,"styles."+t,qn.STY);if(e.vbaraw&&a){s="xl/vbaProject.bin";Fr(i,s,e.vbaraw);n.vba.push(s);ri(r.wbrels,-1,"vbaProject.bin",qn.VBA)}s="xl/metadata."+t;Fr(i,s,Nm(s));n.metadata.push(s);ri(r.wbrels,-1,"metadata."+t,qn.XLMETA);Fr(i,"[Content_Types].xml",Jn(n,r));Fr(i,"_rels/.rels",ei(r.rels));Fr(i,"xl/_rels/workbook."+t+".rels",ei(r.wbrels));delete r.revssf;delete r.ssf;return i}function Jg(e,r){au=1024;if(e&&!e.SSF){e.SSF=gr(X)}if(e&&e.SSF){ze();He(e.SSF);r.revssf=nr(e.SSF);r.revssf[e.SSF[65535]]=0;r.ssf=e.SSF}r.rels={};r.wbrels={};r.Strings=[];r.Strings.Count=0;r.Strings.Unique=0;if(Od)r.revStrings=new Map;else{r.revStrings={};r.revStrings.foo=[];delete r.revStrings.foo}var t="xml";var a=Tu.indexOf(r.bookType)>-1;var n=Yn();Hg(r=r||{});var i=Dr();var s="",f=0;r.cellXfs=[];Dd(r.cellXfs,{},{revssf:{General:0}});if(!e.Props)e.Props={};s="docProps/core.xml";Fr(i,s,di(e.Props,r));n.coreprops.push(s);ri(r.rels,2,s,qn.CORE_PROPS);s="docProps/app.xml";if(e.Props&&e.Props.SheetNames){}else if(!e.Workbook||!e.Workbook.Sheets)e.Props.SheetNames=e.SheetNames;else{var o=[];for(var c=0;c<e.SheetNames.length;++c)if((e.Workbook.Sheets[c]||{}).Hidden!=2)o.push(e.SheetNames[c]);e.Props.SheetNames=o}e.Props.Worksheets=e.Props.SheetNames.length;Fr(i,s,gi(e.Props,r));n.extprops.push(s);ri(r.rels,3,s,qn.EXT_PROPS);if(e.Custprops!==e.Props&&rr(e.Custprops||{}).length>0){s="docProps/custom.xml";Fr(i,s,Ti(e.Custprops,r));n.custprops.push(s);ri(r.rels,4,s,qn.CUST_PROPS)}var l=["SheetJ5"];r.tcid=0;for(f=1;f<=e.SheetNames.length;++f){var u={"!id":{}};var h=e.Sheets[e.SheetNames[f-1]];var d=(h||{})["!type"]||"sheet";switch(d){case"chart":;default:s="xl/worksheets/sheet"+f+"."+t;Fr(i,s,pv(f-1,r,e,u));n.sheets.push(s);ri(r.wbrels,-1,"worksheets/sheet"+f+"."+t,qn.WS[0]);}if(h){var v=h["!comments"];var p=false;var m="";if(v&&v.length>0){var b=false;v.forEach(function(e){e[1].forEach(function(e){if(e.T==true)b=true})});if(b){m="xl/threadedComments/threadedComment"+f+"."+t;Fr(i,m,cu(v,l,r));n.threadedcomments.push(m);ri(u,-1,"../threadedComments/threadedComment"+f+"."+t,qn.TCMNT)}m="xl/comments"+f+"."+t;Fr(i,m,fu(v,r));n.comments.push(m);ri(u,-1,"../comments"+f+"."+t,qn.CMNT);p=true}if(h["!legacy"]){if(p)Fr(i,"xl/drawings/vmlDrawing"+f+".vml",nu(f,h["!comments"]))}delete h["!comments"];delete h["!legacy"]}if(u["!id"].rId1)Fr(i,Zn(s),ei(u))}if(r.Strings!=null&&r.Strings.length>0){s="xl/sharedStrings."+t;Fr(i,s,Ho(r.Strings,r));n.strs.push(s);ri(r.wbrels,-1,"sharedStrings."+t,qn.SST)}s="xl/workbook."+t;Fr(i,s,rm(e,r));n.workbooks.push(s);ri(r.rels,1,s,qn.WB);s="xl/theme/theme1.xml";Fr(i,s,Il(e.Themes,r));n.themes.push(s);ri(r.wbrels,-1,"theme/theme1.xml",qn.THEME);s="xl/styles."+t;Fr(i,s,$c(e,r));n.styles.push(s);ri(r.wbrels,-1,"styles."+t,qn.STY);if(e.vbaraw&&a){s="xl/vbaProject.bin";Fr(i,s,e.vbaraw);n.vba.push(s);ri(r.wbrels,-1,"vbaProject.bin",qn.VBA)}s="xl/metadata."+t;Fr(i,s,Jl());n.metadata.push(s);ri(r.wbrels,-1,"metadata."+t,qn.XLMETA);if(l.length>1){s="xl/persons/person.xml";Fr(i,s,uu(l,r));n.people.push(s);ri(r.wbrels,-1,"persons/person.xml",qn.PEOPLE)}Fr(i,"[Content_Types].xml",Jn(n,r));Fr(i,"_rels/.rels",ei(r.rels));Fr(i,"xl/_rels/workbook."+t+".rels",ei(r.wbrels));delete r.revssf;delete r.ssf;return i}function qg(e,r){var t="";switch((r||{}).type||"base64"){case"buffer":return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]];case"base64":t=k(e.slice(0,12));break;case"binary":t=e;break;case"array":return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]];default:throw new Error("Unrecognized type "+(r&&r.type||"undefined"));}return[t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2),t.charCodeAt(3),t.charCodeAt(4),t.charCodeAt(5),t.charCodeAt(6),t.charCodeAt(7)]}function Zg(e,r){if(Ke.find(e,"EncryptedPackage"))return $g(e,r);return vb(e,r)}function Qg(e,r){var t,a=e;var n=r||{};if(!n.type)n.type=T&&Buffer.isBuffer(e)?"buffer":"base64";t=Pr(a,n);return Xg(t,n)}function ew(e,r){var t=0;e:while(t<e.length)switch(e.charCodeAt(t)){case 10:;case 13:;case 32:++t;break;case 60:return jm(e.slice(t),r);default:break e;}return Ao.to_workbook(e,r)}function rw(e,r){var t="",a=qg(e,r);switch(r.type){case"base64":t=k(e);break;case"binary":t=e;break;case"buffer":t=e.toString("binary");break;case"array":t=br(e);break;default:throw new Error("Unrecognized type "+r.type);}if(a[0]==239&&a[1]==187&&a[2]==191)t=ct(t);r.type="binary";return ew(t,r)}function tw(e,r){var t=e;if(r.type=="base64")t=k(t);t=a.utils.decode(1200,t.slice(2),"str");r.type="binary";return ew(t,r)}function aw(e){return!e.match(/[^\x00-\x7F]/)?e:lt(e)}function nw(e,r,t,a){if(a){t.type="string";return Ao.to_workbook(e,t)}return Ao.to_workbook(r,t)}function iw(e,r){c();var t=r||{};if(typeof ArrayBuffer!=="undefined"&&e instanceof ArrayBuffer)return iw(new Uint8Array(e),(t=gr(t),t.type="array",t));if(typeof Uint8Array!=="undefined"&&e instanceof Uint8Array&&!t.type)t.type=typeof Deno!=="undefined"?"buffer":"array";var a=e,n=[0,0,0,0],i=false;if(t.cellStyles){t.cellNF=true;t.sheetStubs=true}Rd={};if(t.dateNF)Rd.dateNF=t.dateNF;if(!t.type)t.type=T&&Buffer.isBuffer(e)?"buffer":"base64";if(t.type=="file"){t.type=T?"buffer":"binary";a=er(e);if(typeof Uint8Array!=="undefined"&&!T)t.type="array"}if(t.type=="string"){i=true;t.type="binary";t.codepage=65001;a=aw(e)}if(t.type=="array"&&typeof Uint8Array!=="undefined"&&e instanceof Uint8Array&&typeof ArrayBuffer!=="undefined"){var s=new ArrayBuffer(3),f=new Uint8Array(s);f.foo="bar";if(!f.foo){t=gr(t);t.type="array";return iw(R(a),t)}}switch((n=qg(a,t))[0]){case 208:if(n[1]===207&&n[2]===17&&n[3]===224&&n[4]===161&&n[5]===177&&n[6]===26&&n[7]===225)return Zg(Ke.read(a,t),t);break;case 9:if(n[1]<=8)return vb(a,t);break;case 60:return jm(a,t);case 73:if(n[1]===73&&n[2]===42&&n[3]===0)throw new Error("TIFF Image File is not a spreadsheet");if(n[1]===68)return xo(a,t);break;case 84:if(n[1]===65&&n[2]===66&&n[3]===76)return So.to_workbook(a,t);break;case 80:return n[1]===75&&n[2]<9&&n[3]<9?Qg(a,t):nw(e,a,t,i);case 239:return n[3]===60?jm(a,t):nw(e,a,t,i);case 255:if(n[1]===254){return tw(a,t)}else if(n[1]===0&&n[2]===2&&n[3]===0)return Co.to_workbook(a,t);break;case 0:if(n[1]===0){if(n[2]>=2&&n[3]===0)return Co.to_workbook(a,t);if(n[2]===0&&(n[3]===8||n[3]===9))return Co.to_workbook(a,t)}break;case 3:;case 131:;case 139:;case 140:return Eo.to_workbook(a,t);case 123:if(n[1]===92&&n[2]===114&&n[3]===116)return mc.to_workbook(a,t);break;case 10:;case 13:;case 32:return rw(a,t);case 137:if(n[1]===80&&n[2]===78&&n[3]===71)throw new Error("PNG Image File is not a spreadsheet");break;}if(To.indexOf(n[0])>-1&&n[2]<=12&&n[3]<=31)return Eo.to_workbook(a,t);return nw(e,a,t,i)}function sw(e,r){var t=r||{};t.type="file";return iw(e,t)}function fw(e,r){switch(r.type){case"base64":;case"binary":break;case"buffer":;case"array":r.type="";break;case"file":return Qe(r.file,Ke.write(e,{type:T?"buffer":""}));case"string":throw new Error("'string' output type invalid for '"+r.bookType+"' files");default:throw new Error("Unrecognized type "+r.type);}return Ke.write(e,r)}function ow(e,r){var t=gr(r||{});var a=Yg(e,t);return lw(a,t)}function cw(e,r){var t=gr(r||{});var a=Jg(e,t);return lw(a,t)}function lw(e,r){var t={};var a=T?"nodebuffer":typeof Uint8Array!=="undefined"?"array":"string";if(r.compression)t.compression="DEFLATE";if(r.password)t.type=a;else switch(r.type){case"base64":t.type="base64";break;case"binary":t.type="string";break;case"string":throw new Error("'string' output type invalid for '"+r.bookType+"' files");case"buffer":;case"file":t.type=a;break;default:throw new Error("Unrecognized type "+r.type);}var n=e.FullPaths?Ke.write(e,{fileType:"zip",type:{nodebuffer:"buffer",string:"binary"}[t.type]||t.type,compression:!!r.compression}):e.generate(t);if(typeof Deno!=="undefined"){if(typeof n=="string"){if(r.type=="binary"||r.type=="base64")return n;n=new Uint8Array(A(n))}}if(r.password&&typeof encrypt_agile!=="undefined")return fw(encrypt_agile(n,r.password),r);if(r.type==="file")return Qe(r.file,n);return r.type=="string"?ct(n):n}function uw(e,r){var t=r||{};var a=pb(e,t);return fw(a,t)}function hw(e,r,t){if(!t)t="";var a=t+e;switch(r.type){case"base64":return w(lt(a));case"binary":return lt(a);case"string":return e;case"file":return Qe(r.file,a,"utf8");case"buffer":{if(T)return E(a,"utf8");else if(typeof TextEncoder!=="undefined")return(new TextEncoder).encode(a);else return hw(a,{type:"binary"}).split("").map(function(e){return e.charCodeAt(0)})};}throw new Error("Unrecognized type "+r.type)}function dw(e,r){switch(r.type){case"base64":return w(e);case"binary":return e;case"string":return e;case"file":return Qe(r.file,e,"binary");case"buffer":{if(T)return E(e,"binary");else return e.split("").map(function(e){return e.charCodeAt(0)})};}throw new Error("Unrecognized type "+r.type)}function vw(e,r){switch(r.type){case"string":;case"base64":;case"binary":var t="";for(var a=0;a<e.length;++a)t+=String.fromCharCode(e[a]);return r.type=="base64"?w(t):r.type=="string"?ct(t):t;case"file":return Qe(r.file,e);case"buffer":return e;default:throw new Error("Unrecognized type "+r.type);}}function pw(e,r){c();Zp(e);var t=gr(r||{});if(t.cellStyles){t.cellNF=true;t.sheetStubs=true}if(t.type=="array"){t.type="binary";var a=pw(e,t);t.type="array";return A(a)}return cw(e,t)}function mw(e,r){c();Zp(e);var t=gr(r||{});if(t.cellStyles){t.cellNF=true;t.sheetStubs=true}if(t.type=="array"){t.type="binary";var a=mw(e,t);t.type="array";return A(a)}var n=0;if(t.sheet){if(typeof t.sheet=="number")n=t.sheet;else n=e.SheetNames.indexOf(t.sheet);if(!e.SheetNames[n])throw new Error("Sheet not found: "+t.sheet+" : "+typeof t.sheet)}switch(t.bookType||"xlsb"){case"xml":;case"xlml":return hw(nb(e,t),t);case"slk":;case"sylk":return hw(yo.from_sheet(e.Sheets[e.SheetNames[n]],t),t);case"htm":;case"html":return hw(Vb(e.Sheets[e.SheetNames[n]],t),t);case"txt":return dw(Aw(e.Sheets[e.SheetNames[n]],t),t);case"csv":return hw(_w(e.Sheets[e.SheetNames[n]],t),t,"\ufeff");case"dif":return hw(So.from_sheet(e.Sheets[e.SheetNames[n]],t),t);case"dbf":return vw(Eo.from_sheet(e.Sheets[e.SheetNames[n]],t),t);case"prn":return hw(Ao.from_sheet(e.Sheets[e.SheetNames[n]],t),t);case"rtf":return hw(mc.from_sheet(e.Sheets[e.SheetNames[n]],t),t);case"eth":return hw(_o.from_sheet(e.Sheets[e.SheetNames[n]],t),t);case"fods":return hw(tg(e,t),t);case"wk1":return vw(Co.sheet_to_wk1(e.Sheets[e.SheetNames[n]],t),t);case"wk3":return vw(Co.book_to_wk3(e,t),t);case"biff2":if(!t.biff)t.biff=2;case"biff3":if(!t.biff)t.biff=3;case"biff4":if(!t.biff)t.biff=4;return vw(Lb(e,t),t);case"biff5":if(!t.biff)t.biff=5;case"biff8":;case"xla":;case"xls":if(!t.biff)t.biff=8;return uw(e,t);case"xlsx":;case"xlsm":;case"xlam":;case"xlsb":;case"numbers":;case"ods":return ow(e,t);default:throw new Error("Unrecognized bookType |"+t.bookType+"|");}}function bw(e){if(e.bookType)return;var r={xls:"biff8",htm:"html",slk:"sylk",socialcalc:"eth",Sh33tJS:"WTF"};var t=e.file.slice(e.file.lastIndexOf(".")).toLowerCase();if(t.match(/^\.[a-z]+$/))e.bookType=t.slice(1);e.bookType=r[e.bookType]||e.bookType}function gw(e,r,t){var a=t||{};a.type="file";a.file=r;bw(a);return mw(e,a)}function ww(e,r,t){var a=t||{};a.type="file";a.file=r;bw(a);return pw(e,a)}function kw(e,r,t,a){var n=t||{};n.type="file";n.file=e;bw(n);n.type="buffer";var i=a;if(!(i instanceof Function))i=t;return Je.writeFile(e,mw(r,n),i)}function Tw(e,r,t,a,n,i,s,f){var o=Ta(t);var c=f.defval,l=f.raw||!Object.prototype.hasOwnProperty.call(f,"raw");var u=true;var h=n===1?[]:{};if(n!==1){if(Object.defineProperty)try{Object.defineProperty(h,"__rowNum__",{value:t,enumerable:false})}catch(d){h.__rowNum__=t}else h.__rowNum__=t}if(!s||e[t])for(var v=r.s.c;v<=r.e.c;++v){var p=s?e[t][v]:e[a[v]+o];if(p===undefined||p.t===undefined){if(c===undefined)continue;if(i[v]!=null){h[i[v]]=c}continue}var m=p.v;switch(p.t){case"z":if(m==null)break;continue;case"e":m=m==0?null:void 0;break;case"s":;case"d":;case"b":;case"n":break;default:throw new Error("unrecognized type "+p.t);}if(i[v]!=null){if(m==null){if(p.t=="e"&&m===null)h[i[v]]=null;else if(c!==undefined)h[i[v]]=c;else if(l&&m===null)h[i[v]]=null;else continue}else{h[i[v]]=l&&(p.t!=="n"||p.t==="n"&&f.rawNumbers!==false)?m:Pa(p,m,f)}if(m!=null)u=false}}return{row:h,isempty:u}}function Ew(e,r){if(e==null||e["!ref"]==null)return[];var t={t:"n",v:0},a=0,n=1,i=[],s=0,f="";var o={s:{r:0,c:0},e:{r:0,c:0}};var c=r||{};var l=c.range!=null?c.range:e["!ref"];if(c.header===1)a=1;else if(c.header==="A")a=2;else if(Array.isArray(c.header))a=3;else if(c.header==null)a=0;switch(typeof l){case"string":o=Fa(l);break;case"number":o=Fa(e["!ref"]);o.s.r=l;break;default:o=l;}if(a>0)n=0;var u=Ta(o.s.r);var h=[];var d=[];var v=0,p=0;var m=Array.isArray(e);var b=o.s.r,g=0;var w={};if(m&&!e[b])e[b]=[];var k=c.skipHidden&&e["!cols"]||[];var T=c.skipHidden&&e["!rows"]||[];for(g=o.s.c;g<=o.e.c;++g){if((k[g]||{}).hidden)continue;h[g]=_a(g);t=m?e[b][g]:e[h[g]+u];switch(a){case 1:i[g]=g-o.s.c;break;case 2:i[g]=h[g];break;case 3:i[g]=c.header[g-o.s.c];break;default:if(t==null)t={w:"__EMPTY",t:"s"};f=s=Pa(t,null,c);p=w[s]||0;if(!p)w[s]=1;else{do{f=s+"_"+p++}while(w[f]);w[s]=p;w[f]=1}i[g]=f;}}for(b=o.s.r+n;b<=o.e.r;++b){if((T[b]||{}).hidden)continue;var E=Tw(e,o,b,h,a,i,m,c);if(E.isempty===false||(a===1?c.blankrows!==false:!!c.blankrows))d[v++]=E.row}d.length=v;return d}var yw=/"/g;function Sw(e,r,t,a,n,i,s,f){var o=true;var c=[],l="",u=Ta(t);for(var h=r.s.c;h<=r.e.c;++h){if(!a[h])continue;var d=f.dense?(e[t]||[])[h]:e[a[h]+u];if(d==null)l="";else if(d.v!=null){o=false;l=""+(f.rawNumbers&&d.t=="n"?d.v:Pa(d,null,f));for(var v=0,p=0;v!==l.length;++v)if((p=l.charCodeAt(v))===n||p===i||p===34||f.forceQuotes){l='"'+l.replace(yw,'""')+'"';break}if(l=="ID")l='"ID"'}else if(d.f!=null&&!d.F){o=false;l="="+d.f;if(l.indexOf(",")>=0)l='"'+l.replace(yw,'""')+'"'}else l="";c.push(l)}if(f.blankrows===false&&o)return null;return c.join(s)}function _w(e,r){var t=[];var a=r==null?{}:r;if(e==null||e["!ref"]==null)return"";var n=Fa(e["!ref"]);var i=a.FS!==undefined?a.FS:",",s=i.charCodeAt(0);var f=a.RS!==undefined?a.RS:"\n",o=f.charCodeAt(0);var c=new RegExp((i=="|"?"\\|":i)+"+$");var l="",u=[];a.dense=Array.isArray(e);var h=a.skipHidden&&e["!cols"]||[];var d=a.skipHidden&&e["!rows"]||[];for(var v=n.s.c;v<=n.e.c;++v)if(!(h[v]||{}).hidden)u[v]=_a(v);var p=0;for(var m=n.s.r;m<=n.e.r;++m){if((d[m]||{}).hidden)continue;l=Sw(e,n,m,u,s,o,i,a);if(l==null){continue}if(a.strip)l=l.replace(c,"");if(l||a.blankrows!==false)t.push((p++?f:"")+l)}delete a.dense;return t.join("")}function Aw(e,r){if(!r)r={};r.FS="\t";r.RS="\n";var t=_w(e,r);if(typeof a=="undefined"||r.type=="string")return t;var n=a.utils.encode(1200,t,"str");return String.fromCharCode(255)+String.fromCharCode(254)+n}function xw(e){var r="",t,a="";if(e==null||e["!ref"]==null)return[];var n=Fa(e["!ref"]),i="",s=[],f;var o=[];var c=Array.isArray(e);for(f=n.s.c;f<=n.e.c;++f)s[f]=_a(f);for(var l=n.s.r;l<=n.e.r;++l){i=Ta(l);for(f=n.s.c;f<=n.e.c;++f){r=s[f]+i;t=c?(e[l]||[])[f]:e[r];a="";if(t===undefined)continue;else if(t.F!=null){r=t.F;if(!t.f)continue;a=t.f;if(r.indexOf(":")==-1)r=r+":"+r}if(t.f!=null)a=t.f;else if(t.t=="z")continue;else if(t.t=="n"&&t.v!=null)a=""+t.v;else if(t.t=="b")a=t.v?"TRUE":"FALSE";else if(t.w!==undefined)a="'"+t.w;else if(t.v===undefined)continue;else if(t.t=="s")a="'"+t.v;else a=""+t.v;o[o.length]=r+"="+a}}return o}function Cw(e,r,t){var a=t||{};var n=+!a.skipHeader;var i=e||{};var s=0,f=0;if(i&&a.origin!=null){if(typeof a.origin=="number")s=a.origin;else{var o=typeof a.origin=="string"?Ra(a.origin):a.origin;s=o.r;f=o.c}}var c;var l={s:{c:0,r:0},e:{c:f,r:s+r.length-1+n}};if(i["!ref"]){var u=Fa(i["!ref"]);l.e.c=Math.max(l.e.c,u.e.c);l.e.r=Math.max(l.e.r,u.e.r);if(s==-1){s=u.e.r+1;l.e.r=s+r.length-1+n}}else{if(s==-1){s=0;l.e.r=r.length-1+n}}var h=a.header||[],d=0;r.forEach(function(e,r){rr(e).forEach(function(t){if((d=h.indexOf(t))==-1)h[d=h.length]=t;var o=e[t];var l="z";var u="";var v=Oa({c:f+d,r:s+r+n});c=Ow(i,v);if(o&&typeof o==="object"&&!(o instanceof Date)){i[v]=o}else{if(typeof o=="number")l="n";else if(typeof o=="boolean")l="b";else if(typeof o=="string")l="s";else if(o instanceof Date){l="d";if(!a.cellDates){l="n";o=fr(o)}u=a.dateNF||X[14]}else if(o===null&&a.nullError){l="e";o=0}if(!c)i[v]=c={t:l,v:o};else{c.t=l;c.v=o;delete c.w;delete c.R;if(u)c.z=u}if(u)c.z=u}})});l.e.c=Math.max(l.e.c,f+h.length-1);var v=Ta(s);if(n)for(d=0;d<h.length;++d)i[_a(d+f)+v]={t:"s",v:h[d]};i["!ref"]=Na(l);return i}function Rw(e,r){return Cw(null,e,r)}function Ow(e,r,t){if(typeof r=="string"){if(Array.isArray(e)){var a=Ra(r);if(!e[a.r])e[a.r]=[];return e[a.r][a.c]||(e[a.r][a.c]={t:"z"})}return e[r]||(e[r]={t:"z"})}if(typeof r!="number")return Ow(e,Oa(r));return Ow(e,Oa({r:r,c:t||0}))}function Iw(e,r){if(typeof r=="number"){if(r>=0&&e.SheetNames.length>r)return r;throw new Error("Cannot find sheet # "+r)}else if(typeof r=="string"){var t=e.SheetNames.indexOf(r);if(t>-1)return t;throw new Error("Cannot find sheet name |"+r+"|")}else throw new Error("Cannot find sheet |"+r+"|")}function Nw(){return{SheetNames:[],Sheets:{}}}function Fw(e,r,t,a){var n=1;if(!t)for(;n<=65535;++n,t=undefined)if(e.SheetNames.indexOf(t="Sheet"+n)==-1)break;if(!t||e.SheetNames.length>=65535)throw new Error("Too many worksheets");if(a&&e.SheetNames.indexOf(t)>=0){var i=t.match(/(^.*?)(\d+)$/);n=i&&+i[2]||0;var s=i&&i[1]||t;for(++n;n<=65535;++n)if(e.SheetNames.indexOf(t=s+n)==-1)break}Jp(t);if(e.SheetNames.indexOf(t)>=0)throw new Error("Worksheet with name |"+t+"| already exists!");e.SheetNames.push(t);e.Sheets[t]=r;return t}function Dw(e,r,t){if(!e.Workbook)e.Workbook={};if(!e.Workbook.Sheets)e.Workbook.Sheets=[];var a=Iw(e,r);if(!e.Workbook.Sheets[a])e.Workbook.Sheets[a]={};switch(t){case 0:;case 1:;case 2:break;default:throw new Error("Bad sheet visibility setting "+t);}e.Workbook.Sheets[a].Hidden=t}function Pw(e,r){e.z=r;return e}function Lw(e,r,t){if(!r){delete e.l}else{e.l={Target:r};if(t)e.l.Tooltip=t}return e}function Mw(e,r,t){return Lw(e,"#"+r,t)}function Uw(e,r,t){if(!e.c)e.c=[];e.c.push({t:r,a:t||"SheetJS"})}function Bw(e,r,t,a){var n=typeof r!="string"?r:Fa(r);var i=typeof r=="string"?r:Na(r);for(var s=n.s.r;s<=n.e.r;++s)for(var f=n.s.c;f<=n.e.c;++f){var o=Ow(e,s,f);o.t="n";o.F=i;delete o.v;if(s==n.s.r&&f==n.s.c){o.f=t;if(a)o.D=true}}return e}var Ww={encode_col:_a,encode_row:Ta,encode_cell:Oa,encode_range:Na,decode_col:Sa,decode_row:ka,split_cell:Ca,decode_cell:Ra,decode_range:Ia,format_cell:Pa,sheet_add_aoa:Ma,sheet_add_json:Cw,sheet_add_dom:Gb,aoa_to_sheet:Ua,json_to_sheet:Rw,table_to_sheet:jb,table_to_book:Xb,sheet_to_csv:_w,sheet_to_txt:Aw,sheet_to_json:Ew,sheet_to_html:Vb,sheet_to_formulae:xw,sheet_to_row_object_array:Ew,sheet_get_cell:Ow,book_new:Nw,book_append_sheet:Fw,book_set_sheet_visibility:Dw,cell_set_number_format:Pw,cell_set_hyperlink:Lw,cell_set_internal_link:Mw,cell_add_comment:Uw,sheet_set_array_formula:Bw,consts:{SHEET_VISIBLE:0,SHEET_HIDDEN:1,SHEET_VERY_HIDDEN:2}};var Hw;function zw(e){Hw=e}function Vw(e,r){var t=Hw();var a=r==null?{}:r;if(e==null||e["!ref"]==null){t.push(null);return t}var n=Fa(e["!ref"]);var i=a.FS!==undefined?a.FS:",",s=i.charCodeAt(0);var f=a.RS!==undefined?a.RS:"\n",o=f.charCodeAt(0);var c=new RegExp((i=="|"?"\\|":i)+"+$");var l="",u=[];a.dense=Array.isArray(e);var h=a.skipHidden&&e["!cols"]||[];var d=a.skipHidden&&e["!rows"]||[];for(var v=n.s.c;v<=n.e.c;++v)if(!(h[v]||{}).hidden)u[v]=_a(v);var p=n.s.r;var m=false,b=0;t._read=function(){if(!m){m=true;return t.push("\ufeff")}while(p<=n.e.r){++p;if((d[p-1]||{}).hidden)continue;l=Sw(e,n,p-1,u,s,o,i,a);if(l!=null){if(a.strip)l=l.replace(c,"");if(l||a.blankrows!==false)return t.push((b++?f:"")+l)}}return t.push(null)};return t}function Gw(e,r){var t=Hw();var a=r||{};var n=a.header!=null?a.header:Bb;var i=a.footer!=null?a.footer:Wb;t.push(n);var s=Ia(e["!ref"]);a.dense=Array.isArray(e);t.push(zb(e,s,a));var f=s.s.r;var o=false;t._read=function(){if(f>s.e.r){if(!o){o=true;t.push("</table>"+i)}return t.push(null)}while(f<=s.e.r){t.push(Ub(e,s,f,a));++f;break}};return t}function jw(e,r){var t=Hw({objectMode:true});if(e==null||e["!ref"]==null){t.push(null);return t}var a={t:"n",v:0},n=0,i=1,s=[],f=0,o="";var c={s:{r:0,c:0},e:{r:0,c:0}};var l=r||{};var u=l.range!=null?l.range:e["!ref"];if(l.header===1)n=1;else if(l.header==="A")n=2;else if(Array.isArray(l.header))n=3;switch(typeof u){case"string":c=Fa(u);break;case"number":c=Fa(e["!ref"]);c.s.r=u;break;default:c=u;}if(n>0)i=0;var h=Ta(c.s.r);var d=[];var v=0;var p=Array.isArray(e);var m=c.s.r,b=0;var g={};if(p&&!e[m])e[m]=[];var w=l.skipHidden&&e["!cols"]||[];var k=l.skipHidden&&e["!rows"]||[];for(b=c.s.c;b<=c.e.c;++b){if((w[b]||{}).hidden)continue;d[b]=_a(b);a=p?e[m][b]:e[d[b]+h];switch(n){case 1:s[b]=b-c.s.c;break;case 2:s[b]=d[b];break;case 3:s[b]=l.header[b-c.s.c];break;default:if(a==null)a={w:"__EMPTY",t:"s"};o=f=Pa(a,null,l);v=g[f]||0;if(!v)g[f]=1;else{do{o=f+"_"+v++}while(g[o]);g[f]=v;g[o]=1}s[b]=o;}}m=c.s.r+i;t._read=function(){while(m<=c.e.r){if((k[m-1]||{}).hidden)continue;var r=Tw(e,c,m,d,n,s,p,l);++m;if(r.isempty===false||(n===1?l.blankrows!==false:!!l.blankrows)){t.push(r.row);return}}return t.push(null)};return t}var Xw={to_json:jw,to_html:Gw,to_csv:Vw,set_readable:zw};if(typeof vb!=="undefined")e.parse_xlscfb=vb;e.parse_zip=Xg;e.read=iw;e.readFile=sw;e.readFileSync=sw;e.write=mw;e.writeFile=gw;e.writeFileSync=gw;e.writeFileAsync=kw;e.utils=Ww;e.writeXLSX=pw;e.writeFileXLSX=ww;e.SSF=Ve;if(typeof Xw!=="undefined")e.stream=Xw;if(typeof Ke!=="undefined")e.CFB=Ke;if(typeof require!=="undefined"){var $w=undefined;if(($w||{}).Readable)zw($w.Readable)}}if(typeof exports!=="undefined")make_xlsx_lib(exports);else if(typeof module!=="undefined"&&module.exports)make_xlsx_lib(module.exports);else if(typeof define==="function"&&define.amd)define("xlsx",function(){if(!XLSX.version)make_xlsx_lib(XLSX);return XLSX});else make_xlsx_lib(XLSX);if(typeof window!=="undefined"&&!window.XLSX)try{window.XLSX=XLSX}catch(e){}--(function (global, factory) {- typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('jquery')) :- typeof define === 'function' && define.amd ? define(['jquery'], factory) :- (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.jQuery));-})(this, (function ($$3) { 'use strict';-- function _classCallCheck(instance, Constructor) {- if (!(instance instanceof Constructor)) {- throw new TypeError("Cannot call a class as a function");- }- }- function _defineProperties(target, props) {- for (var i = 0; i < props.length; i++) {- var descriptor = props[i];- descriptor.enumerable = descriptor.enumerable || false;- descriptor.configurable = true;- if ("value" in descriptor) descriptor.writable = true;- Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor);- }- }- function _createClass(Constructor, protoProps, staticProps) {- if (protoProps) _defineProperties(Constructor.prototype, protoProps);- if (staticProps) _defineProperties(Constructor, staticProps);- Object.defineProperty(Constructor, "prototype", {- writable: false- });- return Constructor;- }- function _inherits(subClass, superClass) {- if (typeof superClass !== "function" && superClass !== null) {- throw new TypeError("Super expression must either be null or a function");- }- subClass.prototype = Object.create(superClass && superClass.prototype, {- constructor: {- value: subClass,- writable: true,- configurable: true- }- });- Object.defineProperty(subClass, "prototype", {- writable: false- });- if (superClass) _setPrototypeOf(subClass, superClass);- }- function _getPrototypeOf(o) {- _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {- return o.__proto__ || Object.getPrototypeOf(o);- };- return _getPrototypeOf(o);- }- function _setPrototypeOf(o, p) {- _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {- o.__proto__ = p;- return o;- };- return _setPrototypeOf(o, p);- }- function _isNativeReflectConstruct() {- if (typeof Reflect === "undefined" || !Reflect.construct) return false;- if (Reflect.construct.sham) return false;- if (typeof Proxy === "function") return true;- try {- Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));- return true;- } catch (e) {- return false;- }- }- function _assertThisInitialized(self) {- if (self === void 0) {- throw new ReferenceError("this hasn't been initialised - super() hasn't been called");- }- return self;- }- function _possibleConstructorReturn(self, call) {- if (call && (typeof call === "object" || typeof call === "function")) {- return call;- } else if (call !== void 0) {- throw new TypeError("Derived constructors may only return object or undefined");- }- return _assertThisInitialized(self);- }- function _createSuper(Derived) {- var hasNativeReflectConstruct = _isNativeReflectConstruct();- return function _createSuperInternal() {- var Super = _getPrototypeOf(Derived),- result;- if (hasNativeReflectConstruct) {- var NewTarget = _getPrototypeOf(this).constructor;- result = Reflect.construct(Super, arguments, NewTarget);- } else {- result = Super.apply(this, arguments);- }- return _possibleConstructorReturn(this, result);- };- }- function _superPropBase(object, property) {- while (!Object.prototype.hasOwnProperty.call(object, property)) {- object = _getPrototypeOf(object);- if (object === null) break;- }- return object;- }- function _get() {- if (typeof Reflect !== "undefined" && Reflect.get) {- _get = Reflect.get.bind();- } else {- _get = function _get(target, property, receiver) {- var base = _superPropBase(target, property);- if (!base) return;- var desc = Object.getOwnPropertyDescriptor(base, property);- if (desc.get) {- return desc.get.call(arguments.length < 3 ? target : receiver);- }- return desc.value;- };- }- return _get.apply(this, arguments);- }- function _toPrimitive(input, hint) {- if (typeof input !== "object" || input === null) return input;- var prim = input[Symbol.toPrimitive];- if (prim !== undefined) {- var res = prim.call(input, hint || "default");- if (typeof res !== "object") return res;- throw new TypeError("@@toPrimitive must return a primitive value.");- }- return (hint === "string" ? String : Number)(input);- }- function _toPropertyKey(arg) {- var key = _toPrimitive(arg, "string");- return typeof key === "symbol" ? key : String(key);- }-- var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};-- var check = function (it) {- return it && it.Math == Math && it;- };-- // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028- var global$a =- // eslint-disable-next-line es/no-global-this -- safe- check(typeof globalThis == 'object' && globalThis) ||- check(typeof window == 'object' && window) ||- // eslint-disable-next-line no-restricted-globals -- safe- check(typeof self == 'object' && self) ||- check(typeof commonjsGlobal == 'object' && commonjsGlobal) ||- // eslint-disable-next-line no-new-func -- fallback- (function () { return this; })() || Function('return this')();-- var objectGetOwnPropertyDescriptor = {};-- var fails$c = function (exec) {- try {- return !!exec();- } catch (error) {- return true;- }- };-- var fails$b = fails$c;-- // Detect IE8's incomplete defineProperty implementation- var descriptors = !fails$b(function () {- // eslint-disable-next-line es/no-object-defineproperty -- required for testing- return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;- });-- var fails$a = fails$c;-- var functionBindNative = !fails$a(function () {- // eslint-disable-next-line es/no-function-prototype-bind -- safe- var test = (function () { /* empty */ }).bind();- // eslint-disable-next-line no-prototype-builtins -- safe- return typeof test != 'function' || test.hasOwnProperty('prototype');- });-- var NATIVE_BIND$2 = functionBindNative;-- var call$5 = Function.prototype.call;-- var functionCall = NATIVE_BIND$2 ? call$5.bind(call$5) : function () {- return call$5.apply(call$5, arguments);- };-- var objectPropertyIsEnumerable = {};-- var $propertyIsEnumerable = {}.propertyIsEnumerable;- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe- var getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;-- // Nashorn ~ JDK8 bug- var NASHORN_BUG = getOwnPropertyDescriptor$1 && !$propertyIsEnumerable.call({ 1: 2 }, 1);-- // `Object.prototype.propertyIsEnumerable` method implementation- // https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable- objectPropertyIsEnumerable.f = NASHORN_BUG ? function propertyIsEnumerable(V) {- var descriptor = getOwnPropertyDescriptor$1(this, V);- return !!descriptor && descriptor.enumerable;- } : $propertyIsEnumerable;-- var createPropertyDescriptor$3 = function (bitmap, value) {- return {- enumerable: !(bitmap & 1),- configurable: !(bitmap & 2),- writable: !(bitmap & 4),- value: value- };- };-- var NATIVE_BIND$1 = functionBindNative;-- var FunctionPrototype$1 = Function.prototype;- var call$4 = FunctionPrototype$1.call;- var uncurryThisWithBind = NATIVE_BIND$1 && FunctionPrototype$1.bind.bind(call$4, call$4);-- var functionUncurryThis = NATIVE_BIND$1 ? uncurryThisWithBind : function (fn) {- return function () {- return call$4.apply(fn, arguments);- };- };-- var uncurryThis$d = functionUncurryThis;-- var toString$2 = uncurryThis$d({}.toString);- var stringSlice$1 = uncurryThis$d(''.slice);-- var classofRaw$2 = function (it) {- return stringSlice$1(toString$2(it), 8, -1);- };-- var uncurryThis$c = functionUncurryThis;- var fails$9 = fails$c;- var classof$4 = classofRaw$2;-- var $Object$3 = Object;- var split = uncurryThis$c(''.split);-- // fallback for non-array-like ES3 and non-enumerable old V8 strings- var indexedObject = fails$9(function () {- // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346- // eslint-disable-next-line no-prototype-builtins -- safe- return !$Object$3('z').propertyIsEnumerable(0);- }) ? function (it) {- return classof$4(it) == 'String' ? split(it, '') : $Object$3(it);- } : $Object$3;-- // we can't use just `it == null` since of `document.all` special case- // https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec- var isNullOrUndefined$2 = function (it) {- return it === null || it === undefined;- };-- var isNullOrUndefined$1 = isNullOrUndefined$2;-- var $TypeError$6 = TypeError;-- // `RequireObjectCoercible` abstract operation- // https://tc39.es/ecma262/#sec-requireobjectcoercible- var requireObjectCoercible$2 = function (it) {- if (isNullOrUndefined$1(it)) throw $TypeError$6("Can't call method on " + it);- return it;- };-- // toObject with fallback for non-array-like ES3 strings- var IndexedObject$2 = indexedObject;- var requireObjectCoercible$1 = requireObjectCoercible$2;-- var toIndexedObject$4 = function (it) {- return IndexedObject$2(requireObjectCoercible$1(it));- };-- var documentAll$2 = typeof document == 'object' && document.all;-- // https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot- // eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing- var IS_HTMLDDA = typeof documentAll$2 == 'undefined' && documentAll$2 !== undefined;-- var documentAll_1 = {- all: documentAll$2,- IS_HTMLDDA: IS_HTMLDDA- };-- var $documentAll$1 = documentAll_1;-- var documentAll$1 = $documentAll$1.all;-- // `IsCallable` abstract operation- // https://tc39.es/ecma262/#sec-iscallable- var isCallable$c = $documentAll$1.IS_HTMLDDA ? function (argument) {- return typeof argument == 'function' || argument === documentAll$1;- } : function (argument) {- return typeof argument == 'function';- };-- var isCallable$b = isCallable$c;- var $documentAll = documentAll_1;-- var documentAll = $documentAll.all;-- var isObject$7 = $documentAll.IS_HTMLDDA ? function (it) {- return typeof it == 'object' ? it !== null : isCallable$b(it) || it === documentAll;- } : function (it) {- return typeof it == 'object' ? it !== null : isCallable$b(it);- };-- var global$9 = global$a;- var isCallable$a = isCallable$c;-- var aFunction = function (argument) {- return isCallable$a(argument) ? argument : undefined;- };-- var getBuiltIn$4 = function (namespace, method) {- return arguments.length < 2 ? aFunction(global$9[namespace]) : global$9[namespace] && global$9[namespace][method];- };-- var uncurryThis$b = functionUncurryThis;-- var objectIsPrototypeOf = uncurryThis$b({}.isPrototypeOf);-- var engineUserAgent = typeof navigator != 'undefined' && String(navigator.userAgent) || '';-- var global$8 = global$a;- var userAgent = engineUserAgent;-- var process = global$8.process;- var Deno = global$8.Deno;- var versions = process && process.versions || Deno && Deno.version;- var v8 = versions && versions.v8;- var match, version;-- if (v8) {- match = v8.split('.');- // in old Chrome, versions of V8 isn't V8 = Chrome / 10- // but their correct versions are not interesting for us- version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);- }-- // BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`- // so check `userAgent` even if `.v8` exists, but 0- if (!version && userAgent) {- match = userAgent.match(/Edge\/(\d+)/);- if (!match || match[1] >= 74) {- match = userAgent.match(/Chrome\/(\d+)/);- if (match) version = +match[1];- }- }-- var engineV8Version = version;-- /* eslint-disable es/no-symbol -- required for testing */-- var V8_VERSION$2 = engineV8Version;- var fails$8 = fails$c;-- // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing- var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$8(function () {- var symbol = Symbol();- // Chrome 38 Symbol has incorrect toString conversion- // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances- return !String(symbol) || !(Object(symbol) instanceof Symbol) ||- // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances- !Symbol.sham && V8_VERSION$2 && V8_VERSION$2 < 41;- });-- /* eslint-disable es/no-symbol -- required for testing */-- var NATIVE_SYMBOL$1 = symbolConstructorDetection;-- var useSymbolAsUid = NATIVE_SYMBOL$1- && !Symbol.sham- && typeof Symbol.iterator == 'symbol';-- var getBuiltIn$3 = getBuiltIn$4;- var isCallable$9 = isCallable$c;- var isPrototypeOf = objectIsPrototypeOf;- var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;-- var $Object$2 = Object;-- var isSymbol$2 = USE_SYMBOL_AS_UID$1 ? function (it) {- return typeof it == 'symbol';- } : function (it) {- var $Symbol = getBuiltIn$3('Symbol');- return isCallable$9($Symbol) && isPrototypeOf($Symbol.prototype, $Object$2(it));- };-- var $String$2 = String;-- var tryToString$1 = function (argument) {- try {- return $String$2(argument);- } catch (error) {- return 'Object';- }- };-- var isCallable$8 = isCallable$c;- var tryToString = tryToString$1;-- var $TypeError$5 = TypeError;-- // `Assert: IsCallable(argument) is true`- var aCallable$2 = function (argument) {- if (isCallable$8(argument)) return argument;- throw $TypeError$5(tryToString(argument) + ' is not a function');- };-- var aCallable$1 = aCallable$2;- var isNullOrUndefined = isNullOrUndefined$2;-- // `GetMethod` abstract operation- // https://tc39.es/ecma262/#sec-getmethod- var getMethod$1 = function (V, P) {- var func = V[P];- return isNullOrUndefined(func) ? undefined : aCallable$1(func);- };-- var call$3 = functionCall;- var isCallable$7 = isCallable$c;- var isObject$6 = isObject$7;-- var $TypeError$4 = TypeError;-- // `OrdinaryToPrimitive` abstract operation- // https://tc39.es/ecma262/#sec-ordinarytoprimitive- var ordinaryToPrimitive$1 = function (input, pref) {- var fn, val;- if (pref === 'string' && isCallable$7(fn = input.toString) && !isObject$6(val = call$3(fn, input))) return val;- if (isCallable$7(fn = input.valueOf) && !isObject$6(val = call$3(fn, input))) return val;- if (pref !== 'string' && isCallable$7(fn = input.toString) && !isObject$6(val = call$3(fn, input))) return val;- throw $TypeError$4("Can't convert object to primitive value");- };-- var sharedExports = {};- var shared$3 = {- get exports(){ return sharedExports; },- set exports(v){ sharedExports = v; },- };-- var global$7 = global$a;-- // eslint-disable-next-line es/no-object-defineproperty -- safe- var defineProperty$3 = Object.defineProperty;-- var defineGlobalProperty$3 = function (key, value) {- try {- defineProperty$3(global$7, key, { value: value, configurable: true, writable: true });- } catch (error) {- global$7[key] = value;- } return value;- };-- var global$6 = global$a;- var defineGlobalProperty$2 = defineGlobalProperty$3;-- var SHARED = '__core-js_shared__';- var store$3 = global$6[SHARED] || defineGlobalProperty$2(SHARED, {});-- var sharedStore = store$3;-- var store$2 = sharedStore;-- (shared$3.exports = function (key, value) {- return store$2[key] || (store$2[key] = value !== undefined ? value : {});- })('versions', []).push({- version: '3.29.0',- mode: 'global',- copyright: '© 2014-2023 Denis Pushkarev (zloirock.ru)',- license: 'https://github.com/zloirock/core-js/blob/v3.29.0/LICENSE',- source: 'https://github.com/zloirock/core-js'- });-- var requireObjectCoercible = requireObjectCoercible$2;-- var $Object$1 = Object;-- // `ToObject` abstract operation- // https://tc39.es/ecma262/#sec-toobject- var toObject$4 = function (argument) {- return $Object$1(requireObjectCoercible(argument));- };-- var uncurryThis$a = functionUncurryThis;- var toObject$3 = toObject$4;-- var hasOwnProperty = uncurryThis$a({}.hasOwnProperty);-- // `HasOwnProperty` abstract operation- // https://tc39.es/ecma262/#sec-hasownproperty- // eslint-disable-next-line es/no-object-hasown -- safe- var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {- return hasOwnProperty(toObject$3(it), key);- };-- var uncurryThis$9 = functionUncurryThis;-- var id = 0;- var postfix = Math.random();- var toString$1 = uncurryThis$9(1.0.toString);-- var uid$2 = function (key) {- return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$1(++id + postfix, 36);- };-- var global$5 = global$a;- var shared$2 = sharedExports;- var hasOwn$6 = hasOwnProperty_1;- var uid$1 = uid$2;- var NATIVE_SYMBOL = symbolConstructorDetection;- var USE_SYMBOL_AS_UID = useSymbolAsUid;-- var Symbol$1 = global$5.Symbol;- var WellKnownSymbolsStore = shared$2('wks');- var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$1['for'] || Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid$1;-- var wellKnownSymbol$7 = function (name) {- if (!hasOwn$6(WellKnownSymbolsStore, name)) {- WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn$6(Symbol$1, name)- ? Symbol$1[name]- : createWellKnownSymbol('Symbol.' + name);- } return WellKnownSymbolsStore[name];- };-- var call$2 = functionCall;- var isObject$5 = isObject$7;- var isSymbol$1 = isSymbol$2;- var getMethod = getMethod$1;- var ordinaryToPrimitive = ordinaryToPrimitive$1;- var wellKnownSymbol$6 = wellKnownSymbol$7;-- var $TypeError$3 = TypeError;- var TO_PRIMITIVE = wellKnownSymbol$6('toPrimitive');-- // `ToPrimitive` abstract operation- // https://tc39.es/ecma262/#sec-toprimitive- var toPrimitive$1 = function (input, pref) {- if (!isObject$5(input) || isSymbol$1(input)) return input;- var exoticToPrim = getMethod(input, TO_PRIMITIVE);- var result;- if (exoticToPrim) {- if (pref === undefined) pref = 'default';- result = call$2(exoticToPrim, input, pref);- if (!isObject$5(result) || isSymbol$1(result)) return result;- throw $TypeError$3("Can't convert object to primitive value");- }- if (pref === undefined) pref = 'number';- return ordinaryToPrimitive(input, pref);- };-- var toPrimitive = toPrimitive$1;- var isSymbol = isSymbol$2;-- // `ToPropertyKey` abstract operation- // https://tc39.es/ecma262/#sec-topropertykey- var toPropertyKey$3 = function (argument) {- var key = toPrimitive(argument, 'string');- return isSymbol(key) ? key : key + '';- };-- var global$4 = global$a;- var isObject$4 = isObject$7;-- var document$1 = global$4.document;- // typeof document.createElement is 'object' in old IE- var EXISTS$1 = isObject$4(document$1) && isObject$4(document$1.createElement);-- var documentCreateElement$1 = function (it) {- return EXISTS$1 ? document$1.createElement(it) : {};- };-- var DESCRIPTORS$8 = descriptors;- var fails$7 = fails$c;- var createElement = documentCreateElement$1;-- // Thanks to IE8 for its funny defineProperty- var ie8DomDefine = !DESCRIPTORS$8 && !fails$7(function () {- // eslint-disable-next-line es/no-object-defineproperty -- required for testing- return Object.defineProperty(createElement('div'), 'a', {- get: function () { return 7; }- }).a != 7;- });-- var DESCRIPTORS$7 = descriptors;- var call$1 = functionCall;- var propertyIsEnumerableModule$1 = objectPropertyIsEnumerable;- var createPropertyDescriptor$2 = createPropertyDescriptor$3;- var toIndexedObject$3 = toIndexedObject$4;- var toPropertyKey$2 = toPropertyKey$3;- var hasOwn$5 = hasOwnProperty_1;- var IE8_DOM_DEFINE$1 = ie8DomDefine;-- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe- var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;-- // `Object.getOwnPropertyDescriptor` method- // https://tc39.es/ecma262/#sec-object.getownpropertydescriptor- objectGetOwnPropertyDescriptor.f = DESCRIPTORS$7 ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {- O = toIndexedObject$3(O);- P = toPropertyKey$2(P);- if (IE8_DOM_DEFINE$1) try {- return $getOwnPropertyDescriptor$1(O, P);- } catch (error) { /* empty */ }- if (hasOwn$5(O, P)) return createPropertyDescriptor$2(!call$1(propertyIsEnumerableModule$1.f, O, P), O[P]);- };-- var objectDefineProperty = {};-- var DESCRIPTORS$6 = descriptors;- var fails$6 = fails$c;-- // V8 ~ Chrome 36-- // https://bugs.chromium.org/p/v8/issues/detail?id=3334- var v8PrototypeDefineBug = DESCRIPTORS$6 && fails$6(function () {- // eslint-disable-next-line es/no-object-defineproperty -- required for testing- return Object.defineProperty(function () { /* empty */ }, 'prototype', {- value: 42,- writable: false- }).prototype != 42;- });-- var isObject$3 = isObject$7;-- var $String$1 = String;- var $TypeError$2 = TypeError;-- // `Assert: Type(argument) is Object`- var anObject$4 = function (argument) {- if (isObject$3(argument)) return argument;- throw $TypeError$2($String$1(argument) + ' is not an object');- };-- var DESCRIPTORS$5 = descriptors;- var IE8_DOM_DEFINE = ie8DomDefine;- var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug;- var anObject$3 = anObject$4;- var toPropertyKey$1 = toPropertyKey$3;-- var $TypeError$1 = TypeError;- // eslint-disable-next-line es/no-object-defineproperty -- safe- var $defineProperty = Object.defineProperty;- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe- var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;- var ENUMERABLE = 'enumerable';- var CONFIGURABLE$1 = 'configurable';- var WRITABLE = 'writable';-- // `Object.defineProperty` method- // https://tc39.es/ecma262/#sec-object.defineproperty- objectDefineProperty.f = DESCRIPTORS$5 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {- anObject$3(O);- P = toPropertyKey$1(P);- anObject$3(Attributes);- if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {- var current = $getOwnPropertyDescriptor(O, P);- if (current && current[WRITABLE]) {- O[P] = Attributes.value;- Attributes = {- configurable: CONFIGURABLE$1 in Attributes ? Attributes[CONFIGURABLE$1] : current[CONFIGURABLE$1],- enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],- writable: false- };- }- } return $defineProperty(O, P, Attributes);- } : $defineProperty : function defineProperty(O, P, Attributes) {- anObject$3(O);- P = toPropertyKey$1(P);- anObject$3(Attributes);- if (IE8_DOM_DEFINE) try {- return $defineProperty(O, P, Attributes);- } catch (error) { /* empty */ }- if ('get' in Attributes || 'set' in Attributes) throw $TypeError$1('Accessors not supported');- if ('value' in Attributes) O[P] = Attributes.value;- return O;- };-- var DESCRIPTORS$4 = descriptors;- var definePropertyModule$4 = objectDefineProperty;- var createPropertyDescriptor$1 = createPropertyDescriptor$3;-- var createNonEnumerableProperty$2 = DESCRIPTORS$4 ? function (object, key, value) {- return definePropertyModule$4.f(object, key, createPropertyDescriptor$1(1, value));- } : function (object, key, value) {- object[key] = value;- return object;- };-- var makeBuiltInExports = {};- var makeBuiltIn$2 = {- get exports(){ return makeBuiltInExports; },- set exports(v){ makeBuiltInExports = v; },- };-- var DESCRIPTORS$3 = descriptors;- var hasOwn$4 = hasOwnProperty_1;-- var FunctionPrototype = Function.prototype;- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe- var getDescriptor = DESCRIPTORS$3 && Object.getOwnPropertyDescriptor;-- var EXISTS = hasOwn$4(FunctionPrototype, 'name');- // additional protection from minified / mangled / dropped function names- var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';- var CONFIGURABLE = EXISTS && (!DESCRIPTORS$3 || (DESCRIPTORS$3 && getDescriptor(FunctionPrototype, 'name').configurable));-- var functionName = {- EXISTS: EXISTS,- PROPER: PROPER,- CONFIGURABLE: CONFIGURABLE- };-- var uncurryThis$8 = functionUncurryThis;- var isCallable$6 = isCallable$c;- var store$1 = sharedStore;-- var functionToString = uncurryThis$8(Function.toString);-- // this helper broken in `[email protected]`, so we can't use `shared` helper- if (!isCallable$6(store$1.inspectSource)) {- store$1.inspectSource = function (it) {- return functionToString(it);- };- }-- var inspectSource$2 = store$1.inspectSource;-- var global$3 = global$a;- var isCallable$5 = isCallable$c;-- var WeakMap$1 = global$3.WeakMap;-- var weakMapBasicDetection = isCallable$5(WeakMap$1) && /native code/.test(String(WeakMap$1));-- var shared$1 = sharedExports;- var uid = uid$2;-- var keys = shared$1('keys');-- var sharedKey$2 = function (key) {- return keys[key] || (keys[key] = uid(key));- };-- var hiddenKeys$4 = {};-- var NATIVE_WEAK_MAP = weakMapBasicDetection;- var global$2 = global$a;- var isObject$2 = isObject$7;- var createNonEnumerableProperty$1 = createNonEnumerableProperty$2;- var hasOwn$3 = hasOwnProperty_1;- var shared = sharedStore;- var sharedKey$1 = sharedKey$2;- var hiddenKeys$3 = hiddenKeys$4;-- var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';- var TypeError$1 = global$2.TypeError;- var WeakMap = global$2.WeakMap;- var set, get, has;-- var enforce = function (it) {- return has(it) ? get(it) : set(it, {});- };-- var getterFor = function (TYPE) {- return function (it) {- var state;- if (!isObject$2(it) || (state = get(it)).type !== TYPE) {- throw TypeError$1('Incompatible receiver, ' + TYPE + ' required');- } return state;- };- };-- if (NATIVE_WEAK_MAP || shared.state) {- var store = shared.state || (shared.state = new WeakMap());- /* eslint-disable no-self-assign -- prototype methods protection */- store.get = store.get;- store.has = store.has;- store.set = store.set;- /* eslint-enable no-self-assign -- prototype methods protection */- set = function (it, metadata) {- if (store.has(it)) throw TypeError$1(OBJECT_ALREADY_INITIALIZED);- metadata.facade = it;- store.set(it, metadata);- return metadata;- };- get = function (it) {- return store.get(it) || {};- };- has = function (it) {- return store.has(it);- };- } else {- var STATE = sharedKey$1('state');- hiddenKeys$3[STATE] = true;- set = function (it, metadata) {- if (hasOwn$3(it, STATE)) throw TypeError$1(OBJECT_ALREADY_INITIALIZED);- metadata.facade = it;- createNonEnumerableProperty$1(it, STATE, metadata);- return metadata;- };- get = function (it) {- return hasOwn$3(it, STATE) ? it[STATE] : {};- };- has = function (it) {- return hasOwn$3(it, STATE);- };- }-- var internalState = {- set: set,- get: get,- has: has,- enforce: enforce,- getterFor: getterFor- };-- var uncurryThis$7 = functionUncurryThis;- var fails$5 = fails$c;- var isCallable$4 = isCallable$c;- var hasOwn$2 = hasOwnProperty_1;- var DESCRIPTORS$2 = descriptors;- var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE;- var inspectSource$1 = inspectSource$2;- var InternalStateModule = internalState;-- var enforceInternalState = InternalStateModule.enforce;- var getInternalState = InternalStateModule.get;- var $String = String;- // eslint-disable-next-line es/no-object-defineproperty -- safe- var defineProperty$2 = Object.defineProperty;- var stringSlice = uncurryThis$7(''.slice);- var replace = uncurryThis$7(''.replace);- var join = uncurryThis$7([].join);-- var CONFIGURABLE_LENGTH = DESCRIPTORS$2 && !fails$5(function () {- return defineProperty$2(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;- });-- var TEMPLATE = String(String).split('String');-- var makeBuiltIn$1 = makeBuiltIn$2.exports = function (value, name, options) {- if (stringSlice($String(name), 0, 7) === 'Symbol(') {- name = '[' + replace($String(name), /^Symbol\(([^)]*)\)/, '$1') + ']';- }- if (options && options.getter) name = 'get ' + name;- if (options && options.setter) name = 'set ' + name;- if (!hasOwn$2(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {- if (DESCRIPTORS$2) defineProperty$2(value, 'name', { value: name, configurable: true });- else value.name = name;- }- if (CONFIGURABLE_LENGTH && options && hasOwn$2(options, 'arity') && value.length !== options.arity) {- defineProperty$2(value, 'length', { value: options.arity });- }- try {- if (options && hasOwn$2(options, 'constructor') && options.constructor) {- if (DESCRIPTORS$2) defineProperty$2(value, 'prototype', { writable: false });- // in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable- } else if (value.prototype) value.prototype = undefined;- } catch (error) { /* empty */ }- var state = enforceInternalState(value);- if (!hasOwn$2(state, 'source')) {- state.source = join(TEMPLATE, typeof name == 'string' ? name : '');- } return value;- };-- // add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative- // eslint-disable-next-line no-extend-native -- required- Function.prototype.toString = makeBuiltIn$1(function toString() {- return isCallable$4(this) && getInternalState(this).source || inspectSource$1(this);- }, 'toString');-- var isCallable$3 = isCallable$c;- var definePropertyModule$3 = objectDefineProperty;- var makeBuiltIn = makeBuiltInExports;- var defineGlobalProperty$1 = defineGlobalProperty$3;-- var defineBuiltIn$2 = function (O, key, value, options) {- if (!options) options = {};- var simple = options.enumerable;- var name = options.name !== undefined ? options.name : key;- if (isCallable$3(value)) makeBuiltIn(value, name, options);- if (options.global) {- if (simple) O[key] = value;- else defineGlobalProperty$1(key, value);- } else {- try {- if (!options.unsafe) delete O[key];- else if (O[key]) simple = true;- } catch (error) { /* empty */ }- if (simple) O[key] = value;- else definePropertyModule$3.f(O, key, {- value: value,- enumerable: false,- configurable: !options.nonConfigurable,- writable: !options.nonWritable- });- } return O;- };-- var objectGetOwnPropertyNames = {};-- var ceil = Math.ceil;- var floor = Math.floor;-- // `Math.trunc` method- // https://tc39.es/ecma262/#sec-math.trunc- // eslint-disable-next-line es/no-math-trunc -- safe- var mathTrunc = Math.trunc || function trunc(x) {- var n = +x;- return (n > 0 ? floor : ceil)(n);- };-- var trunc = mathTrunc;-- // `ToIntegerOrInfinity` abstract operation- // https://tc39.es/ecma262/#sec-tointegerorinfinity- var toIntegerOrInfinity$2 = function (argument) {- var number = +argument;- // eslint-disable-next-line no-self-compare -- NaN check- return number !== number || number === 0 ? 0 : trunc(number);- };-- var toIntegerOrInfinity$1 = toIntegerOrInfinity$2;-- var max = Math.max;- var min$1 = Math.min;-- // Helper for a popular repeating case of the spec:- // Let integer be ? ToInteger(index).- // If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).- var toAbsoluteIndex$1 = function (index, length) {- var integer = toIntegerOrInfinity$1(index);- return integer < 0 ? max(integer + length, 0) : min$1(integer, length);- };-- var toIntegerOrInfinity = toIntegerOrInfinity$2;-- var min = Math.min;-- // `ToLength` abstract operation- // https://tc39.es/ecma262/#sec-tolength- var toLength$1 = function (argument) {- return argument > 0 ? min(toIntegerOrInfinity(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991- };-- var toLength = toLength$1;-- // `LengthOfArrayLike` abstract operation- // https://tc39.es/ecma262/#sec-lengthofarraylike- var lengthOfArrayLike$3 = function (obj) {- return toLength(obj.length);- };-- var toIndexedObject$2 = toIndexedObject$4;- var toAbsoluteIndex = toAbsoluteIndex$1;- var lengthOfArrayLike$2 = lengthOfArrayLike$3;-- // `Array.prototype.{ indexOf, includes }` methods implementation- var createMethod$1 = function (IS_INCLUDES) {- return function ($this, el, fromIndex) {- var O = toIndexedObject$2($this);- var length = lengthOfArrayLike$2(O);- var index = toAbsoluteIndex(fromIndex, length);- var value;- // Array#includes uses SameValueZero equality algorithm- // eslint-disable-next-line no-self-compare -- NaN check- if (IS_INCLUDES && el != el) while (length > index) {- value = O[index++];- // eslint-disable-next-line no-self-compare -- NaN check- if (value != value) return true;- // Array#indexOf ignores holes, Array#includes - not- } else for (;length > index; index++) {- if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;- } return !IS_INCLUDES && -1;- };- };-- var arrayIncludes = {- // `Array.prototype.includes` method- // https://tc39.es/ecma262/#sec-array.prototype.includes- includes: createMethod$1(true),- // `Array.prototype.indexOf` method- // https://tc39.es/ecma262/#sec-array.prototype.indexof- indexOf: createMethod$1(false)- };-- var uncurryThis$6 = functionUncurryThis;- var hasOwn$1 = hasOwnProperty_1;- var toIndexedObject$1 = toIndexedObject$4;- var indexOf = arrayIncludes.indexOf;- var hiddenKeys$2 = hiddenKeys$4;-- var push$1 = uncurryThis$6([].push);-- var objectKeysInternal = function (object, names) {- var O = toIndexedObject$1(object);- var i = 0;- var result = [];- var key;- for (key in O) !hasOwn$1(hiddenKeys$2, key) && hasOwn$1(O, key) && push$1(result, key);- // Don't enum bug & hidden keys- while (names.length > i) if (hasOwn$1(O, key = names[i++])) {- ~indexOf(result, key) || push$1(result, key);- }- return result;- };-- // IE8- don't enum bug keys- var enumBugKeys$3 = [- 'constructor',- 'hasOwnProperty',- 'isPrototypeOf',- 'propertyIsEnumerable',- 'toLocaleString',- 'toString',- 'valueOf'- ];-- var internalObjectKeys$1 = objectKeysInternal;- var enumBugKeys$2 = enumBugKeys$3;-- var hiddenKeys$1 = enumBugKeys$2.concat('length', 'prototype');-- // `Object.getOwnPropertyNames` method- // https://tc39.es/ecma262/#sec-object.getownpropertynames- // eslint-disable-next-line es/no-object-getownpropertynames -- safe- objectGetOwnPropertyNames.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {- return internalObjectKeys$1(O, hiddenKeys$1);- };-- var objectGetOwnPropertySymbols = {};-- // eslint-disable-next-line es/no-object-getownpropertysymbols -- safe- objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;-- var getBuiltIn$2 = getBuiltIn$4;- var uncurryThis$5 = functionUncurryThis;- var getOwnPropertyNamesModule = objectGetOwnPropertyNames;- var getOwnPropertySymbolsModule$1 = objectGetOwnPropertySymbols;- var anObject$2 = anObject$4;-- var concat$1 = uncurryThis$5([].concat);-- // all object keys, includes non-enumerable and symbols- var ownKeys$1 = getBuiltIn$2('Reflect', 'ownKeys') || function ownKeys(it) {- var keys = getOwnPropertyNamesModule.f(anObject$2(it));- var getOwnPropertySymbols = getOwnPropertySymbolsModule$1.f;- return getOwnPropertySymbols ? concat$1(keys, getOwnPropertySymbols(it)) : keys;- };-- var hasOwn = hasOwnProperty_1;- var ownKeys = ownKeys$1;- var getOwnPropertyDescriptorModule = objectGetOwnPropertyDescriptor;- var definePropertyModule$2 = objectDefineProperty;-- var copyConstructorProperties$1 = function (target, source, exceptions) {- var keys = ownKeys(source);- var defineProperty = definePropertyModule$2.f;- var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;- for (var i = 0; i < keys.length; i++) {- var key = keys[i];- if (!hasOwn(target, key) && !(exceptions && hasOwn(exceptions, key))) {- defineProperty(target, key, getOwnPropertyDescriptor(source, key));- }- }- };-- var fails$4 = fails$c;- var isCallable$2 = isCallable$c;-- var replacement = /#|\.prototype\./;-- var isForced$1 = function (feature, detection) {- var value = data[normalize(feature)];- return value == POLYFILL ? true- : value == NATIVE ? false- : isCallable$2(detection) ? fails$4(detection)- : !!detection;- };-- var normalize = isForced$1.normalize = function (string) {- return String(string).replace(replacement, '.').toLowerCase();- };-- var data = isForced$1.data = {};- var NATIVE = isForced$1.NATIVE = 'N';- var POLYFILL = isForced$1.POLYFILL = 'P';-- var isForced_1 = isForced$1;-- var global$1 = global$a;- var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;- var createNonEnumerableProperty = createNonEnumerableProperty$2;- var defineBuiltIn$1 = defineBuiltIn$2;- var defineGlobalProperty = defineGlobalProperty$3;- var copyConstructorProperties = copyConstructorProperties$1;- var isForced = isForced_1;-- /*- options.target - name of the target object- options.global - target is the global object- options.stat - export as static methods of target- options.proto - export as prototype methods of target- options.real - real prototype method for the `pure` version- options.forced - export even if the native feature is available- options.bind - bind methods to the target, required for the `pure` version- options.wrap - wrap constructors to preventing global pollution, required for the `pure` version- options.unsafe - use the simple assignment of property instead of delete + defineProperty- options.sham - add a flag to not completely full polyfills- options.enumerable - export as enumerable property- options.dontCallGetSet - prevent calling a getter on target- options.name - the .name of the function if it does not match the key- */- var _export = function (options, source) {- var TARGET = options.target;- var GLOBAL = options.global;- var STATIC = options.stat;- var FORCED, target, key, targetProperty, sourceProperty, descriptor;- if (GLOBAL) {- target = global$1;- } else if (STATIC) {- target = global$1[TARGET] || defineGlobalProperty(TARGET, {});- } else {- target = (global$1[TARGET] || {}).prototype;- }- if (target) for (key in source) {- sourceProperty = source[key];- if (options.dontCallGetSet) {- descriptor = getOwnPropertyDescriptor(target, key);- targetProperty = descriptor && descriptor.value;- } else targetProperty = target[key];- FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);- // contained in target- if (!FORCED && targetProperty !== undefined) {- if (typeof sourceProperty == typeof targetProperty) continue;- copyConstructorProperties(sourceProperty, targetProperty);- }- // add a flag to not completely full polyfills- if (options.sham || (targetProperty && targetProperty.sham)) {- createNonEnumerableProperty(sourceProperty, 'sham', true);- }- defineBuiltIn$1(target, key, sourceProperty, options);- }- };-- var internalObjectKeys = objectKeysInternal;- var enumBugKeys$1 = enumBugKeys$3;-- // `Object.keys` method- // https://tc39.es/ecma262/#sec-object.keys- // eslint-disable-next-line es/no-object-keys -- safe- var objectKeys$2 = Object.keys || function keys(O) {- return internalObjectKeys(O, enumBugKeys$1);- };-- var DESCRIPTORS$1 = descriptors;- var uncurryThis$4 = functionUncurryThis;- var call = functionCall;- var fails$3 = fails$c;- var objectKeys$1 = objectKeys$2;- var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;- var propertyIsEnumerableModule = objectPropertyIsEnumerable;- var toObject$2 = toObject$4;- var IndexedObject$1 = indexedObject;-- // eslint-disable-next-line es/no-object-assign -- safe- var $assign = Object.assign;- // eslint-disable-next-line es/no-object-defineproperty -- required for testing- var defineProperty$1 = Object.defineProperty;- var concat = uncurryThis$4([].concat);-- // `Object.assign` method- // https://tc39.es/ecma262/#sec-object.assign- var objectAssign = !$assign || fails$3(function () {- // should have correct order of operations (Edge bug)- if (DESCRIPTORS$1 && $assign({ b: 1 }, $assign(defineProperty$1({}, 'a', {- enumerable: true,- get: function () {- defineProperty$1(this, 'b', {- value: 3,- enumerable: false- });- }- }), { b: 2 })).b !== 1) return true;- // should work with symbols and should have deterministic property order (V8 bug)- var A = {};- var B = {};- // eslint-disable-next-line es/no-symbol -- safe- var symbol = Symbol();- var alphabet = 'abcdefghijklmnopqrst';- A[symbol] = 7;- alphabet.split('').forEach(function (chr) { B[chr] = chr; });- return $assign({}, A)[symbol] != 7 || objectKeys$1($assign({}, B)).join('') != alphabet;- }) ? function assign(target, source) { // eslint-disable-line no-unused-vars -- required for `.length`- var T = toObject$2(target);- var argumentsLength = arguments.length;- var index = 1;- var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;- var propertyIsEnumerable = propertyIsEnumerableModule.f;- while (argumentsLength > index) {- var S = IndexedObject$1(arguments[index++]);- var keys = getOwnPropertySymbols ? concat(objectKeys$1(S), getOwnPropertySymbols(S)) : objectKeys$1(S);- var length = keys.length;- var j = 0;- var key;- while (length > j) {- key = keys[j++];- if (!DESCRIPTORS$1 || call(propertyIsEnumerable, S, key)) T[key] = S[key];- }- } return T;- } : $assign;-- var $$2 = _export;- var assign = objectAssign;-- // `Object.assign` method- // https://tc39.es/ecma262/#sec-object.assign- // eslint-disable-next-line es/no-object-assign -- required for testing- $$2({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }, {- assign: assign- });-- var classof$3 = classofRaw$2;-- // `IsArray` abstract operation- // https://tc39.es/ecma262/#sec-isarray- // eslint-disable-next-line es/no-array-isarray -- safe- var isArray$2 = Array.isArray || function isArray(argument) {- return classof$3(argument) == 'Array';- };-- var $TypeError = TypeError;- var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; // 2 ** 53 - 1 == 9007199254740991-- var doesNotExceedSafeInteger$1 = function (it) {- if (it > MAX_SAFE_INTEGER) throw $TypeError('Maximum allowed index exceeded');- return it;- };-- var toPropertyKey = toPropertyKey$3;- var definePropertyModule$1 = objectDefineProperty;- var createPropertyDescriptor = createPropertyDescriptor$3;-- var createProperty$1 = function (object, key, value) {- var propertyKey = toPropertyKey(key);- if (propertyKey in object) definePropertyModule$1.f(object, propertyKey, createPropertyDescriptor(0, value));- else object[propertyKey] = value;- };-- var wellKnownSymbol$5 = wellKnownSymbol$7;-- var TO_STRING_TAG$1 = wellKnownSymbol$5('toStringTag');- var test = {};-- test[TO_STRING_TAG$1] = 'z';-- var toStringTagSupport = String(test) === '[object z]';-- var TO_STRING_TAG_SUPPORT$2 = toStringTagSupport;- var isCallable$1 = isCallable$c;- var classofRaw$1 = classofRaw$2;- var wellKnownSymbol$4 = wellKnownSymbol$7;-- var TO_STRING_TAG = wellKnownSymbol$4('toStringTag');- var $Object = Object;-- // ES3 wrong here- var CORRECT_ARGUMENTS = classofRaw$1(function () { return arguments; }()) == 'Arguments';-- // fallback for IE11 Script Access Denied error- var tryGet = function (it, key) {- try {- return it[key];- } catch (error) { /* empty */ }- };-- // getting tag from ES6+ `Object.prototype.toString`- var classof$2 = TO_STRING_TAG_SUPPORT$2 ? classofRaw$1 : function (it) {- var O, tag, result;- return it === undefined ? 'Undefined' : it === null ? 'Null'- // @@toStringTag case- : typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag- // builtinTag case- : CORRECT_ARGUMENTS ? classofRaw$1(O)- // ES3 arguments fallback- : (result = classofRaw$1(O)) == 'Object' && isCallable$1(O.callee) ? 'Arguments' : result;- };-- var uncurryThis$3 = functionUncurryThis;- var fails$2 = fails$c;- var isCallable = isCallable$c;- var classof$1 = classof$2;- var getBuiltIn$1 = getBuiltIn$4;- var inspectSource = inspectSource$2;-- var noop = function () { /* empty */ };- var empty = [];- var construct = getBuiltIn$1('Reflect', 'construct');- var constructorRegExp = /^\s*(?:class|function)\b/;- var exec = uncurryThis$3(constructorRegExp.exec);- var INCORRECT_TO_STRING = !constructorRegExp.exec(noop);-- var isConstructorModern = function isConstructor(argument) {- if (!isCallable(argument)) return false;- try {- construct(noop, empty, argument);- return true;- } catch (error) {- return false;- }- };-- var isConstructorLegacy = function isConstructor(argument) {- if (!isCallable(argument)) return false;- switch (classof$1(argument)) {- case 'AsyncFunction':- case 'GeneratorFunction':- case 'AsyncGeneratorFunction': return false;- }- try {- // we can't check .prototype since constructors produced by .bind haven't it- // `Function#toString` throws on some built-it function in some legacy engines- // (for example, `DOMQuad` and similar in FF41-)- return INCORRECT_TO_STRING || !!exec(constructorRegExp, inspectSource(argument));- } catch (error) {- return true;- }- };-- isConstructorLegacy.sham = true;-- // `IsConstructor` abstract operation- // https://tc39.es/ecma262/#sec-isconstructor- var isConstructor$1 = !construct || fails$2(function () {- var called;- return isConstructorModern(isConstructorModern.call)- || !isConstructorModern(Object)- || !isConstructorModern(function () { called = true; })- || called;- }) ? isConstructorLegacy : isConstructorModern;-- var isArray$1 = isArray$2;- var isConstructor = isConstructor$1;- var isObject$1 = isObject$7;- var wellKnownSymbol$3 = wellKnownSymbol$7;-- var SPECIES$1 = wellKnownSymbol$3('species');- var $Array = Array;-- // a part of `ArraySpeciesCreate` abstract operation- // https://tc39.es/ecma262/#sec-arrayspeciescreate- var arraySpeciesConstructor$1 = function (originalArray) {- var C;- if (isArray$1(originalArray)) {- C = originalArray.constructor;- // cross-realm fallback- if (isConstructor(C) && (C === $Array || isArray$1(C.prototype))) C = undefined;- else if (isObject$1(C)) {- C = C[SPECIES$1];- if (C === null) C = undefined;- }- } return C === undefined ? $Array : C;- };-- var arraySpeciesConstructor = arraySpeciesConstructor$1;-- // `ArraySpeciesCreate` abstract operation- // https://tc39.es/ecma262/#sec-arrayspeciescreate- var arraySpeciesCreate$2 = function (originalArray, length) {- return new (arraySpeciesConstructor(originalArray))(length === 0 ? 0 : length);- };-- var fails$1 = fails$c;- var wellKnownSymbol$2 = wellKnownSymbol$7;- var V8_VERSION$1 = engineV8Version;-- var SPECIES = wellKnownSymbol$2('species');-- var arrayMethodHasSpeciesSupport$1 = function (METHOD_NAME) {- // We can't use this feature detection in V8 since it causes- // deoptimization and serious performance degradation- // https://github.com/zloirock/core-js/issues/677- return V8_VERSION$1 >= 51 || !fails$1(function () {- var array = [];- var constructor = array.constructor = {};- constructor[SPECIES] = function () {- return { foo: 1 };- };- return array[METHOD_NAME](Boolean).foo !== 1;- });- };-- var $$1 = _export;- var fails = fails$c;- var isArray = isArray$2;- var isObject = isObject$7;- var toObject$1 = toObject$4;- var lengthOfArrayLike$1 = lengthOfArrayLike$3;- var doesNotExceedSafeInteger = doesNotExceedSafeInteger$1;- var createProperty = createProperty$1;- var arraySpeciesCreate$1 = arraySpeciesCreate$2;- var arrayMethodHasSpeciesSupport = arrayMethodHasSpeciesSupport$1;- var wellKnownSymbol$1 = wellKnownSymbol$7;- var V8_VERSION = engineV8Version;-- var IS_CONCAT_SPREADABLE = wellKnownSymbol$1('isConcatSpreadable');-- // We can't use this feature detection in V8 since it causes- // deoptimization and serious performance degradation- // https://github.com/zloirock/core-js/issues/679- var IS_CONCAT_SPREADABLE_SUPPORT = V8_VERSION >= 51 || !fails(function () {- var array = [];- array[IS_CONCAT_SPREADABLE] = false;- return array.concat()[0] !== array;- });-- var isConcatSpreadable = function (O) {- if (!isObject(O)) return false;- var spreadable = O[IS_CONCAT_SPREADABLE];- return spreadable !== undefined ? !!spreadable : isArray(O);- };-- var FORCED = !IS_CONCAT_SPREADABLE_SUPPORT || !arrayMethodHasSpeciesSupport('concat');-- // `Array.prototype.concat` method- // https://tc39.es/ecma262/#sec-array.prototype.concat- // with adding support of @@isConcatSpreadable and @@species- $$1({ target: 'Array', proto: true, arity: 1, forced: FORCED }, {- // eslint-disable-next-line no-unused-vars -- required for `.length`- concat: function concat(arg) {- var O = toObject$1(this);- var A = arraySpeciesCreate$1(O, 0);- var n = 0;- var i, k, length, len, E;- for (i = -1, length = arguments.length; i < length; i++) {- E = i === -1 ? O : arguments[i];- if (isConcatSpreadable(E)) {- len = lengthOfArrayLike$1(E);- doesNotExceedSafeInteger(n + len);- for (k = 0; k < len; k++, n++) if (k in E) createProperty(A, n, E[k]);- } else {- doesNotExceedSafeInteger(n + 1);- createProperty(A, n++, E);- }- }- A.length = n;- return A;- }- });-- var classofRaw = classofRaw$2;- var uncurryThis$2 = functionUncurryThis;-- var functionUncurryThisClause = function (fn) {- // Nashorn bug:- // https://github.com/zloirock/core-js/issues/1128- // https://github.com/zloirock/core-js/issues/1130- if (classofRaw(fn) === 'Function') return uncurryThis$2(fn);- };-- var uncurryThis$1 = functionUncurryThisClause;- var aCallable = aCallable$2;- var NATIVE_BIND = functionBindNative;-- var bind$1 = uncurryThis$1(uncurryThis$1.bind);-- // optional / simple context binding- var functionBindContext = function (fn, that) {- aCallable(fn);- return that === undefined ? fn : NATIVE_BIND ? bind$1(fn, that) : function (/* ...args */) {- return fn.apply(that, arguments);- };- };-- var bind = functionBindContext;- var uncurryThis = functionUncurryThis;- var IndexedObject = indexedObject;- var toObject = toObject$4;- var lengthOfArrayLike = lengthOfArrayLike$3;- var arraySpeciesCreate = arraySpeciesCreate$2;-- var push = uncurryThis([].push);-- // `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterReject }` methods implementation- var createMethod = function (TYPE) {- var IS_MAP = TYPE == 1;- var IS_FILTER = TYPE == 2;- var IS_SOME = TYPE == 3;- var IS_EVERY = TYPE == 4;- var IS_FIND_INDEX = TYPE == 6;- var IS_FILTER_REJECT = TYPE == 7;- var NO_HOLES = TYPE == 5 || IS_FIND_INDEX;- return function ($this, callbackfn, that, specificCreate) {- var O = toObject($this);- var self = IndexedObject(O);- var boundFunction = bind(callbackfn, that);- var length = lengthOfArrayLike(self);- var index = 0;- var create = specificCreate || arraySpeciesCreate;- var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_REJECT ? create($this, 0) : undefined;- var value, result;- for (;length > index; index++) if (NO_HOLES || index in self) {- value = self[index];- result = boundFunction(value, index, O);- if (TYPE) {- if (IS_MAP) target[index] = result; // map- else if (result) switch (TYPE) {- case 3: return true; // some- case 5: return value; // find- case 6: return index; // findIndex- case 2: push(target, value); // filter- } else switch (TYPE) {- case 4: return false; // every- case 7: push(target, value); // filterReject- }- }- }- return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : target;- };- };-- var arrayIteration = {- // `Array.prototype.forEach` method- // https://tc39.es/ecma262/#sec-array.prototype.foreach- forEach: createMethod(0),- // `Array.prototype.map` method- // https://tc39.es/ecma262/#sec-array.prototype.map- map: createMethod(1),- // `Array.prototype.filter` method- // https://tc39.es/ecma262/#sec-array.prototype.filter- filter: createMethod(2),- // `Array.prototype.some` method- // https://tc39.es/ecma262/#sec-array.prototype.some- some: createMethod(3),- // `Array.prototype.every` method- // https://tc39.es/ecma262/#sec-array.prototype.every- every: createMethod(4),- // `Array.prototype.find` method- // https://tc39.es/ecma262/#sec-array.prototype.find- find: createMethod(5),- // `Array.prototype.findIndex` method- // https://tc39.es/ecma262/#sec-array.prototype.findIndex- findIndex: createMethod(6),- // `Array.prototype.filterReject` method- // https://github.com/tc39/proposal-array-filtering- filterReject: createMethod(7)- };-- var objectDefineProperties = {};-- var DESCRIPTORS = descriptors;- var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;- var definePropertyModule = objectDefineProperty;- var anObject$1 = anObject$4;- var toIndexedObject = toIndexedObject$4;- var objectKeys = objectKeys$2;-- // `Object.defineProperties` method- // https://tc39.es/ecma262/#sec-object.defineproperties- // eslint-disable-next-line es/no-object-defineproperties -- safe- objectDefineProperties.f = DESCRIPTORS && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {- anObject$1(O);- var props = toIndexedObject(Properties);- var keys = objectKeys(Properties);- var length = keys.length;- var index = 0;- var key;- while (length > index) definePropertyModule.f(O, key = keys[index++], props[key]);- return O;- };-- var getBuiltIn = getBuiltIn$4;-- var html$1 = getBuiltIn('document', 'documentElement');-- /* global ActiveXObject -- old IE, WSH */-- var anObject = anObject$4;- var definePropertiesModule = objectDefineProperties;- var enumBugKeys = enumBugKeys$3;- var hiddenKeys = hiddenKeys$4;- var html = html$1;- var documentCreateElement = documentCreateElement$1;- var sharedKey = sharedKey$2;-- var GT = '>';- var LT = '<';- var PROTOTYPE = 'prototype';- var SCRIPT = 'script';- var IE_PROTO = sharedKey('IE_PROTO');-- var EmptyConstructor = function () { /* empty */ };-- var scriptTag = function (content) {- return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT;- };-- // Create object with fake `null` prototype: use ActiveX Object with cleared prototype- var NullProtoObjectViaActiveX = function (activeXDocument) {- activeXDocument.write(scriptTag(''));- activeXDocument.close();- var temp = activeXDocument.parentWindow.Object;- activeXDocument = null; // avoid memory leak- return temp;- };-- // Create object with fake `null` prototype: use iframe Object with cleared prototype- var NullProtoObjectViaIFrame = function () {- // Thrash, waste and sodomy: IE GC bug- var iframe = documentCreateElement('iframe');- var JS = 'java' + SCRIPT + ':';- var iframeDocument;- iframe.style.display = 'none';- html.appendChild(iframe);- // https://github.com/zloirock/core-js/issues/475- iframe.src = String(JS);- iframeDocument = iframe.contentWindow.document;- iframeDocument.open();- iframeDocument.write(scriptTag('document.F=Object'));- iframeDocument.close();- return iframeDocument.F;- };-- // Check for document.domain and active x support- // No need to use active x approach when document.domain is not set- // see https://github.com/es-shims/es5-shim/issues/150- // variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346- // avoid IE GC bug- var activeXDocument;- var NullProtoObject = function () {- try {- activeXDocument = new ActiveXObject('htmlfile');- } catch (error) { /* ignore */ }- NullProtoObject = typeof document != 'undefined'- ? document.domain && activeXDocument- ? NullProtoObjectViaActiveX(activeXDocument) // old IE- : NullProtoObjectViaIFrame()- : NullProtoObjectViaActiveX(activeXDocument); // WSH- var length = enumBugKeys.length;- while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];- return NullProtoObject();- };-- hiddenKeys[IE_PROTO] = true;-- // `Object.create` method- // https://tc39.es/ecma262/#sec-object.create- // eslint-disable-next-line es/no-object-create -- safe- var objectCreate = Object.create || function create(O, Properties) {- var result;- if (O !== null) {- EmptyConstructor[PROTOTYPE] = anObject(O);- result = new EmptyConstructor();- EmptyConstructor[PROTOTYPE] = null;- // add "__proto__" for Object.getPrototypeOf polyfill- result[IE_PROTO] = O;- } else result = NullProtoObject();- return Properties === undefined ? result : definePropertiesModule.f(result, Properties);- };-- var wellKnownSymbol = wellKnownSymbol$7;- var create = objectCreate;- var defineProperty = objectDefineProperty.f;-- var UNSCOPABLES = wellKnownSymbol('unscopables');- var ArrayPrototype = Array.prototype;-- // Array.prototype[@@unscopables]- // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables- if (ArrayPrototype[UNSCOPABLES] == undefined) {- defineProperty(ArrayPrototype, UNSCOPABLES, {- configurable: true,- value: create(null)- });- }-- // add a key to Array.prototype[@@unscopables]- var addToUnscopables$1 = function (key) {- ArrayPrototype[UNSCOPABLES][key] = true;- };-- var $ = _export;- var $find = arrayIteration.find;- var addToUnscopables = addToUnscopables$1;-- var FIND = 'find';- var SKIPS_HOLES = true;-- // Shouldn't skip holes- if (FIND in []) Array(1)[FIND](function () { SKIPS_HOLES = false; });-- // `Array.prototype.find` method- // https://tc39.es/ecma262/#sec-array.prototype.find- $({ target: 'Array', proto: true, forced: SKIPS_HOLES }, {- find: function find(callbackfn /* , that = undefined */) {- return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);- }- });-- // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables- addToUnscopables(FIND);-- var TO_STRING_TAG_SUPPORT$1 = toStringTagSupport;- var classof = classof$2;-- // `Object.prototype.toString` method implementation- // https://tc39.es/ecma262/#sec-object.prototype.tostring- var objectToString = TO_STRING_TAG_SUPPORT$1 ? {}.toString : function toString() {- return '[object ' + classof(this) + ']';- };-- var TO_STRING_TAG_SUPPORT = toStringTagSupport;- var defineBuiltIn = defineBuiltIn$2;- var toString = objectToString;-- // `Object.prototype.toString` method- // https://tc39.es/ecma262/#sec-object.prototype.tostring- if (!TO_STRING_TAG_SUPPORT) {- defineBuiltIn(Object.prototype, 'toString', toString, { unsafe: true });- }-- /**- * @author vincent loh <[email protected]>- * @update J Manuel Corona <[email protected]>- * @update zhixin wen <[email protected]>- */-- var Utils = $$3.fn.bootstrapTable.utils;- Object.assign($$3.fn.bootstrapTable.defaults, {- stickyHeader: false,- stickyHeaderOffsetY: 0,- stickyHeaderOffsetLeft: 0,- stickyHeaderOffsetRight: 0- });- $$3.BootstrapTable = /*#__PURE__*/function (_$$BootstrapTable) {- _inherits(_class, _$$BootstrapTable);- var _super = _createSuper(_class);- function _class() {- _classCallCheck(this, _class);- return _super.apply(this, arguments);- }- _createClass(_class, [{- key: "initHeader",- value: function initHeader() {- var _get2,- _this = this;- for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {- args[_key] = arguments[_key];- }- (_get2 = _get(_getPrototypeOf(_class.prototype), "initHeader", this)).call.apply(_get2, [this].concat(args));- if (!this.options.stickyHeader) {- return;- }- this.$tableBody.find('.sticky-header-container,.sticky_anchor_begin,.sticky_anchor_end').remove();- this.$el.before('<div class="sticky-header-container"></div>');- this.$el.before('<div class="sticky_anchor_begin"></div>');- this.$el.after('<div class="sticky_anchor_end"></div>');- this.$header.addClass('sticky-header');-- // clone header just once, to be used as sticky header- // deep clone header, using source header affects tbody>td width- this.$stickyContainer = this.$tableBody.find('.sticky-header-container');- this.$stickyBegin = this.$tableBody.find('.sticky_anchor_begin');- this.$stickyEnd = this.$tableBody.find('.sticky_anchor_end');- this.$stickyHeader = this.$header.clone(true, true);-- // render sticky on window scroll or resize- var resizeEvent = Utils.getEventName('resize.sticky-header-table', this.$el.attr('id'));- var scrollEvent = Utils.getEventName('scroll.sticky-header-table', this.$el.attr('id'));- $$3(window).off(resizeEvent).on(resizeEvent, function () {- return _this.renderStickyHeader();- });- $$3(window).off(scrollEvent).on(scrollEvent, function () {- return _this.renderStickyHeader();- });- this.$tableBody.off('scroll').on('scroll', function () {- return _this.matchPositionX();- });- }- }, {- key: "onColumnSearch",- value: function onColumnSearch(_ref) {- var currentTarget = _ref.currentTarget,- keyCode = _ref.keyCode;- _get(_getPrototypeOf(_class.prototype), "onColumnSearch", this).call(this, {- currentTarget: currentTarget,- keyCode: keyCode- });- this.renderStickyHeader();- }- }, {- key: "resetView",- value: function resetView() {- var _get3,- _this2 = this;- for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {- args[_key2] = arguments[_key2];- }- (_get3 = _get(_getPrototypeOf(_class.prototype), "resetView", this)).call.apply(_get3, [this].concat(args));- $$3('.bootstrap-table.fullscreen').off('scroll').on('scroll', function () {- return _this2.renderStickyHeader();- });- }- }, {- key: "getCaret",- value: function getCaret() {- var _get4;- for (var _len3 = arguments.length, args = new Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {- args[_key3] = arguments[_key3];- }- (_get4 = _get(_getPrototypeOf(_class.prototype), "getCaret", this)).call.apply(_get4, [this].concat(args));- if (this.$stickyHeader) {- var $ths = this.$stickyHeader.find('th');- this.$header.find('th').each(function (i, th) {- $ths.eq(i).find('.sortable').attr('class', $$3(th).find('.sortable').attr('class'));- });- }- }- }, {- key: "horizontalScroll",- value: function horizontalScroll() {- var _this3 = this;- _get(_getPrototypeOf(_class.prototype), "horizontalScroll", this).call(this);- this.$tableBody.on('scroll', function () {- return _this3.matchPositionX();- });- }- }, {- key: "renderStickyHeader",- value: function renderStickyHeader() {- var _this4 = this;- var that = this;- this.$stickyHeader = this.$header.clone(true, true);- if (this.options.filterControl) {- $$3(this.$stickyHeader).off('keyup change mouseup').on('keyup change mouse', function (e) {- var $target = $$3(e.target);- var value = $target.val();- var field = $target.parents('th').data('field');- var $coreTh = that.$header.find("th[data-field=\"".concat(field, "\"]"));- if ($target.is('input')) {- $coreTh.find('input').val(value);- } else if ($target.is('select')) {- var $select = $coreTh.find('select');- $select.find('option[selected]').removeAttr('selected');- $select.find("option[value=\"".concat(value, "\"]")).attr('selected', true);- }- that.triggerSearch();- });- }- var top = $$3(window).scrollTop();- // top anchor scroll position, minus header height- var start = this.$stickyBegin.offset().top - this.options.stickyHeaderOffsetY;- // bottom anchor scroll position, minus header height, minus sticky height- var end = this.$stickyEnd.offset().top - this.options.stickyHeaderOffsetY - this.$header.height();-- // show sticky when top anchor touches header, and when bottom anchor not exceeded- if (top > start && top <= end) {- // ensure clone and source column widths are the same- this.$stickyHeader.find('tr').each(function (indexRows, rows) {- var columns = $$3(rows).find('th');- columns.each(function (indexColumns, celd) {- $$3(celd).css('min-width', _this4.$header.find("tr:eq(".concat(indexRows, ")")).find("th:eq(".concat(indexColumns, ")")).css('width'));- });- });- // match bootstrap table style- this.$stickyContainer.show().addClass('fix-sticky fixed-table-container');- // stick it in position- var coords = this.$tableBody[0].getBoundingClientRect();- var width = '100%';- var stickyHeaderOffsetLeft = this.options.stickyHeaderOffsetLeft;- var stickyHeaderOffsetRight = this.options.stickyHeaderOffsetRight;- if (!stickyHeaderOffsetLeft) {- stickyHeaderOffsetLeft = coords.left;- }- if (!stickyHeaderOffsetRight) {- width = "".concat(coords.width, "px");- }- if (this.$el.closest('.bootstrap-table').hasClass('fullscreen')) {- stickyHeaderOffsetLeft = 0;- stickyHeaderOffsetRight = 0;- width = '100%';- }- this.$stickyContainer.css('top', "".concat(this.options.stickyHeaderOffsetY, "px"));- this.$stickyContainer.css('left', "".concat(stickyHeaderOffsetLeft, "px"));- this.$stickyContainer.css('right', "".concat(stickyHeaderOffsetRight, "px"));- this.$stickyContainer.css('width', "".concat(width));- // create scrollable container for header- this.$stickyTable = $$3('<table/>');- this.$stickyTable.addClass(this.options.classes);- // append cloned header to dom- this.$stickyContainer.html(this.$stickyTable.append(this.$stickyHeader));- // match clone and source header positions when left-right scroll- this.matchPositionX();- } else {- this.$stickyContainer.removeClass('fix-sticky').hide();- }- }- }, {- key: "matchPositionX",- value: function matchPositionX() {- this.$stickyContainer.scrollLeft(this.$tableBody.scrollLeft());- }- }]);- return _class;- }($$3.BootstrapTable);--}));--(function (global, factory) {- typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('jquery')) :- typeof define === 'function' && define.amd ? define(['jquery'], factory) :- (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.jQuery));-})(this, (function ($$b) { 'use strict';-- function _iterableToArrayLimit(arr, i) {- var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"];- if (null != _i) {- var _s,- _e,- _x,- _r,- _arr = [],- _n = !0,- _d = !1;- try {- if (_x = (_i = _i.call(arr)).next, 0 === i) {- if (Object(_i) !== _i) return;- _n = !1;- } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0);- } catch (err) {- _d = !0, _e = err;- } finally {- try {- if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return;- } finally {- if (_d) throw _e;- }- }- return _arr;- }- }- function _classCallCheck(instance, Constructor) {- if (!(instance instanceof Constructor)) {- throw new TypeError("Cannot call a class as a function");- }- }- function _defineProperties(target, props) {- for (var i = 0; i < props.length; i++) {- var descriptor = props[i];- descriptor.enumerable = descriptor.enumerable || false;- descriptor.configurable = true;- if ("value" in descriptor) descriptor.writable = true;- Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor);- }- }- function _createClass(Constructor, protoProps, staticProps) {- if (protoProps) _defineProperties(Constructor.prototype, protoProps);- if (staticProps) _defineProperties(Constructor, staticProps);- Object.defineProperty(Constructor, "prototype", {- writable: false- });- return Constructor;- }- function _inherits(subClass, superClass) {- if (typeof superClass !== "function" && superClass !== null) {- throw new TypeError("Super expression must either be null or a function");- }- subClass.prototype = Object.create(superClass && superClass.prototype, {- constructor: {- value: subClass,- writable: true,- configurable: true- }- });- Object.defineProperty(subClass, "prototype", {- writable: false- });- if (superClass) _setPrototypeOf(subClass, superClass);- }- function _getPrototypeOf(o) {- _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {- return o.__proto__ || Object.getPrototypeOf(o);- };- return _getPrototypeOf(o);- }- function _setPrototypeOf(o, p) {- _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {- o.__proto__ = p;- return o;- };- return _setPrototypeOf(o, p);- }- function _isNativeReflectConstruct() {- if (typeof Reflect === "undefined" || !Reflect.construct) return false;- if (Reflect.construct.sham) return false;- if (typeof Proxy === "function") return true;- try {- Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));- return true;- } catch (e) {- return false;- }- }- function _assertThisInitialized(self) {- if (self === void 0) {- throw new ReferenceError("this hasn't been initialised - super() hasn't been called");- }- return self;- }- function _possibleConstructorReturn(self, call) {- if (call && (typeof call === "object" || typeof call === "function")) {- return call;- } else if (call !== void 0) {- throw new TypeError("Derived constructors may only return object or undefined");- }- return _assertThisInitialized(self);- }- function _createSuper(Derived) {- var hasNativeReflectConstruct = _isNativeReflectConstruct();- return function _createSuperInternal() {- var Super = _getPrototypeOf(Derived),- result;- if (hasNativeReflectConstruct) {- var NewTarget = _getPrototypeOf(this).constructor;- result = Reflect.construct(Super, arguments, NewTarget);- } else {- result = Super.apply(this, arguments);- }- return _possibleConstructorReturn(this, result);- };- }- function _superPropBase(object, property) {- while (!Object.prototype.hasOwnProperty.call(object, property)) {- object = _getPrototypeOf(object);- if (object === null) break;- }- return object;- }- function _get() {- if (typeof Reflect !== "undefined" && Reflect.get) {- _get = Reflect.get.bind();- } else {- _get = function _get(target, property, receiver) {- var base = _superPropBase(target, property);- if (!base) return;- var desc = Object.getOwnPropertyDescriptor(base, property);- if (desc.get) {- return desc.get.call(arguments.length < 3 ? target : receiver);- }- return desc.value;- };- }- return _get.apply(this, arguments);- }- function _slicedToArray(arr, i) {- return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();- }- function _toConsumableArray(arr) {- return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();- }- function _arrayWithoutHoles(arr) {- if (Array.isArray(arr)) return _arrayLikeToArray(arr);- }- function _arrayWithHoles(arr) {- if (Array.isArray(arr)) return arr;- }- function _iterableToArray(iter) {- if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);- }- function _unsupportedIterableToArray(o, minLen) {- if (!o) return;- if (typeof o === "string") return _arrayLikeToArray(o, minLen);- var n = Object.prototype.toString.call(o).slice(8, -1);- if (n === "Object" && o.constructor) n = o.constructor.name;- if (n === "Map" || n === "Set") return Array.from(o);- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);- }- function _arrayLikeToArray(arr, len) {- if (len == null || len > arr.length) len = arr.length;- for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];- return arr2;- }- function _nonIterableSpread() {- 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 _nonIterableRest() {- 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 _createForOfIteratorHelper(o, allowArrayLike) {- var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"];- if (!it) {- if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") {- if (it) o = it;- var i = 0;- var F = function () {};- return {- s: F,- n: function () {- if (i >= o.length) return {- done: true- };- return {- done: false,- value: o[i++]- };- },- e: function (e) {- throw e;- },- f: F- };- }- 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 normalCompletion = true,- didErr = false,- err;- return {- s: function () {- it = it.call(o);- },- n: function () {- var step = it.next();- normalCompletion = step.done;- return step;- },- e: function (e) {- didErr = true;- err = e;- },- f: function () {- try {- if (!normalCompletion && it.return != null) it.return();- } finally {- if (didErr) throw err;- }- }- };- }- function _toPrimitive(input, hint) {- if (typeof input !== "object" || input === null) return input;- var prim = input[Symbol.toPrimitive];- if (prim !== undefined) {- var res = prim.call(input, hint || "default");- if (typeof res !== "object") return res;- throw new TypeError("@@toPrimitive must return a primitive value.");- }- return (hint === "string" ? String : Number)(input);- }- function _toPropertyKey(arg) {- var key = _toPrimitive(arg, "string");- return typeof key === "symbol" ? key : String(key);- }-- var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};-- var check = function (it) {- return it && it.Math == Math && it;- };-- // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028- var global$d =- // eslint-disable-next-line es/no-global-this -- safe- check(typeof globalThis == 'object' && globalThis) ||- check(typeof window == 'object' && window) ||- // eslint-disable-next-line no-restricted-globals -- safe- check(typeof self == 'object' && self) ||- check(typeof commonjsGlobal == 'object' && commonjsGlobal) ||- // eslint-disable-next-line no-new-func -- fallback- (function () { return this; })() || Function('return this')();-- var objectGetOwnPropertyDescriptor = {};-- var fails$j = function (exec) {- try {- return !!exec();- } catch (error) {- return true;- }- };-- var fails$i = fails$j;-- // Detect IE8's incomplete defineProperty implementation- var descriptors = !fails$i(function () {- // eslint-disable-next-line es/no-object-defineproperty -- required for testing- return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;- });-- var fails$h = fails$j;-- var functionBindNative = !fails$h(function () {- // eslint-disable-next-line es/no-function-prototype-bind -- safe- var test = (function () { /* empty */ }).bind();- // eslint-disable-next-line no-prototype-builtins -- safe- return typeof test != 'function' || test.hasOwnProperty('prototype');- });-- var NATIVE_BIND$2 = functionBindNative;-- var call$8 = Function.prototype.call;-- var functionCall = NATIVE_BIND$2 ? call$8.bind(call$8) : function () {- return call$8.apply(call$8, arguments);- };-- var objectPropertyIsEnumerable = {};-- var $propertyIsEnumerable$1 = {}.propertyIsEnumerable;- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe- var getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;-- // Nashorn ~ JDK8 bug- var NASHORN_BUG = getOwnPropertyDescriptor$1 && !$propertyIsEnumerable$1.call({ 1: 2 }, 1);-- // `Object.prototype.propertyIsEnumerable` method implementation- // https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable- objectPropertyIsEnumerable.f = NASHORN_BUG ? function propertyIsEnumerable(V) {- var descriptor = getOwnPropertyDescriptor$1(this, V);- return !!descriptor && descriptor.enumerable;- } : $propertyIsEnumerable$1;-- var createPropertyDescriptor$3 = function (bitmap, value) {- return {- enumerable: !(bitmap & 1),- configurable: !(bitmap & 2),- writable: !(bitmap & 4),- value: value- };- };-- var NATIVE_BIND$1 = functionBindNative;-- var FunctionPrototype$1 = Function.prototype;- var call$7 = FunctionPrototype$1.call;- var uncurryThisWithBind = NATIVE_BIND$1 && FunctionPrototype$1.bind.bind(call$7, call$7);-- var functionUncurryThis = NATIVE_BIND$1 ? uncurryThisWithBind : function (fn) {- return function () {- return call$7.apply(fn, arguments);- };- };-- var uncurryThis$k = functionUncurryThis;-- var toString$7 = uncurryThis$k({}.toString);- var stringSlice$2 = uncurryThis$k(''.slice);-- var classofRaw$2 = function (it) {- return stringSlice$2(toString$7(it), 8, -1);- };-- var uncurryThis$j = functionUncurryThis;- var fails$g = fails$j;- var classof$7 = classofRaw$2;-- var $Object$3 = Object;- var split = uncurryThis$j(''.split);-- // fallback for non-array-like ES3 and non-enumerable old V8 strings- var indexedObject = fails$g(function () {- // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346- // eslint-disable-next-line no-prototype-builtins -- safe- return !$Object$3('z').propertyIsEnumerable(0);- }) ? function (it) {- return classof$7(it) == 'String' ? split(it, '') : $Object$3(it);- } : $Object$3;-- // we can't use just `it == null` since of `document.all` special case- // https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec- var isNullOrUndefined$3 = function (it) {- return it === null || it === undefined;- };-- var isNullOrUndefined$2 = isNullOrUndefined$3;-- var $TypeError$8 = TypeError;-- // `RequireObjectCoercible` abstract operation- // https://tc39.es/ecma262/#sec-requireobjectcoercible- var requireObjectCoercible$5 = function (it) {- if (isNullOrUndefined$2(it)) throw $TypeError$8("Can't call method on " + it);- return it;- };-- // toObject with fallback for non-array-like ES3 strings- var IndexedObject$3 = indexedObject;- var requireObjectCoercible$4 = requireObjectCoercible$5;-- var toIndexedObject$6 = function (it) {- return IndexedObject$3(requireObjectCoercible$4(it));- };-- var documentAll$2 = typeof document == 'object' && document.all;-- // https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot- // eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing- var IS_HTMLDDA = typeof documentAll$2 == 'undefined' && documentAll$2 !== undefined;-- var documentAll_1 = {- all: documentAll$2,- IS_HTMLDDA: IS_HTMLDDA- };-- var $documentAll$1 = documentAll_1;-- var documentAll$1 = $documentAll$1.all;-- // `IsCallable` abstract operation- // https://tc39.es/ecma262/#sec-iscallable- var isCallable$d = $documentAll$1.IS_HTMLDDA ? function (argument) {- return typeof argument == 'function' || argument === documentAll$1;- } : function (argument) {- return typeof argument == 'function';- };-- var isCallable$c = isCallable$d;- var $documentAll = documentAll_1;-- var documentAll = $documentAll.all;-- var isObject$8 = $documentAll.IS_HTMLDDA ? function (it) {- return typeof it == 'object' ? it !== null : isCallable$c(it) || it === documentAll;- } : function (it) {- return typeof it == 'object' ? it !== null : isCallable$c(it);- };-- var global$c = global$d;- var isCallable$b = isCallable$d;-- var aFunction = function (argument) {- return isCallable$b(argument) ? argument : undefined;- };-- var getBuiltIn$4 = function (namespace, method) {- return arguments.length < 2 ? aFunction(global$c[namespace]) : global$c[namespace] && global$c[namespace][method];- };-- var uncurryThis$i = functionUncurryThis;-- var objectIsPrototypeOf = uncurryThis$i({}.isPrototypeOf);-- var engineUserAgent = typeof navigator != 'undefined' && String(navigator.userAgent) || '';-- var global$b = global$d;- var userAgent = engineUserAgent;-- var process = global$b.process;- var Deno = global$b.Deno;- var versions = process && process.versions || Deno && Deno.version;- var v8 = versions && versions.v8;- var match, version;-- if (v8) {- match = v8.split('.');- // in old Chrome, versions of V8 isn't V8 = Chrome / 10- // but their correct versions are not interesting for us- version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);- }-- // BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`- // so check `userAgent` even if `.v8` exists, but 0- if (!version && userAgent) {- match = userAgent.match(/Edge\/(\d+)/);- if (!match || match[1] >= 74) {- match = userAgent.match(/Chrome\/(\d+)/);- if (match) version = +match[1];- }- }-- var engineV8Version = version;-- /* eslint-disable es/no-symbol -- required for testing */-- var V8_VERSION$2 = engineV8Version;- var fails$f = fails$j;-- // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing- var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$f(function () {- var symbol = Symbol();- // Chrome 38 Symbol has incorrect toString conversion- // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances- return !String(symbol) || !(Object(symbol) instanceof Symbol) ||- // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances- !Symbol.sham && V8_VERSION$2 && V8_VERSION$2 < 41;- });-- /* eslint-disable es/no-symbol -- required for testing */-- var NATIVE_SYMBOL$1 = symbolConstructorDetection;-- var useSymbolAsUid = NATIVE_SYMBOL$1- && !Symbol.sham- && typeof Symbol.iterator == 'symbol';-- var getBuiltIn$3 = getBuiltIn$4;- var isCallable$a = isCallable$d;- var isPrototypeOf = objectIsPrototypeOf;- var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;-- var $Object$2 = Object;-- var isSymbol$2 = USE_SYMBOL_AS_UID$1 ? function (it) {- return typeof it == 'symbol';- } : function (it) {- var $Symbol = getBuiltIn$3('Symbol');- return isCallable$a($Symbol) && isPrototypeOf($Symbol.prototype, $Object$2(it));- };-- var $String$3 = String;-- var tryToString$1 = function (argument) {- try {- return $String$3(argument);- } catch (error) {- return 'Object';- }- };-- var isCallable$9 = isCallable$d;- var tryToString = tryToString$1;-- var $TypeError$7 = TypeError;-- // `Assert: IsCallable(argument) is true`- var aCallable$2 = function (argument) {- if (isCallable$9(argument)) return argument;- throw $TypeError$7(tryToString(argument) + ' is not a function');- };-- var aCallable$1 = aCallable$2;- var isNullOrUndefined$1 = isNullOrUndefined$3;-- // `GetMethod` abstract operation- // https://tc39.es/ecma262/#sec-getmethod- var getMethod$2 = function (V, P) {- var func = V[P];- return isNullOrUndefined$1(func) ? undefined : aCallable$1(func);- };-- var call$6 = functionCall;- var isCallable$8 = isCallable$d;- var isObject$7 = isObject$8;-- var $TypeError$6 = TypeError;-- // `OrdinaryToPrimitive` abstract operation- // https://tc39.es/ecma262/#sec-ordinarytoprimitive- var ordinaryToPrimitive$1 = function (input, pref) {- var fn, val;- if (pref === 'string' && isCallable$8(fn = input.toString) && !isObject$7(val = call$6(fn, input))) return val;- if (isCallable$8(fn = input.valueOf) && !isObject$7(val = call$6(fn, input))) return val;- if (pref !== 'string' && isCallable$8(fn = input.toString) && !isObject$7(val = call$6(fn, input))) return val;- throw $TypeError$6("Can't convert object to primitive value");- };-- var sharedExports = {};- var shared$4 = {- get exports(){ return sharedExports; },- set exports(v){ sharedExports = v; },- };-- var global$a = global$d;-- // eslint-disable-next-line es/no-object-defineproperty -- safe- var defineProperty$3 = Object.defineProperty;-- var defineGlobalProperty$3 = function (key, value) {- try {- defineProperty$3(global$a, key, { value: value, configurable: true, writable: true });- } catch (error) {- global$a[key] = value;- } return value;- };-- var global$9 = global$d;- var defineGlobalProperty$2 = defineGlobalProperty$3;-- var SHARED = '__core-js_shared__';- var store$3 = global$9[SHARED] || defineGlobalProperty$2(SHARED, {});-- var sharedStore = store$3;-- var store$2 = sharedStore;-- (shared$4.exports = function (key, value) {- return store$2[key] || (store$2[key] = value !== undefined ? value : {});- })('versions', []).push({- version: '3.29.0',- mode: 'global',- copyright: '© 2014-2023 Denis Pushkarev (zloirock.ru)',- license: 'https://github.com/zloirock/core-js/blob/v3.29.0/LICENSE',- source: 'https://github.com/zloirock/core-js'- });-- var requireObjectCoercible$3 = requireObjectCoercible$5;-- var $Object$1 = Object;-- // `ToObject` abstract operation- // https://tc39.es/ecma262/#sec-toobject- var toObject$4 = function (argument) {- return $Object$1(requireObjectCoercible$3(argument));- };-- var uncurryThis$h = functionUncurryThis;- var toObject$3 = toObject$4;-- var hasOwnProperty = uncurryThis$h({}.hasOwnProperty);-- // `HasOwnProperty` abstract operation- // https://tc39.es/ecma262/#sec-hasownproperty- // eslint-disable-next-line es/no-object-hasown -- safe- var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {- return hasOwnProperty(toObject$3(it), key);- };-- var uncurryThis$g = functionUncurryThis;-- var id = 0;- var postfix = Math.random();- var toString$6 = uncurryThis$g(1.0.toString);-- var uid$2 = function (key) {- return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$6(++id + postfix, 36);- };-- var global$8 = global$d;- var shared$3 = sharedExports;- var hasOwn$6 = hasOwnProperty_1;- var uid$1 = uid$2;- var NATIVE_SYMBOL = symbolConstructorDetection;- var USE_SYMBOL_AS_UID = useSymbolAsUid;-- var Symbol$1 = global$8.Symbol;- var WellKnownSymbolsStore = shared$3('wks');- var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$1['for'] || Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid$1;-- var wellKnownSymbol$a = function (name) {- if (!hasOwn$6(WellKnownSymbolsStore, name)) {- WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn$6(Symbol$1, name)- ? Symbol$1[name]- : createWellKnownSymbol('Symbol.' + name);- } return WellKnownSymbolsStore[name];- };-- var call$5 = functionCall;- var isObject$6 = isObject$8;- var isSymbol$1 = isSymbol$2;- var getMethod$1 = getMethod$2;- var ordinaryToPrimitive = ordinaryToPrimitive$1;- var wellKnownSymbol$9 = wellKnownSymbol$a;-- var $TypeError$5 = TypeError;- var TO_PRIMITIVE = wellKnownSymbol$9('toPrimitive');-- // `ToPrimitive` abstract operation- // https://tc39.es/ecma262/#sec-toprimitive- var toPrimitive$1 = function (input, pref) {- if (!isObject$6(input) || isSymbol$1(input)) return input;- var exoticToPrim = getMethod$1(input, TO_PRIMITIVE);- var result;- if (exoticToPrim) {- if (pref === undefined) pref = 'default';- result = call$5(exoticToPrim, input, pref);- if (!isObject$6(result) || isSymbol$1(result)) return result;- throw $TypeError$5("Can't convert object to primitive value");- }- if (pref === undefined) pref = 'number';- return ordinaryToPrimitive(input, pref);- };-- var toPrimitive = toPrimitive$1;- var isSymbol = isSymbol$2;-- // `ToPropertyKey` abstract operation- // https://tc39.es/ecma262/#sec-topropertykey- var toPropertyKey$3 = function (argument) {- var key = toPrimitive(argument, 'string');- return isSymbol(key) ? key : key + '';- };-- var global$7 = global$d;- var isObject$5 = isObject$8;-- var document$1 = global$7.document;- // typeof document.createElement is 'object' in old IE- var EXISTS$1 = isObject$5(document$1) && isObject$5(document$1.createElement);-- var documentCreateElement$1 = function (it) {- return EXISTS$1 ? document$1.createElement(it) : {};- };-- var DESCRIPTORS$9 = descriptors;- var fails$e = fails$j;- var createElement = documentCreateElement$1;-- // Thanks to IE8 for its funny defineProperty- var ie8DomDefine = !DESCRIPTORS$9 && !fails$e(function () {- // eslint-disable-next-line es/no-object-defineproperty -- required for testing- return Object.defineProperty(createElement('div'), 'a', {- get: function () { return 7; }- }).a != 7;- });-- var DESCRIPTORS$8 = descriptors;- var call$4 = functionCall;- var propertyIsEnumerableModule$1 = objectPropertyIsEnumerable;- var createPropertyDescriptor$2 = createPropertyDescriptor$3;- var toIndexedObject$5 = toIndexedObject$6;- var toPropertyKey$2 = toPropertyKey$3;- var hasOwn$5 = hasOwnProperty_1;- var IE8_DOM_DEFINE$1 = ie8DomDefine;-- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe- var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;-- // `Object.getOwnPropertyDescriptor` method- // https://tc39.es/ecma262/#sec-object.getownpropertydescriptor- objectGetOwnPropertyDescriptor.f = DESCRIPTORS$8 ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {- O = toIndexedObject$5(O);- P = toPropertyKey$2(P);- if (IE8_DOM_DEFINE$1) try {- return $getOwnPropertyDescriptor$1(O, P);- } catch (error) { /* empty */ }- if (hasOwn$5(O, P)) return createPropertyDescriptor$2(!call$4(propertyIsEnumerableModule$1.f, O, P), O[P]);- };-- var objectDefineProperty = {};-- var DESCRIPTORS$7 = descriptors;- var fails$d = fails$j;-- // V8 ~ Chrome 36-- // https://bugs.chromium.org/p/v8/issues/detail?id=3334- var v8PrototypeDefineBug = DESCRIPTORS$7 && fails$d(function () {- // eslint-disable-next-line es/no-object-defineproperty -- required for testing- return Object.defineProperty(function () { /* empty */ }, 'prototype', {- value: 42,- writable: false- }).prototype != 42;- });-- var isObject$4 = isObject$8;-- var $String$2 = String;- var $TypeError$4 = TypeError;-- // `Assert: Type(argument) is Object`- var anObject$7 = function (argument) {- if (isObject$4(argument)) return argument;- throw $TypeError$4($String$2(argument) + ' is not an object');- };-- var DESCRIPTORS$6 = descriptors;- var IE8_DOM_DEFINE = ie8DomDefine;- var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug;- var anObject$6 = anObject$7;- var toPropertyKey$1 = toPropertyKey$3;-- var $TypeError$3 = TypeError;- // eslint-disable-next-line es/no-object-defineproperty -- safe- var $defineProperty = Object.defineProperty;- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe- var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;- var ENUMERABLE = 'enumerable';- var CONFIGURABLE$1 = 'configurable';- var WRITABLE = 'writable';-- // `Object.defineProperty` method- // https://tc39.es/ecma262/#sec-object.defineproperty- objectDefineProperty.f = DESCRIPTORS$6 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {- anObject$6(O);- P = toPropertyKey$1(P);- anObject$6(Attributes);- if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {- var current = $getOwnPropertyDescriptor(O, P);- if (current && current[WRITABLE]) {- O[P] = Attributes.value;- Attributes = {- configurable: CONFIGURABLE$1 in Attributes ? Attributes[CONFIGURABLE$1] : current[CONFIGURABLE$1],- enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],- writable: false- };- }- } return $defineProperty(O, P, Attributes);- } : $defineProperty : function defineProperty(O, P, Attributes) {- anObject$6(O);- P = toPropertyKey$1(P);- anObject$6(Attributes);- if (IE8_DOM_DEFINE) try {- return $defineProperty(O, P, Attributes);- } catch (error) { /* empty */ }- if ('get' in Attributes || 'set' in Attributes) throw $TypeError$3('Accessors not supported');- if ('value' in Attributes) O[P] = Attributes.value;- return O;- };-- var DESCRIPTORS$5 = descriptors;- var definePropertyModule$4 = objectDefineProperty;- var createPropertyDescriptor$1 = createPropertyDescriptor$3;-- var createNonEnumerableProperty$3 = DESCRIPTORS$5 ? function (object, key, value) {- return definePropertyModule$4.f(object, key, createPropertyDescriptor$1(1, value));- } : function (object, key, value) {- object[key] = value;- return object;- };-- var makeBuiltInExports = {};- var makeBuiltIn$2 = {- get exports(){ return makeBuiltInExports; },- set exports(v){ makeBuiltInExports = v; },- };-- var DESCRIPTORS$4 = descriptors;- var hasOwn$4 = hasOwnProperty_1;-- var FunctionPrototype = Function.prototype;- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe- var getDescriptor = DESCRIPTORS$4 && Object.getOwnPropertyDescriptor;-- var EXISTS = hasOwn$4(FunctionPrototype, 'name');- // additional protection from minified / mangled / dropped function names- var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';- var CONFIGURABLE = EXISTS && (!DESCRIPTORS$4 || (DESCRIPTORS$4 && getDescriptor(FunctionPrototype, 'name').configurable));-- var functionName = {- EXISTS: EXISTS,- PROPER: PROPER,- CONFIGURABLE: CONFIGURABLE- };-- var uncurryThis$f = functionUncurryThis;- var isCallable$7 = isCallable$d;- var store$1 = sharedStore;-- var functionToString = uncurryThis$f(Function.toString);-- // this helper broken in `[email protected]`, so we can't use `shared` helper- if (!isCallable$7(store$1.inspectSource)) {- store$1.inspectSource = function (it) {- return functionToString(it);- };- }-- var inspectSource$2 = store$1.inspectSource;-- var global$6 = global$d;- var isCallable$6 = isCallable$d;-- var WeakMap$1 = global$6.WeakMap;-- var weakMapBasicDetection = isCallable$6(WeakMap$1) && /native code/.test(String(WeakMap$1));-- var shared$2 = sharedExports;- var uid = uid$2;-- var keys = shared$2('keys');-- var sharedKey$2 = function (key) {- return keys[key] || (keys[key] = uid(key));- };-- var hiddenKeys$4 = {};-- var NATIVE_WEAK_MAP = weakMapBasicDetection;- var global$5 = global$d;- var isObject$3 = isObject$8;- var createNonEnumerableProperty$2 = createNonEnumerableProperty$3;- var hasOwn$3 = hasOwnProperty_1;- var shared$1 = sharedStore;- var sharedKey$1 = sharedKey$2;- var hiddenKeys$3 = hiddenKeys$4;-- var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';- var TypeError$1 = global$5.TypeError;- var WeakMap = global$5.WeakMap;- var set, get, has;-- var enforce = function (it) {- return has(it) ? get(it) : set(it, {});- };-- var getterFor = function (TYPE) {- return function (it) {- var state;- if (!isObject$3(it) || (state = get(it)).type !== TYPE) {- throw TypeError$1('Incompatible receiver, ' + TYPE + ' required');- } return state;- };- };-- if (NATIVE_WEAK_MAP || shared$1.state) {- var store = shared$1.state || (shared$1.state = new WeakMap());- /* eslint-disable no-self-assign -- prototype methods protection */- store.get = store.get;- store.has = store.has;- store.set = store.set;- /* eslint-enable no-self-assign -- prototype methods protection */- set = function (it, metadata) {- if (store.has(it)) throw TypeError$1(OBJECT_ALREADY_INITIALIZED);- metadata.facade = it;- store.set(it, metadata);- return metadata;- };- get = function (it) {- return store.get(it) || {};- };- has = function (it) {- return store.has(it);- };- } else {- var STATE = sharedKey$1('state');- hiddenKeys$3[STATE] = true;- set = function (it, metadata) {- if (hasOwn$3(it, STATE)) throw TypeError$1(OBJECT_ALREADY_INITIALIZED);- metadata.facade = it;- createNonEnumerableProperty$2(it, STATE, metadata);- return metadata;- };- get = function (it) {- return hasOwn$3(it, STATE) ? it[STATE] : {};- };- has = function (it) {- return hasOwn$3(it, STATE);- };- }-- var internalState = {- set: set,- get: get,- has: has,- enforce: enforce,- getterFor: getterFor- };-- var uncurryThis$e = functionUncurryThis;- var fails$c = fails$j;- var isCallable$5 = isCallable$d;- var hasOwn$2 = hasOwnProperty_1;- var DESCRIPTORS$3 = descriptors;- var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE;- var inspectSource$1 = inspectSource$2;- var InternalStateModule = internalState;-- var enforceInternalState = InternalStateModule.enforce;- var getInternalState$1 = InternalStateModule.get;- var $String$1 = String;- // eslint-disable-next-line es/no-object-defineproperty -- safe- var defineProperty$2 = Object.defineProperty;- var stringSlice$1 = uncurryThis$e(''.slice);- var replace$2 = uncurryThis$e(''.replace);- var join = uncurryThis$e([].join);-- var CONFIGURABLE_LENGTH = DESCRIPTORS$3 && !fails$c(function () {- return defineProperty$2(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;- });-- var TEMPLATE = String(String).split('String');-- var makeBuiltIn$1 = makeBuiltIn$2.exports = function (value, name, options) {- if (stringSlice$1($String$1(name), 0, 7) === 'Symbol(') {- name = '[' + replace$2($String$1(name), /^Symbol\(([^)]*)\)/, '$1') + ']';- }- if (options && options.getter) name = 'get ' + name;- if (options && options.setter) name = 'set ' + name;- if (!hasOwn$2(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {- if (DESCRIPTORS$3) defineProperty$2(value, 'name', { value: name, configurable: true });- else value.name = name;- }- if (CONFIGURABLE_LENGTH && options && hasOwn$2(options, 'arity') && value.length !== options.arity) {- defineProperty$2(value, 'length', { value: options.arity });- }- try {- if (options && hasOwn$2(options, 'constructor') && options.constructor) {- if (DESCRIPTORS$3) defineProperty$2(value, 'prototype', { writable: false });- // in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable- } else if (value.prototype) value.prototype = undefined;- } catch (error) { /* empty */ }- var state = enforceInternalState(value);- if (!hasOwn$2(state, 'source')) {- state.source = join(TEMPLATE, typeof name == 'string' ? name : '');- } return value;- };-- // add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative- // eslint-disable-next-line no-extend-native -- required- Function.prototype.toString = makeBuiltIn$1(function toString() {- return isCallable$5(this) && getInternalState$1(this).source || inspectSource$1(this);- }, 'toString');-- var isCallable$4 = isCallable$d;- var definePropertyModule$3 = objectDefineProperty;- var makeBuiltIn = makeBuiltInExports;- var defineGlobalProperty$1 = defineGlobalProperty$3;-- var defineBuiltIn$3 = function (O, key, value, options) {- if (!options) options = {};- var simple = options.enumerable;- var name = options.name !== undefined ? options.name : key;- if (isCallable$4(value)) makeBuiltIn(value, name, options);- if (options.global) {- if (simple) O[key] = value;- else defineGlobalProperty$1(key, value);- } else {- try {- if (!options.unsafe) delete O[key];- else if (O[key]) simple = true;- } catch (error) { /* empty */ }- if (simple) O[key] = value;- else definePropertyModule$3.f(O, key, {- value: value,- enumerable: false,- configurable: !options.nonConfigurable,- writable: !options.nonWritable- });- } return O;- };-- var objectGetOwnPropertyNames = {};-- var ceil = Math.ceil;- var floor = Math.floor;-- // `Math.trunc` method- // https://tc39.es/ecma262/#sec-math.trunc- // eslint-disable-next-line es/no-math-trunc -- safe- var mathTrunc = Math.trunc || function trunc(x) {- var n = +x;- return (n > 0 ? floor : ceil)(n);- };-- var trunc = mathTrunc;-- // `ToIntegerOrInfinity` abstract operation- // https://tc39.es/ecma262/#sec-tointegerorinfinity- var toIntegerOrInfinity$2 = function (argument) {- var number = +argument;- // eslint-disable-next-line no-self-compare -- NaN check- return number !== number || number === 0 ? 0 : trunc(number);- };-- var toIntegerOrInfinity$1 = toIntegerOrInfinity$2;-- var max = Math.max;- var min$1 = Math.min;-- // Helper for a popular repeating case of the spec:- // Let integer be ? ToInteger(index).- // If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).- var toAbsoluteIndex$1 = function (index, length) {- var integer = toIntegerOrInfinity$1(index);- return integer < 0 ? max(integer + length, 0) : min$1(integer, length);- };-- var toIntegerOrInfinity = toIntegerOrInfinity$2;-- var min = Math.min;-- // `ToLength` abstract operation- // https://tc39.es/ecma262/#sec-tolength- var toLength$1 = function (argument) {- return argument > 0 ? min(toIntegerOrInfinity(argument), 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991- };-- var toLength = toLength$1;-- // `LengthOfArrayLike` abstract operation- // https://tc39.es/ecma262/#sec-lengthofarraylike- var lengthOfArrayLike$3 = function (obj) {- return toLength(obj.length);- };-- var toIndexedObject$4 = toIndexedObject$6;- var toAbsoluteIndex = toAbsoluteIndex$1;- var lengthOfArrayLike$2 = lengthOfArrayLike$3;-- // `Array.prototype.{ indexOf, includes }` methods implementation- var createMethod$3 = function (IS_INCLUDES) {- return function ($this, el, fromIndex) {- var O = toIndexedObject$4($this);- var length = lengthOfArrayLike$2(O);- var index = toAbsoluteIndex(fromIndex, length);- var value;- // Array#includes uses SameValueZero equality algorithm- // eslint-disable-next-line no-self-compare -- NaN check- if (IS_INCLUDES && el != el) while (length > index) {- value = O[index++];- // eslint-disable-next-line no-self-compare -- NaN check- if (value != value) return true;- // Array#indexOf ignores holes, Array#includes - not- } else for (;length > index; index++) {- if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;- } return !IS_INCLUDES && -1;- };- };-- var arrayIncludes = {- // `Array.prototype.includes` method- // https://tc39.es/ecma262/#sec-array.prototype.includes- includes: createMethod$3(true),- // `Array.prototype.indexOf` method- // https://tc39.es/ecma262/#sec-array.prototype.indexof- indexOf: createMethod$3(false)- };-- var uncurryThis$d = functionUncurryThis;- var hasOwn$1 = hasOwnProperty_1;- var toIndexedObject$3 = toIndexedObject$6;- var indexOf$1 = arrayIncludes.indexOf;- var hiddenKeys$2 = hiddenKeys$4;-- var push$2 = uncurryThis$d([].push);-- var objectKeysInternal = function (object, names) {- var O = toIndexedObject$3(object);- var i = 0;- var result = [];- var key;- for (key in O) !hasOwn$1(hiddenKeys$2, key) && hasOwn$1(O, key) && push$2(result, key);- // Don't enum bug & hidden keys- while (names.length > i) if (hasOwn$1(O, key = names[i++])) {- ~indexOf$1(result, key) || push$2(result, key);- }- return result;- };-- // IE8- don't enum bug keys- var enumBugKeys$3 = [- 'constructor',- 'hasOwnProperty',- 'isPrototypeOf',- 'propertyIsEnumerable',- 'toLocaleString',- 'toString',- 'valueOf'- ];-- var internalObjectKeys$1 = objectKeysInternal;- var enumBugKeys$2 = enumBugKeys$3;-- var hiddenKeys$1 = enumBugKeys$2.concat('length', 'prototype');-- // `Object.getOwnPropertyNames` method- // https://tc39.es/ecma262/#sec-object.getownpropertynames- // eslint-disable-next-line es/no-object-getownpropertynames -- safe- objectGetOwnPropertyNames.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {- return internalObjectKeys$1(O, hiddenKeys$1);- };-- var objectGetOwnPropertySymbols = {};-- // eslint-disable-next-line es/no-object-getownpropertysymbols -- safe- objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;-- var getBuiltIn$2 = getBuiltIn$4;- var uncurryThis$c = functionUncurryThis;- var getOwnPropertyNamesModule = objectGetOwnPropertyNames;- var getOwnPropertySymbolsModule$1 = objectGetOwnPropertySymbols;- var anObject$5 = anObject$7;-- var concat$1 = uncurryThis$c([].concat);-- // all object keys, includes non-enumerable and symbols- var ownKeys$1 = getBuiltIn$2('Reflect', 'ownKeys') || function ownKeys(it) {- var keys = getOwnPropertyNamesModule.f(anObject$5(it));- var getOwnPropertySymbols = getOwnPropertySymbolsModule$1.f;- return getOwnPropertySymbols ? concat$1(keys, getOwnPropertySymbols(it)) : keys;- };-- var hasOwn = hasOwnProperty_1;- var ownKeys = ownKeys$1;- var getOwnPropertyDescriptorModule = objectGetOwnPropertyDescriptor;- var definePropertyModule$2 = objectDefineProperty;-- var copyConstructorProperties$1 = function (target, source, exceptions) {- var keys = ownKeys(source);- var defineProperty = definePropertyModule$2.f;- var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;- for (var i = 0; i < keys.length; i++) {- var key = keys[i];- if (!hasOwn(target, key) && !(exceptions && hasOwn(exceptions, key))) {- defineProperty(target, key, getOwnPropertyDescriptor(source, key));- }- }- };-- var fails$b = fails$j;- var isCallable$3 = isCallable$d;-- var replacement = /#|\.prototype\./;-- var isForced$1 = function (feature, detection) {- var value = data[normalize(feature)];- return value == POLYFILL ? true- : value == NATIVE ? false- : isCallable$3(detection) ? fails$b(detection)- : !!detection;- };-- var normalize = isForced$1.normalize = function (string) {- return String(string).replace(replacement, '.').toLowerCase();- };-- var data = isForced$1.data = {};- var NATIVE = isForced$1.NATIVE = 'N';- var POLYFILL = isForced$1.POLYFILL = 'P';-- var isForced_1 = isForced$1;-- var global$4 = global$d;- var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;- var createNonEnumerableProperty$1 = createNonEnumerableProperty$3;- var defineBuiltIn$2 = defineBuiltIn$3;- var defineGlobalProperty = defineGlobalProperty$3;- var copyConstructorProperties = copyConstructorProperties$1;- var isForced = isForced_1;-- /*- options.target - name of the target object- options.global - target is the global object- options.stat - export as static methods of target- options.proto - export as prototype methods of target- options.real - real prototype method for the `pure` version- options.forced - export even if the native feature is available- options.bind - bind methods to the target, required for the `pure` version- options.wrap - wrap constructors to preventing global pollution, required for the `pure` version- options.unsafe - use the simple assignment of property instead of delete + defineProperty- options.sham - add a flag to not completely full polyfills- options.enumerable - export as enumerable property- options.dontCallGetSet - prevent calling a getter on target- options.name - the .name of the function if it does not match the key- */- var _export = function (options, source) {- var TARGET = options.target;- var GLOBAL = options.global;- var STATIC = options.stat;- var FORCED, target, key, targetProperty, sourceProperty, descriptor;- if (GLOBAL) {- target = global$4;- } else if (STATIC) {- target = global$4[TARGET] || defineGlobalProperty(TARGET, {});- } else {- target = (global$4[TARGET] || {}).prototype;- }- if (target) for (key in source) {- sourceProperty = source[key];- if (options.dontCallGetSet) {- descriptor = getOwnPropertyDescriptor(target, key);- targetProperty = descriptor && descriptor.value;- } else targetProperty = target[key];- FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);- // contained in target- if (!FORCED && targetProperty !== undefined) {- if (typeof sourceProperty == typeof targetProperty) continue;- copyConstructorProperties(sourceProperty, targetProperty);- }- // add a flag to not completely full polyfills- if (options.sham || (targetProperty && targetProperty.sham)) {- createNonEnumerableProperty$1(sourceProperty, 'sham', true);- }- defineBuiltIn$2(target, key, sourceProperty, options);- }- };-- var internalObjectKeys = objectKeysInternal;- var enumBugKeys$1 = enumBugKeys$3;-- // `Object.keys` method- // https://tc39.es/ecma262/#sec-object.keys- // eslint-disable-next-line es/no-object-keys -- safe- var objectKeys$3 = Object.keys || function keys(O) {- return internalObjectKeys(O, enumBugKeys$1);- };-- var DESCRIPTORS$2 = descriptors;- var uncurryThis$b = functionUncurryThis;- var call$3 = functionCall;- var fails$a = fails$j;- var objectKeys$2 = objectKeys$3;- var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;- var propertyIsEnumerableModule = objectPropertyIsEnumerable;- var toObject$2 = toObject$4;- var IndexedObject$2 = indexedObject;-- // eslint-disable-next-line es/no-object-assign -- safe- var $assign = Object.assign;- // eslint-disable-next-line es/no-object-defineproperty -- required for testing- var defineProperty$1 = Object.defineProperty;- var concat = uncurryThis$b([].concat);-- // `Object.assign` method- // https://tc39.es/ecma262/#sec-object.assign- var objectAssign = !$assign || fails$a(function () {- // should have correct order of operations (Edge bug)- if (DESCRIPTORS$2 && $assign({ b: 1 }, $assign(defineProperty$1({}, 'a', {- enumerable: true,- get: function () {- defineProperty$1(this, 'b', {- value: 3,- enumerable: false- });- }- }), { b: 2 })).b !== 1) return true;- // should work with symbols and should have deterministic property order (V8 bug)- var A = {};- var B = {};- // eslint-disable-next-line es/no-symbol -- safe- var symbol = Symbol();- var alphabet = 'abcdefghijklmnopqrst';- A[symbol] = 7;- alphabet.split('').forEach(function (chr) { B[chr] = chr; });- return $assign({}, A)[symbol] != 7 || objectKeys$2($assign({}, B)).join('') != alphabet;- }) ? function assign(target, source) { // eslint-disable-line no-unused-vars -- required for `.length`- var T = toObject$2(target);- var argumentsLength = arguments.length;- var index = 1;- var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;- var propertyIsEnumerable = propertyIsEnumerableModule.f;- while (argumentsLength > index) {- var S = IndexedObject$2(arguments[index++]);- var keys = getOwnPropertySymbols ? concat(objectKeys$2(S), getOwnPropertySymbols(S)) : objectKeys$2(S);- var length = keys.length;- var j = 0;- var key;- while (length > j) {- key = keys[j++];- if (!DESCRIPTORS$2 || call$3(propertyIsEnumerable, S, key)) T[key] = S[key];- }- } return T;- } : $assign;-- var $$a = _export;- var assign = objectAssign;-- // `Object.assign` method- // https://tc39.es/ecma262/#sec-object.assign- // eslint-disable-next-line es/no-object-assign -- required for testing- $$a({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }, {- assign: assign- });-- var wellKnownSymbol$8 = wellKnownSymbol$a;-- var TO_STRING_TAG$1 = wellKnownSymbol$8('toStringTag');- var test = {};-- test[TO_STRING_TAG$1] = 'z';-- var toStringTagSupport = String(test) === '[object z]';-- var TO_STRING_TAG_SUPPORT$2 = toStringTagSupport;- var isCallable$2 = isCallable$d;- var classofRaw$1 = classofRaw$2;- var wellKnownSymbol$7 = wellKnownSymbol$a;-- var TO_STRING_TAG = wellKnownSymbol$7('toStringTag');- var $Object = Object;-- // ES3 wrong here- var CORRECT_ARGUMENTS = classofRaw$1(function () { return arguments; }()) == 'Arguments';-- // fallback for IE11 Script Access Denied error- var tryGet = function (it, key) {- try {- return it[key];- } catch (error) { /* empty */ }- };-- // getting tag from ES6+ `Object.prototype.toString`- var classof$6 = TO_STRING_TAG_SUPPORT$2 ? classofRaw$1 : function (it) {- var O, tag, result;- return it === undefined ? 'Undefined' : it === null ? 'Null'- // @@toStringTag case- : typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag- // builtinTag case- : CORRECT_ARGUMENTS ? classofRaw$1(O)- // ES3 arguments fallback- : (result = classofRaw$1(O)) == 'Object' && isCallable$2(O.callee) ? 'Arguments' : result;- };-- var classof$5 = classof$6;-- var $String = String;-- var toString$5 = function (argument) {- if (classof$5(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string');- return $String(argument);- };-- var anObject$4 = anObject$7;-- // `RegExp.prototype.flags` getter implementation- // https://tc39.es/ecma262/#sec-get-regexp.prototype.flags- var regexpFlags$1 = function () {- var that = anObject$4(this);- var result = '';- if (that.hasIndices) result += 'd';- if (that.global) result += 'g';- if (that.ignoreCase) result += 'i';- if (that.multiline) result += 'm';- if (that.dotAll) result += 's';- if (that.unicode) result += 'u';- if (that.unicodeSets) result += 'v';- if (that.sticky) result += 'y';- return result;- };-- var fails$9 = fails$j;- var global$3 = global$d;-- // babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError- var $RegExp$2 = global$3.RegExp;-- var UNSUPPORTED_Y$1 = fails$9(function () {- var re = $RegExp$2('a', 'y');- re.lastIndex = 2;- return re.exec('abcd') != null;- });-- // UC Browser bug- // https://github.com/zloirock/core-js/issues/1008- var MISSED_STICKY = UNSUPPORTED_Y$1 || fails$9(function () {- return !$RegExp$2('a', 'y').sticky;- });-- var BROKEN_CARET = UNSUPPORTED_Y$1 || fails$9(function () {- // https://bugzilla.mozilla.org/show_bug.cgi?id=773687- var re = $RegExp$2('^r', 'gy');- re.lastIndex = 2;- return re.exec('str') != null;- });-- var regexpStickyHelpers = {- BROKEN_CARET: BROKEN_CARET,- MISSED_STICKY: MISSED_STICKY,- UNSUPPORTED_Y: UNSUPPORTED_Y$1- };-- var objectDefineProperties = {};-- var DESCRIPTORS$1 = descriptors;- var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;- var definePropertyModule$1 = objectDefineProperty;- var anObject$3 = anObject$7;- var toIndexedObject$2 = toIndexedObject$6;- var objectKeys$1 = objectKeys$3;-- // `Object.defineProperties` method- // https://tc39.es/ecma262/#sec-object.defineproperties- // eslint-disable-next-line es/no-object-defineproperties -- safe- objectDefineProperties.f = DESCRIPTORS$1 && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {- anObject$3(O);- var props = toIndexedObject$2(Properties);- var keys = objectKeys$1(Properties);- var length = keys.length;- var index = 0;- var key;- while (length > index) definePropertyModule$1.f(O, key = keys[index++], props[key]);- return O;- };-- var getBuiltIn$1 = getBuiltIn$4;-- var html$1 = getBuiltIn$1('document', 'documentElement');-- /* global ActiveXObject -- old IE, WSH */-- var anObject$2 = anObject$7;- var definePropertiesModule = objectDefineProperties;- var enumBugKeys = enumBugKeys$3;- var hiddenKeys = hiddenKeys$4;- var html = html$1;- var documentCreateElement = documentCreateElement$1;- var sharedKey = sharedKey$2;-- var GT = '>';- var LT = '<';- var PROTOTYPE = 'prototype';- var SCRIPT = 'script';- var IE_PROTO = sharedKey('IE_PROTO');-- var EmptyConstructor = function () { /* empty */ };-- var scriptTag = function (content) {- return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT;- };-- // Create object with fake `null` prototype: use ActiveX Object with cleared prototype- var NullProtoObjectViaActiveX = function (activeXDocument) {- activeXDocument.write(scriptTag(''));- activeXDocument.close();- var temp = activeXDocument.parentWindow.Object;- activeXDocument = null; // avoid memory leak- return temp;- };-- // Create object with fake `null` prototype: use iframe Object with cleared prototype- var NullProtoObjectViaIFrame = function () {- // Thrash, waste and sodomy: IE GC bug- var iframe = documentCreateElement('iframe');- var JS = 'java' + SCRIPT + ':';- var iframeDocument;- iframe.style.display = 'none';- html.appendChild(iframe);- // https://github.com/zloirock/core-js/issues/475- iframe.src = String(JS);- iframeDocument = iframe.contentWindow.document;- iframeDocument.open();- iframeDocument.write(scriptTag('document.F=Object'));- iframeDocument.close();- return iframeDocument.F;- };-- // Check for document.domain and active x support- // No need to use active x approach when document.domain is not set- // see https://github.com/es-shims/es5-shim/issues/150- // variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346- // avoid IE GC bug- var activeXDocument;- var NullProtoObject = function () {- try {- activeXDocument = new ActiveXObject('htmlfile');- } catch (error) { /* ignore */ }- NullProtoObject = typeof document != 'undefined'- ? document.domain && activeXDocument- ? NullProtoObjectViaActiveX(activeXDocument) // old IE- : NullProtoObjectViaIFrame()- : NullProtoObjectViaActiveX(activeXDocument); // WSH- var length = enumBugKeys.length;- while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];- return NullProtoObject();- };-- hiddenKeys[IE_PROTO] = true;-- // `Object.create` method- // https://tc39.es/ecma262/#sec-object.create- // eslint-disable-next-line es/no-object-create -- safe- var objectCreate = Object.create || function create(O, Properties) {- var result;- if (O !== null) {- EmptyConstructor[PROTOTYPE] = anObject$2(O);- result = new EmptyConstructor();- EmptyConstructor[PROTOTYPE] = null;- // add "__proto__" for Object.getPrototypeOf polyfill- result[IE_PROTO] = O;- } else result = NullProtoObject();- return Properties === undefined ? result : definePropertiesModule.f(result, Properties);- };-- var fails$8 = fails$j;- var global$2 = global$d;-- // babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError- var $RegExp$1 = global$2.RegExp;-- var regexpUnsupportedDotAll = fails$8(function () {- var re = $RegExp$1('.', 's');- return !(re.dotAll && re.exec('\n') && re.flags === 's');- });-- var fails$7 = fails$j;- var global$1 = global$d;-- // babel-minify and Closure Compiler transpiles RegExp('(?<a>b)', 'g') -> /(?<a>b)/g and it causes SyntaxError- var $RegExp = global$1.RegExp;-- var regexpUnsupportedNcg = fails$7(function () {- var re = $RegExp('(?<a>b)', 'g');- return re.exec('b').groups.a !== 'b' ||- 'b'.replace(re, '$<a>c') !== 'bc';- });-- /* eslint-disable regexp/no-empty-capturing-group, regexp/no-empty-group, regexp/no-lazy-ends -- testing */- /* eslint-disable regexp/no-useless-quantifier -- testing */- var call$2 = functionCall;- var uncurryThis$a = functionUncurryThis;- var toString$4 = toString$5;- var regexpFlags = regexpFlags$1;- var stickyHelpers = regexpStickyHelpers;- var shared = sharedExports;- var create$1 = objectCreate;- var getInternalState = internalState.get;- var UNSUPPORTED_DOT_ALL = regexpUnsupportedDotAll;- var UNSUPPORTED_NCG = regexpUnsupportedNcg;-- var nativeReplace = shared('native-string-replace', String.prototype.replace);- var nativeExec = RegExp.prototype.exec;- var patchedExec = nativeExec;- var charAt = uncurryThis$a(''.charAt);- var indexOf = uncurryThis$a(''.indexOf);- var replace$1 = uncurryThis$a(''.replace);- var stringSlice = uncurryThis$a(''.slice);-- var UPDATES_LAST_INDEX_WRONG = (function () {- var re1 = /a/;- var re2 = /b*/g;- call$2(nativeExec, re1, 'a');- call$2(nativeExec, re2, 'a');- return re1.lastIndex !== 0 || re2.lastIndex !== 0;- })();-- var UNSUPPORTED_Y = stickyHelpers.BROKEN_CARET;-- // nonparticipating capturing group, copied from es5-shim's String#split patch.- var NPCG_INCLUDED = /()??/.exec('')[1] !== undefined;-- var PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED || UNSUPPORTED_Y || UNSUPPORTED_DOT_ALL || UNSUPPORTED_NCG;-- if (PATCH) {- patchedExec = function exec(string) {- var re = this;- var state = getInternalState(re);- var str = toString$4(string);- var raw = state.raw;- var result, reCopy, lastIndex, match, i, object, group;-- if (raw) {- raw.lastIndex = re.lastIndex;- result = call$2(patchedExec, raw, str);- re.lastIndex = raw.lastIndex;- return result;- }-- var groups = state.groups;- var sticky = UNSUPPORTED_Y && re.sticky;- var flags = call$2(regexpFlags, re);- var source = re.source;- var charsAdded = 0;- var strCopy = str;-- if (sticky) {- flags = replace$1(flags, 'y', '');- if (indexOf(flags, 'g') === -1) {- flags += 'g';- }-- strCopy = stringSlice(str, re.lastIndex);- // Support anchored sticky behavior.- if (re.lastIndex > 0 && (!re.multiline || re.multiline && charAt(str, re.lastIndex - 1) !== '\n')) {- source = '(?: ' + source + ')';- strCopy = ' ' + strCopy;- charsAdded++;- }- // ^(? + rx + ) is needed, in combination with some str slicing, to- // simulate the 'y' flag.- reCopy = new RegExp('^(?:' + source + ')', flags);- }-- if (NPCG_INCLUDED) {- reCopy = new RegExp('^' + source + '$(?!\\s)', flags);- }- if (UPDATES_LAST_INDEX_WRONG) lastIndex = re.lastIndex;-- match = call$2(nativeExec, sticky ? reCopy : re, strCopy);-- if (sticky) {- if (match) {- match.input = stringSlice(match.input, charsAdded);- match[0] = stringSlice(match[0], charsAdded);- match.index = re.lastIndex;- re.lastIndex += match[0].length;- } else re.lastIndex = 0;- } else if (UPDATES_LAST_INDEX_WRONG && match) {- re.lastIndex = re.global ? match.index + match[0].length : lastIndex;- }- if (NPCG_INCLUDED && match && match.length > 1) {- // Fix browsers whose `exec` methods don't consistently return `undefined`- // for NPCG, like IE8. NOTE: This doesn't work for /(.?)?/- call$2(nativeReplace, match[0], reCopy, function () {- for (i = 1; i < arguments.length - 2; i++) {- if (arguments[i] === undefined) match[i] = undefined;- }- });- }-- if (match && groups) {- match.groups = object = create$1(null);- for (i = 0; i < groups.length; i++) {- group = groups[i];- object[group[0]] = match[group[1]];- }- }-- return match;- };- }-- var regexpExec$2 = patchedExec;-- var $$9 = _export;- var exec$1 = regexpExec$2;-- // `RegExp.prototype.exec` method- // https://tc39.es/ecma262/#sec-regexp.prototype.exec- $$9({ target: 'RegExp', proto: true, forced: /./.exec !== exec$1 }, {- exec: exec$1- });-- var classofRaw = classofRaw$2;- var uncurryThis$9 = functionUncurryThis;-- var functionUncurryThisClause = function (fn) {- // Nashorn bug:- // https://github.com/zloirock/core-js/issues/1128- // https://github.com/zloirock/core-js/issues/1130- if (classofRaw(fn) === 'Function') return uncurryThis$9(fn);- };-- // TODO: Remove from `core-js@4` since it's moved to entry points-- var uncurryThis$8 = functionUncurryThisClause;- var defineBuiltIn$1 = defineBuiltIn$3;- var regexpExec$1 = regexpExec$2;- var fails$6 = fails$j;- var wellKnownSymbol$6 = wellKnownSymbol$a;- var createNonEnumerableProperty = createNonEnumerableProperty$3;-- var SPECIES$2 = wellKnownSymbol$6('species');- var RegExpPrototype = RegExp.prototype;-- var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {- var SYMBOL = wellKnownSymbol$6(KEY);-- var DELEGATES_TO_SYMBOL = !fails$6(function () {- // String methods call symbol-named RegEp methods- var O = {};- O[SYMBOL] = function () { return 7; };- return ''[KEY](O) != 7;- });-- var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails$6(function () {- // Symbol-named RegExp methods call .exec- var execCalled = false;- var re = /a/;-- if (KEY === 'split') {- // We can't use real regex here since it causes deoptimization- // and serious performance degradation in V8- // https://github.com/zloirock/core-js/issues/306- re = {};- // RegExp[@@split] doesn't call the regex's exec method, but first creates- // a new one. We need to return the patched regex when creating the new one.- re.constructor = {};- re.constructor[SPECIES$2] = function () { return re; };- re.flags = '';- re[SYMBOL] = /./[SYMBOL];- }-- re.exec = function () { execCalled = true; return null; };-- re[SYMBOL]('');- return !execCalled;- });-- if (- !DELEGATES_TO_SYMBOL ||- !DELEGATES_TO_EXEC ||- FORCED- ) {- var uncurriedNativeRegExpMethod = uncurryThis$8(/./[SYMBOL]);- var methods = exec(SYMBOL, ''[KEY], function (nativeMethod, regexp, str, arg2, forceStringMethod) {- var uncurriedNativeMethod = uncurryThis$8(nativeMethod);- var $exec = regexp.exec;- if ($exec === regexpExec$1 || $exec === RegExpPrototype.exec) {- if (DELEGATES_TO_SYMBOL && !forceStringMethod) {- // The native String method already delegates to @@method (this- // polyfilled function), leasing to infinite recursion.- // We avoid it by directly calling the native @@method method.- return { done: true, value: uncurriedNativeRegExpMethod(regexp, str, arg2) };- }- return { done: true, value: uncurriedNativeMethod(str, regexp, arg2) };- }- return { done: false };- });-- defineBuiltIn$1(String.prototype, KEY, methods[0]);- defineBuiltIn$1(RegExpPrototype, SYMBOL, methods[1]);- }-- if (SHAM) createNonEnumerableProperty(RegExpPrototype[SYMBOL], 'sham', true);- };-- // `SameValue` abstract operation- // https://tc39.es/ecma262/#sec-samevalue- // eslint-disable-next-line es/no-object-is -- safe- var sameValue$1 = Object.is || function is(x, y) {- // eslint-disable-next-line no-self-compare -- NaN check- return x === y ? x !== 0 || 1 / x === 1 / y : x != x && y != y;- };-- var call$1 = functionCall;- var anObject$1 = anObject$7;- var isCallable$1 = isCallable$d;- var classof$4 = classofRaw$2;- var regexpExec = regexpExec$2;-- var $TypeError$2 = TypeError;-- // `RegExpExec` abstract operation- // https://tc39.es/ecma262/#sec-regexpexec- var regexpExecAbstract = function (R, S) {- var exec = R.exec;- if (isCallable$1(exec)) {- var result = call$1(exec, R, S);- if (result !== null) anObject$1(result);- return result;- }- if (classof$4(R) === 'RegExp') return call$1(regexpExec, R, S);- throw $TypeError$2('RegExp#exec called on incompatible receiver');- };-- var call = functionCall;- var fixRegExpWellKnownSymbolLogic = fixRegexpWellKnownSymbolLogic;- var anObject = anObject$7;- var isNullOrUndefined = isNullOrUndefined$3;- var requireObjectCoercible$2 = requireObjectCoercible$5;- var sameValue = sameValue$1;- var toString$3 = toString$5;- var getMethod = getMethod$2;- var regExpExec = regexpExecAbstract;-- // @@search logic- fixRegExpWellKnownSymbolLogic('search', function (SEARCH, nativeSearch, maybeCallNative) {- return [- // `String.prototype.search` method- // https://tc39.es/ecma262/#sec-string.prototype.search- function search(regexp) {- var O = requireObjectCoercible$2(this);- var searcher = isNullOrUndefined(regexp) ? undefined : getMethod(regexp, SEARCH);- return searcher ? call(searcher, regexp, O) : new RegExp(regexp)[SEARCH](toString$3(O));- },- // `RegExp.prototype[@@search]` method- // https://tc39.es/ecma262/#sec-regexp.prototype-@@search- function (string) {- var rx = anObject(this);- var S = toString$3(string);- var res = maybeCallNative(nativeSearch, rx, S);-- if (res.done) return res.value;-- var previousLastIndex = rx.lastIndex;- if (!sameValue(previousLastIndex, 0)) rx.lastIndex = 0;- var result = regExpExec(rx, S);- if (!sameValue(rx.lastIndex, previousLastIndex)) rx.lastIndex = previousLastIndex;- return result === null ? -1 : result.index;- }- ];- });-- var fails$5 = fails$j;-- var arrayMethodIsStrict$2 = function (METHOD_NAME, argument) {- var method = [][METHOD_NAME];- return !!method && fails$5(function () {- // eslint-disable-next-line no-useless-call -- required for testing- method.call(null, argument || function () { return 1; }, 1);- });- };-- var $$8 = _export;- var uncurryThis$7 = functionUncurryThis;- var IndexedObject$1 = indexedObject;- var toIndexedObject$1 = toIndexedObject$6;- var arrayMethodIsStrict$1 = arrayMethodIsStrict$2;-- var nativeJoin = uncurryThis$7([].join);-- var ES3_STRINGS = IndexedObject$1 != Object;- var FORCED$2 = ES3_STRINGS || !arrayMethodIsStrict$1('join', ',');-- // `Array.prototype.join` method- // https://tc39.es/ecma262/#sec-array.prototype.join- $$8({ target: 'Array', proto: true, forced: FORCED$2 }, {- join: function join(separator) {- return nativeJoin(toIndexedObject$1(this), separator === undefined ? ',' : separator);- }- });-- var uncurryThis$6 = functionUncurryThisClause;- var aCallable = aCallable$2;- var NATIVE_BIND = functionBindNative;-- var bind$1 = uncurryThis$6(uncurryThis$6.bind);-- // optional / simple context binding- var functionBindContext = function (fn, that) {- aCallable(fn);- return that === undefined ? fn : NATIVE_BIND ? bind$1(fn, that) : function (/* ...args */) {- return fn.apply(that, arguments);- };- };-- var classof$3 = classofRaw$2;-- // `IsArray` abstract operation- // https://tc39.es/ecma262/#sec-isarray- // eslint-disable-next-line es/no-array-isarray -- safe- var isArray$2 = Array.isArray || function isArray(argument) {- return classof$3(argument) == 'Array';- };-- var uncurryThis$5 = functionUncurryThis;- var fails$4 = fails$j;- var isCallable = isCallable$d;- var classof$2 = classof$6;- var getBuiltIn = getBuiltIn$4;- var inspectSource = inspectSource$2;-- var noop = function () { /* empty */ };- var empty = [];- var construct = getBuiltIn('Reflect', 'construct');- var constructorRegExp = /^\s*(?:class|function)\b/;- var exec = uncurryThis$5(constructorRegExp.exec);- var INCORRECT_TO_STRING = !constructorRegExp.exec(noop);-- var isConstructorModern = function isConstructor(argument) {- if (!isCallable(argument)) return false;- try {- construct(noop, empty, argument);- return true;- } catch (error) {- return false;- }- };-- var isConstructorLegacy = function isConstructor(argument) {- if (!isCallable(argument)) return false;- switch (classof$2(argument)) {- case 'AsyncFunction':- case 'GeneratorFunction':- case 'AsyncGeneratorFunction': return false;- }- try {- // we can't check .prototype since constructors produced by .bind haven't it- // `Function#toString` throws on some built-it function in some legacy engines- // (for example, `DOMQuad` and similar in FF41-)- return INCORRECT_TO_STRING || !!exec(constructorRegExp, inspectSource(argument));- } catch (error) {- return true;- }- };-- isConstructorLegacy.sham = true;-- // `IsConstructor` abstract operation- // https://tc39.es/ecma262/#sec-isconstructor- var isConstructor$1 = !construct || fails$4(function () {- var called;- return isConstructorModern(isConstructorModern.call)- || !isConstructorModern(Object)- || !isConstructorModern(function () { called = true; })- || called;- }) ? isConstructorLegacy : isConstructorModern;-- var isArray$1 = isArray$2;- var isConstructor = isConstructor$1;- var isObject$2 = isObject$8;- var wellKnownSymbol$5 = wellKnownSymbol$a;-- var SPECIES$1 = wellKnownSymbol$5('species');- var $Array = Array;-- // a part of `ArraySpeciesCreate` abstract operation- // https://tc39.es/ecma262/#sec-arrayspeciescreate- var arraySpeciesConstructor$1 = function (originalArray) {- var C;- if (isArray$1(originalArray)) {- C = originalArray.constructor;- // cross-realm fallback- if (isConstructor(C) && (C === $Array || isArray$1(C.prototype))) C = undefined;- else if (isObject$2(C)) {- C = C[SPECIES$1];- if (C === null) C = undefined;- }- } return C === undefined ? $Array : C;- };-- var arraySpeciesConstructor = arraySpeciesConstructor$1;-- // `ArraySpeciesCreate` abstract operation- // https://tc39.es/ecma262/#sec-arrayspeciescreate- var arraySpeciesCreate$2 = function (originalArray, length) {- return new (arraySpeciesConstructor(originalArray))(length === 0 ? 0 : length);- };-- var bind = functionBindContext;- var uncurryThis$4 = functionUncurryThis;- var IndexedObject = indexedObject;- var toObject$1 = toObject$4;- var lengthOfArrayLike$1 = lengthOfArrayLike$3;- var arraySpeciesCreate$1 = arraySpeciesCreate$2;-- var push$1 = uncurryThis$4([].push);-- // `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterReject }` methods implementation- var createMethod$2 = function (TYPE) {- var IS_MAP = TYPE == 1;- var IS_FILTER = TYPE == 2;- var IS_SOME = TYPE == 3;- var IS_EVERY = TYPE == 4;- var IS_FIND_INDEX = TYPE == 6;- var IS_FILTER_REJECT = TYPE == 7;- var NO_HOLES = TYPE == 5 || IS_FIND_INDEX;- return function ($this, callbackfn, that, specificCreate) {- var O = toObject$1($this);- var self = IndexedObject(O);- var boundFunction = bind(callbackfn, that);- var length = lengthOfArrayLike$1(self);- var index = 0;- var create = specificCreate || arraySpeciesCreate$1;- var target = IS_MAP ? create($this, length) : IS_FILTER || IS_FILTER_REJECT ? create($this, 0) : undefined;- var value, result;- for (;length > index; index++) if (NO_HOLES || index in self) {- value = self[index];- result = boundFunction(value, index, O);- if (TYPE) {- if (IS_MAP) target[index] = result; // map- else if (result) switch (TYPE) {- case 3: return true; // some- case 5: return value; // find- case 6: return index; // findIndex- case 2: push$1(target, value); // filter- } else switch (TYPE) {- case 4: return false; // every- case 7: push$1(target, value); // filterReject- }- }- }- return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : target;- };- };-- var arrayIteration = {- // `Array.prototype.forEach` method- // https://tc39.es/ecma262/#sec-array.prototype.foreach- forEach: createMethod$2(0),- // `Array.prototype.map` method- // https://tc39.es/ecma262/#sec-array.prototype.map- map: createMethod$2(1),- // `Array.prototype.filter` method- // https://tc39.es/ecma262/#sec-array.prototype.filter- filter: createMethod$2(2),- // `Array.prototype.some` method- // https://tc39.es/ecma262/#sec-array.prototype.some- some: createMethod$2(3),- // `Array.prototype.every` method- // https://tc39.es/ecma262/#sec-array.prototype.every- every: createMethod$2(4),- // `Array.prototype.find` method- // https://tc39.es/ecma262/#sec-array.prototype.find- find: createMethod$2(5),- // `Array.prototype.findIndex` method- // https://tc39.es/ecma262/#sec-array.prototype.findIndex- findIndex: createMethod$2(6),- // `Array.prototype.filterReject` method- // https://github.com/tc39/proposal-array-filtering- filterReject: createMethod$2(7)- };-- var wellKnownSymbol$4 = wellKnownSymbol$a;- var create = objectCreate;- var defineProperty = objectDefineProperty.f;-- var UNSCOPABLES = wellKnownSymbol$4('unscopables');- var ArrayPrototype = Array.prototype;-- // Array.prototype[@@unscopables]- // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables- if (ArrayPrototype[UNSCOPABLES] == undefined) {- defineProperty(ArrayPrototype, UNSCOPABLES, {- configurable: true,- value: create(null)- });- }-- // add a key to Array.prototype[@@unscopables]- var addToUnscopables$2 = function (key) {- ArrayPrototype[UNSCOPABLES][key] = true;- };-- var $$7 = _export;- var $find = arrayIteration.find;- var addToUnscopables$1 = addToUnscopables$2;-- var FIND = 'find';- var SKIPS_HOLES = true;-- // Shouldn't skip holes- if (FIND in []) Array(1)[FIND](function () { SKIPS_HOLES = false; });-- // `Array.prototype.find` method- // https://tc39.es/ecma262/#sec-array.prototype.find- $$7({ target: 'Array', proto: true, forced: SKIPS_HOLES }, {- find: function find(callbackfn /* , that = undefined */) {- return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);- }- });-- // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables- addToUnscopables$1(FIND);-- var TO_STRING_TAG_SUPPORT$1 = toStringTagSupport;- var classof$1 = classof$6;-- // `Object.prototype.toString` method implementation- // https://tc39.es/ecma262/#sec-object.prototype.tostring- var objectToString = TO_STRING_TAG_SUPPORT$1 ? {}.toString : function toString() {- return '[object ' + classof$1(this) + ']';- };-- var TO_STRING_TAG_SUPPORT = toStringTagSupport;- var defineBuiltIn = defineBuiltIn$3;- var toString$2 = objectToString;-- // `Object.prototype.toString` method- // https://tc39.es/ecma262/#sec-object.prototype.tostring- if (!TO_STRING_TAG_SUPPORT) {- defineBuiltIn(Object.prototype, 'toString', toString$2, { unsafe: true });- }-- var $TypeError$1 = TypeError;- var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; // 2 ** 53 - 1 == 9007199254740991-- var doesNotExceedSafeInteger$1 = function (it) {- if (it > MAX_SAFE_INTEGER) throw $TypeError$1('Maximum allowed index exceeded');- return it;- };-- var toPropertyKey = toPropertyKey$3;- var definePropertyModule = objectDefineProperty;- var createPropertyDescriptor = createPropertyDescriptor$3;-- var createProperty$1 = function (object, key, value) {- var propertyKey = toPropertyKey(key);- if (propertyKey in object) definePropertyModule.f(object, propertyKey, createPropertyDescriptor(0, value));- else object[propertyKey] = value;- };-- var fails$3 = fails$j;- var wellKnownSymbol$3 = wellKnownSymbol$a;- var V8_VERSION$1 = engineV8Version;-- var SPECIES = wellKnownSymbol$3('species');-- var arrayMethodHasSpeciesSupport$2 = function (METHOD_NAME) {- // We can't use this feature detection in V8 since it causes- // deoptimization and serious performance degradation- // https://github.com/zloirock/core-js/issues/677- return V8_VERSION$1 >= 51 || !fails$3(function () {- var array = [];- var constructor = array.constructor = {};- constructor[SPECIES] = function () {- return { foo: 1 };- };- return array[METHOD_NAME](Boolean).foo !== 1;- });- };-- var $$6 = _export;- var fails$2 = fails$j;- var isArray = isArray$2;- var isObject$1 = isObject$8;- var toObject = toObject$4;- var lengthOfArrayLike = lengthOfArrayLike$3;- var doesNotExceedSafeInteger = doesNotExceedSafeInteger$1;- var createProperty = createProperty$1;- var arraySpeciesCreate = arraySpeciesCreate$2;- var arrayMethodHasSpeciesSupport$1 = arrayMethodHasSpeciesSupport$2;- var wellKnownSymbol$2 = wellKnownSymbol$a;- var V8_VERSION = engineV8Version;-- var IS_CONCAT_SPREADABLE = wellKnownSymbol$2('isConcatSpreadable');-- // We can't use this feature detection in V8 since it causes- // deoptimization and serious performance degradation- // https://github.com/zloirock/core-js/issues/679- var IS_CONCAT_SPREADABLE_SUPPORT = V8_VERSION >= 51 || !fails$2(function () {- var array = [];- array[IS_CONCAT_SPREADABLE] = false;- return array.concat()[0] !== array;- });-- var isConcatSpreadable = function (O) {- if (!isObject$1(O)) return false;- var spreadable = O[IS_CONCAT_SPREADABLE];- return spreadable !== undefined ? !!spreadable : isArray(O);- };-- var FORCED$1 = !IS_CONCAT_SPREADABLE_SUPPORT || !arrayMethodHasSpeciesSupport$1('concat');-- // `Array.prototype.concat` method- // https://tc39.es/ecma262/#sec-array.prototype.concat- // with adding support of @@isConcatSpreadable and @@species- $$6({ target: 'Array', proto: true, arity: 1, forced: FORCED$1 }, {- // eslint-disable-next-line no-unused-vars -- required for `.length`- concat: function concat(arg) {- var O = toObject(this);- var A = arraySpeciesCreate(O, 0);- var n = 0;- var i, k, length, len, E;- for (i = -1, length = arguments.length; i < length; i++) {- E = i === -1 ? O : arguments[i];- if (isConcatSpreadable(E)) {- len = lengthOfArrayLike(E);- doesNotExceedSafeInteger(n + len);- for (k = 0; k < len; k++, n++) if (k in E) createProperty(A, n, E[k]);- } else {- doesNotExceedSafeInteger(n + 1);- createProperty(A, n++, E);- }- }- A.length = n;- return A;- }- });-- var $$5 = _export;- var $filter = arrayIteration.filter;- var arrayMethodHasSpeciesSupport = arrayMethodHasSpeciesSupport$2;-- var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('filter');-- // `Array.prototype.filter` method- // https://tc39.es/ecma262/#sec-array.prototype.filter- // with adding support of @@species- $$5({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {- filter: function filter(callbackfn /* , thisArg */) {- return $filter(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);- }- });-- var DESCRIPTORS = descriptors;- var uncurryThis$3 = functionUncurryThis;- var objectKeys = objectKeys$3;- var toIndexedObject = toIndexedObject$6;- var $propertyIsEnumerable = objectPropertyIsEnumerable.f;-- var propertyIsEnumerable = uncurryThis$3($propertyIsEnumerable);- var push = uncurryThis$3([].push);-- // `Object.{ entries, values }` methods implementation- var createMethod$1 = function (TO_ENTRIES) {- return function (it) {- var O = toIndexedObject(it);- var keys = objectKeys(O);- var length = keys.length;- var i = 0;- var result = [];- var key;- while (length > i) {- key = keys[i++];- if (!DESCRIPTORS || propertyIsEnumerable(O, key)) {- push(result, TO_ENTRIES ? [key, O[key]] : O[key]);- }- }- return result;- };- };-- var objectToArray = {- // `Object.entries` method- // https://tc39.es/ecma262/#sec-object.entries- entries: createMethod$1(true),- // `Object.values` method- // https://tc39.es/ecma262/#sec-object.values- values: createMethod$1(false)- };-- var $$4 = _export;- var $entries = objectToArray.entries;-- // `Object.entries` method- // https://tc39.es/ecma262/#sec-object.entries- $$4({ target: 'Object', stat: true }, {- entries: function entries(O) {- return $entries(O);- }- });-- /* eslint-disable es/no-array-prototype-indexof -- required for testing */- var $$3 = _export;- var uncurryThis$2 = functionUncurryThisClause;- var $indexOf = arrayIncludes.indexOf;- var arrayMethodIsStrict = arrayMethodIsStrict$2;-- var nativeIndexOf = uncurryThis$2([].indexOf);-- var NEGATIVE_ZERO = !!nativeIndexOf && 1 / nativeIndexOf([1], 1, -0) < 0;- var FORCED = NEGATIVE_ZERO || !arrayMethodIsStrict('indexOf');-- // `Array.prototype.indexOf` method- // https://tc39.es/ecma262/#sec-array.prototype.indexof- $$3({ target: 'Array', proto: true, forced: FORCED }, {- indexOf: function indexOf(searchElement /* , fromIndex = 0 */) {- var fromIndex = arguments.length > 1 ? arguments[1] : undefined;- return NEGATIVE_ZERO- // convert -0 to +0- ? nativeIndexOf(this, searchElement, fromIndex) || 0- : $indexOf(this, searchElement, fromIndex);- }- });-- var $$2 = _export;- var $includes = arrayIncludes.includes;- var fails$1 = fails$j;- var addToUnscopables = addToUnscopables$2;-- // FF99+ bug- var BROKEN_ON_SPARSE = fails$1(function () {- // eslint-disable-next-line es/no-array-prototype-includes -- detection- return !Array(1).includes();- });-- // `Array.prototype.includes` method- // https://tc39.es/ecma262/#sec-array.prototype.includes- $$2({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE }, {- includes: function includes(el /* , fromIndex = 0 */) {- return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);- }- });-- // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables- addToUnscopables('includes');-- var isObject = isObject$8;- var classof = classofRaw$2;- var wellKnownSymbol$1 = wellKnownSymbol$a;-- var MATCH$1 = wellKnownSymbol$1('match');-- // `IsRegExp` abstract operation- // https://tc39.es/ecma262/#sec-isregexp- var isRegexp = function (it) {- var isRegExp;- return isObject(it) && ((isRegExp = it[MATCH$1]) !== undefined ? !!isRegExp : classof(it) == 'RegExp');- };-- var isRegExp = isRegexp;-- var $TypeError = TypeError;-- var notARegexp = function (it) {- if (isRegExp(it)) {- throw $TypeError("The method doesn't accept regular expressions");- } return it;- };-- var wellKnownSymbol = wellKnownSymbol$a;-- var MATCH = wellKnownSymbol('match');-- var correctIsRegexpLogic = function (METHOD_NAME) {- var regexp = /./;- try {- '/./'[METHOD_NAME](regexp);- } catch (error1) {- try {- regexp[MATCH] = false;- return '/./'[METHOD_NAME](regexp);- } catch (error2) { /* empty */ }- } return false;- };-- var $$1 = _export;- var uncurryThis$1 = functionUncurryThis;- var notARegExp = notARegexp;- var requireObjectCoercible$1 = requireObjectCoercible$5;- var toString$1 = toString$5;- var correctIsRegExpLogic = correctIsRegexpLogic;-- var stringIndexOf = uncurryThis$1(''.indexOf);-- // `String.prototype.includes` method- // https://tc39.es/ecma262/#sec-string.prototype.includes- $$1({ target: 'String', proto: true, forced: !correctIsRegExpLogic('includes') }, {- includes: function includes(searchString /* , position = 0 */) {- return !!~stringIndexOf(- toString$1(requireObjectCoercible$1(this)),- toString$1(notARegExp(searchString)),- arguments.length > 1 ? arguments[1] : undefined- );- }- });-- // a string of all valid unicode whitespaces- var whitespaces$2 = '\u0009\u000A\u000B\u000C\u000D\u0020\u00A0\u1680\u2000\u2001\u2002' +- '\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF';-- var uncurryThis = functionUncurryThis;- var requireObjectCoercible = requireObjectCoercible$5;- var toString = toString$5;- var whitespaces$1 = whitespaces$2;-- var replace = uncurryThis(''.replace);- var ltrim = RegExp('^[' + whitespaces$1 + ']+');- var rtrim = RegExp('(^|[^' + whitespaces$1 + '])[' + whitespaces$1 + ']+$');-- // `String.prototype.{ trim, trimStart, trimEnd, trimLeft, trimRight }` methods implementation- var createMethod = function (TYPE) {- return function ($this) {- var string = toString(requireObjectCoercible($this));- if (TYPE & 1) string = replace(string, ltrim, '');- if (TYPE & 2) string = replace(string, rtrim, '$1');- return string;- };- };-- var stringTrim = {- // `String.prototype.{ trimLeft, trimStart }` methods- // https://tc39.es/ecma262/#sec-string.prototype.trimstart- start: createMethod(1),- // `String.prototype.{ trimRight, trimEnd }` methods- // https://tc39.es/ecma262/#sec-string.prototype.trimend- end: createMethod(2),- // `String.prototype.trim` method- // https://tc39.es/ecma262/#sec-string.prototype.trim- trim: createMethod(3)- };-- var PROPER_FUNCTION_NAME = functionName.PROPER;- var fails = fails$j;- var whitespaces = whitespaces$2;-- var non = '\u200B\u0085\u180E';-- // check that a method works with the correct list- // of whitespaces and has a correct name- var stringTrimForced = function (METHOD_NAME) {- return fails(function () {- return !!whitespaces[METHOD_NAME]()- || non[METHOD_NAME]() !== non- || (PROPER_FUNCTION_NAME && whitespaces[METHOD_NAME].name !== METHOD_NAME);- });- };-- var $ = _export;- var $trim = stringTrim.trim;- var forcedStringTrimMethod = stringTrimForced;-- // `String.prototype.trim` method- // https://tc39.es/ecma262/#sec-string.prototype.trim- $({ target: 'String', proto: true, forced: forcedStringTrimMethod('trim') }, {- trim: function trim() {- return $trim(this);- }- });-- /**- * @author: aperez <[email protected]>- * @version: v2.0.0- *- * @update Dennis Hernández- * @update zhixin wen <[email protected]>- */-- var Utils = $$b.fn.bootstrapTable.utils;- var theme = {- bootstrap3: {- icons: {- advancedSearchIcon: 'glyphicon-chevron-down'- },- classes: {},- html: {- modal: "\n <div id=\"avdSearchModal_%s\" class=\"modal fade\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"mySmallModalLabel\" aria-hidden=\"true\">\n <div class=\"modal-dialog modal-xs\">\n <div class=\"modal-content\">\n <div class=\"modal-header\">\n <button type=\"button\" class=\"close\" data-dismiss=\"modal\" aria-label=\"Close\">\n <span aria-hidden=\"true\">×</span>\n </button>\n <h4 class=\"modal-title\">%s</h4>\n </div>\n <div class=\"modal-body modal-body-custom\">\n <div class=\"container-fluid\" id=\"avdSearchModalContent_%s\"\n style=\"padding-right: 0px; padding-left: 0px;\" >\n </div>\n </div>\n <div class=\"modal-footer\">\n <button type=\"button\" id=\"btnCloseAvd_%s\" class=\"btn btn-%s\">%s</button>\n </div>\n </div>\n </div>\n </div>\n "- }- },- bootstrap4: {- icons: {- advancedSearchIcon: 'fa-chevron-down'- },- classes: {},- html: {- modal: "\n <div id=\"avdSearchModal_%s\" class=\"modal fade\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"mySmallModalLabel\" aria-hidden=\"true\">\n <div class=\"modal-dialog modal-xs\">\n <div class=\"modal-content\">\n <div class=\"modal-header\">\n <h4 class=\"modal-title\">%s</h4>\n <button type=\"button\" class=\"close\" data-dismiss=\"modal\" aria-label=\"Close\">\n <span aria-hidden=\"true\">×</span>\n </button>\n </div>\n <div class=\"modal-body modal-body-custom\">\n <div class=\"container-fluid\" id=\"avdSearchModalContent_%s\"\n style=\"padding-right: 0; padding-left: 0;\" >\n </div>\n </div>\n <div class=\"modal-footer\">\n <button type=\"button\" id=\"btnCloseAvd_%s\" class=\"btn btn-%s\">%s</button>\n </div>\n </div>\n </div>\n </div>\n "- }- },- bootstrap5: {- icons: {- advancedSearchIcon: 'bi-chevron-down'- },- classes: {- formGroup: 'mb-3'- },- html: {- modal: "\n <div id=\"avdSearchModal_%s\" class=\"modal fade\" tabindex=\"-1\" aria-labelledby=\"mySmallModalLabel\" aria-hidden=\"true\">\n <div class=\"modal-dialog modal-xs\">\n <div class=\"modal-content\">\n <div class=\"modal-header\">\n <h5 class=\"modal-title\">%s</h5>\n <button type=\"button\" class=\"btn-close\" data-bs-dismiss=\"modal\" aria-label=\"Close\"></button>\n </div>\n <div class=\"modal-body modal-body-custom\">\n <div class=\"container-fluid\" id=\"avdSearchModalContent_%s\"\n style=\"padding-right: 0; padding-left: 0;\" >\n </div>\n </div>\n <div class=\"modal-footer\">\n <button type=\"button\" id=\"btnCloseAvd_%s\" class=\"btn btn-%s\">%s</button>\n </div>\n </div>\n </div>\n </div>\n "- }- },- bulma: {- icons: {- advancedSearchIcon: 'fa-chevron-down'- },- classes: {},- html: {- modal: "\n <div class=\"modal\" id=\"avdSearchModal_%s\">\n <div class=\"modal-background\"></div>\n <div class=\"modal-card\">\n <header class=\"modal-card-head\">\n <p class=\"modal-card-title\">%s</p>\n <button class=\"delete\" aria-label=\"close\"></button>\n </header>\n <section class=\"modal-card-body\" id=\"avdSearchModalContent_%s\"></section>\n <footer class=\"modal-card-foot\">\n <button class=\"button\" id=\"btnCloseAvd_%s\" data-close=\"btn btn-%s\">%s</button>\n </footer>\n </div>\n </div>\n "- }- },- foundation: {- icons: {- advancedSearchIcon: 'fa-chevron-down'- },- classes: {},- html: {- modal: "\n <div class=\"reveal\" id=\"avdSearchModal_%s\" data-reveal>\n <h1>%s</h1>\n <div id=\"avdSearchModalContent_%s\">\n\n </div>\n <button class=\"close-button\" data-close aria-label=\"Close modal\" type=\"button\">\n <span aria-hidden=\"true\">×</span>\n </button>\n\n <button id=\"btnCloseAvd_%s\" class=\"%s\" type=\"button\">%s</button>\n </div>\n "- }- },- materialize: {- icons: {- advancedSearchIcon: 'expand_more'- },- classes: {},- html: {- modal: "\n <div id=\"avdSearchModal_%s\" class=\"modal\">\n <div class=\"modal-content\">\n <h4>%s</h4>\n <div id=\"avdSearchModalContent_%s\">\n\n </div>\n </div>\n <div class=\"modal-footer\">\n <a href=\"javascript:void(0)\"\" id=\"btnCloseAvd_%s\" class=\"modal-close waves-effect waves-green btn-flat %s\">%s</a>\n </div>\n </div>\n "- }- },- semantic: {- icons: {- advancedSearchIcon: 'fa-chevron-down'- },- classes: {},- html: {- modal: "\n <div class=\"ui modal\" id=\"avdSearchModal_%s\">\n <i class=\"close icon\"></i>\n <div class=\"header\">\n %s\n </div>\n <div class=\"image content ui form\" id=\"avdSearchModalContent_%s\"></div>\n <div class=\"actions\">\n <div id=\"btnCloseAvd_%s\" class=\"ui black deny button %s\">%s</div>\n </div>\n </div>\n "- }- }- }[$$b.fn.bootstrapTable.theme];- Object.assign($$b.fn.bootstrapTable.defaults, {- advancedSearch: false,- idForm: 'advancedSearch',- actionForm: '',- idTable: undefined,- // eslint-disable-next-line no-unused-vars- onColumnAdvancedSearch: function onColumnAdvancedSearch(field, text) {- return false;- }- });- Object.assign($$b.fn.bootstrapTable.defaults.icons, {- advancedSearchIcon: theme.icons.advancedSearchIcon- });- Object.assign($$b.fn.bootstrapTable.events, {- 'column-advanced-search.bs.table': 'onColumnAdvancedSearch'- });- Object.assign($$b.fn.bootstrapTable.locales, {- formatAdvancedSearch: function formatAdvancedSearch() {- return 'Advanced search';- },- formatAdvancedCloseButton: function formatAdvancedCloseButton() {- return 'Close';- }- });- Object.assign($$b.fn.bootstrapTable.defaults, $$b.fn.bootstrapTable.locales);- $$b.BootstrapTable = /*#__PURE__*/function (_$$BootstrapTable) {- _inherits(_class, _$$BootstrapTable);- var _super = _createSuper(_class);- function _class() {- _classCallCheck(this, _class);- return _super.apply(this, arguments);- }- _createClass(_class, [{- key: "initToolbar",- value: function initToolbar() {- var o = this.options;- this.showToolbar = this.showToolbar || o.search && o.advancedSearch && o.idTable;- if (o.search && o.advancedSearch && o.idTable) {- this.buttons = Object.assign(this.buttons, {- advancedSearch: {- text: this.options.formatAdvancedSearch(),- icon: this.options.icons.advancedSearchIcon,- event: this.showAvdSearch,- attributes: {- 'aria-label': this.options.formatAdvancedSearch(),- title: this.options.formatAdvancedSearch()- }- }- });- }- _get(_getPrototypeOf(_class.prototype), "initToolbar", this).call(this);- }- }, {- key: "showAvdSearch",- value: function showAvdSearch() {- var _this = this;- var o = this.options;- var modalSelector = "#avdSearchModal_".concat(o.idTable);- if ($$b(modalSelector).length <= 0) {- $$b('body').append(Utils.sprintf(theme.html.modal, o.idTable, o.formatAdvancedSearch(), o.idTable, o.idTable, o.buttonsClass, o.formatAdvancedCloseButton()));- var timeoutId = 0;- $$b("#avdSearchModalContent_".concat(o.idTable)).append(this.createFormAvd().join(''));- $$b("#".concat(o.idForm)).off('keyup blur', 'input').on('keyup blur', 'input', function (e) {- if (o.sidePagination === 'server') {- _this.onColumnAdvancedSearch(e);- } else {- clearTimeout(timeoutId);- timeoutId = setTimeout(function () {- _this.onColumnAdvancedSearch(e);- }, o.searchTimeOut);- }- });- $$b("#btnCloseAvd_".concat(o.idTable)).click(function () {- return _this.hideModal();- });- if ($$b.fn.bootstrapTable.theme === 'bulma') {- $$b(modalSelector).find('.delete').off('click').on('click', function () {- return _this.hideModal();- });- }- this.showModal();- } else {- this.showModal();- }- }- }, {- key: "showModal",- value: function showModal() {- var modalSelector = "#avdSearchModal_".concat(this.options.idTable);- if ($$b.inArray($$b.fn.bootstrapTable.theme, ['bootstrap3', 'bootstrap4']) !== -1) {- $$b(modalSelector).modal();- } else if ($$b.fn.bootstrapTable.theme === 'bootstrap5') {- if (!this.toolbarModal) {- // eslint-disable-next-line no-undef- this.toolbarModal = new bootstrap.Modal(document.getElementById("avdSearchModal_".concat(this.options.idTable)), {});- }- this.toolbarModal.show();- } else if ($$b.fn.bootstrapTable.theme === 'bulma') {- $$b(modalSelector).toggleClass('is-active');- } else if ($$b.fn.bootstrapTable.theme === 'foundation') {- if (!this.toolbarModal) {- // eslint-disable-next-line no-undef- this.toolbarModal = new Foundation.Reveal($$b(modalSelector));- }- this.toolbarModal.open();- } else if ($$b.fn.bootstrapTable.theme === 'materialize') {- $$b(modalSelector).modal();- $$b(modalSelector).modal('open');- } else if ($$b.fn.bootstrapTable.theme === 'semantic') {- $$b(modalSelector).modal('show');- }- }- }, {- key: "hideModal",- value: function hideModal() {- var $closeModalButton = $$b("#avdSearchModal_".concat(this.options.idTable));- var modalSelector = "#avdSearchModal_".concat(this.options.idTable);- if ($$b.inArray($$b.fn.bootstrapTable.theme, ['bootstrap3', 'bootstrap4']) !== -1) {- $closeModalButton.modal('hide');- } else if ($$b.fn.bootstrapTable.theme === 'bootstrap5') {- this.toolbarModal.hide();- } else if ($$b.fn.bootstrapTable.theme === 'bulma') {- $$b('html').toggleClass('is-clipped');- $$b(modalSelector).toggleClass('is-active');- } else if ($$b.fn.bootstrapTable.theme === 'foundation') {- this.toolbarModal.close();- } else if ($$b.fn.bootstrapTable.theme === 'materialize') {- $$b(modalSelector).modal('open');- } else if ($$b.fn.bootstrapTable.theme === 'semantic') {- $$b(modalSelector).modal('close');- }- if (this.options.sidePagination === 'server') {- this.options.pageNumber = 1;- this.updatePagination();- this.trigger('column-advanced-search', this.filterColumnsPartial);- }- }- }, {- key: "createFormAvd",- value: function createFormAvd() {- var o = this.options;- var html = ["<form class=\"form-horizontal\" id=\"".concat(o.idForm, "\" action=\"").concat(o.actionForm, "\">")];- var _iterator = _createForOfIteratorHelper(this.columns),- _step;- try {- for (_iterator.s(); !(_step = _iterator.n()).done;) {- var column = _step.value;- if (!column.checkbox && column.visible && column.searchable) {- html.push("\n <div class=\"form-group row ".concat(theme.classes.formGroup || '', "\">\n <label class=\"col-sm-4 control-label\">").concat(column.title, "</label>\n <div class=\"col-sm-6\">\n <input type=\"text\" class=\"form-control ").concat(this.constants.classes.input, "\" name=\"").concat(column.field, "\" placeholder=\"").concat(column.title, "\" id=\"").concat(column.field, "\">\n </div>\n </div>\n "));- }- }- } catch (err) {- _iterator.e(err);- } finally {- _iterator.f();- }- html.push('</form>');- return html;- }- }, {- key: "initSearch",- value: function initSearch() {- var _this2 = this;- _get(_getPrototypeOf(_class.prototype), "initSearch", this).call(this);- if (!this.options.advancedSearch || this.options.sidePagination === 'server') {- return;- }- var fp = $$b.isEmptyObject(this.filterColumnsPartial) ? null : this.filterColumnsPartial;- this.data = fp ? this.data.filter(function (item, i) {- for (var _i = 0, _Object$entries = Object.entries(fp); _i < _Object$entries.length; _i++) {- var _Object$entries$_i = _slicedToArray(_Object$entries[_i], 2),- key = _Object$entries$_i[0],- v = _Object$entries$_i[1];- var fval = v.toLowerCase();- var value = item[key];- var index = _this2.header.fields.indexOf(key);- value = Utils.calculateObjectValue(_this2.header, _this2.header.formatters[index], [value, item, i], value);- if (!(index !== -1 && (typeof value === 'string' || typeof value === 'number') && "".concat(value).toLowerCase().includes(fval))) {- return false;- }- }- return true;- }) : this.data;- this.unsortedData = _toConsumableArray(this.data);- }- }, {- key: "onColumnAdvancedSearch",- value: function onColumnAdvancedSearch(e) {- var text = $$b(e.currentTarget).val().trim();- var $field = $$b(e.currentTarget)[0].id;- if ($$b.isEmptyObject(this.filterColumnsPartial)) {- this.filterColumnsPartial = {};- }- if (text) {- this.filterColumnsPartial[$field] = text;- } else {- delete this.filterColumnsPartial[$field];- }- if (this.options.sidePagination !== 'server') {- this.options.pageNumber = 1;- this.initSearch();- this.updatePagination();- this.trigger('column-advanced-search', $field, text);- }- }- }]);- return _class;- }($$b.BootstrapTable);--}));++!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],t):(e="undefined"!=typeof globalThis?globalThis:e||self).BootstrapTable=t(e.jQuery)}(this,(function(e){"use strict";function t(e){return t="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},t(e)}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function n(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,(a=n.key,o=void 0,"symbol"==typeof(o=function(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(a,"string"))?o:String(o)),n)}var a,o}function a(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,a,o,i,s=[],c=!0,l=!1;try{if(o=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=o.call(r)).done)&&(s.push(n.value),s.length!==t);c=!0);}catch(e){l=!0,a=e}finally{try{if(!c&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(l)throw a}}return s}}(e,t)||s(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 i(e){return function(e){if(Array.isArray(e))return c(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||s(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 s(e,t){if(e){if("string"==typeof e)return c(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?c(e,t):void 0}}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function l(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=s(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,a=function(){};return{s:a,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:a}}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 o,i=!0,c=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return i=e.done,e},e:function(e){c=!0,o=e},f:function(){try{i||null==r.return||r.return()}finally{if(c)throw o}}}}var u="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},f=function(e){return e&&e.Math==Math&&e},h=f("object"==typeof globalThis&&globalThis)||f("object"==typeof window&&window)||f("object"==typeof self&&self)||f("object"==typeof u&&u)||function(){return this}()||Function("return this")(),d={},p=function(e){try{return!!e()}catch(e){return!0}},g=!p((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),m=!p((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})),v=m,b=Function.prototype.call,y=v?b.bind(b):function(){return b.apply(b,arguments)},w={},S={}.propertyIsEnumerable,x=Object.getOwnPropertyDescriptor,A=x&&!S.call({1:2},1);w.f=A?function(e){var t=x(this,e);return!!t&&t.enumerable}:S;var k,T,E=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},_=m,N=Function.prototype,C=N.call,O=_&&N.bind.bind(C,C),R=_?O:function(e){return function(){return C.apply(e,arguments)}},P=R,L=P({}.toString),I=P("".slice),F=function(e){return I(L(e),8,-1)},D=p,M=F,j=Object,B=R("".split),W=D((function(){return!j("z").propertyIsEnumerable(0)}))?function(e){return"String"==M(e)?B(e,""):j(e)}:j,U=function(e){return null==e},H=U,z=TypeError,V=function(e){if(H(e))throw z("Can't call method on "+e);return e},q=W,$=V,G=function(e){return q($(e))},X="object"==typeof document&&document.all,Y={all:X,IS_HTMLDDA:void 0===X&&void 0!==X},K=Y.all,J=Y.IS_HTMLDDA?function(e){return"function"==typeof e||e===K}:function(e){return"function"==typeof e},Z=J,Q=Y.all,ee=Y.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:Z(e)||e===Q}:function(e){return"object"==typeof e?null!==e:Z(e)},te=h,re=J,ne=function(e,t){return arguments.length<2?(r=te[e],re(r)?r:void 0):te[e]&&te[e][t];var r},ae=R({}.isPrototypeOf),oe="undefined"!=typeof navigator&&String(navigator.userAgent)||"",ie=h,se=oe,ce=ie.process,le=ie.Deno,ue=ce&&ce.versions||le&&le.version,fe=ue&&ue.v8;fe&&(T=(k=fe.split("."))[0]>0&&k[0]<4?1:+(k[0]+k[1])),!T&&se&&(!(k=se.match(/Edge\/(\d+)/))||k[1]>=74)&&(k=se.match(/Chrome\/(\d+)/))&&(T=+k[1]);var he=T,de=he,pe=p,ge=!!Object.getOwnPropertySymbols&&!pe((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&de&&de<41})),me=ge&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,ve=ne,be=J,ye=ae,we=Object,Se=me?function(e){return"symbol"==typeof e}:function(e){var t=ve("Symbol");return be(t)&&ye(t.prototype,we(e))},xe=String,Ae=function(e){try{return xe(e)}catch(e){return"Object"}},ke=J,Te=Ae,Ee=TypeError,_e=function(e){if(ke(e))return e;throw Ee(Te(e)+" is not a function")},Ne=_e,Ce=U,Oe=function(e,t){var r=e[t];return Ce(r)?void 0:Ne(r)},Re=y,Pe=J,Le=ee,Ie=TypeError,Fe={},De={get exports(){return Fe},set exports(e){Fe=e}},Me=h,je=Object.defineProperty,Be=function(e,t){try{je(Me,e,{value:t,configurable:!0,writable:!0})}catch(r){Me[e]=t}return t},We=Be,Ue="__core-js_shared__",He=h[Ue]||We(Ue,{}),ze=He;(De.exports=function(e,t){return ze[e]||(ze[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.29.0",mode:"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.29.0/LICENSE",source:"https://github.com/zloirock/core-js"});var Ve=V,qe=Object,$e=function(e){return qe(Ve(e))},Ge=$e,Xe=R({}.hasOwnProperty),Ye=Object.hasOwn||function(e,t){return Xe(Ge(e),t)},Ke=R,Je=0,Ze=Math.random(),Qe=Ke(1..toString),et=function(e){return"Symbol("+(void 0===e?"":e)+")_"+Qe(++Je+Ze,36)},tt=Fe,rt=Ye,nt=et,at=ge,ot=me,it=h.Symbol,st=tt("wks"),ct=ot?it.for||it:it&&it.withoutSetter||nt,lt=function(e){return rt(st,e)||(st[e]=at&&rt(it,e)?it[e]:ct("Symbol."+e)),st[e]},ut=y,ft=ee,ht=Se,dt=Oe,pt=function(e,t){var r,n;if("string"===t&&Pe(r=e.toString)&&!Le(n=Re(r,e)))return n;if(Pe(r=e.valueOf)&&!Le(n=Re(r,e)))return n;if("string"!==t&&Pe(r=e.toString)&&!Le(n=Re(r,e)))return n;throw Ie("Can't convert object to primitive value")},gt=TypeError,mt=lt("toPrimitive"),vt=function(e,t){if(!ft(e)||ht(e))return e;var r,n=dt(e,mt);if(n){if(void 0===t&&(t="default"),r=ut(n,e,t),!ft(r)||ht(r))return r;throw gt("Can't convert object to primitive value")}return void 0===t&&(t="number"),pt(e,t)},bt=vt,yt=Se,wt=function(e){var t=bt(e,"string");return yt(t)?t:t+""},St=ee,xt=h.document,At=St(xt)&&St(xt.createElement),kt=function(e){return At?xt.createElement(e):{}},Tt=kt,Et=!g&&!p((function(){return 7!=Object.defineProperty(Tt("div"),"a",{get:function(){return 7}}).a})),_t=g,Nt=y,Ct=w,Ot=E,Rt=G,Pt=wt,Lt=Ye,It=Et,Ft=Object.getOwnPropertyDescriptor;d.f=_t?Ft:function(e,t){if(e=Rt(e),t=Pt(t),It)try{return Ft(e,t)}catch(e){}if(Lt(e,t))return Ot(!Nt(Ct.f,e,t),e[t])};var Dt={},Mt=g&&p((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),jt=ee,Bt=String,Wt=TypeError,Ut=function(e){if(jt(e))return e;throw Wt(Bt(e)+" is not an object")},Ht=g,zt=Et,Vt=Mt,qt=Ut,$t=wt,Gt=TypeError,Xt=Object.defineProperty,Yt=Object.getOwnPropertyDescriptor,Kt="enumerable",Jt="configurable",Zt="writable";Dt.f=Ht?Vt?function(e,t,r){if(qt(e),t=$t(t),qt(r),"function"==typeof e&&"prototype"===t&&"value"in r&&Zt in r&&!r[Zt]){var n=Yt(e,t);n&&n[Zt]&&(e[t]=r.value,r={configurable:Jt in r?r[Jt]:n[Jt],enumerable:Kt in r?r[Kt]:n[Kt],writable:!1})}return Xt(e,t,r)}:Xt:function(e,t,r){if(qt(e),t=$t(t),qt(r),zt)try{return Xt(e,t,r)}catch(e){}if("get"in r||"set"in r)throw Gt("Accessors not supported");return"value"in r&&(e[t]=r.value),e};var Qt=Dt,er=E,tr=g?function(e,t,r){return Qt.f(e,t,er(1,r))}:function(e,t,r){return e[t]=r,e},rr={},nr={get exports(){return rr},set exports(e){rr=e}},ar=g,or=Ye,ir=Function.prototype,sr=ar&&Object.getOwnPropertyDescriptor,cr=or(ir,"name"),lr={EXISTS:cr,PROPER:cr&&"something"===function(){}.name,CONFIGURABLE:cr&&(!ar||ar&&sr(ir,"name").configurable)},ur=J,fr=He,hr=R(Function.toString);ur(fr.inspectSource)||(fr.inspectSource=function(e){return hr(e)});var dr,pr,gr,mr=fr.inspectSource,vr=J,br=h.WeakMap,yr=vr(br)&&/native code/.test(String(br)),wr=et,Sr=Fe("keys"),xr=function(e){return Sr[e]||(Sr[e]=wr(e))},Ar={},kr=yr,Tr=h,Er=ee,_r=tr,Nr=Ye,Cr=He,Or=xr,Rr=Ar,Pr="Object already initialized",Lr=Tr.TypeError,Ir=Tr.WeakMap;if(kr||Cr.state){var Fr=Cr.state||(Cr.state=new Ir);Fr.get=Fr.get,Fr.has=Fr.has,Fr.set=Fr.set,dr=function(e,t){if(Fr.has(e))throw Lr(Pr);return t.facade=e,Fr.set(e,t),t},pr=function(e){return Fr.get(e)||{}},gr=function(e){return Fr.has(e)}}else{var Dr=Or("state");Rr[Dr]=!0,dr=function(e,t){if(Nr(e,Dr))throw Lr(Pr);return t.facade=e,_r(e,Dr,t),t},pr=function(e){return Nr(e,Dr)?e[Dr]:{}},gr=function(e){return Nr(e,Dr)}}var Mr={set:dr,get:pr,has:gr,enforce:function(e){return gr(e)?pr(e):dr(e,{})},getterFor:function(e){return function(t){var r;if(!Er(t)||(r=pr(t)).type!==e)throw Lr("Incompatible receiver, "+e+" required");return r}}},jr=R,Br=p,Wr=J,Ur=Ye,Hr=g,zr=lr.CONFIGURABLE,Vr=mr,qr=Mr.enforce,$r=Mr.get,Gr=String,Xr=Object.defineProperty,Yr=jr("".slice),Kr=jr("".replace),Jr=jr([].join),Zr=Hr&&!Br((function(){return 8!==Xr((function(){}),"length",{value:8}).length})),Qr=String(String).split("String"),en=nr.exports=function(e,t,r){"Symbol("===Yr(Gr(t),0,7)&&(t="["+Kr(Gr(t),/^Symbol\(([^)]*)\)/,"$1")+"]"),r&&r.getter&&(t="get "+t),r&&r.setter&&(t="set "+t),(!Ur(e,"name")||zr&&e.name!==t)&&(Hr?Xr(e,"name",{value:t,configurable:!0}):e.name=t),Zr&&r&&Ur(r,"arity")&&e.length!==r.arity&&Xr(e,"length",{value:r.arity});try{r&&Ur(r,"constructor")&&r.constructor?Hr&&Xr(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var n=qr(e);return Ur(n,"source")||(n.source=Jr(Qr,"string"==typeof t?t:"")),e};Function.prototype.toString=en((function(){return Wr(this)&&$r(this).source||Vr(this)}),"toString");var tn=J,rn=Dt,nn=rr,an=Be,on=function(e,t,r,n){n||(n={});var a=n.enumerable,o=void 0!==n.name?n.name:t;if(tn(r)&&nn(r,o,n),n.global)a?e[t]=r:an(t,r);else{try{n.unsafe?e[t]&&(a=!0):delete e[t]}catch(e){}a?e[t]=r:rn.f(e,t,{value:r,enumerable:!1,configurable:!n.nonConfigurable,writable:!n.nonWritable})}return e},sn={},cn=Math.ceil,ln=Math.floor,un=Math.trunc||function(e){var t=+e;return(t>0?ln:cn)(t)},fn=function(e){var t=+e;return t!=t||0===t?0:un(t)},hn=fn,dn=Math.max,pn=Math.min,gn=function(e,t){var r=hn(e);return r<0?dn(r+t,0):pn(r,t)},mn=fn,vn=Math.min,bn=function(e){return e>0?vn(mn(e),9007199254740991):0},yn=bn,wn=function(e){return yn(e.length)},Sn=G,xn=gn,An=wn,kn=function(e){return function(t,r,n){var a,o=Sn(t),i=An(o),s=xn(n,i);if(e&&r!=r){for(;i>s;)if((a=o[s++])!=a)return!0}else for(;i>s;s++)if((e||s in o)&&o[s]===r)return e||s||0;return!e&&-1}},Tn={includes:kn(!0),indexOf:kn(!1)},En=Ye,_n=G,Nn=Tn.indexOf,Cn=Ar,On=R([].push),Rn=function(e,t){var r,n=_n(e),a=0,o=[];for(r in n)!En(Cn,r)&&En(n,r)&&On(o,r);for(;t.length>a;)En(n,r=t[a++])&&(~Nn(o,r)||On(o,r));return o},Pn=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Ln=Rn,In=Pn.concat("length","prototype");sn.f=Object.getOwnPropertyNames||function(e){return Ln(e,In)};var Fn={};Fn.f=Object.getOwnPropertySymbols;var Dn=ne,Mn=sn,jn=Fn,Bn=Ut,Wn=R([].concat),Un=Dn("Reflect","ownKeys")||function(e){var t=Mn.f(Bn(e)),r=jn.f;return r?Wn(t,r(e)):t},Hn=Ye,zn=Un,Vn=d,qn=Dt,$n=p,Gn=J,Xn=/#|\.prototype\./,Yn=function(e,t){var r=Jn[Kn(e)];return r==Qn||r!=Zn&&(Gn(t)?$n(t):!!t)},Kn=Yn.normalize=function(e){return String(e).replace(Xn,".").toLowerCase()},Jn=Yn.data={},Zn=Yn.NATIVE="N",Qn=Yn.POLYFILL="P",ea=Yn,ta=h,ra=d.f,na=tr,aa=on,oa=Be,ia=function(e,t,r){for(var n=zn(t),a=qn.f,o=Vn.f,i=0;i<n.length;i++){var s=n[i];Hn(e,s)||r&&Hn(r,s)||a(e,s,o(t,s))}},sa=ea,ca=function(e,t){var r,n,a,o,i,s=e.target,c=e.global,l=e.stat;if(r=c?ta:l?ta[s]||oa(s,{}):(ta[s]||{}).prototype)for(n in t){if(o=t[n],a=e.dontCallGetSet?(i=ra(r,n))&&i.value:r[n],!sa(c?n:s+(l?".":"#")+n,e.forced)&&void 0!==a){if(typeof o==typeof a)continue;ia(o,a)}(e.sham||a&&a.sham)&&na(o,"sham",!0),aa(r,n,o,e)}},la=Rn,ua=Pn,fa=Object.keys||function(e){return la(e,ua)},ha=g,da=R,pa=y,ga=p,ma=fa,va=Fn,ba=w,ya=$e,wa=W,Sa=Object.assign,xa=Object.defineProperty,Aa=da([].concat),ka=!Sa||ga((function(){if(ha&&1!==Sa({b:1},Sa(xa({},"a",{enumerable:!0,get:function(){xa(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},r=Symbol(),n="abcdefghijklmnopqrst";return e[r]=7,n.split("").forEach((function(e){t[e]=e})),7!=Sa({},e)[r]||ma(Sa({},t)).join("")!=n}))?function(e,t){for(var r=ya(e),n=arguments.length,a=1,o=va.f,i=ba.f;n>a;)for(var s,c=wa(arguments[a++]),l=o?Aa(ma(c),o(c)):ma(c),u=l.length,f=0;u>f;)s=l[f++],ha&&!pa(i,c,s)||(r[s]=c[s]);return r}:Sa,Ta=ka;ca({target:"Object",stat:!0,arity:2,forced:Object.assign!==Ta},{assign:Ta});var Ea={};Ea[lt("toStringTag")]="z";var _a="[object z]"===String(Ea),Na=_a,Ca=J,Oa=F,Ra=lt("toStringTag"),Pa=Object,La="Arguments"==Oa(function(){return arguments}()),Ia=Na?Oa:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=Pa(e),Ra))?r:La?Oa(t):"Object"==(n=Oa(t))&&Ca(t.callee)?"Arguments":n},Fa=Ia,Da=String,Ma=function(e){if("Symbol"===Fa(e))throw TypeError("Cannot convert a Symbol value to a string");return Da(e)},ja="\t\n\v\f\r \u2028\u2029\ufeff",Ba=V,Wa=Ma,Ua=ja,Ha=R("".replace),za=RegExp("^["+Ua+"]+"),Va=RegExp("(^|[^"+Ua+"])["+Ua+"]+$"),qa=function(e){return function(t){var r=Wa(Ba(t));return 1&e&&(r=Ha(r,za,"")),2&e&&(r=Ha(r,Va,"$1")),r}},$a={start:qa(1),end:qa(2),trim:qa(3)},Ga=lr.PROPER,Xa=p,Ya=ja,Ka=$a.trim;ca({target:"String",proto:!0,forced:function(e){return Xa((function(){return!!Ya[e]()||" "!==" "[e]()||Ga&&Ya[e].name!==e}))}("trim")},{trim:function(){return Ka(this)}});var Ja=p,Za=function(e,t){var r=[][e];return!!r&&Ja((function(){r.call(null,t||function(){return 1},1)}))},Qa=ca,eo=W,to=G,ro=Za,no=R([].join);Qa({target:"Array",proto:!0,forced:eo!=Object||!ro("join",",")},{join:function(e){return no(to(this),void 0===e?",":e)}});var ao=Ut,oo=function(){var e=ao(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t},io=p,so=h.RegExp,co=io((function(){var e=so("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),lo=co||io((function(){return!so("a","y").sticky})),uo={BROKEN_CARET:co||io((function(){var e=so("^r","gy");return e.lastIndex=2,null!=e.exec("str")})),MISSED_STICKY:lo,UNSUPPORTED_Y:co},fo={},ho=g,po=Mt,go=Dt,mo=Ut,vo=G,bo=fa;fo.f=ho&&!po?Object.defineProperties:function(e,t){mo(e);for(var r,n=vo(t),a=bo(t),o=a.length,i=0;o>i;)go.f(e,r=a[i++],n[r]);return e};var yo,wo=ne("document","documentElement"),So=Ut,xo=fo,Ao=Pn,ko=Ar,To=wo,Eo=kt,_o="prototype",No="script",Co=xr("IE_PROTO"),Oo=function(){},Ro=function(e){return"<"+No+">"+e+"</"+No+">"},Po=function(e){e.write(Ro("")),e.close();var t=e.parentWindow.Object;return e=null,t},Lo=function(){try{yo=new ActiveXObject("htmlfile")}catch(e){}var e,t,r;Lo="undefined"!=typeof document?document.domain&&yo?Po(yo):(t=Eo("iframe"),r="java"+No+":",t.style.display="none",To.appendChild(t),t.src=String(r),(e=t.contentWindow.document).open(),e.write(Ro("document.F=Object")),e.close(),e.F):Po(yo);for(var n=Ao.length;n--;)delete Lo[_o][Ao[n]];return Lo()};ko[Co]=!0;var Io=Object.create||function(e,t){var r;return null!==e?(Oo[_o]=So(e),r=new Oo,Oo[_o]=null,r[Co]=e):r=Lo(),void 0===t?r:xo.f(r,t)},Fo=p,Do=h.RegExp,Mo=Fo((function(){var e=Do(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)})),jo=p,Bo=h.RegExp,Wo=jo((function(){var e=Bo("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")})),Uo=y,Ho=R,zo=Ma,Vo=oo,qo=uo,$o=Io,Go=Mr.get,Xo=Mo,Yo=Wo,Ko=Fe("native-string-replace",String.prototype.replace),Jo=RegExp.prototype.exec,Zo=Jo,Qo=Ho("".charAt),ei=Ho("".indexOf),ti=Ho("".replace),ri=Ho("".slice),ni=function(){var e=/a/,t=/b*/g;return Uo(Jo,e,"a"),Uo(Jo,t,"a"),0!==e.lastIndex||0!==t.lastIndex}(),ai=qo.BROKEN_CARET,oi=void 0!==/()??/.exec("")[1];(ni||oi||ai||Xo||Yo)&&(Zo=function(e){var t,r,n,a,o,i,s,c=this,l=Go(c),u=zo(e),f=l.raw;if(f)return f.lastIndex=c.lastIndex,t=Uo(Zo,f,u),c.lastIndex=f.lastIndex,t;var h=l.groups,d=ai&&c.sticky,p=Uo(Vo,c),g=c.source,m=0,v=u;if(d&&(p=ti(p,"y",""),-1===ei(p,"g")&&(p+="g"),v=ri(u,c.lastIndex),c.lastIndex>0&&(!c.multiline||c.multiline&&"\n"!==Qo(u,c.lastIndex-1))&&(g="(?: "+g+")",v=" "+v,m++),r=new RegExp("^(?:"+g+")",p)),oi&&(r=new RegExp("^"+g+"$(?!\\s)",p)),ni&&(n=c.lastIndex),a=Uo(Jo,d?r:c,v),d?a?(a.input=ri(a.input,m),a[0]=ri(a[0],m),a.index=c.lastIndex,c.lastIndex+=a[0].length):c.lastIndex=0:ni&&a&&(c.lastIndex=c.global?a.index+a[0].length:n),oi&&a&&a.length>1&&Uo(Ko,a[0],r,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(a[o]=void 0)})),a&&h)for(a.groups=i=$o(null),o=0;o<h.length;o++)i[(s=h[o])[0]]=a[s[1]];return a});var ii=Zo;ca({target:"RegExp",proto:!0,forced:/./.exec!==ii},{exec:ii});var si=m,ci=Function.prototype,li=ci.apply,ui=ci.call,fi="object"==typeof Reflect&&Reflect.apply||(si?ui.bind(li):function(){return ui.apply(li,arguments)}),hi=F,di=R,pi=function(e){if("Function"===hi(e))return di(e)},gi=pi,mi=on,vi=ii,bi=p,yi=lt,wi=tr,Si=yi("species"),xi=RegExp.prototype,Ai=function(e,t,r,n){var a=yi(e),o=!bi((function(){var t={};return t[a]=function(){return 7},7!=""[e](t)})),i=o&&!bi((function(){var t=!1,r=/a/;return"split"===e&&((r={}).constructor={},r.constructor[Si]=function(){return r},r.flags="",r[a]=/./[a]),r.exec=function(){return t=!0,null},r[a](""),!t}));if(!o||!i||r){var s=gi(/./[a]),c=t(a,""[e],(function(e,t,r,n,a){var i=gi(e),c=t.exec;return c===vi||c===xi.exec?o&&!a?{done:!0,value:s(t,r,n)}:{done:!0,value:i(r,t,n)}:{done:!1}}));mi(String.prototype,e,c[0]),mi(xi,a,c[1])}n&&wi(xi[a],"sham",!0)},ki=ee,Ti=F,Ei=lt("match"),_i=function(e){var t;return ki(e)&&(void 0!==(t=e[Ei])?!!t:"RegExp"==Ti(e))},Ni=R,Ci=p,Oi=J,Ri=Ia,Pi=mr,Li=function(){},Ii=[],Fi=ne("Reflect","construct"),Di=/^\s*(?:class|function)\b/,Mi=Ni(Di.exec),ji=!Di.exec(Li),Bi=function(e){if(!Oi(e))return!1;try{return Fi(Li,Ii,e),!0}catch(e){return!1}},Wi=function(e){if(!Oi(e))return!1;switch(Ri(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return ji||!!Mi(Di,Pi(e))}catch(e){return!0}};Wi.sham=!0;var Ui=!Fi||Ci((function(){var e;return Bi(Bi.call)||!Bi(Object)||!Bi((function(){e=!0}))||e}))?Wi:Bi,Hi=Ui,zi=Ae,Vi=TypeError,qi=Ut,$i=function(e){if(Hi(e))return e;throw Vi(zi(e)+" is not a constructor")},Gi=U,Xi=lt("species"),Yi=R,Ki=fn,Ji=Ma,Zi=V,Qi=Yi("".charAt),es=Yi("".charCodeAt),ts=Yi("".slice),rs=function(e){return function(t,r){var n,a,o=Ji(Zi(t)),i=Ki(r),s=o.length;return i<0||i>=s?e?"":void 0:(n=es(o,i))<55296||n>56319||i+1===s||(a=es(o,i+1))<56320||a>57343?e?Qi(o,i):n:e?ts(o,i,i+2):a-56320+(n-55296<<10)+65536}},ns={codeAt:rs(!1),charAt:rs(!0)}.charAt,as=function(e,t,r){return t+(r?ns(e,t).length:1)},os=wt,is=Dt,ss=E,cs=function(e,t,r){var n=os(t);n in e?is.f(e,n,ss(0,r)):e[n]=r},ls=gn,us=wn,fs=cs,hs=Array,ds=Math.max,ps=function(e,t,r){for(var n=us(e),a=ls(t,n),o=ls(void 0===r?n:r,n),i=hs(ds(o-a,0)),s=0;a<o;a++,s++)fs(i,s,e[a]);return i.length=s,i},gs=y,ms=Ut,vs=J,bs=F,ys=ii,ws=TypeError,Ss=function(e,t){var r=e.exec;if(vs(r)){var n=gs(r,e,t);return null!==n&&ms(n),n}if("RegExp"===bs(e))return gs(ys,e,t);throw ws("RegExp#exec called on incompatible receiver")},xs=fi,As=y,ks=R,Ts=Ai,Es=Ut,_s=U,Ns=_i,Cs=V,Os=function(e,t){var r,n=qi(e).constructor;return void 0===n||Gi(r=qi(n)[Xi])?t:$i(r)},Rs=as,Ps=bn,Ls=Ma,Is=Oe,Fs=ps,Ds=Ss,Ms=ii,js=p,Bs=uo.UNSUPPORTED_Y,Ws=4294967295,Us=Math.min,Hs=[].push,zs=ks(/./.exec),Vs=ks(Hs),qs=ks("".slice),$s=!js((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var r="ab".split(e);return 2!==r.length||"a"!==r[0]||"b"!==r[1]}));Ts("split",(function(e,t,r){var n;return n="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,r){var n=Ls(Cs(this)),a=void 0===r?Ws:r>>>0;if(0===a)return[];if(void 0===e)return[n];if(!Ns(e))return As(t,n,e,a);for(var o,i,s,c=[],l=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),u=0,f=new RegExp(e.source,l+"g");(o=As(Ms,f,n))&&!((i=f.lastIndex)>u&&(Vs(c,qs(n,u,o.index)),o.length>1&&o.index<n.length&&xs(Hs,c,Fs(o,1)),s=o[0].length,u=i,c.length>=a));)f.lastIndex===o.index&&f.lastIndex++;return u===n.length?!s&&zs(f,"")||Vs(c,""):Vs(c,qs(n,u)),c.length>a?Fs(c,0,a):c}:"0".split(void 0,0).length?function(e,r){return void 0===e&&0===r?[]:As(t,this,e,r)}:t,[function(t,r){var a=Cs(this),o=_s(t)?void 0:Is(t,e);return o?As(o,t,a,r):As(n,Ls(a),t,r)},function(e,a){var o=Es(this),i=Ls(e),s=r(n,o,i,a,n!==t);if(s.done)return s.value;var c=Os(o,RegExp),l=o.unicode,u=(o.ignoreCase?"i":"")+(o.multiline?"m":"")+(o.unicode?"u":"")+(Bs?"g":"y"),f=new c(Bs?"^(?:"+o.source+")":o,u),h=void 0===a?Ws:a>>>0;if(0===h)return[];if(0===i.length)return null===Ds(f,i)?[i]:[];for(var d=0,p=0,g=[];p<i.length;){f.lastIndex=Bs?0:p;var m,v=Ds(f,Bs?qs(i,p):i);if(null===v||(m=Us(Ps(f.lastIndex+(Bs?p:0)),i.length))===d)p=Rs(i,p,l);else{if(Vs(g,qs(i,d,p)),g.length===h)return g;for(var b=1;b<=v.length-1;b++)if(Vs(g,v[b]),g.length===h)return g;p=d=m}}return Vs(g,qs(i,d)),g}]}),!$s,Bs);var Gs=g,Xs=R,Ys=fa,Ks=G,Js=Xs(w.f),Zs=Xs([].push),Qs=function(e){return function(t){for(var r,n=Ks(t),a=Ys(n),o=a.length,i=0,s=[];o>i;)r=a[i++],Gs&&!Js(n,r)||Zs(s,e?[r,n[r]]:n[r]);return s}},ec={entries:Qs(!0),values:Qs(!1)}.entries;ca({target:"Object",stat:!0},{entries:function(e){return ec(e)}});var tc=lt,rc=Io,nc=Dt.f,ac=tc("unscopables"),oc=Array.prototype;null==oc[ac]&&nc(oc,ac,{configurable:!0,value:rc(null)});var ic=function(e){oc[ac][e]=!0},sc=Tn.includes,cc=ic;ca({target:"Array",proto:!0,forced:p((function(){return!Array(1).includes()}))},{includes:function(e){return sc(this,e,arguments.length>1?arguments[1]:void 0)}}),cc("includes");var lc=F,uc=Array.isArray||function(e){return"Array"==lc(e)},fc=TypeError,hc=function(e){if(e>9007199254740991)throw fc("Maximum allowed index exceeded");return e},dc=uc,pc=Ui,gc=ee,mc=lt("species"),vc=Array,bc=function(e){var t;return dc(e)&&(t=e.constructor,(pc(t)&&(t===vc||dc(t.prototype))||gc(t)&&null===(t=t[mc]))&&(t=void 0)),void 0===t?vc:t},yc=function(e,t){return new(bc(e))(0===t?0:t)},wc=p,Sc=he,xc=lt("species"),Ac=function(e){return Sc>=51||!wc((function(){var t=[];return(t.constructor={})[xc]=function(){return{foo:1}},1!==t[e](Boolean).foo}))},kc=ca,Tc=p,Ec=uc,_c=ee,Nc=$e,Cc=wn,Oc=hc,Rc=cs,Pc=yc,Lc=Ac,Ic=he,Fc=lt("isConcatSpreadable"),Dc=Ic>=51||!Tc((function(){var e=[];return e[Fc]=!1,e.concat()[0]!==e})),Mc=function(e){if(!_c(e))return!1;var t=e[Fc];return void 0!==t?!!t:Ec(e)};kc({target:"Array",proto:!0,arity:1,forced:!Dc||!Lc("concat")},{concat:function(e){var t,r,n,a,o,i=Nc(this),s=Pc(i,0),c=0;for(t=-1,n=arguments.length;t<n;t++)if(Mc(o=-1===t?i:arguments[t]))for(a=Cc(o),Oc(c+a),r=0;r<a;r++,c++)r in o&&Rc(s,c,o[r]);else Oc(c+1),Rc(s,c++,o);return s.length=c,s}});var jc=_e,Bc=m,Wc=pi(pi.bind),Uc=function(e,t){return jc(e),void 0===t?e:Bc?Wc(e,t):function(){return e.apply(t,arguments)}},Hc=W,zc=$e,Vc=wn,qc=yc,$c=R([].push),Gc=function(e){var t=1==e,r=2==e,n=3==e,a=4==e,o=6==e,i=7==e,s=5==e||o;return function(c,l,u,f){for(var h,d,p=zc(c),g=Hc(p),m=Uc(l,u),v=Vc(g),b=0,y=f||qc,w=t?y(c,v):r||i?y(c,0):void 0;v>b;b++)if((s||b in g)&&(d=m(h=g[b],b,p),e))if(t)w[b]=d;else if(d)switch(e){case 3:return!0;case 5:return h;case 6:return b;case 2:$c(w,h)}else switch(e){case 4:return!1;case 7:$c(w,h)}return o?-1:n||a?a:w}},Xc={forEach:Gc(0),map:Gc(1),filter:Gc(2),some:Gc(3),every:Gc(4),find:Gc(5),findIndex:Gc(6),filterReject:Gc(7)},Yc=ca,Kc=Xc.find,Jc=ic,Zc="find",Qc=!0;Zc in[]&&Array(1)[Zc]((function(){Qc=!1})),Yc({target:"Array",proto:!0,forced:Qc},{find:function(e){return Kc(this,e,arguments.length>1?arguments[1]:void 0)}}),Jc(Zc);var el=Ia,tl=_a?{}.toString:function(){return"[object "+el(this)+"]"};_a||on(Object.prototype,"toString",tl,{unsafe:!0});var rl=_i,nl=TypeError,al=function(e){if(rl(e))throw nl("The method doesn't accept regular expressions");return e},ol=lt("match"),il=function(e){var t=/./;try{"/./"[e](t)}catch(r){try{return t[ol]=!1,"/./"[e](t)}catch(e){}}return!1},sl=ca,cl=al,ll=V,ul=Ma,fl=il,hl=R("".indexOf);sl({target:"String",proto:!0,forced:!fl("includes")},{includes:function(e){return!!~hl(ul(ll(this)),ul(cl(e)),arguments.length>1?arguments[1]:void 0)}});var dl={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},pl=kt("span").classList,gl=pl&&pl.constructor&&pl.constructor.prototype,ml=gl===Object.prototype?void 0:gl,vl=Xc.forEach,bl=Za("forEach")?[].forEach:function(e){return vl(this,e,arguments.length>1?arguments[1]:void 0)},yl=h,wl=dl,Sl=ml,xl=bl,Al=tr,kl=function(e){if(e&&e.forEach!==xl)try{Al(e,"forEach",xl)}catch(t){e.forEach=xl}};for(var Tl in wl)wl[Tl]&&kl(yl[Tl]&&yl[Tl].prototype);kl(Sl);var El=h,_l=p,Nl=Ma,Cl=$a.trim,Ol=ja,Rl=R("".charAt),Pl=El.parseFloat,Ll=El.Symbol,Il=Ll&&Ll.iterator,Fl=1/Pl(Ol+"-0")!=-1/0||Il&&!_l((function(){Pl(Object(Il))}))?function(e){var t=Cl(Nl(e)),r=Pl(t);return 0===r&&"-"==Rl(t,0)?-0:r}:Pl;ca({global:!0,forced:parseFloat!=Fl},{parseFloat:Fl});var Dl=$e,Ml=fa;ca({target:"Object",stat:!0,forced:p((function(){Ml(1)}))},{keys:function(e){return Ml(Dl(e))}});var jl=ca,Bl=Tn.indexOf,Wl=Za,Ul=pi([].indexOf),Hl=!!Ul&&1/Ul([1],1,-0)<0;jl({target:"Array",proto:!0,forced:Hl||!Wl("indexOf")},{indexOf:function(e){var t=arguments.length>1?arguments[1]:void 0;return Hl?Ul(this,e,t)||0:Bl(this,e,t)}});var zl=Ae,Vl=TypeError,ql=function(e,t){if(!delete e[t])throw Vl("Cannot delete property "+zl(t)+" of "+zl(e))},$l=ps,Gl=Math.floor,Xl=function(e,t){var r=e.length,n=Gl(r/2);return r<8?Yl(e,t):Kl(e,Xl($l(e,0,n),t),Xl($l(e,n),t),t)},Yl=function(e,t){for(var r,n,a=e.length,o=1;o<a;){for(n=o,r=e[o];n&&t(e[n-1],r)>0;)e[n]=e[--n];n!==o++&&(e[n]=r)}return e},Kl=function(e,t,r,n){for(var a=t.length,o=r.length,i=0,s=0;i<a||s<o;)e[i+s]=i<a&&s<o?n(t[i],r[s])<=0?t[i++]:r[s++]:i<a?t[i++]:r[s++];return e},Jl=Xl,Zl=oe.match(/firefox\/(\d+)/i),Ql=!!Zl&&+Zl[1],eu=/MSIE|Trident/.test(oe),tu=oe.match(/AppleWebKit\/(\d+)\./),ru=!!tu&&+tu[1],nu=ca,au=R,ou=_e,iu=$e,su=wn,cu=ql,lu=Ma,uu=p,fu=Jl,hu=Za,du=Ql,pu=eu,gu=he,mu=ru,vu=[],bu=au(vu.sort),yu=au(vu.push),wu=uu((function(){vu.sort(void 0)})),Su=uu((function(){vu.sort(null)})),xu=hu("sort"),Au=!uu((function(){if(gu)return gu<70;if(!(du&&du>3)){if(pu)return!0;if(mu)return mu<603;var e,t,r,n,a="";for(e=65;e<76;e++){switch(t=String.fromCharCode(e),e){case 66:case 69:case 70:case 72:r=3;break;case 68:case 71:r=4;break;default:r=2}for(n=0;n<47;n++)vu.push({k:t+n,v:r})}for(vu.sort((function(e,t){return t.v-e.v})),n=0;n<vu.length;n++)t=vu[n].k.charAt(0),a.charAt(a.length-1)!==t&&(a+=t);return"DGBEFHACIJK"!==a}}));nu({target:"Array",proto:!0,forced:wu||!Su||!xu||!Au},{sort:function(e){void 0!==e&&ou(e);var t=iu(this);if(Au)return void 0===e?bu(t):bu(t,e);var r,n,a=[],o=su(t);for(n=0;n<o;n++)n in t&&yu(a,t[n]);for(fu(a,function(e){return function(t,r){return void 0===r?-1:void 0===t?1:void 0!==e?+e(t,r)||0:lu(t)>lu(r)?1:-1}}(e)),r=su(a),n=0;n<r;)t[n]=a[n++];for(;n<o;)cu(t,n++);return t}});var ku=R,Tu=$e,Eu=Math.floor,_u=ku("".charAt),Nu=ku("".replace),Cu=ku("".slice),Ou=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,Ru=/\$([$&'`]|\d{1,2})/g,Pu=fi,Lu=y,Iu=R,Fu=Ai,Du=p,Mu=Ut,ju=J,Bu=U,Wu=fn,Uu=bn,Hu=Ma,zu=V,Vu=as,qu=Oe,$u=function(e,t,r,n,a,o){var i=r+e.length,s=n.length,c=Ru;return void 0!==a&&(a=Tu(a),c=Ou),Nu(o,c,(function(o,c){var l;switch(_u(c,0)){case"$":return"$";case"&":return e;case"`":return Cu(t,0,r);case"'":return Cu(t,i);case"<":l=a[Cu(c,1,-1)];break;default:var u=+c;if(0===u)return o;if(u>s){var f=Eu(u/10);return 0===f?o:f<=s?void 0===n[f-1]?_u(c,1):n[f-1]+_u(c,1):o}l=n[u-1]}return void 0===l?"":l}))},Gu=Ss,Xu=lt("replace"),Yu=Math.max,Ku=Math.min,Ju=Iu([].concat),Zu=Iu([].push),Qu=Iu("".indexOf),ef=Iu("".slice),tf="$0"==="a".replace(/./,"$0"),rf=!!/./[Xu]&&""===/./[Xu]("a","$0");Fu("replace",(function(e,t,r){var n=rf?"$":"$0";return[function(e,r){var n=zu(this),a=Bu(e)?void 0:qu(e,Xu);return a?Lu(a,e,n,r):Lu(t,Hu(n),e,r)},function(e,a){var o=Mu(this),i=Hu(e);if("string"==typeof a&&-1===Qu(a,n)&&-1===Qu(a,"$<")){var s=r(t,o,i,a);if(s.done)return s.value}var c=ju(a);c||(a=Hu(a));var l=o.global;if(l){var u=o.unicode;o.lastIndex=0}for(var f=[];;){var h=Gu(o,i);if(null===h)break;if(Zu(f,h),!l)break;""===Hu(h[0])&&(o.lastIndex=Vu(i,Uu(o.lastIndex),u))}for(var d,p="",g=0,m=0;m<f.length;m++){for(var v=Hu((h=f[m])[0]),b=Yu(Ku(Wu(h.index),i.length),0),y=[],w=1;w<h.length;w++)Zu(y,void 0===(d=h[w])?d:String(d));var S=h.groups;if(c){var x=Ju([v],y,b,i);void 0!==S&&Zu(x,S);var A=Hu(Pu(a,void 0,x))}else A=$u(v,i,b,y,S,a);b>=g&&(p+=ef(i,g,b)+A,g=b+v.length)}return p+ef(i,g)}]}),!!Du((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}))||!tf||rf);var nf=Xc.filter;ca({target:"Array",proto:!0,forced:!Ac("filter")},{filter:function(e){return nf(this,e,arguments.length>1?arguments[1]:void 0)}});var af=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t},of=y,sf=Ut,cf=U,lf=V,uf=af,ff=Ma,hf=Oe,df=Ss;Ai("search",(function(e,t,r){return[function(t){var r=lf(this),n=cf(t)?void 0:hf(t,e);return n?of(n,t,r):new RegExp(t)[e](ff(r))},function(e){var n=sf(this),a=ff(e),o=r(t,n,a);if(o.done)return o.value;var i=n.lastIndex;uf(i,0)||(n.lastIndex=0);var s=df(n,a);return uf(n.lastIndex,i)||(n.lastIndex=i),null===s?-1:s.index}]}));var pf=h,gf=p,mf=R,vf=Ma,bf=$a.trim,yf=ja,wf=pf.parseInt,Sf=pf.Symbol,xf=Sf&&Sf.iterator,Af=/^[+-]?0x/i,kf=mf(Af.exec),Tf=8!==wf(yf+"08")||22!==wf(yf+"0x16")||xf&&!gf((function(){wf(Object(xf))}))?function(e,t){var r=bf(vf(e));return wf(r,t>>>0||(kf(Af,r)?16:10))}:wf;ca({global:!0,forced:parseInt!=Tf},{parseInt:Tf});var Ef=Xc.map;ca({target:"Array",proto:!0,forced:!Ac("map")},{map:function(e){return Ef(this,e,arguments.length>1?arguments[1]:void 0)}});var _f=ca,Nf=Xc.findIndex,Cf=ic,Of="findIndex",Rf=!0;Of in[]&&Array(1)[Of]((function(){Rf=!1})),_f({target:"Array",proto:!0,forced:Rf},{findIndex:function(e){return Nf(this,e,arguments.length>1?arguments[1]:void 0)}}),Cf(Of);var Pf=R,Lf=_e,If=J,Ff=String,Df=TypeError,Mf=function(e,t,r){try{return Pf(Lf(Object.getOwnPropertyDescriptor(e,t)[r]))}catch(e){}},jf=Ut,Bf=function(e){if("object"==typeof e||If(e))return e;throw Df("Can't set "+Ff(e)+" as a prototype")},Wf=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,r={};try{(e=Mf(Object.prototype,"__proto__","set"))(r,[]),t=r instanceof Array}catch(e){}return function(r,n){return jf(r),Bf(n),t?e(r,n):r.__proto__=n,r}}():void 0),Uf=J,Hf=ee,zf=Wf,Vf=function(e,t,r){var n,a;return zf&&Uf(n=t.constructor)&&n!==r&&Hf(a=n.prototype)&&a!==r.prototype&&zf(e,a),e},qf=y,$f=Ye,Gf=ae,Xf=oo,Yf=RegExp.prototype,Kf=function(e){var t=e.flags;return void 0!==t||"flags"in Yf||$f(e,"flags")||!Gf(Yf,e)?t:qf(Xf,e)},Jf=Dt.f,Zf=rr,Qf=Dt,eh=ne,th=function(e,t,r){return r.get&&Zf(r.get,t,{getter:!0}),r.set&&Zf(r.set,t,{setter:!0}),Qf.f(e,t,r)},rh=g,nh=lt("species"),ah=g,oh=h,ih=R,sh=ea,ch=Vf,lh=tr,uh=sn.f,fh=ae,hh=_i,dh=Ma,ph=Kf,gh=uo,mh=function(e,t,r){r in e||Jf(e,r,{configurable:!0,get:function(){return t[r]},set:function(e){t[r]=e}})},vh=on,bh=p,yh=Ye,wh=Mr.enforce,Sh=function(e){var t=eh(e);rh&&t&&!t[nh]&&th(t,nh,{configurable:!0,get:function(){return this}})},xh=Mo,Ah=Wo,kh=lt("match"),Th=oh.RegExp,Eh=Th.prototype,_h=oh.SyntaxError,Nh=ih(Eh.exec),Ch=ih("".charAt),Oh=ih("".replace),Rh=ih("".indexOf),Ph=ih("".slice),Lh=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,Ih=/a/g,Fh=/a/g,Dh=new Th(Ih)!==Ih,Mh=gh.MISSED_STICKY,jh=gh.UNSUPPORTED_Y,Bh=ah&&(!Dh||Mh||xh||Ah||bh((function(){return Fh[kh]=!1,Th(Ih)!=Ih||Th(Fh)==Fh||"/a/i"!=Th(Ih,"i")})));if(sh("RegExp",Bh)){for(var Wh=function(e,t){var r,n,a,o,i,s,c=fh(Eh,this),l=hh(e),u=void 0===t,f=[],h=e;if(!c&&l&&u&&e.constructor===Wh)return e;if((l||fh(Eh,e))&&(e=e.source,u&&(t=ph(h))),e=void 0===e?"":dh(e),t=void 0===t?"":dh(t),h=e,xh&&"dotAll"in Ih&&(n=!!t&&Rh(t,"s")>-1)&&(t=Oh(t,/s/g,"")),r=t,Mh&&"sticky"in Ih&&(a=!!t&&Rh(t,"y")>-1)&&jh&&(t=Oh(t,/y/g,"")),Ah&&(o=function(e){for(var t,r=e.length,n=0,a="",o=[],i={},s=!1,c=!1,l=0,u="";n<=r;n++){if("\\"===(t=Ch(e,n)))t+=Ch(e,++n);else if("]"===t)s=!1;else if(!s)switch(!0){case"["===t:s=!0;break;case"("===t:Nh(Lh,Ph(e,n+1))&&(n+=2,c=!0),a+=t,l++;continue;case">"===t&&c:if(""===u||yh(i,u))throw new _h("Invalid capture group name");i[u]=!0,o[o.length]=[u,l],c=!1,u="";continue}c?u+=t:a+=t}return[a,o]}(e),e=o[0],f=o[1]),i=ch(Th(e,t),c?this:Eh,Wh),(n||a||f.length)&&(s=wh(i),n&&(s.dotAll=!0,s.raw=Wh(function(e){for(var t,r=e.length,n=0,a="",o=!1;n<=r;n++)"\\"!==(t=Ch(e,n))?o||"."!==t?("["===t?o=!0:"]"===t&&(o=!1),a+=t):a+="[\\s\\S]":a+=t+Ch(e,++n);return a}(e),r)),a&&(s.sticky=!0),f.length&&(s.groups=f)),e!==h)try{lh(i,"source",""===h?"(?:)":h)}catch(e){}return i},Uh=uh(Th),Hh=0;Uh.length>Hh;)mh(Wh,Th,Uh[Hh++]);Eh.constructor=Wh,Wh.prototype=Eh,vh(oh,"RegExp",Wh,{constructor:!0})}Sh("RegExp");var zh=lr.PROPER,Vh=on,qh=Ut,$h=Ma,Gh=p,Xh=Kf,Yh="toString",Kh=RegExp.prototype[Yh],Jh=Gh((function(){return"/a/b"!=Kh.call({source:"a",flags:"b"})})),Zh=zh&&Kh.name!=Yh;(Jh||Zh)&&Vh(RegExp.prototype,Yh,(function(){var e=qh(this);return"/"+$h(e.source)+"/"+$h(Xh(e))}),{unsafe:!0});var Qh=R([].slice),ed=ca,td=uc,rd=Ui,nd=ee,ad=gn,od=wn,id=G,sd=cs,cd=lt,ld=Qh,ud=Ac("slice"),fd=cd("species"),hd=Array,dd=Math.max;ed({target:"Array",proto:!0,forced:!ud},{slice:function(e,t){var r,n,a,o=id(this),i=od(o),s=ad(e,i),c=ad(void 0===t?i:t,i);if(td(o)&&(r=o.constructor,(rd(r)&&(r===hd||td(r.prototype))||nd(r)&&null===(r=r[fd]))&&(r=void 0),r===hd||void 0===r))return ld(o,s,c);for(n=new(void 0===r?hd:r)(dd(c-s,0)),a=0;s<c;s++,a++)s in o&&sd(n,a,o[s]);return n.length=a,n}});var pd,gd,md,vd={},bd=!p((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),yd=Ye,wd=J,Sd=$e,xd=bd,Ad=xr("IE_PROTO"),kd=Object,Td=kd.prototype,Ed=xd?kd.getPrototypeOf:function(e){var t=Sd(e);if(yd(t,Ad))return t[Ad];var r=t.constructor;return wd(r)&&t instanceof r?r.prototype:t instanceof kd?Td:null},_d=p,Nd=J,Cd=ee,Od=Ed,Rd=on,Pd=lt("iterator"),Ld=!1;[].keys&&("next"in(md=[].keys())?(gd=Od(Od(md)))!==Object.prototype&&(pd=gd):Ld=!0);var Id=!Cd(pd)||_d((function(){var e={};return pd[Pd].call(e)!==e}));Id&&(pd={}),Nd(pd[Pd])||Rd(pd,Pd,(function(){return this}));var Fd={IteratorPrototype:pd,BUGGY_SAFARI_ITERATORS:Ld},Dd=Dt.f,Md=Ye,jd=lt("toStringTag"),Bd=function(e,t,r){e&&!r&&(e=e.prototype),e&&!Md(e,jd)&&Dd(e,jd,{configurable:!0,value:t})},Wd=Fd.IteratorPrototype,Ud=Io,Hd=E,zd=Bd,Vd=vd,qd=function(){return this},$d=ca,Gd=y,Xd=J,Yd=function(e,t,r,n){var a=t+" Iterator";return e.prototype=Ud(Wd,{next:Hd(+!n,r)}),zd(e,a,!1),Vd[a]=qd,e},Kd=Ed,Jd=Wf,Zd=Bd,Qd=tr,ep=on,tp=vd,rp=lr.PROPER,np=lr.CONFIGURABLE,ap=Fd.IteratorPrototype,op=Fd.BUGGY_SAFARI_ITERATORS,ip=lt("iterator"),sp="keys",cp="values",lp="entries",up=function(){return this},fp=G,hp=ic,dp=vd,pp=Mr,gp=Dt.f,mp=function(e,t,r,n,a,o,i){Yd(r,t,n);var s,c,l,u=function(e){if(e===a&&g)return g;if(!op&&e in d)return d[e];switch(e){case sp:case cp:case lp:return function(){return new r(this,e)}}return function(){return new r(this)}},f=t+" Iterator",h=!1,d=e.prototype,p=d[ip]||d["@@iterator"]||a&&d[a],g=!op&&p||u(a),m="Array"==t&&d.entries||p;if(m&&(s=Kd(m.call(new e)))!==Object.prototype&&s.next&&(Kd(s)!==ap&&(Jd?Jd(s,ap):Xd(s[ip])||ep(s,ip,up)),Zd(s,f,!0)),rp&&a==cp&&p&&p.name!==cp&&(np?Qd(d,"name",cp):(h=!0,g=function(){return Gd(p,this)})),a)if(c={values:u(cp),keys:o?g:u(sp),entries:u(lp)},i)for(l in c)(op||h||!(l in d))&&ep(d,l,c[l]);else $d({target:t,proto:!0,forced:op||h},c);return d[ip]!==g&&ep(d,ip,g,{name:a}),tp[t]=g,c},vp=function(e,t){return{value:e,done:t}},bp=g,yp="Array Iterator",wp=pp.set,Sp=pp.getterFor(yp),xp=mp(Array,"Array",(function(e,t){wp(this,{type:yp,target:fp(e),index:0,kind:t})}),(function(){var e=Sp(this),t=e.target,r=e.kind,n=e.index++;return!t||n>=t.length?(e.target=void 0,vp(void 0,!0)):vp("keys"==r?n:"values"==r?t[n]:[n,t[n]],!1)}),"values"),Ap=dp.Arguments=dp.Array;if(hp("keys"),hp("values"),hp("entries"),bp&&"values"!==Ap.name)try{gp(Ap,"name",{value:"values"})}catch(e){}var kp=h,Tp=dl,Ep=ml,_p=xp,Np=tr,Cp=lt,Op=Cp("iterator"),Rp=Cp("toStringTag"),Pp=_p.values,Lp=function(e,t){if(e){if(e[Op]!==Pp)try{Np(e,Op,Pp)}catch(t){e[Op]=Pp}if(e[Rp]||Np(e,Rp,t),Tp[t])for(var r in _p)if(e[r]!==_p[r])try{Np(e,r,_p[r])}catch(t){e[r]=_p[r]}}};for(var Ip in Tp)Lp(kp[Ip]&&kp[Ip].prototype,Ip);Lp(Ep,"DOMTokenList");var Fp=g,Dp=uc,Mp=TypeError,jp=Object.getOwnPropertyDescriptor,Bp=Fp&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}(),Wp=ca,Up=$e,Hp=gn,zp=fn,Vp=wn,qp=Bp?function(e,t){if(Dp(e)&&!jp(e,"length").writable)throw Mp("Cannot set read only .length");return e.length=t}:function(e,t){return e.length=t},$p=hc,Gp=yc,Xp=cs,Yp=ql,Kp=Ac("splice"),Jp=Math.max,Zp=Math.min;Wp({target:"Array",proto:!0,forced:!Kp},{splice:function(e,t){var r,n,a,o,i,s,c=Up(this),l=Vp(c),u=Hp(e,l),f=arguments.length;for(0===f?r=n=0:1===f?(r=0,n=l-u):(r=f-2,n=Zp(Jp(zp(t),0),l-u)),$p(l+r-n),a=Gp(c,n),o=0;o<n;o++)(i=u+o)in c&&Xp(a,o,c[i]);if(a.length=n,r<n){for(o=u;o<l-n;o++)s=o+r,(i=o+n)in c?c[s]=c[i]:Yp(c,s);for(o=l;o>l-n+r;o--)Yp(c,o-1)}else if(r>n)for(o=l-n;o>u;o--)s=o+r-1,(i=o+n-1)in c?c[s]=c[i]:Yp(c,s);for(o=0;o<r;o++)c[o+u]=arguments[o+2];return qp(c,l-n+r),a}});var Qp=h,eg=R(1..valueOf),tg=ca,rg=g,ng=h,ag=Qp,og=R,ig=ea,sg=Ye,cg=Vf,lg=ae,ug=Se,fg=vt,hg=p,dg=sn.f,pg=d.f,gg=Dt.f,mg=eg,vg=$a.trim,bg="Number",yg=ng[bg];ag[bg];var wg=yg.prototype,Sg=ng.TypeError,xg=og("".slice),Ag=og("".charCodeAt),kg=function(e){var t,r,n,a,o,i,s,c,l=fg(e,"number");if(ug(l))throw Sg("Cannot convert a Symbol value to a number");if("string"==typeof l&&l.length>2)if(l=vg(l),43===(t=Ag(l,0))||45===t){if(88===(r=Ag(l,2))||120===r)return NaN}else if(48===t){switch(Ag(l,1)){case 66:case 98:n=2,a=49;break;case 79:case 111:n=8,a=55;break;default:return+l}for(i=(o=xg(l,2)).length,s=0;s<i;s++)if((c=Ag(o,s))<48||c>a)return NaN;return parseInt(o,n)}return+l},Tg=ig(bg,!yg(" 0o1")||!yg("0b1")||yg("+0x1")),Eg=function(e){var t,r=arguments.length<1?0:yg(function(e){var t=fg(e,"number");return"bigint"==typeof t?t:kg(t)}(e));return lg(wg,t=this)&&hg((function(){mg(t)}))?cg(Object(r),this,Eg):r};Eg.prototype=wg,Tg&&(wg.constructor=Eg),tg({global:!0,constructor:!0,wrap:!0,forced:Tg},{Number:Eg});Tg&&function(e,t){for(var r,n=rg?dg(t):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),a=0;n.length>a;a++)sg(t,r=n[a])&&!sg(e,r)&&gg(e,r,pg(t,r))}(ag[bg],yg);var _g=ca,Ng=uc,Cg=R([].reverse),Og=[1,2];_g({target:"Array",proto:!0,forced:String(Og)===String(Og.reverse())},{reverse:function(){return Ng(this)&&(this.length=this.length),Cg(this)}});var Rg=$e,Pg=Ed,Lg=bd;ca({target:"Object",stat:!0,forced:p((function(){Pg(1)})),sham:!Lg},{getPrototypeOf:function(e){return Pg(Rg(e))}});var Ig=y,Fg=Ut,Dg=U,Mg=bn,jg=Ma,Bg=V,Wg=Oe,Ug=as,Hg=Ss;Ai("match",(function(e,t,r){return[function(t){var r=Bg(this),n=Dg(t)?void 0:Wg(t,e);return n?Ig(n,t,r):new RegExp(t)[e](jg(r))},function(e){var n=Fg(this),a=jg(e),o=r(t,n,a);if(o.done)return o.value;if(!n.global)return Hg(n,a);var i=n.unicode;n.lastIndex=0;for(var s,c=[],l=0;null!==(s=Hg(n,a));){var u=jg(s[0]);c[l]=u,""===u&&(n.lastIndex=Ug(a,Mg(n.lastIndex),i)),l++}return 0===l?null:c}]}));var zg,Vg=ca,qg=pi,$g=d.f,Gg=bn,Xg=Ma,Yg=al,Kg=V,Jg=il,Zg=qg("".startsWith),Qg=qg("".slice),em=Math.min,tm=Jg("startsWith");Vg({target:"String",proto:!0,forced:!!(tm||(zg=$g(String.prototype,"startsWith"),!zg||zg.writable))&&!tm},{startsWith:function(e){var t=Xg(Kg(this));Yg(e);var r=Gg(em(arguments.length>1?arguments[1]:void 0,t.length)),n=Xg(e);return Zg?Zg(t,n,r):Qg(t,r,r+n.length)===n}});var rm=ca,nm=pi,am=d.f,om=bn,im=Ma,sm=al,cm=V,lm=il,um=nm("".endsWith),fm=nm("".slice),hm=Math.min,dm=lm("endsWith"),pm=!dm&&!!function(){var e=am(String.prototype,"endsWith");return e&&!e.writable}();rm({target:"String",proto:!0,forced:!pm&&!dm},{endsWith:function(e){var t=im(cm(this));sm(e);var r=arguments.length>1?arguments[1]:void 0,n=t.length,a=void 0===r?n:hm(om(r),n),o=im(e);return um?um(t,o,a):fm(t,a-o.length,a)===o}});var gm={getBootstrapVersion:function(){var t=5;try{var r=e.fn.dropdown.Constructor.VERSION;void 0!==r&&(t=parseInt(r,10))}catch(e){}try{var n=bootstrap.Tooltip.VERSION;void 0!==n&&(t=parseInt(n,10))}catch(e){}return t},getIconsPrefix:function(e){return{bootstrap3:"glyphicon",bootstrap4:"fa",bootstrap5:"bi","bootstrap-table":"icon",bulma:"fa",foundation:"fa",materialize:"material-icons",semantic:"fa"}[e]||"fa"},getIcons:function(e){return{glyphicon:{paginationSwitchDown:"glyphicon-collapse-down icon-chevron-down",paginationSwitchUp:"glyphicon-collapse-up icon-chevron-up",refresh:"glyphicon-refresh icon-refresh",toggleOff:"glyphicon-list-alt icon-list-alt",toggleOn:"glyphicon-list-alt icon-list-alt",columns:"glyphicon-th icon-th",detailOpen:"glyphicon-plus icon-plus",detailClose:"glyphicon-minus icon-minus",fullscreen:"glyphicon-fullscreen",search:"glyphicon-search",clearSearch:"glyphicon-trash"},fa:{paginationSwitchDown:"fa-caret-square-down",paginationSwitchUp:"fa-caret-square-up",refresh:"fa-sync",toggleOff:"fa-toggle-off",toggleOn:"fa-toggle-on",columns:"fa-th-list",detailOpen:"fa-plus",detailClose:"fa-minus",fullscreen:"fa-arrows-alt",search:"fa-search",clearSearch:"fa-trash"},bi:{paginationSwitchDown:"bi-caret-down-square",paginationSwitchUp:"bi-caret-up-square",refresh:"bi-arrow-clockwise",toggleOff:"bi-toggle-off",toggleOn:"bi-toggle-on",columns:"bi-list-ul",detailOpen:"bi-plus",detailClose:"bi-dash",fullscreen:"bi-arrows-move",search:"bi-search",clearSearch:"bi-trash"},icon:{paginationSwitchDown:"icon-arrow-up-circle",paginationSwitchUp:"icon-arrow-down-circle",refresh:"icon-refresh-cw",toggleOff:"icon-toggle-right",toggleOn:"icon-toggle-right",columns:"icon-list",detailOpen:"icon-plus",detailClose:"icon-minus",fullscreen:"icon-maximize",search:"icon-search",clearSearch:"icon-trash-2"},"material-icons":{paginationSwitchDown:"grid_on",paginationSwitchUp:"grid_off",refresh:"refresh",toggleOff:"tablet",toggleOn:"tablet_android",columns:"view_list",detailOpen:"add",detailClose:"remove",fullscreen:"fullscreen",sort:"sort",search:"search",clearSearch:"delete"}}[e]},getSearchInput:function(t){return"string"==typeof t.options.searchSelector?e(t.options.searchSelector):t.$toolbar.find(".search input")},extend:function(){for(var e=this,r=arguments.length,n=new Array(r),a=0;a<r;a++)n[a]=arguments[a];var o,i=n[0]||{},s=1,c=!1;for("boolean"==typeof i&&(c=i,i=n[s]||{},s++),"object"!==t(i)&&"function"!=typeof i&&(i={});s<n.length;s++){var l=n[s];if(null!=l)for(var u in l){var f=l[u];if("__proto__"!==u&&i!==f){var h=Array.isArray(f);if(c&&f&&(this.isObject(f)||h)){var d=i[u];if(h&&Array.isArray(d)&&d.every((function(t){return!e.isObject(t)&&!Array.isArray(t)}))){i[u]=f;continue}o=h&&!Array.isArray(d)?[]:h||this.isObject(d)?d:{},i[u]=this.extend(c,o,f)}else void 0!==f&&(i[u]=f)}}}return i},sprintf:function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];var a=!0,o=0,i=e.replace(/%s/g,(function(){var e=r[o++];return void 0===e?(a=!1,""):e}));return a?i:""},isObject:function(e){if("object"!==t(e)||null===e)return!1;for(var r=e;null!==Object.getPrototypeOf(r);)r=Object.getPrototypeOf(r);return Object.getPrototypeOf(e)===r},isEmptyObject:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return 0===Object.entries(e).length&&e.constructor===Object},isNumeric:function(e){return!isNaN(parseFloat(e))&&isFinite(e)},getFieldTitle:function(e,t){var r,n=l(e);try{for(n.s();!(r=n.n()).done;){var a=r.value;if(a.field===t)return a.title}}catch(e){n.e(e)}finally{n.f()}return""},setFieldIndex:function(e){var t,r=0,n=[],a=l(e[0]);try{for(a.s();!(t=a.n()).done;){r+=t.value.colspan||1}}catch(e){a.e(e)}finally{a.f()}for(var o=0;o<e.length;o++){n[o]=[];for(var i=0;i<r;i++)n[o][i]=!1}for(var s=0;s<e.length;s++){var c,u=l(e[s]);try{for(u.s();!(c=u.n()).done;){var f=c.value,h=f.rowspan||1,d=f.colspan||1,p=n[s].indexOf(!1);f.colspanIndex=p,1===d?(f.fieldIndex=p,void 0===f.field&&(f.field=p)):f.colspanGroup=f.colspan;for(var g=0;g<h;g++)for(var m=0;m<d;m++)n[s+g][p+m]=!0}}catch(e){u.e(e)}finally{u.f()}}},normalizeAccent:function(e){return"string"!=typeof e?e:e.normalize("NFD").replace(/[\u0300-\u036f]/g,"")},updateFieldGroup:function(e,t){var r,n,a=(r=[]).concat.apply(r,i(e)),o=l(e);try{for(o.s();!(n=o.n()).done;){var s,c=l(n.value);try{for(c.s();!(s=c.n()).done;){var u=s.value;if(u.colspanGroup>1){for(var f=0,h=function(e){a.find((function(t){return t.fieldIndex===e})).visible&&f++},d=u.colspanIndex;d<u.colspanIndex+u.colspanGroup;d++)h(d);u.colspan=f,u.visible=f>0}}}catch(e){c.e(e)}finally{c.f()}}}catch(e){o.e(e)}finally{o.f()}if(!(e.length<2)){var p,g=l(t);try{var m=function(){var e=p.value,t=a.filter((function(t){return t.fieldIndex===e.fieldIndex}));if(t.length>1){var r,n=l(t);try{for(n.s();!(r=n.n()).done;){r.value.visible=e.visible}}catch(e){n.e(e)}finally{n.f()}}};for(g.s();!(p=g.n()).done;)m()}catch(e){g.e(e)}finally{g.f()}}},getScrollBarWidth:function(){if(void 0===this.cachedWidth){var t=e("<div/>").addClass("fixed-table-scroll-inner"),r=e("<div/>").addClass("fixed-table-scroll-outer");r.append(t),e("body").append(r);var n=t[0].offsetWidth;r.css("overflow","scroll");var a=t[0].offsetWidth;n===a&&(a=r[0].clientWidth),r.remove(),this.cachedWidth=n-a}return this.cachedWidth},calculateObjectValue:function(e,r,n,a){var o=r;if("string"==typeof r){var s=r.split(".");if(s.length>1){o=window;var c,u=l(s);try{for(u.s();!(c=u.n()).done;){o=o[c.value]}}catch(e){u.e(e)}finally{u.f()}}else o=window[r]}return null!==o&&"object"===t(o)?o:"function"==typeof o?o.apply(e,n||[]):!o&&"string"==typeof r&&n&&this.sprintf.apply(this,[r].concat(i(n)))?this.sprintf.apply(this,[r].concat(i(n))):a},compareObjects:function(e,t,r){var n=Object.keys(e),a=Object.keys(t);if(r&&n.length!==a.length)return!1;for(var o=0,i=n;o<i.length;o++){var s=i[o];if(a.includes(s)&&e[s]!==t[s])return!1}return!0},regexCompare:function(e,t){try{var r=t.match(/^\/(.*?)\/([gim]*)$/);if(-1!==e.toString().search(r?new RegExp(r[1],r[2]):new RegExp(t,"gim")))return!0}catch(e){return!1}return!1},escapeApostrophe:function(e){return e.toString().replace(/'/g,"'")},escapeHTML:function(e){return e?e.toString().replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'"):e},unescapeHTML:function(e){return"string"==typeof e&&e?e.toString().replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,'"').replace(/'/g,"'"):e},removeHTML:function(e){return e?e.toString().replace(/(<([^>]+)>)/gi,"").replace(/&[#A-Za-z0-9]+;/gi,"").trim():e},getRealDataAttr:function(e){for(var t=0,r=Object.entries(e);t<r.length;t++){var n=o(r[t],2),a=n[0],i=n[1],s=a.split(/(?=[A-Z])/).join("-").toLowerCase();s!==a&&(e[s]=i,delete e[a])}return e},getItemField:function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:void 0,a=e;if(void 0!==n&&(r=n),"string"!=typeof t||e.hasOwnProperty(t))return r?this.escapeHTML(e[t]):e[t];var o,i=l(t.split("."));try{for(i.s();!(o=i.n()).done;){var s=o.value;a=a&&a[s]}}catch(e){i.e(e)}finally{i.f()}return r?this.escapeHTML(a):a},isIEBrowser:function(){return navigator.userAgent.includes("MSIE ")||/Trident.*rv:11\./.test(navigator.userAgent)},findIndex:function(e,t){var r,n=l(e);try{for(n.s();!(r=n.n()).done;){var a=r.value;if(JSON.stringify(a)===JSON.stringify(t))return e.indexOf(a)}}catch(e){n.e(e)}finally{n.f()}return-1},trToData:function(t,r){var n=this,a=[],o=[];return r.each((function(r,i){var s=e(i),c={};c._id=s.attr("id"),c._class=s.attr("class"),c._data=n.getRealDataAttr(s.data()),c._style=s.attr("style"),s.find(">td,>th").each((function(a,i){for(var s=e(i),l=+s.attr("colspan")||1,u=+s.attr("rowspan")||1,f=a;o[r]&&o[r][f];f++);for(var h=f;h<f+l;h++)for(var d=r;d<r+u;d++)o[d]||(o[d]=[]),o[d][h]=!0;var p=t[f].field;c[p]=n.escapeApostrophe(s.html().trim()),c["_".concat(p,"_id")]=s.attr("id"),c["_".concat(p,"_class")]=s.attr("class"),c["_".concat(p,"_rowspan")]=s.attr("rowspan"),c["_".concat(p,"_colspan")]=s.attr("colspan"),c["_".concat(p,"_title")]=s.attr("title"),c["_".concat(p,"_data")]=n.getRealDataAttr(s.data()),c["_".concat(p,"_style")]=s.attr("style")})),a.push(c)})),a},sort:function(e,t,r,n,a,o){if(null==e&&(e=""),null==t&&(t=""),n.sortStable&&e===t&&(e=a,t=o),this.isNumeric(e)&&this.isNumeric(t))return(e=parseFloat(e))<(t=parseFloat(t))?-1*r:e>t?r:0;if(n.sortEmptyLast){if(""===e)return 1;if(""===t)return-1}return e===t?0:("string"!=typeof e&&(e=e.toString()),-1===e.localeCompare(t)?-1*r:r)},getEventName:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return t=t||"".concat(+new Date).concat(~~(1e6*Math.random())),"".concat(e,"-").concat(t)},hasDetailViewIcon:function(e){return e.detailView&&e.detailViewIcon&&!e.cardView},getDetailViewIndexOffset:function(e){return this.hasDetailViewIcon(e)&&"right"!==e.detailViewAlign?1:0},checkAutoMergeCells:function(e){var t,r=l(e);try{for(r.s();!(t=r.n()).done;)for(var n=t.value,a=0,o=Object.keys(n);a<o.length;a++){var i=o[a];if(i.startsWith("_")&&(i.endsWith("_rowspan")||i.endsWith("_colspan")))return!0}}catch(e){r.e(e)}finally{r.f()}return!1},deepCopy:function(e){return void 0===e?e:this.extend(!0,Array.isArray(e)?[]:{},e)},debounce:function(e,t,r){var n;return function(){var a=this,o=arguments,i=r&&!n;clearTimeout(n),n=setTimeout((function(){n=null,r||e.apply(a,o)}),t),i&&e.apply(a,o)}}},mm=gm.getBootstrapVersion(),vm={3:{classes:{buttonsPrefix:"btn",buttons:"default",buttonsGroup:"btn-group",buttonsDropdown:"btn-group",pull:"pull",inputGroup:"input-group",inputPrefix:"input-",input:"form-control",select:"form-control",paginationDropdown:"btn-group dropdown",dropup:"dropup",dropdownActive:"active",paginationActive:"active",buttonActive:"active"},html:{toolbarDropdown:['<ul class="dropdown-menu" role="menu">',"</ul>"],toolbarDropdownItem:'<li class="dropdown-item-marker" role="menuitem"><label>%s</label></li>',toolbarDropdownSeparator:'<li class="divider"></li>',pageDropdown:['<ul class="dropdown-menu" role="menu">',"</ul>"],pageDropdownItem:'<li role="menuitem" class="%s"><a href="#">%s</a></li>',dropdownCaret:'<span class="caret"></span>',pagination:['<ul class="pagination%s">',"</ul>"],paginationItem:'<li class="page-item%s"><a class="page-link" aria-label="%s" href="javascript:void(0)">%s</a></li>',icon:'<i class="%s %s"></i>',inputGroup:'<div class="input-group">%s<span class="input-group-btn">%s</span></div>',searchInput:'<input class="%s%s" type="text" placeholder="%s">',searchButton:'<button class="%s" type="button" name="search" title="%s">%s %s</button>',searchClearButton:'<button class="%s" type="button" name="clearSearch" title="%s">%s %s</button>'}},4:{classes:{buttonsPrefix:"btn",buttons:"secondary",buttonsGroup:"btn-group",buttonsDropdown:"btn-group",pull:"float",inputGroup:"btn-group",inputPrefix:"form-control-",input:"form-control",select:"form-control",paginationDropdown:"btn-group dropdown",dropup:"dropup",dropdownActive:"active",paginationActive:"active",buttonActive:"active"},html:{toolbarDropdown:['<div class="dropdown-menu dropdown-menu-right">',"</div>"],toolbarDropdownItem:'<label class="dropdown-item dropdown-item-marker">%s</label>',pageDropdown:['<div class="dropdown-menu">',"</div>"],pageDropdownItem:'<a class="dropdown-item %s" href="#">%s</a>',toolbarDropdownSeparator:'<div class="dropdown-divider"></div>',dropdownCaret:'<span class="caret"></span>',pagination:['<ul class="pagination%s">',"</ul>"],paginationItem:'<li class="page-item%s"><a class="page-link" aria-label="%s" href="javascript:void(0)">%s</a></li>',icon:'<i class="%s %s"></i>',inputGroup:'<div class="input-group">%s<div class="input-group-append">%s</div></div>',searchInput:'<input class="%s%s" type="text" placeholder="%s">',searchButton:'<button class="%s" type="button" name="search" title="%s">%s %s</button>',searchClearButton:'<button class="%s" type="button" name="clearSearch" title="%s">%s %s</button>'}},5:{classes:{buttonsPrefix:"btn",buttons:"secondary",buttonsGroup:"btn-group",buttonsDropdown:"btn-group",pull:"float",inputGroup:"btn-group",inputPrefix:"form-control-",input:"form-control",select:"form-select",paginationDropdown:"btn-group dropdown",dropup:"dropup",dropdownActive:"active",paginationActive:"active",buttonActive:"active"},html:{dataToggle:"data-bs-toggle",toolbarDropdown:['<div class="dropdown-menu dropdown-menu-end">',"</div>"],toolbarDropdownItem:'<label class="dropdown-item dropdown-item-marker">%s</label>',pageDropdown:['<div class="dropdown-menu">',"</div>"],pageDropdownItem:'<a class="dropdown-item %s" href="#">%s</a>',toolbarDropdownSeparator:'<div class="dropdown-divider"></div>',dropdownCaret:'<span class="caret"></span>',pagination:['<ul class="pagination%s">',"</ul>"],paginationItem:'<li class="page-item%s"><a class="page-link" aria-label="%s" href="javascript:void(0)">%s</a></li>',icon:'<i class="%s %s"></i>',inputGroup:'<div class="input-group">%s%s</div>',searchInput:'<input class="%s%s" type="text" placeholder="%s">',searchButton:'<button class="%s" type="button" name="search" title="%s">%s %s</button>',searchClearButton:'<button class="%s" type="button" name="clearSearch" title="%s">%s %s</button>'}}}[mm],bm={height:void 0,classes:"table table-bordered table-hover",buttons:{},theadClasses:"",headerStyle:function(e){return{}},rowStyle:function(e,t){return{}},rowAttributes:function(e,t){return{}},undefinedText:"-",locale:void 0,virtualScroll:!1,virtualScrollItemHeight:void 0,sortable:!0,sortClass:void 0,silentSort:!0,sortEmptyLast:!1,sortName:void 0,sortOrder:void 0,sortReset:!1,sortStable:!1,sortResetPage:!1,rememberOrder:!1,serverSort:!0,customSort:void 0,columns:[[]],data:[],url:void 0,method:"get",cache:!0,contentType:"application/json",dataType:"json",ajax:void 0,ajaxOptions:{},queryParams:function(e){return e},queryParamsType:"limit",responseHandler:function(e){return e},totalField:"total",totalNotFilteredField:"totalNotFiltered",dataField:"rows",footerField:"footer",pagination:!1,paginationParts:["pageInfo","pageSize","pageList"],showExtendedPagination:!1,paginationLoop:!0,sidePagination:"client",totalRows:0,totalNotFiltered:0,pageNumber:1,pageSize:10,pageList:[10,25,50,100],paginationHAlign:"right",paginationVAlign:"bottom",paginationDetailHAlign:"left",paginationPreText:"‹",paginationNextText:"›",paginationSuccessivelySize:5,paginationPagesBySide:1,paginationUseIntermediate:!1,search:!1,searchable:!1,searchHighlight:!1,searchOnEnterKey:!1,strictSearch:!1,regexSearch:!1,searchSelector:!1,visibleSearch:!1,showButtonIcons:!0,showButtonText:!1,showSearchButton:!1,showSearchClearButton:!1,trimOnSearch:!0,searchAlign:"right",searchTimeOut:500,searchText:"",customSearch:void 0,showHeader:!0,showFooter:!1,footerStyle:function(e){return{}},searchAccentNeutralise:!1,showColumns:!1,showColumnsToggleAll:!1,showColumnsSearch:!1,minimumCountColumns:1,showPaginationSwitch:!1,showRefresh:!1,showToggle:!1,showFullscreen:!1,smartDisplay:!0,escape:!1,escapeTitle:!0,filterOptions:{filterAlgorithm:"and"},idField:void 0,selectItemName:"btSelectItem",clickToSelect:!1,ignoreClickToSelectOn:function(e){var t=e.tagName;return["A","BUTTON"].includes(t)},singleSelect:!1,checkboxHeader:!0,maintainMetaData:!1,multipleSelectRow:!1,uniqueId:void 0,cardView:!1,detailView:!1,detailViewIcon:!0,detailViewByClick:!1,detailViewAlign:"left",detailFormatter:function(e,t){return""},detailFilter:function(e,t){return!0},toolbar:void 0,toolbarAlign:"left",buttonsToolbar:void 0,buttonsAlign:"right",buttonsOrder:["paginationSwitch","refresh","toggle","fullscreen","columns"],buttonsPrefix:vm.classes.buttonsPrefix,buttonsClass:vm.classes.buttons,iconsPrefix:void 0,icons:{},iconSize:void 0,loadingFontSize:"auto",loadingTemplate:function(e){return'<span class="loading-wrap">\n <span class="loading-text">'.concat(e,'</span>\n <span class="animation-wrap"><span class="animation-dot"></span></span>\n </span>\n ')},onAll:function(e,t){return!1},onClickCell:function(e,t,r,n){return!1},onDblClickCell:function(e,t,r,n){return!1},onClickRow:function(e,t){return!1},onDblClickRow:function(e,t){return!1},onSort:function(e,t){return!1},onCheck:function(e){return!1},onUncheck:function(e){return!1},onCheckAll:function(e){return!1},onUncheckAll:function(e){return!1},onCheckSome:function(e){return!1},onUncheckSome:function(e){return!1},onLoadSuccess:function(e){return!1},onLoadError:function(e){return!1},onColumnSwitch:function(e,t){return!1},onColumnSwitchAll:function(e){return!1},onPageChange:function(e,t){return!1},onSearch:function(e){return!1},onToggle:function(e){return!1},onPreBody:function(e){return!1},onPostBody:function(){return!1},onPostHeader:function(){return!1},onPostFooter:function(){return!1},onExpandRow:function(e,t,r){return!1},onCollapseRow:function(e,t){return!1},onRefreshOptions:function(e){return!1},onRefresh:function(e){return!1},onResetView:function(){return!1},onScrollBody:function(){return!1},onTogglePagination:function(e){return!1},onVirtualScroll:function(e,t){return!1}},ym={formatLoadingMessage:function(){return"Loading, please wait"},formatRecordsPerPage:function(e){return"".concat(e," rows per page")},formatShowingRows:function(e,t,r,n){return void 0!==n&&n>0&&n>r?"Showing ".concat(e," to ").concat(t," of ").concat(r," rows (filtered from ").concat(n," total rows)"):"Showing ".concat(e," to ").concat(t," of ").concat(r," rows")},formatSRPaginationPreText:function(){return"previous page"},formatSRPaginationPageText:function(e){return"to page ".concat(e)},formatSRPaginationNextText:function(){return"next page"},formatDetailPagination:function(e){return"Showing ".concat(e," rows")},formatSearch:function(){return"Search"},formatClearSearch:function(){return"Clear Search"},formatNoMatches:function(){return"No matching records found"},formatPaginationSwitch:function(){return"Hide/Show pagination"},formatPaginationSwitchDown:function(){return"Show pagination"},formatPaginationSwitchUp:function(){return"Hide pagination"},formatRefresh:function(){return"Refresh"},formatToggleOn:function(){return"Show card view"},formatToggleOff:function(){return"Hide card view"},formatColumns:function(){return"Columns"},formatColumnsToggleAll:function(){return"Toggle all"},formatFullscreen:function(){return"Fullscreen"},formatAllRows:function(){return"All"}},wm={field:void 0,title:void 0,titleTooltip:void 0,class:void 0,width:void 0,widthUnit:"px",rowspan:void 0,colspan:void 0,align:void 0,halign:void 0,falign:void 0,valign:void 0,cellStyle:void 0,radio:!1,checkbox:!1,checkboxEnabled:!0,clickToSelect:!0,showSelectTitle:!1,sortable:!1,sortName:void 0,order:"asc",sorter:void 0,visible:!0,switchable:!0,switchableLabel:void 0,cardVisible:!0,searchable:!0,formatter:void 0,footerFormatter:void 0,detailFormatter:void 0,searchFormatter:!0,searchHighlightFormatter:!1,escape:void 0,events:void 0};Object.assign(bm,ym);var Sm={VERSION:"1.22.1",THEME:"bootstrap".concat(mm),CONSTANTS:vm,DEFAULTS:bm,COLUMN_DEFAULTS:wm,METHODS:["getOptions","refreshOptions","getData","getSelections","load","append","prepend","remove","removeAll","insertRow","updateRow","getRowByUniqueId","updateByUniqueId","removeByUniqueId","updateCell","updateCellByUniqueId","showRow","hideRow","getHiddenRows","showColumn","hideColumn","getVisibleColumns","getHiddenColumns","showAllColumns","hideAllColumns","mergeCells","checkAll","uncheckAll","checkInvert","check","uncheck","checkBy","uncheckBy","refresh","destroy","resetView","showLoading","hideLoading","togglePagination","toggleFullscreen","toggleView","resetSearch","filterBy","sortBy","scrollTo","getScrollPosition","selectPage","prevPage","nextPage","toggleDetailView","expandRow","collapseRow","expandRowByUniqueId","collapseRowByUniqueId","expandAllRows","collapseAllRows","updateColumnTitle","updateFormatText"],EVENTS:{"all.bs.table":"onAll","click-row.bs.table":"onClickRow","dbl-click-row.bs.table":"onDblClickRow","click-cell.bs.table":"onClickCell","dbl-click-cell.bs.table":"onDblClickCell","sort.bs.table":"onSort","check.bs.table":"onCheck","uncheck.bs.table":"onUncheck","check-all.bs.table":"onCheckAll","uncheck-all.bs.table":"onUncheckAll","check-some.bs.table":"onCheckSome","uncheck-some.bs.table":"onUncheckSome","load-success.bs.table":"onLoadSuccess","load-error.bs.table":"onLoadError","column-switch.bs.table":"onColumnSwitch","column-switch-all.bs.table":"onColumnSwitchAll","page-change.bs.table":"onPageChange","search.bs.table":"onSearch","toggle.bs.table":"onToggle","pre-body.bs.table":"onPreBody","post-body.bs.table":"onPostBody","post-header.bs.table":"onPostHeader","post-footer.bs.table":"onPostFooter","expand-row.bs.table":"onExpandRow","collapse-row.bs.table":"onCollapseRow","refresh-options.bs.table":"onRefreshOptions","reset-view.bs.table":"onResetView","refresh.bs.table":"onRefresh","scroll-body.bs.table":"onScrollBody","toggle-pagination.bs.table":"onTogglePagination","virtual-scroll.bs.table":"onVirtualScroll"},LOCALES:{en:ym,"en-US":ym}},xm=function(){function e(t){var n=this;r(this,e),this.rows=t.rows,this.scrollEl=t.scrollEl,this.contentEl=t.contentEl,this.callback=t.callback,this.itemHeight=t.itemHeight,this.cache={},this.scrollTop=this.scrollEl.scrollTop,this.initDOM(this.rows,t.fixedScroll),this.scrollEl.scrollTop=this.scrollTop,this.lastCluster=0;var a=function(){n.lastCluster!==(n.lastCluster=n.getNum())&&(n.initDOM(n.rows),n.callback(n.startIndex,n.endIndex))};this.scrollEl.addEventListener("scroll",a,!1),this.destroy=function(){n.contentEl.innerHtml="",n.scrollEl.removeEventListener("scroll",a,!1)}}return a(e,[{key:"initDOM",value:function(e,t){void 0===this.clusterHeight&&(this.cache.scrollTop=this.scrollEl.scrollTop,this.cache.data=this.contentEl.innerHTML=e[0]+e[0]+e[0],this.getRowsHeight(e));var r=this.initData(e,this.getNum(t)),n=r.rows.join(""),a=this.checkChanges("data",n),o=this.checkChanges("top",r.topOffset),i=this.checkChanges("bottom",r.bottomOffset),s=[];a&&o?(r.topOffset&&s.push(this.getExtra("top",r.topOffset)),s.push(n),r.bottomOffset&&s.push(this.getExtra("bottom",r.bottomOffset)),this.startIndex=r.start,this.endIndex=r.end,this.contentEl.innerHTML=s.join(""),t&&(this.contentEl.scrollTop=this.cache.scrollTop)):i&&(this.contentEl.lastChild.style.height="".concat(r.bottomOffset,"px"))}},{key:"getRowsHeight",value:function(){if(void 0===this.itemHeight){var e=this.contentEl.children,t=e[Math.floor(e.length/2)];this.itemHeight=t.offsetHeight}this.blockHeight=50*this.itemHeight,this.clusterRows=200,this.clusterHeight=4*this.blockHeight}},{key:"getNum",value:function(e){return this.scrollTop=e?this.cache.scrollTop:this.scrollEl.scrollTop,Math.floor(this.scrollTop/(this.clusterHeight-this.blockHeight))||0}},{key:"initData",value:function(e,t){if(e.length<50)return{topOffset:0,bottomOffset:0,rowsAbove:0,rows:e};var r=Math.max((this.clusterRows-50)*t,0),n=r+this.clusterRows,a=Math.max(r*this.itemHeight,0),o=Math.max((e.length-n)*this.itemHeight,0),i=[],s=r;a<1&&s++;for(var c=r;c<n;c++)e[c]&&i.push(e[c]);return{start:r,end:n,topOffset:a,bottomOffset:o,rowsAbove:s,rows:i}}},{key:"checkChanges",value:function(e,t){var r=t!==this.cache[e];return this.cache[e]=t,r}},{key:"getExtra",value:function(e,t){var r=document.createElement("tr");return r.className="virtual-scroll-".concat(e),t&&(r.style.height="".concat(t,"px")),r.outerHTML}}]),e}(),Am=function(){function n(t,a){r(this,n),this.options=a,this.$el=e(t),this.$el_=this.$el.clone(),this.timeoutId_=0,this.timeoutFooter_=0}return a(n,[{key:"init",value:function(){this.initConstants(),this.initLocale(),this.initContainer(),this.initTable(),this.initHeader(),this.initData(),this.initHiddenRows(),this.initToolbar(),this.initPagination(),this.initBody(),this.initSearchText(),this.initServer()}},{key:"initConstants",value:function(){var r=this.options;this.constants=Sm.CONSTANTS,this.constants.theme=e.fn.bootstrapTable.theme,this.constants.dataToggle=this.constants.html.dataToggle||"data-toggle";var n=gm.getIconsPrefix(e.fn.bootstrapTable.theme),a=gm.getIcons(n);"string"==typeof r.icons&&(r.icons=gm.calculateObjectValue(null,r.icons)),r.iconsPrefix=r.iconsPrefix||e.fn.bootstrapTable.defaults.iconsPrefix||n,r.icons=Object.assign(a,e.fn.bootstrapTable.defaults.icons,r.icons);var o=r.buttonsPrefix?"".concat(r.buttonsPrefix,"-"):"";this.constants.buttonsClass=[r.buttonsPrefix,o+r.buttonsClass,gm.sprintf("".concat(o,"%s"),r.iconSize)].join(" ").trim(),this.buttons=gm.calculateObjectValue(this,r.buttons,[],{}),"object"!==t(this.buttons)&&(this.buttons={})}},{key:"initLocale",value:function(){if(this.options.locale){var t=e.fn.bootstrapTable.locales,r=this.options.locale.split(/-|_/);r[0]=r[0].toLowerCase(),r[1]&&(r[1]=r[1].toUpperCase());var a={};t[this.options.locale]?a=t[this.options.locale]:t[r.join("-")]?a=t[r.join("-")]:t[r[0]]&&(a=t[r[0]]);for(var i=0,s=Object.entries(a);i<s.length;i++){var c=o(s[i],2),l=c[0],u=c[1];this.options[l]===n.DEFAULTS[l]&&(this.options[l]=u)}}}},{key:"initContainer",value:function(){var t=["top","both"].includes(this.options.paginationVAlign)?'<div class="fixed-table-pagination clearfix"></div>':"",r=["bottom","both"].includes(this.options.paginationVAlign)?'<div class="fixed-table-pagination"></div>':"",n=gm.calculateObjectValue(this.options,this.options.loadingTemplate,[this.options.formatLoadingMessage()]);this.$container=e('\n <div class="bootstrap-table '.concat(this.constants.theme,'">\n <div class="fixed-table-toolbar"></div>\n ').concat(t,'\n <div class="fixed-table-container">\n <div class="fixed-table-header"><table></table></div>\n <div class="fixed-table-body">\n <div class="fixed-table-loading">\n ').concat(n,'\n </div>\n </div>\n <div class="fixed-table-footer"></div>\n </div>\n ').concat(r,"\n </div>\n ")),this.$container.insertAfter(this.$el),this.$tableContainer=this.$container.find(".fixed-table-container"),this.$tableHeader=this.$container.find(".fixed-table-header"),this.$tableBody=this.$container.find(".fixed-table-body"),this.$tableLoading=this.$container.find(".fixed-table-loading"),this.$tableFooter=this.$el.find("tfoot"),this.options.buttonsToolbar?this.$toolbar=e("body").find(this.options.buttonsToolbar):this.$toolbar=this.$container.find(".fixed-table-toolbar"),this.$pagination=this.$container.find(".fixed-table-pagination"),this.$tableBody.append(this.$el),this.$container.after('<div class="clearfix"></div>'),this.$el.addClass(this.options.classes),this.$tableLoading.addClass(this.options.classes),this.options.height&&(this.$tableContainer.addClass("fixed-height"),this.options.showFooter&&this.$tableContainer.addClass("has-footer"),this.options.classes.split(" ").includes("table-bordered")&&(this.$tableBody.append('<div class="fixed-table-border"></div>'),this.$tableBorder=this.$tableBody.find(".fixed-table-border"),this.$tableLoading.addClass("fixed-table-border")),this.$tableFooter=this.$container.find(".fixed-table-footer"))}},{key:"initTable",value:function(){var t=this,r=[];if(this.$header=this.$el.find(">thead"),this.$header.length?this.options.theadClasses&&this.$header.addClass(this.options.theadClasses):this.$header=e('<thead class="'.concat(this.options.theadClasses,'"></thead>')).appendTo(this.$el),this._headerTrClasses=[],this._headerTrStyles=[],this.$header.find("tr").each((function(n,a){var o=e(a),i=[];o.find("th").each((function(t,r){var n=e(r);void 0!==n.data("field")&&n.data("field","".concat(n.data("field")));var a=Object.assign({},n.data());for(var o in a)e.fn.bootstrapTable.columnDefaults.hasOwnProperty(o)&&delete a[o];i.push(gm.extend({},{_data:gm.getRealDataAttr(a),title:n.html(),class:n.attr("class"),titleTooltip:n.attr("title"),rowspan:n.attr("rowspan")?+n.attr("rowspan"):void 0,colspan:n.attr("colspan")?+n.attr("colspan"):void 0},n.data()))})),r.push(i),o.attr("class")&&t._headerTrClasses.push(o.attr("class")),o.attr("style")&&t._headerTrStyles.push(o.attr("style"))})),Array.isArray(this.options.columns[0])||(this.options.columns=[this.options.columns]),this.options.columns=gm.extend(!0,[],r,this.options.columns),this.columns=[],this.fieldsColumnsIndex=[],gm.setFieldIndex(this.options.columns),this.options.columns.forEach((function(e,r){e.forEach((function(e,a){var o=gm.extend({},n.COLUMN_DEFAULTS,e,{passed:e});void 0!==o.fieldIndex&&(t.columns[o.fieldIndex]=o,t.fieldsColumnsIndex[o.field]=o.fieldIndex),t.options.columns[r][a]=o}))})),!this.options.data.length){var a=gm.trToData(this.columns,this.$el.find(">tbody>tr"));a.length&&(this.options.data=a,this.fromHtml=!0)}this.options.pagination&&"server"!==this.options.sidePagination||(this.footerData=gm.trToData(this.columns,this.$el.find(">tfoot>tr"))),this.footerData&&this.$el.find("tfoot").html("<tr></tr>"),!this.options.showFooter||this.options.cardView?this.$tableFooter.hide():this.$tableFooter.show()}},{key:"initHeader",value:function(){var r=this,n={},a=[];this.header={fields:[],styles:[],classes:[],formatters:[],detailFormatters:[],events:[],sorters:[],sortNames:[],cellStyles:[],searchables:[]},gm.updateFieldGroup(this.options.columns,this.columns),this.options.columns.forEach((function(e,i){var s=[];s.push("<tr".concat(gm.sprintf(' class="%s"',r._headerTrClasses[i])," ").concat(gm.sprintf(' style="%s"',r._headerTrStyles[i]),">"));var c="";if(0===i&&gm.hasDetailViewIcon(r.options)){var l=r.options.columns.length>1?' rowspan="'.concat(r.options.columns.length,'"'):"";c='<th class="detail"'.concat(l,'>\n <div class="fht-cell"></div>\n </th>')}c&&"right"!==r.options.detailViewAlign&&s.push(c),e.forEach((function(e,a){var c=gm.sprintf(' class="%s"',e.class),l=e.widthUnit,u=parseFloat(e.width),f=e.halign?e.halign:e.align,h=gm.sprintf("text-align: %s; ",f),d=gm.sprintf("text-align: %s; ",e.align),p=gm.sprintf("vertical-align: %s; ",e.valign);if(p+=gm.sprintf("width: %s; ",!e.checkbox&&!e.radio||u?u?u+l:void 0:e.showSelectTitle?void 0:"36px"),void 0!==e.fieldIndex||e.visible){var g=gm.calculateObjectValue(null,r.options.headerStyle,[e]),m=[],v=[],b="";if(g&&g.css)for(var y=0,w=Object.entries(g.css);y<w.length;y++){var S=o(w[y],2),x=S[0],A=S[1];m.push("".concat(x,": ").concat(A))}if(g&&g.classes&&(b=gm.sprintf(' class="%s"',e.class?[e.class,g.classes].join(" "):g.classes)),void 0!==e.fieldIndex){if(r.header.fields[e.fieldIndex]=e.field,r.header.styles[e.fieldIndex]=d+p,r.header.classes[e.fieldIndex]=c,r.header.formatters[e.fieldIndex]=e.formatter,r.header.detailFormatters[e.fieldIndex]=e.detailFormatter,r.header.events[e.fieldIndex]=e.events,r.header.sorters[e.fieldIndex]=e.sorter,r.header.sortNames[e.fieldIndex]=e.sortName,r.header.cellStyles[e.fieldIndex]=e.cellStyle,r.header.searchables[e.fieldIndex]=e.searchable,!e.visible)return;if(r.options.cardView&&!e.cardVisible)return;n[e.field]=e}if(Object.keys(e._data||{}).length>0)for(var k=0,T=Object.entries(e._data);k<T.length;k++){var E=o(T[k],2),_=E[0],N=E[1];v.push("data-".concat(_,"='").concat("object"===t(N)?JSON.stringify(N):N,"'"))}s.push("<th".concat(gm.sprintf(' title="%s"',e.titleTooltip)),e.checkbox||e.radio?gm.sprintf(' class="bs-checkbox %s"',e.class||""):b||c,gm.sprintf(' style="%s"',h+p+m.join("; ")),gm.sprintf(' rowspan="%s"',e.rowspan),gm.sprintf(' colspan="%s"',e.colspan),gm.sprintf(' data-field="%s"',e.field),0===a&&i>0?" data-not-first-th":"",v.length>0?v.join(" "):"",">"),s.push(gm.sprintf('<div class="th-inner %s">',r.options.sortable&&e.sortable?"sortable".concat("center"===f?" sortable-center":""," both"):""));var C=r.options.escape&&r.options.escapeTitle?gm.escapeHTML(e.title):e.title,O=C;e.checkbox&&(C="",!r.options.singleSelect&&r.options.checkboxHeader&&(C='<label><input name="btSelectAll" type="checkbox" /><span></span></label>'),r.header.stateField=e.field),e.radio&&(C="",r.header.stateField=e.field),!C&&e.showSelectTitle&&(C+=O),s.push(C),s.push("</div>"),s.push('<div class="fht-cell"></div>'),s.push("</div>"),s.push("</th>")}})),c&&"right"===r.options.detailViewAlign&&s.push(c),s.push("</tr>"),s.length>3&&a.push(s.join(""))})),this.$header.html(a.join("")),this.$header.find("th[data-field]").each((function(t,r){e(r).data(n[e(r).data("field")])})),this.$container.off("click",".th-inner").on("click",".th-inner",(function(t){var n=e(t.currentTarget);if(r.options.detailView&&!n.parent().hasClass("bs-checkbox")&&n.closest(".bootstrap-table")[0]!==r.$container[0])return!1;r.options.sortable&&n.parent().data().sortable&&r.onSort(t)}));var i=gm.getEventName("resize.bootstrap-table",this.$el.attr("id"));e(window).off(i),!this.options.showHeader||this.options.cardView?(this.$header.hide(),this.$tableHeader.hide(),this.$tableLoading.css("top",0)):(this.$header.show(),this.$tableHeader.show(),this.$tableLoading.css("top",this.$header.outerHeight()+1),this.getCaret(),e(window).on(i,(function(){return r.resetView()}))),this.$selectAll=this.$header.find('[name="btSelectAll"]'),this.$selectAll.off("click").on("click",(function(t){t.stopPropagation();var n=e(t.currentTarget).prop("checked");r[n?"checkAll":"uncheckAll"](),r.updateSelected()}))}},{key:"initData",value:function(e,t){"append"===t?this.options.data=this.options.data.concat(e):"prepend"===t?this.options.data=[].concat(e).concat(this.options.data):(e=e||gm.deepCopy(this.options.data),this.options.data=Array.isArray(e)?e:e[this.options.dataField]),this.data=i(this.options.data),this.options.sortReset&&(this.unsortedData=i(this.data)),"server"!==this.options.sidePagination&&this.initSort()}},{key:"initSort",value:function(){var e=this,t=this.options.sortName,r="desc"===this.options.sortOrder?-1:1,n=this.header.fields.indexOf(this.options.sortName),a=0;-1!==n?(this.options.sortStable&&this.data.forEach((function(e,t){e.hasOwnProperty("_position")||(e._position=t)})),this.options.customSort?gm.calculateObjectValue(this.options,this.options.customSort,[this.options.sortName,this.options.sortOrder,this.data]):this.data.sort((function(a,o){e.header.sortNames[n]&&(t=e.header.sortNames[n]);var i=gm.getItemField(a,t,e.options.escape),s=gm.getItemField(o,t,e.options.escape),c=gm.calculateObjectValue(e.header,e.header.sorters[n],[i,s,a,o]);return void 0!==c?e.options.sortStable&&0===c?r*(a._position-o._position):r*c:gm.sort(i,s,r,e.options,a._position,o._position)})),void 0!==this.options.sortClass&&(clearTimeout(a),a=setTimeout((function(){e.$el.removeClass(e.options.sortClass);var t=e.$header.find('[data-field="'.concat(e.options.sortName,'"]')).index();e.$el.find("tr td:nth-child(".concat(t+1,")")).addClass(e.options.sortClass)}),250))):this.options.sortReset&&(this.data=i(this.unsortedData))}},{key:"sortBy",value:function(e){this.options.sortName=e.field,this.options.sortOrder=e.hasOwnProperty("sortOrder")?e.sortOrder:"asc",this._sort()}},{key:"onSort",value:function(t){var r=t.type,n=t.currentTarget,a="keypress"===r?e(n):e(n).parent(),o=this.$header.find("th").eq(a.index());if(this.$header.add(this.$header_).find("span.order").remove(),this.options.sortName===a.data("field")){var i=this.options.sortOrder,s=this.columns[this.fieldsColumnsIndex[a.data("field")]].sortOrder||this.columns[this.fieldsColumnsIndex[a.data("field")]].order;void 0===i?this.options.sortOrder="asc":"asc"===i?this.options.sortOrder=this.options.sortReset?"asc"===s?"desc":void 0:"desc":"desc"===this.options.sortOrder&&(this.options.sortOrder=this.options.sortReset?"desc"===s?"asc":void 0:"asc"),void 0===this.options.sortOrder&&(this.options.sortName=void 0)}else this.options.sortName=a.data("field"),this.options.rememberOrder?this.options.sortOrder="asc"===a.data("order")?"desc":"asc":this.options.sortOrder=this.columns[this.fieldsColumnsIndex[a.data("field")]].sortOrder||this.columns[this.fieldsColumnsIndex[a.data("field")]].order;a.add(o).data("order",this.options.sortOrder),this.getCaret(),this._sort()}},{key:"_sort",value:function(){if(this.trigger("sort",this.options.sortName,this.options.sortOrder),"server"===this.options.sidePagination&&this.options.serverSort)return this.options.pageNumber=1,void this.initServer(this.options.silentSort);this.options.pagination&&this.options.sortResetPage&&(this.options.pageNumber=1,this.initPagination()),this.initSort(),this.initBody()}},{key:"initToolbar",value:function(){var r,n=this,a=this.options,i=[],s=0,c=0;this.$toolbar.find(".bs-bars").children().length&&e("body").append(e(a.toolbar)),this.$toolbar.html(""),"string"!=typeof a.toolbar&&"object"!==t(a.toolbar)||e(gm.sprintf('<div class="bs-bars %s-%s"></div>',this.constants.classes.pull,a.toolbarAlign)).appendTo(this.$toolbar).append(e(a.toolbar)),i=['<div class="'.concat(["columns","columns-".concat(a.buttonsAlign),this.constants.classes.buttonsGroup,"".concat(this.constants.classes.pull,"-").concat(a.buttonsAlign)].join(" "),'">')],"string"==typeof a.buttonsOrder&&(a.buttonsOrder=a.buttonsOrder.replace(/\[|\]| |'/g,"").split(",")),this.buttons=Object.assign(this.buttons,{paginationSwitch:{text:a.pagination?a.formatPaginationSwitchUp():a.formatPaginationSwitchDown(),icon:a.pagination?a.icons.paginationSwitchDown:a.icons.paginationSwitchUp,render:!1,event:this.togglePagination,attributes:{"aria-label":a.formatPaginationSwitch(),title:a.formatPaginationSwitch()}},refresh:{text:a.formatRefresh(),icon:a.icons.refresh,render:!1,event:this.refresh,attributes:{"aria-label":a.formatRefresh(),title:a.formatRefresh()}},toggle:{text:a.formatToggleOn(),icon:a.icons.toggleOff,render:!1,event:this.toggleView,attributes:{"aria-label":a.formatToggleOn(),title:a.formatToggleOn()}},fullscreen:{text:a.formatFullscreen(),icon:a.icons.fullscreen,render:!1,event:this.toggleFullscreen,attributes:{"aria-label":a.formatFullscreen(),title:a.formatFullscreen()}},columns:{render:!1,html:function(){var e=[];if(e.push('<div class="keep-open '.concat(n.constants.classes.buttonsDropdown,'">\n <button class="').concat(n.constants.buttonsClass,' dropdown-toggle" type="button" ').concat(n.constants.dataToggle,'="dropdown"\n aria-label="').concat(a.formatColumns(),'" title="').concat(a.formatColumns(),'">\n ').concat(a.showButtonIcons?gm.sprintf(n.constants.html.icon,a.iconsPrefix,a.icons.columns):"","\n ").concat(a.showButtonText?a.formatColumns():"","\n ").concat(n.constants.html.dropdownCaret,"\n </button>\n ").concat(n.constants.html.toolbarDropdown[0])),a.showColumnsSearch&&(e.push(gm.sprintf(n.constants.html.toolbarDropdownItem,gm.sprintf('<input type="text" class="%s" name="columnsSearch" placeholder="%s" autocomplete="off">',n.constants.classes.input,a.formatSearch()))),e.push(n.constants.html.toolbarDropdownSeparator)),a.showColumnsToggleAll){var t=n.getVisibleColumns().length===n.columns.filter((function(e){return!n.isSelectionColumn(e)})).length;e.push(gm.sprintf(n.constants.html.toolbarDropdownItem,gm.sprintf('<input type="checkbox" class="toggle-all" %s> <span>%s</span>',t?'checked="checked"':"",a.formatColumnsToggleAll()))),e.push(n.constants.html.toolbarDropdownSeparator)}var r=0;return n.columns.forEach((function(e){e.visible&&r++})),n.columns.forEach((function(t,o){if(!n.isSelectionColumn(t)&&(!a.cardView||t.cardVisible)){var i=t.visible?' checked="checked"':"",s=r<=a.minimumCountColumns&&i?' disabled="disabled"':"";t.switchable&&(e.push(gm.sprintf(n.constants.html.toolbarDropdownItem,gm.sprintf('<input type="checkbox" data-field="%s" value="%s"%s%s> <span>%s</span>',t.field,o,i,s,t.switchableLabel?t.switchableLabel:t.title))),c++)}})),e.push(n.constants.html.toolbarDropdown[1],"</div>"),e.join("")}}});for(var u={},f=0,h=Object.entries(this.buttons);f<h.length;f++){var d=o(h[f],2),p=d[0],g=d[1],m=void 0;if(g.hasOwnProperty("html"))"function"==typeof g.html?m=g.html():"string"==typeof g.html&&(m=g.html);else{var v=this.constants.buttonsClass;if(g.hasOwnProperty("attributes")&&g.attributes.class&&(v+=" ".concat(g.attributes.class)),m='<button class="'.concat(v,'" type="button" name="').concat(p,'"'),g.hasOwnProperty("attributes"))for(var b=0,y=Object.entries(g.attributes);b<y.length;b++){var w=o(y[b],2),S=w[0],x=w[1];"class"!==S&&(m+=" ".concat(S,'="').concat(x,'"'))}m+=">",a.showButtonIcons&&g.hasOwnProperty("icon")&&(m+="".concat(gm.sprintf(this.constants.html.icon,a.iconsPrefix,g.icon)," ")),a.showButtonText&&g.hasOwnProperty("text")&&(m+=g.text),m+="</button>"}u[p]=m;var A="show".concat(p.charAt(0).toUpperCase()).concat(p.substring(1)),k=a[A];!(!g.hasOwnProperty("render")||g.hasOwnProperty("render")&&g.render)||void 0!==k&&!0!==k||(a[A]=!0),a.buttonsOrder.includes(p)||a.buttonsOrder.push(p)}var T,E=l(a.buttonsOrder);try{for(E.s();!(T=E.n()).done;){var _=T.value;a["show".concat(_.charAt(0).toUpperCase()).concat(_.substring(1))]&&i.push(u[_])}}catch(e){E.e(e)}finally{E.f()}i.push("</div>"),(this.showToolbar||i.length>2)&&this.$toolbar.append(i.join(""));for(var N=0,C=Object.entries(this.buttons);N<C.length;N++){var O=o(C[N],2),R=O[0],P=O[1];if(P.hasOwnProperty("event")){if("function"==typeof P.event||"string"==typeof P.event)if("continue"===function(){var e="string"==typeof P.event?window[P.event]:P.event;return n.$toolbar.find('button[name="'.concat(R,'"]')).off("click").on("click",(function(){return e.call(n)})),"continue"}())continue;for(var L=function(){var e=o(F[I],2),t=e[0],r=e[1],a="string"==typeof r?window[r]:r;n.$toolbar.find('button[name="'.concat(R,'"]')).off(t).on(t,(function(){return a.call(n)}))},I=0,F=Object.entries(P.event);I<F.length;I++)L()}}if(a.showColumns){var D=(r=this.$toolbar.find(".keep-open")).find('input[type="checkbox"]:not(".toggle-all")'),M=r.find('input[type="checkbox"].toggle-all');if(c<=a.minimumCountColumns&&r.find("input").prop("disabled",!0),r.find("li, label").off("click").on("click",(function(e){e.stopImmediatePropagation()})),D.off("click").on("click",(function(t){var r=t.currentTarget,a=e(r);n._toggleColumn(a.val(),a.prop("checked"),!1),n.trigger("column-switch",a.data("field"),a.prop("checked")),M.prop("checked",D.filter(":checked").length===n.columns.filter((function(e){return!n.isSelectionColumn(e)})).length)})),M.off("click").on("click",(function(t){var r=t.currentTarget;n._toggleAllColumns(e(r).prop("checked")),n.trigger("column-switch-all",e(r).prop("checked"))})),a.showColumnsSearch){var j=r.find('[name="columnsSearch"]'),B=r.find(".dropdown-item-marker");j.on("keyup paste change",(function(t){var r=t.currentTarget,n=e(r).val().toLowerCase();B.show(),D.each((function(t,r){var a=e(r).parents(".dropdown-item-marker");a.text().toLowerCase().includes(n)||a.hide()}))}))}}var W=function(e){var t=e.is("select")?"change":"keyup drop blur mouseup";e.off(t).on(t,(function(e){a.searchOnEnterKey&&13!==e.keyCode||[37,38,39,40].includes(e.keyCode)||(clearTimeout(s),s=setTimeout((function(){n.onSearch({currentTarget:e.currentTarget})}),a.searchTimeOut))}))};if((a.search||this.showSearchClearButton)&&"string"!=typeof a.searchSelector){i=[];var U=gm.sprintf(this.constants.html.searchButton,this.constants.buttonsClass,a.formatSearch(),a.showButtonIcons?gm.sprintf(this.constants.html.icon,a.iconsPrefix,a.icons.search):"",a.showButtonText?a.formatSearch():""),H=gm.sprintf(this.constants.html.searchClearButton,this.constants.buttonsClass,a.formatClearSearch(),a.showButtonIcons?gm.sprintf(this.constants.html.icon,a.iconsPrefix,a.icons.clearSearch):"",a.showButtonText?a.formatClearSearch():""),z='<input class="'.concat(this.constants.classes.input,"\n ").concat(gm.sprintf(" %s%s",this.constants.classes.inputPrefix,a.iconSize),'\n search-input" type="search" aria-label="').concat(a.formatSearch(),'" placeholder="').concat(a.formatSearch(),'" autocomplete="off">'),V=z;if(a.showSearchButton||a.showSearchClearButton){var q=(a.showSearchButton?U:"")+(a.showSearchClearButton?H:"");V=a.search?gm.sprintf(this.constants.html.inputGroup,z,q):q}i.push(gm.sprintf('\n <div class="'.concat(this.constants.classes.pull,"-").concat(a.searchAlign," search ").concat(this.constants.classes.inputGroup,'">\n %s\n </div>\n '),V)),this.$toolbar.append(i.join(""));var $=gm.getSearchInput(this);a.showSearchButton?(this.$toolbar.find(".search button[name=search]").off("click").on("click",(function(){clearTimeout(s),s=setTimeout((function(){n.onSearch({currentTarget:$})}),a.searchTimeOut)})),a.searchOnEnterKey&&W($)):W($),a.showSearchClearButton&&this.$toolbar.find(".search button[name=clearSearch]").click((function(){n.resetSearch()}))}else if("string"==typeof a.searchSelector){W(gm.getSearchInput(this))}}},{key:"onSearch",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=t.currentTarget,n=t.firedByInitSearchText,a=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(void 0!==r&&e(r).length&&a){var o=e(r).val().trim();if(this.options.trimOnSearch&&e(r).val()!==o&&e(r).val(o),this.searchText===o)return;var i=gm.getSearchInput(this),s=r instanceof jQuery?r:e(r);(s.is(i)||s.hasClass("search-input"))&&(this.searchText=o,this.options.searchText=o)}n||(this.options.pageNumber=1),this.initSearch(),n?"client"===this.options.sidePagination&&this.updatePagination():this.updatePagination(),this.trigger("search",this.searchText)}},{key:"initSearch",value:function(){var e=this;if(this.filterOptions=this.filterOptions||this.options.filterOptions,"server"!==this.options.sidePagination){if(this.options.customSearch)return this.data=gm.calculateObjectValue(this.options,this.options.customSearch,[this.options.data,this.searchText,this.filterColumns]),this.options.sortReset&&(this.unsortedData=i(this.data)),void this.initSort();var t=this.searchText&&(this.fromHtml?gm.escapeHTML(this.searchText):this.searchText),r=t?t.toLowerCase():"",n=gm.isEmptyObject(this.filterColumns)?null:this.filterColumns;this.options.searchAccentNeutralise&&(r=gm.normalizeAccent(r)),"function"==typeof this.filterOptions.filterAlgorithm?this.data=this.options.data.filter((function(t){return e.filterOptions.filterAlgorithm.apply(null,[t,n])})):"string"==typeof this.filterOptions.filterAlgorithm&&(this.data=n?this.options.data.filter((function(t){var r=e.filterOptions.filterAlgorithm;if("and"===r){for(var a in n)if(Array.isArray(n[a])&&!n[a].includes(t[a])||!Array.isArray(n[a])&&t[a]!==n[a])return!1}else if("or"===r){var o=!1;for(var i in n)(Array.isArray(n[i])&&n[i].includes(t[i])||!Array.isArray(n[i])&&t[i]===n[i])&&(o=!0);return o}return!0})):i(this.options.data));var a=this.getVisibleFields();this.data=r?this.data.filter((function(n,o){for(var i=0;i<e.header.fields.length;i++)if(e.header.searchables[i]&&(!e.options.visibleSearch||-1!==a.indexOf(e.header.fields[i]))){var s=gm.isNumeric(e.header.fields[i])?parseInt(e.header.fields[i],10):e.header.fields[i],c=e.columns[e.fieldsColumnsIndex[s]],l=void 0;if("string"==typeof s){l=n;for(var u=s.split("."),f=0;f<u.length;f++){if(null===l[u[f]]){l=null;break}l=l[u[f]]}}else l=n[s];if(e.options.searchAccentNeutralise&&(l=gm.normalizeAccent(l)),c&&c.searchFormatter&&(l=gm.calculateObjectValue(c,e.header.formatters[i],[l,n,o,c.field],l)),"string"==typeof l||"number"==typeof l){if(e.options.strictSearch&&"".concat(l).toLowerCase()===r||e.options.regexSearch&&gm.regexCompare(l,t))return!0;var h=/(?:(<=|=>|=<|>=|>|<)(?:\s+)?(-?\d+)?|(-?\d+)?(\s+)?(<=|=>|=<|>=|>|<))/gm.exec(e.searchText),d=!1;if(h){var p=h[1]||"".concat(h[5],"l"),g=h[2]||h[3],m=parseInt(l,10),v=parseInt(g,10);switch(p){case">":case"<l":d=m>v;break;case"<":case">l":d=m<v;break;case"<=":case"=<":case">=l":case"=>l":d=m<=v;break;case">=":case"=>":case"<=l":case"=<l":d=m>=v}}if(d||"".concat(l).toLowerCase().includes(r))return!0}}return!1})):this.data,this.options.sortReset&&(this.unsortedData=i(this.data)),this.initSort()}}},{key:"initPagination",value:function(){var e=this,t=this.options;if(t.pagination){this.$pagination.show();var r,n,a,o,i,s,c,l=[],u=!1,f=this.getData({includeHiddenRows:!1}),h=t.pageList;if("string"==typeof h&&(h=h.replace(/\[|\]| /g,"").toLowerCase().split(",")),h=h.map((function(e){return"string"==typeof e?e.toLowerCase()===t.formatAllRows().toLowerCase()||["all","unlimited"].includes(e.toLowerCase())?t.formatAllRows():+e:e})),this.paginationParts=t.paginationParts,"string"==typeof this.paginationParts&&(this.paginationParts=this.paginationParts.replace(/\[|\]| |'/g,"").split(",")),"server"!==t.sidePagination&&(t.totalRows=f.length),this.totalPages=0,t.totalRows&&(t.pageSize===t.formatAllRows()&&(t.pageSize=t.totalRows,u=!0),this.totalPages=1+~~((t.totalRows-1)/t.pageSize),t.totalPages=this.totalPages),this.totalPages>0&&t.pageNumber>this.totalPages&&(t.pageNumber=this.totalPages),this.pageFrom=(t.pageNumber-1)*t.pageSize+1,this.pageTo=t.pageNumber*t.pageSize,this.pageTo>t.totalRows&&(this.pageTo=t.totalRows),this.options.pagination&&"server"!==this.options.sidePagination&&(this.options.totalNotFiltered=this.options.data.length),this.options.showExtendedPagination||(this.options.totalNotFiltered=void 0),(this.paginationParts.includes("pageInfo")||this.paginationParts.includes("pageInfoShort")||this.paginationParts.includes("pageSize"))&&l.push('<div class="'.concat(this.constants.classes.pull,"-").concat(t.paginationDetailHAlign,' pagination-detail">')),this.paginationParts.includes("pageInfo")||this.paginationParts.includes("pageInfoShort")){var d=this.paginationParts.includes("pageInfoShort")?t.formatDetailPagination(t.totalRows):t.formatShowingRows(this.pageFrom,this.pageTo,t.totalRows,t.totalNotFiltered);l.push('<span class="pagination-info">\n '.concat(d,"\n </span>"))}if(this.paginationParts.includes("pageSize")){l.push('<div class="page-list">');var p=['<div class="'.concat(this.constants.classes.paginationDropdown,'">\n <button class="').concat(this.constants.buttonsClass,' dropdown-toggle" type="button" ').concat(this.constants.dataToggle,'="dropdown">\n <span class="page-size">\n ').concat(u?t.formatAllRows():t.pageSize,"\n </span>\n ").concat(this.constants.html.dropdownCaret,"\n </button>\n ").concat(this.constants.html.pageDropdown[0])];h.forEach((function(r,n){var a;(!t.smartDisplay||0===n||h[n-1]<t.totalRows||r===t.formatAllRows())&&(a=u?r===t.formatAllRows()?e.constants.classes.dropdownActive:"":r===t.pageSize?e.constants.classes.dropdownActive:"",p.push(gm.sprintf(e.constants.html.pageDropdownItem,a,r)))})),p.push("".concat(this.constants.html.pageDropdown[1],"</div>")),l.push(t.formatRecordsPerPage(p.join("")))}if((this.paginationParts.includes("pageInfo")||this.paginationParts.includes("pageInfoShort")||this.paginationParts.includes("pageSize"))&&l.push("</div></div>"),this.paginationParts.includes("pageList")){l.push('<div class="'.concat(this.constants.classes.pull,"-").concat(t.paginationHAlign,' pagination">'),gm.sprintf(this.constants.html.pagination[0],gm.sprintf(" pagination-%s",t.iconSize)),gm.sprintf(this.constants.html.paginationItem," page-pre",t.formatSRPaginationPreText(),t.paginationPreText)),this.totalPages<t.paginationSuccessivelySize?(n=1,a=this.totalPages):a=(n=t.pageNumber-t.paginationPagesBySide)+2*t.paginationPagesBySide,t.pageNumber<t.paginationSuccessivelySize-1&&(a=t.paginationSuccessivelySize),t.paginationSuccessivelySize>this.totalPages-n&&(n=n-(t.paginationSuccessivelySize-(this.totalPages-n))+1),n<1&&(n=1),a>this.totalPages&&(a=this.totalPages);var g=Math.round(t.paginationPagesBySide/2),m=function(r){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return gm.sprintf(e.constants.html.paginationItem,n+(r===t.pageNumber?" ".concat(e.constants.classes.paginationActive):""),t.formatSRPaginationPageText(r),r)};if(n>1){var v=t.paginationPagesBySide;for(v>=n&&(v=n-1),r=1;r<=v;r++)l.push(m(r));n-1===v+1?(r=n-1,l.push(m(r))):n-1>v&&(n-2*t.paginationPagesBySide>t.paginationPagesBySide&&t.paginationUseIntermediate?(r=Math.round((n-g)/2+g),l.push(m(r," page-intermediate"))):l.push(gm.sprintf(this.constants.html.paginationItem," page-first-separator disabled","","...")))}for(r=n;r<=a;r++)l.push(m(r));if(this.totalPages>a){var b=this.totalPages-(t.paginationPagesBySide-1);for(a>=b&&(b=a+1),a+1===b-1?(r=a+1,l.push(m(r))):b>a+1&&(this.totalPages-a>2*t.paginationPagesBySide&&t.paginationUseIntermediate?(r=Math.round((this.totalPages-g-a)/2+a),l.push(m(r," page-intermediate"))):l.push(gm.sprintf(this.constants.html.paginationItem," page-last-separator disabled","","..."))),r=b;r<=this.totalPages;r++)l.push(m(r))}l.push(gm.sprintf(this.constants.html.paginationItem," page-next",t.formatSRPaginationNextText(),t.paginationNextText)),l.push(this.constants.html.pagination[1],"</div>")}this.$pagination.html(l.join(""));var y=["bottom","both"].includes(t.paginationVAlign)?" ".concat(this.constants.classes.dropup):"";this.$pagination.last().find(".page-list > div").addClass(y),t.onlyInfoPagination||(o=this.$pagination.find(".page-list a"),i=this.$pagination.find(".page-pre"),s=this.$pagination.find(".page-next"),c=this.$pagination.find(".page-item").not(".page-next, .page-pre, .page-last-separator, .page-first-separator"),this.totalPages<=1&&this.$pagination.find("div.pagination").hide(),t.smartDisplay&&(h.length<2||t.totalRows<=h[0])&&this.$pagination.find("div.page-list").hide(),this.$pagination[this.getData().length?"show":"hide"](),t.paginationLoop||(1===t.pageNumber&&i.addClass("disabled"),t.pageNumber===this.totalPages&&s.addClass("disabled")),u&&(t.pageSize=t.formatAllRows()),o.off("click").on("click",(function(t){return e.onPageListChange(t)})),i.off("click").on("click",(function(t){return e.onPagePre(t)})),s.off("click").on("click",(function(t){return e.onPageNext(t)})),c.off("click").on("click",(function(t){return e.onPageNumber(t)})))}else this.$pagination.hide()}},{key:"updatePagination",value:function(t){t&&e(t.currentTarget).hasClass("disabled")||(this.options.maintainMetaData||this.resetRows(),this.initPagination(),this.trigger("page-change",this.options.pageNumber,this.options.pageSize),"server"===this.options.sidePagination?this.initServer():this.initBody())}},{key:"onPageListChange",value:function(t){t.preventDefault();var r=e(t.currentTarget);return r.parent().addClass(this.constants.classes.dropdownActive).siblings().removeClass(this.constants.classes.dropdownActive),this.options.pageSize=r.text().toUpperCase()===this.options.formatAllRows().toUpperCase()?this.options.formatAllRows():+r.text(),this.$toolbar.find(".page-size").text(this.options.pageSize),this.updatePagination(t),!1}},{key:"onPagePre",value:function(t){if(!e(t.target).hasClass("disabled"))return t.preventDefault(),this.options.pageNumber-1==0?this.options.pageNumber=this.options.totalPages:this.options.pageNumber--,this.updatePagination(t),!1}},{key:"onPageNext",value:function(t){if(!e(t.target).hasClass("disabled"))return t.preventDefault(),this.options.pageNumber+1>this.options.totalPages?this.options.pageNumber=1:this.options.pageNumber++,this.updatePagination(t),!1}},{key:"onPageNumber",value:function(t){if(t.preventDefault(),this.options.pageNumber!==+e(t.currentTarget).text())return this.options.pageNumber=+e(t.currentTarget).text(),this.updatePagination(t),!1}},{key:"initRow",value:function(e,r,n,a){var i=this,s=[],c={},l=[],u="",f={},h=[];if(!(gm.findIndex(this.hiddenRows,e)>-1)){if((c=gm.calculateObjectValue(this.options,this.options.rowStyle,[e,r],c))&&c.css)for(var d=0,p=Object.entries(c.css);d<p.length;d++){var g=o(p[d],2),m=g[0],v=g[1];l.push("".concat(m,": ").concat(v))}if(f=gm.calculateObjectValue(this.options,this.options.rowAttributes,[e,r],f))for(var b=0,y=Object.entries(f);b<y.length;b++){var w=o(y[b],2),S=w[0],x=w[1];h.push("".concat(S,'="').concat(gm.escapeHTML(x),'"'))}if(e._data&&!gm.isEmptyObject(e._data))for(var A=0,k=Object.entries(e._data);A<k.length;A++){var T=o(k[A],2),E=T[0],_=T[1];if("index"===E)return;u+=" data-".concat(E,"='").concat("object"===t(_)?JSON.stringify(_):_,"'")}s.push("<tr",gm.sprintf(" %s",h.length?h.join(" "):void 0),gm.sprintf(' id="%s"',Array.isArray(e)?void 0:e._id),gm.sprintf(' class="%s"',c.classes||(Array.isArray(e)?void 0:e._class)),gm.sprintf(' style="%s"',Array.isArray(e)?void 0:e._style),' data-index="'.concat(r,'"'),gm.sprintf(' data-uniqueid="%s"',gm.getItemField(e,this.options.uniqueId,!1)),gm.sprintf(' data-has-detail-view="%s"',this.options.detailView&&gm.calculateObjectValue(null,this.options.detailFilter,[r,e])?"true":void 0),gm.sprintf("%s",u),">"),this.options.cardView&&s.push('<td colspan="'.concat(this.header.fields.length,'"><div class="card-views">'));var N="";return gm.hasDetailViewIcon(this.options)&&(N="<td>",gm.calculateObjectValue(null,this.options.detailFilter,[r,e])&&(N+='\n <a class="detail-icon" href="#">\n '.concat(gm.sprintf(this.constants.html.icon,this.options.iconsPrefix,this.options.icons.detailOpen),"\n </a>\n ")),N+="</td>"),N&&"right"!==this.options.detailViewAlign&&s.push(N),this.header.fields.forEach((function(t,n){var a=i.columns[n],c="",u=gm.getItemField(e,t,i.options.escape,a.escape),f="",h="",d={},p="",g=i.header.classes[n],m="",v="",b="",y="",w="",S="";if((!i.fromHtml&&!i.autoMergeCells||void 0!==u||a.checkbox||a.radio)&&a.visible&&(!i.options.cardView||a.cardVisible)){if(l.concat([i.header.styles[n]]).length&&(v+="".concat(l.concat([i.header.styles[n]]).join("; "))),e["_".concat(t,"_style")]&&(v+="".concat(e["_".concat(t,"_style")])),v&&(m=' style="'.concat(v,'"')),e["_".concat(t,"_id")]&&(p=gm.sprintf(' id="%s"',e["_".concat(t,"_id")])),e["_".concat(t,"_class")]&&(g=gm.sprintf(' class="%s"',e["_".concat(t,"_class")])),e["_".concat(t,"_rowspan")]&&(y=gm.sprintf(' rowspan="%s"',e["_".concat(t,"_rowspan")])),e["_".concat(t,"_colspan")]&&(w=gm.sprintf(' colspan="%s"',e["_".concat(t,"_colspan")])),e["_".concat(t,"_title")]&&(S=gm.sprintf(' title="%s"',e["_".concat(t,"_title")])),(d=gm.calculateObjectValue(i.header,i.header.cellStyles[n],[u,e,r,t],d)).classes&&(g=' class="'.concat(d.classes,'"')),d.css){for(var x=[],A=0,k=Object.entries(d.css);A<k.length;A++){var T=o(k[A],2),E=T[0],_=T[1];x.push("".concat(E,": ").concat(_))}m=' style="'.concat(x.concat(i.header.styles[n]).join("; "),'"')}if(f=gm.calculateObjectValue(a,i.header.formatters[n],[u,e,r,t],u),a.checkbox||a.radio||(f=null==f?i.options.undefinedText:f),a.searchable&&i.searchText&&i.options.searchHighlight&&!a.checkbox&&!a.radio){var N="",C=i.searchText.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");if(i.options.searchAccentNeutralise){var O=new RegExp("".concat(gm.normalizeAccent(C)),"gmi").exec(gm.normalizeAccent(f));O&&(C=f.substring(O.index,O.index+C.length))}var R=new RegExp("(".concat(C,")"),"gim"),P="<mark>$1</mark>";if(f&&/<(?=.*? .*?\/ ?>|br|hr|input|!--|wbr)[a-z]+.*?>|<([a-z]+).*?<\/\1>/i.test(f)){var L=(new DOMParser).parseFromString(f.toString(),"text/html").documentElement.textContent,I=L.replace(R,P);L=L.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),N=f.replace(new RegExp("(>\\s*)(".concat(L,")(\\s*)"),"gm"),"$1".concat(I,"$3"))}else N=f.toString().replace(R,P);f=gm.calculateObjectValue(a,a.searchHighlightFormatter,[f,i.searchText],N)}if(e["_".concat(t,"_data")]&&!gm.isEmptyObject(e["_".concat(t,"_data")]))for(var F=0,D=Object.entries(e["_".concat(t,"_data")]);F<D.length;F++){var M=o(D[F],2),j=M[0],B=M[1];if("index"===j)return;b+=" data-".concat(j,'="').concat(B,'"')}if(a.checkbox||a.radio){h=a.checkbox?"checkbox":h,h=a.radio?"radio":h;var W=a.class||"",U=gm.isObject(f)&&f.hasOwnProperty("checked")?f.checked:(!0===f||u)&&!1!==f,H=!a.checkboxEnabled||f&&f.disabled;c=[i.options.cardView?'<div class="card-view '.concat(W,'">'):'<td class="bs-checkbox '.concat(W,'"').concat(g).concat(m,">"),'<label>\n <input\n data-index="'.concat(r,'"\n name="').concat(i.options.selectItemName,'"\n type="').concat(h,'"\n ').concat(gm.sprintf('value="%s"',e[i.options.idField]),"\n ").concat(gm.sprintf('checked="%s"',U?"checked":void 0),"\n ").concat(gm.sprintf('disabled="%s"',H?"disabled":void 0)," />\n <span></span>\n </label>"),i.header.formatters[n]&&"string"==typeof f?f:"",i.options.cardView?"</div>":"</td>"].join(""),e[i.header.stateField]=!0===f||!!u||f&&f.checked}else if(i.options.cardView){var z=i.options.showHeader?'<span class="card-view-title '.concat(d.classes||"",'"').concat(m,">").concat(gm.getFieldTitle(i.columns,t),"</span>"):"";c='<div class="card-view">'.concat(z,'<span class="card-view-value ').concat(d.classes||"",'"').concat(m,">").concat(f,"</span></div>"),i.options.smartDisplay&&""===f&&(c='<div class="card-view"></div>')}else c="<td".concat(p).concat(g).concat(m).concat(b).concat(y).concat(w).concat(S,">").concat(f,"</td>");s.push(c)}})),N&&"right"===this.options.detailViewAlign&&s.push(N),this.options.cardView&&s.push("</div></td>"),s.push("</tr>"),s.join("")}}},{key:"initBody",value:function(t,r){var n=this,a=this.getData();this.trigger("pre-body",a),this.$body=this.$el.find(">tbody"),this.$body.length||(this.$body=e("<tbody></tbody>").appendTo(this.$el)),this.options.pagination&&"server"!==this.options.sidePagination||(this.pageFrom=1,this.pageTo=a.length);var o=[],i=e(document.createDocumentFragment()),s=!1,c=[];this.autoMergeCells=gm.checkAutoMergeCells(a.slice(this.pageFrom-1,this.pageTo));for(var l=this.pageFrom-1;l<this.pageTo;l++){var u=a[l],f=this.initRow(u,l,a,i);if(s=s||!!f,f&&"string"==typeof f){var h=this.options.uniqueId;if(h&&u.hasOwnProperty(h)){var d=u[h],p=this.$body.find(gm.sprintf('> tr[data-uniqueid="%s"][data-has-detail-view]',d)).next();p.is("tr.detail-view")&&(c.push(l),r&&d===r||(f+=p[0].outerHTML))}this.options.virtualScroll?o.push(f):i.append(f)}}s?this.options.virtualScroll?(this.virtualScroll&&this.virtualScroll.destroy(),this.virtualScroll=new xm({rows:o,fixedScroll:t,scrollEl:this.$tableBody[0],contentEl:this.$body[0],itemHeight:this.options.virtualScrollItemHeight,callback:function(e,t){n.fitHeader(),n.initBodyEvent(),n.trigger("virtual-scroll",e,t)}})):this.$body.html(i):this.$body.html('<tr class="no-records-found">'.concat(gm.sprintf('<td colspan="%s">%s</td>',this.getVisibleFields().length+gm.getDetailViewIndexOffset(this.options),this.options.formatNoMatches()),"</tr>")),c.forEach((function(e){n.expandRow(e)})),t||this.scrollTo(0),this.initBodyEvent(),this.initFooter(),this.resetView(),this.updateSelected(),"server"!==this.options.sidePagination&&(this.options.totalRows=a.length),this.trigger("post-body",a)}},{key:"initBodyEvent",value:function(){var t=this;this.$body.find("> tr[data-index] > td").off("click dblclick").on("click dblclick",(function(r){var n=e(r.currentTarget);if(!(n.find(".detail-icon").length||n.index()-gm.getDetailViewIndexOffset(t.options)<0)){var a=n.parent(),o=e(r.target).parents(".card-views").children(),i=e(r.target).parents(".card-view"),s=a.data("index"),c=t.data[s],l=t.options.cardView?o.index(i):n[0].cellIndex,u=t.getVisibleFields()[l-gm.getDetailViewIndexOffset(t.options)],f=t.columns[t.fieldsColumnsIndex[u]],h=gm.getItemField(c,u,t.options.escape,f.escape);if(t.trigger("click"===r.type?"click-cell":"dbl-click-cell",u,h,c,n),t.trigger("click"===r.type?"click-row":"dbl-click-row",c,a,u),"click"===r.type&&t.options.clickToSelect&&f.clickToSelect&&!gm.calculateObjectValue(t.options,t.options.ignoreClickToSelectOn,[r.target])){var d=a.find(gm.sprintf('[name="%s"]',t.options.selectItemName));d.length&&d[0].click()}"click"===r.type&&t.options.detailViewByClick&&t.toggleDetailView(s,t.header.detailFormatters[t.fieldsColumnsIndex[u]])}})).off("mousedown").on("mousedown",(function(e){t.multipleSelectRowCtrlKey=e.ctrlKey||e.metaKey,t.multipleSelectRowShiftKey=e.shiftKey})),this.$body.find("> tr[data-index] > td > .detail-icon").off("click").on("click",(function(r){return r.preventDefault(),t.toggleDetailView(e(r.currentTarget).parent().parent().data("index")),!1})),this.$selectItem=this.$body.find(gm.sprintf('[name="%s"]',this.options.selectItemName)),this.$selectItem.off("click").on("click",(function(r){r.stopImmediatePropagation();var n=e(r.currentTarget);t._toggleCheck(n.prop("checked"),n.data("index"))})),this.header.events.forEach((function(r,n){var a=r;if(a){if("string"==typeof a&&(a=gm.calculateObjectValue(null,a)),!a)throw new Error("Unknown event in the scope: ".concat(r));var o=t.header.fields[n],i=t.getVisibleFields().indexOf(o);if(-1!==i){i+=gm.getDetailViewIndexOffset(t.options);var s=function(r){if(!a.hasOwnProperty(r))return"continue";var n=a[r];t.$body.find(">tr:not(.no-records-found)").each((function(a,s){var c=e(s),l=c.find(t.options.cardView?".card-views>.card-view":">td").eq(i),u=r.indexOf(" "),f=r.substring(0,u),h=r.substring(u+1);l.find(h).off(f).on(f,(function(e){var r=c.data("index"),a=t.data[r],i=a[o];n.apply(t,[e,i,a,r])}))}))};for(var c in a)s(c)}}}))}},{key:"initServer",value:function(t,r,n){var a=this,o={},i=this.header.fields.indexOf(this.options.sortName),s={searchText:this.searchText,sortName:this.options.sortName,sortOrder:this.options.sortOrder};if(this.header.sortNames[i]&&(s.sortName=this.header.sortNames[i]),this.options.pagination&&"server"===this.options.sidePagination&&(s.pageSize=this.options.pageSize===this.options.formatAllRows()?this.options.totalRows:this.options.pageSize,s.pageNumber=this.options.pageNumber),n||this.options.url||this.options.ajax){if("limit"===this.options.queryParamsType&&(s={search:s.searchText,sort:s.sortName,order:s.sortOrder},this.options.pagination&&"server"===this.options.sidePagination&&(s.offset=this.options.pageSize===this.options.formatAllRows()?0:this.options.pageSize*(this.options.pageNumber-1),s.limit=this.options.pageSize,0!==s.limit&&this.options.pageSize!==this.options.formatAllRows()||delete s.limit)),this.options.search&&"server"===this.options.sidePagination&&this.options.searchable&&this.columns.filter((function(e){return e.searchable})).length){s.searchable=[];var c,u=l(this.columns);try{for(u.s();!(c=u.n()).done;){var f=c.value;!f.checkbox&&f.searchable&&(this.options.visibleSearch&&f.visible||!this.options.visibleSearch)&&s.searchable.push(f.field)}}catch(e){u.e(e)}finally{u.f()}}if(gm.isEmptyObject(this.filterColumnsPartial)||(s.filter=JSON.stringify(this.filterColumnsPartial,null)),gm.extend(s,r||{}),!1!==(o=gm.calculateObjectValue(this.options,this.options.queryParams,[s],o))){t||this.showLoading();var h=gm.extend({},gm.calculateObjectValue(null,this.options.ajaxOptions),{type:this.options.method,url:n||this.options.url,data:"application/json"===this.options.contentType&&"post"===this.options.method?JSON.stringify(o):o,cache:this.options.cache,contentType:this.options.contentType,dataType:this.options.dataType,success:function(e,r,n){var o=gm.calculateObjectValue(a.options,a.options.responseHandler,[e,n],e);a.load(o),a.trigger("load-success",o,n&&n.status,n),t||a.hideLoading(),"server"===a.options.sidePagination&&a.options.pageNumber>1&&o[a.options.totalField]>0&&!o[a.options.dataField].length&&a.updatePagination()},error:function(e){if(e&&0===e.status&&a._xhrAbort)a._xhrAbort=!1;else{var r=[];"server"===a.options.sidePagination&&((r={})[a.options.totalField]=0,r[a.options.dataField]=[]),a.load(r),a.trigger("load-error",e&&e.status,e),t||a.hideLoading()}}});return this.options.ajax?gm.calculateObjectValue(this,this.options.ajax,[h],null):(this._xhr&&4!==this._xhr.readyState&&(this._xhrAbort=!0,this._xhr.abort()),this._xhr=e.ajax(h)),o}}}},{key:"initSearchText",value:function(){if(this.options.search&&(this.searchText="",""!==this.options.searchText)){var e=gm.getSearchInput(this);e.val(this.options.searchText),this.onSearch({currentTarget:e,firedByInitSearchText:!0})}}},{key:"getCaret",value:function(){var t=this;this.$header.find("th").each((function(r,n){e(n).find(".sortable").removeClass("desc asc").addClass(e(n).data("field")===t.options.sortName?t.options.sortOrder:"both")}))}},{key:"updateSelected",value:function(){var t=this.$selectItem.filter(":enabled").length&&this.$selectItem.filter(":enabled").length===this.$selectItem.filter(":enabled").filter(":checked").length;this.$selectAll.add(this.$selectAll_).prop("checked",t),this.$selectItem.each((function(t,r){e(r).closest("tr")[e(r).prop("checked")?"addClass":"removeClass"]("selected")}))}},{key:"updateRows",value:function(){var t=this;this.$selectItem.each((function(r,n){t.data[e(n).data("index")][t.header.stateField]=e(n).prop("checked")}))}},{key:"resetRows",value:function(){var e,t=l(this.data);try{for(t.s();!(e=t.n()).done;){var r=e.value;this.$selectAll.prop("checked",!1),this.$selectItem.prop("checked",!1),this.header.stateField&&(r[this.header.stateField]=!1)}}catch(e){t.e(e)}finally{t.f()}this.initHiddenRows()}},{key:"trigger",value:function(t){for(var r,a,o="".concat(t,".bs.table"),i=arguments.length,s=new Array(i>1?i-1:0),c=1;c<i;c++)s[c-1]=arguments[c];(r=this.options)[n.EVENTS[o]].apply(r,[].concat(s,[this])),this.$el.trigger(e.Event(o,{sender:this}),s),(a=this.options).onAll.apply(a,[o].concat([].concat(s,[this]))),this.$el.trigger(e.Event("all.bs.table",{sender:this}),[o,s])}},{key:"resetHeader",value:function(){var e=this;clearTimeout(this.timeoutId_),this.timeoutId_=setTimeout((function(){return e.fitHeader()}),this.$el.is(":hidden")?100:0)}},{key:"fitHeader",value:function(){var t=this;if(this.$el.is(":hidden"))this.timeoutId_=setTimeout((function(){return t.fitHeader()}),100);else{var r=this.$tableBody.get(0),n=this.hasScrollBar&&r.scrollHeight>r.clientHeight+this.$header.outerHeight()?gm.getScrollBarWidth():0;this.$el.css("margin-top",-this.$header.outerHeight());var a=this.$tableHeader.find(":focus");if(a.length>0){var o=a.parents("th");if(o.length>0){var i=o.attr("data-field");if(void 0!==i){var s=this.$header.find("[data-field='".concat(i,"']"));s.length>0&&s.find(":input").addClass("focus-temp")}}}this.$header_=this.$header.clone(!0,!0),this.$selectAll_=this.$header_.find('[name="btSelectAll"]'),this.$tableHeader.css("margin-right",n).find("table").css("width",this.$el.outerWidth()).html("").attr("class",this.$el.attr("class")).append(this.$header_),this.$tableLoading.css("width",this.$el.outerWidth());var c=e(".focus-temp:visible:eq(0)");c.length>0&&(c.focus(),this.$header.find(".focus-temp").removeClass("focus-temp")),this.$header.find("th[data-field]").each((function(r,n){t.$header_.find(gm.sprintf('th[data-field="%s"]',e(n).data("field"))).data(e(n).data())}));for(var l=this.getVisibleFields(),u=this.$header_.find("th"),f=this.$body.find(">tr:not(.no-records-found,.virtual-scroll-top)").eq(0);f.length&&f.find('>td[colspan]:not([colspan="1"])').length;)f=f.next();var h=f.find("> *").length;f.find("> *").each((function(r,n){var a=e(n);if(gm.hasDetailViewIcon(t.options)&&(0===r&&"right"!==t.options.detailViewAlign||r===h-1&&"right"===t.options.detailViewAlign)){var o=u.filter(".detail"),i=o.innerWidth()-o.find(".fht-cell").width();o.find(".fht-cell").width(a.innerWidth()-i)}else{var s=r-gm.getDetailViewIndexOffset(t.options),c=t.$header_.find(gm.sprintf('th[data-field="%s"]',l[s]));c.length>1&&(c=e(u[a[0].cellIndex]));var f=c.innerWidth()-c.find(".fht-cell").width();c.find(".fht-cell").width(a.innerWidth()-f)}})),this.horizontalScroll(),this.trigger("post-header")}}},{key:"initFooter",value:function(){if(this.options.showFooter&&!this.options.cardView){var e=this.getData(),t=[],r="";gm.hasDetailViewIcon(this.options)&&(r='<th class="detail"><div class="th-inner"></div><div class="fht-cell"></div></th>'),r&&"right"!==this.options.detailViewAlign&&t.push(r);var n,a=l(this.columns);try{for(a.s();!(n=a.n()).done;){var i,s,c=n.value,u=[],f={},h=gm.sprintf(' class="%s"',c.class);if(!(!c.visible||this.footerData&&this.footerData.length>0&&!(c.field in this.footerData[0]))){if(this.options.cardView&&!c.cardVisible)return;if(i=gm.sprintf("text-align: %s; ",c.falign?c.falign:c.align),s=gm.sprintf("vertical-align: %s; ",c.valign),(f=gm.calculateObjectValue(null,this.options.footerStyle,[c]))&&f.css)for(var d=0,p=Object.entries(f.css);d<p.length;d++){var g=o(p[d],2),m=g[0],v=g[1];u.push("".concat(m,": ").concat(v))}f&&f.classes&&(h=gm.sprintf(' class="%s"',c.class?[c.class,f.classes].join(" "):f.classes)),t.push("<th",h,gm.sprintf(' style="%s"',i+s+u.concat().join("; ")));var b=0;this.footerData&&this.footerData.length>0&&(b=this.footerData[0]["_".concat(c.field,"_colspan")]||0),b&&t.push(' colspan="'.concat(b,'" ')),t.push(">"),t.push('<div class="th-inner">');var y="";this.footerData&&this.footerData.length>0&&(y=this.footerData[0][c.field]||""),t.push(gm.calculateObjectValue(c,c.footerFormatter,[e,y],y)),t.push("</div>"),t.push('<div class="fht-cell"></div>'),t.push("</div>"),t.push("</th>")}}}catch(e){a.e(e)}finally{a.f()}r&&"right"===this.options.detailViewAlign&&t.push(r),this.options.height||this.$tableFooter.length||(this.$el.append("<tfoot><tr></tr></tfoot>"),this.$tableFooter=this.$el.find("tfoot")),this.$tableFooter.find("tr").length||this.$tableFooter.html("<table><thead><tr></tr></thead></table>"),this.$tableFooter.find("tr").html(t.join("")),this.trigger("post-footer",this.$tableFooter)}}},{key:"fitFooter",value:function(){var t=this;if(this.$el.is(":hidden"))setTimeout((function(){return t.fitFooter()}),100);else{var r=this.$tableBody.get(0),n=this.hasScrollBar&&r.scrollHeight>r.clientHeight+this.$header.outerHeight()?gm.getScrollBarWidth():0;this.$tableFooter.css("margin-right",n).find("table").css("width",this.$el.outerWidth()).attr("class",this.$el.attr("class"));var a=this.$tableFooter.find("th"),o=this.$body.find(">tr:first-child:not(.no-records-found)");for(a.find(".fht-cell").width("auto");o.length&&o.find('>td[colspan]:not([colspan="1"])').length;)o=o.next();var i=o.find("> *").length;o.find("> *").each((function(r,n){var o=e(n);if(gm.hasDetailViewIcon(t.options)&&(0===r&&"left"===t.options.detailViewAlign||r===i-1&&"right"===t.options.detailViewAlign)){var s=a.filter(".detail"),c=s.innerWidth()-s.find(".fht-cell").width();s.find(".fht-cell").width(o.innerWidth()-c)}else{var l=a.eq(r),u=l.innerWidth()-l.find(".fht-cell").width();l.find(".fht-cell").width(o.innerWidth()-u)}})),this.horizontalScroll()}}},{key:"horizontalScroll",value:function(){var e=this;this.$tableBody.off("scroll").on("scroll",(function(){var t=e.$tableBody.scrollLeft();e.options.showHeader&&e.options.height&&e.$tableHeader.scrollLeft(t),e.options.showFooter&&!e.options.cardView&&e.$tableFooter.scrollLeft(t),e.trigger("scroll-body",e.$tableBody)}))}},{key:"getVisibleFields",value:function(){var e,t=[],r=l(this.header.fields);try{for(r.s();!(e=r.n()).done;){var n=e.value,a=this.columns[this.fieldsColumnsIndex[n]];a&&a.visible&&(!this.options.cardView||a.cardVisible)&&t.push(n)}}catch(e){r.e(e)}finally{r.f()}return t}},{key:"initHiddenRows",value:function(){this.hiddenRows=[]}},{key:"getOptions",value:function(){var e=gm.extend({},this.options);return delete e.data,gm.extend(!0,{},e)}},{key:"refreshOptions",value:function(e){gm.compareObjects(this.options,e,!0)||(this.options=gm.extend(this.options,e),this.trigger("refresh-options",this.options),this.destroy(),this.init())}},{key:"getData",value:function(e){var t=this,r=this.options.data;if(!(this.searchText||this.options.customSearch||void 0!==this.options.sortName||this.enableCustomSort)&&gm.isEmptyObject(this.filterColumns)&&"function"!=typeof this.options.filterOptions.filterAlgorithm&&gm.isEmptyObject(this.filterColumnsPartial)||e&&e.unfiltered||(r=this.data),e&&!e.includeHiddenRows){var n=this.getHiddenRows();r=r.filter((function(e){return-1===gm.findIndex(n,e)}))}return e&&e.useCurrentPage&&(r=r.slice(this.pageFrom-1,this.pageTo)),e&&e.formatted&&r.forEach((function(e){for(var r=0,n=Object.entries(e);r<n.length;r++){var a=o(n[r],2),i=a[0],s=a[1],c=t.columns[t.fieldsColumnsIndex[i]];if(!c)return;e[i]=gm.calculateObjectValue(c,t.header.formatters[c.fieldIndex],[s,e,e.index,c.field],s)}})),r}},{key:"getSelections",value:function(){var e=this;return(this.options.maintainMetaData?this.options.data:this.data).filter((function(t){return!0===t[e.header.stateField]}))}},{key:"load",value:function(e){var t,r=e;this.options.pagination&&"server"===this.options.sidePagination&&(this.options.totalRows=r[this.options.totalField],this.options.totalNotFiltered=r[this.options.totalNotFilteredField],this.footerData=r[this.options.footerField]?[r[this.options.footerField]]:void 0),t=r.fixedScroll,r=Array.isArray(r)?r:r[this.options.dataField],this.initData(r),this.initSearch(),this.initPagination(),this.initBody(t)}},{key:"append",value:function(e){this.initData(e,"append"),this.initSearch(),this.initPagination(),this.initSort(),this.initBody(!0)}},{key:"prepend",value:function(e){this.initData(e,"prepend"),this.initSearch(),this.initPagination(),this.initSort(),this.initBody(!0)}},{key:"remove",value:function(e){for(var t=0,r=this.options.data.length-1;r>=0;r--){var n=this.options.data[r],a=gm.getItemField(n,e.field,this.options.escape,n.escape);void 0===a&&"$index"!==e.field||(!n.hasOwnProperty(e.field)&&"$index"===e.field&&e.values.includes(r)||e.values.includes(a))&&(t++,this.options.data.splice(r,1))}t&&("server"===this.options.sidePagination&&(this.options.totalRows-=t,this.data=i(this.options.data)),this.initSearch(),this.initPagination(),this.initSort(),this.initBody(!0))}},{key:"removeAll",value:function(){this.options.data.length>0&&(this.options.data.splice(0,this.options.data.length),this.initSearch(),this.initPagination(),this.initBody(!0))}},{key:"insertRow",value:function(e){e.hasOwnProperty("index")&&e.hasOwnProperty("row")&&(this.options.data.splice(e.index,0,e.row),this.initSearch(),this.initPagination(),this.initSort(),this.initBody(!0))}},{key:"updateRow",value:function(e){var t,r=l(Array.isArray(e)?e:[e]);try{for(r.s();!(t=r.n()).done;){var n=t.value;n.hasOwnProperty("index")&&n.hasOwnProperty("row")&&(n.hasOwnProperty("replace")&&n.replace?this.options.data[n.index]=n.row:gm.extend(this.options.data[n.index],n.row))}}catch(e){r.e(e)}finally{r.f()}this.initSearch(),this.initPagination(),this.initSort(),this.initBody(!0)}},{key:"getRowByUniqueId",value:function(e){var t,r,n=this.options.uniqueId,a=e,o=null;for(t=this.options.data.length-1;t>=0;t--){r=this.options.data[t];var i=gm.getItemField(r,n,this.options.escape,r.escape);if(void 0!==i&&("string"==typeof i?a=a.toString():"number"==typeof i&&(Number(i)===i&&i%1==0?a=parseInt(a,10):i===Number(i)&&0!==i&&(a=parseFloat(a))),i===a)){o=r;break}}return o}},{key:"updateByUniqueId",value:function(e){var t,r=null,n=l(Array.isArray(e)?e:[e]);try{for(n.s();!(t=n.n()).done;){var a=t.value;if(a.hasOwnProperty("id")&&a.hasOwnProperty("row")){var o=this.options.data.indexOf(this.getRowByUniqueId(a.id));-1!==o&&(a.hasOwnProperty("replace")&&a.replace?this.options.data[o]=a.row:gm.extend(this.options.data[o],a.row),r=a.id)}}}catch(e){n.e(e)}finally{n.f()}this.initSearch(),this.initPagination(),this.initSort(),this.initBody(!0,r)}},{key:"removeByUniqueId",value:function(e){var t=this.options.data.length,r=this.getRowByUniqueId(e);r&&this.options.data.splice(this.options.data.indexOf(r),1),t!==this.options.data.length&&("server"===this.options.sidePagination&&(this.options.totalRows-=1,this.data=i(this.options.data)),this.initSearch(),this.initPagination(),this.initBody(!0))}},{key:"_updateCellOnly",value:function(t,r){var n=this.initRow(this.options.data[r],r),a=this.getVisibleFields().indexOf(t);-1!==a&&(a+=gm.getDetailViewIndexOffset(this.options),this.$body.find(">tr[data-index=".concat(r,"]")).find(">td:eq(".concat(a,")")).replaceWith(e(n).find(">td:eq(".concat(a,")"))),this.initBodyEvent(),this.initFooter(),this.resetView(),this.updateSelected())}},{key:"updateCell",value:function(e){e.hasOwnProperty("index")&&e.hasOwnProperty("field")&&e.hasOwnProperty("value")&&(this.options.data[e.index][e.field]=e.value,!1!==e.reinit?(this.initSort(),this.initBody(!0)):this._updateCellOnly(e.field,e.index))}},{key:"updateCellByUniqueId",value:function(e){var t=this;(Array.isArray(e)?e:[e]).forEach((function(e){var r=e.id,n=e.field,a=e.value,o=t.options.data.indexOf(t.getRowByUniqueId(r));-1!==o&&(t.options.data[o][n]=a)})),!1!==e.reinit?(this.initSort(),this.initBody(!0)):this._updateCellOnly(e.field,this.options.data.indexOf(this.getRowByUniqueId(e.id)))}},{key:"showRow",value:function(e){this._toggleRow(e,!0)}},{key:"hideRow",value:function(e){this._toggleRow(e,!1)}},{key:"_toggleRow",value:function(e,t){var r;if(e.hasOwnProperty("index")?r=this.getData()[e.index]:e.hasOwnProperty("uniqueId")&&(r=this.getRowByUniqueId(e.uniqueId)),r){var n=gm.findIndex(this.hiddenRows,r);t||-1!==n?t&&n>-1&&this.hiddenRows.splice(n,1):this.hiddenRows.push(r),this.initBody(!0),this.initPagination()}}},{key:"getHiddenRows",value:function(e){if(e)return this.initHiddenRows(),this.initBody(!0),void this.initPagination();var t,r=[],n=l(this.getData());try{for(n.s();!(t=n.n()).done;){var a=t.value;this.hiddenRows.includes(a)&&r.push(a)}}catch(e){n.e(e)}finally{n.f()}return this.hiddenRows=r,r}},{key:"showColumn",value:function(e){var t=this;(Array.isArray(e)?e:[e]).forEach((function(e){t._toggleColumn(t.fieldsColumnsIndex[e],!0,!0)}))}},{key:"hideColumn",value:function(e){var t=this;(Array.isArray(e)?e:[e]).forEach((function(e){t._toggleColumn(t.fieldsColumnsIndex[e],!1,!0)}))}},{key:"_toggleColumn",value:function(e,t,r){if(-1!==e&&this.columns[e].visible!==t&&(this.columns[e].visible=t,this.initHeader(),this.initSearch(),this.initPagination(),this.initBody(),this.options.showColumns)){var n=this.$toolbar.find('.keep-open input:not(".toggle-all")').prop("disabled",!1);r&&n.filter(gm.sprintf('[value="%s"]',e)).prop("checked",t),n.filter(":checked").length<=this.options.minimumCountColumns&&n.filter(":checked").prop("disabled",!0)}}},{key:"getVisibleColumns",value:function(){var e=this;return this.columns.filter((function(t){return t.visible&&!e.isSelectionColumn(t)}))}},{key:"getHiddenColumns",value:function(){return this.columns.filter((function(e){return!e.visible}))}},{key:"isSelectionColumn",value:function(e){return e.radio||e.checkbox}},{key:"showAllColumns",value:function(){this._toggleAllColumns(!0)}},{key:"hideAllColumns",value:function(){this._toggleAllColumns(!1)}},{key:"_toggleAllColumns",value:function(t){var r,n=this,a=l(this.columns.slice().reverse());try{for(a.s();!(r=a.n()).done;){var o=r.value;if(o.switchable){if(!t&&this.options.showColumns&&this.getVisibleColumns().filter((function(e){return e.switchable})).length===this.options.minimumCountColumns)continue;o.visible=t}}}catch(e){a.e(e)}finally{a.f()}if(this.initHeader(),this.initSearch(),this.initPagination(),this.initBody(),this.options.showColumns){var i=this.$toolbar.find('.keep-open input[type="checkbox"]:not(".toggle-all")').prop("disabled",!1);t?i.prop("checked",t):i.get().reverse().forEach((function(r){i.filter(":checked").length>n.options.minimumCountColumns&&e(r).prop("checked",t)})),i.filter(":checked").length<=this.options.minimumCountColumns&&i.filter(":checked").prop("disabled",!0)}}},{key:"mergeCells",value:function(e){var t,r,n=e.index,a=this.getVisibleFields().indexOf(e.field),o=e.rowspan||1,i=e.colspan||1,s=this.$body.find(">tr[data-index]");a+=gm.getDetailViewIndexOffset(this.options);var c=s.eq(n).find(">td").eq(a);if(!(n<0||a<0||n>=this.data.length)){for(t=n;t<n+o;t++)for(r=a;r<a+i;r++)s.eq(t).find(">td").eq(r).hide();c.attr("rowspan",o).attr("colspan",i).show()}}},{key:"checkAll",value:function(){this._toggleCheckAll(!0)}},{key:"uncheckAll",value:function(){this._toggleCheckAll(!1)}},{key:"_toggleCheckAll",value:function(e){var t=this.getSelections();this.$selectAll.add(this.$selectAll_).prop("checked",e),this.$selectItem.filter(":enabled").prop("checked",e),this.updateRows(),this.updateSelected();var r=this.getSelections();e?this.trigger("check-all",r,t):this.trigger("uncheck-all",r,t)}},{key:"checkInvert",value:function(){var t=this.$selectItem.filter(":enabled"),r=t.filter(":checked");t.each((function(t,r){e(r).prop("checked",!e(r).prop("checked"))})),this.updateRows(),this.updateSelected(),this.trigger("uncheck-some",r),r=this.getSelections(),this.trigger("check-some",r)}},{key:"check",value:function(e){this._toggleCheck(!0,e)}},{key:"uncheck",value:function(e){this._toggleCheck(!1,e)}},{key:"_toggleCheck",value:function(e,t){var r=this.$selectItem.filter('[data-index="'.concat(t,'"]')),n=this.data[t];if(r.is(":radio")||this.options.singleSelect||this.options.multipleSelectRow&&!this.multipleSelectRowCtrlKey&&!this.multipleSelectRowShiftKey){var a,i=l(this.options.data);try{for(i.s();!(a=i.n()).done;){a.value[this.header.stateField]=!1}}catch(e){i.e(e)}finally{i.f()}this.$selectItem.filter(":checked").not(r).prop("checked",!1)}if(n[this.header.stateField]=e,this.options.multipleSelectRow){if(this.multipleSelectRowShiftKey&&this.multipleSelectRowLastSelectedIndex>=0)for(var s=o(this.multipleSelectRowLastSelectedIndex<t?[this.multipleSelectRowLastSelectedIndex,t]:[t,this.multipleSelectRowLastSelectedIndex],2),c=s[0],u=s[1],f=c+1;f<u;f++)this.data[f][this.header.stateField]=!0,this.$selectItem.filter('[data-index="'.concat(f,'"]')).prop("checked",!0);this.multipleSelectRowCtrlKey=!1,this.multipleSelectRowShiftKey=!1,this.multipleSelectRowLastSelectedIndex=e?t:-1}r.prop("checked",e),this.updateSelected(),this.trigger(e?"check":"uncheck",this.data[t],r)}},{key:"checkBy",value:function(e){this._toggleCheckBy(!0,e)}},{key:"uncheckBy",value:function(e){this._toggleCheckBy(!1,e)}},{key:"_toggleCheckBy",value:function(e,t){var r=this;if(t.hasOwnProperty("field")&&t.hasOwnProperty("values")){var n=[];this.data.forEach((function(a,o){if(!a.hasOwnProperty(t.field))return!1;if(t.values.includes(a[t.field])){var i=r.$selectItem.filter(":enabled").filter(gm.sprintf('[data-index="%s"]',o)),s=!!t.hasOwnProperty("onlyCurrentPage")&&t.onlyCurrentPage;if(!(i=e?i.not(":checked"):i.filter(":checked")).length&&s)return;i.prop("checked",e),a[r.header.stateField]=e,n.push(a),r.trigger(e?"check":"uncheck",a,i)}})),this.updateSelected(),this.trigger(e?"check-some":"uncheck-some",n)}}},{key:"refresh",value:function(e){e&&e.url&&(this.options.url=e.url),e&&e.pageNumber&&(this.options.pageNumber=e.pageNumber),e&&e.pageSize&&(this.options.pageSize=e.pageSize),this.trigger("refresh",this.initServer(e&&e.silent,e&&e.query,e&&e.url))}},{key:"destroy",value:function(){this.$el.insertBefore(this.$container),e(this.options.toolbar).insertBefore(this.$el),this.$container.next().remove(),this.$container.remove(),this.$el.html(this.$el_.html()).css("margin-top","0").attr("class",this.$el_.attr("class")||"");var t=gm.getEventName("resize.bootstrap-table",this.$el.attr("id"));e(window).off(t)}},{key:"resetView",value:function(e){var t=0;if(e&&e.height&&(this.options.height=e.height),this.$tableContainer.toggleClass("has-card-view",this.options.cardView),this.options.height){var r=this.$tableBody.get(0);this.hasScrollBar=r.scrollWidth>r.clientWidth}if(!this.options.cardView&&this.options.showHeader&&this.options.height?(this.$tableHeader.show(),this.resetHeader(),t+=this.$header.outerHeight(!0)+1):(this.$tableHeader.hide(),this.trigger("post-header")),!this.options.cardView&&this.options.showFooter&&(this.$tableFooter.show(),this.fitFooter(),this.options.height&&(t+=this.$tableFooter.outerHeight(!0))),this.$container.hasClass("fullscreen"))this.$tableContainer.css("height",""),this.$tableContainer.css("width","");else if(this.options.height){this.$tableBorder&&(this.$tableBorder.css("width",""),this.$tableBorder.css("height",""));var n=this.$toolbar.outerHeight(!0),a=this.$pagination.outerHeight(!0),o=this.options.height-n-a,i=this.$tableBody.find(">table"),s=i.outerHeight();if(this.$tableContainer.css("height","".concat(o,"px")),this.$tableBorder&&i.is(":visible")){var c=o-s-2;this.hasScrollBar&&(c-=gm.getScrollBarWidth()),this.$tableBorder.css("width","".concat(i.outerWidth(),"px")),this.$tableBorder.css("height","".concat(c,"px"))}}this.options.cardView?(this.$el.css("margin-top","0"),this.$tableContainer.css("padding-bottom","0"),this.$tableFooter.hide()):(this.getCaret(),this.$tableContainer.css("padding-bottom","".concat(t,"px"))),this.trigger("reset-view")}},{key:"showLoading",value:function(){this.$tableLoading.toggleClass("open",!0);var e=this.options.loadingFontSize;"auto"===this.options.loadingFontSize&&(e=.04*this.$tableLoading.width(),e=Math.max(12,e),e=Math.min(32,e),e="".concat(e,"px")),this.$tableLoading.find(".loading-text").css("font-size",e)}},{key:"hideLoading",value:function(){this.$tableLoading.toggleClass("open",!1)}},{key:"togglePagination",value:function(){this.options.pagination=!this.options.pagination;var e=this.options.showButtonIcons?this.options.pagination?this.options.icons.paginationSwitchDown:this.options.icons.paginationSwitchUp:"",t=this.options.showButtonText?this.options.pagination?this.options.formatPaginationSwitchUp():this.options.formatPaginationSwitchDown():"";this.$toolbar.find('button[name="paginationSwitch"]').html("".concat(gm.sprintf(this.constants.html.icon,this.options.iconsPrefix,e)," ").concat(t)),this.updatePagination(),this.trigger("toggle-pagination",this.options.pagination)}},{key:"toggleFullscreen",value:function(){this.$el.closest(".bootstrap-table").toggleClass("fullscreen"),this.resetView()}},{key:"toggleView",value:function(){this.options.cardView=!this.options.cardView,this.initHeader();var e=this.options.showButtonIcons?this.options.cardView?this.options.icons.toggleOn:this.options.icons.toggleOff:"",t=this.options.showButtonText?this.options.cardView?this.options.formatToggleOff():this.options.formatToggleOn():"";this.$toolbar.find('button[name="toggle"]').html("".concat(gm.sprintf(this.constants.html.icon,this.options.iconsPrefix,e)," ").concat(t)).attr("aria-label",t).attr("title",t),this.initBody(),this.trigger("toggle",this.options.cardView)}},{key:"resetSearch",value:function(e){var t=gm.getSearchInput(this),r=e||"";t.val(r),this.searchText=r,this.onSearch({currentTarget:t},!1)}},{key:"filterBy",value:function(e,t){this.filterOptions=gm.isEmptyObject(t)?this.options.filterOptions:gm.extend(this.options.filterOptions,t),this.filterColumns=gm.isEmptyObject(e)?{}:e,this.options.pageNumber=1,this.initSearch(),this.updatePagination()}},{key:"scrollTo",value:function(r){var n={unit:"px",value:0};"object"===t(r)?n=Object.assign(n,r):"string"==typeof r&&"bottom"===r?n.value=this.$tableBody[0].scrollHeight:"string"!=typeof r&&"number"!=typeof r||(n.value=r);var a=n.value;"rows"===n.unit&&(a=0,this.$body.find("> tr:lt(".concat(n.value,")")).each((function(t,r){a+=e(r).outerHeight(!0)}))),this.$tableBody.scrollTop(a)}},{key:"getScrollPosition",value:function(){return this.$tableBody.scrollTop()}},{key:"selectPage",value:function(e){e>0&&e<=this.options.totalPages&&(this.options.pageNumber=e,this.updatePagination())}},{key:"prevPage",value:function(){this.options.pageNumber>1&&(this.options.pageNumber--,this.updatePagination())}},{key:"nextPage",value:function(){this.options.pageNumber<this.options.totalPages&&(this.options.pageNumber++,this.updatePagination())}},{key:"toggleDetailView",value:function(e,t){this.$body.find(gm.sprintf('> tr[data-index="%s"]',e)).next().is("tr.detail-view")?this.collapseRow(e):this.expandRow(e,t),this.resetView()}},{key:"expandRow",value:function(e,t){var r=this.data[e],n=this.$body.find(gm.sprintf('> tr[data-index="%s"][data-has-detail-view]',e));if(this.options.detailViewIcon&&n.find("a.detail-icon").html(gm.sprintf(this.constants.html.icon,this.options.iconsPrefix,this.options.icons.detailClose)),!n.next().is("tr.detail-view")){n.after(gm.sprintf('<tr class="detail-view"><td colspan="%s"></td></tr>',n.children("td").length));var a=n.next().find("td"),o=t||this.options.detailFormatter,i=gm.calculateObjectValue(this.options,o,[e,r,a],"");1===a.length&&a.append(i),this.trigger("expand-row",e,r,a)}}},{key:"expandRowByUniqueId",value:function(e){var t=this.getRowByUniqueId(e);t&&this.expandRow(this.data.indexOf(t))}},{key:"collapseRow",value:function(e){var t=this.data[e],r=this.$body.find(gm.sprintf('> tr[data-index="%s"][data-has-detail-view]',e));r.next().is("tr.detail-view")&&(this.options.detailViewIcon&&r.find("a.detail-icon").html(gm.sprintf(this.constants.html.icon,this.options.iconsPrefix,this.options.icons.detailOpen)),this.trigger("collapse-row",e,t,r.next()),r.next().remove())}},{key:"collapseRowByUniqueId",value:function(e){var t=this.getRowByUniqueId(e);t&&this.collapseRow(this.data.indexOf(t))}},{key:"expandAllRows",value:function(){for(var t=this.$body.find("> tr[data-index][data-has-detail-view]"),r=0;r<t.length;r++)this.expandRow(e(t[r]).data("index"))}},{key:"collapseAllRows",value:function(){for(var t=this.$body.find("> tr[data-index][data-has-detail-view]"),r=0;r<t.length;r++)this.collapseRow(e(t[r]).data("index"))}},{key:"updateColumnTitle",value:function(t){t.hasOwnProperty("field")&&t.hasOwnProperty("title")&&(this.columns[this.fieldsColumnsIndex[t.field]].title=this.options.escape&&this.options.escapeTitle?gm.escapeHTML(t.title):t.title,this.columns[this.fieldsColumnsIndex[t.field]].visible&&(this.$header.find("th[data-field]").each((function(r,n){if(e(n).data("field")===t.field)return e(e(n).find(".th-inner")[0]).text(t.title),!1})),this.resetView()))}},{key:"updateFormatText",value:function(e,t){/^format/.test(e)&&this.options[e]&&("string"==typeof t?this.options[e]=function(){return t}:"function"==typeof t&&(this.options[e]=t),this.initToolbar(),this.initPagination(),this.initBody())}}]),n}();return Am.VERSION=Sm.VERSION,Am.DEFAULTS=Sm.DEFAULTS,Am.LOCALES=Sm.LOCALES,Am.COLUMN_DEFAULTS=Sm.COLUMN_DEFAULTS,Am.METHODS=Sm.METHODS,Am.EVENTS=Sm.EVENTS,e.BootstrapTable=Am,e.fn.bootstrapTable=function(r){for(var n=arguments.length,a=new Array(n>1?n-1:0),o=1;o<n;o++)a[o-1]=arguments[o];var i;return this.each((function(n,o){var s=e(o).data("bootstrap.table");if("string"==typeof r){var c;if(!Sm.METHODS.includes(r))throw new Error("Unknown method: ".concat(r));if(!s)return;return i=(c=s)[r].apply(c,a),void("destroy"===r&&e(o).removeData("bootstrap.table"))}if(s)console.warn("You cannot initialize the table more than once!");else{var l=gm.extend(!0,{},Am.DEFAULTS,e(o).data(),"object"===t(r)&&r);s=new e.BootstrapTable(o,l),e(o).data("bootstrap.table",s),s.init()}})),void 0===i?this:i},e.fn.bootstrapTable.Constructor=Am,e.fn.bootstrapTable.theme=Sm.THEME,e.fn.bootstrapTable.VERSION=Sm.VERSION,e.fn.bootstrapTable.defaults=Am.DEFAULTS,e.fn.bootstrapTable.columnDefaults=Am.COLUMN_DEFAULTS,e.fn.bootstrapTable.events=Am.EVENTS,e.fn.bootstrapTable.locales=Am.LOCALES,e.fn.bootstrapTable.methods=Am.METHODS,e.fn.bootstrapTable.utils=gm,e((function(){e('[data-toggle="table"]').bootstrapTable()})),Am})),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).jQuery)}(this,(function(e){"use strict";function t(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,(a=n.key,o=void 0,"symbol"==typeof(o=function(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(a,"string"))?o:String(o)),n)}var a,o}function r(e){return r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},r(e)}function n(e,t){return n=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},n(e,t)}function a(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function o(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=r(e);if(t){var i=r(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return a(this,n)}}function i(){return i="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var a=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=r(e)););return e}(e,t);if(a){var o=Object.getOwnPropertyDescriptor(a,t);return o.get?o.get.call(arguments.length<3?e:n):o.value}},i.apply(this,arguments)}var s="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},c=function(e){return e&&e.Math==Math&&e},l=c("object"==typeof globalThis&&globalThis)||c("object"==typeof window&&window)||c("object"==typeof self&&self)||c("object"==typeof s&&s)||function(){return this}()||Function("return this")(),u={},f=function(e){try{return!!e()}catch(e){return!0}},h=!f((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),d=!f((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})),p=d,g=Function.prototype.call,m=p?g.bind(g):function(){return g.apply(g,arguments)},v={},b={}.propertyIsEnumerable,y=Object.getOwnPropertyDescriptor,w=y&&!b.call({1:2},1);v.f=w?function(e){var t=y(this,e);return!!t&&t.enumerable}:b;var S,x,A=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},k=d,T=Function.prototype,E=T.call,_=k&&T.bind.bind(E,E),N=k?_:function(e){return function(){return E.apply(e,arguments)}},C=N,O=C({}.toString),R=C("".slice),P=function(e){return R(O(e),8,-1)},L=f,I=P,F=Object,D=N("".split),M=L((function(){return!F("z").propertyIsEnumerable(0)}))?function(e){return"String"==I(e)?D(e,""):F(e)}:F,j=function(e){return null==e},B=j,W=TypeError,U=function(e){if(B(e))throw W("Can't call method on "+e);return e},H=M,z=U,V=function(e){return H(z(e))},q="object"==typeof document&&document.all,$={all:q,IS_HTMLDDA:void 0===q&&void 0!==q},G=$.all,X=$.IS_HTMLDDA?function(e){return"function"==typeof e||e===G}:function(e){return"function"==typeof e},Y=X,K=$.all,J=$.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:Y(e)||e===K}:function(e){return"object"==typeof e?null!==e:Y(e)},Z=l,Q=X,ee=function(e,t){return arguments.length<2?(r=Z[e],Q(r)?r:void 0):Z[e]&&Z[e][t];var r},te=N({}.isPrototypeOf),re=l,ne="undefined"!=typeof navigator&&String(navigator.userAgent)||"",ae=re.process,oe=re.Deno,ie=ae&&ae.versions||oe&&oe.version,se=ie&&ie.v8;se&&(x=(S=se.split("."))[0]>0&&S[0]<4?1:+(S[0]+S[1])),!x&&ne&&(!(S=ne.match(/Edge\/(\d+)/))||S[1]>=74)&&(S=ne.match(/Chrome\/(\d+)/))&&(x=+S[1]);var ce=x,le=ce,ue=f,fe=!!Object.getOwnPropertySymbols&&!ue((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&le&&le<41})),he=fe&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,de=ee,pe=X,ge=te,me=Object,ve=he?function(e){return"symbol"==typeof e}:function(e){var t=de("Symbol");return pe(t)&&ge(t.prototype,me(e))},be=String,ye=X,we=function(e){try{return be(e)}catch(e){return"Object"}},Se=TypeError,xe=function(e){if(ye(e))return e;throw Se(we(e)+" is not a function")},Ae=xe,ke=j,Te=m,Ee=X,_e=J,Ne=TypeError,Ce={},Oe={get exports(){return Ce},set exports(e){Ce=e}},Re=l,Pe=Object.defineProperty,Le=function(e,t){try{Pe(Re,e,{value:t,configurable:!0,writable:!0})}catch(r){Re[e]=t}return t},Ie=Le,Fe="__core-js_shared__",De=l[Fe]||Ie(Fe,{}),Me=De;(Oe.exports=function(e,t){return Me[e]||(Me[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.29.0",mode:"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.29.0/LICENSE",source:"https://github.com/zloirock/core-js"});var je=U,Be=Object,We=function(e){return Be(je(e))},Ue=We,He=N({}.hasOwnProperty),ze=Object.hasOwn||function(e,t){return He(Ue(e),t)},Ve=N,qe=0,$e=Math.random(),Ge=Ve(1..toString),Xe=function(e){return"Symbol("+(void 0===e?"":e)+")_"+Ge(++qe+$e,36)},Ye=Ce,Ke=ze,Je=Xe,Ze=fe,Qe=he,et=l.Symbol,tt=Ye("wks"),rt=Qe?et.for||et:et&&et.withoutSetter||Je,nt=function(e){return Ke(tt,e)||(tt[e]=Ze&&Ke(et,e)?et[e]:rt("Symbol."+e)),tt[e]},at=m,ot=J,it=ve,st=function(e,t){var r=e[t];return ke(r)?void 0:Ae(r)},ct=function(e,t){var r,n;if("string"===t&&Ee(r=e.toString)&&!_e(n=Te(r,e)))return n;if(Ee(r=e.valueOf)&&!_e(n=Te(r,e)))return n;if("string"!==t&&Ee(r=e.toString)&&!_e(n=Te(r,e)))return n;throw Ne("Can't convert object to primitive value")},lt=TypeError,ut=nt("toPrimitive"),ft=function(e,t){if(!ot(e)||it(e))return e;var r,n=st(e,ut);if(n){if(void 0===t&&(t="default"),r=at(n,e,t),!ot(r)||it(r))return r;throw lt("Can't convert object to primitive value")}return void 0===t&&(t="number"),ct(e,t)},ht=ve,dt=function(e){var t=ft(e,"string");return ht(t)?t:t+""},pt=J,gt=l.document,mt=pt(gt)&&pt(gt.createElement),vt=function(e){return mt?gt.createElement(e):{}},bt=vt,yt=!h&&!f((function(){return 7!=Object.defineProperty(bt("div"),"a",{get:function(){return 7}}).a})),wt=h,St=m,xt=v,At=A,kt=V,Tt=dt,Et=ze,_t=yt,Nt=Object.getOwnPropertyDescriptor;u.f=wt?Nt:function(e,t){if(e=kt(e),t=Tt(t),_t)try{return Nt(e,t)}catch(e){}if(Et(e,t))return At(!St(xt.f,e,t),e[t])};var Ct={},Ot=h&&f((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),Rt=J,Pt=String,Lt=TypeError,It=function(e){if(Rt(e))return e;throw Lt(Pt(e)+" is not an object")},Ft=h,Dt=yt,Mt=Ot,jt=It,Bt=dt,Wt=TypeError,Ut=Object.defineProperty,Ht=Object.getOwnPropertyDescriptor,zt="enumerable",Vt="configurable",qt="writable";Ct.f=Ft?Mt?function(e,t,r){if(jt(e),t=Bt(t),jt(r),"function"==typeof e&&"prototype"===t&&"value"in r&&qt in r&&!r[qt]){var n=Ht(e,t);n&&n[qt]&&(e[t]=r.value,r={configurable:Vt in r?r[Vt]:n[Vt],enumerable:zt in r?r[zt]:n[zt],writable:!1})}return Ut(e,t,r)}:Ut:function(e,t,r){if(jt(e),t=Bt(t),jt(r),Dt)try{return Ut(e,t,r)}catch(e){}if("get"in r||"set"in r)throw Wt("Accessors not supported");return"value"in r&&(e[t]=r.value),e};var $t=Ct,Gt=A,Xt=h?function(e,t,r){return $t.f(e,t,Gt(1,r))}:function(e,t,r){return e[t]=r,e},Yt={},Kt={get exports(){return Yt},set exports(e){Yt=e}},Jt=h,Zt=ze,Qt=Function.prototype,er=Jt&&Object.getOwnPropertyDescriptor,tr=Zt(Qt,"name"),rr={EXISTS:tr,PROPER:tr&&"something"===function(){}.name,CONFIGURABLE:tr&&(!Jt||Jt&&er(Qt,"name").configurable)},nr=X,ar=De,or=N(Function.toString);nr(ar.inspectSource)||(ar.inspectSource=function(e){return or(e)});var ir,sr,cr,lr=ar.inspectSource,ur=X,fr=l.WeakMap,hr=ur(fr)&&/native code/.test(String(fr)),dr=Xe,pr=Ce("keys"),gr=function(e){return pr[e]||(pr[e]=dr(e))},mr={},vr=hr,br=l,yr=J,wr=Xt,Sr=ze,xr=De,Ar=gr,kr=mr,Tr="Object already initialized",Er=br.TypeError,_r=br.WeakMap;if(vr||xr.state){var Nr=xr.state||(xr.state=new _r);Nr.get=Nr.get,Nr.has=Nr.has,Nr.set=Nr.set,ir=function(e,t){if(Nr.has(e))throw Er(Tr);return t.facade=e,Nr.set(e,t),t},sr=function(e){return Nr.get(e)||{}},cr=function(e){return Nr.has(e)}}else{var Cr=Ar("state");kr[Cr]=!0,ir=function(e,t){if(Sr(e,Cr))throw Er(Tr);return t.facade=e,wr(e,Cr,t),t},sr=function(e){return Sr(e,Cr)?e[Cr]:{}},cr=function(e){return Sr(e,Cr)}}var Or={set:ir,get:sr,has:cr,enforce:function(e){return cr(e)?sr(e):ir(e,{})},getterFor:function(e){return function(t){var r;if(!yr(t)||(r=sr(t)).type!==e)throw Er("Incompatible receiver, "+e+" required");return r}}},Rr=N,Pr=f,Lr=X,Ir=ze,Fr=h,Dr=rr.CONFIGURABLE,Mr=lr,jr=Or.enforce,Br=Or.get,Wr=String,Ur=Object.defineProperty,Hr=Rr("".slice),zr=Rr("".replace),Vr=Rr([].join),qr=Fr&&!Pr((function(){return 8!==Ur((function(){}),"length",{value:8}).length})),$r=String(String).split("String"),Gr=Kt.exports=function(e,t,r){"Symbol("===Hr(Wr(t),0,7)&&(t="["+zr(Wr(t),/^Symbol\(([^)]*)\)/,"$1")+"]"),r&&r.getter&&(t="get "+t),r&&r.setter&&(t="set "+t),(!Ir(e,"name")||Dr&&e.name!==t)&&(Fr?Ur(e,"name",{value:t,configurable:!0}):e.name=t),qr&&r&&Ir(r,"arity")&&e.length!==r.arity&&Ur(e,"length",{value:r.arity});try{r&&Ir(r,"constructor")&&r.constructor?Fr&&Ur(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var n=jr(e);return Ir(n,"source")||(n.source=Vr($r,"string"==typeof t?t:"")),e};Function.prototype.toString=Gr((function(){return Lr(this)&&Br(this).source||Mr(this)}),"toString");var Xr=X,Yr=Ct,Kr=Yt,Jr=Le,Zr=function(e,t,r,n){n||(n={});var a=n.enumerable,o=void 0!==n.name?n.name:t;if(Xr(r)&&Kr(r,o,n),n.global)a?e[t]=r:Jr(t,r);else{try{n.unsafe?e[t]&&(a=!0):delete e[t]}catch(e){}a?e[t]=r:Yr.f(e,t,{value:r,enumerable:!1,configurable:!n.nonConfigurable,writable:!n.nonWritable})}return e},Qr={},en=Math.ceil,tn=Math.floor,rn=Math.trunc||function(e){var t=+e;return(t>0?tn:en)(t)},nn=function(e){var t=+e;return t!=t||0===t?0:rn(t)},an=nn,on=Math.max,sn=Math.min,cn=nn,ln=Math.min,un=function(e){return e>0?ln(cn(e),9007199254740991):0},fn=function(e){return un(e.length)},hn=V,dn=function(e,t){var r=an(e);return r<0?on(r+t,0):sn(r,t)},pn=fn,gn=function(e){return function(t,r,n){var a,o=hn(t),i=pn(o),s=dn(n,i);if(e&&r!=r){for(;i>s;)if((a=o[s++])!=a)return!0}else for(;i>s;s++)if((e||s in o)&&o[s]===r)return e||s||0;return!e&&-1}},mn={includes:gn(!0),indexOf:gn(!1)},vn=ze,bn=V,yn=mn.indexOf,wn=mr,Sn=N([].push),xn=function(e,t){var r,n=bn(e),a=0,o=[];for(r in n)!vn(wn,r)&&vn(n,r)&&Sn(o,r);for(;t.length>a;)vn(n,r=t[a++])&&(~yn(o,r)||Sn(o,r));return o},An=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],kn=xn,Tn=An.concat("length","prototype");Qr.f=Object.getOwnPropertyNames||function(e){return kn(e,Tn)};var En={};En.f=Object.getOwnPropertySymbols;var _n=ee,Nn=Qr,Cn=En,On=It,Rn=N([].concat),Pn=_n("Reflect","ownKeys")||function(e){var t=Nn.f(On(e)),r=Cn.f;return r?Rn(t,r(e)):t},Ln=ze,In=Pn,Fn=u,Dn=Ct,Mn=f,jn=X,Bn=/#|\.prototype\./,Wn=function(e,t){var r=Hn[Un(e)];return r==Vn||r!=zn&&(jn(t)?Mn(t):!!t)},Un=Wn.normalize=function(e){return String(e).replace(Bn,".").toLowerCase()},Hn=Wn.data={},zn=Wn.NATIVE="N",Vn=Wn.POLYFILL="P",qn=Wn,$n=l,Gn=u.f,Xn=Xt,Yn=Zr,Kn=Le,Jn=function(e,t,r){for(var n=In(t),a=Dn.f,o=Fn.f,i=0;i<n.length;i++){var s=n[i];Ln(e,s)||r&&Ln(r,s)||a(e,s,o(t,s))}},Zn=qn,Qn=function(e,t){var r,n,a,o,i,s=e.target,c=e.global,l=e.stat;if(r=c?$n:l?$n[s]||Kn(s,{}):($n[s]||{}).prototype)for(n in t){if(o=t[n],a=e.dontCallGetSet?(i=Gn(r,n))&&i.value:r[n],!Zn(c?n:s+(l?".":"#")+n,e.forced)&&void 0!==a){if(typeof o==typeof a)continue;Jn(o,a)}(e.sham||a&&a.sham)&&Xn(o,"sham",!0),Yn(r,n,o,e)}},ea=xn,ta=An,ra=Object.keys||function(e){return ea(e,ta)},na=h,aa=N,oa=m,ia=f,sa=ra,ca=En,la=v,ua=We,fa=M,ha=Object.assign,da=Object.defineProperty,pa=aa([].concat),ga=!ha||ia((function(){if(na&&1!==ha({b:1},ha(da({},"a",{enumerable:!0,get:function(){da(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},r=Symbol(),n="abcdefghijklmnopqrst";return e[r]=7,n.split("").forEach((function(e){t[e]=e})),7!=ha({},e)[r]||sa(ha({},t)).join("")!=n}))?function(e,t){for(var r=ua(e),n=arguments.length,a=1,o=ca.f,i=la.f;n>a;)for(var s,c=fa(arguments[a++]),l=o?pa(sa(c),o(c)):sa(c),u=l.length,f=0;u>f;)s=l[f++],na&&!oa(i,c,s)||(r[s]=c[s]);return r}:ha,ma=ga;Qn({target:"Object",stat:!0,arity:2,forced:Object.assign!==ma},{assign:ma});var va=P,ba=Array.isArray||function(e){return"Array"==va(e)},ya=TypeError,wa=dt,Sa=Ct,xa=A,Aa={};Aa[nt("toStringTag")]="z";var ka="[object z]"===String(Aa),Ta=ka,Ea=X,_a=P,Na=nt("toStringTag"),Ca=Object,Oa="Arguments"==_a(function(){return arguments}()),Ra=Ta?_a:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=Ca(e),Na))?r:Oa?_a(t):"Object"==(n=_a(t))&&Ea(t.callee)?"Arguments":n},Pa=N,La=f,Ia=X,Fa=Ra,Da=lr,Ma=function(){},ja=[],Ba=ee("Reflect","construct"),Wa=/^\s*(?:class|function)\b/,Ua=Pa(Wa.exec),Ha=!Wa.exec(Ma),za=function(e){if(!Ia(e))return!1;try{return Ba(Ma,ja,e),!0}catch(e){return!1}},Va=function(e){if(!Ia(e))return!1;switch(Fa(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return Ha||!!Ua(Wa,Da(e))}catch(e){return!0}};Va.sham=!0;var qa=!Ba||La((function(){var e;return za(za.call)||!za(Object)||!za((function(){e=!0}))||e}))?Va:za,$a=ba,Ga=qa,Xa=J,Ya=nt("species"),Ka=Array,Ja=function(e){var t;return $a(e)&&(t=e.constructor,(Ga(t)&&(t===Ka||$a(t.prototype))||Xa(t)&&null===(t=t[Ya]))&&(t=void 0)),void 0===t?Ka:t},Za=function(e,t){return new(Ja(e))(0===t?0:t)},Qa=f,eo=ce,to=nt("species"),ro=Qn,no=f,ao=ba,oo=J,io=We,so=fn,co=function(e){if(e>9007199254740991)throw ya("Maximum allowed index exceeded");return e},lo=function(e,t,r){var n=wa(t);n in e?Sa.f(e,n,xa(0,r)):e[n]=r},uo=Za,fo=function(e){return eo>=51||!Qa((function(){var t=[];return(t.constructor={})[to]=function(){return{foo:1}},1!==t[e](Boolean).foo}))},ho=ce,po=nt("isConcatSpreadable"),go=ho>=51||!no((function(){var e=[];return e[po]=!1,e.concat()[0]!==e})),mo=function(e){if(!oo(e))return!1;var t=e[po];return void 0!==t?!!t:ao(e)};ro({target:"Array",proto:!0,arity:1,forced:!go||!fo("concat")},{concat:function(e){var t,r,n,a,o,i=io(this),s=uo(i,0),c=0;for(t=-1,n=arguments.length;t<n;t++)if(mo(o=-1===t?i:arguments[t]))for(a=so(o),co(c+a),r=0;r<a;r++,c++)r in o&&lo(s,c,o[r]);else co(c+1),lo(s,c++,o);return s.length=c,s}});var vo={},bo=h,yo=Ot,wo=Ct,So=It,xo=V,Ao=ra;vo.f=bo&&!yo?Object.defineProperties:function(e,t){So(e);for(var r,n=xo(t),a=Ao(t),o=a.length,i=0;o>i;)wo.f(e,r=a[i++],n[r]);return e};var ko,To=ee("document","documentElement"),Eo=It,_o=vo,No=An,Co=mr,Oo=To,Ro=vt,Po="prototype",Lo="script",Io=gr("IE_PROTO"),Fo=function(){},Do=function(e){return"<"+Lo+">"+e+"</"+Lo+">"},Mo=function(e){e.write(Do("")),e.close();var t=e.parentWindow.Object;return e=null,t},jo=function(){try{ko=new ActiveXObject("htmlfile")}catch(e){}var e,t,r;jo="undefined"!=typeof document?document.domain&&ko?Mo(ko):(t=Ro("iframe"),r="java"+Lo+":",t.style.display="none",Oo.appendChild(t),t.src=String(r),(e=t.contentWindow.document).open(),e.write(Do("document.F=Object")),e.close(),e.F):Mo(ko);for(var n=No.length;n--;)delete jo[Po][No[n]];return jo()};Co[Io]=!0;var Bo=nt,Wo=Object.create||function(e,t){var r;return null!==e?(Fo[Po]=Eo(e),r=new Fo,Fo[Po]=null,r[Io]=e):r=jo(),void 0===t?r:_o.f(r,t)},Uo=Ct.f,Ho=Bo("unscopables"),zo=Array.prototype;null==zo[Ho]&&Uo(zo,Ho,{configurable:!0,value:Wo(null)});var Vo=mn.includes,qo=function(e){zo[Ho][e]=!0};Qn({target:"Array",proto:!0,forced:f((function(){return!Array(1).includes()}))},{includes:function(e){return Vo(this,e,arguments.length>1?arguments[1]:void 0)}}),qo("includes");var $o=Ra,Go=ka?{}.toString:function(){return"[object "+$o(this)+"]"};ka||Zr(Object.prototype,"toString",Go,{unsafe:!0});var Xo=vt("span").classList,Yo=Xo&&Xo.constructor&&Xo.constructor.prototype,Ko=Yo===Object.prototype?void 0:Yo,Jo=P,Zo=N,Qo=function(e){if("Function"===Jo(e))return Zo(e)},ei=xe,ti=d,ri=Qo(Qo.bind),ni=function(e,t){return ei(e),void 0===t?e:ti?ri(e,t):function(){return e.apply(t,arguments)}},ai=M,oi=We,ii=fn,si=Za,ci=N([].push),li=function(e){var t=1==e,r=2==e,n=3==e,a=4==e,o=6==e,i=7==e,s=5==e||o;return function(c,l,u,f){for(var h,d,p=oi(c),g=ai(p),m=ni(l,u),v=ii(g),b=0,y=f||si,w=t?y(c,v):r||i?y(c,0):void 0;v>b;b++)if((s||b in g)&&(d=m(h=g[b],b,p),e))if(t)w[b]=d;else if(d)switch(e){case 3:return!0;case 5:return h;case 6:return b;case 2:ci(w,h)}else switch(e){case 4:return!1;case 7:ci(w,h)}return o?-1:n||a?a:w}},ui={forEach:li(0),map:li(1),filter:li(2),some:li(3),every:li(4),find:li(5),findIndex:li(6),filterReject:li(7)},fi=f,hi=ui.forEach,di=function(e,t){var r=[][e];return!!r&&fi((function(){r.call(null,t||function(){return 1},1)}))}("forEach")?[].forEach:function(e){return hi(this,e,arguments.length>1?arguments[1]:void 0)},pi=l,gi={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},mi=Ko,vi=di,bi=Xt,yi=function(e){if(e&&e.forEach!==vi)try{bi(e,"forEach",vi)}catch(t){e.forEach=vi}};for(var wi in gi)gi[wi]&&yi(pi[wi]&&pi[wi].prototype);yi(mi);var Si=J,xi=P,Ai=nt("match"),ki=function(e){var t;return Si(e)&&(void 0!==(t=e[Ai])?!!t:"RegExp"==xi(e))},Ti=TypeError,Ei=Ra,_i=String,Ni=nt("match"),Ci=Qn,Oi=function(e){if(ki(e))throw Ti("The method doesn't accept regular expressions");return e},Ri=U,Pi=function(e){if("Symbol"===Ei(e))throw TypeError("Cannot convert a Symbol value to a string");return _i(e)},Li=function(e){var t=/./;try{"/./"[e](t)}catch(r){try{return t[Ni]=!1,"/./"[e](t)}catch(e){}}return!1},Ii=N("".indexOf);Ci({target:"String",proto:!0,forced:!Li("includes")},{includes:function(e){return!!~Ii(Pi(Ri(this)),Pi(Oi(e)),arguments.length>1?arguments[1]:void 0)}});Object.assign(e.fn.bootstrapTable.defaults,{mobileResponsive:!1,minWidth:562,minHeight:void 0,heightThreshold:100,checkOnInit:!0,columnsHidden:[]}),e.BootstrapTable=function(a){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&n(e,t)}(f,a);var s,c,l,u=o(f);function f(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,f),u.apply(this,arguments)}return s=f,c=[{key:"init",value:function(){for(var t,n=this,a=arguments.length,o=new Array(a),s=0;s<a;s++)o[s]=arguments[s];if((t=i(r(f.prototype),"init",this)).call.apply(t,[this].concat(o)),this.options.mobileResponsive&&this.options.minWidth){this.options.minWidth<100&&this.options.resizable&&(console.warn("The minWidth when the resizable extension is active should be greater or equal than 100"),this.options.minWidth=100);var c,l,u,h={width:e(window).width(),height:e(window).height()};if(e(window).on("resize orientationchange",(c=function(){var t=e(window).width(),r=e(window).height(),a=e(document.activeElement);a.length&&["INPUT","SELECT","TEXTAREA"].includes(a.prop("nodeName"))||(Math.abs(h.height-r)>n.options.heightThreshold||h.width!==t)&&(n.changeView(t,r),h={width:t,height:r})},l=200,u=0,function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];clearTimeout(u),u=setTimeout((function(){u=0,c.apply(void 0,t)}),l)})),this.options.checkOnInit){var d=e(window).width(),p=e(window).height();this.changeView(d,p),h={width:d,height:p}}}}},{key:"conditionCardView",value:function(){this.changeTableView(!1),this.showHideColumns(!1)}},{key:"conditionFullView",value:function(){this.changeTableView(!0),this.showHideColumns(!0)}},{key:"changeTableView",value:function(e){this.options.cardView=e,this.toggleView()}},{key:"showHideColumns",value:function(e){var t=this;this.options.columnsHidden.length>0&&this.columns.forEach((function(r){t.options.columnsHidden.includes(r.field)&&r.visible!==e&&t._toggleColumn(t.fieldsColumnsIndex[r.field],e,!0)}))}},{key:"changeView",value:function(e,t){this.options.minHeight?e<=this.options.minWidth&&t<=this.options.minHeight?this.conditionCardView():e>this.options.minWidth&&t>this.options.minHeight&&this.conditionFullView():e<=this.options.minWidth?this.conditionCardView():e>this.options.minWidth&&this.conditionFullView(),this.resetView()}}],c&&t(s.prototype,c),l&&t(s,l),Object.defineProperty(s,"prototype",{writable:!1}),f}(e.BootstrapTable)})),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).jQuery)}(this,(function(e){"use strict";function t(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,u(n.key),n)}}function r(e,t,r){return(t=u(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function n(e){return n=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},n(e)}function a(e,t){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},a(e,t)}function o(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function i(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,a=n(e);if(t){var i=n(this).constructor;r=Reflect.construct(a,arguments,i)}else r=a.apply(this,arguments);return o(this,r)}}function s(){return s="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,r){var a=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=n(e)););return e}(e,t);if(a){var o=Object.getOwnPropertyDescriptor(a,t);return o.get?o.get.call(arguments.length<3?e:r):o.value}},s.apply(this,arguments)}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function l(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return c(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?c(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,a=function(){};return{s:a,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:a}}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 o,i=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return i=e.done,e},e:function(e){s=!0,o=e},f:function(){try{i||null==r.return||r.return()}finally{if(s)throw o}}}}function u(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}var f="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},h=function(e){return e&&e.Math==Math&&e},d=h("object"==typeof globalThis&&globalThis)||h("object"==typeof window&&window)||h("object"==typeof self&&self)||h("object"==typeof f&&f)||function(){return this}()||Function("return this")(),p={},g=function(e){try{return!!e()}catch(e){return!0}},m=!g((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),v=!g((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})),b=v,y=Function.prototype.call,w=b?y.bind(y):function(){return y.apply(y,arguments)},S={},x={}.propertyIsEnumerable,A=Object.getOwnPropertyDescriptor,k=A&&!x.call({1:2},1);S.f=k?function(e){var t=A(this,e);return!!t&&t.enumerable}:x;var T,E,_=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},N=v,C=Function.prototype,O=C.call,R=N&&C.bind.bind(O,O),P=N?R:function(e){return function(){return O.apply(e,arguments)}},L=P,I=L({}.toString),F=L("".slice),D=function(e){return F(I(e),8,-1)},M=g,j=D,B=Object,W=P("".split),U=M((function(){return!B("z").propertyIsEnumerable(0)}))?function(e){return"String"==j(e)?W(e,""):B(e)}:B,H=function(e){return null==e},z=H,V=TypeError,q=function(e){if(z(e))throw V("Can't call method on "+e);return e},$=U,G=q,X=function(e){return $(G(e))},Y="object"==typeof document&&document.all,K={all:Y,IS_HTMLDDA:void 0===Y&&void 0!==Y},J=K.all,Z=K.IS_HTMLDDA?function(e){return"function"==typeof e||e===J}:function(e){return"function"==typeof e},Q=Z,ee=K.all,te=K.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:Q(e)||e===ee}:function(e){return"object"==typeof e?null!==e:Q(e)},re=d,ne=Z,ae=function(e,t){return arguments.length<2?(r=re[e],ne(r)?r:void 0):re[e]&&re[e][t];var r},oe=P({}.isPrototypeOf),ie=d,se="undefined"!=typeof navigator&&String(navigator.userAgent)||"",ce=ie.process,le=ie.Deno,ue=ce&&ce.versions||le&&le.version,fe=ue&&ue.v8;fe&&(E=(T=fe.split("."))[0]>0&&T[0]<4?1:+(T[0]+T[1])),!E&&se&&(!(T=se.match(/Edge\/(\d+)/))||T[1]>=74)&&(T=se.match(/Chrome\/(\d+)/))&&(E=+T[1]);var he=E,de=he,pe=g,ge=!!Object.getOwnPropertySymbols&&!pe((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&de&&de<41})),me=ge&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,ve=ae,be=Z,ye=oe,we=Object,Se=me?function(e){return"symbol"==typeof e}:function(e){var t=ve("Symbol");return be(t)&&ye(t.prototype,we(e))},xe=String,Ae=Z,ke=function(e){try{return xe(e)}catch(e){return"Object"}},Te=TypeError,Ee=function(e){if(Ae(e))return e;throw Te(ke(e)+" is not a function")},_e=Ee,Ne=H,Ce=function(e,t){var r=e[t];return Ne(r)?void 0:_e(r)},Oe=w,Re=Z,Pe=te,Le=TypeError,Ie={},Fe={get exports(){return Ie},set exports(e){Ie=e}},De=d,Me=Object.defineProperty,je=function(e,t){try{Me(De,e,{value:t,configurable:!0,writable:!0})}catch(r){De[e]=t}return t},Be=je,We="__core-js_shared__",Ue=d[We]||Be(We,{}),He=Ue;(Fe.exports=function(e,t){return He[e]||(He[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.29.0",mode:"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.29.0/LICENSE",source:"https://github.com/zloirock/core-js"});var ze=q,Ve=Object,qe=function(e){return Ve(ze(e))},$e=qe,Ge=P({}.hasOwnProperty),Xe=Object.hasOwn||function(e,t){return Ge($e(e),t)},Ye=P,Ke=0,Je=Math.random(),Ze=Ye(1..toString),Qe=function(e){return"Symbol("+(void 0===e?"":e)+")_"+Ze(++Ke+Je,36)},et=Ie,tt=Xe,rt=Qe,nt=ge,at=me,ot=d.Symbol,it=et("wks"),st=at?ot.for||ot:ot&&ot.withoutSetter||rt,ct=function(e){return tt(it,e)||(it[e]=nt&&tt(ot,e)?ot[e]:st("Symbol."+e)),it[e]},lt=w,ut=te,ft=Se,ht=Ce,dt=function(e,t){var r,n;if("string"===t&&Re(r=e.toString)&&!Pe(n=Oe(r,e)))return n;if(Re(r=e.valueOf)&&!Pe(n=Oe(r,e)))return n;if("string"!==t&&Re(r=e.toString)&&!Pe(n=Oe(r,e)))return n;throw Le("Can't convert object to primitive value")},pt=TypeError,gt=ct("toPrimitive"),mt=function(e,t){if(!ut(e)||ft(e))return e;var r,n=ht(e,gt);if(n){if(void 0===t&&(t="default"),r=lt(n,e,t),!ut(r)||ft(r))return r;throw pt("Can't convert object to primitive value")}return void 0===t&&(t="number"),dt(e,t)},vt=Se,bt=function(e){var t=mt(e,"string");return vt(t)?t:t+""},yt=te,wt=d.document,St=yt(wt)&&yt(wt.createElement),xt=function(e){return St?wt.createElement(e):{}},At=xt,kt=!m&&!g((function(){return 7!=Object.defineProperty(At("div"),"a",{get:function(){return 7}}).a})),Tt=m,Et=w,_t=S,Nt=_,Ct=X,Ot=bt,Rt=Xe,Pt=kt,Lt=Object.getOwnPropertyDescriptor;p.f=Tt?Lt:function(e,t){if(e=Ct(e),t=Ot(t),Pt)try{return Lt(e,t)}catch(e){}if(Rt(e,t))return Nt(!Et(_t.f,e,t),e[t])};var It={},Ft=m&&g((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),Dt=te,Mt=String,jt=TypeError,Bt=function(e){if(Dt(e))return e;throw jt(Mt(e)+" is not an object")},Wt=m,Ut=kt,Ht=Ft,zt=Bt,Vt=bt,qt=TypeError,$t=Object.defineProperty,Gt=Object.getOwnPropertyDescriptor,Xt="enumerable",Yt="configurable",Kt="writable";It.f=Wt?Ht?function(e,t,r){if(zt(e),t=Vt(t),zt(r),"function"==typeof e&&"prototype"===t&&"value"in r&&Kt in r&&!r[Kt]){var n=Gt(e,t);n&&n[Kt]&&(e[t]=r.value,r={configurable:Yt in r?r[Yt]:n[Yt],enumerable:Xt in r?r[Xt]:n[Xt],writable:!1})}return $t(e,t,r)}:$t:function(e,t,r){if(zt(e),t=Vt(t),zt(r),Ut)try{return $t(e,t,r)}catch(e){}if("get"in r||"set"in r)throw qt("Accessors not supported");return"value"in r&&(e[t]=r.value),e};var Jt=It,Zt=_,Qt=m?function(e,t,r){return Jt.f(e,t,Zt(1,r))}:function(e,t,r){return e[t]=r,e},er={},tr={get exports(){return er},set exports(e){er=e}},rr=m,nr=Xe,ar=Function.prototype,or=rr&&Object.getOwnPropertyDescriptor,ir=nr(ar,"name"),sr={EXISTS:ir,PROPER:ir&&"something"===function(){}.name,CONFIGURABLE:ir&&(!rr||rr&&or(ar,"name").configurable)},cr=Z,lr=Ue,ur=P(Function.toString);cr(lr.inspectSource)||(lr.inspectSource=function(e){return ur(e)});var fr,hr,dr,pr=lr.inspectSource,gr=Z,mr=d.WeakMap,vr=gr(mr)&&/native code/.test(String(mr)),br=Qe,yr=Ie("keys"),wr=function(e){return yr[e]||(yr[e]=br(e))},Sr={},xr=vr,Ar=d,kr=te,Tr=Qt,Er=Xe,_r=Ue,Nr=wr,Cr=Sr,Or="Object already initialized",Rr=Ar.TypeError,Pr=Ar.WeakMap;if(xr||_r.state){var Lr=_r.state||(_r.state=new Pr);Lr.get=Lr.get,Lr.has=Lr.has,Lr.set=Lr.set,fr=function(e,t){if(Lr.has(e))throw Rr(Or);return t.facade=e,Lr.set(e,t),t},hr=function(e){return Lr.get(e)||{}},dr=function(e){return Lr.has(e)}}else{var Ir=Nr("state");Cr[Ir]=!0,fr=function(e,t){if(Er(e,Ir))throw Rr(Or);return t.facade=e,Tr(e,Ir,t),t},hr=function(e){return Er(e,Ir)?e[Ir]:{}},dr=function(e){return Er(e,Ir)}}var Fr={set:fr,get:hr,has:dr,enforce:function(e){return dr(e)?hr(e):fr(e,{})},getterFor:function(e){return function(t){var r;if(!kr(t)||(r=hr(t)).type!==e)throw Rr("Incompatible receiver, "+e+" required");return r}}},Dr=P,Mr=g,jr=Z,Br=Xe,Wr=m,Ur=sr.CONFIGURABLE,Hr=pr,zr=Fr.enforce,Vr=Fr.get,qr=String,$r=Object.defineProperty,Gr=Dr("".slice),Xr=Dr("".replace),Yr=Dr([].join),Kr=Wr&&!Mr((function(){return 8!==$r((function(){}),"length",{value:8}).length})),Jr=String(String).split("String"),Zr=tr.exports=function(e,t,r){"Symbol("===Gr(qr(t),0,7)&&(t="["+Xr(qr(t),/^Symbol\(([^)]*)\)/,"$1")+"]"),r&&r.getter&&(t="get "+t),r&&r.setter&&(t="set "+t),(!Br(e,"name")||Ur&&e.name!==t)&&(Wr?$r(e,"name",{value:t,configurable:!0}):e.name=t),Kr&&r&&Br(r,"arity")&&e.length!==r.arity&&$r(e,"length",{value:r.arity});try{r&&Br(r,"constructor")&&r.constructor?Wr&&$r(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var n=zr(e);return Br(n,"source")||(n.source=Yr(Jr,"string"==typeof t?t:"")),e};Function.prototype.toString=Zr((function(){return jr(this)&&Vr(this).source||Hr(this)}),"toString");var Qr=Z,en=It,tn=er,rn=je,nn=function(e,t,r,n){n||(n={});var a=n.enumerable,o=void 0!==n.name?n.name:t;if(Qr(r)&&tn(r,o,n),n.global)a?e[t]=r:rn(t,r);else{try{n.unsafe?e[t]&&(a=!0):delete e[t]}catch(e){}a?e[t]=r:en.f(e,t,{value:r,enumerable:!1,configurable:!n.nonConfigurable,writable:!n.nonWritable})}return e},an={},on=Math.ceil,sn=Math.floor,cn=Math.trunc||function(e){var t=+e;return(t>0?sn:on)(t)},ln=function(e){var t=+e;return t!=t||0===t?0:cn(t)},un=ln,fn=Math.max,hn=Math.min,dn=function(e,t){var r=un(e);return r<0?fn(r+t,0):hn(r,t)},pn=ln,gn=Math.min,mn=function(e){return e>0?gn(pn(e),9007199254740991):0},vn=mn,bn=function(e){return vn(e.length)},yn=X,wn=dn,Sn=bn,xn=function(e){return function(t,r,n){var a,o=yn(t),i=Sn(o),s=wn(n,i);if(e&&r!=r){for(;i>s;)if((a=o[s++])!=a)return!0}else for(;i>s;s++)if((e||s in o)&&o[s]===r)return e||s||0;return!e&&-1}},An={includes:xn(!0),indexOf:xn(!1)},kn=Xe,Tn=X,En=An.indexOf,_n=Sr,Nn=P([].push),Cn=function(e,t){var r,n=Tn(e),a=0,o=[];for(r in n)!kn(_n,r)&&kn(n,r)&&Nn(o,r);for(;t.length>a;)kn(n,r=t[a++])&&(~En(o,r)||Nn(o,r));return o},On=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Rn=Cn,Pn=On.concat("length","prototype");an.f=Object.getOwnPropertyNames||function(e){return Rn(e,Pn)};var Ln={};Ln.f=Object.getOwnPropertySymbols;var In=ae,Fn=an,Dn=Ln,Mn=Bt,jn=P([].concat),Bn=In("Reflect","ownKeys")||function(e){var t=Fn.f(Mn(e)),r=Dn.f;return r?jn(t,r(e)):t},Wn=Xe,Un=Bn,Hn=p,zn=It,Vn=g,qn=Z,$n=/#|\.prototype\./,Gn=function(e,t){var r=Yn[Xn(e)];return r==Jn||r!=Kn&&(qn(t)?Vn(t):!!t)},Xn=Gn.normalize=function(e){return String(e).replace($n,".").toLowerCase()},Yn=Gn.data={},Kn=Gn.NATIVE="N",Jn=Gn.POLYFILL="P",Zn=Gn,Qn=d,ea=p.f,ta=Qt,ra=nn,na=je,aa=function(e,t,r){for(var n=Un(t),a=zn.f,o=Hn.f,i=0;i<n.length;i++){var s=n[i];Wn(e,s)||r&&Wn(r,s)||a(e,s,o(t,s))}},oa=Zn,ia=function(e,t){var r,n,a,o,i,s=e.target,c=e.global,l=e.stat;if(r=c?Qn:l?Qn[s]||na(s,{}):(Qn[s]||{}).prototype)for(n in t){if(o=t[n],a=e.dontCallGetSet?(i=ea(r,n))&&i.value:r[n],!oa(c?n:s+(l?".":"#")+n,e.forced)&&void 0!==a){if(typeof o==typeof a)continue;aa(o,a)}(e.sham||a&&a.sham)&&ta(o,"sham",!0),ra(r,n,o,e)}},sa=Cn,ca=On,la=Object.keys||function(e){return sa(e,ca)},ua=m,fa=P,ha=w,da=g,pa=la,ga=Ln,ma=S,va=qe,ba=U,ya=Object.assign,wa=Object.defineProperty,Sa=fa([].concat),xa=!ya||da((function(){if(ua&&1!==ya({b:1},ya(wa({},"a",{enumerable:!0,get:function(){wa(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},r=Symbol(),n="abcdefghijklmnopqrst";return e[r]=7,n.split("").forEach((function(e){t[e]=e})),7!=ya({},e)[r]||pa(ya({},t)).join("")!=n}))?function(e,t){for(var r=va(e),n=arguments.length,a=1,o=ga.f,i=ma.f;n>a;)for(var s,c=ba(arguments[a++]),l=o?Sa(pa(c),o(c)):pa(c),u=l.length,f=0;u>f;)s=l[f++],ua&&!ha(i,c,s)||(r[s]=c[s]);return r}:ya,Aa=xa;ia({target:"Object",stat:!0,arity:2,forced:Object.assign!==Aa},{assign:Aa});var ka={};ka[ct("toStringTag")]="z";var Ta="[object z]"===String(ka),Ea=Ta,_a=Z,Na=D,Ca=ct("toStringTag"),Oa=Object,Ra="Arguments"==Na(function(){return arguments}()),Pa=Ea?Na:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=Oa(e),Ca))?r:Ra?Na(t):"Object"==(n=Na(t))&&_a(t.callee)?"Arguments":n},La=Pa,Ia=String,Fa=function(e){if("Symbol"===La(e))throw TypeError("Cannot convert a Symbol value to a string");return Ia(e)},Da=Bt,Ma=g,ja=d.RegExp,Ba=Ma((function(){var e=ja("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),Wa=Ba||Ma((function(){return!ja("a","y").sticky})),Ua={BROKEN_CARET:Ba||Ma((function(){var e=ja("^r","gy");return e.lastIndex=2,null!=e.exec("str")})),MISSED_STICKY:Wa,UNSUPPORTED_Y:Ba},Ha={},za=m,Va=Ft,qa=It,$a=Bt,Ga=X,Xa=la;Ha.f=za&&!Va?Object.defineProperties:function(e,t){$a(e);for(var r,n=Ga(t),a=Xa(t),o=a.length,i=0;o>i;)qa.f(e,r=a[i++],n[r]);return e};var Ya,Ka=ae("document","documentElement"),Ja=Bt,Za=Ha,Qa=On,eo=Sr,to=Ka,ro=xt,no="prototype",ao="script",oo=wr("IE_PROTO"),io=function(){},so=function(e){return"<"+ao+">"+e+"</"+ao+">"},co=function(e){e.write(so("")),e.close();var t=e.parentWindow.Object;return e=null,t},lo=function(){try{Ya=new ActiveXObject("htmlfile")}catch(e){}var e,t,r;lo="undefined"!=typeof document?document.domain&&Ya?co(Ya):(t=ro("iframe"),r="java"+ao+":",t.style.display="none",to.appendChild(t),t.src=String(r),(e=t.contentWindow.document).open(),e.write(so("document.F=Object")),e.close(),e.F):co(Ya);for(var n=Qa.length;n--;)delete lo[no][Qa[n]];return lo()};eo[oo]=!0;var uo,fo,ho=Object.create||function(e,t){var r;return null!==e?(io[no]=Ja(e),r=new io,io[no]=null,r[oo]=e):r=lo(),void 0===t?r:Za.f(r,t)},po=g,go=d.RegExp,mo=po((function(){var e=go(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)})),vo=g,bo=d.RegExp,yo=vo((function(){var e=bo("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")})),wo=w,So=P,xo=Fa,Ao=function(){var e=Da(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t},ko=Ua,To=ho,Eo=Fr.get,_o=mo,No=yo,Co=Ie("native-string-replace",String.prototype.replace),Oo=RegExp.prototype.exec,Ro=Oo,Po=So("".charAt),Lo=So("".indexOf),Io=So("".replace),Fo=So("".slice),Do=(fo=/b*/g,wo(Oo,uo=/a/,"a"),wo(Oo,fo,"a"),0!==uo.lastIndex||0!==fo.lastIndex),Mo=ko.BROKEN_CARET,jo=void 0!==/()??/.exec("")[1];(Do||jo||Mo||_o||No)&&(Ro=function(e){var t,r,n,a,o,i,s,c=this,l=Eo(c),u=xo(e),f=l.raw;if(f)return f.lastIndex=c.lastIndex,t=wo(Ro,f,u),c.lastIndex=f.lastIndex,t;var h=l.groups,d=Mo&&c.sticky,p=wo(Ao,c),g=c.source,m=0,v=u;if(d&&(p=Io(p,"y",""),-1===Lo(p,"g")&&(p+="g"),v=Fo(u,c.lastIndex),c.lastIndex>0&&(!c.multiline||c.multiline&&"\n"!==Po(u,c.lastIndex-1))&&(g="(?: "+g+")",v=" "+v,m++),r=new RegExp("^(?:"+g+")",p)),jo&&(r=new RegExp("^"+g+"$(?!\\s)",p)),Do&&(n=c.lastIndex),a=wo(Oo,d?r:c,v),d?a?(a.input=Fo(a.input,m),a[0]=Fo(a[0],m),a.index=c.lastIndex,c.lastIndex+=a[0].length):c.lastIndex=0:Do&&a&&(c.lastIndex=c.global?a.index+a[0].length:n),jo&&a&&a.length>1&&wo(Co,a[0],r,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(a[o]=void 0)})),a&&h)for(a.groups=i=To(null),o=0;o<h.length;o++)i[(s=h[o])[0]]=a[s[1]];return a});var Bo=Ro;ia({target:"RegExp",proto:!0,forced:/./.exec!==Bo},{exec:Bo});var Wo=v,Uo=Function.prototype,Ho=Uo.apply,zo=Uo.call,Vo="object"==typeof Reflect&&Reflect.apply||(Wo?zo.bind(Ho):function(){return zo.apply(Ho,arguments)}),qo=D,$o=P,Go=function(e){if("Function"===qo(e))return $o(e)},Xo=Go,Yo=nn,Ko=Bo,Jo=g,Zo=ct,Qo=Qt,ei=Zo("species"),ti=RegExp.prototype,ri=P,ni=ln,ai=Fa,oi=q,ii=ri("".charAt),si=ri("".charCodeAt),ci=ri("".slice),li=function(e){return function(t,r){var n,a,o=ai(oi(t)),i=ni(r),s=o.length;return i<0||i>=s?e?"":void 0:(n=si(o,i))<55296||n>56319||i+1===s||(a=si(o,i+1))<56320||a>57343?e?ii(o,i):n:e?ci(o,i,i+2):a-56320+(n-55296<<10)+65536}},ui={codeAt:li(!1),charAt:li(!0)}.charAt,fi=P,hi=qe,di=Math.floor,pi=fi("".charAt),gi=fi("".replace),mi=fi("".slice),vi=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,bi=/\$([$&'`]|\d{1,2})/g,yi=w,wi=Bt,Si=Z,xi=D,Ai=Bo,ki=TypeError,Ti=Vo,Ei=w,_i=P,Ni=function(e,t,r,n){var a=Zo(e),o=!Jo((function(){var t={};return t[a]=function(){return 7},7!=""[e](t)})),i=o&&!Jo((function(){var t=!1,r=/a/;return"split"===e&&((r={}).constructor={},r.constructor[ei]=function(){return r},r.flags="",r[a]=/./[a]),r.exec=function(){return t=!0,null},r[a](""),!t}));if(!o||!i||r){var s=Xo(/./[a]),c=t(a,""[e],(function(e,t,r,n,a){var i=Xo(e),c=t.exec;return c===Ko||c===ti.exec?o&&!a?{done:!0,value:s(t,r,n)}:{done:!0,value:i(r,t,n)}:{done:!1}}));Yo(String.prototype,e,c[0]),Yo(ti,a,c[1])}n&&Qo(ti[a],"sham",!0)},Ci=g,Oi=Bt,Ri=Z,Pi=H,Li=ln,Ii=mn,Fi=Fa,Di=q,Mi=function(e,t,r){return t+(r?ui(e,t).length:1)},ji=Ce,Bi=function(e,t,r,n,a,o){var i=r+e.length,s=n.length,c=bi;return void 0!==a&&(a=hi(a),c=vi),gi(o,c,(function(o,c){var l;switch(pi(c,0)){case"$":return"$";case"&":return e;case"`":return mi(t,0,r);case"'":return mi(t,i);case"<":l=a[mi(c,1,-1)];break;default:var u=+c;if(0===u)return o;if(u>s){var f=di(u/10);return 0===f?o:f<=s?void 0===n[f-1]?pi(c,1):n[f-1]+pi(c,1):o}l=n[u-1]}return void 0===l?"":l}))},Wi=function(e,t){var r=e.exec;if(Si(r)){var n=yi(r,e,t);return null!==n&&wi(n),n}if("RegExp"===xi(e))return yi(Ai,e,t);throw ki("RegExp#exec called on incompatible receiver")},Ui=ct("replace"),Hi=Math.max,zi=Math.min,Vi=_i([].concat),qi=_i([].push),$i=_i("".indexOf),Gi=_i("".slice),Xi="$0"==="a".replace(/./,"$0"),Yi=!!/./[Ui]&&""===/./[Ui]("a","$0");Ni("replace",(function(e,t,r){var n=Yi?"$":"$0";return[function(e,r){var n=Di(this),a=Pi(e)?void 0:ji(e,Ui);return a?Ei(a,e,n,r):Ei(t,Fi(n),e,r)},function(e,a){var o=Oi(this),i=Fi(e);if("string"==typeof a&&-1===$i(a,n)&&-1===$i(a,"$<")){var s=r(t,o,i,a);if(s.done)return s.value}var c=Ri(a);c||(a=Fi(a));var l=o.global;if(l){var u=o.unicode;o.lastIndex=0}for(var f=[];;){var h=Wi(o,i);if(null===h)break;if(qi(f,h),!l)break;""===Fi(h[0])&&(o.lastIndex=Mi(i,Ii(o.lastIndex),u))}for(var d,p="",g=0,m=0;m<f.length;m++){for(var v=Fi((h=f[m])[0]),b=Hi(zi(Li(h.index),i.length),0),y=[],w=1;w<h.length;w++)qi(y,void 0===(d=h[w])?d:String(d));var S=h.groups;if(c){var x=Vi([v],y,b,i);void 0!==S&&qi(x,S);var A=Fi(Ti(a,void 0,x))}else A=Bi(v,i,b,y,S,a);b>=g&&(p+=Gi(i,g,b)+A,g=b+v.length)}return p+Gi(i,g)}]}),!!Ci((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}))||!Xi||Yi);var Ki=D,Ji=Array.isArray||function(e){return"Array"==Ki(e)},Zi=P,Qi=g,es=Z,ts=Pa,rs=pr,ns=function(){},as=[],os=ae("Reflect","construct"),is=/^\s*(?:class|function)\b/,ss=Zi(is.exec),cs=!is.exec(ns),ls=function(e){if(!es(e))return!1;try{return os(ns,as,e),!0}catch(e){return!1}},us=function(e){if(!es(e))return!1;switch(ts(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return cs||!!ss(is,rs(e))}catch(e){return!0}};us.sham=!0;var fs=!os||Qi((function(){var e;return ls(ls.call)||!ls(Object)||!ls((function(){e=!0}))||e}))?us:ls,hs=bt,ds=It,ps=_,gs=function(e,t,r){var n=hs(t);n in e?ds.f(e,n,ps(0,r)):e[n]=r},ms=g,vs=he,bs=ct("species"),ys=function(e){return vs>=51||!ms((function(){var t=[];return(t.constructor={})[bs]=function(){return{foo:1}},1!==t[e](Boolean).foo}))},ws=P([].slice),Ss=ia,xs=Ji,As=fs,ks=te,Ts=dn,Es=bn,_s=X,Ns=gs,Cs=ct,Os=ws,Rs=ys("slice"),Ps=Cs("species"),Ls=Array,Is=Math.max;Ss({target:"Array",proto:!0,forced:!Rs},{slice:function(e,t){var r,n,a,o=_s(this),i=Es(o),s=Ts(e,i),c=Ts(void 0===t?i:t,i);if(xs(o)&&(r=o.constructor,(As(r)&&(r===Ls||xs(r.prototype))||ks(r)&&null===(r=r[Ps]))&&(r=void 0),r===Ls||void 0===r))return Os(o,s,c);for(n=new(void 0===r?Ls:r)(Is(c-s,0)),a=0;s<c;s++,a++)s in o&&Ns(n,a,o[s]);return n.length=a,n}});var Fs=Ee,Ds=v,Ms=Go(Go.bind),js=Ji,Bs=fs,Ws=te,Us=ct("species"),Hs=Array,zs=function(e){var t;return js(e)&&(t=e.constructor,(Bs(t)&&(t===Hs||js(t.prototype))||Ws(t)&&null===(t=t[Us]))&&(t=void 0)),void 0===t?Hs:t},Vs=function(e,t){return new(zs(e))(0===t?0:t)},qs=function(e,t){return Fs(e),void 0===t?e:Ds?Ms(e,t):function(){return e.apply(t,arguments)}},$s=U,Gs=qe,Xs=bn,Ys=Vs,Ks=P([].push),Js=function(e){var t=1==e,r=2==e,n=3==e,a=4==e,o=6==e,i=7==e,s=5==e||o;return function(c,l,u,f){for(var h,d,p=Gs(c),g=$s(p),m=qs(l,u),v=Xs(g),b=0,y=f||Ys,w=t?y(c,v):r||i?y(c,0):void 0;v>b;b++)if((s||b in g)&&(d=m(h=g[b],b,p),e))if(t)w[b]=d;else if(d)switch(e){case 3:return!0;case 5:return h;case 6:return b;case 2:Ks(w,h)}else switch(e){case 4:return!1;case 7:Ks(w,h)}return o?-1:n||a?a:w}},Zs={forEach:Js(0),map:Js(1),filter:Js(2),some:Js(3),every:Js(4),find:Js(5),findIndex:Js(6),filterReject:Js(7)},Qs=Zs.map;ia({target:"Array",proto:!0,forced:!ys("map")},{map:function(e){return Qs(this,e,arguments.length>1?arguments[1]:void 0)}});var ec=ct,tc=ho,rc=It.f,nc=ec("unscopables"),ac=Array.prototype;null==ac[nc]&&rc(ac,nc,{configurable:!0,value:tc(null)});var oc=ia,ic=Zs.find,sc=function(e){ac[nc][e]=!0},cc="find",lc=!0;cc in[]&&Array(1)[cc]((function(){lc=!1})),oc({target:"Array",proto:!0,forced:lc},{find:function(e){return ic(this,e,arguments.length>1?arguments[1]:void 0)}}),sc(cc);var uc=Pa,fc=Ta?{}.toString:function(){return"[object "+uc(this)+"]"};Ta||nn(Object.prototype,"toString",fc,{unsafe:!0});var hc=TypeError,dc=ia,pc=g,gc=Ji,mc=te,vc=qe,bc=bn,yc=function(e){if(e>9007199254740991)throw hc("Maximum allowed index exceeded");return e},wc=gs,Sc=Vs,xc=ys,Ac=he,kc=ct("isConcatSpreadable"),Tc=Ac>=51||!pc((function(){var e=[];return e[kc]=!1,e.concat()[0]!==e})),Ec=function(e){if(!mc(e))return!1;var t=e[kc];return void 0!==t?!!t:gc(e)};dc({target:"Array",proto:!0,arity:1,forced:!Tc||!xc("concat")},{concat:function(e){var t,r,n,a,o,i=vc(this),s=Sc(i,0),c=0;for(t=-1,n=arguments.length;t<n;t++)if(Ec(o=-1===t?i:arguments[t]))for(a=bc(o),yc(c+a),r=0;r<a;r++,c++)r in o&&wc(s,c,o[r]);else yc(c+1),wc(s,c++,o);return s.length=c,s}});var _c=g,Nc=function(e,t){var r=[][e];return!!r&&_c((function(){r.call(null,t||function(){return 1},1)}))},Cc=ia,Oc=U,Rc=X,Pc=Nc,Lc=P([].join);Cc({target:"Array",proto:!0,forced:Oc!=Object||!Pc("join",",")},{join:function(e){return Lc(Rc(this),void 0===e?",":e)}});var Ic=xt("span").classList,Fc=Ic&&Ic.constructor&&Ic.constructor.prototype,Dc=Fc===Object.prototype?void 0:Fc,Mc=Zs.forEach,jc=Nc("forEach")?[].forEach:function(e){return Mc(this,e,arguments.length>1?arguments[1]:void 0)},Bc=d,Wc={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},Uc=Dc,Hc=jc,zc=Qt,Vc=function(e){if(e&&e.forEach!==Hc)try{zc(e,"forEach",Hc)}catch(t){e.forEach=Hc}};for(var qc in Wc)Wc[qc]&&Vc(Bc[qc]&&Bc[qc].prototype);Vc(Uc);var $c=e.fn.bootstrapTable.utils,Gc={json:"JSON",xml:"XML",png:"PNG",csv:"CSV",txt:"TXT",sql:"SQL",doc:"MS-Word",excel:"MS-Excel",xlsx:"MS-Excel (OpenXML)",powerpoint:"MS-Powerpoint",pdf:"PDF"};Object.assign(e.fn.bootstrapTable.defaults,{showExport:!1,exportDataType:"basic",exportTypes:["json","xml","csv","txt","sql","excel"],exportOptions:{},exportFooter:!1}),Object.assign(e.fn.bootstrapTable.columnDefaults,{forceExport:!1,forceHide:!1}),Object.assign(e.fn.bootstrapTable.defaults.icons,{export:{bootstrap3:"glyphicon-export icon-share",bootstrap5:"bi-download",materialize:"file_download","bootstrap-table":"icon-download"}[e.fn.bootstrapTable.theme]||"fa-download"}),Object.assign(e.fn.bootstrapTable.locales,{formatExport:function(){return"Export data"}}),Object.assign(e.fn.bootstrapTable.defaults,e.fn.bootstrapTable.locales),e.fn.bootstrapTable.methods.push("exportTable"),Object.assign(e.fn.bootstrapTable.defaults,{onExportSaved:function(e){return!1},onExportStarted:function(){return!1}}),Object.assign(e.fn.bootstrapTable.events,{"export-saved.bs.table":"onExportSaved","export-started.bs.table":"onExportStarted"}),e.BootstrapTable=function(o){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&a(e,t)}(d,o);var c,u,f,h=i(d);function d(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,d),h.apply(this,arguments)}return c=d,u=[{key:"initToolbar",value:function(){var t,r=this,a=this.options,o=a.exportTypes;if(this.showToolbar=this.showToolbar||a.showExport,this.options.showExport){if("string"==typeof o){var i=o.slice(1,-1).replace(/ /g,"").split(",");o=i.map((function(e){return e.slice(1,-1)}))}if("string"==typeof a.exportOptions&&(a.exportOptions=$c.calculateObjectValue(null,a.exportOptions)),this.$export=this.$toolbar.find(">.columns div.export"),this.$export.length)return void this.updateExportButton();this.buttons=Object.assign(this.buttons,{export:{html:function(){if(1===o.length)return'\n <div class="export '.concat(r.constants.classes.buttonsDropdown,'"\n data-type="').concat(o[0],'">\n <button class="').concat(r.constants.buttonsClass,'"\n aria-label="').concat(a.formatExport(),'"\n type="button"\n title="').concat(a.formatExport(),'">\n ').concat(a.showButtonIcons?$c.sprintf(r.constants.html.icon,a.iconsPrefix,a.icons.export):"","\n ").concat(a.showButtonText?a.formatExport():"","\n </button>\n </div>\n ");var t=[];t.push('\n <div class="export '.concat(r.constants.classes.buttonsDropdown,'">\n <button class="').concat(r.constants.buttonsClass,' dropdown-toggle"\n aria-label="').concat(a.formatExport(),'"\n ').concat(r.constants.dataToggle,'="dropdown"\n type="button"\n title="').concat(a.formatExport(),'">\n ').concat(a.showButtonIcons?$c.sprintf(r.constants.html.icon,a.iconsPrefix,a.icons.export):"","\n ").concat(a.showButtonText?a.formatExport():"","\n ").concat(r.constants.html.dropdownCaret,"\n </button>\n ").concat(r.constants.html.toolbarDropdown[0],"\n "));var n,i=l(o);try{for(i.s();!(n=i.n()).done;){var s=n.value;if(Gc.hasOwnProperty(s)){var c=e($c.sprintf(r.constants.html.pageDropdownItem,"",Gc[s]));c.attr("data-type",s),t.push(c.prop("outerHTML"))}}}catch(e){i.e(e)}finally{i.f()}return t.push(r.constants.html.toolbarDropdown[1],"</div>"),t.join("")}}})}for(var c=arguments.length,u=new Array(c),f=0;f<c;f++)u[f]=arguments[f];if((t=s(n(d.prototype),"initToolbar",this)).call.apply(t,[this].concat(u)),this.$export=this.$toolbar.find(">.columns div.export"),this.options.showExport){this.updateExportButton();var h=this.$export.find("[data-type]");1===o.length&&(h=this.$export),h.click((function(t){t.preventDefault(),r.exportTable({type:e(t.currentTarget).data("type")})})),this.handleToolbar()}}},{key:"handleToolbar",value:function(){this.$export&&s(n(d.prototype),"handleToolbar",this)&&s(n(d.prototype),"handleToolbar",this).call(this)}},{key:"exportTable",value:function(t){var n=this,a=this.options,o=this.header.stateField,i=a.cardView,s=function(r){n.trigger("export-started"),o&&n.hideColumn(o),i&&n.toggleView(),n.columns.forEach((function(e){e.forceHide&&n.hideColumn(e.field)}));var s=n.getData();if(a.detailView&&a.detailViewIcon){var c="left"===a.detailViewAlign?0:n.getVisibleFields().length+$c.getDetailViewIndexOffset(n.options);a.exportOptions.ignoreColumn=[c].concat(a.exportOptions.ignoreColumn||[])}if(a.exportFooter&&a.height){var l=n.$tableFooter.find("tr").first(),u={},f=[];e.each(l.children(),(function(t,r){var a=e(r).children(".th-inner").first().html();u[n.columns[t].field]=" "===a?null:a,f.push(a)})),n.$body.append(n.$body.children().last()[0].outerHTML);var h=n.$body.children().last();e.each(h.children(),(function(t,r){e(r).html(f[t])}))}var d=n.getHiddenColumns();d.forEach((function(e){e.forceExport&&n.showColumn(e.field)})),"function"==typeof a.exportOptions.fileName&&(t.fileName=a.exportOptions.fileName()),n.$el.tableExport($c.extend({onAfterSaveToFile:function(){a.exportFooter&&n.load(s),o&&n.showColumn(o),i&&n.toggleView(),d.forEach((function(e){e.forceExport&&n.hideColumn(e.field)})),n.columns.forEach((function(e){e.forceHide&&n.showColumn(e.field)})),r&&r()}},a.exportOptions,t))};if("all"===a.exportDataType&&a.pagination){var c="server"===a.sidePagination?"post-body.bs.table":"page-change.bs.table",l=this.options.virtualScroll;this.$el.one(c,(function(){setTimeout((function(){s((function(){n.options.virtualScroll=l,n.togglePagination()}))}),0)})),this.options.virtualScroll=!1,this.togglePagination(),this.trigger("export-saved",this.getData())}else if("selected"===a.exportDataType){var u=this.getData(),f=this.getSelections(),h=a.pagination;if(!f.length)return;"server"===a.sidePagination&&(u=r({total:a.totalRows},this.options.dataField,u),f=r({total:f.length},this.options.dataField,f)),this.load(f),h&&this.togglePagination(),s((function(){h&&n.togglePagination(),n.load(u)})),this.trigger("export-saved",f)}else s(),this.trigger("export-saved",this.getData(!0))}},{key:"updateSelected",value:function(){s(n(d.prototype),"updateSelected",this).call(this),this.updateExportButton()}},{key:"updateExportButton",value:function(){"selected"===this.options.exportDataType&&this.$export.find("> button").prop("disabled",!this.getSelections().length)}}],u&&t(c.prototype,u),f&&t(c,f),Object.defineProperty(c,"prototype",{writable:!1}),d}(e.BootstrapTable)})),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).jQuery)}(this,(function(e){"use strict";function t(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,(a=n.key,o=void 0,"symbol"==typeof(o=function(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(a,"string"))?o:String(o)),n)}var a,o}function r(e){return r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},r(e)}function n(e,t){return n=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},n(e,t)}function a(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function o(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=r(e);if(t){var i=r(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return a(this,n)}}function i(){return i="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var a=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=r(e)););return e}(e,t);if(a){var o=Object.getOwnPropertyDescriptor(a,t);return o.get?o.get.call(arguments.length<3?e:n):o.value}},i.apply(this,arguments)}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function c(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return s(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?s(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,a=function(){};return{s:a,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:a}}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 o,i=!0,c=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return i=e.done,e},e:function(e){c=!0,o=e},f:function(){try{i||null==r.return||r.return()}finally{if(c)throw o}}}}var l="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},u=function(e){return e&&e.Math==Math&&e},f=u("object"==typeof globalThis&&globalThis)||u("object"==typeof window&&window)||u("object"==typeof self&&self)||u("object"==typeof l&&l)||function(){return this}()||Function("return this")(),h={},d=function(e){try{return!!e()}catch(e){return!0}},p=!d((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),g=!d((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})),m=g,v=Function.prototype.call,b=m?v.bind(v):function(){return v.apply(v,arguments)},y={},w={}.propertyIsEnumerable,S=Object.getOwnPropertyDescriptor,x=S&&!w.call({1:2},1);y.f=x?function(e){var t=S(this,e);return!!t&&t.enumerable}:w;var A,k,T=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},E=g,_=Function.prototype,N=_.call,C=E&&_.bind.bind(N,N),O=E?C:function(e){return function(){return N.apply(e,arguments)}},R=O,P=R({}.toString),L=R("".slice),I=function(e){return L(P(e),8,-1)},F=d,D=I,M=Object,j=O("".split),B=F((function(){return!M("z").propertyIsEnumerable(0)}))?function(e){return"String"==D(e)?j(e,""):M(e)}:M,W=function(e){return null==e},U=W,H=TypeError,z=function(e){if(U(e))throw H("Can't call method on "+e);return e},V=B,q=z,$=function(e){return V(q(e))},G="object"==typeof document&&document.all,X={all:G,IS_HTMLDDA:void 0===G&&void 0!==G},Y=X.all,K=X.IS_HTMLDDA?function(e){return"function"==typeof e||e===Y}:function(e){return"function"==typeof e},J=K,Z=X.all,Q=X.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:J(e)||e===Z}:function(e){return"object"==typeof e?null!==e:J(e)},ee=f,te=K,re=function(e,t){return arguments.length<2?(r=ee[e],te(r)?r:void 0):ee[e]&&ee[e][t];var r},ne=O({}.isPrototypeOf),ae=f,oe="undefined"!=typeof navigator&&String(navigator.userAgent)||"",ie=ae.process,se=ae.Deno,ce=ie&&ie.versions||se&&se.version,le=ce&&ce.v8;le&&(k=(A=le.split("."))[0]>0&&A[0]<4?1:+(A[0]+A[1])),!k&&oe&&(!(A=oe.match(/Edge\/(\d+)/))||A[1]>=74)&&(A=oe.match(/Chrome\/(\d+)/))&&(k=+A[1]);var ue=k,fe=ue,he=d,de=!!Object.getOwnPropertySymbols&&!he((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&fe&&fe<41})),pe=de&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,ge=re,me=K,ve=ne,be=Object,ye=pe?function(e){return"symbol"==typeof e}:function(e){var t=ge("Symbol");return me(t)&&ve(t.prototype,be(e))},we=String,Se=K,xe=function(e){try{return we(e)}catch(e){return"Object"}},Ae=TypeError,ke=function(e){if(Se(e))return e;throw Ae(xe(e)+" is not a function")},Te=ke,Ee=W,_e=function(e,t){var r=e[t];return Ee(r)?void 0:Te(r)},Ne=b,Ce=K,Oe=Q,Re=TypeError,Pe={},Le={get exports(){return Pe},set exports(e){Pe=e}},Ie=f,Fe=Object.defineProperty,De=function(e,t){try{Fe(Ie,e,{value:t,configurable:!0,writable:!0})}catch(r){Ie[e]=t}return t},Me=De,je="__core-js_shared__",Be=f[je]||Me(je,{}),We=Be;(Le.exports=function(e,t){return We[e]||(We[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.29.0",mode:"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.29.0/LICENSE",source:"https://github.com/zloirock/core-js"});var Ue=z,He=Object,ze=function(e){return He(Ue(e))},Ve=ze,qe=O({}.hasOwnProperty),$e=Object.hasOwn||function(e,t){return qe(Ve(e),t)},Ge=O,Xe=0,Ye=Math.random(),Ke=Ge(1..toString),Je=function(e){return"Symbol("+(void 0===e?"":e)+")_"+Ke(++Xe+Ye,36)},Ze=Pe,Qe=$e,et=Je,tt=de,rt=pe,nt=f.Symbol,at=Ze("wks"),ot=rt?nt.for||nt:nt&&nt.withoutSetter||et,it=function(e){return Qe(at,e)||(at[e]=tt&&Qe(nt,e)?nt[e]:ot("Symbol."+e)),at[e]},st=b,ct=Q,lt=ye,ut=_e,ft=function(e,t){var r,n;if("string"===t&&Ce(r=e.toString)&&!Oe(n=Ne(r,e)))return n;if(Ce(r=e.valueOf)&&!Oe(n=Ne(r,e)))return n;if("string"!==t&&Ce(r=e.toString)&&!Oe(n=Ne(r,e)))return n;throw Re("Can't convert object to primitive value")},ht=TypeError,dt=it("toPrimitive"),pt=function(e,t){if(!ct(e)||lt(e))return e;var r,n=ut(e,dt);if(n){if(void 0===t&&(t="default"),r=st(n,e,t),!ct(r)||lt(r))return r;throw ht("Can't convert object to primitive value")}return void 0===t&&(t="number"),ft(e,t)},gt=ye,mt=function(e){var t=pt(e,"string");return gt(t)?t:t+""},vt=Q,bt=f.document,yt=vt(bt)&&vt(bt.createElement),wt=function(e){return yt?bt.createElement(e):{}},St=wt,xt=!p&&!d((function(){return 7!=Object.defineProperty(St("div"),"a",{get:function(){return 7}}).a})),At=p,kt=b,Tt=y,Et=T,_t=$,Nt=mt,Ct=$e,Ot=xt,Rt=Object.getOwnPropertyDescriptor;h.f=At?Rt:function(e,t){if(e=_t(e),t=Nt(t),Ot)try{return Rt(e,t)}catch(e){}if(Ct(e,t))return Et(!kt(Tt.f,e,t),e[t])};var Pt={},Lt=p&&d((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),It=Q,Ft=String,Dt=TypeError,Mt=function(e){if(It(e))return e;throw Dt(Ft(e)+" is not an object")},jt=p,Bt=xt,Wt=Lt,Ut=Mt,Ht=mt,zt=TypeError,Vt=Object.defineProperty,qt=Object.getOwnPropertyDescriptor,$t="enumerable",Gt="configurable",Xt="writable";Pt.f=jt?Wt?function(e,t,r){if(Ut(e),t=Ht(t),Ut(r),"function"==typeof e&&"prototype"===t&&"value"in r&&Xt in r&&!r[Xt]){var n=qt(e,t);n&&n[Xt]&&(e[t]=r.value,r={configurable:Gt in r?r[Gt]:n[Gt],enumerable:$t in r?r[$t]:n[$t],writable:!1})}return Vt(e,t,r)}:Vt:function(e,t,r){if(Ut(e),t=Ht(t),Ut(r),Bt)try{return Vt(e,t,r)}catch(e){}if("get"in r||"set"in r)throw zt("Accessors not supported");return"value"in r&&(e[t]=r.value),e};var Yt=Pt,Kt=T,Jt=p?function(e,t,r){return Yt.f(e,t,Kt(1,r))}:function(e,t,r){return e[t]=r,e},Zt={},Qt={get exports(){return Zt},set exports(e){Zt=e}},er=p,tr=$e,rr=Function.prototype,nr=er&&Object.getOwnPropertyDescriptor,ar=tr(rr,"name"),or={EXISTS:ar,PROPER:ar&&"something"===function(){}.name,CONFIGURABLE:ar&&(!er||er&&nr(rr,"name").configurable)},ir=K,sr=Be,cr=O(Function.toString);ir(sr.inspectSource)||(sr.inspectSource=function(e){return cr(e)});var lr,ur,fr,hr=sr.inspectSource,dr=K,pr=f.WeakMap,gr=dr(pr)&&/native code/.test(String(pr)),mr=Je,vr=Pe("keys"),br=function(e){return vr[e]||(vr[e]=mr(e))},yr={},wr=gr,Sr=f,xr=Q,Ar=Jt,kr=$e,Tr=Be,Er=br,_r=yr,Nr="Object already initialized",Cr=Sr.TypeError,Or=Sr.WeakMap;if(wr||Tr.state){var Rr=Tr.state||(Tr.state=new Or);Rr.get=Rr.get,Rr.has=Rr.has,Rr.set=Rr.set,lr=function(e,t){if(Rr.has(e))throw Cr(Nr);return t.facade=e,Rr.set(e,t),t},ur=function(e){return Rr.get(e)||{}},fr=function(e){return Rr.has(e)}}else{var Pr=Er("state");_r[Pr]=!0,lr=function(e,t){if(kr(e,Pr))throw Cr(Nr);return t.facade=e,Ar(e,Pr,t),t},ur=function(e){return kr(e,Pr)?e[Pr]:{}},fr=function(e){return kr(e,Pr)}}var Lr={set:lr,get:ur,has:fr,enforce:function(e){return fr(e)?ur(e):lr(e,{})},getterFor:function(e){return function(t){var r;if(!xr(t)||(r=ur(t)).type!==e)throw Cr("Incompatible receiver, "+e+" required");return r}}},Ir=O,Fr=d,Dr=K,Mr=$e,jr=p,Br=or.CONFIGURABLE,Wr=hr,Ur=Lr.enforce,Hr=Lr.get,zr=String,Vr=Object.defineProperty,qr=Ir("".slice),$r=Ir("".replace),Gr=Ir([].join),Xr=jr&&!Fr((function(){return 8!==Vr((function(){}),"length",{value:8}).length})),Yr=String(String).split("String"),Kr=Qt.exports=function(e,t,r){"Symbol("===qr(zr(t),0,7)&&(t="["+$r(zr(t),/^Symbol\(([^)]*)\)/,"$1")+"]"),r&&r.getter&&(t="get "+t),r&&r.setter&&(t="set "+t),(!Mr(e,"name")||Br&&e.name!==t)&&(jr?Vr(e,"name",{value:t,configurable:!0}):e.name=t),Xr&&r&&Mr(r,"arity")&&e.length!==r.arity&&Vr(e,"length",{value:r.arity});try{r&&Mr(r,"constructor")&&r.constructor?jr&&Vr(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var n=Ur(e);return Mr(n,"source")||(n.source=Gr(Yr,"string"==typeof t?t:"")),e};Function.prototype.toString=Kr((function(){return Dr(this)&&Hr(this).source||Wr(this)}),"toString");var Jr=K,Zr=Pt,Qr=Zt,en=De,tn=function(e,t,r,n){n||(n={});var a=n.enumerable,o=void 0!==n.name?n.name:t;if(Jr(r)&&Qr(r,o,n),n.global)a?e[t]=r:en(t,r);else{try{n.unsafe?e[t]&&(a=!0):delete e[t]}catch(e){}a?e[t]=r:Zr.f(e,t,{value:r,enumerable:!1,configurable:!n.nonConfigurable,writable:!n.nonWritable})}return e},rn={},nn=Math.ceil,an=Math.floor,on=Math.trunc||function(e){var t=+e;return(t>0?an:nn)(t)},sn=function(e){var t=+e;return t!=t||0===t?0:on(t)},cn=sn,ln=Math.max,un=Math.min,fn=sn,hn=Math.min,dn=function(e){return e>0?hn(fn(e),9007199254740991):0},pn=dn,gn=function(e){return pn(e.length)},mn=$,vn=function(e,t){var r=cn(e);return r<0?ln(r+t,0):un(r,t)},bn=gn,yn=function(e){return function(t,r,n){var a,o=mn(t),i=bn(o),s=vn(n,i);if(e&&r!=r){for(;i>s;)if((a=o[s++])!=a)return!0}else for(;i>s;s++)if((e||s in o)&&o[s]===r)return e||s||0;return!e&&-1}},wn={includes:yn(!0),indexOf:yn(!1)},Sn=$e,xn=$,An=wn.indexOf,kn=yr,Tn=O([].push),En=function(e,t){var r,n=xn(e),a=0,o=[];for(r in n)!Sn(kn,r)&&Sn(n,r)&&Tn(o,r);for(;t.length>a;)Sn(n,r=t[a++])&&(~An(o,r)||Tn(o,r));return o},_n=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Nn=En,Cn=_n.concat("length","prototype");rn.f=Object.getOwnPropertyNames||function(e){return Nn(e,Cn)};var On={};On.f=Object.getOwnPropertySymbols;var Rn=re,Pn=rn,Ln=On,In=Mt,Fn=O([].concat),Dn=Rn("Reflect","ownKeys")||function(e){var t=Pn.f(In(e)),r=Ln.f;return r?Fn(t,r(e)):t},Mn=$e,jn=Dn,Bn=h,Wn=Pt,Un=d,Hn=K,zn=/#|\.prototype\./,Vn=function(e,t){var r=$n[qn(e)];return r==Xn||r!=Gn&&(Hn(t)?Un(t):!!t)},qn=Vn.normalize=function(e){return String(e).replace(zn,".").toLowerCase()},$n=Vn.data={},Gn=Vn.NATIVE="N",Xn=Vn.POLYFILL="P",Yn=Vn,Kn=f,Jn=h.f,Zn=Jt,Qn=tn,ea=De,ta=function(e,t,r){for(var n=jn(t),a=Wn.f,o=Bn.f,i=0;i<n.length;i++){var s=n[i];Mn(e,s)||r&&Mn(r,s)||a(e,s,o(t,s))}},ra=Yn,na=function(e,t){var r,n,a,o,i,s=e.target,c=e.global,l=e.stat;if(r=c?Kn:l?Kn[s]||ea(s,{}):(Kn[s]||{}).prototype)for(n in t){if(o=t[n],a=e.dontCallGetSet?(i=Jn(r,n))&&i.value:r[n],!ra(c?n:s+(l?".":"#")+n,e.forced)&&void 0!==a){if(typeof o==typeof a)continue;ta(o,a)}(e.sham||a&&a.sham)&&Zn(o,"sham",!0),Qn(r,n,o,e)}},aa={},oa=En,ia=_n,sa=Object.keys||function(e){return oa(e,ia)},ca=p,la=Lt,ua=Pt,fa=Mt,ha=$,da=sa;aa.f=ca&&!la?Object.defineProperties:function(e,t){fa(e);for(var r,n=ha(t),a=da(t),o=a.length,i=0;o>i;)ua.f(e,r=a[i++],n[r]);return e};var pa,ga=re("document","documentElement"),ma=Mt,va=aa,ba=_n,ya=yr,wa=ga,Sa=wt,xa="prototype",Aa="script",ka=br("IE_PROTO"),Ta=function(){},Ea=function(e){return"<"+Aa+">"+e+"</"+Aa+">"},_a=function(e){e.write(Ea("")),e.close();var t=e.parentWindow.Object;return e=null,t},Na=function(){try{pa=new ActiveXObject("htmlfile")}catch(e){}var e,t,r;Na="undefined"!=typeof document?document.domain&&pa?_a(pa):(t=Sa("iframe"),r="java"+Aa+":",t.style.display="none",wa.appendChild(t),t.src=String(r),(e=t.contentWindow.document).open(),e.write(Ea("document.F=Object")),e.close(),e.F):_a(pa);for(var n=ba.length;n--;)delete Na[xa][ba[n]];return Na()};ya[ka]=!0;var Ca=Object.create||function(e,t){var r;return null!==e?(Ta[xa]=ma(e),r=new Ta,Ta[xa]=null,r[ka]=e):r=Na(),void 0===t?r:va.f(r,t)},Oa=it,Ra=Ca,Pa=Pt.f,La=Oa("unscopables"),Ia=Array.prototype;null==Ia[La]&&Pa(Ia,La,{configurable:!0,value:Ra(null)});var Fa=function(e){Ia[La][e]=!0},Da=wn.includes,Ma=Fa;na({target:"Array",proto:!0,forced:d((function(){return!Array(1).includes()}))},{includes:function(e){return Da(this,e,arguments.length>1?arguments[1]:void 0)}}),Ma("includes");var ja=Q,Ba=I,Wa=it("match"),Ua=function(e){var t;return ja(e)&&(void 0!==(t=e[Wa])?!!t:"RegExp"==Ba(e))},Ha=TypeError,za={};za[it("toStringTag")]="z";var Va="[object z]"===String(za),qa=Va,$a=K,Ga=I,Xa=it("toStringTag"),Ya=Object,Ka="Arguments"==Ga(function(){return arguments}()),Ja=qa?Ga:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=Ya(e),Xa))?r:Ka?Ga(t):"Object"==(n=Ga(t))&&$a(t.callee)?"Arguments":n},Za=Ja,Qa=String,eo=function(e){if("Symbol"===Za(e))throw TypeError("Cannot convert a Symbol value to a string");return Qa(e)},to=it("match"),ro=na,no=function(e){if(Ua(e))throw Ha("The method doesn't accept regular expressions");return e},ao=z,oo=eo,io=function(e){var t=/./;try{"/./"[e](t)}catch(r){try{return t[to]=!1,"/./"[e](t)}catch(e){}}return!1},so=O("".indexOf);ro({target:"String",proto:!0,forced:!io("includes")},{includes:function(e){return!!~so(oo(ao(this)),oo(no(e)),arguments.length>1?arguments[1]:void 0)}});var co=I,lo=Array.isArray||function(e){return"Array"==co(e)},uo=TypeError,fo=mt,ho=Pt,po=T,go=O,mo=d,vo=K,bo=Ja,yo=hr,wo=function(){},So=[],xo=re("Reflect","construct"),Ao=/^\s*(?:class|function)\b/,ko=go(Ao.exec),To=!Ao.exec(wo),Eo=function(e){if(!vo(e))return!1;try{return xo(wo,So,e),!0}catch(e){return!1}},_o=function(e){if(!vo(e))return!1;switch(bo(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return To||!!ko(Ao,yo(e))}catch(e){return!0}};_o.sham=!0;var No=!xo||mo((function(){var e;return Eo(Eo.call)||!Eo(Object)||!Eo((function(){e=!0}))||e}))?_o:Eo,Co=lo,Oo=No,Ro=Q,Po=it("species"),Lo=Array,Io=function(e){var t;return Co(e)&&(t=e.constructor,(Oo(t)&&(t===Lo||Co(t.prototype))||Ro(t)&&null===(t=t[Po]))&&(t=void 0)),void 0===t?Lo:t},Fo=function(e,t){return new(Io(e))(0===t?0:t)},Do=d,Mo=ue,jo=it("species"),Bo=function(e){return Mo>=51||!Do((function(){var t=[];return(t.constructor={})[jo]=function(){return{foo:1}},1!==t[e](Boolean).foo}))},Wo=na,Uo=d,Ho=lo,zo=Q,Vo=ze,qo=gn,$o=function(e){if(e>9007199254740991)throw uo("Maximum allowed index exceeded");return e},Go=function(e,t,r){var n=fo(t);n in e?ho.f(e,n,po(0,r)):e[n]=r},Xo=Fo,Yo=Bo,Ko=ue,Jo=it("isConcatSpreadable"),Zo=Ko>=51||!Uo((function(){var e=[];return e[Jo]=!1,e.concat()[0]!==e})),Qo=function(e){if(!zo(e))return!1;var t=e[Jo];return void 0!==t?!!t:Ho(e)};Wo({target:"Array",proto:!0,arity:1,forced:!Zo||!Yo("concat")},{concat:function(e){var t,r,n,a,o,i=Vo(this),s=Xo(i,0),c=0;for(t=-1,n=arguments.length;t<n;t++)if(Qo(o=-1===t?i:arguments[t]))for(a=qo(o),$o(c+a),r=0;r<a;r++,c++)r in o&&Go(s,c,o[r]);else $o(c+1),Go(s,c++,o);return s.length=c,s}});var ei,ti,ri=Mt,ni=function(){var e=ri(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t},ai=d,oi=f.RegExp,ii=ai((function(){var e=oi("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),si=ii||ai((function(){return!oi("a","y").sticky})),ci={BROKEN_CARET:ii||ai((function(){var e=oi("^r","gy");return e.lastIndex=2,null!=e.exec("str")})),MISSED_STICKY:si,UNSUPPORTED_Y:ii},li=d,ui=f.RegExp,fi=li((function(){var e=ui(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)})),hi=d,di=f.RegExp,pi=hi((function(){var e=di("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")})),gi=b,mi=O,vi=eo,bi=ni,yi=ci,wi=Ca,Si=Lr.get,xi=fi,Ai=pi,ki=Pe("native-string-replace",String.prototype.replace),Ti=RegExp.prototype.exec,Ei=Ti,_i=mi("".charAt),Ni=mi("".indexOf),Ci=mi("".replace),Oi=mi("".slice),Ri=(ti=/b*/g,gi(Ti,ei=/a/,"a"),gi(Ti,ti,"a"),0!==ei.lastIndex||0!==ti.lastIndex),Pi=yi.BROKEN_CARET,Li=void 0!==/()??/.exec("")[1];(Ri||Li||Pi||xi||Ai)&&(Ei=function(e){var t,r,n,a,o,i,s,c=this,l=Si(c),u=vi(e),f=l.raw;if(f)return f.lastIndex=c.lastIndex,t=gi(Ei,f,u),c.lastIndex=f.lastIndex,t;var h=l.groups,d=Pi&&c.sticky,p=gi(bi,c),g=c.source,m=0,v=u;if(d&&(p=Ci(p,"y",""),-1===Ni(p,"g")&&(p+="g"),v=Oi(u,c.lastIndex),c.lastIndex>0&&(!c.multiline||c.multiline&&"\n"!==_i(u,c.lastIndex-1))&&(g="(?: "+g+")",v=" "+v,m++),r=new RegExp("^(?:"+g+")",p)),Li&&(r=new RegExp("^"+g+"$(?!\\s)",p)),Ri&&(n=c.lastIndex),a=gi(Ti,d?r:c,v),d?a?(a.input=Oi(a.input,m),a[0]=Oi(a[0],m),a.index=c.lastIndex,c.lastIndex+=a[0].length):c.lastIndex=0:Ri&&a&&(c.lastIndex=c.global?a.index+a[0].length:n),Li&&a&&a.length>1&&gi(ki,a[0],r,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(a[o]=void 0)})),a&&h)for(a.groups=i=wi(null),o=0;o<h.length;o++)i[(s=h[o])[0]]=a[s[1]];return a});var Ii=Ei;na({target:"RegExp",proto:!0,forced:/./.exec!==Ii},{exec:Ii});var Fi=g,Di=Function.prototype,Mi=Di.apply,ji=Di.call,Bi="object"==typeof Reflect&&Reflect.apply||(Fi?ji.bind(Mi):function(){return ji.apply(Mi,arguments)}),Wi=I,Ui=O,Hi=function(e){if("Function"===Wi(e))return Ui(e)},zi=Hi,Vi=tn,qi=Ii,$i=d,Gi=it,Xi=Jt,Yi=Gi("species"),Ki=RegExp.prototype,Ji=function(e,t,r,n){var a=Gi(e),o=!$i((function(){var t={};return t[a]=function(){return 7},7!=""[e](t)})),i=o&&!$i((function(){var t=!1,r=/a/;return"split"===e&&((r={}).constructor={},r.constructor[Yi]=function(){return r},r.flags="",r[a]=/./[a]),r.exec=function(){return t=!0,null},r[a](""),!t}));if(!o||!i||r){var s=zi(/./[a]),c=t(a,""[e],(function(e,t,r,n,a){var i=zi(e),c=t.exec;return c===qi||c===Ki.exec?o&&!a?{done:!0,value:s(t,r,n)}:{done:!0,value:i(r,t,n)}:{done:!1}}));Vi(String.prototype,e,c[0]),Vi(Ki,a,c[1])}n&&Xi(Ki[a],"sham",!0)},Zi=O,Qi=sn,es=eo,ts=z,rs=Zi("".charAt),ns=Zi("".charCodeAt),as=Zi("".slice),os=function(e){return function(t,r){var n,a,o=es(ts(t)),i=Qi(r),s=o.length;return i<0||i>=s?e?"":void 0:(n=ns(o,i))<55296||n>56319||i+1===s||(a=ns(o,i+1))<56320||a>57343?e?rs(o,i):n:e?as(o,i,i+2):a-56320+(n-55296<<10)+65536}},is={codeAt:os(!1),charAt:os(!0)}.charAt,ss=O,cs=ze,ls=Math.floor,us=ss("".charAt),fs=ss("".replace),hs=ss("".slice),ds=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,ps=/\$([$&'`]|\d{1,2})/g,gs=b,ms=Mt,vs=K,bs=I,ys=Ii,ws=TypeError,Ss=function(e,t){var r=e.exec;if(vs(r)){var n=gs(r,e,t);return null!==n&&ms(n),n}if("RegExp"===bs(e))return gs(ys,e,t);throw ws("RegExp#exec called on incompatible receiver")},xs=Bi,As=b,ks=O,Ts=Ji,Es=d,_s=Mt,Ns=K,Cs=W,Os=sn,Rs=dn,Ps=eo,Ls=z,Is=function(e,t,r){return t+(r?is(e,t).length:1)},Fs=_e,Ds=function(e,t,r,n,a,o){var i=r+e.length,s=n.length,c=ps;return void 0!==a&&(a=cs(a),c=ds),fs(o,c,(function(o,c){var l;switch(us(c,0)){case"$":return"$";case"&":return e;case"`":return hs(t,0,r);case"'":return hs(t,i);case"<":l=a[hs(c,1,-1)];break;default:var u=+c;if(0===u)return o;if(u>s){var f=ls(u/10);return 0===f?o:f<=s?void 0===n[f-1]?us(c,1):n[f-1]+us(c,1):o}l=n[u-1]}return void 0===l?"":l}))},Ms=Ss,js=it("replace"),Bs=Math.max,Ws=Math.min,Us=ks([].concat),Hs=ks([].push),zs=ks("".indexOf),Vs=ks("".slice),qs="$0"==="a".replace(/./,"$0"),$s=!!/./[js]&&""===/./[js]("a","$0");Ts("replace",(function(e,t,r){var n=$s?"$":"$0";return[function(e,r){var n=Ls(this),a=Cs(e)?void 0:Fs(e,js);return a?As(a,e,n,r):As(t,Ps(n),e,r)},function(e,a){var o=_s(this),i=Ps(e);if("string"==typeof a&&-1===zs(a,n)&&-1===zs(a,"$<")){var s=r(t,o,i,a);if(s.done)return s.value}var c=Ns(a);c||(a=Ps(a));var l=o.global;if(l){var u=o.unicode;o.lastIndex=0}for(var f=[];;){var h=Ms(o,i);if(null===h)break;if(Hs(f,h),!l)break;""===Ps(h[0])&&(o.lastIndex=Is(i,Rs(o.lastIndex),u))}for(var d,p="",g=0,m=0;m<f.length;m++){for(var v=Ps((h=f[m])[0]),b=Bs(Ws(Os(h.index),i.length),0),y=[],w=1;w<h.length;w++)Hs(y,void 0===(d=h[w])?d:String(d));var S=h.groups;if(c){var x=Us([v],y,b,i);void 0!==S&&Hs(x,S);var A=Ps(xs(a,void 0,x))}else A=Ds(v,i,b,y,S,a);b>=g&&(p+=Vs(i,g,b)+A,g=b+v.length)}return p+Vs(i,g)}]}),!!Es((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}))||!qs||$s);var Gs=Ja,Xs=Va?{}.toString:function(){return"[object "+Gs(this)+"]"};Va||tn(Object.prototype,"toString",Xs,{unsafe:!0});var Ys=wt("span").classList,Ks=Ys&&Ys.constructor&&Ys.constructor.prototype,Js=Ks===Object.prototype?void 0:Ks,Zs=ke,Qs=g,ec=Hi(Hi.bind),tc=function(e,t){return Zs(e),void 0===t?e:Qs?ec(e,t):function(){return e.apply(t,arguments)}},rc=B,nc=ze,ac=gn,oc=Fo,ic=O([].push),sc=function(e){var t=1==e,r=2==e,n=3==e,a=4==e,o=6==e,i=7==e,s=5==e||o;return function(c,l,u,f){for(var h,d,p=nc(c),g=rc(p),m=tc(l,u),v=ac(g),b=0,y=f||oc,w=t?y(c,v):r||i?y(c,0):void 0;v>b;b++)if((s||b in g)&&(d=m(h=g[b],b,p),e))if(t)w[b]=d;else if(d)switch(e){case 3:return!0;case 5:return h;case 6:return b;case 2:ic(w,h)}else switch(e){case 4:return!1;case 7:ic(w,h)}return o?-1:n||a?a:w}},cc={forEach:sc(0),map:sc(1),filter:sc(2),some:sc(3),every:sc(4),find:sc(5),findIndex:sc(6),filterReject:sc(7)},lc=d,uc=function(e,t){var r=[][e];return!!r&&lc((function(){r.call(null,t||function(){return 1},1)}))},fc=cc.forEach,hc=uc("forEach")?[].forEach:function(e){return fc(this,e,arguments.length>1?arguments[1]:void 0)},dc=f,pc={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},gc=Js,mc=hc,vc=Jt,bc=function(e){if(e&&e.forEach!==mc)try{vc(e,"forEach",mc)}catch(t){e.forEach=mc}};for(var yc in pc)pc[yc]&&bc(dc[yc]&&dc[yc].prototype);bc(gc);var wc=b,Sc=$e,xc=ne,Ac=ni,kc=RegExp.prototype,Tc=or.PROPER,Ec=tn,_c=Mt,Nc=eo,Cc=d,Oc=function(e){var t=e.flags;return void 0!==t||"flags"in kc||Sc(e,"flags")||!xc(kc,e)?t:wc(Ac,e)},Rc="toString",Pc=RegExp.prototype[Rc],Lc=Cc((function(){return"/a/b"!=Pc.call({source:"a",flags:"b"})})),Ic=Tc&&Pc.name!=Rc;(Lc||Ic)&&Ec(RegExp.prototype,Rc,(function(){var e=_c(this);return"/"+Nc(e.source)+"/"+Nc(Oc(e))}),{unsafe:!0});var Fc=na,Dc=cc.find,Mc=Fa,jc="find",Bc=!0;jc in[]&&Array(1)[jc]((function(){Bc=!1})),Fc({target:"Array",proto:!0,forced:Bc},{find:function(e){return Dc(this,e,arguments.length>1?arguments[1]:void 0)}}),Mc(jc);var Wc=cc.filter;na({target:"Array",proto:!0,forced:!Bo("filter")},{filter:function(e){return Wc(this,e,arguments.length>1?arguments[1]:void 0)}});var Uc=p,Hc=O,zc=b,Vc=d,qc=sa,$c=On,Gc=y,Xc=ze,Yc=B,Kc=Object.assign,Jc=Object.defineProperty,Zc=Hc([].concat),Qc=!Kc||Vc((function(){if(Uc&&1!==Kc({b:1},Kc(Jc({},"a",{enumerable:!0,get:function(){Jc(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},r=Symbol(),n="abcdefghijklmnopqrst";return e[r]=7,n.split("").forEach((function(e){t[e]=e})),7!=Kc({},e)[r]||qc(Kc({},t)).join("")!=n}))?function(e,t){for(var r=Xc(e),n=arguments.length,a=1,o=$c.f,i=Gc.f;n>a;)for(var s,c=Yc(arguments[a++]),l=o?Zc(qc(c),o(c)):qc(c),u=l.length,f=0;u>f;)s=l[f++],Uc&&!zc(i,c,s)||(r[s]=c[s]);return r}:Kc,el=Qc;na({target:"Object",stat:!0,arity:2,forced:Object.assign!==el},{assign:el});var tl=cc.map;na({target:"Array",proto:!0,forced:!Bo("map")},{map:function(e){return tl(this,e,arguments.length>1?arguments[1]:void 0)}});var rl=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t},nl=b,al=Mt,ol=W,il=z,sl=rl,cl=eo,ll=_e,ul=Ss;Ji("search",(function(e,t,r){return[function(t){var r=il(this),n=ol(t)?void 0:ll(t,e);return n?nl(n,t,r):new RegExp(t)[e](cl(r))},function(e){var n=al(this),a=cl(e),o=r(t,n,a);if(o.done)return o.value;var i=n.lastIndex;sl(i,0)||(n.lastIndex=0);var s=ul(n,a);return sl(n.lastIndex,i)||(n.lastIndex=i),null===s?-1:s.index}]}));var fl=na,hl=B,dl=$,pl=uc,gl=O([].join);fl({target:"Array",proto:!0,forced:hl!=Object||!pl("join",",")},{join:function(e){return gl(dl(this),void 0===e?",":e)}});var ml=e.fn.bootstrapTable.utils,vl={cookieIds:{sortOrder:"bs.table.sortOrder",sortName:"bs.table.sortName",sortPriority:"bs.table.sortPriority",pageNumber:"bs.table.pageNumber",pageList:"bs.table.pageList",columns:"bs.table.columns",hiddenColumns:"bs.table.hiddenColumns",cardView:"bs.table.cardView",searchText:"bs.table.searchText",reorderColumns:"bs.table.reorderColumns",filterControl:"bs.table.filterControl",filterBy:"bs.table.filterBy"},getCurrentHeader:function(e){return e.options.height?e.$tableHeader:e.$header},getCurrentSearchControls:function(e){return e.options.height?"table select, table input":"select, input"},isCookieSupportedByBrowser:function(){return navigator.cookieEnabled},isCookieEnabled:function(e,t){return e.options.cookiesEnabled.includes(t)},setCookie:function(e,t,r){if(e.options.cookie&&vl.isCookieEnabled(e,t))return e._storage.setItem("".concat(e.options.cookieIdTable,".").concat(t),r)},getCookie:function(e,t){return t&&vl.isCookieEnabled(e,t)?e._storage.getItem("".concat(e.options.cookieIdTable,".").concat(t)):null},deleteCookie:function(e,t){return e._storage.removeItem("".concat(e.options.cookieIdTable,".").concat(t))},calculateExpiration:function(e){var t=e.replace(/[0-9]*/,"");switch(e=e.replace(/[A-Za-z]{1,2}/,""),t.toLowerCase()){case"s":e=+e;break;case"mi":e*=60;break;case"h":e=60*e*60;break;case"d":e=24*e*60*60;break;case"m":e=30*e*24*60*60;break;case"y":e=365*e*24*60*60;break;default:e=void 0}if(!e)return"";var r=new Date;return r.setTime(r.getTime()+1e3*e),r.toGMTString()},initCookieFilters:function(t){setTimeout((function(){var r=JSON.parse(vl.getCookie(t,vl.cookieIds.filterControl));if(!t._filterControlValuesLoaded&&r){var n={},a=vl.getCurrentHeader(t),o=vl.getCurrentSearchControls(t),i=a;t.options.filterControlContainer&&(i=e("".concat(t.options.filterControlContainer))),i.find(o).each((function(){var a=e(this).closest("[data-field]").data("field");!function(e,r){r.forEach((function(r){var a=e.value.toString(),o=r.text;if(""!==o&&("radio"!==e.type||a===o))if("INPUT"===e.tagName&&"radio"===e.type&&a===o)e.checked=!0,n[r.field]=o;else if("INPUT"===e.tagName)e.value=o,n[r.field]=o;else if("SELECT"===e.tagName&&t.options.filterControlContainer)e.value=o,n[r.field]=o;else if(""!==o&&"SELECT"===e.tagName){n[r.field]=o;var i,s=c(e);try{for(s.s();!(i=s.n()).done;){var l=i.value;if(l.value===o)return void(l.selected=!0)}}catch(e){s.e(e)}finally{s.f()}var u=document.createElement("option");u.value=o,u.text=o,e.add(u,e[1]),e.selectedIndex=1}}))}(this,r.filter((function(e){return e.field===a})))})),t.initColumnSearch(n),t._filterControlValuesLoaded=!0,t.initServer()}}),250)}};Object.assign(e.fn.bootstrapTable.defaults,{cookie:!1,cookieExpire:"2h",cookiePath:null,cookieDomain:null,cookieSecure:null,cookieSameSite:"Lax",cookieIdTable:"",cookiesEnabled:["bs.table.sortOrder","bs.table.sortName","bs.table.sortPriority","bs.table.pageNumber","bs.table.pageList","bs.table.hiddenColumns","bs.table.columns","bs.table.searchText","bs.table.filterControl","bs.table.filterBy","bs.table.reorderColumns","bs.table.cardView"],cookieStorage:"cookieStorage",cookieCustomStorageGet:null,cookieCustomStorageSet:null,cookieCustomStorageDelete:null,_filterControls:[],_filterControlValuesLoaded:!1,_storage:{setItem:void 0,getItem:void 0,removeItem:void 0}}),e.fn.bootstrapTable.methods.push("getCookies"),e.fn.bootstrapTable.methods.push("deleteCookie"),Object.assign(e.fn.bootstrapTable.utils,{setCookie:vl.setCookie,getCookie:vl.getCookie}),e.BootstrapTable=function(a){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&n(e,t)}(h,a);var s,l,u,f=o(h);function h(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,h),f.apply(this,arguments)}return s=h,l=[{key:"init",value:function(){if(this.options.cookie){if("cookieStorage"===this.options.cookieStorage&&!vl.isCookieSupportedByBrowser())throw new Error("Cookies are not enabled in this browser.");this.configureStorage();var e=vl.getCookie(this,vl.cookieIds.filterBy);if("boolean"==typeof e&&!e)throw new Error("The cookie value of filterBy must be a json!");var t={};try{t=JSON.parse(e)}catch(e){throw new Error("Could not parse the json of the filterBy cookie!")}if(this.filterColumns=t||{},this._filterControls=[],this._filterControlValuesLoaded=!1,this.options.cookiesEnabled="string"==typeof this.options.cookiesEnabled?this.options.cookiesEnabled.replace("[","").replace("]","").replace(/'/g,"").replace(/ /g,"").split(","):this.options.cookiesEnabled,this.options.filterControl){var n=this;this.$el.on("column-search.bs.table",(function(e,t,r){for(var a=!0,o=0;o<n._filterControls.length;o++)if(n._filterControls[o].field===t){n._filterControls[o].text=r,a=!1;break}a&&n._filterControls.push({field:t,text:r}),vl.setCookie(n,vl.cookieIds.filterControl,JSON.stringify(n._filterControls))})).on("created-controls.bs.table",vl.initCookieFilters(n))}}i(r(h.prototype),"init",this).call(this)}},{key:"initServer",value:function(){var e;if(!this.options.cookie||!this.options.filterControl||this._filterControlValuesLoaded||!JSON.parse(vl.getCookie(this,vl.cookieIds.filterControl))){for(var t=arguments.length,n=new Array(t),a=0;a<t;a++)n[a]=arguments[a];(e=i(r(h.prototype),"initServer",this)).call.apply(e,[this].concat(n))}}},{key:"initTable",value:function(){for(var e,t=arguments.length,n=new Array(t),a=0;a<t;a++)n[a]=arguments[a];(e=i(r(h.prototype),"initTable",this)).call.apply(e,[this].concat(n)),this.initCookie()}},{key:"onSort",value:function(){for(var e,t=arguments.length,n=new Array(t),a=0;a<t;a++)n[a]=arguments[a];(e=i(r(h.prototype),"onSort",this)).call.apply(e,[this].concat(n)),this.options.cookie&&(void 0===this.options.sortName||void 0===this.options.sortOrder?(vl.deleteCookie(this,vl.cookieIds.sortName),vl.deleteCookie(this,vl.cookieIds.sortOrder)):(this.options.sortPriority=null,vl.deleteCookie(this,vl.cookieIds.sortPriority),vl.setCookie(this,vl.cookieIds.sortOrder,this.options.sortOrder),vl.setCookie(this,vl.cookieIds.sortName,this.options.sortName)))}},{key:"onMultipleSort",value:function(){for(var e,t=arguments.length,n=new Array(t),a=0;a<t;a++)n[a]=arguments[a];(e=i(r(h.prototype),"onMultipleSort",this)).call.apply(e,[this].concat(n)),this.options.cookie&&(void 0===this.options.sortPriority?vl.deleteCookie(this,vl.cookieIds.sortPriority):(this.options.sortName=void 0,this.options.sortOrder=void 0,vl.deleteCookie(this,vl.cookieIds.sortName),vl.deleteCookie(this,vl.cookieIds.sortOrder),vl.setCookie(this,vl.cookieIds.sortPriority,JSON.stringify(this.options.sortPriority))))}},{key:"onPageNumber",value:function(){for(var e,t=arguments.length,n=new Array(t),a=0;a<t;a++)n[a]=arguments[a];(e=i(r(h.prototype),"onPageNumber",this)).call.apply(e,[this].concat(n)),this.options.cookie&&vl.setCookie(this,vl.cookieIds.pageNumber,this.options.pageNumber)}},{key:"onPageListChange",value:function(){for(var e,t=arguments.length,n=new Array(t),a=0;a<t;a++)n[a]=arguments[a];(e=i(r(h.prototype),"onPageListChange",this)).call.apply(e,[this].concat(n)),this.options.cookie&&(vl.setCookie(this,vl.cookieIds.pageList,this.options.pageSize),vl.setCookie(this,vl.cookieIds.pageNumber,this.options.pageNumber))}},{key:"onPagePre",value:function(){for(var e,t=arguments.length,n=new Array(t),a=0;a<t;a++)n[a]=arguments[a];(e=i(r(h.prototype),"onPagePre",this)).call.apply(e,[this].concat(n)),this.options.cookie&&vl.setCookie(this,vl.cookieIds.pageNumber,this.options.pageNumber)}},{key:"onPageNext",value:function(){for(var e,t=arguments.length,n=new Array(t),a=0;a<t;a++)n[a]=arguments[a];(e=i(r(h.prototype),"onPageNext",this)).call.apply(e,[this].concat(n)),this.options.cookie&&vl.setCookie(this,vl.cookieIds.pageNumber,this.options.pageNumber)}},{key:"_toggleColumn",value:function(){for(var e,t=arguments.length,n=new Array(t),a=0;a<t;a++)n[a]=arguments[a];(e=i(r(h.prototype),"_toggleColumn",this)).call.apply(e,[this].concat(n)),this.options.cookie&&vl.setCookie(this,vl.cookieIds.hiddenColumns,JSON.stringify(this.getHiddenColumns().map((function(e){return e.field}))))}},{key:"_toggleAllColumns",value:function(){for(var e,t=arguments.length,n=new Array(t),a=0;a<t;a++)n[a]=arguments[a];(e=i(r(h.prototype),"_toggleAllColumns",this)).call.apply(e,[this].concat(n)),this.options.cookie&&vl.setCookie(this,vl.cookieIds.hiddenColumns,JSON.stringify(this.getHiddenColumns().map((function(e){return e.field}))))}},{key:"toggleView",value:function(){i(r(h.prototype),"toggleView",this).call(this),vl.setCookie(this,vl.cookieIds.cardView,this.options.cardView)}},{key:"selectPage",value:function(e){i(r(h.prototype),"selectPage",this).call(this,e),this.options.cookie&&vl.setCookie(this,vl.cookieIds.pageNumber,e)}},{key:"onSearch",value:function(e){i(r(h.prototype),"onSearch",this).call(this,e,!(arguments.length>1)||arguments[1]),this.options.cookie&&(this.options.search&&vl.setCookie(this,vl.cookieIds.searchText,this.searchText),vl.setCookie(this,vl.cookieIds.pageNumber,this.options.pageNumber))}},{key:"initHeader",value:function(){var e;this.options.reorderableColumns&&this.options.cookie&&(this.columnsSortOrder=JSON.parse(vl.getCookie(this,vl.cookieIds.reorderColumns)));for(var t=arguments.length,n=new Array(t),a=0;a<t;a++)n[a]=arguments[a];(e=i(r(h.prototype),"initHeader",this)).call.apply(e,[this].concat(n))}},{key:"persistReorderColumnsState",value:function(e){vl.setCookie(e,vl.cookieIds.reorderColumns,JSON.stringify(e.columnsSortOrder))}},{key:"filterBy",value:function(){for(var e,t=arguments.length,n=new Array(t),a=0;a<t;a++)n[a]=arguments[a];(e=i(r(h.prototype),"filterBy",this)).call.apply(e,[this].concat(n)),this.options.cookie&&vl.setCookie(this,vl.cookieIds.filterBy,JSON.stringify(this.filterColumns))}},{key:"initCookie",value:function(){var e=this;if(this.options.cookie){if(""===this.options.cookieIdTable||""===this.options.cookieExpire)return console.error("Configuration error. Please review the cookieIdTable and the cookieExpire property. If the properties are correct, then this browser does not support cookies."),void(this.options.cookie=!1);var t=vl.getCookie(this,vl.cookieIds.sortOrder),r=vl.getCookie(this,vl.cookieIds.sortName),n=vl.getCookie(this,vl.cookieIds.sortPriority),a=vl.getCookie(this,vl.cookieIds.pageNumber),o=vl.getCookie(this,vl.cookieIds.pageList),i=vl.getCookie(this,vl.cookieIds.searchText),s=vl.getCookie(this,vl.cookieIds.cardView),l=vl.getCookie(this,vl.cookieIds.columns),u=vl.getCookie(this,vl.cookieIds.hiddenColumns);if("boolean"==typeof l&&!l)throw new Error("The cookie value of filterBy must be a json!");var f={};try{f=JSON.parse(l)}catch(e){throw new Error("Could not parse the json of the columns cookie!",l)}var h={};try{h=JSON.parse(u)}catch(e){throw new Error("Could not parse the json of the hidden columns cookie!",u)}try{n=JSON.parse(n)}catch(e){throw new Error("Could not parse the json of the sortPriority cookie!",n)}if(n?(this.options.sortOrder=void 0,this.options.sortName=void 0):(this.options.sortOrder=t||this.options.sortOrder,this.options.sortName=r||this.options.sortName),this.options.sortPriority=n||this.options.sortPriority,(this.options.sortOrder||this.options.sortName)&&(this.options.sortPriority=null),this.options.pageNumber=a?+a:this.options.pageNumber,this.options.pageSize=o?o===this.options.formatAllRows()?o:+o:this.options.pageSize,vl.isCookieEnabled(this,vl.cookieIds.searchText)&&""===this.options.searchText&&(this.options.searchText=i||""),this.options.cardView="true"===s&&s,h){var d,p=c(this.columns);try{var g=function(){var t=d.value;t.visible=!h.filter((function(r){return!e.isSelectionColumn(t)&&r===t.field})).length>0||!t.switchable};for(p.s();!(d=p.n()).done;)g()}catch(e){p.e(e)}finally{p.f()}}else if(f){var m,v=c(this.columns);try{var b=function(){var t=m.value;if(!t.switchable)return"continue";t.visible=f.filter((function(r){return!!e.isSelectionColumn(t)||(r instanceof Object?r.field===t.field:r===t.field)})).length>0};for(v.s();!(m=v.n()).done;)b()}catch(e){v.e(e)}finally{v.f()}}}}},{key:"getCookies",value:function(){var t=this,r={};return e.each(vl.cookieIds,(function(e,n){r[e]=vl.getCookie(t,n),"columns"!==e&&"hiddenColumns"!==e&&"sortPriority"!==e||(r[e]=JSON.parse(r[e]))})),r}},{key:"deleteCookie",value:function(e){e&&vl.deleteCookie(this,vl.cookieIds[e])}},{key:"configureStorage",value:function(){var e=this;switch(this._storage={},this.options.cookieStorage){case"cookieStorage":this._storage.setItem=function(t,r){document.cookie=[t,"=",encodeURIComponent(r),"; expires=".concat(vl.calculateExpiration(e.options.cookieExpire)),e.options.cookiePath?"; path=".concat(e.options.cookiePath):"",e.options.cookieDomain?"; domain=".concat(e.options.cookieDomain):"",e.options.cookieSecure?"; secure":"",";SameSite=".concat(e.options.cookieSameSite)].join("")},this._storage.getItem=function(e){var t="; ".concat(document.cookie).split("; ".concat(e,"="));return 2===t.length?decodeURIComponent(t.pop().split(";").shift()):null},this._storage.removeItem=function(t){document.cookie=[encodeURIComponent(t),"=","; expires=Thu, 01 Jan 1970 00:00:00 GMT",e.options.cookiePath?"; path=".concat(e.options.cookiePath):"",e.options.cookieDomain?"; domain=".concat(e.options.cookieDomain):"",";SameSite=".concat(e.options.cookieSameSite)].join("")};break;case"localStorage":this._storage.setItem=function(e,t){localStorage.setItem(e,t)},this._storage.getItem=function(e){return localStorage.getItem(e)},this._storage.removeItem=function(e){localStorage.removeItem(e)};break;case"sessionStorage":this._storage.setItem=function(e,t){sessionStorage.setItem(e,t)},this._storage.getItem=function(e){return sessionStorage.getItem(e)},this._storage.removeItem=function(e){sessionStorage.removeItem(e)};break;case"customStorage":if(!this.options.cookieCustomStorageSet||!this.options.cookieCustomStorageGet||!this.options.cookieCustomStorageDelete)throw new Error("The following options must be set while using the customStorage: cookieCustomStorageSet, cookieCustomStorageGet and cookieCustomStorageDelete");this._storage.setItem=function(t,r){ml.calculateObjectValue(e.options,e.options.cookieCustomStorageSet,[t,r],"")},this._storage.getItem=function(t){return ml.calculateObjectValue(e.options,e.options.cookieCustomStorageGet,[t],"")},this._storage.removeItem=function(t){ml.calculateObjectValue(e.options,e.options.cookieCustomStorageDelete,[t],"")};break;default:throw new Error("Storage method not supported.")}}}],l&&t(s.prototype,l),u&&t(s,u),Object.defineProperty(s,"prototype",{writable:!1}),h}(e.BootstrapTable)})),jQuery.base64=function(e){var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function r(e){var r,n,a,o,i,s,c,l="",u=0;for(e=function(e){e=e.replace(/\r\n/g,"\n");for(var t="",r=0;r<e.length;r++){var n=e.charCodeAt(r);n<128?t+=String.fromCharCode(n):n>127&&n<2048?(t+=String.fromCharCode(n>>6|192),t+=String.fromCharCode(63&n|128)):(t+=String.fromCharCode(n>>12|224),t+=String.fromCharCode(n>>6&63|128),t+=String.fromCharCode(63&n|128))}return t}(e);u<e.length;)o=(r=e.charCodeAt(u++))>>2,i=(3&r)<<4|(n=e.charCodeAt(u++))>>4,s=(15&n)<<2|(a=e.charCodeAt(u++))>>6,c=63&a,isNaN(n)?s=c=64:isNaN(a)&&(c=64),l=l+t.charAt(o)+t.charAt(i)+t.charAt(s)+t.charAt(c);return l}return{encode:function(e){return r(e)}}}(jQuery);var $jscomp=$jscomp||{};$jscomp.scope={},$jscomp.findInternal=function(e,t,r){e instanceof String&&(e=String(e));for(var n=e.length,a=0;a<n;a++){var o=e[a];if(t.call(r,o,a,e))return{i:a,v:o}}return{i:-1,v:void 0}},$jscomp.ASSUME_ES5=!1,$jscomp.ASSUME_NO_NATIVE_MAP=!1,$jscomp.ASSUME_NO_NATIVE_SET=!1,$jscomp.defineProperty=$jscomp.ASSUME_ES5||"function"==typeof Object.defineProperties?Object.defineProperty:function(e,t,r){e!=Array.prototype&&e!=Object.prototype&&(e[t]=r.value)},$jscomp.getGlobal=function(e){return"undefined"!=typeof window&&window===e?e:"undefined"!=typeof global&&null!=global?global:e},$jscomp.global=$jscomp.getGlobal(this),$jscomp.polyfill=function(e,t,r,n){if(t){for(r=$jscomp.global,e=e.split("."),n=0;n<e.length-1;n++){var a=e[n];a in r||(r[a]={}),r=r[a]}(t=t(n=r[e=e[e.length-1]]))!=n&&null!=t&&$jscomp.defineProperty(r,e,{configurable:!0,writable:!0,value:t})}},$jscomp.polyfill("Array.prototype.find",(function(e){return e||function(e,t){return $jscomp.findInternal(this,e,t).v}}),"es6","es3"),function(e){e.fn.tableExport=function(o){function i(t){var r=[];return c(t,"thead").each((function(){r.push.apply(r,c(e(this),ne.theadSelector).toArray())})),r}function s(t){var r=[];return c(t,"tbody").each((function(){r.push.apply(r,c(e(this),ne.tbodySelector).toArray())})),ne.tfootSelector.length&&c(t,"tfoot").each((function(){r.push.apply(r,c(e(this),ne.tfootSelector).toArray())})),r}function c(t,r){var n=t[0].tagName,a=t.parents(n).length;return t.find(r).filter((function(){return a===e(this).closest(n).parents(n).length}))}function l(t){var r=[],n=0,a=0,o=0;return e(t).find("thead").first().find("th").each((function(t,i){t=void 0!==e(i).attr("data-field"),void 0!==i.parentNode.rowIndex&&a!==i.parentNode.rowIndex&&(a=i.parentNode.rowIndex,n=o=0);var s=C(i);for(n+=s||1;o<n;)r[o]=t?e(i).attr("data-field"):o.toString(),o++})),r}function u(t){var r=void 0!==t[0].rowIndex,n=!1===r&&void 0!==t[0].cellIndex,a=n||r?function(e){var t=[];return me&&(t=ge.filter((function(){var t=!1;return this.nodeType===e[0].nodeType&&(void 0!==this.rowIndex&&this.rowIndex===e[0].rowIndex||void 0!==this.cellIndex&&this.cellIndex===e[0].cellIndex&&void 0!==this.parentNode.rowIndex&&void 0!==e[0].parentNode.rowIndex&&this.parentNode.rowIndex===e[0].parentNode.rowIndex)&&(t=!0),t}))),!1===me||0===t.length}(t):t.is(":visible"),o=t.attr("data-tableexport-display");return n&&"none"!==o&&"always"!==o&&(r=void 0!==(t=e(t[0].parentNode))[0].rowIndex,o=t.attr("data-tableexport-display")),r&&"none"!==o&&"always"!==o&&(o=t.closest("table").attr("data-tableexport-display")),"none"!==o&&(!0===a||"always"===o)}function f(t,r,n){var a=!1;return u(t)?0<ne.ignoreColumn.length&&(-1!==e.inArray(n,ne.ignoreColumn)||-1!==e.inArray(n-r,ne.ignoreColumn)||de.length>n&&void 0!==de[n]&&-1!==e.inArray(de[n],ne.ignoreColumn))&&(a=!0):a=!0,a}function h(t,r,n,a,o){if("function"==typeof o){var i=!1;if("function"==typeof ne.onIgnoreRow&&(i=ne.onIgnoreRow(e(t),n)),!1===i&&(0===ne.ignoreRow.length||-1===e.inArray(n,ne.ignoreRow)&&-1===e.inArray(n-a,ne.ignoreRow))&&u(e(t))){var s=(t=c(e(t),r)).length,l=0,h=0;t.each((function(){var t,r=e(this),a=C(this),i=O(this);if(e.each(pe,(function(){if(n>this.s.r&&n<=this.e.r&&l>=this.s.c&&l<=this.e.c)for(t=0;t<=this.e.c-this.s.c;++t)s++,h++,o(null,n,l++)})),(i||a)&&(a=a||1,pe.push({s:{r:n,c:l},e:{r:n+(i||1)-1,c:l+a-1}})),!1===f(r,s,h++)&&o(this,n,l++),1<a)for(t=0;t<a-1;++t)h++,o(null,n,l++)})),e.each(pe,(function(){if(n>=this.s.r&&n<=this.e.r&&l>=this.s.c&&l<=this.e.c)for(var e=0;e<=this.e.c-this.s.c;++e)o(null,n,l++)}))}}}function d(e,t,r,n){if(void 0!==n.images&&void 0!==(r=n.images[r])){t=t.getBoundingClientRect();var a=e.width/e.height,o=t.width/t.height,i=e.width,s=e.height,c=19.049976/25.4,l=0;o<=a?(s=Math.min(e.height,t.height),i=t.width*s/t.height):o>a&&(i=Math.min(e.width,t.width),s=t.height*i/t.width),i*=c,(s*=c)<e.height&&(l=(e.height-s)/2);try{n.doc.addImage(r.src,e.textPos.x,e.y+l,i,s)}catch(e){}e.textPos.x+=i}}function p(e,t){if("string"===ne.outputMode)return e.output();if("base64"===ne.outputMode)return B(e.output());if("window"===ne.outputMode)window.URL=window.URL||window.webkitURL,window.open(window.URL.createObjectURL(e.output("blob")));else{var r=ne.fileName+".pdf";try{var n=e.output("blob");saveAs(n,r),"function"==typeof ne.onAfterSaveToFile&&ne.onAfterSaveToFile(n,r)}catch(n){j(r,"data:application/pdf"+(t?"":";base64")+",",t?e.output("blob"):e.output())}}}function g(e,t,r){var n=0;if(void 0!==r&&(n=r.colspan),0<=n){for(var a=e.width,o=e.textPos.x,i=t.table.columns.indexOf(t.column),s=1;s<n;s++)a+=t.table.columns[i+s].width;return 1<n&&("right"===e.styles.halign?o=e.textPos.x+a-e.width:"center"===e.styles.halign&&(o=e.textPos.x+(a-e.width)/2)),e.width=a,e.textPos.x=o,void 0!==r&&1<r.rowspan&&(e.height*=r.rowspan),"middle"!==e.styles.valign&&"bottom"!==e.styles.valign||2<(r=("string"==typeof e.text?e.text.split(/\r\n|\r|\n/g):e.text).length||1)&&(e.textPos.y-=(2-1.15)/2*t.row.styles.fontSize*(r-2)/3),!0}return!1}function m(t,r,n){null!=t&&(t.hasAttribute("data-tableexport-canvas")?(r=(new Date).getTime(),e(t).attr("data-tableexport-canvas",r),n.images[r]={url:'[data-tableexport-canvas="'+r+'"]',src:null}):"undefined"!==r&&null!=r&&r.each((function(){if(e(this).is("img")){var r=D(this.src);n.images[r]={url:this.src,src:this.src}}m(t,e(this).children(),n)})))}function v(t,r,n){r.each((function(){if(e(this).is("div")){var r=_(R(this,"background-color"),[255,255,255]),a=_(R(this,"border-top-color"),[0,0,0]),o=P(this,"border-top-width",ne.jspdf.unit),i=this.getBoundingClientRect(),s=this.offsetLeft*n.wScaleFactor,c=this.offsetTop*n.hScaleFactor,l=i.width*n.wScaleFactor;i=i.height*n.hScaleFactor,n.doc.setDrawColor.apply(void 0,a),n.doc.setFillColor.apply(void 0,r),n.doc.setLineWidth(o),n.doc.rect(t.x+s,t.y+c,l,i,o?"FD":"F")}else e(this).is("img")&&(r=D(this.src),d(t,this,r,n));v(t,e(this).children(),n)}))}function b(t,r,n){if("function"==typeof n.onAutotableText)n.onAutotableText(n.doc,t,r);else{var a=t.textPos.x,o=t.textPos.y,i={halign:t.styles.halign,valign:t.styles.valign};if(r.length){for(r=r[0];r.previousSibling;)r=r.previousSibling;for(var s=!1,c=!1;r;){var l=r.innerText||r.textContent||"",u=l.length&&" "===l[0]?" ":"",f=1<l.length&&" "===l[l.length-1]?" ":"";if(!0!==ne.preserve.leadingWS&&(l=u+w(l)),!0!==ne.preserve.trailingWS&&(l=S(l)+f),e(r).is("br")&&(a=t.textPos.x,o+=n.doc.internal.getFontSize()),e(r).is("b")?s=!0:e(r).is("i")&&(c=!0),(s||c)&&n.doc.setFont("undefined ",s&&c?"bolditalic":s?"bold":"italic"),u=n.doc.getStringUnitWidth(l)*n.doc.internal.getFontSize()){if("linebreak"===t.styles.overflow&&a>t.textPos.x&&a+u>t.textPos.x+t.width&&(0<=".,!%*;:=-".indexOf(l.charAt(0))&&(f=l.charAt(0),a+(u=n.doc.getStringUnitWidth(f)*n.doc.internal.getFontSize())<=t.textPos.x+t.width&&(U(f,a,o,i),l=l.substring(1,l.length)),u=n.doc.getStringUnitWidth(l)*n.doc.internal.getFontSize()),a=t.textPos.x,o+=n.doc.internal.getFontSize()),"visible"!==t.styles.overflow)for(;l.length&&a+u>t.textPos.x+t.width;)l=l.substring(0,l.length-1),u=n.doc.getStringUnitWidth(l)*n.doc.internal.getFontSize();U(l,a,o,i),a+=u}(s||c)&&(e(r).is("b")?s=!1:e(r).is("i")&&(c=!1),n.doc.setFont("undefined ",s||c?s?"bold":"italic":"normal")),r=r.nextSibling}t.textPos.x=a,t.textPos.y=o}else U(t.text,t.textPos.x,t.textPos.y,i)}}function y(e,t,r){return null==e?"":e.toString().replace(new RegExp(null==t?"":t.toString().replace(/([.*+?^=!:${}()|\[\]\/\\])/g,"\\$1"),"g"),r)}function w(e){return null==e?"":e.toString().replace(/^\s+/,"")}function S(e){return null==e?"":e.toString().replace(/\s+$/,"")}function x(e){if(0===ne.date.html.length)return!1;ne.date.pattern.lastIndex=0;var t=ne.date.pattern.exec(e);if(null==t)return!1;if(0>(e=+t[ne.date.match_y])||8099<e)return!1;var r=1*t[ne.date.match_m];if(t=1*t[ne.date.match_d],!isFinite(t))return!1;var n=new Date(e,r-1,t,0,0,0);return n.getFullYear()===e&&n.getMonth()===r-1&&n.getDate()===t&&new Date(Date.UTC(e,r-1,t,0,0,0))}function A(e){return e=e||"0",""!==ne.numbers.html.thousandsSeparator&&(e=y(e,ne.numbers.html.thousandsSeparator,"")),"."!==ne.numbers.html.decimalMark&&(e=y(e,ne.numbers.html.decimalMark,".")),("number"==typeof e||!1!==jQuery.isNumeric(e))&&e}function k(t,r,n,a){var o="",i="text";if(null!==t){var s=e(t);if(s.removeData("teUserDefText"),s[0].hasAttribute("data-tableexport-canvas"))var c="";else if(s[0].hasAttribute("data-tableexport-value"))c=(c=s.attr("data-tableexport-value"))?c+"":"",s.data("teUserDefText",1);else if(c=s.html(),"function"==typeof ne.onCellHtmlData)c=ne.onCellHtmlData(s,r,n,c),s.data("teUserDefText",1);else if(""!==c){t=e.parseHTML("<div>"+c+"</div>",null,!1);var l=0,u=0;c="",e.each(t,(function(){if(e(this).is("input"))c+=s.find("input").eq(l++).val();else if(e(this).is("select"))c+=s.find("select option:selected").eq(u++).text();else if(e(this).is("br"))c+="<br>";else if(void 0===e(this).html()?c+=e(this).text():(void 0===jQuery().bootstrapTable||!1===e(this).hasClass("fht-cell")&&!1===e(this).hasClass("filterControl")&&0===s.parents(".detail-view").length)&&(c+=e(this).html()),e(this).is("a")){var t=s.find("a").attr("href")||"";o="function"==typeof ne.onCellHtmlHyperlink?o+ne.onCellHtmlHyperlink(s,r,n,t,c):"href"===ne.htmlHyperlink?o+t:o+c,c=""}}))}if(c&&""!==c&&!0===ne.htmlContent)o=e.trim(c);else if(c&&""!==c)if(""!==s.attr("data-tableexport-cellformat")){var f=c.replace(/\n/g,"\u2028").replace(/(<\s*br([^>]*)>)/gi,""),h=e("<div/>").html(f).contents();if(t=!1,f="",e.each(h.text().split("\u2028"),(function(e,t){0<e&&(f+=" "),!0!==ne.preserve.leadingWS&&(t=w(t)),f+=!0!==ne.preserve.trailingWS?S(t):t})),e.each(f.split(""),(function(e,t){0<e&&(o+="\n"),!0!==ne.preserve.leadingWS&&(t=w(t)),!0!==ne.preserve.trailingWS&&(t=S(t)),o+=t.replace(/\u00AD/g,"")})),o=o.replace(/\u00A0/g," "),"json"===ne.type||"excel"===ne.type&&"xmlss"===ne.mso.fileFormat||!1===ne.numbers.output)!1!==(t=A(o))&&(i="number",o=Number(t));else if((ne.numbers.html.decimalMark!==ne.numbers.output.decimalMark||ne.numbers.html.thousandsSeparator!==ne.numbers.output.thousandsSeparator)&&!1!==(t=A(o))){1===(h=(""+t.substr(0>t?1:0)).split(".")).length&&(h[1]="");var d=3<h[0].length?h[0].length%3:0;i="number",o=(0>t?"-":"")+(ne.numbers.output.thousandsSeparator?(d?h[0].substr(0,d)+ne.numbers.output.thousandsSeparator:"")+h[0].substr(d).replace(/(\d{3})(?=\d)/g,"$1"+ne.numbers.output.thousandsSeparator):h[0])+(h[1].length?ne.numbers.output.decimalMark+h[1]:"")}}else o=c;!0===ne.escape&&(o=escape(o)),"function"==typeof ne.onCellData&&(o=ne.onCellData(s,r,n,o,i),s.data("teUserDefText",1))}return void 0!==a&&(a.type=i),o}function T(e){return 0<e.length&&!0===ne.preventInjection&&0<="=+-@".indexOf(e.charAt(0))?"'"+e:e}function E(e,t,r){return t+"-"+r.toLowerCase()}function _(e,t){return(e=/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/.exec(e))&&(t=[parseInt(e[1]),parseInt(e[2]),parseInt(e[3])]),t}function N(e){var t=R(e,"text-align"),r=R(e,"font-weight"),n=R(e,"font-style"),a="";return"start"===t&&(t="rtl"===R(e,"direction")?"right":"left"),700<=r&&(a="bold"),"italic"===n&&(a+=n),""===a&&(a="normal"),t={style:{align:t,bcolor:_(R(e,"background-color"),[255,255,255]),color:_(R(e,"color"),[0,0,0]),fstyle:a},colspan:C(e),rowspan:O(e)},null!==e&&(e=e.getBoundingClientRect(),t.rect={width:e.width,height:e.height}),t}function C(t){var r=e(t).attr("data-tableexport-colspan");return void 0===r&&e(t).is("[colspan]")&&(r=e(t).attr("colspan")),parseInt(r)||0}function O(t){var r=e(t).attr("data-tableexport-rowspan");return void 0===r&&e(t).is("[rowspan]")&&(r=e(t).attr("rowspan")),parseInt(r)||0}function R(e,t){try{return window.getComputedStyle?(t=t.replace(/([a-z])([A-Z])/,E),"object"==typeof e&&void 0!==e.nodeType?window.getComputedStyle(e,null).getPropertyValue(t):"object"==typeof e&&e.length?e.getPropertyValue(t):""):e.currentStyle?e.currentStyle[t]:e.style[t]}catch(e){}return""}function P(e,t,r){if(null!==(t=R(e,t).match(/\d+/))){t=t[0],e=e.parentElement;var n=document.createElement("div");return n.style.overflow="hidden",n.style.visibility="hidden",e.appendChild(n),n.style.width=100+r,r=100/n.offsetWidth,e.removeChild(n),t*r}return 0}function L(e){var t=e.c,r="";for(++t;t;t=Math.floor((t-1)/26))r=String.fromCharCode((t-1)%26+65)+r;return r+""+(e.r+1)}function I(e,t){return void 0===t||"number"==typeof t?I(e.s,e.e):("string"!=typeof e&&(e=L(e)),"string"!=typeof t&&(t=L(t)),e===t?e:e+":"+t)}function F(e,t){var r=Number(e);if(isFinite(r))return r;var n=1;return""!==t.thousandsSeparator&&(e=e.replace(new RegExp("([\\d])"+t.thousandsSeparator+"([\\d])","g"),"$1$2")),"."!==t.decimalMark&&(e=e.replace(new RegExp("([\\d])"+t.decimalMark+"([\\d])","g"),"$1.$2")),e=e.replace(/[$]/g,"").replace(/[%]/g,(function(){return n*=100,""})),isFinite(r=Number(e))?r/n:(e=e.replace(/[(](.*)[)]/,(function(e,t){return n=-n,t})),isFinite(r=Number(e))?r/n:r)}function D(e){var t,r=0;if(0===e.length)return r;var n=0;for(t=e.length;n<t;n++){r=(r<<5)-r+e.charCodeAt(n),r|=0}return r}function M(e,t,r,n,a,o){var i=!0;if("function"==typeof ne.onBeforeSaveToFile&&("boolean"!=typeof(i=ne.onBeforeSaveToFile(e,t,r,n,a))&&(i=!0)),i)try{J=o?new Blob([String.fromCharCode(65279),[e]],{type:r+";charset="+n}):new Blob([e],{type:r+";charset="+n}),saveAs(J,t,{autoBom:!1}),"function"==typeof ne.onAfterSaveToFile&&ne.onAfterSaveToFile(e,t)}catch(i){j(t,"data:"+r+(n.length?";charset="+n:"")+(a.length?";"+a:"")+",",o?"\ufeff"+e:e)}}function j(e,t,r){var n=window.navigator.userAgent;if(!1!==e&&window.navigator.msSaveOrOpenBlob)window.navigator.msSaveOrOpenBlob(new Blob([r]),e);else if(!1!==e&&(0<n.indexOf("MSIE ")||n.match(/Trident.*rv\:11\./))){if(t=document.createElement("iframe")){switch(document.body.appendChild(t),t.setAttribute("style","display:none"),t.contentDocument.open("txt/plain","replace"),t.contentDocument.write(r),t.contentDocument.close(),t.contentWindow.focus(),e.substr(e.lastIndexOf(".")+1)){case"doc":case"json":case"png":case"pdf":case"xls":case"xlsx":e+=".txt"}t.contentDocument.execCommand("SaveAs",!0,e),document.body.removeChild(t)}}else{var a=document.createElement("a");if(a){var o=null;a.style.display="none",!1!==e?a.download=e:a.target="_blank","object"==typeof r?(window.URL=window.URL||window.webkitURL,(n=[]).push(r),o=window.URL.createObjectURL(new Blob(n,{type:t})),a.href=o):0<=t.toLowerCase().indexOf("base64,")?a.href=t+B(r):a.href=t+encodeURIComponent(r),document.body.appendChild(a),document.createEvent?(null===ce&&(ce=document.createEvent("MouseEvents")),ce.initEvent("click",!0,!1),a.dispatchEvent(ce)):document.createEventObject?a.fireEvent("onclick"):"function"==typeof a.onclick&&a.onclick(),setTimeout((function(){o&&window.URL.revokeObjectURL(o),document.body.removeChild(a),"function"==typeof ne.onAfterSaveToFile&&ne.onAfterSaveToFile(r,e)}),100)}}}function B(e){var t,r="",n=0;if("string"==typeof e){e=e.replace(/\x0d\x0a/g,"\n");var a="";for(t=0;t<e.length;t++){var o=e.charCodeAt(t);128>o?a+=String.fromCharCode(o):(127<o&&2048>o?a+=String.fromCharCode(o>>6|192):(a+=String.fromCharCode(o>>12|224),a+=String.fromCharCode(o>>6&63|128)),a+=String.fromCharCode(63&o|128))}e=a}for(;n<e.length;){var i=e.charCodeAt(n++);o=i>>2,i=(3&i)<<4|(a=e.charCodeAt(n++))>>4;var s=(15&a)<<2|(t=e.charCodeAt(n++))>>6,c=63&t;isNaN(a)?s=c=64:isNaN(t)&&(c=64),r=r+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(o)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(i)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(s)+"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(c)}return r}function W(e,t,r,n){return t&&"object"==typeof t||console.error("The headers should be an object or array, is: "+typeof t),r&&"object"==typeof r||console.error("The data should be an object or array, is: "+typeof r),n&&"object"!=typeof n&&console.error("The data should be an object or array, is: "+typeof r),Array.prototype.forEach||console.error("The current browser does not support Array.prototype.forEach which is required for jsPDF-AutoTable"),Z=e,ee=function(e){var t=Y({theme:"striped",styles:{},headerStyles:{},bodyStyles:{},alternateRowStyles:{},columnStyles:{},startY:!1,margin:40,pageBreak:"auto",tableWidth:"auto",createdHeaderCell:function(e,t){},createdCell:function(e,t){},drawHeaderRow:function(e,t){},drawRow:function(e,t){},drawHeaderCell:function(e,t){},drawCell:function(e,t){},beforePageContent:function(e){},afterPageContent:function(e){}},e);void 0!==t.extendWidth&&(t.tableWidth=t.extendWidth?"auto":"wrap",console.error("Use of deprecated option: extendWidth, use tableWidth instead.")),void 0!==t.margins&&(void 0===t.margin&&(t.margin=t.margins),console.error("Use of deprecated option: margins, use margin instead.")),[["padding","cellPadding"],["lineHeight","rowHeight"],"fontSize","overflow"].forEach((function(e){var r="string"==typeof e?e:e[0];e="string"==typeof e?e:e[1],void 0!==t[r]&&(void 0===t.styles[e]&&(t.styles[e]=t[r]),console.error("Use of deprecated option: "+r+", use the style "+e+" instead."))}));var r=t.margin;return t.margin={},"number"==typeof r.horizontal&&(r.right=r.horizontal,r.left=r.horizontal),"number"==typeof r.vertical&&(r.top=r.vertical,r.bottom=r.vertical),["top","right","bottom","left"].forEach((function(e,n){"number"==typeof r?t.margin[e]=r:(n=Array.isArray(r)?n:e,t.margin[e]="number"==typeof r[n]?r[n]:40)})),t}(n||{}),te=1,Q={y:!1===ee.startY?ee.margin.top:ee.startY},e={textColor:30,fontSize:Z.internal.getFontSize(),fontStyle:Z.internal.getFont().fontStyle,fontName:Z.internal.getFont().fontName},H(t,r),function(){var e=0;re.columns.forEach((function(t){t.contentWidth=re.headerRow.cells[t.dataKey].contentWidth,re.rows.forEach((function(e){(e=e.cells[t.dataKey].contentWidth)>t.contentWidth&&(t.contentWidth=e)})),t.width=t.contentWidth,e+=t.contentWidth})),re.contentWidth=e;var t=Z.internal.pageSize.width-ee.margin.left-ee.margin.right,r=t;"number"==typeof ee.tableWidth?r=ee.tableWidth:"wrap"===ee.tableWidth&&(r=re.contentWidth),re.width=r<t?r:t;var n=[],a=0,o=re.width/re.columns.length,i=0;re.columns.forEach((function(e){var t=Y(ie,oe[ee.theme].table,ee.styles,e.styles);"wrap"===t.columnWidth?e.width=e.contentWidth:"number"==typeof t.columnWidth?e.width=t.columnWidth:e.contentWidth<=o&&re.contentWidth>re.width?e.width=e.contentWidth:(n.push(e),a+=e.contentWidth,e.width=0),i+=e.width})),z(n,i,a,o),re.height=0,re.rows.concat(re.headerRow).forEach((function(e,t){var r=0,n=re.x;re.columns.forEach((function(t){var a=e.cells[t.dataKey];t.x=n,q(a.styles);var o=t.width-2*a.styles.cellPadding;"linebreak"===a.styles.overflow?a.text=Z.splitTextToSize(a.text,o+1,{fontSize:a.styles.fontSize}):"ellipsize"===a.styles.overflow?a.text=G(a.text,o,a.styles):"visible"!==a.styles.overflow&&("hidden"===a.styles.overflow?a.text=G(a.text,o,a.styles,""):"function"==typeof a.styles.overflow?a.text=a.styles.overflow(a.text,o):console.error("Unrecognized overflow type: "+a.styles.overflow)),(a=Array.isArray(a.text)?a.text.length-1:0)>r&&(r=a),n+=t.width})),e.heightStyle=e.styles.rowHeight,e.height=e.heightStyle+r*e.styles.fontSize*1.15+(2-1.15)/2*e.styles.fontSize,re.height+=e.height}))}(),t=ee.startY+ee.margin.bottom+re.headerRow.height+(re.rows[0]&&"auto"===ee.pageBreak?re.rows[0].height:0),"avoid"===ee.pageBreak&&(t+=re.height),("always"===ee.pageBreak&&!1!==ee.startY||!1!==ee.startY&&t>Z.internal.pageSize.height)&&(Z.addPage(),Q.y=ee.margin.top),q(e),ee.beforePageContent($()),!1!==ee.drawHeaderRow(re.headerRow,$({row:re.headerRow}))&&V(re.headerRow,ee.drawHeaderCell),q(e),re.rows.forEach((function(e,t){Q.y+e.height+ee.margin.bottom>=Z.internal.pageSize.height&&(ee.afterPageContent($()),Z.addPage(),te++,Q={x:ee.margin.left,y:ee.margin.top},ee.beforePageContent($()),!1!==ee.drawHeaderRow(re.headerRow,$({row:re.headerRow}))&&V(re.headerRow,ee.drawHeaderCell)),e.y=Q.y,!1!==ee.drawRow(e,$({row:e}))&&V(e,ee.drawCell)})),ee.afterPageContent($()),q(e),Z}function U(e,t,r,n){"number"==typeof t&&"number"==typeof r||console.error("The x and y parameters are required. Missing for the text: ",e);var a=Z.internal.getFontSize()/Z.internal.scaleFactor,o=/\r\n|\r|\n/g,i=null,s=1;if("middle"!==n.valign&&"bottom"!==n.valign&&"center"!==n.halign&&"right"!==n.halign||(s=(i="string"==typeof e?e.split(o):e).length||1),r+=a*(2-1.15),"middle"===n.valign?r-=s/2*a:"bottom"===n.valign&&(r-=s*a),"center"===n.halign||"right"===n.halign){if(o=a,"center"===n.halign&&(o*=.5),i&&1<=s){for(e=0;e<i.length;e++)Z.text(i[e],t-Z.getStringUnitWidth(i[e])*o,r),r+=a;return Z}t-=Z.getStringUnitWidth(e)*o}return Z.text(e,t,r),Z}function H(o,i){(re=new t).x=ee.margin.left;var s=/\r\n|\r|\n/g,c=new r(o);c.index=-1;var l=Y(ie,oe[ee.theme].table,oe[ee.theme].header);c.styles=Y(l,ee.styles,ee.headerStyles),o.forEach((function(t,r){"object"==typeof t&&(r=void 0!==t.dataKey?t.dataKey:t.key),void 0!==t.width&&console.error("Use of deprecated option: column.width, use column.styles.columnWidth instead.");var o=new a(r);o.styles=ee.columnStyles[o.dataKey]||{},re.columns.push(o);var i=new n;i.raw="object"==typeof t?t.title:t,i.styles=e.extend({},c.styles),i.text=""+i.raw,i.contentWidth=2*i.styles.cellPadding+X(i.text,i.styles),i.text=i.text.split(s),c.cells[r]=i,ee.createdHeaderCell(i,{column:o,row:c,settings:ee})})),re.headerRow=c,i.forEach((function(e,t){var a=new r(e),o=0==t%2,i=Y(ie,oe[ee.theme].table,o?oe[ee.theme].alternateRow:{});o=Y(ee.styles,ee.bodyStyles,o?ee.alternateRowStyles:{}),a.styles=Y(i,o),a.index=t,re.columns.forEach((function(t){var r=new n;r.raw=e[t.dataKey],r.styles=Y(a.styles,t.styles),r.text=void 0!==r.raw?""+r.raw:"",a.cells[t.dataKey]=r,ee.createdCell(r,$({column:t,row:a})),r.contentWidth=2*r.styles.cellPadding+X(r.text,r.styles),r.text=r.text.split(s)})),re.rows.push(a)}))}function z(e,t,r,n){for(var a=re.width-t-r,o=0;o<e.length;o++){var i=e[o],s=i.contentWidth/r,c=i.contentWidth+a*s<n;if(0>a&&c){e.splice(o,1),r-=i.contentWidth,i.width=n,z(e,t+=i.width,r,n);break}i.width=i.contentWidth+a*s}}function V(e,t){for(var r=0;r<re.columns.length;r++){var n=re.columns[r],a=e.cells[n.dataKey];a&&(q(a.styles),a.x=n.x,a.y=Q.y,a.height=e.height,a.width=n.width,a.textPos.y="top"===a.styles.valign?Q.y+a.styles.cellPadding:"bottom"===a.styles.valign?Q.y+e.height-a.styles.cellPadding:Q.y+e.height/2,a.textPos.x="right"===a.styles.halign?a.x+a.width-a.styles.cellPadding:"center"===a.styles.halign?a.x+a.width/2:a.x+a.styles.cellPadding,!1!==t(a,n=$({column:n,row:e}))&&(Z.rect(a.x,a.y,a.width,a.height,a.styles.fillStyle),U(a.text,a.textPos.x,a.textPos.y,{halign:a.styles.halign,valign:a.styles.valign})))}Q.y+=e.height}function q(e){[{func:Z.setFillColor,value:e.fillColor},{func:Z.setTextColor,value:e.textColor},{func:Z.setFont,value:e.font,style:e.fontStyle},{func:Z.setDrawColor,value:e.lineColor},{func:Z.setLineWidth,value:e.lineWidth},{func:Z.setFont,value:e.font},{func:Z.setFontSize,value:e.fontSize}].forEach((function(e){void 0!==e.value&&(e.value.constructor===Array?e.func.apply(Z,e.value):void 0!==e.style?e.func(e.value,e.style):e.func(e.value))}))}function $(e){e=e||{};var t,r={pageCount:te,settings:ee,table:re,cursor:Q};for(t in e)e.hasOwnProperty(t)&&(r[t]=e[t]);return r}function G(e,t,r,n){if(n=void 0!==n?n:"...",Array.isArray(e))return e.forEach((function(a,o){e[o]=G(a,t,r,n)})),e;if(t>=X(e,r))return e;for(;t<X(e+n,r)&&!(2>e.length);)e=e.substring(0,e.length-1);return e.trim()+n}function X(e,t){return q(t),Z.getStringUnitWidth(e)*t.fontSize}function Y(e){var t,r={};for(t in e)e.hasOwnProperty(t)&&(r[t]=e[t]);for(var n=1;n<arguments.length;n++){var a=arguments[n];for(t in a)a.hasOwnProperty(t)&&(r[t]=a[t])}return r}var K,J,Z,Q,ee,te,re,ne={csvEnclosure:'"',csvSeparator:",",csvUseBOM:!0,date:{html:"dd/mm/yyyy"},displayTableName:!1,escape:!1,exportHiddenCells:!1,fileName:"tableExport",htmlContent:!1,htmlHyperlink:"content",ignoreColumn:[],ignoreRow:[],jsonScope:"all",jspdf:{orientation:"p",unit:"pt",format:"a4",margins:{left:20,right:10,top:10,bottom:10},onDocCreated:null,autotable:{styles:{cellPadding:2,rowHeight:12,fontSize:8,fillColor:255,textColor:50,fontStyle:"normal",overflow:"ellipsize",halign:"inherit",valign:"middle"},headerStyles:{fillColor:[52,73,94],textColor:255,fontStyle:"bold",halign:"inherit",valign:"middle"},alternateRowStyles:{fillColor:245},tableExport:{doc:null,onAfterAutotable:null,onBeforeAutotable:null,onAutotableText:null,onTable:null,outputImages:!0}}},mso:{fileFormat:"xlshtml",onMsoNumberFormat:null,pageFormat:"a4",pageOrientation:"portrait",rtl:!1,styles:[],worksheetName:"",xlsx:{formatId:{date:14,numbers:2,currency:164},format:{currency:"$#,##0.00;[Red]-$#,##0.00"},onHyperlink:null}},numbers:{html:{decimalMark:".",thousandsSeparator:","},output:{decimalMark:".",thousandsSeparator:","}},onAfterSaveToFile:null,onBeforeSaveToFile:null,onCellData:null,onCellHtmlData:null,onCellHtmlHyperlink:null,onIgnoreRow:null,onTableExportBegin:null,onTableExportEnd:null,outputMode:"file",pdfmake:{enabled:!1,docDefinition:{pageSize:"A4",pageOrientation:"portrait",styles:{header:{background:"#34495E",color:"#FFFFFF",bold:!0,alignment:"center",fillColor:"#34495E"},alternateRow:{fillColor:"#f5f5f5"}},defaultStyle:{color:"#000000",fontSize:8,font:"Roboto"}},fonts:{}},preserve:{leadingWS:!1,trailingWS:!1},preventInjection:!0,sql:{tableEnclosure:"`",columnEnclosure:"`"},tbodySelector:"tr",tfootSelector:"tr",theadSelector:"tr",tableName:"Table",type:"csv"},ae={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]},oe={striped:{table:{fillColor:255,textColor:80,fontStyle:"normal",fillStyle:"F"},header:{textColor:255,fillColor:[41,128,185],rowHeight:23,fontStyle:"bold"},body:{},alternateRow:{fillColor:245}},grid:{table:{fillColor:255,textColor:80,fontStyle:"normal",lineWidth:.1,fillStyle:"DF"},header:{textColor:255,fillColor:[26,188,156],rowHeight:23,fillStyle:"F",fontStyle:"bold"},body:{},alternateRow:{}},plain:{header:{fontStyle:"bold"}}},ie={cellPadding:5,fontSize:10,fontName:"helvetica",lineColor:200,lineWidth:.1,fontStyle:"normal",overflow:"ellipsize",fillColor:255,textColor:20,halign:"left",valign:"top",fillStyle:"F",rowHeight:20,columnWidth:"auto"},se=this,ce=null,le=[],ue=[],fe=0,he="",de=[],pe=[],ge=[],me=!1;if(e.extend(!0,ne,o),"xlsx"===ne.type&&(ne.mso.fileFormat=ne.type,ne.type="excel"),void 0!==ne.excelFileFormat&&void 0===ne.mso.fileFormat&&(ne.mso.fileFormat=ne.excelFileFormat),void 0!==ne.excelPageFormat&&void 0===ne.mso.pageFormat&&(ne.mso.pageFormat=ne.excelPageFormat),void 0!==ne.excelPageOrientation&&void 0===ne.mso.pageOrientation&&(ne.mso.pageOrientation=ne.excelPageOrientation),void 0!==ne.excelRTL&&void 0===ne.mso.rtl&&(ne.mso.rtl=ne.excelRTL),void 0!==ne.excelstyles&&void 0===ne.mso.styles&&(ne.mso.styles=ne.excelstyles),void 0!==ne.onMsoNumberFormat&&void 0===ne.mso.onMsoNumberFormat&&(ne.mso.onMsoNumberFormat=ne.onMsoNumberFormat),void 0!==ne.worksheetName&&void 0===ne.mso.worksheetName&&(ne.mso.worksheetName=ne.worksheetName),void 0!==ne.mso.xslx&&void 0===ne.mso.xlsx&&(ne.mso.xlsx=ne.mso.xslx),ne.mso.pageOrientation="l"===ne.mso.pageOrientation.substr(0,1)?"landscape":"portrait",ne.date.html=ne.date.html||"",ne.date.html.length){var ve=[];ve.dd="(3[01]|[12][0-9]|0?[1-9])",ve.mm="(1[012]|0?[1-9])",ve.yyyy="((?:1[6-9]|2[0-2])\\d{2})",ve.yy="(\\d{2})";var be=ne.date.html.match(/[^a-zA-Z0-9]/)[0],ye=ne.date.html.toLowerCase().split(be);ne.date.regex="^\\s*",ne.date.regex+=ve[ye[0]],ne.date.regex+="(.)",ne.date.regex+=ve[ye[1]],ne.date.regex+="\\2",ne.date.regex+=ve[ye[2]],ne.date.regex+="\\s*$",ne.date.pattern=new RegExp(ne.date.regex,"g");var we=ye.indexOf("dd")+1;ne.date.match_d=we+(1<we?1:0),we=ye.indexOf("mm")+1,ne.date.match_m=we+(1<we?1:0),we=(0<=ye.indexOf("yyyy")?ye.indexOf("yyyy"):ye.indexOf("yy"))+1,ne.date.match_y=we+(1<we?1:0)}if(de=l(se),"function"==typeof ne.onTableExportBegin&&ne.onTableExportBegin(),"csv"===ne.type||"tsv"===ne.type||"txt"===ne.type){var Se="",xe=0;pe=[],fe=0;var Ae=function(t,r,n){return t.each((function(){he="",h(this,r,fe,n+t.length,(function(e,t,r){var n=he,a="";null!==e&&(t=null===(e=k(e,t,r))||""===e?"":e.toString(),"tsv"===ne.type?(e instanceof Date&&e.toLocaleString(),a=y(t,"\t"," ")):e instanceof Date?a=ne.csvEnclosure+e.toLocaleString()+ne.csvEnclosure:(0<=(a=y(a=T(t),ne.csvEnclosure,ne.csvEnclosure+ne.csvEnclosure)).indexOf(ne.csvSeparator)||/[\r\n ]/g.test(a))&&(a=ne.csvEnclosure+a+ne.csvEnclosure)),he=n+(a+("tsv"===ne.type?"\t":ne.csvSeparator))})),0<(he=e.trim(he).substring(0,he.length-1)).length&&(0<Se.length&&(Se+="\n"),Se+=he),fe++})),t.length};if(xe+=Ae(e(se).find("thead").first().find(ne.theadSelector),"th,td",xe),c(e(se),"tbody").each((function(){xe+=Ae(c(e(this),ne.tbodySelector),"td,th",xe)})),ne.tfootSelector.length&&Ae(e(se).find("tfoot").first().find(ne.tfootSelector),"td,th",xe),Se+="\n","string"===ne.outputMode)return Se;if("base64"===ne.outputMode)return B(Se);if("window"===ne.outputMode)return void j(!1,"data:text/"+("csv"===ne.type?"csv":"plain")+";charset=utf-8,",Se);M(Se,ne.fileName+"."+ne.type,"text/"+("csv"===ne.type?"csv":"plain"),"utf-8","","csv"===ne.type&&ne.csvUseBOM)}else if("sql"===ne.type){fe=0,pe=[];var ke="INSERT INTO "+ne.sql.tableEnclosure+ne.tableName+ne.sql.tableEnclosure+" (";if(le=i(e(se)),e(le).each((function(){h(this,"th,td",fe,le.length,(function(e,t,r){-1<(e=k(e,t,r)||"").indexOf(ne.sql.columnEnclosure)&&(e=y(e.toString(),ne.sql.columnEnclosure,ne.sql.columnEnclosure+ne.sql.columnEnclosure)),ke+=ne.sql.columnEnclosure+e+ne.sql.columnEnclosure+","})),fe++,ke=e.trim(ke).substring(0,ke.length-1)})),ke+=") VALUES ",ue=s(e(se)),e(ue).each((function(){he="",h(this,"td,th",fe,le.length+ue.length,(function(e,t,r){-1<(e=k(e,t,r)||"").indexOf("'")&&(e=y(e.toString(),"'","''")),he+="'"+e+"',"})),3<he.length&&(ke+="("+he,ke=e.trim(ke).substring(0,ke.length-1),ke+="),"),fe++})),ke=e.trim(ke).substring(0,ke.length-1),ke+=";","string"===ne.outputMode)return ke;if("base64"===ne.outputMode)return B(ke);M(ke,ne.fileName+".sql","application/sql","utf-8","",!1)}else if("json"===ne.type){var Te=[];pe=[],le=i(e(se)),e(le).each((function(){var e=[];h(this,"th,td",fe,le.length,(function(t,r,n){e.push(k(t,r,n))})),Te.push(e)}));var Ee=[];ue=s(e(se)),e(ue).each((function(){var t={},r=0;h(this,"td,th",fe,le.length+ue.length,(function(e,n,a){Te.length?t[Te[Te.length-1][r]]=k(e,n,a):t[r]=k(e,n,a),r++})),!1===e.isEmptyObject(t)&&Ee.push(t),fe++}));var _e="head"===ne.jsonScope?JSON.stringify(Te):"data"===ne.jsonScope?JSON.stringify(Ee):JSON.stringify({header:Te,data:Ee});if("string"===ne.outputMode)return _e;if("base64"===ne.outputMode)return B(_e);M(_e,ne.fileName+".json","application/json","utf-8","base64",!1)}else if("xml"===ne.type){fe=0,pe=[];var Ne='<?xml version="1.0" encoding="utf-8"?>';Ne+="<tabledata><fields>",le=i(e(se)),e(le).each((function(){h(this,"th,td",fe,le.length,(function(e,t,r){Ne+="<field>"+k(e,t,r)+"</field>"})),fe++})),Ne+="</fields><data>";var Ce=1;if(ue=s(e(se)),e(ue).each((function(){var e=1;he="",h(this,"td,th",fe,le.length+ue.length,(function(t,r,n){he+="<column-"+e+">"+k(t,r,n)+"</column-"+e+">",e++})),0<he.length&&"<column-1></column-1>"!==he&&(Ne+='<row id="'+Ce+'">'+he+"</row>",Ce++),fe++})),Ne+="</data></tabledata>","string"===ne.outputMode)return Ne;if("base64"===ne.outputMode)return B(Ne);M(Ne,ne.fileName+".xml","application/xml","utf-8","base64",!1)}else if("excel"===ne.type&&"xmlss"===ne.mso.fileFormat){var Oe=[],Re=[];e(se).filter((function(){return u(e(this))})).each((function(){function t(t,r,n){var a=[];return e(t).each((function(){var r=0,o=0;he="",h(this,"td,th",fe,n+t.length,(function(t,n,i){if(null!==t){var s="";if(n=k(t,n,i),i="String",!1!==jQuery.isNumeric(n))i="Number";else{var c=function(e){return-1<e.indexOf("%")?!1!==(e=A(e.replace(/%/g,"")))&&(e/=100):e=!1,e}(n);!1!==c&&(n=c,i="Number",s+=' ss:StyleID="pct1"')}"Number"!==i&&(n=n.replace(/\n/g,"<br>")),c=C(t),t=O(t),e.each(a,(function(){if(fe>=this.s.r&&fe<=this.e.r&&o>=this.s.c&&o<=this.e.c)for(var e=0;e<=this.e.c-this.s.c;++e)o++,r++})),(t||c)&&(t=t||1,c=c||1,a.push({s:{r:fe,c:o},e:{r:fe+t-1,c:o+c-1}})),1<c&&(s+=' ss:MergeAcross="'+(c-1)+'"',o+=c-1),1<t&&(s+=' ss:MergeDown="'+(t-1)+'" ss:StyleID="rsp1"'),0<r&&(s+=' ss:Index="'+(o+1)+'"',r=0),he+="<Cell"+s+'><Data ss:Type="'+i+'">'+e("<div />").text(n).html()+"</Data></Cell>\r",o++}})),0<he.length&&(K+='<Row ss:AutoFitHeight="0">\r'+he+"</Row>\r"),fe++})),t.length}var r=e(this),n="";"string"==typeof ne.mso.worksheetName&&ne.mso.worksheetName.length?n=ne.mso.worksheetName+" "+(Re.length+1):void 0!==ne.mso.worksheetName[Re.length]&&(n=ne.mso.worksheetName[Re.length]),n.length||(n=r.find("caption").text()||""),n.length||(n="Table "+(Re.length+1)),n=e.trim(n.replace(/[\\\/[\]*:?'"]/g,"").substring(0,31)),Re.push(e("<div />").text(n).html()),!1===ne.exportHiddenCells&&(ge=r.find("tr, th, td").filter(":hidden"),me=0<ge.length),fe=0,de=l(this),K="<Table>\r",n=t(i(r),0,0),t(s(r),0,n),K+="</Table>\r",Oe.push(K)}));for(var Pe,Le,Ie={},Fe={},De=0,Me=Re.length;De<Me;De++)Le=Ie[Pe=Re[De]],2===(Le=Ie[Pe]=null==Le?1:Le+1)&&(Re[Fe[Pe]]=Re[Fe[Pe]].substring(0,29)+"-1"),1<Ie[Pe]?Re[De]=Re[De].substring(0,29)+"-"+Ie[Pe]:Fe[Pe]=De;for(var je='<?xml version="1.0" encoding="UTF-8"?>\r<?mso-application progid="Excel.Sheet"?>\r<Workbook xmlns="urn:schemas-microsoft-com:office:spreadsheet"\r xmlns:o="urn:schemas-microsoft-com:office:office"\r xmlns:x="urn:schemas-microsoft-com:office:excel"\r xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet"\r xmlns:html="http://www.w3.org/TR/REC-html40">\r<DocumentProperties xmlns="urn:schemas-microsoft-com:office:office">\r <Created>'+(new Date).toISOString()+'</Created>\r</DocumentProperties>\r<OfficeDocumentSettings xmlns="urn:schemas-microsoft-com:office:office">\r <AllowPNG/>\r</OfficeDocumentSettings>\r<ExcelWorkbook xmlns="urn:schemas-microsoft-com:office:excel">\r <WindowHeight>9000</WindowHeight>\r <WindowWidth>13860</WindowWidth>\r <WindowTopX>0</WindowTopX>\r <WindowTopY>0</WindowTopY>\r <ProtectStructure>False</ProtectStructure>\r <ProtectWindows>False</ProtectWindows>\r</ExcelWorkbook>\r<Styles>\r <Style ss:ID="Default" ss:Name="Normal">\r <Alignment ss:Vertical="Bottom"/>\r <Borders/>\r <Font/>\r <Interior/>\r <NumberFormat/>\r <Protection/>\r </Style>\r <Style ss:ID="rsp1">\r <Alignment ss:Vertical="Center"/>\r </Style>\r <Style ss:ID="pct1">\r <NumberFormat ss:Format="Percent"/>\r </Style>\r</Styles>\r',Be=0;Be<Oe.length;Be++)je+='<Worksheet ss:Name="'+Re[Be]+'" ss:RightToLeft="'+(ne.mso.rtl?"1":"0")+'">\r'+Oe[Be],je=ne.mso.rtl?je+'<WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel">\r<DisplayRightToLeft/>\r</WorksheetOptions>\r':je+'<WorksheetOptions xmlns="urn:schemas-microsoft-com:office:excel"/>\r',je+="</Worksheet>\r";if(je+="</Workbook>\r","string"===ne.outputMode)return je;if("base64"===ne.outputMode)return B(je);M(je,ne.fileName+".xml","application/xml","utf-8","base64",!1)}else if("excel"===ne.type&&"xlsx"===ne.mso.fileFormat){var We=[],Ue=XLSX.utils.book_new();e(se).filter((function(){return u(e(this))})).each((function(){for(var t,r,n,a,o,i,s,c=e(this),l={},h=this.getElementsByTagName("tr"),d=Math.min(1e7,h.length),p={s:{r:0,c:0},e:{r:0,c:0}},g=[],m=0,v=0,b=XLSX.SSF.get_table();m<h.length&&v<d;++m)if(n=h[m],a=!1,"function"==typeof ne.onIgnoreRow&&(a=ne.onIgnoreRow(e(n),m)),!0!==a&&(0===ne.ignoreRow.length||-1===e.inArray(m,ne.ignoreRow)&&-1===e.inArray(m-h.length,ne.ignoreRow))&&!1!==u(e(n))){var y=n.children,w=0;for(n=0;n<y.length;++n)w+=i=+C(s=y[n])||1;var S=0;for(n=a=0;n<y.length;++n)if(i=+C(s=y[n])||1,r=n+S,!f(e(s),w,r+(r<a?a-r:0))){for(S+=i-1,r=0;r<g.length;++r){var A=g[r];A.s.c==a&&A.s.r<=v&&v<=A.e.r&&(a=A.e.c+1,r=-1)}(0<(o=+O(s))||1<i)&&g.push({s:{r:v,c:a},e:{r:v+(o||1)-1,c:a+i-1}});var T={type:""};r={t:"s",v:A=k(s,m,n+S,T)};var E="";""!==(e(s).attr("data-tableexport-cellformat")||void 0)?(0===(t=parseInt(e(s).attr("data-tableexport-xlsxformatid")||0))&&"function"==typeof ne.mso.xlsx.formatId.numbers&&(t=ne.mso.xlsx.formatId.numbers(e(s),m,n+S)),0===t&&"function"==typeof ne.mso.xlsx.formatId.date&&(t=ne.mso.xlsx.formatId.date(e(s),m,n+S)),49===t||"@"===t?E="s":"number"===T.type||0<t&&14>t||36<t&&41>t||48===t?E="n":("date"===T.type||13<t&&37>t||44<t&&48>t||56===t)&&(E="d")):E="s",null!=A&&(0===A.length?r.t="z":0!==A.trim().length&&"s"!==E&&("function"===T.type?r={f:A}:"TRUE"===A?r={t:"b",v:!0}:"FALSE"===A?r={t:"b",v:!1}:"n"===E||isFinite(F(A,ne.numbers.output))?(E=F(A,ne.numbers.output),0===t&&"function"!=typeof ne.mso.xlsx.formatId.numbers&&(t=ne.mso.xlsx.formatId.numbers),(isFinite(E)||isFinite(A))&&(r={t:"n",v:isFinite(E)?E:A,z:"string"==typeof t?t:t in b?b[t]:t===ne.mso.xlsx.formatId.currency?ne.mso.xlsx.format.currency:"0.00"})):!1===(T=x(A))&&"d"!==E||(0===t&&"function"!=typeof ne.mso.xlsx.formatId.date&&(t=ne.mso.xlsx.formatId.date),r={t:"d",v:!1!==T?T:A,z:"string"==typeof t?t:t in b?b[t]:"m/d/yy"})),(E=e(s).find("a"))&&E.length&&(E=E[0].hasAttribute("href")?E.attr("href"):"",A="href"!==ne.htmlHyperlink||""===E?A:"",""!==(T=""!==E?'=HYPERLINK("'+E+(A.length?'","'+A:"")+'")':"")&&("function"==typeof ne.mso.xlsx.onHyperlink?r=0!==(A=ne.mso.xlsx.onHyperlink(e(s),m,n,E,A,T)).indexOf("=HYPERLINK")?{t:"s",v:A}:{f:A}:r={f:T}))),l[L({c:a,r:v})]=r,p.e.c<a&&(p.e.c=a),a+=i}++v}g.length&&(l["!merges"]=(l["!merges"]||[]).concat(g)),p.e.r=Math.max(p.e.r,v-1),l["!ref"]=I(p),v>=d&&(l["!fullref"]=I((p.e.r=h.length-m+v-1,p))),t="","string"==typeof ne.mso.worksheetName&&ne.mso.worksheetName.length?t=ne.mso.worksheetName+" "+(We.length+1):void 0!==ne.mso.worksheetName[We.length]&&(t=ne.mso.worksheetName[We.length]),t.length||(t=c.find("caption").text()||""),t.length||(t="Table "+(We.length+1)),t=e.trim(t.replace(/[\\\/[\]*:?'"]/g,"").substring(0,31)),We.push(t),XLSX.utils.book_append_sheet(Ue,l,t)})),M(function(e){for(var t=new ArrayBuffer(e.length),r=new Uint8Array(t),n=0;n!==e.length;++n)r[n]=255&e.charCodeAt(n);return t}(XLSX.write(Ue,{type:"binary",bookType:ne.mso.fileFormat,bookSST:!1})),ne.fileName+"."+ne.mso.fileFormat,"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","UTF-8","",!1)}else if("excel"===ne.type||"xls"===ne.type||"word"===ne.type||"doc"===ne.type){var He="excel"===ne.type||"xls"===ne.type?"excel":"word",ze="excel"===He?"xls":"doc",Ve='xmlns:x="urn:schemas-microsoft-com:office:'+He+'"',qe=K="";e(se).filter((function(){return u(e(this))})).each((function(){var t=e(this);""===qe&&(qe=ne.mso.worksheetName||t.find("caption").text()||"Table",qe=e.trim(qe.replace(/[\\\/[\]*:?'"]/g,"").substring(0,31))),!1===ne.exportHiddenCells&&(ge=t.find("tr, th, td").filter(":hidden"),me=0<ge.length),fe=0,pe=[],de=l(this),K+="<table><thead>",le=i(t),e(le).each((function(){var t=e(this),r=document.defaultView.getComputedStyle(t[0],null);he="",h(this,"th,td",fe,le.length,(function(e,t,n){if(null!==e){var a="";if(he+="<th",ne.mso.styles.length){var o,i=document.defaultView.getComputedStyle(e,null);for(o in ne.mso.styles){var s=ne.mso.styles[o],c=R(i,s);""===c&&(c=R(r,s)),""!==c&&"0px none rgb(0, 0, 0)"!==c&&"rgba(0, 0, 0, 0)"!==c&&(a+=""===a?'style="':";",a+=s+":"+c)}}""!==a&&(he+=" "+a+'"'),0<(a=C(e))&&(he+=' colspan="'+a+'"'),0<(a=O(e))&&(he+=' rowspan="'+a+'"'),he+=">"+k(e,t,n)+"</th>"}})),0<he.length&&(K+="<tr>"+he+"</tr>"),fe++})),K+="</thead><tbody>",ue=s(t),e(ue).each((function(){var t=e(this),r=null,n=null;he="",h(this,"td,th",fe,le.length+ue.length,(function(a,o,i){if(null!==a){var s=k(a,o,i),c="",l=e(a).attr("data-tableexport-msonumberformat");if(void 0===l&&"function"==typeof ne.mso.onMsoNumberFormat&&(l=ne.mso.onMsoNumberFormat(a,o,i)),void 0!==l&&""!==l&&(c="style=\"mso-number-format:'"+l+"'"),ne.mso.styles.length)for(var u in r=document.defaultView.getComputedStyle(a,null),n=null,ne.mso.styles)o=ne.mso.styles[u],""===(l=R(r,o))&&(null===n&&(n=document.defaultView.getComputedStyle(t[0],null)),l=R(n,o)),""!==l&&"0px none rgb(0, 0, 0)"!==l&&"rgba(0, 0, 0, 0)"!==l&&(c+=""===c?'style="':";",c+=o+":"+l);he+="<td",""!==c&&(he+=" "+c+'"'),0<(c=C(a))&&(he+=' colspan="'+c+'"'),0<(a=O(a))&&(he+=' rowspan="'+a+'"'),"string"==typeof s&&""!==s&&(s=(s=T(s)).replace(/\n/g,"<br>")),he+=">"+s+"</td>"}})),0<he.length&&(K+="<tr>"+he+"</tr>"),fe++})),ne.displayTableName&&(K+="<tr><td></td></tr><tr><td></td></tr><tr><td>"+k(e("<p>"+ne.tableName+"</p>"))+"</td></tr>"),K+="</tbody></table>"}));var $e='<html xmlns:o="urn:schemas-microsoft-com:office:office" '+Ve+' xmlns="http://www.w3.org/TR/REC-html40">';if($e+="<head>",$e+='<meta http-equiv="content-type" content="application/vnd.ms-'+He+'; charset=UTF-8">',"excel"===He&&($e+="\x3c!--[if gte mso 9]>",$e+="<xml>",$e+="<x:ExcelWorkbook>",$e+="<x:ExcelWorksheets>",$e+="<x:ExcelWorksheet>",$e+="<x:Name>",$e+=qe,$e+="</x:Name>",$e+="<x:WorksheetOptions>",$e+="<x:DisplayGridlines/>",ne.mso.rtl&&($e+="<x:DisplayRightToLeft/>"),$e+="</x:WorksheetOptions>",$e+="</x:ExcelWorksheet>",$e+="</x:ExcelWorksheets>",$e+="</x:ExcelWorkbook>",$e+="</xml>",$e+="<![endif]--\x3e"),$e+="<style>",$e+="@page { size:"+ne.mso.pageOrientation+"; mso-page-orientation:"+ne.mso.pageOrientation+"; }",$e+="@page Section1 {size:"+ae[ne.mso.pageFormat][0]+"pt "+ae[ne.mso.pageFormat][1]+"pt",$e+="; margin:1.0in 1.25in 1.0in 1.25in;mso-header-margin:.5in;mso-footer-margin:.5in;mso-paper-source:0;}",$e+="div.Section1 {page:Section1;}",$e+="@page Section2 {size:"+ae[ne.mso.pageFormat][1]+"pt "+ae[ne.mso.pageFormat][0]+"pt",$e+=";mso-page-orientation:"+ne.mso.pageOrientation+";margin:1.25in 1.0in 1.25in 1.0in;mso-header-margin:.5in;mso-footer-margin:.5in;mso-paper-source:0;}",$e+="div.Section2 {page:Section2;}",$e+="br {mso-data-placement:same-cell;}",$e+="</style>",$e+="</head>",$e+="<body>",$e+='<div class="Section'+("landscape"===ne.mso.pageOrientation?"2":"1")+'">',$e+=K,$e+="</div>",$e+="</body>",$e+="</html>","string"===ne.outputMode)return $e;if("base64"===ne.outputMode)return B($e);M($e,ne.fileName+"."+ze,"application/vnd.ms-"+He,"","base64",!1)}else if("png"===ne.type)html2canvas(e(se)[0]).then((function(e){e=e.toDataURL();for(var t=atob(e.substring(22)),r=new ArrayBuffer(t.length),n=new Uint8Array(r),a=0;a<t.length;a++)n[a]=t.charCodeAt(a);return"string"===ne.outputMode?t:"base64"===ne.outputMode?B(e):void("window"===ne.outputMode?window.open(e):M(r,ne.fileName+".png","image/png","","",!1))}));else if("pdf"===ne.type)if(!0===ne.pdfmake.enabled){var Ge={content:[]};e.extend(!0,Ge,ne.pdfmake.docDefinition),pe=[],e(se).filter((function(){return u(e(this))})).each((function(){var t=e(this),r=[],n=[];fe=0;for(var a=function(t,r,a){var o=0;return e(t).each((function(){var e=[];h(this,r,fe,a,(function(t,n,a){if(null!=t){var o=C(t),i=O(t);t={text:k(t,n,a)||" "},(1<o||1<i)&&(t.colSpan=o||1,t.rowSpan=i||1)}else t={text:" "};0<=r.indexOf("th")&&(t.style="header"),e.push(t)})),e.length&&n.push(e),o<e.length&&(o=e.length),fe++})),o},o=a(le=i(t),"th,td",le.length),c=r.length;c<o;c++)r.push("*");for(o=a(ue=s(t),"td",le.length+ue.length),t=r.length;t<o;t++)r.push("*");Ge.content.push({table:{headerRows:le.length?le.length:null,widths:r,body:n},layout:{layout:"noBorders",hLineStyle:function(e,t){return 0},vLineWidth:function(e,t){return 0},hLineColor:function(e,t){return e<t.table.headerRows?ne.pdfmake.docDefinition.styles.header.background:ne.pdfmake.docDefinition.styles.alternateRow.fillColor},vLineColor:function(e,t){return e<t.table.headerRows?ne.pdfmake.docDefinition.styles.header.background:ne.pdfmake.docDefinition.styles.alternateRow.fillColor},fillColor:function(e,t,r){return 0==e%2?ne.pdfmake.docDefinition.styles.alternateRow.fillColor:null}},pageBreak:Ge.content.length?"before":void 0})})),"undefined"!=typeof pdfMake&&void 0!==pdfMake.createPdf&&(pdfMake.fonts={Roboto:{normal:"Roboto-Regular.ttf",bold:"Roboto-Medium.ttf",italics:"Roboto-Italic.ttf",bolditalics:"Roboto-MediumItalic.ttf"}},pdfMake.vfs.hasOwnProperty("Mirza-Regular.ttf")?(Ge.defaultStyle.font="Mirza",e.extend(!0,pdfMake.fonts,{Mirza:{normal:"Mirza-Regular.ttf",bold:"Mirza-Bold.ttf",italics:"Mirza-Medium.ttf",bolditalics:"Mirza-SemiBold.ttf"}})):pdfMake.vfs.hasOwnProperty("gbsn00lp.ttf")?(Ge.defaultStyle.font="gbsn00lp",e.extend(!0,pdfMake.fonts,{gbsn00lp:{normal:"gbsn00lp.ttf",bold:"gbsn00lp.ttf",italics:"gbsn00lp.ttf",bolditalics:"gbsn00lp.ttf"}})):pdfMake.vfs.hasOwnProperty("ZCOOLXiaoWei-Regular.ttf")&&(Ge.defaultStyle.font="ZCOOLXiaoWei",e.extend(!0,pdfMake.fonts,{ZCOOLXiaoWei:{normal:"ZCOOLXiaoWei-Regular.ttf",bold:"ZCOOLXiaoWei-Regular.ttf",italics:"ZCOOLXiaoWei-Regular.ttf",bolditalics:"ZCOOLXiaoWei-Regular.ttf"}})),e.extend(!0,pdfMake.fonts,ne.pdfmake.fonts),pdfMake.createPdf(Ge).getBuffer((function(e){M(e,ne.fileName+".pdf","application/pdf","","",!1)})))}else if(!1===ne.jspdf.autotable){var Xe=new jspdf.jsPDF({orientation:ne.jspdf.orientation,unit:ne.jspdf.unit,format:ne.jspdf.format});Xe.html(se[0],{callback:function(){p(Xe,!1)},html2canvas:{scale:(Xe.internal.pageSize.width-2*ne.jspdf.margins.left)/se[0].scrollWidth},x:ne.jspdf.margins.left,y:ne.jspdf.margins.top})}else{var Ye=ne.jspdf.autotable.tableExport;if("string"==typeof ne.jspdf.format&&"bestfit"===ne.jspdf.format.toLowerCase()){var Ke="",Je="",Ze=0;e(se).each((function(){if(u(e(this))){var t=P(e(this).get(0),"width","pt");if(t>Ze){for(var r in t>ae.a0[0]&&(Ke="a0",Je="l"),ae)ae.hasOwnProperty(r)&&ae[r][1]>t&&(Ke=r,Je="l",ae[r][0]>t&&(Je="p"));Ze=t}}})),ne.jspdf.format=""===Ke?"a4":Ke,ne.jspdf.orientation=""===Je?"w":Je}null==Ye.doc&&(Ye.doc=new jspdf.jsPDF(ne.jspdf.orientation,ne.jspdf.unit,ne.jspdf.format),Ye.wScaleFactor=1,Ye.hScaleFactor=1,"function"==typeof ne.jspdf.onDocCreated)&&ne.jspdf.onDocCreated(Ye.doc),ie.fontName=Ye.doc.getFont().fontName,!0===Ye.outputImages&&(Ye.images={}),void 0!==Ye.images&&(e(se).filter((function(){return u(e(this))})).each((function(){var t=0;pe=[],!1===ne.exportHiddenCells&&(ge=e(this).find("tr, th, td").filter(":hidden"),me=0<ge.length),le=i(e(this)),ue=s(e(this)),e(ue).each((function(){h(this,"td,th",le.length+t,le.length+ue.length,(function(t){m(t,e(t).children(),Ye)})),t++}))})),le=[],ue=[]),function(t,r){function n(t){if(t.url)if(t.src){var n=new Image;a=++o,n.crossOrigin="Anonymous",n.onerror=n.onload=function(){if(n.complete&&(0===n.src.indexOf("data:image/")&&(n.width=t.width||n.width||0,n.height=t.height||n.height||0),n.width+n.height)){var e=document.createElement("canvas"),i=e.getContext("2d");e.width=n.width,e.height=n.height,i.drawImage(n,0,0),t.src=e.toDataURL("image/png")}--o||r(a)},n.src=t.url}else{var i=e(t.url);i.length&&(a=++o,html2canvas(i[0]).then((function(e){t.src=e.toDataURL("image/png"),--o||r(a)})))}}var a=0,o=0;if(void 0!==t.images)for(var i in t.images)t.images.hasOwnProperty(i)&&n(t.images[i]);(t=o)||(r(a),t=void 0)}(Ye,(function(){e(se).filter((function(){return u(e(this))})).each((function(){var t;if(fe=0,pe=[],!1===ne.exportHiddenCells&&(ge=e(this).find("tr, th, td").filter(":hidden"),me=0<ge.length),de=l(this),Ye.columns=[],Ye.rows=[],Ye.teCells={},"function"==typeof Ye.onTable&&!1===Ye.onTable(e(this),ne))return!0;ne.jspdf.autotable.tableExport=null;var r=e.extend(!0,{},ne.jspdf.autotable);if(ne.jspdf.autotable.tableExport=Ye,r.margin={},e.extend(!0,r.margin,ne.jspdf.margins),r.tableExport=Ye,"function"!=typeof r.createdHeaderCell&&(r.createdHeaderCell=function(e,t){if(void 0!==Ye.columns[t.column.dataKey]){var n=Ye.columns[t.column.dataKey];if(void 0!==n.rect){if(e.contentWidth=n.rect.width,void 0===Ye.heightRatio||0===Ye.heightRatio){var a=t.row.raw[t.column.dataKey].rowspan?t.row.raw[t.column.dataKey].rect.height/t.row.raw[t.column.dataKey].rowspan:t.row.raw[t.column.dataKey].rect.height;Ye.heightRatio=e.styles.rowHeight/a}(a=t.row.raw[t.column.dataKey].rect.height*Ye.heightRatio)>e.styles.rowHeight&&(e.styles.rowHeight=a)}e.styles.halign="inherit"===r.headerStyles.halign?"center":r.headerStyles.halign,e.styles.valign=r.headerStyles.valign,void 0!==n.style&&!0!==n.style.hidden&&("inherit"===r.headerStyles.halign&&(e.styles.halign=n.style.align),"inherit"===r.styles.fillColor&&(e.styles.fillColor=n.style.bcolor),"inherit"===r.styles.textColor&&(e.styles.textColor=n.style.color),"inherit"===r.styles.fontStyle&&(e.styles.fontStyle=n.style.fstyle))}}),"function"!=typeof r.createdCell&&(r.createdCell=function(e,t){t=Ye.teCells[t.row.index+":"+t.column.dataKey],e.styles.halign="inherit"===r.styles.halign?"center":r.styles.halign,e.styles.valign=r.styles.valign,void 0!==t&&void 0!==t.style&&!0!==t.style.hidden&&("inherit"===r.styles.halign&&(e.styles.halign=t.style.align),"inherit"===r.styles.fillColor&&(e.styles.fillColor=t.style.bcolor),"inherit"===r.styles.textColor&&(e.styles.textColor=t.style.color),"inherit"===r.styles.fontStyle&&(e.styles.fontStyle=t.style.fstyle))}),"function"!=typeof r.drawHeaderCell&&(r.drawHeaderCell=function(e,t){var r=Ye.columns[t.column.dataKey];return(!0!==r.style.hasOwnProperty("hidden")||!0!==r.style.hidden)&&0<=r.rowIndex&&g(e,t,r)}),"function"!=typeof r.drawCell&&(r.drawCell=function(t,r){var n=Ye.teCells[r.row.index+":"+r.column.dataKey];if(!0!==(void 0!==n&&n.isCanvas))g(t,r,n)&&(Ye.doc.rect(t.x,t.y,t.width,t.height,t.styles.fillStyle),void 0===n||void 0!==n.hasUserDefText&&!0===n.hasUserDefText||void 0===n.elements||!n.elements.length?b(t,{},Ye):((r=t.height/n.rect.height)>Ye.hScaleFactor&&(Ye.hScaleFactor=r),Ye.wScaleFactor=t.width/n.rect.width,r=t.textPos.y,v(t,n.elements,Ye),t.textPos.y=r,b(t,n.elements,Ye)));else{n=n.elements[0];var a=e(n).attr("data-tableexport-canvas"),o=n.getBoundingClientRect();t.width=o.width*Ye.wScaleFactor,t.height=o.height*Ye.hScaleFactor,r.row.height=t.height,d(t,n,a,Ye)}return!1}),Ye.headerrows=[],le=i(e(this)),e(le).each((function(){t=0,Ye.headerrows[fe]=[],h(this,"th,td",fe,le.length,(function(e,r,n){var a=N(e);a.title=k(e,r,n),a.key=t++,a.rowIndex=fe,Ye.headerrows[fe].push(a)})),fe++})),0<fe)for(var n=fe-1;0<=n;)e.each(Ye.headerrows[n],(function(){var e=this;0<n&&null===this.rect&&(e=Ye.headerrows[n-1][this.key]),null!==e&&0<=e.rowIndex&&(!0!==e.style.hasOwnProperty("hidden")||!0!==e.style.hidden)&&Ye.columns.push(e)})),n=0<Ye.columns.length?-1:n-1;var a=0;ue=[],ue=s(e(this)),e(ue).each((function(){var r=[];t=0,h(this,"td,th",fe,le.length+ue.length,(function(n,o,i){if(void 0===Ye.columns[t]){var s={title:"",key:t,style:{hidden:!0}};Ye.columns.push(s)}r.push(k(n,o,i)),null!=n?((s=N(n)).isCanvas=n.hasAttribute("data-tableexport-canvas"),s.elements=s.isCanvas?e(n):e(n).children(),void 0!==e(n).data("teUserDefText")&&(s.hasUserDefText=!0)):(s=e.extend(!0,{},Ye.teCells[a+":"+(t-1)])).colspan=-1,Ye.teCells[a+":"+t++]=s})),r.length&&(Ye.rows.push(r),a++),fe++})),"function"==typeof Ye.onBeforeAutotable&&Ye.onBeforeAutotable(e(this),Ye.columns,Ye.rows,r),W(r.tableExport.doc,Ye.columns,Ye.rows,r),"function"==typeof Ye.onAfterAutotable&&Ye.onAfterAutotable(e(this),r);var o=ne.jspdf.autotable,c=void 0===Q||void 0===Q.y?0:Q.y;o.startY=c+r.margin.top})),p(Ye.doc,void 0!==Ye.images&&!1===jQuery.isEmptyObject(Ye.images)),void 0!==Ye.headerrows&&(Ye.headerrows.length=0),void 0!==Ye.columns&&(Ye.columns.length=0),void 0!==Ye.rows&&(Ye.rows.length=0),delete Ye.doc,Ye.doc=null}))}return"function"==typeof ne.onTableExportEnd&&ne.onTableExportEnd(),this};var t=function(){this.contentWidth=this.y=this.x=this.width=this.height=0,this.rows=[],this.columns=[],this.headerRow=null,this.settings={}},r=function(e){this.raw=e||{},this.index=0,this.styles={},this.cells={},this.y=this.height=0},n=function(e){this.raw=e,this.styles={},this.text="",this.contentWidth=0,this.textPos={},this.y=this.x=this.width=this.height=0},a=function(e){this.dataKey=e,this.options={},this.styles={},this.x=this.width=this.contentWidth=0}}(jQuery),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e=e||self).jspdf={})}(this,(function(e){"use strict";var t=function(){return"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this}();function r(){t.console&&"function"==typeof t.console.log&&t.console.log.apply(t.console,arguments)}var n={log:r,warn:function(e){t.console&&("function"==typeof t.console.warn?t.console.warn.apply(t.console,arguments):r.call(null,arguments))},error:function(e){t.console&&("function"==typeof t.console.error?t.console.error.apply(t.console,arguments):r(e))}};function a(e,t,r){var a=new XMLHttpRequest;a.open("GET",e),a.responseType="blob",a.onload=function(){l(a.response,t,r)},a.onerror=function(){n.error("could not download file")},a.send()}function o(e){var t=new XMLHttpRequest;t.open("HEAD",e,!1);try{t.send()}catch(e){}return t.status>=200&&t.status<=299}function i(e){try{e.dispatchEvent(new MouseEvent("click"))}catch(r){var t=document.createEvent("MouseEvents");t.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),e.dispatchEvent(t)}}var s,c,l=t.saveAs||("object"!=typeof window||window!==t?function(){}:"undefined"!=typeof HTMLAnchorElement&&"download"in HTMLAnchorElement.prototype?function(e,r,n){var s=t.URL||t.webkitURL,c=document.createElement("a");r=r||e.name||"download",c.download=r,c.rel="noopener","string"==typeof e?(c.href=e,c.origin!==location.origin?o(c.href)?a(e,r,n):i(c,c.target="_blank"):i(c)):(c.href=s.createObjectURL(e),setTimeout((function(){s.revokeObjectURL(c.href)}),4e4),setTimeout((function(){i(c)}),0))}:"msSaveOrOpenBlob"in navigator?function(e,t,r){if(t=t||e.name||"download","string"==typeof e)if(o(e))a(e,t,r);else{var s=document.createElement("a");s.href=e,s.target="_blank",setTimeout((function(){i(s)}))}else navigator.msSaveOrOpenBlob(function(e,t){return void 0===t?t={autoBom:!1}:"object"!=typeof t&&(n.warn("Deprecated: Expected third argument to be a object"),t={autoBom:!t}),t.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob([String.fromCharCode(65279),e],{type:e.type}):e}(e,r),t)}:function(e,r,n,o){if((o=o||open("","_blank"))&&(o.document.title=o.document.body.innerText="downloading..."),"string"==typeof e)return a(e,r,n);var i="application/octet-stream"===e.type,s=/constructor/i.test(t.HTMLElement)||t.safari,c=/CriOS\/[\d]+/.test(navigator.userAgent);if((c||i&&s)&&"object"==typeof FileReader){var l=new FileReader;l.onloadend=function(){var e=l.result;e=c?e:e.replace(/^data:[^;]*;/,"data:attachment/file;"),o?o.location.href=e:location=e,o=null},l.readAsDataURL(e)}else{var u=t.URL||t.webkitURL,f=u.createObjectURL(e);o?o.location=f:location.href=f,o=null,setTimeout((function(){u.revokeObjectURL(f)}),4e4)}});function u(e){var t;e=e||"",this.ok=!1,"#"==e.charAt(0)&&(e=e.substr(1,6)),e={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"}[e=(e=e.replace(/ /g,"")).toLowerCase()]||e;for(var r=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(e){return[parseInt(e[1]),parseInt(e[2]),parseInt(e[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(e){return[parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(e){return[parseInt(e[1]+e[1],16),parseInt(e[2]+e[2],16),parseInt(e[3]+e[3],16)]}}],n=0;n<r.length;n++){var a=r[n].re,o=r[n].process,i=a.exec(e);i&&(t=o(i),this.r=t[0],this.g=t[1],this.b=t[2],this.ok=!0)}this.r=this.r<0||isNaN(this.r)?0:this.r>255?255:this.r,this.g=this.g<0||isNaN(this.g)?0:this.g>255?255:this.g,this.b=this.b<0||isNaN(this.b)?0:this.b>255?255:this.b,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toHex=function(){var e=this.r.toString(16),t=this.g.toString(16),r=this.b.toString(16);return 1==e.length&&(e="0"+e),1==t.length&&(t="0"+t),1==r.length&&(r="0"+r),"#"+e+t+r}}function f(e,t){var r=e[0],n=e[1],a=e[2],o=e[3];r=d(r,n,a,o,t[0],7,-680876936),o=d(o,r,n,a,t[1],12,-389564586),a=d(a,o,r,n,t[2],17,606105819),n=d(n,a,o,r,t[3],22,-1044525330),r=d(r,n,a,o,t[4],7,-176418897),o=d(o,r,n,a,t[5],12,1200080426),a=d(a,o,r,n,t[6],17,-1473231341),n=d(n,a,o,r,t[7],22,-45705983),r=d(r,n,a,o,t[8],7,1770035416),o=d(o,r,n,a,t[9],12,-1958414417),a=d(a,o,r,n,t[10],17,-42063),n=d(n,a,o,r,t[11],22,-1990404162),r=d(r,n,a,o,t[12],7,1804603682),o=d(o,r,n,a,t[13],12,-40341101),a=d(a,o,r,n,t[14],17,-1502002290),r=p(r,n=d(n,a,o,r,t[15],22,1236535329),a,o,t[1],5,-165796510),o=p(o,r,n,a,t[6],9,-1069501632),a=p(a,o,r,n,t[11],14,643717713),n=p(n,a,o,r,t[0],20,-373897302),r=p(r,n,a,o,t[5],5,-701558691),o=p(o,r,n,a,t[10],9,38016083),a=p(a,o,r,n,t[15],14,-660478335),n=p(n,a,o,r,t[4],20,-405537848),r=p(r,n,a,o,t[9],5,568446438),o=p(o,r,n,a,t[14],9,-1019803690),a=p(a,o,r,n,t[3],14,-187363961),n=p(n,a,o,r,t[8],20,1163531501),r=p(r,n,a,o,t[13],5,-1444681467),o=p(o,r,n,a,t[2],9,-51403784),a=p(a,o,r,n,t[7],14,1735328473),r=g(r,n=p(n,a,o,r,t[12],20,-1926607734),a,o,t[5],4,-378558),o=g(o,r,n,a,t[8],11,-2022574463),a=g(a,o,r,n,t[11],16,1839030562),n=g(n,a,o,r,t[14],23,-35309556),r=g(r,n,a,o,t[1],4,-1530992060),o=g(o,r,n,a,t[4],11,1272893353),a=g(a,o,r,n,t[7],16,-155497632),n=g(n,a,o,r,t[10],23,-1094730640),r=g(r,n,a,o,t[13],4,681279174),o=g(o,r,n,a,t[0],11,-358537222),a=g(a,o,r,n,t[3],16,-722521979),n=g(n,a,o,r,t[6],23,76029189),r=g(r,n,a,o,t[9],4,-640364487),o=g(o,r,n,a,t[12],11,-421815835),a=g(a,o,r,n,t[15],16,530742520),r=m(r,n=g(n,a,o,r,t[2],23,-995338651),a,o,t[0],6,-198630844),o=m(o,r,n,a,t[7],10,1126891415),a=m(a,o,r,n,t[14],15,-1416354905),n=m(n,a,o,r,t[5],21,-57434055),r=m(r,n,a,o,t[12],6,1700485571),o=m(o,r,n,a,t[3],10,-1894986606),a=m(a,o,r,n,t[10],15,-1051523),n=m(n,a,o,r,t[1],21,-2054922799),r=m(r,n,a,o,t[8],6,1873313359),o=m(o,r,n,a,t[15],10,-30611744),a=m(a,o,r,n,t[6],15,-1560198380),n=m(n,a,o,r,t[13],21,1309151649),r=m(r,n,a,o,t[4],6,-145523070),o=m(o,r,n,a,t[11],10,-1120210379),a=m(a,o,r,n,t[2],15,718787259),n=m(n,a,o,r,t[9],21,-343485551),e[0]=A(r,e[0]),e[1]=A(n,e[1]),e[2]=A(a,e[2]),e[3]=A(o,e[3])}function h(e,t,r,n,a,o){return t=A(A(t,e),A(n,o)),A(t<<a|t>>>32-a,r)}function d(e,t,r,n,a,o,i){return h(t&r|~t&n,e,t,a,o,i)}function p(e,t,r,n,a,o,i){return h(t&n|r&~n,e,t,a,o,i)}function g(e,t,r,n,a,o,i){return h(t^r^n,e,t,a,o,i)}function m(e,t,r,n,a,o,i){return h(r^(t|~n),e,t,a,o,i)}function v(e){var t,r=e.length,n=[1732584193,-271733879,-1732584194,271733878];for(t=64;t<=e.length;t+=64)f(n,b(e.substring(t-64,t)));e=e.substring(t-64);var a=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(t=0;t<e.length;t++)a[t>>2]|=e.charCodeAt(t)<<(t%4<<3);if(a[t>>2]|=128<<(t%4<<3),t>55)for(f(n,a),t=0;t<16;t++)a[t]=0;return a[14]=8*r,f(n,a),n}function b(e){var t,r=[];for(t=0;t<64;t+=4)r[t>>2]=e.charCodeAt(t)+(e.charCodeAt(t+1)<<8)+(e.charCodeAt(t+2)<<16)+(e.charCodeAt(t+3)<<24);return r}s=t.atob.bind(t),c=t.btoa.bind(t);var y="0123456789abcdef".split("");function w(e){for(var t="",r=0;r<4;r++)t+=y[e>>8*r+4&15]+y[e>>8*r&15];return t}function S(e){return String.fromCharCode((255&e)>>0,(65280&e)>>8,(16711680&e)>>16,(4278190080&e)>>24)}function x(e){return function(e){return e.map(S).join("")}(v(e))}function A(e,t){return e+t&4294967295}if("5d41402abc4b2a76b9719d911017c592"!=function(e){for(var t=0;t<e.length;t++)e[t]=w(e[t]);return e.join("")}(v("hello"))){}function k(e,t){var r,n,a,o;if(e!==r){for(var i=(a=e,o=1+(256/e.length>>0),new Array(o+1).join(a)),s=[],c=0;c<256;c++)s[c]=c;var l=0;for(c=0;c<256;c++){var u=s[c];l=(l+u+i.charCodeAt(c))%256,s[c]=s[l],s[l]=u}r=e,n=s}else s=n;var f=t.length,h=0,d=0,p="";for(c=0;c<f;c++)d=(d+(u=s[h=(h+1)%256]))%256,s[h]=s[d],s[d]=u,i=s[(s[h]+s[d])%256],p+=String.fromCharCode(t.charCodeAt(c)^i);return p}var T={print:4,modify:8,copy:16,"annot-forms":32};function E(e,t,r,n){this.v=1,this.r=2;let a=192;e.forEach((function(e){if(void 0!==T.perm)throw new Error("Invalid permission: "+e);a+=T[e]})),this.padding="(¿N^NuAd\0NVÿú\b..\0¶Ðh>/\f©þdSiz";let o=(t+this.padding).substr(0,32),i=(r+this.padding).substr(0,32);this.O=this.processOwnerPassword(o,i),this.P=-(1+(255^a)),this.encryptionKey=x(o+this.O+this.lsbFirstWord(this.P)+this.hexToBytes(n)).substr(0,5),this.U=k(this.encryptionKey,this.padding)}function _(e){if("object"!=typeof e)throw new Error("Invalid Context passed to initialize PubSub (jsPDF-module)");var r={};this.subscribe=function(e,t,n){if(n=n||!1,"string"!=typeof e||"function"!=typeof t||"boolean"!=typeof n)throw new Error("Invalid arguments passed to PubSub.subscribe (jsPDF-module)");r.hasOwnProperty(e)||(r[e]={});var a=Math.random().toString(35);return r[e][a]=[t,!!n],a},this.unsubscribe=function(e){for(var t in r)if(r[t][e])return delete r[t][e],0===Object.keys(r[t]).length&&delete r[t],!0;return!1},this.publish=function(a){if(r.hasOwnProperty(a)){var o=Array.prototype.slice.call(arguments,1),i=[];for(var s in r[a]){var c=r[a][s];try{c[0].apply(e,o)}catch(e){t.console&&n.error("jsPDF PubSub Error",e.message,e)}c[1]&&i.push(s)}i.length&&i.forEach(this.unsubscribe)}},this.getTopics=function(){return r}}function N(e){if(!(this instanceof N))return new N(e);var t="opacity,stroke-opacity".split(",");for(var r in e)e.hasOwnProperty(r)&&t.indexOf(r)>=0&&(this[r]=e[r]);this.id="",this.objectNumber=-1}function C(e,t){this.gState=e,this.matrix=t,this.id="",this.objectNumber=-1}function O(e,t,r,n,a){if(!(this instanceof O))return new O(e,t,r,n,a);this.type="axial"===e?2:3,this.coords=t,this.colors=r,C.call(this,n,a)}function R(e,t,r,n,a){if(!(this instanceof R))return new R(e,t,r,n,a);this.boundingBox=e,this.xStep=t,this.yStep=r,this.stream="",this.cloneIndex=0,C.call(this,n,a)}function P(e){var r,a="string"==typeof arguments[0]?arguments[0]:"p",o=arguments[1],i=arguments[2],s=arguments[3],f=[],h=1,d=16,p="S",g=null;"object"==typeof(e=e||{})&&(a=e.orientation,o=e.unit||o,i=e.format||i,s=e.compress||e.compressPdf||s,null!==(g=e.encryption||null)&&(g.userPassword=g.userPassword||"",g.ownerPassword=g.ownerPassword||"",g.userPermissions=g.userPermissions||[]),h="number"==typeof e.userUnit?Math.abs(e.userUnit):1,void 0!==e.precision&&(r=e.precision),void 0!==e.floatPrecision&&(d=e.floatPrecision),p=e.defaultPathOperation||"S"),f=e.filters||(!0===s?["FlateEncode"]:f),o=o||"mm",a=(""+(a||"P")).toLowerCase();var m=e.putOnlyUsedFonts||!1,v={},b={internal:{},__private__:{}};b.__private__.PubSub=_;var y="1.3",w=b.__private__.getPdfVersion=function(){return y};b.__private__.setPdfVersion=function(e){y=e};var S={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};b.__private__.getPageFormats=function(){return S};var x=b.__private__.getPageFormat=function(e){return S[e]};i=i||"a4";var A={COMPAT:"compat",ADVANCED:"advanced"},k=A.COMPAT;function T(){this.saveGraphicsState(),se(new Ue(xe,0,0,-xe,0,vr()*xe).toString()+" cm"),this.setFontSize(this.getFontSize()/xe),p="n",k=A.ADVANCED}function C(){this.restoreGraphicsState(),p="S",k=A.COMPAT}var L=function(e,t){if("bold"==e&&"normal"==t||"bold"==e&&400==t||"normal"==e&&"italic"==t||"bold"==e&&"italic"==t)throw new Error("Invalid Combination of fontweight and fontstyle");return t&&e!==t&&(e=400==t?"italic"==e?"italic":"normal":700==t&&"italic"!==e?"bold":e+""+t),e};b.advancedAPI=function(e){var t=k===A.COMPAT;return t&&T.call(this),"function"!=typeof e||(e(this),t&&C.call(this)),this},b.compatAPI=function(e){var t=k===A.ADVANCED;return t&&C.call(this),"function"!=typeof e||(e(this),t&&T.call(this)),this},b.isAdvancedAPI=function(){return k===A.ADVANCED};var I,F=function(e){if(k!==A.ADVANCED)throw new Error(e+" is only available in 'advanced' API mode. You need to call advancedAPI() first.")},D=b.roundToPrecision=b.__private__.roundToPrecision=function(e,t){var n=r||t;if(isNaN(e)||isNaN(n))throw new Error("Invalid argument passed to jsPDF.roundToPrecision");return e.toFixed(n).replace(/0+$/,"")};I=b.hpf=b.__private__.hpf="number"==typeof d?function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.hpf");return D(e,d)}:"smart"===d?function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.hpf");return D(e,e>-1&&e<1?16:5)}:function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.hpf");return D(e,16)};var M=b.f2=b.__private__.f2=function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.f2");return D(e,2)},j=b.__private__.f3=function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.f3");return D(e,3)},B=b.scale=b.__private__.scale=function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.scale");return k===A.COMPAT?e*xe:k===A.ADVANCED?e:void 0},W=function(e){return B(function(e){return k===A.COMPAT?vr()-e:k===A.ADVANCED?e:void 0}(e))};b.__private__.setPrecision=b.setPrecision=function(e){"number"==typeof parseInt(e,10)&&(r=parseInt(e,10))};var U,H="00000000000000000000000000000000",z=b.__private__.getFileId=function(){return H},V=b.__private__.setFileId=function(e){return H=void 0!==e&&/^[a-fA-F0-9]{32}$/.test(e)?e.toUpperCase():H.split("").map((function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))})).join(""),null!==g&&(Nt=new E(g.userPermissions,g.userPassword,g.ownerPassword,H)),H};b.setFileId=function(e){return V(e),this},b.getFileId=function(){return z()};var q=b.__private__.convertDateToPDFDate=function(e){var t=e.getTimezoneOffset(),r=t<0?"+":"-",n=Math.floor(Math.abs(t/60)),a=Math.abs(t%60),o=[r,K(n),"'",K(a),"'"].join("");return["D:",e.getFullYear(),K(e.getMonth()+1),K(e.getDate()),K(e.getHours()),K(e.getMinutes()),K(e.getSeconds()),o].join("")},$=b.__private__.convertPDFDateToDate=function(e){var t=parseInt(e.substr(2,4),10),r=parseInt(e.substr(6,2),10)-1,n=parseInt(e.substr(8,2),10),a=parseInt(e.substr(10,2),10),o=parseInt(e.substr(12,2),10),i=parseInt(e.substr(14,2),10);return new Date(t,r,n,a,o,i,0)},G=b.__private__.setCreationDate=function(e){var t;if(void 0===e&&(e=new Date),e instanceof Date)t=q(e);else{if(!/^D:(20[0-2][0-9]|203[0-7]|19[7-9][0-9])(0[0-9]|1[0-2])([0-2][0-9]|3[0-1])(0[0-9]|1[0-9]|2[0-3])(0[0-9]|[1-5][0-9])(0[0-9]|[1-5][0-9])(\+0[0-9]|\+1[0-4]|-0[0-9]|-1[0-1])'(0[0-9]|[1-5][0-9])'?$/.test(e))throw new Error("Invalid argument passed to jsPDF.setCreationDate");t=e}return U=t},X=b.__private__.getCreationDate=function(e){var t=U;return"jsDate"===e&&(t=$(U)),t};b.setCreationDate=function(e){return G(e),this},b.getCreationDate=function(e){return X(e)};var Y,K=b.__private__.padd2=function(e){return("0"+parseInt(e)).slice(-2)},J=b.__private__.padd2Hex=function(e){return("00"+(e=e.toString())).substr(e.length)},Z=0,Q=[],ee=[],te=0,re=[],ne=[],ae=!1,oe=ee;b.__private__.setCustomOutputDestination=function(e){ae=!0,oe=e};var ie=function(e){ae||(oe=e)};b.__private__.resetCustomOutputDestination=function(){ae=!1,oe=ee};var se=b.__private__.out=function(e){return e=e.toString(),te+=e.length+1,oe.push(e),oe},ce=b.__private__.write=function(e){return se(1===arguments.length?e.toString():Array.prototype.join.call(arguments," "))},le=b.__private__.getArrayBuffer=function(e){for(var t=e.length,r=new ArrayBuffer(t),n=new Uint8Array(r);t--;)n[t]=e.charCodeAt(t);return r},ue=[["Helvetica","helvetica","normal","WinAnsiEncoding"],["Helvetica-Bold","helvetica","bold","WinAnsiEncoding"],["Helvetica-Oblique","helvetica","italic","WinAnsiEncoding"],["Helvetica-BoldOblique","helvetica","bolditalic","WinAnsiEncoding"],["Courier","courier","normal","WinAnsiEncoding"],["Courier-Bold","courier","bold","WinAnsiEncoding"],["Courier-Oblique","courier","italic","WinAnsiEncoding"],["Courier-BoldOblique","courier","bolditalic","WinAnsiEncoding"],["Times-Roman","times","normal","WinAnsiEncoding"],["Times-Bold","times","bold","WinAnsiEncoding"],["Times-Italic","times","italic","WinAnsiEncoding"],["Times-BoldItalic","times","bolditalic","WinAnsiEncoding"],["ZapfDingbats","zapfdingbats","normal",null],["Symbol","symbol","normal",null]];b.__private__.getStandardFonts=function(){return ue};var fe=e.fontSize||16;b.__private__.setFontSize=b.setFontSize=function(e){return fe=k===A.ADVANCED?e/xe:e,this};var he,de=b.__private__.getFontSize=b.getFontSize=function(){return k===A.COMPAT?fe:fe*xe},pe=e.R2L||!1;b.__private__.setR2L=b.setR2L=function(e){return pe=e,this},b.__private__.getR2L=b.getR2L=function(){return pe};var ge,me=b.__private__.setZoomMode=function(e){if(/^\d*\.?\d*%$/.test(e))he=e;else if(isNaN(e)){if(-1===[void 0,null,"fullwidth","fullheight","fullpage","original"].indexOf(e))throw new Error('zoom must be Integer (e.g. 2), a percentage Value (e.g. 300%) or fullwidth, fullheight, fullpage, original. "'+e+'" is not recognized.');he=e}else he=parseInt(e,10)};b.__private__.getZoomMode=function(){return he};var ve,be=b.__private__.setPageMode=function(e){if(-1==[void 0,null,"UseNone","UseOutlines","UseThumbs","FullScreen"].indexOf(e))throw new Error('Page mode must be one of UseNone, UseOutlines, UseThumbs, or FullScreen. "'+e+'" is not recognized.');ge=e};b.__private__.getPageMode=function(){return ge};var ye=b.__private__.setLayoutMode=function(e){if(-1==[void 0,null,"continuous","single","twoleft","tworight","two"].indexOf(e))throw new Error('Layout mode must be one of continuous, single, twoleft, tworight. "'+e+'" is not recognized.');ve=e};b.__private__.getLayoutMode=function(){return ve},b.__private__.setDisplayMode=b.setDisplayMode=function(e,t,r){return me(e),ye(t),be(r),this};var we={title:"",subject:"",author:"",keywords:"",creator:""};b.__private__.getDocumentProperty=function(e){if(-1===Object.keys(we).indexOf(e))throw new Error("Invalid argument passed to jsPDF.getDocumentProperty");return we[e]},b.__private__.getDocumentProperties=function(){return we},b.__private__.setDocumentProperties=b.setProperties=b.setDocumentProperties=function(e){for(var t in we)we.hasOwnProperty(t)&&e[t]&&(we[t]=e[t]);return this},b.__private__.setDocumentProperty=function(e,t){if(-1===Object.keys(we).indexOf(e))throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");return we[e]=t};var Se,xe,Ae,ke,Te,Ee={},_e={},Ne=[],Ce={},Oe={},Re={},Pe={},Le=null,Ie=0,Fe=[],De=new _(b),Me=e.hotfixes||[],je={},Be={},We=[],Ue=function(e,t,r,n,a,o){if(!(this instanceof Ue))return new Ue(e,t,r,n,a,o);isNaN(e)&&(e=1),isNaN(t)&&(t=0),isNaN(r)&&(r=0),isNaN(n)&&(n=1),isNaN(a)&&(a=0),isNaN(o)&&(o=0),this._matrix=[e,t,r,n,a,o]};Object.defineProperty(Ue.prototype,"sx",{get:function(){return this._matrix[0]},set:function(e){this._matrix[0]=e}}),Object.defineProperty(Ue.prototype,"shy",{get:function(){return this._matrix[1]},set:function(e){this._matrix[1]=e}}),Object.defineProperty(Ue.prototype,"shx",{get:function(){return this._matrix[2]},set:function(e){this._matrix[2]=e}}),Object.defineProperty(Ue.prototype,"sy",{get:function(){return this._matrix[3]},set:function(e){this._matrix[3]=e}}),Object.defineProperty(Ue.prototype,"tx",{get:function(){return this._matrix[4]},set:function(e){this._matrix[4]=e}}),Object.defineProperty(Ue.prototype,"ty",{get:function(){return this._matrix[5]},set:function(e){this._matrix[5]=e}}),Object.defineProperty(Ue.prototype,"a",{get:function(){return this._matrix[0]},set:function(e){this._matrix[0]=e}}),Object.defineProperty(Ue.prototype,"b",{get:function(){return this._matrix[1]},set:function(e){this._matrix[1]=e}}),Object.defineProperty(Ue.prototype,"c",{get:function(){return this._matrix[2]},set:function(e){this._matrix[2]=e}}),Object.defineProperty(Ue.prototype,"d",{get:function(){return this._matrix[3]},set:function(e){this._matrix[3]=e}}),Object.defineProperty(Ue.prototype,"e",{get:function(){return this._matrix[4]},set:function(e){this._matrix[4]=e}}),Object.defineProperty(Ue.prototype,"f",{get:function(){return this._matrix[5]},set:function(e){this._matrix[5]=e}}),Object.defineProperty(Ue.prototype,"rotation",{get:function(){return Math.atan2(this.shx,this.sx)}}),Object.defineProperty(Ue.prototype,"scaleX",{get:function(){return this.decompose().scale.sx}}),Object.defineProperty(Ue.prototype,"scaleY",{get:function(){return this.decompose().scale.sy}}),Object.defineProperty(Ue.prototype,"isIdentity",{get:function(){return 1===this.sx&&0===this.shy&&0===this.shx&&1===this.sy&&0===this.tx&&0===this.ty}}),Ue.prototype.join=function(e){return[this.sx,this.shy,this.shx,this.sy,this.tx,this.ty].map(I).join(e)},Ue.prototype.multiply=function(e){var t=e.sx*this.sx+e.shy*this.shx,r=e.sx*this.shy+e.shy*this.sy,n=e.shx*this.sx+e.sy*this.shx,a=e.shx*this.shy+e.sy*this.sy,o=e.tx*this.sx+e.ty*this.shx+this.tx,i=e.tx*this.shy+e.ty*this.sy+this.ty;return new Ue(t,r,n,a,o,i)},Ue.prototype.decompose=function(){var e=this.sx,t=this.shy,r=this.shx,n=this.sy,a=this.tx,o=this.ty,i=Math.sqrt(e*e+t*t),s=(e/=i)*r+(t/=i)*n;r-=e*s,n-=t*s;var c=Math.sqrt(r*r+n*n);return s/=c,e*(n/=c)<t*(r/=c)&&(e=-e,t=-t,s=-s,i=-i),{scale:new Ue(i,0,0,c,0,0),translate:new Ue(1,0,0,1,a,o),rotate:new Ue(e,t,-t,e,0,0),skew:new Ue(1,0,s,1,0,0)}},Ue.prototype.toString=function(e){return this.join(" ")},Ue.prototype.inversed=function(){var e=this.sx,t=this.shy,r=this.shx,n=this.sy,a=this.tx,o=this.ty,i=1/(e*n-t*r),s=n*i,c=-t*i,l=-r*i,u=e*i;return new Ue(s,c,l,u,-s*a-l*o,-c*a-u*o)},Ue.prototype.applyToPoint=function(e){var t=e.x*this.sx+e.y*this.shx+this.tx,r=e.x*this.shy+e.y*this.sy+this.ty;return new ur(t,r)},Ue.prototype.applyToRectangle=function(e){var t=this.applyToPoint(e),r=this.applyToPoint(new ur(e.x+e.w,e.y+e.h));return new fr(t.x,t.y,r.x-t.x,r.y-t.y)},Ue.prototype.clone=function(){var e=this.sx,t=this.shy,r=this.shx,n=this.sy,a=this.tx,o=this.ty;return new Ue(e,t,r,n,a,o)},b.Matrix=Ue;var He=b.matrixMult=function(e,t){return t.multiply(e)},ze=new Ue(1,0,0,1,0,0);b.unitMatrix=b.identityMatrix=ze;var Ve=function(e,t){if(!Oe[e]){var r=(t instanceof O?"Sh":"P")+(Object.keys(Ce).length+1).toString(10);t.id=r,Oe[e]=r,Ce[r]=t,De.publish("addPattern",t)}};b.ShadingPattern=O,b.TilingPattern=R,b.addShadingPattern=function(e,t){return F("addShadingPattern()"),Ve(e,t),this},b.beginTilingPattern=function(e){F("beginTilingPattern()"),dr(e.boundingBox[0],e.boundingBox[1],e.boundingBox[2]-e.boundingBox[0],e.boundingBox[3]-e.boundingBox[1],e.matrix)},b.endTilingPattern=function(e,t){F("endTilingPattern()"),t.stream=ne[Y].join("\n"),Ve(e,t),De.publish("endTilingPattern",t),We.pop().restore()};var qe=b.__private__.newObject=function(){var e=$e();return Ge(e,!0),e},$e=b.__private__.newObjectDeferred=function(){return Z++,Q[Z]=function(){return te},Z},Ge=function(e,t){return t="boolean"==typeof t&&t,Q[e]=te,t&&se(e+" 0 obj"),e},Xe=b.__private__.newAdditionalObject=function(){var e={objId:$e(),content:""};return re.push(e),e},Ye=$e(),Ke=$e(),Je=b.__private__.decodeColorString=function(e){var t=e.split(" ");if(2!==t.length||"g"!==t[1]&&"G"!==t[1])5!==t.length||"k"!==t[4]&&"K"!==t[4]||(t=[(1-t[0])*(1-t[3]),(1-t[1])*(1-t[3]),(1-t[2])*(1-t[3]),"r"]);else{var r=parseFloat(t[0]);t=[r,r,r,"r"]}for(var n="#",a=0;a<3;a++)n+=("0"+Math.floor(255*parseFloat(t[a])).toString(16)).slice(-2);return n},Ze=b.__private__.encodeColorString=function(e){var t;"string"==typeof e&&(e={ch1:e});var r=e.ch1,n=e.ch2,a=e.ch3,o=e.ch4,i="draw"===e.pdfColorType?["G","RG","K"]:["g","rg","k"];if("string"==typeof r&&"#"!==r.charAt(0)){var s=new u(r);if(s.ok)r=s.toHex();else if(!/^\d*\.?\d*$/.test(r))throw new Error('Invalid color "'+r+'" passed to jsPDF.encodeColorString.')}if("string"==typeof r&&/^#[0-9A-Fa-f]{3}$/.test(r)&&(r="#"+r[1]+r[1]+r[2]+r[2]+r[3]+r[3]),"string"==typeof r&&/^#[0-9A-Fa-f]{6}$/.test(r)){var c=parseInt(r.substr(1),16);r=c>>16&255,n=c>>8&255,a=255&c}if(void 0===n||void 0===o&&r===n&&n===a)if("string"==typeof r)t=r+" "+i[0];else if(2===e.precision)t=M(r/255)+" "+i[0];else t=j(r/255)+" "+i[0];else if(void 0===o||"object"==typeof o){if(o&&!isNaN(o.a)&&0===o.a)return["1.","1.","1.",i[1]].join(" ");if("string"==typeof r)t=[r,n,a,i[1]].join(" ");else if(2===e.precision)t=[M(r/255),M(n/255),M(a/255),i[1]].join(" ");else t=[j(r/255),j(n/255),j(a/255),i[1]].join(" ")}else if("string"==typeof r)t=[r,n,a,o,i[2]].join(" ");else if(2===e.precision)t=[M(r),M(n),M(a),M(o),i[2]].join(" ");else t=[j(r),j(n),j(a),j(o),i[2]].join(" ");return t},Qe=b.__private__.getFilters=function(){return f},et=b.__private__.putStream=function(e){var t=(e=e||{}).data||"",r=e.filters||Qe(),n=e.alreadyAppliedFilters||[],a=e.addLength1||!1,o=t.length,i=e.objectId,s=function(e){return e};if(null!==g&&void 0===i)throw new Error("ObjectId must be passed to putStream for file encryption");null!==g&&(s=Nt.encryptor(i,0));var c={};!0===r&&(r=["FlateEncode"]);var l=e.additionalKeyValues||[],u=(c=void 0!==P.API.processDataByFilters?P.API.processDataByFilters(t,r):{data:t,reverseChain:[]}).reverseChain+(Array.isArray(n)?n.join(" "):n.toString());if(0!==c.data.length&&(l.push({key:"Length",value:c.data.length}),!0===a&&l.push({key:"Length1",value:o})),0!=u.length)if(u.split("/").length-1==1)l.push({key:"Filter",value:u});else{l.push({key:"Filter",value:"["+u+"]"});for(var f=0;f<l.length;f+=1)if("DecodeParms"===l[f].key){for(var h=[],d=0;d<c.reverseChain.split("/").length-1;d+=1)h.push("null");h.push(l[f].value),l[f].value="["+h.join(" ")+"]"}}se("<<");for(var p=0;p<l.length;p++)se("/"+l[p].key+" "+l[p].value);se(">>"),0!==c.data.length&&(se("stream"),se(s(c.data)),se("endstream"))},tt=b.__private__.putPage=function(e){var t=e.number,r=e.data,n=e.objId,a=e.contentsObjId;Ge(n,!0),se("<</Type /Page"),se("/Parent "+e.rootDictionaryObjId+" 0 R"),se("/Resources "+e.resourceDictionaryObjId+" 0 R"),se("/MediaBox ["+parseFloat(I(e.mediaBox.bottomLeftX))+" "+parseFloat(I(e.mediaBox.bottomLeftY))+" "+I(e.mediaBox.topRightX)+" "+I(e.mediaBox.topRightY)+"]"),null!==e.cropBox&&se("/CropBox ["+I(e.cropBox.bottomLeftX)+" "+I(e.cropBox.bottomLeftY)+" "+I(e.cropBox.topRightX)+" "+I(e.cropBox.topRightY)+"]"),null!==e.bleedBox&&se("/BleedBox ["+I(e.bleedBox.bottomLeftX)+" "+I(e.bleedBox.bottomLeftY)+" "+I(e.bleedBox.topRightX)+" "+I(e.bleedBox.topRightY)+"]"),null!==e.trimBox&&se("/TrimBox ["+I(e.trimBox.bottomLeftX)+" "+I(e.trimBox.bottomLeftY)+" "+I(e.trimBox.topRightX)+" "+I(e.trimBox.topRightY)+"]"),null!==e.artBox&&se("/ArtBox ["+I(e.artBox.bottomLeftX)+" "+I(e.artBox.bottomLeftY)+" "+I(e.artBox.topRightX)+" "+I(e.artBox.topRightY)+"]"),"number"==typeof e.userUnit&&1!==e.userUnit&&se("/UserUnit "+e.userUnit),De.publish("putPage",{objId:n,pageContext:Fe[t],pageNumber:t,page:r}),se("/Contents "+a+" 0 R"),se(">>"),se("endobj");var o=r.join("\n");return k===A.ADVANCED&&(o+="\nQ"),Ge(a,!0),et({data:o,filters:Qe(),objectId:a}),se("endobj"),n},rt=b.__private__.putPages=function(){var e,t,r=[];for(e=1;e<=Ie;e++)Fe[e].objId=$e(),Fe[e].contentsObjId=$e();for(e=1;e<=Ie;e++)r.push(tt({number:e,data:ne[e],objId:Fe[e].objId,contentsObjId:Fe[e].contentsObjId,mediaBox:Fe[e].mediaBox,cropBox:Fe[e].cropBox,bleedBox:Fe[e].bleedBox,trimBox:Fe[e].trimBox,artBox:Fe[e].artBox,userUnit:Fe[e].userUnit,rootDictionaryObjId:Ye,resourceDictionaryObjId:Ke}));Ge(Ye,!0),se("<</Type /Pages");var n="/Kids [";for(t=0;t<Ie;t++)n+=r[t]+" 0 R ";se(n+"]"),se("/Count "+Ie),se(">>"),se("endobj"),De.publish("postPutPages")},nt=function(e){var t=function(e,t){return-1!==e.indexOf(" ")?"("+ht(e,t)+")":ht(e,t)};De.publish("putFont",{font:e,out:se,newObject:qe,putStream:et,pdfEscapeWithNeededParanthesis:t}),!0!==e.isAlreadyPutted&&(e.objectNumber=qe(),se("<<"),se("/Type /Font"),se("/BaseFont /"+t(e.postScriptName)),se("/Subtype /Type1"),"string"==typeof e.encoding&&se("/Encoding /"+e.encoding),se("/FirstChar 32"),se("/LastChar 255"),se(">>"),se("endobj"))},at=function(e){e.objectNumber=qe();var t=[];t.push({key:"Type",value:"/XObject"}),t.push({key:"Subtype",value:"/Form"}),t.push({key:"BBox",value:"["+[I(e.x),I(e.y),I(e.x+e.width),I(e.y+e.height)].join(" ")+"]"}),t.push({key:"Matrix",value:"["+e.matrix.toString()+"]"});var r=e.pages[1].join("\n");et({data:r,additionalKeyValues:t,objectId:e.objectNumber}),se("endobj")},ot=function(e,t){t||(t=21);var r=qe(),n=function(e,t){var r,n=[],a=1/(t-1);for(r=0;r<1;r+=a)n.push(r);if(n.push(1),0!=e[0].offset){var o={offset:0,color:e[0].color};e.unshift(o)}if(1!=e[e.length-1].offset){var i={offset:1,color:e[e.length-1].color};e.push(i)}for(var s="",c=0,l=0;l<n.length;l++){for(r=n[l];r>e[c+1].offset;)c++;var u=e[c].offset,f=(r-u)/(e[c+1].offset-u),h=e[c].color,d=e[c+1].color;s+=J(Math.round((1-f)*h[0]+f*d[0]).toString(16))+J(Math.round((1-f)*h[1]+f*d[1]).toString(16))+J(Math.round((1-f)*h[2]+f*d[2]).toString(16))}return s.trim()}(e.colors,t),a=[];a.push({key:"FunctionType",value:"0"}),a.push({key:"Domain",value:"[0.0 1.0]"}),a.push({key:"Size",value:"["+t+"]"}),a.push({key:"BitsPerSample",value:"8"}),a.push({key:"Range",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),a.push({key:"Decode",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),et({data:n,additionalKeyValues:a,alreadyAppliedFilters:["/ASCIIHexDecode"],objectId:r}),se("endobj"),e.objectNumber=qe(),se("<< /ShadingType "+e.type),se("/ColorSpace /DeviceRGB");var o="/Coords ["+I(parseFloat(e.coords[0]))+" "+I(parseFloat(e.coords[1]))+" ";2===e.type?o+=I(parseFloat(e.coords[2]))+" "+I(parseFloat(e.coords[3])):o+=I(parseFloat(e.coords[2]))+" "+I(parseFloat(e.coords[3]))+" "+I(parseFloat(e.coords[4]))+" "+I(parseFloat(e.coords[5])),se(o+="]"),e.matrix&&se("/Matrix ["+e.matrix.toString()+"]"),se("/Function "+r+" 0 R"),se("/Extend [true true]"),se(">>"),se("endobj")},it=function(e,t){var r=$e(),n=qe();t.push({resourcesOid:r,objectOid:n}),e.objectNumber=n;var a=[];a.push({key:"Type",value:"/Pattern"}),a.push({key:"PatternType",value:"1"}),a.push({key:"PaintType",value:"1"}),a.push({key:"TilingType",value:"1"}),a.push({key:"BBox",value:"["+e.boundingBox.map(I).join(" ")+"]"}),a.push({key:"XStep",value:I(e.xStep)}),a.push({key:"YStep",value:I(e.yStep)}),a.push({key:"Resources",value:r+" 0 R"}),e.matrix&&a.push({key:"Matrix",value:"["+e.matrix.toString()+"]"}),et({data:e.stream,additionalKeyValues:a,objectId:e.objectNumber}),se("endobj")},st=function(e){for(var t in e.objectNumber=qe(),se("<<"),e)switch(t){case"opacity":se("/ca "+M(e[t]));break;case"stroke-opacity":se("/CA "+M(e[t]))}se(">>"),se("endobj")},ct=function(e){Ge(e.resourcesOid,!0),se("<<"),se("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),function(){for(var e in se("/Font <<"),Ee)Ee.hasOwnProperty(e)&&(!1===m||!0===m&&v.hasOwnProperty(e))&&se("/"+e+" "+Ee[e].objectNumber+" 0 R");se(">>")}(),function(){if(Object.keys(Ce).length>0){for(var e in se("/Shading <<"),Ce)Ce.hasOwnProperty(e)&&Ce[e]instanceof O&&Ce[e].objectNumber>=0&&se("/"+e+" "+Ce[e].objectNumber+" 0 R");De.publish("putShadingPatternDict"),se(">>")}}(),function(e){if(Object.keys(Ce).length>0){for(var t in se("/Pattern <<"),Ce)Ce.hasOwnProperty(t)&&Ce[t]instanceof b.TilingPattern&&Ce[t].objectNumber>=0&&Ce[t].objectNumber<e&&se("/"+t+" "+Ce[t].objectNumber+" 0 R");De.publish("putTilingPatternDict"),se(">>")}}(e.objectOid),function(){if(Object.keys(Re).length>0){var e;for(e in se("/ExtGState <<"),Re)Re.hasOwnProperty(e)&&Re[e].objectNumber>=0&&se("/"+e+" "+Re[e].objectNumber+" 0 R");De.publish("putGStateDict"),se(">>")}}(),function(){for(var e in se("/XObject <<"),je)je.hasOwnProperty(e)&&je[e].objectNumber>=0&&se("/"+e+" "+je[e].objectNumber+" 0 R");De.publish("putXobjectDict"),se(">>")}(),se(">>"),se("endobj")},lt=function(){var e=[];(function(){for(var e in Ee)Ee.hasOwnProperty(e)&&(!1===m||!0===m&&v.hasOwnProperty(e))&&nt(Ee[e])})(),function(){var e;for(e in Re)Re.hasOwnProperty(e)&&st(Re[e])}(),function(){for(var e in je)je.hasOwnProperty(e)&&at(je[e])}(),function(e){var t;for(t in Ce)Ce.hasOwnProperty(t)&&(Ce[t]instanceof O?ot(Ce[t]):Ce[t]instanceof R&&it(Ce[t],e))}(e),De.publish("putResources"),e.forEach(ct),ct({resourcesOid:Ke,objectOid:Number.MAX_SAFE_INTEGER}),De.publish("postPutResources")},ut=function(e){_e[e.fontName]=_e[e.fontName]||{},_e[e.fontName][e.fontStyle]=e.id},ft=function(e,t,r,n,a){var o={id:"F"+(Object.keys(Ee).length+1).toString(10),postScriptName:e,fontName:t,fontStyle:r,encoding:n,isStandardFont:a||!1,metadata:{}};return De.publish("addFont",{font:o,instance:this}),Ee[o.id]=o,ut(o),o.id},ht=b.__private__.pdfEscape=b.pdfEscape=function(e,t){return function(e,t){var r,n,a,o,i,s,c,l,u;if(a=(t=t||{}).sourceEncoding||"Unicode",i=t.outputEncoding,(t.autoencode||i)&&Ee[Se].metadata&&Ee[Se].metadata[a]&&Ee[Se].metadata[a].encoding&&(o=Ee[Se].metadata[a].encoding,!i&&Ee[Se].encoding&&(i=Ee[Se].encoding),!i&&o.codePages&&(i=o.codePages[0]),"string"==typeof i&&(i=o[i]),i)){for(c=!1,s=[],r=0,n=e.length;r<n;r++)(l=i[e.charCodeAt(r)])?s.push(String.fromCharCode(l)):s.push(e[r]),s[r].charCodeAt(0)>>8&&(c=!0);e=s.join("")}for(r=e.length;void 0===c&&0!==r;)e.charCodeAt(r-1)>>8&&(c=!0),r--;if(!c)return e;for(s=t.noBOM?[]:[254,255],r=0,n=e.length;r<n;r++){if((u=(l=e.charCodeAt(r))>>8)>>8)throw new Error("Character at position "+r+" of string '"+e+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");s.push(u),s.push(l-(u<<8))}return String.fromCharCode.apply(void 0,s)}(e,t).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},dt=b.__private__.beginPage=function(e){ne[++Ie]=[],Fe[Ie]={objId:0,contentsObjId:0,userUnit:Number(h),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number(e[0]),topRightY:Number(e[1])}},mt(Ie),ie(ne[Y])},pt=function(e,t){var r,o,s;switch(a=t||a,"string"==typeof e&&(r=x(e.toLowerCase()),Array.isArray(r)&&(o=r[0],s=r[1])),Array.isArray(e)&&(o=e[0]*xe,s=e[1]*xe),isNaN(o)&&(o=i[0],s=i[1]),(o>14400||s>14400)&&(n.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),o=Math.min(14400,o),s=Math.min(14400,s)),i=[o,s],a.substr(0,1)){case"l":s>o&&(i=[s,o]);break;case"p":o>s&&(i=[s,o])}dt(i),Gt($t),se(tr),0!==sr&&se(sr+" J"),0!==cr&&se(cr+" j"),De.publish("addPage",{pageNumber:Ie})},gt=function(e){e>0&&e<=Ie&&(ne.splice(e,1),Fe.splice(e,1),Ie--,Y>Ie&&(Y=Ie),this.setPage(Y))},mt=function(e){e>0&&e<=Ie&&(Y=e)},vt=b.__private__.getNumberOfPages=b.getNumberOfPages=function(){return ne.length-1},bt=function(e,t,r){var a,o=void 0;return r=r||{},e=void 0!==e?e:Ee[Se].fontName,t=void 0!==t?t:Ee[Se].fontStyle,a=e.toLowerCase(),void 0!==_e[a]&&void 0!==_e[a][t]?o=_e[a][t]:void 0!==_e[e]&&void 0!==_e[e][t]?o=_e[e][t]:!1===r.disableWarning&&n.warn("Unable to look up font label for font '"+e+"', '"+t+"'. Refer to getFontList() for available fonts."),o||r.noFallback||null==(o=_e.times[t])&&(o=_e.times.normal),o},yt=b.__private__.putInfo=function(){var e=qe(),t=function(e){return e};for(var r in null!==g&&(t=Nt.encryptor(e,0)),se("<<"),se("/Producer ("+ht(t("jsPDF "+P.version))+")"),we)we.hasOwnProperty(r)&&we[r]&&se("/"+r.substr(0,1).toUpperCase()+r.substr(1)+" ("+ht(t(we[r]))+")");se("/CreationDate ("+ht(t(U))+")"),se(">>"),se("endobj")},wt=b.__private__.putCatalog=function(e){var t=(e=e||{}).rootDictionaryObjId||Ye;switch(qe(),se("<<"),se("/Type /Catalog"),se("/Pages "+t+" 0 R"),he||(he="fullwidth"),he){case"fullwidth":se("/OpenAction [3 0 R /FitH null]");break;case"fullheight":se("/OpenAction [3 0 R /FitV null]");break;case"fullpage":se("/OpenAction [3 0 R /Fit]");break;case"original":se("/OpenAction [3 0 R /XYZ null null 1]");break;default:var r=""+he;"%"===r.substr(r.length-1)&&(he=parseInt(he)/100),"number"==typeof he&&se("/OpenAction [3 0 R /XYZ null null "+M(he)+"]")}switch(ve||(ve="continuous"),ve){case"continuous":se("/PageLayout /OneColumn");break;case"single":se("/PageLayout /SinglePage");break;case"two":case"twoleft":se("/PageLayout /TwoColumnLeft");break;case"tworight":se("/PageLayout /TwoColumnRight")}ge&&se("/PageMode /"+ge),De.publish("putCatalog"),se(">>"),se("endobj")},St=b.__private__.putTrailer=function(){se("trailer"),se("<<"),se("/Size "+(Z+1)),se("/Root "+Z+" 0 R"),se("/Info "+(Z-1)+" 0 R"),null!==g&&se("/Encrypt "+Nt.oid+" 0 R"),se("/ID [ <"+H+"> <"+H+"> ]"),se(">>")},xt=b.__private__.putHeader=function(){se("%PDF-"+y),se("%ºß¬à")},At=b.__private__.putXRef=function(){var e="0000000000";se("xref"),se("0 "+(Z+1)),se("0000000000 65535 f ");for(var t=1;t<=Z;t++)"function"==typeof Q[t]?se((e+Q[t]()).slice(-10)+" 00000 n "):void 0!==Q[t]?se((e+Q[t]).slice(-10)+" 00000 n "):se("0000000000 00000 n ")},kt=b.__private__.buildDocument=function(){Z=0,te=0,ee=[],Q=[],re=[],Ye=$e(),Ke=$e(),ie(ee),De.publish("buildDocument"),xt(),rt(),function(){De.publish("putAdditionalObjects");for(var e=0;e<re.length;e++){var t=re[e];Ge(t.objId,!0),se(t.content),se("endobj")}De.publish("postPutAdditionalObjects")}(),lt(),null!==g&&(Nt.oid=qe(),se("<<"),se("/Filter /Standard"),se("/V "+Nt.v),se("/R "+Nt.r),se("/U <"+Nt.toHexString(Nt.U)+">"),se("/O <"+Nt.toHexString(Nt.O)+">"),se("/P "+Nt.P),se(">>"),se("endobj")),yt(),wt();var e=te;return At(),St(),se("startxref"),se(""+e),se("%%EOF"),ie(ne[Y]),ee.join("\n")},Tt=b.__private__.getBlob=function(e){return new Blob([le(e)],{type:"application/pdf"})},Et=b.output=b.__private__.output=function(e){return e.foo=function(){try{return e.apply(this,arguments)}catch(e){var r=e.stack||"";~r.indexOf(" at ")&&(r=r.split(" at ")[1]);var n="Error in function "+r.split("\n")[0].split("<")[0]+": "+e.message;if(!t.console)throw new Error(n);t.console.error(n,e),t.alert&&alert(n)}},e.foo.bar=e,e.foo}((function(e,r){switch("string"==typeof(r=r||{})?r={filename:r}:r.filename=r.filename||"generated.pdf",e){case void 0:return kt();case"save":b.save(r.filename);break;case"arraybuffer":return le(kt());case"blob":return Tt(kt());case"bloburi":case"bloburl":if(void 0!==t.URL&&"function"==typeof t.URL.createObjectURL)return t.URL&&t.URL.createObjectURL(Tt(kt()))||void 0;n.warn("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":var a="",o=kt();try{a=c(o)}catch(e){a=c(unescape(encodeURIComponent(o)))}return"data:application/pdf;filename="+r.filename+";base64,"+a;case"pdfobjectnewwindow":if("[object Window]"===Object.prototype.toString.call(t)){var i='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><script src="'+(r.pdfObjectUrl||"https://cdnjs.cloudflare.com/ajax/libs/pdfobject/2.1.1/pdfobject.min.js")+'"><\/script><script >PDFObject.embed("'+this.output("dataurlstring")+'", '+JSON.stringify(r)+");<\/script></body></html>",s=t.open();return null!==s&&s.document.write(i),s}throw new Error("The option pdfobjectnewwindow just works in a browser-environment.");case"pdfjsnewwindow":if("[object Window]"===Object.prototype.toString.call(t)){var l='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><iframe id="pdfViewer" src="'+(r.pdfJsUrl||"examples/PDF.js/web/viewer.html")+"?file=&downloadName="+r.filename+'" width="500px" height="400px" /></body></html>',u=t.open();if(null!==u){u.document.write(l);var f=this;u.document.documentElement.querySelector("#pdfViewer").onload=function(){u.document.title=r.filename,u.document.documentElement.querySelector("#pdfViewer").contentWindow.PDFViewerApplication.open(f.output("bloburl"))}}return u}throw new Error("The option pdfjsnewwindow just works in a browser-environment.");case"dataurlnewwindow":if("[object Window]"!==Object.prototype.toString.call(t))throw new Error("The option dataurlnewwindow just works in a browser-environment.");var h='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><iframe src="'+this.output("datauristring",r)+'"></iframe></body></html>',d=t.open();if(null!==d&&(d.document.write(h),d.document.title=r.filename),d||"undefined"==typeof safari)return d;break;case"datauri":case"dataurl":return t.document.location.href=this.output("datauristring",r);default:return null}})),_t=function(e){return!0===Array.isArray(Me)&&Me.indexOf(e)>-1};switch(o){case"pt":xe=1;break;case"mm":xe=72/25.4;break;case"cm":xe=72/2.54;break;case"in":xe=72;break;case"px":xe=1==_t("px_scaling")?.75:96/72;break;case"pc":case"em":xe=12;break;case"ex":xe=6;break;default:throw new Error("Invalid unit: "+o)}var Nt=null;G(),V();var Ct=b.__private__.getPageInfo=b.getPageInfo=function(e){if(isNaN(e)||e%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfo");return{objId:Fe[e].objId,pageNumber:e,pageContext:Fe[e]}},Ot=b.__private__.getPageInfoByObjId=function(e){if(isNaN(e)||e%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfoByObjId");for(var t in Fe)if(Fe[t].objId===e)break;return Ct(t)},Rt=b.__private__.getCurrentPageInfo=b.getCurrentPageInfo=function(){return{objId:Fe[Y].objId,pageNumber:Y,pageContext:Fe[Y]}};b.addPage=function(){return pt.apply(this,arguments),this},b.setPage=function(){return mt.apply(this,arguments),ie.call(this,ne[Y]),this},b.insertPage=function(e){return this.addPage(),this.movePage(Y,e),this},b.movePage=function(e,t){var r,n;if(e>t){r=ne[e],n=Fe[e];for(var a=e;a>t;a--)ne[a]=ne[a-1],Fe[a]=Fe[a-1];ne[t]=r,Fe[t]=n,this.setPage(t)}else if(e<t){r=ne[e],n=Fe[e];for(var o=e;o<t;o++)ne[o]=ne[o+1],Fe[o]=Fe[o+1];ne[t]=r,Fe[t]=n,this.setPage(t)}return this},b.deletePage=function(){return gt.apply(this,arguments),this},b.__private__.text=b.text=function(e,t,r,n,a){var o,i,s,c,l,u,f,h,d=(n=n||{}).scope||this;if("number"==typeof e&&"number"==typeof t&&("string"==typeof r||Array.isArray(r))){var p=r;r=t,t=e,e=p}if(arguments[3]instanceof Ue==0?(s=arguments[4],c=arguments[5],"object"==typeof(f=arguments[3])&&null!==f||("string"==typeof s&&(c=s,s=null),"string"==typeof f&&(c=f,f=null),"number"==typeof f&&(s=f,f=null),n={flags:f,angle:s,align:c})):(F("The transform parameter of text() with a Matrix value"),h=a),isNaN(t)||isNaN(r)||null==e)throw new Error("Invalid arguments passed to jsPDF.text");if(0===e.length)return d;var g,m="",b="number"==typeof n.lineHeightFactor?n.lineHeightFactor:qt,y=d.internal.scaleFactor;function w(e){return e=e.split("\t").join(Array(n.TabLen||9).join(" ")),ht(e,f)}function S(e){for(var t,r=e.concat(),n=[],a=r.length;a--;)"string"==typeof(t=r.shift())?n.push(t):Array.isArray(e)&&(1===t.length||void 0===t[1]&&void 0===t[2])?n.push(t[0]):n.push([t[0],t[1],t[2]]);return n}function x(e,t){var r;if("string"==typeof e)r=t(e)[0];else if(Array.isArray(e)){for(var n,a,o=e.concat(),i=[],s=o.length;s--;)"string"==typeof(n=o.shift())?i.push(t(n)[0]):Array.isArray(n)&&"string"==typeof n[0]&&(a=t(n[0],n[1],n[2]),i.push([a[0],a[1],a[2]]));r=i}return r}var T=!1,E=!0;if("string"==typeof e)T=!0;else if(Array.isArray(e)){var _=e.concat();i=[];for(var N,C=_.length;C--;)("string"!=typeof(N=_.shift())||Array.isArray(N)&&"string"!=typeof N[0])&&(E=!1);T=E}if(!1===T)throw new Error('Type of text must be string or Array. "'+e+'" is not recognized.');"string"==typeof e&&(e=e.match(/[\r?\n]/)?e.split(/\r\n|\r|\n/g):[e]);var O=fe/d.internal.scaleFactor,R=O*(qt-1);switch(n.baseline){case"bottom":r-=R;break;case"top":r+=O-R;break;case"hanging":r+=O-2*R;break;case"middle":r+=O/2-R}if((u=n.maxWidth||0)>0&&("string"==typeof e?e=d.splitTextToSize(e,u):"[object Array]"===Object.prototype.toString.call(e)&&(e=e.reduce((function(e,t){return e.concat(d.splitTextToSize(t,u))}),[]))),o={text:e,x:t,y:r,options:n,mutex:{pdfEscape:ht,activeFontKey:Se,fonts:Ee,activeFontSize:fe}},De.publish("preProcessText",o),e=o.text,s=(n=o.options).angle,h instanceof Ue==0&&s&&"number"==typeof s){s*=Math.PI/180,0===n.rotationDirection&&(s=-s),k===A.ADVANCED&&(s=-s);var P=Math.cos(s),L=Math.sin(s);h=new Ue(P,L,-L,P,0,0)}else s&&s instanceof Ue&&(h=s);k!==A.ADVANCED||h||(h=ze),void 0!==(l=n.charSpace||or)&&(m+=I(B(l))+" Tc\n",this.setCharSpace(this.getCharSpace()||0)),n.lang;var D=-1,M=void 0!==n.renderingMode?n.renderingMode:n.stroke,j=d.internal.getCurrentPageInfo().pageContext;switch(M){case 0:case!1:case"fill":D=0;break;case 1:case!0:case"stroke":D=1;break;case 2:case"fillThenStroke":D=2;break;case 3:case"invisible":D=3;break;case 4:case"fillAndAddForClipping":D=4;break;case 5:case"strokeAndAddPathForClipping":D=5;break;case 6:case"fillThenStrokeAndAddToPathForClipping":D=6;break;case 7:case"addToPathForClipping":D=7}var W=void 0!==j.usedRenderingMode?j.usedRenderingMode:-1;-1!==D?m+=D+" Tr\n":-1!==W&&(m+="0 Tr\n"),-1!==D&&(j.usedRenderingMode=D),c=n.align||"left";var U,H=fe*b,z=d.internal.pageSize.getWidth(),V=Ee[Se];l=n.charSpace||or,u=n.maxWidth||0,f=Object.assign({autoencode:!0,noBOM:!0},n.flags);var q=[];if("[object Array]"===Object.prototype.toString.call(e)){var $;i=S(e),"left"!==c&&(U=i.map((function(e){return d.getStringUnitWidth(e,{font:V,charSpace:l,fontSize:fe,doKerning:!1})*fe/y})));var G,X=0;if("right"===c){t-=U[0],e=[],C=i.length;for(var Y=0;Y<C;Y++)0===Y?(G=Jt(t),$=Zt(r)):(G=B(X-U[Y]),$=-H),e.push([i[Y],G,$]),X=U[Y]}else if("center"===c){t-=U[0]/2,e=[],C=i.length;for(var K=0;K<C;K++)0===K?(G=Jt(t),$=Zt(r)):(G=B((X-U[K])/2),$=-H),e.push([i[K],G,$]),X=U[K]}else if("left"===c){e=[],C=i.length;for(var J=0;J<C;J++)e.push(i[J])}else{if("justify"!==c)throw new Error('Unrecognized alignment option, use "left", "center", "right" or "justify".');e=[],C=i.length,u=0!==u?u:z;for(var Z=0;Z<C;Z++)$=0===Z?Zt(r):-H,G=0===Z?Jt(t):0,Z<C-1&&q.push(I(B((u-U[Z])/(i[Z].split(" ").length-1)))),e.push([i[Z],G,$])}}!0===("boolean"==typeof n.R2L?n.R2L:pe)&&(e=x(e,(function(e,t,r){return[e.split("").reverse().join(""),t,r]}))),o={text:e,x:t,y:r,options:n,mutex:{pdfEscape:ht,activeFontKey:Se,fonts:Ee,activeFontSize:fe}},De.publish("postProcessText",o),e=o.text,g=o.mutex.isHex||!1;var Q=Ee[Se].encoding;"WinAnsiEncoding"!==Q&&"StandardEncoding"!==Q||(e=x(e,(function(e,t,r){return[w(e),t,r]}))),i=S(e),e=[];for(var ee,te,re,ne=Array.isArray(i[0])?1:0,ae="",oe=function(e,t,r){var a="";return r instanceof Ue?(r="number"==typeof n.angle?He(r,new Ue(1,0,0,1,e,t)):He(new Ue(1,0,0,1,e,t),r),k===A.ADVANCED&&(r=He(new Ue(1,0,0,-1,0,0),r)),a=r.join(" ")+" Tm\n"):a=I(e)+" "+I(t)+" Td\n",a},ie=0;ie<i.length;ie++){switch(ae="",ne){case 1:re=(g?"<":"(")+i[ie][0]+(g?">":")"),ee=parseFloat(i[ie][1]),te=parseFloat(i[ie][2]);break;case 0:re=(g?"<":"(")+i[ie]+(g?">":")"),ee=Jt(t),te=Zt(r)}void 0!==q&&void 0!==q[ie]&&(ae=q[ie]+" Tw\n"),0===ie?e.push(ae+oe(ee,te,h)+re):0===ne?e.push(ae+re):1===ne&&e.push(ae+oe(ee,te,h)+re)}e=0===ne?e.join(" Tj\nT* "):e.join(" Tj\n"),e+=" Tj\n";var ce="BT\n/";return ce+=Se+" "+fe+" Tf\n",ce+=I(fe*b)+" TL\n",ce+=nr+"\n",ce+=m,ce+=e,se(ce+="ET"),v[Se]=!0,d};var Pt=b.__private__.clip=b.clip=function(e){return se("evenodd"===e?"W*":"W"),this};b.clipEvenOdd=function(){return Pt("evenodd")},b.__private__.discardPath=b.discardPath=function(){return se("n"),this};var Lt=b.__private__.isValidStyle=function(e){var t=!1;return-1!==[void 0,null,"S","D","F","DF","FD","f","f*","B","B*","n"].indexOf(e)&&(t=!0),t};b.__private__.setDefaultPathOperation=b.setDefaultPathOperation=function(e){return Lt(e)&&(p=e),this};var It=b.__private__.getStyle=b.getStyle=function(e){var t=p;switch(e){case"D":case"S":t="S";break;case"F":t="f";break;case"FD":case"DF":t="B";break;case"f":case"f*":case"B":case"B*":t=e}return t},Ft=b.close=function(){return se("h"),this};b.stroke=function(){return se("S"),this},b.fill=function(e){return Dt("f",e),this},b.fillEvenOdd=function(e){return Dt("f*",e),this},b.fillStroke=function(e){return Dt("B",e),this},b.fillStrokeEvenOdd=function(e){return Dt("B*",e),this};var Dt=function(e,t){"object"==typeof t?Bt(t,e):se(e)},Mt=function(e){null===e||k===A.ADVANCED&&void 0===e||(e=It(e),se(e))};function jt(e,t,r,n,a){var o=new R(t||this.boundingBox,r||this.xStep,n||this.yStep,this.gState,a||this.matrix);o.stream=this.stream;var i=e+"$$"+this.cloneIndex+++"$$";return Ve(i,o),o}var Bt=function(e,t){var r=Oe[e.key],n=Ce[r];if(n instanceof O)se("q"),se(Wt(t)),n.gState&&b.setGState(n.gState),se(e.matrix.toString()+" cm"),se("/"+r+" sh"),se("Q");else if(n instanceof R){var a=new Ue(1,0,0,-1,0,vr());e.matrix&&(a=a.multiply(e.matrix||ze),r=jt.call(n,e.key,e.boundingBox,e.xStep,e.yStep,a).id),se("q"),se("/Pattern cs"),se("/"+r+" scn"),n.gState&&b.setGState(n.gState),se(t),se("Q")}},Wt=function(e){switch(e){case"f":case"F":case"n":return"W n";case"f*":return"W* n";case"B":case"S":return"W S";case"B*":return"W* S"}},Ut=b.moveTo=function(e,t){return se(I(B(e))+" "+I(W(t))+" m"),this},Ht=b.lineTo=function(e,t){return se(I(B(e))+" "+I(W(t))+" l"),this},zt=b.curveTo=function(e,t,r,n,a,o){return se([I(B(e)),I(W(t)),I(B(r)),I(W(n)),I(B(a)),I(W(o)),"c"].join(" ")),this};b.__private__.line=b.line=function(e,t,r,n,a){if(isNaN(e)||isNaN(t)||isNaN(r)||isNaN(n)||!Lt(a))throw new Error("Invalid arguments passed to jsPDF.line");return k===A.COMPAT?this.lines([[r-e,n-t]],e,t,[1,1],a||"S"):this.lines([[r-e,n-t]],e,t,[1,1]).stroke()},b.__private__.lines=b.lines=function(e,t,r,n,a,o){var i,s,c,l,u,f,h,d,p,g,m,v;if("number"==typeof e&&(v=r,r=t,t=e,e=v),n=n||[1,1],o=o||!1,isNaN(t)||isNaN(r)||!Array.isArray(e)||!Array.isArray(n)||!Lt(a)||"boolean"!=typeof o)throw new Error("Invalid arguments passed to jsPDF.lines");for(Ut(t,r),i=n[0],s=n[1],l=e.length,g=t,m=r,c=0;c<l;c++)2===(u=e[c]).length?(g=u[0]*i+g,m=u[1]*s+m,Ht(g,m)):(f=u[0]*i+g,h=u[1]*s+m,d=u[2]*i+g,p=u[3]*s+m,g=u[4]*i+g,m=u[5]*s+m,zt(f,h,d,p,g,m));return o&&Ft(),Mt(a),this},b.path=function(e){for(var t=0;t<e.length;t++){var r=e[t],n=r.c;switch(r.op){case"m":Ut(n[0],n[1]);break;case"l":Ht(n[0],n[1]);break;case"c":zt.apply(this,n);break;case"h":Ft()}}return this},b.__private__.rect=b.rect=function(e,t,r,n,a){if(isNaN(e)||isNaN(t)||isNaN(r)||isNaN(n)||!Lt(a))throw new Error("Invalid arguments passed to jsPDF.rect");return k===A.COMPAT&&(n=-n),se([I(B(e)),I(W(t)),I(B(r)),I(B(n)),"re"].join(" ")),Mt(a),this},b.__private__.triangle=b.triangle=function(e,t,r,n,a,o,i){if(isNaN(e)||isNaN(t)||isNaN(r)||isNaN(n)||isNaN(a)||isNaN(o)||!Lt(i))throw new Error("Invalid arguments passed to jsPDF.triangle");return this.lines([[r-e,n-t],[a-r,o-n],[e-a,t-o]],e,t,[1,1],i,!0),this},b.__private__.roundedRect=b.roundedRect=function(e,t,r,n,a,o,i){if(isNaN(e)||isNaN(t)||isNaN(r)||isNaN(n)||isNaN(a)||isNaN(o)||!Lt(i))throw new Error("Invalid arguments passed to jsPDF.roundedRect");var s=4/3*(Math.SQRT2-1);return a=Math.min(a,.5*r),o=Math.min(o,.5*n),this.lines([[r-2*a,0],[a*s,0,a,o-o*s,a,o],[0,n-2*o],[0,o*s,-a*s,o,-a,o],[2*a-r,0],[-a*s,0,-a,-o*s,-a,-o],[0,2*o-n],[0,-o*s,a*s,-o,a,-o]],e+a,t,[1,1],i,!0),this},b.__private__.ellipse=b.ellipse=function(e,t,r,n,a){if(isNaN(e)||isNaN(t)||isNaN(r)||isNaN(n)||!Lt(a))throw new Error("Invalid arguments passed to jsPDF.ellipse");var o=4/3*(Math.SQRT2-1)*r,i=4/3*(Math.SQRT2-1)*n;return Ut(e+r,t),zt(e+r,t-i,e+o,t-n,e,t-n),zt(e-o,t-n,e-r,t-i,e-r,t),zt(e-r,t+i,e-o,t+n,e,t+n),zt(e+o,t+n,e+r,t+i,e+r,t),Mt(a),this},b.__private__.circle=b.circle=function(e,t,r,n){if(isNaN(e)||isNaN(t)||isNaN(r)||!Lt(n))throw new Error("Invalid arguments passed to jsPDF.circle");return this.ellipse(e,t,r,r,n)},b.setFont=function(e,t,r){return r&&(t=L(t,r)),Se=bt(e,t,{disableWarning:!1}),this};var Vt=b.__private__.getFont=b.getFont=function(){return Ee[bt.apply(b,arguments)]};b.__private__.getFontList=b.getFontList=function(){var e,t,r={};for(e in _e)if(_e.hasOwnProperty(e))for(t in r[e]=[],_e[e])_e[e].hasOwnProperty(t)&&r[e].push(t);return r},b.addFont=function(e,t,r,n,a){var o=["StandardEncoding","MacRomanEncoding","Identity-H","WinAnsiEncoding"];return arguments[3]&&-1!==o.indexOf(arguments[3])?a=arguments[3]:arguments[3]&&-1==o.indexOf(arguments[3])&&(r=L(r,n)),ft.call(this,e,t,r,a=a||"Identity-H")};var qt,$t=e.lineWidth||.200025,Gt=b.__private__.setLineWidth=b.setLineWidth=function(e){return se(I(B(e))+" w"),this};b.__private__.setLineDash=P.API.setLineDash=P.API.setLineDashPattern=function(e,t){if(e=e||[],t=t||0,isNaN(t)||!Array.isArray(e))throw new Error("Invalid arguments passed to jsPDF.setLineDash");return e=e.map((function(e){return I(B(e))})).join(" "),t=I(B(t)),se("["+e+"] "+t+" d"),this};var Xt=b.__private__.getLineHeight=b.getLineHeight=function(){return fe*qt};b.__private__.getLineHeight=b.getLineHeight=function(){return fe*qt};var Yt=b.__private__.setLineHeightFactor=b.setLineHeightFactor=function(e){return"number"==typeof(e=e||1.15)&&(qt=e),this},Kt=b.__private__.getLineHeightFactor=b.getLineHeightFactor=function(){return qt};Yt(e.lineHeight);var Jt=b.__private__.getHorizontalCoordinate=function(e){return B(e)},Zt=b.__private__.getVerticalCoordinate=function(e){return k===A.ADVANCED?e:Fe[Y].mediaBox.topRightY-Fe[Y].mediaBox.bottomLeftY-B(e)},Qt=b.__private__.getHorizontalCoordinateString=b.getHorizontalCoordinateString=function(e){return I(Jt(e))},er=b.__private__.getVerticalCoordinateString=b.getVerticalCoordinateString=function(e){return I(Zt(e))},tr=e.strokeColor||"0 G";b.__private__.getStrokeColor=b.getDrawColor=function(){return Je(tr)},b.__private__.setStrokeColor=b.setDrawColor=function(e,t,r,n){return tr=Ze({ch1:e,ch2:t,ch3:r,ch4:n,pdfColorType:"draw",precision:2}),se(tr),this};var rr=e.fillColor||"0 g";b.__private__.getFillColor=b.getFillColor=function(){return Je(rr)},b.__private__.setFillColor=b.setFillColor=function(e,t,r,n){return rr=Ze({ch1:e,ch2:t,ch3:r,ch4:n,pdfColorType:"fill",precision:2}),se(rr),this};var nr=e.textColor||"0 g",ar=b.__private__.getTextColor=b.getTextColor=function(){return Je(nr)};b.__private__.setTextColor=b.setTextColor=function(e,t,r,n){return nr=Ze({ch1:e,ch2:t,ch3:r,ch4:n,pdfColorType:"text",precision:3}),this};var or=e.charSpace,ir=b.__private__.getCharSpace=b.getCharSpace=function(){return parseFloat(or||0)};b.__private__.setCharSpace=b.setCharSpace=function(e){if(isNaN(e))throw new Error("Invalid argument passed to jsPDF.setCharSpace");return or=e,this};var sr=0;b.CapJoinStyles={0:0,butt:0,but:0,miter:0,1:1,round:1,rounded:1,circle:1,2:2,projecting:2,project:2,square:2,bevel:2},b.__private__.setLineCap=b.setLineCap=function(e){var t=b.CapJoinStyles[e];if(void 0===t)throw new Error("Line cap style of '"+e+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return sr=t,se(t+" J"),this};var cr=0;b.__private__.setLineJoin=b.setLineJoin=function(e){var t=b.CapJoinStyles[e];if(void 0===t)throw new Error("Line join style of '"+e+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return cr=t,se(t+" j"),this},b.__private__.setLineMiterLimit=b.__private__.setMiterLimit=b.setLineMiterLimit=b.setMiterLimit=function(e){if(e=e||0,isNaN(e))throw new Error("Invalid argument passed to jsPDF.setLineMiterLimit");return se(I(B(e))+" M"),this},b.GState=N,b.setGState=function(e){(e="string"==typeof e?Re[Pe[e]]:lr(null,e)).equals(Le)||(se("/"+e.id+" gs"),Le=e)};var lr=function(e,t){if(!e||!Pe[e]){var r=!1;for(var n in Re)if(Re.hasOwnProperty(n)&&Re[n].equals(t)){r=!0;break}if(r)t=Re[n];else{var a="GS"+(Object.keys(Re).length+1).toString(10);Re[a]=t,t.id=a}return e&&(Pe[e]=t.id),De.publish("addGState",t),t}};b.addGState=function(e,t){return lr(e,t),this},b.saveGraphicsState=function(){return se("q"),Ne.push({key:Se,size:fe,color:nr}),this},b.restoreGraphicsState=function(){se("Q");var e=Ne.pop();return Se=e.key,fe=e.size,nr=e.color,Le=null,this},b.setCurrentTransformationMatrix=function(e){return se(e.toString()+" cm"),this},b.comment=function(e){return se("#"+e),this};var ur=function(e,t){var r=e||0;Object.defineProperty(this,"x",{enumerable:!0,get:function(){return r},set:function(e){isNaN(e)||(r=parseFloat(e))}});var n=t||0;Object.defineProperty(this,"y",{enumerable:!0,get:function(){return n},set:function(e){isNaN(e)||(n=parseFloat(e))}});var a="pt";return Object.defineProperty(this,"type",{enumerable:!0,get:function(){return a},set:function(e){a=e.toString()}}),this},fr=function(e,t,r,n){ur.call(this,e,t),this.type="rect";var a=r||0;Object.defineProperty(this,"w",{enumerable:!0,get:function(){return a},set:function(e){isNaN(e)||(a=parseFloat(e))}});var o=n||0;return Object.defineProperty(this,"h",{enumerable:!0,get:function(){return o},set:function(e){isNaN(e)||(o=parseFloat(e))}}),this},hr=function(){this.page=Ie,this.currentPage=Y,this.pages=ne.slice(0),this.pagesContext=Fe.slice(0),this.x=Ae,this.y=ke,this.matrix=Te,this.width=gr(Y),this.height=vr(Y),this.outputDestination=oe,this.id="",this.objectNumber=-1};hr.prototype.restore=function(){Ie=this.page,Y=this.currentPage,Fe=this.pagesContext,ne=this.pages,Ae=this.x,ke=this.y,Te=this.matrix,mr(Y,this.width),br(Y,this.height),oe=this.outputDestination};var dr=function(e,t,r,n,a){We.push(new hr),Ie=Y=0,ne=[],Ae=e,ke=t,Te=a,dt([r,n])};for(var pr in b.beginFormObject=function(e,t,r,n,a){return dr(e,t,r,n,a),this},b.endFormObject=function(e){return function(e){if(!Be[e]){var t=new hr,r="Xo"+(Object.keys(je).length+1).toString(10);t.id=r,Be[e]=r,je[r]=t,De.publish("addFormObject",t),We.pop().restore()}}(e),this},b.doFormObject=function(e,t){var r=je[Be[e]];return se("q"),se(t.toString()+" cm"),se("/"+r.id+" Do"),se("Q"),this},b.getFormObject=function(e){var t=je[Be[e]];return{x:t.x,y:t.y,width:t.width,height:t.height,matrix:t.matrix}},b.save=function(e,r){return e=e||"generated.pdf",(r=r||{}).returnPromise=r.returnPromise||!1,!1===r.returnPromise?(l(Tt(kt()),e),"function"==typeof l.unload&&t.setTimeout&&setTimeout(l.unload,911),this):new Promise((function(r,n){try{var a=l(Tt(kt()),e);"function"==typeof l.unload&&t.setTimeout&&setTimeout(l.unload,911),r(a)}catch(e){n(e.message)}}))},P.API)P.API.hasOwnProperty(pr)&&("events"===pr&&P.API.events.length?function(e,t){var r,n,a;for(a=t.length-1;-1!==a;a--)r=t[a][0],n=t[a][1],e.subscribe.apply(e,[r].concat("function"==typeof n?[n]:n))}(De,P.API.events):b[pr]=P.API[pr]);var gr=b.getPageWidth=function(e){return(Fe[e=e||Y].mediaBox.topRightX-Fe[e].mediaBox.bottomLeftX)/xe},mr=b.setPageWidth=function(e,t){Fe[e].mediaBox.topRightX=t*xe+Fe[e].mediaBox.bottomLeftX},vr=b.getPageHeight=function(e){return(Fe[e=e||Y].mediaBox.topRightY-Fe[e].mediaBox.bottomLeftY)/xe},br=b.setPageHeight=function(e,t){Fe[e].mediaBox.topRightY=t*xe+Fe[e].mediaBox.bottomLeftY};return b.internal={pdfEscape:ht,getStyle:It,getFont:Vt,getFontSize:de,getCharSpace:ir,getTextColor:ar,getLineHeight:Xt,getLineHeightFactor:Kt,write:ce,getHorizontalCoordinate:Jt,getVerticalCoordinate:Zt,getCoordinateString:Qt,getVerticalCoordinateString:er,collections:{},newObject:qe,newAdditionalObject:Xe,newObjectDeferred:$e,newObjectDeferredBegin:Ge,getFilters:Qe,putStream:et,events:De,scaleFactor:xe,pageSize:{getWidth:function(){return gr(Y)},setWidth:function(e){mr(Y,e)},getHeight:function(){return vr(Y)},setHeight:function(e){br(Y,e)}},encryptionOptions:g,encryption:Nt,getEncryptor:function(e){return null!==g?Nt.encryptor(e,0):function(e){return e}},output:Et,getNumberOfPages:vt,pages:ne,out:se,f2:M,f3:j,getPageInfo:Ct,getPageInfoByObjId:Ot,getCurrentPageInfo:Rt,getPDFVersion:w,Point:ur,Rectangle:fr,Matrix:Ue,hasHotfix:_t},Object.defineProperty(b.internal.pageSize,"width",{get:function(){return gr(Y)},set:function(e){mr(Y,e)},enumerable:!0,configurable:!0}),Object.defineProperty(b.internal.pageSize,"height",{get:function(){return vr(Y)},set:function(e){br(Y,e)},enumerable:!0,configurable:!0}),function(e){for(var t=0,r=ue.length;t<r;t++){var n=ft.call(this,e[t][0],e[t][1],e[t][2],ue[t][3],!0);!1===m&&(v[n]=!0);var a=e[t][0].split("-");ut({id:n,fontName:a[0],fontStyle:a[1]||""})}De.publish("addFonts",{fonts:Ee,dictionary:_e})}.call(b,ue),Se="F1",pt(i,a),De.publish("initialized"),b}E.prototype.lsbFirstWord=function(e){return String.fromCharCode(e>>0&255,e>>8&255,e>>16&255,e>>24&255)},E.prototype.toHexString=function(e){return e.split("").map((function(e){return("0"+(255&e.charCodeAt(0)).toString(16)).slice(-2)})).join("")},E.prototype.hexToBytes=function(e){for(var t=[],r=0;r<e.length;r+=2)t.push(String.fromCharCode(parseInt(e.substr(r,2),16)));return t.join("")},E.prototype.processOwnerPassword=function(e,t){return k(x(t).substr(0,5),e)},E.prototype.encryptor=function(e,t){let r=x(this.encryptionKey+String.fromCharCode(255&e,e>>8&255,e>>16&255,255&t,t>>8&255)).substr(0,10);return function(e){return k(r,e)}},N.prototype.equals=function(e){var t,r="id,objectNumber,equals";if(!e||typeof e!=typeof this)return!1;var n=0;for(t in this)if(!(r.indexOf(t)>=0)){if(this.hasOwnProperty(t)&&!e.hasOwnProperty(t))return!1;if(this[t]!==e[t])return!1;n++}for(t in e)e.hasOwnProperty(t)&&r.indexOf(t)<0&&n--;return 0===n},P.API={events:[]},P.version="2.3.1";var L=P.API,I=1,F=function(e){return e.replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},D=function(e){return e.replace(/\\\\/g,"\\").replace(/\\\(/g,"(").replace(/\\\)/g,")")},M=function(e){return e.toFixed(2)},j=function(e){return e.toFixed(5)};L.__acroform__={};var B=function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e},W=function(e){return e*I},U=function(e){var t=new ne,r=ve.internal.getHeight(e)||0,n=ve.internal.getWidth(e)||0;return t.BBox=[0,0,Number(M(n)),Number(M(r))],t},H=L.__acroform__.setBit=function(e,t){if(e=e||0,t=t||0,isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBit");return e|1<<t},z=L.__acroform__.clearBit=function(e,t){if(e=e||0,t=t||0,isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBit");return e&~(1<<t)},V=L.__acroform__.getBit=function(e,t){if(isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBit");return 0==(e&1<<t)?0:1},q=L.__acroform__.getBitForPdf=function(e,t){if(isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBitForPdf");return V(e,t-1)},$=L.__acroform__.setBitForPdf=function(e,t){if(isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBitForPdf");return H(e,t-1)},G=L.__acroform__.clearBitForPdf=function(e,t){if(isNaN(e)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBitForPdf");return z(e,t-1)},X=L.__acroform__.calculateCoordinates=function(e,t){var r=t.internal.getHorizontalCoordinate,n=t.internal.getVerticalCoordinate,a=e[0],o=e[1],i=e[2],s=e[3],c={};return c.lowerLeft_X=r(a)||0,c.lowerLeft_Y=n(o+s)||0,c.upperRight_X=r(a+i)||0,c.upperRight_Y=n(o)||0,[Number(M(c.lowerLeft_X)),Number(M(c.lowerLeft_Y)),Number(M(c.upperRight_X)),Number(M(c.upperRight_Y))]},Y=function(e){if(e.appearanceStreamContent)return e.appearanceStreamContent;if(e.V||e.DV){var t=[],r=e._V||e.DV,n=K(e,r),a=e.scope.internal.getFont(e.fontName,e.fontStyle).id;t.push("/Tx BMC"),t.push("q"),t.push("BT"),t.push(e.scope.__private__.encodeColorString(e.color)),t.push("/"+a+" "+M(n.fontSize)+" Tf"),t.push("1 0 0 1 0 0 Tm"),t.push(n.text),t.push("ET"),t.push("Q"),t.push("EMC");var o=U(e);return o.scope=e.scope,o.stream=t.join("\n"),o}},K=function(e,t){var r=0===e.fontSize?e.maxFontSize:e.fontSize,n={text:"",fontSize:""},a=(t=")"==(t="("==t.substr(0,1)?t.substr(1):t).substr(t.length-1)?t.substr(0,t.length-1):t).split(" "),o=r,i=ve.internal.getHeight(e)||0;i=i<0?-i:i;var s=ve.internal.getWidth(e)||0;s=s<0?-s:s;var c=function(t,r,n){if(t+1<a.length){var o=r+" "+a[t+1];return J(o,e,n).width<=s-4}return!1};o++;e:for(;o>0;){t="",o--;var l,u,f=J("3",e,o).height,h=e.multiline?i-o:(i-f)/2,d=h+=2,p=0,g=0;if(o<=0){t="(...) Tj\n",t+="% Width of Text: "+J(t,e,o=12).width+", FieldWidth:"+s+"\n";break}var m="",v=0;for(var b in a)if(a.hasOwnProperty(b)){m=" "==(m+=a[b]+" ").substr(m.length-1)?m.substr(0,m.length-1):m;var y=parseInt(b),w=c(y,m,o),S=b>=a.length-1;if(w&&!S){m+=" ";continue}if(w||S){if(S)g=y;else if(e.multiline&&(f+2)*(v+2)+2>i)continue e}else{if(!e.multiline)continue e;if((f+2)*(v+2)+2>i)continue e;g=y}for(var x="",A=p;A<=g;A++)x+=a[A]+" ";switch(x=" "==x.substr(x.length-1)?x.substr(0,x.length-1):x,u=J(x,e,o).width,e.textAlign){case"right":l=s-u-2;break;case"center":l=(s-u)/2;break;default:l=2}t+=M(l)+" "+M(d)+" Td\n",t+="("+F(x)+") Tj\n",t+=-M(l)+" 0 Td\n",d=-(o+2),u=0,p=g+1,v++,m=""}break}return n.text=t,n.fontSize=o,n},J=function(e,t,r){var n=t.scope.internal.getFont(t.fontName,t.fontStyle),a=t.scope.getStringUnitWidth(e,{font:n,fontSize:parseFloat(r),charSpace:0})*parseFloat(r);return{height:t.scope.getStringUnitWidth("3",{font:n,fontSize:parseFloat(r),charSpace:0})*parseFloat(r)*1.5,width:a}},Z={fields:[],xForms:[],acroFormDictionaryRoot:null,printedOut:!1,internal:null,isInitialized:!1},Q=function(e,t){var r={type:"reference",object:e};void 0===t.internal.getPageInfo(e.page).pageContext.annotations.find((function(e){return e.type===r.type&&e.object===r.object}))&&t.internal.getPageInfo(e.page).pageContext.annotations.push(r)},ee=L.__acroform__.arrayToPdfArray=function(e,t,r){var n=function(e){return e};if(Array.isArray(e)){for(var a="[",o=0;o<e.length;o++)switch(0!==o&&(a+=" "),typeof e[o]){case"boolean":case"number":case"object":a+=e[o].toString();break;case"string":"/"!==e[o].substr(0,1)?(void 0!==t&&r&&(n=r.internal.getEncryptor(t)),a+="("+F(n(e[o].toString()))+")"):a+=e[o].toString()}return a+"]"}throw new Error("Invalid argument passed to jsPDF.__acroform__.arrayToPdfArray")},te=function(e,t,r){var n=function(e){return e};return void 0!==t&&r&&(n=r.internal.getEncryptor(t)),(e=e||"").toString(),"("+F(n(e))+")"},re=function(){this._objId=void 0,this._scope=void 0,Object.defineProperty(this,"objId",{get:function(){if(void 0===this._objId){if(void 0===this.scope)return;this._objId=this.scope.internal.newObjectDeferred()}return this._objId},set:function(e){this._objId=e}}),Object.defineProperty(this,"scope",{value:this._scope,writable:!0})};re.prototype.toString=function(){return this.objId+" 0 R"},re.prototype.putStream=function(){var e=this.getKeyValueListForStream();this.scope.internal.putStream({data:this.stream,additionalKeyValues:e,objectId:this.objId}),this.scope.internal.out("endobj")},re.prototype.getKeyValueListForStream=function(){var e=[],t=Object.getOwnPropertyNames(this).filter((function(e){return"content"!=e&&"appearanceStreamContent"!=e&&"scope"!=e&&"objId"!=e&&"_"!=e.substring(0,1)}));for(var r in t)if(!1===Object.getOwnPropertyDescriptor(this,t[r]).configurable){var n=t[r],a=this[n];a&&(Array.isArray(a)?e.push({key:n,value:ee(a,this.objId,this.scope)}):a instanceof re?(a.scope=this.scope,e.push({key:n,value:a.objId+" 0 R"})):"function"!=typeof a&&e.push({key:n,value:a}))}return e};var ne=function(){re.call(this),Object.defineProperty(this,"Type",{value:"/XObject",configurable:!1,writable:!0}),Object.defineProperty(this,"Subtype",{value:"/Form",configurable:!1,writable:!0}),Object.defineProperty(this,"FormType",{value:1,configurable:!1,writable:!0});var e,t=[];Object.defineProperty(this,"BBox",{configurable:!1,get:function(){return t},set:function(e){t=e}}),Object.defineProperty(this,"Resources",{value:"2 0 R",configurable:!1,writable:!0}),Object.defineProperty(this,"stream",{enumerable:!1,configurable:!0,set:function(t){e=t.trim()},get:function(){return e||null}})};B(ne,re);var ae=function(){re.call(this);var e,t=[];Object.defineProperty(this,"Kids",{enumerable:!1,configurable:!0,get:function(){return t.length>0?t:void 0}}),Object.defineProperty(this,"Fields",{enumerable:!1,configurable:!1,get:function(){return t}}),Object.defineProperty(this,"DA",{enumerable:!1,configurable:!1,get:function(){if(e){var t=function(e){return e};return this.scope&&(t=this.scope.internal.getEncryptor(this.objId)),"("+F(t(e))+")"}},set:function(t){e=t}})};B(ae,re);var oe=function(){re.call(this);var e=4;Object.defineProperty(this,"F",{enumerable:!1,configurable:!1,get:function(){return e},set:function(t){if(isNaN(t))throw new Error('Invalid value "'+t+'" for attribute F supplied.');e=t}}),Object.defineProperty(this,"showWhenPrinted",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(e,3))},set:function(t){!0===Boolean(t)?this.F=$(e,3):this.F=G(e,3)}});var t=0;Object.defineProperty(this,"Ff",{enumerable:!1,configurable:!1,get:function(){return t},set:function(e){if(isNaN(e))throw new Error('Invalid value "'+e+'" for attribute Ff supplied.');t=e}});var r=[];Object.defineProperty(this,"Rect",{enumerable:!1,configurable:!1,get:function(){if(0!==r.length)return r},set:function(e){r=void 0!==e?e:[]}}),Object.defineProperty(this,"x",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[0])?0:r[0]},set:function(e){r[0]=e}}),Object.defineProperty(this,"y",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[1])?0:r[1]},set:function(e){r[1]=e}}),Object.defineProperty(this,"width",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[2])?0:r[2]},set:function(e){r[2]=e}}),Object.defineProperty(this,"height",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[3])?0:r[3]},set:function(e){r[3]=e}});var n="";Object.defineProperty(this,"FT",{enumerable:!0,configurable:!1,get:function(){return n},set:function(e){switch(e){case"/Btn":case"/Tx":case"/Ch":case"/Sig":n=e;break;default:throw new Error('Invalid value "'+e+'" for attribute FT supplied.')}}});var a=null;Object.defineProperty(this,"T",{enumerable:!0,configurable:!1,get:function(){if(!a||a.length<1){if(this instanceof de)return;a="FieldObject"+oe.FieldNum++}var e=function(e){return e};return this.scope&&(e=this.scope.internal.getEncryptor(this.objId)),"("+F(e(a))+")"},set:function(e){a=e.toString()}}),Object.defineProperty(this,"fieldName",{configurable:!0,enumerable:!0,get:function(){return a},set:function(e){a=e}});var o="helvetica";Object.defineProperty(this,"fontName",{enumerable:!0,configurable:!0,get:function(){return o},set:function(e){o=e}});var i="normal";Object.defineProperty(this,"fontStyle",{enumerable:!0,configurable:!0,get:function(){return i},set:function(e){i=e}});var s=0;Object.defineProperty(this,"fontSize",{enumerable:!0,configurable:!0,get:function(){return s},set:function(e){s=e}});var c=void 0;Object.defineProperty(this,"maxFontSize",{enumerable:!0,configurable:!0,get:function(){return void 0===c?50/I:c},set:function(e){c=e}});var l="black";Object.defineProperty(this,"color",{enumerable:!0,configurable:!0,get:function(){return l},set:function(e){l=e}});var u="/F1 0 Tf 0 g";Object.defineProperty(this,"DA",{enumerable:!0,configurable:!1,get:function(){if(!(!u||this instanceof de||this instanceof ge))return te(u,this.objId,this.scope)},set:function(e){e=e.toString(),u=e}});var f=null;Object.defineProperty(this,"DV",{enumerable:!1,configurable:!1,get:function(){if(f)return this instanceof ue==0?te(f,this.objId,this.scope):f},set:function(e){e=e.toString(),f=this instanceof ue==0?"("===e.substr(0,1)?D(e.substr(1,e.length-2)):D(e):e}}),Object.defineProperty(this,"defaultValue",{enumerable:!0,configurable:!0,get:function(){return this instanceof ue==1?D(f.substr(1,f.length-1)):f},set:function(e){e=e.toString(),f=this instanceof ue==1?"/"+e:e}});var h=null;Object.defineProperty(this,"_V",{enumerable:!1,configurable:!1,get:function(){if(h)return h},set:function(e){this.V=e}}),Object.defineProperty(this,"V",{enumerable:!1,configurable:!1,get:function(){if(h)return this instanceof ue==0?te(h,this.objId,this.scope):h},set:function(e){e=e.toString(),h=this instanceof ue==0?"("===e.substr(0,1)?D(e.substr(1,e.length-2)):D(e):e}}),Object.defineProperty(this,"value",{enumerable:!0,configurable:!0,get:function(){return this instanceof ue==1?D(h.substr(1,h.length-1)):h},set:function(e){e=e.toString(),h=this instanceof ue==1?"/"+e:e}}),Object.defineProperty(this,"hasAnnotation",{enumerable:!0,configurable:!0,get:function(){return this.Rect}}),Object.defineProperty(this,"Type",{enumerable:!0,configurable:!1,get:function(){return this.hasAnnotation?"/Annot":null}}),Object.defineProperty(this,"Subtype",{enumerable:!0,configurable:!1,get:function(){return this.hasAnnotation?"/Widget":null}});var d,p=!1;Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return p},set:function(e){e=Boolean(e),p=e}}),Object.defineProperty(this,"page",{enumerable:!0,configurable:!0,get:function(){if(d)return d},set:function(e){d=e}}),Object.defineProperty(this,"readOnly",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,1))},set:function(e){!0===Boolean(e)?this.Ff=$(this.Ff,1):this.Ff=G(this.Ff,1)}}),Object.defineProperty(this,"required",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,2))},set:function(e){!0===Boolean(e)?this.Ff=$(this.Ff,2):this.Ff=G(this.Ff,2)}}),Object.defineProperty(this,"noExport",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,3))},set:function(e){!0===Boolean(e)?this.Ff=$(this.Ff,3):this.Ff=G(this.Ff,3)}});var g=null;Object.defineProperty(this,"Q",{enumerable:!0,configurable:!1,get:function(){if(null!==g)return g},set:function(e){if(-1===[0,1,2].indexOf(e))throw new Error('Invalid value "'+e+'" for attribute Q supplied.');g=e}}),Object.defineProperty(this,"textAlign",{get:function(){var e;switch(g){case 0:default:e="left";break;case 1:e="center";break;case 2:e="right"}return e},configurable:!0,enumerable:!0,set:function(e){switch(e){case"right":case 2:g=2;break;case"center":case 1:g=1;break;default:g=0}}})};B(oe,re);var ie=function(){oe.call(this),this.FT="/Ch",this.V="()",this.fontName="zapfdingbats";var e=0;Object.defineProperty(this,"TI",{enumerable:!0,configurable:!1,get:function(){return e},set:function(t){e=t}}),Object.defineProperty(this,"topIndex",{enumerable:!0,configurable:!0,get:function(){return e},set:function(t){e=t}});var t=[];Object.defineProperty(this,"Opt",{enumerable:!0,configurable:!1,get:function(){return ee(t,this.objId,this.scope)},set:function(e){var r,n;n=[],"string"==typeof(r=e)&&(n=function(e,t,r){r||(r=1);for(var n,a=[];n=t.exec(e);)a.push(n[r]);return a}(r,/\((.*?)\)/g)),t=n}}),this.getOptions=function(){return t},this.setOptions=function(e){t=e,this.sort&&t.sort()},this.addOption=function(e){e=(e=e||"").toString(),t.push(e),this.sort&&t.sort()},this.removeOption=function(e,r){for(r=r||!1,e=(e=e||"").toString();-1!==t.indexOf(e)&&(t.splice(t.indexOf(e),1),!1!==r););},Object.defineProperty(this,"combo",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,18))},set:function(e){!0===Boolean(e)?this.Ff=$(this.Ff,18):this.Ff=G(this.Ff,18)}}),Object.defineProperty(this,"edit",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,19))},set:function(e){!0===this.combo&&(!0===Boolean(e)?this.Ff=$(this.Ff,19):this.Ff=G(this.Ff,19))}}),Object.defineProperty(this,"sort",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,20))},set:function(e){!0===Boolean(e)?(this.Ff=$(this.Ff,20),t.sort()):this.Ff=G(this.Ff,20)}}),Object.defineProperty(this,"multiSelect",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,22))},set:function(e){!0===Boolean(e)?this.Ff=$(this.Ff,22):this.Ff=G(this.Ff,22)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,23))},set:function(e){!0===Boolean(e)?this.Ff=$(this.Ff,23):this.Ff=G(this.Ff,23)}}),Object.defineProperty(this,"commitOnSelChange",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,27))},set:function(e){!0===Boolean(e)?this.Ff=$(this.Ff,27):this.Ff=G(this.Ff,27)}}),this.hasAppearanceStream=!1};B(ie,oe);var se=function(){ie.call(this),this.fontName="helvetica",this.combo=!1};B(se,ie);var ce=function(){se.call(this),this.combo=!0};B(ce,se);var le=function(){ce.call(this),this.edit=!0};B(le,ce);var ue=function(){oe.call(this),this.FT="/Btn",Object.defineProperty(this,"noToggleToOff",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,15))},set:function(e){!0===Boolean(e)?this.Ff=$(this.Ff,15):this.Ff=G(this.Ff,15)}}),Object.defineProperty(this,"radio",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,16))},set:function(e){!0===Boolean(e)?this.Ff=$(this.Ff,16):this.Ff=G(this.Ff,16)}}),Object.defineProperty(this,"pushButton",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,17))},set:function(e){!0===Boolean(e)?this.Ff=$(this.Ff,17):this.Ff=G(this.Ff,17)}}),Object.defineProperty(this,"radioIsUnison",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,26))},set:function(e){!0===Boolean(e)?this.Ff=$(this.Ff,26):this.Ff=G(this.Ff,26)}});var e,t={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var e=function(e){return e};if(this.scope&&(e=this.scope.internal.getEncryptor(this.objId)),0!==Object.keys(t).length){var r,n=[];for(r in n.push("<<"),t)n.push("/"+r+" ("+F(e(t[r]))+")");return n.push(">>"),n.join("\n")}},set:function(e){"object"==typeof e&&(t=e)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return t.CA||""},set:function(e){"string"==typeof e&&(t.CA=e)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return e},set:function(t){e=t}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return e.substr(1,e.length-1)},set:function(t){e="/"+t}})};B(ue,oe);var fe=function(){ue.call(this),this.pushButton=!0};B(fe,ue);var he=function(){ue.call(this),this.radio=!0,this.pushButton=!1;var e=[];Object.defineProperty(this,"Kids",{enumerable:!0,configurable:!1,get:function(){return e},set:function(t){e=void 0!==t?t:[]}})};B(he,ue);var de=function(){var e,t;oe.call(this),Object.defineProperty(this,"Parent",{enumerable:!1,configurable:!1,get:function(){return e},set:function(t){e=t}}),Object.defineProperty(this,"optionName",{enumerable:!1,configurable:!0,get:function(){return t},set:function(e){t=e}});var r,n={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var e=function(e){return e};this.scope&&(e=this.scope.internal.getEncryptor(this.objId));var t,r=[];for(t in r.push("<<"),n)r.push("/"+t+" ("+F(e(n[t]))+")");return r.push(">>"),r.join("\n")},set:function(e){"object"==typeof e&&(n=e)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return n.CA||""},set:function(e){"string"==typeof e&&(n.CA=e)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return r},set:function(e){r=e}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return r.substr(1,r.length-1)},set:function(e){r="/"+e}}),this.caption="l",this.appearanceState="Off",this._AppearanceType=ve.RadioButton.Circle,this.appearanceStreamContent=this._AppearanceType.createAppearanceStream(this.optionName)};B(de,oe),he.prototype.setAppearance=function(e){if(!("createAppearanceStream"in e)||!("getCA"in e))throw new Error("Couldn't assign Appearance to RadioButton. Appearance was Invalid!");for(var t in this.Kids)if(this.Kids.hasOwnProperty(t)){var r=this.Kids[t];r.appearanceStreamContent=e.createAppearanceStream(r.optionName),r.caption=e.getCA()}},he.prototype.createOption=function(e){var t=new de;return t.Parent=this,t.optionName=e,this.Kids.push(t),be.call(this.scope,t),t};var pe=function(){ue.call(this),this.fontName="zapfdingbats",this.caption="3",this.appearanceState="On",this.value="On",this.textAlign="center",this.appearanceStreamContent=ve.CheckBox.createAppearanceStream()};B(pe,ue);var ge=function(){oe.call(this),this.FT="/Tx",Object.defineProperty(this,"multiline",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,13))},set:function(e){!0===Boolean(e)?this.Ff=$(this.Ff,13):this.Ff=G(this.Ff,13)}}),Object.defineProperty(this,"fileSelect",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,21))},set:function(e){!0===Boolean(e)?this.Ff=$(this.Ff,21):this.Ff=G(this.Ff,21)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,23))},set:function(e){!0===Boolean(e)?this.Ff=$(this.Ff,23):this.Ff=G(this.Ff,23)}}),Object.defineProperty(this,"doNotScroll",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,24))},set:function(e){!0===Boolean(e)?this.Ff=$(this.Ff,24):this.Ff=G(this.Ff,24)}}),Object.defineProperty(this,"comb",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,25))},set:function(e){!0===Boolean(e)?this.Ff=$(this.Ff,25):this.Ff=G(this.Ff,25)}}),Object.defineProperty(this,"richText",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,26))},set:function(e){!0===Boolean(e)?this.Ff=$(this.Ff,26):this.Ff=G(this.Ff,26)}});var e=null;Object.defineProperty(this,"MaxLen",{enumerable:!0,configurable:!1,get:function(){return e},set:function(t){e=t}}),Object.defineProperty(this,"maxLength",{enumerable:!0,configurable:!0,get:function(){return e},set:function(t){Number.isInteger(t)&&(e=t)}}),Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return this.V||this.DV}})};B(ge,oe);var me=function(){ge.call(this),Object.defineProperty(this,"password",{enumerable:!0,configurable:!0,get:function(){return Boolean(q(this.Ff,14))},set:function(e){!0===Boolean(e)?this.Ff=$(this.Ff,14):this.Ff=G(this.Ff,14)}}),this.password=!0};B(me,ge);var ve={CheckBox:{createAppearanceStream:function(){return{N:{On:ve.CheckBox.YesNormal},D:{On:ve.CheckBox.YesPushDown,Off:ve.CheckBox.OffPushDown}}},YesPushDown:function(e){var t=U(e);t.scope=e.scope;var r=[],n=e.scope.internal.getFont(e.fontName,e.fontStyle).id,a=e.scope.__private__.encodeColorString(e.color),o=K(e,e.caption);return r.push("0.749023 g"),r.push("0 0 "+M(ve.internal.getWidth(e))+" "+M(ve.internal.getHeight(e))+" re"),r.push("f"),r.push("BMC"),r.push("q"),r.push("0 0 1 rg"),r.push("/"+n+" "+M(o.fontSize)+" Tf "+a),r.push("BT"),r.push(o.text),r.push("ET"),r.push("Q"),r.push("EMC"),t.stream=r.join("\n"),t},YesNormal:function(e){var t=U(e);t.scope=e.scope;var r=e.scope.internal.getFont(e.fontName,e.fontStyle).id,n=e.scope.__private__.encodeColorString(e.color),a=[],o=ve.internal.getHeight(e),i=ve.internal.getWidth(e),s=K(e,e.caption);return a.push("1 g"),a.push("0 0 "+M(i)+" "+M(o)+" re"),a.push("f"),a.push("q"),a.push("0 0 1 rg"),a.push("0 0 "+M(i-1)+" "+M(o-1)+" re"),a.push("W"),a.push("n"),a.push("0 g"),a.push("BT"),a.push("/"+r+" "+M(s.fontSize)+" Tf "+n),a.push(s.text),a.push("ET"),a.push("Q"),t.stream=a.join("\n"),t},OffPushDown:function(e){var t=U(e);t.scope=e.scope;var r=[];return r.push("0.749023 g"),r.push("0 0 "+M(ve.internal.getWidth(e))+" "+M(ve.internal.getHeight(e))+" re"),r.push("f"),t.stream=r.join("\n"),t}},RadioButton:{Circle:{createAppearanceStream:function(e){var t={D:{Off:ve.RadioButton.Circle.OffPushDown},N:{}};return t.N[e]=ve.RadioButton.Circle.YesNormal,t.D[e]=ve.RadioButton.Circle.YesPushDown,t},getCA:function(){return"l"},YesNormal:function(e){var t=U(e);t.scope=e.scope;var r=[],n=ve.internal.getWidth(e)<=ve.internal.getHeight(e)?ve.internal.getWidth(e)/4:ve.internal.getHeight(e)/4;n=Number((.9*n).toFixed(5));var a=ve.internal.Bezier_C,o=Number((n*a).toFixed(5));return r.push("q"),r.push("1 0 0 1 "+j(ve.internal.getWidth(e)/2)+" "+j(ve.internal.getHeight(e)/2)+" cm"),r.push(n+" 0 m"),r.push(n+" "+o+" "+o+" "+n+" 0 "+n+" c"),r.push("-"+o+" "+n+" -"+n+" "+o+" -"+n+" 0 c"),r.push("-"+n+" -"+o+" -"+o+" -"+n+" 0 -"+n+" c"),r.push(o+" -"+n+" "+n+" -"+o+" "+n+" 0 c"),r.push("f"),r.push("Q"),t.stream=r.join("\n"),t},YesPushDown:function(e){var t=U(e);t.scope=e.scope;var r=[],n=ve.internal.getWidth(e)<=ve.internal.getHeight(e)?ve.internal.getWidth(e)/4:ve.internal.getHeight(e)/4;n=Number((.9*n).toFixed(5));var a=Number((2*n).toFixed(5)),o=Number((a*ve.internal.Bezier_C).toFixed(5)),i=Number((n*ve.internal.Bezier_C).toFixed(5));return r.push("0.749023 g"),r.push("q"),r.push("1 0 0 1 "+j(ve.internal.getWidth(e)/2)+" "+j(ve.internal.getHeight(e)/2)+" cm"),r.push(a+" 0 m"),r.push(a+" "+o+" "+o+" "+a+" 0 "+a+" c"),r.push("-"+o+" "+a+" -"+a+" "+o+" -"+a+" 0 c"),r.push("-"+a+" -"+o+" -"+o+" -"+a+" 0 -"+a+" c"),r.push(o+" -"+a+" "+a+" -"+o+" "+a+" 0 c"),r.push("f"),r.push("Q"),r.push("0 g"),r.push("q"),r.push("1 0 0 1 "+j(ve.internal.getWidth(e)/2)+" "+j(ve.internal.getHeight(e)/2)+" cm"),r.push(n+" 0 m"),r.push(n+" "+i+" "+i+" "+n+" 0 "+n+" c"),r.push("-"+i+" "+n+" -"+n+" "+i+" -"+n+" 0 c"),r.push("-"+n+" -"+i+" -"+i+" -"+n+" 0 -"+n+" c"),r.push(i+" -"+n+" "+n+" -"+i+" "+n+" 0 c"),r.push("f"),r.push("Q"),t.stream=r.join("\n"),t},OffPushDown:function(e){var t=U(e);t.scope=e.scope;var r=[],n=ve.internal.getWidth(e)<=ve.internal.getHeight(e)?ve.internal.getWidth(e)/4:ve.internal.getHeight(e)/4;n=Number((.9*n).toFixed(5));var a=Number((2*n).toFixed(5)),o=Number((a*ve.internal.Bezier_C).toFixed(5));return r.push("0.749023 g"),r.push("q"),r.push("1 0 0 1 "+j(ve.internal.getWidth(e)/2)+" "+j(ve.internal.getHeight(e)/2)+" cm"),r.push(a+" 0 m"),r.push(a+" "+o+" "+o+" "+a+" 0 "+a+" c"),r.push("-"+o+" "+a+" -"+a+" "+o+" -"+a+" 0 c"),r.push("-"+a+" -"+o+" -"+o+" -"+a+" 0 -"+a+" c"),r.push(o+" -"+a+" "+a+" -"+o+" "+a+" 0 c"),r.push("f"),r.push("Q"),t.stream=r.join("\n"),t}},Cross:{createAppearanceStream:function(e){var t={D:{Off:ve.RadioButton.Cross.OffPushDown},N:{}};return t.N[e]=ve.RadioButton.Cross.YesNormal,t.D[e]=ve.RadioButton.Cross.YesPushDown,t},getCA:function(){return"8"},YesNormal:function(e){var t=U(e);t.scope=e.scope;var r=[],n=ve.internal.calculateCross(e);return r.push("q"),r.push("1 1 "+M(ve.internal.getWidth(e)-2)+" "+M(ve.internal.getHeight(e)-2)+" re"),r.push("W"),r.push("n"),r.push(M(n.x1.x)+" "+M(n.x1.y)+" m"),r.push(M(n.x2.x)+" "+M(n.x2.y)+" l"),r.push(M(n.x4.x)+" "+M(n.x4.y)+" m"),r.push(M(n.x3.x)+" "+M(n.x3.y)+" l"),r.push("s"),r.push("Q"),t.stream=r.join("\n"),t},YesPushDown:function(e){var t=U(e);t.scope=e.scope;var r=ve.internal.calculateCross(e),n=[];return n.push("0.749023 g"),n.push("0 0 "+M(ve.internal.getWidth(e))+" "+M(ve.internal.getHeight(e))+" re"),n.push("f"),n.push("q"),n.push("1 1 "+M(ve.internal.getWidth(e)-2)+" "+M(ve.internal.getHeight(e)-2)+" re"),n.push("W"),n.push("n"),n.push(M(r.x1.x)+" "+M(r.x1.y)+" m"),n.push(M(r.x2.x)+" "+M(r.x2.y)+" l"),n.push(M(r.x4.x)+" "+M(r.x4.y)+" m"),n.push(M(r.x3.x)+" "+M(r.x3.y)+" l"),n.push("s"),n.push("Q"),t.stream=n.join("\n"),t},OffPushDown:function(e){var t=U(e);t.scope=e.scope;var r=[];return r.push("0.749023 g"),r.push("0 0 "+M(ve.internal.getWidth(e))+" "+M(ve.internal.getHeight(e))+" re"),r.push("f"),t.stream=r.join("\n"),t}}},createDefaultAppearanceStream:function(e){var t=e.scope.internal.getFont(e.fontName,e.fontStyle).id,r=e.scope.__private__.encodeColorString(e.color);return"/"+t+" "+e.fontSize+" Tf "+r}};ve.internal={Bezier_C:.551915024494,calculateCross:function(e){var t=ve.internal.getWidth(e),r=ve.internal.getHeight(e),n=Math.min(t,r);return{x1:{x:(t-n)/2,y:(r-n)/2+n},x2:{x:(t-n)/2+n,y:(r-n)/2},x3:{x:(t-n)/2,y:(r-n)/2},x4:{x:(t-n)/2+n,y:(r-n)/2+n}}}},ve.internal.getWidth=function(e){var t=0;return"object"==typeof e&&(t=W(e.Rect[2])),t},ve.internal.getHeight=function(e){var t=0;return"object"==typeof e&&(t=W(e.Rect[3])),t};var be=L.addField=function(e){if(function(e,t){if(t.scope=e,void 0!==e.internal&&(void 0===e.internal.acroformPlugin||!1===e.internal.acroformPlugin.isInitialized)){if(oe.FieldNum=0,e.internal.acroformPlugin=JSON.parse(JSON.stringify(Z)),e.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("Exception while creating AcroformDictionary");I=e.internal.scaleFactor,e.internal.acroformPlugin.acroFormDictionaryRoot=new ae,e.internal.acroformPlugin.acroFormDictionaryRoot.scope=e,e.internal.acroformPlugin.acroFormDictionaryRoot._eventID=e.internal.events.subscribe("postPutResources",(function(){!function(e){e.internal.events.unsubscribe(e.internal.acroformPlugin.acroFormDictionaryRoot._eventID),delete e.internal.acroformPlugin.acroFormDictionaryRoot._eventID,e.internal.acroformPlugin.printedOut=!0}(e)})),e.internal.events.subscribe("buildDocument",(function(){!function(e){e.internal.acroformPlugin.acroFormDictionaryRoot.objId=void 0;var t=e.internal.acroformPlugin.acroFormDictionaryRoot.Fields;for(var r in t)if(t.hasOwnProperty(r)){var n=t[r];n.objId=void 0,n.hasAnnotation&&Q(n,e)}}(e)})),e.internal.events.subscribe("putCatalog",(function(){!function(e){if(void 0===e.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("putCatalogCallback: Root missing.");e.internal.write("/AcroForm "+e.internal.acroformPlugin.acroFormDictionaryRoot.objId+" 0 R")}(e)})),e.internal.events.subscribe("postPutPages",(function(t){!function(e,t){var r=!e;for(var n in e||(t.internal.newObjectDeferredBegin(t.internal.acroformPlugin.acroFormDictionaryRoot.objId,!0),t.internal.acroformPlugin.acroFormDictionaryRoot.putStream()),e=e||t.internal.acroformPlugin.acroFormDictionaryRoot.Kids)if(e.hasOwnProperty(n)){var a=e[n],o=[],i=a.Rect;if(a.Rect&&(a.Rect=X(a.Rect,t)),t.internal.newObjectDeferredBegin(a.objId,!0),a.DA=ve.createDefaultAppearanceStream(a),"object"==typeof a&&"function"==typeof a.getKeyValueListForStream&&(o=a.getKeyValueListForStream()),a.Rect=i,a.hasAppearanceStream&&!a.appearanceStreamContent){var s=Y(a);o.push({key:"AP",value:"<</N "+s+">>"}),t.internal.acroformPlugin.xForms.push(s)}if(a.appearanceStreamContent){var c="";for(var l in a.appearanceStreamContent)if(a.appearanceStreamContent.hasOwnProperty(l)){var u=a.appearanceStreamContent[l];if(c+="/"+l+" ",c+="<<",Object.keys(u).length>=1||Array.isArray(u)){for(var n in u)if(u.hasOwnProperty(n)){var f=u[n];"function"==typeof f&&(f=f.call(t,a)),c+="/"+n+" "+f+" ",t.internal.acroformPlugin.xForms.indexOf(f)>=0||t.internal.acroformPlugin.xForms.push(f)}}else"function"==typeof(f=u)&&(f=f.call(t,a)),c+="/"+n+" "+f,t.internal.acroformPlugin.xForms.indexOf(f)>=0||t.internal.acroformPlugin.xForms.push(f);c+=">>"}o.push({key:"AP",value:"<<\n"+c+">>"})}t.internal.putStream({additionalKeyValues:o,objectId:a.objId}),t.internal.out("endobj")}r&&function(e,t){for(var r in e)if(e.hasOwnProperty(r)){var n=r,a=e[r];t.internal.newObjectDeferredBegin(a.objId,!0),"object"==typeof a&&"function"==typeof a.putStream&&a.putStream(),delete e[n]}}(t.internal.acroformPlugin.xForms,t)}(t,e)})),e.internal.acroformPlugin.isInitialized=!0}}(this,e),!(e instanceof oe))throw new Error("Invalid argument passed to jsPDF.addField.");var t;return(t=e).scope.internal.acroformPlugin.printedOut&&(t.scope.internal.acroformPlugin.printedOut=!1,t.scope.internal.acroformPlugin.acroFormDictionaryRoot=null),t.scope.internal.acroformPlugin.acroFormDictionaryRoot.Fields.push(t),e.page=e.scope.internal.getCurrentPageInfo().pageNumber,this};L.AcroFormChoiceField=ie,L.AcroFormListBox=se,L.AcroFormComboBox=ce,L.AcroFormEditBox=le,L.AcroFormButton=ue,L.AcroFormPushButton=fe,L.AcroFormRadioButton=he,L.AcroFormCheckBox=pe,L.AcroFormTextField=ge,L.AcroFormPasswordField=me,L.AcroFormAppearance=ve,L.AcroForm={ChoiceField:ie,ListBox:se,ComboBox:ce,EditBox:le,Button:ue,PushButton:fe,RadioButton:he,CheckBox:pe,TextField:ge,PasswordField:me,Appearance:ve},P.AcroForm={ChoiceField:ie,ListBox:se,ComboBox:ce,EditBox:le,Button:ue,PushButton:fe,RadioButton:he,CheckBox:pe,TextField:ge,PasswordField:me,Appearance:ve};var ye=P.AcroForm;function we(e){return e.reduce((function(e,t,r){return e[t]=r,e}),{})}!function(e){e.__addimage__={};var t="UNKNOWN",r={PNG:[[137,80,78,71]],TIFF:[[77,77,0,42],[73,73,42,0]],JPEG:[[255,216,255,224,void 0,void 0,74,70,73,70,0],[255,216,255,225,void 0,void 0,69,120,105,102,0,0],[255,216,255,219],[255,216,255,238]],JPEG2000:[[0,0,0,12,106,80,32,32]],GIF87a:[[71,73,70,56,55,97]],GIF89a:[[71,73,70,56,57,97]],WEBP:[[82,73,70,70,void 0,void 0,void 0,void 0,87,69,66,80]],BMP:[[66,77],[66,65],[67,73],[67,80],[73,67],[80,84]]},n=e.__addimage__.getImageFileTypeByImageData=function(e,n){var a,o;n=n||t;var i,s,c,l=t;if(k(e))for(c in r)for(i=r[c],a=0;a<i.length;a+=1){for(s=!0,o=0;o<i[a].length;o+=1)if(void 0!==i[a][o]&&i[a][o]!==e[o]){s=!1;break}if(!0===s){l=c;break}}else for(c in r)for(i=r[c],a=0;a<i.length;a+=1){for(s=!0,o=0;o<i[a].length;o+=1)if(void 0!==i[a][o]&&i[a][o]!==e.charCodeAt(o)){s=!1;break}if(!0===s){l=c;break}}return l===t&&n!==t&&(l=n),l},a=function(e){for(var t=this.internal.write,r=this.internal.putStream,n=(0,this.internal.getFilters)();-1!==n.indexOf("FlateEncode");)n.splice(n.indexOf("FlateEncode"),1);e.objectId=this.internal.newObject();var o=[];if(o.push({key:"Type",value:"/XObject"}),o.push({key:"Subtype",value:"/Image"}),o.push({key:"Width",value:e.width}),o.push({key:"Height",value:e.height}),e.colorSpace===b.INDEXED?o.push({key:"ColorSpace",value:"[/Indexed /DeviceRGB "+(e.palette.length/3-1)+" "+("sMask"in e&&void 0!==e.sMask?e.objectId+2:e.objectId+1)+" 0 R]"}):(o.push({key:"ColorSpace",value:"/"+e.colorSpace}),e.colorSpace===b.DEVICE_CMYK&&o.push({key:"Decode",value:"[1 0 1 0 1 0 1 0]"})),o.push({key:"BitsPerComponent",value:e.bitsPerComponent}),"decodeParameters"in e&&void 0!==e.decodeParameters&&o.push({key:"DecodeParms",value:"<<"+e.decodeParameters+">>"}),"transparency"in e&&Array.isArray(e.transparency)){for(var i="",s=0,c=e.transparency.length;s<c;s++)i+=e.transparency[s]+" "+e.transparency[s]+" ";o.push({key:"Mask",value:"["+i+"]"})}void 0!==e.sMask&&o.push({key:"SMask",value:e.objectId+1+" 0 R"});var l=void 0!==e.filter?["/"+e.filter]:void 0;if(r({data:e.data,additionalKeyValues:o,alreadyAppliedFilters:l,objectId:e.objectId}),t("endobj"),"sMask"in e&&void 0!==e.sMask){var u="/Predictor "+e.predictor+" /Colors 1 /BitsPerComponent "+e.bitsPerComponent+" /Columns "+e.width,f={width:e.width,height:e.height,colorSpace:"DeviceGray",bitsPerComponent:e.bitsPerComponent,decodeParameters:u,data:e.sMask};"filter"in e&&(f.filter=e.filter),a.call(this,f)}if(e.colorSpace===b.INDEXED){var h=this.internal.newObject();r({data:E(new Uint8Array(e.palette)),objectId:h}),t("endobj")}},o=function(){var e=this.internal.collections.addImage_images;for(var t in e)a.call(this,e[t])},i=function(){var e,t=this.internal.collections.addImage_images,r=this.internal.write;for(var n in t)r("/I"+(e=t[n]).index,e.objectId,"0","R")},l=function(){this.internal.collections.addImage_images||(this.internal.collections.addImage_images={},this.internal.events.subscribe("putResources",o),this.internal.events.subscribe("putXobjectDict",i))},u=function(){var e=this.internal.collections.addImage_images;return l.call(this),e},f=function(){return Object.keys(this.internal.collections.addImage_images).length},h=function(t){return"function"==typeof e["process"+t.toUpperCase()]},d=function(e){return"object"==typeof e&&1===e.nodeType},p=function(t,r){if("IMG"===t.nodeName&&t.hasAttribute("src")){var n=""+t.getAttribute("src");if(0===n.indexOf("data:image/"))return s(unescape(n).split("base64,").pop());var a=e.loadFile(n,!0);if(void 0!==a)return a}if("CANVAS"===t.nodeName){var o;switch(r){case"PNG":o="image/png";break;case"WEBP":o="image/webp";break;default:o="image/jpeg"}return s(t.toDataURL(o,1).split("base64,").pop())}},g=function(e){var t=this.internal.collections.addImage_images;if(t)for(var r in t)if(e===t[r].alias)return t[r]},m=function(e,t,r){return e||t||(e=-96,t=-96),e<0&&(e=-1*r.width*72/e/this.internal.scaleFactor),t<0&&(t=-1*r.height*72/t/this.internal.scaleFactor),0===e&&(e=t*r.width/r.height),0===t&&(t=e*r.height/r.width),[e,t]},v=function(e,t,r,n,a,o){var i=m.call(this,r,n,a),s=this.internal.getCoordinateString,c=this.internal.getVerticalCoordinateString,l=u.call(this);if(r=i[0],n=i[1],l[a.index]=a,o){o*=Math.PI/180;var f=Math.cos(o),h=Math.sin(o),d=function(e){return e.toFixed(4)},p=[d(f),d(h),d(-1*h),d(f),0,0,"cm"]}this.internal.write("q"),o?(this.internal.write([1,"0","0",1,s(e),c(t+n),"cm"].join(" ")),this.internal.write(p.join(" ")),this.internal.write([s(r),"0","0",s(n),"0","0","cm"].join(" "))):this.internal.write([s(r),"0","0",s(n),s(e),c(t+n),"cm"].join(" ")),this.isAdvancedAPI()&&this.internal.write([1,0,0,-1,0,0,"cm"].join(" ")),this.internal.write("/I"+a.index+" Do"),this.internal.write("Q")},b=e.color_spaces={DEVICE_RGB:"DeviceRGB",DEVICE_GRAY:"DeviceGray",DEVICE_CMYK:"DeviceCMYK",CAL_GREY:"CalGray",CAL_RGB:"CalRGB",LAB:"Lab",ICC_BASED:"ICCBased",INDEXED:"Indexed",PATTERN:"Pattern",SEPARATION:"Separation",DEVICE_N:"DeviceN"};e.decode={DCT_DECODE:"DCTDecode",FLATE_DECODE:"FlateDecode",LZW_DECODE:"LZWDecode",JPX_DECODE:"JPXDecode",JBIG2_DECODE:"JBIG2Decode",ASCII85_DECODE:"ASCII85Decode",ASCII_HEX_DECODE:"ASCIIHexDecode",RUN_LENGTH_DECODE:"RunLengthDecode",CCITT_FAX_DECODE:"CCITTFaxDecode"};var y=e.image_compression={NONE:"NONE",FAST:"FAST",MEDIUM:"MEDIUM",SLOW:"SLOW"},w=e.__addimage__.sHashCode=function(e){var t,r,n=0;if("string"==typeof e)for(r=e.length,t=0;t<r;t++)n=(n<<5)-n+e.charCodeAt(t),n|=0;else if(k(e))for(r=e.byteLength/2,t=0;t<r;t++)n=(n<<5)-n+e[t],n|=0;return n},S=e.__addimage__.validateStringAsBase64=function(e){(e=e||"").toString().trim();var t=!0;return 0===e.length&&(t=!1),e.length%4!=0&&(t=!1),!1===/^[A-Za-z0-9+/]+$/.test(e.substr(0,e.length-2))&&(t=!1),!1===/^[A-Za-z0-9/][A-Za-z0-9+/]|[A-Za-z0-9+/]=|==$/.test(e.substr(-2))&&(t=!1),t},x=e.__addimage__.extractImageFromDataUrl=function(e){var t=(e=e||"").split("base64,"),r=null;if(2===t.length){var n=/^data:(\w*\/\w*);*(charset=(?!charset=)[\w=-]*)*;*$/.exec(t[0]);Array.isArray(n)&&(r={mimeType:n[1],charset:n[2],data:t[1]})}return r},A=e.__addimage__.supportsArrayBuffer=function(){return"undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array};e.__addimage__.isArrayBuffer=function(e){return A()&&e instanceof ArrayBuffer};var k=e.__addimage__.isArrayBufferView=function(e){return A()&&"undefined"!=typeof Uint32Array&&(e instanceof Int8Array||e instanceof Uint8Array||"undefined"!=typeof Uint8ClampedArray&&e instanceof Uint8ClampedArray||e instanceof Int16Array||e instanceof Uint16Array||e instanceof Int32Array||e instanceof Uint32Array||e instanceof Float32Array||e instanceof Float64Array)},T=e.__addimage__.binaryStringToUint8Array=function(e){for(var t=e.length,r=new Uint8Array(t),n=0;n<t;n++)r[n]=e.charCodeAt(n);return r},E=e.__addimage__.arrayBufferToBinaryString=function(e){try{return s(c(String.fromCharCode.apply(null,e)))}catch(t){if("undefined"!=typeof Uint8Array&&void 0!==Uint8Array.prototype.reduce)return new Uint8Array(e).reduce((function(e,t){return e.push(String.fromCharCode(t)),e}),[]).join("")}};e.addImage=function(){var e,r,n,a,o,i,s,c,u;if("number"==typeof arguments[1]?(r=t,n=arguments[1],a=arguments[2],o=arguments[3],i=arguments[4],s=arguments[5],c=arguments[6],u=arguments[7]):(r=arguments[1],n=arguments[2],a=arguments[3],o=arguments[4],i=arguments[5],s=arguments[6],c=arguments[7],u=arguments[8]),"object"==typeof(e=arguments[0])&&!d(e)&&"imageData"in e){var f=e;e=f.imageData,r=f.format||r||t,n=f.x||n||0,a=f.y||a||0,o=f.w||f.width||o,i=f.h||f.height||i,s=f.alias||s,c=f.compression||c,u=f.rotation||f.angle||u}var h=this.internal.getFilters();if(void 0===c&&-1!==h.indexOf("FlateEncode")&&(c="SLOW"),isNaN(n)||isNaN(a))throw new Error("Invalid coordinates passed to jsPDF.addImage");l.call(this);var p=_.call(this,e,r,s,c);return v.call(this,n,a,o,i,p,u),this};var _=function(r,a,o,i){var s,c,l;if("string"==typeof r&&n(r)===t){r=unescape(r);var u=N(r,!1);(""!==u||void 0!==(u=e.loadFile(r,!0)))&&(r=u)}if(d(r)&&(r=p(r,a)),a=n(r,a),!h(a))throw new Error("addImage does not support files of type '"+a+"', please ensure that a plugin for '"+a+"' support is added.");if((null==(l=o)||0===l.length)&&(o=function(e){return"string"==typeof e||k(e)?w(e):null}(r)),(s=g.call(this,o))||(A()&&(r instanceof Uint8Array||(c=r,r=T(r))),s=this["process"+a.toUpperCase()](r,f.call(this),o,function(t){return t&&"string"==typeof t&&(t=t.toUpperCase()),t in e.image_compression?t:y.NONE}(i),c)),!s)throw new Error("An unknown error occurred whilst processing the image.");return s},N=e.__addimage__.convertBase64ToBinaryString=function(e,t){var r;t="boolean"!=typeof t||t;var n,a="";if("string"==typeof e){n=null!==(r=x(e))?r.data:e;try{a=s(n)}catch(e){if(t)throw S(n)?new Error("atob-Error in jsPDF.convertBase64ToBinaryString "+e.message):new Error("Supplied Data is not a valid base64-String jsPDF.convertBase64ToBinaryString ")}}return a};e.getImageProperties=function(r){var a,o,i="";if(d(r)&&(r=p(r)),"string"==typeof r&&n(r)===t&&(""===(i=N(r,!1))&&(i=e.loadFile(r)||""),r=i),o=n(r),!h(o))throw new Error("addImage does not support files of type '"+o+"', please ensure that a plugin for '"+o+"' support is added.");if(!A()||r instanceof Uint8Array||(r=T(r)),!(a=this["process"+o.toUpperCase()](r)))throw new Error("An unknown error occurred whilst processing the image");return a.fileType=o,a}}(P.API),function(e){var t=function(e){if(void 0!==e&&""!=e)return!0};P.API.events.push(["addPage",function(e){this.internal.getPageInfo(e.pageNumber).pageContext.annotations=[]}]),e.events.push(["putPage",function(e){for(var r,n,a,o=this.internal.getCoordinateString,i=this.internal.getVerticalCoordinateString,s=this.internal.getPageInfoByObjId(e.objId),c=e.pageContext.annotations,l=!1,u=0;u<c.length&&!l;u++)switch((r=c[u]).type){case"link":(t(r.options.url)||t(r.options.pageNumber))&&(l=!0);break;case"reference":case"text":case"freetext":l=!0}if(0!=l){this.internal.write("/Annots [");for(var f=0;f<c.length;f++){r=c[f];var h=this.internal.pdfEscape,d=this.internal.getEncryptor(e.objId);switch(r.type){case"reference":this.internal.write(" "+r.object.objId+" 0 R ");break;case"text":var p=this.internal.newAdditionalObject(),g=this.internal.newAdditionalObject(),m=this.internal.getEncryptor(p.objId),v=r.title||"Note";a="<</Type /Annot /Subtype /Text "+(n="/Rect ["+o(r.bounds.x)+" "+i(r.bounds.y+r.bounds.h)+" "+o(r.bounds.x+r.bounds.w)+" "+i(r.bounds.y)+"] ")+"/Contents ("+h(m(r.contents))+")",a+=" /Popup "+g.objId+" 0 R",a+=" /P "+s.objId+" 0 R",a+=" /T ("+h(m(v))+") >>",p.content=a;var b=p.objId+" 0 R";a="<</Type /Annot /Subtype /Popup "+(n="/Rect ["+o(r.bounds.x+30)+" "+i(r.bounds.y+r.bounds.h)+" "+o(r.bounds.x+r.bounds.w+30)+" "+i(r.bounds.y)+"] ")+" /Parent "+b,r.open&&(a+=" /Open true"),a+=" >>",g.content=a,this.internal.write(p.objId,"0 R",g.objId,"0 R");break;case"freetext":n="/Rect ["+o(r.bounds.x)+" "+i(r.bounds.y)+" "+o(r.bounds.x+r.bounds.w)+" "+i(r.bounds.y+r.bounds.h)+"] ";var y=r.color||"#000000";a="<</Type /Annot /Subtype /FreeText "+n+"/Contents ("+h(d(r.contents))+")",a+=" /DS(font: Helvetica,sans-serif 12.0pt; text-align:left; color:#"+y+")",a+=" /Border [0 0 0]",a+=" >>",this.internal.write(a);break;case"link":if(r.options.name){var w=this.annotations._nameMap[r.options.name];r.options.pageNumber=w.page,r.options.top=w.y}else r.options.top||(r.options.top=0);if(n="/Rect ["+r.finalBounds.x+" "+r.finalBounds.y+" "+r.finalBounds.w+" "+r.finalBounds.h+"] ",a="",r.options.url)a="<</Type /Annot /Subtype /Link "+n+"/Border [0 0 0] /A <</S /URI /URI ("+h(d(r.options.url))+") >>";else if(r.options.pageNumber)switch(a="<</Type /Annot /Subtype /Link "+n+"/Border [0 0 0] /Dest ["+this.internal.getPageInfo(r.options.pageNumber).objId+" 0 R",r.options.magFactor=r.options.magFactor||"XYZ",r.options.magFactor){case"Fit":a+=" /Fit]";break;case"FitH":a+=" /FitH "+r.options.top+"]";break;case"FitV":r.options.left=r.options.left||0,a+=" /FitV "+r.options.left+"]";break;default:var S=i(r.options.top);r.options.left=r.options.left||0,void 0===r.options.zoom&&(r.options.zoom=0),a+=" /XYZ "+r.options.left+" "+S+" "+r.options.zoom+"]"}""!=a&&(a+=" >>",this.internal.write(a))}}this.internal.write("]")}}]),e.createAnnotation=function(e){var t=this.internal.getCurrentPageInfo();switch(e.type){case"link":this.link(e.bounds.x,e.bounds.y,e.bounds.w,e.bounds.h,e);break;case"text":case"freetext":t.pageContext.annotations.push(e)}},e.link=function(e,t,r,n,a){var o=this.internal.getCurrentPageInfo(),i=this.internal.getCoordinateString,s=this.internal.getVerticalCoordinateString;o.pageContext.annotations.push({finalBounds:{x:i(e),y:s(t),w:i(e+r),h:s(t+n)},options:a,type:"link"})},e.textWithLink=function(e,t,r,n){var a=this.getTextWidth(e),o=this.internal.getLineHeight()/this.internal.scaleFactor;return this.text(e,t,r,n),r+=.2*o,"center"===n.align&&(t-=a/2),"right"===n.align&&(t-=a),this.link(t,r-o,a,o,n),a},e.getTextWidth=function(e){var t=this.internal.getFontSize();return this.getStringUnitWidth(e)*t/this.internal.scaleFactor}}(P.API),function(e){var t={1569:[65152],1570:[65153,65154],1571:[65155,65156],1572:[65157,65158],1573:[65159,65160],1574:[65161,65162,65163,65164],1575:[65165,65166],1576:[65167,65168,65169,65170],1577:[65171,65172],1578:[65173,65174,65175,65176],1579:[65177,65178,65179,65180],1580:[65181,65182,65183,65184],1581:[65185,65186,65187,65188],1582:[65189,65190,65191,65192],1583:[65193,65194],1584:[65195,65196],1585:[65197,65198],1586:[65199,65200],1587:[65201,65202,65203,65204],1588:[65205,65206,65207,65208],1589:[65209,65210,65211,65212],1590:[65213,65214,65215,65216],1591:[65217,65218,65219,65220],1592:[65221,65222,65223,65224],1593:[65225,65226,65227,65228],1594:[65229,65230,65231,65232],1601:[65233,65234,65235,65236],1602:[65237,65238,65239,65240],1603:[65241,65242,65243,65244],1604:[65245,65246,65247,65248],1605:[65249,65250,65251,65252],1606:[65253,65254,65255,65256],1607:[65257,65258,65259,65260],1608:[65261,65262],1609:[65263,65264,64488,64489],1610:[65265,65266,65267,65268],1649:[64336,64337],1655:[64477],1657:[64358,64359,64360,64361],1658:[64350,64351,64352,64353],1659:[64338,64339,64340,64341],1662:[64342,64343,64344,64345],1663:[64354,64355,64356,64357],1664:[64346,64347,64348,64349],1667:[64374,64375,64376,64377],1668:[64370,64371,64372,64373],1670:[64378,64379,64380,64381],1671:[64382,64383,64384,64385],1672:[64392,64393],1676:[64388,64389],1677:[64386,64387],1678:[64390,64391],1681:[64396,64397],1688:[64394,64395],1700:[64362,64363,64364,64365],1702:[64366,64367,64368,64369],1705:[64398,64399,64400,64401],1709:[64467,64468,64469,64470],1711:[64402,64403,64404,64405],1713:[64410,64411,64412,64413],1715:[64406,64407,64408,64409],1722:[64414,64415],1723:[64416,64417,64418,64419],1726:[64426,64427,64428,64429],1728:[64420,64421],1729:[64422,64423,64424,64425],1733:[64480,64481],1734:[64473,64474],1735:[64471,64472],1736:[64475,64476],1737:[64482,64483],1739:[64478,64479],1740:[64508,64509,64510,64511],1744:[64484,64485,64486,64487],1746:[64430,64431],1747:[64432,64433]},r={65247:{65154:65269,65156:65271,65160:65273,65166:65275},65248:{65154:65270,65156:65272,65160:65274,65166:65276},65165:{65247:{65248:{65258:65010}}},1617:{1612:64606,1613:64607,1614:64608,1615:64609,1616:64610}},n={1612:64606,1613:64607,1614:64608,1615:64609,1616:64610},a=[1570,1571,1573,1575];e.__arabicParser__={};var o=e.__arabicParser__.isInArabicSubstitutionA=function(e){return void 0!==t[e.charCodeAt(0)]},i=e.__arabicParser__.isArabicLetter=function(e){return"string"==typeof e&&/^[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF]+$/.test(e)},s=e.__arabicParser__.isArabicEndLetter=function(e){return i(e)&&o(e)&&t[e.charCodeAt(0)].length<=2},c=e.__arabicParser__.isArabicAlfLetter=function(e){return i(e)&&a.indexOf(e.charCodeAt(0))>=0};e.__arabicParser__.arabicLetterHasIsolatedForm=function(e){return i(e)&&o(e)&&t[e.charCodeAt(0)].length>=1};var l=e.__arabicParser__.arabicLetterHasFinalForm=function(e){return i(e)&&o(e)&&t[e.charCodeAt(0)].length>=2};e.__arabicParser__.arabicLetterHasInitialForm=function(e){return i(e)&&o(e)&&t[e.charCodeAt(0)].length>=3};var u=e.__arabicParser__.arabicLetterHasMedialForm=function(e){return i(e)&&o(e)&&4==t[e.charCodeAt(0)].length},f=e.__arabicParser__.resolveLigatures=function(e){var t=0,n=r,a="",o=0;for(t=0;t<e.length;t+=1)void 0!==n[e.charCodeAt(t)]?(o++,"number"==typeof(n=n[e.charCodeAt(t)])&&(a+=String.fromCharCode(n),n=r,o=0),t===e.length-1&&(n=r,a+=e.charAt(t-(o-1)),t-=o-1,o=0)):(n=r,a+=e.charAt(t-o),t-=o,o=0);return a};e.__arabicParser__.isArabicDiacritic=function(e){return void 0!==e&&void 0!==n[e.charCodeAt(0)]};var h=e.__arabicParser__.getCorrectForm=function(e,t,r){return i(e)?!1===o(e)?-1:!l(e)||!i(t)&&!i(r)||!i(r)&&s(t)||s(e)&&!i(t)||s(e)&&c(t)||s(e)&&s(t)?0:u(e)&&i(t)&&!s(t)&&i(r)&&l(r)?3:s(e)||!i(r)?1:2:-1},d=function(e){var r=0,n=0,a=0,o="",s="",c="",l=(e=e||"").split("\\s+"),u=[];for(r=0;r<l.length;r+=1){for(u.push(""),n=0;n<l[r].length;n+=1)o=l[r][n],s=l[r][n-1],c=l[r][n+1],i(o)?(a=h(o,s,c),u[r]+=-1!==a?String.fromCharCode(t[o.charCodeAt(0)][a]):o):u[r]+=o;u[r]=f(u[r])}return u.join(" ")},p=e.__arabicParser__.processArabic=e.processArabic=function(){var e,t="string"==typeof arguments[0]?arguments[0]:arguments[0].text,r=[];if(Array.isArray(t)){var n=0;for(r=[],n=0;n<t.length;n+=1)Array.isArray(t[n])?r.push([d(t[n][0]),t[n][1],t[n][2]]):r.push([d(t[n])]);e=r}else e=d(t);return"string"==typeof arguments[0]?e:(arguments[0].text=e,arguments[0])};e.events.push(["preProcessText",p])}(P.API),function(e){e.autoPrint=function(e){var t;if("javascript"===((e=e||{}).variant=e.variant||"non-conform",e.variant))this.addJS("print({});");else this.internal.events.subscribe("postPutResources",(function(){t=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /Named"),this.internal.out("/Type /Action"),this.internal.out("/N /Print"),this.internal.out(">>"),this.internal.out("endobj")})),this.internal.events.subscribe("putCatalog",(function(){this.internal.out("/OpenAction "+t+" 0 R")}));return this}}(P.API),function(e){var t=function(){var e=void 0;Object.defineProperty(this,"pdf",{get:function(){return e},set:function(t){e=t}});var t=150;Object.defineProperty(this,"width",{get:function(){return t},set:function(e){t=isNaN(e)||!1===Number.isInteger(e)||e<0?150:e,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=t+1)}});var r=300;Object.defineProperty(this,"height",{get:function(){return r},set:function(e){r=isNaN(e)||!1===Number.isInteger(e)||e<0?300:e,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=r+1)}});var n=[];Object.defineProperty(this,"childNodes",{get:function(){return n},set:function(e){n=e}});var a={};Object.defineProperty(this,"style",{get:function(){return a},set:function(e){a=e}}),Object.defineProperty(this,"parentNode",{})};t.prototype.getContext=function(e,t){var r;if("2d"!==(e=e||"2d"))return null;for(r in t)this.pdf.context2d.hasOwnProperty(r)&&(this.pdf.context2d[r]=t[r]);return this.pdf.context2d._canvas=this,this.pdf.context2d},t.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},e.events.push(["initialized",function(){this.canvas=new t,this.canvas.pdf=this}])}(P.API),function(e){var t={left:0,top:0,bottom:0,right:0},r=!1,n=function(){void 0===this.internal.__cell__&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.__cell__.margins=Object.assign({},t),this.internal.__cell__.margins.width=this.getPageWidth(),a.call(this))},a=function(){this.internal.__cell__.lastCell=new o,this.internal.__cell__.pages=1},o=function(){var e=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return e},set:function(t){e=t}});var t=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return t},set:function(e){t=e}});var r=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return r},set:function(e){r=e}});var n=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return n},set:function(e){n=e}});var a=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return a},set:function(e){a=e}});var o=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return o},set:function(e){o=e}});var i=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return i},set:function(e){i=e}}),this};o.prototype.clone=function(){return new o(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},o.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},e.setHeaderFunction=function(e){return n.call(this),this.internal.__cell__.headerFunction="function"==typeof e?e:void 0,this},e.getTextDimensions=function(e,t){n.call(this);var r=(t=t||{}).fontSize||this.getFontSize(),a=t.font||this.getFont(),o=t.scaleFactor||this.internal.scaleFactor,i=0,s=0,c=0,l=this;if(!Array.isArray(e)&&"string"!=typeof e){if("number"!=typeof e)throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");e=String(e)}const u=t.maxWidth;u>0?"string"==typeof e?e=this.splitTextToSize(e,u):"[object Array]"===Object.prototype.toString.call(e)&&(e=e.reduce((function(e,t){return e.concat(l.splitTextToSize(t,u))}),[])):e=Array.isArray(e)?e:[e];for(var f=0;f<e.length;f++)i<(c=this.getStringUnitWidth(e[f],{font:a})*r)&&(i=c);return 0!==i&&(s=e.length),{w:i/=o,h:Math.max((s*r*this.getLineHeightFactor()-r*(this.getLineHeightFactor()-1))/o,0)}},e.cellAddPage=function(){n.call(this),this.addPage();var e=this.internal.__cell__.margins||t;return this.internal.__cell__.lastCell=new o(e.left,e.top,void 0,void 0),this.internal.__cell__.pages+=1,this};var i=e.cell=function(){var e;e=arguments[0]instanceof o?arguments[0]:new o(arguments[0],arguments[1],arguments[2],arguments[3],arguments[4],arguments[5]),n.call(this);var a=this.internal.__cell__.lastCell,i=this.internal.__cell__.padding,s=this.internal.__cell__.margins||t,c=this.internal.__cell__.tableHeaderRow,l=this.internal.__cell__.printHeaders;return void 0!==a.lineNumber&&(a.lineNumber===e.lineNumber?(e.x=(a.x||0)+(a.width||0),e.y=a.y||0):a.y+a.height+e.height+s.bottom>this.getPageHeight()?(this.cellAddPage(),e.y=s.top,l&&c&&(this.printHeaderRow(e.lineNumber,!0),e.y+=c[0].height)):e.y=a.y+a.height||e.y),void 0!==e.text[0]&&(this.rect(e.x,e.y,e.width,e.height,!0===r?"FD":void 0),"right"===e.align?this.text(e.text,e.x+e.width-i,e.y+i,{align:"right",baseline:"top"}):"center"===e.align?this.text(e.text,e.x+e.width/2,e.y+i,{align:"center",baseline:"top",maxWidth:e.width-i-i}):this.text(e.text,e.x+i,e.y+i,{align:"left",baseline:"top",maxWidth:e.width-i-i})),this.internal.__cell__.lastCell=e,this};e.table=function(e,r,c,l,u){if(n.call(this),!c)throw new Error("No data for PDF table.");var f,h,d,p,g=[],m=[],v=[],b={},y={},w=[],S=[],x=(u=u||{}).autoSize||!1,A=!1!==u.printHeaders,k=u.css&&void 0!==u.css["font-size"]?16*u.css["font-size"]:u.fontSize||12,T=u.margins||Object.assign({width:this.getPageWidth()},t),E="number"==typeof u.padding?u.padding:3,_=u.headerBackgroundColor||"#c8c8c8";if(a.call(this),this.internal.__cell__.printHeaders=A,this.internal.__cell__.margins=T,this.internal.__cell__.table_font_size=k,this.internal.__cell__.padding=E,this.internal.__cell__.headerBackgroundColor=_,this.setFontSize(k),null==l)m=g=Object.keys(c[0]),v=g.map((function(){return"left"}));else if(Array.isArray(l)&&"object"==typeof l[0])for(g=l.map((function(e){return e.name})),m=l.map((function(e){return e.prompt||e.name||""})),v=l.map((function(e){return e.align||"left"})),f=0;f<l.length;f+=1)y[l[f].name]=l[f].width*(19.049976/25.4);else Array.isArray(l)&&"string"==typeof l[0]&&(m=g=l,v=g.map((function(){return"left"})));if(x||Array.isArray(l)&&"string"==typeof l[0])for(f=0;f<g.length;f+=1){for(b[p=g[f]]=c.map((function(e){return e[p]})),this.setFont(void 0,"bold"),w.push(this.getTextDimensions(m[f],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w),h=b[p],this.setFont(void 0,"normal"),d=0;d<h.length;d+=1)w.push(this.getTextDimensions(h[d],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w);y[p]=Math.max.apply(null,w)+E+E,w=[]}if(A){var N={};for(f=0;f<g.length;f+=1)N[g[f]]={},N[g[f]].text=m[f],N[g[f]].align=v[f];var C=s.call(this,N,y);S=g.map((function(t){return new o(e,r,y[t],C,N[t].text,void 0,N[t].align)})),this.setTableHeaderRow(S),this.printHeaderRow(1,!1)}var O=l.reduce((function(e,t){return e[t.name]=t.align,e}),{});for(f=0;f<c.length;f+=1){var R=s.call(this,c[f],y);for(d=0;d<g.length;d+=1)i.call(this,new o(e,r,y[g[d]],R,c[f][g[d]],f+2,O[g[d]]))}return this.internal.__cell__.table_x=e,this.internal.__cell__.table_y=r,this};var s=function(e,t){var r=this.internal.__cell__.padding,n=this.internal.__cell__.table_font_size,a=this.internal.scaleFactor;return Object.keys(e).map((function(n){var a=e[n];return this.splitTextToSize(a.hasOwnProperty("text")?a.text:a,t[n]-r-r)}),this).map((function(e){return this.getLineHeightFactor()*e.length*n/a+r+r}),this).reduce((function(e,t){return Math.max(e,t)}),0)};e.setTableHeaderRow=function(e){n.call(this),this.internal.__cell__.tableHeaderRow=e},e.printHeaderRow=function(e,t){if(n.call(this),!this.internal.__cell__.tableHeaderRow)throw new Error("Property tableHeaderRow does not exist.");var a;if(r=!0,"function"==typeof this.internal.__cell__.headerFunction){var s=this.internal.__cell__.headerFunction(this,this.internal.__cell__.pages);this.internal.__cell__.lastCell=new o(s[0],s[1],s[2],s[3],void 0,-1)}this.setFont(void 0,"bold");for(var c=[],l=0;l<this.internal.__cell__.tableHeaderRow.length;l+=1)a=this.internal.__cell__.tableHeaderRow[l].clone(),t&&(a.y=this.internal.__cell__.margins.top||0,c.push(a)),a.lineNumber=e,this.setFillColor(this.internal.__cell__.headerBackgroundColor),i.call(this,a);c.length>0&&this.setTableHeaderRow(c),this.setFont(void 0,"normal"),r=!1}}(P.API);var Se={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},xe=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],Ae=we(xe),ke=[100,200,300,400,500,600,700,800,900],Te=we(ke);function Ee(e){var t=e.family.replace(/"|'/g,"").toLowerCase(),r=function(e){return Se[e=e||"normal"]?e:"normal"}(e.style),n=function(e){return e?"number"==typeof e?e>=100&&e<=900&&e%100==0?e:400:/^\d00$/.test(e)?parseInt(e):"bold"===e?700:400:400}(e.weight),a=function(e){return"number"==typeof Ae[e=e||"normal"]?e:"normal"}(e.stretch);return{family:t,style:r,weight:n,stretch:a,src:e.src||[],ref:e.ref||{name:t,style:[a,r,n].join(" ")}}}function _e(e,t,r,n){var a;for(a=r;a>=0&&a<t.length;a+=n)if(e[t[a]])return e[t[a]];for(a=r;a>=0&&a<t.length;a-=n)if(e[t[a]])return e[t[a]]}var Ne={"sans-serif":"helvetica",fixed:"courier",monospace:"courier",terminal:"courier",cursive:"times",fantasy:"times",serif:"times"},Ce={caption:"times",icon:"times",menu:"times","message-box":"times","small-caption":"times","status-bar":"times"};function Oe(e){return[e.stretch,e.style,e.weight,e.family].join(" ")}function Re(e){return e.trimLeft()}function Pe(e,t){for(var r=0;r<e.length;){if(e.charAt(r)===t)return[e.substring(0,r),e.substring(r+1)];r+=1}return null}function Le(e){var t=e.match(/^(-[a-z_]|[a-z_])[a-z0-9_-]*/i);return null===t?null:[t[0],e.substring(t[0].length)]}var Ie=["times"];!function(e){var t,r,a,o,i,s,c,l,f,h=function(e){return e=e||{},this.isStrokeTransparent=e.isStrokeTransparent||!1,this.strokeOpacity=e.strokeOpacity||1,this.strokeStyle=e.strokeStyle||"#000000",this.fillStyle=e.fillStyle||"#000000",this.isFillTransparent=e.isFillTransparent||!1,this.fillOpacity=e.fillOpacity||1,this.font=e.font||"10px sans-serif",this.textBaseline=e.textBaseline||"alphabetic",this.textAlign=e.textAlign||"left",this.lineWidth=e.lineWidth||1,this.lineJoin=e.lineJoin||"miter",this.lineCap=e.lineCap||"butt",this.path=e.path||[],this.transform=void 0!==e.transform?e.transform.clone():new l,this.globalCompositeOperation=e.globalCompositeOperation||"normal",this.globalAlpha=e.globalAlpha||1,this.clip_path=e.clip_path||[],this.currentPoint=e.currentPoint||new s,this.miterLimit=e.miterLimit||10,this.lastPoint=e.lastPoint||new s,this.ignoreClearRect="boolean"!=typeof e.ignoreClearRect||e.ignoreClearRect,this};e.events.push(["initialized",function(){this.context2d=new d(this),t=this.internal.f2,r=this.internal.getCoordinateString,a=this.internal.getVerticalCoordinateString,o=this.internal.getHorizontalCoordinate,i=this.internal.getVerticalCoordinate,s=this.internal.Point,c=this.internal.Rectangle,l=this.internal.Matrix,f=new h}]);var d=function(e){Object.defineProperty(this,"canvas",{get:function(){return{parentNode:!1,style:!1}}});var t=e;Object.defineProperty(this,"pdf",{get:function(){return t}});var r=!1;Object.defineProperty(this,"pageWrapXEnabled",{get:function(){return r},set:function(e){r=Boolean(e)}});var n=!1;Object.defineProperty(this,"pageWrapYEnabled",{get:function(){return n},set:function(e){n=Boolean(e)}});var a=0;Object.defineProperty(this,"posX",{get:function(){return a},set:function(e){isNaN(e)||(a=e)}});var o=0;Object.defineProperty(this,"posY",{get:function(){return o},set:function(e){isNaN(e)||(o=e)}});var i=!1;Object.defineProperty(this,"autoPaging",{get:function(){return i},set:function(e){i=Boolean(e)}});var s=0;Object.defineProperty(this,"lastBreak",{get:function(){return s},set:function(e){s=e}});var c=[];Object.defineProperty(this,"pageBreaks",{get:function(){return c},set:function(e){c=e}}),Object.defineProperty(this,"ctx",{get:function(){return f},set:function(e){e instanceof h&&(f=e)}}),Object.defineProperty(this,"path",{get:function(){return f.path},set:function(e){f.path=e}});var l=[];Object.defineProperty(this,"ctxStack",{get:function(){return l},set:function(e){l=e}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(e){var t;t=p(e),this.ctx.fillStyle=t.style,this.ctx.isFillTransparent=0===t.a,this.ctx.fillOpacity=t.a,this.pdf.setFillColor(t.r,t.g,t.b,{a:t.a}),this.pdf.setTextColor(t.r,t.g,t.b,{a:t.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(e){var t=p(e);this.ctx.strokeStyle=t.style,this.ctx.isStrokeTransparent=0===t.a,this.ctx.strokeOpacity=t.a,0===t.a?this.pdf.setDrawColor(255,255,255):(t.a,this.pdf.setDrawColor(t.r,t.g,t.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(e){-1!==["butt","round","square"].indexOf(e)&&(this.ctx.lineCap=e,this.pdf.setLineCap(e))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(e){isNaN(e)||(this.ctx.lineWidth=e,this.pdf.setLineWidth(e))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(e){-1!==["bevel","round","miter"].indexOf(e)&&(this.ctx.lineJoin=e,this.pdf.setLineJoin(e))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(e){isNaN(e)||(this.ctx.miterLimit=e,this.pdf.setMiterLimit(e))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(e){this.ctx.textBaseline=e}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(e){-1!==["right","end","center","left","start"].indexOf(e)&&(this.ctx.textAlign=e)}});var u=null;function d(e,t){if(null===u){var r=function(e){var t=[];return Object.keys(e).forEach((function(r){e[r].forEach((function(e){var n=null;switch(e){case"bold":n={family:r,weight:"bold"};break;case"italic":n={family:r,style:"italic"};break;case"bolditalic":n={family:r,weight:"bold",style:"italic"};break;case"":case"normal":n={family:r}}null!==n&&(n.ref={name:r,style:e},t.push(n))}))})),t}(e.getFontList());u=function(e){for(var t={},r=0;r<e.length;++r){var n=Ee(e[r]),a=n.family,o=n.stretch,i=n.style,s=n.weight;t[a]=t[a]||{},t[a][o]=t[a][o]||{},t[a][o][i]=t[a][o][i]||{},t[a][o][i][s]=n}return t}(r.concat(t))}return u}var g=null;Object.defineProperty(this,"fontFaces",{get:function(){return g},set:function(e){u=null,g=e}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(e){var t;if(this.ctx.font=e,null!==(t=/^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:\%|in|[cem]m|ex|p[ctx]))(?:\s*\/\s*(normal|[.\d]+(?:\%|in|[cem]m|ex|p[ctx])))?\s*([-_,\"\'\sa-z]+?)\s*$/i.exec(e))){var r=t[1],n=(t[2],t[3]),a=t[4],o=(t[5],t[6]),i=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(a)[2];a="px"===i?Math.floor(parseFloat(a)*this.pdf.internal.scaleFactor):"em"===i?Math.floor(parseFloat(a)*this.pdf.getFontSize()):Math.floor(parseFloat(a)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(a);var s=function(e){var t,r,n=[],a=e.trim();if(""===a)return Ie;if(a in Ce)return[Ce[a]];for(;""!==a;){switch(r=null,t=(a=Re(a)).charAt(0)){case'"':case"'":r=Pe(a.substring(1),t);break;default:r=Le(a)}if(null===r)return Ie;if(n.push(r[0]),""!==(a=Re(r[1]))&&","!==a.charAt(0))return Ie;a=a.replace(/^,/,"")}return n}(o);if(this.fontFaces){var c=function(e,t,r){for(var n=(r=r||{}).defaultFontFamily||"times",a=Object.assign({},Ne,r.genericFontFamilies||{}),o=null,i=null,s=0;s<t.length;++s)if(a[(o=Ee(t[s])).family]&&(o.family=a[o.family]),e.hasOwnProperty(o.family)){i=e[o.family];break}if(!(i=i||e[n]))throw new Error("Could not find a font-family for the rule '"+Oe(o)+"' and default family '"+n+"'.");if(i=function(e,t){if(t[e])return t[e];var r=Ae[e],n=r<=Ae.normal?-1:1,a=_e(t,xe,r,n);if(!a)throw new Error("Could not find a matching font-stretch value for "+e);return a}(o.stretch,i),i=function(e,t){if(t[e])return t[e];for(var r=Se[e],n=0;n<r.length;++n)if(t[r[n]])return t[r[n]];throw new Error("Could not find a matching font-style for "+e)}(o.style,i),!(i=function(e,t){if(t[e])return t[e];if(400===e&&t[500])return t[500];if(500===e&&t[400])return t[400];var r=Te[e],n=_e(t,ke,r,e<400?-1:1);if(!n)throw new Error("Could not find a matching font-weight for value "+e);return n}(o.weight,i)))throw new Error("Failed to resolve a font for the rule '"+Oe(o)+"'.");return i}(d(this.pdf,this.fontFaces),s.map((function(e){return{family:e,stretch:"normal",weight:n,style:r}})));this.pdf.setFont(c.ref.name,c.ref.style)}else{var l="";("bold"===n||parseInt(n,10)>=700||"bold"===r)&&(l="bold"),"italic"===r&&(l+="italic"),0===l.length&&(l="normal");for(var u="",f={arial:"Helvetica",Arial:"Helvetica",verdana:"Helvetica",Verdana:"Helvetica",helvetica:"Helvetica",Helvetica:"Helvetica","sans-serif":"Helvetica",fixed:"Courier",monospace:"Courier",terminal:"Courier",cursive:"Times",fantasy:"Times",serif:"Times"},h=0;h<s.length;h++){if(void 0!==this.pdf.internal.getFont(s[h],l,{noFallback:!0,disableWarning:!0})){u=s[h];break}if("bolditalic"===l&&void 0!==this.pdf.internal.getFont(s[h],"bold",{noFallback:!0,disableWarning:!0}))u=s[h],l="bold";else if(void 0!==this.pdf.internal.getFont(s[h],"normal",{noFallback:!0,disableWarning:!0})){u=s[h],l="normal";break}}if(""===u)for(var p=0;p<s.length;p++)if(f[s[p]]){u=f[s[p]];break}u=""===u?"Times":u,this.pdf.setFont(u,l)}}}}),Object.defineProperty(this,"globalCompositeOperation",{get:function(){return this.ctx.globalCompositeOperation},set:function(e){this.ctx.globalCompositeOperation=e}}),Object.defineProperty(this,"globalAlpha",{get:function(){return this.ctx.globalAlpha},set:function(e){this.ctx.globalAlpha=e}}),Object.defineProperty(this,"ignoreClearRect",{get:function(){return this.ctx.ignoreClearRect},set:function(e){this.ctx.ignoreClearRect=Boolean(e)}})};d.prototype.fill=function(){S.call(this,"fill",!1)},d.prototype.stroke=function(){S.call(this,"stroke",!1)},d.prototype.beginPath=function(){this.path=[{type:"begin"}]},d.prototype.moveTo=function(e,t){if(isNaN(e)||isNaN(t))throw n.error("jsPDF.context2d.moveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.moveTo");var r=this.ctx.transform.applyToPoint(new s(e,t));this.path.push({type:"mt",x:r.x,y:r.y}),this.ctx.lastPoint=new s(e,t)},d.prototype.closePath=function(){var e=new s(0,0),t=0;for(t=this.path.length-1;-1!==t;t--)if("begin"===this.path[t].type&&"object"==typeof this.path[t+1]&&"number"==typeof this.path[t+1].x){e=new s(this.path[t+1].x,this.path[t+1].y),this.path.push({type:"lt",x:e.x,y:e.y});break}"object"==typeof this.path[t+2]&&"number"==typeof this.path[t+2].x&&this.path.push(JSON.parse(JSON.stringify(this.path[t+2]))),this.path.push({type:"close"}),this.ctx.lastPoint=new s(e.x,e.y)},d.prototype.lineTo=function(e,t){if(isNaN(e)||isNaN(t))throw n.error("jsPDF.context2d.lineTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.lineTo");var r=this.ctx.transform.applyToPoint(new s(e,t));this.path.push({type:"lt",x:r.x,y:r.y}),this.ctx.lastPoint=new s(r.x,r.y)},d.prototype.clip=function(){this.ctx.clip_path=JSON.parse(JSON.stringify(this.path)),S.call(this,null,!0)},d.prototype.quadraticCurveTo=function(e,t,r,a){if(isNaN(r)||isNaN(a)||isNaN(e)||isNaN(t))throw n.error("jsPDF.context2d.quadraticCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.quadraticCurveTo");var o=this.ctx.transform.applyToPoint(new s(r,a)),i=this.ctx.transform.applyToPoint(new s(e,t));this.path.push({type:"qct",x1:i.x,y1:i.y,x:o.x,y:o.y}),this.ctx.lastPoint=new s(o.x,o.y)},d.prototype.bezierCurveTo=function(e,t,r,a,o,i){if(isNaN(o)||isNaN(i)||isNaN(e)||isNaN(t)||isNaN(r)||isNaN(a))throw n.error("jsPDF.context2d.bezierCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.bezierCurveTo");var c=this.ctx.transform.applyToPoint(new s(o,i)),l=this.ctx.transform.applyToPoint(new s(e,t)),u=this.ctx.transform.applyToPoint(new s(r,a));this.path.push({type:"bct",x1:l.x,y1:l.y,x2:u.x,y2:u.y,x:c.x,y:c.y}),this.ctx.lastPoint=new s(c.x,c.y)},d.prototype.arc=function(e,t,r,a,o,i){if(isNaN(e)||isNaN(t)||isNaN(r)||isNaN(a)||isNaN(o))throw n.error("jsPDF.context2d.arc: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.arc");if(i=Boolean(i),!this.ctx.transform.isIdentity){var c=this.ctx.transform.applyToPoint(new s(e,t));e=c.x,t=c.y;var l=this.ctx.transform.applyToPoint(new s(0,r)),u=this.ctx.transform.applyToPoint(new s(0,0));r=Math.sqrt(Math.pow(l.x-u.x,2)+Math.pow(l.y-u.y,2))}Math.abs(o-a)>=2*Math.PI&&(a=0,o=2*Math.PI),this.path.push({type:"arc",x:e,y:t,radius:r,startAngle:a,endAngle:o,counterclockwise:i})},d.prototype.arcTo=function(e,t,r,n,a){throw new Error("arcTo not implemented.")},d.prototype.rect=function(e,t,r,a){if(isNaN(e)||isNaN(t)||isNaN(r)||isNaN(a))throw n.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(e,t),this.lineTo(e+r,t),this.lineTo(e+r,t+a),this.lineTo(e,t+a),this.lineTo(e,t),this.lineTo(e+r,t),this.lineTo(e,t)},d.prototype.fillRect=function(e,t,r,a){if(isNaN(e)||isNaN(t)||isNaN(r)||isNaN(a))throw n.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!g.call(this)){var o={};"butt"!==this.lineCap&&(o.lineCap=this.lineCap,this.lineCap="butt"),"miter"!==this.lineJoin&&(o.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(e,t,r,a),this.fill(),o.hasOwnProperty("lineCap")&&(this.lineCap=o.lineCap),o.hasOwnProperty("lineJoin")&&(this.lineJoin=o.lineJoin)}},d.prototype.strokeRect=function(e,t,r,a){if(isNaN(e)||isNaN(t)||isNaN(r)||isNaN(a))throw n.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");m.call(this)||(this.beginPath(),this.rect(e,t,r,a),this.stroke())},d.prototype.clearRect=function(e,t,r,a){if(isNaN(e)||isNaN(t)||isNaN(r)||isNaN(a))throw n.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(e,t,r,a))},d.prototype.save=function(e){e="boolean"!=typeof e||e;for(var t=this.pdf.internal.getCurrentPageInfo().pageNumber,r=0;r<this.pdf.internal.getNumberOfPages();r++)this.pdf.setPage(r+1),this.pdf.internal.out("q");if(this.pdf.setPage(t),e){this.ctx.fontSize=this.pdf.internal.getFontSize();var n=new h(this.ctx);this.ctxStack.push(this.ctx),this.ctx=n}},d.prototype.restore=function(e){e="boolean"!=typeof e||e;for(var t=this.pdf.internal.getCurrentPageInfo().pageNumber,r=0;r<this.pdf.internal.getNumberOfPages();r++)this.pdf.setPage(r+1),this.pdf.internal.out("Q");this.pdf.setPage(t),e&&0!==this.ctxStack.length&&(this.ctx=this.ctxStack.pop(),this.fillStyle=this.ctx.fillStyle,this.strokeStyle=this.ctx.strokeStyle,this.font=this.ctx.font,this.lineCap=this.ctx.lineCap,this.lineWidth=this.ctx.lineWidth,this.lineJoin=this.ctx.lineJoin)},d.prototype.toDataURL=function(){throw new Error("toDataUrl not implemented.")};var p=function(e){var t,r,n,a;if(!0===e.isCanvasGradient&&(e=e.getColor()),!e)return{r:0,g:0,b:0,a:0,style:e};if(/transparent|rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*0+\s*\)/.test(e))t=0,r=0,n=0,a=0;else{var o=/rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/.exec(e);if(null!==o)t=parseInt(o[1]),r=parseInt(o[2]),n=parseInt(o[3]),a=1;else if(null!==(o=/rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*([\d.]+)\s*\)/.exec(e)))t=parseInt(o[1]),r=parseInt(o[2]),n=parseInt(o[3]),a=parseFloat(o[4]);else{if(a=1,"string"==typeof e&&"#"!==e.charAt(0)){var i=new u(e);e=i.ok?i.toHex():"#000000"}4===e.length?(t=e.substring(1,2),t+=t,r=e.substring(2,3),r+=r,n=e.substring(3,4),n+=n):(t=e.substring(1,3),r=e.substring(3,5),n=e.substring(5,7)),t=parseInt(t,16),r=parseInt(r,16),n=parseInt(n,16)}}return{r:t,g:r,b:n,a:a,style:e}},g=function(){return this.ctx.isFillTransparent||0==this.globalAlpha},m=function(){return Boolean(this.ctx.isStrokeTransparent||0==this.globalAlpha)};d.prototype.fillText=function(e,t,r,a){if(isNaN(t)||isNaN(r)||"string"!=typeof e)throw n.error("jsPDF.context2d.fillText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillText");if(a=isNaN(a)?void 0:a,!g.call(this)){r=A.call(this,r);var o=I(this.ctx.transform.rotation),i=this.ctx.transform.scaleX;N.call(this,{text:e,x:t,y:r,scale:i,angle:o,align:this.textAlign,maxWidth:a})}},d.prototype.strokeText=function(e,t,r,a){if(isNaN(t)||isNaN(r)||"string"!=typeof e)throw n.error("jsPDF.context2d.strokeText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeText");if(!m.call(this)){a=isNaN(a)?void 0:a,r=A.call(this,r);var o=I(this.ctx.transform.rotation),i=this.ctx.transform.scaleX;N.call(this,{text:e,x:t,y:r,scale:i,renderingMode:"stroke",angle:o,align:this.textAlign,maxWidth:a})}},d.prototype.measureText=function(e){if("string"!=typeof e)throw n.error("jsPDF.context2d.measureText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.measureText");var t=this.pdf,r=this.pdf.internal.scaleFactor,a=t.internal.getFontSize(),o=t.getStringUnitWidth(e)*a/t.internal.scaleFactor;return new function(e){var t=(e=e||{}).width||0;return Object.defineProperty(this,"width",{get:function(){return t}}),this}({width:o*=Math.round(96*r/72*1e4)/1e4})},d.prototype.scale=function(e,t){if(isNaN(e)||isNaN(t))throw n.error("jsPDF.context2d.scale: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.scale");var r=new l(e,0,0,t,0,0);this.ctx.transform=this.ctx.transform.multiply(r)},d.prototype.rotate=function(e){if(isNaN(e))throw n.error("jsPDF.context2d.rotate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rotate");var t=new l(Math.cos(e),Math.sin(e),-Math.sin(e),Math.cos(e),0,0);this.ctx.transform=this.ctx.transform.multiply(t)},d.prototype.translate=function(e,t){if(isNaN(e)||isNaN(t))throw n.error("jsPDF.context2d.translate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.translate");var r=new l(1,0,0,1,e,t);this.ctx.transform=this.ctx.transform.multiply(r)},d.prototype.transform=function(e,t,r,a,o,i){if(isNaN(e)||isNaN(t)||isNaN(r)||isNaN(a)||isNaN(o)||isNaN(i))throw n.error("jsPDF.context2d.transform: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.transform");var s=new l(e,t,r,a,o,i);this.ctx.transform=this.ctx.transform.multiply(s)},d.prototype.setTransform=function(e,t,r,n,a,o){e=isNaN(e)?1:e,t=isNaN(t)?0:t,r=isNaN(r)?0:r,n=isNaN(n)?1:n,a=isNaN(a)?0:a,o=isNaN(o)?0:o,this.ctx.transform=new l(e,t,r,n,a,o)},d.prototype.drawImage=function(e,t,r,n,a,o,i,s,u){var f=this.pdf.getImageProperties(e),h=1,d=1,p=1,g=1;void 0!==n&&void 0!==s&&(p=s/n,g=u/a,h=f.width/n*s/n,d=f.height/a*u/a),void 0===o&&(o=t,i=r,t=0,r=0),void 0!==n&&void 0===s&&(s=n,u=a),void 0===n&&void 0===s&&(s=f.width,u=f.height);for(var m,b=this.ctx.transform.decompose(),S=I(b.rotate.shx),A=new l,k=(A=(A=(A=A.multiply(b.translate)).multiply(b.skew)).multiply(b.scale)).applyToRectangle(new c(o-t*p,i-r*g,n*h,a*d)),T=v.call(this,k),E=[],_=0;_<T.length;_+=1)-1===E.indexOf(T[_])&&E.push(T[_]);if(w(E),this.autoPaging)for(var N=E[0],C=E[E.length-1],O=N;O<C+1;O++){if(this.pdf.setPage(O),0!==this.ctx.clip_path.length){var R=this.path;m=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=y(m,this.posX,-1*this.pdf.internal.pageSize.height*(O-1)+this.posY),x.call(this,"fill",!0),this.path=R}var P=JSON.parse(JSON.stringify(k));P=y([P],this.posX,-1*this.pdf.internal.pageSize.height*(O-1)+this.posY)[0],this.pdf.addImage(e,"JPEG",P.x,P.y,P.w,P.h,null,null,S)}else this.pdf.addImage(e,"JPEG",k.x,k.y,k.w,k.h,null,null,S)};var v=function(e,t,r){var n=[];switch(t=t||this.pdf.internal.pageSize.width,r=r||this.pdf.internal.pageSize.height,e.type){default:case"mt":case"lt":n.push(Math.floor((e.y+this.posY)/r)+1);break;case"arc":n.push(Math.floor((e.y+this.posY-e.radius)/r)+1),n.push(Math.floor((e.y+this.posY+e.radius)/r)+1);break;case"qct":var a=F(this.ctx.lastPoint.x,this.ctx.lastPoint.y,e.x1,e.y1,e.x,e.y);n.push(Math.floor(a.y/r)+1),n.push(Math.floor((a.y+a.h)/r)+1);break;case"bct":var o=D(this.ctx.lastPoint.x,this.ctx.lastPoint.y,e.x1,e.y1,e.x2,e.y2,e.x,e.y);n.push(Math.floor(o.y/r)+1),n.push(Math.floor((o.y+o.h)/r)+1);break;case"rect":n.push(Math.floor((e.y+this.posY)/r)+1),n.push(Math.floor((e.y+e.h+this.posY)/r)+1)}for(var i=0;i<n.length;i+=1)for(;this.pdf.internal.getNumberOfPages()<n[i];)b.call(this);return n},b=function(){var e=this.fillStyle,t=this.strokeStyle,r=this.font,n=this.lineCap,a=this.lineWidth,o=this.lineJoin;this.pdf.addPage(),this.fillStyle=e,this.strokeStyle=t,this.font=r,this.lineCap=n,this.lineWidth=a,this.lineJoin=o},y=function(e,t,r){for(var n=0;n<e.length;n++)switch(e[n].type){case"bct":e[n].x2+=t,e[n].y2+=r;case"qct":e[n].x1+=t,e[n].y1+=r;default:e[n].x+=t,e[n].y+=r}return e},w=function(e){return e.sort((function(e,t){return e-t}))},S=function(e,t){for(var r,n,a=this.fillStyle,o=this.strokeStyle,i=this.lineCap,s=this.lineWidth,c=s*this.ctx.transform.scaleX,l=this.lineJoin,u=JSON.parse(JSON.stringify(this.path)),f=JSON.parse(JSON.stringify(this.path)),h=[],d=0;d<f.length;d++)if(void 0!==f[d].x)for(var p=v.call(this,f[d]),g=0;g<p.length;g+=1)-1===h.indexOf(p[g])&&h.push(p[g]);for(var m=0;m<h.length;m++)for(;this.pdf.internal.getNumberOfPages()<h[m];)b.call(this);if(w(h),this.autoPaging)for(var S=h[0],A=h[h.length-1],k=S;k<A+1;k++){if(this.pdf.setPage(k),this.fillStyle=a,this.strokeStyle=o,this.lineCap=i,this.lineWidth=c,this.lineJoin=l,0!==this.ctx.clip_path.length){var T=this.path;r=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=y(r,this.posX,-1*this.pdf.internal.pageSize.height*(k-1)+this.posY),x.call(this,e,!0),this.path=T}n=JSON.parse(JSON.stringify(u)),this.path=y(n,this.posX,-1*this.pdf.internal.pageSize.height*(k-1)+this.posY),!1!==t&&0!==k||x.call(this,e,t),this.lineWidth=s}else this.lineWidth=c,x.call(this,e,t),this.lineWidth=s;this.path=u},x=function(e,t){if(("stroke"!==e||t||!m.call(this))&&("stroke"===e||t||!g.call(this))){for(var r,n,a=[],o=this.path,i=0;i<o.length;i++){var s=o[i];switch(s.type){case"begin":a.push({begin:!0});break;case"close":a.push({close:!0});break;case"mt":a.push({start:s,deltas:[],abs:[]});break;case"lt":var c=a.length;if(!isNaN(o[i-1].x)&&(r=[s.x-o[i-1].x,s.y-o[i-1].y],c>0))for(;c>=0;c--)if(!0!==a[c-1].close&&!0!==a[c-1].begin){a[c-1].deltas.push(r),a[c-1].abs.push(s);break}break;case"bct":r=[s.x1-o[i-1].x,s.y1-o[i-1].y,s.x2-o[i-1].x,s.y2-o[i-1].y,s.x-o[i-1].x,s.y-o[i-1].y],a[a.length-1].deltas.push(r);break;case"qct":var l=o[i-1].x+2/3*(s.x1-o[i-1].x),u=o[i-1].y+2/3*(s.y1-o[i-1].y),f=s.x+2/3*(s.x1-s.x),h=s.y+2/3*(s.y1-s.y),d=s.x,p=s.y;r=[l-o[i-1].x,u-o[i-1].y,f-o[i-1].x,h-o[i-1].y,d-o[i-1].x,p-o[i-1].y],a[a.length-1].deltas.push(r);break;case"arc":a.push({deltas:[],abs:[],arc:!0}),Array.isArray(a[a.length-1].abs)&&a[a.length-1].abs.push(s)}}n=t?null:"stroke"===e?"stroke":"fill";for(var v=0;v<a.length;v++){if(a[v].arc){for(var b=a[v].abs,y=0;y<b.length;y++){var w=b[y];"arc"===w.type?k.call(this,w.x,w.y,w.radius,w.startAngle,w.endAngle,w.counterclockwise,void 0,t):C.call(this,w.x,w.y)}T.call(this,n),this.pdf.internal.out("h")}if(!a[v].arc&&!0!==a[v].close&&!0!==a[v].begin){var S=a[v].start.x,x=a[v].start.y;O.call(this,a[v].deltas,S,x)}}n&&T.call(this,n),t&&E.call(this)}},A=function(e){var t=this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor,r=t*(this.pdf.internal.getLineHeightFactor()-1);switch(this.ctx.textBaseline){case"bottom":return e-r;case"top":return e+t-r;case"hanging":return e+t-2*r;case"middle":return e+t/2-r;default:return e}};d.prototype.createLinearGradient=function(){var e=function(){};return e.colorStops=[],e.addColorStop=function(e,t){this.colorStops.push([e,t])},e.getColor=function(){return 0===this.colorStops.length?"#000000":this.colorStops[0][1]},e.isCanvasGradient=!0,e},d.prototype.createPattern=function(){return this.createLinearGradient()},d.prototype.createRadialGradient=function(){return this.createLinearGradient()};var k=function(e,t,r,n,a,o,i,s){for(var c=P.call(this,r,n,a,o),l=0;l<c.length;l++){var u=c[l];0===l&&_.call(this,u.x1+e,u.y1+t),R.call(this,e,t,u.x2,u.y2,u.x3,u.y3,u.x4,u.y4)}s?E.call(this):T.call(this,i)},T=function(e){switch(e){case"stroke":this.pdf.internal.out("S");break;case"fill":this.pdf.internal.out("f")}},E=function(){this.pdf.clip(),this.pdf.discardPath()},_=function(e,t){this.pdf.internal.out(r(e)+" "+a(t)+" m")},N=function(e){var t;switch(e.align){case"right":case"end":t="right";break;case"center":t="center";break;default:t="left"}var r=this.ctx.transform.applyToPoint(new s(e.x,e.y)),n=this.ctx.transform.decompose(),a=new l;a=(a=(a=a.multiply(n.translate)).multiply(n.skew)).multiply(n.scale);for(var o,i,u,f=this.pdf.getTextDimensions(e.text),h=this.ctx.transform.applyToRectangle(new c(e.x,e.y,f.w,f.h)),d=a.applyToRectangle(new c(e.x,e.y-f.h,f.w,f.h)),p=v.call(this,d),g=[],m=0;m<p.length;m+=1)-1===g.indexOf(p[m])&&g.push(p[m]);if(w(g),!0===this.autoPaging)for(var b=g[0],S=g[g.length-1],A=b;A<S+1;A++){if(this.pdf.setPage(A),0!==this.ctx.clip_path.length){var k=this.path;o=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=y(o,this.posX,-1*this.pdf.internal.pageSize.height*(A-1)+this.posY),x.call(this,"fill",!0),this.path=k}var T=JSON.parse(JSON.stringify(h));T=y([T],this.posX,-1*this.pdf.internal.pageSize.height*(A-1)+this.posY)[0],e.scale>=.01&&(i=this.pdf.internal.getFontSize(),this.pdf.setFontSize(i*e.scale),u=this.lineWidth,this.lineWidth=u*e.scale),this.pdf.text(e.text,T.x,T.y,{angle:e.angle,align:t,renderingMode:e.renderingMode,maxWidth:e.maxWidth}),e.scale>=.01&&(this.pdf.setFontSize(i),this.lineWidth=u)}else e.scale>=.01&&(i=this.pdf.internal.getFontSize(),this.pdf.setFontSize(i*e.scale),u=this.lineWidth,this.lineWidth=u*e.scale),this.pdf.text(e.text,r.x+this.posX,r.y+this.posY,{angle:e.angle,align:t,renderingMode:e.renderingMode,maxWidth:e.maxWidth}),e.scale>=.01&&(this.pdf.setFontSize(i),this.lineWidth=u)},C=function(e,t,n,o){n=n||0,o=o||0,this.pdf.internal.out(r(e+n)+" "+a(t+o)+" l")},O=function(e,t,r){return this.pdf.lines(e,t,r,null,null)},R=function(e,r,n,a,s,c,l,u){this.pdf.internal.out([t(o(n+e)),t(i(a+r)),t(o(s+e)),t(i(c+r)),t(o(l+e)),t(i(u+r)),"c"].join(" "))},P=function(e,t,r,n){for(var a=2*Math.PI,o=Math.PI/2;t>r;)t-=a;var i=Math.abs(r-t);i<a&&n&&(i=a-i);for(var s=[],c=n?-1:1,l=t;i>1e-5;){var u=l+c*Math.min(i,o);s.push(L.call(this,e,l,u)),i-=Math.abs(u-l),l=u}return s},L=function(e,t,r){var n=(r-t)/2,a=e*Math.cos(n),o=e*Math.sin(n),i=a,s=-o,c=i*i+s*s,l=c+i*a+s*o,u=4/3*(Math.sqrt(2*c*l)-l)/(i*o-s*a),f=i-u*s,h=s+u*i,d=f,p=-h,g=n+t,m=Math.cos(g),v=Math.sin(g);return{x1:e*Math.cos(t),y1:e*Math.sin(t),x2:f*m-h*v,y2:f*v+h*m,x3:d*m-p*v,y3:d*v+p*m,x4:e*Math.cos(r),y4:e*Math.sin(r)}},I=function(e){return 180*e/Math.PI},F=function(e,t,r,n,a,o){var i=e+.5*(r-e),s=t+.5*(n-t),l=a+.5*(r-a),u=o+.5*(n-o),f=Math.min(e,a,i,l),h=Math.max(e,a,i,l),d=Math.min(t,o,s,u),p=Math.max(t,o,s,u);return new c(f,d,h-f,p-d)},D=function(e,t,r,n,a,o,i,s){var l,u,f,h,d,p,g,m,v,b,y,w,S,x,A=r-e,k=n-t,T=a-r,E=o-n,_=i-a,N=s-o;for(u=0;u<41;u++)v=(g=(f=e+(l=u/40)*A)+l*((d=r+l*T)-f))+l*(d+l*(a+l*_-d)-g),b=(m=(h=t+l*k)+l*((p=n+l*E)-h))+l*(p+l*(o+l*N-p)-m),0==u?(y=v,w=b,S=v,x=b):(y=Math.min(y,v),w=Math.min(w,b),S=Math.max(S,v),x=Math.max(x,b));return new c(Math.round(y),Math.round(w),Math.round(S-y),Math.round(x-w))}}(P.API);try{require("worker_threads").Worker}catch(e){}var Fe=Uint8Array,De=Uint16Array,Me=Uint32Array,je=new Fe([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),Be=new Fe([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),We=new Fe([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),Ue=function(e,t){for(var r=new De(31),n=0;n<31;++n)r[n]=t+=1<<e[n-1];var a=new Me(r[30]);for(n=1;n<30;++n)for(var o=r[n];o<r[n+1];++o)a[o]=o-r[n]<<5|n;return[r,a]},He=Ue(je,2),ze=He[0],Ve=He[1];ze[28]=258,Ve[258]=28;for(var qe=Ue(Be,0),$e=qe[0],Ge=qe[1],Xe=new De(32768),Ye=0;Ye<32768;++Ye){var Ke=(43690&Ye)>>>1|(21845&Ye)<<1;Ke=(61680&(Ke=(52428&Ke)>>>2|(13107&Ke)<<2))>>>4|(3855&Ke)<<4,Xe[Ye]=((65280&Ke)>>>8|(255&Ke)<<8)>>>1}var Je=function(e,t,r){for(var n=e.length,a=0,o=new De(t);a<n;++a)++o[e[a]-1];var i,s=new De(t);for(a=0;a<t;++a)s[a]=s[a-1]+o[a-1]<<1;if(r){i=new De(1<<t);var c=15-t;for(a=0;a<n;++a)if(e[a])for(var l=a<<4|e[a],u=t-e[a],f=s[e[a]-1]++<<u,h=f|(1<<u)-1;f<=h;++f)i[Xe[f]>>>c]=l}else for(i=new De(n),a=0;a<n;++a)i[a]=Xe[s[e[a]-1]++]>>>15-e[a];return i},Ze=new Fe(288);for(Ye=0;Ye<144;++Ye)Ze[Ye]=8;for(Ye=144;Ye<256;++Ye)Ze[Ye]=9;for(Ye=256;Ye<280;++Ye)Ze[Ye]=7;for(Ye=280;Ye<288;++Ye)Ze[Ye]=8;var Qe=new Fe(32);for(Ye=0;Ye<32;++Ye)Qe[Ye]=5;var et=Je(Ze,9,0),tt=Je(Ze,9,1),rt=Je(Qe,5,0),nt=Je(Qe,5,1),at=function(e){for(var t=e[0],r=1;r<e.length;++r)e[r]>t&&(t=e[r]);return t},ot=function(e,t,r){var n=t/8>>0;return(e[n]|e[n+1]<<8)>>>(7&t)&r},it=function(e,t){var r=t/8>>0;return(e[r]|e[r+1]<<8|e[r+2]<<16)>>>(7&t)},st=function(e){return(e/8>>0)+(7&e&&1)},ct=function(e,t,r){(null==t||t<0)&&(t=0),(null==r||r>e.length)&&(r=e.length);var n=new(e instanceof De?De:e instanceof Me?Me:Fe)(r-t);return n.set(e.subarray(t,r)),n},lt=function(e,t,r){r<<=7&t;var n=t/8>>0;e[n]|=r,e[n+1]|=r>>>8},ut=function(e,t,r){r<<=7&t;var n=t/8>>0;e[n]|=r,e[n+1]|=r>>>8,e[n+2]|=r>>>16},ft=function(e,t){for(var r=[],n=0;n<e.length;++n)e[n]&&r.push({s:n,f:e[n]});var a=r.length,o=r.slice();if(!a)return[new Fe(0),0];if(1==a){var i=new Fe(r[0].s+1);return i[r[0].s]=1,[i,1]}r.sort((function(e,t){return e.f-t.f})),r.push({s:-1,f:25001});var s=r[0],c=r[1],l=0,u=1,f=2;for(r[0]={s:-1,f:s.f+c.f,l:s,r:c};u!=a-1;)s=r[r[l].f<r[f].f?l++:f++],c=r[l!=u&&r[l].f<r[f].f?l++:f++],r[u++]={s:-1,f:s.f+c.f,l:s,r:c};var h=o[0].s;for(n=1;n<a;++n)o[n].s>h&&(h=o[n].s);var d=new De(h+1),p=ht(r[u-1],d,0);if(p>t){n=0;var g=0,m=p-t,v=1<<m;for(o.sort((function(e,t){return d[t.s]-d[e.s]||e.f-t.f}));n<a;++n){var b=o[n].s;if(!(d[b]>t))break;g+=v-(1<<p-d[b]),d[b]=t}for(g>>>=m;g>0;){var y=o[n].s;d[y]<t?g-=1<<t-d[y]++-1:++n}for(;n>=0&&g;--n){var w=o[n].s;d[w]==t&&(--d[w],++g)}p=t}return[new Fe(d),p]},ht=function(e,t,r){return-1==e.s?Math.max(ht(e.l,t,r+1),ht(e.r,t,r+1)):t[e.s]=r},dt=function(e){for(var t=e.length;t&&!e[--t];);for(var r=new De(++t),n=0,a=e[0],o=1,i=function(e){r[n++]=e},s=1;s<=t;++s)if(e[s]==a&&s!=t)++o;else{if(!a&&o>2){for(;o>138;o-=138)i(32754);o>2&&(i(o>10?o-11<<5|28690:o-3<<5|12305),o=0)}else if(o>3){for(i(a),--o;o>6;o-=6)i(8304);o>2&&(i(o-3<<5|8208),o=0)}for(;o--;)i(a);o=1,a=e[s]}return[r.subarray(0,n),t]},pt=function(e,t){for(var r=0,n=0;n<t.length;++n)r+=e[n]*t[n];return r},gt=function(e,t,r){var n=r.length,a=st(t+2);e[a]=255&n,e[a+1]=n>>>8,e[a+2]=255^e[a],e[a+3]=255^e[a+1];for(var o=0;o<n;++o)e[a+o+4]=r[o];return 8*(a+4+n)},mt=function(e,t,r,n,a,o,i,s,c,l,u){lt(t,u++,r),++a[256];for(var f=ft(a,15),h=f[0],d=f[1],p=ft(o,15),g=p[0],m=p[1],v=dt(h),b=v[0],y=v[1],w=dt(g),S=w[0],x=w[1],A=new De(19),k=0;k<b.length;++k)A[31&b[k]]++;for(k=0;k<S.length;++k)A[31&S[k]]++;for(var T=ft(A,7),E=T[0],_=T[1],N=19;N>4&&!E[We[N-1]];--N);var C,O,R,P,L=l+5<<3,I=pt(a,Ze)+pt(o,Qe)+i,F=pt(a,h)+pt(o,g)+i+14+3*N+pt(A,E)+(2*A[16]+3*A[17]+7*A[18]);if(L<=I&&L<=F)return gt(t,u,e.subarray(c,c+l));if(lt(t,u,1+(F<I)),u+=2,F<I){C=Je(h,d,0),O=h,R=Je(g,m,0),P=g;var D=Je(E,_,0);for(lt(t,u,y-257),lt(t,u+5,x-1),lt(t,u+10,N-4),u+=14,k=0;k<N;++k)lt(t,u+3*k,E[We[k]]);u+=3*N;for(var M=[b,S],j=0;j<2;++j){var B=M[j];for(k=0;k<B.length;++k){var W=31&B[k];lt(t,u,D[W]),u+=E[W],W>15&&(lt(t,u,B[k]>>>5&127),u+=B[k]>>>12)}}}else C=et,O=Ze,R=rt,P=Qe;for(k=0;k<s;++k)if(n[k]>255){W=n[k]>>>18&31,ut(t,u,C[W+257]),u+=O[W+257],W>7&&(lt(t,u,n[k]>>>23&31),u+=je[W]);var U=31&n[k];ut(t,u,R[U]),u+=P[U],U>3&&(ut(t,u,n[k]>>>5&8191),u+=Be[U])}else ut(t,u,C[n[k]]),u+=O[n[k]];return ut(t,u,C[256]),u+O[256]},vt=new Me([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),bt=new Fe(0);function yt(e,t){void 0===t&&(t={});var r=function(){var e=1,t=0;return{p:function(r){for(var n=e,a=t,o=r.length,i=0;i!=o;){for(var s=Math.min(i+5552,o);i<s;++i)a+=n+=r[i];n%=65521,a%=65521}e=n,t=a},d:function(){return(e>>>8<<16|(255&t)<<8|t>>>8)+2*((255&e)<<23)}}}();r.p(e);var n=function(e,t,r,n,a){return function(e,t,r,n,a,o){var i=e.length,s=new Fe(n+i+5*(1+Math.floor(i/7e3))+a),c=s.subarray(n,s.length-a),l=0;if(!t||i<8)for(var u=0;u<=i;u+=65535){var f=u+65535;f<i?l=gt(c,l,e.subarray(u,f)):(c[u]=o,l=gt(c,l,e.subarray(u,i)))}else{for(var h=vt[t-1],d=h>>>13,p=8191&h,g=(1<<r)-1,m=new De(32768),v=new De(g+1),b=Math.ceil(r/3),y=2*b,w=function(t){return(e[t]^e[t+1]<<b^e[t+2]<<y)&g},S=new Me(25e3),x=new De(288),A=new De(32),k=0,T=0,E=(u=0,0),_=0,N=0;u<i;++u){var C=w(u),O=32767&u,R=v[C];if(m[O]=R,v[C]=O,_<=u){var P=i-u;if((k>7e3||E>24576)&&P>423){l=mt(e,c,0,S,x,A,T,E,N,u-N,l),E=k=T=0,N=u;for(var L=0;L<286;++L)x[L]=0;for(L=0;L<30;++L)A[L]=0}var I=2,F=0,D=p,M=O-R&32767;if(P>2&&C==w(u-M))for(var j=Math.min(d,P)-1,B=Math.min(32767,u),W=Math.min(258,P);M<=B&&--D&&O!=R;){if(e[u+I]==e[u+I-M]){for(var U=0;U<W&&e[u+U]==e[u+U-M];++U);if(U>I){if(I=U,F=M,U>j)break;var H=Math.min(M,U-2),z=0;for(L=0;L<H;++L){var V=u-M+L+32768&32767,q=V-m[V]+32768&32767;q>z&&(z=q,R=V)}}}M+=(O=R)-(R=m[O])+32768&32767}if(F){S[E++]=268435456|Ve[I]<<18|Ge[F];var $=31&Ve[I],G=31&Ge[F];T+=je[$]+Be[G],++x[257+$],++A[G],_=u+I,++k}else S[E++]=e[u],++x[e[u]]}}l=mt(e,c,o,S,x,A,T,E,N,u-N,l),o||(l=gt(c,l,bt))}return ct(s,0,n+st(l)+a)}(e,null==t.level?6:t.level,null==t.mem?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(e.length)))):12+t.mem,r,n,!a)}(e,t,2,4);return function(e,t){var r=t.level,n=0==r?0:r<6?1:9==r?3:2;e[0]=120,e[1]=n<<6|(n?32-2*n:1)}(n,t),function(e,t,r){for(;r;++t)e[t]=r,r>>>=8}(n,n.length-4,r.d()),n}!function(e){var t=function(e){var t,r,n,a,o,i,s,c,l,u;for(/[^\x00-\xFF]/.test(e),r=[],n=0,a=(e+=t="\0\0\0\0".slice(e.length%4||4)).length;a>n;n+=4)0!==(o=(e.charCodeAt(n)<<24)+(e.charCodeAt(n+1)<<16)+(e.charCodeAt(n+2)<<8)+e.charCodeAt(n+3))?(i=(o=((o=((o=((o=(o-(u=o%85))/85)-(l=o%85))/85)-(c=o%85))/85)-(s=o%85))/85)%85,r.push(i+33,s+33,c+33,l+33,u+33)):r.push(122);return function(e,t){for(var r=t;r>0;r--)e.pop()}(r,t.length),String.fromCharCode.apply(String,r)+"~>"},r=function(e){var t,r,n,a,o,i=String,s="length",c=255,l="charCodeAt",u="slice",f="replace";for(e[u](-2),e=e[u](0,-2)[f](/\s/g,"")[f]("z","!!!!!"),n=[],a=0,o=(e+=t="uuuuu"[u](e[s]%5||5))[s];o>a;a+=5)r=52200625*(e[l](a)-33)+614125*(e[l](a+1)-33)+7225*(e[l](a+2)-33)+85*(e[l](a+3)-33)+(e[l](a+4)-33),n.push(c&r>>24,c&r>>16,c&r>>8,c&r);return function(e,t){for(var r=t;r>0;r--)e.pop()}(n,t[s]),i.fromCharCode.apply(i,n)},n=function(e){var t=new RegExp(/^([0-9A-Fa-f]{2})+$/);if(-1!==(e=e.replace(/\s/g,"")).indexOf(">")&&(e=e.substr(0,e.indexOf(">"))),e.length%2&&(e+="0"),!1===t.test(e))return"";for(var r="",n=0;n<e.length;n+=2)r+=String.fromCharCode("0x"+(e[n]+e[n+1]));return r},a=function(e){for(var t=new Uint8Array(e.length),r=e.length;r--;)t[r]=e.charCodeAt(r);return(t=yt(t)).reduce((function(e,t){return e+String.fromCharCode(t)}),"")};e.processDataByFilters=function(e,o){var i=0,s=e||"",c=[];for("string"==typeof(o=o||[])&&(o=[o]),i=0;i<o.length;i+=1)switch(o[i]){case"ASCII85Decode":case"/ASCII85Decode":s=r(s),c.push("/ASCII85Encode");break;case"ASCII85Encode":case"/ASCII85Encode":s=t(s),c.push("/ASCII85Decode");break;case"ASCIIHexDecode":case"/ASCIIHexDecode":s=n(s),c.push("/ASCIIHexEncode");break;case"ASCIIHexEncode":case"/ASCIIHexEncode":s=s.split("").map((function(e){return("0"+e.charCodeAt().toString(16)).slice(-2)})).join("")+">",c.push("/ASCIIHexDecode");break;case"FlateEncode":case"/FlateEncode":s=a(s),c.push("/FlateDecode");break;default:throw new Error('The filter: "'+o[i]+'" is not implemented')}return{data:s,reverseChain:c.reverse().join(" ")}}}(P.API),function(e){e.loadFile=function(e,t,r){return function(e,t,r){t=!1!==t,r="function"==typeof r?r:function(){};var n=void 0;try{n=function(e,t,r){var n=new XMLHttpRequest,a=0,o=function(e){var t=e.length,r=[],n=String.fromCharCode;for(a=0;a<t;a+=1)r.push(n(255&e.charCodeAt(a)));return r.join("")};if(n.open("GET",e,!t),n.overrideMimeType("text/plain; charset=x-user-defined"),!1===t&&(n.onload=function(){200===n.status?r(o(this.responseText)):r(void 0)}),n.send(null),t&&200===n.status)return o(n.responseText)}(e,t,r)}catch(e){}return n}(e,t,r)},e.loadImageFile=e.loadFile}(P.API),function(r){function n(){return(t.html2canvas?Promise.resolve(t.html2canvas):"object"==typeof e&&"undefined"!=typeof module?new Promise((function(e,t){try{e(require("html2canvas"))}catch(e){t(e)}})):"function"==typeof define&&define.amd?new Promise((function(e,t){try{require(["html2canvas"],e)}catch(e){t(e)}})):Promise.reject(new Error("Could not load html2canvas"))).catch((function(e){return Promise.reject(new Error("Could not load html2canvas: "+e))})).then((function(e){return e.default?e.default:e}))}function a(){return(t.DOMPurify?Promise.resolve(t.DOMPurify):"object"==typeof e&&"undefined"!=typeof module?new Promise((function(e,t){try{e(require("dompurify"))}catch(e){t(e)}})):"function"==typeof define&&define.amd?new Promise((function(e,t){try{require(["dompurify"],e)}catch(e){t(e)}})):Promise.reject(new Error("Could not load dompurify"))).catch((function(e){return Promise.reject(new Error("Could not load dompurify: "+e))})).then((function(e){return e.default?e.default:e}))}var o=function(e){var t=typeof e;return"undefined"===t?"undefined":"string"===t||e instanceof String?"string":"number"===t||e instanceof Number?"number":"function"===t||e instanceof Function?"function":e&&e.constructor===Array?"array":e&&1===e.nodeType?"element":"object"===t?"object":"unknown"},i=function(e,t){var r=document.createElement(e);for(var n in t.className&&(r.className=t.className),t.innerHTML&&t.dompurify&&(r.innerHTML=t.dompurify.sanitize(t.innerHTML)),t.style)r.style[n]=t.style[n];return r},s=function(e,t){for(var r=3===e.nodeType?document.createTextNode(e.nodeValue):e.cloneNode(!1),n=e.firstChild;n;n=n.nextSibling)!0!==t&&1===n.nodeType&&"SCRIPT"===n.nodeName||r.appendChild(s(n,t));return 1===e.nodeType&&("CANVAS"===e.nodeName?(r.width=e.width,r.height=e.height,r.getContext("2d").drawImage(e,0,0)):"TEXTAREA"!==e.nodeName&&"SELECT"!==e.nodeName||(r.value=e.value),r.addEventListener("load",(function(){r.scrollTop=e.scrollTop,r.scrollLeft=e.scrollLeft}),!0)),r},c=function e(t){var r=Object.assign(e.convert(Promise.resolve()),JSON.parse(JSON.stringify(e.template))),n=e.convert(Promise.resolve(),r);return(n=n.setProgress(1,e,1,[e])).set(t)};(c.prototype=Object.create(Promise.prototype)).constructor=c,c.convert=function(e,t){return e.__proto__=t||c.prototype,e},c.template={prop:{src:null,container:null,overlay:null,canvas:null,img:null,pdf:null,pageSize:null,callback:function(){}},progress:{val:0,state:null,n:0,stack:[]},opt:{filename:"file.pdf",margin:[0,0,0,0],enableLinks:!0,x:0,y:0,html2canvas:{},jsPDF:{},backgroundColor:"transparent"}},c.prototype.from=function(e,t){return this.then((function(){switch(t=t||function(e){switch(o(e)){case"string":return"string";case"element":return"canvas"===e.nodeName.toLowerCase()?"canvas":"element";default:return"unknown"}}(e)){case"string":return this.then(a).then((function(t){return this.set({src:i("div",{innerHTML:e,dompurify:t})})}));case"element":return this.set({src:e});case"canvas":return this.set({canvas:e});case"img":return this.set({img:e});default:return this.error("Unknown source type.")}}))},c.prototype.to=function(e){switch(e){case"container":return this.toContainer();case"canvas":return this.toCanvas();case"img":return this.toImg();case"pdf":return this.toPdf();default:return this.error("Invalid target.")}},c.prototype.toContainer=function(){return this.thenList([function(){return this.prop.src||this.error("Cannot duplicate - no source HTML.")},function(){return this.prop.pageSize||this.setPageSize()}]).then((function(){var e={position:"relative",display:"inline-block",width:Math.max(this.prop.src.clientWidth,this.prop.src.scrollWidth,this.prop.src.offsetWidth)+"px",left:0,right:0,top:0,margin:"auto",backgroundColor:this.opt.backgroundColor},t=s(this.prop.src,this.opt.html2canvas.javascriptEnabled);"BODY"===t.tagName&&(e.height=Math.max(document.body.scrollHeight,document.body.offsetHeight,document.documentElement.clientHeight,document.documentElement.scrollHeight,document.documentElement.offsetHeight)+"px"),this.prop.overlay=i("div",{className:"html2pdf__overlay",style:{position:"fixed",overflow:"hidden",zIndex:1e3,left:"-100000px",right:0,bottom:0,top:0}}),this.prop.container=i("div",{className:"html2pdf__container",style:e}),this.prop.container.appendChild(t),this.prop.container.firstChild.appendChild(i("div",{style:{clear:"both",border:"0 none transparent",margin:0,padding:0,height:0}})),this.prop.container.style.float="none",this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay),this.prop.container.firstChild.style.position="relative",this.prop.container.height=Math.max(this.prop.container.firstChild.clientHeight,this.prop.container.firstChild.scrollHeight,this.prop.container.firstChild.offsetHeight)+"px"}))},c.prototype.toCanvas=function(){var e=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(e).then(n).then((function(e){var t=Object.assign({},this.opt.html2canvas);return delete t.onrendered,e(this.prop.container,t)})).then((function(e){(this.opt.html2canvas.onrendered||function(){})(e),this.prop.canvas=e,document.body.removeChild(this.prop.overlay)}))},c.prototype.toContext2d=function(){var e=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(e).then(n).then((function(e){var t=this.opt.jsPDF,r=this.opt.fontFaces,n=Object.assign({async:!0,allowTaint:!0,scale:1,scrollX:this.opt.scrollX||0,scrollY:this.opt.scrollY||0,backgroundColor:"#ffffff",imageTimeout:15e3,logging:!0,proxy:null,removeContainer:!0,foreignObjectRendering:!1,useCORS:!1},this.opt.html2canvas);if(delete n.onrendered,t.context2d.autoPaging=!0,t.context2d.posX=this.opt.x,t.context2d.posY=this.opt.y,t.context2d.fontFaces=r,r)for(var a=0;a<r.length;++a){var o=r[a],i=o.src.find((function(e){return"truetype"===e.format}));i&&t.addFont(i.url,o.ref.name,o.ref.style)}return n.windowHeight=n.windowHeight||0,n.windowHeight=0==n.windowHeight?Math.max(this.prop.container.clientHeight,this.prop.container.scrollHeight,this.prop.container.offsetHeight):n.windowHeight,e(this.prop.container,n)})).then((function(e){(this.opt.html2canvas.onrendered||function(){})(e),this.prop.canvas=e,document.body.removeChild(this.prop.overlay)}))},c.prototype.toImg=function(){return this.thenList([function(){return this.prop.canvas||this.toCanvas()}]).then((function(){var e=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=e}))},c.prototype.toPdf=function(){return this.thenList([function(){return this.toContext2d()}]).then((function(){this.prop.pdf=this.prop.pdf||this.opt.jsPDF}))},c.prototype.output=function(e,t,r){return"img"===(r=r||"pdf").toLowerCase()||"image"===r.toLowerCase()?this.outputImg(e,t):this.outputPdf(e,t)},c.prototype.outputPdf=function(e,t){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then((function(){return this.prop.pdf.output(e,t)}))},c.prototype.outputImg=function(e){return this.thenList([function(){return this.prop.img||this.toImg()}]).then((function(){switch(e){case void 0:case"img":return this.prop.img;case"datauristring":case"dataurlstring":return this.prop.img.src;case"datauri":case"dataurl":return document.location.href=this.prop.img.src;default:throw'Image output type "'+e+'" is not supported.'}}))},c.prototype.save=function(e){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).set(e?{filename:e}:null).then((function(){this.prop.pdf.save(this.opt.filename)}))},c.prototype.doCallback=function(){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then((function(){this.prop.callback(this.prop.pdf)}))},c.prototype.set=function(e){if("object"!==o(e))return this;var t=Object.keys(e||{}).map((function(t){if(t in c.template.prop)return function(){this.prop[t]=e[t]};switch(t){case"margin":return this.setMargin.bind(this,e.margin);case"jsPDF":return function(){return this.opt.jsPDF=e.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,e.pageSize);default:return function(){this.opt[t]=e[t]}}}),this);return this.then((function(){return this.thenList(t)}))},c.prototype.get=function(e,t){return this.then((function(){var r=e in c.template.prop?this.prop[e]:this.opt[e];return t?t(r):r}))},c.prototype.setMargin=function(e){return this.then((function(){switch(o(e)){case"number":e=[e,e,e,e];case"array":if(2===e.length&&(e=[e[0],e[1],e[0],e[1]]),4===e.length)break;default:return this.error("Invalid margin array.")}this.opt.margin=e})).then(this.setPageSize)},c.prototype.setPageSize=function(e){function t(e,t){return Math.floor(e*t/72*96)}return this.then((function(){(e=e||P.getPageSize(this.opt.jsPDF)).hasOwnProperty("inner")||(e.inner={width:e.width-this.opt.margin[1]-this.opt.margin[3],height:e.height-this.opt.margin[0]-this.opt.margin[2]},e.inner.px={width:t(e.inner.width,e.k),height:t(e.inner.height,e.k)},e.inner.ratio=e.inner.height/e.inner.width),this.prop.pageSize=e}))},c.prototype.setProgress=function(e,t,r,n){return null!=e&&(this.progress.val=e),null!=t&&(this.progress.state=t),null!=r&&(this.progress.n=r),null!=n&&(this.progress.stack=n),this.progress.ratio=this.progress.val/this.progress.state,this},c.prototype.updateProgress=function(e,t,r,n){return this.setProgress(e?this.progress.val+e:null,t||null,r?this.progress.n+r:null,n?this.progress.stack.concat(n):null)},c.prototype.then=function(e,t){var r=this;return this.thenCore(e,t,(function(e,t){return r.updateProgress(null,null,1,[e]),Promise.prototype.then.call(this,(function(t){return r.updateProgress(null,e),t})).then(e,t).then((function(e){return r.updateProgress(1),e}))}))},c.prototype.thenCore=function(e,t,r){r=r||Promise.prototype.then,e&&(e=e.bind(this)),t&&(t=t.bind(this));var n=-1!==Promise.toString().indexOf("[native code]")&&"Promise"===Promise.name?this:c.convert(Object.assign({},this),Promise.prototype),a=r.call(n,e,t);return c.convert(a,this.__proto__)},c.prototype.thenExternal=function(e,t){return Promise.prototype.then.call(this,e,t)},c.prototype.thenList=function(e){var t=this;return e.forEach((function(e){t=t.thenCore(e)})),t},c.prototype.catch=function(e){e&&(e=e.bind(this));var t=Promise.prototype.catch.call(this,e);return c.convert(t,this)},c.prototype.catchExternal=function(e){return Promise.prototype.catch.call(this,e)},c.prototype.error=function(e){return this.then((function(){throw new Error(e)}))},c.prototype.using=c.prototype.set,c.prototype.saveAs=c.prototype.save,c.prototype.export=c.prototype.output,c.prototype.run=c.prototype.then,P.getPageSize=function(e,t,r){if("object"==typeof e){var n=e;e=n.orientation,t=n.unit||t,r=n.format||r}t=t||"mm",r=r||"a4",e=(""+(e||"P")).toLowerCase();var a,o=(""+r).toLowerCase(),i={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};switch(t){case"pt":a=1;break;case"mm":a=72/25.4;break;case"cm":a=72/2.54;break;case"in":a=72;break;case"px":a=.75;break;case"pc":case"em":a=12;break;case"ex":a=6;break;default:throw"Invalid unit: "+t}var s,c=0,l=0;if(i.hasOwnProperty(o))c=i[o][1]/a,l=i[o][0]/a;else try{c=r[1],l=r[0]}catch(e){throw new Error("Invalid format: "+r)}if("p"===e||"portrait"===e)e="p",l>c&&(s=l,l=c,c=s);else{if("l"!==e&&"landscape"!==e)throw"Invalid orientation: "+e;e="l",c>l&&(s=l,l=c,c=s)}return{width:l,height:c,unit:t,k:a,orientation:e}},r.html=function(e,t){(t=t||{}).callback=t.callback||function(){},t.html2canvas=t.html2canvas||{},t.html2canvas.canvas=t.html2canvas.canvas||this.canvas,t.jsPDF=t.jsPDF||this,t.fontFaces=t.fontFaces?t.fontFaces.map(Ee):null;var r=new c(t);return t.worker?r:r.from(e).doCallback()}}(P.API),function(e){var t,r,n;e.addJS=function(e){return n=e,this.internal.events.subscribe("postPutResources",(function(){t=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(t+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),r=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+n+")"),this.internal.out(">>"),this.internal.out("endobj")})),this.internal.events.subscribe("putCatalog",(function(){void 0!==t&&void 0!==r&&this.internal.out("/Names <</JavaScript "+t+" 0 R>>")})),this}}(P.API),function(e){var t;e.events.push(["postPutResources",function(){var e=this,r=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var n=e.outline.render().split(/\r\n/),a=0;a<n.length;a++){var o=n[a],i=r.exec(o);if(null!=i){var s=i[1];e.internal.newObjectDeferredBegin(s,!1)}e.internal.write(o)}if(this.outline.createNamedDestinations){var c=this.internal.pages.length,l=[];for(a=0;a<c;a++){var u=e.internal.newObject();l.push(u);var f=e.internal.getPageInfo(a+1);e.internal.write("<< /D["+f.objId+" 0 R /XYZ null null null]>> endobj")}var h=e.internal.newObject();for(e.internal.write("<< /Names [ "),a=0;a<l.length;a++)e.internal.write("(page_"+(a+1)+")"+l[a]+" 0 R");e.internal.write(" ] >>","endobj"),t=e.internal.newObject(),e.internal.write("<< /Dests "+h+" 0 R"),e.internal.write(">>","endobj")}}]),e.events.push(["putCatalog",function(){this.outline.root.children.length>0&&(this.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&this.internal.write("/Names "+t+" 0 R"))}]),e.events.push(["initialized",function(){var e=this;e.outline={createNamedDestinations:!1,root:{children:[]}},e.outline.add=function(e,t,r){var n={title:t,options:r,children:[]};return null==e&&(e=this.root),e.children.push(n),n},e.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=e,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},e.outline.genIds_r=function(t){t.id=e.internal.newObjectDeferred();for(var r=0;r<t.children.length;r++)this.genIds_r(t.children[r])},e.outline.renderRoot=function(e){this.objStart(e),this.line("/Type /Outlines"),e.children.length>0&&(this.line("/First "+this.makeRef(e.children[0])),this.line("/Last "+this.makeRef(e.children[e.children.length-1]))),this.line("/Count "+this.count_r({count:0},e)),this.objEnd()},e.outline.renderItems=function(t){for(var r=this.ctx.pdf.internal.getVerticalCoordinateString,n=0;n<t.children.length;n++){var a=t.children[n];this.objStart(a),this.line("/Title "+this.makeString(a.title)),this.line("/Parent "+this.makeRef(t)),n>0&&this.line("/Prev "+this.makeRef(t.children[n-1])),n<t.children.length-1&&this.line("/Next "+this.makeRef(t.children[n+1])),a.children.length>0&&(this.line("/First "+this.makeRef(a.children[0])),this.line("/Last "+this.makeRef(a.children[a.children.length-1])));var o=this.count=this.count_r({count:0},a);if(o>0&&this.line("/Count "+o),a.options&&a.options.pageNumber){var i=e.internal.getPageInfo(a.options.pageNumber);this.line("/Dest ["+i.objId+" 0 R /XYZ 0 "+r(0)+" 0]")}this.objEnd()}for(var s=0;s<t.children.length;s++)this.renderItems(t.children[s])},e.outline.line=function(e){this.ctx.val+=e+"\r\n"},e.outline.makeRef=function(e){return e.id+" 0 R"},e.outline.makeString=function(t){return"("+e.internal.pdfEscape(t)+")"},e.outline.objStart=function(e){this.ctx.val+="\r\n"+e.id+" 0 obj\r\n<<\r\n"},e.outline.objEnd=function(){this.ctx.val+=">> \r\nendobj\r\n"},e.outline.count_r=function(e,t){for(var r=0;r<t.children.length;r++)e.count++,this.count_r(e,t.children[r]);return e.count}}])}(P.API),function(e){var t=[192,193,194,195,196,197,198,199];e.processJPEG=function(e,r,n,a,o,i){var s,c=this.decode.DCT_DECODE,l=null;if("string"==typeof e||this.__addimage__.isArrayBuffer(e)||this.__addimage__.isArrayBufferView(e)){switch(e=o||e,e=this.__addimage__.isArrayBuffer(e)?new Uint8Array(e):e,(s=function(e){for(var r,n=256*e.charCodeAt(4)+e.charCodeAt(5),a=e.length,o={width:0,height:0,numcomponents:1},i=4;i<a;i+=2){if(i+=n,-1!==t.indexOf(e.charCodeAt(i+1))){r=256*e.charCodeAt(i+5)+e.charCodeAt(i+6),o={width:256*e.charCodeAt(i+7)+e.charCodeAt(i+8),height:r,numcomponents:e.charCodeAt(i+9)};break}n=256*e.charCodeAt(i+2)+e.charCodeAt(i+3)}return o}(e=this.__addimage__.isArrayBufferView(e)?this.__addimage__.arrayBufferToBinaryString(e):e)).numcomponents){case 1:i=this.color_spaces.DEVICE_GRAY;break;case 4:i=this.color_spaces.DEVICE_CMYK;break;case 3:i=this.color_spaces.DEVICE_RGB}l={data:e,width:s.width,height:s.height,colorSpace:i,bitsPerComponent:8,filter:c,index:r,alias:n}}return l}}(P.API);var wt,St,xt,At,kt,Tt=function(){var e,r,n;function a(e){var t,r,n,a,o,i,s,c,l,u,f,h,d,p;for(this.data=e,this.pos=8,this.palette=[],this.imgData=[],this.transparency={},this.animation=null,this.text={},i=null;;){switch(t=this.readUInt32(),l=function(){var e,t;for(t=[],e=0;e<4;++e)t.push(String.fromCharCode(this.data[this.pos++]));return t}.call(this).join("")){case"IHDR":this.width=this.readUInt32(),this.height=this.readUInt32(),this.bits=this.data[this.pos++],this.colorType=this.data[this.pos++],this.compressionMethod=this.data[this.pos++],this.filterMethod=this.data[this.pos++],this.interlaceMethod=this.data[this.pos++];break;case"acTL":this.animation={numFrames:this.readUInt32(),numPlays:this.readUInt32()||1/0,frames:[]};break;case"PLTE":this.palette=this.read(t);break;case"fcTL":i&&this.animation.frames.push(i),this.pos+=4,i={width:this.readUInt32(),height:this.readUInt32(),xOffset:this.readUInt32(),yOffset:this.readUInt32()},o=this.readUInt16(),a=this.readUInt16()||100,i.delay=1e3*o/a,i.disposeOp=this.data[this.pos++],i.blendOp=this.data[this.pos++],i.data=[];break;case"IDAT":case"fdAT":for("fdAT"===l&&(this.pos+=4,t-=4),e=(null!=i?i.data:void 0)||this.imgData,h=0;0<=t?h<t:h>t;0<=t?++h:--h)e.push(this.data[this.pos++]);break;case"tRNS":switch(this.transparency={},this.colorType){case 3:if(n=this.palette.length/3,this.transparency.indexed=this.read(t),this.transparency.indexed.length>n)throw new Error("More transparent colors than palette size");if((u=n-this.transparency.indexed.length)>0)for(d=0;0<=u?d<u:d>u;0<=u?++d:--d)this.transparency.indexed.push(255);break;case 0:this.transparency.grayscale=this.read(t)[0];break;case 2:this.transparency.rgb=this.read(t)}break;case"tEXt":s=(f=this.read(t)).indexOf(0),c=String.fromCharCode.apply(String,f.slice(0,s)),this.text[c]=String.fromCharCode.apply(String,f.slice(s+1));break;case"IEND":return i&&this.animation.frames.push(i),this.colors=function(){switch(this.colorType){case 0:case 3:case 4:return 1;case 2:case 6:return 3}}.call(this),this.hasAlphaChannel=4===(p=this.colorType)||6===p,r=this.colors+(this.hasAlphaChannel?1:0),this.pixelBitlength=this.bits*r,this.colorSpace=function(){switch(this.colors){case 1:return"DeviceGray";case 3:return"DeviceRGB"}}.call(this),void(this.imgData=new Uint8Array(this.imgData));default:this.pos+=t}if(this.pos+=4,this.pos>this.data.length)throw new Error("Incomplete or corrupt PNG file")}}a.prototype.read=function(e){var t,r;for(r=[],t=0;0<=e?t<e:t>e;0<=e?++t:--t)r.push(this.data[this.pos++]);return r},a.prototype.readUInt32=function(){return this.data[this.pos++]<<24|this.data[this.pos++]<<16|this.data[this.pos++]<<8|this.data[this.pos++]},a.prototype.readUInt16=function(){return this.data[this.pos++]<<8|this.data[this.pos++]},a.prototype.decodePixels=function(e){var t=this.pixelBitlength/8,r=new Uint8Array(this.width*this.height*t),n=0,a=this;if(null==e&&(e=this.imgData),0===e.length)return new Uint8Array(0);function o(o,i,s,c){var l,u,f,h,d,p,g,m,v,b,y,w,S,x,A,k,T,E,_,N,C,O=Math.ceil((a.width-o)/s),R=Math.ceil((a.height-i)/c),P=a.width==O&&a.height==R;for(x=t*O,w=P?r:new Uint8Array(x*R),p=e.length,S=0,u=0;S<R&&n<p;){switch(e[n++]){case 0:for(h=T=0;T<x;h=T+=1)w[u++]=e[n++];break;case 1:for(h=E=0;E<x;h=E+=1)l=e[n++],d=h<t?0:w[u-t],w[u++]=(l+d)%256;break;case 2:for(h=_=0;_<x;h=_+=1)l=e[n++],f=(h-h%t)/t,A=S&&w[(S-1)*x+f*t+h%t],w[u++]=(A+l)%256;break;case 3:for(h=N=0;N<x;h=N+=1)l=e[n++],f=(h-h%t)/t,d=h<t?0:w[u-t],A=S&&w[(S-1)*x+f*t+h%t],w[u++]=(l+Math.floor((d+A)/2))%256;break;case 4:for(h=C=0;C<x;h=C+=1)l=e[n++],f=(h-h%t)/t,d=h<t?0:w[u-t],0===S?A=k=0:(A=w[(S-1)*x+f*t+h%t],k=f&&w[(S-1)*x+(f-1)*t+h%t]),g=d+A-k,m=Math.abs(g-d),b=Math.abs(g-A),y=Math.abs(g-k),v=m<=b&&m<=y?d:b<=y?A:k,w[u++]=(l+v)%256;break;default:throw new Error("Invalid filter algorithm: "+e[n-1])}if(!P){var L=((i+S*c)*a.width+o)*t,I=S*x;for(h=0;h<O;h+=1){for(var F=0;F<t;F+=1)r[L++]=w[I++];L+=(s-1)*t}}S++}}return e=function(e,t){return function(e,t,r){var n=e.length,a=!t||r,o=!r||r.i;r||(r={}),t||(t=new Fe(3*n));var i=function(e){var r=t.length;if(e>r){var n=new Fe(Math.max(2*r,e));n.set(t),t=n}},s=r.f||0,c=r.p||0,l=r.b||0,u=r.l,f=r.d,h=r.m,d=r.n,p=8*n;do{if(!u){r.f=s=ot(e,c,1);var g=ot(e,c+1,3);if(c+=3,!g){var m=e[(_=st(c)+4)-4]|e[_-3]<<8,v=_+m;if(v>n){if(o)throw"unexpected EOF";break}a&&i(l+m),t.set(e.subarray(_,v),l),r.b=l+=m,r.p=c=8*v;continue}if(1==g)u=tt,f=nt,h=9,d=5;else{if(2!=g)throw"invalid block type";var b=ot(e,c,31)+257,y=ot(e,c+10,15)+4,w=b+ot(e,c+5,31)+1;c+=14;for(var S=new Fe(w),x=new Fe(19),A=0;A<y;++A)x[We[A]]=ot(e,c+3*A,7);c+=3*y;var k=at(x),T=(1<<k)-1;if(!o&&c+w*(k+7)>p)break;var E=Je(x,k,1);for(A=0;A<w;){var _,N=E[ot(e,c,T)];if(c+=15&N,(_=N>>>4)<16)S[A++]=_;else{var C=0,O=0;for(16==_?(O=3+ot(e,c,3),c+=2,C=S[A-1]):17==_?(O=3+ot(e,c,7),c+=3):18==_&&(O=11+ot(e,c,127),c+=7);O--;)S[A++]=C}}var R=S.subarray(0,b),P=S.subarray(b);h=at(R),d=at(P),u=Je(R,h,1),f=Je(P,d,1)}if(c>p)throw"unexpected EOF"}a&&i(l+131072);for(var L=(1<<h)-1,I=(1<<d)-1,F=h+d+18;o||c+F<p;){var D=(C=u[it(e,c)&L])>>>4;if((c+=15&C)>p)throw"unexpected EOF";if(!C)throw"invalid length/literal";if(D<256)t[l++]=D;else{if(256==D){u=null;break}var M=D-254;if(D>264){var j=je[A=D-257];M=ot(e,c,(1<<j)-1)+ze[A],c+=j}var B=f[it(e,c)&I],W=B>>>4;if(!B)throw"invalid distance";if(c+=15&B,P=$e[W],W>3&&(j=Be[W],P+=it(e,c)&(1<<j)-1,c+=j),c>p)throw"unexpected EOF";a&&i(l+131072);for(var U=l+M;l<U;l+=4)t[l]=t[l-P],t[l+1]=t[l+1-P],t[l+2]=t[l+2-P],t[l+3]=t[l+3-P];l=U}}r.l=u,r.p=c,r.b=l,u&&(s=1,r.m=h,r.d=f,r.n=d)}while(!s);return l==t.length?t:ct(t,0,l)}((function(e){if(8!=(15&e[0])||e[0]>>>4>7||(e[0]<<8|e[1])%31)throw"invalid zlib data";if(32&e[1])throw"invalid zlib data: preset dictionaries not supported"}(e),e.subarray(2,-4)),t)}(e),1==a.interlaceMethod?(o(0,0,8,8),o(4,0,8,8),o(0,4,4,8),o(2,0,4,4),o(0,2,2,4),o(1,0,2,2),o(0,1,1,2)):o(0,0,1,1),r},a.prototype.decodePalette=function(){var e,t,r,n,a,o,i,s,c;for(r=this.palette,o=this.transparency.indexed||[],a=new Uint8Array((o.length||0)+r.length),n=0,e=0,t=i=0,s=r.length;i<s;t=i+=3)a[n++]=r[t],a[n++]=r[t+1],a[n++]=r[t+2],a[n++]=null!=(c=o[e++])?c:255;return a},a.prototype.copyToImageData=function(e,t){var r,n,a,o,i,s,c,l,u,f,h;if(n=this.colors,u=null,r=this.hasAlphaChannel,this.palette.length&&(u=null!=(h=this._decodedPalette)?h:this._decodedPalette=this.decodePalette(),n=4,r=!0),l=(a=e.data||e).length,i=u||t,o=s=0,1===n)for(;o<l;)c=u?4*t[o/4]:s,f=i[c++],a[o++]=f,a[o++]=f,a[o++]=f,a[o++]=r?i[c++]:255,s=c;else for(;o<l;)c=u?4*t[o/4]:s,a[o++]=i[c++],a[o++]=i[c++],a[o++]=i[c++],a[o++]=r?i[c++]:255,s=c},a.prototype.decode=function(){var e;return e=new Uint8Array(this.width*this.height*4),this.copyToImageData(e,this.decodePixels()),e};var o=function(){if("[object Window]"===Object.prototype.toString.call(t)){try{r=t.document.createElement("canvas"),n=r.getContext("2d")}catch(e){return!1}return!0}return!1};return o(),e=function(e){var t;if(!0===o())return n.width=e.width,n.height=e.height,n.clearRect(0,0,e.width,e.height),n.putImageData(e,0,0),(t=new Image).src=r.toDataURL(),t;throw new Error("This method requires a Browser with Canvas-capability.")},a.prototype.decodeFrames=function(t){var r,n,a,o,i,s,c,l;if(this.animation){for(l=[],n=i=0,s=(c=this.animation.frames).length;i<s;n=++i)r=c[n],a=t.createImageData(r.width,r.height),o=this.decodePixels(new Uint8Array(r.data)),this.copyToImageData(a,o),r.imageData=a,l.push(r.image=e(a));return l}},a.prototype.renderFrame=function(e,t){var r,n,a;return r=(n=this.animation.frames)[t],a=n[t-1],0===t&&e.clearRect(0,0,this.width,this.height),1===(null!=a?a.disposeOp:void 0)?e.clearRect(a.xOffset,a.yOffset,a.width,a.height):2===(null!=a?a.disposeOp:void 0)&&e.putImageData(a.imageData,a.xOffset,a.yOffset),0===r.blendOp&&e.clearRect(r.xOffset,r.yOffset,r.width,r.height),e.drawImage(r.image,r.xOffset,r.yOffset)},a.prototype.animate=function(e){var t,r,n,a,o,i,s=this;return r=0,i=this.animation,a=i.numFrames,n=i.frames,o=i.numPlays,(t=function(){var i,c;if(i=r++%a,c=n[i],s.renderFrame(e,i),a>1&&r/a<o)return s.animation._timeout=setTimeout(t,c.delay)})()},a.prototype.stopAnimation=function(){var e;return clearTimeout(null!=(e=this.animation)?e._timeout:void 0)},a.prototype.render=function(e){var t,r;return e._png&&e._png.stopAnimation(),e._png=this,e.width=this.width,e.height=this.height,t=e.getContext("2d"),this.animation?(this.decodeFrames(t),this.animate(t)):(r=t.createImageData(this.width,this.height),this.copyToImageData(r,this.decodePixels()),t.putImageData(r,0,0))},a}();function Et(e){var t=0;if(71!==e[t++]||73!==e[t++]||70!==e[t++]||56!==e[t++]||56!=(e[t++]+1&253)||97!==e[t++])throw new Error("Invalid GIF 87a/89a header.");var r=e[t++]|e[t++]<<8,n=e[t++]|e[t++]<<8,a=e[t++],o=a>>7,i=1<<1+(7&a);e[t++],e[t++];var s=null,c=null;o&&(s=t,c=i,t+=3*i);var l=!0,u=[],f=0,h=null,d=0,p=null;for(this.width=r,this.height=n;l&&t<e.length;)switch(e[t++]){case 33:switch(e[t++]){case 255:if(11!==e[t]||78==e[t+1]&&69==e[t+2]&&84==e[t+3]&&83==e[t+4]&&67==e[t+5]&&65==e[t+6]&&80==e[t+7]&&69==e[t+8]&&50==e[t+9]&&46==e[t+10]&&48==e[t+11]&&3==e[t+12]&&1==e[t+13]&&0==e[t+16])t+=14,p=e[t++]|e[t++]<<8,t++;else for(t+=12;;){if(!((_=e[t++])>=0))throw Error("Invalid block size");if(0===_)break;t+=_}break;case 249:if(4!==e[t++]||0!==e[t+4])throw new Error("Invalid graphics extension block.");var g=e[t++];f=e[t++]|e[t++]<<8,h=e[t++],0==(1&g)&&(h=null),d=g>>2&7,t++;break;case 254:for(;;){if(!((_=e[t++])>=0))throw Error("Invalid block size");if(0===_)break;t+=_}break;default:throw new Error("Unknown graphic control label: 0x"+e[t-1].toString(16))}break;case 44:var m=e[t++]|e[t++]<<8,v=e[t++]|e[t++]<<8,b=e[t++]|e[t++]<<8,y=e[t++]|e[t++]<<8,w=e[t++],S=w>>6&1,x=1<<1+(7&w),A=s,k=c,T=!1;w>>7&&(T=!0,A=t,k=x,t+=3*x);var E=t;for(t++;;){var _;if(!((_=e[t++])>=0))throw Error("Invalid block size");if(0===_)break;t+=_}u.push({x:m,y:v,width:b,height:y,has_local_palette:T,palette_offset:A,palette_size:k,data_offset:E,data_length:t-E,transparent_index:h,interlaced:!!S,delay:f,disposal:d});break;case 59:l=!1;break;default:throw new Error("Unknown gif block: 0x"+e[t-1].toString(16))}this.numFrames=function(){return u.length},this.loopCount=function(){return p},this.frameInfo=function(e){if(e<0||e>=u.length)throw new Error("Frame index out of range.");return u[e]},this.decodeAndBlitFrameBGRA=function(t,n){var a=this.frameInfo(t),o=a.width*a.height,i=new Uint8Array(o);_t(e,a.data_offset,i,o);var s=a.palette_offset,c=a.transparent_index;null===c&&(c=256);var l=a.width,u=r-l,f=l,h=4*(a.y*r+a.x),d=4*((a.y+a.height)*r+a.x),p=h,g=4*u;!0===a.interlaced&&(g+=4*r*7);for(var m=8,v=0,b=i.length;v<b;++v){var y=i[v];if(0===f&&(f=l,(p+=g)>=d&&(g=4*u+4*r*(m-1),p=h+(l+u)*(m<<1),m>>=1)),y===c)p+=4;else{var w=e[s+3*y],S=e[s+3*y+1],x=e[s+3*y+2];n[p++]=x,n[p++]=S,n[p++]=w,n[p++]=255}--f}},this.decodeAndBlitFrameRGBA=function(t,n){var a=this.frameInfo(t),o=a.width*a.height,i=new Uint8Array(o);_t(e,a.data_offset,i,o);var s=a.palette_offset,c=a.transparent_index;null===c&&(c=256);var l=a.width,u=r-l,f=l,h=4*(a.y*r+a.x),d=4*((a.y+a.height)*r+a.x),p=h,g=4*u;!0===a.interlaced&&(g+=4*r*7);for(var m=8,v=0,b=i.length;v<b;++v){var y=i[v];if(0===f&&(f=l,(p+=g)>=d&&(g=4*u+4*r*(m-1),p=h+(l+u)*(m<<1),m>>=1)),y===c)p+=4;else{var w=e[s+3*y],S=e[s+3*y+1],x=e[s+3*y+2];n[p++]=w,n[p++]=S,n[p++]=x,n[p++]=255}--f}}}function _t(e,t,r,a){for(var o=e[t++],i=1<<o,s=i+1,c=s+1,l=o+1,u=(1<<l)-1,f=0,h=0,d=0,p=e[t++],g=new Int32Array(4096),m=null;;){for(;f<16&&0!==p;)h|=e[t++]<<f,f+=8,1===p?p=e[t++]:--p;if(f<l)break;var v=h&u;if(h>>=l,f-=l,v!==i){if(v===s)break;for(var b=v<c?v:m,y=0,w=b;w>i;)w=g[w]>>8,++y;var S=w;if(d+y+(b!==v?1:0)>a)return void n.log("Warning, gif stream longer than expected.");r[d++]=S;var x=d+=y;for(b!==v&&(r[d++]=S),w=b;y--;)w=g[w],r[--x]=255&w,w>>=8;null!==m&&c<4096&&(g[c++]=m<<8|S,c>=u+1&&l<12&&(++l,u=u<<1|1)),m=v}else c=s+1,u=(1<<(l=o+1))-1,m=null}return d!==a&&n.log("Warning, gif stream shorter than expected."),r}function Nt(e){var t,r,n,a,o,i=Math.floor,s=new Array(64),c=new Array(64),l=new Array(64),u=new Array(64),f=new Array(65535),h=new Array(65535),d=new Array(64),p=new Array(64),g=[],m=0,v=7,b=new Array(64),y=new Array(64),w=new Array(64),S=new Array(256),x=new Array(2048),A=[0,1,5,6,14,15,27,28,2,4,7,13,16,26,29,42,3,8,12,17,25,30,41,43,9,11,18,24,31,40,44,53,10,19,23,32,39,45,52,54,20,22,33,38,46,51,55,60,21,34,37,47,50,56,59,61,35,36,48,49,57,58,62,63],k=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],T=[0,1,2,3,4,5,6,7,8,9,10,11],E=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],_=[1,2,3,0,4,17,5,18,33,49,65,6,19,81,97,7,34,113,20,50,129,145,161,8,35,66,177,193,21,82,209,240,36,51,98,114,130,9,10,22,23,24,25,26,37,38,39,40,41,42,52,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,225,226,227,228,229,230,231,232,233,234,241,242,243,244,245,246,247,248,249,250],N=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],C=[0,1,2,3,4,5,6,7,8,9,10,11],O=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],R=[0,1,2,3,17,4,5,33,49,6,18,65,81,7,97,113,19,34,50,129,8,20,66,145,161,177,193,9,35,51,82,240,21,98,114,209,10,22,36,52,225,37,241,23,24,25,26,38,39,40,41,42,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,130,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,226,227,228,229,230,231,232,233,234,242,243,244,245,246,247,248,249,250];function P(e,t){for(var r=0,n=0,a=new Array,o=1;o<=16;o++){for(var i=1;i<=e[o];i++)a[t[n]]=[],a[t[n]][0]=r,a[t[n]][1]=o,n++,r++;r*=2}return a}function L(e){for(var t=e[0],r=e[1]-1;r>=0;)t&1<<r&&(m|=1<<v),r--,--v<0&&(255==m?(I(255),I(0)):I(m),v=7,m=0)}function I(e){g.push(e)}function F(e){I(e>>8&255),I(255&e)}function D(e,t,r,n,a){for(var o,i=a[0],s=a[240],c=function(e,t){var r,n,a,o,i,s,c,l,u,f,h=0;for(u=0;u<8;++u){r=e[h],n=e[h+1],a=e[h+2],o=e[h+3],i=e[h+4],s=e[h+5],c=e[h+6];var p=r+(l=e[h+7]),g=r-l,m=n+c,v=n-c,b=a+s,y=a-s,w=o+i,S=o-i,x=p+w,A=p-w,k=m+b,T=m-b;e[h]=x+k,e[h+4]=x-k;var E=.707106781*(T+A);e[h+2]=A+E,e[h+6]=A-E;var _=.382683433*((x=S+y)-(T=v+g)),N=.5411961*x+_,C=1.306562965*T+_,O=.707106781*(k=y+v),R=g+O,P=g-O;e[h+5]=P+N,e[h+3]=P-N,e[h+1]=R+C,e[h+7]=R-C,h+=8}for(h=0,u=0;u<8;++u){r=e[h],n=e[h+8],a=e[h+16],o=e[h+24],i=e[h+32],s=e[h+40],c=e[h+48];var L=r+(l=e[h+56]),I=r-l,F=n+c,D=n-c,M=a+s,j=a-s,B=o+i,W=o-i,U=L+B,H=L-B,z=F+M,V=F-M;e[h]=U+z,e[h+32]=U-z;var q=.707106781*(V+H);e[h+16]=H+q,e[h+48]=H-q;var $=.382683433*((U=W+j)-(V=D+I)),G=.5411961*U+$,X=1.306562965*V+$,Y=.707106781*(z=j+D),K=I+Y,J=I-Y;e[h+40]=J+G,e[h+24]=J-G,e[h+8]=K+X,e[h+56]=K-X,h++}for(u=0;u<64;++u)f=e[u]*t[u],d[u]=f>0?f+.5|0:f-.5|0;return d}(e,t),l=0;l<64;++l)p[A[l]]=c[l];var u=p[0]-r;r=p[0],0==u?L(n[0]):(L(n[h[o=32767+u]]),L(f[o]));for(var g=63;g>0&&0==p[g];)g--;if(0==g)return L(i),r;for(var m,v=1;v<=g;){for(var b=v;0==p[v]&&v<=g;)++v;var y=v-b;if(y>=16){m=y>>4;for(var w=1;w<=m;++w)L(s);y&=15}o=32767+p[v],L(a[(y<<4)+h[o]]),L(f[o]),v++}return 63!=g&&L(i),r}function M(e){e=Math.min(Math.max(e,1),100),o!=e&&(function(e){for(var t=[16,11,10,16,24,40,51,61,12,12,14,19,26,58,60,55,14,13,16,24,40,57,69,56,14,17,22,29,51,87,80,62,18,22,37,56,68,109,103,77,24,35,55,64,81,104,113,92,49,64,78,87,103,121,120,101,72,92,95,98,112,100,103,99],r=0;r<64;r++){var n=i((t[r]*e+50)/100);n=Math.min(Math.max(n,1),255),s[A[r]]=n}for(var a=[17,18,24,47,99,99,99,99,18,21,26,66,99,99,99,99,24,26,56,99,99,99,99,99,47,66,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99],o=0;o<64;o++){var f=i((a[o]*e+50)/100);f=Math.min(Math.max(f,1),255),c[A[o]]=f}for(var h=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],d=0,p=0;p<8;p++)for(var g=0;g<8;g++)l[d]=1/(s[A[d]]*h[p]*h[g]*8),u[d]=1/(c[A[d]]*h[p]*h[g]*8),d++}(e<50?Math.floor(5e3/e):Math.floor(200-2*e)),o=e)}this.encode=function(e,o){o&&M(o),g=new Array,m=0,v=7,F(65496),F(65504),F(16),I(74),I(70),I(73),I(70),I(0),I(1),I(1),I(0),F(1),F(1),I(0),I(0),function(){F(65499),F(132),I(0);for(var e=0;e<64;e++)I(s[e]);I(1);for(var t=0;t<64;t++)I(c[t])}(),function(e,t){F(65472),F(17),I(8),F(t),F(e),I(3),I(1),I(17),I(0),I(2),I(17),I(1),I(3),I(17),I(1)}(e.width,e.height),function(){F(65476),F(418),I(0);for(var e=0;e<16;e++)I(k[e+1]);for(var t=0;t<=11;t++)I(T[t]);I(16);for(var r=0;r<16;r++)I(E[r+1]);for(var n=0;n<=161;n++)I(_[n]);I(1);for(var a=0;a<16;a++)I(N[a+1]);for(var o=0;o<=11;o++)I(C[o]);I(17);for(var i=0;i<16;i++)I(O[i+1]);for(var s=0;s<=161;s++)I(R[s])}(),F(65498),F(12),I(3),I(1),I(0),I(2),I(17),I(3),I(17),I(0),I(63),I(0);var i=0,f=0,h=0;m=0,v=7,this.encode.displayName="_encode_";for(var d,p,S,A,P,j,B,W,U,H=e.data,z=e.width,V=e.height,q=4*z,$=0;$<V;){for(d=0;d<q;){for(P=q*$+d,B=-1,W=0,U=0;U<64;U++)j=P+(W=U>>3)*q+(B=4*(7&U)),$+W>=V&&(j-=q*($+1+W-V)),d+B>=q&&(j-=d+B-q+4),p=H[j++],S=H[j++],A=H[j++],b[U]=(x[p]+x[S+256>>0]+x[A+512>>0]>>16)-128,y[U]=(x[p+768>>0]+x[S+1024>>0]+x[A+1280>>0]>>16)-128,w[U]=(x[p+1280>>0]+x[S+1536>>0]+x[A+1792>>0]>>16)-128;i=D(b,l,i,t,n),f=D(y,u,f,r,a),h=D(w,u,h,r,a),d+=32}$+=8}if(v>=0){var G=[];G[1]=v+1,G[0]=(1<<v+1)-1,L(G)}return F(65497),new Uint8Array(g)},e=e||50,function(){for(var e=String.fromCharCode,t=0;t<256;t++)S[t]=e(t)}(),t=P(k,T),r=P(N,C),n=P(E,_),a=P(O,R),function(){for(var e=1,t=2,r=1;r<=15;r++){for(var n=e;n<t;n++)h[32767+n]=r,f[32767+n]=[],f[32767+n][1]=r,f[32767+n][0]=n;for(var a=-(t-1);a<=-e;a++)h[32767+a]=r,f[32767+a]=[],f[32767+a][1]=r,f[32767+a][0]=t-1+a;e<<=1,t<<=1}}(),function(){for(var e=0;e<256;e++)x[e]=19595*e,x[e+256>>0]=38470*e,x[e+512>>0]=7471*e+32768,x[e+768>>0]=-11059*e,x[e+1024>>0]=-21709*e,x[e+1280>>0]=32768*e+8421375,x[e+1536>>0]=-27439*e,x[e+1792>>0]=-5329*e}(),M(e)}function Ct(e,t){if(this.pos=0,this.buffer=e,this.datav=new DataView(e.buffer),this.is_with_alpha=!!t,this.bottom_up=!0,this.flag=String.fromCharCode(this.buffer[0])+String.fromCharCode(this.buffer[1]),this.pos+=2,-1===["BM","BA","CI","CP","IC","PT"].indexOf(this.flag))throw new Error("Invalid BMP File");this.parseHeader(),this.parseBGR()}function Ot(e){function t(e){if(!e)throw Error("assert :P")}function r(e,t,r){for(var n=0;4>n;n++)if(e[t+n]!=r.charCodeAt(n))return!0;return!1}function n(e,t,r,n,a){for(var o=0;o<a;o++)e[t+o]=r[n+o]}function a(e,t,r,n){for(var a=0;a<n;a++)e[t+a]=r}function o(e){return new Int32Array(e)}function i(e,t){for(var r=[],n=0;n<e;n++)r.push(new t);return r}function s(e,t){var r=[];return function e(r,n,a){for(var o=a[n],i=0;i<o&&(r.push(a.length>n+1?[]:new t),!(a.length<n+1));i++)e(r[i],n+1,a)}(r,0,e),r}function c(e,t){for(var r="",n=0;n<4;n++)r+=String.fromCharCode(e[t++]);return r}function l(e,t){return(e[t+0]<<0|e[t+1]<<8|e[t+2]<<16)>>>0}function u(e,t){return(e[t+0]<<0|e[t+1]<<8|e[t+2]<<16|e[t+3]<<24)>>>0}new(Ot=function(){var e=this;function c(e,t){for(var r=1<<t-1>>>0;e&r;)r>>>=1;return r?(e&r-1)+r:e}function l(e,r,n,a,o){t(!(a%n));do{e[r+(a-=n)]=o}while(0<a)}function u(e,r,n,a,i){if(t(2328>=i),512>=i)var s=o(512);else if(null==(s=o(i)))return 0;return function(e,r,n,a,i,s){var u,h,d=r,p=1<<n,g=o(16),m=o(16);for(t(0!=i),t(null!=a),t(null!=e),t(0<n),h=0;h<i;++h){if(15<a[h])return 0;++g[a[h]]}if(g[0]==i)return 0;for(m[1]=0,u=1;15>u;++u){if(g[u]>1<<u)return 0;m[u+1]=m[u]+g[u]}for(h=0;h<i;++h)u=a[h],0<a[h]&&(s[m[u]++]=h);if(1==m[15])return(a=new f).g=0,a.value=s[0],l(e,d,1,p,a),p;var v,b=-1,y=p-1,w=0,S=1,x=1,A=1<<n;for(h=0,u=1,i=2;u<=n;++u,i<<=1){if(S+=x<<=1,0>(x-=g[u]))return 0;for(;0<g[u];--g[u])(a=new f).g=u,a.value=s[h++],l(e,d+w,i,A,a),w=c(w,u)}for(u=n+1,i=2;15>=u;++u,i<<=1){if(S+=x<<=1,0>(x-=g[u]))return 0;for(;0<g[u];--g[u]){if(a=new f,(w&y)!=b){for(d+=A,v=1<<(b=u)-n;15>b&&!(0>=(v-=g[b]));)++b,v<<=1;p+=A=1<<(v=b-n),e[r+(b=w&y)].g=v+n,e[r+b].value=d-r-b}a.g=u-n,a.value=s[h++],l(e,d+(w>>n),i,A,a),w=c(w,u)}}return S!=2*m[15]-1?0:p}(e,r,n,a,i,s)}function f(){this.value=this.g=0}function h(){this.value=this.g=0}function d(){this.G=i(5,f),this.H=o(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=i(jr,h)}function p(e,r,n,a){t(null!=e),t(null!=r),t(2147483648>a),e.Ca=254,e.I=0,e.b=-8,e.Ka=0,e.oa=r,e.pa=n,e.Jd=r,e.Yc=n+a,e.Zc=4<=a?n+a-4+1:n,E(e)}function g(e,t){for(var r=0;0<t--;)r|=N(e,128)<<t;return r}function m(e,t){var r=g(e,t);return _(e)?-r:r}function v(e,r,n,a){var o,i=0;for(t(null!=e),t(null!=r),t(4294967288>a),e.Sb=a,e.Ra=0,e.u=0,e.h=0,4<a&&(a=4),o=0;o<a;++o)i+=r[n+o]<<8*o;e.Ra=i,e.bb=a,e.oa=r,e.pa=n}function b(e){for(;8<=e.u&&e.bb<e.Sb;)e.Ra>>>=8,e.Ra+=e.oa[e.pa+e.bb]<<Ur-8>>>0,++e.bb,e.u-=8;A(e)&&(e.h=1,e.u=0)}function y(e,r){if(t(0<=r),!e.h&&r<=Wr){var n=x(e)&Br[r];return e.u+=r,b(e),n}return e.h=1,e.u=0}function w(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function S(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function x(e){return e.Ra>>>(e.u&Ur-1)>>>0}function A(e){return t(e.bb<=e.Sb),e.h||e.bb==e.Sb&&e.u>Ur}function k(e,t){e.u=t,e.h=A(e)}function T(e){e.u>=Hr&&(t(e.u>=Hr),b(e))}function E(e){t(null!=e&&null!=e.oa),e.pa<e.Zc?(e.I=(e.oa[e.pa++]|e.I<<8)>>>0,e.b+=8):(t(null!=e&&null!=e.oa),e.pa<e.Yc?(e.b+=8,e.I=e.oa[e.pa++]|e.I<<8):e.Ka?e.b=0:(e.I<<=8,e.b+=8,e.Ka=1))}function _(e){return g(e,1)}function N(e,t){var r=e.Ca;0>e.b&&E(e);var n=e.b,a=r*t>>>8,o=(e.I>>>n>a)+0;for(o?(r-=a,e.I-=a+1<<n>>>0):r=a+1,n=r,a=0;256<=n;)a+=8,n>>=8;return n=7^a+zr[n],e.b-=n,e.Ca=(r<<n)-1,o}function C(e,t,r){e[t+0]=r>>24&255,e[t+1]=r>>16&255,e[t+2]=r>>8&255,e[t+3]=r>>0&255}function O(e,t){return e[t+0]<<0|e[t+1]<<8}function R(e,t){return O(e,t)|e[t+2]<<16}function P(e,t){return O(e,t)|O(e,t+2)<<16}function L(e,r){var n=1<<r;return t(null!=e),t(0<r),e.X=o(n),null==e.X?0:(e.Mb=32-r,e.Xa=r,1)}function I(e,r){t(null!=e),t(null!=r),t(e.Xa==r.Xa),n(r.X,0,e.X,0,1<<r.Xa)}function F(){this.X=[],this.Xa=this.Mb=0}function D(e,r,n,a){t(null!=n),t(null!=a);var o=n[0],i=a[0];return 0==o&&(o=(e*i+r/2)/r),0==i&&(i=(r*o+e/2)/e),0>=o||0>=i?0:(n[0]=o,a[0]=i,1)}function M(e,t){return e+(1<<t)-1>>>t}function j(e,t){return((4278255360&e)+(4278255360&t)>>>0&4278255360)+((16711935&e)+(16711935&t)>>>0&16711935)>>>0}function B(t,r){e[r]=function(r,n,a,o,i,s,c){var l;for(l=0;l<i;++l){var u=e[t](s[c+l-1],a,o+l);s[c+l]=j(r[n+l],u)}}}function W(){this.ud=this.hd=this.jd=0}function U(e,t){return((4278124286&(e^t))>>>1)+(e&t)>>>0}function H(e){return 0<=e&&256>e?e:0>e?0:255<e?255:void 0}function z(e,t){return H(e+(e-t+.5>>1))}function V(e,t,r){return Math.abs(t-r)-Math.abs(e-r)}function q(e,t,r,n,a,o,i){for(n=o[i-1],r=0;r<a;++r)o[i+r]=n=j(e[t+r],n)}function $(e,t,r,n,a){var o;for(o=0;o<r;++o){var i=e[t+o],s=i>>8&255,c=16711935&(c=(c=16711935&i)+((s<<16)+s));n[a+o]=(4278255360&i)+c>>>0}}function G(e,t){t.jd=e>>0&255,t.hd=e>>8&255,t.ud=e>>16&255}function X(e,t,r,n,a,o){var i;for(i=0;i<n;++i){var s=t[r+i],c=s>>>8,l=s,u=255&(u=(u=s>>>16)+((e.jd<<24>>24)*(c<<24>>24)>>>5));l=255&(l=(l+=(e.hd<<24>>24)*(c<<24>>24)>>>5)+((e.ud<<24>>24)*(u<<24>>24)>>>5)),a[o+i]=(4278255360&s)+(u<<16)+l}}function Y(t,r,n,a,o){e[r]=function(e,t,r,n,i,s,c,l,u){for(n=c;n<l;++n)for(c=0;c<u;++c)i[s++]=o(r[a(e[t++])])},e[t]=function(t,r,i,s,c,l,u){var f=8>>t.b,h=t.Ea,d=t.K[0],p=t.w;if(8>f)for(t=(1<<t.b)-1,p=(1<<f)-1;r<i;++r){var g,m=0;for(g=0;g<h;++g)g&t||(m=a(s[c++])),l[u++]=o(d[m&p]),m>>=f}else e["VP8LMapColor"+n](s,c,d,p,l,u,r,i,h)}}function K(e,t,r,n,a){for(r=t+r;t<r;){var o=e[t++];n[a++]=o>>16&255,n[a++]=o>>8&255,n[a++]=o>>0&255}}function J(e,t,r,n,a){for(r=t+r;t<r;){var o=e[t++];n[a++]=o>>16&255,n[a++]=o>>8&255,n[a++]=o>>0&255,n[a++]=o>>24&255}}function Z(e,t,r,n,a){for(r=t+r;t<r;){var o=(i=e[t++])>>16&240|i>>12&15,i=i>>0&240|i>>28&15;n[a++]=o,n[a++]=i}}function Q(e,t,r,n,a){for(r=t+r;t<r;){var o=(i=e[t++])>>16&248|i>>13&7,i=i>>5&224|i>>3&31;n[a++]=o,n[a++]=i}}function ee(e,t,r,n,a){for(r=t+r;t<r;){var o=e[t++];n[a++]=o>>0&255,n[a++]=o>>8&255,n[a++]=o>>16&255}}function te(e,t,r,a,o,i){if(0==i)for(r=t+r;t<r;)C(a,((i=e[t++])[0]>>24|i[1]>>8&65280|i[2]<<8&16711680|i[3]<<24)>>>0),o+=32;else n(a,o,e,t,r)}function re(t,r){e[r][0]=e[t+"0"],e[r][1]=e[t+"1"],e[r][2]=e[t+"2"],e[r][3]=e[t+"3"],e[r][4]=e[t+"4"],e[r][5]=e[t+"5"],e[r][6]=e[t+"6"],e[r][7]=e[t+"7"],e[r][8]=e[t+"8"],e[r][9]=e[t+"9"],e[r][10]=e[t+"10"],e[r][11]=e[t+"11"],e[r][12]=e[t+"12"],e[r][13]=e[t+"13"],e[r][14]=e[t+"0"],e[r][15]=e[t+"0"]}function ne(e){return e==zn||e==Vn||e==qn||e==$n}function ae(){this.eb=[],this.size=this.A=this.fb=0}function oe(){this.y=[],this.f=[],this.ea=[],this.F=[],this.Tc=this.Ed=this.Cd=this.Fd=this.lb=this.Db=this.Ab=this.fa=this.J=this.W=this.N=this.O=0}function ie(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new ae,this.f.kb=new oe,this.sd=null}function se(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function ce(){this.Id=this.fd=this.Md=this.hb=this.ib=this.da=this.bd=this.cd=this.j=this.v=this.Da=this.Sd=this.ob=0}function le(e){return alert("todo:WebPSamplerProcessPlane"),e.T}function ue(e,t){var r=e.T,a=t.ba.f.RGBA,o=a.eb,i=a.fb+e.ka*a.A,s=va[t.ba.S],c=e.y,l=e.O,u=e.f,f=e.N,h=e.ea,d=e.W,p=t.cc,g=t.dc,m=t.Mc,v=t.Nc,b=e.ka,y=e.ka+e.T,w=e.U,S=w+1>>1;for(0==b?s(c,l,null,null,u,f,h,d,u,f,h,d,o,i,null,null,w):(s(t.ec,t.fc,c,l,p,g,m,v,u,f,h,d,o,i-a.A,o,i,w),++r);b+2<y;b+=2)p=u,g=f,m=h,v=d,f+=e.Rc,d+=e.Rc,i+=2*a.A,s(c,(l+=2*e.fa)-e.fa,c,l,p,g,m,v,u,f,h,d,o,i-a.A,o,i,w);return l+=e.fa,e.j+y<e.o?(n(t.ec,t.fc,c,l,w),n(t.cc,t.dc,u,f,S),n(t.Mc,t.Nc,h,d,S),r--):1&y||s(c,l,null,null,u,f,h,d,u,f,h,d,o,i+a.A,null,null,w),r}function fe(e,r,n){var a=e.F,o=[e.J];if(null!=a){var i=e.U,s=r.ba.S,c=s==Wn||s==qn;r=r.ba.f.RGBA;var l=[0],u=e.ka;l[0]=e.T,e.Kb&&(0==u?--l[0]:(--u,o[0]-=e.width),e.j+e.ka+e.T==e.o&&(l[0]=e.o-e.j-u));var f=r.eb;u=r.fb+u*r.A,e=Tn(a,o[0],e.width,i,l,f,u+(c?0:3),r.A),t(n==l),e&&ne(s)&&An(f,u,c,i,l,r.A)}return 0}function he(e){var t=e.ma,r=t.ba.S,n=11>r,a=r==Mn||r==Bn||r==Wn||r==Un||12==r||ne(r);if(t.memory=null,t.Ib=null,t.Jb=null,t.Nd=null,!Fr(t.Oa,e,a?11:12))return 0;if(a&&ne(r)&&br(),e.da)alert("todo:use_scaling");else{if(n){if(t.Ib=le,e.Kb){if(r=e.U+1>>1,t.memory=o(e.U+2*r),null==t.memory)return 0;t.ec=t.memory,t.fc=0,t.cc=t.ec,t.dc=t.fc+e.U,t.Mc=t.cc,t.Nc=t.dc+r,t.Ib=ue,br()}}else alert("todo:EmitYUV");a&&(t.Jb=fe,n&&mr())}if(n&&!Ra){for(e=0;256>e;++e)Pa[e]=89858*(e-128)+Ea>>Ta,Fa[e]=-22014*(e-128)+Ea,Ia[e]=-45773*(e-128),La[e]=113618*(e-128)+Ea>>Ta;for(e=_a;e<Na;++e)t=76283*(e-16)+Ea>>Ta,Da[e-_a]=qe(t,255),Ma[e-_a]=qe(t+8>>4,15);Ra=1}return 1}function de(e){var r=e.ma,n=e.U,a=e.T;return t(!(1&e.ka)),0>=n||0>=a?0:(n=r.Ib(e,r),null!=r.Jb&&r.Jb(e,r,n),r.Dc+=n,1)}function pe(e){e.ma.memory=null}function ge(e,t,r,n){return 47!=y(e,8)?0:(t[0]=y(e,14)+1,r[0]=y(e,14)+1,n[0]=y(e,1),0!=y(e,3)?0:!e.h)}function me(e,t){if(4>e)return e+1;var r=e-2>>1;return(2+(1&e)<<r)+y(t,r)+1}function ve(e,t){return 120<t?t-120:1<=(r=((r=Zn[t-1])>>4)*e+(8-(15&r)))?r:1;var r}function be(e,t,r){var n=x(r),a=e[t+=255&n].g-8;return 0<a&&(k(r,r.u+8),n=x(r),t+=e[t].value,t+=n&(1<<a)-1),k(r,r.u+e[t].g),e[t].value}function ye(e,r,n){return n.g+=e.g,n.value+=e.value<<r>>>0,t(8>=n.g),e.g}function we(e,r,n){var a=e.xc;return t((r=0==a?0:e.vc[e.md*(n>>a)+(r>>a)])<e.Wb),e.Ya[r]}function Se(e,r,a,o){var i=e.ab,s=e.c*r,c=e.C;r=c+r;var l=a,u=o;for(o=e.Ta,a=e.Ua;0<i--;){var f=e.gc[i],h=c,d=r,p=l,g=u,m=(u=o,l=a,f.Ea);switch(t(h<d),t(d<=f.nc),f.hc){case 2:$r(p,g,(d-h)*m,u,l);break;case 0:var v=h,b=d,y=u,w=l,S=(E=f).Ea;0==v&&(Vr(p,g,null,null,1,y,w),q(p,g+1,0,0,S-1,y,w+1),g+=S,w+=S,++v);for(var x=1<<E.b,A=x-1,k=M(S,E.b),T=E.K,E=E.w+(v>>E.b)*k;v<b;){var _=T,N=E,C=1;for(qr(p,g,y,w-S,1,y,w);C<S;){var O=(C&~A)+x;O>S&&(O=S),(0,Jr[_[N++]>>8&15])(p,g+ +C,y,w+C-S,O-C,y,w+C),C=O}g+=S,w+=S,++v&A||(E+=k)}d!=f.nc&&n(u,l-m,u,l+(d-h-1)*m,m);break;case 1:for(m=p,b=g,S=(p=f.Ea)-(w=p&~(y=(g=1<<f.b)-1)),v=M(p,f.b),x=f.K,f=f.w+(h>>f.b)*v;h<d;){for(A=x,k=f,T=new W,E=b+w,_=b+p;b<E;)G(A[k++],T),Zr(T,m,b,g,u,l),b+=g,l+=g;b<_&&(G(A[k++],T),Zr(T,m,b,S,u,l),b+=S,l+=S),++h&y||(f+=v)}break;case 3:if(p==u&&g==l&&0<f.b){for(b=u,p=m=l+(d-h)*m-(w=(d-h)*M(f.Ea,f.b)),g=u,y=l,v=[],w=(S=w)-1;0<=w;--w)v[w]=g[y+w];for(w=S-1;0<=w;--w)b[p+w]=v[w];Gr(f,h,d,u,m,u,l)}else Gr(f,h,d,p,g,u,l)}l=o,u=a}u!=a&&n(o,a,l,u,s)}function xe(e,r){var n=e.V,a=e.Ba+e.c*e.C,o=r-e.C;if(t(r<=e.l.o),t(16>=o),0<o){var i=e.l,s=e.Ta,c=e.Ua,l=i.width;if(Se(e,o,n,a),o=c=[c],t((n=e.C)<(a=r)),t(i.v<i.va),a>i.o&&(a=i.o),n<i.j){var u=i.j-n;n=i.j,o[0]+=u*l}if(n>=a?n=0:(o[0]+=4*i.v,i.ka=n-i.j,i.U=i.va-i.v,i.T=a-n,n=1),n){if(c=c[0],11>(n=e.ca).S){var f=n.f.RGBA,h=(a=n.S,o=i.U,i=i.T,u=f.eb,f.A),d=i;for(f=f.fb+e.Ma*f.A;0<d--;){var p=s,g=c,m=o,v=u,b=f;switch(a){case Dn:Qr(p,g,m,v,b);break;case Mn:en(p,g,m,v,b);break;case zn:en(p,g,m,v,b),An(v,b,0,m,1,0);break;case jn:nn(p,g,m,v,b);break;case Bn:te(p,g,m,v,b,1);break;case Vn:te(p,g,m,v,b,1),An(v,b,0,m,1,0);break;case Wn:te(p,g,m,v,b,0);break;case qn:te(p,g,m,v,b,0),An(v,b,1,m,1,0);break;case Un:tn(p,g,m,v,b);break;case $n:tn(p,g,m,v,b),kn(v,b,m,1,0);break;case Hn:rn(p,g,m,v,b);break;default:t(0)}c+=l,f+=h}e.Ma+=i}else alert("todo:EmitRescaledRowsYUVA");t(e.Ma<=n.height)}}e.C=r,t(e.C<=e.i)}function Ae(e){var t;if(0<e.ua)return 0;for(t=0;t<e.Wb;++t){var r=e.Ya[t].G,n=e.Ya[t].H;if(0<r[1][n[1]+0].g||0<r[2][n[2]+0].g||0<r[3][n[3]+0].g)return 0}return 1}function ke(e,r,n,a,o,i){if(0!=e.Z){var s=e.qd,c=e.rd;for(t(null!=ma[e.Z]);r<n;++r)ma[e.Z](s,c,a,o,a,o,i),s=a,c=o,o+=i;e.qd=s,e.rd=c}}function Te(e,r){var n=e.l.ma,a=0==n.Z||1==n.Z?e.l.j:e.C;if(a=e.C<a?a:e.C,t(r<=e.l.o),r>a){var o=e.l.width,i=n.ca,s=n.tb+o*a,c=e.V,l=e.Ba+e.c*a,u=e.gc;t(1==e.ab),t(3==u[0].hc),Yr(u[0],a,r,c,l,i,s),ke(n,a,r,i,s,o)}e.C=e.Ma=r}function Ee(e,r,n,a,o,i,s){var c=e.$/a,l=e.$%a,u=e.m,f=e.s,h=n+e.$,d=h;o=n+a*o;var p=n+a*i,g=280+f.ua,m=e.Pb?c:16777216,v=0<f.ua?f.Wa:null,b=f.wc,y=h<p?we(f,l,c):null;t(e.C<i),t(p<=o);var w=!1;e:for(;;){for(;w||h<p;){var S=0;if(c>=m){var E=h-n;t((m=e).Pb),m.wd=m.m,m.xd=E,0<m.s.ua&&I(m.s.Wa,m.s.vb),m=c+ea}if(l&b||(y=we(f,l,c)),t(null!=y),y.Qb&&(r[h]=y.qb,w=!0),!w)if(T(u),y.jc){S=u,E=r;var _=h,N=y.pd[x(S)&jr-1];t(y.jc),256>N.g?(k(S,S.u+N.g),E[_]=N.value,S=0):(k(S,S.u+N.g-256),t(256<=N.value),S=N.value),0==S&&(w=!0)}else S=be(y.G[0],y.H[0],u);if(u.h)break;if(w||256>S){if(!w)if(y.nd)r[h]=(y.qb|S<<8)>>>0;else{if(T(u),w=be(y.G[1],y.H[1],u),T(u),E=be(y.G[2],y.H[2],u),_=be(y.G[3],y.H[3],u),u.h)break;r[h]=(_<<24|w<<16|S<<8|E)>>>0}if(w=!1,++h,++l>=a&&(l=0,++c,null!=s&&c<=i&&!(c%16)&&s(e,c),null!=v))for(;d<h;)S=r[d++],v.X[(506832829*S&4294967295)>>>v.Mb]=S}else if(280>S){if(S=me(S-256,u),E=be(y.G[4],y.H[4],u),T(u),E=ve(a,E=me(E,u)),u.h)break;if(h-n<E||o-h<S)break e;for(_=0;_<S;++_)r[h+_]=r[h+_-E];for(h+=S,l+=S;l>=a;)l-=a,++c,null!=s&&c<=i&&!(c%16)&&s(e,c);if(t(h<=o),l&b&&(y=we(f,l,c)),null!=v)for(;d<h;)S=r[d++],v.X[(506832829*S&4294967295)>>>v.Mb]=S}else{if(!(S<g))break e;for(w=S-280,t(null!=v);d<h;)S=r[d++],v.X[(506832829*S&4294967295)>>>v.Mb]=S;S=h,t(!(w>>>(E=v).Xa)),r[S]=E.X[w],w=!0}w||t(u.h==A(u))}if(e.Pb&&u.h&&h<o)t(e.m.h),e.a=5,e.m=e.wd,e.$=e.xd,0<e.s.ua&&I(e.s.vb,e.s.Wa);else{if(u.h)break e;null!=s&&s(e,c>i?i:c),e.a=0,e.$=h-n}return 1}return e.a=3,0}function _e(e){t(null!=e),e.vc=null,e.yc=null,e.Ya=null;var r=e.Wa;null!=r&&(r.X=null),e.vb=null,t(null!=e)}function Ne(){var t=new ir;return null==t?null:(t.a=0,t.xb=ga,re("Predictor","VP8LPredictors"),re("Predictor","VP8LPredictors_C"),re("PredictorAdd","VP8LPredictorsAdd"),re("PredictorAdd","VP8LPredictorsAdd_C"),$r=$,Zr=X,Qr=K,en=J,tn=Z,rn=Q,nn=ee,e.VP8LMapColor32b=Xr,e.VP8LMapColor8b=Kr,t)}function Ce(e,r,n,s,c){var l=1,h=[e],p=[r],g=s.m,m=s.s,v=null,b=0;e:for(;;){if(n)for(;l&&y(g,1);){var w=h,S=p,A=s,E=1,_=A.m,N=A.gc[A.ab],C=y(_,2);if(A.Oc&1<<C)l=0;else{switch(A.Oc|=1<<C,N.hc=C,N.Ea=w[0],N.nc=S[0],N.K=[null],++A.ab,t(4>=A.ab),C){case 0:case 1:N.b=y(_,3)+2,E=Ce(M(N.Ea,N.b),M(N.nc,N.b),0,A,N.K),N.K=N.K[0];break;case 3:var O,R=y(_,8)+1,P=16<R?0:4<R?1:2<R?2:3;if(w[0]=M(N.Ea,P),N.b=P,O=E=Ce(R,1,0,A,N.K)){var I,F=R,D=N,B=1<<(8>>D.b),W=o(B);if(null==W)O=0;else{var U=D.K[0],H=D.w;for(W[0]=D.K[0][0],I=1;I<1*F;++I)W[I]=j(U[H+I],W[I-1]);for(;I<4*B;++I)W[I]=0;D.K[0]=null,D.K[0]=W,O=1}}E=O;break;case 2:break;default:t(0)}l=E}}if(h=h[0],p=p[0],l&&y(g,1)&&!(l=1<=(b=y(g,4))&&11>=b)){s.a=3;break e}var z;if(z=l)t:{var V,q,$,G=s,X=h,Y=p,K=b,J=n,Z=G.m,Q=G.s,ee=[null],te=1,re=0,ne=Qn[K];r:for(;;){if(J&&y(Z,1)){var ae=y(Z,3)+2,oe=M(X,ae),ie=M(Y,ae),se=oe*ie;if(!Ce(oe,ie,0,G,ee))break r;for(ee=ee[0],Q.xc=ae,V=0;V<se;++V){var ce=ee[V]>>8&65535;ee[V]=ce,ce>=te&&(te=ce+1)}}if(Z.h)break r;for(q=0;5>q;++q){var le=Yn[q];!q&&0<K&&(le+=1<<K),re<le&&(re=le)}var ue=i(te*ne,f),fe=te,he=i(fe,d);if(null==he)var de=null;else t(65536>=fe),de=he;var pe=o(re);if(null==de||null==pe||null==ue){G.a=1;break r}var ge=ue;for(V=$=0;V<te;++V){var me=de[V],ve=me.G,be=me.H,we=0,Se=1,xe=0;for(q=0;5>q;++q){le=Yn[q],ve[q]=ge,be[q]=$,!q&&0<K&&(le+=1<<K);n:{var Ae,ke=le,Te=G,Ne=pe,Oe=ge,Re=$,Pe=0,Le=Te.m,Ie=y(Le,1);if(a(Ne,0,0,ke),Ie){var Fe=y(Le,1)+1,De=y(Le,1),Me=y(Le,0==De?1:8);Ne[Me]=1,2==Fe&&(Ne[Me=y(Le,8)]=1);var je=1}else{var Be=o(19),We=y(Le,4)+4;if(19<We){Te.a=3;var Ue=0;break n}for(Ae=0;Ae<We;++Ae)Be[Jn[Ae]]=y(Le,3);var He=void 0,ze=void 0,Ve=Te,qe=Be,$e=ke,Ge=Ne,Xe=0,Ye=Ve.m,Ke=8,Je=i(128,f);a:for(;u(Je,0,7,qe,19);){if(y(Ye,1)){var Ze=2+2*y(Ye,3);if((He=2+y(Ye,Ze))>$e)break a}else He=$e;for(ze=0;ze<$e&&He--;){T(Ye);var Qe=Je[0+(127&x(Ye))];k(Ye,Ye.u+Qe.g);var et=Qe.value;if(16>et)Ge[ze++]=et,0!=et&&(Ke=et);else{var tt=16==et,rt=et-16,nt=Xn[rt],at=y(Ye,Gn[rt])+nt;if(ze+at>$e)break a;for(var ot=tt?Ke:0;0<at--;)Ge[ze++]=ot}}Xe=1;break a}Xe||(Ve.a=3),je=Xe}(je=je&&!Le.h)&&(Pe=u(Oe,Re,8,Ne,ke)),je&&0!=Pe?Ue=Pe:(Te.a=3,Ue=0)}if(0==Ue)break r;if(Se&&1==Kn[q]&&(Se=0==ge[$].g),we+=ge[$].g,$+=Ue,3>=q){var it,st=pe[0];for(it=1;it<le;++it)pe[it]>st&&(st=pe[it]);xe+=st}}if(me.nd=Se,me.Qb=0,Se&&(me.qb=(ve[3][be[3]+0].value<<24|ve[1][be[1]+0].value<<16|ve[2][be[2]+0].value)>>>0,0==we&&256>ve[0][be[0]+0].value&&(me.Qb=1,me.qb+=ve[0][be[0]+0].value<<8)),me.jc=!me.Qb&&6>xe,me.jc){var ct,lt=me;for(ct=0;ct<jr;++ct){var ut=ct,ft=lt.pd[ut],ht=lt.G[0][lt.H[0]+ut];256<=ht.value?(ft.g=ht.g+256,ft.value=ht.value):(ft.g=0,ft.value=0,ut>>=ye(ht,8,ft),ut>>=ye(lt.G[1][lt.H[1]+ut],16,ft),ut>>=ye(lt.G[2][lt.H[2]+ut],0,ft),ye(lt.G[3][lt.H[3]+ut],24,ft))}}}Q.vc=ee,Q.Wb=te,Q.Ya=de,Q.yc=ue,z=1;break t}z=0}if(!(l=z)){s.a=3;break e}if(0<b){if(m.ua=1<<b,!L(m.Wa,b)){s.a=1,l=0;break e}}else m.ua=0;var dt=s,pt=h,gt=p,mt=dt.s,vt=mt.xc;if(dt.c=pt,dt.i=gt,mt.md=M(pt,vt),mt.wc=0==vt?-1:(1<<vt)-1,n){s.xb=pa;break e}if(null==(v=o(h*p))){s.a=1,l=0;break e}l=(l=Ee(s,v,0,h,p,p,null))&&!g.h;break e}return l?(null!=c?c[0]=v:(t(null==v),t(n)),s.$=0,n||_e(m)):_e(m),l}function Oe(e,r){var n=e.c*e.i,a=n+r+16*r;return t(e.c<=r),e.V=o(a),null==e.V?(e.Ta=null,e.Ua=0,e.a=1,0):(e.Ta=e.V,e.Ua=e.Ba+n+r,1)}function Re(e,r){var n=e.C,a=r-n,o=e.V,i=e.Ba+e.c*n;for(t(r<=e.l.o);0<a;){var s=16<a?16:a,c=e.l.ma,l=e.l.width,u=l*s,f=c.ca,h=c.tb+l*n,d=e.Ta,p=e.Ua;Se(e,s,o,i),En(d,p,f,h,u),ke(c,n,n+s,f,h,l),a-=s,o+=s*e.c,n+=s}t(n==r),e.C=e.Ma=r}function Pe(){this.ub=this.yd=this.td=this.Rb=0}function Le(){this.Kd=this.Ld=this.Ud=this.Td=this.i=this.c=0}function Ie(){this.Fb=this.Bb=this.Cb=0,this.Zb=o(4),this.Lb=o(4)}function Fe(){this.Yb=function(){var e=[];return function e(t,r,n){for(var a=n[r],o=0;o<a&&(t.push(n.length>r+1?[]:0),!(n.length<r+1));o++)e(t[o],r+1,n)}(e,0,[3,11]),e}()}function De(){this.jb=o(3),this.Wc=s([4,8],Fe),this.Xc=s([4,17],Fe)}function Me(){this.Pc=this.wb=this.Tb=this.zd=0,this.vd=new o(4),this.od=new o(4)}function je(){this.ld=this.La=this.dd=this.tc=0}function Be(){this.Na=this.la=0}function We(){this.Sc=[0,0],this.Eb=[0,0],this.Qc=[0,0],this.ia=this.lc=0}function Ue(){this.ad=o(384),this.Za=0,this.Ob=o(16),this.$b=this.Ad=this.ia=this.Gc=this.Hc=this.Dd=0}function He(){this.uc=this.M=this.Nb=0,this.wa=Array(new je),this.Y=0,this.ya=Array(new Ue),this.aa=0,this.l=new $e}function ze(){this.y=o(16),this.f=o(8),this.ea=o(8)}function Ve(){this.cb=this.a=0,this.sc="",this.m=new w,this.Od=new Pe,this.Kc=new Le,this.ed=new Me,this.Qa=new Ie,this.Ic=this.$c=this.Aa=0,this.D=new He,this.Xb=this.Va=this.Hb=this.zb=this.yb=this.Ub=this.za=0,this.Jc=i(8,w),this.ia=0,this.pb=i(4,We),this.Pa=new De,this.Bd=this.kc=0,this.Ac=[],this.Bc=0,this.zc=[0,0,0,0],this.Gd=Array(new ze),this.Hd=0,this.rb=Array(new Be),this.sb=0,this.wa=Array(new je),this.Y=0,this.oc=[],this.pc=0,this.sa=[],this.ta=0,this.qa=[],this.ra=0,this.Ha=[],this.B=this.R=this.Ia=0,this.Ec=[],this.M=this.ja=this.Vb=this.Fc=0,this.ya=Array(new Ue),this.L=this.aa=0,this.gd=s([4,2],je),this.ga=null,this.Fa=[],this.Cc=this.qc=this.P=0,this.Gb=[],this.Uc=0,this.mb=[],this.nb=0,this.rc=[],this.Ga=this.Vc=0}function qe(e,t){return 0>e?0:e>t?t:e}function $e(){this.T=this.U=this.ka=this.height=this.width=0,this.y=[],this.f=[],this.ea=[],this.Rc=this.fa=this.W=this.N=this.O=0,this.ma="void",this.put="VP8IoPutHook",this.ac="VP8IoSetupHook",this.bc="VP8IoTeardownHook",this.ha=this.Kb=0,this.data=[],this.hb=this.ib=this.da=this.o=this.j=this.va=this.v=this.Da=this.ob=this.w=0,this.F=[],this.J=0}function Ge(){var e=new Ve;return null!=e&&(e.a=0,e.sc="OK",e.cb=0,e.Xb=0,na||(na=Je)),e}function Xe(e,t,r){return 0==e.a&&(e.a=t,e.sc=r,e.cb=0),0}function Ye(e,t,r){return 3<=r&&157==e[t+0]&&1==e[t+1]&&42==e[t+2]}function Ke(e,r){if(null==e)return 0;if(e.a=0,e.sc="OK",null==r)return Xe(e,2,"null VP8Io passed to VP8GetHeaders()");var n=r.data,o=r.w,i=r.ha;if(4>i)return Xe(e,7,"Truncated header.");var s=n[o+0]|n[o+1]<<8|n[o+2]<<16,c=e.Od;if(c.Rb=!(1&s),c.td=s>>1&7,c.yd=s>>4&1,c.ub=s>>5,3<c.td)return Xe(e,3,"Incorrect keyframe parameters.");if(!c.yd)return Xe(e,4,"Frame not displayable.");o+=3,i-=3;var l=e.Kc;if(c.Rb){if(7>i)return Xe(e,7,"cannot parse picture header");if(!Ye(n,o,i))return Xe(e,3,"Bad code word");l.c=16383&(n[o+4]<<8|n[o+3]),l.Td=n[o+4]>>6,l.i=16383&(n[o+6]<<8|n[o+5]),l.Ud=n[o+6]>>6,o+=7,i-=7,e.za=l.c+15>>4,e.Ub=l.i+15>>4,r.width=l.c,r.height=l.i,r.Da=0,r.j=0,r.v=0,r.va=r.width,r.o=r.height,r.da=0,r.ib=r.width,r.hb=r.height,r.U=r.width,r.T=r.height,a((s=e.Pa).jb,0,255,s.jb.length),t(null!=(s=e.Qa)),s.Cb=0,s.Bb=0,s.Fb=1,a(s.Zb,0,0,s.Zb.length),a(s.Lb,0,0,s.Lb)}if(c.ub>i)return Xe(e,7,"bad partition length");p(s=e.m,n,o,c.ub),o+=c.ub,i-=c.ub,c.Rb&&(l.Ld=_(s),l.Kd=_(s)),l=e.Qa;var u,f=e.Pa;if(t(null!=s),t(null!=l),l.Cb=_(s),l.Cb){if(l.Bb=_(s),_(s)){for(l.Fb=_(s),u=0;4>u;++u)l.Zb[u]=_(s)?m(s,7):0;for(u=0;4>u;++u)l.Lb[u]=_(s)?m(s,6):0}if(l.Bb)for(u=0;3>u;++u)f.jb[u]=_(s)?g(s,8):255}else l.Bb=0;if(s.Ka)return Xe(e,3,"cannot parse segment header");if((l=e.ed).zd=_(s),l.Tb=g(s,6),l.wb=g(s,3),l.Pc=_(s),l.Pc&&_(s)){for(f=0;4>f;++f)_(s)&&(l.vd[f]=m(s,6));for(f=0;4>f;++f)_(s)&&(l.od[f]=m(s,6))}if(e.L=0==l.Tb?0:l.zd?1:2,s.Ka)return Xe(e,3,"cannot parse filter header");var h=i;if(i=u=o,o=u+h,l=h,e.Xb=(1<<g(e.m,2))-1,h<3*(f=e.Xb))n=7;else{for(u+=3*f,l-=3*f,h=0;h<f;++h){var d=n[i+0]|n[i+1]<<8|n[i+2]<<16;d>l&&(d=l),p(e.Jc[+h],n,u,d),u+=d,l-=d,i+=3}p(e.Jc[+f],n,u,l),n=u<o?0:5}if(0!=n)return Xe(e,n,"cannot parse partitions");for(n=g(u=e.m,7),i=_(u)?m(u,4):0,o=_(u)?m(u,4):0,l=_(u)?m(u,4):0,f=_(u)?m(u,4):0,u=_(u)?m(u,4):0,h=e.Qa,d=0;4>d;++d){if(h.Cb){var v=h.Zb[d];h.Fb||(v+=n)}else{if(0<d){e.pb[d]=e.pb[0];continue}v=n}var b=e.pb[d];b.Sc[0]=ta[qe(v+i,127)],b.Sc[1]=ra[qe(v+0,127)],b.Eb[0]=2*ta[qe(v+o,127)],b.Eb[1]=101581*ra[qe(v+l,127)]>>16,8>b.Eb[1]&&(b.Eb[1]=8),b.Qc[0]=ta[qe(v+f,117)],b.Qc[1]=ra[qe(v+u,127)],b.lc=v+u}if(!c.Rb)return Xe(e,4,"Not a key frame.");for(_(s),c=e.Pa,n=0;4>n;++n){for(i=0;8>i;++i)for(o=0;3>o;++o)for(l=0;11>l;++l)f=N(s,la[n][i][o][l])?g(s,8):sa[n][i][o][l],c.Wc[n][i].Yb[o][l]=f;for(i=0;17>i;++i)c.Xc[n][i]=c.Wc[n][ua[i]]}return e.kc=_(s),e.kc&&(e.Bd=g(s,8)),e.cb=1}function Je(e,t,r,n,a,o,i){var s=t[a].Yb[r];for(r=0;16>a;++a){if(!N(e,s[r+0]))return a;for(;!N(e,s[r+1]);)if(s=t[++a].Yb[0],r=0,16==a)return 16;var c=t[a+1].Yb;if(N(e,s[r+2])){var l=e,u=0;if(N(l,(h=s)[(f=r)+3]))if(N(l,h[f+6])){for(s=0,f=2*(u=N(l,h[f+8]))+(h=N(l,h[f+9+u])),u=0,h=aa[f];h[s];++s)u+=u+N(l,h[s]);u+=3+(8<<f)}else N(l,h[f+7])?(u=7+2*N(l,165),u+=N(l,145)):u=5+N(l,159);else u=N(l,h[f+4])?3+N(l,h[f+5]):2;s=c[2]}else u=1,s=c[1];c=i+oa[a],0>(l=e).b&&E(l);var f,h=l.b,d=(f=l.Ca>>1)-(l.I>>h)>>31;--l.b,l.Ca+=d,l.Ca|=1,l.I-=(f+1&d)<<h,o[c]=((u^d)-d)*n[(0<a)+0]}return 16}function Ze(e){var t=e.rb[e.sb-1];t.la=0,t.Na=0,a(e.zc,0,0,e.zc.length),e.ja=0}function Qe(e,r){if(null==e)return 0;if(null==r)return Xe(e,2,"NULL VP8Io parameter in VP8Decode().");if(!e.cb&&!Ke(e,r))return 0;if(t(e.cb),null==r.ac||r.ac(r)){r.ob&&(e.L=0);var s=Ba[e.L];if(2==e.L?(e.yb=0,e.zb=0):(e.yb=r.v-s>>4,e.zb=r.j-s>>4,0>e.yb&&(e.yb=0),0>e.zb&&(e.zb=0)),e.Va=r.o+15+s>>4,e.Hb=r.va+15+s>>4,e.Hb>e.za&&(e.Hb=e.za),e.Va>e.Ub&&(e.Va=e.Ub),0<e.L){var c=e.ed;for(s=0;4>s;++s){var l;if(e.Qa.Cb){var u=e.Qa.Lb[s];e.Qa.Fb||(u+=c.Tb)}else u=c.Tb;for(l=0;1>=l;++l){var f=e.gd[s][l],h=u;if(c.Pc&&(h+=c.vd[0],l&&(h+=c.od[0])),0<(h=0>h?0:63<h?63:h)){var d=h;0<c.wb&&(d=4<c.wb?d>>2:d>>1)>9-c.wb&&(d=9-c.wb),1>d&&(d=1),f.dd=d,f.tc=2*h+d,f.ld=40<=h?2:15<=h?1:0}else f.tc=0;f.La=l}}}s=0}else Xe(e,6,"Frame setup failed"),s=e.a;if(s=0==s){if(s){e.$c=0,0<e.Aa||(e.Ic=Ua);e:{s=e.Ic,c=4*(d=e.za);var p=32*d,g=d+1,m=0<e.L?d*(0<e.Aa?2:1):0,v=(2==e.Aa?2:1)*d;if((f=c+832+(l=3*(16*s+Ba[e.L])/2*p)+(u=null!=e.Fa&&0<e.Fa.length?e.Kc.c*e.Kc.i:0))!=f)s=0;else{if(f>e.Vb){if(e.Vb=0,e.Ec=o(f),e.Fc=0,null==e.Ec){s=Xe(e,1,"no memory during frame initialization.");break e}e.Vb=f}f=e.Ec,h=e.Fc,e.Ac=f,e.Bc=h,h+=c,e.Gd=i(p,ze),e.Hd=0,e.rb=i(g+1,Be),e.sb=1,e.wa=m?i(m,je):null,e.Y=0,e.D.Nb=0,e.D.wa=e.wa,e.D.Y=e.Y,0<e.Aa&&(e.D.Y+=d),t(!0),e.oc=f,e.pc=h,h+=832,e.ya=i(v,Ue),e.aa=0,e.D.ya=e.ya,e.D.aa=e.aa,2==e.Aa&&(e.D.aa+=d),e.R=16*d,e.B=8*d,d=(p=Ba[e.L])*e.R,p=p/2*e.B,e.sa=f,e.ta=h+d,e.qa=e.sa,e.ra=e.ta+16*s*e.R+p,e.Ha=e.qa,e.Ia=e.ra+8*s*e.B+p,e.$c=0,h+=l,e.mb=u?f:null,e.nb=u?h:null,t(h+u<=e.Fc+e.Vb),Ze(e),a(e.Ac,e.Bc,0,c),s=1}}if(s){if(r.ka=0,r.y=e.sa,r.O=e.ta,r.f=e.qa,r.N=e.ra,r.ea=e.Ha,r.Vd=e.Ia,r.fa=e.R,r.Rc=e.B,r.F=null,r.J=0,!Rn){for(s=-255;255>=s;++s)_n[255+s]=0>s?-s:s;for(s=-1020;1020>=s;++s)Nn[1020+s]=-128>s?-128:127<s?127:s;for(s=-112;112>=s;++s)Cn[112+s]=-16>s?-16:15<s?15:s;for(s=-255;510>=s;++s)On[255+s]=0>s?0:255<s?255:s;Rn=1}an=lt,on=ot,cn=it,ln=st,un=ct,sn=at,fn=Xt,hn=Yt,dn=Zt,pn=Qt,gn=Kt,mn=Jt,vn=er,bn=tr,yn=Ht,wn=zt,Sn=Vt,xn=qt,ha[0]=kt,ha[1]=ft,ha[2]=xt,ha[3]=At,ha[4]=Tt,ha[5]=_t,ha[6]=Et,ha[7]=Nt,ha[8]=Ot,ha[9]=Ct,fa[0]=vt,fa[1]=dt,fa[2]=pt,fa[3]=gt,fa[4]=bt,fa[5]=yt,fa[6]=wt,da[0]=It,da[1]=ht,da[2]=Rt,da[3]=Pt,da[4]=Dt,da[5]=Ft,da[6]=Mt,s=1}else s=0}s&&(s=function(e,r){for(e.M=0;e.M<e.Va;++e.M){var i,s=e.Jc[e.M&e.Xb],c=e.m,l=e;for(i=0;i<l.za;++i){var u=c,f=l,h=f.Ac,d=f.Bc+4*i,p=f.zc,g=f.ya[f.aa+i];if(f.Qa.Bb?g.$b=N(u,f.Pa.jb[0])?2+N(u,f.Pa.jb[2]):N(u,f.Pa.jb[1]):g.$b=0,f.kc&&(g.Ad=N(u,f.Bd)),g.Za=!N(u,145)+0,g.Za){var m=g.Ob,v=0;for(f=0;4>f;++f){var b,y=p[0+f];for(b=0;4>b;++b){y=ca[h[d+b]][y];for(var w=ia[N(u,y[0])];0<w;)w=ia[2*w+N(u,y[w])];y=-w,h[d+b]=y}n(m,v,h,d,4),v+=4,p[0+f]=y}}else y=N(u,156)?N(u,128)?1:3:N(u,163)?2:0,g.Ob[0]=y,a(h,d,y,4),a(p,0,y,4);g.Dd=N(u,142)?N(u,114)?N(u,183)?1:3:2:0}if(l.m.Ka)return Xe(e,7,"Premature end-of-partition0 encountered.");for(;e.ja<e.za;++e.ja){if(l=s,u=(c=e).rb[c.sb-1],h=c.rb[c.sb+c.ja],i=c.ya[c.aa+c.ja],d=c.kc?i.Ad:0)u.la=h.la=0,i.Za||(u.Na=h.Na=0),i.Hc=0,i.Gc=0,i.ia=0;else{var S,x;if(u=h,h=l,d=c.Pa.Xc,p=c.ya[c.aa+c.ja],g=c.pb[p.$b],f=p.ad,m=0,v=c.rb[c.sb-1],y=b=0,a(f,m,0,384),p.Za)var A=0,k=d[3];else{w=o(16);var T=u.Na+v.Na;if(T=na(h,d[1],T,g.Eb,0,w,0),u.Na=v.Na=(0<T)+0,1<T)an(w,0,f,m);else{var E=w[0]+3>>3;for(w=0;256>w;w+=16)f[m+w]=E}A=1,k=d[0]}var _=15&u.la,C=15&v.la;for(w=0;4>w;++w){var O=1&C;for(E=x=0;4>E;++E)_=_>>1|(O=(T=na(h,k,T=O+(1&_),g.Sc,A,f,m))>A)<<7,x=x<<2|(3<T?3:1<T?2:0!=f[m+0]),m+=16;_>>=4,C=C>>1|O<<7,b=(b<<8|x)>>>0}for(k=_,A=C>>4,S=0;4>S;S+=2){for(x=0,_=u.la>>4+S,C=v.la>>4+S,w=0;2>w;++w){for(O=1&C,E=0;2>E;++E)T=O+(1&_),_=_>>1|(O=0<(T=na(h,d[2],T,g.Qc,0,f,m)))<<3,x=x<<2|(3<T?3:1<T?2:0!=f[m+0]),m+=16;_>>=2,C=C>>1|O<<5}y|=x<<4*S,k|=_<<4<<S,A|=(240&C)<<S}u.la=k,v.la=A,p.Hc=b,p.Gc=y,p.ia=43690&y?0:g.ia,d=!(b|y)}if(0<c.L&&(c.wa[c.Y+c.ja]=c.gd[i.$b][i.Za],c.wa[c.Y+c.ja].La|=!d),l.Ka)return Xe(e,7,"Premature end-of-file encountered.")}if(Ze(e),c=r,l=1,i=(s=e).D,u=0<s.L&&s.M>=s.zb&&s.M<=s.Va,0==s.Aa)e:{if(i.M=s.M,i.uc=u,Lr(s,i),l=1,i=(x=s.D).Nb,u=(y=Ba[s.L])*s.R,h=y/2*s.B,w=16*i*s.R,E=8*i*s.B,d=s.sa,p=s.ta-u+w,g=s.qa,f=s.ra-h+E,m=s.Ha,v=s.Ia-h+E,C=0==(_=x.M),b=_>=s.Va-1,2==s.Aa&&Lr(s,x),x.uc)for(O=(T=s).D.M,t(T.D.uc),x=T.yb;x<T.Hb;++x){A=x,k=O;var R=(P=(U=T).D).Nb;S=U.R;var P=P.wa[P.Y+A],L=U.sa,I=U.ta+16*R*S+16*A,F=P.dd,D=P.tc;if(0!=D)if(t(3<=D),1==U.L)0<A&&wn(L,I,S,D+4),P.La&&xn(L,I,S,D),0<k&&yn(L,I,S,D+4),P.La&&Sn(L,I,S,D);else{var M=U.B,j=U.qa,B=U.ra+8*R*M+8*A,W=U.Ha,U=U.Ia+8*R*M+8*A;R=P.ld,0<A&&(hn(L,I,S,D+4,F,R),pn(j,B,W,U,M,D+4,F,R)),P.La&&(mn(L,I,S,D,F,R),bn(j,B,W,U,M,D,F,R)),0<k&&(fn(L,I,S,D+4,F,R),dn(j,B,W,U,M,D+4,F,R)),P.La&&(gn(L,I,S,D,F,R),vn(j,B,W,U,M,D,F,R))}}if(s.ia&&alert("todo:DitherRow"),null!=c.put){if(x=16*_,_=16*(_+1),C?(c.y=s.sa,c.O=s.ta+w,c.f=s.qa,c.N=s.ra+E,c.ea=s.Ha,c.W=s.Ia+E):(x-=y,c.y=d,c.O=p,c.f=g,c.N=f,c.ea=m,c.W=v),b||(_-=y),_>c.o&&(_=c.o),c.F=null,c.J=null,null!=s.Fa&&0<s.Fa.length&&x<_&&(c.J=fr(s,c,x,_-x),c.F=s.mb,null==c.F&&0==c.F.length)){l=Xe(s,3,"Could not decode alpha data.");break e}x<c.j&&(y=c.j-x,x=c.j,t(!(1&y)),c.O+=s.R*y,c.N+=s.B*(y>>1),c.W+=s.B*(y>>1),null!=c.F&&(c.J+=c.width*y)),x<_&&(c.O+=c.v,c.N+=c.v>>1,c.W+=c.v>>1,null!=c.F&&(c.J+=c.v),c.ka=x-c.j,c.U=c.va-c.v,c.T=_-x,l=c.put(c))}i+1!=s.Ic||b||(n(s.sa,s.ta-u,d,p+16*s.R,u),n(s.qa,s.ra-h,g,f+8*s.B,h),n(s.Ha,s.Ia-h,m,v+8*s.B,h))}if(!l)return Xe(e,6,"Output aborted.")}return 1}(e,r)),null!=r.bc&&r.bc(r),s&=1}return s?(e.cb=0,s):0}function et(e,t,r,n,a){a=e[t+r+32*n]+(a>>3),e[t+r+32*n]=-256&a?0>a?0:255:a}function tt(e,t,r,n,a,o){et(e,t,0,r,n+a),et(e,t,1,r,n+o),et(e,t,2,r,n-o),et(e,t,3,r,n-a)}function rt(e){return(20091*e>>16)+e}function nt(e,t,r,n){var a,i=0,s=o(16);for(a=0;4>a;++a){var c=e[t+0]+e[t+8],l=e[t+0]-e[t+8],u=(35468*e[t+4]>>16)-rt(e[t+12]),f=rt(e[t+4])+(35468*e[t+12]>>16);s[i+0]=c+f,s[i+1]=l+u,s[i+2]=l-u,s[i+3]=c-f,i+=4,t++}for(a=i=0;4>a;++a)c=(e=s[i+0]+4)+s[i+8],l=e-s[i+8],u=(35468*s[i+4]>>16)-rt(s[i+12]),et(r,n,0,0,c+(f=rt(s[i+4])+(35468*s[i+12]>>16))),et(r,n,1,0,l+u),et(r,n,2,0,l-u),et(r,n,3,0,c-f),i++,n+=32}function at(e,t,r,n){var a=e[t+0]+4,o=35468*e[t+4]>>16,i=rt(e[t+4]),s=35468*e[t+1]>>16;tt(r,n,0,a+i,e=rt(e[t+1]),s),tt(r,n,1,a+o,e,s),tt(r,n,2,a-o,e,s),tt(r,n,3,a-i,e,s)}function ot(e,t,r,n,a){nt(e,t,r,n),a&&nt(e,t+16,r,n+4)}function it(e,t,r,n){on(e,t+0,r,n,1),on(e,t+32,r,n+128,1)}function st(e,t,r,n){var a;for(e=e[t+0]+4,a=0;4>a;++a)for(t=0;4>t;++t)et(r,n,t,a,e)}function ct(e,t,r,n){e[t+0]&&ln(e,t+0,r,n),e[t+16]&&ln(e,t+16,r,n+4),e[t+32]&&ln(e,t+32,r,n+128),e[t+48]&&ln(e,t+48,r,n+128+4)}function lt(e,t,r,n){var a,i=o(16);for(a=0;4>a;++a){var s=e[t+0+a]+e[t+12+a],c=e[t+4+a]+e[t+8+a],l=e[t+4+a]-e[t+8+a],u=e[t+0+a]-e[t+12+a];i[0+a]=s+c,i[8+a]=s-c,i[4+a]=u+l,i[12+a]=u-l}for(a=0;4>a;++a)s=(e=i[0+4*a]+3)+i[3+4*a],c=i[1+4*a]+i[2+4*a],l=i[1+4*a]-i[2+4*a],u=e-i[3+4*a],r[n+0]=s+c>>3,r[n+16]=u+l>>3,r[n+32]=s-c>>3,r[n+48]=u-l>>3,n+=64}function ut(e,t,r){var n,a=t-32,o=In,i=255-e[a-1];for(n=0;n<r;++n){var s,c=o,l=i+e[t-1];for(s=0;s<r;++s)e[t+s]=c[l+e[a+s]];t+=32}}function ft(e,t){ut(e,t,4)}function ht(e,t){ut(e,t,8)}function dt(e,t){ut(e,t,16)}function pt(e,t){var r;for(r=0;16>r;++r)n(e,t+32*r,e,t-32,16)}function gt(e,t){var r;for(r=16;0<r;--r)a(e,t,e[t-1],16),t+=32}function mt(e,t,r){var n;for(n=0;16>n;++n)a(t,r+32*n,e,16)}function vt(e,t){var r,n=16;for(r=0;16>r;++r)n+=e[t-1+32*r]+e[t+r-32];mt(n>>5,e,t)}function bt(e,t){var r,n=8;for(r=0;16>r;++r)n+=e[t-1+32*r];mt(n>>4,e,t)}function yt(e,t){var r,n=8;for(r=0;16>r;++r)n+=e[t+r-32];mt(n>>4,e,t)}function wt(e,t){mt(128,e,t)}function St(e,t,r){return e+2*t+r+2>>2}function xt(e,t){var r,a=t-32;for(a=new Uint8Array([St(e[a-1],e[a+0],e[a+1]),St(e[a+0],e[a+1],e[a+2]),St(e[a+1],e[a+2],e[a+3]),St(e[a+2],e[a+3],e[a+4])]),r=0;4>r;++r)n(e,t+32*r,a,0,a.length)}function At(e,t){var r=e[t-1],n=e[t-1+32],a=e[t-1+64],o=e[t-1+96];C(e,t+0,16843009*St(e[t-1-32],r,n)),C(e,t+32,16843009*St(r,n,a)),C(e,t+64,16843009*St(n,a,o)),C(e,t+96,16843009*St(a,o,o))}function kt(e,t){var r,n=4;for(r=0;4>r;++r)n+=e[t+r-32]+e[t-1+32*r];for(n>>=3,r=0;4>r;++r)a(e,t+32*r,n,4)}function Tt(e,t){var r=e[t-1+0],n=e[t-1+32],a=e[t-1+64],o=e[t-1-32],i=e[t+0-32],s=e[t+1-32],c=e[t+2-32],l=e[t+3-32];e[t+0+96]=St(n,a,e[t-1+96]),e[t+1+96]=e[t+0+64]=St(r,n,a),e[t+2+96]=e[t+1+64]=e[t+0+32]=St(o,r,n),e[t+3+96]=e[t+2+64]=e[t+1+32]=e[t+0+0]=St(i,o,r),e[t+3+64]=e[t+2+32]=e[t+1+0]=St(s,i,o),e[t+3+32]=e[t+2+0]=St(c,s,i),e[t+3+0]=St(l,c,s)}function Et(e,t){var r=e[t+1-32],n=e[t+2-32],a=e[t+3-32],o=e[t+4-32],i=e[t+5-32],s=e[t+6-32],c=e[t+7-32];e[t+0+0]=St(e[t+0-32],r,n),e[t+1+0]=e[t+0+32]=St(r,n,a),e[t+2+0]=e[t+1+32]=e[t+0+64]=St(n,a,o),e[t+3+0]=e[t+2+32]=e[t+1+64]=e[t+0+96]=St(a,o,i),e[t+3+32]=e[t+2+64]=e[t+1+96]=St(o,i,s),e[t+3+64]=e[t+2+96]=St(i,s,c),e[t+3+96]=St(s,c,c)}function _t(e,t){var r=e[t-1+0],n=e[t-1+32],a=e[t-1+64],o=e[t-1-32],i=e[t+0-32],s=e[t+1-32],c=e[t+2-32],l=e[t+3-32];e[t+0+0]=e[t+1+64]=o+i+1>>1,e[t+1+0]=e[t+2+64]=i+s+1>>1,e[t+2+0]=e[t+3+64]=s+c+1>>1,e[t+3+0]=c+l+1>>1,e[t+0+96]=St(a,n,r),e[t+0+64]=St(n,r,o),e[t+0+32]=e[t+1+96]=St(r,o,i),e[t+1+32]=e[t+2+96]=St(o,i,s),e[t+2+32]=e[t+3+96]=St(i,s,c),e[t+3+32]=St(s,c,l)}function Nt(e,t){var r=e[t+0-32],n=e[t+1-32],a=e[t+2-32],o=e[t+3-32],i=e[t+4-32],s=e[t+5-32],c=e[t+6-32],l=e[t+7-32];e[t+0+0]=r+n+1>>1,e[t+1+0]=e[t+0+64]=n+a+1>>1,e[t+2+0]=e[t+1+64]=a+o+1>>1,e[t+3+0]=e[t+2+64]=o+i+1>>1,e[t+0+32]=St(r,n,a),e[t+1+32]=e[t+0+96]=St(n,a,o),e[t+2+32]=e[t+1+96]=St(a,o,i),e[t+3+32]=e[t+2+96]=St(o,i,s),e[t+3+64]=St(i,s,c),e[t+3+96]=St(s,c,l)}function Ct(e,t){var r=e[t-1+0],n=e[t-1+32],a=e[t-1+64],o=e[t-1+96];e[t+0+0]=r+n+1>>1,e[t+2+0]=e[t+0+32]=n+a+1>>1,e[t+2+32]=e[t+0+64]=a+o+1>>1,e[t+1+0]=St(r,n,a),e[t+3+0]=e[t+1+32]=St(n,a,o),e[t+3+32]=e[t+1+64]=St(a,o,o),e[t+3+64]=e[t+2+64]=e[t+0+96]=e[t+1+96]=e[t+2+96]=e[t+3+96]=o}function Ot(e,t){var r=e[t-1+0],n=e[t-1+32],a=e[t-1+64],o=e[t-1+96],i=e[t-1-32],s=e[t+0-32],c=e[t+1-32],l=e[t+2-32];e[t+0+0]=e[t+2+32]=r+i+1>>1,e[t+0+32]=e[t+2+64]=n+r+1>>1,e[t+0+64]=e[t+2+96]=a+n+1>>1,e[t+0+96]=o+a+1>>1,e[t+3+0]=St(s,c,l),e[t+2+0]=St(i,s,c),e[t+1+0]=e[t+3+32]=St(r,i,s),e[t+1+32]=e[t+3+64]=St(n,r,i),e[t+1+64]=e[t+3+96]=St(a,n,r),e[t+1+96]=St(o,a,n)}function Rt(e,t){var r;for(r=0;8>r;++r)n(e,t+32*r,e,t-32,8)}function Pt(e,t){var r;for(r=0;8>r;++r)a(e,t,e[t-1],8),t+=32}function Lt(e,t,r){var n;for(n=0;8>n;++n)a(t,r+32*n,e,8)}function It(e,t){var r,n=8;for(r=0;8>r;++r)n+=e[t+r-32]+e[t-1+32*r];Lt(n>>4,e,t)}function Ft(e,t){var r,n=4;for(r=0;8>r;++r)n+=e[t+r-32];Lt(n>>3,e,t)}function Dt(e,t){var r,n=4;for(r=0;8>r;++r)n+=e[t-1+32*r];Lt(n>>3,e,t)}function Mt(e,t){Lt(128,e,t)}function jt(e,t,r){var n=e[t-r],a=e[t+0],o=3*(a-n)+Pn[1020+e[t-2*r]-e[t+r]],i=Ln[112+(o+4>>3)];e[t-r]=In[255+n+Ln[112+(o+3>>3)]],e[t+0]=In[255+a-i]}function Bt(e,t,r,n){var a=e[t+0],o=e[t+r];return Fn[255+e[t-2*r]-e[t-r]]>n||Fn[255+o-a]>n}function Wt(e,t,r,n){return 4*Fn[255+e[t-r]-e[t+0]]+Fn[255+e[t-2*r]-e[t+r]]<=n}function Ut(e,t,r,n,a){var o=e[t-3*r],i=e[t-2*r],s=e[t-r],c=e[t+0],l=e[t+r],u=e[t+2*r],f=e[t+3*r];return 4*Fn[255+s-c]+Fn[255+i-l]>n?0:Fn[255+e[t-4*r]-o]<=a&&Fn[255+o-i]<=a&&Fn[255+i-s]<=a&&Fn[255+f-u]<=a&&Fn[255+u-l]<=a&&Fn[255+l-c]<=a}function Ht(e,t,r,n){var a=2*n+1;for(n=0;16>n;++n)Wt(e,t+n,r,a)&&jt(e,t+n,r)}function zt(e,t,r,n){var a=2*n+1;for(n=0;16>n;++n)Wt(e,t+n*r,1,a)&&jt(e,t+n*r,1)}function Vt(e,t,r,n){var a;for(a=3;0<a;--a)Ht(e,t+=4*r,r,n)}function qt(e,t,r,n){var a;for(a=3;0<a;--a)zt(e,t+=4,r,n)}function $t(e,t,r,n,a,o,i,s){for(o=2*o+1;0<a--;){if(Ut(e,t,r,o,i))if(Bt(e,t,r,s))jt(e,t,r);else{var c=e,l=t,u=r,f=c[l-2*u],h=c[l-u],d=c[l+0],p=c[l+u],g=c[l+2*u],m=27*(b=Pn[1020+3*(d-h)+Pn[1020+f-p]])+63>>7,v=18*b+63>>7,b=9*b+63>>7;c[l-3*u]=In[255+c[l-3*u]+b],c[l-2*u]=In[255+f+v],c[l-u]=In[255+h+m],c[l+0]=In[255+d-m],c[l+u]=In[255+p-v],c[l+2*u]=In[255+g-b]}t+=n}}function Gt(e,t,r,n,a,o,i,s){for(o=2*o+1;0<a--;){if(Ut(e,t,r,o,i))if(Bt(e,t,r,s))jt(e,t,r);else{var c=e,l=t,u=r,f=c[l-u],h=c[l+0],d=c[l+u],p=Ln[112+(4+(g=3*(h-f))>>3)],g=Ln[112+(g+3>>3)],m=p+1>>1;c[l-2*u]=In[255+c[l-2*u]+m],c[l-u]=In[255+f+g],c[l+0]=In[255+h-p],c[l+u]=In[255+d-m]}t+=n}}function Xt(e,t,r,n,a,o){$t(e,t,r,1,16,n,a,o)}function Yt(e,t,r,n,a,o){$t(e,t,1,r,16,n,a,o)}function Kt(e,t,r,n,a,o){var i;for(i=3;0<i;--i)Gt(e,t+=4*r,r,1,16,n,a,o)}function Jt(e,t,r,n,a,o){var i;for(i=3;0<i;--i)Gt(e,t+=4,1,r,16,n,a,o)}function Zt(e,t,r,n,a,o,i,s){$t(e,t,a,1,8,o,i,s),$t(r,n,a,1,8,o,i,s)}function Qt(e,t,r,n,a,o,i,s){$t(e,t,1,a,8,o,i,s),$t(r,n,1,a,8,o,i,s)}function er(e,t,r,n,a,o,i,s){Gt(e,t+4*a,a,1,8,o,i,s),Gt(r,n+4*a,a,1,8,o,i,s)}function tr(e,t,r,n,a,o,i,s){Gt(e,t+4,1,a,8,o,i,s),Gt(r,n+4,1,a,8,o,i,s)}function rr(){this.ba=new ie,this.ec=[],this.cc=[],this.Mc=[],this.Dc=this.Nc=this.dc=this.fc=0,this.Oa=new ce,this.memory=0,this.Ib="OutputFunc",this.Jb="OutputAlphaFunc",this.Nd="OutputRowFunc"}function nr(){this.data=[],this.offset=this.kd=this.ha=this.w=0,this.na=[],this.xa=this.gb=this.Ja=this.Sa=this.P=0}function ar(){this.nc=this.Ea=this.b=this.hc=0,this.K=[],this.w=0}function or(){this.ua=0,this.Wa=new F,this.vb=new F,this.md=this.xc=this.wc=0,this.vc=[],this.Wb=0,this.Ya=new d,this.yc=new f}function ir(){this.xb=this.a=0,this.l=new $e,this.ca=new ie,this.V=[],this.Ba=0,this.Ta=[],this.Ua=0,this.m=new S,this.Pb=0,this.wd=new S,this.Ma=this.$=this.C=this.i=this.c=this.xd=0,this.s=new or,this.ab=0,this.gc=i(4,ar),this.Oc=0}function sr(){this.Lc=this.Z=this.$a=this.i=this.c=0,this.l=new $e,this.ic=0,this.ca=[],this.tb=0,this.qd=null,this.rd=0}function cr(e,t,r,n,a,o,i){for(e=null==e?0:e[t+0],t=0;t<i;++t)a[o+t]=e+r[n+t]&255,e=a[o+t]}function lr(e,t,r,n,a,o,i){var s;if(null==e)cr(null,null,r,n,a,o,i);else for(s=0;s<i;++s)a[o+s]=e[t+s]+r[n+s]&255}function ur(e,t,r,n,a,o,i){if(null==e)cr(null,null,r,n,a,o,i);else{var s,c=e[t+0],l=c,u=c;for(s=0;s<i;++s)l=u+(c=e[t+s])-l,u=r[n+s]+(-256&l?0>l?0:255:l)&255,l=c,a[o+s]=u}}function fr(e,r,a,i){var s=r.width,c=r.o;if(t(null!=e&&null!=r),0>a||0>=i||a+i>c)return null;if(!e.Cc){if(null==e.ga){var l;if(e.ga=new sr,(l=null==e.ga)||(l=r.width*r.o,t(0==e.Gb.length),e.Gb=o(l),e.Uc=0,null==e.Gb?l=0:(e.mb=e.Gb,e.nb=e.Uc,e.rc=null,l=1),l=!l),!l){l=e.ga;var u=e.Fa,f=e.P,h=e.qc,d=e.mb,p=e.nb,g=f+1,m=h-1,b=l.l;if(t(null!=u&&null!=d&&null!=r),ma[0]=null,ma[1]=cr,ma[2]=lr,ma[3]=ur,l.ca=d,l.tb=p,l.c=r.width,l.i=r.height,t(0<l.c&&0<l.i),1>=h)r=0;else if(l.$a=u[f+0]>>0&3,l.Z=u[f+0]>>2&3,l.Lc=u[f+0]>>4&3,f=u[f+0]>>6&3,0>l.$a||1<l.$a||4<=l.Z||1<l.Lc||f)r=0;else if(b.put=de,b.ac=he,b.bc=pe,b.ma=l,b.width=r.width,b.height=r.height,b.Da=r.Da,b.v=r.v,b.va=r.va,b.j=r.j,b.o=r.o,l.$a)e:{t(1==l.$a),r=Ne();t:for(;;){if(null==r){r=0;break e}if(t(null!=l),l.mc=r,r.c=l.c,r.i=l.i,r.l=l.l,r.l.ma=l,r.l.width=l.c,r.l.height=l.i,r.a=0,v(r.m,u,g,m),!Ce(l.c,l.i,1,r,null))break t;if(1==r.ab&&3==r.gc[0].hc&&Ae(r.s)?(l.ic=1,u=r.c*r.i,r.Ta=null,r.Ua=0,r.V=o(u),r.Ba=0,null==r.V?(r.a=1,r=0):r=1):(l.ic=0,r=Oe(r,l.c)),!r)break t;r=1;break e}l.mc=null,r=0}else r=m>=l.c*l.i;l=!r}if(l)return null;1!=e.ga.Lc?e.Ga=0:i=c-a}t(null!=e.ga),t(a+i<=c);e:{if(r=(u=e.ga).c,c=u.l.o,0==u.$a){if(g=e.rc,m=e.Vc,b=e.Fa,f=e.P+1+a*r,h=e.mb,d=e.nb+a*r,t(f<=e.P+e.qc),0!=u.Z)for(t(null!=ma[u.Z]),l=0;l<i;++l)ma[u.Z](g,m,b,f,h,d,r),g=h,m=d,d+=r,f+=r;else for(l=0;l<i;++l)n(h,d,b,f,r),g=h,m=d,d+=r,f+=r;e.rc=g,e.Vc=m}else{if(t(null!=u.mc),r=a+i,t(null!=(l=u.mc)),t(r<=l.i),l.C>=r)r=1;else if(u.ic||mr(),u.ic){u=l.V,g=l.Ba,m=l.c;var y=l.i,w=(b=1,f=l.$/m,h=l.$%m,d=l.m,p=l.s,l.$),S=m*y,x=m*r,k=p.wc,E=w<x?we(p,h,f):null;t(w<=S),t(r<=y),t(Ae(p));t:for(;;){for(;!d.h&&w<x;){if(h&k||(E=we(p,h,f)),t(null!=E),T(d),256>(y=be(E.G[0],E.H[0],d)))u[g+w]=y,++w,++h>=m&&(h=0,++f<=r&&!(f%16)&&Te(l,f));else{if(!(280>y)){b=0;break t}y=me(y-256,d);var _,N=be(E.G[4],E.H[4],d);if(T(d),!(w>=(N=ve(m,N=me(N,d)))&&S-w>=y)){b=0;break t}for(_=0;_<y;++_)u[g+w+_]=u[g+w+_-N];for(w+=y,h+=y;h>=m;)h-=m,++f<=r&&!(f%16)&&Te(l,f);w<x&&h&k&&(E=we(p,h,f))}t(d.h==A(d))}Te(l,f>r?r:f);break t}!b||d.h&&w<S?(b=0,l.a=d.h?5:3):l.$=w,r=b}else r=Ee(l,l.V,l.Ba,l.c,l.i,r,Re);if(!r){i=0;break e}}a+i>=c&&(e.Cc=1),i=1}if(!i)return null;if(e.Cc&&(null!=(i=e.ga)&&(i.mc=null),e.ga=null,0<e.Ga))return alert("todo:WebPDequantizeLevels"),null}return e.nb+a*s}function hr(e,t,r,n,a,o){for(;0<a--;){var i,s=e,c=t+(r?1:0),l=e,u=t+(r?0:3);for(i=0;i<n;++i){var f=l[u+4*i];255!=f&&(f*=32897,s[c+4*i+0]=s[c+4*i+0]*f>>23,s[c+4*i+1]=s[c+4*i+1]*f>>23,s[c+4*i+2]=s[c+4*i+2]*f>>23)}t+=o}}function dr(e,t,r,n,a){for(;0<n--;){var o;for(o=0;o<r;++o){var i=e[t+2*o+0],s=15&(l=e[t+2*o+1]),c=4369*s,l=(240&l|l>>4)*c>>16;e[t+2*o+0]=(240&i|i>>4)*c>>16&240|(15&i|i<<4)*c>>16>>4&15,e[t+2*o+1]=240&l|s}t+=a}}function pr(e,t,r,n,a,o,i,s){var c,l,u=255;for(l=0;l<a;++l){for(c=0;c<n;++c){var f=e[t+c];o[i+4*c]=f,u&=f}t+=r,i+=s}return 255!=u}function gr(e,t,r,n,a){var o;for(o=0;o<a;++o)r[n+o]=e[t+o]>>8}function mr(){An=hr,kn=dr,Tn=pr,En=gr}function vr(r,n,a){e[r]=function(e,r,o,i,s,c,l,u,f,h,d,p,g,m,v,b,y){var w,S=y-1>>1,x=s[c+0]|l[u+0]<<16,A=f[h+0]|d[p+0]<<16;t(null!=e);var k=3*x+A+131074>>2;for(n(e[r+0],255&k,k>>16,g,m),null!=o&&(k=3*A+x+131074>>2,n(o[i+0],255&k,k>>16,v,b)),w=1;w<=S;++w){var T=s[c+w]|l[u+w]<<16,E=f[h+w]|d[p+w]<<16,_=x+T+A+E+524296,N=_+2*(T+A)>>3;k=N+x>>1,x=(_=_+2*(x+E)>>3)+T>>1,n(e[r+2*w-1],255&k,k>>16,g,m+(2*w-1)*a),n(e[r+2*w-0],255&x,x>>16,g,m+(2*w-0)*a),null!=o&&(k=_+A>>1,x=N+E>>1,n(o[i+2*w-1],255&k,k>>16,v,b+(2*w-1)*a),n(o[i+2*w+0],255&x,x>>16,v,b+(2*w+0)*a)),x=T,A=E}1&y||(k=3*x+A+131074>>2,n(e[r+y-1],255&k,k>>16,g,m+(y-1)*a),null!=o&&(k=3*A+x+131074>>2,n(o[i+y-1],255&k,k>>16,v,b+(y-1)*a)))}}function br(){va[Dn]=ba,va[Mn]=wa,va[jn]=ya,va[Bn]=Sa,va[Wn]=xa,va[Un]=Aa,va[Hn]=ka,va[zn]=wa,va[Vn]=Sa,va[qn]=xa,va[$n]=Aa}function yr(e){return e&~Oa?0>e?0:255:e>>Ca}function wr(e,t){return yr((19077*e>>8)+(26149*t>>8)-14234)}function Sr(e,t,r){return yr((19077*e>>8)-(6419*t>>8)-(13320*r>>8)+8708)}function xr(e,t){return yr((19077*e>>8)+(33050*t>>8)-17685)}function Ar(e,t,r,n,a){n[a+0]=wr(e,r),n[a+1]=Sr(e,t,r),n[a+2]=xr(e,t)}function kr(e,t,r,n,a){n[a+0]=xr(e,t),n[a+1]=Sr(e,t,r),n[a+2]=wr(e,r)}function Tr(e,t,r,n,a){var o=Sr(e,t,r);t=o<<3&224|xr(e,t)>>3,n[a+0]=248&wr(e,r)|o>>5,n[a+1]=t}function Er(e,t,r,n,a){var o=240&xr(e,t)|15;n[a+0]=240&wr(e,r)|Sr(e,t,r)>>4,n[a+1]=o}function _r(e,t,r,n,a){n[a+0]=255,Ar(e,t,r,n,a+1)}function Nr(e,t,r,n,a){kr(e,t,r,n,a),n[a+3]=255}function Cr(e,t,r,n,a){Ar(e,t,r,n,a),n[a+3]=255}function qe(e,t){return 0>e?0:e>t?t:e}function Or(t,r,n){e[t]=function(e,t,a,o,i,s,c,l,u){for(var f=l+(-2&u)*n;l!=f;)r(e[t+0],a[o+0],i[s+0],c,l),r(e[t+1],a[o+0],i[s+0],c,l+n),t+=2,++o,++s,l+=2*n;1&u&&r(e[t+0],a[o+0],i[s+0],c,l)}}function Rr(e,t,r){return 0==r?0==e?0==t?6:5:0==t?4:0:r}function Pr(e,t,r,n,a){switch(e>>>30){case 3:on(t,r,n,a,0);break;case 2:sn(t,r,n,a);break;case 1:ln(t,r,n,a)}}function Lr(e,t){var r,o,i=t.M,s=t.Nb,c=e.oc,l=e.pc+40,u=e.oc,f=e.pc+584,h=e.oc,d=e.pc+600;for(r=0;16>r;++r)c[l+32*r-1]=129;for(r=0;8>r;++r)u[f+32*r-1]=129,h[d+32*r-1]=129;for(0<i?c[l-1-32]=u[f-1-32]=h[d-1-32]=129:(a(c,l-32-1,127,21),a(u,f-32-1,127,9),a(h,d-32-1,127,9)),o=0;o<e.za;++o){var p=t.ya[t.aa+o];if(0<o){for(r=-1;16>r;++r)n(c,l+32*r-4,c,l+32*r+12,4);for(r=-1;8>r;++r)n(u,f+32*r-4,u,f+32*r+4,4),n(h,d+32*r-4,h,d+32*r+4,4)}var g=e.Gd,m=e.Hd+o,v=p.ad,b=p.Hc;if(0<i&&(n(c,l-32,g[m].y,0,16),n(u,f-32,g[m].f,0,8),n(h,d-32,g[m].ea,0,8)),p.Za){var y=c,w=l-32+16;for(0<i&&(o>=e.za-1?a(y,w,g[m].y[15],4):n(y,w,g[m+1].y,0,4)),r=0;4>r;r++)y[w+128+r]=y[w+256+r]=y[w+384+r]=y[w+0+r];for(r=0;16>r;++r,b<<=2)y=c,w=l+ja[r],ha[p.Ob[r]](y,w),Pr(b,v,16*+r,y,w)}else if(y=Rr(o,i,p.Ob[0]),fa[y](c,l),0!=b)for(r=0;16>r;++r,b<<=2)Pr(b,v,16*+r,c,l+ja[r]);for(r=p.Gc,y=Rr(o,i,p.Dd),da[y](u,f),da[y](h,d),b=v,y=u,w=f,255&(p=r>>0)&&(170&p?cn(b,256,y,w):un(b,256,y,w)),p=h,b=d,255&(r>>=8)&&(170&r?cn(v,320,p,b):un(v,320,p,b)),i<e.Ub-1&&(n(g[m].y,0,c,l+480,16),n(g[m].f,0,u,f+224,8),n(g[m].ea,0,h,d+224,8)),r=8*s*e.B,g=e.sa,m=e.ta+16*o+16*s*e.R,v=e.qa,p=e.ra+8*o+r,b=e.Ha,y=e.Ia+8*o+r,r=0;16>r;++r)n(g,m+r*e.R,c,l+32*r,16);for(r=0;8>r;++r)n(v,p+r*e.B,u,f+32*r,8),n(b,y+r*e.B,h,d+32*r,8)}}function Ir(e,n,a,o,i,s,c,l,u){var f=[0],h=[0],d=0,p=null!=u?u.kd:0,g=null!=u?u:new nr;if(null==e||12>a)return 7;g.data=e,g.w=n,g.ha=a,n=[n],a=[a],g.gb=[g.gb];e:{var m=n,b=a,y=g.gb;if(t(null!=e),t(null!=b),t(null!=y),y[0]=0,12<=b[0]&&!r(e,m[0],"RIFF")){if(r(e,m[0]+8,"WEBP")){y=3;break e}var w=P(e,m[0]+4);if(12>w||4294967286<w){y=3;break e}if(p&&w>b[0]-8){y=7;break e}y[0]=w,m[0]+=12,b[0]-=12}y=0}if(0!=y)return y;for(w=0<g.gb[0],a=a[0];;){e:{var x=e;b=n,y=a;var A=f,k=h,T=m=[0];if((N=d=[d])[0]=0,8>y[0])y=7;else{if(!r(x,b[0],"VP8X")){if(10!=P(x,b[0]+4)){y=3;break e}if(18>y[0]){y=7;break e}var E=P(x,b[0]+8),_=1+R(x,b[0]+12);if(2147483648<=_*(x=1+R(x,b[0]+15))){y=3;break e}null!=T&&(T[0]=E),null!=A&&(A[0]=_),null!=k&&(k[0]=x),b[0]+=18,y[0]-=18,N[0]=1}y=0}}if(d=d[0],m=m[0],0!=y)return y;if(b=!!(2&m),!w&&d)return 3;if(null!=s&&(s[0]=!!(16&m)),null!=c&&(c[0]=b),null!=l&&(l[0]=0),c=f[0],m=h[0],d&&b&&null==u){y=0;break}if(4>a){y=7;break}if(w&&d||!w&&!d&&!r(e,n[0],"ALPH")){a=[a],g.na=[g.na],g.P=[g.P],g.Sa=[g.Sa];e:{E=e,y=n,w=a;var N=g.gb;A=g.na,k=g.P,T=g.Sa,_=22,t(null!=E),t(null!=w),x=y[0];var C=w[0];for(t(null!=A),t(null!=T),A[0]=null,k[0]=null,T[0]=0;;){if(y[0]=x,w[0]=C,8>C){y=7;break e}var O=P(E,x+4);if(4294967286<O){y=3;break e}var L=8+O+1&-2;if(_+=L,0<N&&_>N){y=3;break e}if(!r(E,x,"VP8 ")||!r(E,x,"VP8L")){y=0;break e}if(C[0]<L){y=7;break e}r(E,x,"ALPH")||(A[0]=E,k[0]=x+8,T[0]=O),x+=L,C-=L}}if(a=a[0],g.na=g.na[0],g.P=g.P[0],g.Sa=g.Sa[0],0!=y)break}a=[a],g.Ja=[g.Ja],g.xa=[g.xa];e:if(N=e,y=n,w=a,A=g.gb[0],k=g.Ja,T=g.xa,E=y[0],x=!r(N,E,"VP8 "),_=!r(N,E,"VP8L"),t(null!=N),t(null!=w),t(null!=k),t(null!=T),8>w[0])y=7;else{if(x||_){if(N=P(N,E+4),12<=A&&N>A-12){y=3;break e}if(p&&N>w[0]-8){y=7;break e}k[0]=N,y[0]+=8,w[0]-=8,T[0]=_}else T[0]=5<=w[0]&&47==N[E+0]&&!(N[E+4]>>5),k[0]=w[0];y=0}if(a=a[0],g.Ja=g.Ja[0],g.xa=g.xa[0],n=n[0],0!=y)break;if(4294967286<g.Ja)return 3;if(null==l||b||(l[0]=g.xa?2:1),c=[c],m=[m],g.xa){if(5>a){y=7;break}l=c,p=m,b=s,null==e||5>a?e=0:5<=a&&47==e[n+0]&&!(e[n+4]>>5)?(w=[0],N=[0],A=[0],v(k=new S,e,n,a),ge(k,w,N,A)?(null!=l&&(l[0]=w[0]),null!=p&&(p[0]=N[0]),null!=b&&(b[0]=A[0]),e=1):e=0):e=0}else{if(10>a){y=7;break}l=m,null==e||10>a||!Ye(e,n+3,a-3)?e=0:(p=e[n+0]|e[n+1]<<8|e[n+2]<<16,b=16383&(e[n+7]<<8|e[n+6]),e=16383&(e[n+9]<<8|e[n+8]),1&p||3<(p>>1&7)||!(p>>4&1)||p>>5>=g.Ja||!b||!e?e=0:(c&&(c[0]=b),l&&(l[0]=e),e=1))}if(!e)return 3;if(c=c[0],m=m[0],d&&(f[0]!=c||h[0]!=m))return 3;null!=u&&(u[0]=g,u.offset=n-u.w,t(4294967286>n-u.w),t(u.offset==u.ha-a));break}return 0==y||7==y&&d&&null==u?(null!=s&&(s[0]|=null!=g.na&&0<g.na.length),null!=o&&(o[0]=c),null!=i&&(i[0]=m),0):y}function Fr(e,t,r){var n=t.width,a=t.height,o=0,i=0,s=n,c=a;if(t.Da=null!=e&&0<e.Da,t.Da&&(s=e.cd,c=e.bd,o=e.v,i=e.j,11>r||(o&=-2,i&=-2),0>o||0>i||0>=s||0>=c||o+s>n||i+c>a))return 0;if(t.v=o,t.j=i,t.va=o+s,t.o=i+c,t.U=s,t.T=c,t.da=null!=e&&0<e.da,t.da){if(!D(s,c,r=[e.ib],o=[e.hb]))return 0;t.ib=r[0],t.hb=o[0]}return t.ob=null!=e&&e.ob,t.Kb=null==e||!e.Sd,t.da&&(t.ob=t.ib<3*n/4&&t.hb<3*a/4,t.Kb=0),1}function Dr(e){if(null==e)return 2;if(11>e.S){var t=e.f.RGBA;t.fb+=(e.height-1)*t.A,t.A=-t.A}else t=e.f.kb,e=e.height,t.O+=(e-1)*t.fa,t.fa=-t.fa,t.N+=(e-1>>1)*t.Ab,t.Ab=-t.Ab,t.W+=(e-1>>1)*t.Db,t.Db=-t.Db,null!=t.F&&(t.J+=(e-1)*t.lb,t.lb=-t.lb);return 0}function Mr(e,t,r,n){if(null==n||0>=e||0>=t)return 2;if(null!=r){if(r.Da){var a=r.cd,i=r.bd,s=-2&r.v,c=-2&r.j;if(0>s||0>c||0>=a||0>=i||s+a>e||c+i>t)return 2;e=a,t=i}if(r.da){if(!D(e,t,a=[r.ib],i=[r.hb]))return 2;e=a[0],t=i[0]}}n.width=e,n.height=t;e:{var l=n.width,u=n.height;if(e=n.S,0>=l||0>=u||!(e>=Dn&&13>e))e=2;else{if(0>=n.Rd&&null==n.sd){s=i=a=t=0;var f=(c=l*Ha[e])*u;if(11>e||(i=(u+1)/2*(t=(l+1)/2),12==e&&(s=(a=l)*u)),null==(u=o(f+2*i+s))){e=1;break e}n.sd=u,11>e?((l=n.f.RGBA).eb=u,l.fb=0,l.A=c,l.size=f):((l=n.f.kb).y=u,l.O=0,l.fa=c,l.Fd=f,l.f=u,l.N=0+f,l.Ab=t,l.Cd=i,l.ea=u,l.W=0+f+i,l.Db=t,l.Ed=i,12==e&&(l.F=u,l.J=0+f+2*i),l.Tc=s,l.lb=a)}if(t=1,a=n.S,i=n.width,s=n.height,a>=Dn&&13>a)if(11>a)e=n.f.RGBA,t&=(c=Math.abs(e.A))*(s-1)+i<=e.size,t&=c>=i*Ha[a],t&=null!=e.eb;else{e=n.f.kb,c=(i+1)/2,f=(s+1)/2,l=Math.abs(e.fa),u=Math.abs(e.Ab);var h=Math.abs(e.Db),d=Math.abs(e.lb),p=d*(s-1)+i;t&=l*(s-1)+i<=e.Fd,t&=u*(f-1)+c<=e.Cd,t=(t&=h*(f-1)+c<=e.Ed)&l>=i&u>=c&h>=c,t&=null!=e.y,t&=null!=e.f,t&=null!=e.ea,12==a&&(t&=d>=i,t&=p<=e.Tc,t&=null!=e.F)}else t=0;e=t?0:2}}return 0!=e||null!=r&&r.fd&&(e=Dr(n)),e}var jr=64,Br=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535,131071,262143,524287,1048575,2097151,4194303,8388607,16777215],Wr=24,Ur=32,Hr=8,zr=[0,0,1,1,2,2,2,2,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7];B("Predictor0","PredictorAdd0"),e.Predictor0=function(){return 4278190080},e.Predictor1=function(e){return e},e.Predictor2=function(e,t,r){return t[r+0]},e.Predictor3=function(e,t,r){return t[r+1]},e.Predictor4=function(e,t,r){return t[r-1]},e.Predictor5=function(e,t,r){return U(U(e,t[r+1]),t[r+0])},e.Predictor6=function(e,t,r){return U(e,t[r-1])},e.Predictor7=function(e,t,r){return U(e,t[r+0])},e.Predictor8=function(e,t,r){return U(t[r-1],t[r+0])},e.Predictor9=function(e,t,r){return U(t[r+0],t[r+1])},e.Predictor10=function(e,t,r){return U(U(e,t[r-1]),U(t[r+0],t[r+1]))},e.Predictor11=function(e,t,r){var n=t[r+0];return 0>=V(n>>24&255,e>>24&255,(t=t[r-1])>>24&255)+V(n>>16&255,e>>16&255,t>>16&255)+V(n>>8&255,e>>8&255,t>>8&255)+V(255&n,255&e,255&t)?n:e},e.Predictor12=function(e,t,r){var n=t[r+0];return(H((e>>24&255)+(n>>24&255)-((t=t[r-1])>>24&255))<<24|H((e>>16&255)+(n>>16&255)-(t>>16&255))<<16|H((e>>8&255)+(n>>8&255)-(t>>8&255))<<8|H((255&e)+(255&n)-(255&t)))>>>0},e.Predictor13=function(e,t,r){var n=t[r-1];return(z((e=U(e,t[r+0]))>>24&255,n>>24&255)<<24|z(e>>16&255,n>>16&255)<<16|z(e>>8&255,n>>8&255)<<8|z(e>>0&255,n>>0&255))>>>0};var Vr=e.PredictorAdd0;e.PredictorAdd1=q,B("Predictor2","PredictorAdd2"),B("Predictor3","PredictorAdd3"),B("Predictor4","PredictorAdd4"),B("Predictor5","PredictorAdd5"),B("Predictor6","PredictorAdd6"),B("Predictor7","PredictorAdd7"),B("Predictor8","PredictorAdd8"),B("Predictor9","PredictorAdd9"),B("Predictor10","PredictorAdd10"),B("Predictor11","PredictorAdd11"),B("Predictor12","PredictorAdd12"),B("Predictor13","PredictorAdd13");var qr=e.PredictorAdd2;Y("ColorIndexInverseTransform","MapARGB","32b",(function(e){return e>>8&255}),(function(e){return e})),Y("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",(function(e){return e}),(function(e){return e>>8&255}));var $r,Gr=e.ColorIndexInverseTransform,Xr=e.MapARGB,Yr=e.VP8LColorIndexInverseTransformAlpha,Kr=e.MapAlpha,Jr=e.VP8LPredictorsAdd=[];Jr.length=16,(e.VP8LPredictors=[]).length=16,(e.VP8LPredictorsAdd_C=[]).length=16,(e.VP8LPredictors_C=[]).length=16;var Zr,Qr,en,tn,rn,nn,an,on,sn,cn,ln,un,fn,hn,dn,pn,gn,mn,vn,bn,yn,wn,Sn,xn,An,kn,Tn,En,_n=o(511),Nn=o(2041),Cn=o(225),On=o(767),Rn=0,Pn=Nn,Ln=Cn,In=On,Fn=_n,Dn=0,Mn=1,jn=2,Bn=3,Wn=4,Un=5,Hn=6,zn=7,Vn=8,qn=9,$n=10,Gn=[2,3,7],Xn=[3,3,11],Yn=[280,256,256,256,40],Kn=[0,1,1,1,0],Jn=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],Zn=[24,7,23,25,40,6,39,41,22,26,38,42,56,5,55,57,21,27,54,58,37,43,72,4,71,73,20,28,53,59,70,74,36,44,88,69,75,52,60,3,87,89,19,29,86,90,35,45,68,76,85,91,51,61,104,2,103,105,18,30,102,106,34,46,84,92,67,77,101,107,50,62,120,1,119,121,83,93,17,31,100,108,66,78,118,122,33,47,117,123,49,63,99,109,82,94,0,116,124,65,79,16,32,98,110,48,115,125,81,95,64,114,126,97,111,80,113,127,96,112],Qn=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],ea=8,ta=[4,5,6,7,8,9,10,10,11,12,13,14,15,16,17,17,18,19,20,20,21,21,22,22,23,23,24,25,25,26,27,28,29,30,31,32,33,34,35,36,37,37,38,39,40,41,42,43,44,45,46,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,76,77,78,79,80,81,82,83,84,85,86,87,88,89,91,93,95,96,98,100,101,102,104,106,108,110,112,114,116,118,122,124,126,128,130,132,134,136,138,140,143,145,148,151,154,157],ra=[4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,119,122,125,128,131,134,137,140,143,146,149,152,155,158,161,164,167,170,173,177,181,185,189,193,197,201,205,209,213,217,221,225,229,234,239,245,249,254,259,264,269,274,279,284],na=null,aa=[[173,148,140,0],[176,155,140,135,0],[180,157,141,134,130,0],[254,254,243,230,196,177,153,140,133,130,129,0]],oa=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],ia=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],sa=[[[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]],[[253,136,254,255,228,219,128,128,128,128,128],[189,129,242,255,227,213,255,219,128,128,128],[106,126,227,252,214,209,255,255,128,128,128]],[[1,98,248,255,236,226,255,255,128,128,128],[181,133,238,254,221,234,255,154,128,128,128],[78,134,202,247,198,180,255,219,128,128,128]],[[1,185,249,255,243,255,128,128,128,128,128],[184,150,247,255,236,224,128,128,128,128,128],[77,110,216,255,236,230,128,128,128,128,128]],[[1,101,251,255,241,255,128,128,128,128,128],[170,139,241,252,236,209,255,255,128,128,128],[37,116,196,243,228,255,255,255,128,128,128]],[[1,204,254,255,245,255,128,128,128,128,128],[207,160,250,255,238,128,128,128,128,128,128],[102,103,231,255,211,171,128,128,128,128,128]],[[1,152,252,255,240,255,128,128,128,128,128],[177,135,243,255,234,225,128,128,128,128,128],[80,129,211,255,194,224,128,128,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[246,1,255,128,128,128,128,128,128,128,128],[255,128,128,128,128,128,128,128,128,128,128]]],[[[198,35,237,223,193,187,162,160,145,155,62],[131,45,198,221,172,176,220,157,252,221,1],[68,47,146,208,149,167,221,162,255,223,128]],[[1,149,241,255,221,224,255,255,128,128,128],[184,141,234,253,222,220,255,199,128,128,128],[81,99,181,242,176,190,249,202,255,255,128]],[[1,129,232,253,214,197,242,196,255,255,128],[99,121,210,250,201,198,255,202,128,128,128],[23,91,163,242,170,187,247,210,255,255,128]],[[1,200,246,255,234,255,128,128,128,128,128],[109,178,241,255,231,245,255,255,128,128,128],[44,130,201,253,205,192,255,255,128,128,128]],[[1,132,239,251,219,209,255,165,128,128,128],[94,136,225,251,218,190,255,255,128,128,128],[22,100,174,245,186,161,255,199,128,128,128]],[[1,182,249,255,232,235,128,128,128,128,128],[124,143,241,255,227,234,128,128,128,128,128],[35,77,181,251,193,211,255,205,128,128,128]],[[1,157,247,255,236,231,255,255,128,128,128],[121,141,235,255,225,227,255,255,128,128,128],[45,99,188,251,195,217,255,224,128,128,128]],[[1,1,251,255,213,255,128,128,128,128,128],[203,1,248,255,255,128,128,128,128,128,128],[137,1,177,255,224,255,128,128,128,128,128]]],[[[253,9,248,251,207,208,255,192,128,128,128],[175,13,224,243,193,185,249,198,255,255,128],[73,17,171,221,161,179,236,167,255,234,128]],[[1,95,247,253,212,183,255,255,128,128,128],[239,90,244,250,211,209,255,255,128,128,128],[155,77,195,248,188,195,255,255,128,128,128]],[[1,24,239,251,218,219,255,205,128,128,128],[201,51,219,255,196,186,128,128,128,128,128],[69,46,190,239,201,218,255,228,128,128,128]],[[1,191,251,255,255,128,128,128,128,128,128],[223,165,249,255,213,255,128,128,128,128,128],[141,124,248,255,255,128,128,128,128,128,128]],[[1,16,248,255,255,128,128,128,128,128,128],[190,36,230,255,236,255,128,128,128,128,128],[149,1,255,128,128,128,128,128,128,128,128]],[[1,226,255,128,128,128,128,128,128,128,128],[247,192,255,128,128,128,128,128,128,128,128],[240,128,255,128,128,128,128,128,128,128,128]],[[1,134,252,255,255,128,128,128,128,128,128],[213,62,250,255,255,128,128,128,128,128,128],[55,93,255,128,128,128,128,128,128,128,128]],[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]]],[[[202,24,213,235,186,191,220,160,240,175,255],[126,38,182,232,169,184,228,174,255,187,128],[61,46,138,219,151,178,240,170,255,216,128]],[[1,112,230,250,199,191,247,159,255,255,128],[166,109,228,252,211,215,255,174,128,128,128],[39,77,162,232,172,180,245,178,255,255,128]],[[1,52,220,246,198,199,249,220,255,255,128],[124,74,191,243,183,193,250,221,255,255,128],[24,71,130,219,154,170,243,182,255,255,128]],[[1,182,225,249,219,240,255,224,128,128,128],[149,150,226,252,216,205,255,171,128,128,128],[28,108,170,242,183,194,254,223,255,255,128]],[[1,81,230,252,204,203,255,192,128,128,128],[123,102,209,247,188,196,255,233,128,128,128],[20,95,153,243,164,173,255,203,128,128,128]],[[1,222,248,255,216,213,128,128,128,128,128],[168,175,246,252,235,205,255,255,128,128,128],[47,116,215,255,211,212,255,255,128,128,128]],[[1,121,236,253,212,214,255,255,128,128,128],[141,84,213,252,201,202,255,219,128,128,128],[42,80,160,240,162,185,255,205,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[244,1,255,128,128,128,128,128,128,128,128],[238,1,255,128,128,128,128,128,128,128,128]]]],ca=[[[231,120,48,89,115,113,120,152,112],[152,179,64,126,170,118,46,70,95],[175,69,143,80,85,82,72,155,103],[56,58,10,171,218,189,17,13,152],[114,26,17,163,44,195,21,10,173],[121,24,80,195,26,62,44,64,85],[144,71,10,38,171,213,144,34,26],[170,46,55,19,136,160,33,206,71],[63,20,8,114,114,208,12,9,226],[81,40,11,96,182,84,29,16,36]],[[134,183,89,137,98,101,106,165,148],[72,187,100,130,157,111,32,75,80],[66,102,167,99,74,62,40,234,128],[41,53,9,178,241,141,26,8,107],[74,43,26,146,73,166,49,23,157],[65,38,105,160,51,52,31,115,128],[104,79,12,27,217,255,87,17,7],[87,68,71,44,114,51,15,186,23],[47,41,14,110,182,183,21,17,194],[66,45,25,102,197,189,23,18,22]],[[88,88,147,150,42,46,45,196,205],[43,97,183,117,85,38,35,179,61],[39,53,200,87,26,21,43,232,171],[56,34,51,104,114,102,29,93,77],[39,28,85,171,58,165,90,98,64],[34,22,116,206,23,34,43,166,73],[107,54,32,26,51,1,81,43,31],[68,25,106,22,64,171,36,225,114],[34,19,21,102,132,188,16,76,124],[62,18,78,95,85,57,50,48,51]],[[193,101,35,159,215,111,89,46,111],[60,148,31,172,219,228,21,18,111],[112,113,77,85,179,255,38,120,114],[40,42,1,196,245,209,10,25,109],[88,43,29,140,166,213,37,43,154],[61,63,30,155,67,45,68,1,209],[100,80,8,43,154,1,51,26,71],[142,78,78,16,255,128,34,197,171],[41,40,5,102,211,183,4,1,221],[51,50,17,168,209,192,23,25,82]],[[138,31,36,171,27,166,38,44,229],[67,87,58,169,82,115,26,59,179],[63,59,90,180,59,166,93,73,154],[40,40,21,116,143,209,34,39,175],[47,15,16,183,34,223,49,45,183],[46,17,33,183,6,98,15,32,183],[57,46,22,24,128,1,54,17,37],[65,32,73,115,28,128,23,128,205],[40,3,9,115,51,192,18,6,223],[87,37,9,115,59,77,64,21,47]],[[104,55,44,218,9,54,53,130,226],[64,90,70,205,40,41,23,26,57],[54,57,112,184,5,41,38,166,213],[30,34,26,133,152,116,10,32,134],[39,19,53,221,26,114,32,73,255],[31,9,65,234,2,15,1,118,73],[75,32,12,51,192,255,160,43,51],[88,31,35,67,102,85,55,186,85],[56,21,23,111,59,205,45,37,192],[55,38,70,124,73,102,1,34,98]],[[125,98,42,88,104,85,117,175,82],[95,84,53,89,128,100,113,101,45],[75,79,123,47,51,128,81,171,1],[57,17,5,71,102,57,53,41,49],[38,33,13,121,57,73,26,1,85],[41,10,67,138,77,110,90,47,114],[115,21,2,10,102,255,166,23,6],[101,29,16,10,85,128,101,196,26],[57,18,10,102,102,213,34,20,43],[117,20,15,36,163,128,68,1,26]],[[102,61,71,37,34,53,31,243,192],[69,60,71,38,73,119,28,222,37],[68,45,128,34,1,47,11,245,171],[62,17,19,70,146,85,55,62,70],[37,43,37,154,100,163,85,160,1],[63,9,92,136,28,64,32,201,85],[75,15,9,9,64,255,184,119,16],[86,6,28,5,64,255,25,248,1],[56,8,17,132,137,255,55,116,128],[58,15,20,82,135,57,26,121,40]],[[164,50,31,137,154,133,25,35,218],[51,103,44,131,131,123,31,6,158],[86,40,64,135,148,224,45,183,128],[22,26,17,131,240,154,14,1,209],[45,16,21,91,64,222,7,1,197],[56,21,39,155,60,138,23,102,213],[83,12,13,54,192,255,68,47,28],[85,26,85,85,128,128,32,146,171],[18,11,7,63,144,171,4,4,246],[35,27,10,146,174,171,12,26,128]],[[190,80,35,99,180,80,126,54,45],[85,126,47,87,176,51,41,20,32],[101,75,128,139,118,146,116,128,85],[56,41,15,176,236,85,37,9,62],[71,30,17,119,118,255,17,18,138],[101,38,60,138,55,70,43,26,142],[146,36,19,30,171,255,97,27,20],[138,45,61,62,219,1,81,188,64],[32,41,20,117,151,142,20,21,163],[112,19,12,61,195,128,48,4,24]]],la=[[[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[176,246,255,255,255,255,255,255,255,255,255],[223,241,252,255,255,255,255,255,255,255,255],[249,253,253,255,255,255,255,255,255,255,255]],[[255,244,252,255,255,255,255,255,255,255,255],[234,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255]],[[255,246,254,255,255,255,255,255,255,255,255],[239,253,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[251,255,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[251,254,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,254,253,255,254,255,255,255,255,255,255],[250,255,254,255,254,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[217,255,255,255,255,255,255,255,255,255,255],[225,252,241,253,255,255,254,255,255,255,255],[234,250,241,250,253,255,253,254,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[223,254,254,255,255,255,255,255,255,255,255],[238,253,254,254,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[249,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,255,255,255,255,255,255,255,255,255],[247,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[252,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[186,251,250,255,255,255,255,255,255,255,255],[234,251,244,254,255,255,255,255,255,255,255],[251,251,243,253,254,255,254,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[236,253,254,255,255,255,255,255,255,255,255],[251,253,253,254,254,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[254,254,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[254,254,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[248,255,255,255,255,255,255,255,255,255,255],[250,254,252,254,255,255,255,255,255,255,255],[248,254,249,253,255,255,255,255,255,255,255]],[[255,253,253,255,255,255,255,255,255,255,255],[246,253,253,255,255,255,255,255,255,255,255],[252,254,251,254,254,255,255,255,255,255,255]],[[255,254,252,255,255,255,255,255,255,255,255],[248,254,253,255,255,255,255,255,255,255,255],[253,255,254,254,255,255,255,255,255,255,255]],[[255,251,254,255,255,255,255,255,255,255,255],[245,251,254,255,255,255,255,255,255,255,255],[253,253,254,255,255,255,255,255,255,255,255]],[[255,251,253,255,255,255,255,255,255,255,255],[252,253,254,255,255,255,255,255,255,255,255],[255,254,255,255,255,255,255,255,255,255,255]],[[255,252,255,255,255,255,255,255,255,255,255],[249,255,254,255,255,255,255,255,255,255,255],[255,255,254,255,255,255,255,255,255,255,255]],[[255,255,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]]],ua=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],fa=[],ha=[],da=[],pa=1,ga=2,ma=[],va=[];vr("UpsampleRgbLinePair",Ar,3),vr("UpsampleBgrLinePair",kr,3),vr("UpsampleRgbaLinePair",Cr,4),vr("UpsampleBgraLinePair",Nr,4),vr("UpsampleArgbLinePair",_r,4),vr("UpsampleRgba4444LinePair",Er,2),vr("UpsampleRgb565LinePair",Tr,2);var ba=e.UpsampleRgbLinePair,ya=e.UpsampleBgrLinePair,wa=e.UpsampleRgbaLinePair,Sa=e.UpsampleBgraLinePair,xa=e.UpsampleArgbLinePair,Aa=e.UpsampleRgba4444LinePair,ka=e.UpsampleRgb565LinePair,Ta=16,Ea=1<<Ta-1,_a=-227,Na=482,Ca=6,Oa=(256<<Ca)-1,Ra=0,Pa=o(256),La=o(256),Ia=o(256),Fa=o(256),Da=o(Na-_a),Ma=o(Na-_a);Or("YuvToRgbRow",Ar,3),Or("YuvToBgrRow",kr,3),Or("YuvToRgbaRow",Cr,4),Or("YuvToBgraRow",Nr,4),Or("YuvToArgbRow",_r,4),Or("YuvToRgba4444Row",Er,2),Or("YuvToRgb565Row",Tr,2);var ja=[0,4,8,12,128,132,136,140,256,260,264,268,384,388,392,396],Ba=[0,2,8],Wa=[8,7,6,4,4,2,2,2,1,1,1,1],Ua=1;this.WebPDecodeRGBA=function(e,r,n,a,o){var i=Mn,s=new rr,c=new ie;s.ba=c,c.S=i,c.width=[c.width],c.height=[c.height];var l=c.width,u=c.height,f=new se;if(null==f||null==e)var h=2;else t(null!=f),h=Ir(e,r,n,f.width,f.height,f.Pd,f.Qd,f.format,null);if(0!=h?l=0:(null!=l&&(l[0]=f.width[0]),null!=u&&(u[0]=f.height[0]),l=1),l){c.width=c.width[0],c.height=c.height[0],null!=a&&(a[0]=c.width),null!=o&&(o[0]=c.height);e:{if(a=new $e,(o=new nr).data=e,o.w=r,o.ha=n,o.kd=1,r=[0],t(null!=o),(0==(e=Ir(o.data,o.w,o.ha,null,null,null,r,null,o))||7==e)&&r[0]&&(e=4),0==(r=e)){if(t(null!=s),a.data=o.data,a.w=o.w+o.offset,a.ha=o.ha-o.offset,a.put=de,a.ac=he,a.bc=pe,a.ma=s,o.xa){if(null==(e=Ne())){s=1;break e}if(function(e,r){var n=[0],a=[0],o=[0];t:for(;;){if(null==e)return 0;if(null==r)return e.a=2,0;if(e.l=r,e.a=0,v(e.m,r.data,r.w,r.ha),!ge(e.m,n,a,o)){e.a=3;break t}if(e.xb=ga,r.width=n[0],r.height=a[0],!Ce(n[0],a[0],1,e,null))break t;return 1}return t(0!=e.a),0}(e,a)){if(a=0==(r=Mr(a.width,a.height,s.Oa,s.ba))){t:{a=e;r:for(;;){if(null==a){a=0;break t}if(t(null!=a.s.yc),t(null!=a.s.Ya),t(0<a.s.Wb),t(null!=(n=a.l)),t(null!=(o=n.ma)),0!=a.xb){if(a.ca=o.ba,a.tb=o.tb,t(null!=a.ca),!Fr(o.Oa,n,Bn)){a.a=2;break r}if(!Oe(a,n.width))break r;if(n.da)break r;if((n.da||ne(a.ca.S))&&mr(),11>a.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),null!=a.ca.f.kb.F&&mr()),a.Pb&&0<a.s.ua&&null==a.s.vb.X&&!L(a.s.vb,a.s.Wa.Xa)){a.a=1;break r}a.xb=0}if(!Ee(a,a.V,a.Ba,a.c,a.i,n.o,xe))break r;o.Dc=a.Ma,a=1;break t}t(0!=a.a),a=0}a=!a}a&&(r=e.a)}else r=e.a}else{if(null==(e=new Ge)){s=1;break e}if(e.Fa=o.na,e.P=o.P,e.qc=o.Sa,Ke(e,a)){if(0==(r=Mr(a.width,a.height,s.Oa,s.ba))){if(e.Aa=0,n=s.Oa,t(null!=(o=e)),null!=n){if(0<(l=0>(l=n.Md)?0:100<l?255:255*l/100)){for(u=f=0;4>u;++u)12>(h=o.pb[u]).lc&&(h.ia=l*Wa[0>h.lc?0:h.lc]>>3),f|=h.ia;f&&(alert("todo:VP8InitRandom"),o.ia=1)}o.Ga=n.Id,100<o.Ga?o.Ga=100:0>o.Ga&&(o.Ga=0)}Qe(e,a)||(r=e.a)}}else r=e.a}0==r&&null!=s.Oa&&s.Oa.fd&&(r=Dr(s.ba))}s=r}i=0!=s?null:11>i?c.f.RGBA.eb:c.f.kb.y}else i=null;return i};var Ha=[3,4,3,4,4,2,2,4,4,4,2,1,1]});var f=[0],h=[0],d=[],p=new Ot,g=e,m=function(e,t){var r={},n=0,a=!1,o=0,i=0;if(r.frames=[],!function(e,t,r,n){for(var a=0;a<4;a++)if(e[t+a]!="RIFF".charCodeAt(a))return!0;return!1}(e,t)){var s,f;for(u(e,t+=4),t+=8;t<e.length;){var h=c(e,t),d=u(e,t+=4);t+=4;var p=d+(1&d);switch(h){case"VP8 ":case"VP8L":void 0===r.frames[n]&&(r.frames[n]={}),(v=r.frames[n]).src_off=a?i:t-8,v.src_size=o+d+8,n++,a&&(a=!1,o=0,i=0);break;case"VP8X":(v=r.header={}).feature_flags=e[t];var g=t+4;v.canvas_width=1+l(e,g),g+=3,v.canvas_height=1+l(e,g),g+=3;break;case"ALPH":a=!0,o=p+8,i=t-8;break;case"ANIM":(v=r.header).bgcolor=u(e,t),g=t+4,v.loop_count=(s=e)[(f=g)+0]<<0|s[f+1]<<8,g+=2;break;case"ANMF":var m,v;(v=r.frames[n]={}).offset_x=2*l(e,t),t+=3,v.offset_y=2*l(e,t),t+=3,v.width=1+l(e,t),t+=3,v.height=1+l(e,t),t+=3,v.duration=l(e,t),t+=3,m=e[t++],v.dispose=1&m,v.blend=m>>1&1}"ANMF"!=h&&(t+=p)}return r}}(g,0);m.response=g,m.rgbaoutput=!0,m.dataurl=!1;var v=m.header?m.header:null,b=m.frames?m.frames:null;if(v){v.loop_counter=v.loop_count,f=[v.canvas_height],h=[v.canvas_width];for(var y=0;y<b.length&&0!=b[y].blend;y++);}var w=b[0],S=p.WebPDecodeRGBA(g,w.src_off,w.src_size,h,f);w.rgba=S,w.imgwidth=h[0],w.imgheight=f[0];for(var x=0;x<h[0]*f[0]*4;x++)d[x]=S[x];return this.width=h,this.height=f,this.data=d,this}!function(e){var t=function(t,n,c,l){var u=4,f=o;switch(l){case e.image_compression.FAST:u=1,f=a;break;case e.image_compression.MEDIUM:u=6,f=i;break;case e.image_compression.SLOW:u=9,f=s}var h=yt(t=r(t,n,c,f),{level:u});return e.__addimage__.arrayBufferToBinaryString(h)},r=function(e,t,r,n){for(var a,o,i,s=e.length/t,c=new Uint8Array(e.length+s),f=l(),h=0;h<s;h+=1){if(i=h*t,a=e.subarray(i,i+t),n)c.set(n(a,r,o),i+h);else{for(var d,p=f.length,g=[];d<p;d+=1)g[d]=f[d](a,r,o);var m=u(g.concat());c.set(g[m],i+h)}o=a}return c},n=function(e){var t=Array.apply([],e);return t.unshift(0),t},a=function(e,t){var r,n=[],a=e.length;n[0]=1;for(var o=0;o<a;o+=1)r=e[o-t]||0,n[o+1]=e[o]-r+256&255;return n},o=function(e,t,r){var n,a=[],o=e.length;a[0]=2;for(var i=0;i<o;i+=1)n=r&&r[i]||0,a[i+1]=e[i]-n+256&255;return a},i=function(e,t,r){var n,a,o=[],i=e.length;o[0]=3;for(var s=0;s<i;s+=1)n=e[s-t]||0,a=r&&r[s]||0,o[s+1]=e[s]+256-(n+a>>>1)&255;return o},s=function(e,t,r){var n,a,o,i,s=[],l=e.length;s[0]=4;for(var u=0;u<l;u+=1)n=e[u-t]||0,a=r&&r[u]||0,o=r&&r[u-t]||0,i=c(n,a,o),s[u+1]=e[u]-i+256&255;return s},c=function(e,t,r){if(e===t&&t===r)return e;var n=Math.abs(t-r),a=Math.abs(e-r),o=Math.abs(e+t-r-r);return n<=a&&n<=o?e:a<=o?t:r},l=function(){return[n,a,o,i,s]},u=function(e){var t=e.map((function(e){return e.reduce((function(e,t){return e+Math.abs(t)}),0)}));return t.indexOf(Math.min.apply(null,t))};e.processPNG=function(r,n,a,o){var i,s,c,l,u,f,h,d,p,g,m,v,b,y,w,S=this.decode.FLATE_DECODE,x="";if(this.__addimage__.isArrayBuffer(r)&&(r=new Uint8Array(r)),this.__addimage__.isArrayBufferView(r)){if(r=(c=new Tt(r)).imgData,s=c.bits,i=c.colorSpace,u=c.colors,-1!==[4,6].indexOf(c.colorType)){if(8===c.bits){p=(d=32==c.pixelBitlength?new Uint32Array(c.decodePixels().buffer):16==c.pixelBitlength?new Uint16Array(c.decodePixels().buffer):new Uint8Array(c.decodePixels().buffer)).length,m=new Uint8Array(p*c.colors),g=new Uint8Array(p);var A,k=c.pixelBitlength-c.bits;for(y=0,w=0;y<p;y++){for(b=d[y],A=0;A<k;)m[w++]=b>>>A&255,A+=c.bits;g[y]=b>>>A&255}}if(16===c.bits){p=(d=new Uint32Array(c.decodePixels().buffer)).length,m=new Uint8Array(p*(32/c.pixelBitlength)*c.colors),g=new Uint8Array(p*(32/c.pixelBitlength)),v=c.colors>1,y=0,w=0;for(var T=0;y<p;)b=d[y++],m[w++]=b>>>0&255,v&&(m[w++]=b>>>16&255,b=d[y++],m[w++]=b>>>0&255),g[T++]=b>>>16&255;s=8}o!==e.image_compression.NONE?(r=t(m,c.width*c.colors,c.colors,o),h=t(g,c.width,1,o)):(r=m,h=g,S=void 0)}if(3===c.colorType&&(i=this.color_spaces.INDEXED,f=c.palette,c.transparency.indexed)){var E=c.transparency.indexed,_=0;for(y=0,p=E.length;y<p;++y)_+=E[y];if((_/=255)==p-1&&-1!==E.indexOf(0))l=[E.indexOf(0)];else if(_!==p){for(d=c.decodePixels(),g=new Uint8Array(d.length),y=0,p=d.length;y<p;y++)g[y]=E[d[y]];h=t(g,c.width,1)}}var N=function(t){var r;switch(t){case e.image_compression.FAST:r=11;break;case e.image_compression.MEDIUM:r=13;break;case e.image_compression.SLOW:r=14;break;default:r=12}return r}(o);return S===this.decode.FLATE_DECODE&&(x="/Predictor "+N+" "),x+="/Colors "+u+" /BitsPerComponent "+s+" /Columns "+c.width,(this.__addimage__.isArrayBuffer(r)||this.__addimage__.isArrayBufferView(r))&&(r=this.__addimage__.arrayBufferToBinaryString(r)),(h&&this.__addimage__.isArrayBuffer(h)||this.__addimage__.isArrayBufferView(h))&&(h=this.__addimage__.arrayBufferToBinaryString(h)),{alias:a,data:r,index:n,filter:S,decodeParameters:x,transparency:l,palette:f,sMask:h,predictor:N,width:c.width,height:c.height,bitsPerComponent:s,colorSpace:i}}}}(P.API),function(e){e.processGIF89A=function(t,r,n,a){var o=new Et(t),i=o.width,s=o.height,c=[];o.decodeAndBlitFrameRGBA(0,c);var l={data:c,width:i,height:s},u=new Nt(100).encode(l,100);return e.processJPEG.call(this,u,r,n,a)},e.processGIF87A=e.processGIF89A}(P.API),Ct.prototype.parseHeader=function(){if(this.fileSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.reserved=this.datav.getUint32(this.pos,!0),this.pos+=4,this.offset=this.datav.getUint32(this.pos,!0),this.pos+=4,this.headerSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.width=this.datav.getUint32(this.pos,!0),this.pos+=4,this.height=this.datav.getInt32(this.pos,!0),this.pos+=4,this.planes=this.datav.getUint16(this.pos,!0),this.pos+=2,this.bitPP=this.datav.getUint16(this.pos,!0),this.pos+=2,this.compress=this.datav.getUint32(this.pos,!0),this.pos+=4,this.rawSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.hr=this.datav.getUint32(this.pos,!0),this.pos+=4,this.vr=this.datav.getUint32(this.pos,!0),this.pos+=4,this.colors=this.datav.getUint32(this.pos,!0),this.pos+=4,this.importantColors=this.datav.getUint32(this.pos,!0),this.pos+=4,16===this.bitPP&&this.is_with_alpha&&(this.bitPP=15),this.bitPP<15){var e=0===this.colors?1<<this.bitPP:this.colors;this.palette=new Array(e);for(var t=0;t<e;t++){var r=this.datav.getUint8(this.pos++,!0),n=this.datav.getUint8(this.pos++,!0),a=this.datav.getUint8(this.pos++,!0),o=this.datav.getUint8(this.pos++,!0);this.palette[t]={red:a,green:n,blue:r,quad:o}}}this.height<0&&(this.height*=-1,this.bottom_up=!1)},Ct.prototype.parseBGR=function(){this.pos=this.offset;try{var e="bit"+this.bitPP,t=this.width*this.height*4;this.data=new Uint8Array(t),this[e]()}catch(e){n.log("bit decode error:"+e)}},Ct.prototype.bit1=function(){var e,t=Math.ceil(this.width/8),r=t%4;for(e=this.height-1;e>=0;e--){for(var n=this.bottom_up?e:this.height-1-e,a=0;a<t;a++)for(var o=this.datav.getUint8(this.pos++,!0),i=n*this.width*4+8*a*4,s=0;s<8&&8*a+s<this.width;s++){var c=this.palette[o>>7-s&1];this.data[i+4*s]=c.blue,this.data[i+4*s+1]=c.green,this.data[i+4*s+2]=c.red,this.data[i+4*s+3]=255}0!==r&&(this.pos+=4-r)}},Ct.prototype.bit4=function(){for(var e=Math.ceil(this.width/2),t=e%4,r=this.height-1;r>=0;r--){for(var n=this.bottom_up?r:this.height-1-r,a=0;a<e;a++){var o=this.datav.getUint8(this.pos++,!0),i=n*this.width*4+2*a*4,s=o>>4,c=15&o,l=this.palette[s];if(this.data[i]=l.blue,this.data[i+1]=l.green,this.data[i+2]=l.red,this.data[i+3]=255,2*a+1>=this.width)break;l=this.palette[c],this.data[i+4]=l.blue,this.data[i+4+1]=l.green,this.data[i+4+2]=l.red,this.data[i+4+3]=255}0!==t&&(this.pos+=4-t)}},Ct.prototype.bit8=function(){for(var e=this.width%4,t=this.height-1;t>=0;t--){for(var r=this.bottom_up?t:this.height-1-t,n=0;n<this.width;n++){var a=this.datav.getUint8(this.pos++,!0),o=r*this.width*4+4*n;if(a<this.palette.length){var i=this.palette[a];this.data[o]=i.red,this.data[o+1]=i.green,this.data[o+2]=i.blue,this.data[o+3]=255}else this.data[o]=255,this.data[o+1]=255,this.data[o+2]=255,this.data[o+3]=255}0!==e&&(this.pos+=4-e)}},Ct.prototype.bit15=function(){for(var e=this.width%3,t=parseInt("11111",2),r=this.height-1;r>=0;r--){for(var n=this.bottom_up?r:this.height-1-r,a=0;a<this.width;a++){var o=this.datav.getUint16(this.pos,!0);this.pos+=2;var i=(o&t)/t*255|0,s=(o>>5&t)/t*255|0,c=(o>>10&t)/t*255|0,l=o>>15?255:0,u=n*this.width*4+4*a;this.data[u]=c,this.data[u+1]=s,this.data[u+2]=i,this.data[u+3]=l}this.pos+=e}},Ct.prototype.bit16=function(){for(var e=this.width%3,t=parseInt("11111",2),r=parseInt("111111",2),n=this.height-1;n>=0;n--){for(var a=this.bottom_up?n:this.height-1-n,o=0;o<this.width;o++){var i=this.datav.getUint16(this.pos,!0);this.pos+=2;var s=(i&t)/t*255|0,c=(i>>5&r)/r*255|0,l=(i>>11)/t*255|0,u=a*this.width*4+4*o;this.data[u]=l,this.data[u+1]=c,this.data[u+2]=s,this.data[u+3]=255}this.pos+=e}},Ct.prototype.bit24=function(){for(var e=this.height-1;e>=0;e--){for(var t=this.bottom_up?e:this.height-1-e,r=0;r<this.width;r++){var n=this.datav.getUint8(this.pos++,!0),a=this.datav.getUint8(this.pos++,!0),o=this.datav.getUint8(this.pos++,!0),i=t*this.width*4+4*r;this.data[i]=o,this.data[i+1]=a,this.data[i+2]=n,this.data[i+3]=255}this.pos+=this.width%4}},Ct.prototype.bit32=function(){for(var e=this.height-1;e>=0;e--)for(var t=this.bottom_up?e:this.height-1-e,r=0;r<this.width;r++){var n=this.datav.getUint8(this.pos++,!0),a=this.datav.getUint8(this.pos++,!0),o=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0),s=t*this.width*4+4*r;this.data[s]=o,this.data[s+1]=a,this.data[s+2]=n,this.data[s+3]=i}},Ct.prototype.getData=function(){return this.data},function(e){e.processBMP=function(t,r,n,a){var o=new Ct(t,!1),i=o.width,s=o.height,c={data:o.getData(),width:i,height:s},l=new Nt(100).encode(c,100);return e.processJPEG.call(this,l,r,n,a)}}(P.API),Ot.prototype.getData=function(){return this.data},function(e){e.processWEBP=function(t,r,n,a){var o=new Ot(t,!1),i=o.width,s=o.height,c={data:o.getData(),width:i,height:s},l=new Nt(100).encode(c,100);return e.processJPEG.call(this,l,r,n,a)}}(P.API),function(e){e.setLanguage=function(e){return void 0===this.internal.languageSettings&&(this.internal.languageSettings={},this.internal.languageSettings.isSubscribed=!1),void 0!=={af:"Afrikaans",sq:"Albanian",ar:"Arabic (Standard)","ar-DZ":"Arabic (Algeria)","ar-BH":"Arabic (Bahrain)","ar-EG":"Arabic (Egypt)","ar-IQ":"Arabic (Iraq)","ar-JO":"Arabic (Jordan)","ar-KW":"Arabic (Kuwait)","ar-LB":"Arabic (Lebanon)","ar-LY":"Arabic (Libya)","ar-MA":"Arabic (Morocco)","ar-OM":"Arabic (Oman)","ar-QA":"Arabic (Qatar)","ar-SA":"Arabic (Saudi Arabia)","ar-SY":"Arabic (Syria)","ar-TN":"Arabic (Tunisia)","ar-AE":"Arabic (U.A.E.)","ar-YE":"Arabic (Yemen)",an:"Aragonese",hy:"Armenian",as:"Assamese",ast:"Asturian",az:"Azerbaijani",eu:"Basque",be:"Belarusian",bn:"Bengali",bs:"Bosnian",br:"Breton",bg:"Bulgarian",my:"Burmese",ca:"Catalan",ch:"Chamorro",ce:"Chechen",zh:"Chinese","zh-HK":"Chinese (Hong Kong)","zh-CN":"Chinese (PRC)","zh-SG":"Chinese (Singapore)","zh-TW":"Chinese (Taiwan)",cv:"Chuvash",co:"Corsican",cr:"Cree",hr:"Croatian",cs:"Czech",da:"Danish",nl:"Dutch (Standard)","nl-BE":"Dutch (Belgian)",en:"English","en-AU":"English (Australia)","en-BZ":"English (Belize)","en-CA":"English (Canada)","en-IE":"English (Ireland)","en-JM":"English (Jamaica)","en-NZ":"English (New Zealand)","en-PH":"English (Philippines)","en-ZA":"English (South Africa)","en-TT":"English (Trinidad & Tobago)","en-GB":"English (United Kingdom)","en-US":"English (United States)","en-ZW":"English (Zimbabwe)",eo:"Esperanto",et:"Estonian",fo:"Faeroese",fj:"Fijian",fi:"Finnish",fr:"French (Standard)","fr-BE":"French (Belgium)","fr-CA":"French (Canada)","fr-FR":"French (France)","fr-LU":"French (Luxembourg)","fr-MC":"French (Monaco)","fr-CH":"French (Switzerland)",fy:"Frisian",fur:"Friulian",gd:"Gaelic (Scots)","gd-IE":"Gaelic (Irish)",gl:"Galacian",ka:"Georgian",de:"German (Standard)","de-AT":"German (Austria)","de-DE":"German (Germany)","de-LI":"German (Liechtenstein)","de-LU":"German (Luxembourg)","de-CH":"German (Switzerland)",el:"Greek",gu:"Gujurati",ht:"Haitian",he:"Hebrew",hi:"Hindi",hu:"Hungarian",is:"Icelandic",id:"Indonesian",iu:"Inuktitut",ga:"Irish",it:"Italian (Standard)","it-CH":"Italian (Switzerland)",ja:"Japanese",kn:"Kannada",ks:"Kashmiri",kk:"Kazakh",km:"Khmer",ky:"Kirghiz",tlh:"Klingon",ko:"Korean","ko-KP":"Korean (North Korea)","ko-KR":"Korean (South Korea)",la:"Latin",lv:"Latvian",lt:"Lithuanian",lb:"Luxembourgish",mk:"FYRO Macedonian",ms:"Malay",ml:"Malayalam",mt:"Maltese",mi:"Maori",mr:"Marathi",mo:"Moldavian",nv:"Navajo",ng:"Ndonga",ne:"Nepali",no:"Norwegian",nb:"Norwegian (Bokmal)",nn:"Norwegian (Nynorsk)",oc:"Occitan",or:"Oriya",om:"Oromo",fa:"Persian","fa-IR":"Persian/Iran",pl:"Polish",pt:"Portuguese","pt-BR":"Portuguese (Brazil)",pa:"Punjabi","pa-IN":"Punjabi (India)","pa-PK":"Punjabi (Pakistan)",qu:"Quechua",rm:"Rhaeto-Romanic",ro:"Romanian","ro-MO":"Romanian (Moldavia)",ru:"Russian","ru-MO":"Russian (Moldavia)",sz:"Sami (Lappish)",sg:"Sango",sa:"Sanskrit",sc:"Sardinian",sd:"Sindhi",si:"Singhalese",sr:"Serbian",sk:"Slovak",sl:"Slovenian",so:"Somani",sb:"Sorbian",es:"Spanish","es-AR":"Spanish (Argentina)","es-BO":"Spanish (Bolivia)","es-CL":"Spanish (Chile)","es-CO":"Spanish (Colombia)","es-CR":"Spanish (Costa Rica)","es-DO":"Spanish (Dominican Republic)","es-EC":"Spanish (Ecuador)","es-SV":"Spanish (El Salvador)","es-GT":"Spanish (Guatemala)","es-HN":"Spanish (Honduras)","es-MX":"Spanish (Mexico)","es-NI":"Spanish (Nicaragua)","es-PA":"Spanish (Panama)","es-PY":"Spanish (Paraguay)","es-PE":"Spanish (Peru)","es-PR":"Spanish (Puerto Rico)","es-ES":"Spanish (Spain)","es-UY":"Spanish (Uruguay)","es-VE":"Spanish (Venezuela)",sx:"Sutu",sw:"Swahili",sv:"Swedish","sv-FI":"Swedish (Finland)","sv-SV":"Swedish (Sweden)",ta:"Tamil",tt:"Tatar",te:"Teluga",th:"Thai",tig:"Tigre",ts:"Tsonga",tn:"Tswana",tr:"Turkish",tk:"Turkmen",uk:"Ukrainian",hsb:"Upper Sorbian",ur:"Urdu",ve:"Venda",vi:"Vietnamese",vo:"Volapuk",wa:"Walloon",cy:"Welsh",xh:"Xhosa",ji:"Yiddish",zu:"Zulu"}[e]&&(this.internal.languageSettings.languageCode=e,!1===this.internal.languageSettings.isSubscribed&&(this.internal.events.subscribe("putCatalog",(function(){this.internal.write("/Lang ("+this.internal.languageSettings.languageCode+")")})),this.internal.languageSettings.isSubscribed=!0)),this}}(P.API),wt=P.API,St=wt.getCharWidthsArray=function(e,t){var r,n,a=(t=t||{}).font||this.internal.getFont(),o=t.fontSize||this.internal.getFontSize(),i=t.charSpace||this.internal.getCharSpace(),s=t.widths?t.widths:a.metadata.Unicode.widths,c=s.fof?s.fof:1,l=t.kerning?t.kerning:a.metadata.Unicode.kerning,u=l.fof?l.fof:1,f=!1!==t.doKerning,h=0,d=e.length,p=0,g=s[0]||c,m=[];for(r=0;r<d;r++)n=e.charCodeAt(r),"function"==typeof a.metadata.widthOfString?m.push((a.metadata.widthOfGlyph(a.metadata.characterToGlyph(n))+i*(1e3/o)||0)/1e3):(h=f&&"object"==typeof l[n]&&!isNaN(parseInt(l[n][p],10))?l[n][p]/u:0,m.push((s[n]||g)/c+h)),p=n;return m},xt=wt.getStringUnitWidth=function(e,t){var r=(t=t||{}).fontSize||this.internal.getFontSize(),n=t.font||this.internal.getFont(),a=t.charSpace||this.internal.getCharSpace();return wt.processArabic&&(e=wt.processArabic(e)),"function"==typeof n.metadata.widthOfString?n.metadata.widthOfString(e,r,a)/r:St.apply(this,arguments).reduce((function(e,t){return e+t}),0)},At=function(e,t,r,n){for(var a=[],o=0,i=e.length,s=0;o!==i&&s+t[o]<r;)s+=t[o],o++;a.push(e.slice(0,o));var c=o;for(s=0;o!==i;)s+t[o]>n&&(a.push(e.slice(c,o)),s=0,c=o),s+=t[o],o++;return c!==o&&a.push(e.slice(c,o)),a},kt=function(e,t,r){r||(r={});var n,a,o,i,s,c,l,u=[],f=[u],h=r.textIndent||0,d=0,p=0,g=e.split(" "),m=St.apply(this,[" ",r])[0];if(c=-1===r.lineIndent?g[0].length+2:r.lineIndent||0){var v=Array(c).join(" "),b=[];g.map((function(e){(e=e.split(/\s*\n/)).length>1?b=b.concat(e.map((function(e,t){return(t&&e.length?"\n":"")+e}))):b.push(e[0])})),g=b,c=xt.apply(this,[v,r])}for(o=0,i=g.length;o<i;o++){var y=0;if(n=g[o],c&&"\n"==n[0]&&(n=n.substr(1),y=1),h+d+(p=(a=St.apply(this,[n,r])).reduce((function(e,t){return e+t}),0))>t||y){if(p>t){for(s=At.apply(this,[n,a,t-(h+d),t]),u.push(s.shift()),u=[s.pop()];s.length;)f.push([s.shift()]);p=a.slice(n.length-(u[0]?u[0].length:0)).reduce((function(e,t){return e+t}),0)}else u=[n];f.push(u),h=p+c,d=m}else u.push(n),h+=d+p,d=m}return l=c?function(e,t){return(t?v:"")+e.join(" ")}:function(e){return e.join(" ")},f.map(l)},wt.splitTextToSize=function(e,t,r){var n,a=(r=r||{}).fontSize||this.internal.getFontSize(),o=function(e){if(e.widths&&e.kerning)return{widths:e.widths,kerning:e.kerning};var t=this.internal.getFont(e.fontName,e.fontStyle);return t.metadata.Unicode?{widths:t.metadata.Unicode.widths||{0:1},kerning:t.metadata.Unicode.kerning||{}}:{font:t.metadata,fontSize:this.internal.getFontSize(),charSpace:this.internal.getCharSpace()}}.call(this,r);n=Array.isArray(e)?e:String(e).split(/\r?\n/);var i=1*this.internal.scaleFactor*t/a;o.textIndent=r.textIndent?1*r.textIndent*this.internal.scaleFactor/a:0,o.lineIndent=r.lineIndent;var s,c,l=[];for(s=0,c=n.length;s<c;s++)l=l.concat(kt.apply(this,[n[s],i,o]));return l},function(e){e.__fontmetrics__=e.__fontmetrics__||{};for(var t="klmnopqrstuvwxyz",r={},n={},a=0;a<16;a++)r[t[a]]="0123456789abcdef"[a],n["0123456789abcdef"[a]]=t[a];var o=function(e){return"0x"+parseInt(e,10).toString(16)},i=e.__fontmetrics__.compress=function(e){var t,r,a,s,c=["{"];for(var l in e){if(t=e[l],isNaN(parseInt(l,10))?r="'"+l+"'":(l=parseInt(l,10),r=(r=o(l).slice(2)).slice(0,-1)+n[r.slice(-1)]),"number"==typeof t)t<0?(a=o(t).slice(3),s="-"):(a=o(t).slice(2),s=""),a=s+a.slice(0,-1)+n[a.slice(-1)];else{if("object"!=typeof t)throw new Error("Don't know what to do with value type "+typeof t+".");a=i(t)}c.push(r+a)}return c.push("}"),c.join("")},s=e.__fontmetrics__.uncompress=function(e){if("string"!=typeof e)throw new Error("Invalid argument passed to uncompress.");for(var t,n,a,o,i={},s=1,c=i,l=[],u="",f="",h=e.length-1,d=1;d<h;d+=1)"'"==(o=e[d])?t?(a=t.join(""),t=void 0):t=[]:t?t.push(o):"{"==o?(l.push([c,a]),c={},a=void 0):"}"==o?((n=l.pop())[0][n[1]]=c,a=void 0,c=n[0]):"-"==o?s=-1:void 0===a?r.hasOwnProperty(o)?(u+=r[o],a=parseInt(u,16)*s,s=1,u=""):u+=o:r.hasOwnProperty(o)?(f+=r[o],c[a]=parseInt(f,16)*s,s=1,a=void 0,f=""):f+=o;return i},c={codePages:["WinAnsiEncoding"],WinAnsiEncoding:s("{19m8n201n9q201o9r201s9l201t9m201u8m201w9n201x9o201y8o202k8q202l8r202m9p202q8p20aw8k203k8t203t8v203u9v2cq8s212m9t15m8w15n9w2dw9s16k8u16l9u17s9z17x8y17y9y}")},l={Unicode:{Courier:c,"Courier-Bold":c,"Courier-BoldOblique":c,"Courier-Oblique":c,Helvetica:c,"Helvetica-Bold":c,"Helvetica-BoldOblique":c,"Helvetica-Oblique":c,"Times-Roman":c,"Times-Bold":c,"Times-BoldItalic":c,"Times-Italic":c}},u={Unicode:{"Courier-Oblique":s("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-BoldItalic":s("{'widths'{k3o2q4ycx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2r202m2n2n3m2o3m2p5n202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5n4l4m4m4m4n4m4o4s4p4m4q4m4r4s4s4y4t2r4u3m4v4m4w3x4x5t4y4s4z4s5k3x5l4s5m4m5n3r5o3x5p4s5q4m5r5t5s4m5t3x5u3x5v2l5w1w5x2l5y3t5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q2l6r3m6s3r6t1w6u1w6v3m6w1w6x4y6y3r6z3m7k3m7l3m7m2r7n2r7o1w7p3r7q2w7r4m7s3m7t2w7u2r7v2n7w1q7x2n7y3t202l3mcl4mal2ram3man3mao3map3mar3mas2lat4uau1uav3maw3way4uaz2lbk2sbl3t'fof'6obo2lbp3tbq3mbr1tbs2lbu1ybv3mbz3mck4m202k3mcm4mcn4mco4mcp4mcq5ycr4mcs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz2w203k6o212m6o2dw2l2cq2l3t3m3u2l17s3x19m3m}'kerning'{cl{4qu5kt5qt5rs17ss5ts}201s{201ss}201t{cks4lscmscnscoscpscls2wu2yu201ts}201x{2wu2yu}2k{201ts}2w{4qx5kx5ou5qx5rs17su5tu}2x{17su5tu5ou}2y{4qx5kx5ou5qx5rs17ss5ts}'fof'-6ofn{17sw5tw5ou5qw5rs}7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qs}3v{17su5tu5os5qs}7p{17su5tu}ck{4qu5kt5qt5rs17ss5ts}4l{4qu5kt5qt5rs17ss5ts}cm{4qu5kt5qt5rs17ss5ts}cn{4qu5kt5qt5rs17ss5ts}co{4qu5kt5qt5rs17ss5ts}cp{4qu5kt5qt5rs17ss5ts}6l{4qu5ou5qw5rt17su5tu}5q{ckuclucmucnucoucpu4lu}5r{ckuclucmucnucoucpu4lu}7q{cksclscmscnscoscps4ls}6p{4qu5ou5qw5rt17sw5tw}ek{4qu5ou5qw5rt17su5tu}el{4qu5ou5qw5rt17su5tu}em{4qu5ou5qw5rt17su5tu}en{4qu5ou5qw5rt17su5tu}eo{4qu5ou5qw5rt17su5tu}ep{4qu5ou5qw5rt17su5tu}es{17ss5ts5qs4qu}et{4qu5ou5qw5rt17sw5tw}eu{4qu5ou5qw5rt17ss5ts}ev{17ss5ts5qs4qu}6z{17sw5tw5ou5qw5rs}fm{17sw5tw5ou5qw5rs}7n{201ts}fo{17sw5tw5ou5qw5rs}fp{17sw5tw5ou5qw5rs}fq{17sw5tw5ou5qw5rs}7r{cksclscmscnscoscps4ls}fs{17sw5tw5ou5qw5rs}ft{17su5tu}fu{17su5tu}fv{17su5tu}fw{17su5tu}fz{cksclscmscnscoscps4ls}}}"),"Helvetica-Bold":s("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"),Courier:s("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-BoldOblique":s("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Bold":s("{'widths'{k3q2q5ncx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2l202m2n2n3m2o3m2p6o202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5x4l4s4m4m4n4s4o4s4p4m4q3x4r4y4s4y4t2r4u3m4v4y4w4m4x5y4y4s4z4y5k3x5l4y5m4s5n3r5o4m5p4s5q4s5r6o5s4s5t4s5u4m5v2l5w1w5x2l5y3u5z3m6k2l6l3m6m3r6n2w6o3r6p2w6q2l6r3m6s3r6t1w6u2l6v3r6w1w6x5n6y3r6z3m7k3r7l3r7m2w7n2r7o2l7p3r7q3m7r4s7s3m7t3m7u2w7v2r7w1q7x2r7y3o202l3mcl4sal2lam3man3mao3map3mar3mas2lat4uau1yav3maw3tay4uaz2lbk2sbl3t'fof'6obo2lbp3rbr1tbs2lbu2lbv3mbz3mck4s202k3mcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3rek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3m3u2l17s4s19m3m}'kerning'{cl{4qt5ks5ot5qy5rw17sv5tv}201t{cks4lscmscnscoscpscls4wv}2k{201ts}2w{4qu5ku7mu5os5qx5ru17su5tu}2x{17su5tu5ou5qs}2y{4qv5kv7mu5ot5qz5ru17su5tu}'fof'-6o7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qu}3v{17su5tu5os5qu}fu{17su5tu5ou5qu}7p{17su5tu5ou5qu}ck{4qt5ks5ot5qy5rw17sv5tv}4l{4qt5ks5ot5qy5rw17sv5tv}cm{4qt5ks5ot5qy5rw17sv5tv}cn{4qt5ks5ot5qy5rw17sv5tv}co{4qt5ks5ot5qy5rw17sv5tv}cp{4qt5ks5ot5qy5rw17sv5tv}6l{17st5tt5ou5qu}17s{ckuclucmucnucoucpu4lu4wu}5o{ckuclucmucnucoucpu4lu4wu}5q{ckzclzcmzcnzcozcpz4lz4wu}5r{ckxclxcmxcnxcoxcpx4lx4wu}5t{ckuclucmucnucoucpu4lu4wu}7q{ckuclucmucnucoucpu4lu}6p{17sw5tw5ou5qu}ek{17st5tt5qu}el{17st5tt5ou5qu}em{17st5tt5qu}en{17st5tt5qu}eo{17st5tt5qu}ep{17st5tt5ou5qu}es{17ss5ts5qu}et{17sw5tw5ou5qu}eu{17sw5tw5ou5qu}ev{17ss5ts5qu}6z{17sw5tw5ou5qu5rs}fm{17sw5tw5ou5qu5rs}fn{17sw5tw5ou5qu5rs}fo{17sw5tw5ou5qu5rs}fp{17sw5tw5ou5qu5rs}fq{17sw5tw5ou5qu5rs}7r{cktcltcmtcntcotcpt4lt5os}fs{17sw5tw5ou5qu5rs}ft{17su5tu5ou5qu}7m{5os}fv{17su5tu5ou5qu}fw{17su5tu5ou5qu}fz{cksclscmscnscoscps4ls}}}"),Symbol:s("{'widths'{k3uaw4r19m3m2k1t2l2l202m2y2n3m2p5n202q6o3k3m2s2l2t2l2v3r2w1t3m3m2y1t2z1wbk2sbl3r'fof'6o3n3m3o3m3p3m3q3m3r3m3s3m3t3m3u1w3v1w3w3r3x3r3y3r3z2wbp3t3l3m5v2l5x2l5z3m2q4yfr3r7v3k7w1o7x3k}'kerning'{'fof'-6o}}"),Helvetica:s("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}"),"Helvetica-BoldOblique":s("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"),ZapfDingbats:s("{'widths'{k4u2k1w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-Bold":s("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Italic":s("{'widths'{k3n2q4ycx2l201n3m201o5t201s2l201t2l201u2l201w3r201x3r201y3r2k1t2l2l202m2n2n3m2o3m2p5n202q5t2r1p2s2l2t2l2u3m2v4n2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w4n3x4n3y4n3z3m4k5w4l3x4m3x4n4m4o4s4p3x4q3x4r4s4s4s4t2l4u2w4v4m4w3r4x5n4y4m4z4s5k3x5l4s5m3x5n3m5o3r5p4s5q3x5r5n5s3x5t3r5u3r5v2r5w1w5x2r5y2u5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q1w6r3m6s3m6t1w6u1w6v2w6w1w6x4s6y3m6z3m7k3m7l3m7m2r7n2r7o1w7p3m7q2w7r4m7s2w7t2w7u2r7v2s7w1v7x2s7y3q202l3mcl3xal2ram3man3mao3map3mar3mas2lat4wau1vav3maw4nay4waz2lbk2sbl4n'fof'6obo2lbp3mbq3obr1tbs2lbu1zbv3mbz3mck3x202k3mcm3xcn3xco3xcp3xcq5tcr4mcs3xct3xcu3xcv3xcw2l2m2ucy2lcz2ldl4mdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr4nfs3mft3mfu3mfv3mfw3mfz2w203k6o212m6m2dw2l2cq2l3t3m3u2l17s3r19m3m}'kerning'{cl{5kt4qw}201s{201sw}201t{201tw2wy2yy6q-t}201x{2wy2yy}2k{201tw}2w{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}2x{17ss5ts5os}2y{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}'fof'-6o6t{17ss5ts5qs}7t{5os}3v{5qs}7p{17su5tu5qs}ck{5kt4qw}4l{5kt4qw}cm{5kt4qw}cn{5kt4qw}co{5kt4qw}cp{5kt4qw}6l{4qs5ks5ou5qw5ru17su5tu}17s{2ks}5q{ckvclvcmvcnvcovcpv4lv}5r{ckuclucmucnucoucpu4lu}5t{2ks}6p{4qs5ks5ou5qw5ru17su5tu}ek{4qs5ks5ou5qw5ru17su5tu}el{4qs5ks5ou5qw5ru17su5tu}em{4qs5ks5ou5qw5ru17su5tu}en{4qs5ks5ou5qw5ru17su5tu}eo{4qs5ks5ou5qw5ru17su5tu}ep{4qs5ks5ou5qw5ru17su5tu}es{5ks5qs4qs}et{4qs5ks5ou5qw5ru17su5tu}eu{4qs5ks5qw5ru17su5tu}ev{5ks5qs4qs}ex{17ss5ts5qs}6z{4qv5ks5ou5qw5ru17su5tu}fm{4qv5ks5ou5qw5ru17su5tu}fn{4qv5ks5ou5qw5ru17su5tu}fo{4qv5ks5ou5qw5ru17su5tu}fp{4qv5ks5ou5qw5ru17su5tu}fq{4qv5ks5ou5qw5ru17su5tu}7r{5os}fs{4qv5ks5ou5qw5ru17su5tu}ft{17su5tu5qs}fu{17su5tu5qs}fv{17su5tu5qs}fw{17su5tu5qs}}}"),"Times-Roman":s("{'widths'{k3n2q4ycx2l201n3m201o6o201s2l201t2l201u2l201w2w201x2w201y2w2k1t2l2l202m2n2n3m2o3m2p5n202q6o2r1m2s2l2t2l2u3m2v3s2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v1w3w3s3x3s3y3s3z2w4k5w4l4s4m4m4n4m4o4s4p3x4q3r4r4s4s4s4t2l4u2r4v4s4w3x4x5t4y4s4z4s5k3r5l4s5m4m5n3r5o3x5p4s5q4s5r5y5s4s5t4s5u3x5v2l5w1w5x2l5y2z5z3m6k2l6l2w6m3m6n2w6o3m6p2w6q2l6r3m6s3m6t1w6u1w6v3m6w1w6x4y6y3m6z3m7k3m7l3m7m2l7n2r7o1w7p3m7q3m7r4s7s3m7t3m7u2w7v3k7w1o7x3k7y3q202l3mcl4sal2lam3man3mao3map3mar3mas2lat4wau1vav3maw3say4waz2lbk2sbl3s'fof'6obo2lbp3mbq2xbr1tbs2lbu1zbv3mbz2wck4s202k3mcm4scn4sco4scp4scq5tcr4mcs3xct3xcu3xcv3xcw2l2m2tcy2lcz2ldl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek2wel2wem2wen2weo2wep2weq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr3sfs3mft3mfu3mfv3mfw3mfz3m203k6o212m6m2dw2l2cq2l3t3m3u1w17s4s19m3m}'kerning'{cl{4qs5ku17sw5ou5qy5rw201ss5tw201ws}201s{201ss}201t{ckw4lwcmwcnwcowcpwclw4wu201ts}2k{201ts}2w{4qs5kw5os5qx5ru17sx5tx}2x{17sw5tw5ou5qu}2y{4qs5kw5os5qx5ru17sx5tx}'fof'-6o7t{ckuclucmucnucoucpu4lu5os5rs}3u{17su5tu5qs}3v{17su5tu5qs}7p{17sw5tw5qs}ck{4qs5ku17sw5ou5qy5rw201ss5tw201ws}4l{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cm{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cn{4qs5ku17sw5ou5qy5rw201ss5tw201ws}co{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cp{4qs5ku17sw5ou5qy5rw201ss5tw201ws}6l{17su5tu5os5qw5rs}17s{2ktclvcmvcnvcovcpv4lv4wuckv}5o{ckwclwcmwcnwcowcpw4lw4wu}5q{ckyclycmycnycoycpy4ly4wu5ms}5r{cktcltcmtcntcotcpt4lt4ws}5t{2ktclvcmvcnvcovcpv4lv4wuckv}7q{cksclscmscnscoscps4ls}6p{17su5tu5qw5rs}ek{5qs5rs}el{17su5tu5os5qw5rs}em{17su5tu5os5qs5rs}en{17su5qs5rs}eo{5qs5rs}ep{17su5tu5os5qw5rs}es{5qs}et{17su5tu5qw5rs}eu{17su5tu5qs5rs}ev{5qs}6z{17sv5tv5os5qx5rs}fm{5os5qt5rs}fn{17sv5tv5os5qx5rs}fo{17sv5tv5os5qx5rs}fp{5os5qt5rs}fq{5os5qt5rs}7r{ckuclucmucnucoucpu4lu5os}fs{17sv5tv5os5qx5rs}ft{17ss5ts5qs}fu{17sw5tw5qs}fv{17sw5tw5qs}fw{17ss5ts5qs}fz{ckuclucmucnucoucpu4lu5os5rs}}}"),"Helvetica-Oblique":s("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}")}};e.events.push(["addFont",function(e){var t=e.font,r=u.Unicode[t.postScriptName];r&&(t.metadata.Unicode={},t.metadata.Unicode.widths=r.widths,t.metadata.Unicode.kerning=r.kerning);var n=l.Unicode[t.postScriptName];n&&(t.metadata.Unicode.encoding=n,t.encoding=n.codePages[0])}])}(P.API),function(e){var t=function(e){for(var t=e.length,r=new Uint8Array(t),n=0;n<t;n++)r[n]=e.charCodeAt(n);return r};e.API.events.push(["addFont",function(r){var n=void 0,a=r.font,o=r.instance;if(!a.isStandardFont){if(void 0===o)throw new Error("Font does not exist in vFS, import fonts or remove declaration doc.addFont('"+a.postScriptName+"').");if("string"!=typeof(n=!1===o.existsFileInVFS(a.postScriptName)?o.loadFile(a.postScriptName):o.getFileFromVFS(a.postScriptName)))throw new Error("Font is not stored as string-data in vFS, import fonts or remove declaration doc.addFont('"+a.postScriptName+"').");!function(r,n){n=/^\x00\x01\x00\x00/.test(n)?t(n):t(s(n)),r.metadata=e.API.TTFFont.open(n),r.metadata.Unicode=r.metadata.Unicode||{encoding:{},kerning:{},widths:[]},r.metadata.glyIdsUsed=[0]}(a,n)}}])}(P),function(r){function a(){return(t.canvg?Promise.resolve(t.canvg):"object"==typeof e&&"undefined"!=typeof module?new Promise((function(e,t){try{e(require("canvg"))}catch(e){t(e)}})):"function"==typeof define&&define.amd?new Promise((function(e,t){try{require(["canvg"],e)}catch(e){t(e)}})):Promise.reject(new Error("Could not load canvg"))).catch((function(e){return Promise.reject(new Error("Could not load canvg: "+e))})).then((function(e){return e.default?e.default:e}))}r.addSvgAsImage=function(e,t,r,o,i,s,c,l){if(isNaN(t)||isNaN(r))throw n.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(o)||isNaN(i))throw n.error("jsPDF.addSvgAsImage: Invalid measurements",arguments),new Error("Invalid measurements (width and/or height) passed to jsPDF.addSvgAsImage");var u=document.createElement("canvas");u.width=o,u.height=i;var f=u.getContext("2d");f.fillStyle="#fff",f.fillRect(0,0,u.width,u.height);var h={ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0},d=this;return a().then((function(t){return t.fromString(f,e,h)}),(function(){return Promise.reject(new Error("Could not load canvg."))})).then((function(e){return e.render(h)})).then((function(){d.addImage(u.toDataURL("image/jpeg",1),t,r,o,i,c,l)}))}}(P.API),function(e){e.putTotalPages=function(e){var t,r=0;parseInt(this.internal.getFont().id.substr(1),10)<15?(t=new RegExp(e,"g"),r=this.internal.getNumberOfPages()):(t=new RegExp(this.pdfEscape16(e,this.internal.getFont()),"g"),r=this.pdfEscape16(this.internal.getNumberOfPages()+"",this.internal.getFont()));for(var n=1;n<=this.internal.getNumberOfPages();n++)for(var a=0;a<this.internal.pages[n].length;a++)this.internal.pages[n][a]=this.internal.pages[n][a].replace(t,r);return this}}(P.API),function(e){e.viewerPreferences=function(e,t){var r;e=e||{},t=t||!1;var n,a,o,i={HideToolbar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideMenubar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideWindowUI:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},FitWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},CenterWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},DisplayDocTitle:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.4},NonFullScreenPageMode:{defaultValue:"UseNone",value:"UseNone",type:"name",explicitSet:!1,valueSet:["UseNone","UseOutlines","UseThumbs","UseOC"],pdfVersion:1.3},Direction:{defaultValue:"L2R",value:"L2R",type:"name",explicitSet:!1,valueSet:["L2R","R2L"],pdfVersion:1.3},ViewArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},ViewClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintScaling:{defaultValue:"AppDefault",value:"AppDefault",type:"name",explicitSet:!1,valueSet:["AppDefault","None"],pdfVersion:1.6},Duplex:{defaultValue:"",value:"none",type:"name",explicitSet:!1,valueSet:["Simplex","DuplexFlipShortEdge","DuplexFlipLongEdge","none"],pdfVersion:1.7},PickTrayByPDFSize:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.7},PrintPageRange:{defaultValue:"",value:"",type:"array",explicitSet:!1,valueSet:null,pdfVersion:1.7},NumCopies:{defaultValue:1,value:1,type:"integer",explicitSet:!1,valueSet:null,pdfVersion:1.7}},s=Object.keys(i),c=[],l=0,u=0,f=0;function h(e,t){var r,n=!1;for(r=0;r<e.length;r+=1)e[r]===t&&(n=!0);return n}if(void 0===this.internal.viewerpreferences&&(this.internal.viewerpreferences={},this.internal.viewerpreferences.configuration=JSON.parse(JSON.stringify(i)),this.internal.viewerpreferences.isSubscribed=!1),r=this.internal.viewerpreferences.configuration,"reset"===e||!0===t){var d=s.length;for(f=0;f<d;f+=1)r[s[f]].value=r[s[f]].defaultValue,r[s[f]].explicitSet=!1}if("object"==typeof e)for(a in e)if(o=e[a],h(s,a)&&void 0!==o){if("boolean"===r[a].type&&"boolean"==typeof o)r[a].value=o;else if("name"===r[a].type&&h(r[a].valueSet,o))r[a].value=o;else if("integer"===r[a].type&&Number.isInteger(o))r[a].value=o;else if("array"===r[a].type){for(l=0;l<o.length;l+=1)if(n=!0,1===o[l].length&&"number"==typeof o[l][0])c.push(String(o[l]-1));else if(o[l].length>1){for(u=0;u<o[l].length;u+=1)"number"!=typeof o[l][u]&&(n=!1);!0===n&&c.push([o[l][0]-1,o[l][1]-1].join(" "))}r[a].value="["+c.join(" ")+"]"}else r[a].value=r[a].defaultValue;r[a].explicitSet=!0}return!1===this.internal.viewerpreferences.isSubscribed&&(this.internal.events.subscribe("putCatalog",(function(){var e,t=[];for(e in r)!0===r[e].explicitSet&&("name"===r[e].type?t.push("/"+e+" /"+r[e].value):t.push("/"+e+" "+r[e].value));0!==t.length&&this.internal.write("/ViewerPreferences\n<<\n"+t.join("\n")+"\n>>")})),this.internal.viewerpreferences.isSubscribed=!0),this.internal.viewerpreferences.configuration=r,this}}(P.API),function(e){var t=function(){var e='<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"><rdf:Description rdf:about="" xmlns:jspdf="'+this.internal.__metadata__.namespaceuri+'"><jspdf:metadata>',t=unescape(encodeURIComponent('<x:xmpmeta xmlns:x="adobe:ns:meta/">')),r=unescape(encodeURIComponent(e)),n=unescape(encodeURIComponent(this.internal.__metadata__.metadata)),a=unescape(encodeURIComponent("</jspdf:metadata></rdf:Description></rdf:RDF>")),o=unescape(encodeURIComponent("</x:xmpmeta>")),i=r.length+n.length+a.length+t.length+o.length;this.internal.__metadata__.metadata_object_number=this.internal.newObject(),this.internal.write("<< /Type /Metadata /Subtype /XML /Length "+i+" >>"),this.internal.write("stream"),this.internal.write(t+r+n+a+o),this.internal.write("endstream"),this.internal.write("endobj")},r=function(){this.internal.__metadata__.metadata_object_number&&this.internal.write("/Metadata "+this.internal.__metadata__.metadata_object_number+" 0 R")};e.addMetadata=function(e,n){return void 0===this.internal.__metadata__&&(this.internal.__metadata__={metadata:e,namespaceuri:n||"http://jspdf.default.namespaceuri/"},this.internal.events.subscribe("putCatalog",r),this.internal.events.subscribe("postPutResources",t)),this}}(P.API),function(e){var t=e.API,r=t.pdfEscape16=function(e,t){for(var r,n=t.metadata.Unicode.widths,a=["","0","00","000","0000"],o=[""],i=0,s=e.length;i<s;++i){if(r=t.metadata.characterToGlyph(e.charCodeAt(i)),t.metadata.glyIdsUsed.push(r),t.metadata.toUnicode[r]=e.charCodeAt(i),-1==n.indexOf(r)&&(n.push(r),n.push([parseInt(t.metadata.widthOfGlyph(r),10)])),"0"==r)return o.join("");r=r.toString(16),o.push(a[4-r.length],r)}return o.join("")},n=function(e){var t,r,n,a,o,i,s;for(o="/CIDInit /ProcSet findresource begin\n12 dict begin\nbegincmap\n/CIDSystemInfo <<\n /Registry (Adobe)\n /Ordering (UCS)\n /Supplement 0\n>> def\n/CMapName /Adobe-Identity-UCS def\n/CMapType 2 def\n1 begincodespacerange\n<0000><ffff>\nendcodespacerange",n=[],i=0,s=(r=Object.keys(e).sort((function(e,t){return e-t}))).length;i<s;i++)t=r[i],n.length>=100&&(o+="\n"+n.length+" beginbfchar\n"+n.join("\n")+"\nendbfchar",n=[]),void 0!==e[t]&&null!==e[t]&&"function"==typeof e[t].toString&&(a=("0000"+e[t].toString(16)).slice(-4),t=("0000"+(+t).toString(16)).slice(-4),n.push("<"+t+"><"+a+">"));return n.length&&(o+="\n"+n.length+" beginbfchar\n"+n.join("\n")+"\nendbfchar\n"),o+"endcmap\nCMapName currentdict /CMap defineresource pop\nend\nend"};t.events.push(["putFont",function(t){!function(t){var r=t.font,a=t.out,o=t.newObject,i=t.putStream,s=t.pdfEscapeWithNeededParanthesis;if(r.metadata instanceof e.API.TTFFont&&"Identity-H"===r.encoding){for(var c=r.metadata.Unicode.widths,l=r.metadata.subset.encode(r.metadata.glyIdsUsed,1),u="",f=0;f<l.length;f++)u+=String.fromCharCode(l[f]);var h=o();i({data:u,addLength1:!0,objectId:h}),a("endobj");var d=o();i({data:n(r.metadata.toUnicode),addLength1:!0,objectId:d}),a("endobj");var p=o();a("<<"),a("/Type /FontDescriptor"),a("/FontName /"+s(r.fontName)),a("/FontFile2 "+h+" 0 R"),a("/FontBBox "+e.API.PDFObject.convert(r.metadata.bbox)),a("/Flags "+r.metadata.flags),a("/StemV "+r.metadata.stemV),a("/ItalicAngle "+r.metadata.italicAngle),a("/Ascent "+r.metadata.ascender),a("/Descent "+r.metadata.decender),a("/CapHeight "+r.metadata.capHeight),a(">>"),a("endobj");var g=o();a("<<"),a("/Type /Font"),a("/BaseFont /"+s(r.fontName)),a("/FontDescriptor "+p+" 0 R"),a("/W "+e.API.PDFObject.convert(c)),a("/CIDToGIDMap /Identity"),a("/DW 1000"),a("/Subtype /CIDFontType2"),a("/CIDSystemInfo"),a("<<"),a("/Supplement 0"),a("/Registry (Adobe)"),a("/Ordering ("+r.encoding+")"),a(">>"),a(">>"),a("endobj"),r.objectNumber=o(),a("<<"),a("/Type /Font"),a("/Subtype /Type0"),a("/ToUnicode "+d+" 0 R"),a("/BaseFont /"+s(r.fontName)),a("/Encoding /"+r.encoding),a("/DescendantFonts ["+g+" 0 R]"),a(">>"),a("endobj"),r.isAlreadyPutted=!0}}(t)}]),t.events.push(["putFont",function(t){!function(t){var r=t.font,a=t.out,o=t.newObject,i=t.putStream,s=t.pdfEscapeWithNeededParanthesis;if(r.metadata instanceof e.API.TTFFont&&"WinAnsiEncoding"===r.encoding){for(var c=r.metadata.rawData,l="",u=0;u<c.length;u++)l+=String.fromCharCode(c[u]);var f=o();i({data:l,addLength1:!0,objectId:f}),a("endobj");var h=o();i({data:n(r.metadata.toUnicode),addLength1:!0,objectId:h}),a("endobj");var d=o();a("<<"),a("/Descent "+r.metadata.decender),a("/CapHeight "+r.metadata.capHeight),a("/StemV "+r.metadata.stemV),a("/Type /FontDescriptor"),a("/FontFile2 "+f+" 0 R"),a("/Flags 96"),a("/FontBBox "+e.API.PDFObject.convert(r.metadata.bbox)),a("/FontName /"+s(r.fontName)),a("/ItalicAngle "+r.metadata.italicAngle),a("/Ascent "+r.metadata.ascender),a(">>"),a("endobj"),r.objectNumber=o();for(var p=0;p<r.metadata.hmtx.widths.length;p++)r.metadata.hmtx.widths[p]=parseInt(r.metadata.hmtx.widths[p]*(1e3/r.metadata.head.unitsPerEm));a("<</Subtype/TrueType/Type/Font/ToUnicode "+h+" 0 R/BaseFont/"+s(r.fontName)+"/FontDescriptor "+d+" 0 R/Encoding/"+r.encoding+" /FirstChar 29 /LastChar 255 /Widths "+e.API.PDFObject.convert(r.metadata.hmtx.widths)+">>"),a("endobj"),r.isAlreadyPutted=!0}}(t)}]);var a=function(e){var t,n=e.text||"",a=e.x,o=e.y,i=e.options||{},s=e.mutex||{},c=s.pdfEscape,l=s.activeFontKey,u=s.fonts,f=l,h="",d=0,p="",g=u[f].encoding;if("Identity-H"!==u[f].encoding)return{text:n,x:a,y:o,options:i,mutex:s};for(p=n,f=l,Array.isArray(n)&&(p=n[0]),d=0;d<p.length;d+=1)u[f].metadata.hasOwnProperty("cmap")&&(t=u[f].metadata.cmap.unicode.codeMap[p[d].charCodeAt(0)]),t||p[d].charCodeAt(0)<256&&u[f].metadata.hasOwnProperty("Unicode")?h+=p[d]:h+="";var m="";return parseInt(f.slice(1))<14||"WinAnsiEncoding"===g?m=c(h,f).split("").map((function(e){return e.charCodeAt(0).toString(16)})).join(""):"Identity-H"===g&&(m=r(h,u[f])),s.isHex=!0,{text:m,x:a,y:o,options:i,mutex:s}};t.events.push(["postProcessText",function(e){var t=e.text||"",r=[],n={text:t,x:e.x,y:e.y,options:e.options,mutex:e.mutex};if(Array.isArray(t)){var o=0;for(o=0;o<t.length;o+=1)Array.isArray(t[o])&&3===t[o].length?r.push([a(Object.assign({},n,{text:t[o][0]})).text,t[o][1],t[o][2]]):r.push(a(Object.assign({},n,{text:t[o]})).text);e.text=r}else e.text=a(Object.assign({},n,{text:t})).text}])}(P),function(e){var t=function(){return void 0===this.internal.vFS&&(this.internal.vFS={}),!0};e.existsFileInVFS=function(e){return t.call(this),void 0!==this.internal.vFS[e]},e.addFileToVFS=function(e,r){return t.call(this),this.internal.vFS[e]=r,this},e.getFileFromVFS=function(e){return t.call(this),void 0!==this.internal.vFS[e]?this.internal.vFS[e]:null}}(P.API),function(e){e.__bidiEngine__=e.prototype.__bidiEngine__=function(e){var r,n,a,o,i,s,c,l=t,u=[[0,3,0,1,0,0,0],[0,3,0,1,2,2,0],[0,3,0,17,2,0,1],[0,3,5,5,4,1,0],[0,3,21,21,4,0,1],[0,3,5,5,4,2,0]],f=[[2,0,1,1,0,1,0],[2,0,1,1,0,2,0],[2,0,2,1,3,2,0],[2,0,2,33,3,1,1]],h={L:0,R:1,EN:2,AN:3,N:4,B:5,S:6},d={0:0,5:1,6:2,7:3,32:4,251:5,254:6,255:7},p=["(",")","(","<",">","<","[","]","[","{","}","{","«","»","«","‹","›","‹","⁅","⁆","⁅","⁽","⁾","⁽","₍","₎","₍","≤","≥","≤","〈","〉","〈","﹙","﹚","﹙","﹛","﹜","﹛","﹝","﹞","﹝","﹤","﹥","﹤"],g=new RegExp(/^([1-4|9]|1[0-9]|2[0-9]|3[0168]|4[04589]|5[012]|7[78]|159|16[0-9]|17[0-2]|21[569]|22[03489]|250)$/),m=!1,v=0;this.__bidiEngine__={};var b=function(e){var t=e.charCodeAt(),r=t>>8,n=d[r];return void 0!==n?l[256*n+(255&t)]:252===r||253===r?"AL":g.test(r)?"L":8===r?"R":"N"},y=function(e){for(var t,r=0;r<e.length;r++){if("L"===(t=b(e.charAt(r))))return!1;if("R"===t)return!0}return!1},w=function(e,t,i,s){var c,l,u,f,h=t[s];switch(h){case"L":case"R":case"LRE":case"RLE":case"LRO":case"RLO":case"PDF":m=!1;break;case"N":case"AN":break;case"EN":m&&(h="AN");break;case"AL":m=!0,h="R";break;case"WS":case"BN":h="N";break;case"CS":s<1||s+1>=t.length||"EN"!==(c=i[s-1])&&"AN"!==c||"EN"!==(l=t[s+1])&&"AN"!==l?h="N":m&&(l="AN"),h=l===c?l:"N";break;case"ES":h="EN"===(c=s>0?i[s-1]:"B")&&s+1<t.length&&"EN"===t[s+1]?"EN":"N";break;case"ET":if(s>0&&"EN"===i[s-1]){h="EN";break}if(m){h="N";break}for(u=s+1,f=t.length;u<f&&"ET"===t[u];)u++;h=u<f&&"EN"===t[u]?"EN":"N";break;case"NSM":if(a&&!o){for(f=t.length,u=s+1;u<f&&"NSM"===t[u];)u++;if(u<f){var d=e[s],p=d>=1425&&d<=2303||64286===d;if(c=t[u],p&&("R"===c||"AL"===c)){h="R";break}}}h=s<1||"B"===(c=t[s-1])?"N":i[s-1];break;case"B":m=!1,r=!0,h=v;break;case"S":n=!0,h="N"}return h},S=function(e,t,r){var n=e.split("");return r&&x(n,r,{hiLevel:v}),n.reverse(),t&&t.reverse(),n.join("")},x=function(e,t,a){var o,i,s,c,l,d=-1,p=e.length,g=0,y=[],S=v?f:u,x=[];for(m=!1,r=!1,n=!1,i=0;i<p;i++)x[i]=b(e[i]);for(s=0;s<p;s++){if(l=g,y[s]=w(e,x,y,s),o=240&(g=S[l][h[y[s]]]),g&=15,t[s]=c=S[g][5],o>0)if(16===o){for(i=d;i<s;i++)t[i]=1;d=-1}else d=-1;if(S[g][6])-1===d&&(d=s);else if(d>-1){for(i=d;i<s;i++)t[i]=c;d=-1}"B"===x[s]&&(t[s]=0),a.hiLevel|=c}n&&function(e,t,r){for(var n=0;n<r;n++)if("S"===e[n]){t[n]=v;for(var a=n-1;a>=0&&"WS"===e[a];a--)t[a]=v}}(x,t,p)},A=function(e,t,n,a,o){if(!(o.hiLevel<e)){if(1===e&&1===v&&!r)return t.reverse(),void(n&&n.reverse());for(var i,s,c,l,u=t.length,f=0;f<u;){if(a[f]>=e){for(c=f+1;c<u&&a[c]>=e;)c++;for(l=f,s=c-1;l<s;l++,s--)i=t[l],t[l]=t[s],t[s]=i,n&&(i=n[l],n[l]=n[s],n[s]=i);f=c}f++}}},k=function(e,t,r){var n=e.split(""),a={hiLevel:v};return r||(r=[]),x(n,r,a),function(e,t,r){if(0!==r.hiLevel&&c)for(var n,a=0;a<e.length;a++)1===t[a]&&(n=p.indexOf(e[a]))>=0&&(e[a]=p[n+1])}(n,r,a),A(2,n,t,r,a),A(1,n,t,r,a),n.join("")};return this.__bidiEngine__.doBidiReorder=function(e,t,r){if(function(e,t){if(t)for(var r=0;r<e.length;r++)t[r]=r;void 0===o&&(o=y(e)),void 0===s&&(s=y(e))}(e,t),a||!i||s)if(a&&i&&o^s)v=o?1:0,e=S(e,t,r);else if(!a&&i&&s)v=o?1:0,e=k(e,t,r),e=S(e,t);else if(!a||o||i||s){if(a&&!i&&o^s)e=S(e,t),o?(v=0,e=k(e,t,r)):(v=1,e=k(e,t,r),e=S(e,t));else if(a&&o&&!i&&s)v=1,e=k(e,t,r),e=S(e,t);else if(!a&&!i&&o^s){var n=c;o?(v=1,e=k(e,t,r),v=0,c=!1,e=k(e,t,r),c=n):(v=0,e=k(e,t,r),e=S(e,t),v=1,c=!1,e=k(e,t,r),c=n,e=S(e,t))}}else v=0,e=k(e,t,r);else v=o?1:0,e=k(e,t,r);return e},this.__bidiEngine__.setOptions=function(e){e&&(a=e.isInputVisual,i=e.isOutputVisual,o=e.isInputRtl,s=e.isOutputRtl,c=e.isSymmetricSwapping)},this.__bidiEngine__.setOptions(e),this.__bidiEngine__};var t=["BN","BN","BN","BN","BN","BN","BN","BN","BN","S","B","S","WS","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","B","B","B","S","WS","N","N","ET","ET","ET","N","N","N","N","N","ES","CS","ES","CS","CS","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","CS","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","BN","BN","BN","BN","BN","BN","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","CS","N","ET","ET","ET","ET","N","N","N","N","L","N","N","BN","N","N","ET","ET","EN","EN","N","L","N","N","N","EN","L","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","N","N","N","N","N","ET","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","R","NSM","R","NSM","NSM","R","NSM","NSM","R","NSM","N","N","N","N","N","N","N","N","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","N","N","N","N","N","R","R","R","R","R","N","N","N","N","N","N","N","N","N","N","N","AN","AN","AN","AN","AN","AN","N","N","AL","ET","ET","AL","CS","AL","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AN","AN","AN","AN","AN","AN","AN","AN","AN","AN","ET","AN","AN","AL","AL","AL","NSM","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AN","N","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","NSM","NSM","N","NSM","NSM","NSM","NSM","AL","AL","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","AL","AL","NSM","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AL","N","N","N","N","N","N","N","N","N","N","N","N","N","N","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","R","R","N","N","N","N","R","N","N","N","N","N","WS","WS","WS","WS","WS","WS","WS","WS","WS","WS","WS","BN","BN","BN","L","R","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","WS","B","LRE","RLE","PDF","LRO","RLO","CS","ET","ET","ET","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","CS","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","WS","BN","BN","BN","BN","BN","N","LRI","RLI","FSI","PDI","BN","BN","BN","BN","BN","BN","EN","L","N","N","EN","EN","EN","EN","EN","EN","ES","ES","N","N","N","L","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","ES","ES","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","L","L","N","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","N","N","N","N","N","R","NSM","R","R","R","R","R","R","R","R","R","R","ES","R","R","R","R","R","R","R","R","R","R","R","R","R","N","R","R","R","R","R","N","R","N","R","R","N","R","R","N","R","R","R","R","R","R","R","R","R","R","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","CS","N","CS","N","N","CS","N","N","N","N","N","N","N","N","N","ET","N","N","ES","ES","N","N","N","N","N","ET","ET","N","N","N","N","N","AL","AL","AL","AL","AL","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","N","BN","N","N","N","ET","ET","ET","N","N","N","N","N","ES","CS","ES","CS","CS","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","CS","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","L","L","L","L","L","L","N","N","L","L","L","L","L","L","N","N","L","L","L","L","L","L","N","N","L","L","L","N","N","N","ET","ET","N","N","N","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N"],r=new e.__bidiEngine__({isInputVisual:!0});e.API.events.push(["postProcessText",function(e){var t=e.text,n=(e.x,e.y,e.options||{}),a=(e.mutex,n.lang,[]);if(n.isInputVisual="boolean"!=typeof n.isInputVisual||n.isInputVisual,r.setOptions(n),"[object Array]"===Object.prototype.toString.call(t)){var o=0;for(a=[],o=0;o<t.length;o+=1)"[object Array]"===Object.prototype.toString.call(t[o])?a.push([r.doBidiReorder(t[o][0]),t[o][1],t[o][2]]):a.push([r.doBidiReorder(t[o])]);e.text=a}else e.text=r.doBidiReorder(t);r.setOptions({isInputVisual:!0})}])}(P),P.API.TTFFont=function(){function e(e){var t;if(this.rawData=e,t=this.contents=new Pt(e),this.contents.pos=4,"ttcf"===t.readString(4))throw new Error("TTCF not supported.");t.pos=0,this.parse(),this.subset=new Jt(this),this.registerTTF()}return e.open=function(t){return new e(t)},e.prototype.parse=function(){return this.directory=new Lt(this.contents),this.head=new Dt(this),this.name=new zt(this),this.cmap=new jt(this),this.toUnicode={},this.hhea=new Bt(this),this.maxp=new Vt(this),this.hmtx=new qt(this),this.post=new Ut(this),this.os2=new Wt(this),this.loca=new Kt(this),this.glyf=new Gt(this),this.ascender=this.os2.exists&&this.os2.ascender||this.hhea.ascender,this.decender=this.os2.exists&&this.os2.decender||this.hhea.decender,this.lineGap=this.os2.exists&&this.os2.lineGap||this.hhea.lineGap,this.bbox=[this.head.xMin,this.head.yMin,this.head.xMax,this.head.yMax]},e.prototype.registerTTF=function(){var e,t,r,n,a;if(this.scaleFactor=1e3/this.head.unitsPerEm,this.bbox=function(){var t,r,n,a;for(a=[],t=0,r=(n=this.bbox).length;t<r;t++)e=n[t],a.push(Math.round(e*this.scaleFactor));return a}.call(this),this.stemV=0,this.post.exists?(r=255&(n=this.post.italic_angle),0!=(32768&(t=n>>16))&&(t=-(1+(65535^t))),this.italicAngle=+(t+"."+r)):this.italicAngle=0,this.ascender=Math.round(this.ascender*this.scaleFactor),this.decender=Math.round(this.decender*this.scaleFactor),this.lineGap=Math.round(this.lineGap*this.scaleFactor),this.capHeight=this.os2.exists&&this.os2.capHeight||this.ascender,this.xHeight=this.os2.exists&&this.os2.xHeight||0,this.familyClass=(this.os2.exists&&this.os2.familyClass||0)>>8,this.isSerif=1===(a=this.familyClass)||2===a||3===a||4===a||5===a||7===a,this.isScript=10===this.familyClass,this.flags=0,this.post.isFixedPitch&&(this.flags|=1),this.isSerif&&(this.flags|=2),this.isScript&&(this.flags|=8),0!==this.italicAngle&&(this.flags|=64),this.flags|=32,!this.cmap.unicode)throw new Error("No unicode cmap for font")},e.prototype.characterToGlyph=function(e){var t;return(null!=(t=this.cmap.unicode)?t.codeMap[e]:void 0)||0},e.prototype.widthOfGlyph=function(e){var t;return t=1e3/this.head.unitsPerEm,this.hmtx.forGlyph(e).advance*t},e.prototype.widthOfString=function(e,t,r){var n,a,o,i;for(o=0,a=0,i=(e=""+e).length;0<=i?a<i:a>i;a=0<=i?++a:--a)n=e.charCodeAt(a),o+=this.widthOfGlyph(this.characterToGlyph(n))+r*(1e3/t)||0;return o*(t/1e3)},e.prototype.lineHeight=function(e,t){var r;return null==t&&(t=!1),r=t?this.lineGap:0,(this.ascender+r-this.decender)/1e3*e},e}();var Rt,Pt=function(){function e(e){this.data=null!=e?e:[],this.pos=0,this.length=this.data.length}return e.prototype.readByte=function(){return this.data[this.pos++]},e.prototype.writeByte=function(e){return this.data[this.pos++]=e},e.prototype.readUInt32=function(){return 16777216*this.readByte()+(this.readByte()<<16)+(this.readByte()<<8)+this.readByte()},e.prototype.writeUInt32=function(e){return this.writeByte(e>>>24&255),this.writeByte(e>>16&255),this.writeByte(e>>8&255),this.writeByte(255&e)},e.prototype.readInt32=function(){var e;return(e=this.readUInt32())>=2147483648?e-4294967296:e},e.prototype.writeInt32=function(e){return e<0&&(e+=4294967296),this.writeUInt32(e)},e.prototype.readUInt16=function(){return this.readByte()<<8|this.readByte()},e.prototype.writeUInt16=function(e){return this.writeByte(e>>8&255),this.writeByte(255&e)},e.prototype.readInt16=function(){var e;return(e=this.readUInt16())>=32768?e-65536:e},e.prototype.writeInt16=function(e){return e<0&&(e+=65536),this.writeUInt16(e)},e.prototype.readString=function(e){var t,r;for(r=[],t=0;0<=e?t<e:t>e;t=0<=e?++t:--t)r[t]=String.fromCharCode(this.readByte());return r.join("")},e.prototype.writeString=function(e){var t,r,n;for(n=[],t=0,r=e.length;0<=r?t<r:t>r;t=0<=r?++t:--t)n.push(this.writeByte(e.charCodeAt(t)));return n},e.prototype.readShort=function(){return this.readInt16()},e.prototype.writeShort=function(e){return this.writeInt16(e)},e.prototype.readLongLong=function(){var e,t,r,n,a,o,i,s;return e=this.readByte(),t=this.readByte(),r=this.readByte(),n=this.readByte(),a=this.readByte(),o=this.readByte(),i=this.readByte(),s=this.readByte(),128&e?-1*(72057594037927940*(255^e)+281474976710656*(255^t)+1099511627776*(255^r)+4294967296*(255^n)+16777216*(255^a)+65536*(255^o)+256*(255^i)+(255^s)+1):72057594037927940*e+281474976710656*t+1099511627776*r+4294967296*n+16777216*a+65536*o+256*i+s},e.prototype.writeLongLong=function(e){var t,r;return t=Math.floor(e/4294967296),r=4294967295&e,this.writeByte(t>>24&255),this.writeByte(t>>16&255),this.writeByte(t>>8&255),this.writeByte(255&t),this.writeByte(r>>24&255),this.writeByte(r>>16&255),this.writeByte(r>>8&255),this.writeByte(255&r)},e.prototype.readInt=function(){return this.readInt32()},e.prototype.writeInt=function(e){return this.writeInt32(e)},e.prototype.read=function(e){var t,r;for(t=[],r=0;0<=e?r<e:r>e;r=0<=e?++r:--r)t.push(this.readByte());return t},e.prototype.write=function(e){var t,r,n,a;for(a=[],r=0,n=e.length;r<n;r++)t=e[r],a.push(this.writeByte(t));return a},e}(),Lt=function(){var e;function t(e){var t,r,n;for(this.scalarType=e.readInt(),this.tableCount=e.readShort(),this.searchRange=e.readShort(),this.entrySelector=e.readShort(),this.rangeShift=e.readShort(),this.tables={},r=0,n=this.tableCount;0<=n?r<n:r>n;r=0<=n?++r:--r)t={tag:e.readString(4),checksum:e.readInt(),offset:e.readInt(),length:e.readInt()},this.tables[t.tag]=t}return t.prototype.encode=function(t){var r,n,a,o,i,s,c,l,u,f,h,d,p;for(p in h=Object.keys(t).length,s=Math.log(2),u=16*Math.floor(Math.log(h)/s),o=Math.floor(u/s),l=16*h-u,(n=new Pt).writeInt(this.scalarType),n.writeShort(h),n.writeShort(u),n.writeShort(o),n.writeShort(l),a=16*h,c=n.pos+a,i=null,d=[],t)for(f=t[p],n.writeString(p),n.writeInt(e(f)),n.writeInt(c),n.writeInt(f.length),d=d.concat(f),"head"===p&&(i=c),c+=f.length;c%4;)d.push(0),c++;return n.write(d),r=2981146554-e(n.data),n.pos=i+8,n.writeUInt32(r),n.data},e=function(e){var t,r,n,a;for(e=$t.call(e);e.length%4;)e.push(0);for(n=new Pt(e),r=0,t=0,a=e.length;t<a;t=t+=4)r+=n.readUInt32();return 4294967295&r},t}(),It={}.hasOwnProperty,Ft=function(e,t){for(var r in t)It.call(t,r)&&(e[r]=t[r]);function n(){this.constructor=e}return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e},Dt=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return Ft(t,e),t.prototype.tag="head",t.prototype.parse=function(e){return e.pos=this.offset,this.version=e.readInt(),this.revision=e.readInt(),this.checkSumAdjustment=e.readInt(),this.magicNumber=e.readInt(),this.flags=e.readShort(),this.unitsPerEm=e.readShort(),this.created=e.readLongLong(),this.modified=e.readLongLong(),this.xMin=e.readShort(),this.yMin=e.readShort(),this.xMax=e.readShort(),this.yMax=e.readShort(),this.macStyle=e.readShort(),this.lowestRecPPEM=e.readShort(),this.fontDirectionHint=e.readShort(),this.indexToLocFormat=e.readShort(),this.glyphDataFormat=e.readShort()},t.prototype.encode=function(e){var t;return(t=new Pt).writeInt(this.version),t.writeInt(this.revision),t.writeInt(this.checkSumAdjustment),t.writeInt(this.magicNumber),t.writeShort(this.flags),t.writeShort(this.unitsPerEm),t.writeLongLong(this.created),t.writeLongLong(this.modified),t.writeShort(this.xMin),t.writeShort(this.yMin),t.writeShort(this.xMax),t.writeShort(this.yMax),t.writeShort(this.macStyle),t.writeShort(this.lowestRecPPEM),t.writeShort(this.fontDirectionHint),t.writeShort(e),t.writeShort(this.glyphDataFormat),t.data},t}(Rt=function(){function e(e){var t;this.file=e,t=this.file.directory.tables[this.tag],this.exists=!!t,t&&(this.offset=t.offset,this.length=t.length,this.parse(this.file.contents))}return e.prototype.parse=function(){},e.prototype.encode=function(){},e.prototype.raw=function(){return this.exists?(this.file.contents.pos=this.offset,this.file.contents.read(this.length)):null},e}()),Mt=function(){function e(e,t){var r,n,a,o,i,s,c,l,u,f,h,d,p,g,m,v,b;switch(this.platformID=e.readUInt16(),this.encodingID=e.readShort(),this.offset=t+e.readInt(),u=e.pos,e.pos=this.offset,this.format=e.readUInt16(),this.length=e.readUInt16(),this.language=e.readUInt16(),this.isUnicode=3===this.platformID&&1===this.encodingID&&4===this.format||0===this.platformID&&4===this.format,this.codeMap={},this.format){case 0:for(s=0;s<256;++s)this.codeMap[s]=e.readByte();break;case 4:for(h=e.readUInt16(),f=h/2,e.pos+=6,a=function(){var t,r;for(r=[],s=t=0;0<=f?t<f:t>f;s=0<=f?++t:--t)r.push(e.readUInt16());return r}(),e.pos+=2,p=function(){var t,r;for(r=[],s=t=0;0<=f?t<f:t>f;s=0<=f?++t:--t)r.push(e.readUInt16());return r}(),c=function(){var t,r;for(r=[],s=t=0;0<=f?t<f:t>f;s=0<=f?++t:--t)r.push(e.readUInt16());return r}(),l=function(){var t,r;for(r=[],s=t=0;0<=f?t<f:t>f;s=0<=f?++t:--t)r.push(e.readUInt16());return r}(),n=(this.length-e.pos+this.offset)/2,i=function(){var t,r;for(r=[],s=t=0;0<=n?t<n:t>n;s=0<=n?++t:--t)r.push(e.readUInt16());return r}(),s=m=0,b=a.length;m<b;s=++m)for(g=a[s],r=v=d=p[s];d<=g?v<=g:v>=g;r=d<=g?++v:--v)0===l[s]?o=r+c[s]:0!==(o=i[l[s]/2+(r-d)-(f-s)]||0)&&(o+=c[s]),this.codeMap[r]=65535&o}e.pos=u}return e.encode=function(e,t){var r,n,a,o,i,s,c,l,u,f,h,d,p,g,m,v,b,y,w,S,x,A,k,T,E,_,N,C,O,R,P,L,I,F,D,M,j,B,W,U,H,z,V,q,$,G;switch(C=new Pt,o=Object.keys(e).sort((function(e,t){return e-t})),t){case"macroman":for(p=0,g=function(){var e=[];for(d=0;d<256;++d)e.push(0);return e}(),v={0:0},a={},O=0,I=o.length;O<I;O++)null==v[V=e[n=o[O]]]&&(v[V]=++p),a[n]={old:e[n],new:v[e[n]]},g[n]=v[e[n]];return C.writeUInt16(1),C.writeUInt16(0),C.writeUInt32(12),C.writeUInt16(0),C.writeUInt16(262),C.writeUInt16(0),C.write(g),{charMap:a,subtable:C.data,maxGlyphID:p+1};case"unicode":for(_=[],u=[],b=0,v={},r={},m=c=null,R=0,F=o.length;R<F;R++)null==v[w=e[n=o[R]]]&&(v[w]=++b),r[n]={old:w,new:v[w]},i=v[w]-n,null!=m&&i===c||(m&&u.push(m),_.push(n),c=i),m=n;for(m&&u.push(m),u.push(65535),_.push(65535),T=2*(k=_.length),A=2*Math.pow(Math.log(k)/Math.LN2,2),f=Math.log(A/2)/Math.LN2,x=2*k-A,s=[],S=[],h=[],d=P=0,D=_.length;P<D;d=++P){if(E=_[d],l=u[d],65535===E){s.push(0),S.push(0);break}if(E-(N=r[E].new)>=32768)for(s.push(0),S.push(2*(h.length+k-d)),n=L=E;E<=l?L<=l:L>=l;n=E<=l?++L:--L)h.push(r[n].new);else s.push(N-E),S.push(0)}for(C.writeUInt16(3),C.writeUInt16(1),C.writeUInt32(12),C.writeUInt16(4),C.writeUInt16(16+8*k+2*h.length),C.writeUInt16(0),C.writeUInt16(T),C.writeUInt16(A),C.writeUInt16(f),C.writeUInt16(x),H=0,M=u.length;H<M;H++)n=u[H],C.writeUInt16(n);for(C.writeUInt16(0),z=0,j=_.length;z<j;z++)n=_[z],C.writeUInt16(n);for(q=0,B=s.length;q<B;q++)i=s[q],C.writeUInt16(i);for($=0,W=S.length;$<W;$++)y=S[$],C.writeUInt16(y);for(G=0,U=h.length;G<U;G++)p=h[G],C.writeUInt16(p);return{charMap:r,subtable:C.data,maxGlyphID:b+1}}},e}(),jt=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return Ft(t,e),t.prototype.tag="cmap",t.prototype.parse=function(e){var t,r,n;for(e.pos=this.offset,this.version=e.readUInt16(),n=e.readUInt16(),this.tables=[],this.unicode=null,r=0;0<=n?r<n:r>n;r=0<=n?++r:--r)t=new Mt(e,this.offset),this.tables.push(t),t.isUnicode&&null==this.unicode&&(this.unicode=t);return!0},t.encode=function(e,t){var r,n;return null==t&&(t="macroman"),r=Mt.encode(e,t),(n=new Pt).writeUInt16(0),n.writeUInt16(1),r.table=n.data.concat(r.subtable),r},t}(Rt),Bt=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return Ft(t,e),t.prototype.tag="hhea",t.prototype.parse=function(e){return e.pos=this.offset,this.version=e.readInt(),this.ascender=e.readShort(),this.decender=e.readShort(),this.lineGap=e.readShort(),this.advanceWidthMax=e.readShort(),this.minLeftSideBearing=e.readShort(),this.minRightSideBearing=e.readShort(),this.xMaxExtent=e.readShort(),this.caretSlopeRise=e.readShort(),this.caretSlopeRun=e.readShort(),this.caretOffset=e.readShort(),e.pos+=8,this.metricDataFormat=e.readShort(),this.numberOfMetrics=e.readUInt16()},t}(Rt),Wt=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return Ft(t,e),t.prototype.tag="OS/2",t.prototype.parse=function(e){if(e.pos=this.offset,this.version=e.readUInt16(),this.averageCharWidth=e.readShort(),this.weightClass=e.readUInt16(),this.widthClass=e.readUInt16(),this.type=e.readShort(),this.ySubscriptXSize=e.readShort(),this.ySubscriptYSize=e.readShort(),this.ySubscriptXOffset=e.readShort(),this.ySubscriptYOffset=e.readShort(),this.ySuperscriptXSize=e.readShort(),this.ySuperscriptYSize=e.readShort(),this.ySuperscriptXOffset=e.readShort(),this.ySuperscriptYOffset=e.readShort(),this.yStrikeoutSize=e.readShort(),this.yStrikeoutPosition=e.readShort(),this.familyClass=e.readShort(),this.panose=function(){var t,r;for(r=[],t=0;t<10;++t)r.push(e.readByte());return r}(),this.charRange=function(){var t,r;for(r=[],t=0;t<4;++t)r.push(e.readInt());return r}(),this.vendorID=e.readString(4),this.selection=e.readShort(),this.firstCharIndex=e.readShort(),this.lastCharIndex=e.readShort(),this.version>0&&(this.ascent=e.readShort(),this.descent=e.readShort(),this.lineGap=e.readShort(),this.winAscent=e.readShort(),this.winDescent=e.readShort(),this.codePageRange=function(){var t,r;for(r=[],t=0;t<2;t=++t)r.push(e.readInt());return r}(),this.version>1))return this.xHeight=e.readShort(),this.capHeight=e.readShort(),this.defaultChar=e.readShort(),this.breakChar=e.readShort(),this.maxContext=e.readShort()},t}(Rt),Ut=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return Ft(t,e),t.prototype.tag="post",t.prototype.parse=function(e){var t,r,n;switch(e.pos=this.offset,this.format=e.readInt(),this.italicAngle=e.readInt(),this.underlinePosition=e.readShort(),this.underlineThickness=e.readShort(),this.isFixedPitch=e.readInt(),this.minMemType42=e.readInt(),this.maxMemType42=e.readInt(),this.minMemType1=e.readInt(),this.maxMemType1=e.readInt(),this.format){case 65536:case 196608:break;case 131072:var a;for(r=e.readUInt16(),this.glyphNameIndex=[],a=0;0<=r?a<r:a>r;a=0<=r?++a:--a)this.glyphNameIndex.push(e.readUInt16());for(this.names=[],n=[];e.pos<this.offset+this.length;)t=e.readByte(),n.push(this.names.push(e.readString(t)));return n;case 151552:return r=e.readUInt16(),this.offsets=e.read(r);case 262144:return this.map=function(){var t,r,n;for(n=[],a=t=0,r=this.file.maxp.numGlyphs;0<=r?t<r:t>r;a=0<=r?++t:--t)n.push(e.readUInt32());return n}.call(this)}},t}(Rt),Ht=function(e,t){this.raw=e,this.length=e.length,this.platformID=t.platformID,this.encodingID=t.encodingID,this.languageID=t.languageID},zt=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return Ft(t,e),t.prototype.tag="name",t.prototype.parse=function(e){var t,r,n,a,o,i,s,c,l,u,f;for(e.pos=this.offset,e.readShort(),t=e.readShort(),i=e.readShort(),r=[],a=0;0<=t?a<t:a>t;a=0<=t?++a:--a)r.push({platformID:e.readShort(),encodingID:e.readShort(),languageID:e.readShort(),nameID:e.readShort(),length:e.readShort(),offset:this.offset+i+e.readShort()});for(s={},a=l=0,u=r.length;l<u;a=++l)n=r[a],e.pos=n.offset,c=e.readString(n.length),o=new Ht(c,n),null==s[f=n.nameID]&&(s[f]=[]),s[n.nameID].push(o);this.strings=s,this.copyright=s[0],this.fontFamily=s[1],this.fontSubfamily=s[2],this.uniqueSubfamily=s[3],this.fontName=s[4],this.version=s[5];try{this.postscriptName=s[6][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}catch(e){this.postscriptName=s[4][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}return this.trademark=s[7],this.manufacturer=s[8],this.designer=s[9],this.description=s[10],this.vendorUrl=s[11],this.designerUrl=s[12],this.license=s[13],this.licenseUrl=s[14],this.preferredFamily=s[15],this.preferredSubfamily=s[17],this.compatibleFull=s[18],this.sampleText=s[19]},t}(Rt),Vt=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return Ft(t,e),t.prototype.tag="maxp",t.prototype.parse=function(e){return e.pos=this.offset,this.version=e.readInt(),this.numGlyphs=e.readUInt16(),this.maxPoints=e.readUInt16(),this.maxContours=e.readUInt16(),this.maxCompositePoints=e.readUInt16(),this.maxComponentContours=e.readUInt16(),this.maxZones=e.readUInt16(),this.maxTwilightPoints=e.readUInt16(),this.maxStorage=e.readUInt16(),this.maxFunctionDefs=e.readUInt16(),this.maxInstructionDefs=e.readUInt16(),this.maxStackElements=e.readUInt16(),this.maxSizeOfInstructions=e.readUInt16(),this.maxComponentElements=e.readUInt16(),this.maxComponentDepth=e.readUInt16()},t}(Rt),qt=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return Ft(t,e),t.prototype.tag="hmtx",t.prototype.parse=function(e){var t,r,n,a,o,i,s;for(e.pos=this.offset,this.metrics=[],t=0,i=this.file.hhea.numberOfMetrics;0<=i?t<i:t>i;t=0<=i?++t:--t)this.metrics.push({advance:e.readUInt16(),lsb:e.readInt16()});for(n=this.file.maxp.numGlyphs-this.file.hhea.numberOfMetrics,this.leftSideBearings=function(){var r,a;for(a=[],t=r=0;0<=n?r<n:r>n;t=0<=n?++r:--r)a.push(e.readInt16());return a}(),this.widths=function(){var e,t,r,n;for(n=[],e=0,t=(r=this.metrics).length;e<t;e++)a=r[e],n.push(a.advance);return n}.call(this),r=this.widths[this.widths.length-1],s=[],t=o=0;0<=n?o<n:o>n;t=0<=n?++o:--o)s.push(this.widths.push(r));return s},t.prototype.forGlyph=function(e){return e in this.metrics?this.metrics[e]:{advance:this.metrics[this.metrics.length-1].advance,lsb:this.leftSideBearings[e-this.metrics.length]}},t}(Rt),$t=[].slice,Gt=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return Ft(t,e),t.prototype.tag="glyf",t.prototype.parse=function(){return this.cache={}},t.prototype.glyphFor=function(e){var t,r,n,a,o,i,s,c,l,u;return e in this.cache?this.cache[e]:(a=this.file.loca,t=this.file.contents,r=a.indexOf(e),0===(n=a.lengthOf(e))?this.cache[e]=null:(t.pos=this.offset+r,o=(i=new Pt(t.read(n))).readShort(),c=i.readShort(),u=i.readShort(),s=i.readShort(),l=i.readShort(),this.cache[e]=-1===o?new Yt(i,c,u,s,l):new Xt(i,o,c,u,s,l),this.cache[e]))},t.prototype.encode=function(e,t,r){var n,a,o,i,s;for(o=[],a=[],i=0,s=t.length;i<s;i++)n=e[t[i]],a.push(o.length),n&&(o=o.concat(n.encode(r)));return a.push(o.length),{table:o,offsets:a}},t}(Rt),Xt=function(){function e(e,t,r,n,a,o){this.raw=e,this.numberOfContours=t,this.xMin=r,this.yMin=n,this.xMax=a,this.yMax=o,this.compound=!1}return e.prototype.encode=function(){return this.raw.data},e}(),Yt=function(){function e(e,t,r,n,a){var o,i;for(this.raw=e,this.xMin=t,this.yMin=r,this.xMax=n,this.yMax=a,this.compound=!0,this.glyphIDs=[],this.glyphOffsets=[],o=this.raw;i=o.readShort(),this.glyphOffsets.push(o.pos),this.glyphIDs.push(o.readUInt16()),32&i;)o.pos+=1&i?4:2,128&i?o.pos+=8:64&i?o.pos+=4:8&i&&(o.pos+=2)}return e.prototype.encode=function(){var e,t,r;for(t=new Pt($t.call(this.raw.data)),e=0,r=this.glyphIDs.length;e<r;++e)t.pos=this.glyphOffsets[e];return t.data},e}(),Kt=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return Ft(t,e),t.prototype.tag="loca",t.prototype.parse=function(e){var t,r;return e.pos=this.offset,t=this.file.head.indexToLocFormat,this.offsets=0===t?function(){var t,n;for(n=[],r=0,t=this.length;r<t;r+=2)n.push(2*e.readUInt16());return n}.call(this):function(){var t,n;for(n=[],r=0,t=this.length;r<t;r+=4)n.push(e.readUInt32());return n}.call(this)},t.prototype.indexOf=function(e){return this.offsets[e]},t.prototype.lengthOf=function(e){return this.offsets[e+1]-this.offsets[e]},t.prototype.encode=function(e,t){for(var r=new Uint32Array(this.offsets.length),n=0,a=0,o=0;o<r.length;++o)if(r[o]=n,a<t.length&&t[a]==o){++a,r[o]=n;var i=this.offsets[o],s=this.offsets[o+1]-i;s>0&&(n+=s)}for(var c=new Array(4*r.length),l=0;l<r.length;++l)c[4*l+3]=255&r[l],c[4*l+2]=(65280&r[l])>>8,c[4*l+1]=(16711680&r[l])>>16,c[4*l]=(4278190080&r[l])>>24;return c},t}(Rt),Jt=function(){function e(e){this.font=e,this.subset={},this.unicodes={},this.next=33}return e.prototype.generateCmap=function(){var e,t,r,n,a;for(t in n=this.font.cmap.tables[0].codeMap,e={},a=this.subset)r=a[t],e[t]=n[r];return e},e.prototype.glyphsFor=function(e){var t,r,n,a,o,i,s;for(n={},o=0,i=e.length;o<i;o++)n[a=e[o]]=this.font.glyf.glyphFor(a);for(a in t=[],n)(null!=(r=n[a])?r.compound:void 0)&&t.push.apply(t,r.glyphIDs);if(t.length>0)for(a in s=this.glyphsFor(t))r=s[a],n[a]=r;return n},e.prototype.encode=function(e,t){var r,n,a,o,i,s,c,l,u,f,h,d,p,g,m;for(n in r=jt.encode(this.generateCmap(),"unicode"),o=this.glyphsFor(e),h={0:0},m=r.charMap)h[(s=m[n]).old]=s.new;for(d in f=r.maxGlyphID,o)d in h||(h[d]=f++);return l=function(e){var t,r;for(t in r={},e)r[e[t]]=t;return r}(h),u=Object.keys(l).sort((function(e,t){return e-t})),p=function(){var e,t,r;for(r=[],e=0,t=u.length;e<t;e++)i=u[e],r.push(l[i]);return r}(),a=this.font.glyf.encode(o,p,h),c=this.font.loca.encode(a.offsets,p),g={cmap:this.font.cmap.raw(),glyf:a.table,loca:c,hmtx:this.font.hmtx.raw(),hhea:this.font.hhea.raw(),maxp:this.font.maxp.raw(),post:this.font.post.raw(),name:this.font.name.raw(),head:this.font.head.encode(t)},this.font.os2.exists&&(g["OS/2"]=this.font.os2.raw()),this.font.directory.encode(g)},e}();P.API.PDFObject=function(){var e;function t(){}return e=function(e,t){return(Array(t+1).join("0")+e).slice(-t)},t.convert=function(r){var n,a,o,i;if(Array.isArray(r))return"["+function(){var e,a,o;for(o=[],e=0,a=r.length;e<a;e++)n=r[e],o.push(t.convert(n));return o}().join(" ")+"]";if("string"==typeof r)return"/"+r;if(null!=r?r.isString:void 0)return"("+r+")";if(r instanceof Date)return"(D:"+e(r.getUTCFullYear(),4)+e(r.getUTCMonth(),2)+e(r.getUTCDate(),2)+e(r.getUTCHours(),2)+e(r.getUTCMinutes(),2)+e(r.getUTCSeconds(),2)+"Z)";if("[object Object]"==={}.toString.call(r)){for(a in o=["<<"],r)i=r[a],o.push("/"+a+" "+t.convert(i));return o.push(">>"),o.join("\n")}return""+r},t}(),e.AcroForm=ye,e.AcroFormAppearance=ve,e.AcroFormButton=ue,e.AcroFormCheckBox=pe,e.AcroFormChoiceField=ie,e.AcroFormComboBox=ce,e.AcroFormEditBox=le,e.AcroFormListBox=se,e.AcroFormPasswordField=me,e.AcroFormPushButton=fe,e.AcroFormRadioButton=he,e.AcroFormTextField=ge,e.GState=N,e.ShadingPattern=O,e.TilingPattern=R,e.default=P,e.jsPDF=P,Object.defineProperty(e,"__esModule",{value:!0})}));var saveAs=saveAs||function(e){"use strict";if(!(void 0===e||"undefined"!=typeof navigator&&/MSIE [1-9]\./.test(navigator.userAgent))){var t=e.document,r=function(){return e.URL||e.webkitURL||e},n=t.createElementNS("http://www.w3.org/1999/xhtml","a"),a="download"in n,o=/constructor/i.test(e.HTMLElement)||e.safari,i=/CriOS\/[\d]+/.test(navigator.userAgent),s=function(t){(e.setImmediate||e.setTimeout)((function(){throw t}),0)},c=function(e){setTimeout((function(){"string"==typeof e?r().revokeObjectURL(e):e.remove()}),4e4)},l=function(e,t,r){for(var n=(t=[].concat(t)).length;n--;){var a=e["on"+t[n]];if("function"==typeof a)try{a.call(e,r||e)}catch(e){s(e)}}},u=function(e){return/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob([String.fromCharCode(65279),e],{type:e.type}):e},f=function(t,s,f){f||(t=u(t));var h,d=this,p="application/octet-stream"===t.type,g=function(){l(d,"writestart progress write writeend".split(" "))};if(d.readyState=d.INIT,a)return h=r().createObjectURL(t),void setTimeout((function(){n.href=h,n.download=s,function(e){var t=new MouseEvent("click");e.dispatchEvent(t)}(n),g(),c(h),d.readyState=d.DONE}));!function(){if((i||p&&o)&&e.FileReader){var n=new FileReader;return n.onloadend=function(){var t=i?n.result:n.result.replace(/^data:[^;]*;/,"data:attachment/file;");e.open(t,"_blank")||(e.location.href=t),t=void 0,d.readyState=d.DONE,g()},n.readAsDataURL(t),void(d.readyState=d.INIT)}(h||(h=r().createObjectURL(t)),p)?e.location.href=h:e.open(h,"_blank")||(e.location.href=h);d.readyState=d.DONE,g(),c(h)}()},h=f.prototype;return"undefined"!=typeof navigator&&navigator.msSaveOrOpenBlob?function(e,t,r){return t=t||e.name||"download",r||(e=u(e)),navigator.msSaveOrOpenBlob(e,t)}:(h.abort=function(){},h.readyState=h.INIT=0,h.WRITING=1,h.DONE=2,h.error=h.onwritestart=h.onprogress=h.onwrite=h.onabort=h.onerror=h.onwriteend=null,function(e,t,r){return new f(e,t||e.name||"download",r)})}}("undefined"!=typeof self&&self||"undefined"!=typeof window&&window||this.content);"undefined"!=typeof module&&module.exports?module.exports.saveAs=saveAs:"undefined"!=typeof define&&null!==define&&null!==define.amd&&define("FileSaver.js",(function(){return saveAs}));var XLSX={};function make_xlsx_lib(e){e.version="0.18.5";var t,r=1200,n=1252;"undefined"!=typeof cptable?t=cptable:"undefined"!=typeof module&&"undefined"!=typeof require&&(t=void 0);var a=[874,932,936,949,950,1250,1251,1252,1253,1254,1255,1256,1257,1258,1e4],o={0:1252,1:65001,2:65001,77:1e4,128:932,129:949,130:1361,134:936,136:950,161:1253,162:1254,163:1258,177:1255,178:1256,186:1257,204:1251,222:874,238:1250,255:1252,69:6969},i=function(e){-1!=a.indexOf(e)&&(n=o[0]=e)};var s=function(e){r=e,i(e)};function c(){s(1200),i(1252)}function l(e){for(var t=[],r=0,n=e.length;r<n;++r)t[r]=e.charCodeAt(r);return t}function u(e){for(var t=[],r=0;r<e.length>>1;++r)t[r]=String.fromCharCode(e.charCodeAt(2*r+1)+(e.charCodeAt(2*r)<<8));return t.join("")}var f=function(e){var t=e.charCodeAt(0),r=e.charCodeAt(1);return 255==t&&254==r?function(e){for(var t=[],r=0;r<e.length>>1;++r)t[r]=String.fromCharCode(e.charCodeAt(2*r)+(e.charCodeAt(2*r+1)<<8));return t.join("")}(e.slice(2)):254==t&&255==r?u(e.slice(2)):65279==t?e.slice(1):e},h=function(e){return String.fromCharCode(e)},d=function(e){return String.fromCharCode(e)};void 0!==t&&(s=function(e){r=e,i(e)},f=function(e){return 255===e.charCodeAt(0)&&254===e.charCodeAt(1)?t.utils.decode(1200,l(e.slice(2))):e},h=function(e){return 1200===r?String.fromCharCode(e):t.utils.decode(r,[255&e,e>>8])[0]},d=function(e){return t.utils.decode(n,[e])[0]});var p=null,g="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function m(e){for(var t="",r=0,n=0,a=0,o=0,i=0,s=0,c=0,l=0;l<e.length;)o=(r=e.charCodeAt(l++))>>2,i=(3&r)<<4|(n=e.charCodeAt(l++))>>4,s=(15&n)<<2|(a=e.charCodeAt(l++))>>6,c=63&a,isNaN(n)?s=c=64:isNaN(a)&&(c=64),t+=g.charAt(o)+g.charAt(i)+g.charAt(s)+g.charAt(c);return t}function v(e){var t="",r=0,n=0,a=0,o=0,i=0,s=0;e=e.replace(/[^\w\+\/\=]/g,"");for(var c=0;c<e.length;)r=g.indexOf(e.charAt(c++))<<2|(o=g.indexOf(e.charAt(c++)))>>4,t+=String.fromCharCode(r),n=(15&o)<<4|(i=g.indexOf(e.charAt(c++)))>>2,64!==i&&(t+=String.fromCharCode(n)),a=(3&i)<<6|(s=g.indexOf(e.charAt(c++))),64!==s&&(t+=String.fromCharCode(a));return t}var b="undefined"!=typeof Buffer&&!1,y=function(){if("undefined"!=typeof Buffer){var e=!Buffer.from;if(!e)try{Buffer.from("foo","utf8")}catch(t){e=!0}return e?function(e,t){return t?new Buffer(e,t):new Buffer(e)}:Buffer.from.bind(Buffer)}return function(){}}();function w(e){return b?Buffer.alloc?Buffer.alloc(e):new Buffer(e):"undefined"!=typeof Uint8Array?new Uint8Array(e):new Array(e)}function S(e){return b?Buffer.allocUnsafe?Buffer.allocUnsafe(e):new Buffer(e):"undefined"!=typeof Uint8Array?new Uint8Array(e):new Array(e)}var x=function(e){return b?y(e,"binary"):e.split("").map((function(e){return 255&e.charCodeAt(0)}))};function A(e){if("undefined"==typeof ArrayBuffer)return x(e);for(var t=new ArrayBuffer(e.length),r=new Uint8Array(t),n=0;n!=e.length;++n)r[n]=255&e.charCodeAt(n);return t}function k(e){if(Array.isArray(e))return e.map((function(e){return String.fromCharCode(e)})).join("");for(var t=[],r=0;r<e.length;++r)t[r]=String.fromCharCode(e[r]);return t.join("")}function T(e){if("undefined"==typeof ArrayBuffer)throw new Error("Unsupported");if(e instanceof ArrayBuffer)return T(new Uint8Array(e));for(var t=new Array(e.length),r=0;r<e.length;++r)t[r]=e[r];return t}var E=b?function(e){return Buffer.concat(e.map((function(e){return Buffer.isBuffer(e)?e:y(e)})))}:function(e){if("undefined"!=typeof Uint8Array){var t=0,r=0;for(t=0;t<e.length;++t)r+=e[t].length;var n=new Uint8Array(r),a=0;for(t=0,r=0;t<e.length;r+=a,++t)if(a=e[t].length,e[t]instanceof Uint8Array)n.set(e[t],r);else{if("string"==typeof e[t])throw"wtf";n.set(new Uint8Array(e[t]),r)}return n}return[].concat.apply([],e.map((function(e){return Array.isArray(e)?e:[].slice.call(e)})))};var _=/\u0000/g,N=/[\u0001-\u0006]/g;function C(e){for(var t="",r=e.length-1;r>=0;)t+=e.charAt(r--);return t}function O(e,t){var r=""+e;return r.length>=t?r:$e("0",t-r.length)+r}function R(e,t){var r=""+e;return r.length>=t?r:$e(" ",t-r.length)+r}function P(e,t){var r=""+e;return r.length>=t?r:r+$e(" ",t-r.length)}var L=Math.pow(2,32);function I(e,t){return e>L||e<-L?function(e,t){var r=""+Math.round(e);return r.length>=t?r:$e("0",t-r.length)+r}(e,t):function(e,t){var r=""+e;return r.length>=t?r:$e("0",t-r.length)+r}(Math.round(e),t)}function F(e,t){return t=t||0,e.length>=7+t&&103==(32|e.charCodeAt(t))&&101==(32|e.charCodeAt(t+1))&&110==(32|e.charCodeAt(t+2))&&101==(32|e.charCodeAt(t+3))&&114==(32|e.charCodeAt(t+4))&&97==(32|e.charCodeAt(t+5))&&108==(32|e.charCodeAt(t+6))}var D=[["Sun","Sunday"],["Mon","Monday"],["Tue","Tuesday"],["Wed","Wednesday"],["Thu","Thursday"],["Fri","Friday"],["Sat","Saturday"]],M=[["J","Jan","January"],["F","Feb","February"],["M","Mar","March"],["A","Apr","April"],["M","May","May"],["J","Jun","June"],["J","Jul","July"],["A","Aug","August"],["S","Sep","September"],["O","Oct","October"],["N","Nov","November"],["D","Dec","December"]];var j={0:"General",1:"0",2:"0.00",3:"#,##0",4:"#,##0.00",9:"0%",10:"0.00%",11:"0.00E+00",12:"# ?/?",13:"# ??/??",14:"m/d/yy",15:"d-mmm-yy",16:"d-mmm",17:"mmm-yy",18:"h:mm AM/PM",19:"h:mm:ss AM/PM",20:"h:mm",21:"h:mm:ss",22:"m/d/yy h:mm",37:"#,##0 ;(#,##0)",38:"#,##0 ;[Red](#,##0)",39:"#,##0.00;(#,##0.00)",40:"#,##0.00;[Red](#,##0.00)",45:"mm:ss",46:"[h]:mm:ss",47:"mmss.0",48:"##0.0E+0",49:"@",56:'"上午/下午 "hh"時"mm"分"ss"秒 "'},B={5:37,6:38,7:39,8:40,23:0,24:0,25:0,26:0,27:14,28:14,29:14,30:14,31:14,50:14,51:14,52:14,53:14,54:14,55:14,56:14,57:14,58:14,59:1,60:2,61:3,62:4,67:9,68:10,69:12,70:13,71:14,72:14,73:15,74:16,75:17,76:20,77:21,78:22,79:45,80:46,81:47,82:0},W={5:'"$"#,##0_);\\("$"#,##0\\)',63:'"$"#,##0_);\\("$"#,##0\\)',6:'"$"#,##0_);[Red]\\("$"#,##0\\)',64:'"$"#,##0_);[Red]\\("$"#,##0\\)',7:'"$"#,##0.00_);\\("$"#,##0.00\\)',65:'"$"#,##0.00_);\\("$"#,##0.00\\)',8:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',66:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',41:'_(* #,##0_);_(* \\(#,##0\\);_(* "-"_);_(@_)',42:'_("$"* #,##0_);_("$"* \\(#,##0\\);_("$"* "-"_);_(@_)',43:'_(* #,##0.00_);_(* \\(#,##0.00\\);_(* "-"??_);_(@_)',44:'_("$"* #,##0.00_);_("$"* \\(#,##0.00\\);_("$"* "-"??_);_(@_)'};function U(e,t,r){for(var n=e<0?-1:1,a=e*n,o=0,i=1,s=0,c=1,l=0,u=0,f=Math.floor(a);l<t&&(s=(f=Math.floor(a))*i+o,u=f*l+c,!(a-f<5e-8));)a=1/(a-f),o=i,i=s,c=l,l=u;if(u>t&&(l>t?(u=c,s=o):(u=l,s=i)),!r)return[0,n*s,u];var h=Math.floor(n*s/u);return[h,n*s-h*u,u]}function H(e,t,r){if(e>2958465||e<0)return null;var n=0|e,a=Math.floor(86400*(e-n)),o=0,i=[],s={D:n,T:a,u:86400*(e-n)-a,y:0,m:0,d:0,H:0,M:0,S:0,q:0};if(Math.abs(s.u)<1e-6&&(s.u=0),t&&t.date1904&&(n+=1462),s.u>.9999&&(s.u=0,86400==++a&&(s.T=a=0,++n,++s.D)),60===n)i=r?[1317,10,29]:[1900,2,29],o=3;else if(0===n)i=r?[1317,8,29]:[1900,1,0],o=6;else{n>60&&--n;var c=new Date(1900,0,1);c.setDate(c.getDate()+n-1),i=[c.getFullYear(),c.getMonth()+1,c.getDate()],o=c.getDay(),n<60&&(o=(o+6)%7),r&&(o=function(e,t){t[0]-=581;var r=e.getDay();e<60&&(r=(r+6)%7);return r}(c,i))}return s.y=i[0],s.m=i[1],s.d=i[2],s.S=a%60,a=Math.floor(a/60),s.M=a%60,a=Math.floor(a/60),s.H=a,s.q=o,s}var z=new Date(1899,11,31,0,0,0),V=z.getTime(),q=new Date(1900,2,1,0,0,0);function G(e,t){var r=e.getTime();return t?r-=1262304e5:e>=q&&(r+=864e5),(r-(V+6e4*(e.getTimezoneOffset()-z.getTimezoneOffset())))/864e5}function X(e){return-1==e.indexOf(".")?e:e.replace(/(?:\.0*|(\.\d*[1-9])0+)$/,"$1")}function Y(e){var t,r=Math.floor(Math.log(Math.abs(e))*Math.LOG10E);return t=r>=-4&&r<=-1?e.toPrecision(10+r):Math.abs(r)<=9?function(e){var t=e<0?12:11,r=X(e.toFixed(12));return r.length<=t||(r=e.toPrecision(10)).length<=t?r:e.toExponential(5)}(e):10===r?e.toFixed(10).substr(0,12):function(e){var t=X(e.toFixed(11));return t.length>(e<0?12:11)||"0"===t||"-0"===t?e.toPrecision(6):t}(e),X(function(e){return-1==e.indexOf("E")?e:e.replace(/(?:\.0*|(\.\d*[1-9])0+)[Ee]/,"$1E").replace(/(E[+-])(\d)$/,"$10$2")}(t.toUpperCase()))}function K(e,t){switch(typeof e){case"string":return e;case"boolean":return e?"TRUE":"FALSE";case"number":return(0|e)===e?e.toString(10):Y(e);case"undefined":return"";case"object":if(null==e)return"";if(e instanceof Date)return ve(14,G(e,t&&t.date1904),t)}throw new Error("unsupported value in General format: "+e)}function J(e,t,r,n){var a,o="",i=0,s=0,c=r.y,l=0;switch(e){case 98:c=r.y+543;case 121:switch(t.length){case 1:case 2:a=c%100,l=2;break;default:a=c%1e4,l=4}break;case 109:switch(t.length){case 1:case 2:a=r.m,l=t.length;break;case 3:return M[r.m-1][1];case 5:return M[r.m-1][0];default:return M[r.m-1][2]}break;case 100:switch(t.length){case 1:case 2:a=r.d,l=t.length;break;case 3:return D[r.q][0];default:return D[r.q][1]}break;case 104:switch(t.length){case 1:case 2:a=1+(r.H+11)%12,l=t.length;break;default:throw"bad hour format: "+t}break;case 72:switch(t.length){case 1:case 2:a=r.H,l=t.length;break;default:throw"bad hour format: "+t}break;case 77:switch(t.length){case 1:case 2:a=r.M,l=t.length;break;default:throw"bad minute format: "+t}break;case 115:if("s"!=t&&"ss"!=t&&".0"!=t&&".00"!=t&&".000"!=t)throw"bad second format: "+t;return 0!==r.u||"s"!=t&&"ss"!=t?(s=n>=2?3===n?1e3:100:1===n?10:1,(i=Math.round(s*(r.S+r.u)))>=60*s&&(i=0),"s"===t?0===i?"0":""+i/s:(o=O(i,2+n),"ss"===t?o.substr(0,2):"."+o.substr(2,t.length-1))):O(r.S,t.length);case 90:switch(t){case"[h]":case"[hh]":a=24*r.D+r.H;break;case"[m]":case"[mm]":a=60*(24*r.D+r.H)+r.M;break;case"[s]":case"[ss]":a=60*(60*(24*r.D+r.H)+r.M)+Math.round(r.S+r.u);break;default:throw"bad abstime format: "+t}l=3===t.length?1:2;break;case 101:a=c,l=1}return l>0?O(a,l):""}function Z(e){if(e.length<=3)return e;for(var t=e.length%3,r=e.substr(0,t);t!=e.length;t+=3)r+=(r.length>0?",":"")+e.substr(t,3);return r}var Q=/%/g;function ee(e,t){var r,n=e.indexOf("E")-e.indexOf(".")-1;if(e.match(/^#+0.0E\+0$/)){if(0==t)return"0.0E+0";if(t<0)return"-"+ee(e,-t);var a=e.indexOf(".");-1===a&&(a=e.indexOf("E"));var o=Math.floor(Math.log(t)*Math.LOG10E)%a;if(o<0&&(o+=a),-1===(r=(t/Math.pow(10,o)).toPrecision(n+1+(a+o)%a)).indexOf("e")){var i=Math.floor(Math.log(t)*Math.LOG10E);for(-1===r.indexOf(".")?r=r.charAt(0)+"."+r.substr(1)+"E+"+(i-r.length+o):r+="E+"+(i-o);"0."===r.substr(0,2);)r=(r=r.charAt(0)+r.substr(2,a)+"."+r.substr(2+a)).replace(/^0+([1-9])/,"$1").replace(/^0+\./,"0.");r=r.replace(/\+-/,"-")}r=r.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/,(function(e,t,r,n){return t+r+n.substr(0,(a+o)%a)+"."+n.substr(o)+"E"}))}else r=t.toExponential(n);return e.match(/E\+00$/)&&r.match(/e[+-]\d$/)&&(r=r.substr(0,r.length-1)+"0"+r.charAt(r.length-1)),e.match(/E\-/)&&r.match(/e\+/)&&(r=r.replace(/e\+/,"e")),r.replace("e","E")}var te=/# (\?+)( ?)\/( ?)(\d+)/;var re=/^#*0*\.([0#]+)/,ne=/\).*[0#]/,ae=/\(###\) ###\\?-####/;function oe(e){for(var t,r="",n=0;n!=e.length;++n)switch(t=e.charCodeAt(n)){case 35:break;case 63:r+=" ";break;case 48:r+="0";break;default:r+=String.fromCharCode(t)}return r}function ie(e,t){var r=Math.pow(10,t);return""+Math.round(e*r)/r}function se(e,t){var r=e-Math.floor(e),n=Math.pow(10,t);return t<(""+Math.round(r*n)).length?0:Math.round(r*n)}function ce(e,t,r){if(40===e.charCodeAt(0)&&!t.match(ne)){var n=t.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");return r>=0?ce("n",n,r):"("+ce("n",n,-r)+")"}if(44===t.charCodeAt(t.length-1))return function(e,t,r){for(var n=t.length-1;44===t.charCodeAt(n-1);)--n;return fe(e,t.substr(0,n),r/Math.pow(10,3*(t.length-n)))}(e,t,r);if(-1!==t.indexOf("%"))return function(e,t,r){var n=t.replace(Q,""),a=t.length-n.length;return fe(e,n,r*Math.pow(10,2*a))+$e("%",a)}(e,t,r);if(-1!==t.indexOf("E"))return ee(t,r);if(36===t.charCodeAt(0))return"$"+ce(e,t.substr(" "==t.charAt(1)?2:1),r);var a,o,i,s,c=Math.abs(r),l=r<0?"-":"";if(t.match(/^00+$/))return l+I(c,t.length);if(t.match(/^[#?]+$/))return"0"===(a=I(r,0))&&(a=""),a.length>t.length?a:oe(t.substr(0,t.length-a.length))+a;if(o=t.match(te))return function(e,t,r){var n=parseInt(e[4],10),a=Math.round(t*n),o=Math.floor(a/n),i=a-o*n,s=n;return r+(0===o?"":""+o)+" "+(0===i?$e(" ",e[1].length+1+e[4].length):R(i,e[1].length)+e[2]+"/"+e[3]+O(s,e[4].length))}(o,c,l);if(t.match(/^#+0+$/))return l+I(c,t.length-t.indexOf("0"));if(o=t.match(re))return a=ie(r,o[1].length).replace(/^([^\.]+)$/,"$1."+oe(o[1])).replace(/\.$/,"."+oe(o[1])).replace(/\.(\d*)$/,(function(e,t){return"."+t+$e("0",oe(o[1]).length-t.length)})),-1!==t.indexOf("0.")?a:a.replace(/^0\./,".");if(t=t.replace(/^#+([0.])/,"$1"),o=t.match(/^(0*)\.(#*)$/))return l+ie(c,o[2].length).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,o[1].length?"0.":".");if(o=t.match(/^#{1,3},##0(\.?)$/))return l+Z(I(c,0));if(o=t.match(/^#,##0\.([#0]*0)$/))return r<0?"-"+ce(e,t,-r):Z(""+(Math.floor(r)+function(e,t){return t<(""+Math.round((e-Math.floor(e))*Math.pow(10,t))).length?1:0}(r,o[1].length)))+"."+O(se(r,o[1].length),o[1].length);if(o=t.match(/^#,#*,#0/))return ce(e,t.replace(/^#,#*,/,""),r);if(o=t.match(/^([0#]+)(\\?-([0#]+))+$/))return a=C(ce(e,t.replace(/[\\-]/g,""),r)),i=0,C(C(t.replace(/\\/g,"")).replace(/[0#]/g,(function(e){return i<a.length?a.charAt(i++):"0"===e?"0":""})));if(t.match(ae))return"("+(a=ce(e,"##########",r)).substr(0,3)+") "+a.substr(3,3)+"-"+a.substr(6);var u="";if(o=t.match(/^([#0?]+)( ?)\/( ?)([#0?]+)/))return i=Math.min(o[4].length,7),s=U(c,Math.pow(10,i)-1,!1),a=""+l," "==(u=fe("n",o[1],s[1])).charAt(u.length-1)&&(u=u.substr(0,u.length-1)+"0"),a+=u+o[2]+"/"+o[3],(u=P(s[2],i)).length<o[4].length&&(u=oe(o[4].substr(o[4].length-u.length))+u),a+=u;if(o=t.match(/^# ([#0?]+)( ?)\/( ?)([#0?]+)/))return i=Math.min(Math.max(o[1].length,o[4].length),7),l+((s=U(c,Math.pow(10,i)-1,!0))[0]||(s[1]?"":"0"))+" "+(s[1]?R(s[1],i)+o[2]+"/"+o[3]+P(s[2],i):$e(" ",2*i+1+o[2].length+o[3].length));if(o=t.match(/^[#0?]+$/))return a=I(r,0),t.length<=a.length?a:oe(t.substr(0,t.length-a.length))+a;if(o=t.match(/^([#0?]+)\.([#0]+)$/)){a=""+r.toFixed(Math.min(o[2].length,10)).replace(/([^0])0+$/,"$1"),i=a.indexOf(".");var f=t.indexOf(".")-i,h=t.length-a.length-f;return oe(t.substr(0,f)+a+t.substr(t.length-h))}if(o=t.match(/^00,000\.([#0]*0)$/))return i=se(r,o[1].length),r<0?"-"+ce(e,t,-r):Z(function(e){return e<2147483647&&e>-2147483648?""+(e>=0?0|e:e-1|0):""+Math.floor(e)}(r)).replace(/^\d,\d{3}$/,"0$&").replace(/^\d*$/,(function(e){return"00,"+(e.length<3?O(0,3-e.length):"")+e}))+"."+O(i,o[1].length);switch(t){case"###,##0.00":return ce(e,"#,##0.00",r);case"###,###":case"##,###":case"#,###":var d=Z(I(c,0));return"0"!==d?l+d:"";case"###,###.00":return ce(e,"###,##0.00",r).replace(/^0\./,".");case"#,###.00":return ce(e,"#,##0.00",r).replace(/^0\./,".")}throw new Error("unsupported format |"+t+"|")}function le(e,t){var r,n=e.indexOf("E")-e.indexOf(".")-1;if(e.match(/^#+0.0E\+0$/)){if(0==t)return"0.0E+0";if(t<0)return"-"+le(e,-t);var a=e.indexOf(".");-1===a&&(a=e.indexOf("E"));var o=Math.floor(Math.log(t)*Math.LOG10E)%a;if(o<0&&(o+=a),!(r=(t/Math.pow(10,o)).toPrecision(n+1+(a+o)%a)).match(/[Ee]/)){var i=Math.floor(Math.log(t)*Math.LOG10E);-1===r.indexOf(".")?r=r.charAt(0)+"."+r.substr(1)+"E+"+(i-r.length+o):r+="E+"+(i-o),r=r.replace(/\+-/,"-")}r=r.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/,(function(e,t,r,n){return t+r+n.substr(0,(a+o)%a)+"."+n.substr(o)+"E"}))}else r=t.toExponential(n);return e.match(/E\+00$/)&&r.match(/e[+-]\d$/)&&(r=r.substr(0,r.length-1)+"0"+r.charAt(r.length-1)),e.match(/E\-/)&&r.match(/e\+/)&&(r=r.replace(/e\+/,"e")),r.replace("e","E")}function ue(e,t,r){if(40===e.charCodeAt(0)&&!t.match(ne)){var n=t.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");return r>=0?ue("n",n,r):"("+ue("n",n,-r)+")"}if(44===t.charCodeAt(t.length-1))return function(e,t,r){for(var n=t.length-1;44===t.charCodeAt(n-1);)--n;return fe(e,t.substr(0,n),r/Math.pow(10,3*(t.length-n)))}(e,t,r);if(-1!==t.indexOf("%"))return function(e,t,r){var n=t.replace(Q,""),a=t.length-n.length;return fe(e,n,r*Math.pow(10,2*a))+$e("%",a)}(e,t,r);if(-1!==t.indexOf("E"))return le(t,r);if(36===t.charCodeAt(0))return"$"+ue(e,t.substr(" "==t.charAt(1)?2:1),r);var a,o,i,s,c=Math.abs(r),l=r<0?"-":"";if(t.match(/^00+$/))return l+O(c,t.length);if(t.match(/^[#?]+$/))return a=""+r,0===r&&(a=""),a.length>t.length?a:oe(t.substr(0,t.length-a.length))+a;if(o=t.match(te))return function(e,t,r){return r+(0===t?"":""+t)+$e(" ",e[1].length+2+e[4].length)}(o,c,l);if(t.match(/^#+0+$/))return l+O(c,t.length-t.indexOf("0"));if(o=t.match(re))return a=(a=(""+r).replace(/^([^\.]+)$/,"$1."+oe(o[1])).replace(/\.$/,"."+oe(o[1]))).replace(/\.(\d*)$/,(function(e,t){return"."+t+$e("0",oe(o[1]).length-t.length)})),-1!==t.indexOf("0.")?a:a.replace(/^0\./,".");if(t=t.replace(/^#+([0.])/,"$1"),o=t.match(/^(0*)\.(#*)$/))return l+(""+c).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,o[1].length?"0.":".");if(o=t.match(/^#{1,3},##0(\.?)$/))return l+Z(""+c);if(o=t.match(/^#,##0\.([#0]*0)$/))return r<0?"-"+ue(e,t,-r):Z(""+r)+"."+$e("0",o[1].length);if(o=t.match(/^#,#*,#0/))return ue(e,t.replace(/^#,#*,/,""),r);if(o=t.match(/^([0#]+)(\\?-([0#]+))+$/))return a=C(ue(e,t.replace(/[\\-]/g,""),r)),i=0,C(C(t.replace(/\\/g,"")).replace(/[0#]/g,(function(e){return i<a.length?a.charAt(i++):"0"===e?"0":""})));if(t.match(ae))return"("+(a=ue(e,"##########",r)).substr(0,3)+") "+a.substr(3,3)+"-"+a.substr(6);var u="";if(o=t.match(/^([#0?]+)( ?)\/( ?)([#0?]+)/))return i=Math.min(o[4].length,7),s=U(c,Math.pow(10,i)-1,!1),a=""+l," "==(u=fe("n",o[1],s[1])).charAt(u.length-1)&&(u=u.substr(0,u.length-1)+"0"),a+=u+o[2]+"/"+o[3],(u=P(s[2],i)).length<o[4].length&&(u=oe(o[4].substr(o[4].length-u.length))+u),a+=u;if(o=t.match(/^# ([#0?]+)( ?)\/( ?)([#0?]+)/))return i=Math.min(Math.max(o[1].length,o[4].length),7),l+((s=U(c,Math.pow(10,i)-1,!0))[0]||(s[1]?"":"0"))+" "+(s[1]?R(s[1],i)+o[2]+"/"+o[3]+P(s[2],i):$e(" ",2*i+1+o[2].length+o[3].length));if(o=t.match(/^[#0?]+$/))return a=""+r,t.length<=a.length?a:oe(t.substr(0,t.length-a.length))+a;if(o=t.match(/^([#0]+)\.([#0]+)$/)){a=""+r.toFixed(Math.min(o[2].length,10)).replace(/([^0])0+$/,"$1"),i=a.indexOf(".");var f=t.indexOf(".")-i,h=t.length-a.length-f;return oe(t.substr(0,f)+a+t.substr(t.length-h))}if(o=t.match(/^00,000\.([#0]*0)$/))return r<0?"-"+ue(e,t,-r):Z(""+r).replace(/^\d,\d{3}$/,"0$&").replace(/^\d*$/,(function(e){return"00,"+(e.length<3?O(0,3-e.length):"")+e}))+"."+O(0,o[1].length);switch(t){case"###,###":case"##,###":case"#,###":var d=Z(""+c);return"0"!==d?l+d:"";default:if(t.match(/\.[0#?]*$/))return ue(e,t.slice(0,t.lastIndexOf(".")),r)+oe(t.slice(t.lastIndexOf(".")))}throw new Error("unsupported format |"+t+"|")}function fe(e,t,r){return(0|r)===r?ue(e,t,r):ce(e,t,r)}var he=/\[[HhMmSs\u0E0A\u0E19\u0E17]*\]/;function de(e){for(var t=0,r="",n="";t<e.length;)switch(r=e.charAt(t)){case"G":F(e,t)&&(t+=6),t++;break;case'"':for(;34!==e.charCodeAt(++t)&&t<e.length;);++t;break;case"\\":case"_":t+=2;break;case"@":++t;break;case"B":case"b":if("1"===e.charAt(t+1)||"2"===e.charAt(t+1))return!0;case"M":case"D":case"Y":case"H":case"S":case"E":case"m":case"d":case"y":case"h":case"s":case"e":case"g":return!0;case"A":case"a":case"上":if("A/P"===e.substr(t,3).toUpperCase())return!0;if("AM/PM"===e.substr(t,5).toUpperCase())return!0;if("上午/下午"===e.substr(t,5).toUpperCase())return!0;++t;break;case"[":for(n=r;"]"!==e.charAt(t++)&&t<e.length;)n+=e.charAt(t);if(n.match(he))return!0;break;case".":case"0":case"#":for(;t<e.length&&("0#?.,E+-%".indexOf(r=e.charAt(++t))>-1||"\\"==r&&"-"==e.charAt(t+1)&&"0#".indexOf(e.charAt(t+2))>-1););break;case"?":for(;e.charAt(++t)===r;);break;case"*":++t," "!=e.charAt(t)&&"*"!=e.charAt(t)||++t;break;case"(":case")":++t;break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":for(;t<e.length&&"0123456789".indexOf(e.charAt(++t))>-1;);break;default:++t}return!1}var pe=/\[(=|>[=]?|<[>=]?)(-?\d+(?:\.\d*)?)\]/;function ge(e,t){if(null==t)return!1;var r=parseFloat(t[2]);switch(t[1]){case"=":if(e==r)return!0;break;case">":if(e>r)return!0;break;case"<":if(e<r)return!0;break;case"<>":if(e!=r)return!0;break;case">=":if(e>=r)return!0;break;case"<=":if(e<=r)return!0}return!1}function me(e,t){var r=function(e){for(var t=[],r=!1,n=0,a=0;n<e.length;++n)switch(e.charCodeAt(n)){case 34:r=!r;break;case 95:case 42:case 92:++n;break;case 59:t[t.length]=e.substr(a,n-a),a=n+1}if(t[t.length]=e.substr(a),!0===r)throw new Error("Format |"+e+"| unterminated string ");return t}(e),n=r.length,a=r[n-1].indexOf("@");if(n<4&&a>-1&&--n,r.length>4)throw new Error("cannot find right format for |"+r.join("|")+"|");if("number"!=typeof t)return[4,4===r.length||a>-1?r[r.length-1]:"@"];switch(r.length){case 1:r=a>-1?["General","General","General",r[0]]:[r[0],r[0],r[0],"@"];break;case 2:r=a>-1?[r[0],r[0],r[0],r[1]]:[r[0],r[1],r[0],"@"];break;case 3:r=a>-1?[r[0],r[1],r[0],r[2]]:[r[0],r[1],r[2],"@"]}var o=t>0?r[0]:t<0?r[1]:r[2];if(-1===r[0].indexOf("[")&&-1===r[1].indexOf("["))return[n,o];if(null!=r[0].match(/\[[=<>]/)||null!=r[1].match(/\[[=<>]/)){var i=r[0].match(pe),s=r[1].match(pe);return ge(t,i)?[n,r[0]]:ge(t,s)?[n,r[1]]:[n,r[null!=i&&null!=s?2:1]]}return[n,o]}function ve(e,t,r){null==r&&(r={});var n="";switch(typeof e){case"string":n="m/d/yy"==e&&r.dateNF?r.dateNF:e;break;case"number":null==(n=14==e&&r.dateNF?r.dateNF:(null!=r.table?r.table:j)[e])&&(n=r.table&&r.table[B[e]]||j[B[e]]),null==n&&(n=W[e]||"General")}if(F(n,0))return K(t,r);t instanceof Date&&(t=G(t,r.date1904));var a=me(n,t);if(F(a[1]))return K(t,r);if(!0===t)t="TRUE";else if(!1===t)t="FALSE";else if(""===t||null==t)return"";return function(e,t,r,n){for(var a,o,i,s=[],c="",l=0,u="",f="t",h="H";l<e.length;)switch(u=e.charAt(l)){case"G":if(!F(e,l))throw new Error("unrecognized character "+u+" in "+e);s[s.length]={t:"G",v:"General"},l+=7;break;case'"':for(c="";34!==(i=e.charCodeAt(++l))&&l<e.length;)c+=String.fromCharCode(i);s[s.length]={t:"t",v:c},++l;break;case"\\":var d=e.charAt(++l),p="("===d||")"===d?d:"t";s[s.length]={t:p,v:d},++l;break;case"_":s[s.length]={t:"t",v:" "},l+=2;break;case"@":s[s.length]={t:"T",v:t},++l;break;case"B":case"b":if("1"===e.charAt(l+1)||"2"===e.charAt(l+1)){if(null==a&&null==(a=H(t,r,"2"===e.charAt(l+1))))return"";s[s.length]={t:"X",v:e.substr(l,2)},f=u,l+=2;break}case"M":case"D":case"Y":case"H":case"S":case"E":u=u.toLowerCase();case"m":case"d":case"y":case"h":case"s":case"e":case"g":if(t<0)return"";if(null==a&&null==(a=H(t,r)))return"";for(c=u;++l<e.length&&e.charAt(l).toLowerCase()===u;)c+=u;"m"===u&&"h"===f.toLowerCase()&&(u="M"),"h"===u&&(u=h),s[s.length]={t:u,v:c},f=u;break;case"A":case"a":case"上":var g={t:u,v:u};if(null==a&&(a=H(t,r)),"A/P"===e.substr(l,3).toUpperCase()?(null!=a&&(g.v=a.H>=12?"P":"A"),g.t="T",h="h",l+=3):"AM/PM"===e.substr(l,5).toUpperCase()?(null!=a&&(g.v=a.H>=12?"PM":"AM"),g.t="T",l+=5,h="h"):"上午/下午"===e.substr(l,5).toUpperCase()?(null!=a&&(g.v=a.H>=12?"下午":"上午"),g.t="T",l+=5,h="h"):(g.t="t",++l),null==a&&"T"===g.t)return"";s[s.length]=g,f=u;break;case"[":for(c=u;"]"!==e.charAt(l++)&&l<e.length;)c+=e.charAt(l);if("]"!==c.slice(-1))throw'unterminated "[" block: |'+c+"|";if(c.match(he)){if(null==a&&null==(a=H(t,r)))return"";s[s.length]={t:"Z",v:c.toLowerCase()},f=c.charAt(1)}else c.indexOf("$")>-1&&(c=(c.match(/\$([^-\[\]]*)/)||[])[1]||"$",de(e)||(s[s.length]={t:"t",v:c}));break;case".":if(null!=a){for(c=u;++l<e.length&&"0"===(u=e.charAt(l));)c+=u;s[s.length]={t:"s",v:c};break}case"0":case"#":for(c=u;++l<e.length&&"0#?.,E+-%".indexOf(u=e.charAt(l))>-1;)c+=u;s[s.length]={t:"n",v:c};break;case"?":for(c=u;e.charAt(++l)===u;)c+=u;s[s.length]={t:u,v:c},f=u;break;case"*":++l," "!=e.charAt(l)&&"*"!=e.charAt(l)||++l;break;case"(":case")":s[s.length]={t:1===n?"t":u,v:u},++l;break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":for(c=u;l<e.length&&"0123456789".indexOf(e.charAt(++l))>-1;)c+=e.charAt(l);s[s.length]={t:"D",v:c};break;case" ":s[s.length]={t:u,v:u},++l;break;case"$":s[s.length]={t:"t",v:"$"},++l;break;default:if(-1===",$-+/():!^&'~{}<>=€acfijklopqrtuvwxzP".indexOf(u))throw new Error("unrecognized character "+u+" in "+e);s[s.length]={t:"t",v:u},++l}var m,v=0,b=0;for(l=s.length-1,f="t";l>=0;--l)switch(s[l].t){case"h":case"H":s[l].t=h,f="h",v<1&&(v=1);break;case"s":(m=s[l].v.match(/\.0+$/))&&(b=Math.max(b,m[0].length-1)),v<3&&(v=3);case"d":case"y":case"M":case"e":f=s[l].t;break;case"m":"s"===f&&(s[l].t="M",v<2&&(v=2));break;case"X":break;case"Z":v<1&&s[l].v.match(/[Hh]/)&&(v=1),v<2&&s[l].v.match(/[Mm]/)&&(v=2),v<3&&s[l].v.match(/[Ss]/)&&(v=3)}switch(v){case 0:break;case 1:a.u>=.5&&(a.u=0,++a.S),a.S>=60&&(a.S=0,++a.M),a.M>=60&&(a.M=0,++a.H);break;case 2:a.u>=.5&&(a.u=0,++a.S),a.S>=60&&(a.S=0,++a.M)}var y,w="";for(l=0;l<s.length;++l)switch(s[l].t){case"t":case"T":case" ":case"D":break;case"X":s[l].v="",s[l].t=";";break;case"d":case"m":case"y":case"h":case"H":case"M":case"s":case"e":case"b":case"Z":s[l].v=J(s[l].t.charCodeAt(0),s[l].v,a,b),s[l].t="t";break;case"n":case"?":for(y=l+1;null!=s[y]&&("?"===(u=s[y].t)||"D"===u||(" "===u||"t"===u)&&null!=s[y+1]&&("?"===s[y+1].t||"t"===s[y+1].t&&"/"===s[y+1].v)||"("===s[l].t&&(" "===u||"n"===u||")"===u)||"t"===u&&("/"===s[y].v||" "===s[y].v&&null!=s[y+1]&&"?"==s[y+1].t));)s[l].v+=s[y].v,s[y]={v:"",t:";"},++y;w+=s[l].v,l=y-1;break;case"G":s[l].t="t",s[l].v=K(t,r)}var S,x,A="";if(w.length>0){40==w.charCodeAt(0)?(S=t<0&&45===w.charCodeAt(0)?-t:t,x=fe("n",w,S)):(x=fe("n",w,S=t<0&&n>1?-t:t),S<0&&s[0]&&"t"==s[0].t&&(x=x.substr(1),s[0].v="-"+s[0].v)),y=x.length-1;var k=s.length;for(l=0;l<s.length;++l)if(null!=s[l]&&"t"!=s[l].t&&s[l].v.indexOf(".")>-1){k=l;break}var T=s.length;if(k===s.length&&-1===x.indexOf("E")){for(l=s.length-1;l>=0;--l)null!=s[l]&&-1!=="n?".indexOf(s[l].t)&&(y>=s[l].v.length-1?(y-=s[l].v.length,s[l].v=x.substr(y+1,s[l].v.length)):y<0?s[l].v="":(s[l].v=x.substr(0,y+1),y=-1),s[l].t="t",T=l);y>=0&&T<s.length&&(s[T].v=x.substr(0,y+1)+s[T].v)}else if(k!==s.length&&-1===x.indexOf("E")){for(y=x.indexOf(".")-1,l=k;l>=0;--l)if(null!=s[l]&&-1!=="n?".indexOf(s[l].t)){for(o=s[l].v.indexOf(".")>-1&&l===k?s[l].v.indexOf(".")-1:s[l].v.length-1,A=s[l].v.substr(o+1);o>=0;--o)y>=0&&("0"===s[l].v.charAt(o)||"#"===s[l].v.charAt(o))&&(A=x.charAt(y--)+A);s[l].v=A,s[l].t="t",T=l}for(y>=0&&T<s.length&&(s[T].v=x.substr(0,y+1)+s[T].v),y=x.indexOf(".")+1,l=k;l<s.length;++l)if(null!=s[l]&&(-1!=="n?(".indexOf(s[l].t)||l===k)){for(o=s[l].v.indexOf(".")>-1&&l===k?s[l].v.indexOf(".")+1:0,A=s[l].v.substr(0,o);o<s[l].v.length;++o)y<x.length&&(A+=x.charAt(y++));s[l].v=A,s[l].t="t",T=l}}}for(l=0;l<s.length;++l)null!=s[l]&&"n?".indexOf(s[l].t)>-1&&(S=n>1&&t<0&&l>0&&"-"===s[l-1].v?-t:t,s[l].v=fe(s[l].t,s[l].v,S),s[l].t="t");var E="";for(l=0;l!==s.length;++l)null!=s[l]&&(E+=s[l].v);return E}(a[1],t,r,a[0])}function be(e,t){if("number"!=typeof t){t=+t||-1;for(var r=0;r<392;++r)if(null!=j[r]){if(j[r]==e){t=r;break}}else t<0&&(t=r);t<0&&(t=391)}return j[t]=e,t}function ye(e){for(var t=0;392!=t;++t)void 0!==e[t]&&be(e[t],t)}function we(){j=function(e){return e||(e={}),e[0]="General",e[1]="0",e[2]="0.00",e[3]="#,##0",e[4]="#,##0.00",e[9]="0%",e[10]="0.00%",e[11]="0.00E+00",e[12]="# ?/?",e[13]="# ??/??",e[14]="m/d/yy",e[15]="d-mmm-yy",e[16]="d-mmm",e[17]="mmm-yy",e[18]="h:mm AM/PM",e[19]="h:mm:ss AM/PM",e[20]="h:mm",e[21]="h:mm:ss",e[22]="m/d/yy h:mm",e[37]="#,##0 ;(#,##0)",e[38]="#,##0 ;[Red](#,##0)",e[39]="#,##0.00;(#,##0.00)",e[40]="#,##0.00;[Red](#,##0.00)",e[45]="mm:ss",e[46]="[h]:mm:ss",e[47]="mmss.0",e[48]="##0.0E+0",e[49]="@",e[56]='"上午/下午 "hh"時"mm"分"ss"秒 "',e}()}var Se={format:ve,load:be,_table:j,load_table:ye,parse_date_code:H,is_date:de,get_table:function(){return Se._table=j}},xe={5:'"$"#,##0_);\\("$"#,##0\\)',6:'"$"#,##0_);[Red]\\("$"#,##0\\)',7:'"$"#,##0.00_);\\("$"#,##0.00\\)',8:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',23:"General",24:"General",25:"General",26:"General",27:"m/d/yy",28:"m/d/yy",29:"m/d/yy",30:"m/d/yy",31:"m/d/yy",32:"h:mm:ss",33:"h:mm:ss",34:"h:mm:ss",35:"h:mm:ss",36:"m/d/yy",41:'_(* #,##0_);_(* (#,##0);_(* "-"_);_(@_)',42:'_("$"* #,##0_);_("$"* (#,##0);_("$"* "-"_);_(@_)',43:'_(* #,##0.00_);_(* (#,##0.00);_(* "-"??_);_(@_)',44:'_("$"* #,##0.00_);_("$"* (#,##0.00);_("$"* "-"??_);_(@_)',50:"m/d/yy",51:"m/d/yy",52:"m/d/yy",53:"m/d/yy",54:"m/d/yy",55:"m/d/yy",56:"m/d/yy",57:"m/d/yy",58:"m/d/yy",59:"0",60:"0.00",61:"#,##0",62:"#,##0.00",63:'"$"#,##0_);\\("$"#,##0\\)',64:'"$"#,##0_);[Red]\\("$"#,##0\\)',65:'"$"#,##0.00_);\\("$"#,##0.00\\)',66:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',67:"0%",68:"0.00%",69:"# ?/?",70:"# ??/??",71:"m/d/yy",72:"m/d/yy",73:"d-mmm-yy",74:"d-mmm",75:"mmm-yy",76:"h:mm",77:"h:mm:ss",78:"m/d/yy h:mm",79:"mm:ss",80:"[h]:mm:ss",81:"mmss.0"},Ae=/[dD]+|[mM]+|[yYeE]+|[Hh]+|[Ss]+/g;var ke,Te=function(){var e={};e.version="1.2.0";var t=function(){for(var e=0,t=new Array(256),r=0;256!=r;++r)e=1&(e=1&(e=1&(e=1&(e=1&(e=1&(e=1&(e=1&(e=r)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1)?-306674912^e>>>1:e>>>1,t[r]=e;return"undefined"!=typeof Int32Array?new Int32Array(t):t}();var r=function(e){var t=0,r=0,n=0,a="undefined"!=typeof Int32Array?new Int32Array(4096):new Array(4096);for(n=0;256!=n;++n)a[n]=e[n];for(n=0;256!=n;++n)for(r=e[n],t=256+n;t<4096;t+=256)r=a[t]=r>>>8^e[255&r];var o=[];for(n=1;16!=n;++n)o[n-1]="undefined"!=typeof Int32Array?a.subarray(256*n,256*n+256):a.slice(256*n,256*n+256);return o}(t),n=r[0],a=r[1],o=r[2],i=r[3],s=r[4],c=r[5],l=r[6],u=r[7],f=r[8],h=r[9],d=r[10],p=r[11],g=r[12],m=r[13],v=r[14];return e.table=t,e.bstr=function(e,r){for(var n=-1^r,a=0,o=e.length;a<o;)n=n>>>8^t[255&(n^e.charCodeAt(a++))];return~n},e.buf=function(e,r){for(var b=-1^r,y=e.length-15,w=0;w<y;)b=v[e[w++]^255&b]^m[e[w++]^b>>8&255]^g[e[w++]^b>>16&255]^p[e[w++]^b>>>24]^d[e[w++]]^h[e[w++]]^f[e[w++]]^u[e[w++]]^l[e[w++]]^c[e[w++]]^s[e[w++]]^i[e[w++]]^o[e[w++]]^a[e[w++]]^n[e[w++]]^t[e[w++]];for(y+=15;w<y;)b=b>>>8^t[255&(b^e[w++])];return~b},e.str=function(e,r){for(var n=-1^r,a=0,o=e.length,i=0,s=0;a<o;)(i=e.charCodeAt(a++))<128?n=n>>>8^t[255&(n^i)]:i<2048?n=(n=n>>>8^t[255&(n^(192|i>>6&31))])>>>8^t[255&(n^(128|63&i))]:i>=55296&&i<57344?(i=64+(1023&i),s=1023&e.charCodeAt(a++),n=(n=(n=(n=n>>>8^t[255&(n^(240|i>>8&7))])>>>8^t[255&(n^(128|i>>2&63))])>>>8^t[255&(n^(128|s>>6&15|(3&i)<<4))])>>>8^t[255&(n^(128|63&s))]):n=(n=(n=n>>>8^t[255&(n^(224|i>>12&15))])>>>8^t[255&(n^(128|i>>6&63))])>>>8^t[255&(n^(128|63&i))];return~n},e}(),Ee=function(){var e,t={};function r(e){if("/"==e.charAt(e.length-1))return-1===e.slice(0,-1).indexOf("/")?e:r(e.slice(0,-1));var t=e.lastIndexOf("/");return-1===t?e:e.slice(0,t+1)}function n(e){if("/"==e.charAt(e.length-1))return n(e.slice(0,-1));var t=e.lastIndexOf("/");return-1===t?e:e.slice(t+1)}function a(e,t){"string"==typeof t&&(t=new Date(t));var r=t.getHours();r=(r=r<<6|t.getMinutes())<<5|t.getSeconds()>>>1,e._W(2,r);var n=t.getFullYear()-1980;n=(n=n<<4|t.getMonth()+1)<<5|t.getDate(),e._W(2,n)}function o(e){Cr(e,0);for(var t={},r=0;e.l<=e.length-4;){var n=e._R(2),a=e._R(2),o=e.l+a,i={};if(21589===n)1&(r=e._R(1))&&(i.mtime=e._R(4)),a>5&&(2&r&&(i.atime=e._R(4)),4&r&&(i.ctime=e._R(4))),i.mtime&&(i.mt=new Date(1e3*i.mtime));e.l=o,t[n]=i}return t}function i(){return e||(e=void 0)}function s(e,t){if(80==e[0]&&75==e[1])return pe(e,t);if(109==(32|e[0])&&105==(32|e[1]))return xe(e,t);if(e.length<512)throw new Error("CFB file size "+e.length+" < 512");var r,n,a,o,i,s,c=512,u=[],h=e.slice(0,512);Cr(h,0);var d=function(e){if(80==e[e.l]&&75==e[e.l+1])return[0,0];e.chk(C,"Header Signature: "),e.l+=16;var t=e._R(2,"u");return[e._R(2,"u"),t]}(h);switch(r=d[0]){case 3:c=512;break;case 4:c=4096;break;case 0:if(0==d[1])return pe(e,t);default:throw new Error("Major Version: Expected 3 or 4 saw "+r)}512!==c&&Cr(h=e.slice(0,c),28);var p=e.slice(0,c);!function(e,t){var r=9;switch(e.l+=2,r=e._R(2)){case 9:if(3!=t)throw new Error("Sector Shift: Expected 9 saw "+r);break;case 12:if(4!=t)throw new Error("Sector Shift: Expected 12 saw "+r);break;default:throw new Error("Sector Shift: Expected 9 or 12 saw "+r)}e.chk("0600","Mini Sector Shift: "),e.chk("000000000000","Reserved: ")}(h,r);var g=h._R(4,"i");if(3===r&&0!==g)throw new Error("# Directory Sectors: Expected 0 saw "+g);h.l+=4,o=h._R(4,"i"),h.l+=4,h.chk("00100000","Mini Stream Cutoff Size: "),i=h._R(4,"i"),n=h._R(4,"i"),s=h._R(4,"i"),a=h._R(4,"i");for(var m=-1,v=0;v<109&&!((m=h._R(4,"i"))<0);++v)u[v]=m;var b=function(e,t){for(var r=Math.ceil(e.length/t)-1,n=[],a=1;a<r;++a)n[a-1]=e.slice(a*t,(a+1)*t);return n[r-1]=e.slice(r*t),n}(e,c);l(s,a,b,c,u);var y=function(e,t,r,n){var a=e.length,o=[],i=[],s=[],c=[],l=n-1,u=0,f=0,h=0,d=0;for(u=0;u<a;++u)if(s=[],(h=u+t)>=a&&(h-=a),!i[h]){c=[];var p=[];for(f=h;f>=0;){p[f]=!0,i[f]=!0,s[s.length]=f,c.push(e[f]);var g=r[Math.floor(4*f/n)];if(n<4+(d=4*f&l))throw new Error("FAT boundary crossed: "+f+" 4 "+n);if(!e[g])break;if(p[f=Sr(e[g],d)])break}o[h]={nodes:s,data:Jt([c])}}return o}(b,o,u,c);y[o].name="!Directory",n>0&&i!==T&&(y[i].name="!MiniFAT"),y[u[0]].name="!FAT",y.fat_addrs=u,y.ssz=c;var w=[],S=[],x=[];f(o,y,b,w,n,{},S,i),function(e,t,r){for(var n=0,a=0,o=0,i=0,s=0,c=r.length,l=[],u=[];n<c;++n)l[n]=u[n]=n,t[n]=r[n];for(;s<u.length;++s)a=e[n=u[s]].L,o=e[n].R,i=e[n].C,l[n]===n&&(-1!==a&&l[a]!==a&&(l[n]=l[a]),-1!==o&&l[o]!==o&&(l[n]=l[o])),-1!==i&&(l[i]=n),-1!==a&&n!=l[n]&&(l[a]=l[n],u.lastIndexOf(a)<s&&u.push(a)),-1!==o&&n!=l[n]&&(l[o]=l[n],u.lastIndexOf(o)<s&&u.push(o));for(n=1;n<c;++n)l[n]===n&&(-1!==o&&l[o]!==o?l[n]=l[o]:-1!==a&&l[a]!==a&&(l[n]=l[a]));for(n=1;n<c;++n)if(0!==e[n].type){if((s=n)!=l[s])do{s=l[s],t[n]=t[s]+"/"+t[n]}while(0!==s&&-1!==l[s]&&s!=l[s]);l[n]=-1}for(t[0]+="/",n=1;n<c;++n)2!==e[n].type&&(t[n]+="/")}(S,x,w),w.shift();var A={FileIndex:S,FullPaths:x};return t&&t.raw&&(A.raw={header:p,sectors:b}),A}function c(e,t,r){for(var n=e.start,a=e.size,o=[],i=n;r&&a>0&&i>=0;)o.push(t.slice(i*k,i*k+k)),a-=k,i=Sr(r,4*i);return 0===o.length?Rr(0):E(o).slice(0,e.size)}function l(e,t,r,n,a){var o=T;if(e===T){if(0!==t)throw new Error("DIFAT chain shorter than expected")}else if(-1!==e){var i=r[e],s=(n>>>2)-1;if(!i)return;for(var c=0;c<s&&(o=Sr(i,4*c))!==T;++c)a.push(o);l(Sr(i,n-4),t-1,r,n,a)}}function u(e,t,r,n,a){var o=[],i=[];a||(a=[]);var s=n-1,c=0,l=0;for(c=t;c>=0;){a[c]=!0,o[o.length]=c,i.push(e[c]);var u=r[Math.floor(4*c/n)];if(n<4+(l=4*c&s))throw new Error("FAT boundary crossed: "+c+" 4 "+n);if(!e[u])break;c=Sr(e[u],l)}return{nodes:o,data:Jt([i])}}function f(e,t,r,n,a,o,i,s){for(var l,f=0,d=n.length?2:0,p=t[e].data,g=0,m=0;g<p.length;g+=128){var v=p.slice(g,g+128);Cr(v,64),m=v._R(2),l=Qt(v,0,m-d),n.push(l);var b={name:l,type:v._R(1),color:v._R(1),L:v._R(4,"i"),R:v._R(4,"i"),C:v._R(4,"i"),clsid:v._R(16),state:v._R(4,"i"),start:0,size:0};0!==v._R(2)+v._R(2)+v._R(2)+v._R(2)&&(b.ct=h(v,v.l-8)),0!==v._R(2)+v._R(2)+v._R(2)+v._R(2)&&(b.mt=h(v,v.l-8)),b.start=v._R(4,"i"),b.size=v._R(4,"i"),b.size<0&&b.start<0&&(b.size=b.type=0,b.start=T,b.name=""),5===b.type?(f=b.start,a>0&&f!==T&&(t[f].name="!StreamData")):b.size>=4096?(b.storage="fat",void 0===t[b.start]&&(t[b.start]=u(r,b.start,t.fat_addrs,t.ssz)),t[b.start].name=b.name,b.content=t[b.start].data.slice(0,b.size)):(b.storage="minifat",b.size<0?b.size=0:f!==T&&b.start!==T&&t[f]&&(b.content=c(b,t[f].data,(t[s]||{}).data))),b.content&&Cr(b.content,0),o[l]=b,i.push(b)}}function h(e,t){return new Date(1e3*(wr(e,t+4)/1e7*Math.pow(2,32)+wr(e,t)/1e7-11644473600))}function d(e,t){var r=t||{},n=r.root||"Root Entry";if(e.FullPaths||(e.FullPaths=[]),e.FileIndex||(e.FileIndex=[]),e.FullPaths.length!==e.FileIndex.length)throw new Error("inconsistent CFB structure");0===e.FullPaths.length&&(e.FullPaths[0]=n+"/",e.FileIndex[0]={name:n,type:5}),r.CLSID&&(e.FileIndex[0].clsid=r.CLSID),function(e){var t="Sh33tJ5";if(Ee.find(e,"/"+t))return;var r=Rr(4);r[0]=55,r[1]=r[3]=50,r[2]=54,e.FileIndex.push({name:t,type:2,content:r,size:4,L:69,R:69,C:69}),e.FullPaths.push(e.FullPaths[0]+t),p(e)}(e)}function p(e,t){d(e);for(var a=!1,o=!1,i=e.FullPaths.length-1;i>=0;--i){var s=e.FileIndex[i];switch(s.type){case 0:o?a=!0:(e.FileIndex.pop(),e.FullPaths.pop());break;case 1:case 2:case 5:o=!0,isNaN(s.R*s.L*s.C)&&(a=!0),s.R>-1&&s.L>-1&&s.R==s.L&&(a=!0);break;default:a=!0}}if(a||t){var c=new Date(1987,1,19),l=0,u=Object.create?Object.create(null):{},f=[];for(i=0;i<e.FullPaths.length;++i)u[e.FullPaths[i]]=!0,0!==e.FileIndex[i].type&&f.push([e.FullPaths[i],e.FileIndex[i]]);for(i=0;i<f.length;++i){var h=r(f[i][0]);(o=u[h])||(f.push([h,{name:n(h).replace("/",""),type:1,clsid:R,ct:c,mt:c,content:null}]),u[h]=!0)}for(f.sort((function(e,t){return function(e,t){for(var r=e.split("/"),n=t.split("/"),a=0,o=0,i=Math.min(r.length,n.length);a<i;++a){if(o=r[a].length-n[a].length)return o;if(r[a]!=n[a])return r[a]<n[a]?-1:1}return r.length-n.length}(e[0],t[0])})),e.FullPaths=[],e.FileIndex=[],i=0;i<f.length;++i)e.FullPaths[i]=f[i][0],e.FileIndex[i]=f[i][1];for(i=0;i<f.length;++i){var p=e.FileIndex[i],g=e.FullPaths[i];if(p.name=n(g).replace("/",""),p.L=p.R=p.C=-(p.color=1),p.size=p.content?p.content.length:0,p.start=0,p.clsid=p.clsid||R,0===i)p.C=f.length>1?1:-1,p.size=0,p.type=5;else if("/"==g.slice(-1)){for(l=i+1;l<f.length&&r(e.FullPaths[l])!=g;++l);for(p.C=l>=f.length?-1:l,l=i+1;l<f.length&&r(e.FullPaths[l])!=r(g);++l);p.R=l>=f.length?-1:l,p.type=1}else r(e.FullPaths[i+1]||"")==r(g)&&(p.R=i+1),p.type=2}}}function g(e,t){var r=t||{};if("mad"==r.fileType)return function(e,t){for(var r=t||{},n=r.boundary||"SheetJS",a=["MIME-Version: 1.0",'Content-Type: multipart/related; boundary="'+(n="------="+n).slice(2)+'"',"","",""],o=e.FullPaths[0],i=o,s=e.FileIndex[0],c=1;c<e.FullPaths.length;++c)if(i=e.FullPaths[c].slice(o.length),(s=e.FileIndex[c]).size&&s.content&&"Sh33tJ5"!=i){i=i.replace(/[\x00-\x08\x0B\x0C\x0E-\x1F\x7E-\xFF]/g,(function(e){return"_x"+e.charCodeAt(0).toString(16)+"_"})).replace(/[\u0080-\uFFFF]/g,(function(e){return"_u"+e.charCodeAt(0).toString(16)+"_"}));for(var l=s.content,u=b&&Buffer.isBuffer(l)?l.toString("binary"):L(l),f=0,h=Math.min(1024,u.length),d=0,p=0;p<=h;++p)(d=u.charCodeAt(p))>=32&&d<128&&++f;var g=f>=4*h/5;a.push(n),a.push("Content-Location: "+(r.root||"file:///C:/SheetJS/")+i),a.push("Content-Transfer-Encoding: "+(g?"quoted-printable":"base64")),a.push("Content-Type: "+be(s,i)),a.push(""),a.push(g?we(u):ye(u))}return a.push(n+"--\r\n"),a.join("\r\n")}(e,r);if(p(e),"zip"===r.fileType)return me(e,r);var n=function(e){for(var t=0,r=0,n=0;n<e.FileIndex.length;++n){var a=e.FileIndex[n];if(a.content){var o=a.content.length;o>0&&(o<4096?t+=o+63>>6:r+=o+511>>9)}}for(var i=e.FullPaths.length+3>>2,s=t+127>>7,c=(t+7>>3)+r+i+s,l=c+127>>7,u=l<=109?0:Math.ceil((l-109)/127);c+l+u+127>>7>l;)u=++l<=109?0:Math.ceil((l-109)/127);var f=[1,u,l,s,i,r,t,0];return e.FileIndex[0].size=t<<6,f[7]=(e.FileIndex[0].start=f[0]+f[1]+f[2]+f[3]+f[4]+f[5])+(f[6]+7>>3),f}(e),a=Rr(n[7]<<9),o=0,i=0;for(o=0;o<8;++o)a._W(1,O[o]);for(o=0;o<8;++o)a._W(2,0);for(a._W(2,62),a._W(2,3),a._W(2,65534),a._W(2,9),a._W(2,6),o=0;o<3;++o)a._W(2,0);for(a._W(4,0),a._W(4,n[2]),a._W(4,n[0]+n[1]+n[2]+n[3]-1),a._W(4,0),a._W(4,4096),a._W(4,n[3]?n[0]+n[1]+n[2]-1:T),a._W(4,n[3]),a._W(-4,n[1]?n[0]-1:T),a._W(4,n[1]),o=0;o<109;++o)a._W(-4,o<n[2]?n[1]+o:-1);if(n[1])for(i=0;i<n[1];++i){for(;o<236+127*i;++o)a._W(-4,o<n[2]?n[1]+o:-1);a._W(-4,i===n[1]-1?T:i+1)}var s=function(e){for(i+=e;o<i-1;++o)a._W(-4,o+1);e&&(++o,a._W(-4,T))};for(i=o=0,i+=n[1];o<i;++o)a._W(-4,P.DIFSECT);for(i+=n[2];o<i;++o)a._W(-4,P.FATSECT);s(n[3]),s(n[4]);for(var c=0,l=0,u=e.FileIndex[0];c<e.FileIndex.length;++c)(u=e.FileIndex[c]).content&&((l=u.content.length)<4096||(u.start=i,s(l+511>>9)));for(s(n[6]+7>>3);511&a.l;)a._W(-4,P.ENDOFCHAIN);for(i=o=0,c=0;c<e.FileIndex.length;++c)(u=e.FileIndex[c]).content&&(!(l=u.content.length)||l>=4096||(u.start=i,s(l+63>>6)));for(;511&a.l;)a._W(-4,P.ENDOFCHAIN);for(o=0;o<n[4]<<2;++o){var f=e.FullPaths[o];if(f&&0!==f.length){u=e.FileIndex[o],0===o&&(u.start=u.size?u.start-1:T);var h=0===o&&r.root||u.name;if(l=2*(h.length+1),a._W(64,h,"utf16le"),a._W(2,l),a._W(1,u.type),a._W(1,u.color),a._W(-4,u.L),a._W(-4,u.R),a._W(-4,u.C),u.clsid)a._W(16,u.clsid,"hex");else for(c=0;c<4;++c)a._W(4,0);a._W(4,u.state||0),a._W(4,0),a._W(4,0),a._W(4,0),a._W(4,0),a._W(4,u.start),a._W(4,u.size),a._W(4,0)}else{for(c=0;c<17;++c)a._W(4,0);for(c=0;c<3;++c)a._W(4,-1);for(c=0;c<12;++c)a._W(4,0)}}for(o=1;o<e.FileIndex.length;++o)if((u=e.FileIndex[o]).size>=4096)if(a.l=u.start+1<<9,b&&Buffer.isBuffer(u.content))u.content.copy(a,a.l,0,u.size),a.l+=u.size+511&-512;else{for(c=0;c<u.size;++c)a._W(1,u.content[c]);for(;511&c;++c)a._W(1,0)}for(o=1;o<e.FileIndex.length;++o)if((u=e.FileIndex[o]).size>0&&u.size<4096)if(b&&Buffer.isBuffer(u.content))u.content.copy(a,a.l,0,u.size),a.l+=u.size+63&-64;else{for(c=0;c<u.size;++c)a._W(1,u.content[c]);for(;63&c;++c)a._W(1,0)}if(b)a.l=a.length;else for(;a.l<a.length;)a._W(1,0);return a}t.version="1.2.1";var A,k=64,T=-2,C="d0cf11e0a1b11ae1",O=[208,207,17,224,161,177,26,225],R="00000000000000000000000000000000",P={MAXREGSECT:-6,DIFSECT:-4,FATSECT:-3,ENDOFCHAIN:T,FREESECT:-1,HEADER_SIGNATURE:C,HEADER_MINOR_VERSION:"3e00",MAXREGSID:-6,NOSTREAM:-1,HEADER_CLSID:R,EntryTypes:["unknown","storage","stream","lockbytes","property","root"]};function L(e){for(var t=new Array(e.length),r=0;r<e.length;++r)t[r]=String.fromCharCode(e[r]);return t.join("")}function I(e){return A?A.deflateRawSync(e):oe(e)}var F=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],D=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258],M=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577];function j(e){var t=139536&(e<<1|e<<11)|558144&(e<<5|e<<15);return 255&(t>>16|t>>8|t)}for(var B="undefined"!=typeof Uint8Array,W=B?new Uint8Array(256):[],U=0;U<256;++U)W[U]=j(U);function H(e,t){var r=W[255&e];return t<=8?r>>>8-t:(r=r<<8|W[e>>8&255],t<=16?r>>>16-t:(r=r<<8|W[e>>16&255])>>>24-t)}function z(e,t){var r=7&t,n=t>>>3;return(e[n]|(r<=6?0:e[n+1]<<8))>>>r&3}function V(e,t){var r=7&t,n=t>>>3;return(e[n]|(r<=5?0:e[n+1]<<8))>>>r&7}function q(e,t){var r=7&t,n=t>>>3;return(e[n]|(r<=3?0:e[n+1]<<8))>>>r&31}function $(e,t){var r=7&t,n=t>>>3;return(e[n]|(r<=1?0:e[n+1]<<8))>>>r&127}function G(e,t,r){var n=7&t,a=t>>>3,o=(1<<r)-1,i=e[a]>>>n;return r<8-n?i&o:(i|=e[a+1]<<8-n,r<16-n?i&o:(i|=e[a+2]<<16-n,r<24-n?i&o:(i|=e[a+3]<<24-n)&o))}function X(e,t,r){var n=7&t,a=t>>>3;return n<=5?e[a]|=(7&r)<<n:(e[a]|=r<<n&255,e[a+1]=(7&r)>>8-n),t+3}function Y(e,t,r){return r=(1&r)<<(7&t),e[t>>>3]|=r,t+1}function K(e,t,r){var n=t>>>3;return r<<=7&t,e[n]|=255&r,r>>>=8,e[n+1]=r,t+8}function J(e,t,r){var n=t>>>3;return r<<=7&t,e[n]|=255&r,r>>>=8,e[n+1]=255&r,e[n+2]=r>>>8,t+16}function Z(e,t){var r=e.length,n=2*r>t?2*r:t+5,a=0;if(r>=t)return e;if(b){var o=S(n);if(e.copy)e.copy(o);else for(;a<e.length;++a)o[a]=e[a];return o}if(B){var i=new Uint8Array(n);if(i.set)i.set(e);else for(;a<r;++a)i[a]=e[a];return i}return e.length=n,e}function Q(e){for(var t=new Array(e),r=0;r<e;++r)t[r]=0;return t}function ee(e,t,r){var n=1,a=0,o=0,i=0,s=0,c=e.length,l=B?new Uint16Array(32):Q(32);for(o=0;o<32;++o)l[o]=0;for(o=c;o<r;++o)e[o]=0;c=e.length;var u=B?new Uint16Array(c):Q(c);for(o=0;o<c;++o)l[a=e[o]]++,n<a&&(n=a),u[o]=0;for(l[0]=0,o=1;o<=n;++o)l[o+16]=s=s+l[o-1]<<1;for(o=0;o<c;++o)0!=(s=e[o])&&(u[o]=l[s+16]++);var f=0;for(o=0;o<c;++o)if(0!=(f=e[o]))for(s=H(u[o],n)>>n-f,i=(1<<n+4-f)-1;i>=0;--i)t[s|i<<f]=15&f|o<<4;return n}var te=B?new Uint16Array(512):Q(512),re=B?new Uint16Array(32):Q(32);if(!B){for(var ne=0;ne<512;++ne)te[ne]=0;for(ne=0;ne<32;++ne)re[ne]=0}!function(){for(var e=[],t=0;t<32;t++)e.push(5);ee(e,re,32);var r=[];for(t=0;t<=143;t++)r.push(8);for(;t<=255;t++)r.push(9);for(;t<=279;t++)r.push(7);for(;t<=287;t++)r.push(8);ee(r,te,288)}();var ae=function(){for(var e=B?new Uint8Array(32768):[],t=0,r=0;t<M.length-1;++t)for(;r<M[t+1];++r)e[r]=t;for(;r<32768;++r)e[r]=29;var n=B?new Uint8Array(259):[];for(t=0,r=0;t<D.length-1;++t)for(;r<D[t+1];++r)n[r]=t;function a(t,r){for(var a=0,o=0,i=B?new Uint16Array(32768):[];o<t.length;){var s=Math.min(65535,t.length-o);if(s<10){for(7&(a=X(r,a,+!(o+s!=t.length)))&&(a+=8-(7&a)),r.l=a/8|0,r._W(2,s),r._W(2,65535&~s);s-- >0;)r[r.l++]=t[o++];a=8*r.l}else{a=X(r,a,+!(o+s!=t.length)+2);for(var c=0;s-- >0;){var l=t[o],u=-1,f=0;if((u=i[c=32767&(c<<5^l)])&&((u|=-32768&o)>o&&(u-=32768),u<o))for(;t[u+f]==t[o+f]&&f<250;)++f;if(f>2){(l=n[f])<=22?a=K(r,a,W[l+1]>>1)-1:(K(r,a,3),K(r,a+=5,W[l-23]>>5),a+=3);var h=l<8?0:l-4>>2;h>0&&(J(r,a,f-D[l]),a+=h),l=e[o-u],a=K(r,a,W[l]>>3),a-=3;var d=l<4?0:l-2>>1;d>0&&(J(r,a,o-u-M[l]),a+=d);for(var p=0;p<f;++p)i[c]=32767&o,c=32767&(c<<5^t[o]),++o;s-=f-1}else l<=143?l+=48:a=Y(r,a,1),a=K(r,a,W[l]),i[c]=32767&o,++o}a=K(r,a,0)-1}}return r.l=(a+7)/8|0,r.l}return function(e,t){return e.length<8?function(e,t){for(var r=0;r<e.length;){var n=Math.min(65535,e.length-r),a=r+n==e.length;for(t._W(1,+a),t._W(2,n),t._W(2,65535&~n);n-- >0;)t[t.l++]=e[r++]}return t.l}(e,t):a(e,t)}}();function oe(e){var t=Rr(50+Math.floor(1.1*e.length)),r=ae(e,t);return t.slice(0,r)}var ie=B?new Uint16Array(32768):Q(32768),se=B?new Uint16Array(32768):Q(32768),ce=B?new Uint16Array(128):Q(128),le=1,ue=1;function fe(e,t){var r=q(e,t)+257,n=q(e,t+=5)+1,a=function(e,t){var r=7&t,n=t>>>3;return(e[n]|(r<=4?0:e[n+1]<<8))>>>r&15}(e,t+=5)+4;t+=4;for(var o=0,i=B?new Uint8Array(19):Q(19),s=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],c=1,l=B?new Uint8Array(8):Q(8),u=B?new Uint8Array(8):Q(8),f=i.length,h=0;h<a;++h)i[F[h]]=o=V(e,t),c<o&&(c=o),l[o]++,t+=3;var d=0;for(l[0]=0,h=1;h<=c;++h)u[h]=d=d+l[h-1]<<1;for(h=0;h<f;++h)0!=(d=i[h])&&(s[h]=u[d]++);var p=0;for(h=0;h<f;++h)if(0!=(p=i[h])){d=W[s[h]]>>8-p;for(var g=(1<<7-p)-1;g>=0;--g)ce[d|g<<p]=7&p|h<<3}var m=[];for(c=1;m.length<r+n;)switch(t+=7&(d=ce[$(e,t)]),d>>>=3){case 16:for(o=3+z(e,t),t+=2,d=m[m.length-1];o-- >0;)m.push(d);break;case 17:for(o=3+V(e,t),t+=3;o-- >0;)m.push(0);break;case 18:for(o=11+$(e,t),t+=7;o-- >0;)m.push(0);break;default:m.push(d),c<d&&(c=d)}var v=m.slice(0,r),b=m.slice(r);for(h=r;h<286;++h)v[h]=0;for(h=n;h<30;++h)b[h]=0;return le=ee(v,ie,286),ue=ee(b,se,30),t}function he(e,t){var r=function(e,t){if(3==e[0]&&!(3&e[1]))return[w(t),2];for(var r=0,n=0,a=S(t||1<<18),o=0,i=a.length>>>0,s=0,c=0;0==(1&n);)if(n=V(e,r),r+=3,n>>>1!=0)for(n>>1==1?(s=9,c=5):(r=fe(e,r),s=le,c=ue);;){!t&&i<o+32767&&(i=(a=Z(a,o+32767)).length);var l=G(e,r,s),u=n>>>1==1?te[l]:ie[l];if(r+=15&u,0==((u>>>=4)>>>8&255))a[o++]=u;else{if(256==u)break;var f=(u-=257)<8?0:u-4>>2;f>5&&(f=0);var h=o+D[u];f>0&&(h+=G(e,r,f),r+=f),l=G(e,r,c),r+=15&(u=n>>>1==1?re[l]:se[l]);var d=(u>>>=4)<4?0:u-2>>1,p=M[u];for(d>0&&(p+=G(e,r,d),r+=d),!t&&i<h&&(i=(a=Z(a,h+100)).length);o<h;)a[o]=a[o-p],++o}}else{7&r&&(r+=8-(7&r));var g=e[r>>>3]|e[1+(r>>>3)]<<8;if(r+=32,g>0)for(!t&&i<o+g&&(i=(a=Z(a,o+g)).length);g-- >0;)a[o++]=e[r>>>3],r+=8}return t?[a,r+7>>>3]:[a.slice(0,o),r+7>>>3]}(e.slice(e.l||0),t);return e.l+=r[1],r[0]}function de(e,t){if(!e)throw new Error(t);"undefined"!=typeof console&&console.error(t)}function pe(e,t){var r=e;Cr(r,0);var n={FileIndex:[],FullPaths:[]};d(n,{root:t.root});for(var a=r.length-4;(80!=r[a]||75!=r[a+1]||5!=r[a+2]||6!=r[a+3])&&a>=0;)--a;r.l=a+4,r.l+=4;var i=r._R(2);r.l+=6;var s=r._R(4);for(r.l=s,a=0;a<i;++a){r.l+=20;var c=r._R(4),l=r._R(4),u=r._R(2),f=r._R(2),h=r._R(2);r.l+=8;var p=r._R(4),g=o(r.slice(r.l+u,r.l+u+f));r.l+=u+f+h;var m=r.l;r.l=p+4,ge(r,c,l,n,g),r.l=m}return n}function ge(e,t,r,n,a){e.l+=2;var i=e._R(2),s=e._R(2),c=function(e){var t=65535&e._R(2),r=65535&e._R(2),n=new Date,a=31&r,o=15&(r>>>=5);r>>>=4,n.setMilliseconds(0),n.setFullYear(r+1980),n.setMonth(o-1),n.setDate(a);var i=31&t,s=63&(t>>>=5);return t>>>=6,n.setHours(t),n.setMinutes(s),n.setSeconds(i<<1),n}(e);if(8257&i)throw new Error("Unsupported ZIP encryption");e._R(4);for(var l=e._R(4),u=e._R(4),f=e._R(2),h=e._R(2),d="",p=0;p<f;++p)d+=String.fromCharCode(e[e.l++]);if(h){var g=o(e.slice(e.l,e.l+h));(g[21589]||{}).mt&&(c=g[21589].mt),((a||{})[21589]||{}).mt&&(c=a[21589].mt)}e.l+=h;var m=e.slice(e.l,e.l+l);switch(s){case 8:m=function(e,t){if(!A)return he(e,t);var r=new(0,A.InflateRaw),n=r._processChunk(e.slice(e.l),r._finishFlushFlag);return e.l+=r.bytesRead,n}(e,u);break;case 0:break;default:throw new Error("Unsupported ZIP Compression method "+s)}var v=!1;8&i&&(134695760==e._R(4)&&(e._R(4),v=!0),l=e._R(4),u=e._R(4)),l!=t&&de(v,"Bad compressed size: "+t+" != "+l),u!=r&&de(v,"Bad uncompressed size: "+r+" != "+u),Ae(n,d,m,{unsafe:!0,mt:c})}function me(e,t){var r=t||{},n=[],o=[],i=Rr(1),s=r.compression?8:0,c=0;var l=0,u=0,f=0,h=0,d=e.FullPaths[0],p=d,g=e.FileIndex[0],m=[],v=0;for(l=1;l<e.FullPaths.length;++l)if(p=e.FullPaths[l].slice(d.length),(g=e.FileIndex[l]).size&&g.content&&"Sh33tJ5"!=p){var b=f,y=Rr(p.length);for(u=0;u<p.length;++u)y._W(1,127&p.charCodeAt(u));y=y.slice(0,y.l),m[h]=Te.buf(g.content,0);var w=g.content;8==s&&(w=I(w)),(i=Rr(30))._W(4,67324752),i._W(2,20),i._W(2,c),i._W(2,s),g.mt?a(i,g.mt):i._W(4,0),i._W(-4,8&c?0:m[h]),i._W(4,8&c?0:w.length),i._W(4,8&c?0:g.content.length),i._W(2,y.length),i._W(2,0),f+=i.length,n.push(i),f+=y.length,n.push(y),f+=w.length,n.push(w),8&c&&((i=Rr(12))._W(-4,m[h]),i._W(4,w.length),i._W(4,g.content.length),f+=i.l,n.push(i)),(i=Rr(46))._W(4,33639248),i._W(2,0),i._W(2,20),i._W(2,c),i._W(2,s),i._W(4,0),i._W(-4,m[h]),i._W(4,w.length),i._W(4,g.content.length),i._W(2,y.length),i._W(2,0),i._W(2,0),i._W(2,0),i._W(2,0),i._W(4,0),i._W(4,b),v+=i.l,o.push(i),v+=y.length,o.push(y),++h}return(i=Rr(22))._W(4,101010256),i._W(2,0),i._W(2,0),i._W(2,h),i._W(2,h),i._W(4,v),i._W(4,f),i._W(2,0),E([E(n),E(o),i])}var ve={htm:"text/html",xml:"text/xml",gif:"image/gif",jpg:"image/jpeg",png:"image/png",mso:"application/x-mso",thmx:"application/vnd.ms-officetheme",sh33tj5:"application/octet-stream"};function be(e,t){if(e.ctype)return e.ctype;var r=e.name||"",n=r.match(/\.([^\.]+)$/);return n&&ve[n[1]]||t&&(n=(r=t).match(/[\.\\]([^\.\\])+$/))&&ve[n[1]]?ve[n[1]]:"application/octet-stream"}function ye(e){for(var t=m(e),r=[],n=0;n<t.length;n+=76)r.push(t.slice(n,n+76));return r.join("\r\n")+"\r\n"}function we(e){var t=e.replace(/[\x00-\x08\x0B\x0C\x0E-\x1F\x7E-\xFF=]/g,(function(e){var t=e.charCodeAt(0).toString(16).toUpperCase();return"="+(1==t.length?"0"+t:t)}));"\n"==(t=t.replace(/ $/gm,"=20").replace(/\t$/gm,"=09")).charAt(0)&&(t="=0D"+t.slice(1));for(var r=[],n=(t=t.replace(/\r(?!\n)/gm,"=0D").replace(/\n\n/gm,"\n=0A").replace(/([^\r\n])\n/gm,"$1=0A")).split("\r\n"),a=0;a<n.length;++a){var o=n[a];if(0!=o.length)for(var i=0;i<o.length;){var s=76,c=o.slice(i,i+s);"="==c.charAt(s-1)?s--:"="==c.charAt(s-2)?s-=2:"="==c.charAt(s-3)&&(s-=3),c=o.slice(i,i+s),(i+=s)<o.length&&(c+="="),r.push(c)}else r.push("")}return r.join("\r\n")}function Se(e,t,r){for(var n,a="",o="",i="",s=0;s<10;++s){var c=t[s];if(!c||c.match(/^\s*$/))break;var l=c.match(/^(.*?):\s*([^\s].*)$/);if(l)switch(l[1].toLowerCase()){case"content-location":a=l[2].trim();break;case"content-type":i=l[2].trim();break;case"content-transfer-encoding":o=l[2].trim()}}switch(++s,o.toLowerCase()){case"base64":n=x(v(t.slice(s).join("")));break;case"quoted-printable":n=function(e){for(var t=[],r=0;r<e.length;++r){for(var n=e[r];r<=e.length&&"="==n.charAt(n.length-1);)n=n.slice(0,n.length-1)+e[++r];t.push(n)}for(var a=0;a<t.length;++a)t[a]=t[a].replace(/[=][0-9A-Fa-f]{2}/g,(function(e){return String.fromCharCode(parseInt(e.slice(1),16))}));return x(t.join("\r\n"))}(t.slice(s));break;default:throw new Error("Unsupported Content-Transfer-Encoding "+o)}var u=Ae(e,a.slice(r.length),n,{unsafe:!0});i&&(u.ctype=i)}function xe(e,t){if("mime-version:"!=L(e.slice(0,13)).toLowerCase())throw new Error("Unsupported MAD header");var r=t&&t.root||"",n=(b&&Buffer.isBuffer(e)?e.toString("binary"):L(e)).split("\r\n"),a=0,o="";for(a=0;a<n.length;++a)if(o=n[a],/^Content-Location:/i.test(o)&&(o=o.slice(o.indexOf("file")),r||(r=o.slice(0,o.lastIndexOf("/")+1)),o.slice(0,r.length)!=r))for(;r.length>0&&(r=(r=r.slice(0,r.length-1)).slice(0,r.lastIndexOf("/")+1),o.slice(0,r.length)!=r););var i=(n[1]||"").match(/boundary="(.*?)"/);if(!i)throw new Error("MAD cannot find boundary");var s="--"+(i[1]||""),c={FileIndex:[],FullPaths:[]};d(c);var l,u=0;for(a=0;a<n.length;++a){var f=n[a];f!==s&&f!==s+"--"||(u++&&Se(c,n.slice(l,a),r),l=a)}return c}function Ae(e,t,r,a){var o=a&&a.unsafe;o||d(e);var i=!o&&Ee.find(e,t);if(!i){var s=e.FullPaths[0];t.slice(0,s.length)==s?s=t:("/"!=s.slice(-1)&&(s+="/"),s=(s+t).replace("//","/")),i={name:n(t),type:2},e.FileIndex.push(i),e.FullPaths.push(s),o||Ee.utils.cfb_gc(e)}return i.content=r,i.size=r?r.length:0,a&&(a.CLSID&&(i.clsid=a.CLSID),a.mt&&(i.mt=a.mt),a.ct&&(i.ct=a.ct)),i}return t.find=function(e,t){var r=e.FullPaths.map((function(e){return e.toUpperCase()})),n=r.map((function(e){var t=e.split("/");return t[t.length-("/"==e.slice(-1)?2:1)]})),a=!1;47===t.charCodeAt(0)?(a=!0,t=r[0].slice(0,-1)+t):a=-1!==t.indexOf("/");var o=t.toUpperCase(),i=!0===a?r.indexOf(o):n.indexOf(o);if(-1!==i)return e.FileIndex[i];var s=!o.match(N);for(o=o.replace(_,""),s&&(o=o.replace(N,"!")),i=0;i<r.length;++i){if((s?r[i].replace(N,"!"):r[i]).replace(_,"")==o)return e.FileIndex[i];if((s?n[i].replace(N,"!"):n[i]).replace(_,"")==o)return e.FileIndex[i]}return null},t.read=function(t,r){var n=r&&r.type;switch(n||b&&Buffer.isBuffer(t)&&(n="buffer"),n||"base64"){case"file":return function(t,r){return i(),s(e.readFileSync(t),r)}(t,r);case"base64":return s(x(v(t)),r);case"binary":return s(x(t),r)}return s(t,r)},t.parse=s,t.write=function(t,r){var n=g(t,r);switch(r&&r.type||"buffer"){case"file":return i(),e.writeFileSync(r.filename,n),n;case"binary":return"string"==typeof n?n:L(n);case"base64":return m("string"==typeof n?n:L(n));case"buffer":if(b)return Buffer.isBuffer(n)?n:y(n);case"array":return"string"==typeof n?x(n):n}return n},t.writeFile=function(t,r,n){i();var a=g(t,n);e.writeFileSync(r,a)},t.utils={cfb_new:function(e){var t={};return d(t,e),t},cfb_add:Ae,cfb_del:function(e,t){d(e);var r=Ee.find(e,t);if(r)for(var n=0;n<e.FileIndex.length;++n)if(e.FileIndex[n]==r)return e.FileIndex.splice(n,1),e.FullPaths.splice(n,1),!0;return!1},cfb_mov:function(e,t,r){d(e);var a=Ee.find(e,t);if(a)for(var o=0;o<e.FileIndex.length;++o)if(e.FileIndex[o]==a)return e.FileIndex[o].name=n(r),e.FullPaths[o]=r,!0;return!1},cfb_gc:function(e){p(e,!0)},ReadShift:Ar,CheckField:Nr,prep_blob:Cr,bconcat:E,use_zlib:function(e){try{var t=new(0,e.InflateRaw);if(t._processChunk(new Uint8Array([3,0]),t._finishFlushFlag),!t.bytesRead)throw new Error("zlib does not expose bytesRead");A=e}catch(e){console.error("cannot use native zlib: "+(e.message||e))}},_deflateRaw:oe,_inflateRaw:he,consts:P},t}();if("undefined"!=typeof require)try{ke=void 0}catch(e){}function _e(e){return"string"==typeof e?A(e):Array.isArray(e)?function(e){if("undefined"==typeof Uint8Array)throw new Error("Unsupported");return new Uint8Array(e)}(e):e}function Ne(e,t,r){if(void 0!==ke&&ke.writeFileSync)return r?ke.writeFileSync(e,t,r):ke.writeFileSync(e,t);if("undefined"!=typeof Deno){if(r&&"string"==typeof t)switch(r){case"utf8":t=new TextEncoder(r).encode(t);break;case"binary":t=A(t);break;default:throw new Error("Unsupported encoding "+r)}return Deno.writeFileSync(e,t)}var n="utf8"==r?Lt(t):t;if("undefined"!=typeof IE_SaveFile)return IE_SaveFile(n,e);if("undefined"!=typeof Blob){var a=new Blob([_e(n)],{type:"application/octet-stream"});if("undefined"!=typeof navigator&&navigator.msSaveBlob)return navigator.msSaveBlob(a,e);if(void 0!==saveAs)return saveAs(a,e);if("undefined"!=typeof URL&&"undefined"!=typeof document&&document.createElement&&URL.createObjectURL){var o=URL.createObjectURL(a);if("object"==typeof chrome&&"function"==typeof(chrome.downloads||{}).download)return URL.revokeObjectURL&&"undefined"!=typeof setTimeout&&setTimeout((function(){URL.revokeObjectURL(o)}),6e4),chrome.downloads.download({url:o,filename:e,saveAs:!0});var i=document.createElement("a");if(null!=i.download)return i.download=e,i.href=o,document.body.appendChild(i),i.click(),document.body.removeChild(i),URL.revokeObjectURL&&"undefined"!=typeof setTimeout&&setTimeout((function(){URL.revokeObjectURL(o)}),6e4),o}}if("undefined"!=typeof $&&"undefined"!=typeof File&&"undefined"!=typeof Folder)try{var s=File(e);return s.open("w"),s.encoding="binary",Array.isArray(t)&&(t=k(t)),s.write(t),s.close(),t}catch(e){if(!e.message||!e.message.match(/onstruct/))throw e}throw new Error("cannot save file "+e)}function Ce(e){for(var t=Object.keys(e),r=[],n=0;n<t.length;++n)Object.prototype.hasOwnProperty.call(e,t[n])&&r.push(t[n]);return r}function Oe(e,t){for(var r=[],n=Ce(e),a=0;a!==n.length;++a)null==r[e[n[a]][t]]&&(r[e[n[a]][t]]=n[a]);return r}function Re(e){for(var t=[],r=Ce(e),n=0;n!==r.length;++n)t[e[r[n]]]=r[n];return t}function Pe(e){for(var t=[],r=Ce(e),n=0;n!==r.length;++n)t[e[r[n]]]=parseInt(r[n],10);return t}var Le=new Date(1899,11,30,0,0,0);function Ie(e,t){var r=e.getTime();return t&&(r-=1263168e5),(r-(Le.getTime()+6e4*(e.getTimezoneOffset()-Le.getTimezoneOffset())))/864e5}var Fe=new Date,De=Le.getTime()+6e4*(Fe.getTimezoneOffset()-Le.getTimezoneOffset()),Me=Fe.getTimezoneOffset();function je(e){var t=new Date;return t.setTime(24*e*60*60*1e3+De),t.getTimezoneOffset()!==Me&&t.setTime(t.getTime()+6e4*(t.getTimezoneOffset()-Me)),t}function Be(e){var t=0,r=0,n=!1,a=e.match(/P([0-9\.]+Y)?([0-9\.]+M)?([0-9\.]+D)?T([0-9\.]+H)?([0-9\.]+M)?([0-9\.]+S)?/);if(!a)throw new Error("|"+e+"| is not an ISO8601 Duration");for(var o=1;o!=a.length;++o)if(a[o]){switch(r=1,o>3&&(n=!0),a[o].slice(a[o].length-1)){case"Y":throw new Error("Unsupported ISO Duration Field: "+a[o].slice(a[o].length-1));case"D":r*=24;case"H":r*=60;case"M":if(!n)throw new Error("Unsupported ISO Duration Field: M");r*=60}t+=r*parseInt(a[o],10)}return t}var We=new Date("2017-02-19T19:06:09.000Z"),Ue=isNaN(We.getFullYear())?new Date("2/19/17"):We,He=2017==Ue.getFullYear();function ze(e,t){var r=new Date(e);if(He)return t>0?r.setTime(r.getTime()+60*r.getTimezoneOffset()*1e3):t<0&&r.setTime(r.getTime()-60*r.getTimezoneOffset()*1e3),r;if(e instanceof Date)return e;if(1917==Ue.getFullYear()&&!isNaN(r.getFullYear())){var n=r.getFullYear();return e.indexOf(""+n)>-1||r.setFullYear(r.getFullYear()+100),r}var a=e.match(/\d+/g)||["2017","2","19","0","0","0"],o=new Date(+a[0],+a[1]-1,+a[2],+a[3]||0,+a[4]||0,+a[5]||0);return e.indexOf("Z")>-1&&(o=new Date(o.getTime()-60*o.getTimezoneOffset()*1e3)),o}function Ve(e,t){if(b&&Buffer.isBuffer(e)){if(t){if(255==e[0]&&254==e[1])return Lt(e.slice(2).toString("utf16le"));if(254==e[1]&&255==e[2])return Lt(u(e.slice(2).toString("binary")))}return e.toString("binary")}if("undefined"!=typeof TextDecoder)try{if(t){if(255==e[0]&&254==e[1])return Lt(new TextDecoder("utf-16le").decode(e.slice(2)));if(254==e[0]&&255==e[1])return Lt(new TextDecoder("utf-16be").decode(e.slice(2)))}var r={"€":"","‚":"","ƒ":"","„":"","…":" ","†":"","‡":"","ˆ":"","‰":"","Š":"","‹":"","Œ":"","Ž":"","‘":"","’":"","“":"","”":"","•":"","–":"","—":"","˜":"","™":"","š":"","›":"","œ":"","ž":"","Ÿ":""};return Array.isArray(e)&&(e=new Uint8Array(e)),new TextDecoder("latin1").decode(e).replace(/[€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ]/g,(function(e){return r[e]||e}))}catch(e){}for(var n=[],a=0;a!=e.length;++a)n.push(String.fromCharCode(e[a]));return n.join("")}function qe(e){if("undefined"!=typeof JSON&&!Array.isArray(e))return JSON.parse(JSON.stringify(e));if("object"!=typeof e||null==e)return e;if(e instanceof Date)return new Date(e.getTime());var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=qe(e[r]));return t}function $e(e,t){for(var r="";r.length<t;)r+=e;return r}function Ge(e){var t=Number(e);if(!isNaN(t))return isFinite(t)?t:NaN;if(!/\d/.test(e))return t;var r=1,n=e.replace(/([\d]),([\d])/g,"$1$2").replace(/[$]/g,"").replace(/[%]/g,(function(){return r*=100,""}));return isNaN(t=Number(n))?(n=n.replace(/[(](.*)[)]/,(function(e,t){return r=-r,t})),isNaN(t=Number(n))?t:t/r):t/r}var Xe=["january","february","march","april","may","june","july","august","september","october","november","december"];function Ye(e){var t=new Date(e),r=new Date(NaN),n=t.getYear(),a=t.getMonth(),o=t.getDate();if(isNaN(o))return r;var i=e.toLowerCase();if(i.match(/jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec/)){if((i=i.replace(/[^a-z]/g,"").replace(/([^a-z]|^)[ap]m?([^a-z]|$)/,"")).length>3&&-1==Xe.indexOf(i))return r}else if(i.match(/[a-z]/))return r;return n<0||n>8099?r:(a>0||o>1)&&101!=n?t:e.match(/[^-0-9:,\/\\]/)?r:t}var Ke=function(){var e=5=="abacaba".split(/(:?b)/i).length;return function(t,r,n){if(e||"string"==typeof r)return t.split(r);for(var a=t.split(r),o=[a[0]],i=1;i<a.length;++i)o.push(n),o.push(a[i]);return o}}();function Je(e){return e?e.content&&e.type?Ve(e.content,!0):e.data?f(e.data):e.asNodeBuffer&&b?f(e.asNodeBuffer().toString("binary")):e.asBinary?f(e.asBinary()):e._data&&e._data.getContent?f(Ve(Array.prototype.slice.call(e._data.getContent(),0))):null:null}function Ze(e){if(!e)return null;if(e.data)return l(e.data);if(e.asNodeBuffer&&b)return e.asNodeBuffer();if(e._data&&e._data.getContent){var t=e._data.getContent();return"string"==typeof t?l(t):Array.prototype.slice.call(t)}return e.content&&e.type?e.content:null}function Qe(e,t){for(var r=e.FullPaths||Ce(e.files),n=t.toLowerCase().replace(/[\/]/g,"\\"),a=n.replace(/\\/g,"/"),o=0;o<r.length;++o){var i=r[o].replace(/^Root Entry[\/]/,"").toLowerCase();if(n==i||a==i)return e.files?e.files[r[o]]:e.FileIndex[o]}return null}function et(e,t){var r=Qe(e,t);if(null==r)throw new Error("Cannot find file "+t+" in zip");return r}function tt(e,t,r){if(!r)return function(e){return e&&".bin"===e.name.slice(-4)?Ze(e):Je(e)}(et(e,t));if(!t)return null;try{return tt(e,t)}catch(e){return null}}function rt(e,t,r){if(!r)return Je(et(e,t));if(!t)return null;try{return rt(e,t)}catch(e){return null}}function nt(e,t,r){if(!r)return Ze(et(e,t));if(!t)return null;try{return nt(e,t)}catch(e){return null}}function at(e){for(var t=e.FullPaths||Ce(e.files),r=[],n=0;n<t.length;++n)"/"!=t[n].slice(-1)&&r.push(t[n].replace(/^Root Entry[\/]/,""));return r.sort()}function ot(e,t,r){if(e.FullPaths){var n;if("string"==typeof r)return n=b?y(r):function(e){for(var t=[],r=0,n=e.length+250,a=w(e.length+255),o=0;o<e.length;++o){var i=e.charCodeAt(o);if(i<128)a[r++]=i;else if(i<2048)a[r++]=192|i>>6&31,a[r++]=128|63&i;else if(i>=55296&&i<57344){i=64+(1023&i);var s=1023&e.charCodeAt(++o);a[r++]=240|i>>8&7,a[r++]=128|i>>2&63,a[r++]=128|s>>6&15|(3&i)<<4,a[r++]=128|63&s}else a[r++]=224|i>>12&15,a[r++]=128|i>>6&63,a[r++]=128|63&i;r>n&&(t.push(a.slice(0,r)),r=0,a=w(65535),n=65530)}return t.push(a.slice(0,r)),E(t)}(r),Ee.utils.cfb_add(e,t,n);Ee.utils.cfb_add(e,t,r)}else e.file(t,r)}function it(){return Ee.utils.cfb_new()}function st(e,t){switch(t.type){case"base64":return Ee.read(e,{type:"base64"});case"binary":return Ee.read(e,{type:"binary"});case"buffer":case"array":return Ee.read(e,{type:"buffer"})}throw new Error("Unrecognized type "+t.type)}function ct(e,t){if("/"==e.charAt(0))return e.slice(1);var r=t.split("/");"/"!=t.slice(-1)&&r.pop();for(var n=e.split("/");0!==n.length;){var a=n.shift();".."===a?r.pop():"."!==a&&r.push(a)}return r.join("/")}var lt='<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\r\n',ut=/([^"\s?>\/]+)\s*=\s*((?:")([^"]*)(?:")|(?:')([^']*)(?:')|([^'">\s]+))/g,ft=/<[\/\?]?[a-zA-Z0-9:_-]+(?:\s+[^"\s?>\/]+\s*=\s*(?:"[^"]*"|'[^']*'|[^'">\s=]+))*\s*[\/\?]?>/gm,ht=lt.match(ft)?ft:/<[^>]*>/g,dt=/<\w*:/,pt=/<(\/?)\w+:/;function gt(e,t,r){for(var n={},a=0,o=0;a!==e.length&&(32!==(o=e.charCodeAt(a))&&10!==o&&13!==o);++a);if(t||(n[0]=e.slice(0,a)),a===e.length)return n;var i=e.match(ut),s=0,c="",l=0,u="",f="",h=1;if(i)for(l=0;l!=i.length;++l){for(f=i[l],o=0;o!=f.length&&61!==f.charCodeAt(o);++o);for(u=f.slice(0,o).trim();32==f.charCodeAt(o+1);)++o;for(h=34==(a=f.charCodeAt(o+1))||39==a?1:0,c=f.slice(o+1+h,f.length-h),s=0;s!=u.length&&58!==u.charCodeAt(s);++s);if(s===u.length)u.indexOf("_")>0&&(u=u.slice(0,u.indexOf("_"))),n[u]=c,r||(n[u.toLowerCase()]=c);else{var d=(5===s&&"xmlns"===u.slice(0,5)?"xmlns":"")+u.slice(s+1);if(n[d]&&"ext"==u.slice(s-3,s))continue;n[d]=c,r||(n[d.toLowerCase()]=c)}}return n}function mt(e){return e.replace(pt,"<$1")}var vt={""":'"',"'":"'",">":">","<":"<","&":"&"},bt=Re(vt),yt=function(){var e=/&(?:quot|apos|gt|lt|amp|#x?([\da-fA-F]+));/gi,t=/_x([\da-fA-F]{4})_/gi;return function r(n){var a=n+"",o=a.indexOf("<![CDATA[");if(-1==o)return a.replace(e,(function(e,t){return vt[e]||String.fromCharCode(parseInt(t,e.indexOf("x")>-1?16:10))||e})).replace(t,(function(e,t){return String.fromCharCode(parseInt(t,16))}));var i=a.indexOf("]]>");return r(a.slice(0,o))+a.slice(o+9,i)+r(a.slice(i+3))}}(),wt=/[&<>'"]/g,St=/[\u0000-\u0008\u000b-\u001f]/g;function xt(e){return(e+"").replace(wt,(function(e){return bt[e]})).replace(St,(function(e){return"_x"+("000"+e.charCodeAt(0).toString(16)).slice(-4)+"_"}))}function At(e){return xt(e).replace(/ /g,"_x0020_")}var kt=/[\u0000-\u001f]/g;function Tt(e){return(e+"").replace(wt,(function(e){return bt[e]})).replace(/\n/g,"<br/>").replace(kt,(function(e){return"&#x"+("000"+e.charCodeAt(0).toString(16)).slice(-4)+";"}))}var Et=function(){var e=/&#(\d+);/g;function t(e,t){return String.fromCharCode(parseInt(t,10))}return function(r){return r.replace(e,t)}}();function _t(e){switch(e){case 1:case!0:case"1":case"true":case"TRUE":return!0;default:return!1}}function Nt(e){for(var t="",r=0,n=0,a=0,o=0,i=0,s=0;r<e.length;)(n=e.charCodeAt(r++))<128?t+=String.fromCharCode(n):(a=e.charCodeAt(r++),n>191&&n<224?(i=(31&n)<<6,i|=63&a,t+=String.fromCharCode(i)):(o=e.charCodeAt(r++),n<240?t+=String.fromCharCode((15&n)<<12|(63&a)<<6|63&o):(s=((7&n)<<18|(63&a)<<12|(63&o)<<6|63&(i=e.charCodeAt(r++)))-65536,t+=String.fromCharCode(55296+(s>>>10&1023)),t+=String.fromCharCode(56320+(1023&s)))));return t}function Ct(e){var t,r,n,a=w(2*e.length),o=1,i=0,s=0;for(r=0;r<e.length;r+=o)o=1,(n=e.charCodeAt(r))<128?t=n:n<224?(t=64*(31&n)+(63&e.charCodeAt(r+1)),o=2):n<240?(t=4096*(15&n)+64*(63&e.charCodeAt(r+1))+(63&e.charCodeAt(r+2)),o=3):(o=4,t=262144*(7&n)+4096*(63&e.charCodeAt(r+1))+64*(63&e.charCodeAt(r+2))+(63&e.charCodeAt(r+3)),s=55296+((t-=65536)>>>10&1023),t=56320+(1023&t)),0!==s&&(a[i++]=255&s,a[i++]=s>>>8,s=0),a[i++]=t%256,a[i++]=t>>>8;return a.slice(0,i).toString("ucs2")}function Ot(e){return y(e,"binary").toString("utf8")}var Rt="foo bar bazâð£",Pt=b&&(Ot(Rt)==Nt(Rt)&&Ot||Ct(Rt)==Nt(Rt)&&Ct)||Nt,Lt=b?function(e){return y(e,"utf8").toString("binary")}:function(e){for(var t=[],r=0,n=0,a=0;r<e.length;)switch(n=e.charCodeAt(r++),!0){case n<128:t.push(String.fromCharCode(n));break;case n<2048:t.push(String.fromCharCode(192+(n>>6))),t.push(String.fromCharCode(128+(63&n)));break;case n>=55296&&n<57344:n-=55296,a=e.charCodeAt(r++)-56320+(n<<10),t.push(String.fromCharCode(240+(a>>18&7))),t.push(String.fromCharCode(144+(a>>12&63))),t.push(String.fromCharCode(128+(a>>6&63))),t.push(String.fromCharCode(128+(63&a)));break;default:t.push(String.fromCharCode(224+(n>>12))),t.push(String.fromCharCode(128+(n>>6&63))),t.push(String.fromCharCode(128+(63&n)))}return t.join("")},It=function(){var e={};return function(t,r){var n=t+"|"+(r||"");return e[n]?e[n]:e[n]=new RegExp("<(?:\\w+:)?"+t+'(?: xml:space="preserve")?(?:[^>]*)>([\\s\\S]*?)</(?:\\w+:)?'+t+">",r||"")}}(),Ft=function(){var e=[["nbsp"," "],["middot","·"],["quot",'"'],["apos","'"],["gt",">"],["lt","<"],["amp","&"]].map((function(e){return[new RegExp("&"+e[0]+";","ig"),e[1]]}));return function(t){for(var r=t.replace(/^[\t\n\r ]+/,"").replace(/[\t\n\r ]+$/,"").replace(/>\s+/g,">").replace(/\s+</g,"<").replace(/[\t\n\r ]+/g," ").replace(/<\s*[bB][rR]\s*\/?>/g,"\n").replace(/<[^>]*>/g,""),n=0;n<e.length;++n)r=r.replace(e[n][0],e[n][1]);return r}}(),Dt=function(){var e={};return function(t){return void 0!==e[t]?e[t]:e[t]=new RegExp("<(?:vt:)?"+t+">([\\s\\S]*?)</(?:vt:)?"+t+">","g")}}(),Mt=/<\/?(?:vt:)?variant>/g,jt=/<(?:vt:)([^>]*)>([\s\S]*)</;function Bt(e,t){var r=gt(e),n=e.match(Dt(r.baseType))||[],a=[];if(n.length!=r.size){if(t.WTF)throw new Error("unexpected vector length "+n.length+" != "+r.size);return a}return n.forEach((function(e){var t=e.replace(Mt,"").match(jt);t&&a.push({v:Pt(t[2]),t:t[1]})})),a}var Wt=/(^\s|\s$|\n)/;function Ut(e,t){return"<"+e+(t.match(Wt)?' xml:space="preserve"':"")+">"+t+"</"+e+">"}function Ht(e){return Ce(e).map((function(t){return" "+t+'="'+e[t]+'"'})).join("")}function zt(e,t,r){return"<"+e+(null!=r?Ht(r):"")+(null!=t?(t.match(Wt)?' xml:space="preserve"':"")+">"+t+"</"+e:"/")+">"}function Vt(e,t){try{return e.toISOString().replace(/\.\d*/,"")}catch(e){if(t)throw e}return""}function qt(e){if(b&&Buffer.isBuffer(e))return e.toString("utf8");if("string"==typeof e)return e;if("undefined"!=typeof Uint8Array&&e instanceof Uint8Array)return Pt(k(T(e)));throw new Error("Bad input format: expected Buffer or string")}var $t=/<(\/?)([^\s?><!\/:]*:|)([^\s?<>:\/]+)(?:[\s?:\/][^>]*)?>/gm,Gt={CORE_PROPS:"http://schemas.openxmlformats.org/package/2006/metadata/core-properties",CUST_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/custom-properties",EXT_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/extended-properties",CT:"http://schemas.openxmlformats.org/package/2006/content-types",RELS:"http://schemas.openxmlformats.org/package/2006/relationships",TCMNT:"http://schemas.microsoft.com/office/spreadsheetml/2018/threadedcomments",dc:"http://purl.org/dc/elements/1.1/",dcterms:"http://purl.org/dc/terms/",dcmitype:"http://purl.org/dc/dcmitype/",mx:"http://schemas.microsoft.com/office/mac/excel/2008/main",r:"http://schemas.openxmlformats.org/officeDocument/2006/relationships",sjs:"http://schemas.openxmlformats.org/package/2006/sheetjs/core-properties",vt:"http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes",xsi:"http://www.w3.org/2001/XMLSchema-instance",xsd:"http://www.w3.org/2001/XMLSchema"},Xt=["http://schemas.openxmlformats.org/spreadsheetml/2006/main","http://purl.oclc.org/ooxml/spreadsheetml/main","http://schemas.microsoft.com/office/excel/2006/main","http://schemas.microsoft.com/office/excel/2006/2"],Yt={o:"urn:schemas-microsoft-com:office:office",x:"urn:schemas-microsoft-com:office:excel",ss:"urn:schemas-microsoft-com:office:spreadsheet",dt:"uuid:C2F41010-65B3-11d1-A29F-00AA00C14882",mv:"http://macVmlSchemaUri",v:"urn:schemas-microsoft-com:vml",html:"http://www.w3.org/TR/REC-html40"};var Kt=function(e){for(var t=[],r=0;r<e[0].length;++r)if(e[0][r])for(var n=0,a=e[0][r].length;n<a;n+=10240)t.push.apply(t,e[0][r].slice(n,n+10240));return t},Jt=b?function(e){return e[0].length>0&&Buffer.isBuffer(e[0][0])?Buffer.concat(e[0].map((function(e){return Buffer.isBuffer(e)?e:y(e)}))):Kt(e)}:Kt,Zt=function(e,t,r){for(var n=[],a=t;a<r;a+=2)n.push(String.fromCharCode(br(e,a)));return n.join("").replace(_,"")},Qt=b?function(e,t,r){return Buffer.isBuffer(e)?e.toString("utf16le",t,r).replace(_,""):Zt(e,t,r)}:Zt,er=function(e,t,r){for(var n=[],a=t;a<t+r;++a)n.push(("0"+e[a].toString(16)).slice(-2));return n.join("")},tr=b?function(e,t,r){return Buffer.isBuffer(e)?e.toString("hex",t,t+r):er(e,t,r)}:er,rr=function(e,t,r){for(var n=[],a=t;a<r;a++)n.push(String.fromCharCode(vr(e,a)));return n.join("")},nr=b?function(e,t,r){return Buffer.isBuffer(e)?e.toString("utf8",t,r):rr(e,t,r)}:rr,ar=function(e,t){var r=wr(e,t);return r>0?nr(e,t+4,t+4+r-1):""},or=ar,ir=function(e,t){var r=wr(e,t);return r>0?nr(e,t+4,t+4+r-1):""},sr=ir,cr=function(e,t){var r=2*wr(e,t);return r>0?nr(e,t+4,t+4+r-1):""},lr=cr,ur=function(e,t){var r=wr(e,t);return r>0?Qt(e,t+4,t+4+r):""},fr=ur,hr=function(e,t){var r=wr(e,t);return r>0?nr(e,t+4,t+4+r):""},dr=hr,pr=function(e,t){return function(e,t){for(var r=1-2*(e[t+7]>>>7),n=((127&e[t+7])<<4)+(e[t+6]>>>4&15),a=15&e[t+6],o=5;o>=0;--o)a=256*a+e[t+o];return 2047==n?0==a?r*(1/0):NaN:(0==n?n=-1022:(n-=1023,a+=Math.pow(2,52)),r*Math.pow(2,n-52)*a)}(e,t)},gr=pr,mr=function(e){return Array.isArray(e)||"undefined"!=typeof Uint8Array&&e instanceof Uint8Array};b&&(or=function(e,t){if(!Buffer.isBuffer(e))return ar(e,t);var r=e.readUInt32LE(t);return r>0?e.toString("utf8",t+4,t+4+r-1):""},sr=function(e,t){if(!Buffer.isBuffer(e))return ir(e,t);var r=e.readUInt32LE(t);return r>0?e.toString("utf8",t+4,t+4+r-1):""},lr=function(e,t){if(!Buffer.isBuffer(e))return cr(e,t);var r=2*e.readUInt32LE(t);return e.toString("utf16le",t+4,t+4+r-1)},fr=function(e,t){if(!Buffer.isBuffer(e))return ur(e,t);var r=e.readUInt32LE(t);return e.toString("utf16le",t+4,t+4+r)},dr=function(e,t){if(!Buffer.isBuffer(e))return hr(e,t);var r=e.readUInt32LE(t);return e.toString("utf8",t+4,t+4+r)},gr=function(e,t){return Buffer.isBuffer(e)?e.readDoubleLE(t):pr(e,t)},mr=function(e){return Buffer.isBuffer(e)||Array.isArray(e)||"undefined"!=typeof Uint8Array&&e instanceof Uint8Array}),void 0!==t&&(Qt=function(e,r,n){return t.utils.decode(1200,e.slice(r,n)).replace(_,"")},nr=function(e,r,n){return t.utils.decode(65001,e.slice(r,n))},or=function(e,r){var a=wr(e,r);return a>0?t.utils.decode(n,e.slice(r+4,r+4+a-1)):""},sr=function(e,n){var a=wr(e,n);return a>0?t.utils.decode(r,e.slice(n+4,n+4+a-1)):""},lr=function(e,r){var n=2*wr(e,r);return n>0?t.utils.decode(1200,e.slice(r+4,r+4+n-1)):""},fr=function(e,r){var n=wr(e,r);return n>0?t.utils.decode(1200,e.slice(r+4,r+4+n)):""},dr=function(e,r){var n=wr(e,r);return n>0?t.utils.decode(65001,e.slice(r+4,r+4+n)):""});var vr=function(e,t){return e[t]},br=function(e,t){return 256*e[t+1]+e[t]},yr=function(e,t){var r=256*e[t+1]+e[t];return r<32768?r:-1*(65535-r+1)},wr=function(e,t){return e[t+3]*(1<<24)+(e[t+2]<<16)+(e[t+1]<<8)+e[t]},Sr=function(e,t){return e[t+3]<<24|e[t+2]<<16|e[t+1]<<8|e[t]},xr=function(e,t){return e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3]};function Ar(e,n){var a,o,i,s,c,l,u="",f=[];switch(n){case"dbcs":if(l=this.l,b&&Buffer.isBuffer(this))u=this.slice(this.l,this.l+2*e).toString("utf16le");else for(c=0;c<e;++c)u+=String.fromCharCode(br(this,l)),l+=2;e*=2;break;case"utf8":u=nr(this,this.l,this.l+e);break;case"utf16le":e*=2,u=Qt(this,this.l,this.l+e);break;case"wstr":if(void 0===t)return Ar.call(this,e,"dbcs");u=t.utils.decode(r,this.slice(this.l,this.l+2*e)),e*=2;break;case"lpstr-ansi":u=or(this,this.l),e=4+wr(this,this.l);break;case"lpstr-cp":u=sr(this,this.l),e=4+wr(this,this.l);break;case"lpwstr":u=lr(this,this.l),e=4+2*wr(this,this.l);break;case"lpp4":e=4+wr(this,this.l),u=fr(this,this.l),2&e&&(e+=2);break;case"8lpp4":e=4+wr(this,this.l),u=dr(this,this.l),3&e&&(e+=4-(3&e));break;case"cstr":for(e=0,u="";0!==(i=vr(this,this.l+e++));)f.push(h(i));u=f.join("");break;case"_wstr":for(e=0,u="";0!==(i=br(this,this.l+e));)f.push(h(i)),e+=2;e+=2,u=f.join("");break;case"dbcs-cont":for(u="",l=this.l,c=0;c<e;++c){if(this.lens&&-1!==this.lens.indexOf(l))return i=vr(this,l),this.l=l+1,s=Ar.call(this,e-c,i?"dbcs-cont":"sbcs-cont"),f.join("")+s;f.push(h(br(this,l))),l+=2}u=f.join(""),e*=2;break;case"cpstr":if(void 0!==t){u=t.utils.decode(r,this.slice(this.l,this.l+e));break}case"sbcs-cont":for(u="",l=this.l,c=0;c!=e;++c){if(this.lens&&-1!==this.lens.indexOf(l))return i=vr(this,l),this.l=l+1,s=Ar.call(this,e-c,i?"dbcs-cont":"sbcs-cont"),f.join("")+s;f.push(h(vr(this,l))),l+=1}u=f.join("");break;default:switch(e){case 1:return a=vr(this,this.l),this.l++,a;case 2:return a=("i"===n?yr:br)(this,this.l),this.l+=2,a;case 4:case-4:return"i"===n||0==(128&this[this.l+3])?(a=(e>0?Sr:xr)(this,this.l),this.l+=4,a):(o=wr(this,this.l),this.l+=4,o);case 8:case-8:if("f"===n)return o=8==e?gr(this,this.l):gr([this[this.l+7],this[this.l+6],this[this.l+5],this[this.l+4],this[this.l+3],this[this.l+2],this[this.l+1],this[this.l+0]],0),this.l+=8,o;e=8;case 16:u=tr(this,this.l,e)}}return this.l+=e,u}var kr=function(e,t,r){e[r]=255&t,e[r+1]=t>>>8&255,e[r+2]=t>>>16&255,e[r+3]=t>>>24&255},Tr=function(e,t,r){e[r]=255&t,e[r+1]=t>>8&255,e[r+2]=t>>16&255,e[r+3]=t>>24&255},Er=function(e,t,r){e[r]=255&t,e[r+1]=t>>>8&255};function _r(e,r,a){var o=0,i=0;if("dbcs"===a){for(i=0;i!=r.length;++i)Er(this,r.charCodeAt(i),this.l+2*i);o=2*r.length}else if("sbcs"===a){if(void 0!==t&&874==n)for(i=0;i!=r.length;++i){var s=t.utils.encode(n,r.charAt(i));this[this.l+i]=s[0]}else for(r=r.replace(/[^\x00-\x7F]/g,"_"),i=0;i!=r.length;++i)this[this.l+i]=255&r.charCodeAt(i);o=r.length}else{if("hex"===a){for(;i<e;++i)this[this.l++]=parseInt(r.slice(2*i,2*i+2),16)||0;return this}if("utf16le"===a){var c=Math.min(this.l+e,this.length);for(i=0;i<Math.min(r.length,e);++i){var l=r.charCodeAt(i);this[this.l++]=255&l,this[this.l++]=l>>8}for(;this.l<c;)this[this.l++]=0;return this}switch(e){case 1:o=1,this[this.l]=255&r;break;case 2:o=2,this[this.l]=255&r,r>>>=8,this[this.l+1]=255&r;break;case 3:o=3,this[this.l]=255&r,r>>>=8,this[this.l+1]=255&r,r>>>=8,this[this.l+2]=255&r;break;case 4:o=4,kr(this,r,this.l);break;case 8:if(o=8,"f"===a){!function(e,t,r){var n=(t<0||1/t==-1/0?1:0)<<7,a=0,o=0,i=n?-t:t;isFinite(i)?0==i?a=o=0:(a=Math.floor(Math.log(i)/Math.LN2),o=i*Math.pow(2,52-a),a<=-1023&&(!isFinite(o)||o<Math.pow(2,52))?a=-1022:(o-=Math.pow(2,52),a+=1023)):(a=2047,o=isNaN(t)?26985:0);for(var s=0;s<=5;++s,o/=256)e[r+s]=255&o;e[r+6]=(15&a)<<4|15&o,e[r+7]=a>>4|n}(this,r,this.l);break}case 16:break;case-4:o=4,Tr(this,r,this.l)}}return this.l+=o,this}function Nr(e,t){var r=tr(this,this.l,e.length>>1);if(r!==e)throw new Error(t+"Expected "+e+" saw "+r);this.l+=e.length>>1}function Cr(e,t){e.l=t,e._R=Ar,e.chk=Nr,e._W=_r}function Or(e,t){e.l+=t}function Rr(e){var t=w(e);return Cr(t,0),t}function Pr(e,t,r){if(e){var n,a,o;Cr(e,e.l||0);for(var i=e.length,s=0,c=0;e.l<i;){128&(s=e._R(1))&&(s=(127&s)+((127&e._R(1))<<7));var l=Zl[s]||Zl[65535];for(o=127&(n=e._R(1)),a=1;a<4&&128&n;++a)o+=(127&(n=e._R(1)))<<7*a;c=e.l+o;var u=l.f&&l.f(e,o,r);if(e.l=c,t(u,l,s))return}}}function Lr(){var e=[],t=b?256:2048,r=function(e){var t=Rr(e);return Cr(t,0),t},n=r(t),a=function(){n&&(n.length>n.l&&((n=n.slice(0,n.l)).l=n.length),n.length>0&&e.push(n),n=null)},o=function(e){return n&&e<n.length-n.l?n:(a(),n=r(Math.max(e+1,t)))};return{next:o,push:function(e){a(),null==(n=e).l&&(n.l=n.length),o(t)},end:function(){return a(),E(e)},_bufs:e}}function Ir(e,t,r,n){var a,o=+t;if(!isNaN(o)){n||(n=Zl[o].p||(r||[]).length||0),a=1+(o>=128?1:0)+1,n>=128&&++a,n>=16384&&++a,n>=2097152&&++a;var i=e.next(a);o<=127?i._W(1,o):(i._W(1,128+(127&o)),i._W(1,o>>7));for(var s=0;4!=s;++s){if(!(n>=128)){i._W(1,n);break}i._W(1,128+(127&n)),n>>=7}n>0&&mr(r)&&e.push(r)}}function Fr(e,t,r){var n=qe(e);if(t.s?(n.cRel&&(n.c+=t.s.c),n.rRel&&(n.r+=t.s.r)):(n.cRel&&(n.c+=t.c),n.rRel&&(n.r+=t.r)),!r||r.biff<12){for(;n.c>=256;)n.c-=256;for(;n.r>=65536;)n.r-=65536}return n}function Dr(e,t,r){var n=qe(e);return n.s=Fr(n.s,t.s,r),n.e=Fr(n.e,t.s,r),n}function Mr(e,t){if(e.cRel&&e.c<0)for(e=qe(e);e.c<0;)e.c+=t>8?16384:256;if(e.rRel&&e.r<0)for(e=qe(e);e.r<0;)e.r+=t>8?1048576:t>5?65536:16384;var r=Vr(e);return e.cRel||null==e.cRel||(r=function(e){return e.replace(/^([A-Z])/,"$$$1")}(r)),e.rRel||null==e.rRel||(r=function(e){return e.replace(/([A-Z]|^)(\d+)$/,"$1$$$2")}(r)),r}function jr(e,t){return 0!=e.s.r||e.s.rRel||e.e.r!=(t.biff>=12?1048575:t.biff>=8?65536:16384)||e.e.rRel?0!=e.s.c||e.s.cRel||e.e.c!=(t.biff>=12?16383:255)||e.e.cRel?Mr(e.s,t.biff)+":"+Mr(e.e,t.biff):(e.s.rRel?"":"$")+Wr(e.s.r)+":"+(e.e.rRel?"":"$")+Wr(e.e.r):(e.s.cRel?"":"$")+Hr(e.s.c)+":"+(e.e.cRel?"":"$")+Hr(e.e.c)}function Br(e){return parseInt(function(e){return e.replace(/\$(\d+)$/,"$1")}(e),10)-1}function Wr(e){return""+(e+1)}function Ur(e){for(var t=function(e){return e.replace(/^\$([A-Z])/,"$1")}(e),r=0,n=0;n!==t.length;++n)r=26*r+t.charCodeAt(n)-64;return r-1}function Hr(e){if(e<0)throw new Error("invalid column "+e);var t="";for(++e;e;e=Math.floor((e-1)/26))t=String.fromCharCode((e-1)%26+65)+t;return t}function zr(e){for(var t=0,r=0,n=0;n<e.length;++n){var a=e.charCodeAt(n);a>=48&&a<=57?t=10*t+(a-48):a>=65&&a<=90&&(r=26*r+(a-64))}return{c:r-1,r:t-1}}function Vr(e){for(var t=e.c+1,r="";t;t=(t-1)/26|0)r=String.fromCharCode((t-1)%26+65)+r;return r+(e.r+1)}function qr(e){var t=e.indexOf(":");return-1==t?{s:zr(e),e:zr(e)}:{s:zr(e.slice(0,t)),e:zr(e.slice(t+1))}}function $r(e,t){return void 0===t||"number"==typeof t?$r(e.s,e.e):("string"!=typeof e&&(e=Vr(e)),"string"!=typeof t&&(t=Vr(t)),e==t?e:e+":"+t)}function Gr(e){var t={s:{c:0,r:0},e:{c:0,r:0}},r=0,n=0,a=0,o=e.length;for(r=0;n<o&&!((a=e.charCodeAt(n)-64)<1||a>26);++n)r=26*r+a;for(t.s.c=--r,r=0;n<o&&!((a=e.charCodeAt(n)-48)<0||a>9);++n)r=10*r+a;if(t.s.r=--r,n===o||10!=a)return t.e.c=t.s.c,t.e.r=t.s.r,t;for(++n,r=0;n!=o&&!((a=e.charCodeAt(n)-64)<1||a>26);++n)r=26*r+a;for(t.e.c=--r,r=0;n!=o&&!((a=e.charCodeAt(n)-48)<0||a>9);++n)r=10*r+a;return t.e.r=--r,t}function Xr(e,t){var r="d"==e.t&&t instanceof Date;if(null!=e.z)try{return e.w=ve(e.z,r?Ie(t):t)}catch(e){}try{return e.w=ve((e.XF||{}).numFmtId||(r?14:0),r?Ie(t):t)}catch(e){return""+t}}function Yr(e,t,r){return null==e||null==e.t||"z"==e.t?"":void 0!==e.w?e.w:("d"==e.t&&!e.z&&r&&r.dateNF&&(e.z=r.dateNF),"e"==e.t?Bn[e.v]||e.v:Xr(e,null==t?e.v:t))}function Kr(e,t){var r=t&&t.sheet?t.sheet:"Sheet1",n={};return n[r]=e,{SheetNames:[r],Sheets:n}}function Jr(e,t,r){var n=r||{},a=e?Array.isArray(e):n.dense;null!=p&&null==a&&(a=p);var o=e||(a?[]:{}),i=0,s=0;if(o&&null!=n.origin){if("number"==typeof n.origin)i=n.origin;else{var c="string"==typeof n.origin?zr(n.origin):n.origin;i=c.r,s=c.c}o["!ref"]||(o["!ref"]="A1:A1")}var l={s:{c:1e7,r:1e7},e:{c:0,r:0}};if(o["!ref"]){var u=Gr(o["!ref"]);l.s.c=u.s.c,l.s.r=u.s.r,l.e.c=Math.max(l.e.c,u.e.c),l.e.r=Math.max(l.e.r,u.e.r),-1==i&&(l.e.r=i=u.e.r+1)}for(var f=0;f!=t.length;++f)if(t[f]){if(!Array.isArray(t[f]))throw new Error("aoa_to_sheet expects an array of arrays");for(var h=0;h!=t[f].length;++h)if(void 0!==t[f][h]){var d={v:t[f][h]},g=i+f,m=s+h;if(l.s.r>g&&(l.s.r=g),l.s.c>m&&(l.s.c=m),l.e.r<g&&(l.e.r=g),l.e.c<m&&(l.e.c=m),!t[f][h]||"object"!=typeof t[f][h]||Array.isArray(t[f][h])||t[f][h]instanceof Date)if(Array.isArray(d.v)&&(d.f=t[f][h][1],d.v=d.v[0]),null===d.v)if(d.f)d.t="n";else if(n.nullError)d.t="e",d.v=0;else{if(!n.sheetStubs)continue;d.t="z"}else"number"==typeof d.v?d.t="n":"boolean"==typeof d.v?d.t="b":d.v instanceof Date?(d.z=n.dateNF||j[14],n.cellDates?(d.t="d",d.w=ve(d.z,Ie(d.v))):(d.t="n",d.v=Ie(d.v),d.w=ve(d.z,d.v))):d.t="s";else d=t[f][h];if(a)o[g]||(o[g]=[]),o[g][m]&&o[g][m].z&&(d.z=o[g][m].z),o[g][m]=d;else{var v=Vr({c:m,r:g});o[v]&&o[v].z&&(d.z=o[v].z),o[v]=d}}}return l.s.c<1e7&&(o["!ref"]=$r(l)),o}function Zr(e,t){return Jr(null,e,t)}function Qr(e,t){return t||(t=Rr(4)),t._W(4,e),t}function en(e){var t=e._R(4);return 0===t?"":e._R(t,"dbcs")}function tn(e,t){var r=!1;return null==t&&(r=!0,t=Rr(4+2*e.length)),t._W(4,e.length),e.length>0&&t._W(0,e,"dbcs"),r?t.slice(0,t.l):t}function rn(e){return{ich:e._R(2),ifnt:e._R(2)}}function nn(e,t){var r=e.l,n=e._R(1),a=en(e),o=[],i={t:a,h:a};if(0!=(1&n)){for(var s=e._R(4),c=0;c!=s;++c)o.push(rn(e));i.r=o}else i.r=[{ich:0,ifnt:0}];return e.l=r+t,i}var an=nn;function on(e,t){var r=!1;return null==t&&(r=!0,t=Rr(23+4*e.t.length)),t._W(1,1),tn(e.t,t),t._W(4,1),function(e,t){t||(t=Rr(4)),t._W(2,e.ich||0),t._W(2,e.ifnt||0)}({ich:0,ifnt:0},t),r?t.slice(0,t.l):t}function sn(e){var t=e._R(4),r=e._R(2);return r+=e._R(1)<<16,e.l++,{c:t,iStyleRef:r}}function cn(e,t){return null==t&&(t=Rr(8)),t._W(-4,e.c),t._W(3,e.iStyleRef||e.s),t._W(1,0),t}function ln(e){var t=e._R(2);return t+=e._R(1)<<16,e.l++,{c:-1,iStyleRef:t}}function un(e,t){return null==t&&(t=Rr(4)),t._W(3,e.iStyleRef||e.s),t._W(1,0),t}var fn=en,hn=tn;function dn(e){var t=e._R(4);return 0===t||4294967295===t?"":e._R(t,"dbcs")}function pn(e,t){var r=!1;return null==t&&(r=!0,t=Rr(127)),t._W(4,e.length>0?e.length:4294967295),e.length>0&&t._W(0,e,"dbcs"),r?t.slice(0,t.l):t}var gn=en,mn=dn,vn=pn;function bn(e){var t=e.slice(e.l,e.l+4),r=1&t[0],n=2&t[0];e.l+=4;var a=0===n?gr([0,0,0,0,252&t[0],t[1],t[2],t[3]],0):Sr(t,0)>>2;return r?a/100:a}function yn(e,t){null==t&&(t=Rr(4));var r=0,n=0,a=100*e;if(e==(0|e)&&e>=-(1<<29)&&e<1<<29?n=1:a==(0|a)&&a>=-(1<<29)&&a<1<<29&&(n=1,r=1),!n)throw new Error("unsupported RkNumber "+e);t._W(-4,((r?a:e)<<2)+(r+2))}function wn(e){var t={s:{},e:{}};return t.s.r=e._R(4),t.e.r=e._R(4),t.s.c=e._R(4),t.e.c=e._R(4),t}var Sn=wn,xn=function(e,t){return t||(t=Rr(16)),t._W(4,e.s.r),t._W(4,e.e.r),t._W(4,e.s.c),t._W(4,e.e.c),t};function An(e){if(e.length-e.l<8)throw"XLS Xnum Buffer underflow";return e._R(8,"f")}function kn(e,t){return(t||Rr(8))._W(8,e,"f")}function Tn(e,t){if(t||(t=Rr(8)),!e||e.auto)return t._W(4,0),t._W(4,0),t;null!=e.index?(t._W(1,2),t._W(1,e.index)):null!=e.theme?(t._W(1,6),t._W(1,e.theme)):(t._W(1,5),t._W(1,0));var r=e.tint||0;if(r>0?r*=32767:r<0&&(r*=32768),t._W(2,r),e.rgb&&null==e.theme){var n=e.rgb||"FFFFFF";"number"==typeof n&&(n=("000000"+n.toString(16)).slice(-6)),t._W(1,parseInt(n.slice(0,2),16)),t._W(1,parseInt(n.slice(2,4),16)),t._W(1,parseInt(n.slice(4,6),16)),t._W(1,255)}else t._W(2,0),t._W(1,0),t._W(1,0);return t}function En(e,t){var r=e._R(4);switch(r){case 0:return"";case 4294967295:case 4294967294:return{2:"BITMAP",3:"METAFILEPICT",8:"DIB",14:"ENHMETAFILE"}[e._R(4)]||""}if(r>400)throw new Error("Unsupported Clipboard: "+r.toString(16));return e.l-=4,e._R(0,1==t?"lpstr":"lpwstr")}var _n=2,Nn=3,Cn=12,On=80,Rn=81,Pn=[On,Rn],Ln={1:{n:"CodePage",t:_n},2:{n:"Category",t:On},3:{n:"PresentationFormat",t:On},4:{n:"ByteCount",t:Nn},5:{n:"LineCount",t:Nn},6:{n:"ParagraphCount",t:Nn},7:{n:"SlideCount",t:Nn},8:{n:"NoteCount",t:Nn},9:{n:"HiddenCount",t:Nn},10:{n:"MultimediaClipCount",t:Nn},11:{n:"ScaleCrop",t:11},12:{n:"HeadingPairs",t:4108},13:{n:"TitlesOfParts",t:4126},14:{n:"Manager",t:On},15:{n:"Company",t:On},16:{n:"LinksUpToDate",t:11},17:{n:"CharacterCount",t:Nn},19:{n:"SharedDoc",t:11},22:{n:"HyperlinksChanged",t:11},23:{n:"AppVersion",t:Nn,p:"version"},24:{n:"DigSig",t:65},26:{n:"ContentType",t:On},27:{n:"ContentStatus",t:On},28:{n:"Language",t:On},29:{n:"Version",t:On},255:{},2147483648:{n:"Locale",t:19},2147483651:{n:"Behavior",t:19},1919054434:{}},In={1:{n:"CodePage",t:_n},2:{n:"Title",t:On},3:{n:"Subject",t:On},4:{n:"Author",t:On},5:{n:"Keywords",t:On},6:{n:"Comments",t:On},7:{n:"Template",t:On},8:{n:"LastAuthor",t:On},9:{n:"RevNumber",t:On},10:{n:"EditTime",t:64},11:{n:"LastPrinted",t:64},12:{n:"CreatedDate",t:64},13:{n:"ModifiedDate",t:64},14:{n:"PageCount",t:Nn},15:{n:"WordCount",t:Nn},16:{n:"CharCount",t:Nn},17:{n:"Thumbnail",t:71},18:{n:"Application",t:On},19:{n:"DocSecurity",t:Nn},255:{},2147483648:{n:"Locale",t:19},2147483651:{n:"Behavior",t:19},1919054434:{}},Fn={1:"US",2:"CA",3:"",7:"RU",20:"EG",30:"GR",31:"NL",32:"BE",33:"FR",34:"ES",36:"HU",39:"IT",41:"CH",43:"AT",44:"GB",45:"DK",46:"SE",47:"NO",48:"PL",49:"DE",52:"MX",55:"BR",61:"AU",64:"NZ",66:"TH",81:"JP",82:"KR",84:"VN",86:"CN",90:"TR",105:"JS",213:"DZ",216:"MA",218:"LY",351:"PT",354:"IS",358:"FI",420:"CZ",886:"TW",961:"LB",962:"JO",963:"SY",964:"IQ",965:"KW",966:"SA",971:"AE",972:"IL",974:"QA",981:"IR",65535:"US"},Dn=[null,"solid","mediumGray","darkGray","lightGray","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","gray125","gray0625"];var Mn=function(e){return e.map((function(e){return[e>>16&255,e>>8&255,255&e]}))}([0,16777215,16711680,65280,255,16776960,16711935,65535,0,16777215,16711680,65280,255,16776960,16711935,65535,8388608,32768,128,8421376,8388736,32896,12632256,8421504,10066431,10040166,16777164,13434879,6684774,16744576,26316,13421823,128,16711935,16776960,65535,8388736,8388608,32896,255,52479,13434879,13434828,16777113,10079487,16751052,13408767,16764057,3368703,3394764,10079232,16763904,16750848,16737792,6710937,9868950,13158,3381606,13056,3355392,10040064,10040166,3355545,3355443,16777215,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]),jn=qe(Mn),Bn={0:"#NULL!",7:"#DIV/0!",15:"#VALUE!",23:"#REF!",29:"#NAME?",36:"#NUM!",42:"#N/A",43:"#GETTING_DATA",255:"#WTF?"},Wn={"#NULL!":0,"#DIV/0!":7,"#VALUE!":15,"#REF!":23,"#NAME?":29,"#NUM!":36,"#N/A":42,"#GETTING_DATA":43,"#WTF?":255},Un={"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":"workbooks","application/vnd.ms-excel.sheet.macroEnabled.main+xml":"workbooks","application/vnd.ms-excel.sheet.binary.macroEnabled.main":"workbooks","application/vnd.ms-excel.addin.macroEnabled.main+xml":"workbooks","application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":"workbooks","application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":"sheets","application/vnd.ms-excel.worksheet":"sheets","application/vnd.ms-excel.binIndexWs":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":"charts","application/vnd.ms-excel.chartsheet":"charts","application/vnd.ms-excel.macrosheet+xml":"macros","application/vnd.ms-excel.macrosheet":"macros","application/vnd.ms-excel.intlmacrosheet":"TODO","application/vnd.ms-excel.binIndexMs":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":"dialogs","application/vnd.ms-excel.dialogsheet":"dialogs","application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml":"strs","application/vnd.ms-excel.sharedStrings":"strs","application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":"styles","application/vnd.ms-excel.styles":"styles","application/vnd.openxmlformats-package.core-properties+xml":"coreprops","application/vnd.openxmlformats-officedocument.custom-properties+xml":"custprops","application/vnd.openxmlformats-officedocument.extended-properties+xml":"extprops","application/vnd.openxmlformats-officedocument.customXmlProperties+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.customProperty":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":"comments","application/vnd.ms-excel.comments":"comments","application/vnd.ms-excel.threadedcomments+xml":"threadedcomments","application/vnd.ms-excel.person+xml":"people","application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml":"metadata","application/vnd.ms-excel.sheetMetadata":"metadata","application/vnd.ms-excel.pivotTable":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotTable+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.chart+xml":"TODO","application/vnd.ms-office.chartcolorstyle+xml":"TODO","application/vnd.ms-office.chartstyle+xml":"TODO","application/vnd.ms-office.chartex+xml":"TODO","application/vnd.ms-excel.calcChain":"calcchains","application/vnd.openxmlformats-officedocument.spreadsheetml.calcChain+xml":"calcchains","application/vnd.openxmlformats-officedocument.spreadsheetml.printerSettings":"TODO","application/vnd.ms-office.activeX":"TODO","application/vnd.ms-office.activeX+xml":"TODO","application/vnd.ms-excel.attachedToolbars":"TODO","application/vnd.ms-excel.connections":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":"TODO","application/vnd.ms-excel.externalLink":"links","application/vnd.openxmlformats-officedocument.spreadsheetml.externalLink+xml":"links","application/vnd.ms-excel.pivotCacheDefinition":"TODO","application/vnd.ms-excel.pivotCacheRecords":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheDefinition+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheRecords+xml":"TODO","application/vnd.ms-excel.queryTable":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.queryTable+xml":"TODO","application/vnd.ms-excel.userNames":"TODO","application/vnd.ms-excel.revisionHeaders":"TODO","application/vnd.ms-excel.revisionLog":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.revisionHeaders+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.revisionLog+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.userNames+xml":"TODO","application/vnd.ms-excel.tableSingleCells":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.tableSingleCells+xml":"TODO","application/vnd.ms-excel.slicer":"TODO","application/vnd.ms-excel.slicerCache":"TODO","application/vnd.ms-excel.slicer+xml":"TODO","application/vnd.ms-excel.slicerCache+xml":"TODO","application/vnd.ms-excel.wsSortMap":"TODO","application/vnd.ms-excel.table":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":"TODO","application/vnd.openxmlformats-officedocument.theme+xml":"themes","application/vnd.openxmlformats-officedocument.themeOverride+xml":"TODO","application/vnd.ms-excel.Timeline+xml":"TODO","application/vnd.ms-excel.TimelineCache+xml":"TODO","application/vnd.ms-office.vbaProject":"vba","application/vnd.ms-office.vbaProjectSignature":"TODO","application/vnd.ms-office.volatileDependencies":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.volatileDependencies+xml":"TODO","application/vnd.ms-excel.controlproperties+xml":"TODO","application/vnd.openxmlformats-officedocument.model+data":"TODO","application/vnd.ms-excel.Survey+xml":"TODO","application/vnd.openxmlformats-officedocument.drawing+xml":"drawings","application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramColors+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramData+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramLayout+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramStyle+xml":"TODO","application/vnd.openxmlformats-officedocument.vmlDrawing":"TODO","application/vnd.openxmlformats-package.relationships+xml":"rels","application/vnd.openxmlformats-officedocument.oleObject":"TODO","image/png":"TODO",sheet:"js"},Hn={workbooks:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml",xlsm:"application/vnd.ms-excel.sheet.macroEnabled.main+xml",xlsb:"application/vnd.ms-excel.sheet.binary.macroEnabled.main",xlam:"application/vnd.ms-excel.addin.macroEnabled.main+xml",xltx:"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml"},strs:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml",xlsb:"application/vnd.ms-excel.sharedStrings"},comments:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml",xlsb:"application/vnd.ms-excel.comments"},sheets:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml",xlsb:"application/vnd.ms-excel.worksheet"},charts:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml",xlsb:"application/vnd.ms-excel.chartsheet"},dialogs:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml",xlsb:"application/vnd.ms-excel.dialogsheet"},macros:{xlsx:"application/vnd.ms-excel.macrosheet+xml",xlsb:"application/vnd.ms-excel.macrosheet"},metadata:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml",xlsb:"application/vnd.ms-excel.sheetMetadata"},styles:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml",xlsb:"application/vnd.ms-excel.styles"}};function zn(e,t){var r,n=function(e){for(var t=[],r=Ce(e),n=0;n!==r.length;++n)null==t[e[r[n]]]&&(t[e[r[n]]]=[]),t[e[r[n]]].push(r[n]);return t}(Un),a=[];a[a.length]=lt,a[a.length]=zt("Types",null,{xmlns:Gt.CT,"xmlns:xsd":Gt.xsd,"xmlns:xsi":Gt.xsi}),a=a.concat([["xml","application/xml"],["bin","application/vnd.ms-excel.sheet.binary.macroEnabled.main"],["vml","application/vnd.openxmlformats-officedocument.vmlDrawing"],["data","application/vnd.openxmlformats-officedocument.model+data"],["bmp","image/bmp"],["png","image/png"],["gif","image/gif"],["emf","image/x-emf"],["wmf","image/x-wmf"],["jpg","image/jpeg"],["jpeg","image/jpeg"],["tif","image/tiff"],["tiff","image/tiff"],["pdf","application/pdf"],["rels","application/vnd.openxmlformats-package.relationships+xml"]].map((function(e){return zt("Default",null,{Extension:e[0],ContentType:e[1]})})));var o=function(n){e[n]&&e[n].length>0&&(r=e[n][0],a[a.length]=zt("Override",null,{PartName:("/"==r[0]?"":"/")+r,ContentType:Hn[n][t.bookType]||Hn[n].xlsx}))},i=function(r){(e[r]||[]).forEach((function(e){a[a.length]=zt("Override",null,{PartName:("/"==e[0]?"":"/")+e,ContentType:Hn[r][t.bookType]||Hn[r].xlsx})}))},s=function(t){(e[t]||[]).forEach((function(e){a[a.length]=zt("Override",null,{PartName:("/"==e[0]?"":"/")+e,ContentType:n[t][0]})}))};return o("workbooks"),i("sheets"),i("charts"),s("themes"),["strs","styles"].forEach(o),["coreprops","extprops","custprops"].forEach(s),s("vba"),s("comments"),s("threadedcomments"),s("drawings"),i("metadata"),s("people"),a.length>2&&(a[a.length]="</Types>",a[1]=a[1].replace("/>",">")),a.join("")}var Vn={WB:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument",SHEET:"http://sheetjs.openxmlformats.org/officeDocument/2006/relationships/officeDocument",HLINK:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink",VML:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/vmlDrawing",XPATH:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLinkPath",XMISS:"http://schemas.microsoft.com/office/2006/relationships/xlExternalLinkPath/xlPathMissing",XLINK:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLink",CXML:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXml",CXMLP:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXmlProps",CMNT:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments",CORE_PROPS:"http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties",EXT_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties",CUST_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/custom-properties",SST:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings",STY:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles",THEME:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme",CHART:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/chart",CHARTEX:"http://schemas.microsoft.com/office/2014/relationships/chartEx",CS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/chartsheet",WS:["http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet","http://purl.oclc.org/ooxml/officeDocument/relationships/worksheet"],DS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/dialogsheet",MS:"http://schemas.microsoft.com/office/2006/relationships/xlMacrosheet",IMG:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",DRAW:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing",XLMETA:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/sheetMetadata",TCMNT:"http://schemas.microsoft.com/office/2017/10/relationships/threadedComment",PEOPLE:"http://schemas.microsoft.com/office/2017/10/relationships/person",VBA:"http://schemas.microsoft.com/office/2006/relationships/vbaProject"};function qn(e){var t=e.lastIndexOf("/");return e.slice(0,t+1)+"_rels/"+e.slice(t+1)+".rels"}function $n(e,t){var r={"!id":{}};if(!e)return r;"/"!==t.charAt(0)&&(t="/"+t);var n={};return(e.match(ht)||[]).forEach((function(e){var a=gt(e);if("<Relationship"===a[0]){var o={};o.Type=a.Type,o.Target=a.Target,o.Id=a.Id,a.TargetMode&&(o.TargetMode=a.TargetMode);var i="External"===a.TargetMode?a.Target:ct(a.Target,t);r[i]=o,n[a.Id]=o}})),r["!id"]=n,r}function Gn(e){var t=[lt,zt("Relationships",null,{xmlns:Gt.RELS})];return Ce(e["!id"]).forEach((function(r){t[t.length]=zt("Relationship",null,e["!id"][r])})),t.length>2&&(t[t.length]="</Relationships>",t[1]=t[1].replace("/>",">")),t.join("")}function Xn(e,t,r,n,a,o){if(a||(a={}),e["!id"]||(e["!id"]={}),e["!idx"]||(e["!idx"]=1),t<0)for(t=e["!idx"];e["!id"]["rId"+t];++t);if(e["!idx"]=t+1,a.Id="rId"+t,a.Type=n,a.Target=r,o?a.TargetMode=o:[Vn.HLINK,Vn.XPATH,Vn.XMISS].indexOf(a.Type)>-1&&(a.TargetMode="External"),e["!id"][a.Id])throw new Error("Cannot rewrite rId "+t);return e["!id"][a.Id]=a,e[("/"+a.Target).replace("//","/")]=a,t}var Yn="application/vnd.oasis.opendocument.spreadsheet";function Kn(e,t,r){return[' <rdf:Description rdf:about="'+e+'">\n',' <rdf:type rdf:resource="http://docs.oasis-open.org/ns/office/1.2/meta/'+(r||"odf")+"#"+t+'"/>\n'," </rdf:Description>\n"].join("")}function Jn(e,t){return[' <rdf:Description rdf:about="'+e+'">\n',' <ns0:hasPart xmlns:ns0="http://docs.oasis-open.org/ns/office/1.2/meta/pkg#" rdf:resource="'+t+'"/>\n'," </rdf:Description>\n"].join("")}function Zn(){return'<office:document-meta xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:xlink="http://www.w3.org/1999/xlink" office:version="1.2"><office:meta><meta:generator>SheetJS '+e.version+"</meta:generator></office:meta></office:document-meta>"}var Qn=[["cp:category","Category"],["cp:contentStatus","ContentStatus"],["cp:keywords","Keywords"],["cp:lastModifiedBy","LastAuthor"],["cp:lastPrinted","LastPrinted"],["cp:revision","RevNumber"],["cp:version","Version"],["dc:creator","Author"],["dc:description","Comments"],["dc:identifier","Identifier"],["dc:language","Language"],["dc:subject","Subject"],["dc:title","Title"],["dcterms:created","CreatedDate","date"],["dcterms:modified","ModifiedDate","date"]],ea=function(){for(var e=new Array(Qn.length),t=0;t<Qn.length;++t){var r=Qn[t],n="(?:"+r[0].slice(0,r[0].indexOf(":"))+":)"+r[0].slice(r[0].indexOf(":")+1);e[t]=new RegExp("<"+n+"[^>]*>([\\s\\S]*?)</"+n+">")}return e}();function ta(e){var t={};e=Pt(e);for(var r=0;r<Qn.length;++r){var n=Qn[r],a=e.match(ea[r]);null!=a&&a.length>0&&(t[n[1]]=yt(a[1])),"date"===n[2]&&t[n[1]]&&(t[n[1]]=ze(t[n[1]]))}return t}function ra(e,t,r,n,a){null==a[e]&&null!=t&&""!==t&&(a[e]=t,t=xt(t),n[n.length]=r?zt(e,t,r):Ut(e,t))}function na(e,t){var r=t||{},n=[lt,zt("cp:coreProperties",null,{"xmlns:cp":Gt.CORE_PROPS,"xmlns:dc":Gt.dc,"xmlns:dcterms":Gt.dcterms,"xmlns:dcmitype":Gt.dcmitype,"xmlns:xsi":Gt.xsi})],a={};if(!e&&!r.Props)return n.join("");e&&(null!=e.CreatedDate&&ra("dcterms:created","string"==typeof e.CreatedDate?e.CreatedDate:Vt(e.CreatedDate,r.WTF),{"xsi:type":"dcterms:W3CDTF"},n,a),null!=e.ModifiedDate&&ra("dcterms:modified","string"==typeof e.ModifiedDate?e.ModifiedDate:Vt(e.ModifiedDate,r.WTF),{"xsi:type":"dcterms:W3CDTF"},n,a));for(var o=0;o!=Qn.length;++o){var i=Qn[o],s=r.Props&&null!=r.Props[i[1]]?r.Props[i[1]]:e?e[i[1]]:null;!0===s?s="1":!1===s?s="0":"number"==typeof s&&(s=String(s)),null!=s&&ra(i[0],s,null,n,a)}return n.length>2&&(n[n.length]="</cp:coreProperties>",n[1]=n[1].replace("/>",">")),n.join("")}var aa=[["Application","Application","string"],["AppVersion","AppVersion","string"],["Company","Company","string"],["DocSecurity","DocSecurity","string"],["Manager","Manager","string"],["HyperlinksChanged","HyperlinksChanged","bool"],["SharedDoc","SharedDoc","bool"],["LinksUpToDate","LinksUpToDate","bool"],["ScaleCrop","ScaleCrop","bool"],["HeadingPairs","HeadingPairs","raw"],["TitlesOfParts","TitlesOfParts","raw"]],oa=["Worksheets","SheetNames","NamedRanges","DefinedNames","Chartsheets","ChartNames"];function ia(e,t,r,n){var a=[];if("string"==typeof e)a=Bt(e,n);else for(var o=0;o<e.length;++o)a=a.concat(e[o].map((function(e){return{v:e}})));var i="string"==typeof t?Bt(t,n).map((function(e){return e.v})):t,s=0,c=0;if(i.length>0)for(var l=0;l!==a.length;l+=2){switch(c=+a[l+1].v,a[l].v){case"Worksheets":case"工作表":case"Листы":case"أوراق العمل":case"ワークシート":case"גליונות עבודה":case"Arbeitsblätter":case"Çalışma Sayfaları":case"Feuilles de calcul":case"Fogli di lavoro":case"Folhas de cálculo":case"Planilhas":case"Regneark":case"Hojas de cálculo":case"Werkbladen":r.Worksheets=c,r.SheetNames=i.slice(s,s+c);break;case"Named Ranges":case"Rangos con nombre":case"名前付き一覧":case"Benannte Bereiche":case"Navngivne områder":r.NamedRanges=c,r.DefinedNames=i.slice(s,s+c);break;case"Charts":case"Diagramme":r.Chartsheets=c,r.ChartNames=i.slice(s,s+c)}s+=c}}function sa(e){var t=[],r=zt;return e||(e={}),e.Application="SheetJS",t[t.length]=lt,t[t.length]=zt("Properties",null,{xmlns:Gt.EXT_PROPS,"xmlns:vt":Gt.vt}),aa.forEach((function(n){if(void 0!==e[n[1]]){var a;switch(n[2]){case"string":a=xt(String(e[n[1]]));break;case"bool":a=e[n[1]]?"true":"false"}void 0!==a&&(t[t.length]=r(n[0],a))}})),t[t.length]=r("HeadingPairs",r("vt:vector",r("vt:variant","<vt:lpstr>Worksheets</vt:lpstr>")+r("vt:variant",r("vt:i4",String(e.Worksheets))),{size:2,baseType:"variant"})),t[t.length]=r("TitlesOfParts",r("vt:vector",e.SheetNames.map((function(e){return"<vt:lpstr>"+xt(e)+"</vt:lpstr>"})).join(""),{size:e.Worksheets,baseType:"lpstr"})),t.length>2&&(t[t.length]="</Properties>",t[1]=t[1].replace("/>",">")),t.join("")}var ca=/<[^>]+>[^<]*/g;function la(e){var t=[lt,zt("Properties",null,{xmlns:Gt.CUST_PROPS,"xmlns:vt":Gt.vt})];if(!e)return t.join("");var r=1;return Ce(e).forEach((function(n){++r,t[t.length]=zt("property",function(e,t){switch(typeof e){case"string":var r=zt("vt:lpwstr",xt(e));return t&&(r=r.replace(/"/g,"_x0022_")),r;case"number":return zt((0|e)==e?"vt:i4":"vt:r8",xt(String(e)));case"boolean":return zt("vt:bool",e?"true":"false")}if(e instanceof Date)return zt("vt:filetime",Vt(e));throw new Error("Unable to serialize "+e)}(e[n],!0),{fmtid:"{D5CDD505-2E9C-101B-9397-08002B2CF9AE}",pid:r,name:xt(n)})})),t.length>2&&(t[t.length]="</Properties>",t[1]=t[1].replace("/>",">")),t.join("")}var ua,fa={Title:"Title",Subject:"Subject",Author:"Author",Keywords:"Keywords",Comments:"Description",LastAuthor:"LastAuthor",RevNumber:"Revision",Application:"AppName",LastPrinted:"LastPrinted",CreatedDate:"Created",ModifiedDate:"LastSaved",Category:"Category",Manager:"Manager",Company:"Company",AppVersion:"Version",ContentStatus:"ContentStatus",Identifier:"Identifier",Language:"Language"};function ha(e,t,r){ua||(ua=Re(fa)),e[t=ua[t]||t]=r}function da(e){var t=e._R(4),r=e._R(4);return new Date(1e3*(r/1e7*Math.pow(2,32)+t/1e7-11644473600)).toISOString().replace(/\.000/,"")}function pa(e,t,r){var n=e.l,a=e._R(0,"lpstr-cp");if(r)for(;e.l-n&3;)++e.l;return a}function ga(e,t,r){var n=e._R(0,"lpwstr");return r&&(e.l+=4-(n.length+1&3)&3),n}function ma(e,t,r){return 31===t?ga(e):pa(e,0,r)}function va(e,t,r){return ma(e,t,!1===r?0:4)}function ba(e){var t=e.l,r=Sa(e,Rn);return 0==e[e.l]&&0==e[e.l+1]&&e.l-t&2&&(e.l+=2),[r,Sa(e,Nn)]}function ya(e,t){for(var r=e._R(4),n={},a=0;a!=r;++a){var o=e._R(4),i=e._R(4);n[o]=e._R(i,1200===t?"utf16le":"utf8").replace(_,"").replace(N,"!"),1200===t&&i%2&&(e.l+=2)}return 3&e.l&&(e.l=e.l>>3<<2),n}function wa(e){var t=e._R(4),r=e.slice(e.l,e.l+t);return e.l+=t,(3&t)>0&&(e.l+=4-(3&t)&3),r}function Sa(e,t,r){var n,a=e._R(2),o=r||{};if(e.l+=2,t!==Cn&&a!==t&&-1===Pn.indexOf(t)&&(4126!=(65534&t)||4126!=(65534&a)))throw new Error("Expected type "+t+" saw "+a);switch(t===Cn?a:t){case 2:return n=e._R(2,"i"),o.raw||(e.l+=2),n;case 3:return n=e._R(4,"i");case 11:return 0!==e._R(4);case 19:return n=e._R(4);case 30:return pa(e,0,4).replace(_,"");case 31:return ga(e);case 64:return da(e);case 65:return wa(e);case 71:return function(e){var t={};return t.Size=e._R(4),e.l+=t.Size+3-(t.Size-1)%4,t}(e);case 80:return va(e,a,!o.raw).replace(_,"");case 81:return function(e,t){if(!t)throw new Error("VtUnalignedString must have positive length");return ma(e,t,0)}(e,a).replace(_,"");case 4108:return function(e){for(var t=e._R(4),r=[],n=0;n<t/2;++n)r.push(ba(e));return r}(e);case 4126:case 4127:return 4127==a?function(e){for(var t=e._R(4),r=[],n=0;n!=t;++n){var a=e.l;r[n]=e._R(0,"lpwstr").replace(_,""),e.l-a&2&&(e.l+=2)}return r}(e):function(e){for(var t=e._R(4),r=[],n=0;n!=t;++n)r[n]=e._R(0,"lpstr-cp").replace(_,"");return r}(e);default:throw new Error("TypedPropertyValue unrecognized type "+t+" "+a)}}function xa(e,t){var r=Rr(4),n=Rr(4);switch(r._W(4,80==e?31:e),e){case 3:n._W(-4,t);break;case 5:(n=Rr(8))._W(8,t,"f");break;case 11:n._W(4,t?1:0);break;case 64:n=function(e){var t=("string"==typeof e?new Date(Date.parse(e)):e).getTime()/1e3+11644473600,r=t%Math.pow(2,32),n=(t-r)/Math.pow(2,32);n*=1e7;var a=(r*=1e7)/Math.pow(2,32)|0;a>0&&(r%=Math.pow(2,32),n+=a);var o=Rr(8);return o._W(4,r),o._W(4,n),o}(t);break;case 31:case 80:for((n=Rr(4+2*(t.length+1)+(t.length%2?0:2)))._W(4,t.length+1),n._W(0,t,"dbcs");n.l!=n.length;)n._W(1,0);break;default:throw new Error("TypedPropertyValue unrecognized type "+e+" "+t)}return E([r,n])}function Aa(e,t){var r=e.l,n=e._R(4),a=e._R(4),o=[],i=0,c=0,l=-1,u={};for(i=0;i!=a;++i){var f=e._R(4),h=e._R(4);o[i]=[f,h+r]}o.sort((function(e,t){return e[1]-t[1]}));var d={};for(i=0;i!=a;++i){if(e.l!==o[i][1]){var p=!0;if(i>0&&t)switch(t[o[i-1][0]].t){case 2:e.l+2===o[i][1]&&(e.l+=2,p=!1);break;case 80:case 4108:e.l<=o[i][1]&&(e.l=o[i][1],p=!1)}if((!t||0==i)&&e.l<=o[i][1]&&(p=!1,e.l=o[i][1]),p)throw new Error("Read Error: Expected address "+o[i][1]+" at "+e.l+" :"+i)}if(t){var g=t[o[i][0]];if(d[g.n]=Sa(e,g.t,{raw:!0}),"version"===g.p&&(d[g.n]=String(d[g.n]>>16)+"."+("0000"+String(65535&d[g.n])).slice(-4)),"CodePage"==g.n)switch(d[g.n]){case 0:d[g.n]=1252;case 874:case 932:case 936:case 949:case 950:case 1250:case 1251:case 1253:case 1254:case 1255:case 1256:case 1257:case 1258:case 1e4:case 1200:case 1201:case 1252:case 65e3:case-536:case 65001:case-535:s(c=d[g.n]>>>0&65535);break;default:throw new Error("Unsupported CodePage: "+d[g.n])}}else if(1===o[i][0]){if(c=d.CodePage=Sa(e,_n),s(c),-1!==l){var m=e.l;e.l=o[l][1],u=ya(e,c),e.l=m}}else if(0===o[i][0]){if(0===c){l=i,e.l=o[i+1][1];continue}u=ya(e,c)}else{var v,b=u[o[i][0]];switch(e[e.l]){case 65:e.l+=4,v=wa(e);break;case 30:case 31:e.l+=4,v=va(e,e[e.l-4]).replace(/\u0000+$/,"");break;case 3:e.l+=4,v=e._R(4,"i");break;case 19:e.l+=4,v=e._R(4);break;case 5:e.l+=4,v=e._R(8,"f");break;case 11:e.l+=4,v=Oa(e,4);break;case 64:e.l+=4,v=ze(da(e));break;default:throw new Error("unparsed value: "+e[e.l])}d[b]=v}}return e.l=r+n,d}var ka=["CodePage","Thumbnail","_PID_LINKBASE","_PID_HLINKS","SystemIdentifier","FMTID"];function Ta(e){switch(typeof e){case"boolean":return 11;case"number":return(0|e)==e?3:5;case"string":return 31;case"object":if(e instanceof Date)return 64}return-1}function Ea(e,t,r){var n=Rr(8),a=[],o=[],i=8,s=0,c=Rr(8),l=Rr(8);if(c._W(4,2),c._W(4,1200),l._W(4,1),o.push(c),a.push(l),i+=8+c.length,!t){(l=Rr(8))._W(4,0),a.unshift(l);var u=[Rr(4)];for(u[0]._W(4,e.length),s=0;s<e.length;++s){var f=e[s][0];for((c=Rr(8+2*(f.length+1)+(f.length%2?0:2)))._W(4,s+2),c._W(4,f.length+1),c._W(0,f,"dbcs");c.l!=c.length;)c._W(1,0);u.push(c)}c=E(u),o.unshift(c),i+=8+c.length}for(s=0;s<e.length;++s)if((!t||t[e[s][0]])&&!(ka.indexOf(e[s][0])>-1||oa.indexOf(e[s][0])>-1)&&null!=e[s][1]){var h=e[s][1],d=0;if(t){var p=r[d=+t[e[s][0]]];if("version"==p.p&&"string"==typeof h){var g=h.split(".");h=(+g[0]<<16)+(+g[1]||0)}c=xa(p.t,h)}else{var m=Ta(h);-1==m&&(m=31,h=String(h)),c=xa(m,h)}o.push(c),(l=Rr(8))._W(4,t?d:2+s),a.push(l),i+=8+c.length}var v=8*(o.length+1);for(s=0;s<o.length;++s)a[s]._W(4,v),v+=o[s].length;return n._W(4,i),n._W(4,o.length),E([n].concat(a).concat(o))}function _a(e,t,r){var n=e.content;if(!n)return{};Cr(n,0);var a,o,i,s,c=0;n.chk("feff","Byte Order: "),n._R(2);var l=n._R(4),u=n._R(16);if(u!==Ee.utils.consts.HEADER_CLSID&&u!==r)throw new Error("Bad PropertySet CLSID "+u);if(1!==(a=n._R(4))&&2!==a)throw new Error("Unrecognized #Sets: "+a);if(o=n._R(16),s=n._R(4),1===a&&s!==n.l)throw new Error("Length mismatch: "+s+" !== "+n.l);2===a&&(i=n._R(16),c=n._R(4));var f,h=Aa(n,t),d={SystemIdentifier:l};for(var p in h)d[p]=h[p];if(d.FMTID=o,1===a)return d;if(c-n.l==2&&(n.l+=2),n.l!==c)throw new Error("Length mismatch 2: "+n.l+" !== "+c);try{f=Aa(n,null)}catch(e){}for(p in f)d[p]=f[p];return d.FMTID=[o,i],d}function Na(e,t,r,n,a,o){var i=Rr(a?68:48),s=[i];i._W(2,65534),i._W(2,0),i._W(4,842412599),i._W(16,Ee.utils.consts.HEADER_CLSID,"hex"),i._W(4,a?2:1),i._W(16,t,"hex"),i._W(4,a?68:48);var c=Ea(e,r,n);if(s.push(c),a){var l=Ea(a,null,null);i._W(16,o,"hex"),i._W(4,68+c.length),s.push(l)}return E(s)}function Ca(e,t){return e._R(t),null}function Oa(e,t){return 1===e._R(t)}function Ra(e,t){return t||(t=Rr(2)),t._W(2,+!!e),t}function Pa(e){return e._R(2,"u")}function La(e,t){return t||(t=Rr(2)),t._W(2,e),t}function Ia(e,t){return function(e,t,r){for(var n=[],a=e.l+t;e.l<a;)n.push(r(e,a-e.l));if(a!==e.l)throw new Error("Slurp error");return n}(e,t,Pa)}function Fa(e,t,r){return r||(r=Rr(2)),r._W(1,"e"==t?+e:+!!e),r._W(1,"e"==t?1:0),r}function Da(e,t,n){var a=e._R(n&&n.biff>=12?2:1),o="sbcs-cont",i=r;(n&&n.biff>=8&&(r=1200),n&&8!=n.biff)?12==n.biff&&(o="wstr"):e._R(1)&&(o="dbcs-cont");n.biff>=2&&n.biff<=5&&(o="cpstr");var s=a?e._R(a,o):"";return r=i,s}function Ma(e){var t=r;r=1200;var n,a=e._R(2),o=e._R(1),i=4&o,s=8&o,c=1+(1&o),l=0,u={};s&&(l=e._R(2)),i&&(n=e._R(4));var f=2==c?"dbcs-cont":"sbcs-cont",h=0===a?"":e._R(a,f);return s&&(e.l+=4*l),i&&(e.l+=n),u.t=h,s||(u.raw="<t>"+u.t+"</t>",u.r=u.t),r=t,u}function ja(e){var t=e.t||"",r=Rr(3);r._W(2,t.length),r._W(1,1);var n=Rr(2*t.length);return n._W(2*t.length,t,"utf16le"),E([r,n])}function Ba(e,t,r){if(r){if(r.biff>=2&&r.biff<=5)return e._R(t,"cpstr");if(r.biff>=12)return e._R(t,"dbcs-cont")}return 0===e._R(1)?e._R(t,"sbcs-cont"):e._R(t,"dbcs-cont")}function Wa(e,t,r){var n=e._R(r&&2==r.biff?1:2);return 0===n?(e.l++,""):Ba(e,n,r)}function Ua(e,t,r){if(r.biff>5)return Wa(e,0,r);var n=e._R(1);return 0===n?(e.l++,""):e._R(n,r.biff<=4||!e.lens?"cpstr":"sbcs-cont")}function Ha(e,t,r){return r||(r=Rr(3+2*e.length)),r._W(2,e.length),r._W(1,1),r._W(31,e,"utf16le"),r}function za(e,t){var r=e._R(16);switch(16,r){case"e0c9ea79f9bace118c8200aa004ba90b":return function(e){var t=e._R(4),r=e.l,n=!1;t>24&&(e.l+=t-24,"795881f43b1d7f48af2c825dc4852763"===e._R(16)&&(n=!0),e.l=r);var a=e._R((n?t-24:t)>>1,"utf16le").replace(_,"");return n&&(e.l+=24),a}(e);case"0303000000000000c000000000000046":return function(e){for(var t=e._R(2),r="";t-- >0;)r+="../";var n=e._R(0,"lpstr-ansi");if(e.l+=2,57005!=e._R(2))throw new Error("Bad FileMoniker");if(0===e._R(4))return r+n.replace(/\\/g,"/");var a=e._R(4);if(3!=e._R(2))throw new Error("Bad FileMoniker");return r+e._R(a>>1,"utf16le").replace(_,"")}(e);default:throw new Error("Unsupported Moniker "+r)}}function Va(e){var t=e._R(4);return t>0?e._R(t,"utf16le").replace(_,""):""}function qa(e,t){t||(t=Rr(6+2*e.length)),t._W(4,1+e.length);for(var r=0;r<e.length;++r)t._W(2,e.charCodeAt(r));return t._W(2,0),t}function $a(e){var t=Rr(512),r=0,n=e.Target;"file://"==n.slice(0,7)&&(n=n.slice(7));var a=n.indexOf("#"),o=a>-1?31:23;switch(n.charAt(0)){case"#":o=28;break;case".":o&=-3}t._W(4,2),t._W(4,o);var i=[8,6815827,6619237,4849780,83];for(r=0;r<i.length;++r)t._W(4,i[r]);if(28==o)qa(n=n.slice(1),t);else if(2&o){for(i="e0 c9 ea 79 f9 ba ce 11 8c 82 00 aa 00 4b a9 0b".split(" "),r=0;r<i.length;++r)t._W(1,parseInt(i[r],16));var s=a>-1?n.slice(0,a):n;for(t._W(4,2*(s.length+1)),r=0;r<s.length;++r)t._W(2,s.charCodeAt(r));t._W(2,0),8&o&&qa(a>-1?n.slice(a+1):"",t)}else{for(i="03 03 00 00 00 00 00 00 c0 00 00 00 00 00 00 46".split(" "),r=0;r<i.length;++r)t._W(1,parseInt(i[r],16));for(var c=0;"../"==n.slice(3*c,3*c+3)||"..\\"==n.slice(3*c,3*c+3);)++c;for(t._W(2,c),t._W(4,n.length-3*c+1),r=0;r<n.length-3*c;++r)t._W(1,255&n.charCodeAt(r+3*c));for(t._W(1,0),t._W(2,65535),t._W(2,57005),r=0;r<6;++r)t._W(4,0)}return t.slice(0,t.l)}function Ga(e){return[e._R(1),e._R(1),e._R(1),e._R(1)]}function Xa(e,t){var r=Ga(e);return r[3]=0,r}function Ya(e){return{r:e._R(2),c:e._R(2),ixfe:e._R(2)}}function Ka(e,t,r,n){return n||(n=Rr(6)),n._W(2,e),n._W(2,t),n._W(2,r||0),n}function Ja(e,t,r){var n=r.biff>8?4:2;return[e._R(n),e._R(n,"i"),e._R(n,"i")]}function Za(e){return[e._R(2),bn(e)]}function Qa(e){var t=e._R(2),r=e._R(2);return{s:{c:e._R(2),r:t},e:{c:e._R(2),r:r}}}function eo(e,t){return t||(t=Rr(8)),t._W(2,e.s.r),t._W(2,e.e.r),t._W(2,e.s.c),t._W(2,e.e.c),t}function to(e){var t=e._R(2),r=e._R(2);return{s:{c:e._R(1),r:t},e:{c:e._R(1),r:r}}}var ro=to;function no(e){e.l+=4;var t=e._R(2),r=e._R(2),n=e._R(2);return e.l+=12,[r,t,n]}function ao(e){e.l+=2,e.l+=e._R(2)}var oo={0:ao,4:ao,5:ao,6:ao,7:function(e){return e.l+=4,e.cf=e._R(2),{}},8:ao,9:ao,10:ao,11:ao,12:ao,13:function(e){var t={};return e.l+=4,e.l+=16,t.fSharedNote=e._R(2),e.l+=4,t},14:ao,15:ao,16:ao,17:ao,18:ao,19:ao,20:ao,21:no};function io(e,t){var r={BIFFVer:0,dt:0};switch(r.BIFFVer=e._R(2),(t-=2)>=2&&(r.dt=e._R(2),e.l-=2),r.BIFFVer){case 1536:case 1280:case 1024:case 768:case 512:case 2:case 7:break;default:if(t>6)throw new Error("Unexpected BIFF Ver "+r.BIFFVer)}return e._R(t),r}function so(e,t,r){var n=1536,a=16;switch(r.bookType){case"biff8":case"xla":break;case"biff5":n=1280,a=8;break;case"biff4":n=4,a=6;break;case"biff3":n=3,a=6;break;case"biff2":n=2,a=4;break;default:throw new Error("unsupported BIFF version")}var o=Rr(a);return o._W(2,n),o._W(2,t),a>4&&o._W(2,29282),a>6&&o._W(2,1997),a>8&&(o._W(2,49161),o._W(2,1),o._W(2,1798),o._W(2,0)),o}function co(e,t){var r=!t||t.biff>=8?2:1,n=Rr(8+r*e.name.length);n._W(4,e.pos),n._W(1,e.hs||0),n._W(1,e.dt),n._W(1,e.name.length),t.biff>=8&&n._W(1,1),n._W(r*e.name.length,e.name,t.biff<8?"sbcs":"utf16le");var a=n.slice(0,n.l);return a.l=n.l,a}function lo(e,t,r){var n=0;r&&2==r.biff||(n=e._R(2));var a=e._R(2);return r&&2==r.biff&&(n=1-(a>>15),a&=32767),[{Unsynced:1&n,DyZero:(2&n)>>1,ExAsc:(4&n)>>2,ExDsc:(8&n)>>3},a]}function uo(e,t,r,n){var a=r&&5==r.biff;n||(n=Rr(a?3+t.length:5+2*t.length)),n._W(2,e),n._W(a?1:2,t.length),a||n._W(1,1),n._W((a?1:2)*t.length,t,a?"sbcs":"utf16le");var o=n.length>n.l?n.slice(0,n.l):n;return null==o.l&&(o.l=o.length),o}var fo=Ua;function ho(e,t,r){var n=e.l+t,a=8!=r.biff&&r.biff?2:4,o=e._R(a),i=e._R(a),s=e._R(2),c=e._R(2);return e.l=n,{s:{r:o,c:s},e:{r:i,c:c}}}function po(e,t,r,n){var a=r&&5==r.biff;n||(n=Rr(a?16:20)),n._W(2,0),e.style?(n._W(2,e.numFmtId||0),n._W(2,65524)):(n._W(2,e.numFmtId||0),n._W(2,t<<4));var o=0;return e.numFmtId>0&&a&&(o|=1024),n._W(4,o),n._W(4,0),a||n._W(4,0),n._W(2,0),n}function go(e,t,r){var n=Ya(e);2!=r.biff&&9!=t||++e.l;var a=function(e){var t=e._R(1);return 1===e._R(1)?t:1===t}(e);return n.val=a,n.t=!0===a||!1===a?"b":"e",n}var mo=function(e,t,r){return 0===t?"":Ua(e,0,r)};function vo(e,t,r){var n,a=e._R(2),o={fBuiltIn:1&a,fWantAdvise:a>>>1&1,fWantPict:a>>>2&1,fOle:a>>>3&1,fOleLink:a>>>4&1,cf:a>>>5&1023,fIcon:a>>>15&1};return 14849===r.sbcch&&(n=function(e,t,r){e.l+=4,t-=4;var n=e.l+t,a=Da(e,0,r),o=e._R(2);if(o!==(n-=e.l))throw new Error("Malformed AddinUdf: padding = "+n+" != "+o);return e.l+=o,a}(e,t-2,r)),o.body=n||e._R(t-2),"string"==typeof n&&(o.Name=n),o}var bo=["_xlnm.Consolidate_Area","_xlnm.Auto_Open","_xlnm.Auto_Close","_xlnm.Extract","_xlnm.Database","_xlnm.Criteria","_xlnm.Print_Area","_xlnm.Print_Titles","_xlnm.Recorder","_xlnm.Data_Form","_xlnm.Auto_Activate","_xlnm.Auto_Deactivate","_xlnm.Sheet_Title","_xlnm._FilterDatabase"];function yo(e,t,r){var n=e.l+t,a=e._R(2),o=e._R(1),i=e._R(1),s=e._R(r&&2==r.biff?1:2),c=0;(!r||r.biff>=5)&&(5!=r.biff&&(e.l+=2),c=e._R(2),5==r.biff&&(e.l+=2),e.l+=4);var l=Ba(e,i,r);32&a&&(l=bo[l.charCodeAt(0)]);var u=n-e.l;r&&2==r.biff&&--u;var f=n!=e.l&&0!==s&&u>0?function(e,t,r,n){var a,o=e.l+t,i=Ws(e,n,r);o!==e.l&&(a=Bs(e,o-e.l,i,r));return[i,a]}(e,u,r,s):[];return{chKey:o,Name:l,itab:c,rgce:f}}function wo(e,t,r){if(r.biff<8)return function(e,t,r){3==e[e.l+1]&&e[e.l]++;var n=Da(e,0,r);return 3==n.charCodeAt(0)?n.slice(1):n}(e,0,r);for(var n=[],a=e.l+t,o=e._R(r.biff>8?4:2);0!=o--;)n.push(Ja(e,r.biff,r));if(e.l!=a)throw new Error("Bad ExternSheet: "+e.l+" != "+a);return n}function So(e,t,r){var n=ro(e,6);switch(r.biff){case 2:e.l++,t-=7;break;case 3:case 4:e.l+=2,t-=8;break;default:e.l+=6,t-=12}return[n,$s(e,t,r)]}var xo={8:function(e,t){var r=e.l+t;e.l+=10;var n=e._R(2);e.l+=4,e.l+=2,e.l+=2,e.l+=2,e.l+=4;var a=e._R(1);return e.l+=a,e.l=r,{fmt:n}}};function Ao(e){var t=Rr(24),r=zr(e[0]);t._W(2,r.r),t._W(2,r.r),t._W(2,r.c),t._W(2,r.c);for(var n="d0 c9 ea 79 f9 ba ce 11 8c 82 00 aa 00 4b a9 0b".split(" "),a=0;a<16;++a)t._W(1,parseInt(n[a],16));return E([t,$a(e[1])])}function ko(e){var t=e[1].Tooltip,r=Rr(10+2*(t.length+1));r._W(2,2048);var n=zr(e[0]);r._W(2,n.r),r._W(2,n.r),r._W(2,n.c),r._W(2,n.c);for(var a=0;a<t.length;++a)r._W(2,t.charCodeAt(a));return r._W(2,0),r}function To(e,t,r){if(!r.cellStyles)return Or(e,t);var n=r&&r.biff>=12?4:2,a=e._R(n),o=e._R(n),i=e._R(n),s=e._R(n),c=e._R(2);2==n&&(e.l+=2);var l={s:a,e:o,w:i,ixfe:s,flags:c};return(r.biff>=5||!r.biff)&&(l.level=c>>8&7),l}var Eo=Ya,_o=Ia,No=Wa;var Co=[2,3,48,49,131,139,140,245],Oo=function(){var e={1:437,2:850,3:1252,4:1e4,100:852,101:866,102:865,103:861,104:895,105:620,106:737,107:857,120:950,121:949,122:936,123:932,124:874,125:1255,126:1256,150:10007,151:10029,152:10006,200:1250,201:1251,202:1254,203:1253,0:20127,8:865,9:437,10:850,11:437,13:437,14:850,15:437,16:850,17:437,18:850,19:932,20:850,21:437,22:850,23:865,24:437,25:437,26:850,27:437,28:863,29:850,31:852,34:852,35:852,36:860,37:850,38:866,55:850,64:852,77:936,78:949,79:950,80:874,87:1252,88:1252,89:1252,108:863,134:737,135:852,136:857,204:1257,255:16969},r=Re({1:437,2:850,3:1252,4:1e4,100:852,101:866,102:865,103:861,104:895,105:620,106:737,107:857,120:950,121:949,122:936,123:932,124:874,125:1255,126:1256,150:10007,151:10029,152:10006,200:1250,201:1251,202:1254,203:1253,0:20127});function a(r,n){var a=[],o=w(1);switch(n.type){case"base64":o=x(v(r));break;case"binary":o=x(r);break;case"buffer":case"array":o=r}Cr(o,0);var i=o._R(1),s=!!(136&i),c=!1,l=!1;switch(i){case 2:case 3:case 131:case 139:case 245:break;case 48:case 49:c=!0,s=!0;break;case 140:l=!0;break;default:throw new Error("DBF Unsupported Version: "+i.toString(16))}var u=0,f=521;2==i&&(u=o._R(2)),o.l+=3,2!=i&&(u=o._R(4)),u>1048576&&(u=1e6),2!=i&&(f=o._R(2));var h=o._R(2),d=n.codepage||1252;2!=i&&(o.l+=16,o._R(1),0!==o[o.l]&&(d=e[o[o.l]]),o.l+=1,o.l+=2),l&&(o.l+=36);for(var p=[],g={},m=Math.min(o.length,2==i?521:f-10-(c?264:0)),b=l?32:11;o.l<m&&13!=o[o.l];)switch((g={}).name=t.utils.decode(d,o.slice(o.l,o.l+b)).replace(/[\u0000\r\n].*$/g,""),o.l+=b,g.type=String.fromCharCode(o._R(1)),2==i||l||(g.offset=o._R(4)),g.len=o._R(1),2==i&&(g.offset=o._R(2)),g.dec=o._R(1),g.name.length&&p.push(g),2!=i&&(o.l+=l?13:14),g.type){case"B":c&&8==g.len||!n.WTF||console.log("Skipping "+g.name+":"+g.type);break;case"G":case"P":n.WTF&&console.log("Skipping "+g.name+":"+g.type);break;case"+":case"0":case"@":case"C":case"D":case"F":case"I":case"L":case"M":case"N":case"O":case"T":case"Y":break;default:throw new Error("Unknown Field Type: "+g.type)}if(13!==o[o.l]&&(o.l=f-1),13!==o._R(1))throw new Error("DBF Terminator not found "+o.l+" "+o[o.l]);o.l=f;var y=0,S=0;for(a[0]=[],S=0;S!=p.length;++S)a[0][S]=p[S].name;for(;u-- >0;)if(42!==o[o.l])for(++o.l,a[++y]=[],S=0,S=0;S!=p.length;++S){var A=o.slice(o.l,o.l+p[S].len);o.l+=p[S].len,Cr(A,0);var k=t.utils.decode(d,A);switch(p[S].type){case"C":k.trim().length&&(a[y][S]=k.replace(/\s+$/,""));break;case"D":8===k.length?a[y][S]=new Date(+k.slice(0,4),+k.slice(4,6)-1,+k.slice(6,8)):a[y][S]=k;break;case"F":a[y][S]=parseFloat(k.trim());break;case"+":case"I":a[y][S]=l?2147483648^A._R(-4,"i"):A._R(4,"i");break;case"L":switch(k.trim().toUpperCase()){case"Y":case"T":a[y][S]=!0;break;case"N":case"F":a[y][S]=!1;break;case"":case"?":break;default:throw new Error("DBF Unrecognized L:|"+k+"|")}break;case"M":if(!s)throw new Error("DBF Unexpected MEMO for type "+i.toString(16));a[y][S]="##MEMO##"+(l?parseInt(k.trim(),10):A._R(4));break;case"N":(k=k.replace(/\u0000/g,"").trim())&&"."!=k&&(a[y][S]=+k||0);break;case"@":a[y][S]=new Date(A._R(-8,"f")-621356832e5);break;case"T":a[y][S]=new Date(864e5*(A._R(4)-2440588)+A._R(4));break;case"Y":a[y][S]=A._R(4,"i")/1e4+A._R(4,"i")/1e4*Math.pow(2,32);break;case"O":a[y][S]=-A._R(-8,"f");break;case"B":if(c&&8==p[S].len){a[y][S]=A._R(8,"f");break}case"G":case"P":A.l+=p[S].len;break;case"0":if("_NullFlags"===p[S].name)break;default:throw new Error("DBF Unsupported data type "+p[S].type)}}else o.l+=h;if(2!=i&&o.l<o.length&&26!=o[o.l++])throw new Error("DBF EOF Marker missing "+(o.l-1)+" of "+o.length+" "+o[o.l-1].toString(16));return n&&n.sheetRows&&(a=a.slice(0,n.sheetRows)),n.DBF=p,a}function o(e,t){var r=t||{};r.dateNF||(r.dateNF="yyyymmdd");var n=Zr(a(e,r),r);return n["!cols"]=r.DBF.map((function(e){return{wch:e.len,DBF:e}})),delete r.DBF,n}var i={B:8,C:250,L:1,D:8,"?":0,"":0};return{to_workbook:function(e,t){try{return Kr(o(e,t),t)}catch(e){if(t&&t.WTF)throw e}return{SheetNames:[],Sheets:{}}},to_sheet:o,from_sheet:function(e,t){var a=t||{};if(+a.codepage>=0&&s(+a.codepage),"string"==a.type)throw new Error("Cannot write DBF to JS string");var o=Lr(),c=Ef(e,{header:1,raw:!0,cellDates:!0}),l=c[0],u=c.slice(1),f=e["!cols"]||[],h=0,d=0,p=0,g=1;for(h=0;h<l.length;++h)if(((f[h]||{}).DBF||{}).name)l[h]=f[h].DBF.name,++p;else if(null!=l[h]){if(++p,"number"==typeof l[h]&&(l[h]=l[h].toString(10)),"string"!=typeof l[h])throw new Error("DBF Invalid column name "+l[h]+" |"+typeof l[h]+"|");if(l.indexOf(l[h])!==h)for(d=0;d<1024;++d)if(-1==l.indexOf(l[h]+"_"+d)){l[h]+="_"+d;break}}var m=Gr(e["!ref"]),v=[],b=[],y=[];for(h=0;h<=m.e.c-m.s.c;++h){var w="",S="",x=0,A=[];for(d=0;d<u.length;++d)null!=u[d][h]&&A.push(u[d][h]);if(0!=A.length&&null!=l[h]){for(d=0;d<A.length;++d){switch(typeof A[d]){case"number":S="B";break;case"string":default:S="C";break;case"boolean":S="L";break;case"object":S=A[d]instanceof Date?"D":"C"}x=Math.max(x,String(A[d]).length),w=w&&w!=S?"C":S}x>250&&(x=250),"C"==(S=((f[h]||{}).DBF||{}).type)&&f[h].DBF.len>x&&(x=f[h].DBF.len),"B"==w&&"N"==S&&(w="N",y[h]=f[h].DBF.dec,x=f[h].DBF.len),b[h]="C"==w||"N"==S?x:i[w]||0,g+=b[h],v[h]=w}else v[h]="?"}var k=o.next(32);for(k._W(4,318902576),k._W(4,u.length),k._W(2,296+32*p),k._W(2,g),h=0;h<4;++h)k._W(4,0);for(k._W(4,0|(+r[n]||3)<<8),h=0,d=0;h<l.length;++h)if(null!=l[h]){var T=o.next(32),E=(l[h].slice(-10)+"\0\0\0\0\0\0\0\0\0\0\0").slice(0,11);T._W(1,E,"sbcs"),T._W(1,"?"==v[h]?"C":v[h],"sbcs"),T._W(4,d),T._W(1,b[h]||i[v[h]]||0),T._W(1,y[h]||0),T._W(1,2),T._W(4,0),T._W(1,0),T._W(4,0),T._W(4,0),d+=b[h]||i[v[h]]||0}var _=o.next(264);for(_._W(4,13),h=0;h<65;++h)_._W(4,0);for(h=0;h<u.length;++h){var N=o.next(g);for(N._W(1,0),d=0;d<l.length;++d)if(null!=l[d])switch(v[d]){case"L":N._W(1,null==u[h][d]?63:u[h][d]?84:70);break;case"B":N._W(8,u[h][d]||0,"f");break;case"N":var C="0";for("number"==typeof u[h][d]&&(C=u[h][d].toFixed(y[d]||0)),p=0;p<b[d]-C.length;++p)N._W(1,32);N._W(1,C,"sbcs");break;case"D":u[h][d]?(N._W(4,("0000"+u[h][d].getFullYear()).slice(-4),"sbcs"),N._W(2,("00"+(u[h][d].getMonth()+1)).slice(-2),"sbcs"),N._W(2,("00"+u[h][d].getDate()).slice(-2),"sbcs")):N._W(8,"00000000","sbcs");break;case"C":var O=String(null!=u[h][d]?u[h][d]:"").slice(0,b[d]);for(N._W(1,O,"sbcs"),p=0;p<b[d]-O.length;++p)N._W(1,32)}}return o.next(1)._W(1,26),o.end()}}}(),Ro=function(){var e={AA:"À",BA:"Á",CA:"Â",DA:195,HA:"Ä",JA:197,AE:"È",BE:"É",CE:"Ê",HE:"Ë",AI:"Ì",BI:"Í",CI:"Î",HI:"Ï",AO:"Ò",BO:"Ó",CO:"Ô",DO:213,HO:"Ö",AU:"Ù",BU:"Ú",CU:"Û",HU:"Ü",Aa:"à",Ba:"á",Ca:"â",Da:227,Ha:"ä",Ja:229,Ae:"è",Be:"é",Ce:"ê",He:"ë",Ai:"ì",Bi:"í",Ci:"î",Hi:"ï",Ao:"ò",Bo:"ó",Co:"ô",Do:245,Ho:"ö",Au:"ù",Bu:"ú",Cu:"û",Hu:"ü",KC:"Ç",Kc:"ç",q:"æ",z:"œ",a:"Æ",j:"Œ",DN:209,Dn:241,Hy:255,S:169,c:170,R:174,"B ":180,0:176,1:177,2:178,3:179,5:181,6:182,7:183,Q:185,k:186,b:208,i:216,l:222,s:240,y:248,"!":161,'"':162,"#":163,"(":164,"%":165,"'":167,"H ":168,"+":171,";":187,"<":188,"=":189,">":190,"?":191,"{":223},r=new RegExp("N("+Ce(e).join("|").replace(/\|\|\|/,"|\\||").replace(/([?()+])/g,"\\$1")+"|\\|)","gm"),n=function(t,r){var n=e[r];return"number"==typeof n?d(n):n},a=function(e,t,r){var n=t.charCodeAt(0)-32<<4|r.charCodeAt(0)-48;return 59==n?e:d(n)};function o(e,t){switch(t.type){case"base64":return i(v(e),t);case"binary":return i(e,t);case"buffer":return i(b&&Buffer.isBuffer(e)?e.toString("binary"):k(e),t);case"array":return i(Ve(e),t)}throw new Error("Unrecognized type "+t.type)}function i(e,o){var i,c=e.split(/[\n\r]+/),l=-1,u=-1,f=0,h=0,d=[],p=[],g=null,m={},v=[],b=[],y=[],w=0;for(+o.codepage>=0&&s(+o.codepage);f!==c.length;++f){w=0;var S,x=c[f].trim().replace(/\x1B([\x20-\x2F])([\x30-\x3F])/g,a).replace(r,n),A=x.replace(/;;/g,"\0").split(";").map((function(e){return e.replace(/\u0000/g,";")})),k=A[0];if(x.length>0)switch(k){case"ID":case"E":case"B":case"O":case"W":break;case"P":"P"==A[1].charAt(0)&&p.push(x.slice(3).replace(/;;/g,";"));break;case"C":var T=!1,E=!1,_=!1,N=!1,C=-1,O=-1;for(h=1;h<A.length;++h)switch(A[h].charAt(0)){case"A":case"G":break;case"X":u=parseInt(A[h].slice(1))-1,E=!0;break;case"Y":for(l=parseInt(A[h].slice(1))-1,E||(u=0),i=d.length;i<=l;++i)d[i]=[];break;case"K":'"'===(S=A[h].slice(1)).charAt(0)?S=S.slice(1,S.length-1):"TRUE"===S?S=!0:"FALSE"===S?S=!1:isNaN(Ge(S))?isNaN(Ye(S).getDate())||(S=ze(S)):(S=Ge(S),null!==g&&de(g)&&(S=je(S))),void 0!==t&&"string"==typeof S&&"string"!=(o||{}).type&&(o||{}).codepage&&(S=t.utils.decode(o.codepage,S)),T=!0;break;case"E":N=!0;var R=ps(A[h].slice(1),{r:l,c:u});d[l][u]=[d[l][u],R];break;case"S":_=!0,d[l][u]=[d[l][u],"S5S"];break;case"R":C=parseInt(A[h].slice(1))-1;break;case"C":O=parseInt(A[h].slice(1))-1;break;default:if(o&&o.WTF)throw new Error("SYLK bad record "+x)}if(T&&(d[l][u]&&2==d[l][u].length?d[l][u][0]=S:d[l][u]=S,g=null),_){if(N)throw new Error("SYLK shared formula cannot have own formula");var P=C>-1&&d[C][O];if(!P||!P[1])throw new Error("SYLK shared formula cannot find base");d[l][u][1]=vs(P[1],{r:l-C,c:u-O})}break;case"F":var L=0;for(h=1;h<A.length;++h)switch(A[h].charAt(0)){case"X":u=parseInt(A[h].slice(1))-1,++L;break;case"Y":for(l=parseInt(A[h].slice(1))-1,i=d.length;i<=l;++i)d[i]=[];break;case"M":w=parseInt(A[h].slice(1))/20;break;case"F":case"G":case"S":case"D":case"N":break;case"P":g=p[parseInt(A[h].slice(1))];break;case"W":for(y=A[h].slice(1).split(" "),i=parseInt(y[0],10);i<=parseInt(y[1],10);++i)w=parseInt(y[2],10),b[i-1]=0===w?{hidden:!0}:{wch:w},Si(b[i-1]);break;case"C":b[u=parseInt(A[h].slice(1))-1]||(b[u]={});break;case"R":v[l=parseInt(A[h].slice(1))-1]||(v[l]={}),w>0?(v[l].hpt=w,v[l].hpx=ki(w)):0===w&&(v[l].hidden=!0);break;default:if(o&&o.WTF)throw new Error("SYLK bad record "+x)}L<1&&(g=null);break;default:if(o&&o.WTF)throw new Error("SYLK bad record "+x)}}return v.length>0&&(m["!rows"]=v),b.length>0&&(m["!cols"]=b),o&&o.sheetRows&&(d=d.slice(0,o.sheetRows)),[d,m]}function c(e,t){var r=o(e,t),n=r[0],a=r[1],i=Zr(n,t);return Ce(a).forEach((function(e){i[e]=a[e]})),i}function l(e,t,r,n){var a="C;Y"+(r+1)+";X"+(n+1)+";K";switch(e.t){case"n":a+=e.v||0,e.f&&!e.F&&(a+=";E"+ms(e.f,{r:r,c:n}));break;case"b":a+=e.v?"TRUE":"FALSE";break;case"e":a+=e.w||e.v;break;case"d":a+='"'+(e.w||e.v)+'"';break;case"s":a+='"'+e.v.replace(/"/g,"").replace(/;/g,";;")+'"'}return a}return e["|"]=254,{to_workbook:function(e,t){return Kr(c(e,t),t)},to_sheet:c,from_sheet:function(e,t){var r,n=["ID;PWXL;N;E"],a=[],o=Gr(e["!ref"]),i=Array.isArray(e),s="\r\n";n.push("P;PGeneral"),n.push("F;P0;DG0G8;M255"),e["!cols"]&&function(e,t){t.forEach((function(t,r){var n="F;W"+(r+1)+" "+(r+1)+" ";t.hidden?n+="0":("number"!=typeof t.width||t.wpx||(t.wpx=mi(t.width)),"number"!=typeof t.wpx||t.wch||(t.wch=vi(t.wpx)),"number"==typeof t.wch&&(n+=Math.round(t.wch)))," "!=n.charAt(n.length-1)&&e.push(n)}))}(n,e["!cols"]),e["!rows"]&&function(e,t){t.forEach((function(t,r){var n="F;";t.hidden?n+="M0;":t.hpt?n+="M"+20*t.hpt+";":t.hpx&&(n+="M"+20*Ai(t.hpx)+";"),n.length>2&&e.push(n+"R"+(r+1))}))}(n,e["!rows"]),n.push("B;Y"+(o.e.r-o.s.r+1)+";X"+(o.e.c-o.s.c+1)+";D"+[o.s.c,o.s.r,o.e.c,o.e.r].join(" "));for(var c=o.s.r;c<=o.e.r;++c)for(var u=o.s.c;u<=o.e.c;++u){var f=Vr({r:c,c:u});(r=i?(e[c]||[])[u]:e[f])&&(null!=r.v||r.f&&!r.F)&&a.push(l(r,0,c,u))}return n.join(s)+s+a.join(s)+s+"E"+s}}}(),Po=function(){function e(e,r){switch(r.type){case"base64":return t(v(e),r);case"binary":return t(e,r);case"buffer":return t(b&&Buffer.isBuffer(e)?e.toString("binary"):k(e),r);case"array":return t(Ve(e),r)}throw new Error("Unrecognized type "+r.type)}function t(e,t){for(var r=e.split("\n"),n=-1,a=-1,o=0,i=[];o!==r.length;++o)if("BOT"!==r[o].trim()){if(!(n<0)){for(var s=r[o].trim().split(","),c=s[0],l=s[1],u=r[++o]||"";1&(u.match(/["]/g)||[]).length&&o<r.length-1;)u+="\n"+r[++o];switch(u=u.trim(),+c){case-1:if("BOT"===u){i[++n]=[],a=0;continue}if("EOD"!==u)throw new Error("Unrecognized DIF special command "+u);break;case 0:"TRUE"===u?i[n][a]=!0:"FALSE"===u?i[n][a]=!1:isNaN(Ge(l))?isNaN(Ye(l).getDate())?i[n][a]=l:i[n][a]=ze(l):i[n][a]=Ge(l),++a;break;case 1:(u=(u=u.slice(1,u.length-1)).replace(/""/g,'"'))&&u.match(/^=".*"$/)&&(u=u.slice(2,-1)),i[n][a++]=""!==u?u:null}if("EOD"===u)break}}else i[++n]=[],a=0;return t&&t.sheetRows&&(i=i.slice(0,t.sheetRows)),i}function r(t,r){return Zr(e(t,r),r)}var n=function(){var e=function(e,t,r,n,a){e.push(t),e.push(r+","+n),e.push('"'+a.replace(/"/g,'""')+'"')},t=function(e,t,r,n){e.push(t+","+r),e.push(1==t?'"'+n.replace(/"/g,'""')+'"':n)};return function(r){var n,a=[],o=Gr(r["!ref"]),i=Array.isArray(r);e(a,"TABLE",0,1,"sheetjs"),e(a,"VECTORS",0,o.e.r-o.s.r+1,""),e(a,"TUPLES",0,o.e.c-o.s.c+1,""),e(a,"DATA",0,0,"");for(var s=o.s.r;s<=o.e.r;++s){t(a,-1,0,"BOT");for(var c=o.s.c;c<=o.e.c;++c){var l=Vr({r:s,c:c});if(n=i?(r[s]||[])[c]:r[l])switch(n.t){case"n":var u=n.w;u||null==n.v||(u=n.v),null==u?n.f&&!n.F?t(a,1,0,"="+n.f):t(a,1,0,""):t(a,0,u,"V");break;case"b":t(a,0,n.v?1:0,n.v?"TRUE":"FALSE");break;case"s":t(a,1,0,isNaN(n.v)?n.v:'="'+n.v+'"');break;case"d":n.w||(n.w=ve(n.z||j[14],Ie(ze(n.v)))),t(a,0,n.w,"V");break;default:t(a,1,0,"")}else t(a,1,0,"")}}t(a,-1,0,"EOD");return a.join("\r\n")}}();return{to_workbook:function(e,t){return Kr(r(e,t),t)},to_sheet:r,from_sheet:n}}(),Lo=function(){function e(e){return e.replace(/\\b/g,"\\").replace(/\\c/g,":").replace(/\\n/g,"\n")}function t(e){return e.replace(/\\/g,"\\b").replace(/:/g,"\\c").replace(/\n/g,"\\n")}function r(t,r){for(var n=t.split("\n"),a=-1,o=-1,i=0,s=[];i!==n.length;++i){var c=n[i].trim().split(":");if("cell"===c[0]){var l=zr(c[1]);if(s.length<=l.r)for(a=s.length;a<=l.r;++a)s[a]||(s[a]=[]);switch(a=l.r,o=l.c,c[2]){case"t":s[a][o]=e(c[3]);break;case"v":s[a][o]=+c[3];break;case"vtf":var u=c[c.length-1];case"vtc":if("nl"===c[3])s[a][o]=!!+c[4];else s[a][o]=+c[4];"vtf"==c[2]&&(s[a][o]=[s[a][o],u])}}}return r&&r.sheetRows&&(s=s.slice(0,r.sheetRows)),s}function n(e,t){return Zr(r(e,t),t)}var a=["socialcalc:version:1.5","MIME-Version: 1.0","Content-Type: multipart/mixed; boundary=SocialCalcSpreadsheetControlSave"].join("\n"),o=["--SocialCalcSpreadsheetControlSave","Content-type: text/plain; charset=UTF-8"].join("\n")+"\n",i=["# SocialCalc Spreadsheet Control Save","part:sheet"].join("\n"),s="--SocialCalcSpreadsheetControlSave--";function c(e){if(!e||!e["!ref"])return"";for(var r,n=[],a=[],o="",i=qr(e["!ref"]),s=Array.isArray(e),c=i.s.r;c<=i.e.r;++c)for(var l=i.s.c;l<=i.e.c;++l)if(o=Vr({r:c,c:l}),(r=s?(e[c]||[])[l]:e[o])&&null!=r.v&&"z"!==r.t){switch(a=["cell",o,"t"],r.t){case"s":case"str":a.push(t(r.v));break;case"n":r.f?(a[2]="vtf",a[3]="n",a[4]=r.v,a[5]=t(r.f)):(a[2]="v",a[3]=r.v);break;case"b":a[2]="vt"+(r.f?"f":"c"),a[3]="nl",a[4]=r.v?"1":"0",a[5]=t(r.f||(r.v?"TRUE":"FALSE"));break;case"d":var u=Ie(ze(r.v));a[2]="vtc",a[3]="nd",a[4]=""+u,a[5]=r.w||ve(r.z||j[14],u);break;case"e":continue}n.push(a.join(":"))}return n.push("sheet:c:"+(i.e.c-i.s.c+1)+":r:"+(i.e.r-i.s.r+1)+":tvf:1"),n.push("valueformat:1:text-wiki"),n.join("\n")}return{to_workbook:function(e,t){return Kr(n(e,t),t)},to_sheet:n,from_sheet:function(e){return[a,o,i,o,c(e),s].join("\n")}}}(),Io=function(){function e(e,t,r,n,a){a.raw?t[r][n]=e:""===e||("TRUE"===e?t[r][n]=!0:"FALSE"===e?t[r][n]=!1:isNaN(Ge(e))?isNaN(Ye(e).getDate())?t[r][n]=e:t[r][n]=ze(e):t[r][n]=Ge(e))}function r(t,r){var n=r||{},a=[];if(!t||0===t.length)return a;for(var o=t.split(/[\r\n]/),i=o.length-1;i>=0&&0===o[i].length;)--i;for(var s=10,c=0,l=0;l<=i;++l)-1==(c=o[l].indexOf(" "))?c=o[l].length:c++,s=Math.max(s,c);for(l=0;l<=i;++l){a[l]=[];var u=0;for(e(o[l].slice(0,s).trim(),a,l,u,n),u=1;u<=(o[l].length-s)/10+1;++u)e(o[l].slice(s+10*(u-1),s+10*u).trim(),a,l,u,n)}return n.sheetRows&&(a=a.slice(0,n.sheetRows)),a}var n={44:",",9:"\t",59:";",124:"|"},a={44:3,9:2,59:1,124:0};function o(e){for(var t={},r=!1,o=0,i=0;o<e.length;++o)34==(i=e.charCodeAt(o))?r=!r:!r&&i in n&&(t[i]=(t[i]||0)+1);for(o in i=[],t)Object.prototype.hasOwnProperty.call(t,o)&&i.push([t[o],o]);if(!i.length)for(o in t=a)Object.prototype.hasOwnProperty.call(t,o)&&i.push([t[o],o]);return i.sort((function(e,t){return e[0]-t[0]||a[e[1]]-a[t[1]]})),n[i.pop()[1]]||44}function i(e,t){var r=t||{},n="";null!=p&&null==r.dense&&(r.dense=p);var a=r.dense?[]:{},i={s:{c:0,r:0},e:{c:0,r:0}};"sep="==e.slice(0,4)?13==e.charCodeAt(5)&&10==e.charCodeAt(6)?(n=e.charAt(4),e=e.slice(7)):13==e.charCodeAt(5)||10==e.charCodeAt(5)?(n=e.charAt(4),e=e.slice(6)):n=o(e.slice(0,1024)):n=r&&r.FS?r.FS:o(e.slice(0,1024));var s=0,c=0,l=0,u=0,f=0,h=n.charCodeAt(0),d=!1,g=0,m=e.charCodeAt(0);e=e.replace(/\r\n/gm,"\n");var v=null!=r.dateNF?function(e){var t="number"==typeof e?j[e]:e;return t=t.replace(Ae,"(\\d+)"),new RegExp("^"+t+"$")}(r.dateNF):null;function b(){var t=e.slice(u,f),n={};if('"'==t.charAt(0)&&'"'==t.charAt(t.length-1)&&(t=t.slice(1,-1).replace(/""/g,'"')),0===t.length)n.t="z";else if(r.raw)n.t="s",n.v=t;else if(0===t.trim().length)n.t="s",n.v=t;else if(61==t.charCodeAt(0))34==t.charCodeAt(1)&&34==t.charCodeAt(t.length-1)?(n.t="s",n.v=t.slice(2,-1).replace(/""/g,'"')):!function(e){return 1!=e.length}(t)?(n.t="s",n.v=t):(n.t="n",n.f=t.slice(1));else if("TRUE"==t)n.t="b",n.v=!0;else if("FALSE"==t)n.t="b",n.v=!1;else if(isNaN(l=Ge(t)))if(!isNaN(Ye(t).getDate())||v&&t.match(v)){n.z=r.dateNF||j[14];var o=0;v&&t.match(v)&&(t=function(e,t,r){var n=-1,a=-1,o=-1,i=-1,s=-1,c=-1;(t.match(Ae)||[]).forEach((function(e,t){var l=parseInt(r[t+1],10);switch(e.toLowerCase().charAt(0)){case"y":n=l;break;case"d":o=l;break;case"h":i=l;break;case"s":c=l;break;case"m":i>=0?s=l:a=l}})),c>=0&&-1==s&&a>=0&&(s=a,a=-1);var l=(""+(n>=0?n:(new Date).getFullYear())).slice(-4)+"-"+("00"+(a>=1?a:1)).slice(-2)+"-"+("00"+(o>=1?o:1)).slice(-2);7==l.length&&(l="0"+l),8==l.length&&(l="20"+l);var u=("00"+(i>=0?i:0)).slice(-2)+":"+("00"+(s>=0?s:0)).slice(-2)+":"+("00"+(c>=0?c:0)).slice(-2);return-1==i&&-1==s&&-1==c?l:-1==n&&-1==a&&-1==o?u:l+"T"+u}(0,r.dateNF,t.match(v)||[]),o=1),r.cellDates?(n.t="d",n.v=ze(t,o)):(n.t="n",n.v=Ie(ze(t,o))),!1!==r.cellText&&(n.w=ve(n.z,n.v instanceof Date?Ie(n.v):n.v)),r.cellNF||delete n.z}else n.t="s",n.v=t;else n.t="n",!1!==r.cellText&&(n.w=t),n.v=l;if("z"==n.t||(r.dense?(a[s]||(a[s]=[]),a[s][c]=n):a[Vr({c:c,r:s})]=n),u=f+1,m=e.charCodeAt(u),i.e.c<c&&(i.e.c=c),i.e.r<s&&(i.e.r=s),g==h)++c;else if(c=0,++s,r.sheetRows&&r.sheetRows<=s)return!0}e:for(;f<e.length;++f)switch(g=e.charCodeAt(f)){case 34:34===m&&(d=!d);break;case h:case 10:case 13:if(!d&&b())break e}return f-u>0&&b(),a["!ref"]=$r(i),a}function s(e,t){return t&&t.PRN?t.FS||"sep="==e.slice(0,4)||e.indexOf("\t")>=0||e.indexOf(",")>=0||e.indexOf(";")>=0?i(e,t):Zr(r(e,t),t):i(e,t)}function c(e,r){var n="",a="string"==r.type?[0,0,0,0]:ff(e,r);switch(r.type){case"base64":n=v(e);break;case"binary":case"string":n=e;break;case"buffer":n=65001==r.codepage?e.toString("utf8"):r.codepage&&void 0!==t?t.utils.decode(r.codepage,e):b&&Buffer.isBuffer(e)?e.toString("binary"):k(e);break;case"array":n=Ve(e);break;default:throw new Error("Unrecognized type "+r.type)}return 239==a[0]&&187==a[1]&&191==a[2]?n=Pt(n.slice(3)):"string"!=r.type&&"buffer"!=r.type&&65001==r.codepage?n=Pt(n):"binary"==r.type&&void 0!==t&&r.codepage&&(n=t.utils.decode(r.codepage,t.utils.encode(28591,n))),"socialcalc:version:"==n.slice(0,19)?Lo.to_sheet("string"==r.type?n:Pt(n),r):s(n,r)}return{to_workbook:function(e,t){return Kr(c(e,t),t)},to_sheet:c,from_sheet:function(e){for(var t,r=[],n=Gr(e["!ref"]),a=Array.isArray(e),o=n.s.r;o<=n.e.r;++o){for(var i=[],s=n.s.c;s<=n.e.c;++s){var c=Vr({r:o,c:s});if((t=a?(e[o]||[])[s]:e[c])&&null!=t.v){for(var l=(t.w||(Yr(t),t.w)||"").slice(0,10);l.length<10;)l+=" ";i.push(l+(0===s?" ":""))}else i.push(" ")}r.push(i.join(""))}return r.join("\n")}}}();var Fo=function(){function e(e,t,r){if(e){Cr(e,e.l||0);for(var n=r.Enum||w;e.l<e.length;){var a=e._R(2),o=n[a]||n[65535],i=e._R(2),s=e.l+i,c=o.f&&o.f(e,i,r);if(e.l=s,t(c,o,a))return}}}function t(t,r){if(!t)return t;var n=r||{};null!=p&&null==n.dense&&(n.dense=p);var a=n.dense?[]:{},o="Sheet1",i="",s=0,c={},l=[],u=[],f={s:{r:0,c:0},e:{r:0,c:0}},h=n.sheetRows||0;if(0==t[2]&&(8==t[3]||9==t[3])&&t.length>=16&&5==t[14]&&108===t[15])throw new Error("Unsupported Works 3 for Mac file");if(2==t[2])n.Enum=w,e(t,(function(e,t,r){switch(r){case 0:n.vers=e,e>=4096&&(n.qpro=!0);break;case 6:f=e;break;case 204:e&&(i=e);break;case 222:i=e;break;case 15:case 51:n.qpro||(e[1].v=e[1].v.slice(1));case 13:case 14:case 16:14==r&&112==(112&e[2])&&(15&e[2])>1&&(15&e[2])<15&&(e[1].z=n.dateNF||j[14],n.cellDates&&(e[1].t="d",e[1].v=je(e[1].v))),n.qpro&&e[3]>s&&(a["!ref"]=$r(f),c[o]=a,l.push(o),a=n.dense?[]:{},f={s:{r:0,c:0},e:{r:0,c:0}},s=e[3],o=i||"Sheet"+(s+1),i="");var u=n.dense?(a[e[0].r]||[])[e[0].c]:a[Vr(e[0])];if(u){u.t=e[1].t,u.v=e[1].v,null!=e[1].z&&(u.z=e[1].z),null!=e[1].f&&(u.f=e[1].f);break}n.dense?(a[e[0].r]||(a[e[0].r]=[]),a[e[0].r][e[0].c]=e[1]):a[Vr(e[0])]=e[1]}}),n);else{if(26!=t[2]&&14!=t[2])throw new Error("Unrecognized LOTUS BOF "+t[2]);n.Enum=S,14==t[2]&&(n.qpro=!0,t.l=0),e(t,(function(e,t,r){switch(r){case 204:o=e;break;case 22:e[1].v=e[1].v.slice(1);case 23:case 24:case 25:case 37:case 39:case 40:if(e[3]>s&&(a["!ref"]=$r(f),c[o]=a,l.push(o),a=n.dense?[]:{},f={s:{r:0,c:0},e:{r:0,c:0}},s=e[3],o="Sheet"+(s+1)),h>0&&e[0].r>=h)break;n.dense?(a[e[0].r]||(a[e[0].r]=[]),a[e[0].r][e[0].c]=e[1]):a[Vr(e[0])]=e[1],f.e.c<e[0].c&&(f.e.c=e[0].c),f.e.r<e[0].r&&(f.e.r=e[0].r);break;case 27:e[14e3]&&(u[e[14e3][0]]=e[14e3][1]);break;case 1537:u[e[0]]=e[1],e[0]==s&&(o=e[1])}}),n)}if(a["!ref"]=$r(f),c[i||o]=a,l.push(i||o),!u.length)return{SheetNames:l,Sheets:c};for(var d={},g=[],m=0;m<u.length;++m)c[l[m]]?(g.push(u[m]||l[m]),d[u[m]]=c[u[m]]||c[l[m]]):(g.push(u[m]),d[u[m]]={"!ref":"A1"});return{SheetNames:g,Sheets:d}}function r(e,t,r){var n=[{c:0,r:0},{t:"n",v:0},0,0];return r.qpro&&20768!=r.vers?(n[0].c=e._R(1),n[3]=e._R(1),n[0].r=e._R(2),e.l+=2):(n[2]=e._R(1),n[0].c=e._R(2),n[0].r=e._R(2)),n}function n(e,t,n){var a=e.l+t,o=r(e,0,n);if(o[1].t="s",20768==n.vers){e.l++;var i=e._R(1);return o[1].v=e._R(i,"utf8"),o}return n.qpro&&e.l++,o[1].v=e._R(a-e.l,"cstr"),o}function a(e,t,r){var n=Rr(7+r.length);n._W(1,255),n._W(2,t),n._W(2,e),n._W(1,39);for(var a=0;a<n.length;++a){var o=r.charCodeAt(a);n._W(1,o>=128?95:o)}return n._W(1,0),n}function o(e,t,r){var n=Rr(7);return n._W(1,255),n._W(2,t),n._W(2,e),n._W(2,r,"i"),n}function i(e,t,r){var n=Rr(13);return n._W(1,255),n._W(2,t),n._W(2,e),n._W(8,r,"f"),n}function c(e,t,r){var n=32768&t;return t=(n?e:0)+((t&=-32769)>=8192?t-16384:t),(n?"":"$")+(r?Hr(t):Wr(t))}var l={51:["FALSE",0],52:["TRUE",0],70:["LEN",1],80:["SUM",69],81:["AVERAGEA",69],82:["COUNTA",69],83:["MINA",69],84:["MAXA",69],111:["T",1]},u=["","","","","","","","","","+","-","*","/","^","=","<>","<=",">=","<",">","","","","","&","","","","","","",""];function f(e){var t=[{c:0,r:0},{t:"n",v:0},0];return t[0].r=e._R(2),t[3]=e[e.l++],t[0].c=e[e.l++],t}function h(e,t,r,n){var a=Rr(6+n.length);a._W(2,e),a._W(1,r),a._W(1,t),a._W(1,39);for(var o=0;o<n.length;++o){var i=n.charCodeAt(o);a._W(1,i>=128?95:i)}return a._W(1,0),a}function d(e,t){var r=f(e),n=e._R(4),a=e._R(4),o=e._R(2);if(65535==o)return 0===n&&3221225472===a?(r[1].t="e",r[1].v=15):0===n&&3489660928===a?(r[1].t="e",r[1].v=42):r[1].v=0,r;var i=32768&o;return o=(32767&o)-16446,r[1].v=(1-2*i)*(a*Math.pow(2,o+32)+n*Math.pow(2,o)),r}function g(e,t,r,n){var a=Rr(14);if(a._W(2,e),a._W(1,r),a._W(1,t),0==n)return a._W(4,0),a._W(4,0),a._W(2,65535),a;var o,i=0,s=0,c=0;return n<0&&(i=1,n=-n),s=0|Math.log2(n),0==(2147483648&(c=(n/=Math.pow(2,s-31))>>>0))&&(++s,c=(n/=2)>>>0),n-=c,c|=2147483648,c>>>=0,o=(n*=Math.pow(2,32))>>>0,a._W(4,o),a._W(4,c),s+=16383+(i?32768:0),a._W(2,s),a}function m(e,t){var r=f(e),n=e._R(8,"f");return r[1].v=n,r}function b(e,t){return 0==e[e.l+t-1]?e._R(t,"cstr"):""}function y(e,t){var r=Rr(5+e.length);r._W(2,14e3),r._W(2,t);for(var n=0;n<e.length;++n){var a=e.charCodeAt(n);r[r.l++]=a>127?95:a}return r[r.l++]=0,r}var w={0:{n:"BOF",f:Pa},1:{n:"EOF"},2:{n:"CALCMODE"},3:{n:"CALCORDER"},4:{n:"SPLIT"},5:{n:"SYNC"},6:{n:"RANGE",f:function(e,t,r){var n={s:{c:0,r:0},e:{c:0,r:0}};return 8==t&&r.qpro?(n.s.c=e._R(1),e.l++,n.s.r=e._R(2),n.e.c=e._R(1),e.l++,n.e.r=e._R(2),n):(n.s.c=e._R(2),n.s.r=e._R(2),12==t&&r.qpro&&(e.l+=2),n.e.c=e._R(2),n.e.r=e._R(2),12==t&&r.qpro&&(e.l+=2),65535==n.s.c&&(n.s.c=n.e.c=n.s.r=n.e.r=0),n)}},7:{n:"WINDOW1"},8:{n:"COLW1"},9:{n:"WINTWO"},10:{n:"COLW2"},11:{n:"NAME"},12:{n:"BLANK"},13:{n:"INTEGER",f:function(e,t,n){var a=r(e,0,n);return a[1].v=e._R(2,"i"),a}},14:{n:"NUMBER",f:function(e,t,n){var a=r(e,0,n);return a[1].v=e._R(8,"f"),a}},15:{n:"LABEL",f:n},16:{n:"FORMULA",f:function(e,t,n){var a=e.l+t,o=r(e,0,n);if(o[1].v=e._R(8,"f"),n.qpro)e.l=a;else{var i=e._R(2);!function(e,t){Cr(e,0);var r=[],n=0,a="",o="",i="",s="";for(;e.l<e.length;){var f=e[e.l++];switch(f){case 0:r.push(e._R(8,"f"));break;case 1:o=c(t[0].c,e._R(2),!0),a=c(t[0].r,e._R(2),!1),r.push(o+a);break;case 2:var h=c(t[0].c,e._R(2),!0),d=c(t[0].r,e._R(2),!1);o=c(t[0].c,e._R(2),!0),a=c(t[0].r,e._R(2),!1),r.push(h+d+":"+o+a);break;case 3:if(e.l<e.length)return void console.error("WK1 premature formula end");break;case 4:r.push("("+r.pop()+")");break;case 5:r.push(e._R(2));break;case 6:for(var p="";f=e[e.l++];)p+=String.fromCharCode(f);r.push('"'+p.replace(/"/g,'""')+'"');break;case 8:r.push("-"+r.pop());break;case 23:r.push("+"+r.pop());break;case 22:r.push("NOT("+r.pop()+")");break;case 20:case 21:s=r.pop(),i=r.pop(),r.push(["AND","OR"][f-20]+"("+i+","+s+")");break;default:if(f<32&&u[f])s=r.pop(),i=r.pop(),r.push(i+u[f]+s);else{if(!l[f])return f<=7?console.error("WK1 invalid opcode "+f.toString(16)):f<=24?console.error("WK1 unsupported op "+f.toString(16)):f<=30?console.error("WK1 invalid opcode "+f.toString(16)):f<=115?console.error("WK1 unsupported function opcode "+f.toString(16)):console.error("WK1 unrecognized opcode "+f.toString(16));if(69==(n=l[f][1])&&(n=e[e.l++]),n>r.length)return void console.error("WK1 bad formula parse 0x"+f.toString(16)+":|"+r.join("|")+"|");var g=r.slice(-n);r.length-=n,r.push(l[f][0]+"("+g.join(",")+")")}}}1==r.length?t[1].f=""+r[0]:console.error("WK1 bad formula parse |"+r.join("|")+"|")}(e.slice(e.l,e.l+i),o),e.l+=i}return o}},24:{n:"TABLE"},25:{n:"ORANGE"},26:{n:"PRANGE"},27:{n:"SRANGE"},28:{n:"FRANGE"},29:{n:"KRANGE1"},32:{n:"HRANGE"},35:{n:"KRANGE2"},36:{n:"PROTEC"},37:{n:"FOOTER"},38:{n:"HEADER"},39:{n:"SETUP"},40:{n:"MARGINS"},41:{n:"LABELFMT"},42:{n:"TITLES"},43:{n:"SHEETJS"},45:{n:"GRAPH"},46:{n:"NGRAPH"},47:{n:"CALCCOUNT"},48:{n:"UNFORMATTED"},49:{n:"CURSORW12"},50:{n:"WINDOW"},51:{n:"STRING",f:n},55:{n:"PASSWORD"},56:{n:"LOCKED"},60:{n:"QUERY"},61:{n:"QUERYNAME"},62:{n:"PRINT"},63:{n:"PRINTNAME"},64:{n:"GRAPH2"},65:{n:"GRAPHNAME"},66:{n:"ZOOM"},67:{n:"SYMSPLIT"},68:{n:"NSROWS"},69:{n:"NSCOLS"},70:{n:"RULER"},71:{n:"NNAME"},72:{n:"ACOMM"},73:{n:"AMACRO"},74:{n:"PARSE"},102:{n:"PRANGES??"},103:{n:"RRANGES??"},104:{n:"FNAME??"},105:{n:"MRANGES??"},204:{n:"SHEETNAMECS",f:b},222:{n:"SHEETNAMELP",f:function(e,t){var r=e[e.l++];r>t-1&&(r=t-1);for(var n="";n.length<r;)n+=String.fromCharCode(e[e.l++]);return n}},65535:{n:""}},S={0:{n:"BOF"},1:{n:"EOF"},2:{n:"PASSWORD"},3:{n:"CALCSET"},4:{n:"WINDOWSET"},5:{n:"SHEETCELLPTR"},6:{n:"SHEETLAYOUT"},7:{n:"COLUMNWIDTH"},8:{n:"HIDDENCOLUMN"},9:{n:"USERRANGE"},10:{n:"SYSTEMRANGE"},11:{n:"ZEROFORCE"},12:{n:"SORTKEYDIR"},13:{n:"FILESEAL"},14:{n:"DATAFILLNUMS"},15:{n:"PRINTMAIN"},16:{n:"PRINTSTRING"},17:{n:"GRAPHMAIN"},18:{n:"GRAPHSTRING"},19:{n:"??"},20:{n:"ERRCELL"},21:{n:"NACELL"},22:{n:"LABEL16",f:function(e,t){var r=f(e);return r[1].t="s",r[1].v=e._R(t-4,"cstr"),r}},23:{n:"NUMBER17",f:d},24:{n:"NUMBER18",f:function(e,t){var r=f(e);r[1].v=e._R(2);var n=r[1].v>>1;if(1&r[1].v)switch(7&n){case 0:n=5e3*(n>>3);break;case 1:n=500*(n>>3);break;case 2:n=(n>>3)/20;break;case 3:n=(n>>3)/200;break;case 4:n=(n>>3)/2e3;break;case 5:n=(n>>3)/2e4;break;case 6:n=(n>>3)/16;break;case 7:n=(n>>3)/64}return r[1].v=n,r}},25:{n:"FORMULA19",f:function(e,t){var r=d(e);return e.l+=t-14,r}},26:{n:"FORMULA1A"},27:{n:"XFORMAT",f:function(e,t){for(var r={},n=e.l+t;e.l<n;){var a=e._R(2);if(14e3==a){for(r[a]=[0,""],r[a][0]=e._R(2);e[e.l];)r[a][1]+=String.fromCharCode(e[e.l]),e.l++;e.l++}}return r}},28:{n:"DTLABELMISC"},29:{n:"DTLABELCELL"},30:{n:"GRAPHWINDOW"},31:{n:"CPA"},32:{n:"LPLAUTO"},33:{n:"QUERY"},34:{n:"HIDDENSHEET"},35:{n:"??"},37:{n:"NUMBER25",f:function(e,t){var r=f(e),n=e._R(4);return r[1].v=n>>6,r}},38:{n:"??"},39:{n:"NUMBER27",f:m},40:{n:"FORMULA28",f:function(e,t){var r=m(e);return e.l+=t-10,r}},142:{n:"??"},147:{n:"??"},150:{n:"??"},151:{n:"??"},152:{n:"??"},153:{n:"??"},154:{n:"??"},155:{n:"??"},156:{n:"??"},163:{n:"??"},174:{n:"??"},175:{n:"??"},176:{n:"??"},177:{n:"??"},184:{n:"??"},185:{n:"??"},186:{n:"??"},187:{n:"??"},188:{n:"??"},195:{n:"??"},201:{n:"??"},204:{n:"SHEETNAMECS",f:b},205:{n:"??"},206:{n:"??"},207:{n:"??"},208:{n:"??"},256:{n:"??"},259:{n:"??"},260:{n:"??"},261:{n:"??"},262:{n:"??"},263:{n:"??"},265:{n:"??"},266:{n:"??"},267:{n:"??"},268:{n:"??"},270:{n:"??"},271:{n:"??"},384:{n:"??"},389:{n:"??"},390:{n:"??"},393:{n:"??"},396:{n:"??"},512:{n:"??"},514:{n:"??"},513:{n:"??"},516:{n:"??"},517:{n:"??"},640:{n:"??"},641:{n:"??"},642:{n:"??"},643:{n:"??"},644:{n:"??"},645:{n:"??"},646:{n:"??"},647:{n:"??"},648:{n:"??"},658:{n:"??"},659:{n:"??"},660:{n:"??"},661:{n:"??"},662:{n:"??"},665:{n:"??"},666:{n:"??"},768:{n:"??"},772:{n:"??"},1537:{n:"SHEETINFOQP",f:function(e,t,r){if(r.qpro&&!(t<21)){var n=e._R(1);return e.l+=17,e.l+=1,e.l+=2,[n,e._R(t-21,"cstr")]}}},1600:{n:"??"},1602:{n:"??"},1793:{n:"??"},1794:{n:"??"},1795:{n:"??"},1796:{n:"??"},1920:{n:"??"},2048:{n:"??"},2049:{n:"??"},2052:{n:"??"},2688:{n:"??"},10998:{n:"??"},12849:{n:"??"},28233:{n:"??"},28484:{n:"??"},65535:{n:""}};return{sheet_to_wk1:function(e,t){var r=t||{};if(+r.codepage>=0&&s(+r.codepage),"string"==r.type)throw new Error("Cannot write WK1 to JS string");var n=Lr(),c=Gr(e["!ref"]),l=Array.isArray(e),u=[];eu(n,0,function(e){var t=Rr(2);return t._W(2,e),t}(1030)),eu(n,6,function(e){var t=Rr(8);return t._W(2,e.s.c),t._W(2,e.s.r),t._W(2,e.e.c),t._W(2,e.e.r),t}(c));for(var f=Math.min(c.e.r,8191),h=c.s.r;h<=f;++h)for(var d=Wr(h),p=c.s.c;p<=c.e.c;++p){h===c.s.r&&(u[p]=Hr(p));var g=u[p]+d,m=l?(e[h]||[])[p]:e[g];if(m&&"z"!=m.t)if("n"==m.t)(0|m.v)==m.v&&m.v>=-32768&&m.v<=32767?eu(n,13,o(h,p,m.v)):eu(n,14,i(h,p,m.v));else eu(n,15,a(h,p,Yr(m).slice(0,239)))}return eu(n,1),n.end()},book_to_wk3:function(e,t){var r=t||{};if(+r.codepage>=0&&s(+r.codepage),"string"==r.type)throw new Error("Cannot write WK3 to JS string");var n=Lr();eu(n,0,function(e){var t=Rr(26);t._W(2,4096),t._W(2,4),t._W(4,0);for(var r=0,n=0,a=0,o=0;o<e.SheetNames.length;++o){var i=e.SheetNames[o],s=e.Sheets[i];if(s&&s["!ref"]){++a;var c=qr(s["!ref"]);r<c.e.r&&(r=c.e.r),n<c.e.c&&(n=c.e.c)}}r>8191&&(r=8191);return t._W(2,r),t._W(1,a),t._W(1,n),t._W(2,0),t._W(2,0),t._W(1,1),t._W(1,2),t._W(4,0),t._W(4,0),t}(e));for(var a=0,o=0;a<e.SheetNames.length;++a)(e.Sheets[e.SheetNames[a]]||{})["!ref"]&&eu(n,27,y(e.SheetNames[a],o++));var i=0;for(a=0;a<e.SheetNames.length;++a){var c=e.Sheets[e.SheetNames[a]];if(c&&c["!ref"]){for(var l=Gr(c["!ref"]),u=Array.isArray(c),f=[],d=Math.min(l.e.r,8191),p=l.s.r;p<=d;++p)for(var m=Wr(p),v=l.s.c;v<=l.e.c;++v){p===l.s.r&&(f[v]=Hr(v));var b=f[v]+m,w=u?(c[p]||[])[v]:c[b];if(w&&"z"!=w.t)if("n"==w.t)eu(n,23,g(p,v,i,w.v));else eu(n,22,h(p,v,i,Yr(w).slice(0,239)))}++i}}return eu(n,1),n.end()},to_workbook:function(e,r){switch(r.type){case"base64":return t(x(v(e)),r);case"binary":return t(x(e),r);case"buffer":case"array":return t(e,r)}throw"Unsupported type "+r.type}}}();function Do(e){var t={},r=e.match(ht),n=0,a=!1;if(r)for(;n!=r.length;++n){var i=gt(r[n]);switch(i[0].replace(/\w*:/g,"")){case"<condense":case"<extend":break;case"<shadow":if(!i.val)break;case"<shadow>":case"<shadow/>":t.shadow=1;break;case"</shadow>":break;case"<charset":if("1"==i.val)break;t.cp=o[parseInt(i.val,10)];break;case"<outline":if(!i.val)break;case"<outline>":case"<outline/>":t.outline=1;break;case"</outline>":break;case"<rFont":t.name=i.val;break;case"<sz":t.sz=i.val;break;case"<strike":if(!i.val)break;case"<strike>":case"<strike/>":t.strike=1;break;case"</strike>":break;case"<u":if(!i.val)break;switch(i.val){case"double":t.uval="double";break;case"singleAccounting":t.uval="single-accounting";break;case"doubleAccounting":t.uval="double-accounting"}case"<u>":case"<u/>":t.u=1;break;case"</u>":break;case"<b":if("0"==i.val)break;case"<b>":case"<b/>":t.b=1;break;case"</b>":break;case"<i":if("0"==i.val)break;case"<i>":case"<i/>":t.i=1;break;case"</i>":break;case"<color":i.rgb&&(t.color=i.rgb.slice(2,8));break;case"<color>":case"<color/>":case"</color>":break;case"<family":t.family=i.val;break;case"<family>":case"<family/>":case"</family>":break;case"<vertAlign":t.valign=i.val;break;case"<vertAlign>":case"<vertAlign/>":case"</vertAlign>":case"<scheme":case"<scheme>":case"<scheme/>":case"</scheme>":case"<extLst":case"<extLst>":case"</extLst>":break;case"<ext":a=!0;break;case"</ext>":a=!1;break;default:if(47!==i[0].charCodeAt(1)&&!a)throw new Error("Unrecognized rich format "+i[0])}}return t}var Mo=function(){var e=It("t"),t=It("rPr");function r(r){var n=r.match(e);if(!n)return{t:"s",v:""};var a={t:"s",v:yt(n[1])},o=r.match(t);return o&&(a.s=Do(o[1])),a}var n=/<(?:\w+:)?r>/g,a=/<\/(?:\w+:)?r>/;return function(e){return e.replace(n,"").split(a).map(r).filter((function(e){return e.v}))}}(),jo=function(){var e=/(\r\n|\n)/g;function t(t){var r=[[],t.v,[]];return t.v?(t.s&&function(e,t,r){var n=[];e.u&&n.push("text-decoration: underline;"),e.uval&&n.push("text-underline-style:"+e.uval+";"),e.sz&&n.push("font-size:"+e.sz+"pt;"),e.outline&&n.push("text-effect: outline;"),e.shadow&&n.push("text-shadow: auto;"),t.push('<span style="'+n.join("")+'">'),e.b&&(t.push("<b>"),r.push("</b>")),e.i&&(t.push("<i>"),r.push("</i>")),e.strike&&(t.push("<s>"),r.push("</s>"));var a=e.valign||"";"superscript"==a||"super"==a?a="sup":"subscript"==a&&(a="sub"),""!=a&&(t.push("<"+a+">"),r.push("</"+a+">")),r.push("</span>")}(t.s,r[0],r[2]),r[0].join("")+r[1].replace(e,"<br/>")+r[2].join("")):""}return function(e){return e.map(t).join("")}}(),Bo=/<(?:\w+:)?t[^>]*>([^<]*)<\/(?:\w+:)?t>/g,Wo=/<(?:\w+:)?r>/,Uo=/<(?:\w+:)?rPh.*?>([\s\S]*?)<\/(?:\w+:)?rPh>/g;function Ho(e,t){var r=!t||t.cellHTML,n={};return e?(e.match(/^\s*<(?:\w+:)?t[^>]*>/)?(n.t=yt(Pt(e.slice(e.indexOf(">")+1).split(/<\/(?:\w+:)?t>/)[0]||"")),n.r=Pt(e),r&&(n.h=Tt(n.t))):e.match(Wo)&&(n.r=Pt(e),n.t=yt(Pt((e.replace(Uo,"").match(Bo)||[]).join("").replace(ht,""))),r&&(n.h=jo(Mo(n.r)))),n):{t:""}}var zo=/<(?:\w+:)?sst([^>]*)>([\s\S]*)<\/(?:\w+:)?sst>/,Vo=/<(?:\w+:)?(?:si|sstItem)>/g,qo=/<\/(?:\w+:)?(?:si|sstItem)>/;var $o=/^\s|\s$|[\t\n\r]/;function Go(e,t){if(!t.bookSST)return"";var r=[lt];r[r.length]=zt("sst",null,{xmlns:Xt[0],count:e.Count,uniqueCount:e.Unique});for(var n=0;n!=e.length;++n)if(null!=e[n]){var a=e[n],o="<si>";a.r?o+=a.r:(o+="<t",a.t||(a.t=""),a.t.match($o)&&(o+=' xml:space="preserve"'),o+=">"+xt(a.t)+"</t>"),o+="</si>",r[r.length]=o}return r.length>2&&(r[r.length]="</sst>",r[1]=r[1].replace("/>",">")),r.join("")}var Xo=function(e,t){var r=!1;return null==t&&(r=!0,t=Rr(15+4*e.t.length)),t._W(1,0),tn(e.t,t),r?t.slice(0,t.l):t};function Yo(e){var t=Lr();Ir(t,159,function(e,t){return t||(t=Rr(8)),t._W(4,e.Count),t._W(4,e.Unique),t}(e));for(var r=0;r<e.length;++r)Ir(t,19,Xo(e[r]));return Ir(t,160),t.end()}function Ko(e){if(void 0!==t)return t.utils.encode(n,e);for(var r=[],a=e.split(""),o=0;o<a.length;++o)r[o]=a[o].charCodeAt(0);return r}function Jo(e,t){var r={};return r.Major=e._R(2),r.Minor=e._R(2),t>=4&&(e.l+=t-4),r}function Zo(e){for(var t=e._R(4),r=e.l+t-4,n={},a=e._R(4),o=[];a-- >0;)o.push({t:e._R(4),v:e._R(0,"lpp4")});if(n.name=e._R(0,"lpp4"),n.comps=o,e.l!=r)throw new Error("Bad DataSpaceMapEntry: "+e.l+" != "+r);return n}function Qo(e){var t=function(e){var t={};return e._R(4),e.l+=4,t.id=e._R(0,"lpp4"),t.name=e._R(0,"lpp4"),t.R=Jo(e,4),t.U=Jo(e,4),t.W=Jo(e,4),t}(e);if(t.ename=e._R(0,"8lpp4"),t.blksz=e._R(4),t.cmode=e._R(4),4!=e._R(4))throw new Error("Bad !Primary record");return t}function ei(e,t){var r=e.l+t,n={};n.Flags=63&e._R(4),e.l+=4,n.AlgID=e._R(4);var a=!1;switch(n.AlgID){case 26126:case 26127:case 26128:a=36==n.Flags;break;case 26625:a=4==n.Flags;break;case 0:a=16==n.Flags||4==n.Flags||36==n.Flags;break;default:throw"Unrecognized encryption algorithm: "+n.AlgID}if(!a)throw new Error("Encryption Flags/AlgID mismatch");return n.AlgIDHash=e._R(4),n.KeySize=e._R(4),n.ProviderType=e._R(4),e.l+=8,n.CSPName=e._R(r-e.l>>1,"utf16le"),e.l=r,n}function ti(e,t){var r={},n=e.l+t;return e.l+=4,r.Salt=e.slice(e.l,e.l+16),e.l+=16,r.Verifier=e.slice(e.l,e.l+16),e.l+=16,e._R(4),r.VerifierHash=e.slice(e.l,n),e.l=n,r}function ri(e){if(36!=(63&e._R(4)))throw new Error("EncryptionInfo mismatch");var t=e._R(4);return{t:"Std",h:ei(e,t),v:ti(e,e.length-e.l)}}function ni(){throw new Error("File is password-protected: ECMA-376 Extensible")}function ai(e){var t=["saltSize","blockSize","keyBits","hashSize","cipherAlgorithm","cipherChaining","hashAlgorithm","saltValue"];e.l+=4;var r=e._R(e.length-e.l,"utf8"),n={};return r.replace(ht,(function(e){var r=gt(e);switch(mt(r[0])){case"<?xml":case"<encryption":case"</encryption>":case"</keyEncryptors>":case"</keyEncryptor>":break;case"<keyData":t.forEach((function(e){n[e]=r[e]}));break;case"<dataIntegrity":n.encryptedHmacKey=r.encryptedHmacKey,n.encryptedHmacValue=r.encryptedHmacValue;break;case"<keyEncryptors>":case"<keyEncryptors":n.encs=[];break;case"<keyEncryptor":n.uri=r.uri;break;case"<encryptedKey":n.encs.push(r);break;default:throw r[0]}})),n}function oi(e){var t,r,n=0,a=Ko(e),o=a.length+1;for((t=w(o))[0]=a.length,r=1;r!=o;++r)t[r]=a[r-1];for(r=o-1;r>=0;--r)n=((0==(16384&n)?0:1)|n<<1&32767)^t[r];return 52811^n}var ii=function(){var e=[187,255,255,186,255,255,185,128,0,190,15,0,191,15,0],t=[57840,7439,52380,33984,4364,3600,61902,12606,6258,57657,54287,34041,10252,43370,20163],r=[44796,19929,39858,10053,20106,40212,10761,31585,63170,64933,60267,50935,40399,11199,17763,35526,1453,2906,5812,11624,23248,885,1770,3540,7080,14160,28320,56640,55369,41139,20807,41614,21821,43642,17621,28485,56970,44341,19019,38038,14605,29210,60195,50791,40175,10751,21502,43004,24537,18387,36774,3949,7898,15796,31592,63184,47201,24803,49606,37805,14203,28406,56812,17824,35648,1697,3394,6788,13576,27152,43601,17539,35078,557,1114,2228,4456,30388,60776,51953,34243,7079,14158,28316,14128,28256,56512,43425,17251,34502,7597,13105,26210,52420,35241,883,1766,3532,4129,8258,16516,33032,4657,9314,18628],n=function(e,t){return function(e){return 255&(e/2|128*e)}(e^t)},a=function(e){for(var n=t[e.length-1],a=104,o=e.length-1;o>=0;--o)for(var i=e[o],s=0;7!=s;++s)64&i&&(n^=r[a]),i*=2,--a;return n};return function(t){for(var r,o,i,s=Ko(t),c=a(s),l=s.length,u=w(16),f=0;16!=f;++f)u[f]=0;for(1==(1&l)&&(r=c>>8,u[l]=n(e[0],r),--l,r=255&c,o=s[s.length-1],u[l]=n(o,r));l>0;)r=c>>8,u[--l]=n(s[l],r),r=255&c,u[--l]=n(s[l],r);for(l=15,i=15-s.length;i>0;)r=c>>8,u[l]=n(e[i],r),--i,r=255&c,u[--l]=n(s[l],r),--l,--i;return u}}(),si=function(e){var t=0,r=ii(e);return function(e){var n=function(e,t,r,n,a){var o,i;for(a||(a=t),n||(n=ii(e)),o=0;o!=t.length;++o)i=t[o],i=255&((i^=n[r])>>5|i<<3),a[o]=i,++r;return[a,r,n]}("",e,t,r);return t=n[1],n[0]}};function ci(e,t,r){var n=r||{};return n.Info=e._R(2),e.l-=2,1===n.Info?n.Data=function(e){var t={},r=t.EncryptionVersionInfo=Jo(e,4);if(1!=r.Major||1!=r.Minor)throw"unrecognized version code "+r.Major+" : "+r.Minor;return t.Salt=e._R(16),t.EncryptedVerifier=e._R(16),t.EncryptedVerifierHash=e._R(16),t}(e):n.Data=function(e,t){var r={},n=r.EncryptionVersionInfo=Jo(e,4);if(t-=4,2!=n.Minor)throw new Error("unrecognized minor version code: "+n.Minor);if(n.Major>4||n.Major<2)throw new Error("unrecognized major version code: "+n.Major);r.Flags=e._R(4),t-=4;var a=e._R(4);return t-=4,r.EncryptionHeader=ei(e,a),t-=a,r.EncryptionVerifier=ti(e,t),r}(e,t),n}var li=function(){function e(e,r){switch(r.type){case"base64":return t(v(e),r);case"binary":return t(e,r);case"buffer":return t(b&&Buffer.isBuffer(e)?e.toString("binary"):k(e),r);case"array":return t(Ve(e),r)}throw new Error("Unrecognized type "+r.type)}function t(e,t){var r=(t||{}).dense?[]:{},n=e.match(/\\trowd.*?\\row\b/g);if(!n.length)throw new Error("RTF missing table");var a={s:{c:0,r:0},e:{c:0,r:n.length-1}};return n.forEach((function(e,t){Array.isArray(r)&&(r[t]=[]);for(var n,o=/\\\w+\b/g,i=0,s=-1;n=o.exec(e);){if("\\cell"===n[0]){var c=e.slice(i,o.lastIndex-n[0].length);if(" "==c[0]&&(c=c.slice(1)),++s,c.length){var l={v:c,t:"s"};Array.isArray(r)?r[t][s]=l:r[Vr({r:t,c:s})]=l}}i=o.lastIndex}s>a.e.c&&(a.e.c=s)})),r["!ref"]=$r(a),r}return{to_workbook:function(t,r){return Kr(e(t,r),r)},to_sheet:e,from_sheet:function(e){for(var t,r=["{\\rtf1\\ansi"],n=Gr(e["!ref"]),a=Array.isArray(e),o=n.s.r;o<=n.e.r;++o){r.push("\\trowd\\trautofit1");for(var i=n.s.c;i<=n.e.c;++i)r.push("\\cellx"+(i+1));for(r.push("\\pard\\intbl"),i=n.s.c;i<=n.e.c;++i){var s=Vr({r:o,c:i});(t=a?(e[o]||[])[i]:e[s])&&(null!=t.v||t.f&&!t.F)&&(r.push(" "+(t.w||(Yr(t),t.w))),r.push("\\cell"))}r.push("\\pard\\intbl\\row")}return r.join("")+"}"}}}();function ui(e){for(var t=0,r=1;3!=t;++t)r=256*r+(e[t]>255?255:e[t]<0?0:e[t]);return r.toString(16).toUpperCase().slice(1)}function fi(e,t){if(0===t)return e;var r=function(e){var t=e[0]/255,r=e[1]/255,n=e[2]/255,a=Math.max(t,r,n),o=Math.min(t,r,n),i=a-o;if(0===i)return[0,0,t];var s,c=0,l=a+o;switch(s=i/(l>1?2-l:l),a){case t:c=((r-n)/i+6)%6;break;case r:c=(n-t)/i+2;break;case n:c=(t-r)/i+4}return[c/6,s,l/2]}(function(e){var t=e.slice("#"===e[0]?1:0).slice(0,6);return[parseInt(t.slice(0,2),16),parseInt(t.slice(2,4),16),parseInt(t.slice(4,6),16)]}(e));return r[2]=t<0?r[2]*(1+t):1-(1-r[2])*(1-t),ui(function(e){var t,r=e[0],n=e[1],a=e[2],o=2*n*(a<.5?a:1-a),i=a-o/2,s=[i,i,i],c=6*r;if(0!==n)switch(0|c){case 0:case 6:t=o*c,s[0]+=o,s[1]+=t;break;case 1:t=o*(2-c),s[0]+=t,s[1]+=o;break;case 2:t=o*(c-2),s[1]+=o,s[2]+=t;break;case 3:t=o*(4-c),s[1]+=t,s[2]+=o;break;case 4:t=o*(c-4),s[2]+=o,s[0]+=t;break;case 5:t=o*(6-c),s[2]+=t,s[0]+=o}for(var l=0;3!=l;++l)s[l]=Math.round(255*s[l]);return s}(r))}var hi=6,di=15,pi=1,gi=hi;function mi(e){return Math.floor((e+Math.round(128/gi)/256)*gi)}function vi(e){return Math.floor((e-5)/gi*100+.5)/100}function bi(e){return Math.round((e*gi+5)/gi*256)/256}function yi(e){return bi(vi(mi(e)))}function wi(e){var t=Math.abs(e-yi(e)),r=gi;if(t>.005)for(gi=pi;gi<di;++gi)Math.abs(e-yi(e))<=t&&(t=Math.abs(e-yi(e)),r=gi);gi=r}function Si(e){e.width?(e.wpx=mi(e.width),e.wch=vi(e.wpx),e.MDW=gi):e.wpx?(e.wch=vi(e.wpx),e.width=bi(e.wch),e.MDW=gi):"number"==typeof e.wch&&(e.width=bi(e.wch),e.wpx=mi(e.width),e.MDW=gi),e.customWidth&&delete e.customWidth}var xi=96;function Ai(e){return 96*e/xi}function ki(e){return e*xi/96}var Ti={None:"none",Solid:"solid",Gray50:"mediumGray",Gray75:"darkGray",Gray25:"lightGray",HorzStripe:"darkHorizontal",VertStripe:"darkVertical",ReverseDiagStripe:"darkDown",DiagStripe:"darkUp",DiagCross:"darkGrid",ThickDiagCross:"darkTrellis",ThinHorzStripe:"lightHorizontal",ThinVertStripe:"lightVertical",ThinReverseDiagStripe:"lightDown",ThinHorzCross:"lightGrid"};function Ei(e,t,r,n){t.Fonts=[];var a={},i=!1;(e[0].match(ht)||[]).forEach((function(e){var s=gt(e);switch(mt(s[0])){case"<fonts":case"<fonts>":case"</fonts>":case"<font":case"<font>":case"<name/>":case"</name>":case"<sz/>":case"</sz>":case"<vertAlign/>":case"</vertAlign>":case"<family/>":case"</family>":case"<scheme/>":case"</scheme>":case"<color/>":case"</color>":case"<extLst":case"<extLst>":case"</extLst>":break;case"</font>":case"<font/>":t.Fonts.push(a),a={};break;case"<name":s.val&&(a.name=Pt(s.val));break;case"<b":a.bold=s.val?_t(s.val):1;break;case"<b/>":a.bold=1;break;case"<i":a.italic=s.val?_t(s.val):1;break;case"<i/>":a.italic=1;break;case"<u":switch(s.val){case"none":a.underline=0;break;case"single":a.underline=1;break;case"double":a.underline=2;break;case"singleAccounting":a.underline=33;break;case"doubleAccounting":a.underline=34}break;case"<u/>":a.underline=1;break;case"<strike":a.strike=s.val?_t(s.val):1;break;case"<strike/>":a.strike=1;break;case"<outline":a.outline=s.val?_t(s.val):1;break;case"<outline/>":a.outline=1;break;case"<shadow":a.shadow=s.val?_t(s.val):1;break;case"<shadow/>":a.shadow=1;break;case"<condense":a.condense=s.val?_t(s.val):1;break;case"<condense/>":a.condense=1;break;case"<extend":a.extend=s.val?_t(s.val):1;break;case"<extend/>":a.extend=1;break;case"<sz":s.val&&(a.sz=+s.val);break;case"<vertAlign":s.val&&(a.vertAlign=s.val);break;case"<family":s.val&&(a.family=parseInt(s.val,10));break;case"<scheme":s.val&&(a.scheme=s.val);break;case"<charset":if("1"==s.val)break;s.codepage=o[parseInt(s.val,10)];break;case"<color":if(a.color||(a.color={}),s.auto&&(a.color.auto=_t(s.auto)),s.rgb)a.color.rgb=s.rgb.slice(-6);else if(s.indexed){a.color.index=parseInt(s.indexed,10);var c=jn[a.color.index];81==a.color.index&&(c=jn[1]),c||(c=jn[1]),a.color.rgb=c[0].toString(16)+c[1].toString(16)+c[2].toString(16)}else s.theme&&(a.color.theme=parseInt(s.theme,10),s.tint&&(a.color.tint=parseFloat(s.tint)),s.theme&&r.themeElements&&r.themeElements.clrScheme&&(a.color.rgb=fi(r.themeElements.clrScheme[a.color.theme].rgb,a.color.tint||0)));break;case"<AlternateContent":case"<ext":i=!0;break;case"</AlternateContent>":case"</ext>":i=!1;break;default:if(n&&n.WTF&&!i)throw new Error("unrecognized "+s[0]+" in fonts")}}))}var _i=["numFmtId","fillId","fontId","borderId","xfId"],Ni=["applyAlignment","applyBorder","applyFill","applyFont","applyNumberFormat","applyProtection","pivotButton","quotePrefix"];var Ci=function(){var e=/<(?:\w+:)?numFmts([^>]*)>[\S\s]*?<\/(?:\w+:)?numFmts>/,t=/<(?:\w+:)?cellXfs([^>]*)>[\S\s]*?<\/(?:\w+:)?cellXfs>/,r=/<(?:\w+:)?fills([^>]*)>[\S\s]*?<\/(?:\w+:)?fills>/,n=/<(?:\w+:)?fonts([^>]*)>[\S\s]*?<\/(?:\w+:)?fonts>/,a=/<(?:\w+:)?borders([^>]*)>[\S\s]*?<\/(?:\w+:)?borders>/;return function(o,i,s){var c,l={};return o?((c=(o=o.replace(/<!--([\s\S]*?)-->/gm,"").replace(/<!DOCTYPE[^\[]*\[[^\]]*\]>/gm,"")).match(e))&&function(e,t,r){t.NumberFmt=[];for(var n=Ce(j),a=0;a<n.length;++a)t.NumberFmt[n[a]]=j[n[a]];var o=e[0].match(ht);if(o)for(a=0;a<o.length;++a){var i=gt(o[a]);switch(mt(i[0])){case"<numFmts":case"</numFmts>":case"<numFmts/>":case"<numFmts>":case"</numFmt>":break;case"<numFmt":var s=yt(Pt(i.formatCode)),c=parseInt(i.numFmtId,10);if(t.NumberFmt[c]=s,c>0){if(c>392){for(c=392;c>60&&null!=t.NumberFmt[c];--c);t.NumberFmt[c]=s}be(s,c)}break;default:if(r.WTF)throw new Error("unrecognized "+i[0]+" in numFmts")}}}(c,l,s),(c=o.match(n))&&Ei(c,l,i,s),(c=o.match(r))&&function(e,t,r,n){t.Fills=[];var a={},o=!1;(e[0].match(ht)||[]).forEach((function(e){var r=gt(e);switch(mt(r[0])){case"<fills":case"<fills>":case"</fills>":case"</fill>":case"<gradientFill>":case"<patternFill/>":case"</patternFill>":case"<bgColor/>":case"</bgColor>":case"<fgColor/>":case"</fgColor>":case"<stop":case"<stop/>":case"</stop>":case"<color":case"<color/>":case"</color>":case"<extLst":case"<extLst>":case"</extLst>":break;case"<fill>":case"<fill":case"<fill/>":a={},t.Fills.push(a);break;case"<gradientFill":case"</gradientFill>":t.Fills.push(a),a={};break;case"<patternFill":case"<patternFill>":r.patternType&&(a.patternType=r.patternType);break;case"<bgColor":a.bgColor||(a.bgColor={}),r.indexed&&(a.bgColor.indexed=parseInt(r.indexed,10)),r.theme&&(a.bgColor.theme=parseInt(r.theme,10)),r.tint&&(a.bgColor.tint=parseFloat(r.tint)),r.rgb&&(a.bgColor.rgb=r.rgb.slice(-6));break;case"<fgColor":a.fgColor||(a.fgColor={}),r.theme&&(a.fgColor.theme=parseInt(r.theme,10)),r.tint&&(a.fgColor.tint=parseFloat(r.tint)),null!=r.rgb&&(a.fgColor.rgb=r.rgb.slice(-6));break;case"<ext":o=!0;break;case"</ext>":o=!1;break;default:if(n&&n.WTF&&!o)throw new Error("unrecognized "+r[0]+" in fills")}}))}(c,l,0,s),(c=o.match(a))&&function(e,t,r,n){t.Borders=[];var a={},o=!1;(e[0].match(ht)||[]).forEach((function(e){var r=gt(e);switch(mt(r[0])){case"<borders":case"<borders>":case"</borders>":case"</border>":case"<left/>":case"<left":case"<left>":case"</left>":case"<right/>":case"<right":case"<right>":case"</right>":case"<top/>":case"<top":case"<top>":case"</top>":case"<bottom/>":case"<bottom":case"<bottom>":case"</bottom>":case"<diagonal":case"<diagonal>":case"<diagonal/>":case"</diagonal>":case"<horizontal":case"<horizontal>":case"<horizontal/>":case"</horizontal>":case"<vertical":case"<vertical>":case"<vertical/>":case"</vertical>":case"<start":case"<start>":case"<start/>":case"</start>":case"<end":case"<end>":case"<end/>":case"</end>":case"<color":case"<color>":case"<color/>":case"</color>":case"<extLst":case"<extLst>":case"</extLst>":break;case"<border":case"<border>":case"<border/>":a={},r.diagonalUp&&(a.diagonalUp=_t(r.diagonalUp)),r.diagonalDown&&(a.diagonalDown=_t(r.diagonalDown)),t.Borders.push(a);break;case"<ext":o=!0;break;case"</ext>":o=!1;break;default:if(n&&n.WTF&&!o)throw new Error("unrecognized "+r[0]+" in borders")}}))}(c,l,0,s),(c=o.match(t))&&function(e,t,r){var n;t.CellXf=[];var a=!1;(e[0].match(ht)||[]).forEach((function(e){var o=gt(e),i=0;switch(mt(o[0])){case"<cellXfs":case"<cellXfs>":case"<cellXfs/>":case"</cellXfs>":case"</xf>":case"</alignment>":case"<protection":case"</protection>":case"<protection/>":case"<extLst":case"<extLst>":case"</extLst>":break;case"<xf":case"<xf/>":for(delete(n=o)[0],i=0;i<_i.length;++i)n[_i[i]]&&(n[_i[i]]=parseInt(n[_i[i]],10));for(i=0;i<Ni.length;++i)n[Ni[i]]&&(n[Ni[i]]=_t(n[Ni[i]]));if(t.NumberFmt&&n.numFmtId>392)for(i=392;i>60;--i)if(t.NumberFmt[n.numFmtId]==t.NumberFmt[i]){n.numFmtId=i;break}t.CellXf.push(n);break;case"<alignment":case"<alignment/>":var s={};o.vertical&&(s.vertical=o.vertical),o.horizontal&&(s.horizontal=o.horizontal),null!=o.textRotation&&(s.textRotation=o.textRotation),o.indent&&(s.indent=o.indent),o.wrapText&&(s.wrapText=_t(o.wrapText)),n.alignment=s;break;case"<AlternateContent":case"<ext":a=!0;break;case"</AlternateContent>":case"</ext>":a=!1;break;default:if(r&&r.WTF&&!a)throw new Error("unrecognized "+o[0]+" in cellXfs")}}))}(c,l,s),l):l}}();function Oi(e,t){var r,n=[lt,zt("styleSheet",null,{xmlns:Xt[0],"xmlns:vt":Gt.vt})];return e.SSF&&null!=(r=function(e){var t=["<numFmts>"];return[[5,8],[23,26],[41,44],[50,392]].forEach((function(r){for(var n=r[0];n<=r[1];++n)null!=e[n]&&(t[t.length]=zt("numFmt",null,{numFmtId:n,formatCode:xt(e[n])}))})),1===t.length?"":(t[t.length]="</numFmts>",t[0]=zt("numFmts",null,{count:t.length-2}).replace("/>",">"),t.join(""))}(e.SSF))&&(n[n.length]=r),n[n.length]='<fonts count="1"><font><sz val="12"/><color theme="1"/><name val="Calibri"/><family val="2"/><scheme val="minor"/></font></fonts>',n[n.length]='<fills count="2"><fill><patternFill patternType="none"/></fill><fill><patternFill patternType="gray125"/></fill></fills>',n[n.length]='<borders count="1"><border><left/><right/><top/><bottom/><diagonal/></border></borders>',n[n.length]='<cellStyleXfs count="1"><xf numFmtId="0" fontId="0" fillId="0" borderId="0"/></cellStyleXfs>',(r=function(e){var t=[];return t[t.length]=zt("cellXfs",null),e.forEach((function(e){t[t.length]=zt("xf",null,e)})),t[t.length]="</cellXfs>",2===t.length?"":(t[0]=zt("cellXfs",null,{count:t.length-2}).replace("/>",">"),t.join(""))}(t.cellXfs))&&(n[n.length]=r),n[n.length]='<cellStyles count="1"><cellStyle name="Normal" xfId="0" builtinId="0"/></cellStyles>',n[n.length]='<dxfs count="0"/>',n[n.length]='<tableStyles count="0" defaultTableStyle="TableStyleMedium9" defaultPivotStyle="PivotStyleMedium4"/>',n.length>2&&(n[n.length]="</styleSheet>",n[1]=n[1].replace("/>",">")),n.join("")}function Ri(e,t,r){r||(r=Rr(6+4*t.length)),r._W(2,e),tn(t,r);var n=r.length>r.l?r.slice(0,r.l):r;return null==r.l&&(r.l=r.length),n}function Pi(e,t){t||(t=Rr(153)),t._W(2,20*e.sz),function(e,t){t||(t=Rr(2));var r=(e.italic?2:0)|(e.strike?8:0)|(e.outline?16:0)|(e.shadow?32:0)|(e.condense?64:0)|(e.extend?128:0);t._W(1,r),t._W(1,0)}(e,t),t._W(2,e.bold?700:400);var r=0;"superscript"==e.vertAlign?r=1:"subscript"==e.vertAlign&&(r=2),t._W(2,r),t._W(1,e.underline||0),t._W(1,e.family||0),t._W(1,e.charset||0),t._W(1,0),Tn(e.color,t);var n=0;return"major"==e.scheme&&(n=1),"minor"==e.scheme&&(n=2),t._W(1,n),tn(e.name,t),t.length>t.l?t.slice(0,t.l):t}var Li,Ii=["none","solid","mediumGray","darkGray","lightGray","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","gray125","gray0625"],Fi=Or;function Di(e,t){t||(t=Rr(84)),Li||(Li=Re(Ii));var r=Li[e.patternType];null==r&&(r=40),t._W(4,r);var n=0;if(40!=r)for(Tn({auto:1},t),Tn({auto:1},t);n<12;++n)t._W(4,0);else{for(;n<4;++n)t._W(4,0);for(;n<12;++n)t._W(4,0)}return t.length>t.l?t.slice(0,t.l):t}function Mi(e,t,r){r||(r=Rr(16)),r._W(2,t||0),r._W(2,e.numFmtId||0),r._W(2,0),r._W(2,0),r._W(2,0),r._W(1,0),r._W(1,0);return r._W(1,0),r._W(1,0),r._W(1,0),r._W(1,0),r}function ji(e,t){return t||(t=Rr(10)),t._W(1,0),t._W(1,0),t._W(4,0),t._W(4,0),t}var Bi=Or;function Wi(e){Ir(e,613,Qr(1)),Ir(e,46,function(e,t){return t||(t=Rr(51)),t._W(1,0),ji(0,t),ji(0,t),ji(0,t),ji(0,t),ji(0,t),t.length>t.l?t.slice(0,t.l):t}()),Ir(e,614)}function Ui(e){Ir(e,619,Qr(1)),Ir(e,48,function(e,t){return t||(t=Rr(52)),t._W(4,e.xfId),t._W(2,1),t._W(1,+e.builtinId),t._W(1,0),pn(e.name||"",t),t.length>t.l?t.slice(0,t.l):t}({xfId:0,builtinId:0,name:"Normal"})),Ir(e,620)}function Hi(e){Ir(e,508,function(e,t,r){var n=Rr(2052);return n._W(4,e),pn(t,n),pn(r,n),n.length>n.l?n.slice(0,n.l):n}(0,"TableStyleMedium9","PivotStyleMedium4")),Ir(e,509)}function zi(e,t){var r=Lr();return Ir(r,278),function(e,t){if(t){var r=0;[[5,8],[23,26],[41,44],[50,392]].forEach((function(e){for(var n=e[0];n<=e[1];++n)null!=t[n]&&++r})),0!=r&&(Ir(e,615,Qr(r)),[[5,8],[23,26],[41,44],[50,392]].forEach((function(r){for(var n=r[0];n<=r[1];++n)null!=t[n]&&Ir(e,44,Ri(n,t[n]))})),Ir(e,616))}}(r,e.SSF),function(e){Ir(e,611,Qr(1)),Ir(e,43,Pi({sz:12,color:{theme:1},name:"Calibri",family:2,scheme:"minor"})),Ir(e,612)}(r),function(e){Ir(e,603,Qr(2)),Ir(e,45,Di({patternType:"none"})),Ir(e,45,Di({patternType:"gray125"})),Ir(e,604)}(r),Wi(r),function(e){Ir(e,626,Qr(1)),Ir(e,47,Mi({numFmtId:0,fontId:0,fillId:0,borderId:0},65535)),Ir(e,627)}(r),function(e,t){Ir(e,617,Qr(t.length)),t.forEach((function(t){Ir(e,47,Mi(t,0))})),Ir(e,618)}(r,t.cellXfs),Ui(r),function(e){Ir(e,505,Qr(0)),Ir(e,506)}(r),Hi(r),Ir(r,279),r.end()}var Vi=["</a:lt1>","</a:dk1>","</a:lt2>","</a:dk2>","</a:accent1>","</a:accent2>","</a:accent3>","</a:accent4>","</a:accent5>","</a:accent6>","</a:hlink>","</a:folHlink>"];function qi(e,t,r){t.themeElements.clrScheme=[];var n={};(e[0].match(ht)||[]).forEach((function(e){var a=gt(e);switch(a[0]){case"<a:clrScheme":case"</a:clrScheme>":break;case"<a:srgbClr":n.rgb=a.val;break;case"<a:sysClr":n.rgb=a.lastClr;break;case"<a:dk1>":case"</a:dk1>":case"<a:lt1>":case"</a:lt1>":case"<a:dk2>":case"</a:dk2>":case"<a:lt2>":case"</a:lt2>":case"<a:accent1>":case"</a:accent1>":case"<a:accent2>":case"</a:accent2>":case"<a:accent3>":case"</a:accent3>":case"<a:accent4>":case"</a:accent4>":case"<a:accent5>":case"</a:accent5>":case"<a:accent6>":case"</a:accent6>":case"<a:hlink>":case"</a:hlink>":case"<a:folHlink>":case"</a:folHlink>":"/"===a[0].charAt(1)?(t.themeElements.clrScheme[Vi.indexOf(a[0])]=n,n={}):n.name=a[0].slice(3,a[0].length-1);break;default:if(r&&r.WTF)throw new Error("Unrecognized "+a[0]+" in clrScheme")}}))}function $i(){}function Gi(){}var Xi=/<a:clrScheme([^>]*)>[\s\S]*<\/a:clrScheme>/,Yi=/<a:fontScheme([^>]*)>[\s\S]*<\/a:fontScheme>/,Ki=/<a:fmtScheme([^>]*)>[\s\S]*<\/a:fmtScheme>/;var Ji=/<a:themeElements([^>]*)>[\s\S]*<\/a:themeElements>/;function Zi(e,t){var r;e&&0!==e.length||(e=Qi());var n={};if(!(r=e.match(Ji)))throw new Error("themeElements not found in theme");return function(e,t,r){var n;t.themeElements={},[["clrScheme",Xi,qi],["fontScheme",Yi,$i],["fmtScheme",Ki,Gi]].forEach((function(a){if(!(n=e.match(a[1])))throw new Error(a[0]+" not found in themeElements");a[2](n,t,r)}))}(r[0],n,t),n.raw=e,n}function Qi(e,t){if(t&&t.themeXLSX)return t.themeXLSX;if(e&&"string"==typeof e.raw)return e.raw;var r=[lt];return r[r.length]='<a:theme xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" name="Office Theme">',r[r.length]="<a:themeElements>",r[r.length]='<a:clrScheme name="Office">',r[r.length]='<a:dk1><a:sysClr val="windowText" lastClr="000000"/></a:dk1>',r[r.length]='<a:lt1><a:sysClr val="window" lastClr="FFFFFF"/></a:lt1>',r[r.length]='<a:dk2><a:srgbClr val="1F497D"/></a:dk2>',r[r.length]='<a:lt2><a:srgbClr val="EEECE1"/></a:lt2>',r[r.length]='<a:accent1><a:srgbClr val="4F81BD"/></a:accent1>',r[r.length]='<a:accent2><a:srgbClr val="C0504D"/></a:accent2>',r[r.length]='<a:accent3><a:srgbClr val="9BBB59"/></a:accent3>',r[r.length]='<a:accent4><a:srgbClr val="8064A2"/></a:accent4>',r[r.length]='<a:accent5><a:srgbClr val="4BACC6"/></a:accent5>',r[r.length]='<a:accent6><a:srgbClr val="F79646"/></a:accent6>',r[r.length]='<a:hlink><a:srgbClr val="0000FF"/></a:hlink>',r[r.length]='<a:folHlink><a:srgbClr val="800080"/></a:folHlink>',r[r.length]="</a:clrScheme>",r[r.length]='<a:fontScheme name="Office">',r[r.length]="<a:majorFont>",r[r.length]='<a:latin typeface="Cambria"/>',r[r.length]='<a:ea typeface=""/>',r[r.length]='<a:cs typeface=""/>',r[r.length]='<a:font script="Jpan" typeface="MS Pゴシック"/>',r[r.length]='<a:font script="Hang" typeface="맑은 고딕"/>',r[r.length]='<a:font script="Hans" typeface="宋体"/>',r[r.length]='<a:font script="Hant" typeface="新細明體"/>',r[r.length]='<a:font script="Arab" typeface="Times New Roman"/>',r[r.length]='<a:font script="Hebr" typeface="Times New Roman"/>',r[r.length]='<a:font script="Thai" typeface="Tahoma"/>',r[r.length]='<a:font script="Ethi" typeface="Nyala"/>',r[r.length]='<a:font script="Beng" typeface="Vrinda"/>',r[r.length]='<a:font script="Gujr" typeface="Shruti"/>',r[r.length]='<a:font script="Khmr" typeface="MoolBoran"/>',r[r.length]='<a:font script="Knda" typeface="Tunga"/>',r[r.length]='<a:font script="Guru" typeface="Raavi"/>',r[r.length]='<a:font script="Cans" typeface="Euphemia"/>',r[r.length]='<a:font script="Cher" typeface="Plantagenet Cherokee"/>',r[r.length]='<a:font script="Yiii" typeface="Microsoft Yi Baiti"/>',r[r.length]='<a:font script="Tibt" typeface="Microsoft Himalaya"/>',r[r.length]='<a:font script="Thaa" typeface="MV Boli"/>',r[r.length]='<a:font script="Deva" typeface="Mangal"/>',r[r.length]='<a:font script="Telu" typeface="Gautami"/>',r[r.length]='<a:font script="Taml" typeface="Latha"/>',r[r.length]='<a:font script="Syrc" typeface="Estrangelo Edessa"/>',r[r.length]='<a:font script="Orya" typeface="Kalinga"/>',r[r.length]='<a:font script="Mlym" typeface="Kartika"/>',r[r.length]='<a:font script="Laoo" typeface="DokChampa"/>',r[r.length]='<a:font script="Sinh" typeface="Iskoola Pota"/>',r[r.length]='<a:font script="Mong" typeface="Mongolian Baiti"/>',r[r.length]='<a:font script="Viet" typeface="Times New Roman"/>',r[r.length]='<a:font script="Uigh" typeface="Microsoft Uighur"/>',r[r.length]='<a:font script="Geor" typeface="Sylfaen"/>',r[r.length]="</a:majorFont>",r[r.length]="<a:minorFont>",r[r.length]='<a:latin typeface="Calibri"/>',r[r.length]='<a:ea typeface=""/>',r[r.length]='<a:cs typeface=""/>',r[r.length]='<a:font script="Jpan" typeface="MS Pゴシック"/>',r[r.length]='<a:font script="Hang" typeface="맑은 고딕"/>',r[r.length]='<a:font script="Hans" typeface="宋体"/>',r[r.length]='<a:font script="Hant" typeface="新細明體"/>',r[r.length]='<a:font script="Arab" typeface="Arial"/>',r[r.length]='<a:font script="Hebr" typeface="Arial"/>',r[r.length]='<a:font script="Thai" typeface="Tahoma"/>',r[r.length]='<a:font script="Ethi" typeface="Nyala"/>',r[r.length]='<a:font script="Beng" typeface="Vrinda"/>',r[r.length]='<a:font script="Gujr" typeface="Shruti"/>',r[r.length]='<a:font script="Khmr" typeface="DaunPenh"/>',r[r.length]='<a:font script="Knda" typeface="Tunga"/>',r[r.length]='<a:font script="Guru" typeface="Raavi"/>',r[r.length]='<a:font script="Cans" typeface="Euphemia"/>',r[r.length]='<a:font script="Cher" typeface="Plantagenet Cherokee"/>',r[r.length]='<a:font script="Yiii" typeface="Microsoft Yi Baiti"/>',r[r.length]='<a:font script="Tibt" typeface="Microsoft Himalaya"/>',r[r.length]='<a:font script="Thaa" typeface="MV Boli"/>',r[r.length]='<a:font script="Deva" typeface="Mangal"/>',r[r.length]='<a:font script="Telu" typeface="Gautami"/>',r[r.length]='<a:font script="Taml" typeface="Latha"/>',r[r.length]='<a:font script="Syrc" typeface="Estrangelo Edessa"/>',r[r.length]='<a:font script="Orya" typeface="Kalinga"/>',r[r.length]='<a:font script="Mlym" typeface="Kartika"/>',r[r.length]='<a:font script="Laoo" typeface="DokChampa"/>',r[r.length]='<a:font script="Sinh" typeface="Iskoola Pota"/>',r[r.length]='<a:font script="Mong" typeface="Mongolian Baiti"/>',r[r.length]='<a:font script="Viet" typeface="Arial"/>',r[r.length]='<a:font script="Uigh" typeface="Microsoft Uighur"/>',r[r.length]='<a:font script="Geor" typeface="Sylfaen"/>',r[r.length]="</a:minorFont>",r[r.length]="</a:fontScheme>",r[r.length]='<a:fmtScheme name="Office">',r[r.length]="<a:fillStyleLst>",r[r.length]='<a:solidFill><a:schemeClr val="phClr"/></a:solidFill>',r[r.length]='<a:gradFill rotWithShape="1">',r[r.length]="<a:gsLst>",r[r.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="50000"/><a:satMod val="300000"/></a:schemeClr></a:gs>',r[r.length]='<a:gs pos="35000"><a:schemeClr val="phClr"><a:tint val="37000"/><a:satMod val="300000"/></a:schemeClr></a:gs>',r[r.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:tint val="15000"/><a:satMod val="350000"/></a:schemeClr></a:gs>',r[r.length]="</a:gsLst>",r[r.length]='<a:lin ang="16200000" scaled="1"/>',r[r.length]="</a:gradFill>",r[r.length]='<a:gradFill rotWithShape="1">',r[r.length]="<a:gsLst>",r[r.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="100000"/><a:shade val="100000"/><a:satMod val="130000"/></a:schemeClr></a:gs>',r[r.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:tint val="50000"/><a:shade val="100000"/><a:satMod val="350000"/></a:schemeClr></a:gs>',r[r.length]="</a:gsLst>",r[r.length]='<a:lin ang="16200000" scaled="0"/>',r[r.length]="</a:gradFill>",r[r.length]="</a:fillStyleLst>",r[r.length]="<a:lnStyleLst>",r[r.length]='<a:ln w="9525" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"><a:shade val="95000"/><a:satMod val="105000"/></a:schemeClr></a:solidFill><a:prstDash val="solid"/></a:ln>',r[r.length]='<a:ln w="25400" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/></a:ln>',r[r.length]='<a:ln w="38100" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/></a:ln>',r[r.length]="</a:lnStyleLst>",r[r.length]="<a:effectStyleLst>",r[r.length]="<a:effectStyle>",r[r.length]="<a:effectLst>",r[r.length]='<a:outerShdw blurRad="40000" dist="20000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="38000"/></a:srgbClr></a:outerShdw>',r[r.length]="</a:effectLst>",r[r.length]="</a:effectStyle>",r[r.length]="<a:effectStyle>",r[r.length]="<a:effectLst>",r[r.length]='<a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="35000"/></a:srgbClr></a:outerShdw>',r[r.length]="</a:effectLst>",r[r.length]="</a:effectStyle>",r[r.length]="<a:effectStyle>",r[r.length]="<a:effectLst>",r[r.length]='<a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="35000"/></a:srgbClr></a:outerShdw>',r[r.length]="</a:effectLst>",r[r.length]='<a:scene3d><a:camera prst="orthographicFront"><a:rot lat="0" lon="0" rev="0"/></a:camera><a:lightRig rig="threePt" dir="t"><a:rot lat="0" lon="0" rev="1200000"/></a:lightRig></a:scene3d>',r[r.length]='<a:sp3d><a:bevelT w="63500" h="25400"/></a:sp3d>',r[r.length]="</a:effectStyle>",r[r.length]="</a:effectStyleLst>",r[r.length]="<a:bgFillStyleLst>",r[r.length]='<a:solidFill><a:schemeClr val="phClr"/></a:solidFill>',r[r.length]='<a:gradFill rotWithShape="1">',r[r.length]="<a:gsLst>",r[r.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="40000"/><a:satMod val="350000"/></a:schemeClr></a:gs>',r[r.length]='<a:gs pos="40000"><a:schemeClr val="phClr"><a:tint val="45000"/><a:shade val="99000"/><a:satMod val="350000"/></a:schemeClr></a:gs>',r[r.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:shade val="20000"/><a:satMod val="255000"/></a:schemeClr></a:gs>',r[r.length]="</a:gsLst>",r[r.length]='<a:path path="circle"><a:fillToRect l="50000" t="-80000" r="50000" b="180000"/></a:path>',r[r.length]="</a:gradFill>",r[r.length]='<a:gradFill rotWithShape="1">',r[r.length]="<a:gsLst>",r[r.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="80000"/><a:satMod val="300000"/></a:schemeClr></a:gs>',r[r.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:shade val="30000"/><a:satMod val="200000"/></a:schemeClr></a:gs>',r[r.length]="</a:gsLst>",r[r.length]='<a:path path="circle"><a:fillToRect l="50000" t="50000" r="50000" b="50000"/></a:path>',r[r.length]="</a:gradFill>",r[r.length]="</a:bgFillStyleLst>",r[r.length]="</a:fmtScheme>",r[r.length]="</a:themeElements>",r[r.length]="<a:objectDefaults>",r[r.length]="<a:spDef>",r[r.length]='<a:spPr/><a:bodyPr/><a:lstStyle/><a:style><a:lnRef idx="1"><a:schemeClr val="accent1"/></a:lnRef><a:fillRef idx="3"><a:schemeClr val="accent1"/></a:fillRef><a:effectRef idx="2"><a:schemeClr val="accent1"/></a:effectRef><a:fontRef idx="minor"><a:schemeClr val="lt1"/></a:fontRef></a:style>',r[r.length]="</a:spDef>",r[r.length]="<a:lnDef>",r[r.length]='<a:spPr/><a:bodyPr/><a:lstStyle/><a:style><a:lnRef idx="2"><a:schemeClr val="accent1"/></a:lnRef><a:fillRef idx="0"><a:schemeClr val="accent1"/></a:fillRef><a:effectRef idx="1"><a:schemeClr val="accent1"/></a:effectRef><a:fontRef idx="minor"><a:schemeClr val="tx1"/></a:fontRef></a:style>',r[r.length]="</a:lnDef>",r[r.length]="</a:objectDefaults>",r[r.length]="<a:extraClrSchemeLst/>",r[r.length]="</a:theme>",r.join("")}function es(e){var t={};switch(t.xclrType=e._R(2),t.nTintShade=e._R(2),t.xclrType){case 0:case 4:e.l+=4;break;case 1:t.xclrValue=function(e,t){return Or(e,t)}(e,4);break;case 2:t.xclrValue=Ga(e);break;case 3:t.xclrValue=function(e){return e._R(4)}(e)}return e.l+=8,t}function ts(e){var t=e._R(2),r=e._R(2)-4,n=[t];switch(t){case 4:case 5:case 7:case 8:case 9:case 10:case 11:case 13:n[1]=es(e);break;case 6:n[1]=function(e,t){return Or(e,t)}(e,r);break;case 14:case 15:n[1]=e._R(1===r?1:2);break;default:throw new Error("Unrecognized ExtProp type: "+t+" "+r)}return n}function rs(e,t){t.forEach((function(e){e[0]}))}function ns(){var e=Lr();return Ir(e,332),Ir(e,334,Qr(1)),Ir(e,335,function(e){var t=Rr(12+2*e.name.length);return t._W(4,e.flags),t._W(4,e.version),tn(e.name,t),t.slice(0,t.l)}({name:"XLDAPR",version:12e4,flags:3496657072})),Ir(e,336),Ir(e,339,function(e,t){var r=Rr(8+2*t.length);return r._W(4,e),tn(t,r),r.slice(0,r.l)}(1,"XLDAPR")),Ir(e,52),Ir(e,35,Qr(514)),Ir(e,4096,Qr(0)),Ir(e,4097,La(1)),Ir(e,36),Ir(e,53),Ir(e,340),Ir(e,337,function(e,t){var r=Rr(8);return r._W(4,e),r._W(4,t?1:0),r}(1,!0)),Ir(e,51,function(e){var t=Rr(4+8*e.length);t._W(4,e.length);for(var r=0;r<e.length;++r)t._W(4,e[r][0]),t._W(4,e[r][1]);return t}([[1,0]])),Ir(e,338),Ir(e,333),e.end()}function as(){var e=[lt];return e.push('<metadata xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" xmlns:xlrd="http://schemas.microsoft.com/office/spreadsheetml/2017/richdata" xmlns:xda="http://schemas.microsoft.com/office/spreadsheetml/2017/dynamicarray">\n <metadataTypes count="1">\n <metadataType name="XLDAPR" minSupportedVersion="120000" copy="1" pasteAll="1" pasteValues="1" merge="1" splitFirst="1" rowColShift="1" clearFormats="1" clearComments="1" assign="1" coerce="1" cellMeta="1"/>\n </metadataTypes>\n <futureMetadata name="XLDAPR" count="1">\n <bk>\n <extLst>\n <ext uri="{bdbb8cdc-fa1e-496e-a857-3c3f30c029c3}">\n <xda:dynamicArrayProperties fDynamic="1" fCollapsed="0"/>\n </ext>\n </extLst>\n </bk>\n </futureMetadata>\n <cellMetadata count="1">\n <bk>\n <rc t="1" v="0"/>\n </bk>\n </cellMetadata>\n</metadata>'),e.join("")}var os=1024;function is(e,t){for(var r=[21600,21600],n=["m0,0l0",r[1],r[0],r[1],r[0],"0xe"].join(","),a=[zt("xml",null,{"xmlns:v":Yt.v,"xmlns:o":Yt.o,"xmlns:x":Yt.x,"xmlns:mv":Yt.mv}).replace(/\/>/,">"),zt("o:shapelayout",zt("o:idmap",null,{"v:ext":"edit",data:e}),{"v:ext":"edit"}),zt("v:shapetype",[zt("v:stroke",null,{joinstyle:"miter"}),zt("v:path",null,{gradientshapeok:"t","o:connecttype":"rect"})].join(""),{id:"_x0000_t202","o:spt":202,coordsize:r.join(","),path:n})];os<1e3*e;)os+=1e3;return t.forEach((function(e){var t=zr(e[0]),r={color2:"#BEFF82",type:"gradient"};"gradient"==r.type&&(r.angle="-180");var n="gradient"==r.type?zt("o:fill",null,{type:"gradientUnscaled","v:ext":"view"}):null,o=zt("v:fill",n,r);++os,a=a.concat(["<v:shape"+Ht({id:"_x0000_s"+os,type:"#_x0000_t202",style:"position:absolute; margin-left:80pt;margin-top:5pt;width:104pt;height:64pt;z-index:10"+(e[1].hidden?";visibility:hidden":""),fillcolor:"#ECFAD4",strokecolor:"#edeaa1"})+">",o,zt("v:shadow",null,{on:"t",obscured:"t"}),zt("v:path",null,{"o:connecttype":"none"}),'<v:textbox><div style="text-align:left"></div></v:textbox>','<x:ClientData ObjectType="Note">',"<x:MoveWithCells/>","<x:SizeWithCells/>",Ut("x:Anchor",[t.c+1,0,t.r+1,0,t.c+3,20,t.r+5,20].join(",")),Ut("x:AutoFill","False"),Ut("x:Row",String(t.r)),Ut("x:Column",String(t.c)),e[1].hidden?"":"<x:Visible/>","</x:ClientData>","</v:shape>"])})),a.push("</xml>"),a.join("")}function ss(e,t,r,n){var a,o=Array.isArray(e);t.forEach((function(t){var i=zr(t.ref);if(o?(e[i.r]||(e[i.r]=[]),a=e[i.r][i.c]):a=e[t.ref],!a){a={t:"z"},o?e[i.r][i.c]=a:e[t.ref]=a;var s=Gr(e["!ref"]||"BDWGO1000001:A1");s.s.r>i.r&&(s.s.r=i.r),s.e.r<i.r&&(s.e.r=i.r),s.s.c>i.c&&(s.s.c=i.c),s.e.c<i.c&&(s.e.c=i.c);var c=$r(s);c!==e["!ref"]&&(e["!ref"]=c)}a.c||(a.c=[]);var l={a:t.author,t:t.t,r:t.r,T:r};t.h&&(l.h=t.h);for(var u=a.c.length-1;u>=0;--u){if(!r&&a.c[u].T)return;r&&!a.c[u].T&&a.c.splice(u,1)}if(r&&n)for(u=0;u<n.length;++u)if(l.a==n[u].id){l.a=n[u].name||l.a;break}a.c.push(l)}))}function cs(e){var t=[lt,zt("comments",null,{xmlns:Xt[0]})],r=[];return t.push("<authors>"),e.forEach((function(e){e[1].forEach((function(e){var n=xt(e.a);-1==r.indexOf(n)&&(r.push(n),t.push("<author>"+n+"</author>")),e.T&&e.ID&&-1==r.indexOf("tc="+e.ID)&&(r.push("tc="+e.ID),t.push("<author>tc="+e.ID+"</author>"))}))})),0==r.length&&(r.push("SheetJ5"),t.push("<author>SheetJ5</author>")),t.push("</authors>"),t.push("<commentList>"),e.forEach((function(e){var n=0,a=[];if(e[1][0]&&e[1][0].T&&e[1][0].ID?n=r.indexOf("tc="+e[1][0].ID):e[1].forEach((function(e){e.a&&(n=r.indexOf(xt(e.a))),a.push(e.t||"")})),t.push('<comment ref="'+e[0]+'" authorId="'+n+'"><text>'),a.length<=1)t.push(Ut("t",xt(a[0]||"")));else{for(var o="Comment:\n "+a[0]+"\n",i=1;i<a.length;++i)o+="Reply:\n "+a[i]+"\n";t.push(Ut("t",xt(o)))}t.push("</text></comment>")})),t.push("</commentList>"),t.length>2&&(t[t.length]="</comments>",t[1]=t[1].replace("/>",">")),t.join("")}function ls(e,t,r){var n=[lt,zt("ThreadedComments",null,{xmlns:Gt.TCMNT}).replace(/[\/]>/,">")];return e.forEach((function(e){var a="";(e[1]||[]).forEach((function(o,i){if(o.T){o.a&&-1==t.indexOf(o.a)&&t.push(o.a);var s={ref:e[0],id:"{54EE7951-7262-4200-6969-"+("000000000000"+r.tcid++).slice(-12)+"}"};0==i?a=s.id:s.parentId=a,o.ID=s.id,o.a&&(s.personId="{54EE7950-7262-4200-6969-"+("000000000000"+t.indexOf(o.a)).slice(-12)+"}"),n.push(zt("threadedComment",Ut("text",o.t||""),s))}else delete o.ID}))})),n.push("</ThreadedComments>"),n.join("")}var us=en;function fs(e){var t=Lr(),r=[];return Ir(t,628),Ir(t,630),e.forEach((function(e){e[1].forEach((function(e){r.indexOf(e.a)>-1||(r.push(e.a.slice(0,54)),Ir(t,632,function(e){return tn(e.slice(0,54))}(e.a)))}))})),Ir(t,631),Ir(t,633),e.forEach((function(e){e[1].forEach((function(n){n.iauthor=r.indexOf(n.a);var a={s:zr(e[0]),e:zr(e[0])};Ir(t,635,function(e,t){return null==t&&(t=Rr(36)),t._W(4,e[1].iauthor),xn(e[0],t),t._W(4,0),t._W(4,0),t._W(4,0),t._W(4,0),t}([a,n])),n.t&&n.t.length>0&&Ir(t,637,on(n)),Ir(t,636),delete n.iauthor}))})),Ir(t,634),Ir(t,629),t.end()}var hs="application/vnd.ms-office.vbaProject";var ds=["xlsb","xlsm","xlam","biff8","xla"];var ps=function(){var e=/(^|[^A-Za-z_])R(\[?-?\d+\]|[1-9]\d*|)C(\[?-?\d+\]|[1-9]\d*|)(?![A-Za-z0-9_])/g,t={r:0,c:0};function r(e,r,n,a){var o=!1,i=!1;0==n.length?i=!0:"["==n.charAt(0)&&(i=!0,n=n.slice(1,-1)),0==a.length?o=!0:"["==a.charAt(0)&&(o=!0,a=a.slice(1,-1));var s=n.length>0?0|parseInt(n,10):0,c=a.length>0?0|parseInt(a,10):0;return o?c+=t.c:--c,i?s+=t.r:--s,r+(o?"":"$")+Hr(c)+(i?"":"$")+Wr(s)}return function(n,a){return t=a,n.replace(e,r)}}(),gs=/(^|[^._A-Z0-9])([$]?)([A-Z]{1,2}|[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D])([$]?)(10[0-3]\d{4}|104[0-7]\d{3}|1048[0-4]\d{2}|10485[0-6]\d|104857[0-6]|[1-9]\d{0,5})(?![_.\(A-Za-z0-9])/g,ms=function(e,t){return e.replace(gs,(function(e,r,n,a,o,i){var s=Ur(a)-(n?0:t.c),c=Br(i)-(o?0:t.r);return r+"R"+(0==c?"":o?c+1:"["+c+"]")+"C"+(0==s?"":n?s+1:"["+s+"]")}))};function vs(e,t){return e.replace(gs,(function(e,r,n,a,o,i){return r+("$"==n?n+a:Hr(Ur(a)+t.c))+("$"==o?o+i:Wr(Br(i)+t.r))}))}function bs(e,t,r){var n=qr(t).s,a=zr(r);return vs(e,{r:a.r-n.r,c:a.c-n.c})}function ys(e){return e.replace(/_xlfn\./g,"")}function ws(e){e.l+=1}function Ss(e,t){var r=e._R(1==t?1:2);return[16383&r,r>>14&1,r>>15&1]}function xs(e,t,r){var n=2;if(r){if(r.biff>=2&&r.biff<=5)return As(e);12==r.biff&&(n=4)}var a=e._R(n),o=e._R(n),i=Ss(e,2),s=Ss(e,2);return{s:{r:a,c:i[0],cRel:i[1],rRel:i[2]},e:{r:o,c:s[0],cRel:s[1],rRel:s[2]}}}function As(e){var t=Ss(e,2),r=Ss(e,2),n=e._R(1),a=e._R(1);return{s:{r:t[0],c:n,cRel:t[1],rRel:t[2]},e:{r:r[0],c:a,cRel:r[1],rRel:r[2]}}}function ks(e,t,r){if(r&&r.biff>=2&&r.biff<=5)return function(e){var t=Ss(e,2),r=e._R(1);return{r:t[0],c:r,cRel:t[1],rRel:t[2]}}(e);var n=e._R(r&&12==r.biff?4:2),a=Ss(e,2);return{r:n,c:a[0],cRel:a[1],rRel:a[2]}}function Ts(e){var t=e._R(2),r=e._R(2);return{r:t,c:255&r,fQuoted:!!(16384&r),cRel:r>>15,rRel:r>>15}}function Es(e){var t=1&e[e.l+1];return e.l+=4,[t,1]}function _s(e){return[e._R(1),e._R(1)]}function Ns(e,t){var r=[e._R(1)];if(12==t)switch(r[0]){case 2:r[0]=4;break;case 4:r[0]=16;break;case 0:r[0]=1;break;case 1:r[0]=2}switch(r[0]){case 4:r[1]=Oa(e,1)?"TRUE":"FALSE",12!=t&&(e.l+=7);break;case 37:case 16:r[1]=Bn[e[e.l]],e.l+=12==t?4:8;break;case 0:e.l+=8;break;case 1:r[1]=An(e);break;case 2:r[1]=Ua(e,0,{biff:t>0&&t<8?2:t});break;default:throw new Error("Bad SerAr: "+r[0])}return r}function Cs(e,t,r){for(var n=e._R(12==r.biff?4:2),a=[],o=0;o!=n;++o)a.push((12==r.biff?Sn:Qa)(e,8));return a}function Os(e,t,r){var n=0,a=0;12==r.biff?(n=e._R(4),a=e._R(4)):(a=1+e._R(1),n=1+e._R(2)),r.biff>=2&&r.biff<8&&(--n,0==--a&&(a=256));for(var o=0,i=[];o!=n&&(i[o]=[]);++o)for(var s=0;s!=a;++s)i[o][s]=Ns(e,r.biff);return i}function Rs(e,t,r){return e.l+=2,[Ts(e)]}function Ps(e){return e.l+=6,[]}function Ls(e){return e.l+=2,[Pa(e),1&e._R(2)]}var Is=["Data","All","Headers","??","?Data2","??","?DataHeaders","??","Totals","??","??","??","?DataTotals","??","??","??","?Current"];var Fs={1:{n:"PtgExp",f:function(e,t,r){return e.l++,r&&12==r.biff?[e._R(4,"i"),0]:[e._R(2),e._R(r&&2==r.biff?1:2)]}},2:{n:"PtgTbl",f:Or},3:{n:"PtgAdd",f:ws},4:{n:"PtgSub",f:ws},5:{n:"PtgMul",f:ws},6:{n:"PtgDiv",f:ws},7:{n:"PtgPower",f:ws},8:{n:"PtgConcat",f:ws},9:{n:"PtgLt",f:ws},10:{n:"PtgLe",f:ws},11:{n:"PtgEq",f:ws},12:{n:"PtgGe",f:ws},13:{n:"PtgGt",f:ws},14:{n:"PtgNe",f:ws},15:{n:"PtgIsect",f:ws},16:{n:"PtgUnion",f:ws},17:{n:"PtgRange",f:ws},18:{n:"PtgUplus",f:ws},19:{n:"PtgUminus",f:ws},20:{n:"PtgPercent",f:ws},21:{n:"PtgParen",f:ws},22:{n:"PtgMissArg",f:ws},23:{n:"PtgStr",f:function(e,t,r){return e.l++,Da(e,0,r)}},26:{n:"PtgSheet",f:function(e,t,r){return e.l+=5,e.l+=2,e.l+=2==r.biff?1:4,["PTGSHEET"]}},27:{n:"PtgEndSheet",f:function(e,t,r){return e.l+=2==r.biff?4:5,["PTGENDSHEET"]}},28:{n:"PtgErr",f:function(e){return e.l++,Bn[e._R(1)]}},29:{n:"PtgBool",f:function(e){return e.l++,0!==e._R(1)}},30:{n:"PtgInt",f:function(e){return e.l++,e._R(2)}},31:{n:"PtgNum",f:function(e){return e.l++,An(e)}},32:{n:"PtgArray",f:function(e,t,r){var n=(96&e[e.l++])>>5;return e.l+=2==r.biff?6:12==r.biff?14:7,[n]}},33:{n:"PtgFunc",f:function(e,t,r){var n=(96&e[e.l])>>5;e.l+=1;var a=e._R(r&&r.biff<=3?1:2);return[nc[a],rc[a],n]}},34:{n:"PtgFuncVar",f:function(e,t,r){var n=e[e.l++],a=e._R(1),o=r&&r.biff<=3?[88==n?-1:0,e._R(1)]:function(e){return[e[e.l+1]>>7,32767&e._R(2)]}(e);return[a,(0===o[0]?rc:tc)[o[1]]]}},35:{n:"PtgName",f:function(e,t,r){var n=e._R(1)>>>5&3,a=!r||r.biff>=8?4:2,o=e._R(a);switch(r.biff){case 2:e.l+=5;break;case 3:case 4:e.l+=8;break;case 5:e.l+=12}return[n,0,o]}},36:{n:"PtgRef",f:function(e,t,r){var n=(96&e[e.l])>>5;return e.l+=1,[n,ks(e,0,r)]}},37:{n:"PtgArea",f:function(e,t,r){return[(96&e[e.l++])>>5,xs(e,r.biff>=2&&r.biff,r)]}},38:{n:"PtgMemArea",f:function(e,t,r){var n=e._R(1)>>>5&3;return e.l+=r&&2==r.biff?3:4,[n,e._R(r&&2==r.biff?1:2)]}},39:{n:"PtgMemErr",f:Or},40:{n:"PtgMemNoMem",f:Or},41:{n:"PtgMemFunc",f:function(e,t,r){return[e._R(1)>>>5&3,e._R(r&&2==r.biff?1:2)]}},42:{n:"PtgRefErr",f:function(e,t,r){var n=e._R(1)>>>5&3;return e.l+=4,r.biff<8&&e.l--,12==r.biff&&(e.l+=2),[n]}},43:{n:"PtgAreaErr",f:function(e,t,r){var n=(96&e[e.l++])>>5;return e.l+=r&&r.biff>8?12:r.biff<8?6:8,[n]}},44:{n:"PtgRefN",f:function(e,t,r){var n=(96&e[e.l])>>5;e.l+=1;var a=function(e,t,r){var n=r&&r.biff?r.biff:8;if(n>=2&&n<=5)return function(e){var t=e._R(2),r=e._R(1),n=(32768&t)>>15,a=(16384&t)>>14;return t&=16383,1==n&&t>=8192&&(t-=16384),1==a&&r>=128&&(r-=256),{r:t,c:r,cRel:a,rRel:n}}(e);var a=e._R(n>=12?4:2),o=e._R(2),i=(16384&o)>>14,s=(32768&o)>>15;if(o&=16383,1==s)for(;a>524287;)a-=1048576;if(1==i)for(;o>8191;)o-=16384;return{r:a,c:o,cRel:i,rRel:s}}(e,0,r);return[n,a]}},45:{n:"PtgAreaN",f:function(e,t,r){var n=(96&e[e.l++])>>5,a=function(e,t,r){if(r.biff<8)return As(e);var n=e._R(12==r.biff?4:2),a=e._R(12==r.biff?4:2),o=Ss(e,2),i=Ss(e,2);return{s:{r:n,c:o[0],cRel:o[1],rRel:o[2]},e:{r:a,c:i[0],cRel:i[1],rRel:i[2]}}}(e,0,r);return[n,a]}},46:{n:"PtgMemAreaN",f:function(e){return[e._R(1)>>>5&3,e._R(2)]}},47:{n:"PtgMemNoMemN",f:function(e){return[e._R(1)>>>5&3,e._R(2)]}},57:{n:"PtgNameX",f:function(e,t,r){return 5==r.biff?function(e){var t=e._R(1)>>>5&3,r=e._R(2,"i");e.l+=8;var n=e._R(2);return e.l+=12,[t,r,n]}(e):[e._R(1)>>>5&3,e._R(2),e._R(4)]}},58:{n:"PtgRef3d",f:function(e,t,r){var n=(96&e[e.l])>>5;e.l+=1;var a=e._R(2);return r&&5==r.biff&&(e.l+=12),[n,a,ks(e,0,r)]}},59:{n:"PtgArea3d",f:function(e,t,r){var n=(96&e[e.l++])>>5,a=e._R(2,"i");if(r)switch(r.biff){case 5:e.l+=12,6;break;case 12:12}return[n,a,xs(e,0,r)]}},60:{n:"PtgRefErr3d",f:function(e,t,r){var n=(96&e[e.l++])>>5,a=e._R(2),o=4;if(r)switch(r.biff){case 5:o=15;break;case 12:o=6}return e.l+=o,[n,a]}},61:{n:"PtgAreaErr3d",f:function(e,t,r){var n=(96&e[e.l++])>>5,a=e._R(2),o=8;if(r)switch(r.biff){case 5:e.l+=12,o=6;break;case 12:o=12}return e.l+=o,[n,a]}},255:{}},Ds={64:32,96:32,65:33,97:33,66:34,98:34,67:35,99:35,68:36,100:36,69:37,101:37,70:38,102:38,71:39,103:39,72:40,104:40,73:41,105:41,74:42,106:42,75:43,107:43,76:44,108:44,77:45,109:45,78:46,110:46,79:47,111:47,88:34,120:34,89:57,121:57,90:58,122:58,91:59,123:59,92:60,124:60,93:61,125:61},Ms={1:{n:"PtgElfLel",f:Ls},2:{n:"PtgElfRw",f:Rs},3:{n:"PtgElfCol",f:Rs},6:{n:"PtgElfRwV",f:Rs},7:{n:"PtgElfColV",f:Rs},10:{n:"PtgElfRadical",f:Rs},11:{n:"PtgElfRadicalS",f:Ps},13:{n:"PtgElfColS",f:Ps},15:{n:"PtgElfColSV",f:Ps},16:{n:"PtgElfRadicalLel",f:Ls},25:{n:"PtgList",f:function(e){e.l+=2;var t=e._R(2),r=e._R(2),n=e._R(4),a=e._R(2),o=e._R(2);return{ixti:t,coltype:3&r,rt:Is[r>>2&31],idx:n,c:a,C:o}}},29:{n:"PtgSxName",f:function(e){return e.l+=2,[e._R(4)]}},255:{}},js={0:{n:"PtgAttrNoop",f:function(e){return e.l+=4,[0,0]}},1:{n:"PtgAttrSemi",f:function(e,t,r){var n=255&e[e.l+1]?1:0;return e.l+=r&&2==r.biff?3:4,[n]}},2:{n:"PtgAttrIf",f:function(e,t,r){var n=255&e[e.l+1]?1:0;return e.l+=2,[n,e._R(r&&2==r.biff?1:2)]}},4:{n:"PtgAttrChoose",f:function(e,t,r){e.l+=2;for(var n=e._R(r&&2==r.biff?1:2),a=[],o=0;o<=n;++o)a.push(e._R(r&&2==r.biff?1:2));return a}},8:{n:"PtgAttrGoto",f:function(e,t,r){var n=255&e[e.l+1]?1:0;return e.l+=2,[n,e._R(r&&2==r.biff?1:2)]}},16:{n:"PtgAttrSum",f:function(e,t,r){e.l+=r&&2==r.biff?3:4}},32:{n:"PtgAttrBaxcel",f:Es},33:{n:"PtgAttrBaxcel",f:Es},64:{n:"PtgAttrSpace",f:function(e){return e._R(2),_s(e)}},65:{n:"PtgAttrSpaceSemi",f:function(e){return e._R(2),_s(e)}},128:{n:"PtgAttrIfError",f:function(e){var t=255&e[e.l+1]?1:0;return e.l+=2,[t,e._R(2)]}},255:{}};function Bs(e,t,r,n){if(n.biff<8)return Or(e,t);for(var a=e.l+t,o=[],i=0;i!==r.length;++i)switch(r[i][0]){case"PtgArray":r[i][1]=Os(e,0,n),o.push(r[i][1]);break;case"PtgMemArea":r[i][2]=Cs(e,r[i][1],n),o.push(r[i][2]);break;case"PtgExp":n&&12==n.biff&&(r[i][1][1]=e._R(4),o.push(r[i][1]));break;case"PtgList":case"PtgElfRadicalS":case"PtgElfColS":case"PtgElfColSV":throw"Unsupported "+r[i][0]}return 0!==(t=a-e.l)&&o.push(Or(e,t)),o}function Ws(e,t,r){for(var n,a,o=e.l+t,i=[];o!=e.l;)t=o-e.l,a=e[e.l],n=Fs[a]||Fs[Ds[a]],24!==a&&25!==a||(n=(24===a?Ms:js)[e[e.l+1]]),n&&n.f?i.push([n.n,n.f(e,t,r)]):Or(e,t);return i}function Us(e){for(var t=[],r=0;r<e.length;++r){for(var n=e[r],a=[],o=0;o<n.length;++o){var i=n[o];if(i)if(2===i[0])a.push('"'+i[1].replace(/"/g,'""')+'"');else a.push(i[1]);else a.push("")}t.push(a.join(","))}return t.join(";")}var Hs={PtgAdd:"+",PtgConcat:"&",PtgDiv:"/",PtgEq:"=",PtgGe:">=",PtgGt:">",PtgLe:"<=",PtgLt:"<",PtgMul:"*",PtgNe:"<>",PtgPower:"^",PtgSub:"-"};function zs(e,t,r){if(!e)return"SH33TJSERR0";if(r.biff>8&&(!e.XTI||!e.XTI[t]))return e.SheetNames[t];if(!e.XTI)return"SH33TJSERR6";var n=e.XTI[t];if(r.biff<8)return t>1e4&&(t-=65536),t<0&&(t=-t),0==t?"":e.XTI[t-1];if(!n)return"SH33TJSERR1";var a="";if(r.biff>8)switch(e[n[0]][0]){case 357:return a=-1==n[1]?"#REF":e.SheetNames[n[1]],n[1]==n[2]?a:a+":"+e.SheetNames[n[2]];case 358:return null!=r.SID?e.SheetNames[r.SID]:"SH33TJSSAME"+e[n[0]][0];default:return"SH33TJSSRC"+e[n[0]][0]}switch(e[n[0]][0][0]){case 1025:return a=-1==n[1]?"#REF":e.SheetNames[n[1]]||"SH33TJSERR3",n[1]==n[2]?a:a+":"+e.SheetNames[n[2]];case 14849:return e[n[0]].slice(1).map((function(e){return e.Name})).join(";;");default:return e[n[0]][0][3]?(a=-1==n[1]?"#REF":e[n[0]][0][3][n[1]]||"SH33TJSERR4",n[1]==n[2]?a:a+":"+e[n[0]][0][3][n[2]]):"SH33TJSERR2"}}function Vs(e,t,r){var n=zs(e,t,r);return"#REF"==n?n:function(e,t){if(!(e||t&&t.biff<=5&&t.biff>=2))throw new Error("empty sheet name");return/[^\w\u4E00-\u9FFF\u3040-\u30FF]/.test(e)?"'"+e+"'":e}(n,r)}function qs(e,t,r,n,a){var o,i,s,c,l=a&&a.biff||8,u={s:{c:0,r:0},e:{c:0,r:0}},f=[],h=0,d=0,p="";if(!e[0]||!e[0][0])return"";for(var g=-1,m="",v=0,b=e[0].length;v<b;++v){var y=e[0][v];switch(y[0]){case"PtgUminus":f.push("-"+f.pop());break;case"PtgUplus":f.push("+"+f.pop());break;case"PtgPercent":f.push(f.pop()+"%");break;case"PtgAdd":case"PtgConcat":case"PtgDiv":case"PtgEq":case"PtgGe":case"PtgGt":case"PtgLe":case"PtgLt":case"PtgMul":case"PtgNe":case"PtgPower":case"PtgSub":if(o=f.pop(),i=f.pop(),g>=0){switch(e[0][g][1][0]){case 0:m=$e(" ",e[0][g][1][1]);break;case 1:m=$e("\r",e[0][g][1][1]);break;default:if(m="",a.WTF)throw new Error("Unexpected PtgAttrSpaceType "+e[0][g][1][0])}i+=m,g=-1}f.push(i+Hs[y[0]]+o);break;case"PtgIsect":o=f.pop(),i=f.pop(),f.push(i+" "+o);break;case"PtgUnion":o=f.pop(),i=f.pop(),f.push(i+","+o);break;case"PtgRange":o=f.pop(),i=f.pop(),f.push(i+":"+o);break;case"PtgAttrChoose":case"PtgAttrGoto":case"PtgAttrIf":case"PtgAttrIfError":case"PtgAttrBaxcel":case"PtgAttrSemi":case"PtgMemArea":case"PtgTbl":case"PtgMemErr":case"PtgMemAreaN":case"PtgMemNoMemN":case"PtgAttrNoop":case"PtgSheet":case"PtgEndSheet":case"PtgMemFunc":case"PtgMemNoMem":break;case"PtgRef":s=Fr(y[1][1],u,a),f.push(Mr(s,l));break;case"PtgRefN":s=r?Fr(y[1][1],r,a):y[1][1],f.push(Mr(s,l));break;case"PtgRef3d":h=y[1][1],s=Fr(y[1][2],u,a);p=Vs(n,h,a);f.push(p+"!"+Mr(s,l));break;case"PtgFunc":case"PtgFuncVar":var w=y[1][0],S=y[1][1];w||(w=0);var x=0==(w&=127)?[]:f.slice(-w);f.length-=w,"User"===S&&(S=x.shift()),f.push(S+"("+x.join(",")+")");break;case"PtgBool":f.push(y[1]?"TRUE":"FALSE");break;case"PtgInt":case"PtgErr":f.push(y[1]);break;case"PtgNum":f.push(String(y[1]));break;case"PtgStr":f.push('"'+y[1].replace(/"/g,'""')+'"');break;case"PtgAreaN":c=Dr(y[1][1],r?{s:r}:u,a),f.push(jr(c,a));break;case"PtgArea":c=Dr(y[1][1],u,a),f.push(jr(c,a));break;case"PtgArea3d":h=y[1][1],c=y[1][2],p=Vs(n,h,a),f.push(p+"!"+jr(c,a));break;case"PtgAttrSum":f.push("SUM("+f.pop()+")");break;case"PtgName":d=y[1][2];var A=(n.names||[])[d-1]||(n[0]||[])[d],k=A?A.Name:"SH33TJSNAME"+String(d);k&&"_xlfn."==k.slice(0,6)&&!a.xlfn&&(k=k.slice(6)),f.push(k);break;case"PtgNameX":var T,E=y[1][1];if(d=y[1][2],!(a.biff<=5)){var _="";if(14849==((n[E]||[])[0]||[])[0]||(1025==((n[E]||[])[0]||[])[0]?n[E][d]&&n[E][d].itab>0&&(_=n.SheetNames[n[E][d].itab-1]+"!"):_=n.SheetNames[d-1]+"!"),n[E]&&n[E][d])_+=n[E][d].Name;else if(n[0]&&n[0][d])_+=n[0][d].Name;else{var N=(zs(n,E,a)||"").split(";;");N[d-1]?_=N[d-1]:_+="SH33TJSERRX"}f.push(_);break}E<0&&(E=-E),n[E]&&(T=n[E][d]),T||(T={Name:"SH33TJSERRY"}),f.push(T.Name);break;case"PtgParen":var C="(",O=")";if(g>=0){switch(m="",e[0][g][1][0]){case 2:C=$e(" ",e[0][g][1][1])+C;break;case 3:C=$e("\r",e[0][g][1][1])+C;break;case 4:O=$e(" ",e[0][g][1][1])+O;break;case 5:O=$e("\r",e[0][g][1][1])+O;break;default:if(a.WTF)throw new Error("Unexpected PtgAttrSpaceType "+e[0][g][1][0])}g=-1}f.push(C+f.pop()+O);break;case"PtgRefErr":case"PtgRefErr3d":case"PtgAreaErr":case"PtgAreaErr3d":f.push("#REF!");break;case"PtgExp":s={c:y[1][1],r:y[1][0]};var R={c:r.c,r:r.r};if(n.sharedf[Vr(s)]){var P=n.sharedf[Vr(s)];f.push(qs(P,u,R,n,a))}else{var L=!1;for(o=0;o!=n.arrayf.length;++o)if(i=n.arrayf[o],!(s.c<i[0].s.c||s.c>i[0].e.c||s.r<i[0].s.r||s.r>i[0].e.r)){f.push(qs(i[1],u,R,n,a)),L=!0;break}L||f.push(y[1])}break;case"PtgArray":f.push("{"+Us(y[1])+"}");break;case"PtgAttrSpace":case"PtgAttrSpaceSemi":g=v;break;case"PtgMissArg":f.push("");break;case"PtgList":f.push("Table"+y[1].idx+"[#"+y[1].rt+"]");break;case"PtgElfCol":case"PtgElfColS":case"PtgElfColSV":case"PtgElfColV":case"PtgElfLel":case"PtgElfRadical":case"PtgElfRadicalLel":case"PtgElfRadicalS":case"PtgElfRw":case"PtgElfRwV":throw new Error("Unsupported ELFs");default:throw new Error("Unrecognized Formula Token: "+String(y))}if(3!=a.biff&&g>=0&&-1==["PtgAttrSpace","PtgAttrSpaceSemi","PtgAttrGoto"].indexOf(e[0][v][0])){var I=!0;switch((y=e[0][g])[1][0]){case 4:I=!1;case 0:m=$e(" ",y[1][1]);break;case 5:I=!1;case 1:m=$e("\r",y[1][1]);break;default:if(m="",a.WTF)throw new Error("Unexpected PtgAttrSpaceType "+y[1][0])}f.push((I?m:"")+f.pop()+(I?"":m)),g=-1}}if(f.length>1&&a.WTF)throw new Error("bad formula stack");return f[0]}function $s(e,t,r){var n,a=e.l+t,o=2==r.biff?1:2,i=e._R(o);if(65535==i)return[[],Or(e,t-2)];var s=Ws(e,i,r);return t!==i+o&&(n=Bs(e,t-i-o,s,r)),e.l=a,[s,n]}function Gs(e,t,r){var n,a=e.l+t,o=e._R(2),i=Ws(e,o,r);return 65535==o?[[],Or(e,t-2)]:(t!==o+2&&(n=Bs(e,a-o-2,i,r)),[i,n])}function Xs(e,t,r){var n=e.l+t,a=Ya(e);2==r.biff&&++e.l;var o=function(e){var t;if(65535!==br(e,e.l+6))return[An(e),"n"];switch(e[e.l]){case 0:return e.l+=8,["String","s"];case 1:return t=1===e[e.l+2],e.l+=8,[t,"b"];case 2:return t=e[e.l+2],e.l+=8,[t,"e"];case 3:return e.l+=8,["","s"]}return[]}(e),i=e._R(1);2!=r.biff&&(e._R(1),r.biff>=5&&e._R(4));var s=function(e,t,r){var n,a=e.l+t,o=2==r.biff?1:2,i=e._R(o);if(65535==i)return[[],Or(e,t-2)];var s=Ws(e,i,r);return t!==i+o&&(n=Bs(e,t-i-o,s,r)),e.l=a,[s,n]}(e,n-e.l,r);return{cell:a,val:o[0],formula:s,shared:i>>3&1,tt:o[1]}}function Ys(e,t,r,n,a){var o=Ka(t,r,a),i=function(e){if(null==e){var t=Rr(8);return t._W(1,3),t._W(1,0),t._W(2,0),t._W(2,0),t._W(2,65535),t}return kn("number"==typeof e?e:0)}(e.v),s=Rr(6);s._W(2,33),s._W(4,0);for(var c=Rr(e.bf.length),l=0;l<e.bf.length;++l)c[l]=e.bf[l];return E([o,i,s,c])}function Ks(e,t,r){var n=e._R(4),a=Ws(e,n,r),o=e._R(4);return[a,o>0?Bs(e,o,a,r):null]}var Js=Ks,Zs=Ks,Qs=Ks,ec=Ks,tc={0:"BEEP",1:"OPEN",2:"OPEN.LINKS",3:"CLOSE.ALL",4:"SAVE",5:"SAVE.AS",6:"FILE.DELETE",7:"PAGE.SETUP",8:"PRINT",9:"PRINTER.SETUP",10:"QUIT",11:"NEW.WINDOW",12:"ARRANGE.ALL",13:"WINDOW.SIZE",14:"WINDOW.MOVE",15:"FULL",16:"CLOSE",17:"RUN",22:"SET.PRINT.AREA",23:"SET.PRINT.TITLES",24:"SET.PAGE.BREAK",25:"REMOVE.PAGE.BREAK",26:"FONT",27:"DISPLAY",28:"PROTECT.DOCUMENT",29:"PRECISION",30:"A1.R1C1",31:"CALCULATE.NOW",32:"CALCULATION",34:"DATA.FIND",35:"EXTRACT",36:"DATA.DELETE",37:"SET.DATABASE",38:"SET.CRITERIA",39:"SORT",40:"DATA.SERIES",41:"TABLE",42:"FORMAT.NUMBER",43:"ALIGNMENT",44:"STYLE",45:"BORDER",46:"CELL.PROTECTION",47:"COLUMN.WIDTH",48:"UNDO",49:"CUT",50:"COPY",51:"PASTE",52:"CLEAR",53:"PASTE.SPECIAL",54:"EDIT.DELETE",55:"INSERT",56:"FILL.RIGHT",57:"FILL.DOWN",61:"DEFINE.NAME",62:"CREATE.NAMES",63:"FORMULA.GOTO",64:"FORMULA.FIND",65:"SELECT.LAST.CELL",66:"SHOW.ACTIVE.CELL",67:"GALLERY.AREA",68:"GALLERY.BAR",69:"GALLERY.COLUMN",70:"GALLERY.LINE",71:"GALLERY.PIE",72:"GALLERY.SCATTER",73:"COMBINATION",74:"PREFERRED",75:"ADD.OVERLAY",76:"GRIDLINES",77:"SET.PREFERRED",78:"AXES",79:"LEGEND",80:"ATTACH.TEXT",81:"ADD.ARROW",82:"SELECT.CHART",83:"SELECT.PLOT.AREA",84:"PATTERNS",85:"MAIN.CHART",86:"OVERLAY",87:"SCALE",88:"FORMAT.LEGEND",89:"FORMAT.TEXT",90:"EDIT.REPEAT",91:"PARSE",92:"JUSTIFY",93:"HIDE",94:"UNHIDE",95:"WORKSPACE",96:"FORMULA",97:"FORMULA.FILL",98:"FORMULA.ARRAY",99:"DATA.FIND.NEXT",100:"DATA.FIND.PREV",101:"FORMULA.FIND.NEXT",102:"FORMULA.FIND.PREV",103:"ACTIVATE",104:"ACTIVATE.NEXT",105:"ACTIVATE.PREV",106:"UNLOCKED.NEXT",107:"UNLOCKED.PREV",108:"COPY.PICTURE",109:"SELECT",110:"DELETE.NAME",111:"DELETE.FORMAT",112:"VLINE",113:"HLINE",114:"VPAGE",115:"HPAGE",116:"VSCROLL",117:"HSCROLL",118:"ALERT",119:"NEW",120:"CANCEL.COPY",121:"SHOW.CLIPBOARD",122:"MESSAGE",124:"PASTE.LINK",125:"APP.ACTIVATE",126:"DELETE.ARROW",127:"ROW.HEIGHT",128:"FORMAT.MOVE",129:"FORMAT.SIZE",130:"FORMULA.REPLACE",131:"SEND.KEYS",132:"SELECT.SPECIAL",133:"APPLY.NAMES",134:"REPLACE.FONT",135:"FREEZE.PANES",136:"SHOW.INFO",137:"SPLIT",138:"ON.WINDOW",139:"ON.DATA",140:"DISABLE.INPUT",142:"OUTLINE",143:"LIST.NAMES",144:"FILE.CLOSE",145:"SAVE.WORKBOOK",146:"DATA.FORM",147:"COPY.CHART",148:"ON.TIME",149:"WAIT",150:"FORMAT.FONT",151:"FILL.UP",152:"FILL.LEFT",153:"DELETE.OVERLAY",155:"SHORT.MENUS",159:"SET.UPDATE.STATUS",161:"COLOR.PALETTE",162:"DELETE.STYLE",163:"WINDOW.RESTORE",164:"WINDOW.MAXIMIZE",166:"CHANGE.LINK",167:"CALCULATE.DOCUMENT",168:"ON.KEY",169:"APP.RESTORE",170:"APP.MOVE",171:"APP.SIZE",172:"APP.MINIMIZE",173:"APP.MAXIMIZE",174:"BRING.TO.FRONT",175:"SEND.TO.BACK",185:"MAIN.CHART.TYPE",186:"OVERLAY.CHART.TYPE",187:"SELECT.END",188:"OPEN.MAIL",189:"SEND.MAIL",190:"STANDARD.FONT",191:"CONSOLIDATE",192:"SORT.SPECIAL",193:"GALLERY.3D.AREA",194:"GALLERY.3D.COLUMN",195:"GALLERY.3D.LINE",196:"GALLERY.3D.PIE",197:"VIEW.3D",198:"GOAL.SEEK",199:"WORKGROUP",200:"FILL.GROUP",201:"UPDATE.LINK",202:"PROMOTE",203:"DEMOTE",204:"SHOW.DETAIL",206:"UNGROUP",207:"OBJECT.PROPERTIES",208:"SAVE.NEW.OBJECT",209:"SHARE",210:"SHARE.NAME",211:"DUPLICATE",212:"APPLY.STYLE",213:"ASSIGN.TO.OBJECT",214:"OBJECT.PROTECTION",215:"HIDE.OBJECT",216:"SET.EXTRACT",217:"CREATE.PUBLISHER",218:"SUBSCRIBE.TO",219:"ATTRIBUTES",220:"SHOW.TOOLBAR",222:"PRINT.PREVIEW",223:"EDIT.COLOR",224:"SHOW.LEVELS",225:"FORMAT.MAIN",226:"FORMAT.OVERLAY",227:"ON.RECALC",228:"EDIT.SERIES",229:"DEFINE.STYLE",240:"LINE.PRINT",243:"ENTER.DATA",249:"GALLERY.RADAR",250:"MERGE.STYLES",251:"EDITION.OPTIONS",252:"PASTE.PICTURE",253:"PASTE.PICTURE.LINK",254:"SPELLING",256:"ZOOM",259:"INSERT.OBJECT",260:"WINDOW.MINIMIZE",265:"SOUND.NOTE",266:"SOUND.PLAY",267:"FORMAT.SHAPE",268:"EXTEND.POLYGON",269:"FORMAT.AUTO",272:"GALLERY.3D.BAR",273:"GALLERY.3D.SURFACE",274:"FILL.AUTO",276:"CUSTOMIZE.TOOLBAR",277:"ADD.TOOL",278:"EDIT.OBJECT",279:"ON.DOUBLECLICK",280:"ON.ENTRY",281:"WORKBOOK.ADD",282:"WORKBOOK.MOVE",283:"WORKBOOK.COPY",284:"WORKBOOK.OPTIONS",285:"SAVE.WORKSPACE",288:"CHART.WIZARD",289:"DELETE.TOOL",290:"MOVE.TOOL",291:"WORKBOOK.SELECT",292:"WORKBOOK.ACTIVATE",293:"ASSIGN.TO.TOOL",295:"COPY.TOOL",296:"RESET.TOOL",297:"CONSTRAIN.NUMERIC",298:"PASTE.TOOL",302:"WORKBOOK.NEW",305:"SCENARIO.CELLS",306:"SCENARIO.DELETE",307:"SCENARIO.ADD",308:"SCENARIO.EDIT",309:"SCENARIO.SHOW",310:"SCENARIO.SHOW.NEXT",311:"SCENARIO.SUMMARY",312:"PIVOT.TABLE.WIZARD",313:"PIVOT.FIELD.PROPERTIES",314:"PIVOT.FIELD",315:"PIVOT.ITEM",316:"PIVOT.ADD.FIELDS",318:"OPTIONS.CALCULATION",319:"OPTIONS.EDIT",320:"OPTIONS.VIEW",321:"ADDIN.MANAGER",322:"MENU.EDITOR",323:"ATTACH.TOOLBARS",324:"VBAActivate",325:"OPTIONS.CHART",328:"VBA.INSERT.FILE",330:"VBA.PROCEDURE.DEFINITION",336:"ROUTING.SLIP",338:"ROUTE.DOCUMENT",339:"MAIL.LOGON",342:"INSERT.PICTURE",343:"EDIT.TOOL",344:"GALLERY.DOUGHNUT",350:"CHART.TREND",352:"PIVOT.ITEM.PROPERTIES",354:"WORKBOOK.INSERT",355:"OPTIONS.TRANSITION",356:"OPTIONS.GENERAL",370:"FILTER.ADVANCED",373:"MAIL.ADD.MAILER",374:"MAIL.DELETE.MAILER",375:"MAIL.REPLY",376:"MAIL.REPLY.ALL",377:"MAIL.FORWARD",378:"MAIL.NEXT.LETTER",379:"DATA.LABEL",380:"INSERT.TITLE",381:"FONT.PROPERTIES",382:"MACRO.OPTIONS",383:"WORKBOOK.HIDE",384:"WORKBOOK.UNHIDE",385:"WORKBOOK.DELETE",386:"WORKBOOK.NAME",388:"GALLERY.CUSTOM",390:"ADD.CHART.AUTOFORMAT",391:"DELETE.CHART.AUTOFORMAT",392:"CHART.ADD.DATA",393:"AUTO.OUTLINE",394:"TAB.ORDER",395:"SHOW.DIALOG",396:"SELECT.ALL",397:"UNGROUP.SHEETS",398:"SUBTOTAL.CREATE",399:"SUBTOTAL.REMOVE",400:"RENAME.OBJECT",412:"WORKBOOK.SCROLL",413:"WORKBOOK.NEXT",414:"WORKBOOK.PREV",415:"WORKBOOK.TAB.SPLIT",416:"FULL.SCREEN",417:"WORKBOOK.PROTECT",420:"SCROLLBAR.PROPERTIES",421:"PIVOT.SHOW.PAGES",422:"TEXT.TO.COLUMNS",423:"FORMAT.CHARTTYPE",424:"LINK.FORMAT",425:"TRACER.DISPLAY",430:"TRACER.NAVIGATE",431:"TRACER.CLEAR",432:"TRACER.ERROR",433:"PIVOT.FIELD.GROUP",434:"PIVOT.FIELD.UNGROUP",435:"CHECKBOX.PROPERTIES",436:"LABEL.PROPERTIES",437:"LISTBOX.PROPERTIES",438:"EDITBOX.PROPERTIES",439:"PIVOT.REFRESH",440:"LINK.COMBO",441:"OPEN.TEXT",442:"HIDE.DIALOG",443:"SET.DIALOG.FOCUS",444:"ENABLE.OBJECT",445:"PUSHBUTTON.PROPERTIES",446:"SET.DIALOG.DEFAULT",447:"FILTER",448:"FILTER.SHOW.ALL",449:"CLEAR.OUTLINE",450:"FUNCTION.WIZARD",451:"ADD.LIST.ITEM",452:"SET.LIST.ITEM",453:"REMOVE.LIST.ITEM",454:"SELECT.LIST.ITEM",455:"SET.CONTROL.VALUE",456:"SAVE.COPY.AS",458:"OPTIONS.LISTS.ADD",459:"OPTIONS.LISTS.DELETE",460:"SERIES.AXES",461:"SERIES.X",462:"SERIES.Y",463:"ERRORBAR.X",464:"ERRORBAR.Y",465:"FORMAT.CHART",466:"SERIES.ORDER",467:"MAIL.LOGOFF",468:"CLEAR.ROUTING.SLIP",469:"APP.ACTIVATE.MICROSOFT",470:"MAIL.EDIT.MAILER",471:"ON.SHEET",472:"STANDARD.WIDTH",473:"SCENARIO.MERGE",474:"SUMMARY.INFO",475:"FIND.FILE",476:"ACTIVE.CELL.FONT",477:"ENABLE.TIPWIZARD",478:"VBA.MAKE.ADDIN",480:"INSERTDATATABLE",481:"WORKGROUP.OPTIONS",482:"MAIL.SEND.MAILER",485:"AUTOCORRECT",489:"POST.DOCUMENT",491:"PICKLIST",493:"VIEW.SHOW",494:"VIEW.DEFINE",495:"VIEW.DELETE",509:"SHEET.BACKGROUND",510:"INSERT.MAP.OBJECT",511:"OPTIONS.MENONO",517:"MSOCHECKS",518:"NORMAL",519:"LAYOUT",520:"RM.PRINT.AREA",521:"CLEAR.PRINT.AREA",522:"ADD.PRINT.AREA",523:"MOVE.BRK",545:"HIDECURR.NOTE",546:"HIDEALL.NOTES",547:"DELETE.NOTE",548:"TRAVERSE.NOTES",549:"ACTIVATE.NOTES",620:"PROTECT.REVISIONS",621:"UNPROTECT.REVISIONS",647:"OPTIONS.ME",653:"WEB.PUBLISH",667:"NEWWEBQUERY",673:"PIVOT.TABLE.CHART",753:"OPTIONS.SAVE",755:"OPTIONS.SPELL",808:"HIDEALL.INKANNOTS"},rc={0:"COUNT",1:"IF",2:"ISNA",3:"ISERROR",4:"SUM",5:"AVERAGE",6:"MIN",7:"MAX",8:"ROW",9:"COLUMN",10:"NA",11:"NPV",12:"STDEV",13:"DOLLAR",14:"FIXED",15:"SIN",16:"COS",17:"TAN",18:"ATAN",19:"PI",20:"SQRT",21:"EXP",22:"LN",23:"LOG10",24:"ABS",25:"INT",26:"SIGN",27:"ROUND",28:"LOOKUP",29:"INDEX",30:"REPT",31:"MID",32:"LEN",33:"VALUE",34:"TRUE",35:"FALSE",36:"AND",37:"OR",38:"NOT",39:"MOD",40:"DCOUNT",41:"DSUM",42:"DAVERAGE",43:"DMIN",44:"DMAX",45:"DSTDEV",46:"VAR",47:"DVAR",48:"TEXT",49:"LINEST",50:"TREND",51:"LOGEST",52:"GROWTH",53:"GOTO",54:"HALT",55:"RETURN",56:"PV",57:"FV",58:"NPER",59:"PMT",60:"RATE",61:"MIRR",62:"IRR",63:"RAND",64:"MATCH",65:"DATE",66:"TIME",67:"DAY",68:"MONTH",69:"YEAR",70:"WEEKDAY",71:"HOUR",72:"MINUTE",73:"SECOND",74:"NOW",75:"AREAS",76:"ROWS",77:"COLUMNS",78:"OFFSET",79:"ABSREF",80:"RELREF",81:"ARGUMENT",82:"SEARCH",83:"TRANSPOSE",84:"ERROR",85:"STEP",86:"TYPE",87:"ECHO",88:"SET.NAME",89:"CALLER",90:"DEREF",91:"WINDOWS",92:"SERIES",93:"DOCUMENTS",94:"ACTIVE.CELL",95:"SELECTION",96:"RESULT",97:"ATAN2",98:"ASIN",99:"ACOS",100:"CHOOSE",101:"HLOOKUP",102:"VLOOKUP",103:"LINKS",104:"INPUT",105:"ISREF",106:"GET.FORMULA",107:"GET.NAME",108:"SET.VALUE",109:"LOG",110:"EXEC",111:"CHAR",112:"LOWER",113:"UPPER",114:"PROPER",115:"LEFT",116:"RIGHT",117:"EXACT",118:"TRIM",119:"REPLACE",120:"SUBSTITUTE",121:"CODE",122:"NAMES",123:"DIRECTORY",124:"FIND",125:"CELL",126:"ISERR",127:"ISTEXT",128:"ISNUMBER",129:"ISBLANK",130:"T",131:"N",132:"FOPEN",133:"FCLOSE",134:"FSIZE",135:"FREADLN",136:"FREAD",137:"FWRITELN",138:"FWRITE",139:"FPOS",140:"DATEVALUE",141:"TIMEVALUE",142:"SLN",143:"SYD",144:"DDB",145:"GET.DEF",146:"REFTEXT",147:"TEXTREF",148:"INDIRECT",149:"REGISTER",150:"CALL",151:"ADD.BAR",152:"ADD.MENU",153:"ADD.COMMAND",154:"ENABLE.COMMAND",155:"CHECK.COMMAND",156:"RENAME.COMMAND",157:"SHOW.BAR",158:"DELETE.MENU",159:"DELETE.COMMAND",160:"GET.CHART.ITEM",161:"DIALOG.BOX",162:"CLEAN",163:"MDETERM",164:"MINVERSE",165:"MMULT",166:"FILES",167:"IPMT",168:"PPMT",169:"COUNTA",170:"CANCEL.KEY",171:"FOR",172:"WHILE",173:"BREAK",174:"NEXT",175:"INITIATE",176:"REQUEST",177:"POKE",178:"EXECUTE",179:"TERMINATE",180:"RESTART",181:"HELP",182:"GET.BAR",183:"PRODUCT",184:"FACT",185:"GET.CELL",186:"GET.WORKSPACE",187:"GET.WINDOW",188:"GET.DOCUMENT",189:"DPRODUCT",190:"ISNONTEXT",191:"GET.NOTE",192:"NOTE",193:"STDEVP",194:"VARP",195:"DSTDEVP",196:"DVARP",197:"TRUNC",198:"ISLOGICAL",199:"DCOUNTA",200:"DELETE.BAR",201:"UNREGISTER",204:"USDOLLAR",205:"FINDB",206:"SEARCHB",207:"REPLACEB",208:"LEFTB",209:"RIGHTB",210:"MIDB",211:"LENB",212:"ROUNDUP",213:"ROUNDDOWN",214:"ASC",215:"DBCS",216:"RANK",219:"ADDRESS",220:"DAYS360",221:"TODAY",222:"VDB",223:"ELSE",224:"ELSE.IF",225:"END.IF",226:"FOR.CELL",227:"MEDIAN",228:"SUMPRODUCT",229:"SINH",230:"COSH",231:"TANH",232:"ASINH",233:"ACOSH",234:"ATANH",235:"DGET",236:"CREATE.OBJECT",237:"VOLATILE",238:"LAST.ERROR",239:"CUSTOM.UNDO",240:"CUSTOM.REPEAT",241:"FORMULA.CONVERT",242:"GET.LINK.INFO",243:"TEXT.BOX",244:"INFO",245:"GROUP",246:"GET.OBJECT",247:"DB",248:"PAUSE",251:"RESUME",252:"FREQUENCY",253:"ADD.TOOLBAR",254:"DELETE.TOOLBAR",255:"User",256:"RESET.TOOLBAR",257:"EVALUATE",258:"GET.TOOLBAR",259:"GET.TOOL",260:"SPELLING.CHECK",261:"ERROR.TYPE",262:"APP.TITLE",263:"WINDOW.TITLE",264:"SAVE.TOOLBAR",265:"ENABLE.TOOL",266:"PRESS.TOOL",267:"REGISTER.ID",268:"GET.WORKBOOK",269:"AVEDEV",270:"BETADIST",271:"GAMMALN",272:"BETAINV",273:"BINOMDIST",274:"CHIDIST",275:"CHIINV",276:"COMBIN",277:"CONFIDENCE",278:"CRITBINOM",279:"EVEN",280:"EXPONDIST",281:"FDIST",282:"FINV",283:"FISHER",284:"FISHERINV",285:"FLOOR",286:"GAMMADIST",287:"GAMMAINV",288:"CEILING",289:"HYPGEOMDIST",290:"LOGNORMDIST",291:"LOGINV",292:"NEGBINOMDIST",293:"NORMDIST",294:"NORMSDIST",295:"NORMINV",296:"NORMSINV",297:"STANDARDIZE",298:"ODD",299:"PERMUT",300:"POISSON",301:"TDIST",302:"WEIBULL",303:"SUMXMY2",304:"SUMX2MY2",305:"SUMX2PY2",306:"CHITEST",307:"CORREL",308:"COVAR",309:"FORECAST",310:"FTEST",311:"INTERCEPT",312:"PEARSON",313:"RSQ",314:"STEYX",315:"SLOPE",316:"TTEST",317:"PROB",318:"DEVSQ",319:"GEOMEAN",320:"HARMEAN",321:"SUMSQ",322:"KURT",323:"SKEW",324:"ZTEST",325:"LARGE",326:"SMALL",327:"QUARTILE",328:"PERCENTILE",329:"PERCENTRANK",330:"MODE",331:"TRIMMEAN",332:"TINV",334:"MOVIE.COMMAND",335:"GET.MOVIE",336:"CONCATENATE",337:"POWER",338:"PIVOT.ADD.DATA",339:"GET.PIVOT.TABLE",340:"GET.PIVOT.FIELD",341:"GET.PIVOT.ITEM",342:"RADIANS",343:"DEGREES",344:"SUBTOTAL",345:"SUMIF",346:"COUNTIF",347:"COUNTBLANK",348:"SCENARIO.GET",349:"OPTIONS.LISTS.GET",350:"ISPMT",351:"DATEDIF",352:"DATESTRING",353:"NUMBERSTRING",354:"ROMAN",355:"OPEN.DIALOG",356:"SAVE.DIALOG",357:"VIEW.GET",358:"GETPIVOTDATA",359:"HYPERLINK",360:"PHONETIC",361:"AVERAGEA",362:"MAXA",363:"MINA",364:"STDEVPA",365:"VARPA",366:"STDEVA",367:"VARA",368:"BAHTTEXT",369:"THAIDAYOFWEEK",370:"THAIDIGIT",371:"THAIMONTHOFYEAR",372:"THAINUMSOUND",373:"THAINUMSTRING",374:"THAISTRINGLENGTH",375:"ISTHAIDIGIT",376:"ROUNDBAHTDOWN",377:"ROUNDBAHTUP",378:"THAIYEAR",379:"RTD",380:"CUBEVALUE",381:"CUBEMEMBER",382:"CUBEMEMBERPROPERTY",383:"CUBERANKEDMEMBER",384:"HEX2BIN",385:"HEX2DEC",386:"HEX2OCT",387:"DEC2BIN",388:"DEC2HEX",389:"DEC2OCT",390:"OCT2BIN",391:"OCT2HEX",392:"OCT2DEC",393:"BIN2DEC",394:"BIN2OCT",395:"BIN2HEX",396:"IMSUB",397:"IMDIV",398:"IMPOWER",399:"IMABS",400:"IMSQRT",401:"IMLN",402:"IMLOG2",403:"IMLOG10",404:"IMSIN",405:"IMCOS",406:"IMEXP",407:"IMARGUMENT",408:"IMCONJUGATE",409:"IMAGINARY",410:"IMREAL",411:"COMPLEX",412:"IMSUM",413:"IMPRODUCT",414:"SERIESSUM",415:"FACTDOUBLE",416:"SQRTPI",417:"QUOTIENT",418:"DELTA",419:"GESTEP",420:"ISEVEN",421:"ISODD",422:"MROUND",423:"ERF",424:"ERFC",425:"BESSELJ",426:"BESSELK",427:"BESSELY",428:"BESSELI",429:"XIRR",430:"XNPV",431:"PRICEMAT",432:"YIELDMAT",433:"INTRATE",434:"RECEIVED",435:"DISC",436:"PRICEDISC",437:"YIELDDISC",438:"TBILLEQ",439:"TBILLPRICE",440:"TBILLYIELD",441:"PRICE",442:"YIELD",443:"DOLLARDE",444:"DOLLARFR",445:"NOMINAL",446:"EFFECT",447:"CUMPRINC",448:"CUMIPMT",449:"EDATE",450:"EOMONTH",451:"YEARFRAC",452:"COUPDAYBS",453:"COUPDAYS",454:"COUPDAYSNC",455:"COUPNCD",456:"COUPNUM",457:"COUPPCD",458:"DURATION",459:"MDURATION",460:"ODDLPRICE",461:"ODDLYIELD",462:"ODDFPRICE",463:"ODDFYIELD",464:"RANDBETWEEN",465:"WEEKNUM",466:"AMORDEGRC",467:"AMORLINC",468:"CONVERT",724:"SHEETJS",469:"ACCRINT",470:"ACCRINTM",471:"WORKDAY",472:"NETWORKDAYS",473:"GCD",474:"MULTINOMIAL",475:"LCM",476:"FVSCHEDULE",477:"CUBEKPIMEMBER",478:"CUBESET",479:"CUBESETCOUNT",480:"IFERROR",481:"COUNTIFS",482:"SUMIFS",483:"AVERAGEIF",484:"AVERAGEIFS"},nc={2:1,3:1,10:0,15:1,16:1,17:1,18:1,19:0,20:1,21:1,22:1,23:1,24:1,25:1,26:1,27:2,30:2,31:3,32:1,33:1,34:0,35:0,38:1,39:2,40:3,41:3,42:3,43:3,44:3,45:3,47:3,48:2,53:1,61:3,63:0,65:3,66:3,67:1,68:1,69:1,70:1,71:1,72:1,73:1,74:0,75:1,76:1,77:1,79:2,80:2,83:1,85:0,86:1,89:0,90:1,94:0,95:0,97:2,98:1,99:1,101:3,102:3,105:1,106:1,108:2,111:1,112:1,113:1,114:1,117:2,118:1,119:4,121:1,126:1,127:1,128:1,129:1,130:1,131:1,133:1,134:1,135:1,136:2,137:2,138:2,140:1,141:1,142:3,143:4,144:4,161:1,162:1,163:1,164:1,165:2,172:1,175:2,176:2,177:3,178:2,179:1,184:1,186:1,189:3,190:1,195:3,196:3,197:1,198:1,199:3,201:1,207:4,210:3,211:1,212:2,213:2,214:1,215:1,225:0,229:1,230:1,231:1,232:1,233:1,234:1,235:3,244:1,247:4,252:2,257:1,261:1,271:1,273:4,274:2,275:2,276:2,277:3,278:3,279:1,280:3,281:3,282:3,283:1,284:1,285:2,286:4,287:3,288:2,289:4,290:3,291:3,292:3,293:4,294:1,295:3,296:1,297:3,298:1,299:2,300:3,301:3,302:4,303:2,304:2,305:2,306:2,307:2,308:2,309:3,310:2,311:2,312:2,313:2,314:2,315:2,316:4,325:2,326:2,327:2,328:2,331:2,332:2,337:2,342:1,343:1,346:2,347:1,350:4,351:3,352:1,353:2,360:1,368:1,369:1,370:1,371:1,372:1,373:1,374:1,375:1,376:1,377:1,378:1,382:3,385:1,392:1,393:1,396:2,397:2,398:2,399:1,400:1,401:1,402:1,403:1,404:1,405:1,406:1,407:1,408:1,409:1,410:1,414:4,415:1,416:1,417:2,420:1,421:1,422:2,424:1,425:2,426:2,427:2,428:2,430:3,438:3,439:3,440:3,443:2,444:2,445:2,446:2,447:6,448:6,449:2,450:2,464:2,468:3,476:2,479:1,480:2,65535:0};function ac(e){return"of:"==e.slice(0,3)&&(e=e.slice(3)),61==e.charCodeAt(0)&&61==(e=e.slice(1)).charCodeAt(0)&&(e=e.slice(1)),e=(e=e.replace(/COM\.MICROSOFT\./g,"")).replace(/\[((?:\.[A-Z]+[0-9]+)(?::\.[A-Z]+[0-9]+)?)\]/g,(function(e,t){return t.replace(/\./g,"")})),(e=e.replace(/\[.(#[A-Z]*[?!])\]/g,"$1")).replace(/[;~]/g,",").replace(/\|/g,";")}function oc(e){return("of:="+e.replace(gs,"$1[.$2$3$4$5]").replace(/\]:\[/g,":")).replace(/;/g,"|").replace(/,/g,";")}function ic(e){var t=e.split(":");return[t[0].split(".")[0],t[0].split(".")[1]+(t.length>1?":"+(t[1].split(".")[1]||t[1].split(".")[0]):"")]}function sc(e){return e.replace(/\./,"!")}var cc={},lc={},uc="undefined"!=typeof Map;function fc(e,t,r){var n=0,a=e.length;if(r){if(uc?r.has(t):Object.prototype.hasOwnProperty.call(r,t))for(var o=uc?r.get(t):r[t];n<o.length;++n)if(e[o[n]].t===t)return e.Count++,o[n]}else for(;n<a;++n)if(e[n].t===t)return e.Count++,n;return e[a]={t:t},e.Count++,e.Unique++,r&&(uc?(r.has(t)||r.set(t,[]),r.get(t).push(a)):(Object.prototype.hasOwnProperty.call(r,t)||(r[t]=[]),r[t].push(a))),a}function hc(e,t){var r={min:e+1,max:e+1},n=-1;return t.MDW&&(gi=t.MDW),null!=t.width?r.customWidth=1:null!=t.wpx?n=vi(t.wpx):null!=t.wch&&(n=t.wch),n>-1?(r.width=bi(n),r.customWidth=1):null!=t.width&&(r.width=t.width),t.hidden&&(r.hidden=!0),null!=t.level&&(r.outlineLevel=r.level=t.level),r}function dc(e,t){if(e){var r=[.7,.7,.75,.75,.3,.3];"xlml"==t&&(r=[1,1,1,1,.5,.5]),null==e.left&&(e.left=r[0]),null==e.right&&(e.right=r[1]),null==e.top&&(e.top=r[2]),null==e.bottom&&(e.bottom=r[3]),null==e.header&&(e.header=r[4]),null==e.footer&&(e.footer=r[5])}}function pc(e,t,r){var n=r.revssf[null!=t.z?t.z:"General"],a=60,o=e.length;if(null==n&&r.ssf)for(;a<392;++a)if(null==r.ssf[a]){be(t.z,a),r.ssf[a]=t.z,r.revssf[t.z]=n=a;break}for(a=0;a!=o;++a)if(e[a].numFmtId===n)return a;return e[o]={numFmtId:n,fontId:0,fillId:0,borderId:0,xfId:0,applyNumberFormat:1},o}function gc(e,t,r,n,a,o){try{n.cellNF&&(e.z=j[t])}catch(e){if(n.WTF)throw e}if("z"!==e.t||n.cellStyles){if("d"===e.t&&"string"==typeof e.v&&(e.v=ze(e.v)),(!n||!1!==n.cellText)&&"z"!==e.t)try{if(null==j[t]&&be(xe[t]||"General",t),"e"===e.t)e.w=e.w||Bn[e.v];else if(0===t)if("n"===e.t)(0|e.v)===e.v?e.w=e.v.toString(10):e.w=Y(e.v);else if("d"===e.t){var i=Ie(e.v);e.w=(0|i)===i?i.toString(10):Y(i)}else{if(void 0===e.v)return"";e.w=K(e.v,lc)}else"d"===e.t?e.w=ve(t,Ie(e.v),lc):e.w=ve(t,e.v,lc)}catch(e){if(n.WTF)throw e}if(n.cellStyles&&null!=r)try{e.s=o.Fills[r],e.s.fgColor&&e.s.fgColor.theme&&!e.s.fgColor.rgb&&(e.s.fgColor.rgb=fi(a.themeElements.clrScheme[e.s.fgColor.theme].rgb,e.s.fgColor.tint||0),n.WTF&&(e.s.fgColor.raw_rgb=a.themeElements.clrScheme[e.s.fgColor.theme].rgb)),e.s.bgColor&&e.s.bgColor.theme&&(e.s.bgColor.rgb=fi(a.themeElements.clrScheme[e.s.bgColor.theme].rgb,e.s.bgColor.tint||0),n.WTF&&(e.s.bgColor.raw_rgb=a.themeElements.clrScheme[e.s.bgColor.theme].rgb))}catch(e){if(n.WTF&&o.Fills)throw e}}}function mc(e,t,r){if(e&&e["!ref"]){var n=Gr(e["!ref"]);if(n.e.c<n.s.c||n.e.r<n.s.r)throw new Error("Bad range ("+r+"): "+e["!ref"])}}var vc=/<(?:\w:)?mergeCell ref="[A-Z0-9:]+"\s*[\/]?>/g,bc=/<(?:\w+:)?sheetData[^>]*>([\s\S]*)<\/(?:\w+:)?sheetData>/,yc=/<(?:\w:)?hyperlink [^>]*>/gm,wc=/"(\w*:\w*)"/,Sc=/<(?:\w:)?col\b[^>]*[\/]?>/g,xc=/<(?:\w:)?autoFilter[^>]*([\/]|>([\s\S]*)<\/(?:\w:)?autoFilter)>/g,Ac=/<(?:\w:)?pageMargins[^>]*\/>/g,kc=/<(?:\w:)?sheetPr\b(?:[^>a-z][^>]*)?\/>/,Tc=/<(?:\w:)?sheetPr[^>]*(?:[\/]|>([\s\S]*)<\/(?:\w:)?sheetPr)>/,Ec=/<(?:\w:)?sheetViews[^>]*(?:[\/]|>([\s\S]*)<\/(?:\w:)?sheetViews)>/;function _c(e,t,r,n,a,o,i){if(!e)return e;n||(n={"!id":{}}),null!=p&&null==t.dense&&(t.dense=p);var s=t.dense?[]:{},c={s:{r:2e6,c:2e6},e:{r:0,c:0}},l="",u="",f=e.match(bc);f?(l=e.slice(0,f.index),u=e.slice(f.index+f[0].length)):l=u=e;var h=l.match(kc);h?Nc(h[0],s,a,r):(h=l.match(Tc))&&function(e,t,r,n,a){Nc(e.slice(0,e.indexOf(">")),r,n,a)}(h[0],h[1],s,a,r);var d=(l.match(/<(?:\w*:)?dimension/)||{index:-1}).index;if(d>0){var g=l.slice(d,d+50).match(wc);g&&function(e,t){var r=Gr(t);r.s.r<=r.e.r&&r.s.c<=r.e.c&&r.s.r>=0&&r.s.c>=0&&(e["!ref"]=$r(r))}(s,g[1])}var m=l.match(Ec);m&&m[1]&&function(e,t){t.Views||(t.Views=[{}]);(e.match(Rc)||[]).forEach((function(e,r){var n=gt(e);t.Views[r]||(t.Views[r]={}),+n.zoomScale&&(t.Views[r].zoom=+n.zoomScale),_t(n.rightToLeft)&&(t.Views[r].RTL=!0)}))}(m[1],a);var v=[];if(t.cellStyles){var b=l.match(Sc);b&&function(e,t){for(var r=!1,n=0;n!=t.length;++n){var a=gt(t[n],!0);a.hidden&&(a.hidden=_t(a.hidden));var o=parseInt(a.min,10)-1,i=parseInt(a.max,10)-1;for(a.outlineLevel&&(a.level=+a.outlineLevel||0),delete a.min,delete a.max,a.width=+a.width,!r&&a.width&&(r=!0,wi(a.width)),Si(a);o<=i;)e[o++]=qe(a)}}(v,b)}f&&Lc(f[1],s,t,c,o,i);var y=u.match(xc);y&&(s["!autofilter"]=function(e){var t={ref:(e.match(/ref="([^"]*)"/)||[])[1]};return t}(y[0]));var w=[],S=u.match(vc);if(S)for(d=0;d!=S.length;++d)w[d]=Gr(S[d].slice(S[d].indexOf('"')+1));var x=u.match(yc);x&&function(e,t,r){for(var n=Array.isArray(e),a=0;a!=t.length;++a){var o=gt(Pt(t[a]),!0);if(!o.ref)return;var i=((r||{})["!id"]||[])[o.id];i?(o.Target=i.Target,o.location&&(o.Target+="#"+yt(o.location))):(o.Target="#"+yt(o.location),i={Target:o.Target,TargetMode:"Internal"}),o.Rel=i,o.tooltip&&(o.Tooltip=o.tooltip,delete o.tooltip);for(var s=Gr(o.ref),c=s.s.r;c<=s.e.r;++c)for(var l=s.s.c;l<=s.e.c;++l){var u=Vr({c:l,r:c});n?(e[c]||(e[c]=[]),e[c][l]||(e[c][l]={t:"z",v:void 0}),e[c][l].l=o):(e[u]||(e[u]={t:"z",v:void 0}),e[u].l=o)}}}(s,x,n);var A=u.match(Ac);if(A&&(s["!margins"]=function(e){var t={};return["left","right","top","bottom","header","footer"].forEach((function(r){e[r]&&(t[r]=parseFloat(e[r]))})),t}(gt(A[0]))),!s["!ref"]&&c.e.c>=c.s.c&&c.e.r>=c.s.r&&(s["!ref"]=$r(c)),t.sheetRows>0&&s["!ref"]){var k=Gr(s["!ref"]);t.sheetRows<=+k.e.r&&(k.e.r=t.sheetRows-1,k.e.r>c.e.r&&(k.e.r=c.e.r),k.e.r<k.s.r&&(k.s.r=k.e.r),k.e.c>c.e.c&&(k.e.c=c.e.c),k.e.c<k.s.c&&(k.s.c=k.e.c),s["!fullref"]=s["!ref"],s["!ref"]=$r(k))}return v.length>0&&(s["!cols"]=v),w.length>0&&(s["!merges"]=w),s}function Nc(e,t,r,n){var a=gt(e);r.Sheets[n]||(r.Sheets[n]={}),a.codeName&&(r.Sheets[n].CodeName=yt(Pt(a.codeName)))}var Cc=["objects","scenarios","selectLockedCells","selectUnlockedCells"],Oc=["formatColumns","formatRows","formatCells","insertColumns","insertRows","insertHyperlinks","deleteColumns","deleteRows","sort","autoFilter","pivotTables"];var Rc=/<(?:\w:)?sheetView(?:[^>a-z][^>]*)?\/?>/;function Pc(e,t,r,n){if(e.c&&r["!comments"].push([t,e.c]),void 0===e.v&&"string"!=typeof e.f||"z"===e.t&&!e.f)return"";var a="",o=e.t,i=e.v;if("z"!==e.t)switch(e.t){case"b":a=e.v?"1":"0";break;case"n":a=""+e.v;break;case"e":a=Bn[e.v];break;case"d":n&&n.cellDates?a=ze(e.v,-1).toISOString():((e=qe(e)).t="n",a=""+(e.v=Ie(ze(e.v)))),void 0===e.z&&(e.z=j[14]);break;default:a=e.v}var s=Ut("v",xt(a)),c={r:t},l=pc(n.cellXfs,e,n);switch(0!==l&&(c.s=l),e.t){case"n":case"z":break;case"d":c.t="d";break;case"b":c.t="b";break;case"e":c.t="e";break;default:if(null==e.v){delete e.t;break}if(e.v.length>32767)throw new Error("Text length must not exceed 32767 characters");if(n&&n.bookSST){s=Ut("v",""+fc(n.Strings,e.v,n.revStrings)),c.t="s";break}c.t="str"}if(e.t!=o&&(e.t=o,e.v=i),"string"==typeof e.f&&e.f){var u=e.F&&e.F.slice(0,t.length)==t?{t:"array",ref:e.F}:null;s=zt("f",xt(e.f),u)+(null!=e.v?s:"")}return e.l&&r["!links"].push([t,e.l]),e.D&&(c.cm=1),zt("c",s,c)}var Lc=function(){var e=/<(?:\w+:)?c[ \/>]/,t=/<\/(?:\w+:)?row>/,r=/r=["']([^"']*)["']/,n=/<(?:\w+:)?is>([\S\s]*?)<\/(?:\w+:)?is>/,a=/ref=["']([^"']*)["']/,o=It("v"),i=It("f");return function(s,c,l,u,f,h){for(var d,p,g,m,v,b=0,y="",w=[],S=[],x=0,A=0,k=0,T="",E=0,_=0,N=0,C=0,O=Array.isArray(h.CellXf),R=[],P=[],L=Array.isArray(c),I=[],F={},D=!1,M=!!l.sheetStubs,B=s.split(t),W=0,U=B.length;W!=U;++W){var H=(y=B[W].trim()).length;if(0!==H){var z=0;e:for(b=0;b<H;++b)switch(y[b]){case">":if("/"!=y[b-1]){++b;break e}if(l&&l.cellStyles){if(E=null!=(p=gt(y.slice(z,b),!0)).r?parseInt(p.r,10):E+1,_=-1,l.sheetRows&&l.sheetRows<E)continue;F={},D=!1,p.ht&&(D=!0,F.hpt=parseFloat(p.ht),F.hpx=ki(F.hpt)),"1"==p.hidden&&(D=!0,F.hidden=!0),null!=p.outlineLevel&&(D=!0,F.level=+p.outlineLevel),D&&(I[E-1]=F)}break;case"<":z=b}if(z>=b)break;if(E=null!=(p=gt(y.slice(z,b),!0)).r?parseInt(p.r,10):E+1,_=-1,!(l.sheetRows&&l.sheetRows<E)){u.s.r>E-1&&(u.s.r=E-1),u.e.r<E-1&&(u.e.r=E-1),l&&l.cellStyles&&(F={},D=!1,p.ht&&(D=!0,F.hpt=parseFloat(p.ht),F.hpx=ki(F.hpt)),"1"==p.hidden&&(D=!0,F.hidden=!0),null!=p.outlineLevel&&(D=!0,F.level=+p.outlineLevel),D&&(I[E-1]=F)),w=y.slice(b).split(e);for(var V=0;V!=w.length&&"<"==w[V].trim().charAt(0);++V);for(w=w.slice(V),b=0;b!=w.length;++b)if(0!==(y=w[b].trim()).length){if(S=y.match(r),x=b,A=0,k=0,y="<c "+("<"==y.slice(0,1)?">":"")+y,null!=S&&2===S.length){for(x=0,T=S[1],A=0;A!=T.length&&!((k=T.charCodeAt(A)-64)<1||k>26);++A)x=26*x+k;_=--x}else++_;for(A=0;A!=y.length&&62!==y.charCodeAt(A);++A);if(++A,(p=gt(y.slice(0,A),!0)).r||(p.r=Vr({r:E-1,c:_})),d={t:""},null!=(S=(T=y.slice(A)).match(o))&&""!==S[1]&&(d.v=yt(S[1])),l.cellFormula){if(null!=(S=T.match(i))&&""!==S[1]){if(d.f=yt(Pt(S[1])).replace(/\r\n/g,"\n"),l.xlfn||(d.f=ys(d.f)),S[0].indexOf('t="array"')>-1)d.F=(T.match(a)||[])[1],d.F.indexOf(":")>-1&&R.push([Gr(d.F),d.F]);else if(S[0].indexOf('t="shared"')>-1){m=gt(S[0]);var q=yt(Pt(S[1]));l.xlfn||(q=ys(q)),P[parseInt(m.si,10)]=[m,q,p.r]}}else(S=T.match(/<f[^>]*\/>/))&&P[(m=gt(S[0])).si]&&(d.f=bs(P[m.si][1],P[m.si][2],p.r));var $=zr(p.r);for(A=0;A<R.length;++A)$.r>=R[A][0].s.r&&$.r<=R[A][0].e.r&&$.c>=R[A][0].s.c&&$.c<=R[A][0].e.c&&(d.F=R[A][1])}if(null==p.t&&void 0===d.v)if(d.f||d.F)d.v=0,d.t="n";else{if(!M)continue;d.t="z"}else d.t=p.t||"n";switch(u.s.c>_&&(u.s.c=_),u.e.c<_&&(u.e.c=_),d.t){case"n":if(""==d.v||null==d.v){if(!M)continue;d.t="z"}else d.v=parseFloat(d.v);break;case"s":if(void 0===d.v){if(!M)continue;d.t="z"}else g=cc[parseInt(d.v,10)],d.v=g.t,d.r=g.r,l.cellHTML&&(d.h=g.h);break;case"str":d.t="s",d.v=null!=d.v?Pt(d.v):"",l.cellHTML&&(d.h=Tt(d.v));break;case"inlineStr":S=T.match(n),d.t="s",null!=S&&(g=Ho(S[1]))?(d.v=g.t,l.cellHTML&&(d.h=g.h)):d.v="";break;case"b":d.v=_t(d.v);break;case"d":l.cellDates?d.v=ze(d.v,1):(d.v=Ie(ze(d.v,1)),d.t="n");break;case"e":l&&!1===l.cellText||(d.w=d.v),d.v=Wn[d.v]}if(N=C=0,v=null,O&&void 0!==p.s&&null!=(v=h.CellXf[p.s])&&(null!=v.numFmtId&&(N=v.numFmtId),l.cellStyles&&null!=v.fillId&&(C=v.fillId)),gc(d,N,C,l,f,h),l.cellDates&&O&&"n"==d.t&&de(j[N])&&(d.t="d",d.v=je(d.v)),p.cm&&l.xlmeta){var G=(l.xlmeta.Cell||[])[+p.cm-1];G&&"XLDAPR"==G.type&&(d.D=!0)}if(L){var X=zr(p.r);c[X.r]||(c[X.r]=[]),c[X.r][X.c]=d}else c[p.r]=d}}}}I.length>0&&(c["!rows"]=I)}}();function Ic(e,t,r,n){var a,o=[lt,zt("worksheet",null,{xmlns:Xt[0],"xmlns:r":Gt.r})],i=r.SheetNames[e],s="",c=r.Sheets[i];null==c&&(c={});var l=c["!ref"]||"A1",u=Gr(l);if(u.e.c>16383||u.e.r>1048575){if(t.WTF)throw new Error("Range "+l+" exceeds format limit A1:XFD1048576");u.e.c=Math.min(u.e.c,16383),u.e.r=Math.min(u.e.c,1048575),l=$r(u)}n||(n={}),c["!comments"]=[];var f=[];!function(e,t,r,n,a){var o=!1,i={},s=null;if("xlsx"!==n.bookType&&t.vbaraw){var c=t.SheetNames[r];try{t.Workbook&&(c=t.Workbook.Sheets[r].CodeName||c)}catch(e){}o=!0,i.codeName=Lt(xt(c))}if(e&&e["!outline"]){var l={summaryBelow:1,summaryRight:1};e["!outline"].above&&(l.summaryBelow=0),e["!outline"].left&&(l.summaryRight=0),s=(s||"")+zt("outlinePr",null,l)}(o||s)&&(a[a.length]=zt("sheetPr",s,i))}(c,r,e,t,o),o[o.length]=zt("dimension",null,{ref:l}),o[o.length]=function(e,t,r,n){var a={workbookViewId:"0"};return(((n||{}).Workbook||{}).Views||[])[0]&&(a.rightToLeft=n.Workbook.Views[0].RTL?"1":"0"),zt("sheetViews",zt("sheetView",null,a),{})}(0,0,0,r),t.sheetFormat&&(o[o.length]=zt("sheetFormatPr",null,{defaultRowHeight:t.sheetFormat.defaultRowHeight||"16",baseColWidth:t.sheetFormat.baseColWidth||"10",outlineLevelRow:t.sheetFormat.outlineLevelRow||"7"})),null!=c["!cols"]&&c["!cols"].length>0&&(o[o.length]=function(e,t){for(var r,n=["<cols>"],a=0;a!=t.length;++a)(r=t[a])&&(n[n.length]=zt("col",null,hc(a,r)));return n[n.length]="</cols>",n.join("")}(0,c["!cols"])),o[a=o.length]="<sheetData/>",c["!links"]=[],null!=c["!ref"]&&(s=function(e,t,r,n){var a,o,i=[],s=[],c=Gr(e["!ref"]),l="",u="",f=[],h=0,d=0,p=e["!rows"],g=Array.isArray(e),m={r:u},v=-1;for(d=c.s.c;d<=c.e.c;++d)f[d]=Hr(d);for(h=c.s.r;h<=c.e.r;++h){for(s=[],u=Wr(h),d=c.s.c;d<=c.e.c;++d){a=f[d]+u;var b=g?(e[h]||[])[d]:e[a];void 0!==b&&null!=(l=Pc(b,a,e,t))&&s.push(l)}(s.length>0||p&&p[h])&&(m={r:u},p&&p[h]&&((o=p[h]).hidden&&(m.hidden=1),v=-1,o.hpx?v=Ai(o.hpx):o.hpt&&(v=o.hpt),v>-1&&(m.ht=v,m.customHeight=1),o.level&&(m.outlineLevel=o.level)),i[i.length]=zt("row",s.join(""),m))}if(p)for(;h<p.length;++h)p&&p[h]&&(m={r:h+1},(o=p[h]).hidden&&(m.hidden=1),v=-1,o.hpx?v=Ai(o.hpx):o.hpt&&(v=o.hpt),v>-1&&(m.ht=v,m.customHeight=1),o.level&&(m.outlineLevel=o.level),i[i.length]=zt("row","",m));return i.join("")}(c,t,0,0),s.length>0&&(o[o.length]=s)),o.length>a+1&&(o[o.length]="</sheetData>",o[a]=o[a].replace("/>",">")),c["!protect"]&&(o[o.length]=function(e){var t={sheet:1};return Cc.forEach((function(r){null!=e[r]&&e[r]&&(t[r]="1")})),Oc.forEach((function(r){null==e[r]||e[r]||(t[r]="0")})),e.password&&(t.password=oi(e.password).toString(16).toUpperCase()),zt("sheetProtection",null,t)}(c["!protect"])),null!=c["!autofilter"]&&(o[o.length]=function(e,t,r,n){var a="string"==typeof e.ref?e.ref:$r(e.ref);r.Workbook||(r.Workbook={Sheets:[]}),r.Workbook.Names||(r.Workbook.Names=[]);var o=r.Workbook.Names,i=qr(a);i.s.r==i.e.r&&(i.e.r=qr(t["!ref"]).e.r,a=$r(i));for(var s=0;s<o.length;++s){var c=o[s];if("_xlnm._FilterDatabase"==c.Name&&c.Sheet==n){c.Ref="'"+r.SheetNames[n]+"'!"+a;break}}return s==o.length&&o.push({Name:"_xlnm._FilterDatabase",Sheet:n,Ref:"'"+r.SheetNames[n]+"'!"+a}),zt("autoFilter",null,{ref:a})}(c["!autofilter"],c,r,e)),null!=c["!merges"]&&c["!merges"].length>0&&(o[o.length]=function(e){if(0===e.length)return"";for(var t='<mergeCells count="'+e.length+'">',r=0;r!=e.length;++r)t+='<mergeCell ref="'+$r(e[r])+'"/>';return t+"</mergeCells>"}(c["!merges"]));var h,d=-1,p=-1;return c["!links"].length>0&&(o[o.length]="<hyperlinks>",c["!links"].forEach((function(e){e[1].Target&&(h={ref:e[0]},"#"!=e[1].Target.charAt(0)&&(p=Xn(n,-1,xt(e[1].Target).replace(/#.*$/,""),Vn.HLINK),h["r:id"]="rId"+p),(d=e[1].Target.indexOf("#"))>-1&&(h.location=xt(e[1].Target.slice(d+1))),e[1].Tooltip&&(h.tooltip=xt(e[1].Tooltip)),o[o.length]=zt("hyperlink",null,h))})),o[o.length]="</hyperlinks>"),delete c["!links"],null!=c["!margins"]&&(o[o.length]=function(e){return dc(e),zt("pageMargins",null,e)}(c["!margins"])),t&&!t.ignoreEC&&null!=t.ignoreEC||(o[o.length]=Ut("ignoredErrors",zt("ignoredError",null,{numberStoredAsText:1,sqref:l}))),f.length>0&&(p=Xn(n,-1,"../drawings/drawing"+(e+1)+".xml",Vn.DRAW),o[o.length]=zt("drawing",null,{"r:id":"rId"+p}),c["!drawing"]=f),c["!comments"].length>0&&(p=Xn(n,-1,"../drawings/vmlDrawing"+(e+1)+".vml",Vn.VML),o[o.length]=zt("legacyDrawing",null,{"r:id":"rId"+p}),c["!legacy"]=p),o.length>1&&(o[o.length]="</worksheet>",o[1]=o[1].replace("/>",">")),o.join("")}function Fc(e,t,r,n){var a=function(e,t,r){var n=Rr(145),a=(r["!rows"]||[])[e]||{};n._W(4,e),n._W(4,0);var o=320;a.hpx?o=20*Ai(a.hpx):a.hpt&&(o=20*a.hpt),n._W(2,o),n._W(1,0);var i=0;a.level&&(i|=a.level),a.hidden&&(i|=16),(a.hpx||a.hpt)&&(i|=32),n._W(1,i),n._W(1,0);var s=0,c=n.l;n.l+=4;for(var l={r:e,c:0},u=0;u<16;++u)if(!(t.s.c>u+1<<10||t.e.c<u<<10)){for(var f=-1,h=-1,d=u<<10;d<u+1<<10;++d)l.c=d,(Array.isArray(r)?(r[l.r]||[])[l.c]:r[Vr(l)])&&(f<0&&(f=d),h=d);f<0||(++s,n._W(4,f),n._W(4,h))}var p=n.l;return n.l=c,n._W(4,s),n.l=p,n.length>n.l?n.slice(0,n.l):n}(n,r,t);(a.length>17||(t["!rows"]||[])[n])&&Ir(e,0,a)}var Dc=Sn,Mc=xn;function jc(e){return[ln(e),An(e),"n"]}var Bc=Sn,Wc=xn;var Uc=["left","right","top","bottom","header","footer"];function Hc(e,t,r,n,a,o,i){if(void 0===t.v)return!1;var s="";switch(t.t){case"b":s=t.v?"1":"0";break;case"d":(t=qe(t)).z=t.z||j[14],t.v=Ie(ze(t.v)),t.t="n";break;case"n":case"e":s=""+t.v;break;default:s=t.v}var c={r:r,c:n};switch(c.s=pc(a.cellXfs,t,a),t.l&&o["!links"].push([Vr(c),t.l]),t.c&&o["!comments"].push([Vr(c),t.c]),t.t){case"s":case"str":return a.bookSST?(s=fc(a.Strings,t.v,a.revStrings),c.t="s",c.v=s,i?Ir(e,18,function(e,t,r){return null==r&&(r=Rr(8)),un(t,r),r._W(4,t.v),r}(0,c)):Ir(e,7,function(e,t,r){return null==r&&(r=Rr(12)),cn(t,r),r._W(4,t.v),r}(0,c))):(c.t="str",i?Ir(e,17,function(e,t,r){return null==r&&(r=Rr(8+4*e.v.length)),un(t,r),tn(e.v,r),r.length>r.l?r.slice(0,r.l):r}(t,c)):Ir(e,6,function(e,t,r){return null==r&&(r=Rr(12+4*e.v.length)),cn(t,r),tn(e.v,r),r.length>r.l?r.slice(0,r.l):r}(t,c))),!0;case"n":return t.v==(0|t.v)&&t.v>-1e3&&t.v<1e3?i?Ir(e,13,function(e,t,r){return null==r&&(r=Rr(8)),un(t,r),yn(e.v,r),r}(t,c)):Ir(e,2,function(e,t,r){return null==r&&(r=Rr(12)),cn(t,r),yn(e.v,r),r}(t,c)):i?Ir(e,16,function(e,t,r){return null==r&&(r=Rr(12)),un(t,r),kn(e.v,r),r}(t,c)):Ir(e,5,function(e,t,r){return null==r&&(r=Rr(16)),cn(t,r),kn(e.v,r),r}(t,c)),!0;case"b":return c.t="b",i?Ir(e,15,function(e,t,r){return null==r&&(r=Rr(5)),un(t,r),r._W(1,e.v?1:0),r}(t,c)):Ir(e,4,function(e,t,r){return null==r&&(r=Rr(9)),cn(t,r),r._W(1,e.v?1:0),r}(t,c)),!0;case"e":return c.t="e",i?Ir(e,14,function(e,t,r){return null==r&&(r=Rr(8)),un(t,r),r._W(1,e.v),r._W(2,0),r._W(1,0),r}(t,c)):Ir(e,3,function(e,t,r){return null==r&&(r=Rr(9)),cn(t,r),r._W(1,e.v),r}(t,c)),!0}return i?Ir(e,12,function(e,t,r){return null==r&&(r=Rr(4)),un(t,r)}(0,c)):Ir(e,1,function(e,t,r){return null==r&&(r=Rr(8)),cn(t,r)}(0,c)),!0}function zc(e,t){t&&t["!merges"]&&(Ir(e,177,function(e,t){return null==t&&(t=Rr(4)),t._W(4,e),t}(t["!merges"].length)),t["!merges"].forEach((function(t){Ir(e,176,Wc(t))})),Ir(e,178))}function Vc(e,t){t&&t["!cols"]&&(Ir(e,390),t["!cols"].forEach((function(t,r){t&&Ir(e,60,function(e,t,r){null==r&&(r=Rr(18));var n=hc(e,t);r._W(-4,e),r._W(-4,e),r._W(4,256*(n.width||10)),r._W(4,0);var a=0;return t.hidden&&(a|=1),"number"==typeof n.width&&(a|=2),t.level&&(a|=t.level<<8),r._W(2,a),r}(r,t))})),Ir(e,391))}function qc(e,t){t&&t["!ref"]&&(Ir(e,648),Ir(e,649,function(e){var t=Rr(24);return t._W(4,4),t._W(4,1),xn(e,t),t}(Gr(t["!ref"]))),Ir(e,650))}function $c(e,t,r){t["!links"].forEach((function(t){if(t[1].Target){var n=Xn(r,-1,t[1].Target.replace(/#.*$/,""),Vn.HLINK);Ir(e,494,function(e,t){var r=Rr(50+4*(e[1].Target.length+(e[1].Tooltip||"").length));xn({s:zr(e[0]),e:zr(e[0])},r),vn("rId"+t,r);var n=e[1].Target.indexOf("#");return tn((-1==n?"":e[1].Target.slice(n+1))||"",r),tn(e[1].Tooltip||"",r),tn("",r),r.slice(0,r.l)}(t,n))}})),delete t["!links"]}function Gc(e,t,r){Ir(e,133),Ir(e,137,function(e,t,r){null==r&&(r=Rr(30));var n=924;return(((t||{}).Views||[])[0]||{}).RTL&&(n|=32),r._W(2,n),r._W(4,0),r._W(4,0),r._W(4,0),r._W(1,0),r._W(1,0),r._W(2,0),r._W(2,100),r._W(2,0),r._W(2,0),r._W(2,0),r._W(4,0),r}(0,r)),Ir(e,138),Ir(e,134)}function Xc(e,t){t["!protect"]&&Ir(e,535,function(e,t){return null==t&&(t=Rr(66)),t._W(2,e.password?oi(e.password):0),t._W(4,1),[["objects",!1],["scenarios",!1],["formatCells",!0],["formatColumns",!0],["formatRows",!0],["insertColumns",!0],["insertRows",!0],["insertHyperlinks",!0],["deleteColumns",!0],["deleteRows",!0],["selectLockedCells",!1],["sort",!0],["autoFilter",!0],["pivotTables",!0],["selectUnlockedCells",!1]].forEach((function(r){r[1]?t._W(4,null==e[r[0]]||e[r[0]]?0:1):t._W(4,null!=e[r[0]]&&e[r[0]]?0:1)})),t}(t["!protect"]))}function Yc(e,t,r,n){var a=Lr(),o=r.SheetNames[e],i=r.Sheets[o]||{},s=o;try{r&&r.Workbook&&(s=r.Workbook.Sheets[e].CodeName||s)}catch(e){}var c=Gr(i["!ref"]||"A1");if(c.e.c>16383||c.e.r>1048575){if(t.WTF)throw new Error("Range "+(i["!ref"]||"A1")+" exceeds format limit A1:XFD1048576");c.e.c=Math.min(c.e.c,16383),c.e.r=Math.min(c.e.c,1048575)}return i["!links"]=[],i["!comments"]=[],Ir(a,129),(r.vbaraw||i["!outline"])&&Ir(a,147,function(e,t,r){null==r&&(r=Rr(84+4*e.length));var n=192;t&&(t.above&&(n&=-65),t.left&&(n&=-129)),r._W(1,n);for(var a=1;a<3;++a)r._W(1,0);return Tn({auto:1},r),r._W(-4,-1),r._W(-4,-1),hn(e,r),r.slice(0,r.l)}(s,i["!outline"])),Ir(a,148,Mc(c)),Gc(a,0,r.Workbook),Vc(a,i),function(e,t,r,n){var a,o=Gr(t["!ref"]||"A1"),i="",s=[];Ir(e,145);var c=Array.isArray(t),l=o.e.r;t["!rows"]&&(l=Math.max(o.e.r,t["!rows"].length-1));for(var u=o.s.r;u<=l;++u){i=Wr(u),Fc(e,t,o,u);var f=!1;if(u<=o.e.r)for(var h=o.s.c;h<=o.e.c;++h){u===o.s.r&&(s[h]=Hr(h)),a=s[h]+i;var d=c?(t[u]||[])[h]:t[a];f=!!d&&Hc(e,d,u,h,n,t,f)}}Ir(e,146)}(a,i,0,t),Xc(a,i),function(e,t,r,n){if(t["!autofilter"]){var a=t["!autofilter"],o="string"==typeof a.ref?a.ref:$r(a.ref);r.Workbook||(r.Workbook={Sheets:[]}),r.Workbook.Names||(r.Workbook.Names=[]);var i=r.Workbook.Names,s=qr(o);s.s.r==s.e.r&&(s.e.r=qr(t["!ref"]).e.r,o=$r(s));for(var c=0;c<i.length;++c){var l=i[c];if("_xlnm._FilterDatabase"==l.Name&&l.Sheet==n){l.Ref="'"+r.SheetNames[n]+"'!"+o;break}}c==i.length&&i.push({Name:"_xlnm._FilterDatabase",Sheet:n,Ref:"'"+r.SheetNames[n]+"'!"+o}),Ir(e,161,xn(Gr(o))),Ir(e,162)}}(a,i,r,e),zc(a,i),$c(a,i,n),i["!margins"]&&Ir(a,476,function(e,t){return null==t&&(t=Rr(48)),dc(e),Uc.forEach((function(r){kn(e[r],t)})),t}(i["!margins"])),t&&!t.ignoreEC&&null!=t.ignoreEC||qc(a,i),function(e,t,r,n){if(t["!comments"].length>0){var a=Xn(n,-1,"../drawings/vmlDrawing"+(r+1)+".vml",Vn.VML);Ir(e,551,vn("rId"+a)),t["!legacy"]=a}}(a,i,e,n),Ir(a,130),a.end()}function Kc(e,t,r,n,a,o){var i=o||{"!type":"chart"};if(!e)return o;var s=0,c=0,l="A",u={s:{r:2e6,c:2e6},e:{r:0,c:0}};return(e.match(/<c:numCache>[\s\S]*?<\/c:numCache>/gm)||[]).forEach((function(e){var t=function(e){var t,r=[],n=e.match(/^<c:numCache>/);(e.match(/<c:pt idx="(\d*)">(.*?)<\/c:pt>/gm)||[]).forEach((function(e){var t=e.match(/<c:pt idx="(\d*?)"><c:v>(.*)<\/c:v><\/c:pt>/);t&&(r[+t[1]]=n?+t[2]:t[2])}));var a=yt((e.match(/<c:formatCode>([\s\S]*?)<\/c:formatCode>/)||["","General"])[1]);return(e.match(/<c:f>(.*?)<\/c:f>/gm)||[]).forEach((function(e){t=e.replace(/<.*?>/g,"")})),[r,a,t]}(e);u.s.r=u.s.c=0,u.e.c=s,l=Hr(s),t[0].forEach((function(e,r){i[l+Wr(r)]={t:"n",v:e,z:t[1]},c=r})),u.e.r<c&&(u.e.r=c),++s})),s>0&&(i["!ref"]=$r(u)),i}var Jc=[["allowRefreshQuery",!1,"bool"],["autoCompressPictures",!0,"bool"],["backupFile",!1,"bool"],["checkCompatibility",!1,"bool"],["CodeName",""],["date1904",!1,"bool"],["defaultThemeVersion",0,"int"],["filterPrivacy",!1,"bool"],["hidePivotFieldList",!1,"bool"],["promptedSolutions",!1,"bool"],["publishItems",!1,"bool"],["refreshAllConnections",!1,"bool"],["saveExternalLinkValues",!0,"bool"],["showBorderUnselectedTables",!0,"bool"],["showInkAnnotation",!0,"bool"],["showObjects","all"],["showPivotChartFilter",!1,"bool"],["updateLinks","userSet"]],Zc=[["activeTab",0,"int"],["autoFilterDateGrouping",!0,"bool"],["firstSheet",0,"int"],["minimized",!1,"bool"],["showHorizontalScroll",!0,"bool"],["showSheetTabs",!0,"bool"],["showVerticalScroll",!0,"bool"],["tabRatio",600,"int"],["visibility","visible"]],Qc=[],el=[["calcCompleted","true"],["calcMode","auto"],["calcOnSave","true"],["concurrentCalc","true"],["fullCalcOnLoad","false"],["fullPrecision","true"],["iterate","false"],["iterateCount","100"],["iterateDelta","0.001"],["refMode","A1"]];function tl(e,t){for(var r=0;r!=e.length;++r)for(var n=e[r],a=0;a!=t.length;++a){var o=t[a];if(null==n[o[0]])n[o[0]]=o[1];else switch(o[2]){case"bool":"string"==typeof n[o[0]]&&(n[o[0]]=_t(n[o[0]]));break;case"int":"string"==typeof n[o[0]]&&(n[o[0]]=parseInt(n[o[0]],10))}}}function rl(e,t){for(var r=0;r!=t.length;++r){var n=t[r];if(null==e[n[0]])e[n[0]]=n[1];else switch(n[2]){case"bool":"string"==typeof e[n[0]]&&(e[n[0]]=_t(e[n[0]]));break;case"int":"string"==typeof e[n[0]]&&(e[n[0]]=parseInt(e[n[0]],10))}}}function nl(e){rl(e.WBProps,Jc),rl(e.CalcPr,el),tl(e.WBView,Zc),tl(e.Sheets,Qc),lc.date1904=_t(e.WBProps.date1904)}var al="][*?/\\".split("");function ol(e,t){if(e.length>31){if(t)return!1;throw new Error("Sheet names cannot exceed 31 chars")}var r=!0;return al.forEach((function(n){if(-1!=e.indexOf(n)){if(!t)throw new Error("Sheet name cannot contain : \\ / ? * [ ]");r=!1}})),r}function il(e){if(!e||!e.SheetNames||!e.Sheets)throw new Error("Invalid Workbook");if(!e.SheetNames.length)throw new Error("Workbook is empty");var t=e.Workbook&&e.Workbook.Sheets||[];!function(e,t,r){e.forEach((function(n,a){ol(n);for(var o=0;o<a;++o)if(n==e[o])throw new Error("Duplicate Sheet Name: "+n);if(r){var i=t&&t[a]&&t[a].CodeName||n;if(95==i.charCodeAt(0)&&i.length>22)throw new Error("Bad Code Name: Worksheet"+i)}}))}(e.SheetNames,t,!!e.vbaraw);for(var r=0;r<e.SheetNames.length;++r)mc(e.Sheets[e.SheetNames[r]],e.SheetNames[r],r)}var sl=/<\w+:workbook/;function cl(e){var t=[lt];t[t.length]=zt("workbook",null,{xmlns:Xt[0],"xmlns:r":Gt.r});var r=e.Workbook&&(e.Workbook.Names||[]).length>0,n={codeName:"ThisWorkbook"};e.Workbook&&e.Workbook.WBProps&&(Jc.forEach((function(t){null!=e.Workbook.WBProps[t[0]]&&e.Workbook.WBProps[t[0]]!=t[1]&&(n[t[0]]=e.Workbook.WBProps[t[0]])})),e.Workbook.WBProps.CodeName&&(n.codeName=e.Workbook.WBProps.CodeName,delete n.CodeName)),t[t.length]=zt("workbookPr",null,n);var a=e.Workbook&&e.Workbook.Sheets||[],o=0;if(a&&a[0]&&a[0].Hidden){for(t[t.length]="<bookViews>",o=0;o!=e.SheetNames.length&&a[o]&&a[o].Hidden;++o);o==e.SheetNames.length&&(o=0),t[t.length]='<workbookView firstSheet="'+o+'" activeTab="'+o+'"/>',t[t.length]="</bookViews>"}for(t[t.length]="<sheets>",o=0;o!=e.SheetNames.length;++o){var i={name:xt(e.SheetNames[o].slice(0,31))};if(i.sheetId=""+(o+1),i["r:id"]="rId"+(o+1),a[o])switch(a[o].Hidden){case 1:i.state="hidden";break;case 2:i.state="veryHidden"}t[t.length]=zt("sheet",null,i)}return t[t.length]="</sheets>",r&&(t[t.length]="<definedNames>",e.Workbook&&e.Workbook.Names&&e.Workbook.Names.forEach((function(e){var r={name:e.Name};e.Comment&&(r.comment=e.Comment),null!=e.Sheet&&(r.localSheetId=""+e.Sheet),e.Hidden&&(r.hidden="1"),e.Ref&&(t[t.length]=zt("definedName",xt(e.Ref),r))})),t[t.length]="</definedNames>"),t.length>2&&(t[t.length]="</workbook>",t[1]=t[1].replace("/>",">")),t.join("")}function ll(e,t){return t||(t=Rr(127)),t._W(4,e.Hidden),t._W(4,e.iTabID),vn(e.strRelID,t),tn(e.name.slice(0,31),t),t.length>t.l?t.slice(0,t.l):t}function ul(e,t){var r={};return e._R(4),r.ArchID=e._R(4),e.l+=t-8,r}function fl(t,r){r||(r=Rr(127));for(var n=0;4!=n;++n)r._W(4,0);return tn("SheetJS",r),tn(e.version,r),tn(e.version,r),tn("7262",r),r.length>r.l?r.slice(0,r.l):r}function hl(e,t){if(t.Workbook&&t.Workbook.Sheets){for(var r=t.Workbook.Sheets,n=0,a=-1,o=-1;n<r.length;++n)!r[n]||!r[n].Hidden&&-1==a?a=n:1==r[n].Hidden&&-1==o&&(o=n);o>a||(Ir(e,135),Ir(e,158,function(e,t){return t||(t=Rr(29)),t._W(-4,0),t._W(-4,460),t._W(4,28800),t._W(4,17600),t._W(4,500),t._W(4,e),t._W(4,e),t._W(1,120),t.length>t.l?t.slice(0,t.l):t}(a)),Ir(e,136))}}function dl(e,t){var r=Lr();return Ir(r,131),Ir(r,128,fl()),Ir(r,153,function(e,t){t||(t=Rr(72));var r=0;return e&&e.filterPrivacy&&(r|=8),t._W(4,r),t._W(4,0),hn(e&&e.CodeName||"ThisWorkbook",t),t.slice(0,t.l)}(e.Workbook&&e.Workbook.WBProps||null)),hl(r,e),function(e,t){Ir(e,143);for(var r=0;r!=t.SheetNames.length;++r)Ir(e,156,ll({Hidden:t.Workbook&&t.Workbook.Sheets&&t.Workbook.Sheets[r]&&t.Workbook.Sheets[r].Hidden||0,iTabID:r+1,strRelID:"rId"+(r+1),name:t.SheetNames[r]}));Ir(e,144)}(r,e),Ir(r,132),r.end()}function pl(e,t,r){return".bin"===t.slice(-4)?function(e,t){var r={AppVersion:{},WBProps:{},WBView:[],Sheets:[],CalcPr:{},xmlns:""},n=[],a=!1;t||(t={}),t.biff=12;var o=[],i=[[]];return i.SheetNames=[],i.XTI=[],Zl[16]={n:"BrtFRTArchID$",f:ul},Pr(e,(function(e,s,c){switch(c){case 156:i.SheetNames.push(e.name),r.Sheets.push(e);break;case 153:r.WBProps=e;break;case 39:null!=e.Sheet&&(t.SID=e.Sheet),e.Ref=qs(e.Ptg,0,null,i,t),delete t.SID,delete e.Ptg,o.push(e);break;case 1036:case 361:case 2071:case 158:case 143:case 664:case 353:case 3072:case 3073:case 534:case 677:case 157:case 610:case 2050:case 155:case 548:case 676:case 128:case 665:case 2128:case 2125:case 549:case 2053:case 596:case 2076:case 2075:case 2082:case 397:case 154:case 1117:case 553:case 2091:case 16:break;case 357:case 358:case 355:case 667:i[0].length?i.push([c,e]):i[0]=[c,e],i[i.length-1].XTI=[];break;case 362:0===i.length&&(i[0]=[],i[0].XTI=[]),i[i.length-1].XTI=i[i.length-1].XTI.concat(e),i.XTI=i.XTI.concat(e);break;case 35:case 37:n.push(c),a=!0;break;case 36:case 38:n.pop(),a=!1;break;default:if(s.T);else if(!a||t.WTF&&37!=n[n.length-1]&&35!=n[n.length-1])throw new Error("Unexpected record 0x"+c.toString(16))}}),t),nl(r),r.Names=o,r.supbooks=i,r}(e,r):function(e,t){if(!e)throw new Error("Could not find file");var r={AppVersion:{},WBProps:{},WBView:[],Sheets:[],CalcPr:{},Names:[],xmlns:""},n=!1,a="xmlns",o={},i=0;if(e.replace(ht,(function(s,c){var l=gt(s);switch(mt(l[0])){case"<?xml":case"</workbook>":case"<fileVersion/>":case"</fileVersion>":case"<fileSharing":case"<fileSharing/>":case"</workbookPr>":case"<workbookProtection":case"<workbookProtection/>":case"<bookViews":case"<bookViews>":case"</bookViews>":case"</workbookView>":case"<sheets":case"<sheets>":case"</sheets>":case"</sheet>":case"<functionGroups":case"<functionGroups/>":case"<functionGroup":case"<externalReferences":case"</externalReferences>":case"<externalReferences>":case"<externalReference":case"<definedNames/>":case"<definedName/>":case"</calcPr>":case"<oleSize":case"<customWorkbookViews>":case"</customWorkbookViews>":case"<customWorkbookViews":case"<customWorkbookView":case"</customWorkbookView>":case"<pivotCaches>":case"</pivotCaches>":case"<pivotCaches":case"<pivotCache":case"<smartTagPr":case"<smartTagPr/>":case"<smartTagTypes":case"<smartTagTypes>":case"</smartTagTypes>":case"<smartTagType":case"<webPublishing":case"<webPublishing/>":case"<fileRecoveryPr":case"<fileRecoveryPr/>":case"<webPublishObjects>":case"<webPublishObjects":case"</webPublishObjects>":case"<webPublishObject":case"<extLst":case"<extLst>":case"</extLst>":case"<extLst/>":case"<ArchID":case"<revisionPtr":break;case"<workbook":s.match(sl)&&(a="xmlns"+s.match(/<(\w+):/)[1]),r.xmlns=l[a];break;case"<fileVersion":delete l[0],r.AppVersion=l;break;case"<workbookPr":case"<workbookPr/>":Jc.forEach((function(e){if(null!=l[e[0]])switch(e[2]){case"bool":r.WBProps[e[0]]=_t(l[e[0]]);break;case"int":r.WBProps[e[0]]=parseInt(l[e[0]],10);break;default:r.WBProps[e[0]]=l[e[0]]}})),l.codeName&&(r.WBProps.CodeName=Pt(l.codeName));break;case"<workbookView":case"<workbookView/>":delete l[0],r.WBView.push(l);break;case"<sheet":switch(l.state){case"hidden":l.Hidden=1;break;case"veryHidden":l.Hidden=2;break;default:l.Hidden=0}delete l.state,l.name=yt(Pt(l.name)),delete l[0],r.Sheets.push(l);break;case"<definedNames>":case"<definedNames":case"<ext":case"<AlternateContent":case"<AlternateContent>":n=!0;break;case"</definedNames>":case"</ext>":case"</AlternateContent>":n=!1;break;case"<definedName":(o={}).Name=Pt(l.name),l.comment&&(o.Comment=l.comment),l.localSheetId&&(o.Sheet=+l.localSheetId),_t(l.hidden||"0")&&(o.Hidden=!0),i=c+s.length;break;case"</definedName>":o.Ref=yt(Pt(e.slice(i,c))),r.Names.push(o);break;case"<calcPr":case"<calcPr/>":delete l[0],r.CalcPr=l;break;default:if(!n&&t.WTF)throw new Error("unrecognized "+l[0]+" in workbook")}return s})),-1===Xt.indexOf(r.xmlns))throw new Error("Unknown Namespace: "+r.xmlns);return nl(r),r}(e,r)}function gl(e,t,r,n,a,o,i,s){return".bin"===t.slice(-4)?function(e,t,r,n,a,o,i){if(!e)return e;var s=t||{};n||(n={"!id":{}}),null!=p&&null==s.dense&&(s.dense=p);var c,l,u,f,h,d,g,m,v,b,y=s.dense?[]:{},w={s:{r:2e6,c:2e6},e:{r:0,c:0}},S=[],x=!1,A=!1,k=[];s.biff=12,s["!row"]=0;var T=0,E=!1,_=[],N={},C=s.supbooks||a.supbooks||[[]];if(C.sharedf=N,C.arrayf=_,C.SheetNames=a.SheetNames||a.Sheets.map((function(e){return e.name})),!s.supbooks&&(s.supbooks=C,a.Names))for(var O=0;O<a.Names.length;++O)C[0][O+1]=a.Names[O];var R,P,L=[],I=[],F=!1;if(Zl[16]={n:"BrtShortReal",f:jc},Pr(e,(function(e,t,p){if(!A)switch(p){case 148:c=e;break;case 0:l=e,s.sheetRows&&s.sheetRows<=l.r&&(A=!0),v=Wr(h=l.r),s["!row"]=l.r,(e.hidden||e.hpt||null!=e.level)&&(e.hpt&&(e.hpx=ki(e.hpt)),I[e.r]=e);break;case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 13:case 14:case 15:case 16:case 17:case 18:case 62:switch(u={t:e[2]},e[2]){case"n":u.v=e[1];break;case"s":m=cc[e[1]],u.v=m.t,u.r=m.r;break;case"b":u.v=!!e[1];break;case"e":u.v=e[1],!1!==s.cellText&&(u.w=Bn[u.v]);break;case"str":u.t="s",u.v=e[1];break;case"is":u.t="s",u.v=e[1].t}if((f=i.CellXf[e[0].iStyleRef])&&gc(u,f.numFmtId,null,s,o,i),d=-1==e[0].c?d+1:e[0].c,s.dense?(y[h]||(y[h]=[]),y[h][d]=u):y[Hr(d)+v]=u,s.cellFormula){for(E=!1,T=0;T<_.length;++T){var O=_[T];l.r>=O[0].s.r&&l.r<=O[0].e.r&&d>=O[0].s.c&&d<=O[0].e.c&&(u.F=$r(O[0]),E=!0)}!E&&e.length>3&&(u.f=e[3])}if(w.s.r>l.r&&(w.s.r=l.r),w.s.c>d&&(w.s.c=d),w.e.r<l.r&&(w.e.r=l.r),w.e.c<d&&(w.e.c=d),s.cellDates&&f&&"n"==u.t&&de(j[f.numFmtId])){var D=H(u.v);D&&(u.t="d",u.v=new Date(D.y,D.m-1,D.d,D.H,D.M,D.S,D.u))}R&&("XLDAPR"==R.type&&(u.D=!0),R=void 0),P&&(P=void 0);break;case 1:case 12:if(!s.sheetStubs||x)break;u={t:"z",v:void 0},d=-1==e[0].c?d+1:e[0].c,s.dense?(y[h]||(y[h]=[]),y[h][d]=u):y[Hr(d)+v]=u,w.s.r>l.r&&(w.s.r=l.r),w.s.c>d&&(w.s.c=d),w.e.r<l.r&&(w.e.r=l.r),w.e.c<d&&(w.e.c=d),R&&("XLDAPR"==R.type&&(u.D=!0),R=void 0),P&&(P=void 0);break;case 176:k.push(e);break;case 49:R=((s.xlmeta||{}).Cell||[])[e-1];break;case 494:var M=n["!id"][e.relId];for(M?(e.Target=M.Target,e.loc&&(e.Target+="#"+e.loc),e.Rel=M):""==e.relId&&(e.Target="#"+e.loc),h=e.rfx.s.r;h<=e.rfx.e.r;++h)for(d=e.rfx.s.c;d<=e.rfx.e.c;++d)s.dense?(y[h]||(y[h]=[]),y[h][d]||(y[h][d]={t:"z",v:void 0}),y[h][d].l=e):(g=Vr({c:d,r:h}),y[g]||(y[g]={t:"z",v:void 0}),y[g].l=e);break;case 426:if(!s.cellFormula)break;_.push(e),(b=s.dense?y[h][d]:y[Hr(d)+v]).f=qs(e[1],0,{r:l.r,c:d},C,s),b.F=$r(e[0]);break;case 427:if(!s.cellFormula)break;N[Vr(e[0].s)]=e[1],(b=s.dense?y[h][d]:y[Hr(d)+v]).f=qs(e[1],0,{r:l.r,c:d},C,s);break;case 60:if(!s.cellStyles)break;for(;e.e>=e.s;)L[e.e--]={width:e.w/256,hidden:!!(1&e.flags),level:e.level},F||(F=!0,wi(e.w/256)),Si(L[e.e+1]);break;case 161:y["!autofilter"]={ref:$r(e)};break;case 476:y["!margins"]=e;break;case 147:a.Sheets[r]||(a.Sheets[r]={}),e.name&&(a.Sheets[r].CodeName=e.name),(e.above||e.left)&&(y["!outline"]={above:e.above,left:e.left});break;case 137:a.Views||(a.Views=[{}]),a.Views[0]||(a.Views[0]={}),e.RTL&&(a.Views[0].RTL=!0);break;case 485:case 64:case 1053:case 151:case 152:case 175:case 644:case 625:case 562:case 396:case 1112:case 1146:case 471:case 1050:case 649:case 1105:case 589:case 607:case 564:case 1055:case 168:case 174:case 1180:case 499:case 507:case 550:case 171:case 167:case 1177:case 169:case 1181:case 551:case 552:case 661:case 639:case 478:case 537:case 477:case 536:case 1103:case 680:case 1104:case 1024:case 663:case 535:case 678:case 504:case 1043:case 428:case 170:case 3072:case 50:case 2070:case 1045:break;case 35:x=!0;break;case 36:x=!1;break;case 37:S.push(p),x=!0;break;case 38:S.pop(),x=!1;break;default:if(t.T);else if(!x||s.WTF)throw new Error("Unexpected record 0x"+p.toString(16))}}),s),delete s.supbooks,delete s["!row"],!y["!ref"]&&(w.s.r<2e6||c&&(c.e.r>0||c.e.c>0||c.s.r>0||c.s.c>0))&&(y["!ref"]=$r(c||w)),s.sheetRows&&y["!ref"]){var D=Gr(y["!ref"]);s.sheetRows<=+D.e.r&&(D.e.r=s.sheetRows-1,D.e.r>w.e.r&&(D.e.r=w.e.r),D.e.r<D.s.r&&(D.s.r=D.e.r),D.e.c>w.e.c&&(D.e.c=w.e.c),D.e.c<D.s.c&&(D.s.c=D.e.c),y["!fullref"]=y["!ref"],y["!ref"]=$r(D))}return k.length>0&&(y["!merges"]=k),L.length>0&&(y["!cols"]=L),I.length>0&&(y["!rows"]=I),y}(e,n,r,a,o,i,s):_c(e,n,r,a,o,i,s)}function ml(e,t,r,n,a,o,i,s){return".bin"===t.slice(-4)?function(e,t,r,n,a){if(!e)return e;n||(n={"!id":{}});var o={"!type":"chart","!drawel":null,"!rel":""},i=[],s=!1;return Pr(e,(function(e,n,c){switch(c){case 550:o["!rel"]=e;break;case 651:a.Sheets[r]||(a.Sheets[r]={}),e.name&&(a.Sheets[r].CodeName=e.name);break;case 562:case 652:case 669:case 679:case 551:case 552:case 476:case 3072:break;case 35:s=!0;break;case 36:s=!1;break;case 37:i.push(c);break;case 38:i.pop();break;default:if(n.T>0)i.push(c);else if(n.T<0)i.pop();else if(!s||t.WTF)throw new Error("Unexpected record 0x"+c.toString(16))}}),t),n["!id"][o["!rel"]]&&(o["!drawel"]=n["!id"][o["!rel"]]),o}(e,n,r,a,o):function(e,t,r,n,a){if(!e)return e;n||(n={"!id":{}});var o,i={"!type":"chart","!drawel":null,"!rel":""},s=e.match(kc);return s&&Nc(s[0],0,a,r),(o=e.match(/drawing r:id="(.*?)"/))&&(i["!rel"]=o[1]),n["!id"][i["!rel"]]&&(i["!drawel"]=n["!id"][i["!rel"]]),i}(e,0,r,a,o)}function vl(e,t,r,n){return".bin"===t.slice(-4)?function(e,t,r){var n={NumberFmt:[]};for(var a in j)n.NumberFmt[a]=j[a];n.CellXf=[],n.Fonts=[];var o=[],i=!1;return Pr(e,(function(e,a,s){switch(s){case 44:n.NumberFmt[e[0]]=e[1],be(e[1],e[0]);break;case 43:n.Fonts.push(e),null!=e.color.theme&&t&&t.themeElements&&t.themeElements.clrScheme&&(e.color.rgb=fi(t.themeElements.clrScheme[e.color.theme].rgb,e.color.tint||0));break;case 1025:case 45:case 46:case 48:case 507:case 572:case 475:case 1171:case 2102:case 1130:case 512:case 2095:case 3072:break;case 47:617==o[o.length-1]&&n.CellXf.push(e);break;case 35:i=!0;break;case 36:i=!1;break;case 37:o.push(s),i=!0;break;case 38:o.pop(),i=!1;break;default:if(a.T>0)o.push(s);else if(a.T<0)o.pop();else if(!i||r.WTF&&37!=o[o.length-1])throw new Error("Unexpected record 0x"+s.toString(16))}})),n}(e,r,n):Ci(e,r,n)}function bl(e,t,r){return".bin"===t.slice(-4)?function(e,t){var r=[],n=!1;return Pr(e,(function(e,a,o){switch(o){case 159:r.Count=e[0],r.Unique=e[1];break;case 19:r.push(e);break;case 160:return!0;case 35:n=!0;break;case 36:n=!1;break;default:if(a.T,!n||t.WTF)throw new Error("Unexpected record 0x"+o.toString(16))}})),r}(e,r):function(e,t){var r=[],n="";if(!e)return r;var a=e.match(zo);if(a){n=a[2].replace(Vo,"").split(qo);for(var o=0;o!=n.length;++o){var i=Ho(n[o].trim(),t);null!=i&&(r[r.length]=i)}a=gt(a[1]),r.Count=a.count,r.Unique=a.uniqueCount}return r}(e,r)}function yl(e,t,r){return".bin"===t.slice(-4)?function(e,t){var r=[],n=[],a={},o=!1;return Pr(e,(function(e,i,s){switch(s){case 632:n.push(e);break;case 635:a=e;break;case 637:a.t=e.t,a.h=e.h,a.r=e.r;break;case 636:if(a.author=n[a.iauthor],delete a.iauthor,t.sheetRows&&a.rfx&&t.sheetRows<=a.rfx.r)break;a.t||(a.t=""),delete a.rfx,r.push(a);break;case 3072:case 37:case 38:break;case 35:o=!0;break;case 36:o=!1;break;default:if(i.T);else if(!o||t.WTF)throw new Error("Unexpected record 0x"+s.toString(16))}})),r}(e,r):function(e,t){if(e.match(/<(?:\w+:)?comments *\/>/))return[];var r=[],n=[],a=e.match(/<(?:\w+:)?authors>([\s\S]*)<\/(?:\w+:)?authors>/);a&&a[1]&&a[1].split(/<\/\w*:?author>/).forEach((function(e){if(""!==e&&""!==e.trim()){var t=e.match(/<(?:\w+:)?author[^>]*>(.*)/);t&&r.push(t[1])}}));var o=e.match(/<(?:\w+:)?commentList>([\s\S]*)<\/(?:\w+:)?commentList>/);return o&&o[1]&&o[1].split(/<\/\w*:?comment>/).forEach((function(e){if(""!==e&&""!==e.trim()){var a=e.match(/<(?:\w+:)?comment[^>]*>/);if(a){var o=gt(a[0]),i={author:o.authorId&&r[o.authorId]||"sheetjsghost",ref:o.ref,guid:o.guid},s=zr(o.ref);if(!(t.sheetRows&&t.sheetRows<=s.r)){var c=e.match(/<(?:\w+:)?text>([\s\S]*)<\/(?:\w+:)?text>/),l=!!c&&!!c[1]&&Ho(c[1])||{r:"",t:"",h:""};i.r=l.r,"<t></t>"==l.r&&(l.t=l.h=""),i.t=(l.t||"").replace(/\r\n/g,"\n").replace(/\r/g,"\n"),t.cellHTML&&(i.h=l.h),n.push(i)}}}})),n}(e,r)}function wl(e,t,r){return".bin"===t.slice(-4)?function(e,t,r){var n=[];return Pr(e,(function(e,t,r){if(63===r)n.push(e);else if(!t.T)throw new Error("Unexpected record 0x"+r.toString(16))})),n}(e):function(e){var t=[];if(!e)return t;var r=1;return(e.match(ht)||[]).forEach((function(e){var n=gt(e);switch(n[0]){case"<?xml":case"<calcChain":case"<calcChain>":case"</calcChain>":break;case"<c":delete n[0],n.i?r=n.i:n.i=r,t.push(n)}})),t}(e)}function Sl(e,t,r,n){if(".bin"===r.slice(-4))return function(e,t,r,n){if(!e)return e;var a=n||{},o=!1;Pr(e,(function(e,t,r){switch(r){case 359:case 363:case 364:case 366:case 367:case 368:case 369:case 370:case 371:case 472:case 577:case 578:case 579:case 580:case 581:case 582:case 583:case 584:case 585:case 586:case 587:break;case 35:o=!0;break;case 36:o=!1;break;default:if(t.T);else if(!o||a.WTF)throw new Error("Unexpected record 0x"+r.toString(16))}}),a)}(e,0,0,n)}function xl(e,t,r){return".bin"===t.slice(-4)?function(e,t,r){var n={Types:[],Cell:[],Value:[]},a=r||{},o=[],i=!1,s=2;return Pr(e,(function(e,t,r){switch(r){case 335:n.Types.push({name:e.name});break;case 51:e.forEach((function(e){1==s?n.Cell.push({type:n.Types[e[0]-1].name,index:e[1]}):0==s&&n.Value.push({type:n.Types[e[0]-1].name,index:e[1]})}));break;case 337:s=e?1:0;break;case 338:s=2;break;case 35:o.push(r),i=!0;break;case 36:o.pop(),i=!1;break;default:if(t.T);else if(!i||a.WTF&&35!=o[o.length-1])throw new Error("Unexpected record 0x"+r.toString(16))}})),n}(e,0,r):function(e,t,r){var n={Types:[],Cell:[],Value:[]};if(!e)return n;var a,o=!1,i=2;return e.replace(ht,(function(e){var t=gt(e);switch(mt(t[0])){case"<?xml":case"<metadata":case"</metadata>":case"<metadataTypes":case"</metadataTypes>":case"</metadataType>":case"</futureMetadata>":case"<bk>":case"</bk>":case"</rc>":case"<extLst":case"<extLst>":case"</extLst>":case"<extLst/>":break;case"<metadataType":n.Types.push({name:t.name});break;case"<futureMetadata":for(var s=0;s<n.Types.length;++s)n.Types[s].name==t.name&&(a=n.Types[s]);break;case"<rc":1==i?n.Cell.push({type:n.Types[t.t-1].name,index:+t.v}):0==i&&n.Value.push({type:n.Types[t.t-1].name,index:+t.v});break;case"<cellMetadata":i=1;break;case"</cellMetadata>":case"</valueMetadata>":i=2;break;case"<valueMetadata":i=0;break;case"<ext":o=!0;break;case"</ext>":o=!1;break;case"<rvb":if(!a)break;a.offsets||(a.offsets=[]),a.offsets.push(+t.i);break;default:if(!o&&r.WTF)throw new Error("unrecognized "+t[0]+" in metadata")}return e})),n}(e,0,r)}function Al(e,t,r,n,a){return(".bin"===t.slice(-4)?Yc:Ic)(e,r,n,a)}function kl(e,t,r){return(".bin"===t.slice(-4)?fs:cs)(e,r)}var Tl,El=/([\w:]+)=((?:")([^"]*)(?:")|(?:')([^']*)(?:'))/g,_l=/([\w:]+)=((?:")(?:[^"]*)(?:")|(?:')(?:[^']*)(?:'))/;function Nl(e,t){var r=e.split(/\s+/),n=[];if(t||(n[0]=r[0]),1===r.length)return n;var a,o,i,s=e.match(El);if(s)for(i=0;i!=s.length;++i)-1===(o=(a=s[i].match(_l))[1].indexOf(":"))?n[a[1]]=a[2].slice(1,a[2].length-1):n["xmlns:"===a[1].slice(0,6)?"xmlns"+a[1].slice(6):a[1].slice(o+1)]=a[2].slice(1,a[2].length-1);return n}function Cl(e){var t={};if(1===e.split(/\s+/).length)return t;var r,n,a,o=e.match(El);if(o)for(a=0;a!=o.length;++a)-1===(n=(r=o[a].match(_l))[1].indexOf(":"))?t[r[1]]=r[2].slice(1,r[2].length-1):t["xmlns:"===r[1].slice(0,6)?"xmlns"+r[1].slice(6):r[1].slice(n+1)]=r[2].slice(1,r[2].length-1);return t}function Ol(e,t,r,n){var a=n;switch((r[0].match(/dt:dt="([\w.]+)"/)||["",""])[1]){case"boolean":a=_t(n);break;case"i2":case"int":a=parseInt(n,10);break;case"r4":case"float":a=parseFloat(n);break;case"date":case"dateTime.tz":a=ze(n);break;case"i8":case"string":case"fixed":case"uuid":case"bin.base64":break;default:throw new Error("bad custprop:"+r[0])}e[yt(t)]=a}function Rl(e,t,r){if("z"!==e.t){if(!r||!1!==r.cellText)try{"e"===e.t?e.w=e.w||Bn[e.v]:"General"===t?"n"===e.t?(0|e.v)===e.v?e.w=e.v.toString(10):e.w=Y(e.v):e.w=K(e.v):e.w=function(e,t){var r=Tl[e]||yt(e);return"General"===r?K(t):ve(r,t)}(t||"General",e.v)}catch(e){if(r.WTF)throw e}try{var n=Tl[t]||t||"General";if(r.cellNF&&(e.z=n),r.cellDates&&"n"==e.t&&de(n)){var a=H(e.v);a&&(e.t="d",e.v=new Date(a.y,a.m-1,a.d,a.H,a.M,a.S,a.u))}}catch(e){if(r.WTF)throw e}}}function Pl(e,t,r){if(r.cellStyles&&t.Interior){var n=t.Interior;n.Pattern&&(n.patternType=Ti[n.Pattern]||n.Pattern)}e[t.ID]=t}function Ll(e,t,r,n,a,o,i,s,c,l){var u="General",f=n.StyleID,h={};l=l||{};var d=[],p=0;for(void 0===f&&s&&(f=s.StyleID),void 0===f&&i&&(f=i.StyleID);void 0!==o[f]&&(o[f].nf&&(u=o[f].nf),o[f].Interior&&d.push(o[f].Interior),o[f].Parent);)f=o[f].Parent;switch(r.Type){case"Boolean":n.t="b",n.v=_t(e);break;case"String":n.t="s",n.r=Et(yt(e)),n.v=e.indexOf("<")>-1?yt(t||e).replace(/<.*?>/g,""):n.r;break;case"DateTime":"Z"!=e.slice(-1)&&(e+="Z"),n.v=(ze(e)-new Date(Date.UTC(1899,11,30)))/864e5,n.v!=n.v?n.v=yt(e):n.v<60&&(n.v=n.v-1),u&&"General"!=u||(u="yyyy-mm-dd");case"Number":void 0===n.v&&(n.v=+e),n.t||(n.t="n");break;case"Error":n.t="e",n.v=Wn[e],!1!==l.cellText&&(n.w=e);break;default:""==e&&""==t?n.t="z":(n.t="s",n.v=Et(t||e))}if(Rl(n,u,l),!1!==l.cellFormula)if(n.Formula){var g=yt(n.Formula);61==g.charCodeAt(0)&&(g=g.slice(1)),n.f=ps(g,a),delete n.Formula,"RC"==n.ArrayRange?n.F=ps("RC:RC",a):n.ArrayRange&&(n.F=ps(n.ArrayRange,a),c.push([Gr(n.F),n.F]))}else for(p=0;p<c.length;++p)a.r>=c[p][0].s.r&&a.r<=c[p][0].e.r&&a.c>=c[p][0].s.c&&a.c<=c[p][0].e.c&&(n.F=c[p][1]);l.cellStyles&&(d.forEach((function(e){!h.patternType&&e.patternType&&(h.patternType=e.patternType)})),n.s=h),void 0!==n.StyleID&&(n.ixfe=n.StyleID)}function Il(e){e.t=e.v||"",e.t=e.t.replace(/\r\n/g,"\n").replace(/\r/g,"\n"),e.v=e.w=e.ixfe=void 0}function Fl(e,r){var n=r||{};we();var a=f(qt(e));"binary"!=n.type&&"array"!=n.type&&"base64"!=n.type||(a=void 0!==t?t.utils.decode(65001,l(a)):Pt(a));var o,i=a.slice(0,1024).toLowerCase(),s=!1;if((1023&(i=i.replace(/".*?"/g,"")).indexOf(">"))>Math.min(1023&i.indexOf(","),1023&i.indexOf(";"))){var c=qe(n);return c.type="string",Io.to_workbook(a,c)}if(-1==i.indexOf("<?xml")&&["html","table","head","meta","script","style","div"].forEach((function(e){i.indexOf("<"+e)>=0&&(s=!0)})),s)return function(e,t){var r=e.match(/<table[\s\S]*?>[\s\S]*?<\/table>/gi);if(!r||0==r.length)throw new Error("Invalid HTML: could not find <table>");if(1==r.length)return Kr(uu(r[0],t),t);var n={SheetNames:[],Sheets:{}};return r.forEach((function(e,r){If(n,uu(e,t),"Sheet"+(r+1))})),n}(a,n);Tl={"General Number":"General","General Date":j[22],"Long Date":"dddd, mmmm dd, yyyy","Medium Date":j[15],"Short Date":j[14],"Long Time":j[19],"Medium Time":j[18],"Short Time":j[20],Currency:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',Fixed:j[2],Standard:j[4],Percent:j[10],Scientific:j[11],"Yes/No":'"Yes";"Yes";"No";@',"True/False":'"True";"True";"False";@',"On/Off":'"Yes";"Yes";"No";@'};var u,h=[];null!=p&&null==n.dense&&(n.dense=p);var d,g={},m=[],v=n.dense?[]:{},b="",y={},w={},S=Nl('<Data ss:Type="String">'),x=0,A=0,k=0,T={s:{r:2e6,c:2e6},e:{r:0,c:0}},E={},_={},N="",C=0,O=[],R={},P={},L=0,I=[],F=[],D={},M=[],B=!1,W=[],U=[],H={},z=0,V=0,q={Sheets:[],WBProps:{date1904:!1}},$={};$t.lastIndex=0,a=a.replace(/<!--([\s\S]*?)-->/gm,"");for(var G="";o=$t.exec(a);)switch(o[3]=(G=o[3]).toLowerCase()){case"data":if("data"==G){if("/"===o[1]){if((u=h.pop())[0]!==o[3])throw new Error("Bad state: "+u.join("|"))}else"/"!==o[0].charAt(o[0].length-2)&&h.push([o[3],!0]);break}if(h[h.length-1][1])break;"/"===o[1]?Ll(a.slice(x,o.index),N,S,"comment"==h[h.length-1][0]?D:y,{c:A,r:k},E,M[A],w,W,n):(N="",S=Nl(o[0]),x=o.index+o[0].length);break;case"cell":if("/"===o[1])if(F.length>0&&(y.c=F),(!n.sheetRows||n.sheetRows>k)&&void 0!==y.v&&(n.dense?(v[k]||(v[k]=[]),v[k][A]=y):v[Hr(A)+Wr(k)]=y),y.HRef&&(y.l={Target:yt(y.HRef)},y.HRefScreenTip&&(y.l.Tooltip=y.HRefScreenTip),delete y.HRef,delete y.HRefScreenTip),(y.MergeAcross||y.MergeDown)&&(z=A+(0|parseInt(y.MergeAcross,10)),V=k+(0|parseInt(y.MergeDown,10)),O.push({s:{c:A,r:k},e:{c:z,r:V}})),n.sheetStubs)if(y.MergeAcross||y.MergeDown){for(var X=A;X<=z;++X)for(var Y=k;Y<=V;++Y)(X>A||Y>k)&&(n.dense?(v[Y]||(v[Y]=[]),v[Y][X]={t:"z"}):v[Hr(X)+Wr(Y)]={t:"z"});A=z+1}else++A;else y.MergeAcross?A=z+1:++A;else(y=Cl(o[0])).Index&&(A=+y.Index-1),A<T.s.c&&(T.s.c=A),A>T.e.c&&(T.e.c=A),"/>"===o[0].slice(-2)&&++A,F=[];break;case"row":"/"===o[1]||"/>"===o[0].slice(-2)?(k<T.s.r&&(T.s.r=k),k>T.e.r&&(T.e.r=k),"/>"===o[0].slice(-2)&&(w=Nl(o[0])).Index&&(k=+w.Index-1),A=0,++k):((w=Nl(o[0])).Index&&(k=+w.Index-1),H={},("0"==w.AutoFitHeight||w.Height)&&(H.hpx=parseInt(w.Height,10),H.hpt=Ai(H.hpx),U[k]=H),"1"==w.Hidden&&(H.hidden=!0,U[k]=H));break;case"worksheet":if("/"===o[1]){if((u=h.pop())[0]!==o[3])throw new Error("Bad state: "+u.join("|"));m.push(b),T.s.r<=T.e.r&&T.s.c<=T.e.c&&(v["!ref"]=$r(T),n.sheetRows&&n.sheetRows<=T.e.r&&(v["!fullref"]=v["!ref"],T.e.r=n.sheetRows-1,v["!ref"]=$r(T))),O.length&&(v["!merges"]=O),M.length>0&&(v["!cols"]=M),U.length>0&&(v["!rows"]=U),g[b]=v}else T={s:{r:2e6,c:2e6},e:{r:0,c:0}},k=A=0,h.push([o[3],!1]),u=Nl(o[0]),b=yt(u.Name),v=n.dense?[]:{},O=[],W=[],U=[],$={name:b,Hidden:0},q.Sheets.push($);break;case"table":if("/"===o[1]){if((u=h.pop())[0]!==o[3])throw new Error("Bad state: "+u.join("|"))}else{if("/>"==o[0].slice(-2))break;h.push([o[3],!1]),M=[],B=!1}break;case"style":"/"===o[1]?Pl(E,_,n):_=Nl(o[0]);break;case"numberformat":_.nf=yt(Nl(o[0]).Format||"General"),Tl[_.nf]&&(_.nf=Tl[_.nf]);for(var K=0;392!=K&&j[K]!=_.nf;++K);if(392==K)for(K=57;392!=K;++K)if(null==j[K]){be(_.nf,K);break}break;case"column":if("table"!==h[h.length-1][0])break;if((d=Nl(o[0])).Hidden&&(d.hidden=!0,delete d.Hidden),d.Width&&(d.wpx=parseInt(d.Width,10)),!B&&d.wpx>10){B=!0,gi=hi;for(var J=0;J<M.length;++J)M[J]&&Si(M[J])}B&&Si(d),M[d.Index-1||M.length]=d;for(var Z=0;Z<+d.Span;++Z)M[M.length]=qe(d);break;case"namedrange":if("/"===o[1])break;q.Names||(q.Names=[]);var Q=gt(o[0]),ee={Name:Q.Name,Ref:ps(Q.RefersTo.slice(1),{r:0,c:0})};q.Sheets.length>0&&(ee.Sheet=q.Sheets.length-1),q.Names.push(ee);break;case"namedcell":case"b":case"i":case"u":case"s":case"em":case"h2":case"h3":case"sub":case"sup":case"span":case"alignment":case"borders":case"border":case"protection":case"paragraphs":case"name":case"pixelsperinch":case"null":break;case"font":if("/>"===o[0].slice(-2))break;"/"===o[1]?N+=a.slice(C,o.index):C=o.index+o[0].length;break;case"interior":if(!n.cellStyles)break;_.Interior=Nl(o[0]);break;case"author":case"title":case"description":case"created":case"keywords":case"subject":case"category":case"company":case"lastauthor":case"lastsaved":case"lastprinted":case"version":case"revision":case"totaltime":case"hyperlinkbase":case"manager":case"contentstatus":case"identifier":case"language":case"appname":if("/>"===o[0].slice(-2))break;"/"===o[1]?ha(R,G,a.slice(L,o.index)):L=o.index+o[0].length;break;case"styles":case"workbook":if("/"===o[1]){if((u=h.pop())[0]!==o[3])throw new Error("Bad state: "+u.join("|"))}else h.push([o[3],!1]);break;case"comment":if("/"===o[1]){if((u=h.pop())[0]!==o[3])throw new Error("Bad state: "+u.join("|"));Il(D),F.push(D)}else h.push([o[3],!1]),D={a:(u=Nl(o[0])).Author};break;case"autofilter":if("/"===o[1]){if((u=h.pop())[0]!==o[3])throw new Error("Bad state: "+u.join("|"))}else if("/"!==o[0].charAt(o[0].length-2)){var te=Nl(o[0]);v["!autofilter"]={ref:ps(te.Range).replace(/\$/g,"")},h.push([o[3],!0])}break;case"datavalidation":if("/"===o[1]){if((u=h.pop())[0]!==o[3])throw new Error("Bad state: "+u.join("|"))}else"/"!==o[0].charAt(o[0].length-2)&&h.push([o[3],!0]);break;case"componentoptions":case"documentproperties":case"customdocumentproperties":case"officedocumentsettings":case"pivottable":case"pivotcache":case"names":case"mapinfo":case"pagebreaks":case"querytable":case"sorting":case"schema":case"conditionalformatting":case"smarttagtype":case"smarttags":case"excelworkbook":case"workbookoptions":case"worksheetoptions":if("/"===o[1]){if((u=h.pop())[0]!==o[3])throw new Error("Bad state: "+u.join("|"))}else"/"!==o[0].charAt(o[0].length-2)&&h.push([o[3],!0]);break;default:if(0==h.length&&"document"==o[3])return Au(a,n);if(0==h.length&&"uof"==o[3])return Au(a,n);var re=!0;switch(h[h.length-1][0]){case"officedocumentsettings":switch(o[3]){case"allowpng":case"removepersonalinformation":case"downloadcomponents":case"locationofcomponents":case"colors":case"color":case"index":case"rgb":case"targetscreensize":case"readonlyrecommended":break;default:re=!1}break;case"componentoptions":switch(o[3]){case"toolbar":case"hideofficelogo":case"spreadsheetautofit":case"label":case"caption":case"maxheight":case"maxwidth":case"nextsheetnumber":break;default:re=!1}break;case"excelworkbook":switch(o[3]){case"date1904":q.WBProps.date1904=!0;break;case"windowheight":case"windowwidth":case"windowtopx":case"windowtopy":case"tabratio":case"protectstructure":case"protectwindow":case"protectwindows":case"activesheet":case"displayinknotes":case"firstvisiblesheet":case"supbook":case"sheetname":case"sheetindex":case"sheetindexfirst":case"sheetindexlast":case"dll":case"acceptlabelsinformulas":case"donotsavelinkvalues":case"iteration":case"maxiterations":case"maxchange":case"path":case"xct":case"count":case"selectedsheets":case"calculation":case"uncalced":case"startupprompt":case"crn":case"externname":case"formula":case"colfirst":case"collast":case"wantadvise":case"boolean":case"error":case"text":case"ole":case"noautorecover":case"publishobjects":case"donotcalculatebeforesave":case"number":case"refmoder1c1":case"embedsavesmarttags":break;default:re=!1}break;case"workbookoptions":switch(o[3]){case"owcversion":case"height":case"width":break;default:re=!1}break;case"worksheetoptions":switch(o[3]){case"visible":if("/>"===o[0].slice(-2));else if("/"===o[1])switch(a.slice(L,o.index)){case"SheetHidden":$.Hidden=1;break;case"SheetVeryHidden":$.Hidden=2}else L=o.index+o[0].length;break;case"header":v["!margins"]||dc(v["!margins"]={},"xlml"),isNaN(+gt(o[0]).Margin)||(v["!margins"].header=+gt(o[0]).Margin);break;case"footer":v["!margins"]||dc(v["!margins"]={},"xlml"),isNaN(+gt(o[0]).Margin)||(v["!margins"].footer=+gt(o[0]).Margin);break;case"pagemargins":var ne=gt(o[0]);v["!margins"]||dc(v["!margins"]={},"xlml"),isNaN(+ne.Top)||(v["!margins"].top=+ne.Top),isNaN(+ne.Left)||(v["!margins"].left=+ne.Left),isNaN(+ne.Right)||(v["!margins"].right=+ne.Right),isNaN(+ne.Bottom)||(v["!margins"].bottom=+ne.Bottom);break;case"displayrighttoleft":q.Views||(q.Views=[]),q.Views[0]||(q.Views[0]={}),q.Views[0].RTL=!0;break;case"freezepanes":case"frozennosplit":case"splithorizontal":case"splitvertical":case"donotdisplaygridlines":case"activerow":case"activecol":case"toprowbottompane":case"leftcolumnrightpane":case"unsynced":case"print":case"printerrors":case"panes":case"scale":case"pane":case"number":case"layout":case"pagesetup":case"selected":case"protectobjects":case"enableselection":case"protectscenarios":case"validprinterinfo":case"horizontalresolution":case"verticalresolution":case"numberofcopies":case"activepane":case"toprowvisible":case"leftcolumnvisible":case"fittopage":case"rangeselection":case"papersizeindex":case"pagelayoutzoom":case"pagebreakzoom":case"filteron":case"fitwidth":case"fitheight":case"commentslayout":case"zoom":case"lefttoright":case"gridlines":case"allowsort":case"allowfilter":case"allowinsertrows":case"allowdeleterows":case"allowinsertcols":case"allowdeletecols":case"allowinserthyperlinks":case"allowformatcells":case"allowsizecols":case"allowsizerows":case"tabcolorindex":case"donotdisplayheadings":case"showpagelayoutzoom":case"blackandwhite":case"donotdisplayzeros":case"displaypagebreak":case"rowcolheadings":case"donotdisplayoutline":case"noorientation":case"allowusepivottables":case"zeroheight":case"viewablerange":case"selection":case"protectcontents":break;case"nosummaryrowsbelowdetail":v["!outline"]||(v["!outline"]={}),v["!outline"].above=!0;break;case"nosummarycolumnsrightdetail":v["!outline"]||(v["!outline"]={}),v["!outline"].left=!0;break;default:re=!1}break;case"pivottable":case"pivotcache":switch(o[3]){case"immediateitemsondrop":case"showpagemultipleitemlabel":case"compactrowindent":case"location":case"pivotfield":case"orientation":case"layoutform":case"layoutsubtotallocation":case"layoutcompactrow":case"position":case"pivotitem":case"datatype":case"datafield":case"sourcename":case"parentfield":case"ptlineitems":case"ptlineitem":case"countofsameitems":case"item":case"itemtype":case"ptsource":case"cacheindex":case"consolidationreference":case"filename":case"reference":case"nocolumngrand":case"norowgrand":case"blanklineafteritems":case"hidden":case"subtotal":case"basefield":case"mapchilditems":case"function":case"refreshonfileopen":case"printsettitles":case"mergelabels":case"defaultversion":case"refreshname":case"refreshdate":case"refreshdatecopy":case"versionlastrefresh":case"versionlastupdate":case"versionupdateablemin":case"versionrefreshablemin":case"calculation":break;default:re=!1}break;case"pagebreaks":switch(o[3]){case"colbreaks":case"colbreak":case"rowbreaks":case"rowbreak":case"colstart":case"colend":case"rowend":break;default:re=!1}break;case"autofilter":switch(o[3]){case"autofiltercolumn":case"autofiltercondition":case"autofilterand":case"autofilteror":break;default:re=!1}break;case"querytable":switch(o[3]){case"id":case"autoformatfont":case"autoformatpattern":case"querysource":case"querytype":case"enableredirections":case"refreshedinxl9":case"urlstring":case"htmltables":case"connection":case"commandtext":case"refreshinfo":case"notitles":case"nextid":case"columninfo":case"overwritecells":case"donotpromptforfile":case"textwizardsettings":case"source":case"number":case"decimal":case"thousandseparator":case"trailingminusnumbers":case"formatsettings":case"fieldtype":case"delimiters":case"tab":case"comma":case"autoformatname":case"versionlastedit":case"versionlastrefresh":break;default:re=!1}break;case"datavalidation":switch(o[3]){case"range":case"type":case"min":case"max":case"sort":case"descending":case"order":case"casesensitive":case"value":case"errorstyle":case"errormessage":case"errortitle":case"inputmessage":case"inputtitle":case"combohide":case"inputhide":case"condition":case"qualifier":case"useblank":case"value1":case"value2":case"format":case"cellrangelist":break;default:re=!1}break;case"sorting":case"conditionalformatting":switch(o[3]){case"range":case"type":case"min":case"max":case"sort":case"descending":case"order":case"casesensitive":case"value":case"errorstyle":case"errormessage":case"errortitle":case"cellrangelist":case"inputmessage":case"inputtitle":case"combohide":case"inputhide":case"condition":case"qualifier":case"useblank":case"value1":case"value2":case"format":break;default:re=!1}break;case"mapinfo":case"schema":case"data":switch(o[3]){case"map":case"entry":case"range":case"xpath":case"field":case"xsdtype":case"filteron":case"aggregate":case"elementtype":case"attributetype":case"schema":case"element":case"complextype":case"datatype":case"all":case"attribute":case"extends":case"row":break;default:re=!1}break;case"smarttags":break;default:re=!1}if(re)break;if(o[3].match(/!\[CDATA/))break;if(!h[h.length-1][1])throw"Unrecognized tag: "+o[3]+"|"+h.join("|");if("customdocumentproperties"===h[h.length-1][0]){if("/>"===o[0].slice(-2))break;"/"===o[1]?Ol(P,G,I,a.slice(L,o.index)):(I=o,L=o.index+o[0].length);break}if(n.WTF)throw"Unrecognized tag: "+o[3]+"|"+h.join("|")}var ae={};return n.bookSheets||n.bookProps||(ae.Sheets=g),ae.SheetNames=m,ae.Workbook=q,ae.SSF=qe(j),ae.Props=R,ae.Custprops=P,ae}function Dl(e,t){switch(tf(t=t||{}),t.type||"base64"){case"base64":return Fl(v(e),t);case"binary":case"buffer":case"file":return Fl(e,t);case"array":return Fl(k(e),t)}}function Ml(e,t){var r=[];return e.Props&&r.push(function(e,t){var r=[];return Ce(fa).map((function(e){for(var t=0;t<Qn.length;++t)if(Qn[t][1]==e)return Qn[t];for(t=0;t<aa.length;++t)if(aa[t][1]==e)return aa[t];throw e})).forEach((function(n){if(null!=e[n[1]]){var a=t&&t.Props&&null!=t.Props[n[1]]?t.Props[n[1]]:e[n[1]];"date"===n[2]&&(a=new Date(a).toISOString().replace(/\.\d*Z/,"Z")),"number"==typeof a?a=String(a):!0===a||!1===a?a=a?"1":"0":a instanceof Date&&(a=new Date(a).toISOString().replace(/\.\d*Z/,"")),r.push(Ut(fa[n[1]]||n[1],a))}})),zt("DocumentProperties",r.join(""),{xmlns:Yt.o})}(e.Props,t)),e.Custprops&&r.push(function(e,t){var r=["Worksheets","SheetNames"],n="CustomDocumentProperties",a=[];return e&&Ce(e).forEach((function(t){if(Object.prototype.hasOwnProperty.call(e,t)){for(var n=0;n<Qn.length;++n)if(t==Qn[n][1])return;for(n=0;n<aa.length;++n)if(t==aa[n][1])return;for(n=0;n<r.length;++n)if(t==r[n])return;var o=e[t],i="string";"number"==typeof o?(i="float",o=String(o)):!0===o||!1===o?(i="boolean",o=o?"1":"0"):o=String(o),a.push(zt(At(t),o,{"dt:dt":i}))}})),t&&Ce(t).forEach((function(r){if(Object.prototype.hasOwnProperty.call(t,r)&&(!e||!Object.prototype.hasOwnProperty.call(e,r))){var n=t[r],o="string";"number"==typeof n?(o="float",n=String(n)):!0===n||!1===n?(o="boolean",n=n?"1":"0"):n instanceof Date?(o="dateTime.tz",n=n.toISOString()):n=String(n),a.push(zt(At(r),n,{"dt:dt":o}))}})),"<"+n+' xmlns="'+Yt.o+'">'+a.join("")+"</"+n+">"}(e.Props,e.Custprops)),r.join("")}function jl(e){return zt("NamedRange",null,{"ss:Name":e.Name,"ss:RefersTo":"="+ms(e.Ref,{r:0,c:0})})}function Bl(e,t,r,n,a,o,i){if(!e||null==e.v&&null==e.f)return"";var s={};if(e.f&&(s["ss:Formula"]="="+xt(ms(e.f,i))),e.F&&e.F.slice(0,t.length)==t){var c=zr(e.F.slice(t.length+1));s["ss:ArrayRange"]="RC:R"+(c.r==i.r?"":"["+(c.r-i.r)+"]")+"C"+(c.c==i.c?"":"["+(c.c-i.c)+"]")}if(e.l&&e.l.Target&&(s["ss:HRef"]=xt(e.l.Target),e.l.Tooltip&&(s["x:HRefScreenTip"]=xt(e.l.Tooltip))),r["!merges"])for(var l=r["!merges"],u=0;u!=l.length;++u)l[u].s.c==i.c&&l[u].s.r==i.r&&(l[u].e.c>l[u].s.c&&(s["ss:MergeAcross"]=l[u].e.c-l[u].s.c),l[u].e.r>l[u].s.r&&(s["ss:MergeDown"]=l[u].e.r-l[u].s.r));var f="",h="";switch(e.t){case"z":if(!n.sheetStubs)return"";break;case"n":f="Number",h=String(e.v);break;case"b":f="Boolean",h=e.v?"1":"0";break;case"e":f="Error",h=Bn[e.v];break;case"d":f="DateTime",h=new Date(e.v).toISOString(),null==e.z&&(e.z=e.z||j[14]);break;case"s":f="String",h=function(e){return(e+"").replace(wt,(function(e){return bt[e]})).replace(kt,(function(e){return"&#x"+e.charCodeAt(0).toString(16).toUpperCase()+";"}))}(e.v||"")}var d=pc(n.cellXfs,e,n);s["ss:StyleID"]="s"+(21+d),s["ss:Index"]=i.c+1;var p=null!=e.v?h:"",g="z"==e.t?"":'<Data ss:Type="'+f+'">'+p+"</Data>";return(e.c||[]).length>0&&(g+=function(e){return e.map((function(e){var t=function(e){return e.replace(/(\r\n|[\r\n])/g," ")}(e.t||""),r=zt("ss:Data",t,{xmlns:"http://www.w3.org/TR/REC-html40"});return zt("Comment",r,{"ss:Author":e.a})})).join("")}(e.c)),zt("Cell",g,s)}function Wl(e,t){var r='<Row ss:Index="'+(e+1)+'"';return t&&(t.hpt&&!t.hpx&&(t.hpx=ki(t.hpt)),t.hpx&&(r+=' ss:AutoFitHeight="0" ss:Height="'+t.hpx+'"'),t.hidden&&(r+=' ss:Hidden="1"')),r+">"}function Ul(e,t,r){var n=[],a=r.SheetNames[e],o=r.Sheets[a],i=o?function(e,t,r,n){if(!e)return"";if(!((n||{}).Workbook||{}).Names)return"";for(var a=n.Workbook.Names,o=[],i=0;i<a.length;++i){var s=a[i];s.Sheet==r&&(s.Name.match(/^_xlfn\./)||o.push(jl(s)))}return o.join("")}(o,0,e,r):"";return i.length>0&&n.push("<Names>"+i+"</Names>"),i=o?function(e,t,r,n){if(!e["!ref"])return"";var a=Gr(e["!ref"]),o=e["!merges"]||[],i=0,s=[];e["!cols"]&&e["!cols"].forEach((function(e,t){Si(e);var r=!!e.width,n=hc(t,e),a={"ss:Index":t+1};r&&(a["ss:Width"]=mi(n.width)),e.hidden&&(a["ss:Hidden"]="1"),s.push(zt("Column",null,a))}));for(var c=Array.isArray(e),l=a.s.r;l<=a.e.r;++l){for(var u=[Wl(l,(e["!rows"]||[])[l])],f=a.s.c;f<=a.e.c;++f){var h=!1;for(i=0;i!=o.length;++i)if(!(o[i].s.c>f||o[i].s.r>l||o[i].e.c<f||o[i].e.r<l)){o[i].s.c==f&&o[i].s.r==l||(h=!0);break}if(!h){var d={r:l,c:f},p=Vr(d),g=c?(e[l]||[])[f]:e[p];u.push(Bl(g,p,e,t,0,0,d))}}u.push("</Row>"),u.length>2&&s.push(u.join(""))}return s.join("")}(o,t):"",i.length>0&&n.push("<Table>"+i+"</Table>"),n.push(function(e,t,r,n){if(!e)return"";var a=[];if(e["!margins"]&&(a.push("<PageSetup>"),e["!margins"].header&&a.push(zt("Header",null,{"x:Margin":e["!margins"].header})),e["!margins"].footer&&a.push(zt("Footer",null,{"x:Margin":e["!margins"].footer})),a.push(zt("PageMargins",null,{"x:Bottom":e["!margins"].bottom||"0.75","x:Left":e["!margins"].left||"0.7","x:Right":e["!margins"].right||"0.7","x:Top":e["!margins"].top||"0.75"})),a.push("</PageSetup>")),n&&n.Workbook&&n.Workbook.Sheets&&n.Workbook.Sheets[r])if(n.Workbook.Sheets[r].Hidden)a.push(zt("Visible",1==n.Workbook.Sheets[r].Hidden?"SheetHidden":"SheetVeryHidden",{}));else{for(var o=0;o<r&&(!n.Workbook.Sheets[o]||n.Workbook.Sheets[o].Hidden);++o);o==r&&a.push("<Selected/>")}return((((n||{}).Workbook||{}).Views||[])[0]||{}).RTL&&a.push("<DisplayRightToLeft/>"),e["!protect"]&&(a.push(Ut("ProtectContents","True")),e["!protect"].objects&&a.push(Ut("ProtectObjects","True")),e["!protect"].scenarios&&a.push(Ut("ProtectScenarios","True")),null==e["!protect"].selectLockedCells||e["!protect"].selectLockedCells?null==e["!protect"].selectUnlockedCells||e["!protect"].selectUnlockedCells||a.push(Ut("EnableSelection","UnlockedCells")):a.push(Ut("EnableSelection","NoSelection")),[["formatCells","AllowFormatCells"],["formatColumns","AllowSizeCols"],["formatRows","AllowSizeRows"],["insertColumns","AllowInsertCols"],["insertRows","AllowInsertRows"],["insertHyperlinks","AllowInsertHyperlinks"],["deleteColumns","AllowDeleteCols"],["deleteRows","AllowDeleteRows"],["sort","AllowSort"],["autoFilter","AllowFilter"],["pivotTables","AllowUsePivotTables"]].forEach((function(t){e["!protect"][t[0]]&&a.push("<"+t[1]+"/>")}))),0==a.length?"":zt("WorksheetOptions",a.join(""),{xmlns:Yt.x})}(o,0,e,r)),n.join("")}function Hl(e,t){t||(t={}),e.SSF||(e.SSF=qe(j)),e.SSF&&(we(),ye(e.SSF),t.revssf=Pe(e.SSF),t.revssf[e.SSF[65535]]=0,t.ssf=e.SSF,t.cellXfs=[],pc(t.cellXfs,{},{revssf:{General:0}}));var r=[];r.push(Ml(e,t)),r.push(""),r.push(""),r.push("");for(var n=0;n<e.SheetNames.length;++n)r.push(zt("Worksheet",Ul(n,t,e),{"ss:Name":xt(e.SheetNames[n])}));return r[2]=function(e,t){var r=['<Style ss:ID="Default" ss:Name="Normal"><NumberFormat/></Style>'];return t.cellXfs.forEach((function(e,t){var n=[];n.push(zt("NumberFormat",null,{"ss:Format":xt(j[e.numFmtId])}));var a={"ss:ID":"s"+(21+t)};r.push(zt("Style",n.join(""),a))})),zt("Styles",r.join(""))}(0,t),r[3]=function(e){if(!((e||{}).Workbook||{}).Names)return"";for(var t=e.Workbook.Names,r=[],n=0;n<t.length;++n){var a=t[n];null==a.Sheet&&(a.Name.match(/^_xlfn\./)||r.push(jl(a)))}return zt("Names",r.join(""))}(e),lt+zt("Workbook",r.join(""),{xmlns:Yt.ss,"xmlns:o":Yt.o,"xmlns:x":Yt.x,"xmlns:ss":Yt.ss,"xmlns:dt":Yt.dt,"xmlns:html":Yt.html})}function zl(e){var t={},r=e.content;if(r.l=28,t.AnsiUserType=r._R(0,"lpstr-ansi"),t.AnsiClipboardFormat=function(e){return En(e,1)}(r),r.length-r.l<=4)return t;var n=r._R(4);return 0==n||n>40?t:(r.l-=4,t.Reserved1=r._R(0,"lpstr-ansi"),r.length-r.l<=4||1907505652!==(n=r._R(4))?t:(t.UnicodeClipboardFormat=function(e){return En(e,2)}(r),0==(n=r._R(4))||n>40?t:(r.l-=4,void(t.Reserved2=r._R(0,"lpwstr")))))}var Vl=[60,1084,2066,2165,2175];function ql(e,t,r,n,a){var o=n,i=[],s=r.slice(r.l,r.l+o);if(a&&a.enc&&a.enc.insitu&&s.length>0)switch(e){case 9:case 521:case 1033:case 2057:case 47:case 405:case 225:case 406:case 312:case 404:case 10:case 133:break;default:a.enc.insitu(s)}i.push(s),r.l+=o;for(var c=br(r,r.l),l=Ql[c],u=0;null!=l&&Vl.indexOf(c)>-1;)o=br(r,r.l+2),u=r.l+4,2066==c?u+=4:2165!=c&&2175!=c||(u+=12),s=r.slice(u,r.l+4+o),i.push(s),r.l+=4+o,l=Ql[c=br(r,r.l)];var f=E(i);Cr(f,0);var h=0;f.lens=[];for(var d=0;d<i.length;++d)f.lens.push(h),h+=i[d].length;if(f.length<n)throw"XLS Record 0x"+e.toString(16)+" Truncated: "+f.length+" < "+n;return t.f(f,f.length,a)}function $l(e,t,r){if("z"!==e.t&&e.XF){var n=0;try{n=e.z||e.XF.numFmtId||0,t.cellNF&&(e.z=j[n])}catch(e){if(t.WTF)throw e}if(!t||!1!==t.cellText)try{"e"===e.t?e.w=e.w||Bn[e.v]:0===n||"General"==n?"n"===e.t?(0|e.v)===e.v?e.w=e.v.toString(10):e.w=Y(e.v):e.w=K(e.v):e.w=ve(n,e.v,{date1904:!!r,dateNF:t&&t.dateNF})}catch(e){if(t.WTF)throw e}if(t.cellDates&&n&&"n"==e.t&&de(j[n]||String(n))){var a=H(e.v);a&&(e.t="d",e.v=new Date(a.y,a.m-1,a.d,a.H,a.M,a.S,a.u))}}}function Gl(e,t,r){return{v:e,ixfe:t,t:r}}function Xl(e,t){var r={opts:{}},n={};null!=p&&null==t.dense&&(t.dense=p);var a,o,i,c,l,u,f,h,d=t.dense?[]:{},g={},m={},v=null,b=[],y="",w={},S="",x={},A=[],k=[],T=[],E={Sheets:[],WBProps:{date1904:!1},Views:[{}]},_={},N=function(e){return e<8?jn[e]:e<64&&T[e-8]||jn[e]},C=function(e,t,r){if(!(W>1||r.sheetRows&&e.r>=r.sheetRows)){if(r.cellStyles&&t.XF&&t.XF.data&&function(e,t,r){var n,a=t.XF.data;a&&a.patternType&&r&&r.cellStyles&&(t.s={},t.s.patternType=a.patternType,(n=ui(N(a.icvFore)))&&(t.s.fgColor={rgb:n}),(n=ui(N(a.icvBack)))&&(t.s.bgColor={rgb:n}))}(0,t,r),delete t.ixfe,delete t.XF,a=e,S=Vr(e),m&&m.s&&m.e||(m={s:{r:0,c:0},e:{r:0,c:0}}),e.r<m.s.r&&(m.s.r=e.r),e.c<m.s.c&&(m.s.c=e.c),e.r+1>m.e.r&&(m.e.r=e.r+1),e.c+1>m.e.c&&(m.e.c=e.c+1),r.cellFormula&&t.f)for(var n=0;n<A.length;++n)if(!(A[n][0].s.c>e.c||A[n][0].s.r>e.r||A[n][0].e.c<e.c||A[n][0].e.r<e.r)){t.F=$r(A[n][0]),A[n][0].s.c==e.c&&A[n][0].s.r==e.r||delete t.f,t.f&&(t.f=""+qs(A[n][1],0,e,D,O));break}r.dense?(d[e.r]||(d[e.r]=[]),d[e.r][e.c]=t):d[S]=t}},O={enc:!1,sbcch:0,snames:[],sharedf:x,arrayf:A,rrtabid:[],lastuser:"",biff:8,codepage:0,winlocked:0,cellStyles:!!t&&!!t.cellStyles,WTF:!!t&&!!t.wtf};t.password&&(O.password=t.password);var R=[],P=[],L=[],I=[],F=!1,D=[];D.SheetNames=O.snames,D.sharedf=O.sharedf,D.arrayf=O.arrayf,D.names=[],D.XTI=[];var M,B=0,W=0,U=0,H=[],z=[];O.codepage=1200,s(1200);for(var V=!1;e.l<e.length-1;){var q=e.l,$=e._R(2);if(0===$&&10===B)break;var G=e.l===e.length?0:e._R(2),X=Ql[$];if(X&&X.f){if(t.bookSheets&&133===B&&133!==$)break;if(B=$,2===X.r||12==X.r){var Y=e._R(2);if(G-=2,!O.enc&&Y!==$&&((255&Y)<<8|Y>>8)!==$)throw new Error("rt mismatch: "+Y+"!="+$);12==X.r&&(e.l+=10,G-=10)}var K={};if(K=10===$?X.f(e,G,O):ql($,X,e,G,O),0==W&&-1===[9,521,1033,2057].indexOf(B))continue;switch($){case 34:r.opts.Date1904=E.WBProps.date1904=K;break;case 134:r.opts.WriteProtect=!0;break;case 47:if(O.enc||(e.l=0),O.enc=K,!t.password)throw new Error("File is password-protected");if(null==K.valid)throw new Error("Encryption scheme unsupported");if(!K.valid)throw new Error("Password is incorrect");break;case 92:O.lastuser=K;break;case 66:var J=Number(K);switch(J){case 21010:J=1200;break;case 32768:J=1e4;break;case 32769:J=1252}s(O.codepage=J),V=!0;break;case 317:O.rrtabid=K;break;case 25:O.winlocked=K;break;case 439:r.opts.RefreshAll=K;break;case 12:r.opts.CalcCount=K;break;case 16:r.opts.CalcDelta=K;break;case 17:r.opts.CalcIter=K;break;case 13:r.opts.CalcMode=K;break;case 14:r.opts.CalcPrecision=K;break;case 95:r.opts.CalcSaveRecalc=K;break;case 15:O.CalcRefMode=K;break;case 2211:r.opts.FullCalc=K;break;case 129:K.fDialog&&(d["!type"]="dialog"),K.fBelow||((d["!outline"]||(d["!outline"]={})).above=!0),K.fRight||((d["!outline"]||(d["!outline"]={})).left=!0);break;case 224:k.push(K);break;case 430:D.push([K]),D[D.length-1].XTI=[];break;case 35:case 547:D[D.length-1].push(K);break;case 24:case 536:M={Name:K.Name,Ref:qs(K.rgce,0,null,D,O)},K.itab>0&&(M.Sheet=K.itab-1),D.names.push(M),D[0]||(D[0]=[],D[0].XTI=[]),D[D.length-1].push(K),"_xlnm._FilterDatabase"==K.Name&&K.itab>0&&K.rgce&&K.rgce[0]&&K.rgce[0][0]&&"PtgArea3d"==K.rgce[0][0][0]&&(z[K.itab-1]={ref:$r(K.rgce[0][0][1][2])});break;case 22:O.ExternCount=K;break;case 23:0==D.length&&(D[0]=[],D[0].XTI=[]),D[D.length-1].XTI=D[D.length-1].XTI.concat(K),D.XTI=D.XTI.concat(K);break;case 2196:if(O.biff<8)break;null!=M&&(M.Comment=K[1]);break;case 18:d["!protect"]=K;break;case 19:0!==K&&O.WTF&&console.error("Password verifier: "+K);break;case 133:g[K.pos]=K,O.snames.push(K.name);break;case 10:if(--W)break;if(m.e){if(m.e.r>0&&m.e.c>0){if(m.e.r--,m.e.c--,d["!ref"]=$r(m),t.sheetRows&&t.sheetRows<=m.e.r){var Z=m.e.r;m.e.r=t.sheetRows-1,d["!fullref"]=d["!ref"],d["!ref"]=$r(m),m.e.r=Z}m.e.r++,m.e.c++}R.length>0&&(d["!merges"]=R),P.length>0&&(d["!objects"]=P),L.length>0&&(d["!cols"]=L),I.length>0&&(d["!rows"]=I),E.Sheets.push(_)}""===y?w=d:n[y]=d,d=t.dense?[]:{};break;case 9:case 521:case 1033:case 2057:if(8===O.biff&&(O.biff={9:2,521:3,1033:4}[$]||{512:2,768:3,1024:4,1280:5,1536:8,2:2,7:2}[K.BIFFVer]||8),O.biffguess=0==K.BIFFVer,0==K.BIFFVer&&4096==K.dt&&(O.biff=5,V=!0,s(O.codepage=28591)),8==O.biff&&0==K.BIFFVer&&16==K.dt&&(O.biff=2),W++)break;if(d=t.dense?[]:{},O.biff<8&&!V&&(V=!0,s(O.codepage=t.codepage||1252)),O.biff<5||0==K.BIFFVer&&4096==K.dt){""===y&&(y="Sheet1"),m={s:{r:0,c:0},e:{r:0,c:0}};var Q={pos:e.l-G,name:y};g[Q.pos]=Q,O.snames.push(y)}else y=(g[q]||{name:""}).name;32==K.dt&&(d["!type"]="chart"),64==K.dt&&(d["!type"]="macro"),R=[],P=[],O.arrayf=A=[],L=[],I=[],F=!1,_={Hidden:(g[q]||{hs:0}).hs,name:y};break;case 515:case 3:case 2:"chart"==d["!type"]&&(t.dense?(d[K.r]||[])[K.c]:d[Vr({c:K.c,r:K.r})])&&++K.c,u={ixfe:K.ixfe,XF:k[K.ixfe]||{},v:K.val,t:"n"},U>0&&(u.z=H[u.ixfe>>8&63]),$l(u,t,r.opts.Date1904),C({c:K.c,r:K.r},u,t);break;case 5:case 517:u={ixfe:K.ixfe,XF:k[K.ixfe],v:K.val,t:K.t},U>0&&(u.z=H[u.ixfe>>8&63]),$l(u,t,r.opts.Date1904),C({c:K.c,r:K.r},u,t);break;case 638:u={ixfe:K.ixfe,XF:k[K.ixfe],v:K.rknum,t:"n"},U>0&&(u.z=H[u.ixfe>>8&63]),$l(u,t,r.opts.Date1904),C({c:K.c,r:K.r},u,t);break;case 189:for(var ee=K.c;ee<=K.C;++ee){var te=K.rkrec[ee-K.c][0];u={ixfe:te,XF:k[te],v:K.rkrec[ee-K.c][1],t:"n"},U>0&&(u.z=H[u.ixfe>>8&63]),$l(u,t,r.opts.Date1904),C({c:ee,r:K.r},u,t)}break;case 6:case 518:case 1030:if("String"==K.val){v=K;break}if((u=Gl(K.val,K.cell.ixfe,K.tt)).XF=k[u.ixfe],t.cellFormula){var re=K.formula;if(re&&re[0]&&re[0][0]&&"PtgExp"==re[0][0][0]){var ne=re[0][0][1][0],ae=re[0][0][1][1],oe=Vr({r:ne,c:ae});x[oe]?u.f=""+qs(K.formula,0,K.cell,D,O):u.F=((t.dense?(d[ne]||[])[ae]:d[oe])||{}).F}else u.f=""+qs(K.formula,0,K.cell,D,O)}U>0&&(u.z=H[u.ixfe>>8&63]),$l(u,t,r.opts.Date1904),C(K.cell,u,t),v=K;break;case 7:case 519:if(!v)throw new Error("String record expects Formula");v.val=K,(u=Gl(K,v.cell.ixfe,"s")).XF=k[u.ixfe],t.cellFormula&&(u.f=""+qs(v.formula,0,v.cell,D,O)),U>0&&(u.z=H[u.ixfe>>8&63]),$l(u,t,r.opts.Date1904),C(v.cell,u,t),v=null;break;case 33:case 545:A.push(K);var ie=Vr(K[0].s);if(o=t.dense?(d[K[0].s.r]||[])[K[0].s.c]:d[ie],t.cellFormula&&o){if(!v)break;if(!ie||!o)break;o.f=""+qs(K[1],0,K[0],D,O),o.F=$r(K[0])}break;case 1212:if(!t.cellFormula)break;if(S){if(!v)break;x[Vr(v.cell)]=K[0],((o=t.dense?(d[v.cell.r]||[])[v.cell.c]:d[Vr(v.cell)])||{}).f=""+qs(K[0],0,a,D,O)}break;case 253:u=Gl(b[K.isst].t,K.ixfe,"s"),b[K.isst].h&&(u.h=b[K.isst].h),u.XF=k[u.ixfe],U>0&&(u.z=H[u.ixfe>>8&63]),$l(u,t,r.opts.Date1904),C({c:K.c,r:K.r},u,t);break;case 513:t.sheetStubs&&(u={ixfe:K.ixfe,XF:k[K.ixfe],t:"z"},U>0&&(u.z=H[u.ixfe>>8&63]),$l(u,t,r.opts.Date1904),C({c:K.c,r:K.r},u,t));break;case 190:if(t.sheetStubs)for(var se=K.c;se<=K.C;++se){var ce=K.ixfe[se-K.c];u={ixfe:ce,XF:k[ce],t:"z"},U>0&&(u.z=H[u.ixfe>>8&63]),$l(u,t,r.opts.Date1904),C({c:se,r:K.r},u,t)}break;case 214:case 516:case 4:(u=Gl(K.val,K.ixfe,"s")).XF=k[u.ixfe],U>0&&(u.z=H[u.ixfe>>8&63]),$l(u,t,r.opts.Date1904),C({c:K.c,r:K.r},u,t);break;case 0:case 512:1===W&&(m=K);break;case 252:b=K;break;case 1054:if(4==O.biff){H[U++]=K[1];for(var le=0;le<U+163&&j[le]!=K[1];++le);le>=163&&be(K[1],U+163)}else be(K[1],K[0]);break;case 30:H[U++]=K;for(var ue=0;ue<U+163&&j[ue]!=K;++ue);ue>=163&&be(K,U+163);break;case 229:R=R.concat(K);break;case 93:P[K.cmo[0]]=O.lastobj=K;break;case 438:O.lastobj.TxO=K;break;case 127:O.lastobj.ImData=K;break;case 440:for(l=K[0].s.r;l<=K[0].e.r;++l)for(c=K[0].s.c;c<=K[0].e.c;++c)(o=t.dense?(d[l]||[])[c]:d[Vr({c:c,r:l})])&&(o.l=K[1]);break;case 2048:for(l=K[0].s.r;l<=K[0].e.r;++l)for(c=K[0].s.c;c<=K[0].e.c;++c)(o=t.dense?(d[l]||[])[c]:d[Vr({c:c,r:l})])&&o.l&&(o.l.Tooltip=K[1]);break;case 28:if(O.biff<=5&&O.biff>=2)break;o=t.dense?(d[K[0].r]||[])[K[0].c]:d[Vr(K[0])];var fe=P[K[2]];o||(t.dense?(d[K[0].r]||(d[K[0].r]=[]),o=d[K[0].r][K[0].c]={t:"z"}):o=d[Vr(K[0])]={t:"z"},m.e.r=Math.max(m.e.r,K[0].r),m.s.r=Math.min(m.s.r,K[0].r),m.e.c=Math.max(m.e.c,K[0].c),m.s.c=Math.min(m.s.c,K[0].c)),o.c||(o.c=[]),i={a:K[1],t:fe.TxO.t},o.c.push(i);break;case 2173:rs(k[K.ixfe],K.ext);break;case 125:if(!O.cellStyles)break;for(;K.e>=K.s;)L[K.e--]={width:K.w/256,level:K.level||0,hidden:!!(1&K.flags)},F||(F=!0,wi(K.w/256)),Si(L[K.e+1]);break;case 520:var he={};null!=K.level&&(I[K.r]=he,he.level=K.level),K.hidden&&(I[K.r]=he,he.hidden=!0),K.hpt&&(I[K.r]=he,he.hpt=K.hpt,he.hpx=ki(K.hpt));break;case 38:case 39:case 40:case 41:d["!margins"]||dc(d["!margins"]={}),d["!margins"][{38:"left",39:"right",40:"top",41:"bottom"}[$]]=K;break;case 161:d["!margins"]||dc(d["!margins"]={}),d["!margins"].header=K.header,d["!margins"].footer=K.footer;break;case 574:K.RTL&&(E.Views[0].RTL=!0);break;case 146:T=K;break;case 2198:h=K;break;case 140:f=K;break;case 442:y?_.CodeName=K||_.name:E.WBProps.CodeName=K||"ThisWorkbook"}}else X||console.error("Missing Info for XLS Record 0x"+$.toString(16)),e.l+=G}return r.SheetNames=Ce(g).sort((function(e,t){return Number(e)-Number(t)})).map((function(e){return g[e].name})),t.bookSheets||(r.Sheets=n),!r.SheetNames.length&&w["!ref"]?(r.SheetNames.push("Sheet1"),r.Sheets&&(r.Sheets.Sheet1=w)):r.Preamble=w,r.Sheets&&z.forEach((function(e,t){r.Sheets[r.SheetNames[t]]["!autofilter"]=e})),r.Strings=b,r.SSF=qe(j),O.enc&&(r.Encryption=O.enc),h&&(r.Themes=h),r.Metadata={},void 0!==f&&(r.Metadata.Country=f),D.names.length>0&&(E.Names=D.names),r.Workbook=E,r}var Yl={SI:"e0859ff2f94f6810ab9108002b27b3d9",DSI:"02d5cdd59c2e1b10939708002b2cf9ae",UDI:"05d5cdd59c2e1b10939708002b2cf9ae"};function Kl(e,t){var r,n,a,o;if(t||(t={}),tf(t),c(),t.codepage&&i(t.codepage),e.FullPaths){if(Ee.find(e,"/encryption"))throw new Error("File is password-protected");r=Ee.find(e,"!CompObj"),n=Ee.find(e,"/Workbook")||Ee.find(e,"/Book")}else{switch(t.type){case"base64":e=x(v(e));break;case"binary":e=x(e);break;case"buffer":break;case"array":Array.isArray(e)||(e=Array.prototype.slice.call(e))}Cr(e,0),n={content:e}}if(r&&zl(r),t.bookProps&&!t.bookSheets)a={};else{var s=b?"buffer":"array";if(n&&n.content)a=Xl(n.content,t);else if((o=Ee.find(e,"PerfectOffice_MAIN"))&&o.content)a=Fo.to_workbook(o.content,(t.type=s,t));else{if(!(o=Ee.find(e,"NativeContent_MAIN"))||!o.content)throw(o=Ee.find(e,"MN0"))&&o.content?new Error("Unsupported Works 4 for Mac file"):new Error("Cannot find Workbook stream");a=Fo.to_workbook(o.content,(t.type=s,t))}t.bookVBA&&e.FullPaths&&Ee.find(e,"/_VBA_PROJECT_CUR/VBA/dir")&&(a.vbaraw=function(e){var t=Ee.utils.cfb_new({root:"R"});return e.FullPaths.forEach((function(r,n){if("/"!==r.slice(-1)&&r.match(/_VBA_PROJECT_CUR/)){var a=r.replace(/^[^\/]*/,"R").replace(/\/_VBA_PROJECT_CUR\u0000*/,"");Ee.utils.cfb_add(t,a,e.FileIndex[n].content)}})),Ee.write(t)}(e))}var l={};return e.FullPaths&&function(e,t,r){var n=Ee.find(e,"/!DocumentSummaryInformation");if(n&&n.size>0)try{var a=_a(n,Ln,Yl.DSI);for(var o in a)t[o]=a[o]}catch(e){if(r.WTF)throw e}var i=Ee.find(e,"/!SummaryInformation");if(i&&i.size>0)try{var s=_a(i,In,Yl.SI);for(var c in s)null==t[c]&&(t[c]=s[c])}catch(e){if(r.WTF)throw e}t.HeadingPairs&&t.TitlesOfParts&&(ia(t.HeadingPairs,t.TitlesOfParts,t,r),delete t.HeadingPairs,delete t.TitlesOfParts)}(e,l,t),a.Props=a.Custprops=l,t.bookFiles&&(a.cfb=e),a}function Jl(e,t){var r=t||{},n=Ee.utils.cfb_new({root:"R"}),a="/Workbook";switch(r.bookType||"xls"){case"xls":r.bookType="biff8";case"xla":r.bookType||(r.bookType="xla");case"biff8":a="/Workbook",r.biff=8;break;case"biff5":a="/Book",r.biff=5;break;default:throw new Error("invalid type "+r.bookType+" for XLS CFB")}return Ee.utils.cfb_add(n,a,lu(e,r)),8==r.biff&&(e.Props||e.Custprops)&&function(e,t){var r,n=[],a=[],o=[],i=0,s=Oe(Ln,"n"),c=Oe(In,"n");if(e.Props)for(r=Ce(e.Props),i=0;i<r.length;++i)(Object.prototype.hasOwnProperty.call(s,r[i])?n:Object.prototype.hasOwnProperty.call(c,r[i])?a:o).push([r[i],e.Props[r[i]]]);if(e.Custprops)for(r=Ce(e.Custprops),i=0;i<r.length;++i)Object.prototype.hasOwnProperty.call(e.Props||{},r[i])||(Object.prototype.hasOwnProperty.call(s,r[i])?n:Object.prototype.hasOwnProperty.call(c,r[i])?a:o).push([r[i],e.Custprops[r[i]]]);var l=[];for(i=0;i<o.length;++i)ka.indexOf(o[i][0])>-1||oa.indexOf(o[i][0])>-1||null!=o[i][1]&&l.push(o[i]);a.length&&Ee.utils.cfb_add(t,"/SummaryInformation",Na(a,Yl.SI,c,In)),(n.length||l.length)&&Ee.utils.cfb_add(t,"/DocumentSummaryInformation",Na(n,Yl.DSI,s,Ln,l.length?l:null,Yl.UDI))}(e,n),8==r.biff&&e.vbaraw&&function(e,t){t.FullPaths.forEach((function(r,n){if(0!=n){var a=r.replace(/[^\/]*[\/]/,"/_VBA_PROJECT_CUR/");"/"!==a.slice(-1)&&Ee.utils.cfb_add(e,a,t.FileIndex[n].content)}}))}(n,Ee.read(e.vbaraw,{type:"string"==typeof e.vbaraw?"binary":"buffer"})),n}var Zl={0:{f:function(e,t){var r={},n=e.l+t;r.r=e._R(4),e.l+=4;var a=e._R(2);e.l+=1;var o=e._R(1);return e.l=n,7&o&&(r.level=7&o),16&o&&(r.hidden=!0),32&o&&(r.hpt=a/20),r}},1:{f:function(e){return[sn(e)]}},2:{f:function(e){return[sn(e),bn(e),"n"]}},3:{f:function(e){return[sn(e),e._R(1),"e"]}},4:{f:function(e){return[sn(e),e._R(1),"b"]}},5:{f:function(e){return[sn(e),An(e),"n"]}},6:{f:function(e){return[sn(e),en(e),"str"]}},7:{f:function(e){return[sn(e),e._R(4),"s"]}},8:{f:function(e,t,r){var n=e.l+t,a=sn(e);a.r=r["!row"];var o=[a,en(e),"str"];if(r.cellFormula){e.l+=2;var i=Zs(e,n-e.l,r);o[3]=qs(i,0,a,r.supbooks,r)}else e.l=n;return o}},9:{f:function(e,t,r){var n=e.l+t,a=sn(e);a.r=r["!row"];var o=[a,An(e),"n"];if(r.cellFormula){e.l+=2;var i=Zs(e,n-e.l,r);o[3]=qs(i,0,a,r.supbooks,r)}else e.l=n;return o}},10:{f:function(e,t,r){var n=e.l+t,a=sn(e);a.r=r["!row"];var o=[a,e._R(1),"b"];if(r.cellFormula){e.l+=2;var i=Zs(e,n-e.l,r);o[3]=qs(i,0,a,r.supbooks,r)}else e.l=n;return o}},11:{f:function(e,t,r){var n=e.l+t,a=sn(e);a.r=r["!row"];var o=[a,e._R(1),"e"];if(r.cellFormula){e.l+=2;var i=Zs(e,n-e.l,r);o[3]=qs(i,0,a,r.supbooks,r)}else e.l=n;return o}},12:{f:function(e){return[ln(e)]}},13:{f:function(e){return[ln(e),bn(e),"n"]}},14:{f:function(e){return[ln(e),e._R(1),"e"]}},15:{f:function(e){return[ln(e),e._R(1),"b"]}},16:{f:jc},17:{f:function(e){return[ln(e),en(e),"str"]}},18:{f:function(e){return[ln(e),e._R(4),"s"]}},19:{f:nn},20:{},21:{},22:{},23:{},24:{},25:{},26:{},27:{},28:{},29:{},30:{},31:{},32:{},33:{},34:{},35:{T:1},36:{T:-1},37:{T:1},38:{T:-1},39:{f:function(e,t,r){var n=e.l+t;e.l+=4,e.l+=1;var a=e._R(4),o=gn(e),i=Qs(e,0,r),s=dn(e);e.l=n;var c={Name:o,Ptg:i};return a<268435455&&(c.Sheet=a),s&&(c.Comment=s),c}},40:{},42:{},43:{f:function(e,t,r){var n={};n.sz=e._R(2)/20;var a=function(e){var t=e._R(1);return e.l++,{fBold:1&t,fItalic:2&t,fUnderline:4&t,fStrikeout:8&t,fOutline:16&t,fShadow:32&t,fCondense:64&t,fExtend:128&t}}(e);switch(a.fItalic&&(n.italic=1),a.fCondense&&(n.condense=1),a.fExtend&&(n.extend=1),a.fShadow&&(n.shadow=1),a.fOutline&&(n.outline=1),a.fStrikeout&&(n.strike=1),700===e._R(2)&&(n.bold=1),e._R(2)){case 1:n.vertAlign="superscript";break;case 2:n.vertAlign="subscript"}var o=e._R(1);0!=o&&(n.underline=o);var i=e._R(1);i>0&&(n.family=i);var s=e._R(1);switch(s>0&&(n.charset=s),e.l++,n.color=function(e){var t={},r=e._R(1)>>>1,n=e._R(1),a=e._R(2,"i"),o=e._R(1),i=e._R(1),s=e._R(1);switch(e.l++,r){case 0:t.auto=1;break;case 1:t.index=n;var c=jn[n];c&&(t.rgb=ui(c));break;case 2:t.rgb=ui([o,i,s]);break;case 3:t.theme=n}return 0!=a&&(t.tint=a>0?a/32767:a/32768),t}(e),e._R(1)){case 1:n.scheme="major";break;case 2:n.scheme="minor"}return n.name=en(e),n}},44:{f:function(e,t){return[e._R(2),en(e)]}},45:{f:Fi},46:{f:Bi},47:{f:function(e,t){var r=e.l+t,n=e._R(2),a=e._R(2);return e.l=r,{ixfe:n,numFmtId:a}}},48:{},49:{f:function(e){return e._R(4,"i")}},50:{},51:{f:function(e){for(var t=[],r=e._R(4);r-- >0;)t.push([e._R(4),e._R(4)]);return t}},52:{T:1},53:{T:-1},54:{T:1},55:{T:-1},56:{T:1},57:{T:-1},58:{},59:{},60:{f:To},62:{f:function(e){return[sn(e),nn(e),"is"]}},63:{f:function(e){var t={};t.i=e._R(4);var r={};r.r=e._R(4),r.c=e._R(4),t.r=Vr(r);var n=e._R(1);return 2&n&&(t.l="1"),8&n&&(t.a="1"),t}},64:{f:function(){}},65:{},66:{},67:{},68:{},69:{},70:{},128:{},129:{T:1},130:{T:-1},131:{T:1,f:Or,p:0},132:{T:-1},133:{T:1},134:{T:-1},135:{T:1},136:{T:-1},137:{T:1,f:function(e){var t=e._R(2);return e.l+=28,{RTL:32&t}}},138:{T:-1},139:{T:1},140:{T:-1},141:{T:1},142:{T:-1},143:{T:1},144:{T:-1},145:{T:1},146:{T:-1},147:{f:function(e,t){var r={},n=e[e.l];return++e.l,r.above=!(64&n),r.left=!(128&n),e.l+=18,r.name=fn(e,t-19),r}},148:{f:Dc,p:16},151:{f:function(){}},152:{},153:{f:function(e,t){var r={},n=e._R(4);r.defaultThemeVersion=e._R(4);var a=t>8?en(e):"";return a.length>0&&(r.CodeName=a),r.autoCompressPictures=!!(65536&n),r.backupFile=!!(64&n),r.checkCompatibility=!!(4096&n),r.date1904=!!(1&n),r.filterPrivacy=!!(8&n),r.hidePivotFieldList=!!(1024&n),r.promptedSolutions=!!(16&n),r.publishItems=!!(2048&n),r.refreshAllConnections=!!(262144&n),r.saveExternalLinkValues=!!(128&n),r.showBorderUnselectedTables=!!(4&n),r.showInkAnnotation=!!(32&n),r.showObjects=["all","placeholders","none"][n>>13&3],r.showPivotChartFilter=!!(32768&n),r.updateLinks=["userSet","never","always"][n>>8&3],r}},154:{},155:{},156:{f:function(e,t){var r={};return r.Hidden=e._R(4),r.iTabID=e._R(4),r.strRelID=mn(e,t-8),r.name=en(e),r}},157:{},158:{},159:{T:1,f:function(e){return[e._R(4),e._R(4)]}},160:{T:-1},161:{T:1,f:Sn},162:{T:-1},163:{T:1},164:{T:-1},165:{T:1},166:{T:-1},167:{},168:{},169:{},170:{},171:{},172:{T:1},173:{T:-1},174:{},175:{},176:{f:Bc},177:{T:1},178:{T:-1},179:{T:1},180:{T:-1},181:{T:1},182:{T:-1},183:{T:1},184:{T:-1},185:{T:1},186:{T:-1},187:{T:1},188:{T:-1},189:{T:1},190:{T:-1},191:{T:1},192:{T:-1},193:{T:1},194:{T:-1},195:{T:1},196:{T:-1},197:{T:1},198:{T:-1},199:{T:1},200:{T:-1},201:{T:1},202:{T:-1},203:{T:1},204:{T:-1},205:{T:1},206:{T:-1},207:{T:1},208:{T:-1},209:{T:1},210:{T:-1},211:{T:1},212:{T:-1},213:{T:1},214:{T:-1},215:{T:1},216:{T:-1},217:{T:1},218:{T:-1},219:{T:1},220:{T:-1},221:{T:1},222:{T:-1},223:{T:1},224:{T:-1},225:{T:1},226:{T:-1},227:{T:1},228:{T:-1},229:{T:1},230:{T:-1},231:{T:1},232:{T:-1},233:{T:1},234:{T:-1},235:{T:1},236:{T:-1},237:{T:1},238:{T:-1},239:{T:1},240:{T:-1},241:{T:1},242:{T:-1},243:{T:1},244:{T:-1},245:{T:1},246:{T:-1},247:{T:1},248:{T:-1},249:{T:1},250:{T:-1},251:{T:1},252:{T:-1},253:{T:1},254:{T:-1},255:{T:1},256:{T:-1},257:{T:1},258:{T:-1},259:{T:1},260:{T:-1},261:{T:1},262:{T:-1},263:{T:1},264:{T:-1},265:{T:1},266:{T:-1},267:{T:1},268:{T:-1},269:{T:1},270:{T:-1},271:{T:1},272:{T:-1},273:{T:1},274:{T:-1},275:{T:1},276:{T:-1},277:{},278:{T:1},279:{T:-1},280:{T:1},281:{T:-1},282:{T:1},283:{T:1},284:{T:-1},285:{T:1},286:{T:-1},287:{T:1},288:{T:-1},289:{T:1},290:{T:-1},291:{T:1},292:{T:-1},293:{T:1},294:{T:-1},295:{T:1},296:{T:-1},297:{T:1},298:{T:-1},299:{T:1},300:{T:-1},301:{T:1},302:{T:-1},303:{T:1},304:{T:-1},305:{T:1},306:{T:-1},307:{T:1},308:{T:-1},309:{T:1},310:{T:-1},311:{T:1},312:{T:-1},313:{T:-1},314:{T:1},315:{T:-1},316:{T:1},317:{T:-1},318:{T:1},319:{T:-1},320:{T:1},321:{T:-1},322:{T:1},323:{T:-1},324:{T:1},325:{T:-1},326:{T:1},327:{T:-1},328:{T:1},329:{T:-1},330:{T:1},331:{T:-1},332:{T:1},333:{T:-1},334:{T:1},335:{f:function(e,t){return{flags:e._R(4),version:e._R(4),name:en(e)}}},336:{T:-1},337:{f:function(e){return e.l+=4,0!=e._R(4)},T:1},338:{T:-1},339:{T:1},340:{T:-1},341:{T:1},342:{T:-1},343:{T:1},344:{T:-1},345:{T:1},346:{T:-1},347:{T:1},348:{T:-1},349:{T:1},350:{T:-1},351:{},352:{},353:{T:1},354:{T:-1},355:{f:mn},357:{},358:{},359:{},360:{T:1},361:{},362:{f:wo},363:{},364:{},366:{},367:{},368:{},369:{},370:{},371:{},372:{T:1},373:{T:-1},374:{T:1},375:{T:-1},376:{T:1},377:{T:-1},378:{T:1},379:{T:-1},380:{T:1},381:{T:-1},382:{T:1},383:{T:-1},384:{T:1},385:{T:-1},386:{T:1},387:{T:-1},388:{T:1},389:{T:-1},390:{T:1},391:{T:-1},392:{T:1},393:{T:-1},394:{T:1},395:{T:-1},396:{},397:{},398:{},399:{},400:{},401:{T:1},403:{},404:{},405:{},406:{},407:{},408:{},409:{},410:{},411:{},412:{},413:{},414:{},415:{},416:{},417:{},418:{},419:{},420:{},421:{},422:{T:1},423:{T:1},424:{T:-1},425:{T:-1},426:{f:function(e,t,r){var n=e.l+t,a=wn(e),o=e._R(1),i=[a];if(i[2]=o,r.cellFormula){var s=Js(e,n-e.l,r);i[1]=s}else e.l=n;return i}},427:{f:function(e,t,r){var n=e.l+t,a=[Sn(e,16)];if(r.cellFormula){var o=ec(e,n-e.l,r);a[1]=o,e.l=n}else e.l=n;return a}},428:{},429:{T:1},430:{T:-1},431:{T:1},432:{T:-1},433:{T:1},434:{T:-1},435:{T:1},436:{T:-1},437:{T:1},438:{T:-1},439:{T:1},440:{T:-1},441:{T:1},442:{T:-1},443:{T:1},444:{T:-1},445:{T:1},446:{T:-1},447:{T:1},448:{T:-1},449:{T:1},450:{T:-1},451:{T:1},452:{T:-1},453:{T:1},454:{T:-1},455:{T:1},456:{T:-1},457:{T:1},458:{T:-1},459:{T:1},460:{T:-1},461:{T:1},462:{T:-1},463:{T:1},464:{T:-1},465:{T:1},466:{T:-1},467:{T:1},468:{T:-1},469:{T:1},470:{T:-1},471:{},472:{},473:{T:1},474:{T:-1},475:{},476:{f:function(e){var t={};return Uc.forEach((function(r){t[r]=An(e)})),t}},477:{},478:{},479:{T:1},480:{T:-1},481:{T:1},482:{T:-1},483:{T:1},484:{T:-1},485:{f:function(){}},486:{T:1},487:{T:-1},488:{T:1},489:{T:-1},490:{T:1},491:{T:-1},492:{T:1},493:{T:-1},494:{f:function(e,t){var r=e.l+t,n=Sn(e,16),a=dn(e),o=en(e),i=en(e),s=en(e);e.l=r;var c={rfx:n,relId:a,loc:o,display:s};return i&&(c.Tooltip=i),c}},495:{T:1},496:{T:-1},497:{T:1},498:{T:-1},499:{},500:{T:1},501:{T:-1},502:{T:1},503:{T:-1},504:{},505:{T:1},506:{T:-1},507:{},508:{T:1},509:{T:-1},510:{T:1},511:{T:-1},512:{},513:{},514:{T:1},515:{T:-1},516:{T:1},517:{T:-1},518:{T:1},519:{T:-1},520:{T:1},521:{T:-1},522:{},523:{},524:{},525:{},526:{},527:{},528:{T:1},529:{T:-1},530:{T:1},531:{T:-1},532:{T:1},533:{T:-1},534:{},535:{},536:{},537:{},538:{T:1},539:{T:-1},540:{T:1},541:{T:-1},542:{T:1},548:{},549:{},550:{f:mn},551:{},552:{},553:{},554:{T:1},555:{T:-1},556:{T:1},557:{T:-1},558:{T:1},559:{T:-1},560:{T:1},561:{T:-1},562:{},564:{},565:{T:1},566:{T:-1},569:{T:1},570:{T:-1},572:{},573:{T:1},574:{T:-1},577:{},578:{},579:{},580:{},581:{},582:{},583:{},584:{},585:{},586:{},587:{},588:{T:-1},589:{},590:{T:1},591:{T:-1},592:{T:1},593:{T:-1},594:{T:1},595:{T:-1},596:{},597:{T:1},598:{T:-1},599:{T:1},600:{T:-1},601:{T:1},602:{T:-1},603:{T:1},604:{T:-1},605:{T:1},606:{T:-1},607:{},608:{T:1},609:{T:-1},610:{},611:{T:1},612:{T:-1},613:{T:1},614:{T:-1},615:{T:1},616:{T:-1},617:{T:1},618:{T:-1},619:{T:1},620:{T:-1},625:{},626:{T:1},627:{T:-1},628:{T:1},629:{T:-1},630:{T:1},631:{T:-1},632:{f:us},633:{T:1},634:{T:-1},635:{T:1,f:function(e){var t={};t.iauthor=e._R(4);var r=Sn(e,16);return t.rfx=r.s,t.ref=Vr(r.s),e.l+=16,t}},636:{T:-1},637:{f:an},638:{T:1},639:{},640:{T:-1},641:{T:1},642:{T:-1},643:{T:1},644:{},645:{T:-1},646:{T:1},648:{T:1},649:{},650:{T:-1},651:{f:function(e,t){return e.l+=10,{name:en(e)}}},652:{},653:{T:1},654:{T:-1},655:{T:1},656:{T:-1},657:{T:1},658:{T:-1},659:{},660:{T:1},661:{},662:{T:-1},663:{},664:{T:1},665:{},666:{T:-1},667:{},668:{},669:{},671:{T:1},672:{T:-1},673:{T:1},674:{T:-1},675:{},676:{},677:{},678:{},679:{},680:{},681:{},1024:{},1025:{},1026:{T:1},1027:{T:-1},1028:{T:1},1029:{T:-1},1030:{},1031:{T:1},1032:{T:-1},1033:{T:1},1034:{T:-1},1035:{},1036:{},1037:{},1038:{T:1},1039:{T:-1},1040:{},1041:{T:1},1042:{T:-1},1043:{},1044:{},1045:{},1046:{T:1},1047:{T:-1},1048:{T:1},1049:{T:-1},1050:{},1051:{T:1},1052:{T:1},1053:{f:function(){}},1054:{T:1},1055:{},1056:{T:1},1057:{T:-1},1058:{T:1},1059:{T:-1},1061:{},1062:{T:1},1063:{T:-1},1064:{T:1},1065:{T:-1},1066:{T:1},1067:{T:-1},1068:{T:1},1069:{T:-1},1070:{T:1},1071:{T:-1},1072:{T:1},1073:{T:-1},1075:{T:1},1076:{T:-1},1077:{T:1},1078:{T:-1},1079:{T:1},1080:{T:-1},1081:{T:1},1082:{T:-1},1083:{T:1},1084:{T:-1},1085:{},1086:{T:1},1087:{T:-1},1088:{T:1},1089:{T:-1},1090:{T:1},1091:{T:-1},1092:{T:1},1093:{T:-1},1094:{T:1},1095:{T:-1},1096:{},1097:{T:1},1098:{},1099:{T:-1},1100:{T:1},1101:{T:-1},1102:{},1103:{},1104:{},1105:{},1111:{},1112:{},1113:{T:1},1114:{T:-1},1115:{T:1},1116:{T:-1},1117:{},1118:{T:1},1119:{T:-1},1120:{T:1},1121:{T:-1},1122:{T:1},1123:{T:-1},1124:{T:1},1125:{T:-1},1126:{},1128:{T:1},1129:{T:-1},1130:{},1131:{T:1},1132:{T:-1},1133:{T:1},1134:{T:-1},1135:{T:1},1136:{T:-1},1137:{T:1},1138:{T:-1},1139:{T:1},1140:{T:-1},1141:{},1142:{T:1},1143:{T:-1},1144:{T:1},1145:{T:-1},1146:{},1147:{T:1},1148:{T:-1},1149:{T:1},1150:{T:-1},1152:{T:1},1153:{T:-1},1154:{T:-1},1155:{T:-1},1156:{T:-1},1157:{T:1},1158:{T:-1},1159:{T:1},1160:{T:-1},1161:{T:1},1162:{T:-1},1163:{T:1},1164:{T:-1},1165:{T:1},1166:{T:-1},1167:{T:1},1168:{T:-1},1169:{T:1},1170:{T:-1},1171:{},1172:{T:1},1173:{T:-1},1177:{},1178:{T:1},1180:{},1181:{},1182:{},2048:{T:1},2049:{T:-1},2050:{},2051:{T:1},2052:{T:-1},2053:{},2054:{},2055:{T:1},2056:{T:-1},2057:{T:1},2058:{T:-1},2060:{},2067:{},2068:{T:1},2069:{T:-1},2070:{},2071:{},2072:{T:1},2073:{T:-1},2075:{},2076:{},2077:{T:1},2078:{T:-1},2079:{},2080:{T:1},2081:{T:-1},2082:{},2083:{T:1},2084:{T:-1},2085:{T:1},2086:{T:-1},2087:{T:1},2088:{T:-1},2089:{T:1},2090:{T:-1},2091:{},2092:{},2093:{T:1},2094:{T:-1},2095:{},2096:{T:1},2097:{T:-1},2098:{T:1},2099:{T:-1},2100:{T:1},2101:{T:-1},2102:{},2103:{T:1},2104:{T:-1},2105:{},2106:{T:1},2107:{T:-1},2108:{},2109:{T:1},2110:{T:-1},2111:{T:1},2112:{T:-1},2113:{T:1},2114:{T:-1},2115:{},2116:{},2117:{},2118:{T:1},2119:{T:-1},2120:{},2121:{T:1},2122:{T:-1},2123:{T:1},2124:{T:-1},2125:{},2126:{T:1},2127:{T:-1},2128:{},2129:{T:1},2130:{T:-1},2131:{T:1},2132:{T:-1},2133:{T:1},2134:{},2135:{},2136:{},2137:{T:1},2138:{T:-1},2139:{T:1},2140:{T:-1},2141:{},3072:{},3073:{},4096:{T:1},4097:{T:-1},5002:{T:1},5003:{T:-1},5081:{T:1},5082:{T:-1},5083:{},5084:{T:1},5085:{T:-1},5086:{T:1},5087:{T:-1},5088:{},5089:{},5090:{},5092:{T:1},5093:{T:-1},5094:{},5095:{T:1},5096:{T:-1},5097:{},5099:{},65535:{n:""}},Ql={6:{f:Xs},10:{f:Ca},12:{f:Pa},13:{f:Pa},14:{f:Oa},15:{f:Oa},16:{f:An},17:{f:Oa},18:{f:Oa},19:{f:Pa},20:{f:mo},21:{f:mo},23:{f:wo},24:{f:yo},25:{f:Oa},26:{},27:{},28:{f:function(e,t,r){return function(e,t,r){if(!(r.biff<8)){var n=e._R(2),a=e._R(2),o=e._R(2),i=e._R(2),s=Ua(e,0,r);return r.biff<8&&e._R(1),[{r:n,c:a},s,i,o]}}(e,0,r)}},29:{},34:{f:Oa},35:{f:vo},38:{f:An},39:{f:An},40:{f:An},41:{f:An},42:{f:Oa},43:{f:Oa},47:{f:function(e,t,r){var n={Type:r.biff>=8?e._R(2):0};return n.Type?ci(e,t-2,n):function(e,t,r,n){var a={key:Pa(e),verificationBytes:Pa(e)};r.password&&(a.verifier=oi(r.password)),n.valid=a.verificationBytes===a.verifier,n.valid&&(n.insitu=si(r.password))}(e,r.biff,r,n),n}},49:{f:function(e,t,r){var n={dyHeight:e._R(2),fl:e._R(2)};switch(r&&r.biff||8){case 2:break;case 3:case 4:e.l+=2;break;default:e.l+=10}return n.name=Da(e,0,r),n}},51:{f:Pa},60:{},61:{f:function(e){return{Pos:[e._R(2),e._R(2)],Dim:[e._R(2),e._R(2)],Flags:e._R(2),CurTab:e._R(2),FirstTab:e._R(2),Selected:e._R(2),TabRatio:e._R(2)}}},64:{f:Oa},65:{f:function(){}},66:{f:Pa},77:{},80:{},81:{},82:{},85:{f:Pa},89:{},90:{},91:{},92:{f:function(e,t,r){if(r.enc)return e.l+=t,"";var n=e.l,a=Ua(e,0,r);return e._R(t+n-e.l),a}},93:{f:function(e,t,r){if(r&&r.biff<8)return function(e,t,r){e.l+=4;var n=e._R(2),a=e._R(2),o=e._R(2);e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=6,t-=36;var i=[];return i.push((xo[n]||Or)(e,t,r)),{cmo:[a,n,o],ft:i}}(e,t,r);var n=no(e),a=function(e,t){for(var r=e.l+t,n=[];e.l<r;){var a=e._R(2);e.l-=2;try{n.push(oo[a](e,r-e.l))}catch(t){return e.l=r,n}}return e.l!=r&&(e.l=r),n}(e,t-22,n[1]);return{cmo:n,ft:a}}},94:{},95:{f:Oa},96:{},97:{},99:{f:Oa},125:{f:To},128:{f:function(e){e.l+=4;var t=[e._R(2),e._R(2)];if(0!==t[0]&&t[0]--,0!==t[1]&&t[1]--,t[0]>7||t[1]>7)throw new Error("Bad Gutters: "+t.join("|"));return t}},129:{f:function(e,t,r){var n=r&&8==r.biff||2==t?e._R(2):(e.l+=t,0);return{fDialog:16&n,fBelow:64&n,fRight:128&n}}},130:{f:Pa},131:{f:Oa},132:{f:Oa},133:{f:function(e,t,r){var n=e._R(4),a=3&e._R(1),o=e._R(1);switch(o){case 0:o="Worksheet";break;case 1:o="Macrosheet";break;case 2:o="Chartsheet";break;case 6:o="VBAModule"}var i=Da(e,0,r);return 0===i.length&&(i="Sheet1"),{pos:n,hs:a,dt:o,name:i}}},134:{},140:{f:function(e){var t,r=[0,0];return t=e._R(2),r[0]=Fn[t]||t,t=e._R(2),r[1]=Fn[t]||t,r}},141:{f:Pa},144:{},146:{f:function(e){for(var t=e._R(2),r=[];t-- >0;)r.push(Xa(e));return r}},151:{},152:{},153:{},154:{},155:{},156:{f:Pa},157:{},158:{},160:{f:_o},161:{f:function(e,t){var r={};return t<32||(e.l+=16,r.header=An(e),r.footer=An(e),e.l+=2),r}},174:{},175:{},176:{},177:{},178:{},180:{},181:{},182:{},184:{},185:{},189:{f:function(e,t){for(var r=e.l+t-2,n=e._R(2),a=e._R(2),o=[];e.l<r;)o.push(Za(e));if(e.l!==r)throw new Error("MulRK read error");var i=e._R(2);if(o.length!=i-a+1)throw new Error("MulRK length mismatch");return{r:n,c:a,C:i,rkrec:o}}},190:{f:function(e,t){for(var r=e.l+t-2,n=e._R(2),a=e._R(2),o=[];e.l<r;)o.push(e._R(2));if(e.l!==r)throw new Error("MulBlank read error");var i=e._R(2);if(o.length!=i-a+1)throw new Error("MulBlank length mismatch");return{r:n,c:a,C:i,ixfe:o}}},193:{f:Ca},197:{},198:{},199:{},200:{},201:{},202:{f:Oa},203:{},204:{},205:{},206:{},207:{},208:{},209:{},210:{},211:{},213:{},215:{},216:{},217:{},218:{f:Pa},220:{},221:{f:Oa},222:{},224:{f:function(e,t,r){var n={};return n.ifnt=e._R(2),n.numFmtId=e._R(2),n.flags=e._R(2),n.fStyle=n.flags>>2&1,6,n.data=function(e,t,r,n){var a={},o=e._R(4),i=e._R(4),s=e._R(4),c=e._R(2);return a.patternType=Dn[s>>26],n.cellStyles?(a.alc=7&o,a.fWrap=o>>3&1,a.alcV=o>>4&7,a.fJustLast=o>>7&1,a.trot=o>>8&255,a.cIndent=o>>16&15,a.fShrinkToFit=o>>20&1,a.iReadOrder=o>>22&2,a.fAtrNum=o>>26&1,a.fAtrFnt=o>>27&1,a.fAtrAlc=o>>28&1,a.fAtrBdr=o>>29&1,a.fAtrPat=o>>30&1,a.fAtrProt=o>>31&1,a.dgLeft=15&i,a.dgRight=i>>4&15,a.dgTop=i>>8&15,a.dgBottom=i>>12&15,a.icvLeft=i>>16&127,a.icvRight=i>>23&127,a.grbitDiag=i>>30&3,a.icvTop=127&s,a.icvBottom=s>>7&127,a.icvDiag=s>>14&127,a.dgDiag=s>>21&15,a.icvFore=127&c,a.icvBack=c>>7&127,a.fsxButton=c>>14&1,a):a}(e,0,n.fStyle,r),n}},225:{f:function(e,t){return 0===t||e._R(2),1200}},226:{f:Ca},227:{},229:{f:function(e,t){for(var r=[],n=e._R(2);n--;)r.push(Qa(e));return r}},233:{},235:{},236:{},237:{},239:{},240:{},241:{},242:{},244:{},245:{},246:{},247:{},248:{},249:{},251:{},252:{f:function(e,t){for(var r=e.l+t,n=e._R(4),a=e._R(4),o=[],i=0;i!=a&&e.l<r;++i)o.push(Ma(e));return o.Count=n,o.Unique=a,o}},253:{f:function(e){var t=Ya(e);return t.isst=e._R(4),t}},255:{f:function(e,t){var r={};return r.dsst=e._R(2),e.l+=t-2,r}},256:{},259:{},290:{},311:{},312:{},315:{},317:{f:Ia},318:{},319:{},320:{},330:{},331:{},333:{},334:{},335:{},336:{},337:{},338:{},339:{},340:{},351:{},352:{f:Oa},353:{f:Ca},401:{},402:{},403:{},404:{},405:{},406:{},407:{},408:{},425:{},426:{},427:{},428:{},429:{},430:{f:function(e,t,r){var n=e.l+t,a=e._R(2),o=e._R(2);if(r.sbcch=o,1025==o||14849==o)return[o,a];if(o<1||o>255)throw new Error("Unexpected SupBook type: "+o);for(var i=Ba(e,o),s=[];n>e.l;)s.push(Wa(e));return[o,a,i,s]}},431:{f:Oa},432:{},433:{},434:{},437:{},438:{f:function(e,t,r){var n=e.l,a="";try{e.l+=4;var o=(r.lastobj||{cmo:[0,0]}).cmo[1];-1==[0,5,7,11,12,14].indexOf(o)?e.l+=6:function(e){var t=e._R(1);e.l++;var r=e._R(2);return e.l+=2,[t,r]}(e);var i=e._R(2);e._R(2),Pa(e);var s=e._R(2);e.l+=s;for(var c=1;c<e.lens.length-1;++c){if(e.l-n!=e.lens[c])throw new Error("TxO: bad continue record");var l=e[e.l];if((a+=Ba(e,e.lens[c+1]-e.lens[c]-1)).length>=(l?i:2*i))break}if(a.length!==i&&a.length!==2*i)throw new Error("cchText: "+i+" != "+a.length);return e.l=n+t,{t:a}}catch(r){return e.l=n+t,{t:a}}}},439:{f:Oa},440:{f:function(e,t){var r=Qa(e);e.l+=16;var n=function(e,t){var r=e.l+t,n=e._R(4);if(2!==n)throw new Error("Unrecognized streamVersion: "+n);var a=e._R(2);e.l+=2;var o,i,s,c,l,u,f="";16&a&&(o=Va(e,e.l)),128&a&&(i=Va(e,e.l)),257==(257&a)&&(s=Va(e,e.l)),1==(257&a)&&(c=za(e,e.l)),8&a&&(f=Va(e,e.l)),32&a&&(l=e._R(16)),64&a&&(u=da(e)),e.l=r;var h=i||s||c||"";h&&f&&(h+="#"+f),h||(h="#"+f),2&a&&"/"==h.charAt(0)&&"/"!=h.charAt(1)&&(h="file://"+h);var d={Target:h};return l&&(d.guid=l),u&&(d.time=u),o&&(d.Tooltip=o),d}(e,t-24);return[r,n]}},441:{},442:{f:Wa},443:{},444:{f:Pa},445:{},446:{},448:{f:Ca},449:{f:function(e){return e._R(2),e._R(4)},r:2},450:{f:Ca},512:{f:ho},513:{f:Eo},515:{f:function(e,t,r){r.biffguess&&2==r.biff&&(r.biff=5);var n=Ya(e),a=An(e);return n.val=a,n}},516:{f:function(e,t,r){r.biffguess&&2==r.biff&&(r.biff=5),e.l;var n=Ya(e);2==r.biff&&e.l++;var a=Wa(e,e.l,r);return n.val=a,n}},517:{f:go},519:{f:No},520:{f:function(e){var t={};t.r=e._R(2),t.c=e._R(2),t.cnt=e._R(2)-t.c;var r=e._R(2);e.l+=4;var n=e._R(1);return e.l+=3,7&n&&(t.level=7&n),32&n&&(t.hidden=!0),64&n&&(t.hpt=r/20),t}},523:{},545:{f:So},549:{f:lo},566:{},574:{f:function(e,t,r){return r&&r.biff>=2&&r.biff<5?{}:{RTL:64&e._R(2)}}},638:{f:function(e){var t=e._R(2),r=e._R(2),n=Za(e);return{r:t,c:r,ixfe:n[0],rknum:n[1]}}},659:{},1048:{},1054:{f:function(e,t,r){return[e._R(2),Ua(e,0,r)]}},1084:{},1212:{f:function(e,t,r){var n=to(e);e.l++;var a=e._R(1);return[Gs(e,t-=8,r),a,n]}},2048:{f:function(e,t){e._R(2);var r=Qa(e),n=e._R((t-10)/2,"dbcs-cont");return[r,n=n.replace(_,"")]}},2049:{},2050:{},2051:{},2052:{},2053:{},2054:{},2055:{},2056:{},2057:{f:io},2058:{},2059:{},2060:{},2061:{},2062:{},2063:{},2064:{},2066:{},2067:{},2128:{},2129:{},2130:{},2131:{},2132:{},2133:{},2134:{},2135:{},2136:{},2137:{},2138:{},2146:{},2147:{r:12},2148:{},2149:{},2150:{},2151:{f:Ca},2152:{},2154:{},2155:{},2156:{},2161:{},2162:{},2164:{},2165:{},2166:{},2167:{},2168:{},2169:{},2170:{},2171:{},2172:{f:function(e){e.l+=2;var t={cxfs:0,crc:0};return t.cxfs=e._R(2),t.crc=e._R(4),t},r:12},2173:{f:function(e,t){e.l,e.l+=2;var r=e._R(2);e.l+=2;for(var n=e._R(2),a=[];n-- >0;)a.push(ts(e,e.l));return{ixfe:r,ext:a}},r:12},2174:{},2175:{},2180:{},2181:{},2182:{},2183:{},2184:{},2185:{},2186:{},2187:{},2188:{f:Oa,r:12},2189:{},2190:{r:12},2191:{},2192:{},2194:{},2195:{},2196:{f:function(e,t,r){if(!(r.biff<8)){var n=e._R(2),a=e._R(2);return[Ba(e,n,r),Ba(e,a,r)]}e.l+=t},r:12},2197:{},2198:{f:function(e,t,r){var n=e.l+t;if(124226!==e._R(4))if(r.cellStyles){var a,o=e.slice(e.l);e.l=n;try{a=st(o,{type:"array"})}catch(e){return}var i=rt(a,"theme/theme/theme1.xml",!0);if(i)return Zi(i,r)}else e.l=n},r:12},2199:{},2200:{},2201:{},2202:{f:function(e){return[0!==e._R(4),0!==e._R(4),e._R(4)]},r:12},2203:{f:Ca},2204:{},2205:{},2206:{},2207:{},2211:{f:function(e){var t=function(e){var t=e._R(2),r=e._R(2);return e.l+=8,{type:t,flags:r}}(e);if(2211!=t.type)throw new Error("Invalid Future Record "+t.type);return 0!==e._R(4)}},2212:{},2213:{},2214:{},2215:{},4097:{},4098:{},4099:{},4102:{},4103:{},4105:{},4106:{},4107:{},4108:{},4109:{},4116:{},4117:{},4118:{},4119:{},4120:{},4121:{},4122:{},4123:{},4124:{},4125:{},4126:{},4127:{},4128:{},4129:{},4130:{},4132:{},4133:{},4134:{f:Pa},4135:{},4146:{},4147:{},4148:{},4149:{},4154:{},4156:{},4157:{},4158:{},4159:{},4160:{},4161:{},4163:{},4164:{f:function(e,t,r){var n={area:!1};if(5!=r.biff)return e.l+=t,n;var a=e._R(1);return e.l+=3,16&a&&(n.area=!0),n}},4165:{},4166:{},4168:{},4170:{},4171:{},4174:{},4175:{},4176:{},4177:{},4187:{},4188:{f:function(e){for(var t=e._R(2),r=[];t-- >0;)r.push(Xa(e));return r}},4189:{},4191:{},4192:{},4193:{},4194:{},4195:{},4196:{},4197:{},4198:{},4199:{},4200:{},0:{f:ho},1:{},2:{f:function(e){var t=Ya(e);++e.l;var r=e._R(2);return t.t="n",t.val=r,t}},3:{f:function(e){var t=Ya(e);++e.l;var r=An(e);return t.t="n",t.val=r,t}},4:{f:function(e,t,r){r.biffguess&&5==r.biff&&(r.biff=2);var n=Ya(e);++e.l;var a=Ua(e,0,r);return n.t="str",n.val=a,n}},5:{f:go},7:{f:function(e){var t=e._R(1);return 0===t?(e.l++,""):e._R(t,"sbcs-cont")}},8:{},9:{f:io},11:{},22:{f:Pa},30:{f:fo},31:{},32:{},33:{f:So},36:{},37:{f:lo},50:{f:function(e,t){e.l+=6,e.l+=2,e.l+=1,e.l+=3,e.l+=1,e.l+=t-13}},62:{},52:{},67:{},68:{f:Pa},69:{},86:{},126:{},127:{f:function(e){var t=e._R(2),r=e._R(2),n=e._R(4),a={fmt:t,env:r,len:n,data:e.slice(e.l,e.l+n)};return e.l+=n,a}},135:{},136:{},137:{},145:{},148:{},149:{},150:{},169:{},171:{},188:{},191:{},192:{},194:{},195:{},214:{f:function(e,t,r){var n=e.l+t,a=Ya(e),o=e._R(2),i=Ba(e,o,r);return e.l=n,a.t="str",a.val=i,a}},223:{},234:{},354:{},421:{},518:{f:Xs},521:{f:io},536:{f:yo},547:{f:vo},561:{},579:{},1030:{f:Xs},1033:{f:io},1091:{},2157:{},2163:{},2177:{},2240:{},2241:{},2242:{},2243:{},2244:{},2245:{},2246:{},2247:{},2248:{},2249:{},2250:{},2251:{},2262:{r:12},29282:{}};function eu(e,t,r,n){var a=t;if(!isNaN(a)){var o=n||(r||[]).length||0,i=e.next(4);i._W(2,a),i._W(2,o),o>0&&mr(r)&&e.push(r)}}function tu(e,t,r){return e||(e=Rr(7)),e._W(2,t),e._W(2,r),e._W(2,0),e._W(1,0),e}function ru(e,t,r,n){if(null!=t.v)switch(t.t){case"d":case"n":var a="d"==t.t?Ie(ze(t.v)):t.v;return void(a==(0|a)&&a>=0&&a<65536?eu(e,2,function(e,t,r){var n=Rr(9);return tu(n,e,t),n._W(2,r),n}(r,n,a)):eu(e,3,function(e,t,r){var n=Rr(15);return tu(n,e,t),n._W(8,r,"f"),n}(r,n,a)));case"b":case"e":return void eu(e,5,function(e,t,r,n){var a=Rr(9);return tu(a,e,t),Fa(r,n||"b",a),a}(r,n,t.v,t.t));case"s":case"str":return void eu(e,4,function(e,t,r){var n=Rr(8+2*r.length);return tu(n,e,t),n._W(1,r.length),n._W(r.length,r,"sbcs"),n.l<n.length?n.slice(0,n.l):n}(r,n,(t.v||"").slice(0,255)))}eu(e,1,tu(null,r,n))}function nu(e,t){var r=t||{};null!=p&&null==r.dense&&(r.dense=p);for(var n=Lr(),a=0,o=0;o<e.SheetNames.length;++o)e.SheetNames[o]==r.sheet&&(a=o);if(0==a&&r.sheet&&e.SheetNames[0]!=r.sheet)throw new Error("Sheet not found: "+r.sheet);return eu(n,4==r.biff?1033:3==r.biff?521:9,so(0,16,r)),function(e,t,r,n){var a,o=Array.isArray(t),i=Gr(t["!ref"]||"A1"),s="",c=[];if(i.e.c>255||i.e.r>16383){if(n.WTF)throw new Error("Range "+(t["!ref"]||"A1")+" exceeds format limit A1:IV16384");i.e.c=Math.min(i.e.c,255),i.e.r=Math.min(i.e.c,16383),a=$r(i)}for(var l=i.s.r;l<=i.e.r;++l){s=Wr(l);for(var u=i.s.c;u<=i.e.c;++u){l===i.s.r&&(c[u]=Hr(u)),a=c[u]+s;var f=o?(t[l]||[])[u]:t[a];f&&ru(e,f,l,u)}}}(n,e.Sheets[e.SheetNames[a]],0,r),eu(n,10),n.end()}function au(e,t,r){eu(e,49,function(e,t){var r=e.name||"Arial",n=t&&5==t.biff,a=Rr(n?15+r.length:16+2*r.length);return a._W(2,20*(e.sz||12)),a._W(4,0),a._W(2,400),a._W(4,0),a._W(2,0),a._W(1,r.length),n||a._W(1,1),a._W((n?1:2)*r.length,r,n?"sbcs":"utf16le"),a}({sz:12,color:{theme:1},name:"Arial",family:2,scheme:"minor"},r))}function ou(e,t){if(t){var r=0;t.forEach((function(t,n){++r<=256&&t&&eu(e,125,function(e,t){var r=Rr(12);r._W(2,t),r._W(2,t),r._W(2,256*e.width),r._W(2,0);var n=0;return e.hidden&&(n|=1),r._W(1,n),n=e.level||0,r._W(1,n),r._W(2,0),r}(hc(n,t),n))}))}}function iu(e,t,r,n,a){var o=16+pc(a.cellXfs,t,a);if(null!=t.v||t.bf)if(t.bf)eu(e,6,Ys(t,r,n,0,o));else switch(t.t){case"d":case"n":eu(e,515,function(e,t,r,n){var a=Rr(14);return Ka(e,t,n,a),kn(r,a),a}(r,n,"d"==t.t?Ie(ze(t.v)):t.v,o));break;case"b":case"e":eu(e,517,function(e,t,r,n,a,o){var i=Rr(8);return Ka(e,t,n,i),Fa(r,o,i),i}(r,n,t.v,o,0,t.t));break;case"s":case"str":if(a.bookSST)eu(e,253,function(e,t,r,n){var a=Rr(10);return Ka(e,t,n,a),a._W(4,r),a}(r,n,fc(a.Strings,t.v,a.revStrings),o));else eu(e,516,function(e,t,r,n,a){var o=!a||8==a.biff,i=Rr(+o+8+(1+o)*r.length);return Ka(e,t,n,i),i._W(2,r.length),o&&i._W(1,1),i._W((1+o)*r.length,r,o?"utf16le":"sbcs"),i}(r,n,(t.v||"").slice(0,255),o,a));break;default:eu(e,513,Ka(r,n,o))}else eu(e,513,Ka(r,n,o))}function su(e,t,r){var n,a=Lr(),o=r.SheetNames[e],i=r.Sheets[o]||{},s=(r||{}).Workbook||{},c=(s.Sheets||[])[e]||{},l=Array.isArray(i),u=8==t.biff,f="",h=[],d=Gr(i["!ref"]||"A1"),p=u?65536:16384;if(d.e.c>255||d.e.r>=p){if(t.WTF)throw new Error("Range "+(i["!ref"]||"A1")+" exceeds format limit A1:IV16384");d.e.c=Math.min(d.e.c,255),d.e.r=Math.min(d.e.c,p-1)}eu(a,2057,so(0,16,t)),eu(a,13,La(1)),eu(a,12,La(100)),eu(a,15,Ra(!0)),eu(a,17,Ra(!1)),eu(a,16,kn(.001)),eu(a,95,Ra(!0)),eu(a,42,Ra(!1)),eu(a,43,Ra(!1)),eu(a,130,La(1)),eu(a,128,function(e){var t=Rr(8);return t._W(4,0),t._W(2,e[0]?e[0]+1:0),t._W(2,e[1]?e[1]+1:0),t}([0,0])),eu(a,131,Ra(!1)),eu(a,132,Ra(!1)),u&&ou(a,i["!cols"]),eu(a,512,function(e,t){var r=8!=t.biff&&t.biff?2:4,n=Rr(2*r+6);return n._W(r,e.s.r),n._W(r,e.e.r+1),n._W(2,e.s.c),n._W(2,e.e.c+1),n._W(2,0),n}(d,t)),u&&(i["!links"]=[]);for(var g=d.s.r;g<=d.e.r;++g){f=Wr(g);for(var m=d.s.c;m<=d.e.c;++m){g===d.s.r&&(h[m]=Hr(m)),n=h[m]+f;var v=l?(i[g]||[])[m]:i[n];v&&(iu(a,v,g,m,t),u&&v.l&&i["!links"].push([n,v.l]))}}var b=c.CodeName||c.name||o;return u&&eu(a,574,function(e){var t=Rr(18),r=1718;return e&&e.RTL&&(r|=64),t._W(2,r),t._W(4,0),t._W(4,64),t._W(4,0),t._W(4,0),t}((s.Views||[])[0])),u&&(i["!merges"]||[]).length&&eu(a,229,function(e){var t=Rr(2+8*e.length);t._W(2,e.length);for(var r=0;r<e.length;++r)eo(e[r],t);return t}(i["!merges"])),u&&function(e,t){for(var r=0;r<t["!links"].length;++r){var n=t["!links"][r];eu(e,440,Ao(n)),n[1].Tooltip&&eu(e,2048,ko(n))}delete t["!links"]}(a,i),eu(a,442,Ha(b)),u&&function(e,t){var r=Rr(19);r._W(4,2151),r._W(4,0),r._W(4,0),r._W(2,3),r._W(1,1),r._W(4,0),eu(e,2151,r),(r=Rr(39))._W(4,2152),r._W(4,0),r._W(4,0),r._W(2,3),r._W(1,0),r._W(4,0),r._W(2,1),r._W(4,4),r._W(2,0),eo(Gr(t["!ref"]||"A1"),r),r._W(4,4),eu(e,2152,r)}(a,i),eu(a,10),a.end()}function cu(e,t,r){var n=Lr(),a=(e||{}).Workbook||{},o=a.Sheets||[],i=a.WBProps||{},s=8==r.biff,c=5==r.biff;(eu(n,2057,so(0,5,r)),"xla"==r.bookType&&eu(n,135),eu(n,225,s?La(1200):null),eu(n,193,function(e,t){t||(t=Rr(e));for(var r=0;r<e;++r)t._W(1,0);return t}(2)),c&&eu(n,191),c&&eu(n,192),eu(n,226),eu(n,92,function(e,t){var r=!t||8==t.biff,n=Rr(r?112:54);for(n._W(8==t.biff?2:1,7),r&&n._W(1,0),n._W(4,859007059),n._W(4,5458548|(r?0:536870912));n.l<n.length;)n._W(1,r?0:32);return n}(0,r)),eu(n,66,La(s?1200:1252)),s&&eu(n,353,La(0)),s&&eu(n,448),eu(n,317,function(e){for(var t=Rr(2*e),r=0;r<e;++r)t._W(2,r+1);return t}(e.SheetNames.length)),s&&e.vbaraw&&eu(n,211),s&&e.vbaraw)&&eu(n,442,Ha(i.CodeName||"ThisWorkbook"));eu(n,156,La(17)),eu(n,25,Ra(!1)),eu(n,18,Ra(!1)),eu(n,19,La(0)),s&&eu(n,431,Ra(!1)),s&&eu(n,444,La(0)),eu(n,61,function(){var e=Rr(18);return e._W(2,0),e._W(2,0),e._W(2,29280),e._W(2,17600),e._W(2,56),e._W(2,0),e._W(2,0),e._W(2,1),e._W(2,500),e}()),eu(n,64,Ra(!1)),eu(n,141,La(0)),eu(n,34,Ra("true"==function(e){return e.Workbook&&e.Workbook.WBProps&&_t(e.Workbook.WBProps.date1904)?"true":"false"}(e))),eu(n,14,Ra(!0)),s&&eu(n,439,Ra(!1)),eu(n,218,La(0)),au(n,0,r),function(e,t,r){t&&[[5,8],[23,26],[41,44],[50,392]].forEach((function(n){for(var a=n[0];a<=n[1];++a)null!=t[a]&&eu(e,1054,uo(a,t[a],r))}))}(n,e.SSF,r),function(e,t){for(var r=0;r<16;++r)eu(e,224,po({numFmtId:0,style:!0},0,t));t.cellXfs.forEach((function(r){eu(e,224,po(r,0,t))}))}(n,r),s&&eu(n,352,Ra(!1));var l=n.end(),u=Lr();s&&eu(u,140,function(e){return e||(e=Rr(4)),e._W(2,1),e._W(2,1),e}()),s&&r.Strings&&function(e,t,r,n){var a=n||(r||[]).length||0;if(a<=8224)return eu(e,t,r,a);var o=t;if(!isNaN(o)){for(var i=r.parts||[],s=0,c=0,l=0;l+(i[s]||8224)<=8224;)l+=i[s]||8224,s++;var u=e.next(4);for(u._W(2,o),u._W(2,l),e.push(r.slice(c,c+l)),c+=l;c<a;){for((u=e.next(4))._W(2,60),l=0;l+(i[s]||8224)<=8224;)l+=i[s]||8224,s++;u._W(2,l),e.push(r.slice(c,c+l)),c+=l}}}(u,252,function(e,t){var r=Rr(8);r._W(4,e.Count),r._W(4,e.Unique);for(var n=[],a=0;a<e.length;++a)n[a]=ja(e[a]);var o=E([r].concat(n));return o.parts=[r.length].concat(n.map((function(e){return e.length}))),o}(r.Strings)),eu(u,10);var f=u.end(),h=Lr(),d=0,p=0;for(p=0;p<e.SheetNames.length;++p)d+=(s?12:11)+(s?2:1)*e.SheetNames[p].length;var g=l.length+d+f.length;for(p=0;p<e.SheetNames.length;++p){eu(h,133,co({pos:g,hs:(o[p]||{}).Hidden||0,dt:0,name:e.SheetNames[p]},r)),g+=t[p].length}var m=h.end();if(d!=m.length)throw new Error("BS8 "+d+" != "+m.length);var v=[];return l.length&&v.push(l),m.length&&v.push(m),f.length&&v.push(f),E(v)}function lu(e,t){for(var r=0;r<=e.SheetNames.length;++r){var n=e.Sheets[e.SheetNames[r]];if(n&&n["!ref"])qr(n["!ref"]).e.c>255&&"undefined"!=typeof console&&console.error&&console.error("Worksheet '"+e.SheetNames[r]+"' extends beyond column IV (255). Data may be lost.")}var a=t||{};switch(a.biff||2){case 8:case 5:return function(e,t){var r=t||{},n=[];e&&!e.SSF&&(e.SSF=qe(j)),e&&e.SSF&&(we(),ye(e.SSF),r.revssf=Pe(e.SSF),r.revssf[e.SSF[65535]]=0,r.ssf=e.SSF),r.Strings=[],r.Strings.Count=0,r.Strings.Unique=0,rf(r),r.cellXfs=[],pc(r.cellXfs,{},{revssf:{General:0}}),e.Props||(e.Props={});for(var a=0;a<e.SheetNames.length;++a)n[n.length]=su(a,r,e);return n.unshift(cu(e,n,r)),E(n)}(e,t);case 4:case 3:case 2:return nu(e,t)}throw new Error("invalid type "+a.bookType+" for BIFF")}function uu(e,t){var r=t||{};null!=p&&null==r.dense&&(r.dense=p);var n=r.dense?[]:{},a=(e=e.replace(/<!--.*?-->/g,"")).match(/<table/i);if(!a)throw new Error("Invalid HTML: could not find <table>");var o=e.match(/<\/table/i),i=a.index,s=o&&o.index||e.length,c=Ke(e.slice(i,s),/(:?<tr[^>]*>)/i,"<tr>"),l=-1,u=0,f=0,h=0,d={s:{r:1e7,c:1e7},e:{r:0,c:0}},g=[];for(i=0;i<c.length;++i){var m=c[i].trim(),v=m.slice(0,3).toLowerCase();if("<tr"!=v){if("<td"==v||"<th"==v){var b=m.split(/<\/t[dh]>/i);for(s=0;s<b.length;++s){var y=b[s].trim();if(y.match(/<t[dh]/i)){for(var w=y,S=0;"<"==w.charAt(0)&&(S=w.indexOf(">"))>-1;)w=w.slice(S+1);for(var x=0;x<g.length;++x){var A=g[x];A.s.c==u&&A.s.r<l&&l<=A.e.r&&(u=A.e.c+1,x=-1)}var k=gt(y.slice(0,y.indexOf(">")));h=k.colspan?+k.colspan:1,((f=+k.rowspan)>1||h>1)&&g.push({s:{r:l,c:u},e:{r:l+(f||1)-1,c:u+h-1}});var T=k.t||k["data-t"]||"";if(w.length)if(w=Ft(w),d.s.r>l&&(d.s.r=l),d.e.r<l&&(d.e.r=l),d.s.c>u&&(d.s.c=u),d.e.c<u&&(d.e.c=u),w.length){var E={t:"s",v:w};r.raw||!w.trim().length||"s"==T||("TRUE"===w?E={t:"b",v:!0}:"FALSE"===w?E={t:"b",v:!1}:isNaN(Ge(w))?isNaN(Ye(w).getDate())||(E={t:"d",v:ze(w)},r.cellDates||(E={t:"n",v:Ie(E.v)}),E.z=r.dateNF||j[14]):E={t:"n",v:Ge(w)}),r.dense?(n[l]||(n[l]=[]),n[l][u]=E):n[Vr({r:l,c:u})]=E,u+=h}else u+=h;else u+=h}}}}else{if(++l,r.sheetRows&&r.sheetRows<=l){--l;break}u=0}}return n["!ref"]=$r(d),g.length&&(n["!merges"]=g),n}function fu(e,t,r,n){for(var a=e["!merges"]||[],o=[],i=t.s.c;i<=t.e.c;++i){for(var s=0,c=0,l=0;l<a.length;++l)if(!(a[l].s.r>r||a[l].s.c>i||a[l].e.r<r||a[l].e.c<i)){if(a[l].s.r<r||a[l].s.c<i){s=-1;break}s=a[l].e.r-a[l].s.r+1,c=a[l].e.c-a[l].s.c+1;break}if(!(s<0)){var u=Vr({r:r,c:i}),f=n.dense?(e[r]||[])[i]:e[u],h=f&&null!=f.v&&(f.h||Tt(f.w||(Yr(f),f.w)||""))||"",d={};s>1&&(d.rowspan=s),c>1&&(d.colspan=c),n.editable?h='<span contenteditable="true">'+h+"</span>":f&&(d["data-t"]=f&&f.t||"z",null!=f.v&&(d["data-v"]=f.v),null!=f.z&&(d["data-z"]=f.z),f.l&&"#"!=(f.l.Target||"#").charAt(0)&&(h='<a href="'+f.l.Target+'">'+h+"</a>")),d.id=(n.id||"sjs")+"-"+u,o.push(zt("td",h,d))}}return"<tr>"+o.join("")+"</tr>"}var hu='<html><head><meta charset="utf-8"/><title>SheetJS Table Export</title></head><body>',du="</body></html>";function pu(e,t,r){return[].join("")+"<table"+(r&&r.id?' id="'+r.id+'"':"")+">"}function gu(e,t){var r=t||{},n=null!=r.header?r.header:hu,a=null!=r.footer?r.footer:du,o=[n],i=qr(e["!ref"]);r.dense=Array.isArray(e),o.push(pu(0,0,r));for(var s=i.s.r;s<=i.e.r;++s)o.push(fu(e,i,s,r));return o.push("</table>"+a),o.join("")}function mu(e,t,r){var n=r||{};null!=p&&(n.dense=p);var a=0,o=0;if(null!=n.origin)if("number"==typeof n.origin)a=n.origin;else{var i="string"==typeof n.origin?zr(n.origin):n.origin;a=i.r,o=i.c}var s=t.getElementsByTagName("tr"),c=Math.min(n.sheetRows||1e7,s.length),l={s:{r:0,c:0},e:{r:a,c:o}};if(e["!ref"]){var u=qr(e["!ref"]);l.s.r=Math.min(l.s.r,u.s.r),l.s.c=Math.min(l.s.c,u.s.c),l.e.r=Math.max(l.e.r,u.e.r),l.e.c=Math.max(l.e.c,u.e.c),-1==a&&(l.e.r=a=u.e.r+1)}var f=[],h=0,d=e["!rows"]||(e["!rows"]=[]),g=0,m=0,v=0,b=0,y=0,w=0;for(e["!cols"]||(e["!cols"]=[]);g<s.length&&m<c;++g){var S=s[g];if(bu(S)){if(n.display)continue;d[m]={hidden:!0}}var x=S.children;for(v=b=0;v<x.length;++v){var A=x[v];if(!n.display||!bu(A)){var k=A.hasAttribute("data-v")?A.getAttribute("data-v"):A.hasAttribute("v")?A.getAttribute("v"):Ft(A.innerHTML),T=A.getAttribute("data-z")||A.getAttribute("z");for(h=0;h<f.length;++h){var E=f[h];E.s.c==b+o&&E.s.r<m+a&&m+a<=E.e.r&&(b=E.e.c+1-o,h=-1)}w=+A.getAttribute("colspan")||1,((y=+A.getAttribute("rowspan")||1)>1||w>1)&&f.push({s:{r:m+a,c:b+o},e:{r:m+a+(y||1)-1,c:b+o+(w||1)-1}});var _={t:"s",v:k},N=A.getAttribute("data-t")||A.getAttribute("t")||"";null!=k&&(0==k.length?_.t=N||"z":n.raw||0==k.trim().length||"s"==N||("TRUE"===k?_={t:"b",v:!0}:"FALSE"===k?_={t:"b",v:!1}:isNaN(Ge(k))?isNaN(Ye(k).getDate())||(_={t:"d",v:ze(k)},n.cellDates||(_={t:"n",v:Ie(_.v)}),_.z=n.dateNF||j[14]):_={t:"n",v:Ge(k)})),void 0===_.z&&null!=T&&(_.z=T);var C="",O=A.getElementsByTagName("A");if(O&&O.length)for(var R=0;R<O.length&&(!O[R].hasAttribute("href")||"#"==(C=O[R].getAttribute("href")).charAt(0));++R);C&&"#"!=C.charAt(0)&&(_.l={Target:C}),n.dense?(e[m+a]||(e[m+a]=[]),e[m+a][b+o]=_):e[Vr({c:b+o,r:m+a})]=_,l.e.c<b+o&&(l.e.c=b+o),b+=w}}++m}return f.length&&(e["!merges"]=(e["!merges"]||[]).concat(f)),l.e.r=Math.max(l.e.r,m-1+a),e["!ref"]=$r(l),m>=c&&(e["!fullref"]=$r((l.e.r=s.length-g+m-1+a,l))),e}function vu(e,t){return mu((t||{}).dense?[]:{},e,t)}function bu(e){var t="",r=function(e){return e.ownerDocument.defaultView&&"function"==typeof e.ownerDocument.defaultView.getComputedStyle?e.ownerDocument.defaultView.getComputedStyle:"function"==typeof getComputedStyle?getComputedStyle:null}(e);return r&&(t=r(e).getPropertyValue("display")),t||(t=e.style&&e.style.display),"none"===t}function yu(e){var t=e.replace(/[\t\r\n]/g," ").trim().replace(/ +/g," ").replace(/<text:s\/>/g," ").replace(/<text:s text:c="(\d+)"\/>/g,(function(e,t){return Array(parseInt(t,10)+1).join(" ")})).replace(/<text:tab[^>]*\/>/g,"\t").replace(/<text:line-break\/>/g,"\n");return[yt(t.replace(/<[^>]*>/g,""))]}var wu={day:["d","dd"],month:["m","mm"],year:["y","yy"],hours:["h","hh"],minutes:["m","mm"],seconds:["s","ss"],"am-pm":["A/P","AM/PM"],"day-of-week":["ddd","dddd"],era:["e","ee"],quarter:["\\Qm",'m\\"th quarter"']};function Su(e,t){var r=t||{};null!=p&&null==r.dense&&(r.dense=p);var n,a,o,i,s,c,l=qt(e),u=[],f={name:""},h="",d=0,g={},m=[],v=r.dense?[]:{},b={value:""},y="",w=0,S=[],x=-1,A=-1,k={s:{r:1e6,c:1e7},e:{r:0,c:0}},T=0,E={},_=[],N={},C=[],O=1,R=1,P=[],L={Names:[]},I={},F=["",""],D=[],M={},j="",B=0,W=!1,U=!1,H=0;for($t.lastIndex=0,l=l.replace(/<!--([\s\S]*?)-->/gm,"").replace(/<!DOCTYPE[^\[]*\[[^\]]*\]>/gm,"");s=$t.exec(l);)switch(s[3]=s[3].replace(/_.*$/,"")){case"table":case"工作表":"/"===s[1]?(k.e.c>=k.s.c&&k.e.r>=k.s.r?v["!ref"]=$r(k):v["!ref"]="A1:A1",r.sheetRows>0&&r.sheetRows<=k.e.r&&(v["!fullref"]=v["!ref"],k.e.r=r.sheetRows-1,v["!ref"]=$r(k)),_.length&&(v["!merges"]=_),C.length&&(v["!rows"]=C),o.name=o["名称"]||o.name,"undefined"!=typeof JSON&&JSON.stringify(o),m.push(o.name),g[o.name]=v,U=!1):"/"!==s[0].charAt(s[0].length-2)&&(o=gt(s[0],!1),x=A=-1,k.s.r=k.s.c=1e7,k.e.r=k.e.c=0,v=r.dense?[]:{},_=[],C=[],U=!0);break;case"table-row-group":"/"===s[1]?--T:++T;break;case"table-row":case"行":if("/"===s[1]){x+=O,O=1;break}if((i=gt(s[0],!1))["行号"]?x=i["行号"]-1:-1==x&&(x=0),(O=+i["number-rows-repeated"]||1)<10)for(H=0;H<O;++H)T>0&&(C[x+H]={level:T});A=-1;break;case"covered-table-cell":"/"!==s[1]&&++A,r.sheetStubs&&(r.dense?(v[x]||(v[x]=[]),v[x][A]={t:"z"}):v[Vr({r:x,c:A})]={t:"z"}),y="",S=[];break;case"table-cell":case"数据":if("/"===s[0].charAt(s[0].length-2))++A,b=gt(s[0],!1),R=parseInt(b["number-columns-repeated"]||"1",10),c={t:"z",v:null},b.formula&&0!=r.cellFormula&&(c.f=ac(yt(b.formula))),"string"==(b["数据类型"]||b["value-type"])&&(c.t="s",c.v=yt(b["string-value"]||""),r.dense?(v[x]||(v[x]=[]),v[x][A]=c):v[Vr({r:x,c:A})]=c),A+=R-1;else if("/"!==s[1]){y="",w=0,S=[],R=1;var z=O?x+O-1:x;if(++A>k.e.c&&(k.e.c=A),A<k.s.c&&(k.s.c=A),x<k.s.r&&(k.s.r=x),z>k.e.r&&(k.e.r=z),D=[],M={},c={t:(b=gt(s[0],!1))["数据类型"]||b["value-type"],v:null},r.cellFormula)if(b.formula&&(b.formula=yt(b.formula)),b["number-matrix-columns-spanned"]&&b["number-matrix-rows-spanned"]&&(N={s:{r:x,c:A},e:{r:x+(parseInt(b["number-matrix-rows-spanned"],10)||0)-1,c:A+(parseInt(b["number-matrix-columns-spanned"],10)||0)-1}},c.F=$r(N),P.push([N,c.F])),b.formula)c.f=ac(b.formula);else for(H=0;H<P.length;++H)x>=P[H][0].s.r&&x<=P[H][0].e.r&&A>=P[H][0].s.c&&A<=P[H][0].e.c&&(c.F=P[H][1]);switch((b["number-columns-spanned"]||b["number-rows-spanned"])&&(N={s:{r:x,c:A},e:{r:x+(parseInt(b["number-rows-spanned"],10)||0)-1,c:A+(parseInt(b["number-columns-spanned"],10)||0)-1}},_.push(N)),b["number-columns-repeated"]&&(R=parseInt(b["number-columns-repeated"],10)),c.t){case"boolean":c.t="b",c.v=_t(b["boolean-value"]);break;case"float":case"percentage":case"currency":c.t="n",c.v=parseFloat(b.value);break;case"date":c.t="d",c.v=ze(b["date-value"]),r.cellDates||(c.t="n",c.v=Ie(c.v)),c.z="m/d/yy";break;case"time":c.t="n",c.v=Be(b["time-value"])/86400,r.cellDates&&(c.t="d",c.v=je(c.v)),c.z="HH:MM:SS";break;case"number":c.t="n",c.v=parseFloat(b["数据数值"]);break;default:if("string"!==c.t&&"text"!==c.t&&c.t)throw new Error("Unsupported value type "+c.t);c.t="s",null!=b["string-value"]&&(y=yt(b["string-value"]),S=[])}}else{if(W=!1,"s"===c.t&&(c.v=y||"",S.length&&(c.R=S),W=0==w),I.Target&&(c.l=I),D.length>0&&(c.c=D,D=[]),y&&!1!==r.cellText&&(c.w=y),W&&(c.t="z",delete c.v),(!W||r.sheetStubs)&&!(r.sheetRows&&r.sheetRows<=x))for(var V=0;V<O;++V){if(R=parseInt(b["number-columns-repeated"]||"1",10),r.dense)for(v[x+V]||(v[x+V]=[]),v[x+V][A]=0==V?c:qe(c);--R>0;)v[x+V][A+R]=qe(c);else for(v[Vr({r:x+V,c:A})]=c;--R>0;)v[Vr({r:x+V,c:A+R})]=qe(c);k.e.c<=A&&(k.e.c=A)}A+=(R=parseInt(b["number-columns-repeated"]||"1",10))-1,R=0,c={},y="",S=[]}I={};break;case"document":case"document-content":case"电子表格文档":case"spreadsheet":case"主体":case"scripts":case"styles":case"font-face-decls":case"master-styles":if("/"===s[1]){if((n=u.pop())[0]!==s[3])throw"Bad state: "+n}else"/"!==s[0].charAt(s[0].length-2)&&u.push([s[3],!0]);break;case"annotation":if("/"===s[1]){if((n=u.pop())[0]!==s[3])throw"Bad state: "+n;M.t=y,S.length&&(M.R=S),M.a=j,D.push(M)}else"/"!==s[0].charAt(s[0].length-2)&&u.push([s[3],!1]);j="",B=0,y="",w=0,S=[];break;case"creator":"/"===s[1]?j=l.slice(B,s.index):B=s.index+s[0].length;break;case"meta":case"元数据":case"settings":case"config-item-set":case"config-item-map-indexed":case"config-item-map-entry":case"config-item-map-named":case"shapes":case"frame":case"text-box":case"image":case"data-pilot-tables":case"list-style":case"form":case"dde-links":case"event-listeners":case"chart":if("/"===s[1]){if((n=u.pop())[0]!==s[3])throw"Bad state: "+n}else"/"!==s[0].charAt(s[0].length-2)&&u.push([s[3],!1]);y="",w=0,S=[];break;case"scientific-number":case"currency-symbol":case"currency-style":case"script":case"libraries":case"automatic-styles":case"default-style":case"page-layout":case"style":case"map":case"font-face":case"paragraph-properties":case"table-properties":case"table-column-properties":case"table-row-properties":case"table-cell-properties":case"fraction":case"boolean-style":case"boolean":case"text-style":case"text-content":case"text-properties":case"embedded-text":case"body":case"电子表格":case"forms":case"table-column":case"table-header-rows":case"table-rows":case"table-column-group":case"table-header-columns":case"table-columns":case"null-date":case"graphic-properties":case"calculation-settings":case"named-expressions":case"label-range":case"label-ranges":case"named-expression":case"sort":case"sort-by":case"sort-groups":case"tab":case"line-break":case"span":case"s":case"date":case"object":case"title":case"标题":case"desc":case"binary-data":case"table-source":case"scenario":case"iteration":case"content-validations":case"content-validation":case"help-message":case"error-message":case"database-ranges":case"filter":case"filter-and":case"filter-or":case"filter-condition":case"list-level-style-bullet":case"list-level-style-number":case"list-level-properties":case"sender-firstname":case"sender-lastname":case"sender-initials":case"sender-title":case"sender-position":case"sender-email":case"sender-phone-private":case"sender-fax":case"sender-company":case"sender-phone-work":case"sender-street":case"sender-city":case"sender-postal-code":case"sender-country":case"sender-state-or-province":case"author-name":case"author-initials":case"chapter":case"file-name":case"template-name":case"sheet-name":case"event-listener":case"initial-creator":case"creation-date":case"print-date":case"generator":case"document-statistic":case"user-defined":case"editing-duration":case"editing-cycles":case"config-item":case"page-number":case"page-count":case"time":case"cell-range-source":case"detective":case"operation":case"highlighted-range":case"data-pilot-table":case"source-cell-range":case"source-service":case"data-pilot-field":case"data-pilot-level":case"data-pilot-subtotals":case"data-pilot-subtotal":case"data-pilot-members":case"data-pilot-member":case"data-pilot-display-info":case"data-pilot-sort-info":case"data-pilot-layout-info":case"data-pilot-field-reference":case"data-pilot-groups":case"data-pilot-group":case"data-pilot-group-member":case"rect":case"dde-connection-decls":case"dde-connection-decl":case"dde-link":case"dde-source":case"properties":case"property":case"table-protection":case"data-pilot-grand-total":case"office-document-common-attrs":break;case"number-style":case"percentage-style":case"date-style":case"time-style":if("/"===s[1]){if(E[f.name]=h,(n=u.pop())[0]!==s[3])throw"Bad state: "+n}else"/"!==s[0].charAt(s[0].length-2)&&(h="",f=gt(s[0],!1),u.push([s[3],!0]));break;case"number":case"day":case"month":case"year":case"era":case"day-of-week":case"week-of-year":case"quarter":case"hours":case"minutes":case"seconds":case"am-pm":switch(u[u.length-1][0]){case"time-style":case"date-style":a=gt(s[0],!1),h+=wu[s[3]]["long"===a.style?1:0]}break;case"text":if("/>"===s[0].slice(-2))break;if("/"===s[1])switch(u[u.length-1][0]){case"number-style":case"date-style":case"time-style":h+=l.slice(d,s.index)}else d=s.index+s[0].length;break;case"named-range":F=ic((a=gt(s[0],!1))["cell-range-address"]);var q={Name:a.name,Ref:F[0]+"!"+F[1]};U&&(q.Sheet=m.length),L.Names.push(q);break;case"p":case"文本串":if(["master-styles"].indexOf(u[u.length-1][0])>-1)break;if("/"!==s[1]||b&&b["string-value"])gt(s[0],!1),w=s.index+s[0].length;else{var $=yu(l.slice(w,s.index));y=(y.length>0?y+"\n":"")+$[0]}break;case"database-range":if("/"===s[1])break;try{g[(F=ic(gt(s[0])["target-range-address"]))[0]]["!autofilter"]={ref:F[1]}}catch(e){}break;case"a":if("/"!==s[1]){if(!(I=gt(s[0],!1)).href)break;I.Target=yt(I.href),delete I.href,"#"==I.Target.charAt(0)&&I.Target.indexOf(".")>-1?(F=ic(I.Target.slice(1)),I.Target="#"+F[0]+"!"+F[1]):I.Target.match(/^\.\.[\\\/]/)&&(I.Target=I.Target.slice(3))}break;default:switch(s[2]){case"dc:":case"calcext:":case"loext:":case"ooo:":case"chartooo:":case"draw:":case"style:":case"chart:":case"form:":case"uof:":case"表:":case"字:":break;default:if(r.WTF)throw new Error(s)}}var G={Sheets:g,SheetNames:m,Workbook:L};return r.bookSheets&&delete G.Sheets,G}function xu(e,t){t=t||{},Qe(e,"META-INF/manifest.xml")&&function(e,t){for(var r,n,a=qt(e);r=$t.exec(a);)switch(r[3]){case"manifest":break;case"file-entry":if("/"==(n=gt(r[0],!1)).path&&n.type!==Yn)throw new Error("This OpenDocument is not a spreadsheet");break;case"encryption-data":case"algorithm":case"start-key-generation":case"key-derivation":throw new Error("Unsupported ODS Encryption");default:if(t&&t.WTF)throw r}}(tt(e,"META-INF/manifest.xml"),t);var r=rt(e,"content.xml");if(!r)throw new Error("Missing content.xml in ODS / UOF file");var n=Su(Pt(r),t);return Qe(e,"meta.xml")&&(n.Props=ta(tt(e,"meta.xml"))),n}function Au(e,t){return Su(e,t)}var ku=function(){var e=["<office:master-styles>",'<style:master-page style:name="mp1" style:page-layout-name="mp1">',"<style:header/>",'<style:header-left style:display="false"/>',"<style:footer/>",'<style:footer-left style:display="false"/>',"</style:master-page>","</office:master-styles>"].join(""),t="<office:document-styles "+Ht({"xmlns:office":"urn:oasis:names:tc:opendocument:xmlns:office:1.0","xmlns:table":"urn:oasis:names:tc:opendocument:xmlns:table:1.0","xmlns:style":"urn:oasis:names:tc:opendocument:xmlns:style:1.0","xmlns:text":"urn:oasis:names:tc:opendocument:xmlns:text:1.0","xmlns:draw":"urn:oasis:names:tc:opendocument:xmlns:drawing:1.0","xmlns:fo":"urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0","xmlns:xlink":"http://www.w3.org/1999/xlink","xmlns:dc":"http://purl.org/dc/elements/1.1/","xmlns:number":"urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0","xmlns:svg":"urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0","xmlns:of":"urn:oasis:names:tc:opendocument:xmlns:of:1.2","office:version":"1.2"})+">"+e+"</office:document-styles>";return function(){return lt+t}}(),Tu=function(){var e=function(e){return xt(e).replace(/ +/g,(function(e){return'<text:s text:c="'+e.length+'"/>'})).replace(/\t/g,"<text:tab/>").replace(/\n/g,"</text:p><text:p>").replace(/^ /,"<text:s/>").replace(/ $/,"<text:s/>")},t=" <table:table-cell />\n",r=function(r,n,a){var o=[];o.push(' <table:table table:name="'+xt(n.SheetNames[a])+'" table:style-name="ta1">\n');var i=0,s=0,c=qr(r["!ref"]||"A1"),l=r["!merges"]||[],u=0,f=Array.isArray(r);if(r["!cols"])for(s=0;s<=c.e.c;++s)o.push(" <table:table-column"+(r["!cols"][s]?' table:style-name="co'+r["!cols"][s].ods+'"':"")+"></table:table-column>\n");var h="",d=r["!rows"]||[];for(i=0;i<c.s.r;++i)h=d[i]?' table:style-name="ro'+d[i].ods+'"':"",o.push(" <table:table-row"+h+"></table:table-row>\n");for(;i<=c.e.r;++i){for(h=d[i]?' table:style-name="ro'+d[i].ods+'"':"",o.push(" <table:table-row"+h+">\n"),s=0;s<c.s.c;++s)o.push(t);for(;s<=c.e.c;++s){var p=!1,g={},m="";for(u=0;u!=l.length;++u)if(!(l[u].s.c>s||l[u].s.r>i||l[u].e.c<s||l[u].e.r<i)){l[u].s.c==s&&l[u].s.r==i||(p=!0),g["table:number-columns-spanned"]=l[u].e.c-l[u].s.c+1,g["table:number-rows-spanned"]=l[u].e.r-l[u].s.r+1;break}if(p)o.push(" <table:covered-table-cell/>\n");else{var v=Vr({r:i,c:s}),b=f?(r[i]||[])[s]:r[v];if(b&&b.f&&(g["table:formula"]=xt(oc(b.f)),b.F&&b.F.slice(0,v.length)==v)){var y=qr(b.F);g["table:number-matrix-columns-spanned"]=y.e.c-y.s.c+1,g["table:number-matrix-rows-spanned"]=y.e.r-y.s.r+1}if(b){switch(b.t){case"b":m=b.v?"TRUE":"FALSE",g["office:value-type"]="boolean",g["office:boolean-value"]=b.v?"true":"false";break;case"n":m=b.w||String(b.v||0),g["office:value-type"]="float",g["office:value"]=b.v||0;break;case"s":case"str":m=null==b.v?"":b.v,g["office:value-type"]="string";break;case"d":m=b.w||ze(b.v).toISOString(),g["office:value-type"]="date",g["office:date-value"]=ze(b.v).toISOString(),g["table:style-name"]="ce1";break;default:o.push(t);continue}var w=e(m);if(b.l&&b.l.Target){var S=b.l.Target;"#"==(S="#"==S.charAt(0)?"#"+sc(S.slice(1)):S).charAt(0)||S.match(/^\w+:/)||(S="../"+S),w=zt("text:a",w,{"xlink:href":S.replace(/&/g,"&")})}o.push(" "+zt("table:table-cell",zt("text:p",w,{}),g)+"\n")}else o.push(t)}}o.push(" </table:table-row>\n")}return o.push(" </table:table>\n"),o.join("")};return function(e,t){var n=[lt],a=Ht({"xmlns:office":"urn:oasis:names:tc:opendocument:xmlns:office:1.0","xmlns:table":"urn:oasis:names:tc:opendocument:xmlns:table:1.0","xmlns:style":"urn:oasis:names:tc:opendocument:xmlns:style:1.0","xmlns:text":"urn:oasis:names:tc:opendocument:xmlns:text:1.0","xmlns:draw":"urn:oasis:names:tc:opendocument:xmlns:drawing:1.0","xmlns:fo":"urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0","xmlns:xlink":"http://www.w3.org/1999/xlink","xmlns:dc":"http://purl.org/dc/elements/1.1/","xmlns:meta":"urn:oasis:names:tc:opendocument:xmlns:meta:1.0","xmlns:number":"urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0","xmlns:presentation":"urn:oasis:names:tc:opendocument:xmlns:presentation:1.0","xmlns:svg":"urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0","xmlns:chart":"urn:oasis:names:tc:opendocument:xmlns:chart:1.0","xmlns:dr3d":"urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0","xmlns:math":"http://www.w3.org/1998/Math/MathML","xmlns:form":"urn:oasis:names:tc:opendocument:xmlns:form:1.0","xmlns:script":"urn:oasis:names:tc:opendocument:xmlns:script:1.0","xmlns:ooo":"http://openoffice.org/2004/office","xmlns:ooow":"http://openoffice.org/2004/writer","xmlns:oooc":"http://openoffice.org/2004/calc","xmlns:dom":"http://www.w3.org/2001/xml-events","xmlns:xforms":"http://www.w3.org/2002/xforms","xmlns:xsd":"http://www.w3.org/2001/XMLSchema","xmlns:xsi":"http://www.w3.org/2001/XMLSchema-instance","xmlns:sheet":"urn:oasis:names:tc:opendocument:sh33tjs:1.0","xmlns:rpt":"http://openoffice.org/2005/report","xmlns:of":"urn:oasis:names:tc:opendocument:xmlns:of:1.2","xmlns:xhtml":"http://www.w3.org/1999/xhtml","xmlns:grddl":"http://www.w3.org/2003/g/data-view#","xmlns:tableooo":"http://openoffice.org/2009/table","xmlns:drawooo":"http://openoffice.org/2010/draw","xmlns:calcext":"urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0","xmlns:loext":"urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0","xmlns:field":"urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0","xmlns:formx":"urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0","xmlns:css3t":"http://www.w3.org/TR/css3-text/","office:version":"1.2"}),o=Ht({"xmlns:config":"urn:oasis:names:tc:opendocument:xmlns:config:1.0","office:mimetype":"application/vnd.oasis.opendocument.spreadsheet"});"fods"==t.bookType?(n.push("<office:document"+a+o+">\n"),n.push(Zn().replace(/office:document-meta/g,"office:meta"))):n.push("<office:document-content"+a+">\n"),function(e,t){e.push(" <office:automatic-styles>\n"),e.push(' <number:date-style style:name="N37" number:automatic-order="true">\n'),e.push(' <number:month number:style="long"/>\n'),e.push(" <number:text>/</number:text>\n"),e.push(' <number:day number:style="long"/>\n'),e.push(" <number:text>/</number:text>\n"),e.push(" <number:year/>\n"),e.push(" </number:date-style>\n");var r=0;t.SheetNames.map((function(e){return t.Sheets[e]})).forEach((function(t){if(t&&t["!cols"])for(var n=0;n<t["!cols"].length;++n)if(t["!cols"][n]){var a=t["!cols"][n];if(null==a.width&&null==a.wpx&&null==a.wch)continue;Si(a),a.ods=r;var o=t["!cols"][n].wpx+"px";e.push(' <style:style style:name="co'+r+'" style:family="table-column">\n'),e.push(' <style:table-column-properties fo:break-before="auto" style:column-width="'+o+'"/>\n'),e.push(" </style:style>\n"),++r}}));var n=0;t.SheetNames.map((function(e){return t.Sheets[e]})).forEach((function(t){if(t&&t["!rows"])for(var r=0;r<t["!rows"].length;++r)if(t["!rows"][r]){t["!rows"][r].ods=n;var a=t["!rows"][r].hpx+"px";e.push(' <style:style style:name="ro'+n+'" style:family="table-row">\n'),e.push(' <style:table-row-properties fo:break-before="auto" style:row-height="'+a+'"/>\n'),e.push(" </style:style>\n"),++n}})),e.push(' <style:style style:name="ta1" style:family="table" style:master-page-name="mp1">\n'),e.push(' <style:table-properties table:display="true" style:writing-mode="lr-tb"/>\n'),e.push(" </style:style>\n"),e.push(' <style:style style:name="ce1" style:family="table-cell" style:parent-style-name="Default" style:data-style-name="N37"/>\n'),e.push(" </office:automatic-styles>\n")}(n,e),n.push(" <office:body>\n"),n.push(" <office:spreadsheet>\n");for(var i=0;i!=e.SheetNames.length;++i)n.push(r(e.Sheets[e.SheetNames[i]],e,i));return n.push(" </office:spreadsheet>\n"),n.push(" </office:body>\n"),"fods"==t.bookType?n.push("</office:document>"):n.push("</office:document-content>"),n.join("")}}();function Eu(e,t){if("fods"==t.bookType)return Tu(e,t);var r=it(),n="",a=[],o=[];return ot(r,n="mimetype","application/vnd.oasis.opendocument.spreadsheet"),ot(r,n="content.xml",Tu(e,t)),a.push([n,"text/xml"]),o.push([n,"ContentFile"]),ot(r,n="styles.xml",ku(e,t)),a.push([n,"text/xml"]),o.push([n,"StylesFile"]),ot(r,n="meta.xml",lt+Zn()),a.push([n,"text/xml"]),o.push([n,"MetadataFile"]),ot(r,n="manifest.rdf",function(e){var t=[lt];t.push('<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">\n');for(var r=0;r!=e.length;++r)t.push(Kn(e[r][0],e[r][1])),t.push(Jn("",e[r][0]));return t.push(Kn("","Document","pkg")),t.push("</rdf:RDF>"),t.join("")}(o)),a.push([n,"application/rdf+xml"]),ot(r,n="META-INF/manifest.xml",function(e){var t=[lt];t.push('<manifest:manifest xmlns:manifest="urn:oasis:names:tc:opendocument:xmlns:manifest:1.0" manifest:version="1.2">\n'),t.push(' <manifest:file-entry manifest:full-path="/" manifest:version="1.2" manifest:media-type="application/vnd.oasis.opendocument.spreadsheet"/>\n');for(var r=0;r<e.length;++r)t.push(' <manifest:file-entry manifest:full-path="'+e[r][0]+'" manifest:media-type="'+e[r][1]+'"/>\n');return t.push("</manifest:manifest>"),t.join("")}(a)),r}function _u(e){return new DataView(e.buffer,e.byteOffset,e.byteLength)}function Nu(e){return"undefined"!=typeof TextDecoder?(new TextDecoder).decode(e):Pt(k(e))}function Cu(e){return"undefined"!=typeof TextEncoder?(new TextEncoder).encode(e):x(Lt(e))}function Ou(e){var t=e.reduce((function(e,t){return e+t.length}),0),r=new Uint8Array(t),n=0;return e.forEach((function(e){r.set(e,n),n+=e.length})),r}function Ru(e){return 16843009*((e=(858993459&(e-=e>>1&1431655765))+(e>>2&858993459))+(e>>4)&252645135)>>>24}function Pu(e,t){var r=t?t[0]:0,n=127&e[r];e:if(e[r++]>=128){if(n|=(127&e[r])<<7,e[r++]<128)break e;if(n|=(127&e[r])<<14,e[r++]<128)break e;if(n|=(127&e[r])<<21,e[r++]<128)break e;if(n+=(127&e[r])*Math.pow(2,28),++r,e[r++]<128)break e;if(n+=(127&e[r])*Math.pow(2,35),++r,e[r++]<128)break e;if(n+=(127&e[r])*Math.pow(2,42),++r,e[r++]<128)break e}return t&&(t[0]=r),n}function Lu(e){var t=new Uint8Array(7);t[0]=127&e;var r=1;e:if(e>127){if(t[r-1]|=128,t[r]=e>>7&127,++r,e<=16383)break e;if(t[r-1]|=128,t[r]=e>>14&127,++r,e<=2097151)break e;if(t[r-1]|=128,t[r]=e>>21&127,++r,e<=268435455)break e;if(t[r-1]|=128,t[r]=e/256>>>21&127,++r,e<=34359738367)break e;if(t[r-1]|=128,t[r]=e/65536>>>21&127,++r,e<=4398046511103)break e;t[r-1]|=128,t[r]=e/16777216>>>21&127,++r}return t.slice(0,r)}function Iu(e){var t=0,r=127&e[t];e:if(e[t++]>=128){if(r|=(127&e[t])<<7,e[t++]<128)break e;if(r|=(127&e[t])<<14,e[t++]<128)break e;if(r|=(127&e[t])<<21,e[t++]<128)break e;r|=(127&e[t])<<28}return r}function Fu(e){for(var t=[],r=[0];r[0]<e.length;){var n,a=r[0],o=Pu(e,r),i=7&o,s=0;if(0==(o=Math.floor(o/8)))break;switch(i){case 0:for(var c=r[0];e[r[0]++]>=128;);n=e.slice(c,r[0]);break;case 5:s=4,n=e.slice(r[0],r[0]+s),r[0]+=s;break;case 1:s=8,n=e.slice(r[0],r[0]+s),r[0]+=s;break;case 2:s=Pu(e,r),n=e.slice(r[0],r[0]+s),r[0]+=s;break;default:throw new Error("PB Type ".concat(i," for Field ").concat(o," at offset ").concat(a))}var l={data:n,type:i};null==t[o]?t[o]=[l]:t[o].push(l)}return t}function Du(e){var t=[];return e.forEach((function(e,r){e.forEach((function(e){e.data&&(t.push(Lu(8*r+e.type)),2==e.type&&t.push(Lu(e.data.length)),t.push(e.data))}))})),Ou(t)}function Mu(e,t){return(null==e?void 0:e.map((function(e){return t(e.data)})))||[]}function ju(e){for(var t,r=[],n=[0];n[0]<e.length;){var a=Pu(e,n),o=Fu(e.slice(n[0],n[0]+a));n[0]+=a;var i={id:Iu(o[1][0].data),messages:[]};o[2].forEach((function(t){var r=Fu(t.data),a=Iu(r[3][0].data);i.messages.push({meta:r,data:e.slice(n[0],n[0]+a)}),n[0]+=a})),(null==(t=o[3])?void 0:t[0])&&(i.merge=Iu(o[3][0].data)>>>0>0),r.push(i)}return r}function Bu(e){var t=[];return e.forEach((function(e){var r=[];r[1]=[{data:Lu(e.id),type:0}],r[2]=[],null!=e.merge&&(r[3]=[{data:Lu(+!!e.merge),type:0}]);var n=[];e.messages.forEach((function(e){n.push(e.data),e.meta[3]=[{type:0,data:Lu(e.data.length)}],r[2].push({data:Du(e.meta),type:2})}));var a=Du(r);t.push(Lu(a.length)),t.push(a),n.forEach((function(e){return t.push(e)}))})),Ou(t)}function Wu(e,t){if(0!=e)throw new Error("Unexpected Snappy chunk type ".concat(e));for(var r=[0],n=Pu(t,r),a=[];r[0]<t.length;){var o=3&t[r[0]];if(0!=o){var i=0,s=0;if(1==o?(s=4+(t[r[0]]>>2&7),i=(224&t[r[0]++])<<3,i|=t[r[0]++]):(s=1+(t[r[0]++]>>2),2==o?(i=t[r[0]]|t[r[0]+1]<<8,r[0]+=2):(i=(t[r[0]]|t[r[0]+1]<<8|t[r[0]+2]<<16|t[r[0]+3]<<24)>>>0,r[0]+=4)),a=[Ou(a)],0==i)throw new Error("Invalid offset 0");if(i>a[0].length)throw new Error("Invalid offset beyond length");if(s>=i)for(a.push(a[0].slice(-i)),s-=i;s>=a[a.length-1].length;)a.push(a[a.length-1]),s-=a[a.length-1].length;a.push(a[0].slice(-i,-i+s))}else{var c=t[r[0]++]>>2;if(c<60)++c;else{var l=c-59;c=t[r[0]],l>1&&(c|=t[r[0]+1]<<8),l>2&&(c|=t[r[0]+2]<<16),l>3&&(c|=t[r[0]+3]<<24),c>>>=0,c++,r[0]+=l}a.push(t.slice(r[0],r[0]+c)),r[0]+=c}}var u=Ou(a);if(u.length!=n)throw new Error("Unexpected length: ".concat(u.length," != ").concat(n));return u}function Uu(e){for(var t=[],r=0;r<e.length;){var n=e[r++],a=e[r]|e[r+1]<<8|e[r+2]<<16;r+=3,t.push(Wu(n,e.slice(r,r+a))),r+=a}if(r!==e.length)throw new Error("data is not a valid framed stream!");return Ou(t)}function Hu(e){for(var t=[],r=0;r<e.length;){var n=Math.min(e.length-r,268435455),a=new Uint8Array(4);t.push(a);var o=Lu(n),i=o.length;t.push(o),n<=60?(i++,t.push(new Uint8Array([n-1<<2]))):n<=256?(i+=2,t.push(new Uint8Array([240,n-1&255]))):n<=65536?(i+=3,t.push(new Uint8Array([244,n-1&255,n-1>>8&255]))):n<=16777216?(i+=4,t.push(new Uint8Array([248,n-1&255,n-1>>8&255,n-1>>16&255]))):n<=4294967296&&(i+=5,t.push(new Uint8Array([252,n-1&255,n-1>>8&255,n-1>>16&255,n-1>>>24&255]))),t.push(e.slice(r,r+n)),i+=n,a[0]=0,a[1]=255&i,a[2]=i>>8&255,a[3]=i>>16&255,r+=n}return Ou(t)}function zu(e,t,r){var n,a=_u(e),o=a.getUint32(8,!0),i=12,s=-1,c=-1,l=NaN,u=NaN,f=new Date(2001,0,1);switch(1&o&&(l=function(e,t){for(var r=(127&e[t+15])<<7|e[t+14]>>1,n=1&e[t+14],a=t+13;a>=t;--a)n=256*n+e[a];return(128&e[t+15]?-n:n)*Math.pow(10,r-6176)}(e,i),i+=16),2&o&&(u=a.getFloat64(i,!0),i+=8),4&o&&(f.setTime(f.getTime()+1e3*a.getFloat64(i,!0)),i+=8),8&o&&(c=a.getUint32(i,!0),i+=4),16&o&&(s=a.getUint32(i,!0),i+=4),e[1]){case 0:break;case 2:case 10:n={t:"n",v:l};break;case 3:n={t:"s",v:t[c]};break;case 5:n={t:"d",v:f};break;case 6:n={t:"b",v:u>0};break;case 7:n={t:"n",v:u/86400};break;case 8:n={t:"e",v:0};break;case 9:if(!(s>-1))throw new Error("Unsupported cell type ".concat(e[1]," : ").concat(31&o," : ").concat(e.slice(0,4)));n={t:"s",v:r[s]};break;default:throw new Error("Unsupported cell type ".concat(e[1]," : ").concat(31&o," : ").concat(e.slice(0,4)))}return n}function Vu(e,t){var r=new Uint8Array(32),n=_u(r),a=12,o=0;switch(r[0]=5,e.t){case"n":r[1]=2,function(e,t,r){var n=Math.floor(0==r?0:Math.LOG10E*Math.log(Math.abs(r)))+6176-20,a=r/Math.pow(10,n-6176);e[t+15]|=n>>7,e[t+14]|=(127&n)<<1;for(var o=0;a>=1;++o,a/=256)e[t+o]=255&a;e[t+15]|=r>=0?0:128}(r,a,e.v),o|=1,a+=16;break;case"b":r[1]=6,n.setFloat64(a,e.v?1:0,!0),o|=2,a+=8;break;case"s":if(-1==t.indexOf(e.v))throw new Error("Value ".concat(e.v," missing from SST!"));r[1]=3,n.setUint32(a,t.indexOf(e.v),!0),o|=8,a+=4;break;default:throw"unsupported cell type "+e.t}return n.setUint32(8,o,!0),r.slice(0,a)}function qu(e,t){var r=new Uint8Array(32),n=_u(r),a=12,o=0;switch(r[0]=3,e.t){case"n":r[2]=2,n.setFloat64(a,e.v,!0),o|=32,a+=8;break;case"b":r[2]=6,n.setFloat64(a,e.v?1:0,!0),o|=32,a+=8;break;case"s":if(-1==t.indexOf(e.v))throw new Error("Value ".concat(e.v," missing from SST!"));r[2]=3,n.setUint32(a,t.indexOf(e.v),!0),o|=16,a+=4;break;default:throw"unsupported cell type "+e.t}return n.setUint32(4,o,!0),r.slice(0,a)}function $u(e,t,r){switch(e[0]){case 0:case 1:case 2:case 3:return function(e,t,r,n){var a,o=_u(e),i=o.getUint32(4,!0),s=(n>1?12:8)+4*Ru(i&(n>1?3470:398)),c=-1,l=-1,u=NaN,f=new Date(2001,0,1);switch(512&i&&(c=o.getUint32(s,!0),s+=4),s+=4*Ru(i&(n>1?12288:4096)),16&i&&(l=o.getUint32(s,!0),s+=4),32&i&&(u=o.getFloat64(s,!0),s+=8),64&i&&(f.setTime(f.getTime()+1e3*o.getFloat64(s,!0)),s+=8),e[2]){case 0:break;case 2:a={t:"n",v:u};break;case 3:a={t:"s",v:t[l]};break;case 5:a={t:"d",v:f};break;case 6:a={t:"b",v:u>0};break;case 7:a={t:"n",v:u/86400};break;case 8:a={t:"e",v:0};break;case 9:if(c>-1)a={t:"s",v:r[c]};else if(l>-1)a={t:"s",v:t[l]};else{if(isNaN(u))throw new Error("Unsupported cell type ".concat(e.slice(0,4)));a={t:"n",v:u}}break;default:throw new Error("Unsupported cell type ".concat(e.slice(0,4)))}return a}(e,t,r,e[0]);case 5:return zu(e,t,r);default:throw new Error("Unsupported payload version ".concat(e[0]))}}function Gu(e){return Pu(Fu(e)[1][0].data)}function Xu(e,t){var r=Fu(t.data),n=Iu(r[1][0].data),a=r[3],o=[];return(a||[]).forEach((function(t){var r=Fu(t.data),a=Iu(r[1][0].data)>>>0;switch(n){case 1:o[a]=Nu(r[3][0].data);break;case 8:var i=Fu(e[Gu(r[9][0].data)][0].data),s=e[Gu(i[1][0].data)][0],c=Iu(s.meta[1][0].data);if(2001!=c)throw new Error("2000 unexpected reference to ".concat(c));var l=Fu(s.data);o[a]=l[3].map((function(e){return Nu(e.data)})).join("")}})),o}function Yu(e,t){var r,n=Fu(t.data),a=(null==(r=null==n?void 0:n[7])?void 0:r[0])?Iu(n[7][0].data)>>>0>0?1:0:-1,o=Mu(n[5],(function(e){return function(e,t){var r,n,a,o,i,s,c,l,u,f,h,d,p,g,m,v,b=Fu(e),y=Iu(b[1][0].data)>>>0,w=Iu(b[2][0].data)>>>0,S=(null==(n=null==(r=b[8])?void 0:r[0])?void 0:n.data)&&Iu(b[8][0].data)>0||!1;if((null==(o=null==(a=b[7])?void 0:a[0])?void 0:o.data)&&0!=t)m=null==(s=null==(i=b[7])?void 0:i[0])?void 0:s.data,v=null==(l=null==(c=b[6])?void 0:c[0])?void 0:l.data;else{if(!(null==(f=null==(u=b[4])?void 0:u[0])?void 0:f.data)||1==t)throw"NUMBERS Tile missing ".concat(t," cell storage");m=null==(d=null==(h=b[4])?void 0:h[0])?void 0:d.data,v=null==(g=null==(p=b[3])?void 0:p[0])?void 0:g.data}for(var x=S?4:1,A=_u(m),k=[],T=0;T<m.length/2;++T){var E=A.getUint16(2*T,!0);E<65535&&k.push([T,E])}if(k.length!=w)throw"Expected ".concat(w," cells, found ").concat(k.length);var _=[];for(T=0;T<k.length-1;++T)_[k[T][0]]=v.subarray(k[T][1]*x,k[T+1][1]*x);return k.length>=1&&(_[k[k.length-1][0]]=v.subarray(k[k.length-1][1]*x)),{R:y,cells:_}}(e,a)}));return{nrows:Iu(n[4][0].data)>>>0,data:o.reduce((function(e,t){return e[t.R]||(e[t.R]=[]),t.cells.forEach((function(r,n){if(e[t.R][n])throw new Error("Duplicate cell r=".concat(t.R," c=").concat(n));e[t.R][n]=r})),e}),[])}}function Ku(e,t){var r={"!ref":"A1"},n=e[Gu(Fu(t.data)[2][0].data)],a=Iu(n[0].meta[1][0].data);if(6001!=a)throw new Error("6000 unexpected reference to ".concat(a));return function(e,t,r){var n,a=Fu(t.data),o={s:{r:0,c:0},e:{r:0,c:0}};if(o.e.r=(Iu(a[6][0].data)>>>0)-1,o.e.r<0)throw new Error("Invalid row varint ".concat(a[6][0].data));if(o.e.c=(Iu(a[7][0].data)>>>0)-1,o.e.c<0)throw new Error("Invalid col varint ".concat(a[7][0].data));r["!ref"]=$r(o);var i=Fu(a[4][0].data),s=Xu(e,e[Gu(i[4][0].data)][0]),c=(null==(n=i[17])?void 0:n[0])?Xu(e,e[Gu(i[17][0].data)][0]):[],l=Fu(i[3][0].data),u=0;l[1].forEach((function(t){var n=Fu(t.data),a=e[Gu(n[2][0].data)][0],o=Iu(a.meta[1][0].data);if(6002!=o)throw new Error("6001 unexpected reference to ".concat(o));var i=Yu(0,a);i.data.forEach((function(e,t){e.forEach((function(e,n){var a=Vr({r:u+t,c:n}),o=$u(e,s,c);o&&(r[a]=o)}))})),u+=i.nrows}))}(e,n[0],r),r}function Ju(e,t){var r={SheetNames:[],Sheets:{}};if(Mu(Fu(t.data)[1],Gu).forEach((function(t){e[t].forEach((function(t){if(2==Iu(t.meta[1][0].data)){var n=function(e,t){var r,n=Fu(t.data),a={name:(null==(r=n[1])?void 0:r[0])?Nu(n[1][0].data):"",sheets:[]};return Mu(n[2],Gu).forEach((function(t){e[t].forEach((function(t){6e3==Iu(t.meta[1][0].data)&&a.sheets.push(Ku(e,t))}))})),a}(e,t);n.sheets.forEach((function(e,t){If(r,e,0==t?n.name:n.name+"_"+t,!0)}))}}))})),0==r.SheetNames.length)throw new Error("Empty NUMBERS file");return r}function Zu(e){var t,r,n,a,o={},i=[];if(e.FullPaths.forEach((function(e){if(e.match(/\.iwpv2/))throw new Error("Unsupported password protection")})),e.FileIndex.forEach((function(e){if(e.name.match(/\.iwa$/)){var t,r;try{t=Uu(e.content)}catch(t){return console.log("?? "+e.content.length+" "+(t.message||t))}try{r=ju(t)}catch(e){return console.log("## "+(e.message||e))}r.forEach((function(e){o[e.id]=e.messages,i.push(e.id)}))}})),!i.length)throw new Error("File has no messages");var s=(null==(a=null==(n=null==(r=null==(t=null==o?void 0:o[1])?void 0:t[0])?void 0:r.meta)?void 0:n[1])?void 0:a[0].data)&&1==Iu(o[1][0].meta[1][0].data)&&o[1][0];if(s||i.forEach((function(e){o[e].forEach((function(e){if(1==Iu(e.meta[1][0].data)>>>0){if(s)throw new Error("Document has multiple roots");s=e}}))})),!s)throw new Error("Cannot find Document root");return Ju(o,s)}function Qu(e,t,r){var n,a,o,i;if(!(null==(n=e[6])?void 0:n[0])||!(null==(a=e[7])?void 0:a[0]))throw"Mutation only works on post-BNC storages!";if((null==(i=null==(o=e[8])?void 0:o[0])?void 0:i.data)&&Iu(e[8][0].data)>0||!1)throw"Math only works with normal offsets";for(var s=0,c=_u(e[7][0].data),l=0,u=[],f=_u(e[4][0].data),h=0,d=[],p=0;p<t.length;++p)if(null!=t[p]){var g,m;switch(c.setUint16(2*p,l,!0),f.setUint16(2*p,h,!0),typeof t[p]){case"string":g=Vu({t:"s",v:t[p]},r),m=qu({t:"s",v:t[p]},r);break;case"number":g=Vu({t:"n",v:t[p]},r),m=qu({t:"n",v:t[p]},r);break;case"boolean":g=Vu({t:"b",v:t[p]},r),m=qu({t:"b",v:t[p]},r);break;default:throw new Error("Unsupported value "+t[p])}u.push(g),l+=g.length,d.push(m),h+=m.length,++s}else c.setUint16(2*p,65535,!0),f.setUint16(2*p,65535);for(e[2][0].data=Lu(s);p<e[7][0].data.length/2;++p)c.setUint16(2*p,65535,!0),f.setUint16(2*p,65535,!0);return e[6][0].data=Ou(u),e[3][0].data=Ou(d),s}function ef(e){return function(t){for(var r=0;r!=e.length;++r){var n=e[r];void 0===t[n[0]]&&(t[n[0]]=n[1]),"n"===n[2]&&(t[n[0]]=Number(t[n[0]]))}}}function tf(e){ef([["cellNF",!1],["cellHTML",!0],["cellFormula",!0],["cellStyles",!1],["cellText",!0],["cellDates",!1],["sheetStubs",!1],["sheetRows",0,"n"],["bookDeps",!1],["bookSheets",!1],["bookProps",!1],["bookFiles",!1],["bookVBA",!1],["password",""],["WTF",!1]])(e)}function rf(e){ef([["cellDates",!1],["bookSST",!1],["bookType","xlsx"],["compression",!1],["WTF",!1]])(e)}function nf(e){return Vn.WS.indexOf(e)>-1?"sheet":Vn.CS&&e==Vn.CS?"chart":Vn.DS&&e==Vn.DS?"dialog":Vn.MS&&e==Vn.MS?"macro":e&&e.length?e:"sheet"}function af(e,t,r,n,a,o,i,s,c,l,u,f){try{o[n]=$n(rt(e,r,!0),t);var h,d=tt(e,t);switch(s){case"sheet":h=gl(d,t,a,c,o[n],l,u,f);break;case"chart":if(!(h=ml(d,t,a,c,o[n],l))||!h["!drawel"])break;var p=ct(h["!drawel"].Target,t),g=qn(p),m=function(e,t){if(!e)return"??";var r=(e.match(/<c:chart [^>]*r:id="([^"]*)"/)||["",""])[1];return t["!id"][r].Target}(rt(e,p,!0),$n(rt(e,g,!0),p)),v=ct(m,p),b=qn(v);h=Kc(rt(e,v,!0),0,0,$n(rt(e,b,!0),v),0,h);break;case"macro":h=function(e,t,r,n,a,o,i,s){return t.slice(-4),{"!type":"macro"}}(0,t,0,0,o[n]);break;case"dialog":h=function(e,t,r,n,a,o,i,s){return t.slice(-4),{"!type":"dialog"}}(0,t,0,0,o[n]);break;default:throw new Error("Unrecognized sheet type "+s)}i[n]=h;var y=[];o&&o[n]&&Ce(o[n]).forEach((function(r){var a="";if(o[n][r].Type==Vn.CMNT){a=ct(o[n][r].Target,t);var i=yl(tt(e,a,!0),a,c);if(!i||!i.length)return;ss(h,i,!1)}o[n][r].Type==Vn.TCMNT&&(a=ct(o[n][r].Target,t),y=y.concat(function(e,t){var r=[],n=!1,a={},o=0;return e.replace(ht,(function(i,s){var c=gt(i);switch(mt(c[0])){case"<?xml":case"<ThreadedComments":case"</ThreadedComments>":case"<extLst":case"<extLst>":case"</extLst>":case"<extLst/>":break;case"<threadedComment":a={author:c.personId,guid:c.id,ref:c.ref,T:1};break;case"</threadedComment>":null!=a.t&&r.push(a);break;case"<text>":case"<text":o=s+i.length;break;case"</text>":a.t=e.slice(o,s).replace(/\r\n/g,"\n").replace(/\r/g,"\n");break;case"<mentions":case"<mentions>":case"<ext":n=!0;break;case"</mentions>":case"</ext>":n=!1;break;default:if(!n&&t.WTF)throw new Error("unrecognized "+c[0]+" in threaded comments")}return i})),r}(tt(e,a,!0),c)))})),y&&y.length&&ss(h,y,!0,c.people||[])}catch(e){if(c.WTF)throw e}}function of(e){return"/"==e.charAt(0)?e.slice(1):e}function sf(e,t){if(we(),tf(t=t||{}),Qe(e,"META-INF/manifest.xml"))return xu(e,t);if(Qe(e,"objectdata.xml"))return xu(e,t);if(Qe(e,"Index/Document.iwa")){if("undefined"==typeof Uint8Array)throw new Error("NUMBERS file parsing requires Uint8Array support");if(void 0!==Zu){if(e.FileIndex)return Zu(e);var r=Ee.utils.cfb_new();return at(e).forEach((function(t){ot(r,t,nt(e,t))})),Zu(r)}throw new Error("Unsupported NUMBERS file")}if(!Qe(e,"[Content_Types].xml")){if(Qe(e,"index.xml.gz"))throw new Error("Unsupported NUMBERS 08 file");if(Qe(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Error("Unsupported ZIP file")}var n,a,o=at(e),i=function(e){var t={workbooks:[],sheets:[],charts:[],dialogs:[],macros:[],rels:[],strs:[],comments:[],threadedcomments:[],links:[],coreprops:[],extprops:[],custprops:[],themes:[],styles:[],calcchains:[],vba:[],drawings:[],metadata:[],people:[],TODO:[],xmlns:""};if(!e||!e.match)return t;var r={};if((e.match(ht)||[]).forEach((function(e){var n=gt(e);switch(n[0].replace(dt,"<")){case"<?xml":break;case"<Types":t.xmlns=n["xmlns"+(n[0].match(/<(\w+):/)||["",""])[1]];break;case"<Default":r[n.Extension]=n.ContentType;break;case"<Override":void 0!==t[Un[n.ContentType]]&&t[Un[n.ContentType]].push(n.PartName)}})),t.xmlns!==Gt.CT)throw new Error("Unknown Namespace: "+t.xmlns);return t.calcchain=t.calcchains.length>0?t.calcchains[0]:"",t.sst=t.strs.length>0?t.strs[0]:"",t.style=t.styles.length>0?t.styles[0]:"",t.defaults=r,delete t.calcchains,t}(rt(e,"[Content_Types].xml")),s=!1;if(0===i.workbooks.length&&tt(e,a="xl/workbook.xml",!0)&&i.workbooks.push(a),0===i.workbooks.length){if(!tt(e,a="xl/workbook.bin",!0))throw new Error("Could not find workbook");i.workbooks.push(a),s=!0}"bin"==i.workbooks[0].slice(-3)&&(s=!0);var c={},l={};if(!t.bookSheets&&!t.bookProps){if(cc=[],i.sst)try{cc=bl(tt(e,of(i.sst)),i.sst,t)}catch(e){if(t.WTF)throw e}t.cellStyles&&i.themes.length&&(c=function(e,t,r){return Zi(e,r)}(rt(e,i.themes[0].replace(/^\//,""),!0)||"",i.themes[0],t)),i.style&&(l=vl(tt(e,of(i.style)),i.style,c,t))}i.links.map((function(r){try{$n(rt(e,qn(of(r))),r);return Sl(tt(e,of(r)),0,r,t)}catch(e){}}));var u=pl(tt(e,of(i.workbooks[0])),i.workbooks[0],t),f={},h="";i.coreprops.length&&((h=tt(e,of(i.coreprops[0]),!0))&&(f=ta(h)),0!==i.extprops.length&&(h=tt(e,of(i.extprops[0]),!0))&&function(e,t,r){var n={};t||(t={}),e=Pt(e),aa.forEach((function(r){var a=(e.match(It(r[0]))||[])[1];switch(r[2]){case"string":a&&(t[r[1]]=yt(a));break;case"bool":t[r[1]]="true"===a;break;case"raw":var o=e.match(new RegExp("<"+r[0]+"[^>]*>([\\s\\S]*?)</"+r[0]+">"));o&&o.length>0&&(n[r[1]]=o[1])}})),n.HeadingPairs&&n.TitlesOfParts&&ia(n.HeadingPairs,n.TitlesOfParts,t,r)}(h,f,t));var d={};t.bookSheets&&!t.bookProps||0!==i.custprops.length&&(h=rt(e,of(i.custprops[0]),!0))&&(d=function(e,t){var r={},n="",a=e.match(ca);if(a)for(var o=0;o!=a.length;++o){var i=a[o],s=gt(i);switch(s[0]){case"<?xml":case"<Properties":break;case"<property":n=yt(s.name);break;case"</property>":n=null;break;default:if(0===i.indexOf("<vt:")){var c=i.split(">"),l=c[0].slice(4),u=c[1];switch(l){case"lpstr":case"bstr":case"lpwstr":case"cy":case"error":r[n]=yt(u);break;case"bool":r[n]=_t(u);break;case"i1":case"i2":case"i4":case"i8":case"int":case"uint":r[n]=parseInt(u,10);break;case"r4":case"r8":case"decimal":r[n]=parseFloat(u);break;case"filetime":case"date":r[n]=ze(u);break;default:if("/"==l.slice(-1))break;t.WTF&&"undefined"!=typeof console&&console.warn("Unexpected",i,l,c)}}else if("</"===i.slice(0,2));else if(t.WTF)throw new Error(i)}}return r}(h,t));var p={};if((t.bookSheets||t.bookProps)&&(u.Sheets?n=u.Sheets.map((function(e){return e.name})):f.Worksheets&&f.SheetNames.length>0&&(n=f.SheetNames),t.bookProps&&(p.Props=f,p.Custprops=d),t.bookSheets&&void 0!==n&&(p.SheetNames=n),t.bookSheets?p.SheetNames:t.bookProps))return p;n={};var g={};t.bookDeps&&i.calcchain&&(g=wl(tt(e,of(i.calcchain)),i.calcchain));var m,v,b=0,y={},w=u.Sheets;f.Worksheets=w.length,f.SheetNames=[];for(var S=0;S!=w.length;++S)f.SheetNames[S]=w[S].name;var x=s?"bin":"xml",A=i.workbooks[0].lastIndexOf("/"),k=(i.workbooks[0].slice(0,A+1)+"_rels/"+i.workbooks[0].slice(A+1)+".rels").replace(/^\//,"");Qe(e,k)||(k="xl/_rels/workbook."+x+".rels");var T=$n(rt(e,k,!0),k.replace(/_rels.*/,"s5s"));(i.metadata||[]).length>=1&&(t.xlmeta=xl(tt(e,of(i.metadata[0])),i.metadata[0],t)),(i.people||[]).length>=1&&(t.people=function(e,t){var r=[],n=!1;return e.replace(ht,(function(e){var a=gt(e);switch(mt(a[0])){case"<?xml":case"<personList":case"</personList>":case"</person>":case"<extLst":case"<extLst>":case"</extLst>":case"<extLst/>":break;case"<person":r.push({name:a.displayname,id:a.id});break;case"<ext":n=!0;break;case"</ext>":n=!1;break;default:if(!n&&t.WTF)throw new Error("unrecognized "+a[0]+" in threaded comments")}return e})),r}(tt(e,of(i.people[0])),t)),T&&(T=function(e,t){if(!e)return 0;try{e=t.map((function(t){return t.id||(t.id=t.strRelID),[t.name,e["!id"][t.id].Target,nf(e["!id"][t.id].Type)]}))}catch(e){return null}return e&&0!==e.length?e:null}(T,u.Sheets));var E=tt(e,"xl/worksheets/sheet.xml",!0)?1:0;e:for(b=0;b!=f.Worksheets;++b){var _="sheet";if(T&&T[b]?(m="xl/"+T[b][1].replace(/[\/]?xl\//,""),Qe(e,m)||(m=T[b][1]),Qe(e,m)||(m=k.replace(/_rels\/.*$/,"")+T[b][1]),_=T[b][2]):m=(m="xl/worksheets/sheet"+(b+1-E)+"."+x).replace(/sheet0\./,"sheet."),v=m.replace(/^(.*)(\/)([^\/]*)$/,"$1/_rels/$3.rels"),t&&null!=t.sheets)switch(typeof t.sheets){case"number":if(b!=t.sheets)continue e;break;case"string":if(f.SheetNames[b].toLowerCase()!=t.sheets.toLowerCase())continue e;break;default:if(Array.isArray&&Array.isArray(t.sheets)){for(var N=!1,C=0;C!=t.sheets.length;++C)"number"==typeof t.sheets[C]&&t.sheets[C]==b&&(N=1),"string"==typeof t.sheets[C]&&t.sheets[C].toLowerCase()==f.SheetNames[b].toLowerCase()&&(N=1);if(!N)continue e}}af(e,m,v,f.SheetNames[b],b,y,n,_,t,u,c,l)}return p={Directory:i,Workbook:u,Props:f,Custprops:d,Deps:g,Sheets:n,SheetNames:f.SheetNames,Strings:cc,Styles:l,Themes:c,SSF:qe(j)},t&&t.bookFiles&&(e.files?(p.keys=o,p.files=e.files):(p.keys=[],p.files={},e.FullPaths.forEach((function(t,r){t=t.replace(/^Root Entry[\/]/,""),p.keys.push(t),p.files[t]=e.FileIndex[r]})))),t&&t.bookVBA&&(i.vba.length>0?p.vbaraw=tt(e,of(i.vba[0]),!0):i.defaults&&i.defaults.bin===hs&&(p.vbaraw=tt(e,"xl/vbaProject.bin",!0))),p}function cf(e,t){var r=t||{},n="Workbook",a=Ee.find(e,n);try{if(n="/!DataSpaces/Version",!(a=Ee.find(e,n))||!a.content)throw new Error("ECMA-376 Encrypted file missing "+n);if(function(e){var t={};t.id=e._R(0,"lpp4"),t.R=Jo(e,4),t.U=Jo(e,4),t.W=Jo(e,4)}(a.content),n="/!DataSpaces/DataSpaceMap",!(a=Ee.find(e,n))||!a.content)throw new Error("ECMA-376 Encrypted file missing "+n);var o=function(e){var t=[];e.l+=4;for(var r=e._R(4);r-- >0;)t.push(Zo(e));return t}(a.content);if(1!==o.length||1!==o[0].comps.length||0!==o[0].comps[0].t||"StrongEncryptionDataSpace"!==o[0].name||"EncryptedPackage"!==o[0].comps[0].v)throw new Error("ECMA-376 Encrypted file bad "+n);if(n="/!DataSpaces/DataSpaceInfo/StrongEncryptionDataSpace",!(a=Ee.find(e,n))||!a.content)throw new Error("ECMA-376 Encrypted file missing "+n);var i=function(e){var t=[];e.l+=4;for(var r=e._R(4);r-- >0;)t.push(e._R(0,"lpp4"));return t}(a.content);if(1!=i.length||"StrongEncryptionTransform"!=i[0])throw new Error("ECMA-376 Encrypted file bad "+n);if(n="/!DataSpaces/TransformInfo/StrongEncryptionTransform/!Primary",!(a=Ee.find(e,n))||!a.content)throw new Error("ECMA-376 Encrypted file missing "+n);Qo(a.content)}catch(e){}if(n="/EncryptionInfo",!(a=Ee.find(e,n))||!a.content)throw new Error("ECMA-376 Encrypted file missing "+n);var s=function(e){var t=Jo(e);switch(t.Minor){case 2:return[t.Minor,ri(e)];case 3:return[t.Minor,ni()];case 4:return[t.Minor,ai(e)]}throw new Error("ECMA-376 Encrypted file unrecognized Version: "+t.Minor)}(a.content);if(n="/EncryptedPackage",!(a=Ee.find(e,n))||!a.content)throw new Error("ECMA-376 Encrypted file missing "+n);if(4==s[0]&&"undefined"!=typeof decrypt_agile)return decrypt_agile(s[1],a.content,r.password||"",r);if(2==s[0]&&"undefined"!=typeof decrypt_std76)return decrypt_std76(s[1],a.content,r.password||"",r);throw new Error("File is password-protected")}function lf(e,t){return"ods"==t.bookType?Eu(e,t):"numbers"==t.bookType?function(e,t){if(!t||!t.numbers)throw new Error("Must pass a `numbers` option -- check the README");var r=e.Sheets[e.SheetNames[0]];e.SheetNames.length>1&&console.error("The Numbers writer currently writes only the first table");var n=qr(r["!ref"]);n.s.r=n.s.c=0;var a=!1;n.e.c>9&&(a=!0,n.e.c=9),n.e.r>49&&(a=!0,n.e.r=49),a&&console.error("The Numbers writer is currently limited to ".concat($r(n)));var o=Ef(r,{range:n,header:1}),i=["~Sh33tJ5~"];o.forEach((function(e){return e.forEach((function(e){"string"==typeof e&&i.push(e)}))}));var s={},c=[],l=Ee.read(t.numbers,{type:"base64"});l.FileIndex.map((function(e,t){return[e,l.FullPaths[t]]})).forEach((function(e){var t=e[0],r=e[1];2==t.type&&t.name.match(/\.iwa/)&&ju(Uu(t.content)).forEach((function(e){c.push(e.id),s[e.id]={deps:[],location:r,type:Iu(e.messages[0].meta[1][0].data)}}))})),c.sort((function(e,t){return e-t}));var u=c.filter((function(e){return e>1})).map((function(e){return[e,Lu(e)]}));l.FileIndex.map((function(e,t){return[e,l.FullPaths[t]]})).forEach((function(e){var t=e[0];e[1],t.name.match(/\.iwa/)&&ju(Uu(t.content)).forEach((function(e){e.messages.forEach((function(t){u.forEach((function(t){e.messages.some((function(e){return 11006!=Iu(e.meta[1][0].data)&&function(e,t){e:for(var r=0;r<=e.length-t.length;++r){for(var n=0;n<t.length;++n)if(e[r+n]!=t[n])continue e;return!0}return!1}(e.data,t[1])}))&&s[t[0]].deps.push(e.id)}))}))}))}));for(var f,h=Ee.find(l,s[1].location),d=ju(Uu(h.content)),p=0;p<d.length;++p){var g=d[p];1==g.id&&(f=g)}var m=Gu(Fu(f.messages[0].data)[1][0].data);for(d=ju(Uu((h=Ee.find(l,s[m].location)).content)),p=0;p<d.length;++p)(g=d[p]).id==m&&(f=g);for(m=Gu(Fu(f.messages[0].data)[2][0].data),d=ju(Uu((h=Ee.find(l,s[m].location)).content)),p=0;p<d.length;++p)(g=d[p]).id==m&&(f=g);for(m=Gu(Fu(f.messages[0].data)[2][0].data),d=ju(Uu((h=Ee.find(l,s[m].location)).content)),p=0;p<d.length;++p)(g=d[p]).id==m&&(f=g);var v=Fu(f.messages[0].data);v[6][0].data=Lu(n.e.r+1),v[7][0].data=Lu(n.e.c+1);for(var b=Gu(v[46][0].data),y=Ee.find(l,s[b].location),w=ju(Uu(y.content)),S=0;S<w.length&&w[S].id!=b;++S);if(w[S].id!=b)throw"Bad ColumnRowUIDMapArchive";var x=Fu(w[S].messages[0].data);x[1]=[],x[2]=[],x[3]=[];for(var A=0;A<=n.e.c;++A){var k=[];k[1]=k[2]=[{type:0,data:Lu(A+420690)}],x[1].push({type:2,data:Du(k)}),x[2].push({type:0,data:Lu(A)}),x[3].push({type:0,data:Lu(A)})}x[4]=[],x[5]=[],x[6]=[];for(var T=0;T<=n.e.r;++T)(k=[])[1]=k[2]=[{type:0,data:Lu(T+726270)}],x[4].push({type:2,data:Du(k)}),x[5].push({type:0,data:Lu(T)}),x[6].push({type:0,data:Lu(T)});w[S].messages[0].data=Du(x),y.content=Hu(Bu(w)),y.size=y.content.length,delete v[46];var E=Fu(v[4][0].data);E[7][0].data=Lu(n.e.r+1);var _=Gu(Fu(E[1][0].data)[2][0].data);if((w=ju(Uu((y=Ee.find(l,s[_].location)).content)))[0].id!=_)throw"Bad HeaderStorageBucket";var N=Fu(w[0].messages[0].data);for(T=0;T<o.length;++T){var C=Fu(N[2][0].data);C[1][0].data=Lu(T),C[4][0].data=Lu(o[T].length),N[2][T]={type:N[2][0].type,data:Du(C)}}w[0].messages[0].data=Du(N),y.content=Hu(Bu(w)),y.size=y.content.length;var O=Gu(E[2][0].data);if((w=ju(Uu((y=Ee.find(l,s[O].location)).content)))[0].id!=O)throw"Bad HeaderStorageBucket";for(N=Fu(w[0].messages[0].data),A=0;A<=n.e.c;++A)(C=Fu(N[2][0].data))[1][0].data=Lu(A),C[4][0].data=Lu(n.e.r+1),N[2][A]={type:N[2][0].type,data:Du(C)};w[0].messages[0].data=Du(N),y.content=Hu(Bu(w)),y.size=y.content.length;var R=Gu(E[4][0].data);!function(){for(var e,t=Ee.find(l,s[R].location),r=ju(Uu(t.content)),n=0;n<r.length;++n){var a=r[n];a.id==R&&(e=a)}var o=Fu(e.messages[0].data);o[3]=[];var c=[];i.forEach((function(e,t){c[1]=[{type:0,data:Lu(t)}],c[2]=[{type:0,data:Lu(1)}],c[3]=[{type:2,data:Cu(e)}],o[3].push({type:2,data:Du(c)})})),e.messages[0].data=Du(o);var u=Hu(Bu(r));t.content=u,t.size=t.content.length}();var P=Fu(E[3][0].data),L=P[1][0];delete P[2];var I=Fu(L.data),F=Gu(I[2][0].data);!function(){for(var e,t=Ee.find(l,s[F].location),r=ju(Uu(t.content)),a=0;a<r.length;++a){var c=r[a];c.id==F&&(e=c)}var u=Fu(e.messages[0].data);delete u[6],delete P[7];var f=new Uint8Array(u[5][0].data);u[5]=[];for(var h=0,d=0;d<=n.e.r;++d){var p=Fu(f);h+=Qu(p,o[d],i),p[1][0].data=Lu(d),u[5].push({data:Du(p),type:2})}u[1]=[{type:0,data:Lu(n.e.c+1)}],u[2]=[{type:0,data:Lu(n.e.r+1)}],u[3]=[{type:0,data:Lu(h)}],u[4]=[{type:0,data:Lu(n.e.r+1)}],e.messages[0].data=Du(u);var g=Hu(Bu(r));t.content=g,t.size=t.content.length}(),L.data=Du(I),E[3][0].data=Du(P),v[4][0].data=Du(E),f.messages[0].data=Du(v);var D=Hu(Bu(d));return h.content=D,h.size=h.content.length,l}(e,t):"xlsb"==t.bookType?function(e,t){os=1024,e&&!e.SSF&&(e.SSF=qe(j));e&&e.SSF&&(we(),ye(e.SSF),t.revssf=Pe(e.SSF),t.revssf[e.SSF[65535]]=0,t.ssf=e.SSF);t.rels={},t.wbrels={},t.Strings=[],t.Strings.Count=0,t.Strings.Unique=0,uc?t.revStrings=new Map:(t.revStrings={},t.revStrings.foo=[],delete t.revStrings.foo);var r="xlsb"==t.bookType?"bin":"xml",n=ds.indexOf(t.bookType)>-1,a={workbooks:[],sheets:[],charts:[],dialogs:[],macros:[],rels:[],strs:[],comments:[],threadedcomments:[],links:[],coreprops:[],extprops:[],custprops:[],themes:[],styles:[],calcchains:[],vba:[],drawings:[],metadata:[],people:[],TODO:[],xmlns:""};rf(t=t||{});var o=it(),i="",s=0;t.cellXfs=[],pc(t.cellXfs,{},{revssf:{General:0}}),e.Props||(e.Props={});if(i="docProps/core.xml",ot(o,i,na(e.Props,t)),a.coreprops.push(i),Xn(t.rels,2,i,Vn.CORE_PROPS),i="docProps/app.xml",e.Props&&e.Props.SheetNames);else if(e.Workbook&&e.Workbook.Sheets){for(var c=[],l=0;l<e.SheetNames.length;++l)2!=(e.Workbook.Sheets[l]||{}).Hidden&&c.push(e.SheetNames[l]);e.Props.SheetNames=c}else e.Props.SheetNames=e.SheetNames;e.Props.Worksheets=e.Props.SheetNames.length,ot(o,i,sa(e.Props)),a.extprops.push(i),Xn(t.rels,3,i,Vn.EXT_PROPS),e.Custprops!==e.Props&&Ce(e.Custprops||{}).length>0&&(ot(o,i="docProps/custom.xml",la(e.Custprops)),a.custprops.push(i),Xn(t.rels,4,i,Vn.CUST_PROPS));for(s=1;s<=e.SheetNames.length;++s){var u={"!id":{}},f=e.Sheets[e.SheetNames[s-1]];(f||{})["!type"];if(ot(o,i="xl/worksheets/sheet"+s+"."+r,Al(s-1,i,t,e,u)),a.sheets.push(i),Xn(t.wbrels,-1,"worksheets/sheet"+s+"."+r,Vn.WS[0]),f){var h=f["!comments"],d=!1,p="";h&&h.length>0&&(ot(o,p="xl/comments"+s+"."+r,kl(h,p,t)),a.comments.push(p),Xn(u,-1,"../comments"+s+"."+r,Vn.CMNT),d=!0),f["!legacy"]&&d&&ot(o,"xl/drawings/vmlDrawing"+s+".vml",is(s,f["!comments"])),delete f["!comments"],delete f["!legacy"]}u["!id"].rId1&&ot(o,qn(i),Gn(u))}null!=t.Strings&&t.Strings.length>0&&(ot(o,i="xl/sharedStrings."+r,function(e,t,r){return(".bin"===t.slice(-4)?Yo:Go)(e,r)}(t.Strings,i,t)),a.strs.push(i),Xn(t.wbrels,-1,"sharedStrings."+r,Vn.SST));i="xl/workbook."+r,ot(o,i,function(e,t,r){return(".bin"===t.slice(-4)?dl:cl)(e,r)}(e,i,t)),a.workbooks.push(i),Xn(t.rels,1,i,Vn.WB),i="xl/theme/theme1.xml",ot(o,i,Qi(e.Themes,t)),a.themes.push(i),Xn(t.wbrels,-1,"theme/theme1.xml",Vn.THEME),i="xl/styles."+r,ot(o,i,function(e,t,r){return(".bin"===t.slice(-4)?zi:Oi)(e,r)}(e,i,t)),a.styles.push(i),Xn(t.wbrels,-1,"styles."+r,Vn.STY),e.vbaraw&&n&&(ot(o,i="xl/vbaProject.bin",e.vbaraw),a.vba.push(i),Xn(t.wbrels,-1,"vbaProject.bin",Vn.VBA));return i="xl/metadata."+r,ot(o,i,function(e){return(".bin"===e.slice(-4)?ns:as)()}(i)),a.metadata.push(i),Xn(t.wbrels,-1,"metadata."+r,Vn.XLMETA),ot(o,"[Content_Types].xml",zn(a,t)),ot(o,"_rels/.rels",Gn(t.rels)),ot(o,"xl/_rels/workbook."+r+".rels",Gn(t.wbrels)),delete t.revssf,delete t.ssf,o}(e,t):uf(e,t)}function uf(e,t){os=1024,e&&!e.SSF&&(e.SSF=qe(j)),e&&e.SSF&&(we(),ye(e.SSF),t.revssf=Pe(e.SSF),t.revssf[e.SSF[65535]]=0,t.ssf=e.SSF),t.rels={},t.wbrels={},t.Strings=[],t.Strings.Count=0,t.Strings.Unique=0,uc?t.revStrings=new Map:(t.revStrings={},t.revStrings.foo=[],delete t.revStrings.foo);var r="xml",n=ds.indexOf(t.bookType)>-1,a={workbooks:[],sheets:[],charts:[],dialogs:[],macros:[],rels:[],strs:[],comments:[],threadedcomments:[],links:[],coreprops:[],extprops:[],custprops:[],themes:[],styles:[],calcchains:[],vba:[],drawings:[],metadata:[],people:[],TODO:[],xmlns:""};rf(t=t||{});var o=it(),i="",s=0;if(t.cellXfs=[],pc(t.cellXfs,{},{revssf:{General:0}}),e.Props||(e.Props={}),ot(o,i="docProps/core.xml",na(e.Props,t)),a.coreprops.push(i),Xn(t.rels,2,i,Vn.CORE_PROPS),i="docProps/app.xml",e.Props&&e.Props.SheetNames);else if(e.Workbook&&e.Workbook.Sheets){for(var c=[],l=0;l<e.SheetNames.length;++l)2!=(e.Workbook.Sheets[l]||{}).Hidden&&c.push(e.SheetNames[l]);e.Props.SheetNames=c}else e.Props.SheetNames=e.SheetNames;e.Props.Worksheets=e.Props.SheetNames.length,ot(o,i,sa(e.Props)),a.extprops.push(i),Xn(t.rels,3,i,Vn.EXT_PROPS),e.Custprops!==e.Props&&Ce(e.Custprops||{}).length>0&&(ot(o,i="docProps/custom.xml",la(e.Custprops)),a.custprops.push(i),Xn(t.rels,4,i,Vn.CUST_PROPS));var u=["SheetJ5"];for(t.tcid=0,s=1;s<=e.SheetNames.length;++s){var f={"!id":{}},h=e.Sheets[e.SheetNames[s-1]];(h||{})["!type"];if(ot(o,i="xl/worksheets/sheet"+s+"."+r,Ic(s-1,t,e,f)),a.sheets.push(i),Xn(t.wbrels,-1,"worksheets/sheet"+s+"."+r,Vn.WS[0]),h){var d=h["!comments"],p=!1,g="";if(d&&d.length>0){var m=!1;d.forEach((function(e){e[1].forEach((function(e){1==e.T&&(m=!0)}))})),m&&(ot(o,g="xl/threadedComments/threadedComment"+s+"."+r,ls(d,u,t)),a.threadedcomments.push(g),Xn(f,-1,"../threadedComments/threadedComment"+s+"."+r,Vn.TCMNT)),ot(o,g="xl/comments"+s+"."+r,cs(d)),a.comments.push(g),Xn(f,-1,"../comments"+s+"."+r,Vn.CMNT),p=!0}h["!legacy"]&&p&&ot(o,"xl/drawings/vmlDrawing"+s+".vml",is(s,h["!comments"])),delete h["!comments"],delete h["!legacy"]}f["!id"].rId1&&ot(o,qn(i),Gn(f))}return null!=t.Strings&&t.Strings.length>0&&(ot(o,i="xl/sharedStrings."+r,Go(t.Strings,t)),a.strs.push(i),Xn(t.wbrels,-1,"sharedStrings."+r,Vn.SST)),ot(o,i="xl/workbook."+r,cl(e)),a.workbooks.push(i),Xn(t.rels,1,i,Vn.WB),ot(o,i="xl/theme/theme1.xml",Qi(e.Themes,t)),a.themes.push(i),Xn(t.wbrels,-1,"theme/theme1.xml",Vn.THEME),ot(o,i="xl/styles."+r,Oi(e,t)),a.styles.push(i),Xn(t.wbrels,-1,"styles."+r,Vn.STY),e.vbaraw&&n&&(ot(o,i="xl/vbaProject.bin",e.vbaraw),a.vba.push(i),Xn(t.wbrels,-1,"vbaProject.bin",Vn.VBA)),ot(o,i="xl/metadata."+r,as()),a.metadata.push(i),Xn(t.wbrels,-1,"metadata."+r,Vn.XLMETA),u.length>1&&(ot(o,i="xl/persons/person.xml",function(e){var t=[lt,zt("personList",null,{xmlns:Gt.TCMNT,"xmlns:x":Xt[0]}).replace(/[\/]>/,">")];return e.forEach((function(e,r){t.push(zt("person",null,{displayName:e,id:"{54EE7950-7262-4200-6969-"+("000000000000"+r).slice(-12)+"}",userId:e,providerId:"None"}))})),t.push("</personList>"),t.join("")}(u)),a.people.push(i),Xn(t.wbrels,-1,"persons/person.xml",Vn.PEOPLE)),ot(o,"[Content_Types].xml",zn(a,t)),ot(o,"_rels/.rels",Gn(t.rels)),ot(o,"xl/_rels/workbook.xml.rels",Gn(t.wbrels)),delete t.revssf,delete t.ssf,o}function ff(e,t){var r="";switch((t||{}).type||"base64"){case"buffer":case"array":return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]];case"base64":r=v(e.slice(0,12));break;case"binary":r=e;break;default:throw new Error("Unrecognized type "+(t&&t.type||"undefined"))}return[r.charCodeAt(0),r.charCodeAt(1),r.charCodeAt(2),r.charCodeAt(3),r.charCodeAt(4),r.charCodeAt(5),r.charCodeAt(6),r.charCodeAt(7)]}function hf(e,t){var r=0;e:for(;r<e.length;)switch(e.charCodeAt(r)){case 10:case 13:case 32:++r;break;case 60:return Dl(e.slice(r),t);default:break e}return Io.to_workbook(e,t)}function df(e,r){var n=e;return"base64"==r.type&&(n=v(n)),n=t.utils.decode(1200,n.slice(2),"str"),r.type="binary",hf(n,r)}function pf(e,t,r,n){return n?(r.type="string",Io.to_workbook(e,r)):Io.to_workbook(t,r)}function gf(e,t){c();var r=t||{};if("undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer)return gf(new Uint8Array(e),((r=qe(r)).type="array",r));"undefined"!=typeof Uint8Array&&e instanceof Uint8Array&&!r.type&&(r.type="undefined"!=typeof Deno?"buffer":"array");var n,a=e,o=!1;if(r.cellStyles&&(r.cellNF=!0,r.sheetStubs=!0),lc={},r.dateNF&&(lc.dateNF=r.dateNF),r.type||(r.type=b&&Buffer.isBuffer(e)?"buffer":"base64"),"file"==r.type&&(r.type=b?"buffer":"binary",a=function(e){if(void 0!==ke)return ke.readFileSync(e);if("undefined"!=typeof Deno)return Deno.readFileSync(e);if("undefined"!=typeof $&&"undefined"!=typeof File&&"undefined"!=typeof Folder)try{var t=File(e);t.open("r"),t.encoding="binary";var r=t.read();return t.close(),r}catch(e){if(!e.message||!e.message.match(/onstruct/))throw e}throw new Error("Cannot access file "+e)}(e),"undefined"==typeof Uint8Array||b||(r.type="array")),"string"==r.type&&(o=!0,r.type="binary",r.codepage=65001,a=function(e){return e.match(/[^\x00-\x7F]/)?Lt(e):e}(e)),"array"==r.type&&"undefined"!=typeof Uint8Array&&e instanceof Uint8Array&&"undefined"!=typeof ArrayBuffer){var i=new ArrayBuffer(3),s=new Uint8Array(i);if(s.foo="bar",!s.foo)return(r=qe(r)).type="array",gf(T(a),r)}switch((n=ff(a,r))[0]){case 208:if(207===n[1]&&17===n[2]&&224===n[3]&&161===n[4]&&177===n[5]&&26===n[6]&&225===n[7])return function(e,t){return Ee.find(e,"EncryptedPackage")?cf(e,t):Kl(e,t)}(Ee.read(a,r),r);break;case 9:if(n[1]<=8)return Kl(a,r);break;case 60:return Dl(a,r);case 73:if(73===n[1]&&42===n[2]&&0===n[3])throw new Error("TIFF Image File is not a spreadsheet");if(68===n[1])return function(e,t){var r=t||{},n=!!r.WTF;r.WTF=!0;try{var a=Ro.to_workbook(e,r);return r.WTF=n,a}catch(a){if(r.WTF=n,!a.message.match(/SYLK bad record ID/)&&n)throw a;return Io.to_workbook(e,t)}}(a,r);break;case 84:if(65===n[1]&&66===n[2]&&76===n[3])return Po.to_workbook(a,r);break;case 80:return 75===n[1]&&n[2]<9&&n[3]<9?function(e,t){var r=e,n=t||{};return n.type||(n.type=b&&Buffer.isBuffer(e)?"buffer":"base64"),sf(st(r,n),n)}(a,r):pf(e,a,r,o);case 239:return 60===n[3]?Dl(a,r):pf(e,a,r,o);case 255:if(254===n[1])return df(a,r);if(0===n[1]&&2===n[2]&&0===n[3])return Fo.to_workbook(a,r);break;case 0:if(0===n[1]){if(n[2]>=2&&0===n[3])return Fo.to_workbook(a,r);if(0===n[2]&&(8===n[3]||9===n[3]))return Fo.to_workbook(a,r)}break;case 3:case 131:case 139:case 140:return Oo.to_workbook(a,r);case 123:if(92===n[1]&&114===n[2]&&116===n[3])return li.to_workbook(a,r);break;case 10:case 13:case 32:return function(e,t){var r="",n=ff(e,t);switch(t.type){case"base64":r=v(e);break;case"binary":r=e;break;case"buffer":r=e.toString("binary");break;case"array":r=Ve(e);break;default:throw new Error("Unrecognized type "+t.type)}return 239==n[0]&&187==n[1]&&191==n[2]&&(r=Pt(r)),t.type="binary",hf(r,t)}(a,r);case 137:if(80===n[1]&&78===n[2]&&71===n[3])throw new Error("PNG Image File is not a spreadsheet")}return Co.indexOf(n[0])>-1&&n[2]<=12&&n[3]<=31?Oo.to_workbook(a,r):pf(e,a,r,o)}function mf(e,t){var r=t||{};return r.type="file",gf(e,r)}function vf(e,t){switch(t.type){case"base64":case"binary":break;case"buffer":case"array":t.type="";break;case"file":return Ne(t.file,Ee.write(e,{type:b?"buffer":""}));case"string":throw new Error("'string' output type invalid for '"+t.bookType+"' files");default:throw new Error("Unrecognized type "+t.type)}return Ee.write(e,t)}function bf(e,t){var r={},n=b?"nodebuffer":"undefined"!=typeof Uint8Array?"array":"string";if(t.compression&&(r.compression="DEFLATE"),t.password)r.type=n;else switch(t.type){case"base64":r.type="base64";break;case"binary":r.type="string";break;case"string":throw new Error("'string' output type invalid for '"+t.bookType+"' files");case"buffer":case"file":r.type=n;break;default:throw new Error("Unrecognized type "+t.type)}var a=e.FullPaths?Ee.write(e,{fileType:"zip",type:{nodebuffer:"buffer",string:"binary"}[r.type]||r.type,compression:!!t.compression}):e.generate(r);if("undefined"!=typeof Deno&&"string"==typeof a){if("binary"==t.type||"base64"==t.type)return a;a=new Uint8Array(A(a))}return t.password&&"undefined"!=typeof encrypt_agile?vf(encrypt_agile(a,t.password),t):"file"===t.type?Ne(t.file,a):"string"==t.type?Pt(a):a}function yf(e,t,r){r||(r="");var n=r+e;switch(t.type){case"base64":return m(Lt(n));case"binary":return Lt(n);case"string":return e;case"file":return Ne(t.file,n,"utf8");case"buffer":return b?y(n,"utf8"):"undefined"!=typeof TextEncoder?(new TextEncoder).encode(n):yf(n,{type:"binary"}).split("").map((function(e){return e.charCodeAt(0)}))}throw new Error("Unrecognized type "+t.type)}function wf(e,t){switch(t.type){case"string":case"base64":case"binary":for(var r="",n=0;n<e.length;++n)r+=String.fromCharCode(e[n]);return"base64"==t.type?m(r):"string"==t.type?Pt(r):r;case"file":return Ne(t.file,e);case"buffer":return e;default:throw new Error("Unrecognized type "+t.type)}}function Sf(e,t){c(),il(e);var r=qe(t||{});if(r.cellStyles&&(r.cellNF=!0,r.sheetStubs=!0),"array"==r.type){r.type="binary";var n=Sf(e,r);return r.type="array",A(n)}return function(e,t){var r=qe(t||{});return bf(uf(e,r),r)}(e,r)}function xf(e,t){c(),il(e);var r=qe(t||{});if(r.cellStyles&&(r.cellNF=!0,r.sheetStubs=!0),"array"==r.type){r.type="binary";var n=xf(e,r);return r.type="array",A(n)}var a=0;if(r.sheet&&(a="number"==typeof r.sheet?r.sheet:e.SheetNames.indexOf(r.sheet),!e.SheetNames[a]))throw new Error("Sheet not found: "+r.sheet+" : "+typeof r.sheet);switch(r.bookType||"xlsb"){case"xml":case"xlml":return yf(Hl(e,r),r);case"slk":case"sylk":return yf(Ro.from_sheet(e.Sheets[e.SheetNames[a]],r),r);case"htm":case"html":return yf(gu(e.Sheets[e.SheetNames[a]],r),r);case"txt":return function(e,t){switch(t.type){case"base64":return m(e);case"binary":case"string":return e;case"file":return Ne(t.file,e,"binary");case"buffer":return b?y(e,"binary"):e.split("").map((function(e){return e.charCodeAt(0)}))}throw new Error("Unrecognized type "+t.type)}(Of(e.Sheets[e.SheetNames[a]],r),r);case"csv":return yf(Cf(e.Sheets[e.SheetNames[a]],r),r,"\ufeff");case"dif":return yf(Po.from_sheet(e.Sheets[e.SheetNames[a]],r),r);case"dbf":return wf(Oo.from_sheet(e.Sheets[e.SheetNames[a]],r),r);case"prn":return yf(Io.from_sheet(e.Sheets[e.SheetNames[a]],r),r);case"rtf":return yf(li.from_sheet(e.Sheets[e.SheetNames[a]],r),r);case"eth":return yf(Lo.from_sheet(e.Sheets[e.SheetNames[a]],r),r);case"fods":return yf(Eu(e,r),r);case"wk1":return wf(Fo.sheet_to_wk1(e.Sheets[e.SheetNames[a]],r),r);case"wk3":return wf(Fo.book_to_wk3(e,r),r);case"biff2":r.biff||(r.biff=2);case"biff3":r.biff||(r.biff=3);case"biff4":return r.biff||(r.biff=4),wf(lu(e,r),r);case"biff5":r.biff||(r.biff=5);case"biff8":case"xla":case"xls":return r.biff||(r.biff=8),function(e,t){var r=t||{};return vf(Jl(e,r),r)}(e,r);case"xlsx":case"xlsm":case"xlam":case"xlsb":case"numbers":case"ods":return function(e,t){var r=qe(t||{});return bf(lf(e,r),r)}(e,r);default:throw new Error("Unrecognized bookType |"+r.bookType+"|")}}function Af(e){if(!e.bookType){var t=e.file.slice(e.file.lastIndexOf(".")).toLowerCase();t.match(/^\.[a-z]+$/)&&(e.bookType=t.slice(1)),e.bookType={xls:"biff8",htm:"html",slk:"sylk",socialcalc:"eth",Sh33tJS:"WTF"}[e.bookType]||e.bookType}}function kf(e,t,r){var n=r||{};return n.type="file",n.file=t,Af(n),xf(e,n)}function Tf(e,t,r,n,a,o,i,s){var c=Wr(r),l=s.defval,u=s.raw||!Object.prototype.hasOwnProperty.call(s,"raw"),f=!0,h=1===a?[]:{};if(1!==a)if(Object.defineProperty)try{Object.defineProperty(h,"__rowNum__",{value:r,enumerable:!1})}catch(e){h.__rowNum__=r}else h.__rowNum__=r;if(!i||e[r])for(var d=t.s.c;d<=t.e.c;++d){var p=i?e[r][d]:e[n[d]+c];if(void 0!==p&&void 0!==p.t){var g=p.v;switch(p.t){case"z":if(null==g)break;continue;case"e":g=0==g?null:void 0;break;case"s":case"d":case"b":case"n":break;default:throw new Error("unrecognized type "+p.t)}if(null!=o[d]){if(null==g)if("e"==p.t&&null===g)h[o[d]]=null;else if(void 0!==l)h[o[d]]=l;else{if(!u||null!==g)continue;h[o[d]]=null}else h[o[d]]=u&&("n"!==p.t||"n"===p.t&&!1!==s.rawNumbers)?g:Yr(p,g,s);null!=g&&(f=!1)}}else{if(void 0===l)continue;null!=o[d]&&(h[o[d]]=l)}}return{row:h,isempty:f}}function Ef(e,t){if(null==e||null==e["!ref"])return[];var r={t:"n",v:0},n=0,a=1,o=[],i=0,s="",c={s:{r:0,c:0},e:{r:0,c:0}},l=t||{},u=null!=l.range?l.range:e["!ref"];switch(1===l.header?n=1:"A"===l.header?n=2:Array.isArray(l.header)?n=3:null==l.header&&(n=0),typeof u){case"string":c=Gr(u);break;case"number":(c=Gr(e["!ref"])).s.r=u;break;default:c=u}n>0&&(a=0);var f=Wr(c.s.r),h=[],d=[],p=0,g=0,m=Array.isArray(e),v=c.s.r,b=0,y={};m&&!e[v]&&(e[v]=[]);var w=l.skipHidden&&e["!cols"]||[],S=l.skipHidden&&e["!rows"]||[];for(b=c.s.c;b<=c.e.c;++b)if(!(w[b]||{}).hidden)switch(h[b]=Hr(b),r=m?e[v][b]:e[h[b]+f],n){case 1:o[b]=b-c.s.c;break;case 2:o[b]=h[b];break;case 3:o[b]=l.header[b-c.s.c];break;default:if(null==r&&(r={w:"__EMPTY",t:"s"}),s=i=Yr(r,null,l),g=y[i]||0){do{s=i+"_"+g++}while(y[s]);y[i]=g,y[s]=1}else y[i]=1;o[b]=s}for(v=c.s.r+a;v<=c.e.r;++v)if(!(S[v]||{}).hidden){var x=Tf(e,c,v,h,n,o,m,l);(!1===x.isempty||(1===n?!1!==l.blankrows:l.blankrows))&&(d[p++]=x.row)}return d.length=p,d}var _f=/"/g;function Nf(e,t,r,n,a,o,i,s){for(var c=!0,l=[],u="",f=Wr(r),h=t.s.c;h<=t.e.c;++h)if(n[h]){var d=s.dense?(e[r]||[])[h]:e[n[h]+f];if(null==d)u="";else if(null!=d.v){c=!1,u=""+(s.rawNumbers&&"n"==d.t?d.v:Yr(d,null,s));for(var p=0,g=0;p!==u.length;++p)if((g=u.charCodeAt(p))===a||g===o||34===g||s.forceQuotes){u='"'+u.replace(_f,'""')+'"';break}"ID"==u&&(u='"ID"')}else null==d.f||d.F?u="":(c=!1,(u="="+d.f).indexOf(",")>=0&&(u='"'+u.replace(_f,'""')+'"'));l.push(u)}return!1===s.blankrows&&c?null:l.join(i)}function Cf(e,t){var r=[],n=null==t?{}:t;if(null==e||null==e["!ref"])return"";var a=Gr(e["!ref"]),o=void 0!==n.FS?n.FS:",",i=o.charCodeAt(0),s=void 0!==n.RS?n.RS:"\n",c=s.charCodeAt(0),l=new RegExp(("|"==o?"\\|":o)+"+$"),u="",f=[];n.dense=Array.isArray(e);for(var h=n.skipHidden&&e["!cols"]||[],d=n.skipHidden&&e["!rows"]||[],p=a.s.c;p<=a.e.c;++p)(h[p]||{}).hidden||(f[p]=Hr(p));for(var g=0,m=a.s.r;m<=a.e.r;++m)(d[m]||{}).hidden||null!=(u=Nf(e,a,m,f,i,c,o,n))&&(n.strip&&(u=u.replace(l,"")),(u||!1!==n.blankrows)&&r.push((g++?s:"")+u));return delete n.dense,r.join("")}function Of(e,r){r||(r={}),r.FS="\t",r.RS="\n";var n=Cf(e,r);if(void 0===t||"string"==r.type)return n;var a=t.utils.encode(1200,n,"str");return String.fromCharCode(255)+String.fromCharCode(254)+a}function Rf(e,t,r){var n,a=r||{},o=+!a.skipHeader,i=e||{},s=0,c=0;if(i&&null!=a.origin)if("number"==typeof a.origin)s=a.origin;else{var l="string"==typeof a.origin?zr(a.origin):a.origin;s=l.r,c=l.c}var u={s:{c:0,r:0},e:{c:c,r:s+t.length-1+o}};if(i["!ref"]){var f=Gr(i["!ref"]);u.e.c=Math.max(u.e.c,f.e.c),u.e.r=Math.max(u.e.r,f.e.r),-1==s&&(s=f.e.r+1,u.e.r=s+t.length-1+o)}else-1==s&&(s=0,u.e.r=t.length-1+o);var h=a.header||[],d=0;t.forEach((function(e,t){Ce(e).forEach((function(r){-1==(d=h.indexOf(r))&&(h[d=h.length]=r);var l=e[r],u="z",f="",p=Vr({c:c+d,r:s+t+o});n=Pf(i,p),!l||"object"!=typeof l||l instanceof Date?("number"==typeof l?u="n":"boolean"==typeof l?u="b":"string"==typeof l?u="s":l instanceof Date?(u="d",a.cellDates||(u="n",l=Ie(l)),f=a.dateNF||j[14]):null===l&&a.nullError&&(u="e",l=0),n?(n.t=u,n.v=l,delete n.w,delete n.R,f&&(n.z=f)):i[p]=n={t:u,v:l},f&&(n.z=f)):i[p]=l}))})),u.e.c=Math.max(u.e.c,c+h.length-1);var p=Wr(s);if(o)for(d=0;d<h.length;++d)i[Hr(d+c)+p]={t:"s",v:h[d]};return i["!ref"]=$r(u),i}function Pf(e,t,r){if("string"==typeof t){if(Array.isArray(e)){var n=zr(t);return e[n.r]||(e[n.r]=[]),e[n.r][n.c]||(e[n.r][n.c]={t:"z"})}return e[t]||(e[t]={t:"z"})}return Pf(e,Vr("number"!=typeof t?t:{r:t,c:r||0}))}function Lf(){return{SheetNames:[],Sheets:{}}}function If(e,t,r,n){var a=1;if(!r)for(;a<=65535&&-1!=e.SheetNames.indexOf(r="Sheet"+a);++a,r=void 0);if(!r||e.SheetNames.length>=65535)throw new Error("Too many worksheets");if(n&&e.SheetNames.indexOf(r)>=0){var o=r.match(/(^.*?)(\d+)$/);a=o&&+o[2]||0;var i=o&&o[1]||r;for(++a;a<=65535&&-1!=e.SheetNames.indexOf(r=i+a);++a);}if(ol(r),e.SheetNames.indexOf(r)>=0)throw new Error("Worksheet with name |"+r+"| already exists!");return e.SheetNames.push(r),e.Sheets[r]=t,r}function Ff(e,t,r){return t?(e.l={Target:t},r&&(e.l.Tooltip=r)):delete e.l,e}var Df,Mf={encode_col:Hr,encode_row:Wr,encode_cell:Vr,encode_range:$r,decode_col:Ur,decode_row:Br,split_cell:function(e){return e.replace(/(\$?[A-Z]*)(\$?\d*)/,"$1,$2").split(",")},decode_cell:zr,decode_range:qr,format_cell:Yr,sheet_add_aoa:Jr,sheet_add_json:Rf,sheet_add_dom:mu,aoa_to_sheet:Zr,json_to_sheet:function(e,t){return Rf(null,e,t)},table_to_sheet:vu,table_to_book:function(e,t){return Kr(vu(e,t),t)},sheet_to_csv:Cf,sheet_to_txt:Of,sheet_to_json:Ef,sheet_to_html:gu,sheet_to_formulae:function(e){var t,r="",n="";if(null==e||null==e["!ref"])return[];var a,o=Gr(e["!ref"]),i="",s=[],c=[],l=Array.isArray(e);for(a=o.s.c;a<=o.e.c;++a)s[a]=Hr(a);for(var u=o.s.r;u<=o.e.r;++u)for(i=Wr(u),a=o.s.c;a<=o.e.c;++a)if(r=s[a]+i,n="",void 0!==(t=l?(e[u]||[])[a]:e[r])){if(null!=t.F){if(r=t.F,!t.f)continue;n=t.f,-1==r.indexOf(":")&&(r=r+":"+r)}if(null!=t.f)n=t.f;else{if("z"==t.t)continue;if("n"==t.t&&null!=t.v)n=""+t.v;else if("b"==t.t)n=t.v?"TRUE":"FALSE";else if(void 0!==t.w)n="'"+t.w;else{if(void 0===t.v)continue;n="s"==t.t?"'"+t.v:""+t.v}}c[c.length]=r+"="+n}return c},sheet_to_row_object_array:Ef,sheet_get_cell:Pf,book_new:Lf,book_append_sheet:If,book_set_sheet_visibility:function(e,t,r){e.Workbook||(e.Workbook={}),e.Workbook.Sheets||(e.Workbook.Sheets=[]);var n=function(e,t){if("number"==typeof t){if(t>=0&&e.SheetNames.length>t)return t;throw new Error("Cannot find sheet # "+t)}if("string"==typeof t){var r=e.SheetNames.indexOf(t);if(r>-1)return r;throw new Error("Cannot find sheet name |"+t+"|")}throw new Error("Cannot find sheet |"+t+"|")}(e,t);switch(e.Workbook.Sheets[n]||(e.Workbook.Sheets[n]={}),r){case 0:case 1:case 2:break;default:throw new Error("Bad sheet visibility setting "+r)}e.Workbook.Sheets[n].Hidden=r},cell_set_number_format:function(e,t){return e.z=t,e},cell_set_hyperlink:Ff,cell_set_internal_link:function(e,t,r){return Ff(e,"#"+t,r)},cell_add_comment:function(e,t,r){e.c||(e.c=[]),e.c.push({t:t,a:r||"SheetJS"})},sheet_set_array_formula:function(e,t,r,n){for(var a="string"!=typeof t?t:Gr(t),o="string"==typeof t?t:$r(t),i=a.s.r;i<=a.e.r;++i)for(var s=a.s.c;s<=a.e.c;++s){var c=Pf(e,i,s);c.t="n",c.F=o,delete c.v,i==a.s.r&&s==a.s.c&&(c.f=r,n&&(c.D=!0))}return e},consts:{SHEET_VISIBLE:0,SHEET_HIDDEN:1,SHEET_VERY_HIDDEN:2}};function jf(e){Df=e}var Bf={to_json:function(e,t){var r=Df({objectMode:!0});if(null==e||null==e["!ref"])return r.push(null),r;var n={t:"n",v:0},a=0,o=1,i=[],s=0,c="",l={s:{r:0,c:0},e:{r:0,c:0}},u=t||{},f=null!=u.range?u.range:e["!ref"];switch(1===u.header?a=1:"A"===u.header?a=2:Array.isArray(u.header)&&(a=3),typeof f){case"string":l=Gr(f);break;case"number":(l=Gr(e["!ref"])).s.r=f;break;default:l=f}a>0&&(o=0);var h=Wr(l.s.r),d=[],p=0,g=Array.isArray(e),m=l.s.r,v=0,b={};g&&!e[m]&&(e[m]=[]);var y=u.skipHidden&&e["!cols"]||[],w=u.skipHidden&&e["!rows"]||[];for(v=l.s.c;v<=l.e.c;++v)if(!(y[v]||{}).hidden)switch(d[v]=Hr(v),n=g?e[m][v]:e[d[v]+h],a){case 1:i[v]=v-l.s.c;break;case 2:i[v]=d[v];break;case 3:i[v]=u.header[v-l.s.c];break;default:if(null==n&&(n={w:"__EMPTY",t:"s"}),c=s=Yr(n,null,u),p=b[s]||0){do{c=s+"_"+p++}while(b[c]);b[s]=p,b[c]=1}else b[s]=1;i[v]=c}return m=l.s.r+o,r._read=function(){for(;m<=l.e.r;)if(!(w[m-1]||{}).hidden){var t=Tf(e,l,m,d,a,i,g,u);if(++m,!1===t.isempty||(1===a?!1!==u.blankrows:u.blankrows))return void r.push(t.row)}return r.push(null)},r},to_html:function(e,t){var r=Df(),n=t||{},a=null!=n.header?n.header:hu,o=null!=n.footer?n.footer:du;r.push(a);var i=qr(e["!ref"]);n.dense=Array.isArray(e),r.push(pu(0,0,n));var s=i.s.r,c=!1;return r._read=function(){if(s>i.e.r)return c||(c=!0,r.push("</table>"+o)),r.push(null);for(;s<=i.e.r;){r.push(fu(e,i,s,n)),++s;break}},r},to_csv:function(e,t){var r=Df(),n=null==t?{}:t;if(null==e||null==e["!ref"])return r.push(null),r;var a=Gr(e["!ref"]),o=void 0!==n.FS?n.FS:",",i=o.charCodeAt(0),s=void 0!==n.RS?n.RS:"\n",c=s.charCodeAt(0),l=new RegExp(("|"==o?"\\|":o)+"+$"),u="",f=[];n.dense=Array.isArray(e);for(var h=n.skipHidden&&e["!cols"]||[],d=n.skipHidden&&e["!rows"]||[],p=a.s.c;p<=a.e.c;++p)(h[p]||{}).hidden||(f[p]=Hr(p));var g=a.s.r,m=!1,v=0;return r._read=function(){if(!m)return m=!0,r.push("\ufeff");for(;g<=a.e.r;)if(++g,!(d[g-1]||{}).hidden&&null!=(u=Nf(e,a,g-1,f,i,c,o,n))&&(n.strip&&(u=u.replace(l,"")),u||!1!==n.blankrows))return r.push((v++?s:"")+u);return r.push(null)},r},set_readable:jf};if(void 0!==Kl&&(e.parse_xlscfb=Kl),e.parse_zip=sf,e.read=gf,e.readFile=mf,e.readFileSync=mf,e.write=xf,e.writeFile=kf,e.writeFileSync=kf,e.writeFileAsync=function(e,t,r,n){var a=r||{};a.type="file",a.file=e,Af(a),a.type="buffer";var o=n;return o instanceof Function||(o=r),ke.writeFile(e,xf(t,a),o)},e.utils=Mf,e.writeXLSX=Sf,e.writeFileXLSX=function(e,t,r){var n=r||{};return n.type="file",n.file=t,Af(n),Sf(e,n)},e.SSF=Se,void 0!==Bf&&(e.stream=Bf),void 0!==Ee&&(e.CFB=Ee),"undefined"!=typeof require){var Wf=void 0;({}).Readable&&jf(Wf.Readable)}}if("undefined"!=typeof exports?make_xlsx_lib(exports):"undefined"!=typeof module&&module.exports?make_xlsx_lib(module.exports):"function"==typeof define&&define.amd?define("xlsx",(function(){return XLSX.version||make_xlsx_lib(XLSX),XLSX})):make_xlsx_lib(XLSX),"undefined"!=typeof window&&!window.XLSX)try{window.XLSX=XLSX}catch(e){}!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).jQuery)}(this,(function(e){"use strict";function t(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,(a=n.key,o=void 0,"symbol"==typeof(o=function(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(a,"string"))?o:String(o)),n)}var a,o}function r(e){return r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},r(e)}function n(e,t){return n=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},n(e,t)}function a(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function o(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=r(e);if(t){var i=r(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return a(this,n)}}function i(){return i="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var a=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=r(e)););return e}(e,t);if(a){var o=Object.getOwnPropertyDescriptor(a,t);return o.get?o.get.call(arguments.length<3?e:n):o.value}},i.apply(this,arguments)}var s="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},c=function(e){return e&&e.Math==Math&&e},l=c("object"==typeof globalThis&&globalThis)||c("object"==typeof window&&window)||c("object"==typeof self&&self)||c("object"==typeof s&&s)||function(){return this}()||Function("return this")(),u={},f=function(e){try{return!!e()}catch(e){return!0}},h=!f((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),d=!f((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})),p=d,g=Function.prototype.call,m=p?g.bind(g):function(){return g.apply(g,arguments)},v={},b={}.propertyIsEnumerable,y=Object.getOwnPropertyDescriptor,w=y&&!b.call({1:2},1);v.f=w?function(e){var t=y(this,e);return!!t&&t.enumerable}:b;var S,x,A=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},k=d,T=Function.prototype,E=T.call,_=k&&T.bind.bind(E,E),N=k?_:function(e){return function(){return E.apply(e,arguments)}},C=N,O=C({}.toString),R=C("".slice),P=function(e){return R(O(e),8,-1)},L=f,I=P,F=Object,D=N("".split),M=L((function(){return!F("z").propertyIsEnumerable(0)}))?function(e){return"String"==I(e)?D(e,""):F(e)}:F,j=function(e){return null==e},B=j,W=TypeError,U=function(e){if(B(e))throw W("Can't call method on "+e);return e},H=M,z=U,V=function(e){return H(z(e))},q="object"==typeof document&&document.all,$={all:q,IS_HTMLDDA:void 0===q&&void 0!==q},G=$.all,X=$.IS_HTMLDDA?function(e){return"function"==typeof e||e===G}:function(e){return"function"==typeof e},Y=X,K=$.all,J=$.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:Y(e)||e===K}:function(e){return"object"==typeof e?null!==e:Y(e)},Z=l,Q=X,ee=function(e,t){return arguments.length<2?(r=Z[e],Q(r)?r:void 0):Z[e]&&Z[e][t];var r},te=N({}.isPrototypeOf),re=l,ne="undefined"!=typeof navigator&&String(navigator.userAgent)||"",ae=re.process,oe=re.Deno,ie=ae&&ae.versions||oe&&oe.version,se=ie&&ie.v8;se&&(x=(S=se.split("."))[0]>0&&S[0]<4?1:+(S[0]+S[1])),!x&&ne&&(!(S=ne.match(/Edge\/(\d+)/))||S[1]>=74)&&(S=ne.match(/Chrome\/(\d+)/))&&(x=+S[1]);var ce=x,le=ce,ue=f,fe=!!Object.getOwnPropertySymbols&&!ue((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&le&&le<41})),he=fe&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,de=ee,pe=X,ge=te,me=Object,ve=he?function(e){return"symbol"==typeof e}:function(e){var t=de("Symbol");return pe(t)&&ge(t.prototype,me(e))},be=String,ye=X,we=function(e){try{return be(e)}catch(e){return"Object"}},Se=TypeError,xe=function(e){if(ye(e))return e;throw Se(we(e)+" is not a function")},Ae=xe,ke=j,Te=m,Ee=X,_e=J,Ne=TypeError,Ce={},Oe={get exports(){return Ce},set exports(e){Ce=e}},Re=l,Pe=Object.defineProperty,Le=function(e,t){try{Pe(Re,e,{value:t,configurable:!0,writable:!0})}catch(r){Re[e]=t}return t},Ie=Le,Fe="__core-js_shared__",De=l[Fe]||Ie(Fe,{}),Me=De;(Oe.exports=function(e,t){return Me[e]||(Me[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.29.0",mode:"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.29.0/LICENSE",source:"https://github.com/zloirock/core-js"});var je=U,Be=Object,We=function(e){return Be(je(e))},Ue=We,He=N({}.hasOwnProperty),ze=Object.hasOwn||function(e,t){return He(Ue(e),t)},Ve=N,qe=0,$e=Math.random(),Ge=Ve(1..toString),Xe=function(e){return"Symbol("+(void 0===e?"":e)+")_"+Ge(++qe+$e,36)},Ye=Ce,Ke=ze,Je=Xe,Ze=fe,Qe=he,et=l.Symbol,tt=Ye("wks"),rt=Qe?et.for||et:et&&et.withoutSetter||Je,nt=function(e){return Ke(tt,e)||(tt[e]=Ze&&Ke(et,e)?et[e]:rt("Symbol."+e)),tt[e]},at=m,ot=J,it=ve,st=function(e,t){var r=e[t];return ke(r)?void 0:Ae(r)},ct=function(e,t){var r,n;if("string"===t&&Ee(r=e.toString)&&!_e(n=Te(r,e)))return n;if(Ee(r=e.valueOf)&&!_e(n=Te(r,e)))return n;if("string"!==t&&Ee(r=e.toString)&&!_e(n=Te(r,e)))return n;throw Ne("Can't convert object to primitive value")},lt=TypeError,ut=nt("toPrimitive"),ft=function(e,t){if(!ot(e)||it(e))return e;var r,n=st(e,ut);if(n){if(void 0===t&&(t="default"),r=at(n,e,t),!ot(r)||it(r))return r;throw lt("Can't convert object to primitive value")}return void 0===t&&(t="number"),ct(e,t)},ht=ve,dt=function(e){var t=ft(e,"string");return ht(t)?t:t+""},pt=J,gt=l.document,mt=pt(gt)&&pt(gt.createElement),vt=function(e){return mt?gt.createElement(e):{}},bt=vt,yt=!h&&!f((function(){return 7!=Object.defineProperty(bt("div"),"a",{get:function(){return 7}}).a})),wt=h,St=m,xt=v,At=A,kt=V,Tt=dt,Et=ze,_t=yt,Nt=Object.getOwnPropertyDescriptor;u.f=wt?Nt:function(e,t){if(e=kt(e),t=Tt(t),_t)try{return Nt(e,t)}catch(e){}if(Et(e,t))return At(!St(xt.f,e,t),e[t])};var Ct={},Ot=h&&f((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),Rt=J,Pt=String,Lt=TypeError,It=function(e){if(Rt(e))return e;throw Lt(Pt(e)+" is not an object")},Ft=h,Dt=yt,Mt=Ot,jt=It,Bt=dt,Wt=TypeError,Ut=Object.defineProperty,Ht=Object.getOwnPropertyDescriptor,zt="enumerable",Vt="configurable",qt="writable";Ct.f=Ft?Mt?function(e,t,r){if(jt(e),t=Bt(t),jt(r),"function"==typeof e&&"prototype"===t&&"value"in r&&qt in r&&!r[qt]){var n=Ht(e,t);n&&n[qt]&&(e[t]=r.value,r={configurable:Vt in r?r[Vt]:n[Vt],enumerable:zt in r?r[zt]:n[zt],writable:!1})}return Ut(e,t,r)}:Ut:function(e,t,r){if(jt(e),t=Bt(t),jt(r),Dt)try{return Ut(e,t,r)}catch(e){}if("get"in r||"set"in r)throw Wt("Accessors not supported");return"value"in r&&(e[t]=r.value),e};var $t=Ct,Gt=A,Xt=h?function(e,t,r){return $t.f(e,t,Gt(1,r))}:function(e,t,r){return e[t]=r,e},Yt={},Kt={get exports(){return Yt},set exports(e){Yt=e}},Jt=h,Zt=ze,Qt=Function.prototype,er=Jt&&Object.getOwnPropertyDescriptor,tr=Zt(Qt,"name"),rr={EXISTS:tr,PROPER:tr&&"something"===function(){}.name,CONFIGURABLE:tr&&(!Jt||Jt&&er(Qt,"name").configurable)},nr=X,ar=De,or=N(Function.toString);nr(ar.inspectSource)||(ar.inspectSource=function(e){return or(e)});var ir,sr,cr,lr=ar.inspectSource,ur=X,fr=l.WeakMap,hr=ur(fr)&&/native code/.test(String(fr)),dr=Xe,pr=Ce("keys"),gr=function(e){return pr[e]||(pr[e]=dr(e))},mr={},vr=hr,br=l,yr=J,wr=Xt,Sr=ze,xr=De,Ar=gr,kr=mr,Tr="Object already initialized",Er=br.TypeError,_r=br.WeakMap;if(vr||xr.state){var Nr=xr.state||(xr.state=new _r);Nr.get=Nr.get,Nr.has=Nr.has,Nr.set=Nr.set,ir=function(e,t){if(Nr.has(e))throw Er(Tr);return t.facade=e,Nr.set(e,t),t},sr=function(e){return Nr.get(e)||{}},cr=function(e){return Nr.has(e)}}else{var Cr=Ar("state");kr[Cr]=!0,ir=function(e,t){if(Sr(e,Cr))throw Er(Tr);return t.facade=e,wr(e,Cr,t),t},sr=function(e){return Sr(e,Cr)?e[Cr]:{}},cr=function(e){return Sr(e,Cr)}}var Or={set:ir,get:sr,has:cr,enforce:function(e){return cr(e)?sr(e):ir(e,{})},getterFor:function(e){return function(t){var r;if(!yr(t)||(r=sr(t)).type!==e)throw Er("Incompatible receiver, "+e+" required");return r}}},Rr=N,Pr=f,Lr=X,Ir=ze,Fr=h,Dr=rr.CONFIGURABLE,Mr=lr,jr=Or.enforce,Br=Or.get,Wr=String,Ur=Object.defineProperty,Hr=Rr("".slice),zr=Rr("".replace),Vr=Rr([].join),qr=Fr&&!Pr((function(){return 8!==Ur((function(){}),"length",{value:8}).length})),$r=String(String).split("String"),Gr=Kt.exports=function(e,t,r){"Symbol("===Hr(Wr(t),0,7)&&(t="["+zr(Wr(t),/^Symbol\(([^)]*)\)/,"$1")+"]"),r&&r.getter&&(t="get "+t),r&&r.setter&&(t="set "+t),(!Ir(e,"name")||Dr&&e.name!==t)&&(Fr?Ur(e,"name",{value:t,configurable:!0}):e.name=t),qr&&r&&Ir(r,"arity")&&e.length!==r.arity&&Ur(e,"length",{value:r.arity});try{r&&Ir(r,"constructor")&&r.constructor?Fr&&Ur(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var n=jr(e);return Ir(n,"source")||(n.source=Vr($r,"string"==typeof t?t:"")),e};Function.prototype.toString=Gr((function(){return Lr(this)&&Br(this).source||Mr(this)}),"toString");var Xr=X,Yr=Ct,Kr=Yt,Jr=Le,Zr=function(e,t,r,n){n||(n={});var a=n.enumerable,o=void 0!==n.name?n.name:t;if(Xr(r)&&Kr(r,o,n),n.global)a?e[t]=r:Jr(t,r);else{try{n.unsafe?e[t]&&(a=!0):delete e[t]}catch(e){}a?e[t]=r:Yr.f(e,t,{value:r,enumerable:!1,configurable:!n.nonConfigurable,writable:!n.nonWritable})}return e},Qr={},en=Math.ceil,tn=Math.floor,rn=Math.trunc||function(e){var t=+e;return(t>0?tn:en)(t)},nn=function(e){var t=+e;return t!=t||0===t?0:rn(t)},an=nn,on=Math.max,sn=Math.min,cn=nn,ln=Math.min,un=function(e){return e>0?ln(cn(e),9007199254740991):0},fn=function(e){return un(e.length)},hn=V,dn=function(e,t){var r=an(e);return r<0?on(r+t,0):sn(r,t)},pn=fn,gn=function(e){return function(t,r,n){var a,o=hn(t),i=pn(o),s=dn(n,i);if(e&&r!=r){for(;i>s;)if((a=o[s++])!=a)return!0}else for(;i>s;s++)if((e||s in o)&&o[s]===r)return e||s||0;return!e&&-1}},mn={includes:gn(!0),indexOf:gn(!1)},vn=ze,bn=V,yn=mn.indexOf,wn=mr,Sn=N([].push),xn=function(e,t){var r,n=bn(e),a=0,o=[];for(r in n)!vn(wn,r)&&vn(n,r)&&Sn(o,r);for(;t.length>a;)vn(n,r=t[a++])&&(~yn(o,r)||Sn(o,r));return o},An=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],kn=xn,Tn=An.concat("length","prototype");Qr.f=Object.getOwnPropertyNames||function(e){return kn(e,Tn)};var En={};En.f=Object.getOwnPropertySymbols;var _n=ee,Nn=Qr,Cn=En,On=It,Rn=N([].concat),Pn=_n("Reflect","ownKeys")||function(e){var t=Nn.f(On(e)),r=Cn.f;return r?Rn(t,r(e)):t},Ln=ze,In=Pn,Fn=u,Dn=Ct,Mn=f,jn=X,Bn=/#|\.prototype\./,Wn=function(e,t){var r=Hn[Un(e)];return r==Vn||r!=zn&&(jn(t)?Mn(t):!!t)},Un=Wn.normalize=function(e){return String(e).replace(Bn,".").toLowerCase()},Hn=Wn.data={},zn=Wn.NATIVE="N",Vn=Wn.POLYFILL="P",qn=Wn,$n=l,Gn=u.f,Xn=Xt,Yn=Zr,Kn=Le,Jn=function(e,t,r){for(var n=In(t),a=Dn.f,o=Fn.f,i=0;i<n.length;i++){var s=n[i];Ln(e,s)||r&&Ln(r,s)||a(e,s,o(t,s))}},Zn=qn,Qn=function(e,t){var r,n,a,o,i,s=e.target,c=e.global,l=e.stat;if(r=c?$n:l?$n[s]||Kn(s,{}):($n[s]||{}).prototype)for(n in t){if(o=t[n],a=e.dontCallGetSet?(i=Gn(r,n))&&i.value:r[n],!Zn(c?n:s+(l?".":"#")+n,e.forced)&&void 0!==a){if(typeof o==typeof a)continue;Jn(o,a)}(e.sham||a&&a.sham)&&Xn(o,"sham",!0),Yn(r,n,o,e)}},ea=xn,ta=An,ra=Object.keys||function(e){return ea(e,ta)},na=h,aa=N,oa=m,ia=f,sa=ra,ca=En,la=v,ua=We,fa=M,ha=Object.assign,da=Object.defineProperty,pa=aa([].concat),ga=!ha||ia((function(){if(na&&1!==ha({b:1},ha(da({},"a",{enumerable:!0,get:function(){da(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},r=Symbol(),n="abcdefghijklmnopqrst";return e[r]=7,n.split("").forEach((function(e){t[e]=e})),7!=ha({},e)[r]||sa(ha({},t)).join("")!=n}))?function(e,t){for(var r=ua(e),n=arguments.length,a=1,o=ca.f,i=la.f;n>a;)for(var s,c=fa(arguments[a++]),l=o?pa(sa(c),o(c)):sa(c),u=l.length,f=0;u>f;)s=l[f++],na&&!oa(i,c,s)||(r[s]=c[s]);return r}:ha,ma=ga;Qn({target:"Object",stat:!0,arity:2,forced:Object.assign!==ma},{assign:ma});var va=P,ba=Array.isArray||function(e){return"Array"==va(e)},ya=TypeError,wa=dt,Sa=Ct,xa=A,Aa={};Aa[nt("toStringTag")]="z";var ka="[object z]"===String(Aa),Ta=ka,Ea=X,_a=P,Na=nt("toStringTag"),Ca=Object,Oa="Arguments"==_a(function(){return arguments}()),Ra=Ta?_a:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=Ca(e),Na))?r:Oa?_a(t):"Object"==(n=_a(t))&&Ea(t.callee)?"Arguments":n},Pa=N,La=f,Ia=X,Fa=Ra,Da=lr,Ma=function(){},ja=[],Ba=ee("Reflect","construct"),Wa=/^\s*(?:class|function)\b/,Ua=Pa(Wa.exec),Ha=!Wa.exec(Ma),za=function(e){if(!Ia(e))return!1;try{return Ba(Ma,ja,e),!0}catch(e){return!1}},Va=function(e){if(!Ia(e))return!1;switch(Fa(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return Ha||!!Ua(Wa,Da(e))}catch(e){return!0}};Va.sham=!0;var qa=!Ba||La((function(){var e;return za(za.call)||!za(Object)||!za((function(){e=!0}))||e}))?Va:za,$a=ba,Ga=qa,Xa=J,Ya=nt("species"),Ka=Array,Ja=function(e){var t;return $a(e)&&(t=e.constructor,(Ga(t)&&(t===Ka||$a(t.prototype))||Xa(t)&&null===(t=t[Ya]))&&(t=void 0)),void 0===t?Ka:t},Za=function(e,t){return new(Ja(e))(0===t?0:t)},Qa=f,eo=ce,to=nt("species"),ro=Qn,no=f,ao=ba,oo=J,io=We,so=fn,co=function(e){if(e>9007199254740991)throw ya("Maximum allowed index exceeded");return e},lo=function(e,t,r){var n=wa(t);n in e?Sa.f(e,n,xa(0,r)):e[n]=r},uo=Za,fo=function(e){return eo>=51||!Qa((function(){var t=[];return(t.constructor={})[to]=function(){return{foo:1}},1!==t[e](Boolean).foo}))},ho=ce,po=nt("isConcatSpreadable"),go=ho>=51||!no((function(){var e=[];return e[po]=!1,e.concat()[0]!==e})),mo=function(e){if(!oo(e))return!1;var t=e[po];return void 0!==t?!!t:ao(e)};ro({target:"Array",proto:!0,arity:1,forced:!go||!fo("concat")},{concat:function(e){var t,r,n,a,o,i=io(this),s=uo(i,0),c=0;for(t=-1,n=arguments.length;t<n;t++)if(mo(o=-1===t?i:arguments[t]))for(a=so(o),co(c+a),r=0;r<a;r++,c++)r in o&&lo(s,c,o[r]);else co(c+1),lo(s,c++,o);return s.length=c,s}});var vo=P,bo=N,yo=function(e){if("Function"===vo(e))return bo(e)},wo=xe,So=d,xo=yo(yo.bind),Ao=function(e,t){return wo(e),void 0===t?e:So?xo(e,t):function(){return e.apply(t,arguments)}},ko=M,To=We,Eo=fn,_o=Za,No=N([].push),Co=function(e){var t=1==e,r=2==e,n=3==e,a=4==e,o=6==e,i=7==e,s=5==e||o;return function(c,l,u,f){for(var h,d,p=To(c),g=ko(p),m=Ao(l,u),v=Eo(g),b=0,y=f||_o,w=t?y(c,v):r||i?y(c,0):void 0;v>b;b++)if((s||b in g)&&(d=m(h=g[b],b,p),e))if(t)w[b]=d;else if(d)switch(e){case 3:return!0;case 5:return h;case 6:return b;case 2:No(w,h)}else switch(e){case 4:return!1;case 7:No(w,h)}return o?-1:n||a?a:w}},Oo={forEach:Co(0),map:Co(1),filter:Co(2),some:Co(3),every:Co(4),find:Co(5),findIndex:Co(6),filterReject:Co(7)},Ro={},Po=h,Lo=Ot,Io=Ct,Fo=It,Do=V,Mo=ra;Ro.f=Po&&!Lo?Object.defineProperties:function(e,t){Fo(e);for(var r,n=Do(t),a=Mo(t),o=a.length,i=0;o>i;)Io.f(e,r=a[i++],n[r]);return e};var jo,Bo=ee("document","documentElement"),Wo=It,Uo=Ro,Ho=An,zo=mr,Vo=Bo,qo=vt,$o="prototype",Go="script",Xo=gr("IE_PROTO"),Yo=function(){},Ko=function(e){return"<"+Go+">"+e+"</"+Go+">"},Jo=function(e){e.write(Ko("")),e.close();var t=e.parentWindow.Object;return e=null,t},Zo=function(){try{jo=new ActiveXObject("htmlfile")}catch(e){}var e,t,r;Zo="undefined"!=typeof document?document.domain&&jo?Jo(jo):(t=qo("iframe"),r="java"+Go+":",t.style.display="none",Vo.appendChild(t),t.src=String(r),(e=t.contentWindow.document).open(),e.write(Ko("document.F=Object")),e.close(),e.F):Jo(jo);for(var n=Ho.length;n--;)delete Zo[$o][Ho[n]];return Zo()};zo[Xo]=!0;var Qo=nt,ei=Object.create||function(e,t){var r;return null!==e?(Yo[$o]=Wo(e),r=new Yo,Yo[$o]=null,r[Xo]=e):r=Zo(),void 0===t?r:Uo.f(r,t)},ti=Ct.f,ri=Qo("unscopables"),ni=Array.prototype;null==ni[ri]&&ti(ni,ri,{configurable:!0,value:ei(null)});var ai=Qn,oi=Oo.find,ii=function(e){ni[ri][e]=!0},si="find",ci=!0;si in[]&&Array(1)[si]((function(){ci=!1})),ai({target:"Array",proto:!0,forced:ci},{find:function(e){return oi(this,e,arguments.length>1?arguments[1]:void 0)}}),ii(si);var li=Ra,ui=ka?{}.toString:function(){return"[object "+li(this)+"]"};ka||Zr(Object.prototype,"toString",ui,{unsafe:!0});var fi=e.fn.bootstrapTable.utils;Object.assign(e.fn.bootstrapTable.defaults,{stickyHeader:!1,stickyHeaderOffsetY:0,stickyHeaderOffsetLeft:0,stickyHeaderOffsetRight:0}),e.BootstrapTable=function(a){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&n(e,t)}(f,a);var s,c,l,u=o(f);function f(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,f),u.apply(this,arguments)}return s=f,c=[{key:"initHeader",value:function(){for(var t,n=this,a=arguments.length,o=new Array(a),s=0;s<a;s++)o[s]=arguments[s];if((t=i(r(f.prototype),"initHeader",this)).call.apply(t,[this].concat(o)),this.options.stickyHeader){this.$tableBody.find(".sticky-header-container,.sticky_anchor_begin,.sticky_anchor_end").remove(),this.$el.before('<div class="sticky-header-container"></div>'),this.$el.before('<div class="sticky_anchor_begin"></div>'),this.$el.after('<div class="sticky_anchor_end"></div>'),this.$header.addClass("sticky-header"),this.$stickyContainer=this.$tableBody.find(".sticky-header-container"),this.$stickyBegin=this.$tableBody.find(".sticky_anchor_begin"),this.$stickyEnd=this.$tableBody.find(".sticky_anchor_end"),this.$stickyHeader=this.$header.clone(!0,!0);var c=fi.getEventName("resize.sticky-header-table",this.$el.attr("id")),l=fi.getEventName("scroll.sticky-header-table",this.$el.attr("id"));e(window).off(c).on(c,(function(){return n.renderStickyHeader()})),e(window).off(l).on(l,(function(){return n.renderStickyHeader()})),this.$tableBody.off("scroll").on("scroll",(function(){return n.matchPositionX()}))}}},{key:"onColumnSearch",value:function(e){var t=e.currentTarget,n=e.keyCode;i(r(f.prototype),"onColumnSearch",this).call(this,{currentTarget:t,keyCode:n}),this.renderStickyHeader()}},{key:"resetView",value:function(){for(var t,n=this,a=arguments.length,o=new Array(a),s=0;s<a;s++)o[s]=arguments[s];(t=i(r(f.prototype),"resetView",this)).call.apply(t,[this].concat(o)),e(".bootstrap-table.fullscreen").off("scroll").on("scroll",(function(){return n.renderStickyHeader()}))}},{key:"getCaret",value:function(){for(var t,n=arguments.length,a=new Array(n),o=0;o<n;o++)a[o]=arguments[o];if((t=i(r(f.prototype),"getCaret",this)).call.apply(t,[this].concat(a)),this.$stickyHeader){var s=this.$stickyHeader.find("th");this.$header.find("th").each((function(t,r){s.eq(t).find(".sortable").attr("class",e(r).find(".sortable").attr("class"))}))}}},{key:"horizontalScroll",value:function(){var e=this;i(r(f.prototype),"horizontalScroll",this).call(this),this.$tableBody.on("scroll",(function(){return e.matchPositionX()}))}},{key:"renderStickyHeader",value:function(){var t=this,r=this;this.$stickyHeader=this.$header.clone(!0,!0),this.options.filterControl&&e(this.$stickyHeader).off("keyup change mouseup").on("keyup change mouse",(function(t){var n=e(t.target),a=n.val(),o=n.parents("th").data("field"),i=r.$header.find('th[data-field="'.concat(o,'"]'));if(n.is("input"))i.find("input").val(a);else if(n.is("select")){var s=i.find("select");s.find("option[selected]").removeAttr("selected"),s.find('option[value="'.concat(a,'"]')).attr("selected",!0)}r.triggerSearch()}));var n=e(window).scrollTop(),a=this.$stickyBegin.offset().top-this.options.stickyHeaderOffsetY,o=this.$stickyEnd.offset().top-this.options.stickyHeaderOffsetY-this.$header.height();if(n>a&&n<=o){this.$stickyHeader.find("tr").each((function(r,n){e(n).find("th").each((function(n,a){e(a).css("min-width",t.$header.find("tr:eq(".concat(r,")")).find("th:eq(".concat(n,")")).css("width"))}))})),this.$stickyContainer.show().addClass("fix-sticky fixed-table-container");var i=this.$tableBody[0].getBoundingClientRect(),s="100%",c=this.options.stickyHeaderOffsetLeft,l=this.options.stickyHeaderOffsetRight;c||(c=i.left),l||(s="".concat(i.width,"px")),this.$el.closest(".bootstrap-table").hasClass("fullscreen")&&(c=0,l=0,s="100%"),this.$stickyContainer.css("top","".concat(this.options.stickyHeaderOffsetY,"px")),this.$stickyContainer.css("left","".concat(c,"px")),this.$stickyContainer.css("right","".concat(l,"px")),this.$stickyContainer.css("width","".concat(s)),this.$stickyTable=e("<table/>"),this.$stickyTable.addClass(this.options.classes),this.$stickyContainer.html(this.$stickyTable.append(this.$stickyHeader)),this.matchPositionX()}else this.$stickyContainer.removeClass("fix-sticky").hide()}},{key:"matchPositionX",value:function(){this.$stickyContainer.scrollLeft(this.$tableBody.scrollLeft())}}],c&&t(s.prototype,c),l&&t(s,l),Object.defineProperty(s,"prototype",{writable:!1}),f}(e.BootstrapTable)})),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).jQuery)}(this,(function(e){"use strict";function t(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,(a=n.key,o=void 0,"symbol"==typeof(o=function(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(a,"string"))?o:String(o)),n)}var a,o}function r(e){return r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},r(e)}function n(e,t){return n=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},n(e,t)}function a(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function o(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=r(e);if(t){var i=r(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return a(this,n)}}function i(){return i="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var a=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=r(e)););return e}(e,t);if(a){var o=Object.getOwnPropertyDescriptor(a,t);return o.get?o.get.call(arguments.length<3?e:n):o.value}},i.apply(this,arguments)}function s(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,a,o,i,s=[],c=!0,l=!1;try{if(o=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=o.call(r)).done)&&(s.push(n.value),s.length!==t);c=!0);}catch(e){l=!0,a=e}finally{try{if(!c&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(l)throw a}}return s}}(e,t)||l(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 c(e){return function(e){if(Array.isArray(e))return u(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||l(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){if(e){if("string"==typeof e)return u(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?u(e,t):void 0}}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var f="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},h=function(e){return e&&e.Math==Math&&e},d=h("object"==typeof globalThis&&globalThis)||h("object"==typeof window&&window)||h("object"==typeof self&&self)||h("object"==typeof f&&f)||function(){return this}()||Function("return this")(),p={},g=function(e){try{return!!e()}catch(e){return!0}},m=!g((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),v=!g((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})),b=v,y=Function.prototype.call,w=b?y.bind(y):function(){return y.apply(y,arguments)},S={},x={}.propertyIsEnumerable,A=Object.getOwnPropertyDescriptor,k=A&&!x.call({1:2},1);S.f=k?function(e){var t=A(this,e);return!!t&&t.enumerable}:x;var T,E,_=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},N=v,C=Function.prototype,O=C.call,R=N&&C.bind.bind(O,O),P=N?R:function(e){return function(){return O.apply(e,arguments)}},L=P,I=L({}.toString),F=L("".slice),D=function(e){return F(I(e),8,-1)},M=g,j=D,B=Object,W=P("".split),U=M((function(){return!B("z").propertyIsEnumerable(0)}))?function(e){return"String"==j(e)?W(e,""):B(e)}:B,H=function(e){return null==e},z=H,V=TypeError,q=function(e){if(z(e))throw V("Can't call method on "+e);return e},$=U,G=q,X=function(e){return $(G(e))},Y="object"==typeof document&&document.all,K={all:Y,IS_HTMLDDA:void 0===Y&&void 0!==Y},J=K.all,Z=K.IS_HTMLDDA?function(e){return"function"==typeof e||e===J}:function(e){return"function"==typeof e},Q=Z,ee=K.all,te=K.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:Q(e)||e===ee}:function(e){return"object"==typeof e?null!==e:Q(e)},re=d,ne=Z,ae=function(e,t){return arguments.length<2?(r=re[e],ne(r)?r:void 0):re[e]&&re[e][t];var r},oe=P({}.isPrototypeOf),ie=d,se="undefined"!=typeof navigator&&String(navigator.userAgent)||"",ce=ie.process,le=ie.Deno,ue=ce&&ce.versions||le&&le.version,fe=ue&&ue.v8;fe&&(E=(T=fe.split("."))[0]>0&&T[0]<4?1:+(T[0]+T[1])),!E&&se&&(!(T=se.match(/Edge\/(\d+)/))||T[1]>=74)&&(T=se.match(/Chrome\/(\d+)/))&&(E=+T[1]);var he=E,de=he,pe=g,ge=!!Object.getOwnPropertySymbols&&!pe((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&de&&de<41})),me=ge&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,ve=ae,be=Z,ye=oe,we=Object,Se=me?function(e){return"symbol"==typeof e}:function(e){var t=ve("Symbol");return be(t)&&ye(t.prototype,we(e))},xe=String,Ae=Z,ke=function(e){try{return xe(e)}catch(e){return"Object"}},Te=TypeError,Ee=function(e){if(Ae(e))return e;throw Te(ke(e)+" is not a function")},_e=Ee,Ne=H,Ce=function(e,t){var r=e[t];return Ne(r)?void 0:_e(r)},Oe=w,Re=Z,Pe=te,Le=TypeError,Ie={},Fe={get exports(){return Ie},set exports(e){Ie=e}},De=d,Me=Object.defineProperty,je=function(e,t){try{Me(De,e,{value:t,configurable:!0,writable:!0})}catch(r){De[e]=t}return t},Be=je,We="__core-js_shared__",Ue=d[We]||Be(We,{}),He=Ue;(Fe.exports=function(e,t){return He[e]||(He[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.29.0",mode:"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.29.0/LICENSE",source:"https://github.com/zloirock/core-js"});var ze=q,Ve=Object,qe=function(e){return Ve(ze(e))},$e=qe,Ge=P({}.hasOwnProperty),Xe=Object.hasOwn||function(e,t){return Ge($e(e),t)},Ye=P,Ke=0,Je=Math.random(),Ze=Ye(1..toString),Qe=function(e){return"Symbol("+(void 0===e?"":e)+")_"+Ze(++Ke+Je,36)},et=Ie,tt=Xe,rt=Qe,nt=ge,at=me,ot=d.Symbol,it=et("wks"),st=at?ot.for||ot:ot&&ot.withoutSetter||rt,ct=function(e){return tt(it,e)||(it[e]=nt&&tt(ot,e)?ot[e]:st("Symbol."+e)),it[e]},lt=w,ut=te,ft=Se,ht=Ce,dt=function(e,t){var r,n;if("string"===t&&Re(r=e.toString)&&!Pe(n=Oe(r,e)))return n;if(Re(r=e.valueOf)&&!Pe(n=Oe(r,e)))return n;if("string"!==t&&Re(r=e.toString)&&!Pe(n=Oe(r,e)))return n;throw Le("Can't convert object to primitive value")},pt=TypeError,gt=ct("toPrimitive"),mt=function(e,t){if(!ut(e)||ft(e))return e;var r,n=ht(e,gt);if(n){if(void 0===t&&(t="default"),r=lt(n,e,t),!ut(r)||ft(r))return r;throw pt("Can't convert object to primitive value")}return void 0===t&&(t="number"),dt(e,t)},vt=Se,bt=function(e){var t=mt(e,"string");return vt(t)?t:t+""},yt=te,wt=d.document,St=yt(wt)&&yt(wt.createElement),xt=function(e){return St?wt.createElement(e):{}},At=xt,kt=!m&&!g((function(){return 7!=Object.defineProperty(At("div"),"a",{get:function(){return 7}}).a})),Tt=m,Et=w,_t=S,Nt=_,Ct=X,Ot=bt,Rt=Xe,Pt=kt,Lt=Object.getOwnPropertyDescriptor;p.f=Tt?Lt:function(e,t){if(e=Ct(e),t=Ot(t),Pt)try{return Lt(e,t)}catch(e){}if(Rt(e,t))return Nt(!Et(_t.f,e,t),e[t])};var It={},Ft=m&&g((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),Dt=te,Mt=String,jt=TypeError,Bt=function(e){if(Dt(e))return e;throw jt(Mt(e)+" is not an object")},Wt=m,Ut=kt,Ht=Ft,zt=Bt,Vt=bt,qt=TypeError,$t=Object.defineProperty,Gt=Object.getOwnPropertyDescriptor,Xt="enumerable",Yt="configurable",Kt="writable";It.f=Wt?Ht?function(e,t,r){if(zt(e),t=Vt(t),zt(r),"function"==typeof e&&"prototype"===t&&"value"in r&&Kt in r&&!r[Kt]){var n=Gt(e,t);n&&n[Kt]&&(e[t]=r.value,r={configurable:Yt in r?r[Yt]:n[Yt],enumerable:Xt in r?r[Xt]:n[Xt],writable:!1})}return $t(e,t,r)}:$t:function(e,t,r){if(zt(e),t=Vt(t),zt(r),Ut)try{return $t(e,t,r)}catch(e){}if("get"in r||"set"in r)throw qt("Accessors not supported");return"value"in r&&(e[t]=r.value),e};var Jt=It,Zt=_,Qt=m?function(e,t,r){return Jt.f(e,t,Zt(1,r))}:function(e,t,r){return e[t]=r,e},er={},tr={get exports(){return er},set exports(e){er=e}},rr=m,nr=Xe,ar=Function.prototype,or=rr&&Object.getOwnPropertyDescriptor,ir=nr(ar,"name"),sr={EXISTS:ir,PROPER:ir&&"something"===function(){}.name,CONFIGURABLE:ir&&(!rr||rr&&or(ar,"name").configurable)},cr=Z,lr=Ue,ur=P(Function.toString);cr(lr.inspectSource)||(lr.inspectSource=function(e){return ur(e)});var fr,hr,dr,pr=lr.inspectSource,gr=Z,mr=d.WeakMap,vr=gr(mr)&&/native code/.test(String(mr)),br=Qe,yr=Ie("keys"),wr=function(e){return yr[e]||(yr[e]=br(e))},Sr={},xr=vr,Ar=d,kr=te,Tr=Qt,Er=Xe,_r=Ue,Nr=wr,Cr=Sr,Or="Object already initialized",Rr=Ar.TypeError,Pr=Ar.WeakMap;if(xr||_r.state){var Lr=_r.state||(_r.state=new Pr);Lr.get=Lr.get,Lr.has=Lr.has,Lr.set=Lr.set,fr=function(e,t){if(Lr.has(e))throw Rr(Or);return t.facade=e,Lr.set(e,t),t},hr=function(e){return Lr.get(e)||{}},dr=function(e){return Lr.has(e)}}else{var Ir=Nr("state");Cr[Ir]=!0,fr=function(e,t){if(Er(e,Ir))throw Rr(Or);return t.facade=e,Tr(e,Ir,t),t},hr=function(e){return Er(e,Ir)?e[Ir]:{}},dr=function(e){return Er(e,Ir)}}var Fr={set:fr,get:hr,has:dr,enforce:function(e){return dr(e)?hr(e):fr(e,{})},getterFor:function(e){return function(t){var r;if(!kr(t)||(r=hr(t)).type!==e)throw Rr("Incompatible receiver, "+e+" required");return r}}},Dr=P,Mr=g,jr=Z,Br=Xe,Wr=m,Ur=sr.CONFIGURABLE,Hr=pr,zr=Fr.enforce,Vr=Fr.get,qr=String,$r=Object.defineProperty,Gr=Dr("".slice),Xr=Dr("".replace),Yr=Dr([].join),Kr=Wr&&!Mr((function(){return 8!==$r((function(){}),"length",{value:8}).length})),Jr=String(String).split("String"),Zr=tr.exports=function(e,t,r){"Symbol("===Gr(qr(t),0,7)&&(t="["+Xr(qr(t),/^Symbol\(([^)]*)\)/,"$1")+"]"),r&&r.getter&&(t="get "+t),r&&r.setter&&(t="set "+t),(!Br(e,"name")||Ur&&e.name!==t)&&(Wr?$r(e,"name",{value:t,configurable:!0}):e.name=t),Kr&&r&&Br(r,"arity")&&e.length!==r.arity&&$r(e,"length",{value:r.arity});try{r&&Br(r,"constructor")&&r.constructor?Wr&&$r(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var n=zr(e);return Br(n,"source")||(n.source=Yr(Jr,"string"==typeof t?t:"")),e};Function.prototype.toString=Zr((function(){return jr(this)&&Vr(this).source||Hr(this)}),"toString");var Qr=Z,en=It,tn=er,rn=je,nn=function(e,t,r,n){n||(n={});var a=n.enumerable,o=void 0!==n.name?n.name:t;if(Qr(r)&&tn(r,o,n),n.global)a?e[t]=r:rn(t,r);else{try{n.unsafe?e[t]&&(a=!0):delete e[t]}catch(e){}a?e[t]=r:en.f(e,t,{value:r,enumerable:!1,configurable:!n.nonConfigurable,writable:!n.nonWritable})}return e},an={},on=Math.ceil,sn=Math.floor,cn=Math.trunc||function(e){var t=+e;return(t>0?sn:on)(t)},ln=function(e){var t=+e;return t!=t||0===t?0:cn(t)},un=ln,fn=Math.max,hn=Math.min,dn=ln,pn=Math.min,gn=function(e){return e>0?pn(dn(e),9007199254740991):0},mn=function(e){return gn(e.length)},vn=X,bn=function(e,t){var r=un(e);return r<0?fn(r+t,0):hn(r,t)},yn=mn,wn=function(e){return function(t,r,n){var a,o=vn(t),i=yn(o),s=bn(n,i);if(e&&r!=r){for(;i>s;)if((a=o[s++])!=a)return!0}else for(;i>s;s++)if((e||s in o)&&o[s]===r)return e||s||0;return!e&&-1}},Sn={includes:wn(!0),indexOf:wn(!1)},xn=Xe,An=X,kn=Sn.indexOf,Tn=Sr,En=P([].push),_n=function(e,t){var r,n=An(e),a=0,o=[];for(r in n)!xn(Tn,r)&&xn(n,r)&&En(o,r);for(;t.length>a;)xn(n,r=t[a++])&&(~kn(o,r)||En(o,r));return o},Nn=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Cn=_n,On=Nn.concat("length","prototype");an.f=Object.getOwnPropertyNames||function(e){return Cn(e,On)};var Rn={};Rn.f=Object.getOwnPropertySymbols;var Pn=ae,Ln=an,In=Rn,Fn=Bt,Dn=P([].concat),Mn=Pn("Reflect","ownKeys")||function(e){var t=Ln.f(Fn(e)),r=In.f;return r?Dn(t,r(e)):t},jn=Xe,Bn=Mn,Wn=p,Un=It,Hn=g,zn=Z,Vn=/#|\.prototype\./,qn=function(e,t){var r=Gn[$n(e)];return r==Yn||r!=Xn&&(zn(t)?Hn(t):!!t)},$n=qn.normalize=function(e){return String(e).replace(Vn,".").toLowerCase()},Gn=qn.data={},Xn=qn.NATIVE="N",Yn=qn.POLYFILL="P",Kn=qn,Jn=d,Zn=p.f,Qn=Qt,ea=nn,ta=je,ra=function(e,t,r){for(var n=Bn(t),a=Un.f,o=Wn.f,i=0;i<n.length;i++){var s=n[i];jn(e,s)||r&&jn(r,s)||a(e,s,o(t,s))}},na=Kn,aa=function(e,t){var r,n,a,o,i,s=e.target,c=e.global,l=e.stat;if(r=c?Jn:l?Jn[s]||ta(s,{}):(Jn[s]||{}).prototype)for(n in t){if(o=t[n],a=e.dontCallGetSet?(i=Zn(r,n))&&i.value:r[n],!na(c?n:s+(l?".":"#")+n,e.forced)&&void 0!==a){if(typeof o==typeof a)continue;ra(o,a)}(e.sham||a&&a.sham)&&Qn(o,"sham",!0),ea(r,n,o,e)}},oa=_n,ia=Nn,sa=Object.keys||function(e){return oa(e,ia)},ca=m,la=P,ua=w,fa=g,ha=sa,da=Rn,pa=S,ga=qe,ma=U,va=Object.assign,ba=Object.defineProperty,ya=la([].concat),wa=!va||fa((function(){if(ca&&1!==va({b:1},va(ba({},"a",{enumerable:!0,get:function(){ba(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},r=Symbol(),n="abcdefghijklmnopqrst";return e[r]=7,n.split("").forEach((function(e){t[e]=e})),7!=va({},e)[r]||ha(va({},t)).join("")!=n}))?function(e,t){for(var r=ga(e),n=arguments.length,a=1,o=da.f,i=pa.f;n>a;)for(var s,c=ma(arguments[a++]),l=o?ya(ha(c),o(c)):ha(c),u=l.length,f=0;u>f;)s=l[f++],ca&&!ua(i,c,s)||(r[s]=c[s]);return r}:va,Sa=wa;aa({target:"Object",stat:!0,arity:2,forced:Object.assign!==Sa},{assign:Sa});var xa={};xa[ct("toStringTag")]="z";var Aa="[object z]"===String(xa),ka=Aa,Ta=Z,Ea=D,_a=ct("toStringTag"),Na=Object,Ca="Arguments"==Ea(function(){return arguments}()),Oa=ka?Ea:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=Na(e),_a))?r:Ca?Ea(t):"Object"==(n=Ea(t))&&Ta(t.callee)?"Arguments":n},Ra=Oa,Pa=String,La=function(e){if("Symbol"===Ra(e))throw TypeError("Cannot convert a Symbol value to a string");return Pa(e)},Ia=Bt,Fa=g,Da=d.RegExp,Ma=Fa((function(){var e=Da("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),ja=Ma||Fa((function(){return!Da("a","y").sticky})),Ba={BROKEN_CARET:Ma||Fa((function(){var e=Da("^r","gy");return e.lastIndex=2,null!=e.exec("str")})),MISSED_STICKY:ja,UNSUPPORTED_Y:Ma},Wa={},Ua=m,Ha=Ft,za=It,Va=Bt,qa=X,$a=sa;Wa.f=Ua&&!Ha?Object.defineProperties:function(e,t){Va(e);for(var r,n=qa(t),a=$a(t),o=a.length,i=0;o>i;)za.f(e,r=a[i++],n[r]);return e};var Ga,Xa=ae("document","documentElement"),Ya=Bt,Ka=Wa,Ja=Nn,Za=Sr,Qa=Xa,eo=xt,to="prototype",ro="script",no=wr("IE_PROTO"),ao=function(){},oo=function(e){return"<"+ro+">"+e+"</"+ro+">"},io=function(e){e.write(oo("")),e.close();var t=e.parentWindow.Object;return e=null,t},so=function(){try{Ga=new ActiveXObject("htmlfile")}catch(e){}var e,t,r;so="undefined"!=typeof document?document.domain&&Ga?io(Ga):(t=eo("iframe"),r="java"+ro+":",t.style.display="none",Qa.appendChild(t),t.src=String(r),(e=t.contentWindow.document).open(),e.write(oo("document.F=Object")),e.close(),e.F):io(Ga);for(var n=Ja.length;n--;)delete so[to][Ja[n]];return so()};Za[no]=!0;var co,lo,uo=Object.create||function(e,t){var r;return null!==e?(ao[to]=Ya(e),r=new ao,ao[to]=null,r[no]=e):r=so(),void 0===t?r:Ka.f(r,t)},fo=g,ho=d.RegExp,po=fo((function(){var e=ho(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)})),go=g,mo=d.RegExp,vo=go((function(){var e=mo("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")})),bo=w,yo=P,wo=La,So=function(){var e=Ia(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t},xo=Ba,Ao=uo,ko=Fr.get,To=po,Eo=vo,_o=Ie("native-string-replace",String.prototype.replace),No=RegExp.prototype.exec,Co=No,Oo=yo("".charAt),Ro=yo("".indexOf),Po=yo("".replace),Lo=yo("".slice),Io=(lo=/b*/g,bo(No,co=/a/,"a"),bo(No,lo,"a"),0!==co.lastIndex||0!==lo.lastIndex),Fo=xo.BROKEN_CARET,Do=void 0!==/()??/.exec("")[1];(Io||Do||Fo||To||Eo)&&(Co=function(e){var t,r,n,a,o,i,s,c=this,l=ko(c),u=wo(e),f=l.raw;if(f)return f.lastIndex=c.lastIndex,t=bo(Co,f,u),c.lastIndex=f.lastIndex,t;var h=l.groups,d=Fo&&c.sticky,p=bo(So,c),g=c.source,m=0,v=u;if(d&&(p=Po(p,"y",""),-1===Ro(p,"g")&&(p+="g"),v=Lo(u,c.lastIndex),c.lastIndex>0&&(!c.multiline||c.multiline&&"\n"!==Oo(u,c.lastIndex-1))&&(g="(?: "+g+")",v=" "+v,m++),r=new RegExp("^(?:"+g+")",p)),Do&&(r=new RegExp("^"+g+"$(?!\\s)",p)),Io&&(n=c.lastIndex),a=bo(No,d?r:c,v),d?a?(a.input=Lo(a.input,m),a[0]=Lo(a[0],m),a.index=c.lastIndex,c.lastIndex+=a[0].length):c.lastIndex=0:Io&&a&&(c.lastIndex=c.global?a.index+a[0].length:n),Do&&a&&a.length>1&&bo(_o,a[0],r,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(a[o]=void 0)})),a&&h)for(a.groups=i=Ao(null),o=0;o<h.length;o++)i[(s=h[o])[0]]=a[s[1]];return a});var Mo=Co;aa({target:"RegExp",proto:!0,forced:/./.exec!==Mo},{exec:Mo});var jo=D,Bo=P,Wo=function(e){if("Function"===jo(e))return Bo(e)},Uo=Wo,Ho=nn,zo=Mo,Vo=g,qo=ct,$o=Qt,Go=qo("species"),Xo=RegExp.prototype,Yo=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t},Ko=w,Jo=Bt,Zo=Z,Qo=D,ei=Mo,ti=TypeError,ri=w,ni=function(e,t,r,n){var a=qo(e),o=!Vo((function(){var t={};return t[a]=function(){return 7},7!=""[e](t)})),i=o&&!Vo((function(){var t=!1,r=/a/;return"split"===e&&((r={}).constructor={},r.constructor[Go]=function(){return r},r.flags="",r[a]=/./[a]),r.exec=function(){return t=!0,null},r[a](""),!t}));if(!o||!i||r){var s=Uo(/./[a]),c=t(a,""[e],(function(e,t,r,n,a){var i=Uo(e),c=t.exec;return c===zo||c===Xo.exec?o&&!a?{done:!0,value:s(t,r,n)}:{done:!0,value:i(r,t,n)}:{done:!1}}));Ho(String.prototype,e,c[0]),Ho(Xo,a,c[1])}n&&$o(Xo[a],"sham",!0)},ai=Bt,oi=H,ii=q,si=Yo,ci=La,li=Ce,ui=function(e,t){var r=e.exec;if(Zo(r)){var n=Ko(r,e,t);return null!==n&&Jo(n),n}if("RegExp"===Qo(e))return Ko(ei,e,t);throw ti("RegExp#exec called on incompatible receiver")};ni("search",(function(e,t,r){return[function(t){var r=ii(this),n=oi(t)?void 0:li(t,e);return n?ri(n,t,r):new RegExp(t)[e](ci(r))},function(e){var n=ai(this),a=ci(e),o=r(t,n,a);if(o.done)return o.value;var i=n.lastIndex;si(i,0)||(n.lastIndex=0);var s=ui(n,a);return si(n.lastIndex,i)||(n.lastIndex=i),null===s?-1:s.index}]}));var fi=g,hi=function(e,t){var r=[][e];return!!r&&fi((function(){r.call(null,t||function(){return 1},1)}))},di=aa,pi=U,gi=X,mi=hi,vi=P([].join);di({target:"Array",proto:!0,forced:pi!=Object||!mi("join",",")},{join:function(e){return vi(gi(this),void 0===e?",":e)}});var bi=Ee,yi=v,wi=Wo(Wo.bind),Si=D,xi=Array.isArray||function(e){return"Array"==Si(e)},Ai=P,ki=g,Ti=Z,Ei=Oa,_i=pr,Ni=function(){},Ci=[],Oi=ae("Reflect","construct"),Ri=/^\s*(?:class|function)\b/,Pi=Ai(Ri.exec),Li=!Ri.exec(Ni),Ii=function(e){if(!Ti(e))return!1;try{return Oi(Ni,Ci,e),!0}catch(e){return!1}},Fi=function(e){if(!Ti(e))return!1;switch(Ei(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return Li||!!Pi(Ri,_i(e))}catch(e){return!0}};Fi.sham=!0;var Di=!Oi||ki((function(){var e;return Ii(Ii.call)||!Ii(Object)||!Ii((function(){e=!0}))||e}))?Fi:Ii,Mi=xi,ji=Di,Bi=te,Wi=ct("species"),Ui=Array,Hi=function(e){var t;return Mi(e)&&(t=e.constructor,(ji(t)&&(t===Ui||Mi(t.prototype))||Bi(t)&&null===(t=t[Wi]))&&(t=void 0)),void 0===t?Ui:t},zi=function(e,t){return new(Hi(e))(0===t?0:t)},Vi=function(e,t){return bi(e),void 0===t?e:yi?wi(e,t):function(){return e.apply(t,arguments)}},qi=U,$i=qe,Gi=mn,Xi=zi,Yi=P([].push),Ki=function(e){var t=1==e,r=2==e,n=3==e,a=4==e,o=6==e,i=7==e,s=5==e||o;return function(c,l,u,f){for(var h,d,p=$i(c),g=qi(p),m=Vi(l,u),v=Gi(g),b=0,y=f||Xi,w=t?y(c,v):r||i?y(c,0):void 0;v>b;b++)if((s||b in g)&&(d=m(h=g[b],b,p),e))if(t)w[b]=d;else if(d)switch(e){case 3:return!0;case 5:return h;case 6:return b;case 2:Yi(w,h)}else switch(e){case 4:return!1;case 7:Yi(w,h)}return o?-1:n||a?a:w}},Ji={forEach:Ki(0),map:Ki(1),filter:Ki(2),some:Ki(3),every:Ki(4),find:Ki(5),findIndex:Ki(6),filterReject:Ki(7)},Zi=ct,Qi=uo,es=It.f,ts=Zi("unscopables"),rs=Array.prototype;null==rs[ts]&&es(rs,ts,{configurable:!0,value:Qi(null)});var ns=function(e){rs[ts][e]=!0},as=aa,os=Ji.find,is=ns,ss="find",cs=!0;ss in[]&&Array(1)[ss]((function(){cs=!1})),as({target:"Array",proto:!0,forced:cs},{find:function(e){return os(this,e,arguments.length>1?arguments[1]:void 0)}}),is(ss);var ls=Oa,us=Aa?{}.toString:function(){return"[object "+ls(this)+"]"};Aa||nn(Object.prototype,"toString",us,{unsafe:!0});var fs=TypeError,hs=bt,ds=It,ps=_,gs=g,ms=he,vs=ct("species"),bs=function(e){return ms>=51||!gs((function(){var t=[];return(t.constructor={})[vs]=function(){return{foo:1}},1!==t[e](Boolean).foo}))},ys=aa,ws=g,Ss=xi,xs=te,As=qe,ks=mn,Ts=function(e){if(e>9007199254740991)throw fs("Maximum allowed index exceeded");return e},Es=function(e,t,r){var n=hs(t);n in e?ds.f(e,n,ps(0,r)):e[n]=r},_s=zi,Ns=bs,Cs=he,Os=ct("isConcatSpreadable"),Rs=Cs>=51||!ws((function(){var e=[];return e[Os]=!1,e.concat()[0]!==e})),Ps=function(e){if(!xs(e))return!1;var t=e[Os];return void 0!==t?!!t:Ss(e)};ys({target:"Array",proto:!0,arity:1,forced:!Rs||!Ns("concat")},{concat:function(e){var t,r,n,a,o,i=As(this),s=_s(i,0),c=0;for(t=-1,n=arguments.length;t<n;t++)if(Ps(o=-1===t?i:arguments[t]))for(a=ks(o),Ts(c+a),r=0;r<a;r++,c++)r in o&&Es(s,c,o[r]);else Ts(c+1),Es(s,c++,o);return s.length=c,s}});var Ls=Ji.filter;aa({target:"Array",proto:!0,forced:!bs("filter")},{filter:function(e){return Ls(this,e,arguments.length>1?arguments[1]:void 0)}});var Is=m,Fs=P,Ds=sa,Ms=X,js=Fs(S.f),Bs=Fs([].push),Ws=function(e){return function(t){for(var r,n=Ms(t),a=Ds(n),o=a.length,i=0,s=[];o>i;)r=a[i++],Is&&!js(n,r)||Bs(s,e?[r,n[r]]:n[r]);return s}},Us={entries:Ws(!0),values:Ws(!1)}.entries;aa({target:"Object",stat:!0},{entries:function(e){return Us(e)}});var Hs=aa,zs=Sn.indexOf,Vs=hi,qs=Wo([].indexOf),$s=!!qs&&1/qs([1],1,-0)<0;Hs({target:"Array",proto:!0,forced:$s||!Vs("indexOf")},{indexOf:function(e){var t=arguments.length>1?arguments[1]:void 0;return $s?qs(this,e,t)||0:zs(this,e,t)}});var Gs=Sn.includes,Xs=ns;aa({target:"Array",proto:!0,forced:g((function(){return!Array(1).includes()}))},{includes:function(e){return Gs(this,e,arguments.length>1?arguments[1]:void 0)}}),Xs("includes");var Ys=te,Ks=D,Js=ct("match"),Zs=function(e){var t;return Ys(e)&&(void 0!==(t=e[Js])?!!t:"RegExp"==Ks(e))},Qs=TypeError,ec=ct("match"),tc=aa,rc=function(e){if(Zs(e))throw Qs("The method doesn't accept regular expressions");return e},nc=q,ac=La,oc=function(e){var t=/./;try{"/./"[e](t)}catch(r){try{return t[ec]=!1,"/./"[e](t)}catch(e){}}return!1},ic=P("".indexOf);tc({target:"String",proto:!0,forced:!oc("includes")},{includes:function(e){return!!~ic(ac(nc(this)),ac(rc(e)),arguments.length>1?arguments[1]:void 0)}});var sc="\t\n\v\f\r \u2028\u2029\ufeff",cc=q,lc=La,uc=sc,fc=P("".replace),hc=RegExp("^["+uc+"]+"),dc=RegExp("(^|[^"+uc+"])["+uc+"]+$"),pc=function(e){return function(t){var r=lc(cc(t));return 1&e&&(r=fc(r,hc,"")),2&e&&(r=fc(r,dc,"$1")),r}},gc={start:pc(1),end:pc(2),trim:pc(3)},mc=sr.PROPER,vc=g,bc=sc,yc=gc.trim;aa({target:"String",proto:!0,forced:function(e){return vc((function(){return!!bc[e]()||" "!==" "[e]()||mc&&bc[e].name!==e}))}("trim")},{trim:function(){return yc(this)}});var wc=e.fn.bootstrapTable.utils,Sc={bootstrap3:{icons:{advancedSearchIcon:"glyphicon-chevron-down"},classes:{},html:{modal:'\n <div id="avdSearchModal_%s" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="mySmallModalLabel" aria-hidden="true">\n <div class="modal-dialog modal-xs">\n <div class="modal-content">\n <div class="modal-header">\n <button type="button" class="close" data-dismiss="modal" aria-label="Close">\n <span aria-hidden="true">×</span>\n </button>\n <h4 class="modal-title">%s</h4>\n </div>\n <div class="modal-body modal-body-custom">\n <div class="container-fluid" id="avdSearchModalContent_%s"\n style="padding-right: 0px; padding-left: 0px;" >\n </div>\n </div>\n <div class="modal-footer">\n <button type="button" id="btnCloseAvd_%s" class="btn btn-%s">%s</button>\n </div>\n </div>\n </div>\n </div>\n '}},bootstrap4:{icons:{advancedSearchIcon:"fa-chevron-down"},classes:{},html:{modal:'\n <div id="avdSearchModal_%s" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="mySmallModalLabel" aria-hidden="true">\n <div class="modal-dialog modal-xs">\n <div class="modal-content">\n <div class="modal-header">\n <h4 class="modal-title">%s</h4>\n <button type="button" class="close" data-dismiss="modal" aria-label="Close">\n <span aria-hidden="true">×</span>\n </button>\n </div>\n <div class="modal-body modal-body-custom">\n <div class="container-fluid" id="avdSearchModalContent_%s"\n style="padding-right: 0; padding-left: 0;" >\n </div>\n </div>\n <div class="modal-footer">\n <button type="button" id="btnCloseAvd_%s" class="btn btn-%s">%s</button>\n </div>\n </div>\n </div>\n </div>\n '}},bootstrap5:{icons:{advancedSearchIcon:"bi-chevron-down"},classes:{formGroup:"mb-3"},html:{modal:'\n <div id="avdSearchModal_%s" class="modal fade" tabindex="-1" aria-labelledby="mySmallModalLabel" aria-hidden="true">\n <div class="modal-dialog modal-xs">\n <div class="modal-content">\n <div class="modal-header">\n <h5 class="modal-title">%s</h5>\n <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>\n </div>\n <div class="modal-body modal-body-custom">\n <div class="container-fluid" id="avdSearchModalContent_%s"\n style="padding-right: 0; padding-left: 0;" >\n </div>\n </div>\n <div class="modal-footer">\n <button type="button" id="btnCloseAvd_%s" class="btn btn-%s">%s</button>\n </div>\n </div>\n </div>\n </div>\n '}},bulma:{icons:{advancedSearchIcon:"fa-chevron-down"},classes:{},html:{modal:'\n <div class="modal" id="avdSearchModal_%s">\n <div class="modal-background"></div>\n <div class="modal-card">\n <header class="modal-card-head">\n <p class="modal-card-title">%s</p>\n <button class="delete" aria-label="close"></button>\n </header>\n <section class="modal-card-body" id="avdSearchModalContent_%s"></section>\n <footer class="modal-card-foot">\n <button class="button" id="btnCloseAvd_%s" data-close="btn btn-%s">%s</button>\n </footer>\n </div>\n </div>\n '}},foundation:{icons:{advancedSearchIcon:"fa-chevron-down"},classes:{},html:{modal:'\n <div class="reveal" id="avdSearchModal_%s" data-reveal>\n <h1>%s</h1>\n <div id="avdSearchModalContent_%s">\n\n </div>\n <button class="close-button" data-close aria-label="Close modal" type="button">\n <span aria-hidden="true">×</span>\n </button>\n\n <button id="btnCloseAvd_%s" class="%s" type="button">%s</button>\n </div>\n '}},materialize:{icons:{advancedSearchIcon:"expand_more"},classes:{},html:{modal:'\n <div id="avdSearchModal_%s" class="modal">\n <div class="modal-content">\n <h4>%s</h4>\n <div id="avdSearchModalContent_%s">\n\n </div>\n </div>\n <div class="modal-footer">\n <a href="javascript:void(0)"" id="btnCloseAvd_%s" class="modal-close waves-effect waves-green btn-flat %s">%s</a>\n </div>\n </div>\n '}},semantic:{icons:{advancedSearchIcon:"fa-chevron-down"},classes:{},html:{modal:'\n <div class="ui modal" id="avdSearchModal_%s">\n <i class="close icon"></i>\n <div class="header">\n %s\n </div>\n <div class="image content ui form" id="avdSearchModalContent_%s"></div>\n <div class="actions">\n <div id="btnCloseAvd_%s" class="ui black deny button %s">%s</div>\n </div>\n </div>\n '}}}[e.fn.bootstrapTable.theme];Object.assign(e.fn.bootstrapTable.defaults,{advancedSearch:!1,idForm:"advancedSearch",actionForm:"",idTable:void 0,onColumnAdvancedSearch:function(e,t){return!1}}),Object.assign(e.fn.bootstrapTable.defaults.icons,{advancedSearchIcon:Sc.icons.advancedSearchIcon}),Object.assign(e.fn.bootstrapTable.events,{"column-advanced-search.bs.table":"onColumnAdvancedSearch"}),Object.assign(e.fn.bootstrapTable.locales,{formatAdvancedSearch:function(){return"Advanced search"},formatAdvancedCloseButton:function(){return"Close"}}),Object.assign(e.fn.bootstrapTable.defaults,e.fn.bootstrapTable.locales),e.BootstrapTable=function(a){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&n(e,t)}(p,a);var u,f,h,d=o(p);function p(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,p),d.apply(this,arguments)}return u=p,f=[{key:"initToolbar",value:function(){var e=this.options;this.showToolbar=this.showToolbar||e.search&&e.advancedSearch&&e.idTable,e.search&&e.advancedSearch&&e.idTable&&(this.buttons=Object.assign(this.buttons,{advancedSearch:{text:this.options.formatAdvancedSearch(),icon:this.options.icons.advancedSearchIcon,event:this.showAvdSearch,attributes:{"aria-label":this.options.formatAdvancedSearch(),title:this.options.formatAdvancedSearch()}}})),i(r(p.prototype),"initToolbar",this).call(this)}},{key:"showAvdSearch",value:function(){var t=this,r=this.options,n="#avdSearchModal_".concat(r.idTable);if(e(n).length<=0){e("body").append(wc.sprintf(Sc.html.modal,r.idTable,r.formatAdvancedSearch(),r.idTable,r.idTable,r.buttonsClass,r.formatAdvancedCloseButton()));var a=0;e("#avdSearchModalContent_".concat(r.idTable)).append(this.createFormAvd().join("")),e("#".concat(r.idForm)).off("keyup blur","input").on("keyup blur","input",(function(e){"server"===r.sidePagination?t.onColumnAdvancedSearch(e):(clearTimeout(a),a=setTimeout((function(){t.onColumnAdvancedSearch(e)}),r.searchTimeOut))})),e("#btnCloseAvd_".concat(r.idTable)).click((function(){return t.hideModal()})),"bulma"===e.fn.bootstrapTable.theme&&e(n).find(".delete").off("click").on("click",(function(){return t.hideModal()})),this.showModal()}else this.showModal()}},{key:"showModal",value:function(){var t="#avdSearchModal_".concat(this.options.idTable);-1!==e.inArray(e.fn.bootstrapTable.theme,["bootstrap3","bootstrap4"])?e(t).modal():"bootstrap5"===e.fn.bootstrapTable.theme?(this.toolbarModal||(this.toolbarModal=new bootstrap.Modal(document.getElementById("avdSearchModal_".concat(this.options.idTable)),{})),this.toolbarModal.show()):"bulma"===e.fn.bootstrapTable.theme?e(t).toggleClass("is-active"):"foundation"===e.fn.bootstrapTable.theme?(this.toolbarModal||(this.toolbarModal=new Foundation.Reveal(e(t))),this.toolbarModal.open()):"materialize"===e.fn.bootstrapTable.theme?(e(t).modal(),e(t).modal("open")):"semantic"===e.fn.bootstrapTable.theme&&e(t).modal("show")}},{key:"hideModal",value:function(){var t=e("#avdSearchModal_".concat(this.options.idTable)),r="#avdSearchModal_".concat(this.options.idTable);-1!==e.inArray(e.fn.bootstrapTable.theme,["bootstrap3","bootstrap4"])?t.modal("hide"):"bootstrap5"===e.fn.bootstrapTable.theme?this.toolbarModal.hide():"bulma"===e.fn.bootstrapTable.theme?(e("html").toggleClass("is-clipped"),e(r).toggleClass("is-active")):"foundation"===e.fn.bootstrapTable.theme?this.toolbarModal.close():"materialize"===e.fn.bootstrapTable.theme?e(r).modal("open"):"semantic"===e.fn.bootstrapTable.theme&&e(r).modal("close"),"server"===this.options.sidePagination&&(this.options.pageNumber=1,this.updatePagination(),this.trigger("column-advanced-search",this.filterColumnsPartial))}},{key:"createFormAvd",value:function(){var e,t=this.options,r=['<form class="form-horizontal" id="'.concat(t.idForm,'" action="').concat(t.actionForm,'">')],n=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=l(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,a=function(){};return{s:a,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:a}}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 o,i=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return i=e.done,e},e:function(e){s=!0,o=e},f:function(){try{i||null==r.return||r.return()}finally{if(s)throw o}}}}(this.columns);try{for(n.s();!(e=n.n()).done;){var a=e.value;!a.checkbox&&a.visible&&a.searchable&&r.push('\n <div class="form-group row '.concat(Sc.classes.formGroup||"",'">\n <label class="col-sm-4 control-label">').concat(a.title,'</label>\n <div class="col-sm-6">\n <input type="text" class="form-control ').concat(this.constants.classes.input,'" name="').concat(a.field,'" placeholder="').concat(a.title,'" id="').concat(a.field,'">\n </div>\n </div>\n '))}}catch(e){n.e(e)}finally{n.f()}return r.push("</form>"),r}},{key:"initSearch",value:function(){var t=this;if(i(r(p.prototype),"initSearch",this).call(this),this.options.advancedSearch&&"server"!==this.options.sidePagination){var n=e.isEmptyObject(this.filterColumnsPartial)?null:this.filterColumnsPartial;this.data=n?this.data.filter((function(e,r){for(var a=0,o=Object.entries(n);a<o.length;a++){var i=s(o[a],2),c=i[0],l=i[1].toLowerCase(),u=e[c],f=t.header.fields.indexOf(c);if(u=wc.calculateObjectValue(t.header,t.header.formatters[f],[u,e,r],u),-1===f||"string"!=typeof u&&"number"!=typeof u||!"".concat(u).toLowerCase().includes(l))return!1}return!0})):this.data,this.unsortedData=c(this.data)}}},{key:"onColumnAdvancedSearch",value:function(t){var r=e(t.currentTarget).val().trim(),n=e(t.currentTarget)[0].id;e.isEmptyObject(this.filterColumnsPartial)&&(this.filterColumnsPartial={}),r?this.filterColumnsPartial[n]=r:delete this.filterColumnsPartial[n],"server"!==this.options.sidePagination&&(this.options.pageNumber=1,this.initSearch(),this.updatePagination(),this.trigger("column-advanced-search",n,r))}}],f&&t(u.prototype,f),h&&t(u,h),Object.defineProperty(u,"prototype",{writable:!1}),p}(e.BootstrapTable)}));diff --cc public/mix-manifest.jsonindex 62eec4b7bc,28549f366a..b865b26121--- a/public/mix-manifest.json+++ b/public/mix-manifest.json@@@ -1,24 -1,24 +1,24 @@@{- "/js/build/app.js": "/js/build/app.js?id=82ddaa718cced6fb0be6e8db6f16a0c0",- "/css/dist/skins/skin-blue.css": "/css/dist/skins/skin-blue.css?id=f677207c6cf9678eb539abecb408c374",- "/css/build/overrides.css": "/css/build/overrides.css?id=5166569ede5a36802eadeea982686ca6",- "/css/build/app.css": "/css/build/app.css?id=b612c48e78fece2e1e8042ae24cc5f1e",- "/css/build/AdminLTE.css": "/css/build/AdminLTE.css?id=dc383f8560a8d4adb51d44fb4043e03b",- "/css/dist/skins/skin-orange.css": "/css/dist/skins/skin-orange.css?id=6f0563e726c2fe4fab4026daaa5bfdf2",- "/css/dist/skins/skin-orange-dark.css": "/css/dist/skins/skin-orange-dark.css?id=e6e53eef152bba01a4c666a4d8b01117",- "/css/dist/skins/skin-blue-dark.css": "/css/dist/skins/skin-blue-dark.css?id=07273f6ca3c698a39e8fc2075af4fa07",- "/css/dist/skins/skin-yellow-dark.css": "/css/dist/skins/skin-yellow-dark.css?id=c1f33574ecb9d3e69d9b8fe5bd68e101",- "/css/dist/skins/skin-yellow.css": "/css/dist/skins/skin-yellow.css?id=7b315b9612b8fde8f9c5b0ddb6bba690",- "/css/dist/skins/skin-purple-dark.css": "/css/dist/skins/skin-purple-dark.css?id=7d92dea45d94be7e1d4e427c728d335d",- "/css/dist/skins/skin-purple.css": "/css/dist/skins/skin-purple.css?id=6fe68325d5356197672c27bc77cedcb4",- "/css/dist/skins/skin-red-dark.css": "/css/dist/skins/skin-red-dark.css?id=8ca888bbc050d9680cbb65021382acba",- "/css/dist/skins/skin-black-dark.css": "/css/dist/skins/skin-black-dark.css?id=bdfc704731682c67645a2248b0b8d2d7",- "/css/dist/skins/skin-black.css": "/css/dist/skins/skin-black.css?id=76482123f6c70e866d6b971ba91de7bb",- "/css/dist/skins/skin-green-dark.css": "/css/dist/skins/skin-green-dark.css?id=e36e83c2aa3c3afdbb8ebe2c0309e91d",- "/css/dist/skins/skin-green.css": "/css/dist/skins/skin-green.css?id=0a82a6ae6bb4e58fe62d162c4fb50397",- "/css/dist/skins/skin-contrast.css": "/css/dist/skins/skin-contrast.css?id=da6c7997d9de2f8329142399f0ce50da",- "/css/dist/skins/skin-red.css": "/css/dist/skins/skin-red.css?id=44bf834f2110504a793dadec132a5898",- "/css/dist/all.css": "/css/dist/all.css?id=8b29a53b11e372ceb332b1a2f7026632",+ "/js/build/app.js": "/js/build/app.js?id=43fc984e5d0f901e04cef2474972e97f",+ "/css/dist/skins/skin-blue.css": "/css/dist/skins/skin-blue.css?id=392cc93cfc0be0349bab9697669dd091",+ "/css/build/overrides.css": "/css/build/overrides.css?id=eb013ebb79d92e25ce24b0c0b53185e4",+ "/css/build/app.css": "/css/build/app.css?id=ac51a0600b419996e705675b6fcf1a8b",+ "/css/build/AdminLTE.css": "/css/build/AdminLTE.css?id=a67bd93bed52e6a29967fe472de66d6c",+ "/css/dist/skins/skin-orange.css": "/css/dist/skins/skin-orange.css?id=268041e902b019730c23ee3875838005",+ "/css/dist/skins/skin-orange-dark.css": "/css/dist/skins/skin-orange-dark.css?id=d409d9b1a3b69247df8b98941ba06e33",+ "/css/dist/skins/skin-blue-dark.css": "/css/dist/skins/skin-blue-dark.css?id=4a9e8c5e7b09506fa3e3a3f42849e07f",+ "/css/dist/skins/skin-yellow-dark.css": "/css/dist/skins/skin-yellow-dark.css?id=21fef066e0bb1b02fd83fcb6694fad5f",+ "/css/dist/skins/skin-yellow.css": "/css/dist/skins/skin-yellow.css?id=fc7adb943668ac69fe4b646625a7571f",+ "/css/dist/skins/skin-purple-dark.css": "/css/dist/skins/skin-purple-dark.css?id=9f944e8021781af1ce45d27765d1c0c2",+ "/css/dist/skins/skin-purple.css": "/css/dist/skins/skin-purple.css?id=cf6c8c340420724b02d6e787ef9bded5",+ "/css/dist/skins/skin-red-dark.css": "/css/dist/skins/skin-red-dark.css?id=7f0eb9e355b36b41c61c3af3b4d41143",+ "/css/dist/skins/skin-black-dark.css": "/css/dist/skins/skin-black-dark.css?id=f4d95ad9d0944587549e35b6929b4b04",+ "/css/dist/skins/skin-black.css": "/css/dist/skins/skin-black.css?id=1f33ca3d860461c1127ec465ab3ebb6b",+ "/css/dist/skins/skin-green-dark.css": "/css/dist/skins/skin-green-dark.css?id=44f9320d0739f419c9246f7f39395b02",+ "/css/dist/skins/skin-green.css": "/css/dist/skins/skin-green.css?id=b48f4d8af0e1ca5621c161e93951109f",+ "/css/dist/skins/skin-contrast.css": "/css/dist/skins/skin-contrast.css?id=f0fbbb0ac729ea092578fb05ca615460",+ "/css/dist/skins/skin-red.css": "/css/dist/skins/skin-red.css?id=b9a74ec0cd68f83e7480d5ae39919beb",- "/css/dist/all.css": "/css/dist/all.css?id=6e1507ccfe6bccaa1279320028980aec",++ "/css/dist/all.css": "/css/dist/all.css?id=c5f8982eb14ba2c7e0c0fec60519afc6","/css/dist/signature-pad.css": "/css/dist/signature-pad.css?id=6a89d3cd901305e66ced1cf5f13147f7","/css/dist/signature-pad.min.css": "/css/dist/signature-pad.min.css?id=6a89d3cd901305e66ced1cf5f13147f7","/css/webfonts/fa-brands-400.ttf": "/css/webfonts/fa-brands-400.ttf?id=e2e2b1797606a266ed55549f5bb5a179",@@@ -29,23 -29,24 +29,24 @@@"/css/webfonts/fa-solid-900.woff2": "/css/webfonts/fa-solid-900.woff2?id=eea38615e7b5dbbaf88c263f2230cc32","/css/webfonts/fa-v4compatibility.ttf": "/css/webfonts/fa-v4compatibility.ttf?id=6ebbf5afc34f54463abc2b81ca637364","/css/webfonts/fa-v4compatibility.woff2": "/css/webfonts/fa-v4compatibility.woff2?id=67b8a78b7e80e805cfa4ee0421895ba4",- "/css/dist/bootstrap-table.css": "/css/dist/bootstrap-table.css?id=f5935cf8eaf9c1f71da0c9245d730471",+ "/css/dist/bootstrap-table.css": "/css/dist/bootstrap-table.css?id=281bcfe26549412d128f695234961081",- "/js/build/vendor.js": "/js/build/vendor.js?id=3592e07ae9a6d1805a4ea3bd3c034aef",+ "/js/build/vendor.js": "/js/build/vendor.js?id=8ac1d250496313e93744790e5138305d",- "/js/dist/bootstrap-table.js": "/js/dist/bootstrap-table.js?id=40e2dc8b5b29e244bb545f78e2a3242b",+ "/js/dist/bootstrap-table.js": "/js/dist/bootstrap-table.js?id=df78f0c4cc93c29c02a41144590f6350",- "/js/dist/all.js": "/js/dist/all.js?id=ba07d399f23b294f7c4983030b757423",- "/js/dist/all-defer.js": "/js/dist/all-defer.js?id=7d1b362ddda912bce36f333cd492191b",- "/css/dist/skins/skin-green.min.css": "/css/dist/skins/skin-green.min.css?id=0a82a6ae6bb4e58fe62d162c4fb50397",- "/css/dist/skins/skin-green-dark.min.css": "/css/dist/skins/skin-green-dark.min.css?id=e36e83c2aa3c3afdbb8ebe2c0309e91d",- "/css/dist/skins/skin-black.min.css": "/css/dist/skins/skin-black.min.css?id=76482123f6c70e866d6b971ba91de7bb",- "/css/dist/skins/skin-black-dark.min.css": "/css/dist/skins/skin-black-dark.min.css?id=bdfc704731682c67645a2248b0b8d2d7",- "/css/dist/skins/skin-blue.min.css": "/css/dist/skins/skin-blue.min.css?id=f677207c6cf9678eb539abecb408c374",- "/css/dist/skins/skin-blue-dark.min.css": "/css/dist/skins/skin-blue-dark.min.css?id=07273f6ca3c698a39e8fc2075af4fa07",- "/css/dist/skins/skin-yellow.min.css": "/css/dist/skins/skin-yellow.min.css?id=7b315b9612b8fde8f9c5b0ddb6bba690",- "/css/dist/skins/skin-yellow-dark.min.css": "/css/dist/skins/skin-yellow-dark.min.css?id=c1f33574ecb9d3e69d9b8fe5bd68e101",- "/css/dist/skins/skin-red.min.css": "/css/dist/skins/skin-red.min.css?id=44bf834f2110504a793dadec132a5898",- "/css/dist/skins/skin-red-dark.min.css": "/css/dist/skins/skin-red-dark.min.css?id=8ca888bbc050d9680cbb65021382acba",- "/css/dist/skins/skin-purple.min.css": "/css/dist/skins/skin-purple.min.css?id=6fe68325d5356197672c27bc77cedcb4",- "/css/dist/skins/skin-purple-dark.min.css": "/css/dist/skins/skin-purple-dark.min.css?id=7d92dea45d94be7e1d4e427c728d335d",- "/css/dist/skins/skin-orange.min.css": "/css/dist/skins/skin-orange.min.css?id=6f0563e726c2fe4fab4026daaa5bfdf2",- "/css/dist/skins/skin-orange-dark.min.css": "/css/dist/skins/skin-orange-dark.min.css?id=e6e53eef152bba01a4c666a4d8b01117",- "/css/dist/skins/skin-contrast.min.css": "/css/dist/skins/skin-contrast.min.css?id=da6c7997d9de2f8329142399f0ce50da"+ "/js/dist/all.js": "/js/dist/all.js?id=b487452bd6bef7fa6201586415d383f2",++ "/js/dist/all-defer.js": "/js/dist/all-defer.js?id=7829a391ab2f89926465398bebb7df8d",+ "/css/dist/skins/skin-green.min.css": "/css/dist/skins/skin-green.min.css?id=b48f4d8af0e1ca5621c161e93951109f",+ "/css/dist/skins/skin-green-dark.min.css": "/css/dist/skins/skin-green-dark.min.css?id=44f9320d0739f419c9246f7f39395b02",+ "/css/dist/skins/skin-black.min.css": "/css/dist/skins/skin-black.min.css?id=1f33ca3d860461c1127ec465ab3ebb6b",+ "/css/dist/skins/skin-black-dark.min.css": "/css/dist/skins/skin-black-dark.min.css?id=f4d95ad9d0944587549e35b6929b4b04",+ "/css/dist/skins/skin-blue.min.css": "/css/dist/skins/skin-blue.min.css?id=392cc93cfc0be0349bab9697669dd091",+ "/css/dist/skins/skin-blue-dark.min.css": "/css/dist/skins/skin-blue-dark.min.css?id=4a9e8c5e7b09506fa3e3a3f42849e07f",+ "/css/dist/skins/skin-yellow.min.css": "/css/dist/skins/skin-yellow.min.css?id=fc7adb943668ac69fe4b646625a7571f",+ "/css/dist/skins/skin-yellow-dark.min.css": "/css/dist/skins/skin-yellow-dark.min.css?id=21fef066e0bb1b02fd83fcb6694fad5f",+ "/css/dist/skins/skin-red.min.css": "/css/dist/skins/skin-red.min.css?id=b9a74ec0cd68f83e7480d5ae39919beb",+ "/css/dist/skins/skin-red-dark.min.css": "/css/dist/skins/skin-red-dark.min.css?id=7f0eb9e355b36b41c61c3af3b4d41143",+ "/css/dist/skins/skin-purple.min.css": "/css/dist/skins/skin-purple.min.css?id=cf6c8c340420724b02d6e787ef9bded5",+ "/css/dist/skins/skin-purple-dark.min.css": "/css/dist/skins/skin-purple-dark.min.css?id=9f944e8021781af1ce45d27765d1c0c2",+ "/css/dist/skins/skin-orange.min.css": "/css/dist/skins/skin-orange.min.css?id=268041e902b019730c23ee3875838005",+ "/css/dist/skins/skin-orange-dark.min.css": "/css/dist/skins/skin-orange-dark.min.css?id=d409d9b1a3b69247df8b98941ba06e33",+ "/css/dist/skins/skin-contrast.min.css": "/css/dist/skins/skin-contrast.min.css?id=f0fbbb0ac729ea092578fb05ca615460"}