@react-pakistan/util-functions 3.0.0 → 3.0.2
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.js +1 -1
- package/constants/api-methods.mjs +1 -1
- package/constants/cache-time.js +1 -1
- package/constants/cache-time.mjs +1 -1
- package/constants/countries-timezones.js +1 -1
- package/constants/countries-timezones.mjs +1 -1
- package/constants/currencies.js +1 -1
- package/constants/currencies.mjs +1 -1
- package/constants/dial-codes.js +1 -1
- package/constants/dial-codes.mjs +1 -1
- package/constants/layout-direction.js +1 -1
- package/constants/layout-direction.mjs +1 -1
- package/constants/react-pakistan-meta.js +1 -1
- package/constants/react-pakistan-meta.mjs +1 -1
- package/constants/react-pakistan.js +12 -1
- package/constants/react-pakistan.mjs +12 -1
- package/constants/select-value-delimiter.js +1 -1
- package/constants/select-value-delimiter.mjs +1 -1
- package/constants/social-media-colors.js +1 -1
- package/constants/social-media-colors.mjs +1 -1
- package/constants/social-media-sizes.js +1 -1
- package/constants/social-media-sizes.mjs +1 -1
- package/constants/user-roles.js +1 -1
- package/constants/user-roles.mjs +1 -1
- package/factory/generic-component-factory.js +1 -1
- package/factory/generic-component-factory.mjs +1 -1
- package/factory/generic-module-factory.js +1 -1
- package/factory/generic-module-factory.mjs +1 -1
- package/general/basic-get.js +1 -1
- package/general/basic-get.mjs +1 -1
- package/general/basic-post.js +1 -1
- package/general/basic-post.mjs +1 -1
- package/general/calculate-pages.js +1 -1
- package/general/calculate-pages.mjs +1 -1
- package/general/camel-to-sentence-case.js +1 -1
- package/general/camel-to-sentence-case.mjs +1 -1
- package/general/check-even-odd-length.js +1 -1
- package/general/check-even-odd-length.mjs +1 -1
- package/general/clear-cache.js +1 -1
- package/general/clear-cache.mjs +1 -1
- package/general/cnic-formatter.js +1 -1
- package/general/cnic-formatter.mjs +1 -1
- package/general/convert-url-to-base64.js +1 -1
- package/general/convert-url-to-base64.mjs +1 -1
- package/general/countries.js +1 -1
- package/general/countries.mjs +1 -1
- package/general/create-date.js +1 -1
- package/general/create-date.mjs +1 -1
- package/general/crypto.js +1 -1
- package/general/crypto.mjs +1 -1
- package/general/delete-image-from-private-supabase.js +1 -1
- package/general/delete-image-from-private-supabase.mjs +1 -1
- package/general/delete-image-from-public-supabase.js +1 -1
- package/general/delete-image-from-public-supabase.mjs +1 -1
- package/general/download-from-url.js +1 -1
- package/general/download-from-url.mjs +1 -1
- package/general/dynamic-page-limit.js +1 -1
- package/general/dynamic-page-limit.mjs +1 -1
- package/general/enum-to-text.js +1 -1
- package/general/enum-to-text.mjs +1 -1
- package/general/fetch-data.js +1 -1
- package/general/fetch-data.mjs +1 -1
- package/general/fetch-supabase-image.js +1 -1
- package/general/fetch-supabase-image.mjs +1 -1
- package/general/fetch-supabase-private-assets.js +1 -1
- package/general/fetch-supabase-private-assets.mjs +1 -1
- package/general/format-date.js +1 -1
- package/general/format-date.mjs +1 -1
- package/general/format-number.js +1 -1
- package/general/format-number.mjs +1 -1
- package/general/format-phone-display.js +1 -1
- package/general/format-phone-display.mjs +1 -1
- package/general/format-phone.js +1 -1
- package/general/format-phone.mjs +1 -1
- package/general/format-pricing.js +1 -1
- package/general/format-pricing.mjs +1 -1
- package/general/format-secs.js +1 -1
- package/general/format-secs.mjs +1 -1
- package/general/format-time.js +1 -1
- package/general/format-time.mjs +1 -1
- package/general/format-value.js +1 -1
- package/general/format-value.mjs +1 -1
- package/general/full-month-range.js +1 -1
- package/general/full-month-range.mjs +1 -1
- package/general/full-year-range.js +1 -1
- package/general/full-year-range.mjs +1 -1
- package/general/generate-article-schema.js +1 -1
- package/general/generate-article-schema.mjs +1 -1
- package/general/generate-blog-schema.js +1 -1
- package/general/generate-blog-schema.mjs +1 -1
- package/general/generate-book-schema.js +1 -1
- package/general/generate-book-schema.mjs +1 -1
- package/general/generate-breadcrumb-schema.js +1 -1
- package/general/generate-breadcrumb-schema.mjs +1 -1
- package/general/generate-carousel-schema.js +1 -1
- package/general/generate-carousel-schema.mjs +1 -1
- package/general/generate-course-schema.js +1 -1
- package/general/generate-course-schema.mjs +1 -1
- package/general/generate-dataset-schema.js +1 -1
- package/general/generate-dataset-schema.mjs +1 -1
- package/general/generate-discussion-forum-schema.js +1 -1
- package/general/generate-discussion-forum-schema.mjs +1 -1
- package/general/generate-education-schema.js +1 -1
- package/general/generate-education-schema.mjs +1 -1
- package/general/generate-employer-aggregate-rating-schema.js +1 -1
- package/general/generate-employer-aggregate-rating-schema.mjs +1 -1
- package/general/generate-event-schema.js +1 -1
- package/general/generate-event-schema.mjs +1 -1
- package/general/generate-faq-schema.js +1 -1
- package/general/generate-faq-schema.mjs +1 -1
- package/general/generate-grid.js +1 -1
- package/general/generate-grid.mjs +1 -1
- package/general/generate-image-metadata-schema.js +1 -1
- package/general/generate-image-metadata-schema.mjs +1 -1
- package/general/generate-job-posting-schema.js +1 -1
- package/general/generate-job-posting-schema.mjs +1 -1
- package/general/generate-local-business-schema.js +1 -1
- package/general/generate-local-business-schema.mjs +1 -1
- package/general/generate-math-solver-schema.js +1 -1
- package/general/generate-math-solver-schema.mjs +1 -1
- package/general/generate-movie-carousel-schema.js +1 -1
- package/general/generate-movie-carousel-schema.mjs +1 -1
- package/general/generate-organization-schema.js +1 -1
- package/general/generate-organization-schema.mjs +1 -1
- package/general/generate-profile-page-schema.js +1 -1
- package/general/generate-profile-page-schema.mjs +1 -1
- package/general/generate-qa-page-schema.js +1 -1
- package/general/generate-qa-page-schema.mjs +1 -1
- package/general/generate-recipe-schema.js +1 -1
- package/general/generate-recipe-schema.mjs +1 -1
- package/general/generate-ref.js +1 -1
- package/general/generate-ref.mjs +1 -1
- package/general/generate-review-snippet-schema.js +1 -1
- package/general/generate-review-snippet-schema.mjs +1 -1
- package/general/generate-shopping-loyalty-program-schema.js +1 -1
- package/general/generate-shopping-loyalty-program-schema.mjs +1 -1
- package/general/generate-shopping-merchant-listing-schema.js +1 -1
- package/general/generate-shopping-merchant-listing-schema.mjs +1 -1
- package/general/generate-shopping-merchant-return-policy-schema.js +1 -1
- package/general/generate-shopping-merchant-return-policy-schema.mjs +1 -1
- package/general/generate-shopping-merchant-shipping-policy-schema.js +1 -1
- package/general/generate-shopping-merchant-shipping-policy-schema.mjs +1 -1
- package/general/generate-shopping-overview-schema.js +1 -1
- package/general/generate-shopping-overview-schema.mjs +1 -1
- package/general/generate-shopping-product-snippet-schema.js +1 -1
- package/general/generate-shopping-product-snippet-schema.mjs +1 -1
- package/general/generate-shopping-variants-schema.js +1 -1
- package/general/generate-shopping-variants-schema.mjs +1 -1
- package/general/generate-software-app-schema.js +1 -1
- package/general/generate-software-app-schema.mjs +1 -1
- package/general/generate-speakable-schema.js +1 -1
- package/general/generate-speakable-schema.mjs +1 -1
- package/general/generate-subscription-schema.js +1 -1
- package/general/generate-subscription-schema.mjs +1 -1
- package/general/generate-vacation-rental-schema.js +1 -1
- package/general/generate-vacation-rental-schema.mjs +1 -1
- package/general/generate-video-schema.js +1 -1
- package/general/generate-video-schema.mjs +1 -1
- package/general/generic-cache.js +1 -1
- package/general/generic-cache.mjs +1 -1
- package/general/get-available-page-limit.js +1 -1
- package/general/get-available-page-limit.mjs +1 -1
- package/general/get-calendar-current-month.js +1 -1
- package/general/get-calendar-current-month.mjs +1 -1
- package/general/get-calendar-dates.js +1 -1
- package/general/get-calendar-dates.mjs +1 -1
- package/general/get-calendar-next-month.js +1 -1
- package/general/get-calendar-next-month.mjs +1 -1
- package/general/get-calendar-previous-month.js +1 -1
- package/general/get-calendar-previous-month.mjs +1 -1
- package/general/get-current-year.js +1 -1
- package/general/get-current-year.mjs +1 -1
- package/general/get-day-name.js +1 -1
- package/general/get-day-name.mjs +1 -1
- package/general/get-dial-code.js +1 -1
- package/general/get-dial-code.mjs +1 -1
- package/general/get-full-name.js +1 -1
- package/general/get-full-name.mjs +1 -1
- package/general/get-href.js +1 -1
- package/general/get-href.mjs +1 -1
- package/general/get-month-name.js +1 -1
- package/general/get-month-name.mjs +1 -1
- package/general/get-month-number.js +1 -1
- package/general/get-month-number.mjs +1 -1
- package/general/get-number-of-days-in-month.js +1 -1
- package/general/get-number-of-days-in-month.mjs +1 -1
- package/general/get-pathname.js +1 -1
- package/general/get-pathname.mjs +1 -1
- package/general/get-week-day.js +1 -1
- package/general/get-week-day.mjs +1 -1
- package/general/image-url-to-base64.js +1 -1
- package/general/image-url-to-base64.mjs +1 -1
- package/general/is-created-or-updated.js +1 -1
- package/general/is-created-or-updated.mjs +1 -1
- package/general/is-next-button-disabled.js +1 -1
- package/general/is-next-button-disabled.mjs +1 -1
- package/general/is-odd.js +1 -1
- package/general/is-odd.mjs +1 -1
- package/general/is-previous-button-disabled.js +1 -1
- package/general/is-previous-button-disabled.mjs +1 -1
- package/general/linear-gradients.js +1 -1
- package/general/linear-gradients.mjs +1 -1
- package/general/multi-part-search.js +1 -1
- package/general/multi-part-search.mjs +1 -1
- package/general/normalize-phone.js +1 -1
- package/general/normalize-phone.mjs +1 -1
- package/general/parse-frontmatter.js +2 -1
- package/general/parse-frontmatter.mjs +2 -1
- package/general/remove-data-image-prefix.js +1 -1
- package/general/remove-data-image-prefix.mjs +1 -1
- package/general/repeat-times.js +1 -1
- package/general/repeat-times.mjs +1 -1
- package/general/resolve-anchor-link.js +1 -1
- package/general/resolve-anchor-link.mjs +1 -1
- package/general/resolve-current-date.js +1 -1
- package/general/resolve-current-date.mjs +1 -1
- package/general/resolve-grid.js +1 -1
- package/general/resolve-grid.mjs +1 -1
- package/general/resolve-initials.js +1 -1
- package/general/resolve-initials.mjs +1 -1
- package/general/set-timezone.js +1 -1
- package/general/set-timezone.mjs +1 -1
- package/general/slugify.js +1 -1
- package/general/slugify.mjs +1 -1
- package/general/text-to-enum.js +1 -1
- package/general/text-to-enum.mjs +1 -1
- package/general/text-to-sentence-case.js +1 -1
- package/general/text-to-sentence-case.mjs +1 -1
- package/general/time-out.js +1 -1
- package/general/time-out.mjs +1 -1
- package/general/time-zones.js +1 -1
- package/general/time-zones.mjs +1 -1
- package/general/truncate-text.js +1 -1
- package/general/truncate-text.mjs +1 -1
- package/general/type.js +1 -1
- package/general/upload-blob-to-private-supabase.js +1 -1
- package/general/upload-blob-to-private-supabase.mjs +1 -1
- package/general/upload-blob-to-public-supabase.js +1 -1
- package/general/upload-blob-to-public-supabase.mjs +1 -1
- package/general/upload-image-to-private-supabase.js +1 -1
- package/general/upload-image-to-private-supabase.mjs +1 -1
- package/general/upload-image-to-public-supabase.js +1 -1
- package/general/upload-image-to-public-supabase.mjs +1 -1
- package/general/url-to-sentence-case.js +1 -1
- package/general/url-to-sentence-case.mjs +1 -1
- package/general/validate-comment.js +1 -1
- package/general/validate-comment.mjs +1 -1
- package/general/validate-email.js +1 -1
- package/general/validate-email.mjs +1 -1
- package/general/validate-form.js +1 -1
- package/general/validate-form.mjs +1 -1
- package/general/validate-name.js +1 -1
- package/general/validate-name.mjs +1 -1
- package/hooks/use-change.js +1 -1
- package/hooks/use-change.mjs +1 -1
- package/hooks/use-debounce.js +1 -1
- package/hooks/use-debounce.mjs +1 -1
- package/hooks/use-fetch.js +1 -1
- package/hooks/use-fetch.mjs +1 -1
- package/hooks/use-force-render.js +1 -1
- package/hooks/use-force-render.mjs +1 -1
- package/hooks/use-ip-geo-location.js +1 -1
- package/hooks/use-ip-geo-location.mjs +1 -1
- package/hooks/use-is-mobile.js +1 -1
- package/hooks/use-is-mobile.mjs +1 -1
- package/hooks/use-module-entity-v2.js +1 -1
- package/hooks/use-module-entity-v2.mjs +1 -1
- package/hooks/use-module-entity.js +1 -1
- package/hooks/use-module-entity.mjs +1 -1
- package/hooks/use-phone-formatter.js +1 -1
- package/hooks/use-phone-formatter.mjs +1 -1
- package/hooks/use-position.js +1 -1
- package/hooks/use-position.mjs +1 -1
- package/hooks/use-rtl.js +1 -1
- package/hooks/use-rtl.mjs +1 -1
- package/hooks/use-sticky.js +1 -1
- package/hooks/use-sticky.mjs +1 -1
- package/hooks/use-toggle-state.js +1 -1
- package/hooks/use-toggle-state.mjs +1 -1
- package/hooks/use-window-event-listener.js +1 -1
- package/hooks/use-window-event-listener.mjs +1 -1
- package/hooks/with-seo.js +1 -1
- package/hooks/with-seo.mjs +1 -1
- package/local-storage/get-storage-value.js +1 -1
- package/local-storage/get-storage-value.mjs +1 -1
- package/local-storage/remove-storage-value.js +1 -1
- package/local-storage/remove-storage-value.mjs +1 -1
- package/local-storage/set-storage-value.js +1 -1
- package/local-storage/set-storage-value.mjs +1 -1
- package/local-storage/type.js +1 -1
- package/package.json +2 -12
package/general/basic-post.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const t=s=>(a,e={})=>async()=>{const n=e.headers?e.headers:{};return n["Content-Type"]="application/json",(await fetch(s,{method:"POST",...e,body:JSON.stringify(a),headers:n})).json()};export{t as basicPost};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var r=Object.defineProperty;var u=Object.getOwnPropertyDescriptor;var b=Object.getOwnPropertyNames;var l=Object.prototype.hasOwnProperty;var m=(a,e)=>{for(var n in e)r(a,n,{get:e[n],enumerable:!0})},o=(a,e,n,t)=>{if(e&&typeof e=="object"||typeof e=="function")for(let c of b(e))!l.call(a,c)&&c!==n&&r(a,c,{get:()=>e[c],enumerable:!(t=u(e,c))||t.enumerable});return a};var s=a=>o(r({},"__esModule",{value:!0}),a);var h={};m(h,{calculatePages:()=>g});module.exports=s(h);const g=(a,e)=>Math.ceil(a/e);0&&(module.exports={calculatePages});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const c=(e,a)=>Math.ceil(e/a);export{c as calculatePages};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
var i=Object.defineProperty;var c=Object.getOwnPropertyDescriptor;var g=Object.getOwnPropertyNames;var a=Object.prototype.hasOwnProperty;var o=(n,e)=>{for(var t in e)i(n,t,{get:e[t],enumerable:!0})},p=(n,e,t,s)=>{if(e&&typeof e=="object"||typeof e=="function")for(let r of g(e))!a.call(n,r)&&r!==t&&i(n,r,{get:()=>e[r],enumerable:!(s=c(e,r))||s.enumerable});return n};var l=n=>p(i({},"__esModule",{value:!0}),n);var m={};o(m,{camelToSentenceCase:()=>S});module.exports=l(m);const S=n=>n.replace(/([A-Z])/g," $1").split(" ").map(t=>t.charAt(0).toUpperCase()+t.slice(1)).join(" ");0&&(module.exports={camelToSentenceCase});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const r=n=>n.replace(/([A-Z])/g," $1").split(" ").map(e=>e.charAt(0).toUpperCase()+e.slice(1)).join(" ");export{r as camelToSentenceCase};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var c=Object.defineProperty;var a=Object.getOwnPropertyDescriptor;var d=Object.getOwnPropertyNames;var g=Object.prototype.hasOwnProperty;var o=(e,n)=>{for(var t in n)c(e,t,{get:n[t],enumerable:!0})},y=(e,n,t,h)=>{if(n&&typeof n=="object"||typeof n=="function")for(let r of d(n))!g.call(e,r)&&r!==t&&c(e,r,{get:()=>n[r],enumerable:!(h=a(n,r))||h.enumerable});return e};var b=e=>y(c({},"__esModule",{value:!0}),e);var l={};o(l,{checkEvenOddLength:()=>k});module.exports=b(l);const k=e=>e.length%2===0?2:1;0&&(module.exports={checkEvenOddLength});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const n=e=>e.length%2===0?2:1;export{n as checkEvenOddLength};
|
package/general/clear-cache.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
var t=Object.defineProperty;var s=Object.getOwnPropertyDescriptor;var n=Object.getOwnPropertyNames;var i=Object.prototype.hasOwnProperty;var l=(a,e)=>{for(var r in e)t(a,r,{get:e[r],enumerable:!0})},f=(a,e,r,c)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of n(e))!i.call(a,o)&&o!==r&&t(a,o,{get:()=>e[o],enumerable:!(c=s(e,o))||c.enumerable});return a};var m=a=>f(t({},"__esModule",{value:!0}),a);var g={};l(g,{clearCache:()=>d});module.exports=m(g);const d=({LS_KEYS:a})=>{Object.keys(a).forEach(e=>{localStorage.removeItem(a[e])}),window.location.reload()};0&&(module.exports={clearCache});
|
package/general/clear-cache.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const o=({LS_KEYS:e})=>{Object.keys(e).forEach(a=>{localStorage.removeItem(e[a])}),window.location.reload()};export{o as clearCache};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
var s=Object.defineProperty;var u=Object.getOwnPropertyDescriptor;var d=Object.getOwnPropertyNames;var p=Object.prototype.hasOwnProperty;var m=(t,n)=>{for(var i in n)s(t,i,{get:n[i],enumerable:!0})},C=(t,n,i,r)=>{if(n&&typeof n=="object"||typeof n=="function")for(let e of d(n))!p.call(t,e)&&e!==i&&s(t,e,{get:()=>n[e],enumerable:!(r=u(n,e))||r.enumerable});return t};var S=t=>C(s({},"__esModule",{value:!0}),t);var x={};m(x,{formatCnic:()=>h,isValidCnic:()=>w});module.exports=S(x);const b=(()=>{const t={};for(let n=0;n<=9;n++)t[String.fromCharCode(1632+n)]=String(n);for(let n=0;n<=9;n++)t[String.fromCharCode(1776+n)]=String(n);return t})(),c=t=>t.replace(/./g,n=>b[n]??n),h=(t,n={})=>{if(t==null)return null;const i=n.separator??"-";let r=String(t);if(r=r.trim(),r.length===0)return null;const o=c(r).replace(/[^0-9]/g,"");if(o.length===0||!n.allowLoose&&o.length!==13)return null;const l=o.slice(0,5),a=o.slice(5,12),f=o.slice(12);return[l,a,f].filter(g=>g&&g.length>0).join(i)},w=t=>{if(t==null)return!1;const n=String(t);return c(n).replace(/[^0-9]/g,"").length===13};0&&(module.exports={formatCnic,isValidCnic});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a=(()=>{const n={};for(let t=0;t<=9;t++)n[String.fromCharCode(1632+t)]=String(t);for(let t=0;t<=9;t++)n[String.fromCharCode(1776+t)]=String(t);return n})(),s=n=>n.replace(/./g,t=>a[t]??t),d=(n,t={})=>{if(n==null)return null;const e=t.separator??"-";let r=String(n);if(r=r.trim(),r.length===0)return null;const i=s(r).replace(/[^0-9]/g,"");if(i.length===0||!t.allowLoose&&i.length!==13)return null;const g=i.slice(0,5),c=i.slice(5,12),l=i.slice(12);return[g,c,l].filter(o=>o&&o.length>0).join(e)},p=n=>{if(n==null)return!1;const t=String(n);return s(t).replace(/[^0-9]/g,"").length===13};export{d as formatCnic,p as isValidCnic};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
var f=Object.defineProperty;var g=Object.getOwnPropertyDescriptor;var w=Object.getOwnPropertyNames;var m=Object.prototype.hasOwnProperty;var y=(o,r)=>{for(var t in r)f(o,t,{get:r[t],enumerable:!0})},U=(o,r,t,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let e of w(r))!m.call(o,e)&&e!==t&&f(o,e,{get:()=>r[e],enumerable:!(n=g(r,e))||n.enumerable});return o};var h=o=>U(f({},"__esModule",{value:!0}),o);var R={};y(R,{convertUrlToBase64:()=>l,convertUrlToBase64DataUri:()=>u,convertUrlToBase64WithTimeout:()=>E,convertUrlsToBase64:()=>b,convertUrlsToBase64DataUris:()=>d,isValidUrl:()=>p});module.exports=h(R);async function l(o){try{const r=await fetch(o);if(!r.ok)throw new Error(`Failed to fetch URL: ${r.status} ${r.statusText}`);const t=await r.arrayBuffer(),n=new Uint8Array(t);let e="";for(let a=0;a<n.length;a++)e+=String.fromCharCode(n[a]);return btoa(e)}catch(r){throw console.error("Error converting URL to base64:",r),new Error(`Failed to convert URL to base64: ${r instanceof Error?r.message:"Unknown error"}`)}}async function u(o,r){try{const t=await fetch(o);if(!t.ok)throw new Error(`Failed to fetch URL: ${t.status} ${t.statusText}`);const n=r||t.headers.get("content-type")||"application/octet-stream",e=await t.arrayBuffer(),a=new Uint8Array(e);let i="";for(let s=0;s<a.length;s++)i+=String.fromCharCode(a[s]);const c=btoa(i);return`data:${n};base64,${c}`}catch(t){throw console.error("Error converting URL to base64 data URI:",t),new Error(`Failed to convert URL to base64 data URI: ${t instanceof Error?t.message:"Unknown error"}`)}}async function b(o){const r=o.map(t=>l(t));return Promise.all(r)}async function d(o,r){const t=o.map((n,e)=>u(n,r?.[e]));return Promise.all(t)}function p(o){try{return new URL(o),!0}catch{return!1}}async function E(o,r=1e4){const t=new AbortController,n=setTimeout(()=>t.abort(),r);try{const e=await fetch(o,{signal:t.signal});if(clearTimeout(n),!e.ok)throw new Error(`Failed to fetch URL: ${e.status} ${e.statusText}`);const a=await e.arrayBuffer(),i=new Uint8Array(a);let c="";for(let s=0;s<i.length;s++)c+=String.fromCharCode(i[s]);return btoa(c)}catch(e){throw clearTimeout(n),e instanceof Error&&e.name==="AbortError"?new Error(`Request timed out after ${r}ms`):(console.error("Error converting URL to base64:",e),new Error(`Failed to convert URL to base64: ${e instanceof Error?e.message:"Unknown error"}`))}}0&&(module.exports={convertUrlToBase64,convertUrlToBase64DataUri,convertUrlToBase64WithTimeout,convertUrlsToBase64,convertUrlsToBase64DataUris,isValidUrl});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
async function f(o){try{const t=await fetch(o);if(!t.ok)throw new Error(`Failed to fetch URL: ${t.status} ${t.statusText}`);const r=await t.arrayBuffer(),n=new Uint8Array(r);let e="";for(let a=0;a<n.length;a++)e+=String.fromCharCode(n[a]);return btoa(e)}catch(t){throw console.error("Error converting URL to base64:",t),new Error(`Failed to convert URL to base64: ${t instanceof Error?t.message:"Unknown error"}`)}}async function l(o,t){try{const r=await fetch(o);if(!r.ok)throw new Error(`Failed to fetch URL: ${r.status} ${r.statusText}`);const n=t||r.headers.get("content-type")||"application/octet-stream",e=await r.arrayBuffer(),a=new Uint8Array(e);let i="";for(let s=0;s<a.length;s++)i+=String.fromCharCode(a[s]);const c=btoa(i);return`data:${n};base64,${c}`}catch(r){throw console.error("Error converting URL to base64 data URI:",r),new Error(`Failed to convert URL to base64 data URI: ${r instanceof Error?r.message:"Unknown error"}`)}}async function u(o){const t=o.map(r=>f(r));return Promise.all(t)}async function g(o,t){const r=o.map((n,e)=>l(n,t?.[e]));return Promise.all(r)}function w(o){try{return new URL(o),!0}catch{return!1}}async function m(o,t=1e4){const r=new AbortController,n=setTimeout(()=>r.abort(),t);try{const e=await fetch(o,{signal:r.signal});if(clearTimeout(n),!e.ok)throw new Error(`Failed to fetch URL: ${e.status} ${e.statusText}`);const a=await e.arrayBuffer(),i=new Uint8Array(a);let c="";for(let s=0;s<i.length;s++)c+=String.fromCharCode(i[s]);return btoa(c)}catch(e){throw clearTimeout(n),e instanceof Error&&e.name==="AbortError"?new Error(`Request timed out after ${t}ms`):(console.error("Error converting URL to base64:",e),new Error(`Failed to convert URL to base64: ${e instanceof Error?e.message:"Unknown error"}`))}}export{f as convertUrlToBase64,l as convertUrlToBase64DataUri,m as convertUrlToBase64WithTimeout,u as convertUrlsToBase64,g as convertUrlsToBase64DataUris,w as isValidUrl};
|
package/general/countries.js
CHANGED
|
@@ -1 +1 @@
|
|
|
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});
|
|
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});
|
package/general/countries.mjs
CHANGED
|
@@ -1 +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};
|
|
1
|
+
var c=(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))(c||{});const n={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"}};export{c as COUNTRY_CODE,n as countries};
|
package/general/create-date.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
var i=Object.defineProperty;var s=Object.getOwnPropertyDescriptor;var c=Object.getOwnPropertyNames;var D=Object.prototype.hasOwnProperty;var m=(e,t)=>{for(var r in t)i(e,r,{get:t[r],enumerable:!0})},u=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of c(t))!D.call(e,n)&&n!==r&&i(e,n,{get:()=>t[n],enumerable:!(o=s(t,n))||o.enumerable});return e};var f=e=>u(i({},"__esModule",{value:!0}),e);var T={};m(T,{createDate:()=>p});module.exports=f(T);var a=require("./set-timezone");const g="Asia/Karachi",p=(e,t)=>{const{toDate:r}=require("date-fns-tz");return t||!e?(0,a.setTimezone)(e?r(e):new Date,t||g):r(e)};0&&(module.exports={createDate});
|
package/general/create-date.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
import{setTimezone as n}from"./set-timezone";const i="Asia/Karachi",a=(e,t)=>{const{toDate:r}=require("date-fns-tz");return t||!e?n(e?r(e):new Date,t||i):r(e)};export{a as createDate};
|
package/general/crypto.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var p=Object.defineProperty;var h=Object.getOwnPropertyDescriptor;var l=Object.getOwnPropertyNames;var B=Object.prototype.hasOwnProperty;var G=(e,t)=>{for(var c in t)p(e,c,{get:t[c],enumerable:!0})},L=(e,t,c,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of l(t))!B.call(e,s)&&s!==c&&p(e,s,{get:()=>t[s],enumerable:!(r=h(t,s))||r.enumerable});return e};var S=e=>L(p({},"__esModule",{value:!0}),e);var E={};G(E,{decryptString:()=>A,encryptString:()=>m});module.exports=S(E);var n=require("crypto");const d="aes-256-gcm",o=16,a=12,y=16,T=32;function m(e,t){const c=(0,n.randomBytes)(o),r=(0,n.randomBytes)(a),s=(0,n.scryptSync)(t,c,T),i=(0,n.createCipheriv)(d,s,r),u=Buffer.concat([i.update(e,"utf8"),i.final()]),g=i.getAuthTag();return Buffer.concat([c,r,g,u]).toString("base64")}function A(e,t){const c=Buffer.from(e,"base64"),r=c.slice(0,o),s=c.slice(o,o+a),i=c.slice(o+a,o+a+y),u=c.slice(o+a+y),g=(0,n.scryptSync)(t,r,T),f=(0,n.createDecipheriv)(d,g,s);return f.setAuthTag(i),Buffer.concat([f.update(u),f.final()]).toString("utf8")}0&&(module.exports={decryptString,encryptString});
|