@react-pakistan/util-functions 2.0.0 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/constants/api-methods.d.mts +13 -0
- package/constants/api-methods.js +1 -1
- package/constants/api-methods.mjs +1 -0
- package/constants/cache-time.d.mts +7 -0
- package/constants/cache-time.js +1 -1
- package/constants/cache-time.mjs +1 -0
- package/constants/countries-timezones.d.mts +8 -0
- package/constants/countries-timezones.js +1 -1
- package/constants/countries-timezones.mjs +1 -0
- package/constants/currencies.d.mts +14 -0
- package/constants/currencies.js +1 -1
- package/constants/currencies.mjs +1 -0
- package/constants/dial-codes.d.mts +9 -0
- package/constants/dial-codes.js +1 -1
- package/constants/dial-codes.mjs +1 -0
- package/constants/layout-direction.d.mts +6 -0
- package/constants/layout-direction.js +1 -1
- package/constants/layout-direction.mjs +1 -0
- package/constants/react-pakistan-meta.d.mts +32 -0
- package/constants/react-pakistan-meta.js +1 -1
- package/constants/react-pakistan-meta.mjs +1 -0
- package/constants/react-pakistan.d.mts +15 -0
- package/constants/react-pakistan.js +1 -12
- package/constants/react-pakistan.mjs +1 -0
- package/constants/select-value-delimiter.d.mts +12 -0
- package/constants/select-value-delimiter.js +1 -1
- package/constants/select-value-delimiter.mjs +1 -0
- package/constants/social-media-colors.d.mts +40 -0
- package/constants/social-media-colors.js +1 -1
- package/constants/social-media-colors.mjs +1 -0
- package/constants/social-media-sizes.d.mts +323 -0
- package/constants/social-media-sizes.js +1 -1
- package/constants/social-media-sizes.mjs +1 -0
- package/constants/user-roles.d.mts +7 -0
- package/constants/user-roles.js +1 -1
- package/constants/user-roles.mjs +1 -0
- package/factory/generic-component-factory.d.mts +78 -0
- package/factory/generic-component-factory.js +1 -1
- package/factory/generic-component-factory.mjs +1 -0
- package/factory/generic-module-factory.d.mts +80 -0
- package/factory/generic-module-factory.js +1 -1
- package/factory/generic-module-factory.mjs +1 -0
- package/general/basic-get.d.mts +8 -0
- package/general/basic-get.js +1 -1
- package/general/basic-get.mjs +1 -0
- package/general/basic-post.d.mts +8 -0
- package/general/basic-post.js +1 -1
- package/general/basic-post.mjs +1 -0
- package/general/calculate-pages.d.mts +9 -0
- package/general/calculate-pages.js +1 -1
- package/general/calculate-pages.mjs +1 -0
- package/general/camel-to-sentence-case.d.mts +12 -0
- package/general/camel-to-sentence-case.js +1 -1
- package/general/camel-to-sentence-case.mjs +1 -0
- package/general/check-even-odd-length.d.mts +13 -0
- package/general/check-even-odd-length.js +1 -1
- package/general/check-even-odd-length.mjs +1 -0
- package/general/clear-cache.d.mts +10 -0
- package/general/clear-cache.js +1 -1
- package/general/clear-cache.mjs +1 -0
- package/general/cnic-formatter.d.mts +20 -0
- package/general/cnic-formatter.js +1 -1
- package/general/cnic-formatter.mjs +1 -0
- package/general/convert-url-to-base64.d.mts +57 -0
- package/general/convert-url-to-base64.js +1 -1
- package/general/convert-url-to-base64.mjs +1 -0
- package/general/countries.d.mts +268 -0
- package/general/countries.js +1 -1
- package/general/countries.mjs +1 -0
- package/general/create-date.d.mts +12 -0
- package/general/create-date.js +1 -1
- package/general/create-date.mjs +1 -0
- package/general/crypto.d.mts +11 -0
- package/general/crypto.js +1 -1
- package/general/crypto.mjs +1 -0
- package/general/currencies.d.mts +2 -0
- package/general/currencies.mjs +0 -0
- package/general/delete-image-from-private-supabase.d.mts +16 -0
- package/general/delete-image-from-private-supabase.js +1 -1
- package/general/delete-image-from-private-supabase.mjs +1 -0
- package/general/delete-image-from-public-supabase.d.mts +16 -0
- package/general/delete-image-from-public-supabase.js +1 -1
- package/general/delete-image-from-public-supabase.mjs +1 -0
- package/general/download-from-url.d.mts +8 -0
- package/general/download-from-url.js +1 -1
- package/general/download-from-url.mjs +1 -0
- package/general/dynamic-page-limit.d.mts +12 -0
- package/general/dynamic-page-limit.js +1 -1
- package/general/dynamic-page-limit.mjs +1 -0
- package/general/enum-to-text.d.mts +8 -0
- package/general/enum-to-text.js +1 -1
- package/general/enum-to-text.mjs +1 -0
- package/general/fetch-data.d.mts +25 -0
- package/general/fetch-data.js +1 -1
- package/general/fetch-data.mjs +1 -0
- package/general/fetch-supabase-image.d.mts +16 -0
- package/general/fetch-supabase-image.js +1 -1
- package/general/fetch-supabase-image.mjs +1 -0
- package/general/fetch-supabase-private-assets.d.mts +15 -0
- package/general/fetch-supabase-private-assets.js +1 -1
- package/general/fetch-supabase-private-assets.mjs +1 -0
- package/general/format-date.d.mts +18 -0
- package/general/format-date.js +1 -1
- package/general/format-date.mjs +1 -0
- package/general/format-number.d.mts +16 -0
- package/general/format-number.js +1 -1
- package/general/format-number.mjs +1 -0
- package/general/format-phone-display.d.mts +9 -0
- package/general/format-phone-display.js +1 -1
- package/general/format-phone-display.mjs +1 -0
- package/general/format-phone.d.mts +13 -0
- package/general/format-phone.d.ts +1 -3
- package/general/format-phone.js +1 -1
- package/general/format-phone.mjs +1 -0
- package/general/format-pricing.d.mts +8 -0
- package/general/format-pricing.js +1 -1
- package/general/format-pricing.mjs +1 -0
- package/general/format-secs.d.mts +8 -0
- package/general/format-secs.js +1 -1
- package/general/format-secs.mjs +1 -0
- package/general/format-time.d.mts +11 -0
- package/general/format-time.js +1 -1
- package/general/format-time.mjs +1 -0
- package/general/format-value.d.mts +8 -0
- package/general/format-value.js +1 -1
- package/general/format-value.mjs +1 -0
- package/general/full-month-range.d.mts +13 -0
- package/general/full-month-range.js +1 -1
- package/general/full-month-range.mjs +1 -0
- package/general/full-year-range.d.mts +12 -0
- package/general/full-year-range.js +1 -1
- package/general/full-year-range.mjs +1 -0
- package/general/generate-article-schema.d.mts +50 -0
- package/general/generate-article-schema.js +1 -1
- package/general/generate-article-schema.mjs +1 -0
- package/general/generate-blog-schema.d.mts +37 -0
- package/general/generate-blog-schema.js +1 -1
- package/general/generate-blog-schema.mjs +1 -0
- package/general/generate-book-schema.d.mts +58 -0
- package/general/generate-book-schema.js +1 -1
- package/general/generate-book-schema.mjs +1 -0
- package/general/generate-breadcrumb-schema.d.mts +40 -0
- package/general/generate-breadcrumb-schema.js +1 -1
- package/general/generate-breadcrumb-schema.mjs +1 -0
- package/general/generate-carousel-schema.d.mts +52 -0
- package/general/generate-carousel-schema.js +1 -1
- package/general/generate-carousel-schema.mjs +1 -0
- package/general/generate-course-schema.d.mts +53 -0
- package/general/generate-course-schema.js +1 -1
- package/general/generate-course-schema.mjs +1 -0
- package/general/generate-dataset-schema.d.mts +65 -0
- package/general/generate-dataset-schema.js +1 -1
- package/general/generate-dataset-schema.mjs +1 -0
- package/general/generate-discussion-forum-schema.d.mts +39 -0
- package/general/generate-discussion-forum-schema.js +1 -1
- package/general/generate-discussion-forum-schema.mjs +1 -0
- package/general/generate-education-schema.d.mts +68 -0
- package/general/generate-education-schema.js +1 -1
- package/general/generate-education-schema.mjs +1 -0
- package/general/generate-employer-aggregate-rating-schema.d.mts +29 -0
- package/general/generate-employer-aggregate-rating-schema.js +1 -1
- package/general/generate-employer-aggregate-rating-schema.mjs +1 -0
- package/general/generate-event-schema.d.mts +63 -0
- package/general/generate-event-schema.js +1 -1
- package/general/generate-event-schema.mjs +1 -0
- package/general/generate-faq-schema.d.mts +32 -0
- package/general/generate-faq-schema.js +1 -1
- package/general/generate-faq-schema.mjs +1 -0
- package/general/generate-grid.d.mts +17 -0
- package/general/generate-grid.js +1 -1
- package/general/generate-grid.mjs +1 -0
- package/general/generate-image-metadata-schema.d.mts +36 -0
- package/general/generate-image-metadata-schema.js +1 -1
- package/general/generate-image-metadata-schema.mjs +1 -0
- package/general/generate-job-posting-schema.d.mts +49 -0
- package/general/generate-job-posting-schema.js +1 -1
- package/general/generate-job-posting-schema.mjs +1 -0
- package/general/generate-local-business-schema.d.mts +42 -0
- package/general/generate-local-business-schema.js +1 -1
- package/general/generate-local-business-schema.mjs +1 -0
- package/general/generate-math-solver-schema.d.mts +45 -0
- package/general/generate-math-solver-schema.js +1 -1
- package/general/generate-math-solver-schema.mjs +1 -0
- package/general/generate-movie-carousel-schema.d.mts +51 -0
- package/general/generate-movie-carousel-schema.js +1 -1
- package/general/generate-movie-carousel-schema.mjs +1 -0
- package/general/generate-organization-schema.d.mts +49 -0
- package/general/generate-organization-schema.js +1 -1
- package/general/generate-organization-schema.mjs +1 -0
- package/general/generate-profile-page-schema.d.mts +37 -0
- package/general/generate-profile-page-schema.js +1 -1
- package/general/generate-profile-page-schema.mjs +1 -0
- package/general/generate-qa-page-schema.d.mts +34 -0
- package/general/generate-qa-page-schema.js +1 -1
- package/general/generate-qa-page-schema.mjs +1 -0
- package/general/generate-recipe-schema.d.mts +49 -0
- package/general/generate-recipe-schema.js +1 -1
- package/general/generate-recipe-schema.mjs +1 -0
- package/general/generate-ref.d.mts +11 -0
- package/general/generate-ref.js +1 -1
- package/general/generate-ref.mjs +1 -0
- package/general/generate-review-snippet-schema.d.mts +52 -0
- package/general/generate-review-snippet-schema.js +1 -1
- package/general/generate-review-snippet-schema.mjs +1 -0
- package/general/generate-shopping-loyalty-program-schema.d.mts +38 -0
- package/general/generate-shopping-loyalty-program-schema.js +1 -1
- package/general/generate-shopping-loyalty-program-schema.mjs +1 -0
- package/general/generate-shopping-merchant-listing-schema.d.mts +53 -0
- package/general/generate-shopping-merchant-listing-schema.js +1 -1
- package/general/generate-shopping-merchant-listing-schema.mjs +1 -0
- package/general/generate-shopping-merchant-return-policy-schema.d.mts +32 -0
- package/general/generate-shopping-merchant-return-policy-schema.js +1 -1
- package/general/generate-shopping-merchant-return-policy-schema.mjs +1 -0
- package/general/generate-shopping-merchant-shipping-policy-schema.d.mts +36 -0
- package/general/generate-shopping-merchant-shipping-policy-schema.js +1 -1
- package/general/generate-shopping-merchant-shipping-policy-schema.mjs +1 -0
- package/general/generate-shopping-overview-schema.d.mts +52 -0
- package/general/generate-shopping-overview-schema.js +1 -1
- package/general/generate-shopping-overview-schema.mjs +1 -0
- package/general/generate-shopping-product-snippet-schema.d.mts +57 -0
- package/general/generate-shopping-product-snippet-schema.js +1 -1
- package/general/generate-shopping-product-snippet-schema.mjs +1 -0
- package/general/generate-shopping-variants-schema.d.mts +46 -0
- package/general/generate-shopping-variants-schema.js +1 -1
- package/general/generate-shopping-variants-schema.mjs +1 -0
- package/general/generate-software-app-schema.d.mts +62 -0
- package/general/generate-software-app-schema.js +1 -1
- package/general/generate-software-app-schema.mjs +1 -0
- package/general/generate-speakable-schema.d.mts +64 -0
- package/general/generate-speakable-schema.js +1 -1
- package/general/generate-speakable-schema.mjs +1 -0
- package/general/generate-subscription-schema.d.mts +60 -0
- package/general/generate-subscription-schema.js +1 -1
- package/general/generate-subscription-schema.mjs +1 -0
- package/general/generate-vacation-rental-schema.d.mts +67 -0
- package/general/generate-vacation-rental-schema.js +1 -1
- package/general/generate-vacation-rental-schema.mjs +1 -0
- package/general/generate-video-schema.d.mts +75 -0
- package/general/generate-video-schema.js +1 -1
- package/general/generate-video-schema.mjs +1 -0
- package/general/generic-cache.d.mts +193 -0
- package/general/generic-cache.js +1 -1
- package/general/generic-cache.mjs +1 -0
- package/general/get-available-page-limit.d.mts +11 -0
- package/general/get-available-page-limit.js +1 -1
- package/general/get-available-page-limit.mjs +1 -0
- package/general/get-calendar-current-month.d.mts +15 -0
- package/general/get-calendar-current-month.js +1 -1
- package/general/get-calendar-current-month.mjs +1 -0
- package/general/get-calendar-dates.d.mts +15 -0
- package/general/get-calendar-dates.js +1 -1
- package/general/get-calendar-dates.mjs +1 -0
- package/general/get-calendar-next-month.d.mts +17 -0
- package/general/get-calendar-next-month.js +1 -1
- package/general/get-calendar-next-month.mjs +1 -0
- package/general/get-calendar-previous-month.d.mts +17 -0
- package/general/get-calendar-previous-month.js +1 -1
- package/general/get-calendar-previous-month.mjs +1 -0
- package/general/get-current-year.d.mts +7 -0
- package/general/get-current-year.js +1 -1
- package/general/get-current-year.mjs +1 -0
- package/general/get-day-name.d.mts +10 -0
- package/general/get-day-name.js +1 -1
- package/general/get-day-name.mjs +1 -0
- package/general/get-dial-code.d.mts +8 -0
- package/general/get-dial-code.js +1 -1
- package/general/get-dial-code.mjs +1 -0
- package/general/get-full-name.d.mts +13 -0
- package/general/get-full-name.js +1 -1
- package/general/get-full-name.mjs +1 -0
- package/general/get-href.d.mts +11 -0
- package/general/get-href.js +1 -1
- package/general/get-href.mjs +1 -0
- package/general/get-month-name.d.mts +10 -0
- package/general/get-month-name.js +1 -1
- package/general/get-month-name.mjs +1 -0
- package/general/get-month-number.d.mts +15 -0
- package/general/get-month-number.js +1 -1
- package/general/get-month-number.mjs +1 -0
- package/general/get-number-of-days-in-month.d.mts +13 -0
- package/general/get-number-of-days-in-month.js +1 -1
- package/general/get-number-of-days-in-month.mjs +1 -0
- package/general/get-pathname.d.mts +11 -0
- package/general/get-pathname.js +1 -1
- package/general/get-pathname.mjs +1 -0
- package/general/get-week-day.d.mts +8 -0
- package/general/get-week-day.js +1 -1
- package/general/get-week-day.mjs +1 -0
- package/general/image-url-to-base64.d.mts +9 -0
- package/general/image-url-to-base64.js +1 -1
- package/general/image-url-to-base64.mjs +1 -0
- package/general/is-created-or-updated.d.mts +13 -0
- package/general/is-created-or-updated.js +1 -1
- package/general/is-created-or-updated.mjs +1 -0
- package/general/is-next-button-disabled.d.mts +9 -0
- package/general/is-next-button-disabled.js +1 -1
- package/general/is-next-button-disabled.mjs +1 -0
- package/general/is-odd.d.mts +11 -0
- package/general/is-odd.js +1 -1
- package/general/is-odd.mjs +1 -0
- package/general/is-previous-button-disabled.d.mts +8 -0
- package/general/is-previous-button-disabled.js +1 -1
- package/general/is-previous-button-disabled.mjs +1 -0
- package/general/linear-gradients.d.mts +14 -0
- package/general/linear-gradients.js +1 -1
- package/general/linear-gradients.mjs +1 -0
- package/general/multi-part-search.d.mts +22 -0
- package/general/multi-part-search.js +1 -1
- package/general/multi-part-search.mjs +1 -0
- package/general/normalize-phone.d.mts +15 -0
- package/general/normalize-phone.js +1 -1
- package/general/normalize-phone.mjs +1 -0
- package/general/parse-frontmatter.d.mts +36 -0
- package/general/parse-frontmatter.js +1 -2
- package/general/parse-frontmatter.mjs +1 -0
- package/general/remove-data-image-prefix.d.mts +8 -0
- package/general/remove-data-image-prefix.js +1 -1
- package/general/remove-data-image-prefix.mjs +1 -0
- package/general/repeat-times.d.mts +15 -0
- package/general/repeat-times.js +1 -1
- package/general/repeat-times.mjs +1 -0
- package/general/resolve-anchor-link.d.mts +13 -0
- package/general/resolve-anchor-link.js +1 -1
- package/general/resolve-anchor-link.mjs +1 -0
- package/general/resolve-current-date.d.mts +12 -0
- package/general/resolve-current-date.js +1 -1
- package/general/resolve-current-date.mjs +1 -0
- package/general/resolve-grid.d.mts +14 -0
- package/general/resolve-grid.js +1 -1
- package/general/resolve-grid.mjs +1 -0
- package/general/resolve-initials.d.mts +12 -0
- package/general/resolve-initials.js +1 -1
- package/general/resolve-initials.mjs +1 -0
- package/general/set-timezone.d.mts +9 -0
- package/general/set-timezone.d.ts +1 -3
- package/general/set-timezone.js +1 -1
- package/general/set-timezone.mjs +1 -0
- package/general/slugify.d.mts +12 -0
- package/general/slugify.js +1 -1
- package/general/slugify.mjs +1 -0
- package/general/text-to-enum.d.mts +8 -0
- package/general/text-to-enum.js +1 -1
- package/general/text-to-enum.mjs +1 -0
- package/general/text-to-sentence-case.d.mts +12 -0
- package/general/text-to-sentence-case.js +1 -1
- package/general/text-to-sentence-case.mjs +1 -0
- package/general/time-out.d.mts +12 -0
- package/general/time-out.js +1 -1
- package/general/time-out.mjs +1 -0
- package/general/time-zones.d.mts +11 -0
- package/general/time-zones.js +1 -1
- package/general/time-zones.mjs +1 -0
- package/general/truncate-text.d.mts +14 -0
- package/general/truncate-text.js +1 -1
- package/general/truncate-text.mjs +1 -0
- package/general/type.d.mts +8 -0
- package/general/type.js +1 -1
- package/general/type.mjs +0 -0
- package/general/upload-blob-to-private-supabase.d.mts +24 -0
- package/general/upload-blob-to-private-supabase.js +1 -1
- package/general/upload-blob-to-private-supabase.mjs +1 -0
- package/general/upload-blob-to-public-supabase.d.mts +24 -0
- package/general/upload-blob-to-public-supabase.js +1 -1
- package/general/upload-blob-to-public-supabase.mjs +1 -0
- package/general/upload-image-to-private-supabase.d.mts +26 -0
- package/general/upload-image-to-private-supabase.js +1 -1
- package/general/upload-image-to-private-supabase.mjs +1 -0
- package/general/upload-image-to-public-supabase.d.mts +26 -0
- package/general/upload-image-to-public-supabase.js +1 -1
- package/general/upload-image-to-public-supabase.mjs +1 -0
- package/general/url-to-sentence-case.d.mts +12 -0
- package/general/url-to-sentence-case.js +1 -1
- package/general/url-to-sentence-case.mjs +1 -0
- package/general/validate-comment.d.mts +14 -0
- package/general/validate-comment.js +1 -1
- package/general/validate-comment.mjs +1 -0
- package/general/validate-email.d.mts +15 -0
- package/general/validate-email.js +1 -1
- package/general/validate-email.mjs +1 -0
- package/general/validate-form.d.mts +18 -0
- package/general/validate-form.js +1 -1
- package/general/validate-form.mjs +1 -0
- package/general/validate-name.d.mts +14 -0
- package/general/validate-name.js +1 -1
- package/general/validate-name.mjs +1 -0
- package/hooks/use-change.d.mts +11 -0
- package/hooks/use-change.js +1 -1
- package/hooks/use-change.mjs +1 -0
- package/hooks/use-debounce.d.mts +10 -0
- package/hooks/use-debounce.js +1 -1
- package/hooks/use-debounce.mjs +1 -0
- package/hooks/use-fetch.d.mts +42 -0
- package/hooks/use-fetch.js +1 -1
- package/hooks/use-fetch.mjs +1 -0
- package/hooks/use-force-render.d.mts +14 -0
- package/hooks/use-force-render.js +1 -1
- package/hooks/use-force-render.mjs +1 -0
- package/hooks/use-ip-geo-location.d.mts +12 -0
- package/hooks/use-ip-geo-location.js +1 -1
- package/hooks/use-ip-geo-location.mjs +1 -0
- package/hooks/use-is-mobile.d.mts +8 -0
- package/hooks/use-is-mobile.js +1 -1
- package/hooks/use-is-mobile.mjs +1 -0
- package/hooks/use-module-entity-v2.d.mts +105 -0
- package/hooks/use-module-entity-v2.js +1 -1
- package/hooks/use-module-entity-v2.mjs +1 -0
- package/hooks/use-module-entity.d.mts +98 -0
- package/hooks/use-module-entity.js +1 -1
- package/hooks/use-module-entity.mjs +1 -0
- package/hooks/use-phone-formatter.d.mts +17 -0
- package/hooks/use-phone-formatter.d.ts +1 -3
- package/hooks/use-phone-formatter.js +1 -1
- package/hooks/use-phone-formatter.mjs +1 -0
- package/hooks/use-position.d.mts +29 -0
- package/hooks/use-position.js +1 -1
- package/hooks/use-position.mjs +1 -0
- package/hooks/use-rtl.d.mts +46 -0
- package/hooks/use-rtl.js +1 -1
- package/hooks/use-rtl.mjs +1 -0
- package/hooks/use-sticky.d.mts +13 -0
- package/hooks/use-sticky.js +1 -1
- package/hooks/use-sticky.mjs +1 -0
- package/hooks/use-toggle-state.d.mts +14 -0
- package/hooks/use-toggle-state.js +1 -1
- package/hooks/use-toggle-state.mjs +1 -0
- package/hooks/use-window-event-listener.d.mts +9 -0
- package/hooks/use-window-event-listener.js +1 -1
- package/hooks/use-window-event-listener.mjs +1 -0
- package/hooks/with-seo.d.mts +19 -0
- package/hooks/with-seo.js +1 -1
- package/hooks/with-seo.mjs +1 -0
- package/local-storage/get-storage-value.d.mts +5 -0
- package/local-storage/get-storage-value.js +1 -1
- package/local-storage/get-storage-value.mjs +1 -0
- package/local-storage/remove-storage-value.d.mts +3 -0
- package/local-storage/remove-storage-value.js +1 -1
- package/local-storage/remove-storage-value.mjs +1 -0
- package/local-storage/set-storage-value.d.mts +3 -0
- package/local-storage/set-storage-value.js +1 -1
- package/local-storage/set-storage-value.mjs +1 -0
- package/local-storage/type.d.mts +3 -0
- package/local-storage/type.js +1 -1
- package/local-storage/type.mjs +0 -0
- package/npm.d.d.mts +2 -0
- package/npm.d.mjs +0 -0
- package/package.json +7 -6
- package/edu-pilot-pro/types/academics.d.ts +0 -2
- package/edu-pilot-pro/types/academics.js +0 -1
- package/edu-pilot-pro/types/admission.d.ts +0 -878
- package/edu-pilot-pro/types/admission.js +0 -1
- package/edu-pilot-pro/types/communication.d.ts +0 -2
- package/edu-pilot-pro/types/communication.js +0 -1
- package/edu-pilot-pro/types/enums.d.ts +0 -413
- package/edu-pilot-pro/types/enums.js +0 -1
- package/edu-pilot-pro/types/finance.d.ts +0 -2
- package/edu-pilot-pro/types/finance.js +0 -1
- package/edu-pilot-pro/types/index.d.ts +0 -2
- package/edu-pilot-pro/types/index.js +0 -1
- package/edu-pilot-pro/types/user-management.d.ts +0 -2
- package/edu-pilot-pro/types/user-management.js +0 -1
- package/storybook/generate-sitemap.d.ts +0 -16
- package/storybook/generate-sitemap.js +0 -17
- package/storybook/preview.d.ts +0 -148
- package/storybook/preview.js +0 -1
- package/storybook/react-design-story-script.d.ts +0 -12
- package/storybook/react-design-story-script.js +0 -5
- package/storybook/react-emoji-collection.d.ts +0 -13
- package/storybook/react-emoji-collection.js +0 -11
- package/storybook/react-emoji-story-script.d.ts +0 -12
- package/storybook/react-emoji-story-script.js +0 -5
- package/storybook/react-emoji-story-template.d.ts +0 -14
- package/storybook/react-emoji-story-template.js +0 -46
- package/storybook/react-icon-collection.d.ts +0 -13
- package/storybook/react-icon-collection.js +0 -11
- package/storybook/react-icon-story-script.d.ts +0 -12
- package/storybook/react-icon-story-script.js +0 -5
- package/storybook/react-icon-story-template.d.ts +0 -13
- package/storybook/react-icon-story-template.js +0 -46
- package/storybook/react-logo-collection.d.ts +0 -13
- package/storybook/react-logo-collection.js +0 -11
- package/storybook/react-logo-story-script.d.ts +0 -12
- package/storybook/react-logo-story-script.js +0 -5
- package/storybook/react-logo-story-template.d.ts +0 -13
- package/storybook/react-logo-story-template.js +0 -46
- package/storybook/react-pakistan-theme.d.ts +0 -25
- package/storybook/react-pakistan-theme.js +0 -1
- package/storybook/responsive-args.d.ts +0 -22
- package/storybook/responsive-args.js +0 -1
- package/storybook/responsive-component.d.ts +0 -33
- package/storybook/responsive-component.js +0 -37
- package/storybook/responsive-screens.d.ts +0 -108
- package/storybook/responsive-screens.js +0 -1
- package/storybook/theme.d.ts +0 -96
- package/storybook/theme.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
var f=Object
|
|
1
|
+
function _0x1177(){const _0x220f82=['5GDbRYf','all','hasOwnProperty','2233398kBnvga','length','status','exception','constructor','Failed\x20to\x20fetch\x20URL:\x20','__proto__','apply','1971080FIKfCW','3309906BHokzD','Request\x20timed\x20out\x20after\x20','AbortError','trace','info','map','fromCharCode','call','table','console','getOwnPropertyNames','prototype','signal','27BpGJzF','Unknown\x20error','333240Robnjb','Failed\x20to\x20convert\x20URL\x20to\x20base64\x20data\x20URI:\x20','819060bngGuD','error','object','statusText','7193056uGLjFl','4222820bazPnH','message','toString','bind'];_0x1177=function(){return _0x220f82;};return _0x1177();}const _0xd6674f=_0x3898;(function(_0x2e58f0,_0x12c2d0){const _0x2fe5be=_0x3898,_0x1004ce=_0x2e58f0();while(!![]){try{const _0x397114=-parseInt(_0x2fe5be(0x13a))/0x1+-parseInt(_0x2fe5be(0x128))/0x2+parseInt(_0x2fe5be(0x120))/0x3+parseInt(_0x2fe5be(0x138))/0x4+parseInt(_0x2fe5be(0x143))/0x5*(-parseInt(_0x2fe5be(0x129))/0x6)+-parseInt(_0x2fe5be(0x13f))/0x7+-parseInt(_0x2fe5be(0x13e))/0x8*(-parseInt(_0x2fe5be(0x136))/0x9);if(_0x397114===_0x12c2d0)break;else _0x1004ce['push'](_0x1004ce['shift']());}catch(_0x36f5ab){_0x1004ce['push'](_0x1004ce['shift']());}}}(_0x1177,0x8a19d));const _0x18c906=(function(){let _0x3fd4fb=!![];return function(_0x53395c,_0xd5dd74){const _0xf487af=_0x3fd4fb?function(){const _0x25240f=_0x3898;if(_0xd5dd74){const _0x28227f=_0xd5dd74[_0x25240f(0x127)](_0x53395c,arguments);return _0xd5dd74=null,_0x28227f;}}:function(){};return _0x3fd4fb=![],_0xf487af;};}()),_0x428abe=_0x18c906(this,function(){const _0x11877c=_0x3898,_0x59f800=function(){let _0x25c251;try{_0x25c251=Function('return\x20(function()\x20'+'{}.constructor(\x22return\x20this\x22)(\x20)'+');')();}catch(_0x5b1d89){_0x25c251=window;}return _0x25c251;},_0x1733e3=_0x59f800(),_0x54d4f9=_0x1733e3['console']=_0x1733e3[_0x11877c(0x132)]||{},_0x4aa78e=['log','warn',_0x11877c(0x12d),'error',_0x11877c(0x123),_0x11877c(0x131),_0x11877c(0x12c)];for(let _0x37929e=0x0;_0x37929e<_0x4aa78e[_0x11877c(0x121)];_0x37929e++){const _0x26bd5f=_0x18c906[_0x11877c(0x124)][_0x11877c(0x134)]['bind'](_0x18c906),_0x47952d=_0x4aa78e[_0x37929e],_0x4e3cfb=_0x54d4f9[_0x47952d]||_0x26bd5f;_0x26bd5f[_0x11877c(0x126)]=_0x18c906['bind'](_0x18c906),_0x26bd5f[_0x11877c(0x141)]=_0x4e3cfb[_0x11877c(0x141)][_0x11877c(0x142)](_0x4e3cfb),_0x54d4f9[_0x47952d]=_0x26bd5f;}});_0x428abe();var f=Object['defineProperty'],g=Object['getOwnPropertyDescriptor'],w=Object[_0xd6674f(0x133)],m=Object['prototype'][_0xd6674f(0x11f)],y=(_0x3a3773,_0x45356e)=>{for(var _0x53a6c0 in _0x45356e)f(_0x3a3773,_0x53a6c0,{'get':_0x45356e[_0x53a6c0],'enumerable':!0x0});},U=(_0x48decd,_0x1486cd,_0x54b94b,_0x328f60)=>{const _0x529802=_0xd6674f;if(_0x1486cd&&typeof _0x1486cd==_0x529802(0x13c)||typeof _0x1486cd=='function'){for(let _0x352b4a of w(_0x1486cd))!m[_0x529802(0x130)](_0x48decd,_0x352b4a)&&_0x352b4a!==_0x54b94b&&f(_0x48decd,_0x352b4a,{'get':()=>_0x1486cd[_0x352b4a],'enumerable':!(_0x328f60=g(_0x1486cd,_0x352b4a))||_0x328f60['enumerable']});}return _0x48decd;},h=_0x50f4aa=>U(f({},'__esModule',{'value':!0x0}),_0x50f4aa),R={};y(R,{'convertUrlToBase64':()=>l,'convertUrlToBase64DataUri':()=>u,'convertUrlToBase64WithTimeout':()=>E,'convertUrlsToBase64':()=>b,'convertUrlsToBase64DataUris':()=>d,'isValidUrl':()=>p}),module['exports']=h(R);function _0x3898(_0x5ed648,_0x300f9f){_0x5ed648=_0x5ed648-0x11e;const _0x36cb84=_0x1177();let _0x428abe=_0x36cb84[_0x5ed648];return _0x428abe;}async function l(_0x50c27d){const _0x23e2b5=_0xd6674f;try{const _0x2babfc=await fetch(_0x50c27d);if(!_0x2babfc['ok'])throw new Error('Failed\x20to\x20fetch\x20URL:\x20'+_0x2babfc['status']+'\x20'+_0x2babfc['statusText']);const _0x4a73cb=await _0x2babfc['arrayBuffer'](),_0x4eca69=new Uint8Array(_0x4a73cb);let _0x146443='';for(let _0x8b42f3=0x0;_0x8b42f3<_0x4eca69[_0x23e2b5(0x121)];_0x8b42f3++)_0x146443+=String[_0x23e2b5(0x12f)](_0x4eca69[_0x8b42f3]);return btoa(_0x146443);}catch(_0xcf8346){throw console[_0x23e2b5(0x13b)]('Error\x20converting\x20URL\x20to\x20base64:',_0xcf8346),new Error('Failed\x20to\x20convert\x20URL\x20to\x20base64:\x20'+(_0xcf8346 instanceof Error?_0xcf8346[_0x23e2b5(0x140)]:_0x23e2b5(0x137)));}}async function u(_0x3a5dc0,_0x39ec6f){const _0x1c7be8=_0xd6674f;try{const _0x76d972=await fetch(_0x3a5dc0);if(!_0x76d972['ok'])throw new Error(_0x1c7be8(0x125)+_0x76d972[_0x1c7be8(0x122)]+'\x20'+_0x76d972[_0x1c7be8(0x13d)]);const _0x482d7e=_0x39ec6f||_0x76d972['headers']['get']('content-type')||'application/octet-stream',_0x2a5c9a=await _0x76d972['arrayBuffer'](),_0x6ca3ab=new Uint8Array(_0x2a5c9a);let _0x464ab4='';for(let _0x302838=0x0;_0x302838<_0x6ca3ab[_0x1c7be8(0x121)];_0x302838++)_0x464ab4+=String[_0x1c7be8(0x12f)](_0x6ca3ab[_0x302838]);const _0x34b689=btoa(_0x464ab4);return'data:'+_0x482d7e+';base64,'+_0x34b689;}catch(_0x5573c7){throw console['error']('Error\x20converting\x20URL\x20to\x20base64\x20data\x20URI:',_0x5573c7),new Error(_0x1c7be8(0x139)+(_0x5573c7 instanceof Error?_0x5573c7['message']:_0x1c7be8(0x137)));}}async function b(_0x2bd3c4){const _0x2c530e=_0xd6674f,_0x46f5f1=_0x2bd3c4[_0x2c530e(0x12e)](_0x2f1def=>l(_0x2f1def));return Promise[_0x2c530e(0x11e)](_0x46f5f1);}async function d(_0x193f4c,_0x4a4642){const _0x4d963d=_0xd6674f,_0x10e59f=_0x193f4c['map']((_0x80e7d9,_0x209afb)=>u(_0x80e7d9,_0x4a4642?.[_0x209afb]));return Promise[_0x4d963d(0x11e)](_0x10e59f);}function p(_0x3cc5b7){try{return new URL(_0x3cc5b7),!0x0;}catch{return!0x1;}}async function E(_0x11f00e,_0x48d279=0x2710){const _0x16f079=_0xd6674f,_0x3d7c5f=new AbortController(),_0xe9fc26=setTimeout(()=>_0x3d7c5f['abort'](),_0x48d279);try{const _0x5ba72a=await fetch(_0x11f00e,{'signal':_0x3d7c5f[_0x16f079(0x135)]});if(clearTimeout(_0xe9fc26),!_0x5ba72a['ok'])throw new Error('Failed\x20to\x20fetch\x20URL:\x20'+_0x5ba72a['status']+'\x20'+_0x5ba72a['statusText']);const _0x310795=await _0x5ba72a['arrayBuffer'](),_0x245575=new Uint8Array(_0x310795);let _0x22bd42='';for(let _0x4953f5=0x0;_0x4953f5<_0x245575['length'];_0x4953f5++)_0x22bd42+=String[_0x16f079(0x12f)](_0x245575[_0x4953f5]);return btoa(_0x22bd42);}catch(_0x3f43c2){throw clearTimeout(_0xe9fc26),_0x3f43c2 instanceof Error&&_0x3f43c2['name']===_0x16f079(0x12b)?new Error(_0x16f079(0x12a)+_0x48d279+'ms'):(console[_0x16f079(0x13b)]('Error\x20converting\x20URL\x20to\x20base64:',_0x3f43c2),new Error('Failed\x20to\x20convert\x20URL\x20to\x20base64:\x20'+(_0x3f43c2 instanceof Error?_0x3f43c2[_0x16f079(0x140)]:'Unknown\x20error')));}}0x0&&(module['exports']={'convertUrlToBase64':convertUrlToBase64,'convertUrlToBase64DataUri':convertUrlToBase64DataUri,'convertUrlToBase64WithTimeout':convertUrlToBase64WithTimeout,'convertUrlsToBase64':convertUrlsToBase64,'convertUrlsToBase64DataUris':convertUrlsToBase64DataUris,'isValidUrl':isValidUrl});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(function(_0x145ad8,_0x3602b4){const _0x2a1b55=_0x3868,_0x2cbcaf=_0x145ad8();while(!![]){try{const _0x3291c9=parseInt(_0x2a1b55(0x14e))/0x1+-parseInt(_0x2a1b55(0x148))/0x2*(parseInt(_0x2a1b55(0x142))/0x3)+parseInt(_0x2a1b55(0x15d))/0x4*(parseInt(_0x2a1b55(0x159))/0x5)+-parseInt(_0x2a1b55(0x14a))/0x6*(parseInt(_0x2a1b55(0x153))/0x7)+parseInt(_0x2a1b55(0x147))/0x8+parseInt(_0x2a1b55(0x143))/0x9*(-parseInt(_0x2a1b55(0x158))/0xa)+-parseInt(_0x2a1b55(0x155))/0xb*(-parseInt(_0x2a1b55(0x140))/0xc);if(_0x3291c9===_0x3602b4)break;else _0x2cbcaf['push'](_0x2cbcaf['shift']());}catch(_0x443a33){_0x2cbcaf['push'](_0x2cbcaf['shift']());}}}(_0x4255,0xdcd93));const _0x1891bb=(function(){let _0x506f17=!![];return function(_0x163177,_0xc14f1a){const _0x43f711=_0x506f17?function(){if(_0xc14f1a){const _0x57dfcb=_0xc14f1a['apply'](_0x163177,arguments);return _0xc14f1a=null,_0x57dfcb;}}:function(){};return _0x506f17=![],_0x43f711;};}()),_0x231b76=_0x1891bb(this,function(){const _0x2a4013=_0x3868;let _0x591d6a;try{const _0x5a162d=Function(_0x2a4013(0x13f)+'{}.constructor(\x22return\x20this\x22)(\x20)'+');');_0x591d6a=_0x5a162d();}catch(_0x3a4b5f){_0x591d6a=window;}const _0x380caa=_0x591d6a[_0x2a4013(0x151)]=_0x591d6a['console']||{},_0x5b31ee=[_0x2a4013(0x14b),_0x2a4013(0x156),'info',_0x2a4013(0x145),_0x2a4013(0x150),_0x2a4013(0x15e),_0x2a4013(0x15b)];for(let _0x4d5bd7=0x0;_0x4d5bd7<_0x5b31ee['length'];_0x4d5bd7++){const _0x3449a2=_0x1891bb['constructor']['prototype']['bind'](_0x1891bb),_0x28431e=_0x5b31ee[_0x4d5bd7],_0x2109b3=_0x380caa[_0x28431e]||_0x3449a2;_0x3449a2['__proto__']=_0x1891bb[_0x2a4013(0x141)](_0x1891bb),_0x3449a2[_0x2a4013(0x13e)]=_0x2109b3['toString'][_0x2a4013(0x141)](_0x2109b3),_0x380caa[_0x28431e]=_0x3449a2;}});_0x231b76();async function f(_0x4c1a65){const _0x36d2c3=_0x3868;try{const _0x3e77ee=await fetch(_0x4c1a65);if(!_0x3e77ee['ok'])throw new Error('Failed\x20to\x20fetch\x20URL:\x20'+_0x3e77ee['status']+'\x20'+_0x3e77ee[_0x36d2c3(0x13d)]);const _0x38ecaf=await _0x3e77ee[_0x36d2c3(0x139)](),_0x1f41f9=new Uint8Array(_0x38ecaf);let _0x2bd0eb='';for(let _0xe1d57e=0x0;_0xe1d57e<_0x1f41f9['length'];_0xe1d57e++)_0x2bd0eb+=String[_0x36d2c3(0x14d)](_0x1f41f9[_0xe1d57e]);return btoa(_0x2bd0eb);}catch(_0x534df2){throw console[_0x36d2c3(0x145)](_0x36d2c3(0x13b),_0x534df2),new Error(_0x36d2c3(0x152)+(_0x534df2 instanceof Error?_0x534df2['message']:'Unknown\x20error'));}}async function l(_0x1cccbe,_0x25f29e){const _0x5cf869=_0x3868;try{const _0x3b4c8e=await fetch(_0x1cccbe);if(!_0x3b4c8e['ok'])throw new Error('Failed\x20to\x20fetch\x20URL:\x20'+_0x3b4c8e[_0x5cf869(0x138)]+'\x20'+_0x3b4c8e[_0x5cf869(0x13d)]);const _0x88817d=_0x25f29e||_0x3b4c8e['headers']['get'](_0x5cf869(0x14c))||_0x5cf869(0x14f),_0x490de1=await _0x3b4c8e['arrayBuffer'](),_0x2f1dd8=new Uint8Array(_0x490de1);let _0x3a70d4='';for(let _0x456e38=0x0;_0x456e38<_0x2f1dd8['length'];_0x456e38++)_0x3a70d4+=String[_0x5cf869(0x14d)](_0x2f1dd8[_0x456e38]);const _0x47aba9=btoa(_0x3a70d4);return _0x5cf869(0x157)+_0x88817d+';base64,'+_0x47aba9;}catch(_0x5e7399){throw console['error'](_0x5cf869(0x13a),_0x5e7399),new Error('Failed\x20to\x20convert\x20URL\x20to\x20base64\x20data\x20URI:\x20'+(_0x5e7399 instanceof Error?_0x5e7399['message']:_0x5cf869(0x154)));}}function _0x3868(_0x2668d7,_0x46c1cf){_0x2668d7=_0x2668d7-0x138;const _0x1302c2=_0x4255();let _0x231b76=_0x1302c2[_0x2668d7];return _0x231b76;}async function u(_0x4821b3){const _0x5b4fd6=_0x4821b3['map'](_0x575a3a=>f(_0x575a3a));return Promise['all'](_0x5b4fd6);}async function g(_0x44c506,_0x40fd1e){const _0x2babe7=_0x3868,_0x2535c2=_0x44c506[_0x2babe7(0x15c)]((_0x5747ae,_0x5848bc)=>l(_0x5747ae,_0x40fd1e?.[_0x5848bc]));return Promise['all'](_0x2535c2);}function w(_0xac254f){try{return new URL(_0xac254f),!0x0;}catch{return!0x1;}}async function m(_0x3ec3de,_0x2ea2e4=0x2710){const _0x35ad15=_0x3868,_0x1c6b12=new AbortController(),_0x205e37=setTimeout(()=>_0x1c6b12['abort'](),_0x2ea2e4);try{const _0x930bb0=await fetch(_0x3ec3de,{'signal':_0x1c6b12[_0x35ad15(0x13c)]});if(clearTimeout(_0x205e37),!_0x930bb0['ok'])throw new Error('Failed\x20to\x20fetch\x20URL:\x20'+_0x930bb0[_0x35ad15(0x138)]+'\x20'+_0x930bb0['statusText']);const _0x12d060=await _0x930bb0[_0x35ad15(0x139)](),_0x3de406=new Uint8Array(_0x12d060);let _0x4e4f3e='';for(let _0x2f2f3c=0x0;_0x2f2f3c<_0x3de406[_0x35ad15(0x144)];_0x2f2f3c++)_0x4e4f3e+=String[_0x35ad15(0x14d)](_0x3de406[_0x2f2f3c]);return btoa(_0x4e4f3e);}catch(_0x42832a){throw clearTimeout(_0x205e37),_0x42832a instanceof Error&&_0x42832a['name']===_0x35ad15(0x146)?new Error(_0x35ad15(0x15a)+_0x2ea2e4+'ms'):(console[_0x35ad15(0x145)](_0x35ad15(0x13b),_0x42832a),new Error(_0x35ad15(0x152)+(_0x42832a instanceof Error?_0x42832a[_0x35ad15(0x149)]:_0x35ad15(0x154))));}}function _0x4255(){const _0x5dbc79=['statusText','toString','return\x20(function()\x20','293388HstYpE','bind','30NutewR','596619mPZwxo','length','error','AbortError','1621576rmJmJC','55696YHqNmo','message','1758756FsTscK','log','content-type','fromCharCode','1463641PCMmBl','application/octet-stream','exception','console','Failed\x20to\x20convert\x20URL\x20to\x20base64:\x20','28VYEhTZ','Unknown\x20error','66kJudlB','warn','data:','100KoacgA','5pnPUSP','Request\x20timed\x20out\x20after\x20','trace','map','4821828QhwXip','table','status','arrayBuffer','Error\x20converting\x20URL\x20to\x20base64\x20data\x20URI:','Error\x20converting\x20URL\x20to\x20base64:','signal'];_0x4255=function(){return _0x5dbc79;};return _0x4255();}export{f as convertUrlToBase64,l as convertUrlToBase64DataUri,m as convertUrlToBase64WithTimeout,u as convertUrlsToBase64,g as convertUrlsToBase64DataUris,w as isValidUrl};
|
|
@@ -0,0 +1,268 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A util library of worldwide countries
|
|
3
|
+
*
|
|
4
|
+
* @returns country code and country name
|
|
5
|
+
* @author Taimoor Khan
|
|
6
|
+
* @remarks Forum App
|
|
7
|
+
*/
|
|
8
|
+
/** End file docs */
|
|
9
|
+
declare enum COUNTRY_CODE {
|
|
10
|
+
AF = "AF",
|
|
11
|
+
AX = "AX",
|
|
12
|
+
AL = "AL",
|
|
13
|
+
DZ = "DZ",
|
|
14
|
+
AS = "AS",
|
|
15
|
+
AD = "AD",
|
|
16
|
+
AO = "AO",
|
|
17
|
+
AI = "AI",
|
|
18
|
+
AQ = "AQ",
|
|
19
|
+
AG = "AG",
|
|
20
|
+
AR = "AR",
|
|
21
|
+
AM = "AM",
|
|
22
|
+
AW = "AW",
|
|
23
|
+
AU = "AU",
|
|
24
|
+
AT = "AT",
|
|
25
|
+
AZ = "AZ",
|
|
26
|
+
BS = "BS",
|
|
27
|
+
BH = "BH",
|
|
28
|
+
BD = "BD",
|
|
29
|
+
BB = "BB",
|
|
30
|
+
BY = "BY",
|
|
31
|
+
BE = "BE",
|
|
32
|
+
BZ = "BZ",
|
|
33
|
+
BJ = "BJ",
|
|
34
|
+
BM = "BM",
|
|
35
|
+
BT = "BT",
|
|
36
|
+
BO = "BO",
|
|
37
|
+
BQ = "BQ",
|
|
38
|
+
BA = "BA",
|
|
39
|
+
BW = "BW",
|
|
40
|
+
BV = "BV",
|
|
41
|
+
BR = "BR",
|
|
42
|
+
IO = "IO",
|
|
43
|
+
BN = "BN",
|
|
44
|
+
BG = "BG",
|
|
45
|
+
BF = "BF",
|
|
46
|
+
BI = "BI",
|
|
47
|
+
KH = "KH",
|
|
48
|
+
CM = "CM",
|
|
49
|
+
CA = "CA",
|
|
50
|
+
CV = "CV",
|
|
51
|
+
KY = "KY",
|
|
52
|
+
CF = "CF",
|
|
53
|
+
TD = "TD",
|
|
54
|
+
CL = "CL",
|
|
55
|
+
CN = "CN",
|
|
56
|
+
CX = "CX",
|
|
57
|
+
CC = "CC",
|
|
58
|
+
CO = "CO",
|
|
59
|
+
KM = "KM",
|
|
60
|
+
CG = "CG",
|
|
61
|
+
CD = "CD",
|
|
62
|
+
CK = "CK",
|
|
63
|
+
CR = "CR",
|
|
64
|
+
CI = "CI",
|
|
65
|
+
HR = "HR",
|
|
66
|
+
CU = "CU",
|
|
67
|
+
CW = "CW",
|
|
68
|
+
CY = "CY",
|
|
69
|
+
CZ = "CZ",
|
|
70
|
+
DK = "DK",
|
|
71
|
+
DJ = "DJ",
|
|
72
|
+
DM = "DM",
|
|
73
|
+
DO = "DO",
|
|
74
|
+
EC = "EC",
|
|
75
|
+
EG = "EG",
|
|
76
|
+
SV = "SV",
|
|
77
|
+
GQ = "GQ",
|
|
78
|
+
ER = "ER",
|
|
79
|
+
EE = "EE",
|
|
80
|
+
ET = "ET",
|
|
81
|
+
FK = "FK",
|
|
82
|
+
FO = "FO",
|
|
83
|
+
FJ = "FJ",
|
|
84
|
+
FI = "FI",
|
|
85
|
+
FR = "FR",
|
|
86
|
+
GF = "GF",
|
|
87
|
+
PF = "PF",
|
|
88
|
+
TF = "TF",
|
|
89
|
+
GA = "GA",
|
|
90
|
+
GM = "GM",
|
|
91
|
+
GE = "GE",
|
|
92
|
+
DE = "DE",
|
|
93
|
+
GH = "GH",
|
|
94
|
+
GI = "GI",
|
|
95
|
+
GR = "GR",
|
|
96
|
+
GL = "GL",
|
|
97
|
+
GD = "GD",
|
|
98
|
+
GP = "GP",
|
|
99
|
+
GU = "GU",
|
|
100
|
+
GT = "GT",
|
|
101
|
+
GG = "GG",
|
|
102
|
+
GN = "GN",
|
|
103
|
+
GW = "GW",
|
|
104
|
+
GY = "GY",
|
|
105
|
+
HT = "HT",
|
|
106
|
+
HM = "HM",
|
|
107
|
+
VA = "VA",
|
|
108
|
+
HN = "HN",
|
|
109
|
+
HK = "HK",
|
|
110
|
+
HU = "HU",
|
|
111
|
+
IS = "IS",
|
|
112
|
+
IN = "IN",
|
|
113
|
+
ID = "ID",
|
|
114
|
+
IR = "IR",
|
|
115
|
+
IQ = "IQ",
|
|
116
|
+
IE = "IE",
|
|
117
|
+
IM = "IM",
|
|
118
|
+
IL = "IL",
|
|
119
|
+
IT = "IT",
|
|
120
|
+
JM = "JM",
|
|
121
|
+
JP = "JP",
|
|
122
|
+
JE = "JE",
|
|
123
|
+
JO = "JO",
|
|
124
|
+
KZ = "KZ",
|
|
125
|
+
KE = "KE",
|
|
126
|
+
KI = "KI",
|
|
127
|
+
KP = "KP",
|
|
128
|
+
KR = "KR",
|
|
129
|
+
KW = "KW",
|
|
130
|
+
KG = "KG",
|
|
131
|
+
LA = "LA",
|
|
132
|
+
LV = "LV",
|
|
133
|
+
LB = "LB",
|
|
134
|
+
LS = "LS",
|
|
135
|
+
LR = "LR",
|
|
136
|
+
LY = "LY",
|
|
137
|
+
LI = "LI",
|
|
138
|
+
LT = "LT",
|
|
139
|
+
LU = "LU",
|
|
140
|
+
MO = "MO",
|
|
141
|
+
MK = "MK",
|
|
142
|
+
MG = "MG",
|
|
143
|
+
MW = "MW",
|
|
144
|
+
MY = "MY",
|
|
145
|
+
MV = "MV",
|
|
146
|
+
ML = "ML",
|
|
147
|
+
MT = "MT",
|
|
148
|
+
MH = "MH",
|
|
149
|
+
MQ = "MQ",
|
|
150
|
+
MR = "MR",
|
|
151
|
+
MU = "MU",
|
|
152
|
+
YT = "YT",
|
|
153
|
+
MX = "MX",
|
|
154
|
+
FM = "FM",
|
|
155
|
+
MD = "MD",
|
|
156
|
+
MC = "MC",
|
|
157
|
+
MN = "MN",
|
|
158
|
+
ME = "ME",
|
|
159
|
+
MS = "MS",
|
|
160
|
+
MA = "MA",
|
|
161
|
+
MZ = "MZ",
|
|
162
|
+
MM = "MM",
|
|
163
|
+
NA = "NA",
|
|
164
|
+
NR = "NR",
|
|
165
|
+
NP = "NP",
|
|
166
|
+
NL = "NL",
|
|
167
|
+
NC = "NC",
|
|
168
|
+
NZ = "NZ",
|
|
169
|
+
NI = "NI",
|
|
170
|
+
NE = "NE",
|
|
171
|
+
NG = "NG",
|
|
172
|
+
NU = "NU",
|
|
173
|
+
NF = "NF",
|
|
174
|
+
MP = "MP",
|
|
175
|
+
NO = "NO",
|
|
176
|
+
OM = "OM",
|
|
177
|
+
PK = "PK",
|
|
178
|
+
PW = "PW",
|
|
179
|
+
PS = "PS",
|
|
180
|
+
PA = "PA",
|
|
181
|
+
PG = "PG",
|
|
182
|
+
PY = "PY",
|
|
183
|
+
PE = "PE",
|
|
184
|
+
PH = "PH",
|
|
185
|
+
PN = "PN",
|
|
186
|
+
PL = "PL",
|
|
187
|
+
PT = "PT",
|
|
188
|
+
PR = "PR",
|
|
189
|
+
QA = "QA",
|
|
190
|
+
RE = "RE",
|
|
191
|
+
RO = "RO",
|
|
192
|
+
RU = "RU",
|
|
193
|
+
RW = "RW",
|
|
194
|
+
BL = "BL",
|
|
195
|
+
SH = "SH",
|
|
196
|
+
KN = "KN",
|
|
197
|
+
LC = "LC",
|
|
198
|
+
MF = "MF",
|
|
199
|
+
PM = "PM",
|
|
200
|
+
VC = "VC",
|
|
201
|
+
WS = "WS",
|
|
202
|
+
SM = "SM",
|
|
203
|
+
ST = "ST",
|
|
204
|
+
SA = "SA",
|
|
205
|
+
SN = "SN",
|
|
206
|
+
RS = "RS",
|
|
207
|
+
SC = "SC",
|
|
208
|
+
SL = "SL",
|
|
209
|
+
SG = "SG",
|
|
210
|
+
SX = "SX",
|
|
211
|
+
SK = "SK",
|
|
212
|
+
SI = "SI",
|
|
213
|
+
SB = "SB",
|
|
214
|
+
SO = "SO",
|
|
215
|
+
ZA = "ZA",
|
|
216
|
+
GS = "GS",
|
|
217
|
+
SS = "SS",
|
|
218
|
+
ES = "ES",
|
|
219
|
+
LK = "LK",
|
|
220
|
+
SD = "SD",
|
|
221
|
+
SR = "SR",
|
|
222
|
+
SJ = "SJ",
|
|
223
|
+
SZ = "SZ",
|
|
224
|
+
SE = "SE",
|
|
225
|
+
CH = "CH",
|
|
226
|
+
SY = "SY",
|
|
227
|
+
TW = "TW",
|
|
228
|
+
TJ = "TJ",
|
|
229
|
+
TZ = "TZ",
|
|
230
|
+
TH = "TH",
|
|
231
|
+
TL = "TL",
|
|
232
|
+
TG = "TG",
|
|
233
|
+
TK = "TK",
|
|
234
|
+
TO = "TO",
|
|
235
|
+
TT = "TT",
|
|
236
|
+
TN = "TN",
|
|
237
|
+
TR = "TR",
|
|
238
|
+
TM = "TM",
|
|
239
|
+
TC = "TC",
|
|
240
|
+
TV = "TV",
|
|
241
|
+
UG = "UG",
|
|
242
|
+
UA = "UA",
|
|
243
|
+
AE = "AE",
|
|
244
|
+
GB = "GB",
|
|
245
|
+
US = "US",
|
|
246
|
+
UM = "UM",
|
|
247
|
+
UY = "UY",
|
|
248
|
+
UZ = "UZ",
|
|
249
|
+
VU = "VU",
|
|
250
|
+
VE = "VE",
|
|
251
|
+
VN = "VN",
|
|
252
|
+
VG = "VG",
|
|
253
|
+
VI = "VI",
|
|
254
|
+
WF = "WF",
|
|
255
|
+
EH = "EH",
|
|
256
|
+
YE = "YE",
|
|
257
|
+
ZM = "ZM",
|
|
258
|
+
ZW = "ZW"
|
|
259
|
+
}
|
|
260
|
+
type ICountries = {
|
|
261
|
+
[key in COUNTRY_CODE]: {
|
|
262
|
+
code: string;
|
|
263
|
+
country: string;
|
|
264
|
+
};
|
|
265
|
+
};
|
|
266
|
+
declare const countries: ICountries;
|
|
267
|
+
|
|
268
|
+
export { COUNTRY_CODE, type ICountries, countries };
|
package/general/countries.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var t=Object.defineProperty;var d=Object.getOwnPropertyDescriptor;var y=Object.getOwnPropertyNames;var i=Object.prototype.hasOwnProperty;var M=(n,c)=>{for(var r in c)t(n,r,{get:c[r],enumerable:!0})},S=(n,c,r,a)=>{if(c&&typeof c=="object"||typeof c=="function")for(let e of y(c))!i.call(n,e)&&e!==r&&t(n,e,{get:()=>c[e],enumerable:!(a=d(c,e))||a.enumerable});return n};var G=n=>S(t({},"__esModule",{value:!0}),n);var B={};M(B,{COUNTRY_CODE:()=>u,countries:()=>A});module.exports=G(B);var u=(o=>(o.AF="AF",o.AX="AX",o.AL="AL",o.DZ="DZ",o.AS="AS",o.AD="AD",o.AO="AO",o.AI="AI",o.AQ="AQ",o.AG="AG",o.AR="AR",o.AM="AM",o.AW="AW",o.AU="AU",o.AT="AT",o.AZ="AZ",o.BS="BS",o.BH="BH",o.BD="BD",o.BB="BB",o.BY="BY",o.BE="BE",o.BZ="BZ",o.BJ="BJ",o.BM="BM",o.BT="BT",o.BO="BO",o.BQ="BQ",o.BA="BA",o.BW="BW",o.BV="BV",o.BR="BR",o.IO="IO",o.BN="BN",o.BG="BG",o.BF="BF",o.BI="BI",o.KH="KH",o.CM="CM",o.CA="CA",o.CV="CV",o.KY="KY",o.CF="CF",o.TD="TD",o.CL="CL",o.CN="CN",o.CX="CX",o.CC="CC",o.CO="CO",o.KM="KM",o.CG="CG",o.CD="CD",o.CK="CK",o.CR="CR",o.CI="CI",o.HR="HR",o.CU="CU",o.CW="CW",o.CY="CY",o.CZ="CZ",o.DK="DK",o.DJ="DJ",o.DM="DM",o.DO="DO",o.EC="EC",o.EG="EG",o.SV="SV",o.GQ="GQ",o.ER="ER",o.EE="EE",o.ET="ET",o.FK="FK",o.FO="FO",o.FJ="FJ",o.FI="FI",o.FR="FR",o.GF="GF",o.PF="PF",o.TF="TF",o.GA="GA",o.GM="GM",o.GE="GE",o.DE="DE",o.GH="GH",o.GI="GI",o.GR="GR",o.GL="GL",o.GD="GD",o.GP="GP",o.GU="GU",o.GT="GT",o.GG="GG",o.GN="GN",o.GW="GW",o.GY="GY",o.HT="HT",o.HM="HM",o.VA="VA",o.HN="HN",o.HK="HK",o.HU="HU",o.IS="IS",o.IN="IN",o.ID="ID",o.IR="IR",o.IQ="IQ",o.IE="IE",o.IM="IM",o.IL="IL",o.IT="IT",o.JM="JM",o.JP="JP",o.JE="JE",o.JO="JO",o.KZ="KZ",o.KE="KE",o.KI="KI",o.KP="KP",o.KR="KR",o.KW="KW",o.KG="KG",o.LA="LA",o.LV="LV",o.LB="LB",o.LS="LS",o.LR="LR",o.LY="LY",o.LI="LI",o.LT="LT",o.LU="LU",o.MO="MO",o.MK="MK",o.MG="MG",o.MW="MW",o.MY="MY",o.MV="MV",o.ML="ML",o.MT="MT",o.MH="MH",o.MQ="MQ",o.MR="MR",o.MU="MU",o.YT="YT",o.MX="MX",o.FM="FM",o.MD="MD",o.MC="MC",o.MN="MN",o.ME="ME",o.MS="MS",o.MA="MA",o.MZ="MZ",o.MM="MM",o.NA="NA",o.NR="NR",o.NP="NP",o.NL="NL",o.NC="NC",o.NZ="NZ",o.NI="NI",o.NE="NE",o.NG="NG",o.NU="NU",o.NF="NF",o.MP="MP",o.NO="NO",o.OM="OM",o.PK="PK",o.PW="PW",o.PS="PS",o.PA="PA",o.PG="PG",o.PY="PY",o.PE="PE",o.PH="PH",o.PN="PN",o.PL="PL",o.PT="PT",o.PR="PR",o.QA="QA",o.RE="RE",o.RO="RO",o.RU="RU",o.RW="RW",o.BL="BL",o.SH="SH",o.KN="KN",o.LC="LC",o.MF="MF",o.PM="PM",o.VC="VC",o.WS="WS",o.SM="SM",o.ST="ST",o.SA="SA",o.SN="SN",o.RS="RS",o.SC="SC",o.SL="SL",o.SG="SG",o.SX="SX",o.SK="SK",o.SI="SI",o.SB="SB",o.SO="SO",o.ZA="ZA",o.GS="GS",o.SS="SS",o.ES="ES",o.LK="LK",o.SD="SD",o.SR="SR",o.SJ="SJ",o.SZ="SZ",o.SE="SE",o.CH="CH",o.SY="SY",o.TW="TW",o.TJ="TJ",o.TZ="TZ",o.TH="TH",o.TL="TL",o.TG="TG",o.TK="TK",o.TO="TO",o.TT="TT",o.TN="TN",o.TR="TR",o.TM="TM",o.TC="TC",o.TV="TV",o.UG="UG",o.UA="UA",o.AE="AE",o.GB="GB",o.US="US",o.UM="UM",o.UY="UY",o.UZ="UZ",o.VU="VU",o.VE="VE",o.VN="VN",o.VG="VG",o.VI="VI",o.WF="WF",o.EH="EH",o.YE="YE",o.ZM="ZM",o.ZW="ZW",o))(u||{});const A={AF:{code:"AF",country:"Afghanistan"},AX:{code:"AX",country:"\xC5land Islands"},AL:{code:"AL",country:"Albania"},DZ:{code:"DZ",country:"Algeria"},AS:{code:"AS",country:"American Samoa"},AD:{code:"AD",country:"Andorra"},AO:{code:"AO",country:"Angola"},AI:{code:"AI",country:"Anguilla"},AQ:{code:"AQ",country:"Antarctica"},AG:{code:"AG",country:"Antigua and Barbuda"},AR:{code:"AR",country:"Argentina"},AM:{code:"AM",country:"Armenia"},AW:{code:"AW",country:"Aruba"},AU:{code:"AU",country:"Australia"},AT:{code:"AT",country:"Austria"},AZ:{code:"AZ",country:"Azerbaijan"},BS:{code:"BS",country:"Bahamas"},BH:{code:"BH",country:"Bahrain"},BD:{code:"BD",country:"Bangladesh"},BB:{code:"BB",country:"Barbados"},BY:{code:"BY",country:"Belarus"},BE:{code:"BE",country:"Belgium"},BZ:{code:"BZ",country:"Belize"},BJ:{code:"BJ",country:"Benin"},BM:{code:"BM",country:"Bermuda"},BT:{code:"BT",country:"Bhutan"},BO:{code:"BO",country:"Bolivia, Plurinational State of"},BQ:{code:"BQ",country:"Bonaire, Sint Eustatius and Saba"},BA:{code:"BA",country:"Bosnia and Herzegovina"},BW:{code:"BW",country:"Botswana"},BV:{code:"BV",country:"Bouvet Island"},BR:{code:"BR",country:"Brazil"},IO:{code:"IO",country:"British Indian Ocean Territory"},BN:{code:"BN",country:"Brunei Darussalam"},BG:{code:"BG",country:"Bulgaria"},BF:{code:"BF",country:"Burkina Faso"},BI:{code:"BI",country:"Burundi"},KH:{code:"KH",country:"Cambodia"},CM:{code:"CM",country:"Cameroon"},CA:{code:"CA",country:"Canada"},CV:{code:"CV",country:"Cape Verde"},KY:{code:"KY",country:"Cayman Islands"},CF:{code:"CF",country:"Central African Republic"},TD:{code:"TD",country:"Chad"},CL:{code:"CL",country:"Chile"},CN:{code:"CN",country:"China"},CX:{code:"CX",country:"Christmas Island"},CC:{code:"CC",country:"Cocos (Keeling) Islands"},CO:{code:"CO",country:"Colombia"},KM:{code:"KM",country:"Comoros"},CG:{code:"CG",country:"Congo"},CD:{code:"CD",country:"Congo, the Democratic Republic of the"},CK:{code:"CK",country:"Cook Islands"},CR:{code:"CR",country:"Costa Rica"},CI:{code:"CI",country:"C\xF4te d'Ivoire"},HR:{code:"HR",country:"Croatia"},CU:{code:"CU",country:"Cuba"},CW:{code:"CW",country:"Cura\xE7ao"},CY:{code:"CY",country:"Cyprus"},CZ:{code:"CZ",country:"Czech Republic"},DK:{code:"DK",country:"Denmark"},DJ:{code:"DJ",country:"Djibouti"},DM:{code:"DM",country:"Dominica"},DO:{code:"DO",country:"Dominican Republic"},EC:{code:"EC",country:"Ecuador"},EG:{code:"EG",country:"Egypt"},SV:{code:"SV",country:"El Salvador"},GQ:{code:"GQ",country:"Equatorial Guinea"},ER:{code:"ER",country:"Eritrea"},EE:{code:"EE",country:"Estonia"},ET:{code:"ET",country:"Ethiopia"},FK:{code:"FK",country:"Falkland Islands (Malvinas)"},FO:{code:"FO",country:"Faroe Islands"},FJ:{code:"FJ",country:"Fiji"},FI:{code:"FI",country:"Finland"},FR:{code:"FR",country:"France"},GF:{code:"GF",country:"French Guiana"},PF:{code:"PF",country:"French Polynesia"},TF:{code:"TF",country:"French Southern Territories"},GA:{code:"GA",country:"Gabon"},GM:{code:"GM",country:"Gambia"},GE:{code:"GE",country:"Georgia"},DE:{code:"DE",country:"Germany"},GH:{code:"GH",country:"Ghana"},GI:{code:"GI",country:"Gibraltar"},GR:{code:"GR",country:"Greece"},GL:{code:"GL",country:"Greenland"},GD:{code:"GD",country:"Grenada"},GP:{code:"GP",country:"Guadeloupe"},GU:{code:"GU",country:"Guam"},GT:{code:"GT",country:"Guatemala"},GG:{code:"GG",country:"Guernsey"},GN:{code:"GN",country:"Guinea"},GW:{code:"GW",country:"Guinea-Bissau"},GY:{code:"GY",country:"Guyana"},HT:{code:"HT",country:"Haiti"},HM:{code:"HM",country:"Heard Island and McDonald Islands"},VA:{code:"VA",country:"Holy See (Vatican City State)"},HN:{code:"HN",country:"Honduras"},HK:{code:"HK",country:"Hong Kong"},HU:{code:"HU",country:"Hungary"},IS:{code:"IS",country:"Iceland"},IN:{code:"IN",country:"India"},ID:{code:"ID",country:"Indonesia"},IR:{code:"IR",country:"Iran, Islamic Republic of"},IQ:{code:"IQ",country:"Iraq"},IE:{code:"IE",country:"Ireland"},IM:{code:"IM",country:"Isle of Man"},IL:{code:"IL",country:"Israel"},IT:{code:"IT",country:"Italy"},JM:{code:"JM",country:"Jamaica"},JP:{code:"JP",country:"Japan"},JE:{code:"JE",country:"Jersey"},JO:{code:"JO",country:"Jordan"},KZ:{code:"KZ",country:"Kazakhstan"},KE:{code:"KE",country:"Kenya"},KI:{code:"KI",country:"Kiribati"},KP:{code:"KP",country:"Korea, Democratic People's Republic of"},KR:{code:"KR",country:"Korea, Republic of"},KW:{code:"KW",country:"Kuwait"},KG:{code:"KG",country:"Kyrgyzstan"},LA:{code:"LA",country:"Lao People's Democratic Republic"},LV:{code:"LV",country:"Latvia"},LB:{code:"LB",country:"Lebanon"},LS:{code:"LS",country:"Lesotho"},LR:{code:"LR",country:"Liberia"},LY:{code:"LY",country:"Libya"},LI:{code:"LI",country:"Liechtenstein"},LT:{code:"LT",country:"Lithuania"},LU:{code:"LU",country:"Luxembourg"},MO:{code:"MO",country:"Macao"},MK:{code:"MK",country:"Macedonia, the Former Yugoslav Republic of"},MG:{code:"MG",country:"Madagascar"},MW:{code:"MW",country:"Malawi"},MY:{code:"MY",country:"Malaysia"},MV:{code:"MV",country:"Maldives"},ML:{code:"ML",country:"Mali"},MT:{code:"MT",country:"Malta"},MH:{code:"MH",country:"Marshall Islands"},MQ:{code:"MQ",country:"Martinique"},MR:{code:"MR",country:"Mauritania"},MU:{code:"MU",country:"Mauritius"},YT:{code:"YT",country:"Mayotte"},MX:{code:"MX",country:"Mexico"},FM:{code:"FM",country:"Micronesia, Federated States of"},MD:{code:"MD",country:"Moldova, Republic of"},MC:{code:"MC",country:"Monaco"},MN:{code:"MN",country:"Mongolia"},ME:{code:"ME",country:"Montenegro"},MS:{code:"MS",country:"Montserrat"},MA:{code:"MA",country:"Morocco"},MZ:{code:"MZ",country:"Mozambique"},MM:{code:"MM",country:"Myanmar"},NA:{code:"NA",country:"Namibia"},NR:{code:"NR",country:"Nauru"},NP:{code:"NP",country:"Nepal"},NL:{code:"NL",country:"Netherlands"},NC:{code:"NC",country:"New Caledonia"},NZ:{code:"NZ",country:"New Zealand"},NI:{code:"NI",country:"Nicaragua"},NE:{code:"NE",country:"Niger"},NG:{code:"NG",country:"Nigeria"},NU:{code:"NU",country:"Niue"},NF:{code:"NF",country:"Norfolk Island"},MP:{code:"MP",country:"Northern Mariana Islands"},NO:{code:"NO",country:"Norway"},OM:{code:"OM",country:"Oman"},PK:{code:"PK",country:"Pakistan"},PW:{code:"PW",country:"Palau"},PS:{code:"PS",country:"Palestine, State of"},PA:{code:"PA",country:"Panama"},PG:{code:"PG",country:"Papua New Guinea"},PY:{code:"PY",country:"Paraguay"},PE:{code:"PE",country:"Peru"},PH:{code:"PH",country:"Philippines"},PN:{code:"PN",country:"Pitcairn"},PL:{code:"PL",country:"Poland"},PT:{code:"PT",country:"Portugal"},PR:{code:"PR",country:"Puerto Rico"},QA:{code:"QA",country:"Qatar"},RE:{code:"RE",country:"R\xE9union"},RO:{code:"RO",country:"Romania"},RU:{code:"RU",country:"Russian Federation"},RW:{code:"RW",country:"Rwanda"},BL:{code:"BL",country:"Saint Barth\xE9lemy"},SH:{code:"SH",country:"Saint Helena, Ascension and Tristan da Cunha"},KN:{code:"KN",country:"Saint Kitts and Nevis"},LC:{code:"LC",country:"Saint Lucia"},MF:{code:"MF",country:"Saint Martin (French part)"},PM:{code:"PM",country:"Saint Pierre and Miquelon"},VC:{code:"VC",country:"Saint Vincent and the Grenadines"},WS:{code:"WS",country:"Samoa"},SM:{code:"SM",country:"San Marino"},ST:{code:"ST",country:"Sao Tome and Principe"},SA:{code:"SA",country:"Saudi Arabia"},SN:{code:"SN",country:"Senegal"},RS:{code:"RS",country:"Serbia"},SC:{code:"SC",country:"Seychelles"},SL:{code:"SL",country:"Sierra Leone"},SG:{code:"SG",country:"Singapore"},SX:{code:"SX",country:"Sint Maarten (Dutch part)"},SK:{code:"SK",country:"Slovakia"},SI:{code:"SI",country:"Slovenia"},SB:{code:"SB",country:"Solomon Islands"},SO:{code:"SO",country:"Somalia"},ZA:{code:"ZA",country:"South Africa"},GS:{code:"GS",country:"South Georgia and the South Sandwich Islands"},SS:{code:"SS",country:"South Sudan"},ES:{code:"ES",country:"Spain"},LK:{code:"LK",country:"Sri Lanka"},SD:{code:"SD",country:"Sudan"},SR:{code:"SR",country:"Suriname"},SJ:{code:"SJ",country:"Svalbard and Jan Mayen"},SZ:{code:"SZ",country:"Swaziland"},SE:{code:"SE",country:"Sweden"},CH:{code:"CH",country:"Switzerland"},SY:{code:"SY",country:"Syrian Arab Republic"},TW:{code:"TW",country:"Taiwan, Province of China"},TJ:{code:"TJ",country:"Tajikistan"},TZ:{code:"TZ",country:"Tanzania, United Republic of"},TH:{code:"TH",country:"Thailand"},TL:{code:"TL",country:"Timor-Leste"},TG:{code:"TG",country:"Togo"},TK:{code:"TK",country:"Tokelau"},TO:{code:"TO",country:"Tonga"},TT:{code:"TT",country:"Trinidad and Tobago"},TN:{code:"TN",country:"Tunisia"},TR:{code:"TR",country:"Turkey"},TM:{code:"TM",country:"Turkmenistan"},TC:{code:"TC",country:"Turks and Caicos Islands"},TV:{code:"TV",country:"Tuvalu"},UG:{code:"UG",country:"Uganda"},UA:{code:"UA",country:"Ukraine"},AE:{code:"AE",country:"United Arab Emirates"},GB:{code:"GB",country:"United Kingdom"},US:{code:"US",country:"United States"},UM:{code:"UM",country:"United States Minor Outlying Islands"},UY:{code:"UY",country:"Uruguay"},UZ:{code:"UZ",country:"Uzbekistan"},VU:{code:"VU",country:"Vanuatu"},VE:{code:"VE",country:"Venezuela, Bolivarian Republic of"},VN:{code:"VN",country:"Viet Nam"},VG:{code:"VG",country:"Virgin Islands, British"},VI:{code:"VI",country:"Virgin Islands, U.S."},WF:{code:"WF",country:"Wallis and Futuna"},EH:{code:"EH",country:"Western Sahara"},YE:{code:"YE",country:"Yemen"},ZM:{code:"ZM",country:"Zambia"},ZW:{code:"ZW",country:"Zimbabwe"}};0&&(module.exports={COUNTRY_CODE,countries});
|
|
1
|
+
var _0x558467=_0x2275;function _0x2275(_0x45d637,_0x2f31c0){_0x45d637=_0x45d637-0x1a9;var _0x2523f6=_0x3724();var _0x365f52=_0x2523f6[_0x45d637];return _0x365f52;}(function(_0x3f8844,_0x1b2bc9){var _0x97c910=_0x2275,_0x54c1f7=_0x3f8844();while(!![]){try{var _0x418d88=parseInt(_0x97c910(0x1d3))/0x1+-parseInt(_0x97c910(0x224))/0x2+parseInt(_0x97c910(0x229))/0x3*(-parseInt(_0x97c910(0x1f5))/0x4)+-parseInt(_0x97c910(0x22f))/0x5*(parseInt(_0x97c910(0x1d7))/0x6)+parseInt(_0x97c910(0x1d1))/0x7*(parseInt(_0x97c910(0x234))/0x8)+-parseInt(_0x97c910(0x1cd))/0x9*(parseInt(_0x97c910(0x1a9))/0xa)+-parseInt(_0x97c910(0x1b9))/0xb*(-parseInt(_0x97c910(0x20c))/0xc);if(_0x418d88===_0x1b2bc9)break;else _0x54c1f7['push'](_0x54c1f7['shift']());}catch(_0x12c14b){_0x54c1f7['push'](_0x54c1f7['shift']());}}}(_0x3724,0x30371));function _0x3724(){var _0x3b35c2=['Nauru','Algeria','log','exception','1060edBaTN','Martinique','Bonaire,\x20Sint\x20Eustatius\x20and\x20Saba','Faroe\x20Islands','__proto__','Micronesia,\x20Federated\x20States\x20of','Saudi\x20Arabia','Niger','Turkey','Bolivia,\x20Plurinational\x20State\x20of','Taiwan,\x20Province\x20of\x20China','Suriname','Sweden','Mayotte','Liberia','table','22uAvqIk','Togo','Cambodia','Anguilla','Chile','French\x20Guiana','Costa\x20Rica','Swaziland','China','prototype','Grenada','Uzbekistan','United\x20States\x20Minor\x20Outlying\x20Islands','Poland','Romania','Ethiopia','Austria','Guam','Macao','Guinea-Bissau','21078bYWAmP','info','__esModule','Canada','7jYmPai','Jamaica','74974tkCvFB','Colombia','Haiti','Viet\x20Nam','6eQeAWc','Azerbaijan','United\x20Kingdom','Bosnia\x20and\x20Herzegovina','Slovakia','Benin','Saint\x20Helena,\x20Ascension\x20and\x20Tristan\x20da\x20Cunha','Finland','console','Switzerland','British\x20Indian\x20Ocean\x20Territory','Armenia','Hungary','Cook\x20Islands','Sri\x20Lanka','apply','Australia','toString','Macedonia,\x20the\x20Former\x20Yugoslav\x20Republic\x20of','bind','Kazakhstan','Wallis\x20and\x20Futuna','Oman','Nicaragua','Zambia','Niue','Malta','Brazil','Cameroon','Angola','56hQXudI','Greece','Spain','United\x20Arab\x20Emirates','Germany','length','Guernsey','Belarus','Jordan','Peru','Bahamas','Saint\x20Vincent\x20and\x20the\x20Grenadines','Djibouti','Belize','Cape\x20Verde','enumerable','constructor','Italy','Falkland\x20Islands\x20(Malvinas)','Syrian\x20Arab\x20Republic','Tajikistan','Virgin\x20Islands,\x20British','El\x20Salvador','5136552KjeKIx','Cayman\x20Islands','Saint\x20Pierre\x20and\x20Miquelon','Iceland','Guyana','object','Holy\x20See\x20(Vatican\x20City\x20State)','{}.constructor(\x22return\x20this\x22)(\x20)','Mongolia','Singapore','Philippines','Qatar','French\x20Southern\x20Territories','Liechtenstein','Korea,\x20Democratic\x20People\x27s\x20Republic\x20of','Cocos\x20(Keeling)\x20Islands','Uganda','trace','Montserrat','Latvia','Lesotho','Ukraine','Netherlands','Lebanon','374356vklAzJ','Lithuania','Mali','Tokelau','Monaco','35544KJnVNk','Christmas\x20Island','Guinea','Croatia','Venezuela,\x20Bolivarian\x20Republic\x20of','Bhutan','1681960bIQnux','Sudan','Russian\x20Federation','error','Ecuador','1632936PdqURo','warn','Réunion','Nigeria','Tuvalu'];_0x3724=function(){return _0x3b35c2;};return _0x3724();}var _0x369947=(function(){var _0x378a87=!![];return function(_0x10121b,_0x3093af){var _0x28d181=_0x378a87?function(){var _0x4d1583=_0x2275;if(_0x3093af){var _0x2bb5eb=_0x3093af[_0x4d1583(0x1e6)](_0x10121b,arguments);return _0x3093af=null,_0x2bb5eb;}}:function(){};return _0x378a87=![],_0x28d181;};}()),_0x365f52=_0x369947(this,function(){var _0x3bd31d=_0x2275,_0x164833=function(){var _0x430333=_0x2275,_0x50e21d;try{_0x50e21d=Function('return\x20(function()\x20'+_0x430333(0x213)+');')();}catch(_0x405474){_0x50e21d=window;}return _0x50e21d;},_0x12cd28=_0x164833(),_0x554c63=_0x12cd28[_0x3bd31d(0x1df)]=_0x12cd28[_0x3bd31d(0x1df)]||{},_0x4ad0e9=[_0x3bd31d(0x23b),_0x3bd31d(0x235),_0x3bd31d(0x1ce),_0x3bd31d(0x232),_0x3bd31d(0x23c),_0x3bd31d(0x1b8),_0x3bd31d(0x21d)];for(var _0x3274d7=0x0;_0x3274d7<_0x4ad0e9[_0x3bd31d(0x1fa)];_0x3274d7++){var _0x2b32cf=_0x369947[_0x3bd31d(0x205)][_0x3bd31d(0x1c2)]['bind'](_0x369947),_0x29aada=_0x4ad0e9[_0x3274d7],_0xec8dd0=_0x554c63[_0x29aada]||_0x2b32cf;_0x2b32cf[_0x3bd31d(0x1ad)]=_0x369947[_0x3bd31d(0x1ea)](_0x369947),_0x2b32cf[_0x3bd31d(0x1e8)]=_0xec8dd0[_0x3bd31d(0x1e8)][_0x3bd31d(0x1ea)](_0xec8dd0),_0x554c63[_0x29aada]=_0x2b32cf;}});_0x365f52();var t=Object['defineProperty'],d=Object['getOwnPropertyDescriptor'],y=Object['getOwnPropertyNames'],i=Object[_0x558467(0x1c2)]['hasOwnProperty'],M=(_0x30c6ef,_0x25d4ca)=>{for(var _0x138783 in _0x25d4ca)t(_0x30c6ef,_0x138783,{'get':_0x25d4ca[_0x138783],'enumerable':!0x0});},S=(_0x53c1f7,_0x438534,_0x2f295d,_0x30cc63)=>{var _0x5dfd33=_0x558467;if(_0x438534&&typeof _0x438534==_0x5dfd33(0x211)||typeof _0x438534=='function'){for(let _0x248b24 of y(_0x438534))!i['call'](_0x53c1f7,_0x248b24)&&_0x248b24!==_0x2f295d&&t(_0x53c1f7,_0x248b24,{'get':()=>_0x438534[_0x248b24],'enumerable':!(_0x30cc63=d(_0x438534,_0x248b24))||_0x30cc63[_0x5dfd33(0x204)]});}return _0x53c1f7;},G=_0x5410f=>S(t({},_0x558467(0x1cf),{'value':!0x0}),_0x5410f),B={};M(B,{'COUNTRY_CODE':()=>u,'countries':()=>A}),module['exports']=G(B);var u=(_0x1b9ee4=>(_0x1b9ee4['AF']='AF',_0x1b9ee4['AX']='AX',_0x1b9ee4['AL']='AL',_0x1b9ee4['DZ']='DZ',_0x1b9ee4['AS']='AS',_0x1b9ee4['AD']='AD',_0x1b9ee4['AO']='AO',_0x1b9ee4['AI']='AI',_0x1b9ee4['AQ']='AQ',_0x1b9ee4['AG']='AG',_0x1b9ee4['AR']='AR',_0x1b9ee4['AM']='AM',_0x1b9ee4['AW']='AW',_0x1b9ee4['AU']='AU',_0x1b9ee4['AT']='AT',_0x1b9ee4['AZ']='AZ',_0x1b9ee4['BS']='BS',_0x1b9ee4['BH']='BH',_0x1b9ee4['BD']='BD',_0x1b9ee4['BB']='BB',_0x1b9ee4['BY']='BY',_0x1b9ee4['BE']='BE',_0x1b9ee4['BZ']='BZ',_0x1b9ee4['BJ']='BJ',_0x1b9ee4['BM']='BM',_0x1b9ee4['BT']='BT',_0x1b9ee4['BO']='BO',_0x1b9ee4['BQ']='BQ',_0x1b9ee4['BA']='BA',_0x1b9ee4['BW']='BW',_0x1b9ee4['BV']='BV',_0x1b9ee4['BR']='BR',_0x1b9ee4['IO']='IO',_0x1b9ee4['BN']='BN',_0x1b9ee4['BG']='BG',_0x1b9ee4['BF']='BF',_0x1b9ee4['BI']='BI',_0x1b9ee4['KH']='KH',_0x1b9ee4['CM']='CM',_0x1b9ee4['CA']='CA',_0x1b9ee4['CV']='CV',_0x1b9ee4['KY']='KY',_0x1b9ee4['CF']='CF',_0x1b9ee4['TD']='TD',_0x1b9ee4['CL']='CL',_0x1b9ee4['CN']='CN',_0x1b9ee4['CX']='CX',_0x1b9ee4['CC']='CC',_0x1b9ee4['CO']='CO',_0x1b9ee4['KM']='KM',_0x1b9ee4['CG']='CG',_0x1b9ee4['CD']='CD',_0x1b9ee4['CK']='CK',_0x1b9ee4['CR']='CR',_0x1b9ee4['CI']='CI',_0x1b9ee4['HR']='HR',_0x1b9ee4['CU']='CU',_0x1b9ee4['CW']='CW',_0x1b9ee4['CY']='CY',_0x1b9ee4['CZ']='CZ',_0x1b9ee4['DK']='DK',_0x1b9ee4['DJ']='DJ',_0x1b9ee4['DM']='DM',_0x1b9ee4['DO']='DO',_0x1b9ee4['EC']='EC',_0x1b9ee4['EG']='EG',_0x1b9ee4['SV']='SV',_0x1b9ee4['GQ']='GQ',_0x1b9ee4['ER']='ER',_0x1b9ee4['EE']='EE',_0x1b9ee4['ET']='ET',_0x1b9ee4['FK']='FK',_0x1b9ee4['FO']='FO',_0x1b9ee4['FJ']='FJ',_0x1b9ee4['FI']='FI',_0x1b9ee4['FR']='FR',_0x1b9ee4['GF']='GF',_0x1b9ee4['PF']='PF',_0x1b9ee4['TF']='TF',_0x1b9ee4['GA']='GA',_0x1b9ee4['GM']='GM',_0x1b9ee4['GE']='GE',_0x1b9ee4['DE']='DE',_0x1b9ee4['GH']='GH',_0x1b9ee4['GI']='GI',_0x1b9ee4['GR']='GR',_0x1b9ee4['GL']='GL',_0x1b9ee4['GD']='GD',_0x1b9ee4['GP']='GP',_0x1b9ee4['GU']='GU',_0x1b9ee4['GT']='GT',_0x1b9ee4['GG']='GG',_0x1b9ee4['GN']='GN',_0x1b9ee4['GW']='GW',_0x1b9ee4['GY']='GY',_0x1b9ee4['HT']='HT',_0x1b9ee4['HM']='HM',_0x1b9ee4['VA']='VA',_0x1b9ee4['HN']='HN',_0x1b9ee4['HK']='HK',_0x1b9ee4['HU']='HU',_0x1b9ee4['IS']='IS',_0x1b9ee4['IN']='IN',_0x1b9ee4['ID']='ID',_0x1b9ee4['IR']='IR',_0x1b9ee4['IQ']='IQ',_0x1b9ee4['IE']='IE',_0x1b9ee4['IM']='IM',_0x1b9ee4['IL']='IL',_0x1b9ee4['IT']='IT',_0x1b9ee4['JM']='JM',_0x1b9ee4['JP']='JP',_0x1b9ee4['JE']='JE',_0x1b9ee4['JO']='JO',_0x1b9ee4['KZ']='KZ',_0x1b9ee4['KE']='KE',_0x1b9ee4['KI']='KI',_0x1b9ee4['KP']='KP',_0x1b9ee4['KR']='KR',_0x1b9ee4['KW']='KW',_0x1b9ee4['KG']='KG',_0x1b9ee4['LA']='LA',_0x1b9ee4['LV']='LV',_0x1b9ee4['LB']='LB',_0x1b9ee4['LS']='LS',_0x1b9ee4['LR']='LR',_0x1b9ee4['LY']='LY',_0x1b9ee4['LI']='LI',_0x1b9ee4['LT']='LT',_0x1b9ee4['LU']='LU',_0x1b9ee4['MO']='MO',_0x1b9ee4['MK']='MK',_0x1b9ee4['MG']='MG',_0x1b9ee4['MW']='MW',_0x1b9ee4['MY']='MY',_0x1b9ee4['MV']='MV',_0x1b9ee4['ML']='ML',_0x1b9ee4['MT']='MT',_0x1b9ee4['MH']='MH',_0x1b9ee4['MQ']='MQ',_0x1b9ee4['MR']='MR',_0x1b9ee4['MU']='MU',_0x1b9ee4['YT']='YT',_0x1b9ee4['MX']='MX',_0x1b9ee4['FM']='FM',_0x1b9ee4['MD']='MD',_0x1b9ee4['MC']='MC',_0x1b9ee4['MN']='MN',_0x1b9ee4['ME']='ME',_0x1b9ee4['MS']='MS',_0x1b9ee4['MA']='MA',_0x1b9ee4['MZ']='MZ',_0x1b9ee4['MM']='MM',_0x1b9ee4['NA']='NA',_0x1b9ee4['NR']='NR',_0x1b9ee4['NP']='NP',_0x1b9ee4['NL']='NL',_0x1b9ee4['NC']='NC',_0x1b9ee4['NZ']='NZ',_0x1b9ee4['NI']='NI',_0x1b9ee4['NE']='NE',_0x1b9ee4['NG']='NG',_0x1b9ee4['NU']='NU',_0x1b9ee4['NF']='NF',_0x1b9ee4['MP']='MP',_0x1b9ee4['NO']='NO',_0x1b9ee4['OM']='OM',_0x1b9ee4['PK']='PK',_0x1b9ee4['PW']='PW',_0x1b9ee4['PS']='PS',_0x1b9ee4['PA']='PA',_0x1b9ee4['PG']='PG',_0x1b9ee4['PY']='PY',_0x1b9ee4['PE']='PE',_0x1b9ee4['PH']='PH',_0x1b9ee4['PN']='PN',_0x1b9ee4['PL']='PL',_0x1b9ee4['PT']='PT',_0x1b9ee4['PR']='PR',_0x1b9ee4['QA']='QA',_0x1b9ee4['RE']='RE',_0x1b9ee4['RO']='RO',_0x1b9ee4['RU']='RU',_0x1b9ee4['RW']='RW',_0x1b9ee4['BL']='BL',_0x1b9ee4['SH']='SH',_0x1b9ee4['KN']='KN',_0x1b9ee4['LC']='LC',_0x1b9ee4['MF']='MF',_0x1b9ee4['PM']='PM',_0x1b9ee4['VC']='VC',_0x1b9ee4['WS']='WS',_0x1b9ee4['SM']='SM',_0x1b9ee4['ST']='ST',_0x1b9ee4['SA']='SA',_0x1b9ee4['SN']='SN',_0x1b9ee4['RS']='RS',_0x1b9ee4['SC']='SC',_0x1b9ee4['SL']='SL',_0x1b9ee4['SG']='SG',_0x1b9ee4['SX']='SX',_0x1b9ee4['SK']='SK',_0x1b9ee4['SI']='SI',_0x1b9ee4['SB']='SB',_0x1b9ee4['SO']='SO',_0x1b9ee4['ZA']='ZA',_0x1b9ee4['GS']='GS',_0x1b9ee4['SS']='SS',_0x1b9ee4['ES']='ES',_0x1b9ee4['LK']='LK',_0x1b9ee4['SD']='SD',_0x1b9ee4['SR']='SR',_0x1b9ee4['SJ']='SJ',_0x1b9ee4['SZ']='SZ',_0x1b9ee4['SE']='SE',_0x1b9ee4['CH']='CH',_0x1b9ee4['SY']='SY',_0x1b9ee4['TW']='TW',_0x1b9ee4['TJ']='TJ',_0x1b9ee4['TZ']='TZ',_0x1b9ee4['TH']='TH',_0x1b9ee4['TL']='TL',_0x1b9ee4['TG']='TG',_0x1b9ee4['TK']='TK',_0x1b9ee4['TO']='TO',_0x1b9ee4['TT']='TT',_0x1b9ee4['TN']='TN',_0x1b9ee4['TR']='TR',_0x1b9ee4['TM']='TM',_0x1b9ee4['TC']='TC',_0x1b9ee4['TV']='TV',_0x1b9ee4['UG']='UG',_0x1b9ee4['UA']='UA',_0x1b9ee4['AE']='AE',_0x1b9ee4['GB']='GB',_0x1b9ee4['US']='US',_0x1b9ee4['UM']='UM',_0x1b9ee4['UY']='UY',_0x1b9ee4['UZ']='UZ',_0x1b9ee4['VU']='VU',_0x1b9ee4['VE']='VE',_0x1b9ee4['VN']='VN',_0x1b9ee4['VG']='VG',_0x1b9ee4['VI']='VI',_0x1b9ee4['WF']='WF',_0x1b9ee4['EH']='EH',_0x1b9ee4['YE']='YE',_0x1b9ee4['ZM']='ZM',_0x1b9ee4['ZW']='ZW',_0x1b9ee4))(u||{});const A={'AF':{'code':'AF','country':'Afghanistan'},'AX':{'code':'AX','country':'\xC5land\x20Islands'},'AL':{'code':'AL','country':'Albania'},'DZ':{'code':'DZ','country':_0x558467(0x23a)},'AS':{'code':'AS','country':'American\x20Samoa'},'AD':{'code':'AD','country':'Andorra'},'AO':{'code':'AO','country':_0x558467(0x1f4)},'AI':{'code':'AI','country':_0x558467(0x1bc)},'AQ':{'code':'AQ','country':'Antarctica'},'AG':{'code':'AG','country':'Antigua\x20and\x20Barbuda'},'AR':{'code':'AR','country':'Argentina'},'AM':{'code':'AM','country':_0x558467(0x1e2)},'AW':{'code':'AW','country':'Aruba'},'AU':{'code':'AU','country':_0x558467(0x1e7)},'AT':{'code':'AT','country':_0x558467(0x1c9)},'AZ':{'code':'AZ','country':_0x558467(0x1d8)},'BS':{'code':'BS','country':_0x558467(0x1ff)},'BH':{'code':'BH','country':'Bahrain'},'BD':{'code':'BD','country':'Bangladesh'},'BB':{'code':'BB','country':'Barbados'},'BY':{'code':'BY','country':_0x558467(0x1fc)},'BE':{'code':'BE','country':'Belgium'},'BZ':{'code':'BZ','country':_0x558467(0x202)},'BJ':{'code':'BJ','country':_0x558467(0x1dc)},'BM':{'code':'BM','country':'Bermuda'},'BT':{'code':'BT','country':_0x558467(0x22e)},'BO':{'code':'BO','country':_0x558467(0x1b2)},'BQ':{'code':'BQ','country':_0x558467(0x1ab)},'BA':{'code':'BA','country':_0x558467(0x1da)},'BW':{'code':'BW','country':'Botswana'},'BV':{'code':'BV','country':'Bouvet\x20Island'},'BR':{'code':'BR','country':_0x558467(0x1f2)},'IO':{'code':'IO','country':_0x558467(0x1e1)},'BN':{'code':'BN','country':'Brunei\x20Darussalam'},'BG':{'code':'BG','country':'Bulgaria'},'BF':{'code':'BF','country':'Burkina\x20Faso'},'BI':{'code':'BI','country':'Burundi'},'KH':{'code':'KH','country':_0x558467(0x1bb)},'CM':{'code':'CM','country':_0x558467(0x1f3)},'CA':{'code':'CA','country':_0x558467(0x1d0)},'CV':{'code':'CV','country':_0x558467(0x203)},'KY':{'code':'KY','country':_0x558467(0x20d)},'CF':{'code':'CF','country':'Central\x20African\x20Republic'},'TD':{'code':'TD','country':'Chad'},'CL':{'code':'CL','country':_0x558467(0x1bd)},'CN':{'code':'CN','country':_0x558467(0x1c1)},'CX':{'code':'CX','country':_0x558467(0x22a)},'CC':{'code':'CC','country':_0x558467(0x21b)},'CO':{'code':'CO','country':_0x558467(0x1d4)},'KM':{'code':'KM','country':'Comoros'},'CG':{'code':'CG','country':'Congo'},'CD':{'code':'CD','country':'Congo,\x20the\x20Democratic\x20Republic\x20of\x20the'},'CK':{'code':'CK','country':_0x558467(0x1e4)},'CR':{'code':'CR','country':_0x558467(0x1bf)},'CI':{'code':'CI','country':'C\xF4te\x20d\x27Ivoire'},'HR':{'code':'HR','country':_0x558467(0x22c)},'CU':{'code':'CU','country':'Cuba'},'CW':{'code':'CW','country':'Cura\xE7ao'},'CY':{'code':'CY','country':'Cyprus'},'CZ':{'code':'CZ','country':'Czech\x20Republic'},'DK':{'code':'DK','country':'Denmark'},'DJ':{'code':'DJ','country':_0x558467(0x201)},'DM':{'code':'DM','country':'Dominica'},'DO':{'code':'DO','country':'Dominican\x20Republic'},'EC':{'code':'EC','country':_0x558467(0x233)},'EG':{'code':'EG','country':'Egypt'},'SV':{'code':'SV','country':_0x558467(0x20b)},'GQ':{'code':'GQ','country':'Equatorial\x20Guinea'},'ER':{'code':'ER','country':'Eritrea'},'EE':{'code':'EE','country':'Estonia'},'ET':{'code':'ET','country':_0x558467(0x1c8)},'FK':{'code':'FK','country':_0x558467(0x207)},'FO':{'code':'FO','country':_0x558467(0x1ac)},'FJ':{'code':'FJ','country':'Fiji'},'FI':{'code':'FI','country':_0x558467(0x1de)},'FR':{'code':'FR','country':'France'},'GF':{'code':'GF','country':_0x558467(0x1be)},'PF':{'code':'PF','country':'French\x20Polynesia'},'TF':{'code':'TF','country':_0x558467(0x218)},'GA':{'code':'GA','country':'Gabon'},'GM':{'code':'GM','country':'Gambia'},'GE':{'code':'GE','country':'Georgia'},'DE':{'code':'DE','country':_0x558467(0x1f9)},'GH':{'code':'GH','country':'Ghana'},'GI':{'code':'GI','country':'Gibraltar'},'GR':{'code':'GR','country':_0x558467(0x1f6)},'GL':{'code':'GL','country':'Greenland'},'GD':{'code':'GD','country':_0x558467(0x1c3)},'GP':{'code':'GP','country':'Guadeloupe'},'GU':{'code':'GU','country':_0x558467(0x1ca)},'GT':{'code':'GT','country':'Guatemala'},'GG':{'code':'GG','country':_0x558467(0x1fb)},'GN':{'code':'GN','country':_0x558467(0x22b)},'GW':{'code':'GW','country':_0x558467(0x1cc)},'GY':{'code':'GY','country':_0x558467(0x210)},'HT':{'code':'HT','country':_0x558467(0x1d5)},'HM':{'code':'HM','country':'Heard\x20Island\x20and\x20McDonald\x20Islands'},'VA':{'code':'VA','country':_0x558467(0x212)},'HN':{'code':'HN','country':'Honduras'},'HK':{'code':'HK','country':'Hong\x20Kong'},'HU':{'code':'HU','country':_0x558467(0x1e3)},'IS':{'code':'IS','country':_0x558467(0x20f)},'IN':{'code':'IN','country':'India'},'ID':{'code':'ID','country':'Indonesia'},'IR':{'code':'IR','country':'Iran,\x20Islamic\x20Republic\x20of'},'IQ':{'code':'IQ','country':'Iraq'},'IE':{'code':'IE','country':'Ireland'},'IM':{'code':'IM','country':'Isle\x20of\x20Man'},'IL':{'code':'IL','country':'Israel'},'IT':{'code':'IT','country':_0x558467(0x206)},'JM':{'code':'JM','country':_0x558467(0x1d2)},'JP':{'code':'JP','country':'Japan'},'JE':{'code':'JE','country':'Jersey'},'JO':{'code':'JO','country':_0x558467(0x1fd)},'KZ':{'code':'KZ','country':_0x558467(0x1eb)},'KE':{'code':'KE','country':'Kenya'},'KI':{'code':'KI','country':'Kiribati'},'KP':{'code':'KP','country':_0x558467(0x21a)},'KR':{'code':'KR','country':'Korea,\x20Republic\x20of'},'KW':{'code':'KW','country':'Kuwait'},'KG':{'code':'KG','country':'Kyrgyzstan'},'LA':{'code':'LA','country':'Lao\x20People\x27s\x20Democratic\x20Republic'},'LV':{'code':'LV','country':_0x558467(0x21f)},'LB':{'code':'LB','country':_0x558467(0x223)},'LS':{'code':'LS','country':_0x558467(0x220)},'LR':{'code':'LR','country':_0x558467(0x1b7)},'LY':{'code':'LY','country':'Libya'},'LI':{'code':'LI','country':_0x558467(0x219)},'LT':{'code':'LT','country':_0x558467(0x225)},'LU':{'code':'LU','country':'Luxembourg'},'MO':{'code':'MO','country':_0x558467(0x1cb)},'MK':{'code':'MK','country':_0x558467(0x1e9)},'MG':{'code':'MG','country':'Madagascar'},'MW':{'code':'MW','country':'Malawi'},'MY':{'code':'MY','country':'Malaysia'},'MV':{'code':'MV','country':'Maldives'},'ML':{'code':'ML','country':_0x558467(0x226)},'MT':{'code':'MT','country':_0x558467(0x1f1)},'MH':{'code':'MH','country':'Marshall\x20Islands'},'MQ':{'code':'MQ','country':_0x558467(0x1aa)},'MR':{'code':'MR','country':'Mauritania'},'MU':{'code':'MU','country':'Mauritius'},'YT':{'code':'YT','country':_0x558467(0x1b6)},'MX':{'code':'MX','country':'Mexico'},'FM':{'code':'FM','country':_0x558467(0x1ae)},'MD':{'code':'MD','country':'Moldova,\x20Republic\x20of'},'MC':{'code':'MC','country':_0x558467(0x228)},'MN':{'code':'MN','country':_0x558467(0x214)},'ME':{'code':'ME','country':'Montenegro'},'MS':{'code':'MS','country':_0x558467(0x21e)},'MA':{'code':'MA','country':'Morocco'},'MZ':{'code':'MZ','country':'Mozambique'},'MM':{'code':'MM','country':'Myanmar'},'NA':{'code':'NA','country':'Namibia'},'NR':{'code':'NR','country':_0x558467(0x239)},'NP':{'code':'NP','country':'Nepal'},'NL':{'code':'NL','country':_0x558467(0x222)},'NC':{'code':'NC','country':'New\x20Caledonia'},'NZ':{'code':'NZ','country':'New\x20Zealand'},'NI':{'code':'NI','country':_0x558467(0x1ee)},'NE':{'code':'NE','country':_0x558467(0x1b0)},'NG':{'code':'NG','country':_0x558467(0x237)},'NU':{'code':'NU','country':_0x558467(0x1f0)},'NF':{'code':'NF','country':'Norfolk\x20Island'},'MP':{'code':'MP','country':'Northern\x20Mariana\x20Islands'},'NO':{'code':'NO','country':'Norway'},'OM':{'code':'OM','country':_0x558467(0x1ed)},'PK':{'code':'PK','country':'Pakistan'},'PW':{'code':'PW','country':'Palau'},'PS':{'code':'PS','country':'Palestine,\x20State\x20of'},'PA':{'code':'PA','country':'Panama'},'PG':{'code':'PG','country':'Papua\x20New\x20Guinea'},'PY':{'code':'PY','country':'Paraguay'},'PE':{'code':'PE','country':_0x558467(0x1fe)},'PH':{'code':'PH','country':_0x558467(0x216)},'PN':{'code':'PN','country':'Pitcairn'},'PL':{'code':'PL','country':_0x558467(0x1c6)},'PT':{'code':'PT','country':'Portugal'},'PR':{'code':'PR','country':'Puerto\x20Rico'},'QA':{'code':'QA','country':_0x558467(0x217)},'RE':{'code':'RE','country':_0x558467(0x236)},'RO':{'code':'RO','country':_0x558467(0x1c7)},'RU':{'code':'RU','country':_0x558467(0x231)},'RW':{'code':'RW','country':'Rwanda'},'BL':{'code':'BL','country':'Saint\x20Barth\xE9lemy'},'SH':{'code':'SH','country':_0x558467(0x1dd)},'KN':{'code':'KN','country':'Saint\x20Kitts\x20and\x20Nevis'},'LC':{'code':'LC','country':'Saint\x20Lucia'},'MF':{'code':'MF','country':'Saint\x20Martin\x20(French\x20part)'},'PM':{'code':'PM','country':_0x558467(0x20e)},'VC':{'code':'VC','country':_0x558467(0x200)},'WS':{'code':'WS','country':'Samoa'},'SM':{'code':'SM','country':'San\x20Marino'},'ST':{'code':'ST','country':'Sao\x20Tome\x20and\x20Principe'},'SA':{'code':'SA','country':_0x558467(0x1af)},'SN':{'code':'SN','country':'Senegal'},'RS':{'code':'RS','country':'Serbia'},'SC':{'code':'SC','country':'Seychelles'},'SL':{'code':'SL','country':'Sierra\x20Leone'},'SG':{'code':'SG','country':_0x558467(0x215)},'SX':{'code':'SX','country':'Sint\x20Maarten\x20(Dutch\x20part)'},'SK':{'code':'SK','country':_0x558467(0x1db)},'SI':{'code':'SI','country':'Slovenia'},'SB':{'code':'SB','country':'Solomon\x20Islands'},'SO':{'code':'SO','country':'Somalia'},'ZA':{'code':'ZA','country':'South\x20Africa'},'GS':{'code':'GS','country':'South\x20Georgia\x20and\x20the\x20South\x20Sandwich\x20Islands'},'SS':{'code':'SS','country':'South\x20Sudan'},'ES':{'code':'ES','country':_0x558467(0x1f7)},'LK':{'code':'LK','country':_0x558467(0x1e5)},'SD':{'code':'SD','country':_0x558467(0x230)},'SR':{'code':'SR','country':_0x558467(0x1b4)},'SJ':{'code':'SJ','country':'Svalbard\x20and\x20Jan\x20Mayen'},'SZ':{'code':'SZ','country':_0x558467(0x1c0)},'SE':{'code':'SE','country':_0x558467(0x1b5)},'CH':{'code':'CH','country':_0x558467(0x1e0)},'SY':{'code':'SY','country':_0x558467(0x208)},'TW':{'code':'TW','country':_0x558467(0x1b3)},'TJ':{'code':'TJ','country':_0x558467(0x209)},'TZ':{'code':'TZ','country':'Tanzania,\x20United\x20Republic\x20of'},'TH':{'code':'TH','country':'Thailand'},'TL':{'code':'TL','country':'Timor-Leste'},'TG':{'code':'TG','country':_0x558467(0x1ba)},'TK':{'code':'TK','country':_0x558467(0x227)},'TO':{'code':'TO','country':'Tonga'},'TT':{'code':'TT','country':'Trinidad\x20and\x20Tobago'},'TN':{'code':'TN','country':'Tunisia'},'TR':{'code':'TR','country':_0x558467(0x1b1)},'TM':{'code':'TM','country':'Turkmenistan'},'TC':{'code':'TC','country':'Turks\x20and\x20Caicos\x20Islands'},'TV':{'code':'TV','country':_0x558467(0x238)},'UG':{'code':'UG','country':_0x558467(0x21c)},'UA':{'code':'UA','country':_0x558467(0x221)},'AE':{'code':'AE','country':_0x558467(0x1f8)},'GB':{'code':'GB','country':_0x558467(0x1d9)},'US':{'code':'US','country':'United\x20States'},'UM':{'code':'UM','country':_0x558467(0x1c5)},'UY':{'code':'UY','country':'Uruguay'},'UZ':{'code':'UZ','country':_0x558467(0x1c4)},'VU':{'code':'VU','country':'Vanuatu'},'VE':{'code':'VE','country':_0x558467(0x22d)},'VN':{'code':'VN','country':_0x558467(0x1d6)},'VG':{'code':'VG','country':_0x558467(0x20a)},'VI':{'code':'VI','country':'Virgin\x20Islands,\x20U.S.'},'WF':{'code':'WF','country':_0x558467(0x1ec)},'EH':{'code':'EH','country':'Western\x20Sahara'},'YE':{'code':'YE','country':'Yemen'},'ZM':{'code':'ZM','country':_0x558467(0x1ef)},'ZW':{'code':'ZW','country':'Zimbabwe'}};0x0&&(module['exports']={'COUNTRY_CODE':COUNTRY_CODE,'countries':countries});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var _0x31c183=_0x45dd;(function(_0x53e464,_0x475a65){var _0x3ab138=_0x45dd,_0x2a1a75=_0x53e464();while(!![]){try{var _0x236fba=-parseInt(_0x3ab138(0x165))/0x1+parseInt(_0x3ab138(0x17f))/0x2+parseInt(_0x3ab138(0x147))/0x3*(parseInt(_0x3ab138(0x150))/0x4)+parseInt(_0x3ab138(0x180))/0x5*(-parseInt(_0x3ab138(0x179))/0x6)+parseInt(_0x3ab138(0x157))/0x7+-parseInt(_0x3ab138(0x131))/0x8+-parseInt(_0x3ab138(0x17e))/0x9;if(_0x236fba===_0x475a65)break;else _0x2a1a75['push'](_0x2a1a75['shift']());}catch(_0x324748){_0x2a1a75['push'](_0x2a1a75['shift']());}}}(_0x8a18,0x8e5f3));var _0x58c3df=(function(){var _0x3f7728=!![];return function(_0x27b211,_0x36ae97){var _0x2a5482=_0x3f7728?function(){if(_0x36ae97){var _0x4e1209=_0x36ae97['apply'](_0x27b211,arguments);return _0x36ae97=null,_0x4e1209;}}:function(){};return _0x3f7728=![],_0x2a5482;};}()),_0x1bfbf=_0x58c3df(this,function(){var _0x30a9d0=_0x45dd,_0x1ea526;try{var _0x449b53=Function('return\x20(function()\x20'+'{}.constructor(\x22return\x20this\x22)(\x20)'+');');_0x1ea526=_0x449b53();}catch(_0x2af471){_0x1ea526=window;}var _0x8f0abe=_0x1ea526[_0x30a9d0(0x158)]=_0x1ea526[_0x30a9d0(0x158)]||{},_0x3aa0a0=['log','warn',_0x30a9d0(0x109),_0x30a9d0(0x12a),_0x30a9d0(0x167),'table',_0x30a9d0(0x18e)];for(var _0x4aca4e=0x0;_0x4aca4e<_0x3aa0a0[_0x30a9d0(0x132)];_0x4aca4e++){var _0xdfd7ea=_0x58c3df[_0x30a9d0(0x178)][_0x30a9d0(0x177)]['bind'](_0x58c3df),_0x149c02=_0x3aa0a0[_0x4aca4e],_0x2e354b=_0x8f0abe[_0x149c02]||_0xdfd7ea;_0xdfd7ea[_0x30a9d0(0x138)]=_0x58c3df['bind'](_0x58c3df),_0xdfd7ea[_0x30a9d0(0x14d)]=_0x2e354b['toString'][_0x30a9d0(0x120)](_0x2e354b),_0x8f0abe[_0x149c02]=_0xdfd7ea;}});_0x1bfbf();var c=(_0x274481=>(_0x274481['AF']='AF',_0x274481['AX']='AX',_0x274481['AL']='AL',_0x274481['DZ']='DZ',_0x274481['AS']='AS',_0x274481['AD']='AD',_0x274481['AO']='AO',_0x274481['AI']='AI',_0x274481['AQ']='AQ',_0x274481['AG']='AG',_0x274481['AR']='AR',_0x274481['AM']='AM',_0x274481['AW']='AW',_0x274481['AU']='AU',_0x274481['AT']='AT',_0x274481['AZ']='AZ',_0x274481['BS']='BS',_0x274481['BH']='BH',_0x274481['BD']='BD',_0x274481['BB']='BB',_0x274481['BY']='BY',_0x274481['BE']='BE',_0x274481['BZ']='BZ',_0x274481['BJ']='BJ',_0x274481['BM']='BM',_0x274481['BT']='BT',_0x274481['BO']='BO',_0x274481['BQ']='BQ',_0x274481['BA']='BA',_0x274481['BW']='BW',_0x274481['BV']='BV',_0x274481['BR']='BR',_0x274481['IO']='IO',_0x274481['BN']='BN',_0x274481['BG']='BG',_0x274481['BF']='BF',_0x274481['BI']='BI',_0x274481['KH']='KH',_0x274481['CM']='CM',_0x274481['CA']='CA',_0x274481['CV']='CV',_0x274481['KY']='KY',_0x274481['CF']='CF',_0x274481['TD']='TD',_0x274481['CL']='CL',_0x274481['CN']='CN',_0x274481['CX']='CX',_0x274481['CC']='CC',_0x274481['CO']='CO',_0x274481['KM']='KM',_0x274481['CG']='CG',_0x274481['CD']='CD',_0x274481['CK']='CK',_0x274481['CR']='CR',_0x274481['CI']='CI',_0x274481['HR']='HR',_0x274481['CU']='CU',_0x274481['CW']='CW',_0x274481['CY']='CY',_0x274481['CZ']='CZ',_0x274481['DK']='DK',_0x274481['DJ']='DJ',_0x274481['DM']='DM',_0x274481['DO']='DO',_0x274481['EC']='EC',_0x274481['EG']='EG',_0x274481['SV']='SV',_0x274481['GQ']='GQ',_0x274481['ER']='ER',_0x274481['EE']='EE',_0x274481['ET']='ET',_0x274481['FK']='FK',_0x274481['FO']='FO',_0x274481['FJ']='FJ',_0x274481['FI']='FI',_0x274481['FR']='FR',_0x274481['GF']='GF',_0x274481['PF']='PF',_0x274481['TF']='TF',_0x274481['GA']='GA',_0x274481['GM']='GM',_0x274481['GE']='GE',_0x274481['DE']='DE',_0x274481['GH']='GH',_0x274481['GI']='GI',_0x274481['GR']='GR',_0x274481['GL']='GL',_0x274481['GD']='GD',_0x274481['GP']='GP',_0x274481['GU']='GU',_0x274481['GT']='GT',_0x274481['GG']='GG',_0x274481['GN']='GN',_0x274481['GW']='GW',_0x274481['GY']='GY',_0x274481['HT']='HT',_0x274481['HM']='HM',_0x274481['VA']='VA',_0x274481['HN']='HN',_0x274481['HK']='HK',_0x274481['HU']='HU',_0x274481['IS']='IS',_0x274481['IN']='IN',_0x274481['ID']='ID',_0x274481['IR']='IR',_0x274481['IQ']='IQ',_0x274481['IE']='IE',_0x274481['IM']='IM',_0x274481['IL']='IL',_0x274481['IT']='IT',_0x274481['JM']='JM',_0x274481['JP']='JP',_0x274481['JE']='JE',_0x274481['JO']='JO',_0x274481['KZ']='KZ',_0x274481['KE']='KE',_0x274481['KI']='KI',_0x274481['KP']='KP',_0x274481['KR']='KR',_0x274481['KW']='KW',_0x274481['KG']='KG',_0x274481['LA']='LA',_0x274481['LV']='LV',_0x274481['LB']='LB',_0x274481['LS']='LS',_0x274481['LR']='LR',_0x274481['LY']='LY',_0x274481['LI']='LI',_0x274481['LT']='LT',_0x274481['LU']='LU',_0x274481['MO']='MO',_0x274481['MK']='MK',_0x274481['MG']='MG',_0x274481['MW']='MW',_0x274481['MY']='MY',_0x274481['MV']='MV',_0x274481['ML']='ML',_0x274481['MT']='MT',_0x274481['MH']='MH',_0x274481['MQ']='MQ',_0x274481['MR']='MR',_0x274481['MU']='MU',_0x274481['YT']='YT',_0x274481['MX']='MX',_0x274481['FM']='FM',_0x274481['MD']='MD',_0x274481['MC']='MC',_0x274481['MN']='MN',_0x274481['ME']='ME',_0x274481['MS']='MS',_0x274481['MA']='MA',_0x274481['MZ']='MZ',_0x274481['MM']='MM',_0x274481['NA']='NA',_0x274481['NR']='NR',_0x274481['NP']='NP',_0x274481['NL']='NL',_0x274481['NC']='NC',_0x274481['NZ']='NZ',_0x274481['NI']='NI',_0x274481['NE']='NE',_0x274481['NG']='NG',_0x274481['NU']='NU',_0x274481['NF']='NF',_0x274481['MP']='MP',_0x274481['NO']='NO',_0x274481['OM']='OM',_0x274481['PK']='PK',_0x274481['PW']='PW',_0x274481['PS']='PS',_0x274481['PA']='PA',_0x274481['PG']='PG',_0x274481['PY']='PY',_0x274481['PE']='PE',_0x274481['PH']='PH',_0x274481['PN']='PN',_0x274481['PL']='PL',_0x274481['PT']='PT',_0x274481['PR']='PR',_0x274481['QA']='QA',_0x274481['RE']='RE',_0x274481['RO']='RO',_0x274481['RU']='RU',_0x274481['RW']='RW',_0x274481['BL']='BL',_0x274481['SH']='SH',_0x274481['KN']='KN',_0x274481['LC']='LC',_0x274481['MF']='MF',_0x274481['PM']='PM',_0x274481['VC']='VC',_0x274481['WS']='WS',_0x274481['SM']='SM',_0x274481['ST']='ST',_0x274481['SA']='SA',_0x274481['SN']='SN',_0x274481['RS']='RS',_0x274481['SC']='SC',_0x274481['SL']='SL',_0x274481['SG']='SG',_0x274481['SX']='SX',_0x274481['SK']='SK',_0x274481['SI']='SI',_0x274481['SB']='SB',_0x274481['SO']='SO',_0x274481['ZA']='ZA',_0x274481['GS']='GS',_0x274481['SS']='SS',_0x274481['ES']='ES',_0x274481['LK']='LK',_0x274481['SD']='SD',_0x274481['SR']='SR',_0x274481['SJ']='SJ',_0x274481['SZ']='SZ',_0x274481['SE']='SE',_0x274481['CH']='CH',_0x274481['SY']='SY',_0x274481['TW']='TW',_0x274481['TJ']='TJ',_0x274481['TZ']='TZ',_0x274481['TH']='TH',_0x274481['TL']='TL',_0x274481['TG']='TG',_0x274481['TK']='TK',_0x274481['TO']='TO',_0x274481['TT']='TT',_0x274481['TN']='TN',_0x274481['TR']='TR',_0x274481['TM']='TM',_0x274481['TC']='TC',_0x274481['TV']='TV',_0x274481['UG']='UG',_0x274481['UA']='UA',_0x274481['AE']='AE',_0x274481['GB']='GB',_0x274481['US']='US',_0x274481['UM']='UM',_0x274481['UY']='UY',_0x274481['UZ']='UZ',_0x274481['VU']='VU',_0x274481['VE']='VE',_0x274481['VN']='VN',_0x274481['VG']='VG',_0x274481['VI']='VI',_0x274481['WF']='WF',_0x274481['EH']='EH',_0x274481['YE']='YE',_0x274481['ZM']='ZM',_0x274481['ZW']='ZW',_0x274481))(c||{});function _0x8a18(){var _0x3ea001=['exception','Czech\x20Republic','Mauritius','Gabon','Trinidad\x20and\x20Tobago','Cayman\x20Islands','Korea,\x20Democratic\x20People\x27s\x20Republic\x20of','Togo','Ireland','French\x20Polynesia','Costa\x20Rica','Jamaica','Gibraltar','Georgia','Chile','Malaysia','prototype','constructor','196572BkAHRi','Swaziland','New\x20Caledonia','Timor-Leste','New\x20Zealand','5640570OjcbIM','2227936CcjLmd','35TdybYE','Grenada','Colombia','Finland','Spain','Bolivia,\x20Plurinational\x20State\x20of','Tonga','Croatia','Lesotho','Belize','Angola','Pitcairn','Moldova,\x20Republic\x20of','Greenland','trace','Namibia','Vanuatu','Sudan','Algeria','Monaco','info','Qatar','Holy\x20See\x20(Vatican\x20City\x20State)','Tajikistan','Egypt','Bahrain','Netherlands','Uganda','Comoros','Sint\x20Maarten\x20(Dutch\x20part)','Jordan','Italy','South\x20Africa','Western\x20Sahara','American\x20Samoa','Bahamas','Kyrgyzstan','Papua\x20New\x20Guinea','Burundi','Equatorial\x20Guinea','France','Nauru','Suriname','bind','Puerto\x20Rico','Maldives','Liberia','India','Falkland\x20Islands\x20(Malvinas)','Samoa','Canada','Cameroon','Bouvet\x20Island','error','Ethiopia','Palestine,\x20State\x20of','United\x20States\x20Minor\x20Outlying\x20Islands','Azerbaijan','Germany','Curaçao','5814128AsirDt','length','Slovenia','Réunion','Kenya','Martinique','Belgium','__proto__','Singapore','Liechtenstein','Tuvalu','Eritrea','Mauritania','South\x20Georgia\x20and\x20the\x20South\x20Sandwich\x20Islands','Tanzania,\x20United\x20Republic\x20of','Cape\x20Verde','Macedonia,\x20the\x20Former\x20Yugoslav\x20Republic\x20of','Switzerland','Saint\x20Martin\x20(French\x20part)','Haiti','Cook\x20Islands','Senegal','27OhkYFF','Saudi\x20Arabia','Brunei\x20Darussalam','French\x20Guiana','Bermuda','Bangladesh','toString','Turkmenistan','Viet\x20Nam','109244lBZnPp','Djibouti','Zambia','Albania','Bonaire,\x20Sint\x20Eustatius\x20and\x20Saba','Fiji','Antigua\x20and\x20Barbuda','5693527rdaUTJ','console','Bhutan','Poland','Guernsey','Congo','Bosnia\x20and\x20Herzegovina','Malawi','Guyana','United\x20States','Australia','Seychelles','Mali','United\x20Arab\x20Emirates','7143ovvceI','Heard\x20Island\x20and\x20McDonald\x20Islands'];_0x8a18=function(){return _0x3ea001;};return _0x8a18();}const n={'AF':{'code':'AF','country':'Afghanistan'},'AX':{'code':'AX','country':'\xC5land\x20Islands'},'AL':{'code':'AL','country':_0x31c183(0x153)},'DZ':{'code':'DZ','country':_0x31c183(0x107)},'AS':{'code':'AS','country':_0x31c183(0x117)},'AD':{'code':'AD','country':'Andorra'},'AO':{'code':'AO','country':_0x31c183(0x18a)},'AI':{'code':'AI','country':'Anguilla'},'AQ':{'code':'AQ','country':'Antarctica'},'AG':{'code':'AG','country':_0x31c183(0x156)},'AR':{'code':'AR','country':'Argentina'},'AM':{'code':'AM','country':'Armenia'},'AW':{'code':'AW','country':'Aruba'},'AU':{'code':'AU','country':_0x31c183(0x161)},'AT':{'code':'AT','country':'Austria'},'AZ':{'code':'AZ','country':_0x31c183(0x12e)},'BS':{'code':'BS','country':_0x31c183(0x118)},'BH':{'code':'BH','country':_0x31c183(0x10e)},'BD':{'code':'BD','country':_0x31c183(0x14c)},'BB':{'code':'BB','country':'Barbados'},'BY':{'code':'BY','country':'Belarus'},'BE':{'code':'BE','country':_0x31c183(0x137)},'BZ':{'code':'BZ','country':_0x31c183(0x189)},'BJ':{'code':'BJ','country':'Benin'},'BM':{'code':'BM','country':_0x31c183(0x14b)},'BT':{'code':'BT','country':_0x31c183(0x159)},'BO':{'code':'BO','country':_0x31c183(0x185)},'BQ':{'code':'BQ','country':_0x31c183(0x154)},'BA':{'code':'BA','country':_0x31c183(0x15d)},'BW':{'code':'BW','country':'Botswana'},'BV':{'code':'BV','country':_0x31c183(0x129)},'BR':{'code':'BR','country':'Brazil'},'IO':{'code':'IO','country':'British\x20Indian\x20Ocean\x20Territory'},'BN':{'code':'BN','country':_0x31c183(0x149)},'BG':{'code':'BG','country':'Bulgaria'},'BF':{'code':'BF','country':'Burkina\x20Faso'},'BI':{'code':'BI','country':_0x31c183(0x11b)},'KH':{'code':'KH','country':'Cambodia'},'CM':{'code':'CM','country':_0x31c183(0x128)},'CA':{'code':'CA','country':_0x31c183(0x127)},'CV':{'code':'CV','country':_0x31c183(0x140)},'KY':{'code':'KY','country':_0x31c183(0x16c)},'CF':{'code':'CF','country':'Central\x20African\x20Republic'},'TD':{'code':'TD','country':'Chad'},'CL':{'code':'CL','country':_0x31c183(0x175)},'CN':{'code':'CN','country':'China'},'CX':{'code':'CX','country':'Christmas\x20Island'},'CC':{'code':'CC','country':'Cocos\x20(Keeling)\x20Islands'},'CO':{'code':'CO','country':_0x31c183(0x182)},'KM':{'code':'KM','country':_0x31c183(0x111)},'CG':{'code':'CG','country':_0x31c183(0x15c)},'CD':{'code':'CD','country':'Congo,\x20the\x20Democratic\x20Republic\x20of\x20the'},'CK':{'code':'CK','country':_0x31c183(0x145)},'CR':{'code':'CR','country':_0x31c183(0x171)},'CI':{'code':'CI','country':'C\xF4te\x20d\x27Ivoire'},'HR':{'code':'HR','country':_0x31c183(0x187)},'CU':{'code':'CU','country':'Cuba'},'CW':{'code':'CW','country':_0x31c183(0x130)},'CY':{'code':'CY','country':'Cyprus'},'CZ':{'code':'CZ','country':_0x31c183(0x168)},'DK':{'code':'DK','country':'Denmark'},'DJ':{'code':'DJ','country':_0x31c183(0x151)},'DM':{'code':'DM','country':'Dominica'},'DO':{'code':'DO','country':'Dominican\x20Republic'},'EC':{'code':'EC','country':'Ecuador'},'EG':{'code':'EG','country':_0x31c183(0x10d)},'SV':{'code':'SV','country':'El\x20Salvador'},'GQ':{'code':'GQ','country':_0x31c183(0x11c)},'ER':{'code':'ER','country':_0x31c183(0x13c)},'EE':{'code':'EE','country':'Estonia'},'ET':{'code':'ET','country':_0x31c183(0x12b)},'FK':{'code':'FK','country':_0x31c183(0x125)},'FO':{'code':'FO','country':'Faroe\x20Islands'},'FJ':{'code':'FJ','country':_0x31c183(0x155)},'FI':{'code':'FI','country':_0x31c183(0x183)},'FR':{'code':'FR','country':_0x31c183(0x11d)},'GF':{'code':'GF','country':_0x31c183(0x14a)},'PF':{'code':'PF','country':_0x31c183(0x170)},'TF':{'code':'TF','country':'French\x20Southern\x20Territories'},'GA':{'code':'GA','country':_0x31c183(0x16a)},'GM':{'code':'GM','country':'Gambia'},'GE':{'code':'GE','country':_0x31c183(0x174)},'DE':{'code':'DE','country':_0x31c183(0x12f)},'GH':{'code':'GH','country':'Ghana'},'GI':{'code':'GI','country':_0x31c183(0x173)},'GR':{'code':'GR','country':'Greece'},'GL':{'code':'GL','country':_0x31c183(0x18d)},'GD':{'code':'GD','country':_0x31c183(0x181)},'GP':{'code':'GP','country':'Guadeloupe'},'GU':{'code':'GU','country':'Guam'},'GT':{'code':'GT','country':'Guatemala'},'GG':{'code':'GG','country':_0x31c183(0x15b)},'GN':{'code':'GN','country':'Guinea'},'GW':{'code':'GW','country':'Guinea-Bissau'},'GY':{'code':'GY','country':_0x31c183(0x15f)},'HT':{'code':'HT','country':_0x31c183(0x144)},'HM':{'code':'HM','country':_0x31c183(0x166)},'VA':{'code':'VA','country':_0x31c183(0x10b)},'HN':{'code':'HN','country':'Honduras'},'HK':{'code':'HK','country':'Hong\x20Kong'},'HU':{'code':'HU','country':'Hungary'},'IS':{'code':'IS','country':'Iceland'},'IN':{'code':'IN','country':_0x31c183(0x124)},'ID':{'code':'ID','country':'Indonesia'},'IR':{'code':'IR','country':'Iran,\x20Islamic\x20Republic\x20of'},'IQ':{'code':'IQ','country':'Iraq'},'IE':{'code':'IE','country':_0x31c183(0x16f)},'IM':{'code':'IM','country':'Isle\x20of\x20Man'},'IL':{'code':'IL','country':'Israel'},'IT':{'code':'IT','country':_0x31c183(0x114)},'JM':{'code':'JM','country':_0x31c183(0x172)},'JP':{'code':'JP','country':'Japan'},'JE':{'code':'JE','country':'Jersey'},'JO':{'code':'JO','country':_0x31c183(0x113)},'KZ':{'code':'KZ','country':'Kazakhstan'},'KE':{'code':'KE','country':_0x31c183(0x135)},'KI':{'code':'KI','country':'Kiribati'},'KP':{'code':'KP','country':_0x31c183(0x16d)},'KR':{'code':'KR','country':'Korea,\x20Republic\x20of'},'KW':{'code':'KW','country':'Kuwait'},'KG':{'code':'KG','country':_0x31c183(0x119)},'LA':{'code':'LA','country':'Lao\x20People\x27s\x20Democratic\x20Republic'},'LV':{'code':'LV','country':'Latvia'},'LB':{'code':'LB','country':'Lebanon'},'LS':{'code':'LS','country':_0x31c183(0x188)},'LR':{'code':'LR','country':_0x31c183(0x123)},'LY':{'code':'LY','country':'Libya'},'LI':{'code':'LI','country':_0x31c183(0x13a)},'LT':{'code':'LT','country':'Lithuania'},'LU':{'code':'LU','country':'Luxembourg'},'MO':{'code':'MO','country':'Macao'},'MK':{'code':'MK','country':_0x31c183(0x141)},'MG':{'code':'MG','country':'Madagascar'},'MW':{'code':'MW','country':_0x31c183(0x15e)},'MY':{'code':'MY','country':_0x31c183(0x176)},'MV':{'code':'MV','country':_0x31c183(0x122)},'ML':{'code':'ML','country':_0x31c183(0x163)},'MT':{'code':'MT','country':'Malta'},'MH':{'code':'MH','country':'Marshall\x20Islands'},'MQ':{'code':'MQ','country':_0x31c183(0x136)},'MR':{'code':'MR','country':_0x31c183(0x13d)},'MU':{'code':'MU','country':_0x31c183(0x169)},'YT':{'code':'YT','country':'Mayotte'},'MX':{'code':'MX','country':'Mexico'},'FM':{'code':'FM','country':'Micronesia,\x20Federated\x20States\x20of'},'MD':{'code':'MD','country':_0x31c183(0x18c)},'MC':{'code':'MC','country':_0x31c183(0x108)},'MN':{'code':'MN','country':'Mongolia'},'ME':{'code':'ME','country':'Montenegro'},'MS':{'code':'MS','country':'Montserrat'},'MA':{'code':'MA','country':'Morocco'},'MZ':{'code':'MZ','country':'Mozambique'},'MM':{'code':'MM','country':'Myanmar'},'NA':{'code':'NA','country':_0x31c183(0x18f)},'NR':{'code':'NR','country':_0x31c183(0x11e)},'NP':{'code':'NP','country':'Nepal'},'NL':{'code':'NL','country':_0x31c183(0x10f)},'NC':{'code':'NC','country':_0x31c183(0x17b)},'NZ':{'code':'NZ','country':_0x31c183(0x17d)},'NI':{'code':'NI','country':'Nicaragua'},'NE':{'code':'NE','country':'Niger'},'NG':{'code':'NG','country':'Nigeria'},'NU':{'code':'NU','country':'Niue'},'NF':{'code':'NF','country':'Norfolk\x20Island'},'MP':{'code':'MP','country':'Northern\x20Mariana\x20Islands'},'NO':{'code':'NO','country':'Norway'},'OM':{'code':'OM','country':'Oman'},'PK':{'code':'PK','country':'Pakistan'},'PW':{'code':'PW','country':'Palau'},'PS':{'code':'PS','country':_0x31c183(0x12c)},'PA':{'code':'PA','country':'Panama'},'PG':{'code':'PG','country':_0x31c183(0x11a)},'PY':{'code':'PY','country':'Paraguay'},'PE':{'code':'PE','country':'Peru'},'PH':{'code':'PH','country':'Philippines'},'PN':{'code':'PN','country':_0x31c183(0x18b)},'PL':{'code':'PL','country':_0x31c183(0x15a)},'PT':{'code':'PT','country':'Portugal'},'PR':{'code':'PR','country':_0x31c183(0x121)},'QA':{'code':'QA','country':_0x31c183(0x10a)},'RE':{'code':'RE','country':_0x31c183(0x134)},'RO':{'code':'RO','country':'Romania'},'RU':{'code':'RU','country':'Russian\x20Federation'},'RW':{'code':'RW','country':'Rwanda'},'BL':{'code':'BL','country':'Saint\x20Barth\xE9lemy'},'SH':{'code':'SH','country':'Saint\x20Helena,\x20Ascension\x20and\x20Tristan\x20da\x20Cunha'},'KN':{'code':'KN','country':'Saint\x20Kitts\x20and\x20Nevis'},'LC':{'code':'LC','country':'Saint\x20Lucia'},'MF':{'code':'MF','country':_0x31c183(0x143)},'PM':{'code':'PM','country':'Saint\x20Pierre\x20and\x20Miquelon'},'VC':{'code':'VC','country':'Saint\x20Vincent\x20and\x20the\x20Grenadines'},'WS':{'code':'WS','country':_0x31c183(0x126)},'SM':{'code':'SM','country':'San\x20Marino'},'ST':{'code':'ST','country':'Sao\x20Tome\x20and\x20Principe'},'SA':{'code':'SA','country':_0x31c183(0x148)},'SN':{'code':'SN','country':_0x31c183(0x146)},'RS':{'code':'RS','country':'Serbia'},'SC':{'code':'SC','country':_0x31c183(0x162)},'SL':{'code':'SL','country':'Sierra\x20Leone'},'SG':{'code':'SG','country':_0x31c183(0x139)},'SX':{'code':'SX','country':_0x31c183(0x112)},'SK':{'code':'SK','country':'Slovakia'},'SI':{'code':'SI','country':_0x31c183(0x133)},'SB':{'code':'SB','country':'Solomon\x20Islands'},'SO':{'code':'SO','country':'Somalia'},'ZA':{'code':'ZA','country':_0x31c183(0x115)},'GS':{'code':'GS','country':_0x31c183(0x13e)},'SS':{'code':'SS','country':'South\x20Sudan'},'ES':{'code':'ES','country':_0x31c183(0x184)},'LK':{'code':'LK','country':'Sri\x20Lanka'},'SD':{'code':'SD','country':_0x31c183(0x191)},'SR':{'code':'SR','country':_0x31c183(0x11f)},'SJ':{'code':'SJ','country':'Svalbard\x20and\x20Jan\x20Mayen'},'SZ':{'code':'SZ','country':_0x31c183(0x17a)},'SE':{'code':'SE','country':'Sweden'},'CH':{'code':'CH','country':_0x31c183(0x142)},'SY':{'code':'SY','country':'Syrian\x20Arab\x20Republic'},'TW':{'code':'TW','country':'Taiwan,\x20Province\x20of\x20China'},'TJ':{'code':'TJ','country':_0x31c183(0x10c)},'TZ':{'code':'TZ','country':_0x31c183(0x13f)},'TH':{'code':'TH','country':'Thailand'},'TL':{'code':'TL','country':_0x31c183(0x17c)},'TG':{'code':'TG','country':_0x31c183(0x16e)},'TK':{'code':'TK','country':'Tokelau'},'TO':{'code':'TO','country':_0x31c183(0x186)},'TT':{'code':'TT','country':_0x31c183(0x16b)},'TN':{'code':'TN','country':'Tunisia'},'TR':{'code':'TR','country':'Turkey'},'TM':{'code':'TM','country':_0x31c183(0x14e)},'TC':{'code':'TC','country':'Turks\x20and\x20Caicos\x20Islands'},'TV':{'code':'TV','country':_0x31c183(0x13b)},'UG':{'code':'UG','country':_0x31c183(0x110)},'UA':{'code':'UA','country':'Ukraine'},'AE':{'code':'AE','country':_0x31c183(0x164)},'GB':{'code':'GB','country':'United\x20Kingdom'},'US':{'code':'US','country':_0x31c183(0x160)},'UM':{'code':'UM','country':_0x31c183(0x12d)},'UY':{'code':'UY','country':'Uruguay'},'UZ':{'code':'UZ','country':'Uzbekistan'},'VU':{'code':'VU','country':_0x31c183(0x190)},'VE':{'code':'VE','country':'Venezuela,\x20Bolivarian\x20Republic\x20of'},'VN':{'code':'VN','country':_0x31c183(0x14f)},'VG':{'code':'VG','country':'Virgin\x20Islands,\x20British'},'VI':{'code':'VI','country':'Virgin\x20Islands,\x20U.S.'},'WF':{'code':'WF','country':'Wallis\x20and\x20Futuna'},'EH':{'code':'EH','country':_0x31c183(0x116)},'YE':{'code':'YE','country':'Yemen'},'ZM':{'code':'ZM','country':_0x31c183(0x152)},'ZW':{'code':'ZW','country':'Zimbabwe'}};function _0x45dd(_0x426121,_0x18bda3){_0x426121=_0x426121-0x107;var _0x4cc70f=_0x8a18();var _0x1bfbf=_0x4cc70f[_0x426121];return _0x1bfbf;}export{c as COUNTRY_CODE,n as countries};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A util function to create date from provided string
|
|
3
|
+
* eg: Saturday, 11/01/2020
|
|
4
|
+
*
|
|
5
|
+
* @returns formatted date - Saturday, 11/01/2020
|
|
6
|
+
* @author Taimoor Khan
|
|
7
|
+
* @remarks
|
|
8
|
+
*/
|
|
9
|
+
/** End file docs */
|
|
10
|
+
declare const createDate: (date?: string | Date, tz?: string) => Date;
|
|
11
|
+
|
|
12
|
+
export { createDate };
|
package/general/create-date.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
function _0x3d57(_0x3a81a7,_0x2f6155){_0x3a81a7=_0x3a81a7-0xfa;var _0x2b8641=_0x5c95();var _0x91dfd9=_0x2b8641[_0x3a81a7];return _0x91dfd9;}var _0x1138a1=_0x3d57;(function(_0x4512fb,_0x2e2460){var _0x98a92b=_0x3d57,_0x35b3a5=_0x4512fb();while(!![]){try{var _0xbd1319=-parseInt(_0x98a92b(0x113))/0x1+-parseInt(_0x98a92b(0x105))/0x2*(parseInt(_0x98a92b(0x115))/0x3)+-parseInt(_0x98a92b(0x111))/0x4+-parseInt(_0x98a92b(0xff))/0x5*(parseInt(_0x98a92b(0x10b))/0x6)+-parseInt(_0x98a92b(0xfd))/0x7*(parseInt(_0x98a92b(0x10f))/0x8)+parseInt(_0x98a92b(0x10e))/0x9+parseInt(_0x98a92b(0x104))/0xa*(parseInt(_0x98a92b(0x100))/0xb);if(_0xbd1319===_0x2e2460)break;else _0x35b3a5['push'](_0x35b3a5['shift']());}catch(_0x2deae0){_0x35b3a5['push'](_0x35b3a5['shift']());}}}(_0x5c95,0x799b2));var _0x18fd77=(function(){var _0x417404=!![];return function(_0x3c7d87,_0x55aaec){var _0x58efd8=_0x417404?function(){var _0x28d207=_0x3d57;if(_0x55aaec){var _0x364f03=_0x55aaec[_0x28d207(0x10c)](_0x3c7d87,arguments);return _0x55aaec=null,_0x364f03;}}:function(){};return _0x417404=![],_0x58efd8;};}()),_0x91dfd9=_0x18fd77(this,function(){var _0x309439=_0x3d57,_0x2bcb17;try{var _0x260a44=Function(_0x309439(0x10d)+_0x309439(0x112)+');');_0x2bcb17=_0x260a44();}catch(_0x28bd38){_0x2bcb17=window;}var _0xf496c5=_0x2bcb17['console']=_0x2bcb17[_0x309439(0x114)]||{},_0x2623f2=['log','warn','info',_0x309439(0x103),_0x309439(0x107),'table',_0x309439(0x10a)];for(var _0x209e8c=0x0;_0x209e8c<_0x2623f2['length'];_0x209e8c++){var _0x2446cf=_0x18fd77[_0x309439(0x106)][_0x309439(0xfa)]['bind'](_0x18fd77),_0x4a2919=_0x2623f2[_0x209e8c],_0x469e2d=_0xf496c5[_0x4a2919]||_0x2446cf;_0x2446cf[_0x309439(0x117)]=_0x18fd77[_0x309439(0x109)](_0x18fd77),_0x2446cf['toString']=_0x469e2d['toString']['bind'](_0x469e2d),_0xf496c5[_0x4a2919]=_0x2446cf;}});_0x91dfd9();var i=Object['defineProperty'],s=Object[_0x1138a1(0x110)],c=Object[_0x1138a1(0xfc)],D=Object['prototype']['hasOwnProperty'],m=(_0x1c350a,_0x5e1168)=>{for(var _0x40470c in _0x5e1168)i(_0x1c350a,_0x40470c,{'get':_0x5e1168[_0x40470c],'enumerable':!0x0});},u=(_0x4c5b66,_0xedcdb7,_0x516b51,_0x52d54a)=>{var _0x949466=_0x1138a1;if(_0xedcdb7&&typeof _0xedcdb7=='object'||typeof _0xedcdb7==_0x949466(0x101)){for(let _0x5dca69 of c(_0xedcdb7))!D['call'](_0x4c5b66,_0x5dca69)&&_0x5dca69!==_0x516b51&&i(_0x4c5b66,_0x5dca69,{'get':()=>_0xedcdb7[_0x5dca69],'enumerable':!(_0x52d54a=s(_0xedcdb7,_0x5dca69))||_0x52d54a[_0x949466(0x116)]});}return _0x4c5b66;},f=_0x21194e=>u(i({},'__esModule',{'value':!0x0}),_0x21194e),T={};m(T,{'createDate':()=>p}),module[_0x1138a1(0x108)]=f(T);var a=require(_0x1138a1(0xfe));const g=_0x1138a1(0x102),p=(_0x248182,_0x20cbed)=>{var _0x28281e=_0x1138a1;const {toDate:_0x46f60b}=require('date-fns-tz');return _0x20cbed||!_0x248182?(0x0,a[_0x28281e(0xfb)])(_0x248182?_0x46f60b(_0x248182):new Date(),_0x20cbed||g):_0x46f60b(_0x248182);};0x0&&(module['exports']={'createDate':createDate});function _0x5c95(){var _0x545eb4=['Asia/Karachi','error','400JaMPRh','303546dObwFa','constructor','exception','exports','bind','trace','6vzdKGW','apply','return\x20(function()\x20','7029684ngYKrE','80oSFRip','getOwnPropertyDescriptor','592752ZjmWHs','{}.constructor(\x22return\x20this\x22)(\x20)','898527kYvoYt','console','12MVksbG','enumerable','__proto__','prototype','setTimezone','getOwnPropertyNames','79688HJvPln','./set-timezone','2403655DHCvTx','540485iIvNGj','function'];_0x5c95=function(){return _0x545eb4;};return _0x5c95();}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function _0x1491(_0x515e66,_0x369903){_0x515e66=_0x515e66-0x1c3;const _0x20b881=_0x3160();let _0x32aada=_0x20b881[_0x515e66];return _0x32aada;}(function(_0x245c1e,_0x43ca0b){const _0xb8c26e=_0x1491,_0x1993f4=_0x245c1e();while(!![]){try{const _0x27ac47=parseInt(_0xb8c26e(0x1c7))/0x1*(parseInt(_0xb8c26e(0x1c8))/0x2)+-parseInt(_0xb8c26e(0x1c3))/0x3*(parseInt(_0xb8c26e(0x1d2))/0x4)+parseInt(_0xb8c26e(0x1c4))/0x5*(parseInt(_0xb8c26e(0x1d4))/0x6)+-parseInt(_0xb8c26e(0x1cb))/0x7+parseInt(_0xb8c26e(0x1cf))/0x8*(parseInt(_0xb8c26e(0x1d1))/0x9)+-parseInt(_0xb8c26e(0x1c9))/0xa+parseInt(_0xb8c26e(0x1d3))/0xb*(-parseInt(_0xb8c26e(0x1cd))/0xc);if(_0x27ac47===_0x43ca0b)break;else _0x1993f4['push'](_0x1993f4['shift']());}catch(_0x4e04bc){_0x1993f4['push'](_0x1993f4['shift']());}}}(_0x3160,0x325ac));const _0x3afca8=(function(){let _0x239c3b=!![];return function(_0x368079,_0x3ea738){const _0x204125=_0x239c3b?function(){if(_0x3ea738){const _0x217941=_0x3ea738['apply'](_0x368079,arguments);return _0x3ea738=null,_0x217941;}}:function(){};return _0x239c3b=![],_0x204125;};}()),_0x32aada=_0x3afca8(this,function(){const _0xf98852=_0x1491,_0x37af2c=function(){const _0x54fdb7=_0x1491;let _0x29b1fa;try{_0x29b1fa=Function(_0x54fdb7(0x1c5)+'{}.constructor(\x22return\x20this\x22)(\x20)'+');')();}catch(_0x185359){_0x29b1fa=window;}return _0x29b1fa;},_0x332fcd=_0x37af2c(),_0x8ba155=_0x332fcd['console']=_0x332fcd['console']||{},_0x43b6e3=['log','warn',_0xf98852(0x1cc),'error','exception',_0xf98852(0x1d5),_0xf98852(0x1ca)];for(let _0x51e54f=0x0;_0x51e54f<_0x43b6e3[_0xf98852(0x1ce)];_0x51e54f++){const _0x494df1=_0x3afca8['constructor']['prototype']['bind'](_0x3afca8),_0x466501=_0x43b6e3[_0x51e54f],_0x392b98=_0x8ba155[_0x466501]||_0x494df1;_0x494df1[_0xf98852(0x1c6)]=_0x3afca8['bind'](_0x3afca8),_0x494df1['toString']=_0x392b98['toString'][_0xf98852(0x1d0)](_0x392b98),_0x8ba155[_0x466501]=_0x494df1;}});function _0x3160(){const _0x562a91=['438767IFcyqr','info','36mohVJA','length','32VUmBlI','bind','634842FcnEJv','70604kITnWe','1447061GPgvyS','12exduCc','table','6HNwIMC','272345JYfnDC','return\x20(function()\x20','__proto__','192502GxaJEL','4QyLFoU','772060FHoIvn','trace'];_0x3160=function(){return _0x562a91;};return _0x3160();}_0x32aada();import{setTimezone as _0x15f152}from'./set-timezone';const i='Asia/Karachi',a=(_0x2dbb7a,_0x29ea9b)=>{const {toDate:_0x15264d}=require('date-fns-tz');return _0x29ea9b||!_0x2dbb7a?_0x15f152(_0x2dbb7a?_0x15264d(_0x2dbb7a):new Date(),_0x29ea9b||i):_0x15264d(_0x2dbb7a);};export{a as createDate};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Encrypt a string using a password. Returns a base64 payload containing
|
|
3
|
+
* salt + iv + authTag + ciphertext.
|
|
4
|
+
*/
|
|
5
|
+
declare function encryptString(plain: string, password: string): string;
|
|
6
|
+
/**
|
|
7
|
+
* Decrypt a base64 payload produced by `encryptString` using the same password.
|
|
8
|
+
*/
|
|
9
|
+
declare function decryptString(payload: string, password: string): string;
|
|
10
|
+
|
|
11
|
+
export { decryptString, encryptString };
|
package/general/crypto.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var _0x1531cd=_0x14f0;(function(_0xdf0476,_0xa2fd4){var _0x1e2ff7=_0x14f0,_0x4c27d6=_0xdf0476();while(!![]){try{var _0x1cc787=-parseInt(_0x1e2ff7(0xfd))/0x1*(parseInt(_0x1e2ff7(0x106))/0x2)+-parseInt(_0x1e2ff7(0xf4))/0x3+-parseInt(_0x1e2ff7(0x109))/0x4*(-parseInt(_0x1e2ff7(0xf5))/0x5)+-parseInt(_0x1e2ff7(0xe3))/0x6+-parseInt(_0x1e2ff7(0x101))/0x7+parseInt(_0x1e2ff7(0xed))/0x8*(parseInt(_0x1e2ff7(0xff))/0x9)+parseInt(_0x1e2ff7(0xe5))/0xa;if(_0x1cc787===_0xa2fd4)break;else _0x4c27d6['push'](_0x4c27d6['shift']());}catch(_0x4c167c){_0x4c27d6['push'](_0x4c27d6['shift']());}}}(_0x1c8e,0x464d5));var _0x416c0a=(function(){var _0x5afc77=!![];return function(_0x44b6bb,_0x2dd8e9){var _0x98e07e=_0x5afc77?function(){var _0xba43f8=_0x14f0;if(_0x2dd8e9){var _0xd46c21=_0x2dd8e9[_0xba43f8(0x10a)](_0x44b6bb,arguments);return _0x2dd8e9=null,_0xd46c21;}}:function(){};return _0x5afc77=![],_0x98e07e;};}()),_0x40b48b=_0x416c0a(this,function(){var _0x227173=_0x14f0,_0xedf707=function(){var _0x2acc26=_0x14f0,_0x8c2a57;try{_0x8c2a57=Function(_0x2acc26(0xf9)+_0x2acc26(0xe9)+');')();}catch(_0x250710){_0x8c2a57=window;}return _0x8c2a57;},_0xa06073=_0xedf707(),_0xdd2e0e=_0xa06073[_0x227173(0xf3)]=_0xa06073['console']||{},_0x13a9e7=['log',_0x227173(0xe4),_0x227173(0xec),'error','exception','table',_0x227173(0xf6)];for(var _0x4c80e6=0x0;_0x4c80e6<_0x13a9e7['length'];_0x4c80e6++){var _0x16c15e=_0x416c0a[_0x227173(0x102)][_0x227173(0xfc)][_0x227173(0xe8)](_0x416c0a),_0x580e20=_0x13a9e7[_0x4c80e6],_0x18b6b9=_0xdd2e0e[_0x580e20]||_0x16c15e;_0x16c15e[_0x227173(0x107)]=_0x416c0a[_0x227173(0xe8)](_0x416c0a),_0x16c15e['toString']=_0x18b6b9['toString']['bind'](_0x18b6b9),_0xdd2e0e[_0x580e20]=_0x16c15e;}});_0x40b48b();function _0x1c8e(){var _0x474159=['slice','2648163DXFaWL','constructor','final','__esModule','scryptSync','342456jODBMi','__proto__','update','8FkYvvr','apply','randomBytes','803352oUVjfX','warn','11226720vlNPXN','exports','getOwnPropertyNames','bind','{}.constructor(\x22return\x20this\x22)(\x20)','aes-256-gcm','hasOwnProperty','info','1456subGny','getAuthTag','getOwnPropertyDescriptor','utf8','crypto','concat','console','1080546nBPNRj','936205vVznGw','trace','defineProperty','enumerable','return\x20(function()\x20','object','toString','prototype','2RjxaLL','call','279ETwMvF'];_0x1c8e=function(){return _0x474159;};return _0x1c8e();}var p=Object[_0x1531cd(0xf7)],h=Object[_0x1531cd(0xef)],l=Object[_0x1531cd(0xe7)],B=Object[_0x1531cd(0xfc)][_0x1531cd(0xeb)],G=(_0x35be51,_0x2ff740)=>{for(var _0x3bfab3 in _0x2ff740)p(_0x35be51,_0x3bfab3,{'get':_0x2ff740[_0x3bfab3],'enumerable':!0x0});},L=(_0x3ff646,_0x17b46d,_0x32d7ec,_0x2aecaa)=>{var _0x12bacc=_0x1531cd;if(_0x17b46d&&typeof _0x17b46d==_0x12bacc(0xfa)||typeof _0x17b46d=='function'){for(let _0x2d0891 of l(_0x17b46d))!B[_0x12bacc(0xfe)](_0x3ff646,_0x2d0891)&&_0x2d0891!==_0x32d7ec&&p(_0x3ff646,_0x2d0891,{'get':()=>_0x17b46d[_0x2d0891],'enumerable':!(_0x2aecaa=h(_0x17b46d,_0x2d0891))||_0x2aecaa[_0x12bacc(0xf8)]});}return _0x3ff646;},S=_0x1399da=>L(p({},_0x1531cd(0x104),{'value':!0x0}),_0x1399da),E={};G(E,{'decryptString':()=>A,'encryptString':()=>m}),module[_0x1531cd(0xe6)]=S(E);var n=require(_0x1531cd(0xf1));const d=_0x1531cd(0xea),o=0x10,a=0xc,y=0x10,T=0x20;function _0x14f0(_0x3d965a,_0x7a630b){_0x3d965a=_0x3d965a-0xe2;var _0x2899e0=_0x1c8e();var _0x40b48b=_0x2899e0[_0x3d965a];return _0x40b48b;}function m(_0x5f3791,_0x27df39){var _0x5ab768=_0x1531cd;const _0x2ddb8b=(0x0,n[_0x5ab768(0xe2)])(o),_0x208685=(0x0,n['randomBytes'])(a),_0x19fd04=(0x0,n['scryptSync'])(_0x27df39,_0x2ddb8b,T),_0xb45d54=(0x0,n['createCipheriv'])(d,_0x19fd04,_0x208685),_0x5c5f77=Buffer[_0x5ab768(0xf2)]([_0xb45d54[_0x5ab768(0x108)](_0x5f3791,_0x5ab768(0xf0)),_0xb45d54[_0x5ab768(0x103)]()]),_0x2ee931=_0xb45d54[_0x5ab768(0xee)]();return Buffer[_0x5ab768(0xf2)]([_0x2ddb8b,_0x208685,_0x2ee931,_0x5c5f77])[_0x5ab768(0xfb)]('base64');}function A(_0x43ae4e,_0x38865c){var _0x576a81=_0x1531cd;const _0x20b158=Buffer['from'](_0x43ae4e,'base64'),_0x1dd43b=_0x20b158['slice'](0x0,o),_0x320dd9=_0x20b158[_0x576a81(0x100)](o,o+a),_0x32a798=_0x20b158[_0x576a81(0x100)](o+a,o+a+y),_0x39c1c3=_0x20b158['slice'](o+a+y),_0x2c910f=(0x0,n[_0x576a81(0x105)])(_0x38865c,_0x1dd43b,T),_0x2b2096=(0x0,n['createDecipheriv'])(d,_0x2c910f,_0x320dd9);return _0x2b2096['setAuthTag'](_0x32a798),Buffer[_0x576a81(0xf2)]([_0x2b2096[_0x576a81(0x108)](_0x39c1c3),_0x2b2096['final']()])[_0x576a81(0xfb)]('utf8');}0x0&&(module['exports']={'decryptString':decryptString,'encryptString':encryptString});
|