@zonsh/ui 0.0.0 → 0.4.1
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/LICENSE +43 -0
- package/README.md +81 -1
- package/assets/illustrations/drawing/bracket-construction-dark.svg +77 -0
- package/assets/illustrations/drawing/bracket-construction-filled-dark.svg +50 -0
- package/assets/illustrations/drawing/bracket-construction-filled.svg +50 -0
- package/assets/illustrations/drawing/bracket-construction.svg +77 -0
- package/assets/illustrations/drawing/crescent-dark.svg +28 -0
- package/assets/illustrations/drawing/crescent-guides-dark.svg +33 -0
- package/assets/illustrations/drawing/crescent-guides.svg +33 -0
- package/assets/illustrations/drawing/crescent.svg +28 -0
- package/assets/illustrations/drawing/eclipse-dark.svg +187 -0
- package/assets/illustrations/drawing/eclipse-guides-dark.svg +191 -0
- package/assets/illustrations/drawing/eclipse-guides.svg +191 -0
- package/assets/illustrations/drawing/eclipse.svg +187 -0
- package/assets/illustrations/drawing/elevation-guides-dark.svg +31 -0
- package/assets/illustrations/drawing/elevation-guides-plain-dark.svg +9 -0
- package/assets/illustrations/drawing/elevation-guides-plain.svg +9 -0
- package/assets/illustrations/drawing/elevation-guides.svg +31 -0
- package/assets/illustrations/drawing/horizon-dark.svg +30 -0
- package/assets/illustrations/drawing/horizon.svg +30 -0
- package/assets/illustrations/drawing/nib-study-dark.svg +107 -0
- package/assets/illustrations/drawing/nib-study-plain-dark.svg +93 -0
- package/assets/illustrations/drawing/nib-study-plain.svg +93 -0
- package/assets/illustrations/drawing/nib-study.svg +107 -0
- package/assets/illustrations/editorial/assistant-640.webp +0 -0
- package/assets/illustrations/editorial/assistant.webp +0 -0
- package/assets/illustrations/editorial/automation-640.webp +0 -0
- package/assets/illustrations/editorial/automation.webp +0 -0
- package/assets/illustrations/editorial/bracket-left-640.webp +0 -0
- package/assets/illustrations/editorial/bracket-left.webp +0 -0
- package/assets/illustrations/editorial/bracket-right-640.webp +0 -0
- package/assets/illustrations/editorial/bracket-right.webp +0 -0
- package/assets/illustrations/editorial/custom-software-640.webp +0 -0
- package/assets/illustrations/editorial/custom-software.webp +0 -0
- package/assets/illustrations/editorial/digitalization-640.webp +0 -0
- package/assets/illustrations/editorial/digitalization.webp +0 -0
- package/assets/illustrations/editorial/integration-640.webp +0 -0
- package/assets/illustrations/editorial/integration.webp +0 -0
- package/assets/illustrations/editorial/problem-640.webp +0 -0
- package/assets/illustrations/editorial/problem.webp +0 -0
- package/assets/illustrations/editorial/process-analysis-640.webp +0 -0
- package/assets/illustrations/editorial/process-analysis.webp +0 -0
- package/assets/illustrations/editorial/process-concept-640.webp +0 -0
- package/assets/illustrations/editorial/process-concept.webp +0 -0
- package/assets/illustrations/editorial/process-development-640.webp +0 -0
- package/assets/illustrations/editorial/process-development.webp +0 -0
- package/assets/illustrations/editorial/process-discovery-640.webp +0 -0
- package/assets/illustrations/editorial/process-discovery.webp +0 -0
- package/assets/illustrations/editorial/process-maintenance-640.webp +0 -0
- package/assets/illustrations/editorial/process-maintenance.webp +0 -0
- package/assets/illustrations/editorial/process-prototype-640.webp +0 -0
- package/assets/illustrations/editorial/process-prototype.webp +0 -0
- package/assets/illustrations/editorial/process-testing-640.webp +0 -0
- package/assets/illustrations/editorial/process-testing.webp +0 -0
- package/assets/illustrations/iso/automation-dark.svg +6 -0
- package/assets/illustrations/iso/automation.svg +6 -0
- package/assets/illustrations/iso/bar-chart-dark.svg +6 -0
- package/assets/illustrations/iso/bar-chart.svg +6 -0
- package/assets/illustrations/iso/brackets-classic-dark.svg +6 -0
- package/assets/illustrations/iso/brackets-classic.svg +6 -0
- package/assets/illustrations/iso/brackets-dark.svg +6 -0
- package/assets/illustrations/iso/brackets.svg +6 -0
- package/assets/illustrations/iso/city-dark.svg +6 -0
- package/assets/illustrations/iso/city.svg +6 -0
- package/assets/illustrations/iso/conveyor-dark.svg +6 -0
- package/assets/illustrations/iso/conveyor.svg +6 -0
- package/assets/illustrations/iso/database-dark.svg +6 -0
- package/assets/illustrations/iso/database.svg +6 -0
- package/assets/illustrations/iso/documents-dark.svg +6 -0
- package/assets/illustrations/iso/documents.svg +6 -0
- package/assets/illustrations/iso/inbox-dark.svg +6 -0
- package/assets/illustrations/iso/inbox.svg +6 -0
- package/assets/illustrations/iso/laptop-dark.svg +6 -0
- package/assets/illustrations/iso/laptop.svg +6 -0
- package/assets/illustrations/iso/monitor-dark.svg +6 -0
- package/assets/illustrations/iso/monitor.svg +6 -0
- package/assets/illustrations/iso/pipeline-dark.svg +6 -0
- package/assets/illustrations/iso/pipeline.svg +6 -0
- package/assets/illustrations/iso/platform-dark.svg +6 -0
- package/assets/illustrations/iso/platform.svg +6 -0
- package/assets/illustrations/iso/server-dark.svg +6 -0
- package/assets/illustrations/iso/server.svg +6 -0
- package/assets/illustrations/iso/spreadsheet-dark.svg +6 -0
- package/assets/illustrations/iso/spreadsheet.svg +6 -0
- package/assets/illustrations/iso/timeline-dark.svg +6 -0
- package/assets/illustrations/iso/timeline.svg +6 -0
- package/assets/illustrations/sheet/construction.svg +115 -0
- package/assets/illustrations/sheet/crescent.svg +40 -0
- package/assets/illustrations/sheet/limb.svg +42 -0
- package/assets/illustrations/sheet/stress-axis.svg +119 -0
- package/assets/illustrations/sheet/totality.svg +215 -0
- package/assets/illustrations/sheet/vertical-metrics.svg +43 -0
- package/assets/logo-left.svg +1 -0
- package/assets/logo-right.svg +1 -0
- package/assets/logo.svg +1 -0
- package/dist/components/_overlay.d.ts +47 -0
- package/dist/components/_overlay.js +59 -0
- package/dist/components/accordion.d.ts +32 -0
- package/dist/components/accordion.js +39 -0
- package/dist/components/alert-dialog.d.ts +45 -0
- package/dist/components/alert-dialog.js +56 -0
- package/dist/components/alert.d.ts +35 -0
- package/dist/components/alert.js +42 -0
- package/dist/components/ascii-field.d.ts +34 -0
- package/dist/components/ascii-field.js +410 -0
- package/dist/components/aspect-ratio.d.ts +14 -0
- package/dist/components/aspect-ratio.js +17 -0
- package/dist/components/avatar.d.ts +42 -0
- package/dist/components/avatar.js +55 -0
- package/dist/components/badge.d.ts +70 -0
- package/dist/components/badge.js +62 -0
- package/dist/components/bottom-nav.d.ts +86 -0
- package/dist/components/bottom-nav.js +175 -0
- package/dist/components/breadcrumb.d.ts +31 -0
- package/dist/components/breadcrumb.js +37 -0
- package/dist/components/button-group.d.ts +30 -0
- package/dist/components/button-group.js +47 -0
- package/dist/components/button.d.ts +53 -0
- package/dist/components/button.js +130 -0
- package/dist/components/calendar.d.ts +26 -0
- package/dist/components/calendar.js +179 -0
- package/dist/components/card.d.ts +42 -0
- package/dist/components/card.js +76 -0
- package/dist/components/carousel.d.ts +109 -0
- package/dist/components/carousel.js +231 -0
- package/dist/components/chart.d.ts +189 -0
- package/dist/components/chart.js +323 -0
- package/dist/components/checkbox.d.ts +23 -0
- package/dist/components/checkbox.js +43 -0
- package/dist/components/code-block.d.ts +55 -0
- package/dist/components/code-block.js +100 -0
- package/dist/components/collapsible.d.ts +20 -0
- package/dist/components/collapsible.js +32 -0
- package/dist/components/color-picker.d.ts +107 -0
- package/dist/components/color-picker.js +428 -0
- package/dist/components/combobox.d.ts +99 -0
- package/dist/components/combobox.js +172 -0
- package/dist/components/command.d.ts +132 -0
- package/dist/components/command.js +257 -0
- package/dist/components/context-menu.d.ts +29 -0
- package/dist/components/context-menu.js +35 -0
- package/dist/components/conversation.d.ts +36 -0
- package/dist/components/conversation.js +303 -0
- package/dist/components/copy-button.d.ts +55 -0
- package/dist/components/copy-button.js +133 -0
- package/dist/components/data-table.d.ts +235 -0
- package/dist/components/data-table.js +655 -0
- package/dist/components/date-picker.d.ts +160 -0
- package/dist/components/date-picker.js +338 -0
- package/dist/components/dialog.d.ts +57 -0
- package/dist/components/dialog.js +95 -0
- package/dist/components/direction.d.ts +16 -0
- package/dist/components/direction.js +18 -0
- package/dist/components/drawer.d.ts +69 -0
- package/dist/components/drawer.js +79 -0
- package/dist/components/empty.d.ts +31 -0
- package/dist/components/empty.js +50 -0
- package/dist/components/feature-list.d.ts +54 -0
- package/dist/components/feature-list.js +43 -0
- package/dist/components/field.d.ts +34 -0
- package/dist/components/field.js +81 -0
- package/dist/components/file-drop.d.ts +77 -0
- package/dist/components/file-drop.js +258 -0
- package/dist/components/filter-bar.d.ts +153 -0
- package/dist/components/filter-bar.js +334 -0
- package/dist/components/form.d.ts +35 -0
- package/dist/components/form.js +56 -0
- package/dist/components/graph.d.ts +146 -0
- package/dist/components/graph.js +825 -0
- package/dist/components/illustration.d.ts +85 -0
- package/dist/components/illustration.js +165 -0
- package/dist/components/input-group.d.ts +138 -0
- package/dist/components/input-group.js +312 -0
- package/dist/components/input.d.ts +16 -0
- package/dist/components/input.js +25 -0
- package/dist/components/item.d.ts +64 -0
- package/dist/components/item.js +116 -0
- package/dist/components/kbd.d.ts +50 -0
- package/dist/components/kbd.js +45 -0
- package/dist/components/label.d.ts +12 -0
- package/dist/components/label.js +24 -0
- package/dist/components/layout.d.ts +136 -0
- package/dist/components/layout.js +162 -0
- package/dist/components/lightbox.d.ts +100 -0
- package/dist/components/lightbox.js +439 -0
- package/dist/components/locale.d.ts +44 -0
- package/dist/components/locale.js +37 -0
- package/dist/components/logo.d.ts +54 -0
- package/dist/components/logo.js +96 -0
- package/dist/components/menu.d.ts +60 -0
- package/dist/components/menu.js +140 -0
- package/dist/components/menubar.d.ts +62 -0
- package/dist/components/menubar.js +223 -0
- package/dist/components/message.d.ts +42 -0
- package/dist/components/message.js +59 -0
- package/dist/components/meter.d.ts +31 -0
- package/dist/components/meter.js +27 -0
- package/dist/components/money-input.d.ts +80 -0
- package/dist/components/money-input.js +253 -0
- package/dist/components/native-select.d.ts +26 -0
- package/dist/components/native-select.js +35 -0
- package/dist/components/navigation-menu.d.ts +42 -0
- package/dist/components/navigation-menu.js +97 -0
- package/dist/components/number-field.d.ts +55 -0
- package/dist/components/number-field.js +164 -0
- package/dist/components/otp-field.d.ts +48 -0
- package/dist/components/otp-field.js +102 -0
- package/dist/components/pagination.d.ts +37 -0
- package/dist/components/pagination.js +81 -0
- package/dist/components/pdf-viewer.d.ts +134 -0
- package/dist/components/pdf-viewer.js +996 -0
- package/dist/components/phone-input.d.ts +79 -0
- package/dist/components/phone-input.js +282 -0
- package/dist/components/popover.d.ts +33 -0
- package/dist/components/popover.js +48 -0
- package/dist/components/preview-card.d.ts +25 -0
- package/dist/components/preview-card.js +22 -0
- package/dist/components/progress.d.ts +27 -0
- package/dist/components/progress.js +25 -0
- package/dist/components/prompt-input.d.ts +156 -0
- package/dist/components/prompt-input.js +415 -0
- package/dist/components/quote.d.ts +22 -0
- package/dist/components/quote.js +15 -0
- package/dist/components/radio-group.d.ts +18 -0
- package/dist/components/radio-group.js +34 -0
- package/dist/components/rating.d.ts +73 -0
- package/dist/components/rating.js +124 -0
- package/dist/components/reasoning.d.ts +46 -0
- package/dist/components/reasoning.js +73 -0
- package/dist/components/resizable.d.ts +47 -0
- package/dist/components/resizable.js +44 -0
- package/dist/components/response.d.ts +41 -0
- package/dist/components/response.js +566 -0
- package/dist/components/scroll-area.d.ts +33 -0
- package/dist/components/scroll-area.js +31 -0
- package/dist/components/select.d.ts +35 -0
- package/dist/components/select.js +71 -0
- package/dist/components/separator.d.ts +14 -0
- package/dist/components/separator.js +17 -0
- package/dist/components/sidebar.d.ts +163 -0
- package/dist/components/sidebar.js +505 -0
- package/dist/components/site-header.d.ts +93 -0
- package/dist/components/site-header.js +121 -0
- package/dist/components/skeleton.d.ts +31 -0
- package/dist/components/skeleton.js +29 -0
- package/dist/components/slider.d.ts +24 -0
- package/dist/components/slider.js +131 -0
- package/dist/components/sortable.d.ts +178 -0
- package/dist/components/sortable.js +1258 -0
- package/dist/components/sources.d.ts +40 -0
- package/dist/components/sources.js +42 -0
- package/dist/components/spinner.d.ts +48 -0
- package/dist/components/spinner.js +75 -0
- package/dist/components/stat.d.ts +91 -0
- package/dist/components/stat.js +141 -0
- package/dist/components/stepper.d.ts +71 -0
- package/dist/components/stepper.js +101 -0
- package/dist/components/suggestions.d.ts +20 -0
- package/dist/components/suggestions.js +18 -0
- package/dist/components/switch.d.ts +14 -0
- package/dist/components/switch.js +26 -0
- package/dist/components/table.d.ts +172 -0
- package/dist/components/table.js +895 -0
- package/dist/components/tabs.d.ts +25 -0
- package/dist/components/tabs.js +162 -0
- package/dist/components/tag.d.ts +41 -0
- package/dist/components/tag.js +88 -0
- package/dist/components/tags-input.d.ts +56 -0
- package/dist/components/tags-input.js +271 -0
- package/dist/components/textarea.d.ts +13 -0
- package/dist/components/textarea.js +16 -0
- package/dist/components/theme.d.ts +55 -0
- package/dist/components/theme.js +120 -0
- package/dist/components/time-field.d.ts +70 -0
- package/dist/components/time-field.js +450 -0
- package/dist/components/timeline.d.ts +92 -0
- package/dist/components/timeline.js +108 -0
- package/dist/components/tippy.d.ts +48 -0
- package/dist/components/tippy.js +648 -0
- package/dist/components/toast.d.ts +88 -0
- package/dist/components/toast.js +205 -0
- package/dist/components/toggle-group.d.ts +41 -0
- package/dist/components/toggle-group.js +140 -0
- package/dist/components/toggle.d.ts +23 -0
- package/dist/components/toggle.js +35 -0
- package/dist/components/tool-call.d.ts +63 -0
- package/dist/components/tool-call.js +68 -0
- package/dist/components/toolbar.d.ts +17 -0
- package/dist/components/toolbar.js +39 -0
- package/dist/components/tooltip.d.ts +42 -0
- package/dist/components/tooltip.js +47 -0
- package/dist/components/tour.d.ts +127 -0
- package/dist/components/tour.js +648 -0
- package/dist/components/tree.d.ts +75 -0
- package/dist/components/tree.js +649 -0
- package/dist/components/typography.d.ts +134 -0
- package/dist/components/typography.js +176 -0
- package/dist/components/video-player.d.ts +284 -0
- package/dist/components/video-player.js +1392 -0
- package/dist/illustration.d.ts +2 -0
- package/dist/illustration.js +7 -0
- package/dist/index.d.ts +93 -0
- package/dist/index.js +94 -0
- package/dist/lib/cn.d.ts +20 -0
- package/dist/lib/cn.js +38 -0
- package/dist/lib/code-highlight.d.ts +18 -0
- package/dist/lib/code-highlight.js +174 -0
- package/dist/lib/code-theme.d.ts +19 -0
- package/dist/lib/code-theme.js +140 -0
- package/dist/lib/collapse-row.d.ts +9 -0
- package/dist/lib/collapse-row.js +129 -0
- package/dist/lib/digit-roll.d.ts +21 -0
- package/dist/lib/digit-roll.js +31 -0
- package/dist/lib/editorial-assets.d.ts +16 -0
- package/dist/lib/editorial-assets.js +56 -0
- package/dist/lib/field-errors.d.ts +28 -0
- package/dist/lib/field-errors.js +24 -0
- package/dist/lib/field-value.d.ts +13 -0
- package/dist/lib/field-value.js +44 -0
- package/dist/lib/figure/catalog.d.ts +127 -0
- package/dist/lib/figure/catalog.js +130 -0
- package/dist/lib/figure/figures/automation.d.ts +7 -0
- package/dist/lib/figure/figures/automation.js +143 -0
- package/dist/lib/figure/figures/bar-chart.d.ts +7 -0
- package/dist/lib/figure/figures/bar-chart.js +99 -0
- package/dist/lib/figure/figures/brackets-classic.d.ts +11 -0
- package/dist/lib/figure/figures/brackets-classic.js +170 -0
- package/dist/lib/figure/figures/brackets.d.ts +8 -0
- package/dist/lib/figure/figures/brackets.js +84 -0
- package/dist/lib/figure/figures/city.d.ts +7 -0
- package/dist/lib/figure/figures/city.js +93 -0
- package/dist/lib/figure/figures/conveyor.d.ts +7 -0
- package/dist/lib/figure/figures/conveyor.js +97 -0
- package/dist/lib/figure/figures/database.d.ts +7 -0
- package/dist/lib/figure/figures/database.js +65 -0
- package/dist/lib/figure/figures/documents.d.ts +7 -0
- package/dist/lib/figure/figures/documents.js +83 -0
- package/dist/lib/figure/figures/inbox.d.ts +7 -0
- package/dist/lib/figure/figures/inbox.js +92 -0
- package/dist/lib/figure/figures/laptop.d.ts +7 -0
- package/dist/lib/figure/figures/laptop.js +67 -0
- package/dist/lib/figure/figures/monitor.d.ts +7 -0
- package/dist/lib/figure/figures/monitor.js +59 -0
- package/dist/lib/figure/figures/pipeline.d.ts +8 -0
- package/dist/lib/figure/figures/pipeline.js +117 -0
- package/dist/lib/figure/figures/platform.d.ts +7 -0
- package/dist/lib/figure/figures/platform.js +117 -0
- package/dist/lib/figure/figures/server.d.ts +7 -0
- package/dist/lib/figure/figures/server.js +115 -0
- package/dist/lib/figure/figures/spreadsheet.d.ts +7 -0
- package/dist/lib/figure/figures/spreadsheet.js +87 -0
- package/dist/lib/figure/figures/timeline.d.ts +7 -0
- package/dist/lib/figure/figures/timeline.js +65 -0
- package/dist/lib/figure/kernel.d.ts +152 -0
- package/dist/lib/figure/kernel.js +576 -0
- package/dist/lib/figure/parts.d.ts +42 -0
- package/dist/lib/figure/parts.js +126 -0
- package/dist/lib/form-reset.d.ts +11 -0
- package/dist/lib/form-reset.js +22 -0
- package/dist/lib/glide.d.ts +53 -0
- package/dist/lib/glide.js +138 -0
- package/dist/lib/graph-layout.d.ts +58 -0
- package/dist/lib/graph-layout.js +209 -0
- package/dist/lib/illustration-drawings.d.ts +89 -0
- package/dist/lib/illustration-drawings.js +539 -0
- package/dist/lib/illustration-info.d.ts +37 -0
- package/dist/lib/illustration-info.js +22 -0
- package/dist/lib/illustration-library.d.ts +87 -0
- package/dist/lib/illustration-library.js +352 -0
- package/dist/lib/logo-geometry.d.ts +29 -0
- package/dist/lib/logo-geometry.js +67 -0
- package/dist/lib/markdown-guard.d.ts +16 -0
- package/dist/lib/markdown-guard.js +123 -0
- package/dist/lib/merge-refs.d.ts +10 -0
- package/dist/lib/merge-refs.js +26 -0
- package/dist/lib/money.d.ts +73 -0
- package/dist/lib/money.js +343 -0
- package/dist/lib/motion.d.ts +6 -0
- package/dist/lib/motion.js +12 -0
- package/dist/lib/pdf-worker.d.ts +1 -0
- package/dist/lib/pdf-worker.js +6 -0
- package/dist/lib/pdf.d.ts +19 -0
- package/dist/lib/pdf.js +58 -0
- package/dist/lib/phone-countries.d.ts +1 -0
- package/dist/lib/phone-countries.js +281 -0
- package/dist/lib/phone.d.ts +90 -0
- package/dist/lib/phone.js +286 -0
- package/dist/lib/platform.d.ts +38 -0
- package/dist/lib/platform.js +75 -0
- package/dist/lib/room.d.ts +25 -0
- package/dist/lib/room.js +46 -0
- package/dist/lib/row-index.d.ts +15 -0
- package/dist/lib/row-index.js +136 -0
- package/dist/lib/table-fit.d.ts +143 -0
- package/dist/lib/table-fit.js +596 -0
- package/dist/lib/theme-script.d.ts +31 -0
- package/dist/lib/theme-script.js +49 -0
- package/dist/lib/tippy/pixels.d.ts +47 -0
- package/dist/lib/tippy/pixels.js +187 -0
- package/dist/lib/tippy/sprite.d.ts +86 -0
- package/dist/lib/tippy/sprite.js +753 -0
- package/dist/messages/de.d.ts +12 -0
- package/dist/messages/de.js +326 -0
- package/dist/styles/expressive.css +203 -0
- package/dist/styles/fonts.css +145 -0
- package/dist/styles/index.css +207 -0
- package/dist/styles/material.css +317 -0
- package/dist/styles/parts/ai.css +361 -0
- package/dist/styles/parts/brand.css +75 -0
- package/dist/styles/parts/controls.css +774 -0
- package/dist/styles/parts/data.css +222 -0
- package/dist/styles/parts/editorial.css +120 -0
- package/dist/styles/parts/feedback.css +340 -0
- package/dist/styles/parts/foundations.css +166 -0
- package/dist/styles/parts/graph.css +214 -0
- package/dist/styles/parts/inputs.css +261 -0
- package/dist/styles/parts/isometric.css +124 -0
- package/dist/styles/parts/navigation.css +424 -0
- package/dist/styles/parts/overlays.css +250 -0
- package/dist/styles/parts/pdf.css +154 -0
- package/dist/styles/parts/react-flow.css +519 -0
- package/dist/styles/tokens.css +299 -0
- package/dist/vite.d.ts +66 -0
- package/dist/vite.js +29 -0
- package/package.json +183 -5
package/dist/lib/pdf.js
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
let lib;
|
|
2
|
+
/**
|
|
3
|
+
* pdf.js and one worker shared by every document on the page. The worker is passed to each
|
|
4
|
+
* document explicitly: pdf.js then never tears it down when one document closes (a shared
|
|
5
|
+
* `GlobalWorkerOptions.workerPort` would be destroyed with the first document that closes).
|
|
6
|
+
* An app that sets `GlobalWorkerOptions.workerSrc` or `workerPort` itself keeps its own setup.
|
|
7
|
+
*/
|
|
8
|
+
function load() {
|
|
9
|
+
lib ??= import("pdfjs-dist").then(async (pdfjs) => {
|
|
10
|
+
const options = pdfjs.GlobalWorkerOptions;
|
|
11
|
+
if (options.workerPort || options.workerSrc)
|
|
12
|
+
return { pdfjs };
|
|
13
|
+
try {
|
|
14
|
+
const port = new Worker(new URL("./pdf-worker.js", import.meta.url), { type: "module" });
|
|
15
|
+
return { pdfjs, worker: pdfjs.PDFWorker.create({ port, verbosity: pdfjs.VerbosityLevel.ERRORS }) };
|
|
16
|
+
}
|
|
17
|
+
catch {
|
|
18
|
+
// No module workers here: run pdf.js on the main thread instead (loading the worker
|
|
19
|
+
// bundle sets globalThis.pdfjsWorker, which pdf.js picks up).
|
|
20
|
+
await import("./pdf-worker.js");
|
|
21
|
+
return { pdfjs };
|
|
22
|
+
}
|
|
23
|
+
});
|
|
24
|
+
return lib;
|
|
25
|
+
}
|
|
26
|
+
export async function loadPdfjs() {
|
|
27
|
+
return (await load()).pdfjs;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Open a document. Data is copied, because pdf.js takes ownership of the buffer it is given.
|
|
31
|
+
* pdf.js logs only errors: a broken file ends in the viewer's own error state, not a console of
|
|
32
|
+
* parser warnings (the worker's level is set where it is created, above).
|
|
33
|
+
*/
|
|
34
|
+
export async function openPdf(src) {
|
|
35
|
+
const { pdfjs, worker } = await load();
|
|
36
|
+
const task = pdfjs.getDocument({
|
|
37
|
+
...(typeof src === "string" || src instanceof URL
|
|
38
|
+
? { url: String(src) }
|
|
39
|
+
: { data: src instanceof ArrayBuffer ? new Uint8Array(src.slice(0)) : src.slice() }),
|
|
40
|
+
worker,
|
|
41
|
+
verbosity: pdfjs.VerbosityLevel.ERRORS,
|
|
42
|
+
});
|
|
43
|
+
return { task, pdfjs };
|
|
44
|
+
}
|
|
45
|
+
/** A file name for downloads: the one given, or the last part of the URL. */
|
|
46
|
+
export function pdfFileName(src, fileName) {
|
|
47
|
+
if (fileName)
|
|
48
|
+
return fileName;
|
|
49
|
+
if (typeof src === "string" || src instanceof URL) {
|
|
50
|
+
const path = String(src).split(/[?#]/)[0];
|
|
51
|
+
const last = decodeURIComponent(path.slice(path.lastIndexOf("/") + 1));
|
|
52
|
+
if (last)
|
|
53
|
+
return last.toLowerCase().endsWith(".pdf") ? last : `${last}.pdf`;
|
|
54
|
+
}
|
|
55
|
+
return "document.pdf";
|
|
56
|
+
}
|
|
57
|
+
/** CSS pixels per PDF point: "100%" shows a page at its printed size on screen (96 / 72). */
|
|
58
|
+
export const CSS_UNITS = 96 / 72;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const PHONE_TABLE: string;
|
|
@@ -0,0 +1,281 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Countries' calling codes, the lengths of their national numbers and how to group them, for
|
|
3
|
+
* PhoneInput. Generated by `pnpm phone:data` (scripts/gen-phone-countries.mjs) — don't edit.
|
|
4
|
+
*
|
|
5
|
+
* Source: libphonenumber v9.0.43, resources/PhoneNumberMetadata.xml
|
|
6
|
+
* https://raw.githubusercontent.com/google/libphonenumber/v9.0.43/resources/PhoneNumberMetadata.xml
|
|
7
|
+
* Copyright (C) 2009 The Libphonenumber Authors. Licensed under the Apache License, Version 2.0
|
|
8
|
+
* (https://www.apache.org/licenses/LICENSE-2.0). Derived from it: only the fields below, in
|
|
9
|
+
* this form; the regular expressions for each number type are left out.
|
|
10
|
+
*
|
|
11
|
+
* One line per territory (ISO 3166 code, plus AC and TA), non-geographic codes (+800 …) left out:
|
|
12
|
+
*
|
|
13
|
+
* ISO code[*] lengths trunk [+exits] [!zeros/lengths …] [^leading] [groups …]
|
|
14
|
+
*
|
|
15
|
+
* - code: the calling code without "+"; "*" marks the main country of a code several share.
|
|
16
|
+
* - lengths: the possible lengths of the national (significant) number, over every number type
|
|
17
|
+
* but those not dialled from abroad, as "9", "8-10" or "7,9-10"; local-only lengths and any past
|
|
18
|
+
* E.164's 15 digits (country code included) left out.
|
|
19
|
+
* - trunk: the national prefix dialled at home and left out of E.164 ("0", "1", "8", "06"); "-"
|
|
20
|
+
* for none. A trailing "_": written apart from the number ("8 912 …"), not joined ("0163 …").
|
|
21
|
+
* - +exits: international prefixes dialled there instead of "+", besides 00 ("011", "0011,0014"):
|
|
22
|
+
* its internationalPrefix written out, or the one it prefers when that is too many; any that a
|
|
23
|
+
* national number could start with left out.
|
|
24
|
+
* - !zeros/lengths: national numbers that start with the trunk prefix 0 (or, without one, with
|
|
25
|
+
* 00), as prefixes and their lengths: "!06/8" is Rwanda's 06 and six digits, "!00800/12"
|
|
26
|
+
* Bulgaria's freephone. A number starting with one has no trunk prefix and isn't international.
|
|
27
|
+
* - ^leading: for a shared code, the first digits of the national number that pick this country:
|
|
28
|
+
* its leadingDigits, or the shortest prefixes of its numbers that the main country's aren't.
|
|
29
|
+
* - groups: digit groups for reading, from its national formats, in order: "lead=3.3-4.4", where
|
|
30
|
+
* lead is a regular expression for the first digits (none: any number) and each group a length
|
|
31
|
+
* or a range of lengths ("3-13", "2+"). Groups written together become one; formats that leave
|
|
32
|
+
* digits out (Argentina's "15" mobiles) or are only for numbers not dialled from abroad are
|
|
33
|
+
* skipped. A territory without formats uses its code's main country's.
|
|
34
|
+
*/
|
|
35
|
+
export const PHONE_TABLE = String.raw `
|
|
36
|
+
AC 247 5-6 -
|
|
37
|
+
AD 376 6,8-9 - [135-9]=3.3 1=4.4 6=3.3.3
|
|
38
|
+
AE 971 5-12 0 60|8=3.2-9 [236]|[479][2-8]=1.3.4 [479]=3.1.5 5=2.3.4
|
|
39
|
+
AF 93 9 0 [2-7]=2.3.4
|
|
40
|
+
AG 1 10 1 +011 ^268
|
|
41
|
+
AI 1 10 1 +011 ^264
|
|
42
|
+
AL 355 6-9 0 80|9=3.3-4 4[2-6]=1.3.4 [2358][2-5]|4=2.3.3 [23578]=3.5 6=2.3.4
|
|
43
|
+
AM 374 8 0 [89]0=3.2.3 2|3[12]=3.5 1|47|[3-9]=2.6
|
|
44
|
+
AO 244 9 - [29]=3.3.3
|
|
45
|
+
AR 54 10-11 0 2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|58|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|54(?:4|5[13-7]|6[89])|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:454|85[56])[46]|3(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]=4.2.4 1=2.4.4 [68]|[23]=3.3.4 8=3.3.5
|
|
46
|
+
AS 1 10 1 +011 ^684
|
|
47
|
+
AT 43 4-13 0 1(?:11|[2-9])=1.3-12 517=3.2 5[079]=2.3-5 (?:31|4)6|51|6(?:485|5[0-3579]|[6-9])|7(?:20|32|8)|[89]=3.3-10 [2-467]|5[2-6]=4.3-9 5=2.3.3-4 5=2.4.4-7
|
|
48
|
+
AU 61* 5-10,12 0 +0011,0014,0015,0016,0018,0019,14110011,14140011,14340011,14410011,14470011,14560011,14660011,14740011,14770011,14880011 16=2.3-4 16=2.3.2-4 14|4=3.3.3 [2378]=1.4.4 1(?:30|[89])=4.3.3
|
|
49
|
+
AW 297 7 - [25-9]=3.4
|
|
50
|
+
AX 358 5-12 0 +990,991,994,99511,99532,99533,99541,99555,99559,99577,99588,99590,99599,996,999 ^18
|
|
51
|
+
AZ 994 9 0 90=3.2.2.2 1[28]|2|365(?:4|5[02])|46|[13-9]=2.3.2.2
|
|
52
|
+
BA 387 8-9 0 6[1-3]|[7-9]|[3-5]|6[56]=2.3.3 6=2.2.2.3
|
|
53
|
+
BB 1 10 1 +011 ^246
|
|
54
|
+
BD 880 6-10 0 31[5-8]|[459]1=2.4-6 3(?:[67]|8[013-9])|4(?:6[168]|7|[89][18])|5(?:6[128]|9)|6(?:[15]|28)|7[2-589]|8(?:0[014-9]|[12])|9[358]|(?:3[2-5]|4[235]|5[2-578]|6[0389]|76|8[3-7]|9[24])1|(?:44|66)[01346-9]=3.3-7 [13-9]|2[23]=4.3-6 2=1.7-8
|
|
55
|
+
BE 32 8-9 0 (?:80|9)0=3.2.3 [239]|4[23]=1.3.2.2 [15-8]=2.2.2.2 4=3.2.2.2
|
|
56
|
+
BF 226 8 - [024-7]=2.2.2.2
|
|
57
|
+
BG 359 6-9,12 0 !00800/12 2=1.1.2.2 43[1-6]|70[1-9]=3.4 2=1.3.3-4 [356]|4[124-7]|7[1-9]|8[1-6]|9[1-7]=2.3.2-3 (?:70|8)0=3.2.3 43[1-7]|7=3.3.2 [48]|9[08]=2.3.3-4 9=3.3.3
|
|
58
|
+
BH 973 8 - [13679]|8[02-4679]=4.4
|
|
59
|
+
BI 257 8 - [2367]=2.2.2.2
|
|
60
|
+
BJ 229 10 - 0=2.2.2.2.2
|
|
61
|
+
BL 590 9 0 ^59027,59029,59051,59052,59087
|
|
62
|
+
BM 1 10 1 +011 ^441
|
|
63
|
+
BN 673 7 - [2-578]=3.4
|
|
64
|
+
BO 591 8-9 0 +0010,0011,0012,0013,0014,0015,0016,0017,0018,0019 [23]|4[46]|50=1.7 [5-7]=8 8=3.2.4
|
|
65
|
+
BQ 599 7 - ^3,4,7
|
|
66
|
+
BR 55 8-11 0 +0012,0014,0015,0021,0022,0023,0025,0031,0041,0043,0055,0065,0099 300|4(?:0(?:0|20)|370|864)=4.4 (?:[358]|90)0=3.2-3.4 (?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-57]=2.4.4 [16][1-9]|[2-57-9]=2.5.4
|
|
67
|
+
BS 1 10 1 +011 ^242
|
|
68
|
+
BT 975 7-8 - [2-6]|7[246]|8[2-4]=1.3.3 1[67]|[78]=2.2.2.2
|
|
69
|
+
BW 267 7-8,10 - 90=2.5 [2-6]=3.4 7=2.3.3 0=4.3.3 8=3.4.3
|
|
70
|
+
BY 375 6-11 8_ 800=3.3 800=3.2.2-4 1(?:5[169]|6(?:3[1-3]|4|5[125])|7(?:1[3-9]|7[0-24-6]|9[2-7]))|2(?:1[35]|2[34]|3[3-5])=4.2.3 1(?:[56]|7[467])|2[1-3]=3.2.2.2 [1-4]=2.3.2.2 [89]=3.3-4.4
|
|
71
|
+
BZ 501 7,11 - [2-8]=3.4 0=1.3.4.3
|
|
72
|
+
CA 1 7,10 1 +011 ^204,226,236,249,250,257,263,273,289,306,3100,3101,343,354,365,367,368,382,403,416,418,428,431,437,438,450,468,474,506,514,519,548,579,581,584,587,600,604,613,622,633,639,647,672,683,705,709,742,753,778,780,782,807,819,825,867,873,879,902,905,942
|
|
73
|
+
CC 61 6-10,12 0 +0011,0014,0015,0016,0018,0019,14110011,14140011,14340011,14410011,14470011,14560011,14660011,14740011,14770011,14880011 ^851002,851031,851060,851089,851118,851176,851223,89162,891703
|
|
74
|
+
CD 243 7-10 0 88=2.2.3 [1-6]=2.5 2=2.2.4 1=2.3.4 [89]=3.3.3 5=2.2.3.3
|
|
75
|
+
CF 236 8 - [26-8]=2.2.2.2
|
|
76
|
+
CG 242 9 - 8=1.4.4 [02]=2.3.4
|
|
77
|
+
CH 41 9,12 0 8[047]|90=3.3.3 [2-79]|81=2.3.2.2 8=3.2.3.2.2
|
|
78
|
+
CI 225 10 - 2=2.2.1.5 0=2.2.2.4
|
|
79
|
+
CK 682 5 - [2-578]=2.3
|
|
80
|
+
CL 56 9-11 - 2196=5.4 60|809=3.3.3 44=2.3.4 2[1-36]|9(?:10|[2-9])=1.4.4 3[2-5]|[47]|5[1-3578]|6[13-57]|8(?:0[1-8]|[1-9])=2.3.4 60|8=3.3.3-4 1=4.3.4 60=3.3.2.3
|
|
81
|
+
CM 237 8-9 - 88=2.2.2.2 [26]|88=1.2.2.2.2
|
|
82
|
+
CN 86 7-12 0 10100=2.5 10(?:123|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|(?:3(?:[15]\d|35|49|7[0-79]|9[1-68])|4(?:1[125-9]|2[179]|[35][1-9]|6[47-9]|7\d|8[23])|5(?:[1357]\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-35]|6[0238]|9[12])|7(?:01|[1579]\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123=2.5-6 1010=4.4 (?:3(?:[15]\d|35|49|7[0-79]|9[1-68])|4(?:1[125-9]|2[179]|[35][1-9]|6[47-9]|7\d|8[23])|5(?:[1357]\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-35]|6[0238]|9[12])|7(?:01|[1579]\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\d|4[13]|5[1-5]))(?:100|9[56])=3.5-6 [48]0=3.3.4 10[0-79]|2(?:[02-57-9]|1[1-79])|(?:10|21)8(?:0[1-9]|[1-9])=2.4.4 3(?:[3-59]|7[02-6])|4(?:1[25-9]|[26-8]|3[3-9]|5[2-9])|5(?:3[03-9]|[468]|7[028]|9[2-46-9])|6|7(?:[0-247]|3[04-9]|5[0-4689]|6[2368])|8(?:[1-358]|9[1-7])|9(?:[013479]|5[1-5])|(?:31|55|79|87)[02-9]=3.3.4 9=3.7-8 [3-578]|1[3-9]=3.4.4 [12]=2.3.3.4
|
|
83
|
+
CO 57 8,10-11 0 +00414,00444,00456,005,007,009 46=4.4 6|90|3[0-357]|94=3.7 1=1.3.7
|
|
84
|
+
CR 506 8,10 - [2-7]|8[3-9]=4.4 [89]=3.3.4
|
|
85
|
+
CU 53 6-8,10 0 +119 2[1-4]|[34]=2.4-6 7=1.6-7 [56]=1.7 8=3.7
|
|
86
|
+
CV 238 7 - +0 [2-589]=3.2.2
|
|
87
|
+
CW 599* 7-8 - ^6,9 [3467]=3.4 9[4-8]=1.3.4
|
|
88
|
+
CX 61 6-10,12 0 +0011,0014,0015,0016,0018,0019,14110011,14140011,14340011,14410011,14470011,14560011,14660011,14740011,14770011,14880011 ^851001,851030,851059,851088,851117,851146,851175,851222,851235,89164,891958
|
|
89
|
+
CY 357 8 - [257-9]=2.6
|
|
90
|
+
CZ 420 9-12 - [2-8]|9[015-7]=3.3.3 96=2.3.3.2 9=2.3.3.3 9=3.3.3.3
|
|
91
|
+
DE 49 4-13 0 3[02]|40|[68]9=2.3-13 2(?:0[1-389]|12[0-8])|3(?:[35-9][15]|4[015])|906|2(?:[13][14]|2[18])|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1=3.3-12 [24-6]|3(?:3(?:0[1-467]|2[127-9]|3[124578]|7[1257-9]|8[1256]|9[145])|4(?:2[135]|4[13578]|9[1346])|5(?:0[14]|2[1-3589]|6[1-4]|7[13468]|8[13568])|6(?:2[1-489]|3[124-6]|6[13]|7[12579]|8[1-356]|9[135])|7(?:2[1-7]|4[145]|6[1-5]|7[1-4])|8(?:21|3[1468]|6|7[1467]|8[136])|9(?:0[12479]|2[1358]|4[134679]|6[1-9]|7[136]|8[147]|9[1468]))|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]|3[68]4[1347]|3(?:47|60)[1356]|3(?:3[46]|46|5[49])[1246]|3[4579]3[1357]=4.2-11 138=3.4 3=5.2-10 181=3.5-11 1(?:3|80)|9=3.1.4-10 1[67]=3.7-8 8=3.7-12 18500=5.6 7=3.4.4 18[68]|15[1279]=4.7 15(?:[0568]|3[13]|41)=5.6 18=3.8 1(?:6[023]|7)=3.2.7-8 15[279]=4.2.7 15=3.2.8
|
|
92
|
+
DJ 253 8 - [27]=2.2.2.2
|
|
93
|
+
DK 45 8 - [2-9]=2.2.2.2
|
|
94
|
+
DM 1 10 1 +011 ^767
|
|
95
|
+
DO 1 10 1 +011 ^8001,809,829,849
|
|
96
|
+
DZ 213 8-9 0 [1-4]=2.2.2.2 9=2.3.2.2 [5-8]=3.2.2.2
|
|
97
|
+
EC 593 8-11 0 [2-7]=1.3.4 9=2.3.4 1=4.3.3-4
|
|
98
|
+
EE 372 7-8,10 - [369]|4[3-8]|5(?:[02]|1(?:[0-8]|95)|5[0-478]|6(?:4[0-4]|5[1-589]))|7[1-9]|88=3.4 [45]|8(?:00[1-9]|[1-49])=4.3-4 7=2.2.4 8=4.3.3
|
|
99
|
+
EG 20 8-10 0 [23]=1.7-8 1[35]|[4-6]|8[2468]|9[235-7]=2.6-7 [89]=3.3.4 1=2.8
|
|
100
|
+
EH 212 9 0
|
|
101
|
+
ER 291 7 0 [178]=1.3.3
|
|
102
|
+
ES 34 9 - [89]00=3.3.3 [4-9]=3.2.2.2
|
|
103
|
+
ET 251 9 0 [1-57-9]=2.3.4
|
|
104
|
+
FI 358* 5-12 0 +990,991,994,99511,99532,99533,99541,99555,99559,99577,99588,99590,99599,996,999 ^10,13,14,15,16,17,19,2,3,4,5,6,7,8,9 20[2-59]=5 (?:[1-3]0|[68])0|70[07-9]=3.3-7 [14]|2[09]|50|7[135]=2.4-8 7=2.6-10 (?:19|[2568])[1-8]|3(?:0[1-9]|[1-9])|9=1.4-9
|
|
105
|
+
FJ 679 7,11 - +052 [235-9]|45=3.4 0=4.3.4
|
|
106
|
+
FK 500 5 -
|
|
107
|
+
FM 691 7 - [389]=3.4
|
|
108
|
+
FO 298 6 - [2-9]=2.2.2
|
|
109
|
+
FR 33 9 0 8=3.2.2.2 [1-79]=1.2.2.2.2
|
|
110
|
+
GA 241 7-8 - [2-7]=1.2.2.2 0|11|[67]=2.2.2.2
|
|
111
|
+
GB 44* 7,9-10 0 8001111=3.4 845464=3.2.2 800=3.6 1(?:3873|5(?:242|39[4-6])|(?:697|768)[347]|9467)=5.4-5 1(?:[2-69][02-9]|[78])=4.5-6 [25]|7(?:0|6(?:[03-9]|2[356]))=2.4.4 7=4.6 [1389]=3.3.4
|
|
112
|
+
GD 1 10 1 +011 ^473
|
|
113
|
+
GE 995 9 0 70=3.3.3 32=2.3.2.2 [57]|[348]=3.2.2.2
|
|
114
|
+
GF 594 9 0 [5-7]|80[6-9]|9[47]|[89]=3.2.2.2
|
|
115
|
+
GG 44 7,9-10 0 ^1481,7781,7839,79111,79117,980,981
|
|
116
|
+
GH 233 8-9 0 8=3.5 [2358]=2.3.4
|
|
117
|
+
GI 350 8 - 2=3.5
|
|
118
|
+
GL 299 6 - 19|[2-9]=2.2.2
|
|
119
|
+
GM 220 7,9 - [235-9]|4(?:[0-35]|4[16-9])=3.4 [48]=2.3.4
|
|
120
|
+
GN 224 8-9 - 3=2.2.2.2 [67]=3.2.2.2
|
|
121
|
+
GP 590* 9 0 [5-79]|80[6-9]|8=3.2.2.2
|
|
122
|
+
GQ 240 9 - [235]=3.3.3 [89]=3.6
|
|
123
|
+
GR 30 10-12 - 21|7=2.4.4 2(?:2|3[2-57-9]|4[2-469]|5[2-59]|6[2-9]|7[2-69]|8[2-49])|5=4.6 [2689]=3.3.4 8=3.3-4.5
|
|
124
|
+
GT 502 8,11 - [2-8]=4.4 1=4.3.4
|
|
125
|
+
GU 1 10 1 +011 ^671
|
|
126
|
+
GW 245 7,9 - 40=3.4 [49]=3.3.3
|
|
127
|
+
GY 592 7 - +001 [2-9]=3.4
|
|
128
|
+
HK 852 5-9,11 - +001,002,0030,0050,0059,006,007,008,009 9003=3.2-5 [2-7]|8[1-4]|9(?:0[1-9]|[1-8])=4.4 8=3.3.3 9=3.2.3.3
|
|
129
|
+
HN 504 8,11 - [237-9]=4.4
|
|
130
|
+
HR 385 7-9 0 6[01]=2.2.3 8=3.2.2-3 1=1.4.3 6|7[245]|9|[2-57]=2.3.3-4 8=3.3.3
|
|
131
|
+
HT 509 8 - [2-589]=2.2.4
|
|
132
|
+
HU 36 8-9 06_ 1=1.3.4 [27][2-9]|3[2-7]|4[24-9]|5[2-79]|6|8[2-57-9]|9[2-69]=2.3.3 [2-9]=2.3.3-4
|
|
133
|
+
ID 62 7-13 0 +008,009 !001803/11-13 !007803/13 15=1.3.3 2[124]|[36]1=2.5-9 800=3.5-7 [2-79]=3.5-8 8[1-35-9]=3.3-4.3 1=3.6-8 804=3.3.4 80=3.1.3.3 8=3.4.4-5 001=3.3.3.2-8 0=2.4.3.4
|
|
134
|
+
IE 353 7-10 0 2[24-9]|47|58|6[237-9]|9[35-9]=2.5 [45]0=3.5 1=1.3-4.4 [2569]|4[1-69]|7[14]=2.3.3-4 70|81=3.3.3 [78]=2.3.4 1=4.3.3 4=2.4.4 8=2.1.3.4
|
|
135
|
+
IL 972 7-12 0 +0105,013,014,016 125=4.3 121=4.2.2 [2-489]=1.3.4 [57]=2.3.4 12=4.3.3 159=4.6 1[7-9]=1.3.3.3 15=3.1-2.3.4
|
|
136
|
+
IM 44 10 0 ^1624,74576,7524,7624
|
|
137
|
+
IN 91 8-13 0 !000800/13 5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|8888)=8 1800=4.4-5 140=3.3.4 11|2[02]|33|4[04]|79(?:[1245]|3(?:[02-9]|1[0-24-9]))|80(?:[2-4]|6[0-589])=2.4.4 1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12(?:[2-6]|7[0-8])|74[2-7])|7(?:3171|5[15][2-6]|61[346]|88(?:[2-7]|82))|8(?:70[2-6]|84(?:[2356]|7[19])|91(?:[3-6]|7[19]))|73[134][2-6]|8(?:16|2[014]|3[126]|6[136]|7[78]|83)(?:[2-6]|7[19])|(?:1(?:29|60|8[06])|261|552|6(?:[2-4]1|5[17]|6[13]|7(?:1|4[0189])|80)|7(?:12|88[01]))[2-7]=3.3.4 1(?:[2-479]|5(?:[0236-9]|5[013-9]))|[2-5]|6(?:2(?:84|95)|355|8(?:28[235-7]|3))|73179|807(?:1|9[1-3])|(?:1552|6(?:(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578])\d|7(?:[23569]\d|8[0-57-9])|8(?:[14-6]\d|2[0-79]))|7(?:1(?:[013-8]\d|9[6-9])|3(?:2[0-49]|9[2-57])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\d|5[0-367])|70[13-7]))[2-7]=4.3.3 16|[6-9]=5.5 18[06]0=4.2-4.4 0=3.3.3.4 18=4.3.3.3
|
|
138
|
+
IO 246 7 - 3=3.4
|
|
139
|
+
IQ 964 8-10 0 1=1.3.4 [2-6]=2.3.3-4 7=3.3.4
|
|
140
|
+
IR 98 4-7,10 0 96=4-5 (?:1[137]|2[13-68]|3[1458]|4[145]|5[1468]|6[16]|7[1467]|8[13467])[12689]=2.4-5 9=3.3.3-4 [1-8]=2.4.4
|
|
141
|
+
IS 354 7,9 - +1001,1010,1020,1100 [4-9]=3.4 3=3.3.3
|
|
142
|
+
IT 39* 6-12 - 0[26]=2.4-6 0[13-57-9][0159]|8(?:03|4[17]|9(?:2|3[04]|[45][0-4]))=3.3-6 0(?:[13-579][2-46-8]|8[236-8])=4.2-6 894=4.4 0[26]|5=2.3-4.4 1(?:44|[679])|[378]|43=3.3.3-4 0[13-57-9][0159]|14=3.3-4.4 0[26]=2.4.5 0=4.3.4 [03]=3.4.4-5
|
|
143
|
+
JE 44 10 0 ^1534,7509,77003,77007,77008,7797,7829,7937
|
|
144
|
+
JM 1 10 1 +011 ^658,876
|
|
145
|
+
JO 962 8-9 0 [2356]|87=1.3.4 [89]=3.5-6 70=2.7 [47]=1.4.4
|
|
146
|
+
JP 81 8-13 0 +010 !0037,0066,0078/10-13 !007770,007771/8 !007775/9 !007778,008821,008822,008824,008825/10 00777[01]=4.4 000=8-10 (?:12|57|99)0=3.3.3 1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:769|979[2-69])|7468|8(?:3(?:8[7-9]|96[2457-9])|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]=4.1.4 60=2.3.4 3|4(?:2(?:0|9[02-69])|7(?:0[019]|1))|6[1-9]=1.4.4 1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2[127]|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9(?:17|99))|6(?:2|4[016-9])|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|9[29])|5(?:2|3(?:[045]|9(?:[0-58]|6[4-9]|7[0-35689]))|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0169])|3(?:[29]|60|7(?:[017-9]|6[6-8]))|49|51|6(?:[0-24]|36[2-57-9]|5(?:[0-389]|5[23])|6(?:[01]|9[178])|7(?:2[2-468]|3[78])|9[0145])|7[0-468]|8[68])|9(?:4[15]|5[138]|7[156]|8[189]|9(?:[1289]|3(?:31|4[357])|4[0178]))|(?:8294|96)[1-3]|2(?:57|93)[015-9]|(?:223|8699)[014-9]|(?:25[0468]|422|838)[01]|(?:48|8292|9[23])[1-9]|(?:47[59]|59[89]|8(?:68|9))[019]=2.3.4 [14]|[289][2-9]|5[3-9]|7[2-4679]=3.2.4 0077=4.2.3-4 008=4.2.4 800=3.3.4 [25-9]=2.4.4 0=4.3.3-4 0=4.4.4-5 0=4.5.5-6 0=4.6.6-7
|
|
147
|
+
KE 254 7-10 0 +000 [24-6]=2.5-7 [17]=3.6 [89]=3.3.3-4
|
|
148
|
+
KG 996 9-10 0 3(?:1[346]|[24-79])=4.5 [235-79]|88=3.3.3 8=3.3.1.2-3
|
|
149
|
+
KH 855 8-10 0 +001,004,005,006,007,008,009 [1-9]=2.3.3-4 1=4.3.3
|
|
150
|
+
KI 686 5,8 0
|
|
151
|
+
KM 269 7 - [3478]=3.2.2
|
|
152
|
+
KN 1 10 1 +011 ^869
|
|
153
|
+
KP 850 8,10 0 +99 8=2.3.3 [2-7]=1.3.4 1=3.3.4
|
|
154
|
+
KR 82 5-6,8-13 0 +001,002,00345,00365,00391,005,006,00700,00727,0073,00755,00761,00762,00766,008,009 !00308/11-12 !00368/12 !00798/12-13 (?:3[1-3]|[46][1-4]|5[1-5])1=2.3-4 1=4.4 2=1.3-4.4 [36]0|8=2.3.4 [1346]|5[1-5]=2.3-4.4 [57]=2.4.4 0030=5.3.3 5=2.5.4 0=5.3-4.4 0=5.2.3.4
|
|
155
|
+
KW 965 7-8 - [169]|2(?:[235]|4[1-35-9])|52=4.3-4 [245]=3.5
|
|
156
|
+
KY 1 10 1 +011 ^345
|
|
157
|
+
KZ 7 10,14 8 ^7
|
|
158
|
+
LA 856 8-10 0 2[13]|3[14]|[4-8]=2.3.3 3=2.2.2.3 2=2.2.3.3
|
|
159
|
+
LB 961 7-8 0 [13-69]|7(?:[2-57]|62|8[0-6]|9[04-9])|8[02-9]=1.3.3 [27-9]=2.3.3
|
|
160
|
+
LC 1 10 1 +011 ^758
|
|
161
|
+
LI 423 7,9 0 [2379]|8(?:0(?:02|9)|7)=3.2.2 8=3.3.3 69=2.3.4 6=3.3.3
|
|
162
|
+
LK 94 9 0 7=2.3.4 [1-689]=3.3.3
|
|
163
|
+
LR 231 7-9 0 4[67]|[56]=1.3.3 2=2.3.3 [2-578]=2.3.4
|
|
164
|
+
LS 266 8 - [2568]=4.4
|
|
165
|
+
LT 370 8 0_ 52[0-7]=1.3.4 [7-9]=3.2.3 37|4(?:[15]|6[1-8])=2.6 [3-6]=3.5
|
|
166
|
+
LU 352 4-11 - 2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])=2.3 2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])=2.2.2 20[2-689]=2.2.3 20=2.2.2.1-2 [3-57]|8[13-9]|9(?:0[89]|[2-579])|(?:2|80)[2-9]=2.2.2.1-5 80[01]|90[015]=3.2.3 20=2.2.2.3 6=3.3.3 20=2.2.2.2.1-2
|
|
167
|
+
LV 371 8 - [2679]|8[01]=2.3.3
|
|
168
|
+
LY 218 9 0 [2-9]=2.7
|
|
169
|
+
MA 212* 9 0 ^5,6,7,8 892=4.5 8(?:0[0-7]|9)=2.7 [5-8]=1.2.2.2.2
|
|
170
|
+
MC 377 8-9 0 4=2.3.3 [389]=2.2.2.2 [67]=1.2.2.2.2
|
|
171
|
+
MD 373 8 0 [89]=3.5 22|3=2.3.3 [25-7]=3.2.3
|
|
172
|
+
ME 382 8-9 0 [2-9]=2.3.3-4
|
|
173
|
+
MF 590 9 0 ^59000,59007,59009,59013,59027,59029,59030,59043,59050,59051,59052,59056,59058,59077,59079,59087
|
|
174
|
+
MG 261 9 0 [23]=2.2.3.2
|
|
175
|
+
MH 692 7 1 +011 [2-6]=3.4
|
|
176
|
+
MK 389 8 0 2|34[47]|4(?:[37]7|5[47]|64)=1.3.4 [347]=2.3.3 [58]=3.1.2.2
|
|
177
|
+
ML 223 8 - [24-9]=2.2.2.2
|
|
178
|
+
MM 95 6-10 0 16|2=1.2.3 4(?:[2-46]|5[3-5])|5|6(?:[1-689]|7[235-7])|7(?:[0-4]|5[2-7])|8[1-5]|(?:60|86)[23]=2.2.3 [12]|452|6788|86=1.3.3-4 [4-7]|8[1-35]=2.3.3-4 9(?:2[0-4]|[35-9]|4[137-9])=1.3.4-6 2=1.4.4 8=3.3.4 92=1.3.3.3 9=1.5.4
|
|
179
|
+
MN 976 8-10 0 +001 11|2[16]=2.2.4 [5-9]=4.4 [12]2[1-3]=3.5-6 [12](?:27|3[2-8]|4[2-68]|5[1-4689])[0-3]=4.5-6 [12]=5.4-5
|
|
180
|
+
MO 853 7-8 - 0=4.3 [268]=4.4
|
|
181
|
+
MP 1 10 1 +011 ^670
|
|
182
|
+
MQ 596 9 0 [5-79]|8(?:0[6-9]|[36])|8=3.2.2.2
|
|
183
|
+
MR 222 8 - [2-48]=2.2.2.2
|
|
184
|
+
MS 1 10 1 +011 ^664
|
|
185
|
+
MT 356 8 - [2357-9]=4.4
|
|
186
|
+
MU 230 7-8,10 - +020,030,033,040,050,060,070 [2-46]|8[013]=3.4 [57]=4.4 8=5.5
|
|
187
|
+
MV 960 7,10 - +019 [34679]=3.4 [89]=3.3.4
|
|
188
|
+
MW 265 7,9 0 1[2-9]=1.3.3 [1-37-9]=3.2.2.2
|
|
189
|
+
MX 52 10 - +09 33|5[56]|81=2.4.4 [2-9]=3.3.4
|
|
190
|
+
MY 60 8-10 0 [4-79]=1.3.4 1(?:[02469]|[37][1-9]|53|8(?:[1-46-9]|5[7-9]))|8=2.3.3-4 3=1.4.4 1(?:[367]|80)=1.3.2.4 15=3.3.4 1=2.4.4
|
|
191
|
+
MZ 258 8-9 - 2|8[2-9]=2.3.3-4 8=3.3.3
|
|
192
|
+
NA 264 8-9 0 88=2.3.3 6=2.3.3-4 87=3.3.3 8=2.3.4
|
|
193
|
+
NC 687 6 - [02-57-9]=2.2.2
|
|
194
|
+
NE 227 8 - 08=2.3.3 [089]|2[013]|7[0467]=2.2.2.2
|
|
195
|
+
NF 672 6 - 1[0-3]=2.4 [13]=1.5
|
|
196
|
+
NG 234 10-12 0 +009 [7-9]=3.3.3-4 20[129]=3.3.4 2=4.2.4 [78]=3.4.4-5 [78]=3.5.5-6
|
|
197
|
+
NI 505 8 - [125-8]=4.4
|
|
198
|
+
NL 31 5-11 0 [89]0=3.4-7 66=2.7 6=1.8 1[16-8]|2[259]|3[124]|4[17-9]|5[124679]=3.3.3 [1-578]|91=2.3.4 9=3.3.5
|
|
199
|
+
NO 47* 5,8 - ^0,2,3,4,5,6,70,71,72,73,74,75,76,77,78,8,9 8=3.2.3 [2-79]=2.2.2.2
|
|
200
|
+
NP 977 8,10-11 0 1[2-6]=1.7 1[01]|[2-8]|9(?:[1-59]|[67][2-6])=2.6 9=3.7
|
|
201
|
+
NR 674 7 - [24-9]=3.4
|
|
202
|
+
NU 683 4,7 - 8=3.4
|
|
203
|
+
NZ 64 5-10 0 +0161 8[1-79]=2.3-8 50(?:[0367]|88)|8|90=3.2.2-3 24|[346]|7[2-57-9]|9[2-9]=1.3.4 2(?:10|74)|[589]=3.3.3-4 1|2[028]=2.3-4.4 2(?:[169]|7[0-35-9])|7=2.3.3-5
|
|
204
|
+
OM 968 7-9 - [58]=3.4-6 2=2.6 [179]=4.4
|
|
205
|
+
PA 507 7-8,10-11 - !00800/11 [1-57-9]=3.4 [68]=4.4 8=3.3.4
|
|
206
|
+
PE 51 8-9 0 +191100,191200,191400,197700,199000 80=3.5 1=1.7 [4-8]=2.6 9=3.3.3
|
|
207
|
+
PF 689 6,8-9 - 44=2.2.2 4|8[7-9]=2.2.2.2 8=3.2.2.2
|
|
208
|
+
PG 675 7-8 - +1401,1402,1403 18|[2-69]|85[02-46-9]=3.4 [78]=4.4
|
|
209
|
+
PH 63 6,8-13 0 2=1.5 3(?:230|397|461)|4(?:2(?:35|[46]4|51)|396|4(?:22|63)|59[347]|76[15])|5(?:221|446)|642[23]|8(?:622|8(?:[24]2|5[13]))=4.4-6 3469|4(?:279|9(?:30|56))|8834=5.4 2=1.4.4 [3-7]|8[2-8]=2.3.4 [89]=3.3.4 1=4.3.4 1=4.1-2.3.4
|
|
210
|
+
PK 92 8-12 0 [89]0=3.3.2-7 1=4.5 9(?:2[3-8]|98)|(?:2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:22|3[27-9]|4[2-6]|6[3569]|9[25-7]))[2-9]=3.6-7 (?:2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91)[2-9]=2.7-8 58=5.5 3=3.7 2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91=2.3.3.3 [24-9]=3.3.3.3
|
|
211
|
+
PL 48 6-10 - 19=5 11|20|64=3.3 30|(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])19=2.2.3 64=3.2.2-3 21|39|45|5[0137]|6[0469]|7[02389]|8(?:0[14]|8)=3.3.3 1[2-8]|[2-7]|8[1-79]|9[145]=2.3.2.2 8=3.3.3-4
|
|
212
|
+
PM 508 6,9 0 [2-9]=2.2.2 7=3.3.3 8=3.2.2.2
|
|
213
|
+
PR 1 10 1 +011 ^787,939
|
|
214
|
+
PS 970 8-10 0 [2489]=1.3.4 5=3.3.3 1=4.3.3
|
|
215
|
+
PT 351 9 - 2[12]=2.3.4 16|[236-9]=3.3.3
|
|
216
|
+
PW 680 7 - +011,012 [2-9]=3.4
|
|
217
|
+
PY 595 6-11 0 [2-9]0=3.3-6 3[289]|4[246-8]|61|7[1-3]|8[1-36]=2.5 2[279]|3[13-5]|4[359]|5|6(?:[34]|7[1-46-8])|7[46-8]|85=3.4-5 2[14-68]|3[26-9]|4[1246-8]|6(?:1|75)|7[1-35]|8[1-36]=2.3.3-4 87=2.3.4 9(?:[5-79]|8[1-8])=3.6 [2-8]=3.3.3 9=4.3.4
|
|
218
|
+
QA 974 7-9,11 - !00800,00801/11 2[136]|8=3.4 [3-7]=4.4
|
|
219
|
+
RE 262* 9 0 [26-9]=3.2.2.2
|
|
220
|
+
RO 40 6,9 0 2[3-6]\d9=3.3 219|31=2.4 [23]1=2.3.4 [237-9]=3.3.3
|
|
221
|
+
RS 381 6-12 0 (?:2[389]|39)0|[7-9]=3.3-9 [1-36]=2.5-10
|
|
222
|
+
RU 7* 10,14 8_ ^3,4,8,9 7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:13[03-69]|62[013-9]))|72[1-57-9]2=4.2.2.2 7(?:1(?:0(?:[356]|4[023])|[18]|2(?:3[013-9]|5)|3[45]|43[013-79]|5(?:3[1-8]|4[1-7]|5)|6(?:3[0-35-9]|[4-6]))|2(?:1(?:3[178]|[45])|[24-689]|3[35]|7[457]))|7(?:14|23)4[0-8]|71(?:33|45)[1-79]=5.1.2.2 7=3.3.4 [349]|8(?:[02-7]|1[1-8])=3.3.2.2 8=4.4.3.3
|
|
223
|
+
RW 250 8-9 0 !06/8 0=2.2.2.2 2|[7-9]=3.3.3
|
|
224
|
+
SA 966 9-10 0 9=4.5 1|5=2.3.4 8=3.3.4
|
|
225
|
+
SB 677 5,7 - +01 6[89]|7|8[4-9]|9(?:[0-8]|9[0-8])=2.5
|
|
226
|
+
SC 248 7 - +01,010,02 [246]|9[57]=1.3.3
|
|
227
|
+
SD 249 9 0 [19]=2.3.4
|
|
228
|
+
SE 46 6-10,12 0 20=2.2-3.2 9(?:00|39|44|9)=3.4 [12][136]|3[356]|4[0246]|6[03]|90[1-9]=2.3.2 8=1.2-3.2.2 1[2457]|2(?:[247-9]|5[0138])|3[0247-9]|4[1357-9]|5[0-35-9]|6(?:[125689]|4[02-57]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])=3.2-3.2 9(?:00|39|44)=3.2-3.3 1[13689]|2[0136]|3[1356]|4[0246]|54|6[03]|90[1-9]=2.2-3.2.2 10|7=2.3.2.2 8=1.3.3.2 [13-5]|2(?:[247-9]|5[0138])|6(?:[124-689]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])=3.2.2.2 9=3.2.2.3 [26]=3.2.3.2.2
|
|
229
|
+
SG 65 8,10-11 - [369]|8(?:0[1-9]|[1-9])=4.4 8=3.3.4 7=4.4.3 1=4.3.4
|
|
230
|
+
SH 290* 4-5 - ^2,5,6,9
|
|
231
|
+
SI 386 5-8 0 +1022,1066,1088,1099 8[09]|9=2.3-6 59|8=3.5 [37][01]|4[013]|51|6=2.3.3 [1-57]=1.3.2.2
|
|
232
|
+
SJ 47 5,8 - ^79
|
|
233
|
+
SK 421 6-7,9 0 21=1.2.3-4 [3-5][1-8]1[67]=2.2.2-3 2=1.3.3.2 [689]=3.3.3 [3-5]=2.3.2.2
|
|
234
|
+
SL 232 8 0 [236-9]=2.6
|
|
235
|
+
SM 378 8,10 - [5-7]=2.2.2.2 0=4.6
|
|
236
|
+
SN 221 9 - 8=3.2.2.2 [379]=2.3.2.2
|
|
237
|
+
SO 252 6-9 0 8[125]=2.4 [134]=6 [15]|2[0-79]|3[0-46-8]|4[0-7]=1.6 1|28|9[2-9]=2.5-7 [267]|904=1.7 [346-9]=2.3.4
|
|
238
|
+
SR 597 6-7 - 56=2.2.2 [2-5]=3.3 [6-9]=3.4
|
|
239
|
+
SS 211 9 0 [19]=3.3.3
|
|
240
|
+
ST 239 7 - [29]=3.4
|
|
241
|
+
SV 503 7-8,11 - [89]=3.4 [25-7]=4.4 [89]=3.4.4
|
|
242
|
+
SX 1 10 1 +011 ^721
|
|
243
|
+
SY 963 8-9 0 [1-4]|5[1-3]=2.3.3-4 [59]=3.3.3
|
|
244
|
+
SZ 268 8-9 - [0237]=4.4 9=5.4
|
|
245
|
+
TA 290 4 - ^8
|
|
246
|
+
TC 1 10 1 +011 ^649
|
|
247
|
+
TD 235 8 - +16 [236-9]=2.2.2.2
|
|
248
|
+
TG 228 8 - [279]=2.2.2.2
|
|
249
|
+
TH 66 8-10,13 0 +001,002,003,004,005,006,007,008,009 !001800/13 2=1.3.4 [13-9]=2.3.3-4 1=4.3.3
|
|
250
|
+
TJ 992 9 - +810 !00/9 3317=6.1.2 44[02-479]|[34]7=3.2.4 3(?:[1245]|3[12])=4.1.4 \d=2.3.4
|
|
251
|
+
TK 690 4-7 -
|
|
252
|
+
TL 670 7-8 - [2-489]|70=3.4 7=4.4
|
|
253
|
+
TM 993 8 8_ +810 12=2.2.2.2 [1-5]=3.1.2.2 [67]=2.6
|
|
254
|
+
TN 216 8 - [2-57-9]=2.3.3
|
|
255
|
+
TO 676 5,7 - [2-4]|50|6[09]|7[0-24-69]|8[05]=2.3 0=4.3 [5-9]=3.4
|
|
256
|
+
TR 90 7,10,12-13 0 512|8[01589]|90=3.3.4 5|[24][1-8]|3[1-9]=3.3.2.2 80=3.3.6-7
|
|
257
|
+
TT 1 10 1 +011 ^868
|
|
258
|
+
TV 688 5-7 - 2=2.3 90=2.4 7=2.5
|
|
259
|
+
TW 886 7-11 0 +002,005,006,007,009,019 202=2.1.4 826=3.5 83=3.2.3 82=2.2.4 [25]0|37|49|8[09]=2.3.3-4 [23568]|4(?:0[2-48]|[1-478])|(?:400|7)[1-9]=1.3-4.4 [49]=3.3.3 7=2.4.4-5
|
|
260
|
+
TZ 255 9 0 +000,005,006 [89]=3.2.4 [24]=2.3.4 5=2.7 [67]=3.3.3
|
|
261
|
+
UA 380 9-10 0 6[12][29]|(?:35|4[1378]|5[12457]|6[49])2|(?:56|65)[24]|(?:3[1-46-8]|46)2[013-9]=3.3.3 3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6(?:[015689]|3[02389])|7[4-6])|6(?:[12][3-7]|[459])=4.5 [3-7]|89|9[1-9]=2.3.4 [89]=3.3.3-4
|
|
262
|
+
UG 256 9 0 +000,005,007 20240=4.5 20(?:[0135-7]|2[5-9])|4(?:6[45]|[7-9])|[7-9]=3.6 [2-4]=2.7
|
|
263
|
+
US 1* 10 1 +011 310=3.4 [2-9]=3.3.4
|
|
264
|
+
UY 598 4-12 0 !0004/6-12 21=4-5 0=3.3-4 [49]0|8=3.4 9=2.3.3 [124]=4.4 0=3.3.2-4 0=3.3.3.2-4
|
|
265
|
+
UZ 998 9 - [235-9]=2.3.2.2
|
|
266
|
+
VA 39 6-12 - ^06698
|
|
267
|
+
VC 1 10 1 +011 ^784
|
|
268
|
+
VE 58 10 0 [24-689]=3.7
|
|
269
|
+
VG 1 10 1 +011 ^284
|
|
270
|
+
VI 1 10 1 +011 ^340
|
|
271
|
+
VN 84 7-10 0 1(?:2[02]|[89])=4.4-6 1[26]|6=2.3.2.2 [1357-9]=3.3.3 2[48]=2.4.4 2=3.4.3
|
|
272
|
+
VU 678 5,7 - [57-9]=3.4
|
|
273
|
+
WF 681 6,9 - [47-9]=2.2.2 8=3.2.2.2
|
|
274
|
+
WS 685 5-7,10 - +0 [2-5]|6[1-9]=5 [68]=3.3-7 7=2.5
|
|
275
|
+
XK 383 8-12 0 [89]=3.5 [2-4]=2.3.3 2|39=3.3.3 3=2.7-10
|
|
276
|
+
YE 967 7-9 0 [1-6]|7(?:[24-6]|8[0-7])=1.3.3-4 7=3.3.3
|
|
277
|
+
YT 262 9 0 ^2689,269,63,7093,9398,9478,9769
|
|
278
|
+
ZA 27 5-10 0 8[1-4]=2.3-4 8[1-4]=2.3.2-3 860=3.3.3 [1-9]=2.3.4 8=3.3.4
|
|
279
|
+
ZM 260 9 0 [28]=3.3.3 [579]=2.7
|
|
280
|
+
ZW 263 7,9-10 0 80=3.4 29[013-9]=2.3.3-4 [256]|39|8[13-59]=2.7 7=2.3.4 3=3.3.3-4 8=4.6
|
|
281
|
+
`;
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
export interface PhoneCountry {
|
|
2
|
+
/** ISO 3166-1 alpha-2, upper case ("DE"); "AC" and "TA" for Ascension and Tristan da Cunha. */
|
|
3
|
+
iso: string;
|
|
4
|
+
/** The country calling code, without "+": "49". */
|
|
5
|
+
dial: string;
|
|
6
|
+
/** Every possible length of the national number. */
|
|
7
|
+
lengths: number[];
|
|
8
|
+
/** National prefixes people may type first ("0"), left out of E.164. */
|
|
9
|
+
trunks: string[];
|
|
10
|
+
/** International prefixes dialled instead of "+", besides the 00 read everywhere: "011" in
|
|
11
|
+
North America, "0011" and others in Australia. */
|
|
12
|
+
exits: string[];
|
|
13
|
+
/** National numbers that start with the trunk prefix's 0 (with 00, where there is no trunk
|
|
14
|
+
prefix), by their first digits and lengths: Rwanda's 06 and six digits, freephone 00800 …
|
|
15
|
+
in Bulgaria. A number starting with one has no trunk prefix and isn't international. */
|
|
16
|
+
zeros: {
|
|
17
|
+
prefix: string;
|
|
18
|
+
lengths: number[];
|
|
19
|
+
}[];
|
|
20
|
+
/** Whether the trunk prefix is written apart from the number ("8 912 345 67 89"), not joined to
|
|
21
|
+
its first group ("0163 7568602"). */
|
|
22
|
+
trunkApart: boolean;
|
|
23
|
+
/** Digit groups for reading, tried in order: the first whose `lead` matches the start of the
|
|
24
|
+
national number (`null`: any number) and whose groups fit its length. Each group is its
|
|
25
|
+
fewest and most digits. */
|
|
26
|
+
formats: {
|
|
27
|
+
lead: RegExp | null;
|
|
28
|
+
groups: [number, number][];
|
|
29
|
+
}[];
|
|
30
|
+
/** Leading digits that pick this country from the others sharing its calling code. */
|
|
31
|
+
leading: string[];
|
|
32
|
+
}
|
|
33
|
+
export declare const PHONE_COUNTRIES: readonly PhoneCountry[];
|
|
34
|
+
/** The country with this ISO code (any case), or undefined. */
|
|
35
|
+
export declare function phoneCountry(iso: string | null | undefined): PhoneCountry | undefined;
|
|
36
|
+
/** The countries with this calling code, the main one first. */
|
|
37
|
+
export declare function countriesWithCode(dial: string): readonly PhoneCountry[];
|
|
38
|
+
/** E.164 allows 15 digits after the "+", the country code included. */
|
|
39
|
+
export declare const E164_MAX_DIGITS = 15;
|
|
40
|
+
/** The digits 0–9 in a text, from any script ("٠١٢" and full-width digits count). */
|
|
41
|
+
export declare function phoneDigits(text: string): string;
|
|
42
|
+
/**
|
|
43
|
+
* The country and national number of the digits after a "+": "442079460018" → GB, "2079460018".
|
|
44
|
+
* Calling codes are prefix-free, so the first one that matches is the one. Null while the digits
|
|
45
|
+
* don't start with a known code yet ("4", or "9" of "+9…").
|
|
46
|
+
*/
|
|
47
|
+
export declare function splitInternational(digits: string, current?: string): {
|
|
48
|
+
country: PhoneCountry;
|
|
49
|
+
national: string;
|
|
50
|
+
} | null;
|
|
51
|
+
/** An E.164 number as its country and national number; null for anything else. */
|
|
52
|
+
export declare function parsePhoneNumber(value: string | null | undefined, current?: string): {
|
|
53
|
+
country: PhoneCountry;
|
|
54
|
+
national: string;
|
|
55
|
+
} | null;
|
|
56
|
+
/** The E.164 form of a national number in a country, or null when there are no digits yet. */
|
|
57
|
+
export declare function toE164(country: PhoneCountry, national: string): string | null;
|
|
58
|
+
/**
|
|
59
|
+
* The national prefixes people dial at home, at the front of what they typed: "020 7946 0018" in
|
|
60
|
+
* the UK starts with the trunk "0". A "0" (or "06") is one, as national numbers there don't start
|
|
61
|
+
* with 0 — except a few ranges (Rwanda's 06 fixed lines, India's freephone 000800), read whole once
|
|
62
|
+
* the digits start with one — and so is North America's "1". Others ("8" in Russia, where 812 is
|
|
63
|
+
* an area code) count only when the digits are a possible length without them and not with them,
|
|
64
|
+
* or too long.
|
|
65
|
+
*/
|
|
66
|
+
export declare function trunkPrefix(digits: string, country: PhoneCountry): string;
|
|
67
|
+
/** The national (significant) number of what someone typed, without the trunk prefix. */
|
|
68
|
+
export declare function nationalNumber(digits: string, country: PhoneCountry): string;
|
|
69
|
+
/**
|
|
70
|
+
* A national number grouped for reading, with any trunk prefix kept in front of the first group
|
|
71
|
+
* (or apart, where the country writes it so: "8 912 345 67 89"): "2079460018" → "20 7946 0018",
|
|
72
|
+
* "02079460018" → "020 7946 0018". Digits past the pattern stay on the last group.
|
|
73
|
+
*/
|
|
74
|
+
export declare function formatNational(digits: string, country: PhoneCountry): string;
|
|
75
|
+
export type PhoneLength = "ok" | "short" | "long";
|
|
76
|
+
/**
|
|
77
|
+
* Whether a national number has one of its country's lengths, or is too short or too long; one of
|
|
78
|
+
* the ranges starting with 0 (`PhoneCountry.zeros`), one of that range's lengths.
|
|
79
|
+
*/
|
|
80
|
+
export declare function checkPhoneLength(national: string, country: PhoneCountry): PhoneLength;
|
|
81
|
+
/**
|
|
82
|
+
* What a person typed or pasted as an international number: "+44 20 7946 0018", "0044 20…",
|
|
83
|
+
* "+44 (0)20 7946 0018", "tel:+4420…", or after the current country's own international prefix
|
|
84
|
+
* ("011 44 20…" in the US). Returns the digits after the "+", or null when the text isn't written
|
|
85
|
+
* internationally — as for a national number that starts like an international prefix, so far
|
|
86
|
+
* (Korea's freephone 00798 …, Bulgaria's 00800 …).
|
|
87
|
+
*/
|
|
88
|
+
export declare function internationalDigits(text: string, current?: PhoneCountry): string | null;
|
|
89
|
+
/** The region of a locale ("de-AT" → "AT", "de" → "DE", "en" → "US"), if the table has it. */
|
|
90
|
+
export declare function regionOfLocale(locale: string | undefined): string | undefined;
|