diff --git a/assets/config/toolkit.config.min.css b/assets/config/toolkit.config.min.css new file mode 100644 index 0000000..d993527 --- /dev/null +++ b/assets/config/toolkit.config.min.css @@ -0,0 +1 @@ +:root{--kit-color-error-w5:hsl(0, 100%, 80%);--kit-color-error-w4:hsl(0, 100%, 75%);--kit-color-error-w3:hsl(0, 100%, 70%);--kit-color-error-w2:hsl(0, 100%, 65%);--kit-color-error-w1:hsl(0, 100%, 60%);--kit-color-error:hsl(0, 100%, 55%);--kit-color-error-b1:hsl(0, 100%, 48%);--kit-color-error-b2:hsl(0, 100%, 41%);--kit-color-error-b3:hsl(0, 100%, 34%);--kit-color-error-b4:hsl(0, 100%, 30%);--kit-color-error-b5:hsl(0, 100%, 25%);--kit-color-error-text:#FFF;--kit-color-warning-w5:hsl(36, 94%, 80%);--kit-color-warning-w4:hsl(36, 94%, 75%);--kit-color-warning-w3:hsl(36, 94%, 70%);--kit-color-warning-w2:hsl(36, 94%, 65%);--kit-color-warning-w1:hsl(36, 94%, 60%);--kit-color-warning:hsl(36, 94%, 55%);--kit-color-warning-b1:hsl(36, 94%, 50%);--kit-color-warning-b2:hsl(36, 94%, 45%);--kit-color-warning-b3:hsl(36, 94%, 40%);--kit-color-warning-b4:hsl(36, 94%, 35%);--kit-color-warning-b5:hsl(36, 94%, 30%);--kit-color-success-w5:hsl(128, 45%, 80%);--kit-color-success-w4:hsl(128, 45%, 75%);--kit-color-success-w3:hsl(128, 45%, 70%);--kit-color-success-w2:hsl(128, 45%, 65%);--kit-color-success-w1:hsl(128, 45%, 60%);--kit-color-success:hsl(128, 45%, 55%);--kit-color-success-b1:hsl(128, 45%, 50%);--kit-color-success-b2:hsl(128, 45%, 45%);--kit-color-success-b3:hsl(128, 45%, 40%);--kit-color-success-b4:hsl(128, 45%, 35%);--kit-color-success-b5:hsl(128, 45%, 30%);--kit-color-readonly-w2:hsl(0, 0%, 65%);--kit-color-readonly-w1:hsl(0, 0%, 60%);--kit-color-readonly:hsl(0, 0%, 55%);--kit-color-readonly-b1:hsl(0, 0%, 50%);--kit-color-readonly-b2:hsl(0, 0%, 45%);--kit-color-content:hsl(0, 0%, 100%);--kit-color-content-b1:hsl(0, 0%, 97%);--kit-color-content-b2:hsl(0, 0%, 94%);--kit-color-content-b3:hsl(0, 0%, 91%);--kit-color-content-b4:hsl(0, 0%, 88%);--kit-color-content-b5:hsl(0, 0%, 85%);--kit-color-text-w3:#404040;--kit-color-text-w2:#333333;--kit-color-text-w1:#262626;--kit-color-text:#1a1a1a;--kit-color:#1a1a1a;--kit-color-text-hover:var(--kit-color-primary);--kit-color-primary-w5:hsl(210, 100%, 85%);--kit-color-primary-w4:hsl(210, 100%, 80%);--kit-color-primary-w3:hsl(210, 100%, 70%);--kit-color-primary-w2:hsl(210, 100%, 65%);--kit-color-primary-w1:hsl(210, 100%, 60%);--kit-color-primary:hsl(210, 100%, 55%);--kit-color-primary-b1:hsl(210, 100%, 50%);--kit-color-primary-b2:hsl(210, 100%, 45%);--kit-color-primary-b3:hsl(210, 100%, 40%);--kit-color-primary-b4:hsl(210, 100%, 35%);--kit-color-primary-b5:hsl(210, 100%, 30%);--kit-color-primary-text:#FFF;--kit-color-secondary-w5:hsl(0, 0%, 80%);--kit-color-secondary-w4:hsl(0, 0%, 75%);--kit-color-secondary-w3:hsl(0, 0%, 70%);--kit-color-secondary-w2:hsl(0, 0%, 65%);--kit-color-secondary-w1:hsl(0, 0%, 60%);--kit-color-secondary:hsl(0, 0%, 55%);--kit-color-secondary-b1:hsl(0, 0%, 50%);--kit-color-secondary-b2:hsl(0, 0%, 45%);--kit-color-secondary-b3:hsl(0, 0%, 40%);--kit-color-secondary-b4:hsl(0, 0%, 35%);--kit-color-secondary-b5:hsl(0, 0%, 30%);--kit-color-secondary-text:#FFF;--font-size:16px;--kit-color-icon:#DADADA;--kit-color-icon-hover:#b6b6b6;--kit-color-placeholder:#b1b1b1;--kit-font-family:'Roboto', Arial, sans-serif} \ No newline at end of file diff --git a/assets/core/core.plugins.config.js b/assets/core/core.plugins.config.js index 2ca2d49..1199262 100644 --- a/assets/core/core.plugins.config.js +++ b/assets/core/core.plugins.config.js @@ -466,13 +466,19 @@ var __PluginManagerConfigHandler__ = function() { }, intlTelInput: { path: root + '/intl-tel-input', - module: '/js/intlTelInput.min.js', + module: '/js/intlTelInputWithUtils.min.js', css: [ '/css/intlTelInput.min.css', ], type: 'UMD', alias: ['intl-tel-input'], }, + intlTelInputI18n: { + path: root + '/intl-tel-input', + module: '/js/i18n/index2.js', + type: 'ES', + alias: ['intl-tel-input-i18n'], + }, autoComplete: { path: root + '/autoComplete', module: '/autoComplete.min.js', diff --git a/assets/core/core.plugins.config.min.js b/assets/core/core.plugins.config.min.js index 281de91..ce37ca6 100644 --- a/assets/core/core.plugins.config.min.js +++ b/assets/core/core.plugins.config.min.js @@ -1 +1 @@ -var __PluginManagerConfigHandler__=function(){var e=__pmConfig__.assetsPath;return{menu:{path:e+"/menu",module:"/menu.js",css:["/menu.css"],type:"HMD",deps:["lib","align","dataStructures","animations","userAction","Collection","support","ActionCollection","Action","Viewer"]},lib:{path:e+"/lib",module:"/lib.js",type:"HMD"},align:{path:e+"/align",module:"/align.js",type:"HMD",deps:["support"]},flexKit:{path:e+"/flex-kit",css:"/flex-kit.css"},support:{path:e+"/support",module:"/support.min.js",type:"HMD"},jQueryProxy:{type:"HMD",handler:function(e,s,t,o){init=function(t,e="$",s=[]){return t.push([e,s]),new Proxy({},{get(e,s){return function(){return init(t,s,arguments)}}})};var a=function(){a.init||(a.init=!0,__PluginManager__.ready("jQuery"));var e=[];return a.queue.push(e),init(e,"$",arguments)};function l(){}a.queue=[],a.init=!1,l.prototype.J=a,l.prototype.hasJQuery=function(){return window.hasOwnProperty("jQuery")&&window.jQuery.hasOwnProperty("fn")},l.prototype.hasJQueryIniter=function(){return window.hasOwnProperty("jQuery")&&Object.is(window.jQuery,a)},l.prototype.onJQueryRegister=function(e){var s;this.hasJQuery()||((s=window).$=s.jQuery=a,e.module.initer=a)},l.prototype.onJQueryInstall=function(e){var s=this;if(e.module.initer){var t=window,o=e.module.initer.queue;if(s.hasJQueryIniter()){t.$=t.jQuery=e.module.exports;for(var a of o){var l,r=t;for(l of a)try{r=r[l[0]].apply(r,l[1])}catch(e){console.warn(a,e);break}}}}},t.exports=new l}},jQuery:{path:e+"/jquery",module:"/jquery.min.js",type:"UMD",alias:["$","jquery"],onRegister:function(e){window.hasOwnProperty("jQuery")&&window.jQuery.hasOwnProperty("fn")?(e.module.exports=window.jQuery,e.config.module=""):(e.proxy=kit.require("jQueryProxy"),e.proxy.onJQueryRegister(e))},onInstall:function(e){e.proxy&&e.proxy.onJQueryInstall(e)}},popper:{path:e+"/popper",alias:"popper.js",module:"/popper.js",type:"HMD",css:"/popper.css"},bsCore:{path:e+"/bsCore",module:"/bsCore.min.js",type:"HMD",css:["/bsCore.css"]},bsToast:{path:e+"/bsToast",module:"/bsToast.js",type:"HMD",deps:["bsCore"]},bsToastService:{path:e+"/bsToastService",module:"/bsToastService.js",type:"HMD",css:["/bsToastService.css"],deps:["bsToast","support","Collection"]},Tooltip:{path:e+"/tooltip",module:"/tooltip.js",type:"HMD",css:"/tooltip.css",onInstall:function(e){[].slice.call(document.querySelectorAll('[data-bs-toggle="tooltip"]')).map(function(e){return __pmGlobal__.Tooltip.getOrCreateInstance(e,{sanitize:!1})})},deps:["popper","bsCore"]},Tooltip2:{path:e+"/tooltip2",module:"/tooltip2.js",type:"HMD",css:"/tooltip2.css",onInstall:function(e){document.addEventListener("mouseover",function(e){e.target&&"autoload"===e.target.dataset.kitTooltip2&&!kit.support.getNodeData(e.target,"tooltip2")&&((e=new __pmGlobal__.Tooltip2(e.target)).run(),e.show())})},deps:["Viewer","support","ActionCollection","Action","userAction","align","Collection","animations"]},Popover:{path:e+"/popover",module:"/popover.js",type:"HMD",css:"/popover.css",onInstall:function(){[].slice.call(document.querySelectorAll('[data-bs-toggle="popover"]')).map(function(e){return new __pmGlobal__.Popover(e)})},deps:["popper","bsCore","Tooltip"]},mask:{path:e+"/mask",module:"/mask.js",type:"HMD",deps:["jQuery"]},toolkit:{path:e+"/toolkit",module:"/toolkit.min.js",type:"HMD",css:["/toolkit.css"],deps:["jQuery","mask","support"]},Modal:{path:e+"/modal",module:"/modal.min.js",type:"HMD",css:["/modal.css"],deps:["bsCore"],onRegister:function(e){e.onLoadConditionHandler=function(s){s.target&&s.target.dataset&&s.target.dataset.bsTarget&&"modal"===s.target.dataset.bsToggle&&kit.exec(e.id,function(){var e=new Event("click");s.target.dispatchEvent(e)})},window.addEventListener("click",e.onLoadConditionHandler,!1)},onInstall:function(e){e.onLoadConditionHandler&&window.removeEventListener("click",e.onLoadConditionHandler,!1)}},collapse:{path:e+"/collapse",module:"/collapse.min.js",type:"HMD",css:["/collapse.css"],deps:["bsCore"]},datepicker:{path:e+"/datepicker",module:"/js/datepicker.js",type:"HMD",css:["/css/datepicker.css"],deps:["jQuery"]},cookie:{path:e+"/cookie",module:"/cookie.min.js",type:"HMD"},animations:{path:e+"/animations",css:"/animations.css",module:"/animations.js",type:"HMD"},Collection:{path:e+"/Collection",module:"/Collection.js",type:"HMD",deps:["support"]},dataStructures:{path:e+"/dataStructures",module:"/dataStructures.min.js",type:"HMD"},userAction:{path:e+"/userAction",module:"/userAction.js",type:"HMD",deps:["support","ActionCollection","Action","Viewer"]},Viewer:{path:e+"/Viewer",module:"/Viewer.js",type:"HMD",deps:["Collection","support","ActionCollection","Action"]},ActionCollection:{path:e+"/ActionCollection",module:"/ActionCollection.js",type:"HMD",deps:["Collection","support","Action"]},Action:{path:e+"/Action",module:"/Action.js",type:"HMD",deps:["support"]},date:{path:e+"/date",module:"/date.js",type:"HMD",deps:[]},testing:{path:e+"/testing",module:"/testing.js",type:"HMD",deps:["log"]},log:{path:e+"/log",module:"/log.js",css:"/log.css",type:"HMD",deps:["support","Collection","lib"]},fancybox2:{path:e+"/fancybox/v2",module:"",js:["/jquery.fancybox.pack.js"],css:["/jquery.fancybox.css"],type:"default",alias:["jQuery.Fancybox2"],deps:["jQuery"]},fancybox3:{path:e+"/fancybox/v3",module:"",js:["/jquery.fancybox.min.js"],css:["/jquery.fancybox.min.css"],type:"default",alias:["jQuery.Fancybox3"],deps:["jQuery"]},fancybox4:{path:e+"/fancybox/v4",module:"/fancybox.umd.js",js:[],css:["/fancybox.css"],type:"UMD",alias:[]},fancybox5:{path:e+"/fancybox/v5",module:"/fancybox.umd.js",js:[],css:["/fancybox.css"],type:"UMD",alias:["fancybox"]},lightGallery:{path:e+"/lightGallery",css:"/lightGallery.css",js:"/lightGallery.js",deps:["jQuery"]},owlCarousel:{path:e+"/owlCarousel",css:"/owlCarousel.css",js:"/owlCarousel.js",deps:["jQuery"]},"jQuery.Chosen":{path:e+"/jquery/chosen",css:"/chosen.css",js:"/chosen.jquery.js",type:"HMD",alias:["jquery-chosen","chosen","harvesthq/chosen"],deps:["jQuery"]},makeCSSAnimations:{path:e+"/makeCSSAnimations",js:"/makeCSSAnimations.js",deps:["jQuery","support"]},mCustomScrollbar:{path:e+"/mCustomScrollbar",alias:"malihu-custom-scrollbar-plugin",js:"/mCustomScrollbar.js",css:"/jquery.mCustomScrollbar.css",deps:["jQuery","jqueryMousewheel"],onInstall:function(e){e.module.exports(kit.require("jQuery"))}},"jQuery.Mousewheel":{path:e+"/jquery/Mousewheel",module:"/jquery.mousewheel.min.js",type:"UMD",alias:["jquery-mousewheel","jqueryMousewheel"],deps:["jQuery"],onInstall:function(e){e.module.exports(kit.require("jQuery"))}},"jQuery.Lazy":{path:e+"/jquery/Lazy",alias:["jquery-lazy","jqueryLazy"],js:["/jquery.lazy.min.js","/jquery.lazy.plugins.min.js"],deps:["jQuery"]},slickCarousel:{path:e+"/slickCarousel",alias:["slick","slick-carousel"],js:"/slick.min.js",css:["/slick.css","/slick-theme.css"],deps:["jQuery"]},mustache:{path:e+"/mustache",alias:["mustache.js"],js:"/mustache.js",deps:[]},bxSlider:{path:e+"/bxSlider",module:"/jquery.bxslider.min.js",css:["/jquery.bxslider.min.css"],type:"default",deps:["jQuery"]},"jQuery.Selectric":{path:e+"/jquery/Selectric",module:"/jquery.selectric.min.js",css:["/selectric.css"],type:"UMD",alias:["jquerySelectric","selectric"],deps:["jQuery"]},"jQuery.jBox":{path:e+"/jquery/jBox",module:"/jBox.min.js",css:["/jBox.min.css"],type:"default",alias:["jBox"],deps:["jQuery"]},intlTelInput:{path:e+"/intl-tel-input",module:"/js/intlTelInput.min.js",css:["/css/intlTelInput.min.css"],type:"UMD",alias:["intl-tel-input"]},autoComplete:{path:e+"/autoComplete",module:"/autoComplete.min.js",css:["/css/autoComplete.css"],type:"HMD"},"jQuery.FlexSlider":{path:e+"/jquery/FlexSlider",module:"",js:["/jquery.flexslider-min.js"],css:["/flexslider.css"],alias:["jquery.flexslider","FlexSlider","flexslider"],type:"default",deps:["jQuery"]},"jQuery.Actual":{path:e+"/jquery/actual",module:"",js:["/jquery.actual.js"],css:[],alias:["jquery.actual"],type:"default",deps:["jQuery"]},"jQuery.jqModal":{path:e+"/jquery/jqModal",module:"/jqModal.js",js:[],css:[],alias:["jqmodal","jqModal"],type:"UMD",deps:["jQuery"]},"jQuery.History":{path:e+"/jquery/history",module:"",js:["/jquery.history.min.js"],css:[],alias:["jquery.history"],type:"default",deps:["jQuery"]},"jQuery.Validation":{path:e+"/jquery/validation",module:"/jquery.validate.min.js",js:["/localization/messages_ru.js"],css:[],loadJsAfterModule:!0,alias:["jquery-validation","jquery.validation","jquery.validate"],type:"UMD",deps:["jQuery"]},"jQuery.Inputmask":{path:e+"/jquery/inputmask",module:"/min/jquery.inputmask.bundle.min.js",js:[],css:[],alias:["jquery.inputmask"],type:"default",deps:["jQuery"]},"jQuery.Easing":{path:e+"/jquery/easing",module:"/jquery.easing.min.js",js:[],css:[],alias:["jquery.easing"],type:"default",deps:["jQuery"]},"jQuery.Sly":{path:e+"/jquery/sly",module:"/sly.min.js",js:[],css:[],alias:["jquery.sly","sly"],type:"default",deps:["jQuery"]},"jQuery.Equalize":{path:e+"/jquery/equalize.js",module:"/js/equalize.min.js",js:[],css:[],alias:["equalize","equalize.js","jquery.equalize"],type:"default",deps:["jQuery"]},"jQuery.Alphanumeric":{path:e+"/jquery/alphanumeric",module:"/jquery.alphanumeric.pack.js",js:[],css:[],alias:["jquery.alphanumeric"],type:"default",deps:["jQuery"]},"jQuery.Cookie":{path:e+"/jquery/cookie",module:"/src/jquery.cookie.js",js:[],css:[],alias:["jquery.cookie"],type:"UMD",deps:["jQuery"]},"jQuery.Plugin":{path:e+"/jquery/plugin",module:"/jquery.plugin.min.js",js:[],css:[],alias:["jquery.plugin","kbw-plugin"],type:"default",deps:["jQuery"]}}}; \ No newline at end of file +var __PluginManagerConfigHandler__=function(){var root=__pmConfig__.assetsPath;var hasJQuery=function(){return window.hasOwnProperty("jQuery")&&window.jQuery.hasOwnProperty("fn")};return{menu:{path:root+"/menu",module:"/menu.js",css:["/menu.css"],type:"HMD",deps:["lib","align","dataStructures","animations","userAction","Collection","support","ActionCollection","Action","Viewer"]},lib:{path:root+"/lib",module:"/lib.js",type:"HMD"},align:{path:root+"/align",module:"/align.js",type:"HMD",deps:["support"]},flexKit:{path:root+"/flex-kit",css:"/flex-kit.css"},support:{path:root+"/support",module:"/support.min.js",type:"HMD"},jQueryProxy:{type:"HMD",handler:function(require,exports,module,global){init=function(c,prop="$",args=[]){c.push([prop,args]);return new Proxy({},{get(target,prop){return function(){return init(c,prop,arguments)}}})};var J=function(){if(!J.init){J.init=true;__PluginManager__.ready("jQuery")}var c=[];J.queue.push(c);return init(c,"$",arguments)};J.queue=[];J.init=false;function JQueryProxy(){}JQueryProxy.prototype.J=J;JQueryProxy.prototype.hasJQuery=function(){return window.hasOwnProperty("jQuery")&&window.jQuery.hasOwnProperty("fn")};JQueryProxy.prototype.hasJQueryIniter=function(){return window.hasOwnProperty("jQuery")&&Object.is(window.jQuery,J)};JQueryProxy.prototype.onJQueryRegister=function(plugin){if(!this.hasJQuery()){(function(w){w.$=w.jQuery=J;plugin.module.initer=J})(window)}};JQueryProxy.prototype.onJQueryInstall=function(plugin){var self=this;if(!plugin.module.initer){return}(function(w){var q=plugin.module.initer.queue;if(self.hasJQueryIniter()){w.$=w.jQuery=plugin.module.exports;for(var ch of q){var root=w;for(var c of ch){try{root=root[c[0]].apply(root,c[1])}catch(e){console.warn(ch,e);break}}}}})(window)};module.exports=new JQueryProxy}},jQuery:{path:root+"/jquery",module:"/jquery.min.js",type:"UMD",alias:["$","jquery"],onRegister:function(plugin){if(hasJQuery()){plugin.module.exports=window.jQuery;plugin.config.module=""}else{plugin.proxy=kit.require("jQueryProxy");plugin.proxy.onJQueryRegister(plugin)}},onInstall:function(plugin){if(plugin.proxy){plugin.proxy.onJQueryInstall(plugin)}}},popper:{path:root+"/popper",alias:"popper.js",module:"/popper.js",type:"HMD",css:"/popper.css"},bsCore:{path:root+"/bsCore",module:"/bsCore.min.js",type:"HMD",css:["/bsCore.css"]},bsToast:{path:root+"/bsToast",module:"/bsToast.js",type:"HMD",deps:["bsCore"]},bsToastService:{path:root+"/bsToastService",module:"/bsToastService.js",type:"HMD",css:["/bsToastService.css"],deps:["bsToast","support","Collection"]},Tooltip:{path:root+"/tooltip",module:"/tooltip.js",type:"HMD",css:"/tooltip.css",onInstall:function(plugin){var tooltipTriggerList=[].slice.call(document.querySelectorAll('[data-bs-toggle="tooltip"]'));var tooltipList=tooltipTriggerList.map(function(tooltipTriggerEl){return __pmGlobal__.Tooltip.getOrCreateInstance(tooltipTriggerEl,{sanitize:false})})},deps:["popper","bsCore"]},Tooltip2:{path:root+"/tooltip2",module:"/tooltip2.js",type:"HMD",css:"/tooltip2.css",onInstall:function(plugin){document.addEventListener("mouseover",function(event){if(!(event.target&&event.target.dataset.kitTooltip2==="autoload")){return}if(kit.support.getNodeData(event.target,"tooltip2")){return}var tooltip=new __pmGlobal__.Tooltip2(event.target);tooltip.run();tooltip.show()})},deps:["Viewer","support","ActionCollection","Action","userAction","align","Collection","animations"]},Popover:{path:root+"/popover",module:"/popover.js",type:"HMD",css:"/popover.css",onInstall:function(){var popoverTriggerList=[].slice.call(document.querySelectorAll('[data-bs-toggle="popover"]'));var popoverList=popoverTriggerList.map(function(popoverTriggerEl){return new __pmGlobal__.Popover(popoverTriggerEl)})},deps:["popper","bsCore","Tooltip"]},mask:{path:root+"/mask",module:"/mask.js",type:"HMD",deps:["jQuery"]},toolkit:{path:root+"/toolkit",module:"/toolkit.min.js",type:"HMD",css:["/toolkit.css"],deps:["jQuery","mask","support"]},Modal:{path:root+"/modal",module:"/modal.min.js",type:"HMD",css:["/modal.css"],deps:["bsCore"],onRegister:function(plugin){plugin.onLoadConditionHandler=function(event){if(event.target&&event.target.dataset&&event.target.dataset.bsTarget&&event.target.dataset.bsToggle==="modal"){kit.exec(plugin.id,function(){var newEvent=new Event("click");event.target.dispatchEvent(newEvent)})}};window.addEventListener("click",plugin.onLoadConditionHandler,false)},onInstall:function(plugin){if(plugin.onLoadConditionHandler){window.removeEventListener("click",plugin.onLoadConditionHandler,false)}}},collapse:{path:root+"/collapse",module:"/collapse.min.js",type:"HMD",css:["/collapse.css"],deps:["bsCore"]},datepicker:{path:root+"/datepicker",module:"/js/datepicker.js",type:"HMD",css:["/css/datepicker.css"],deps:["jQuery"]},cookie:{path:root+"/cookie",module:"/cookie.min.js",type:"HMD"},animations:{path:root+"/animations",css:"/animations.css",module:"/animations.js",type:"HMD"},Collection:{path:root+"/Collection",module:"/Collection.js",type:"HMD",deps:["support"]},dataStructures:{path:root+"/dataStructures",module:"/dataStructures.min.js",type:"HMD"},userAction:{path:root+"/userAction",module:"/userAction.js",type:"HMD",deps:["support","ActionCollection","Action","Viewer"]},Viewer:{path:root+"/Viewer",module:"/Viewer.js",type:"HMD",deps:["Collection","support","ActionCollection","Action"]},ActionCollection:{path:root+"/ActionCollection",module:"/ActionCollection.js",type:"HMD",deps:["Collection","support","Action"]},Action:{path:root+"/Action",module:"/Action.js",type:"HMD",deps:["support"]},date:{path:root+"/date",module:"/date.js",type:"HMD",deps:[]},testing:{path:root+"/testing",module:"/testing.js",type:"HMD",deps:["log"]},log:{path:root+"/log",module:"/log.js",css:"/log.css",type:"HMD",deps:["support","Collection","lib"]},fancybox2:{path:root+"/fancybox/v2",module:"",js:["/jquery.fancybox.pack.js"],css:["/jquery.fancybox.css"],type:"default",alias:["jQuery.Fancybox2"],deps:["jQuery"]},fancybox3:{path:root+"/fancybox/v3",module:"",js:["/jquery.fancybox.min.js"],css:["/jquery.fancybox.min.css"],type:"default",alias:["jQuery.Fancybox3"],deps:["jQuery"]},fancybox4:{path:root+"/fancybox/v4",module:"/fancybox.umd.js",js:[],css:["/fancybox.css"],type:"UMD",alias:[]},fancybox5:{path:root+"/fancybox/v5",module:"/fancybox.umd.js",js:[],css:["/fancybox.css"],type:"UMD",alias:["fancybox"]},lightGallery:{path:root+"/lightGallery",css:"/lightGallery.css",js:"/lightGallery.js",deps:["jQuery"]},owlCarousel:{path:root+"/owlCarousel",css:"/owlCarousel.css",js:"/owlCarousel.js",deps:["jQuery"]},"jQuery.Chosen":{path:root+"/jquery/chosen",css:"/chosen.css",js:"/chosen.jquery.js",type:"HMD",alias:["jquery-chosen","chosen","harvesthq/chosen"],deps:["jQuery"]},makeCSSAnimations:{path:root+"/makeCSSAnimations",js:"/makeCSSAnimations.js",deps:["jQuery","support"]},mCustomScrollbar:{path:root+"/mCustomScrollbar",alias:"malihu-custom-scrollbar-plugin",js:"/mCustomScrollbar.js",css:"/jquery.mCustomScrollbar.css",deps:["jQuery","jqueryMousewheel"],onInstall:function(plugin){plugin.module.exports(kit.require("jQuery"))}},"jQuery.Mousewheel":{path:root+"/jquery/Mousewheel",module:"/jquery.mousewheel.min.js",type:"UMD",alias:["jquery-mousewheel","jqueryMousewheel"],deps:["jQuery"],onInstall:function(plugin){plugin.module.exports(kit.require("jQuery"))}},"jQuery.Lazy":{path:root+"/jquery/Lazy",alias:["jquery-lazy","jqueryLazy"],js:["/jquery.lazy.min.js","/jquery.lazy.plugins.min.js"],deps:["jQuery"]},slickCarousel:{path:root+"/slickCarousel",alias:["slick","slick-carousel"],js:"/slick.min.js",css:["/slick.css","/slick-theme.css"],deps:["jQuery"]},mustache:{path:root+"/mustache",alias:["mustache.js"],js:"/mustache.js",deps:[]},bxSlider:{path:root+"/bxSlider",module:"/jquery.bxslider.min.js",css:["/jquery.bxslider.min.css"],type:"default",deps:["jQuery"]},"jQuery.Selectric":{path:root+"/jquery/Selectric",module:"/jquery.selectric.min.js",css:["/selectric.css"],type:"UMD",alias:["jquerySelectric","selectric"],deps:["jQuery"]},"jQuery.jBox":{path:root+"/jquery/jBox",module:"/jBox.min.js",css:["/jBox.min.css"],type:"default",alias:["jBox"],deps:["jQuery"]},intlTelInput:{path:root+"/intl-tel-input",module:"/js/intlTelInputWithUtils.min.js",css:["/css/intlTelInput.min.css"],type:"UMD",alias:["intl-tel-input"]},intlTelInputI18n:{path:root+"/intl-tel-input",module:"/js/i18n/index2.js",type:"ES",alias:["intl-tel-input-i18n"]},autoComplete:{path:root+"/autoComplete",module:"/autoComplete.min.js",css:["/css/autoComplete.css"],type:"HMD"},"jQuery.FlexSlider":{path:root+"/jquery/FlexSlider",module:"",js:["/jquery.flexslider-min.js"],css:["/flexslider.css"],alias:["jquery.flexslider","FlexSlider","flexslider"],type:"default",deps:["jQuery"]},"jQuery.Actual":{path:root+"/jquery/actual",module:"",js:["/jquery.actual.js"],css:[],alias:["jquery.actual"],type:"default",deps:["jQuery"]},"jQuery.jqModal":{path:root+"/jquery/jqModal",module:"/jqModal.js",js:[],css:[],alias:["jqmodal","jqModal"],type:"UMD",deps:["jQuery"]},"jQuery.History":{path:root+"/jquery/history",module:"",js:["/jquery.history.min.js"],css:[],alias:["jquery.history"],type:"default",deps:["jQuery"]},"jQuery.Validation":{path:root+"/jquery/validation",module:"/jquery.validate.min.js",js:["/localization/messages_ru.js"],css:[],loadJsAfterModule:true,alias:["jquery-validation","jquery.validation","jquery.validate"],type:"UMD",deps:["jQuery"]},"jQuery.Inputmask":{path:root+"/jquery/inputmask",module:"/min/jquery.inputmask.bundle.min.js",js:[],css:[],alias:["jquery.inputmask"],type:"default",deps:["jQuery"]},"jQuery.Easing":{path:root+"/jquery/easing",module:"/jquery.easing.min.js",js:[],css:[],alias:["jquery.easing"],type:"default",deps:["jQuery"]},"jQuery.Sly":{path:root+"/jquery/sly",module:"/sly.min.js",js:[],css:[],alias:["jquery.sly","sly"],type:"default",deps:["jQuery"]},"jQuery.Equalize":{path:root+"/jquery/equalize.js",module:"/js/equalize.min.js",js:[],css:[],alias:["equalize","equalize.js","jquery.equalize"],type:"default",deps:["jQuery"]},"jQuery.Alphanumeric":{path:root+"/jquery/alphanumeric",module:"/jquery.alphanumeric.pack.js",js:[],css:[],alias:["jquery.alphanumeric"],type:"default",deps:["jQuery"]},"jQuery.Cookie":{path:root+"/jquery/cookie",module:"/src/jquery.cookie.js",js:[],css:[],alias:["jquery.cookie"],type:"UMD",deps:["jQuery"]},"jQuery.Plugin":{path:root+"/jquery/plugin",module:"/jquery.plugin.min.js",js:[],css:[],alias:["jquery.plugin","kbw-plugin"],type:"default",deps:["jQuery"]}}}; \ No newline at end of file diff --git a/assets/flex-kit/flex-kit.css b/assets/flex-kit/flex-kit.css index d59ac7e..cbfb4d7 100644 --- a/assets/flex-kit/flex-kit.css +++ b/assets/flex-kit/flex-kit.css @@ -93,6 +93,7 @@ --col-span: 1; --col-count: 4; --gap-row: var(--gap); + --flex-list-width: calc(100%); } .flex-list:not(.owl-loaded) { margin-left: calc(var(--gap) / -2) !important; @@ -586,7 +587,7 @@ script, style { content: ""; display: block; width: 100%; - padding-bottom: calc((100% - var(--gap)) / var(--flex-aspect-ratio) / var(--col-span)); + padding-bottom: calc((100% / var(--col-span) - var(--gap)) / var(--flex-aspect-ratio)); } .flex-aspect-ratio.flex-list.owl-loaded > .owl-stage-outer > .owl-stage > .owl-item > *:not(.flex-cell-aspect-auto)::before diff --git a/assets/flex-kit/flex-kit.min.css b/assets/flex-kit/flex-kit.min.css new file mode 100644 index 0000000..6b8067e --- /dev/null +++ b/assets/flex-kit/flex-kit.min.css @@ -0,0 +1 @@ +:root{--flex-padding:15px 15px;--gap:10px;--gap-section:30px;--gap-wrapper:30px;--col-span:1;--line-clamp:3;--line-clamp-height:1.3em;--width-wrapper:1200px;--flex-aspect-ratio:1;--flex-line-count:1;--flex-col-count:2;--aspect-ratio:1;--font-ratio-height:0.9;--font-ratio-bottom:0.1}.kit-wrapper{margin-left:auto;margin-right:auto;width:var(--width-wrapper);max-width:100%;padding:0 var(--gap-wrapper)}.kit-section,.kit-sections,.kit-wrapper{box-sizing:border-box;position:relative}.kit-sections{padding-top:var(--gap-section)}.kit-section{margin-bottom:var(--gap-section)}.col-count:not(.slick-slider){position:relative;margin-left:calc(var(--gap)/-2)!important;margin-right:calc(var(--gap)/-2)!important}.col-count:not(.slick-slider)>*{width:calc(100%/var(--col-count))!important;max-width:calc(100%/var(--col-count))!important;flex-basis:calc(100%/var(--col-count))!important;padding-left:calc(var(--gap)/2);padding-right:calc(var(--gap)/2);padding-bottom:var(--gap)}.kit-line-clamp{line-height:var(--line-clamp-height);max-height:calc(var(--line-clamp-height)*var(--line-clamp));display:inline-block;word-wrap:break-word;overflow:hidden;text-overflow:-o-ellipsis-lastline;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:var(--line-clamp);display:-webkit-box;word-break:break-word;white-space:normal}.flex-list{box-sizing:border-box;position:relative;display:-ms-flexbox;display:-webkit-flex;display:flex;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-justify-content:flex-start;-ms-flex-pack:start;justify-content:flex-start;-webkit-align-content:flex-start;-ms-flex-line-pack:start;align-content:flex-start;-webkit-align-items:stretch;-ms-flex-align:stretch;align-items:stretch;--col-span:1;--col-count:4;--gap-row:var(--gap);--flex-list-width:calc(100%)}.flex-list:not(.owl-loaded){margin-left:calc(var(--gap)/-2)!important;margin-right:calc(var(--gap)/-2)!important}.flex-list-item:after,.flex-list-item:before,.flex-list:after,.flex-list:before{content:""}.flex-list:not(.owl-loaded,.slick-slider)>*{position:relative;padding-left:calc(var(--gap)/2);padding-right:calc(var(--gap)/2)}.flex-list-item{--col-width:calc(100% / var(--col-count) * var(--col-span));--line-height:calc(100% / var(--line-count) * var(--line-span, 1));box-sizing:border-box}.flex-list>.flex-list-item{width:var(--col-width)!important;max-width:var(--col-width)!important;flex-basis:var(--col-width)!important;margin-bottom:var(--gap-row)!important}.flex-list-item-delimiter{height:0;width:0;flex:1 0 0}.flex-center{display:-ms-flexbox;display:-webkit-flex;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-flex-wrap:nowrap;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-align-content:stretch;-ms-flex-line-pack:stretch;align-content:stretch;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.flex-list--static{--line-count:1}.flex-list--static .flex-list-item{height:var(--line-height)!important;max-height:var(--line-height)!important}script,style{display:none!important}.flex-col-wrap.flex-aspect-ratio:not(.owl-loaded)>:not(.flex-cell-aspect-auto)>:first-child,.flex-col-wrap>*,.flex-col.flex-aspect-ratio:not(.owl-loaded)>:not(.flex-cell-aspect-auto)>:first-child,.flex-col>*,.flex-line-wrap.flex-aspect-ratio:not(.owl-loaded)>:not(.flex-cell-aspect-auto)>:first-child,.flex-line-wrap>*,.flex-line.flex-aspect-ratio:not(.owl-loaded)>:not(.flex-cell-aspect-auto)>:first-child,.flex-line>*{padding:var(--flex-padding)}.flex-list-item.aspect-ratio>:first-child,.flex-list.flex-aspect-ratio:not(.owl-loaded)>*>:first-child{padding:0 calc(var(--gap)/2)}.flex-aspect-ratio.owl-loaded>.owl-stage-outer>.owl-stage>.owl-item>:not(.flex-cell-aspect-auto)>:first-child,.flex-aspect-ratio:not(.owl-loaded)>:not(.flex-cell-aspect-auto)>:first-child,.flex-col-wrap>*,.flex-col>*,.flex-line-wrap>*,.flex-line>*{display:-ms-flexbox;display:-webkit-flex;display:flex;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-flex-wrap:nowrap;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-align-content:stretch;-ms-flex-line-pack:stretch;align-content:stretch;-webkit-box-flex:0;-ms-flex-positive:0;flex-grow:0;-ms-flex-negative:0;flex-shrink:0;-ms-flex-preferred-size:auto;-webkit-flex-basis:auto;flex-basis:auto}.flex-col-wrap>.flex-col,.flex-col-wrap>.flex-col-wrap,.flex-col-wrap>.flex-line,.flex-col-wrap>.flex-line-wrap,.flex-col>.flex-col,.flex-col>.flex-col-wrap,.flex-col>.flex-line,.flex-col>.flex-line-wrap,.flex-line-wrap>.flex-col,.flex-line-wrap>.flex-col-wrap,.flex-line-wrap>.flex-line,.flex-line-wrap>.flex-line-wrap,.flex-line>.flex-col,.flex-line>.flex-col-wrap,.flex-line>.flex-line,.flex-line>.flex-line-wrap{-ms-flex-preferred-size:0;-webkit-flex-basis:0;flex-basis:0}.flex-col-wrap>.flex-line-wrap:not(.flex-cell-full-content),.flex-col-wrap>.flex-line:not(.flex-cell-full-content),.flex-col>.flex-col:not(.flex-cell-full-content),.flex-col>.flex-line-wrap:not(.flex-cell-full-content),.flex-col>.flex-line:not(.flex-cell-full-content),.flex-line-wrap>.flex-line-wrap:not(.flex-cell-full-content),.flex-line-wrap>.flex-line:not(.flex-cell-full-content),.flex-line>.flex-line-wrap:not(.flex-cell-full-content){-ms-flex-preferred-size:auto;-webkit-flex-basis:auto;flex-basis:auto}.flex-aspect-ratio.owl-loaded>.owl-stage-outer>.owl-stage>.owl-item>:not(.flex-cell-aspect-auto)>:first-child,.flex-aspect-ratio:not(.owl-loaded)>:not(.flex-cell-aspect-auto)>:first-child,.flex-col-wrap>*,.flex-col>*,.flex-line-wrap>*,.flex-line>*{-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;max-width:100%}.flex-aspect-ratio:not(.owl-loaded)>:not(.flex-cell-aspect-auto)>:not(:first-child){display:none}.flex-col,.flex-col-wrap,.flex-line,.flex-line-wrap{padding:0!important;display:-ms-flexbox;display:-webkit-flex;display:flex;-webkit-justify-content:flex-start;-ms-flex-pack:start;justify-content:flex-start;-webkit-align-items:stretch;-ms-flex-align:stretch;align-items:stretch}.flex-line,.flex-line-wrap{-webkit-align-content:stretch;-ms-flex-line-pack:stretch;align-content:stretch}.flex-col,.flex-col-wrap{-webkit-align-content:flex-start;-ms-flex-line-pack:start;align-content:flex-start}.flex-col,.flex-col-wrap,.flex-line,.flex-line-wrap{-webkit-box-flex:0;-ms-flex-positive:0;flex-grow:0;-ms-flex-negative:0;flex-shrink:0;-ms-flex-preferred-size:auto;-webkit-flex-basis:auto;flex-basis:auto}.flex-col,.flex-col-wrap{-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column}.flex-line,.flex-line-wrap{-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row}.flex-col,.flex-line{-webkit-flex-wrap:nowrap;-ms-flex-wrap:nowrap;flex-wrap:nowrap}.flex-col-wrap,.flex-line-wrap{-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap}.flex-cell{display:-ms-flexbox;display:-webkit-flex;display:flex;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;-webkit-align-content:stretch;-ms-flex-line-pack:stretch;align-content:stretch;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-flex:0;-ms-flex-positive:0;flex-grow:0;-ms-flex-negative:0;flex-shrink:0;-ms-flex-preferred-size:auto;-webkit-flex-basis:auto;flex-basis:auto}.flex-align-start{-webkit-justify-content:flex-start!important;-ms-flex-pack:start!important;justify-content:flex-start!important}.flex-align-end{-webkit-justify-content:flex-end!important;-ms-flex-pack:end!important;justify-content:flex-end!important}.flex-align-center{-webkit-justify-content:center!important;-ms-flex-pack:center!important;justify-content:center!important}.flex-align-around{-webkit-justify-content:space-around;-ms-flex-pack:distribute;justify-content:space-around}.flex-align--stretch{-webkit-align-items:stretch;-ms-flex-align:stretch;align-items:stretch}.flex-align--center{-webkit-align-items:center;-ms-flex-align:center;align-items:center}.flex-cells-v-align--start>*{justify-content:start}.flex-cells-v-align--end>*{justify-content:end}.flex-cells-v-align--stretch>*{justify-content:stretch}.flex-cells-g-align--start>*{align-items:start}.flex-cells-g-align--end>*{align-items:end}.flex-cells-g-align--stretch>*{align-items:stretch}.flex-cell-align--start{-webkit-align-self:flex-start;-ms-flex-item-align:start;align-self:flex-start}.flex-cell-align--end{-webkit-align-self:flex-end;-ms-flex-item-align:end;align-self:flex-end}.flex-cell-align--center{-webkit-align-self:center;-ms-flex-item-align:center;align-self:center}.flex-cell-align--stretch{-webkit-align-self:stretch;-ms-flex-item-align:stretch;align-self:stretch}.flex-wrap{-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap}.flex-box-fill>*,.flex-cell-fill,.flex-cell-full-content{-ms-flex-positive:1;-webkit-box-flex:1;flex-grow:1}.flex-box-fill>*,.flex-cell-fill{-ms-flex-negative:1;flex-shrink:1;flex-basis:auto}@supports (--flex-col-count:property){.flex-col-count>*{width:calc(100%/(var(--flex-col-count)));max-width:calc(100%/(var(--flex-col-count)));box-sizing:border-box}.flex-line-wrap.flex-col-count>*,.flex-line.flex-col-count>*{-ms-flex-preferred-size:calc(100%/var(--flex-col-count));-webkit-flex-basis:calc(100%/var(--flex-col-count));flex-basis:calc(100%/var(--flex-col-count));box-sizing:border-box}}@supports (--flex-line-count:property){.flex-col-wrap.flex-line-count>*,.flex-col.flex-line-count>*{-ms-flex-preferred-size:calc(100%/(var(--flex-line-count)));-webkit-flex-basis:calc(100%/(var(--flex-line-count)));flex-basis:calc(100%/(var(--flex-line-count)));box-sizing:border-box}}.flex-cell-aspect-auto{flex-grow:1000;flex-shrink:1}@supports (--flex-aspect-ratio:property){.flex-aspect-ratio:not(.owl-loaded)>:not(.flex-cell-aspect-auto)>img{height:auto;object-fit:contain}.flex-aspect-ratio.owl-loaded>.owl-stage-outer>.owl-stage>.owl-item>:not(.flex-cell-aspect-auto),.flex-aspect-ratio:not(.owl-loaded)>:not(.flex-cell-aspect-auto){position:relative;padding:0}.flex-aspect-ratio.flex-list.owl-loaded>.owl-stage-outer>.owl-stage>.owl-item>:not(.flex-cell-aspect-auto)::before,.flex-aspect-ratio.owl-loaded:not(.flex-list)>.owl-stage-outer>.owl-stage>.owl-item>:not(.flex-cell-aspect-auto)::before,.flex-aspect-ratio:not(.owl-loaded):not(.flex-list)>:not(.flex-cell-aspect-auto)::before{content:"";display:block;width:100%;padding-bottom:calc(100%/(var(--flex-aspect-ratio)))}.flex-aspect-ratio.flex-list:not(.owl-loaded)>:not(.flex-cell-aspect-auto)::before{content:"";display:block;width:100%;padding-bottom:calc((100%/var(--col-span) - var(--gap))/var(--flex-aspect-ratio))}.flex-aspect-ratio.owl-loaded>.owl-stage-outer>.owl-stage>.owl-item>:not(.flex-cell-aspect-auto)>:first-child,.flex-aspect-ratio:not(.owl-loaded)>:not(.flex-cell-aspect-auto)>:first-child{position:absolute;top:0;left:0;height:100%;width:100%;object-fit:contain}.flex-aspect-ratio.owl-loaded>.owl-stage-outer>.owl-stage>.owl-item>:not(.flex-cell-aspect-auto)>:first-child>picture,.flex-aspect-ratio:not(.owl-loaded)>:not(.flex-cell-aspect-auto)>:first-child>picture{width:100%;height:100%}.flex-aspect-ratio.owl-loaded>.owl-stage-outer>.owl-stage>.owl-item>:not(.flex-cell-aspect-auto)>:first-child>picture>img,.flex-aspect-ratio:not(.owl-loaded)>:not(.flex-cell-aspect-auto)>:first-child>picture>img{object-fit:contain;width:100%;height:100%}}@supports (--aspect-ratio:0){.aspect-ratio{position:relative;width:100%}.aspect-ratio>img{height:auto;object-fit:contain}.aspect-ratio::before{content:"";display:block;width:100%;padding-bottom:calc(100%/(var(--aspect-ratio)))}.aspect-ratio>:first-child{width:100%;position:absolute;top:0;left:0;height:100%;object-fit:contain}}:root{--flex-marginator:15px;--flex-marginator-index:0}.flex-marginator{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:center;gap:var(--flex-marginator)}.flex-card__body>:empty,.flex-card__hover>:empty,.flex-delimiter>:empty,.flex-marginator>:empty{display:none}:root{--flex-delimiter:', ';--flex-delimiter-index:0}.flex-delimiter>:not(:first-child):not(:empty)::before{content:var(--flex-delimiter);--flex-delimiter-index:1}.flex-delimiter>:empty+:not(:empty)::before{content:"";--flex-delimiter-index:0}.flex-delimiter>:not(:empty)~:empty+:not(:empty)::before{content:var(--flex-delimiter);--flex-delimiter-index:1}.flex-card{--aspect-ratio:calc(200 / 300);--gap-inner:10px}.flex-card:hover .flex-card__content{box-shadow:0 0 27px 0 rgba(0,0,0,.1)}.flex-card__border,.flex-card__content{width:100%;height:100%;border-style:solid}.flex-card__content{position:relative;display:flex;flex-direction:column;justify-content:stretch;border-width:0;border-color:#e9e9e9;overflow:hidden;transition:.3s;background-color:var(--kit-color-content)}.flex-card__border{position:absolute;left:0;top:0;border-width:1px;border-color:transparent;display:block;pointer-events:none}.flex-card__body:after,.flex-card__body:before,.flex-card__content:after{content:"";display:block;flex-basis:calc(var(--gap-inner)/2);flex-grow:0;flex-shrink:0}.flex-card__content>:not(.flex-card__border):empty{display:none}.flex-card__header{width:100%}.flex-card__top{position:absolute;top:0;left:0;width:100%}.flex-card__bottom{position:absolute;bottom:0;left:0;width:100%}.flex-card__body{display:flex;flex-direction:column;justify-content:stretch;align-items:stretch;height:100%;flex:1 0 100%}.flex-card__body>*,.flex-card__hover>*{margin:calc(var(--gap-inner)/2) var(--gap-inner)}.flex-card__footer{position:relative}.flex-card__hover{position:relative;opacity:0;visibility:hidden}.flex-card:hover .flex-card__content{height:auto;z-index:100}.flex-card:hover .flex-card__content>.flex-card__hover{opacity:1;visibility:visible;margin-top:calc(-1*var(--gap-inner)/2)}.flex-card__picture,.flex-card__picture.aspect-ratio{flex-basis:50%;flex-grow:0;flex-shrink:1;height:0%;--aspect-ratio:1}.flex-card__picture.aspect-ratio{flex-basis:auto;height:auto}.flex-card__picture .kit-picture{position:relative;height:100%;width:100%;background-position:center;background-repeat:no-repeat;background-size:contain;background-origin:content-box}.flex-card__name,.flex-card__title{--line-clamp:2;--line-clamp-height:1.1em;flex-shrink:0}.flex-card-list--list .flex-card.aspect-ratio>.flex-card__section,.flex-card__manager,.flex-card__props,.flex-card__text{position:relative}.flex-card__flex-delimiter{flex:1 10 0;display:block!important;margin:0!important;padding:0!important;background:0 0}.flex-card__ticket{position:absolute;top:var(--gap-inner);left:var(--gap-inner)}.flex-card-list--list{--col-count:1}.flex-card-list--list .flex-card.aspect-ratio:before,.flex-card-list--list .flex-card__body-shell.aspect-ratio:before{padding-bottom:unset}.flex-card-list--list .flex-card__body{position:relative;flex-direction:row}.flex-card-list--list .flex-card__body>.flex-card__picture{flex-basis:50px;flex-shrink:0;height:auto;position:relative}.flex-card-list--list .flex-card__body>.flex-card__picture:before{content:"";display:block;width:100%;padding-bottom:calc(100%/(var(--aspect-ratio)))}.flex-card-list--list .flex-card__body>.flex-card__picture>.kit-picture{width:100%;position:absolute;top:0;left:0;height:100%;object-fit:contain}.flex-list--ticket{--col-count:1;--gap:3px;--line-clamp:1;--line-clamp-height:1em;font-size:.7em;flex-direction:column;align-items:flex-start}.flex-list--ticket>.flex-list-item{--col-width:auto}.ticket-item{padding:calc(2*.1em) calc(6*.1em);background-color:#f2f2f2}.kit-icon img,.kit-icon picture,.kit-icon svg,.kit-picture img,.kit-picture picture,.kit-picture svg{width:100%;height:100%;max-width:100%;max-height:100%;display:block;fill:currentColor;transition:inherit;object-fit:contain;object-position:center}.kit-icon-line,.kit-picture-line{display:inline-block;margin-bottom:calc(-1em*var(--font-ratio-bottom, 0.2))}.kit-icon-line img,.kit-icon-line picture,.kit-icon-line svg,.kit-picture-line img,.kit-picture-line picture,.kit-picture-line svg{height:calc(1em*var(--font-ratio-height, 1));width:auto;max-width:100%;max-height:100%;vertical-align:baseline;display:block;fill:currentColor;transition:inherit;object-fit:contain;object-position:center;margin:auto} \ No newline at end of file diff --git a/assets/intl-tel-input/css/demo.css b/assets/intl-tel-input/css/demo.css index b2d9053..0d3ba82 100644 --- a/assets/intl-tel-input/css/demo.css +++ b/assets/intl-tel-input/css/demo.css @@ -10,7 +10,7 @@ body { } input, -button { +.button { height: 35px; margin: 0; padding: 6px 12px; @@ -19,13 +19,8 @@ button { font-size: 100%; color: inherit; } -input[disabled], -button[disabled] { - background-color: #eee; -} -input, -select { +input { border: 1px solid #ccc; width: 220px; } @@ -34,18 +29,64 @@ input::placeholder { color: #bbb; } -button { +.button { color: #fff; background-color: #428bca; border: 1px solid #357ebd; margin-left: 5px; } -button:hover { +.button:hover { background-color: #3276b1; border-color: #285e8e; cursor: pointer; } +.button:disabled { + background-color: #ccc; + border-color: #999; + color: #666; + cursor: not-allowed; +} .notice { margin-top: 15px; +} + +@media (prefers-color-scheme: dark) { + body, input { + color: white; + background-color: #0d1117; + } + input[disabled] { + background-color: #3c3c3c; + } + input { + border-color: #5b5b5b; + } + input::placeholder { + color: #8d96a0; + } + .iti { + --iti-border-color: #5b5b5b; + --iti-dialcode-color: #999999; + --iti-dropdown-bg: #0d1117; + --iti-arrow-color: #aaaaaa; + --iti-hover-color: #30363d; + --iti-path-globe-1x: url("../img/globe_light.webp"); + --iti-path-globe-2x: url("../img/globe_light@2x.webp"); + } +} +#error-msg { + color: red; +} + +#valid-msg { + color: #00c900; +} + +input.error { + border: 1px solid #ff7c7c; +} + +.hide { + display: none; } \ No newline at end of file diff --git a/assets/intl-tel-input/css/intlTelInput.css b/assets/intl-tel-input/css/intlTelInput.css index c933ada..9f90fb1 100644 --- a/assets/intl-tel-input/css/intlTelInput.css +++ b/assets/intl-tel-input/css/intlTelInput.css @@ -1,3 +1,27 @@ +:root { + --iti-hover-color: rgba(0, 0, 0, 0.05); + --iti-border-color: #ccc; + --iti-dialcode-color: #999; + --iti-dropdown-bg: white; + --iti-search-icon-color: #999; + --iti-spacer-horizontal: 8px; + --iti-flag-height: 12px; + --iti-flag-width: 16px; + --iti-border-width: 1px; + --iti-arrow-height: 4px; + --iti-arrow-width: 6px; + --iti-triangle-border: calc(var(--iti-arrow-width) / 2); + --iti-arrow-padding: 6px; + --iti-arrow-color: #555; + --iti-path-flags-1x: url("../img/flags.webp"); + --iti-path-flags-2x: url("../img/flags@2x.webp"); + --iti-path-globe-1x: url("../img/globe.webp"); + --iti-path-globe-2x: url("../img/globe@2x.webp"); + --iti-flag-sprite-width: 3904px; + --iti-flag-sprite-height: 12px; + --iti-mobile-popup-margin: 30px; +} + .iti { position: relative; display: inline-block; @@ -5,82 +29,151 @@ .iti * { box-sizing: border-box; } -.iti__hide { - display: none; -} -.iti__v-hide { - visibility: hidden; +.iti__a11y-text { + width: 1px; + height: 1px; + clip: rect(1px, 1px, 1px, 1px); + overflow: hidden; + position: absolute; } .iti input.iti__tel-input, .iti input.iti__tel-input[type=text], .iti input.iti__tel-input[type=tel] { position: relative; z-index: 0; - margin-top: 0 !important; - margin-bottom: 0 !important; - padding-right: 36px; - margin-right: 0; + margin: 0 !important; } -.iti__flag-container { +.iti__country-container { position: absolute; top: 0; bottom: 0; - right: 0; - padding: 1px; + left: 0; + padding: var(--iti-border-width); } -.iti__selected-flag { +.iti__selected-country { z-index: 1; position: relative; display: flex; align-items: center; height: 100%; - padding: 0 6px 0 8px; + background: none; + border: 0; + margin: 0; + padding: 0; + font-family: inherit; + font-size: inherit; + color: inherit; + border-radius: 0; + font-weight: inherit; + line-height: inherit; + text-decoration: none; +} +.iti__selected-country-primary { + display: flex; + align-items: center; + height: 100%; + padding: 0 var(--iti-arrow-padding) 0 var(--iti-spacer-horizontal); } .iti__arrow { - margin-left: 6px; + margin-left: var(--iti-arrow-padding); width: 0; height: 0; - border-left: 3px solid transparent; - border-right: 3px solid transparent; - border-top: 4px solid #555; -} -[dir=rtl] .iti__arrow { - margin-right: 6px; - margin-left: 0; + border-left: var(--iti-triangle-border) solid transparent; + border-right: var(--iti-triangle-border) solid transparent; + border-top: var(--iti-arrow-height) solid var(--iti-arrow-color); } .iti__arrow--up { border-top: none; - border-bottom: 4px solid #555; + border-bottom: var(--iti-arrow-height) solid var(--iti-arrow-color); } .iti__dropdown-content { border-radius: 3px; - background-color: white; + background-color: var(--iti-dropdown-bg); } .iti--inline-dropdown .iti__dropdown-content { position: absolute; z-index: 2; margin-top: 3px; - margin-left: -1px; - border: 1px solid #ccc; + margin-left: calc(var(--iti-border-width) * -1); + border: var(--iti-border-width) solid var(--iti-border-color); box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2); } -.iti__dropdown-content--dropup { - bottom: 100%; - margin-bottom: 3px; -} .iti__search-input { width: 100%; border-width: 0; border-radius: 3px; - padding: 9px 12px; + padding-left: 30px; + padding-right: 28px; +} +[dir=rtl] .iti__search-input { + padding-left: inherit; + padding-right: 30px; + background-position: right 8px center; } .iti__search-input + .iti__country-list { - border-top: 1px solid #ccc; + border-top: 1px solid var(--iti-border-color); +} +.iti__search-input::-webkit-search-cancel-button { + appearance: none; +} +.iti__search-input-wrapper { + position: relative; + display: flex; + align-items: center; +} +.iti__search-icon { + position: absolute; + left: 8px; + display: flex; + pointer-events: none; +} +[dir=rtl] .iti__search-icon { + left: auto; + right: 8px; +} +.iti__search-icon-svg { + stroke: var(--iti-search-icon-color); + fill: none; + stroke-width: 3; +} +.iti__search-clear { + position: absolute; + right: 4px; + background: transparent; + border: 0; + border-radius: 3px; + cursor: pointer; + padding: 4px; + display: flex; + align-items: center; + justify-content: center; + transition: background-color 0.15s ease; + width: 24px; + height: 24px; +} +.iti__search-clear .iti__search-clear-x { + stroke-width: 2; +} +.iti__search-clear .iti__search-clear-bg { + fill: var(--iti-search-icon-color); +} +[dir=rtl] .iti__search-clear { + right: auto; + left: 4px; +} +.iti__search-clear:hover, .iti__search-clear:focus-visible { + background: var(--iti-hover-color); + outline: none; +} +.iti__no-results { + text-align: center; + padding: 30px 0; } .iti__country-list { list-style: none; padding: 0; margin: 0; + cursor: pointer; overflow-y: scroll; -webkit-overflow-scrolling: touch; } @@ -95,94 +188,51 @@ white-space: normal; } } -.iti__flag-box { - display: inline-block; - width: 20px; -} -.iti__divider { - padding-bottom: 5px; - margin-bottom: 5px; - border-bottom: 1px solid #ccc; -} .iti__country { display: flex; align-items: center; - padding: 8px 8px; + padding: 8px var(--iti-spacer-horizontal); outline: none; } .iti__dial-code { - color: #999; + color: var(--iti-dialcode-color); } .iti__country.iti__highlight { - background-color: rgba(0, 0, 0, 0.05); + background-color: var(--iti-hover-color); } -.iti__flag-box, .iti__country-name { - margin-right: 8px; +.iti__country-list .iti__flag, .iti__country-name { + margin-right: var(--iti-spacer-horizontal); } -[dir=rtl] .iti__flag-box, [dir=rtl] .iti__country-name { +[dir=rtl] .iti__country-list .iti__flag, [dir=rtl] .iti__country-name { margin-right: 0; - margin-left: 8px; + margin-left: var(--iti-spacer-horizontal); } -.iti--allow-dropdown input.iti__tel-input, -.iti--allow-dropdown input.iti__tel-input[type=text], -.iti--allow-dropdown input.iti__tel-input[type=tel], .iti--show-selected-dial-code input.iti__tel-input, -.iti--show-selected-dial-code input.iti__tel-input[type=text], -.iti--show-selected-dial-code input.iti__tel-input[type=tel] { - padding-right: 6px; - padding-left: 52px; - margin-left: 0; -} -[dir=rtl] .iti--allow-dropdown input.iti__tel-input, -[dir=rtl] .iti--allow-dropdown input.iti__tel-input[type=text], -[dir=rtl] .iti--allow-dropdown input.iti__tel-input[type=tel], [dir=rtl] .iti--show-selected-dial-code input.iti__tel-input, -[dir=rtl] .iti--show-selected-dial-code input.iti__tel-input[type=text], -[dir=rtl] .iti--show-selected-dial-code input.iti__tel-input[type=tel] { - padding-right: 52px; - padding-left: 6px; - margin-right: 0; -} -.iti--allow-dropdown .iti__flag-container, .iti--show-selected-dial-code .iti__flag-container { - right: auto; - left: 0; -} -[dir=rtl] .iti--allow-dropdown .iti__flag-container, [dir=rtl] .iti--show-selected-dial-code .iti__flag-container { - right: 0; - left: auto; -} -.iti--allow-dropdown .iti__flag-container:hover { +.iti--allow-dropdown .iti__country-container:not(:has(+ input[disabled])):not(:has(+ input[readonly])) button.iti__selected-country { cursor: pointer; } -.iti--allow-dropdown .iti__flag-container:hover .iti__selected-flag { - background-color: rgba(0, 0, 0, 0.05); +.iti--allow-dropdown .iti__country-container:not(:has(+ input[disabled])):not(:has(+ input[readonly])) .iti__selected-country-primary:hover, +.iti--allow-dropdown .iti__country-container:not(:has(+ input[disabled])):not(:has(+ input[readonly])) .iti__selected-country:has(+ .iti__dropdown-content:hover) .iti__selected-country-primary { + background-color: var(--iti-hover-color); } -.iti--allow-dropdown .iti__flag-container:has(+ input[disabled]):hover, -.iti--allow-dropdown .iti__flag-container:has(+ input[readonly]):hover { - cursor: default; -} -.iti--allow-dropdown .iti__flag-container:has(+ input[disabled]):hover .iti__selected-flag, -.iti--allow-dropdown .iti__flag-container:has(+ input[readonly]):hover .iti__selected-flag { - background-color: transparent; -} -.iti--show-selected-dial-code .iti__selected-flag { - background-color: rgba(0, 0, 0, 0.05); -} -.iti--show-selected-dial-code.iti--show-flags .iti__selected-dial-code { - margin-left: 6px; -} -[dir=rtl] .iti--show-selected-dial-code.iti--show-flags .iti__selected-dial-code { - margin-left: 0; - margin-right: 6px; +.iti .iti__selected-dial-code { + margin-left: 4px; } .iti--container { position: fixed; top: -1000px; left: -1000px; z-index: 1060; - padding: 1px; + padding: var(--iti-border-width); } .iti--container:hover { cursor: pointer; } +.iti__hide { + display: none; +} +.iti__v-hide { + visibility: hidden; +} .iti--fullscreen-popup.iti--container { background-color: rgba(0, 0, 0, 0.5); @@ -191,12 +241,9 @@ left: 0; right: 0; position: fixed; - padding: 30px; + padding: var(--iti-mobile-popup-margin); display: flex; flex-direction: column; - justify-content: center; -} -.iti--fullscreen-popup.iti--container.iti--country-search { justify-content: flex-start; } .iti--fullscreen-popup .iti__dropdown-content { @@ -211,1106 +258,1006 @@ } .iti__flag { - width: 20px; -} -.iti__flag.iti__be { - width: 18px; -} -.iti__flag.iti__ch { - width: 15px; -} -.iti__flag.iti__mc { - width: 19px; -} -.iti__flag.iti__ne { - width: 18px; -} -.iti__flag.iti__np { - width: 13px; -} -.iti__flag.iti__va { - width: 15px; -} -@media (min-resolution: 2x) { - .iti__flag { - background-size: 5762px 15px; - } -} -.iti__flag.iti__ac { - height: 10px; - background-position: 0px 0px; -} -.iti__flag.iti__ad { - height: 14px; - background-position: -22px 0px; -} -.iti__flag.iti__ae { - height: 10px; - background-position: -44px 0px; -} -.iti__flag.iti__af { - height: 14px; - background-position: -66px 0px; -} -.iti__flag.iti__ag { - height: 14px; - background-position: -88px 0px; -} -.iti__flag.iti__ai { - height: 10px; - background-position: -110px 0px; -} -.iti__flag.iti__al { - height: 15px; - background-position: -132px 0px; -} -.iti__flag.iti__am { - height: 10px; - background-position: -154px 0px; -} -.iti__flag.iti__ao { - height: 14px; - background-position: -176px 0px; -} -.iti__flag.iti__aq { - height: 14px; - background-position: -198px 0px; -} -.iti__flag.iti__ar { - height: 13px; - background-position: -220px 0px; -} -.iti__flag.iti__as { - height: 10px; - background-position: -242px 0px; -} -.iti__flag.iti__at { - height: 14px; - background-position: -264px 0px; -} -.iti__flag.iti__au { - height: 10px; - background-position: -286px 0px; -} -.iti__flag.iti__aw { - height: 14px; - background-position: -308px 0px; -} -.iti__flag.iti__ax { - height: 13px; - background-position: -330px 0px; -} -.iti__flag.iti__az { - height: 10px; - background-position: -352px 0px; -} -.iti__flag.iti__ba { - height: 10px; - background-position: -374px 0px; -} -.iti__flag.iti__bb { - height: 14px; - background-position: -396px 0px; -} -.iti__flag.iti__bd { - height: 12px; - background-position: -418px 0px; -} -.iti__flag.iti__be { - height: 15px; - background-position: -440px 0px; -} -.iti__flag.iti__bf { - height: 14px; - background-position: -460px 0px; -} -.iti__flag.iti__bg { - height: 12px; - background-position: -482px 0px; -} -.iti__flag.iti__bh { - height: 12px; - background-position: -504px 0px; -} -.iti__flag.iti__bi { - height: 12px; - background-position: -526px 0px; -} -.iti__flag.iti__bj { - height: 14px; - background-position: -548px 0px; -} -.iti__flag.iti__bl { - height: 14px; - background-position: -570px 0px; -} -.iti__flag.iti__bm { - height: 10px; - background-position: -592px 0px; -} -.iti__flag.iti__bn { - height: 10px; - background-position: -614px 0px; -} -.iti__flag.iti__bo { - height: 14px; - background-position: -636px 0px; -} -.iti__flag.iti__bq { - height: 14px; - background-position: -658px 0px; -} -.iti__flag.iti__br { - height: 14px; - background-position: -680px 0px; -} -.iti__flag.iti__bs { - height: 10px; - background-position: -702px 0px; -} -.iti__flag.iti__bt { - height: 14px; - background-position: -724px 0px; -} -.iti__flag.iti__bv { - height: 15px; - background-position: -746px 0px; -} -.iti__flag.iti__bw { - height: 14px; - background-position: -768px 0px; -} -.iti__flag.iti__by { - height: 10px; - background-position: -790px 0px; -} -.iti__flag.iti__bz { - height: 12px; - background-position: -812px 0px; -} -.iti__flag.iti__ca { - height: 10px; - background-position: -834px 0px; -} -.iti__flag.iti__cc { - height: 10px; - background-position: -856px 0px; -} -.iti__flag.iti__cd { - height: 15px; - background-position: -878px 0px; -} -.iti__flag.iti__cf { - height: 14px; - background-position: -900px 0px; -} -.iti__flag.iti__cg { - height: 14px; - background-position: -922px 0px; -} -.iti__flag.iti__ch { - height: 15px; - background-position: -944px 0px; -} -.iti__flag.iti__ci { - height: 14px; - background-position: -961px 0px; -} -.iti__flag.iti__ck { - height: 10px; - background-position: -983px 0px; -} -.iti__flag.iti__cl { - height: 14px; - background-position: -1005px 0px; -} -.iti__flag.iti__cm { - height: 14px; - background-position: -1027px 0px; -} -.iti__flag.iti__cn { - height: 14px; - background-position: -1049px 0px; -} -.iti__flag.iti__co { - height: 14px; - background-position: -1071px 0px; -} -.iti__flag.iti__cp { - height: 14px; - background-position: -1093px 0px; -} -.iti__flag.iti__cq { - height: 12px; - background-position: -1115px 0px; -} -.iti__flag.iti__cr { - height: 12px; - background-position: -1137px 0px; -} -.iti__flag.iti__cu { - height: 10px; - background-position: -1159px 0px; -} -.iti__flag.iti__cv { - height: 12px; - background-position: -1181px 0px; -} -.iti__flag.iti__cw { - height: 14px; - background-position: -1203px 0px; -} -.iti__flag.iti__cx { - height: 10px; - background-position: -1225px 0px; -} -.iti__flag.iti__cy { - height: 14px; - background-position: -1247px 0px; -} -.iti__flag.iti__cz { - height: 14px; - background-position: -1269px 0px; -} -.iti__flag.iti__de { - height: 12px; - background-position: -1291px 0px; -} -.iti__flag.iti__dg { - height: 10px; - background-position: -1313px 0px; -} -.iti__flag.iti__dj { - height: 14px; - background-position: -1335px 0px; -} -.iti__flag.iti__dk { - height: 15px; - background-position: -1357px 0px; -} -.iti__flag.iti__dm { - height: 10px; - background-position: -1379px 0px; -} -.iti__flag.iti__do { - height: 14px; - background-position: -1401px 0px; -} -.iti__flag.iti__dz { - height: 14px; - background-position: -1423px 0px; -} -.iti__flag.iti__ea { - height: 14px; - background-position: -1445px 0px; -} -.iti__flag.iti__ec { - height: 14px; - background-position: -1467px 0px; -} -.iti__flag.iti__ee { - height: 13px; - background-position: -1489px 0px; -} -.iti__flag.iti__eg { - height: 14px; - background-position: -1511px 0px; -} -.iti__flag.iti__eh { - height: 10px; - background-position: -1533px 0px; -} -.iti__flag.iti__er { - height: 10px; - background-position: -1555px 0px; -} -.iti__flag.iti__es { - height: 14px; - background-position: -1577px 0px; -} -.iti__flag.iti__et { - height: 10px; - background-position: -1599px 0px; -} -.iti__flag.iti__eu { - height: 14px; - background-position: -1621px 0px; -} -.iti__flag.iti__ez { - height: 14px; - background-position: -1643px 0px; -} -.iti__flag.iti__fi { - height: 12px; - background-position: -1665px 0px; -} -.iti__flag.iti__fj { - height: 10px; - background-position: -1687px 0px; -} -.iti__flag.iti__fk { - height: 10px; - background-position: -1709px 0px; -} -.iti__flag.iti__fm { - height: 11px; - background-position: -1731px 0px; -} -.iti__flag.iti__fo { - height: 15px; - background-position: -1753px 0px; -} -.iti__flag.iti__fr { - height: 14px; - background-position: -1775px 0px; -} -.iti__flag.iti__fx { - height: 14px; - background-position: -1797px 0px; -} -.iti__flag.iti__ga { - height: 15px; - background-position: -1819px 0px; -} -.iti__flag.iti__gb { - height: 10px; - background-position: -1841px 0px; -} -.iti__flag.iti__gd { - height: 12px; - background-position: -1863px 0px; -} -.iti__flag.iti__ge { - height: 14px; - background-position: -1885px 0px; -} -.iti__flag.iti__gf { - height: 14px; - background-position: -1907px 0px; -} -.iti__flag.iti__gg { - height: 14px; - background-position: -1929px 0px; -} -.iti__flag.iti__gh { - height: 14px; - background-position: -1951px 0px; -} -.iti__flag.iti__gi { - height: 10px; - background-position: -1973px 0px; -} -.iti__flag.iti__gl { - height: 14px; - background-position: -1995px 0px; -} -.iti__flag.iti__gm { - height: 14px; - background-position: -2017px 0px; -} -.iti__flag.iti__gn { - height: 14px; - background-position: -2039px 0px; -} -.iti__flag.iti__gp { - height: 14px; - background-position: -2061px 0px; -} -.iti__flag.iti__gq { - height: 14px; - background-position: -2083px 0px; -} -.iti__flag.iti__gr { - height: 14px; - background-position: -2105px 0px; -} -.iti__flag.iti__gs { - height: 10px; - background-position: -2127px 0px; -} -.iti__flag.iti__gt { - height: 13px; - background-position: -2149px 0px; -} -.iti__flag.iti__gu { - height: 11px; - background-position: -2171px 0px; -} -.iti__flag.iti__gw { - height: 10px; - background-position: -2193px 0px; -} -.iti__flag.iti__gy { - height: 12px; - background-position: -2215px 0px; -} -.iti__flag.iti__hk { - height: 14px; - background-position: -2237px 0px; -} -.iti__flag.iti__hm { - height: 10px; - background-position: -2259px 0px; -} -.iti__flag.iti__hn { - height: 10px; - background-position: -2281px 0px; -} -.iti__flag.iti__hr { - height: 10px; - background-position: -2303px 0px; -} -.iti__flag.iti__ht { - height: 12px; - background-position: -2325px 0px; -} -.iti__flag.iti__hu { - height: 10px; - background-position: -2347px 0px; -} -.iti__flag.iti__ic { - height: 14px; - background-position: -2369px 0px; -} -.iti__flag.iti__id { - height: 14px; - background-position: -2391px 0px; -} -.iti__flag.iti__ie { - height: 10px; - background-position: -2413px 0px; -} -.iti__flag.iti__il { - height: 15px; - background-position: -2435px 0px; -} -.iti__flag.iti__im { - height: 10px; - background-position: -2457px 0px; -} -.iti__flag.iti__in { - height: 14px; - background-position: -2479px 0px; -} -.iti__flag.iti__io { - height: 10px; - background-position: -2501px 0px; -} -.iti__flag.iti__iq { - height: 14px; - background-position: -2523px 0px; -} -.iti__flag.iti__ir { - height: 12px; - background-position: -2545px 0px; -} -.iti__flag.iti__is { - height: 15px; - background-position: -2567px 0px; -} -.iti__flag.iti__it { - height: 14px; - background-position: -2589px 0px; -} -.iti__flag.iti__je { - height: 12px; - background-position: -2611px 0px; -} -.iti__flag.iti__jm { - height: 10px; - background-position: -2633px 0px; -} -.iti__flag.iti__jo { - height: 10px; - background-position: -2655px 0px; -} -.iti__flag.iti__jp { - height: 14px; - background-position: -2677px 0px; -} -.iti__flag.iti__ke { - height: 14px; - background-position: -2699px 0px; -} -.iti__flag.iti__kg { - height: 12px; - background-position: -2721px 0px; -} -.iti__flag.iti__kh { - height: 13px; - background-position: -2743px 0px; -} -.iti__flag.iti__ki { - height: 10px; - background-position: -2765px 0px; -} -.iti__flag.iti__km { - height: 12px; - background-position: -2787px 0px; -} -.iti__flag.iti__kn { - height: 14px; - background-position: -2809px 0px; -} -.iti__flag.iti__kp { - height: 10px; - background-position: -2831px 0px; -} -.iti__flag.iti__kr { - height: 14px; - background-position: -2853px 0px; -} -.iti__flag.iti__kw { - height: 10px; - background-position: -2875px 0px; -} -.iti__flag.iti__ky { - height: 10px; - background-position: -2897px 0px; -} -.iti__flag.iti__kz { - height: 10px; - background-position: -2919px 0px; -} -.iti__flag.iti__la { - height: 14px; - background-position: -2941px 0px; -} -.iti__flag.iti__lb { - height: 14px; - background-position: -2963px 0px; -} -.iti__flag.iti__lc { - height: 10px; - background-position: -2985px 0px; -} -.iti__flag.iti__li { - height: 12px; - background-position: -3007px 0px; -} -.iti__flag.iti__lk { - height: 10px; - background-position: -3029px 0px; -} -.iti__flag.iti__lr { - height: 11px; - background-position: -3051px 0px; -} -.iti__flag.iti__ls { - height: 14px; - background-position: -3073px 0px; -} -.iti__flag.iti__lt { - height: 12px; - background-position: -3095px 0px; -} -.iti__flag.iti__lu { - height: 12px; - background-position: -3117px 0px; -} -.iti__flag.iti__lv { - height: 10px; - background-position: -3139px 0px; -} -.iti__flag.iti__ly { - height: 10px; - background-position: -3161px 0px; -} -.iti__flag.iti__ma { - height: 14px; - background-position: -3183px 0px; -} -.iti__flag.iti__mc { - height: 15px; - background-position: -3205px 0px; -} -.iti__flag.iti__md { - height: 10px; - background-position: -3226px 0px; -} -.iti__flag.iti__me { - height: 10px; - background-position: -3248px 0px; -} -.iti__flag.iti__mf { - height: 14px; - background-position: -3270px 0px; -} -.iti__flag.iti__mg { - height: 14px; - background-position: -3292px 0px; -} -.iti__flag.iti__mh { - height: 11px; - background-position: -3314px 0px; -} -.iti__flag.iti__mk { - height: 10px; - background-position: -3336px 0px; -} -.iti__flag.iti__ml { - height: 14px; - background-position: -3358px 0px; -} -.iti__flag.iti__mm { - height: 14px; - background-position: -3380px 0px; -} -.iti__flag.iti__mn { - height: 10px; - background-position: -3402px 0px; -} -.iti__flag.iti__mo { - height: 14px; - background-position: -3424px 0px; -} -.iti__flag.iti__mp { - height: 10px; - background-position: -3446px 0px; -} -.iti__flag.iti__mq { - height: 14px; - background-position: -3468px 0px; -} -.iti__flag.iti__mr { - height: 14px; - background-position: -3490px 0px; -} -.iti__flag.iti__ms { - height: 10px; - background-position: -3512px 0px; -} -.iti__flag.iti__mt { - height: 14px; - background-position: -3534px 0px; -} -.iti__flag.iti__mu { - height: 14px; - background-position: -3556px 0px; -} -.iti__flag.iti__mv { - height: 14px; - background-position: -3578px 0px; -} -.iti__flag.iti__mw { - height: 14px; - background-position: -3600px 0px; -} -.iti__flag.iti__mx { - height: 12px; - background-position: -3622px 0px; -} -.iti__flag.iti__my { - height: 10px; - background-position: -3644px 0px; -} -.iti__flag.iti__mz { - height: 14px; - background-position: -3666px 0px; -} -.iti__flag.iti__na { - height: 14px; - background-position: -3688px 0px; -} -.iti__flag.iti__nc { - height: 10px; - background-position: -3710px 0px; -} -.iti__flag.iti__ne { - height: 15px; - background-position: -3732px 0px; -} -.iti__flag.iti__nf { - height: 10px; - background-position: -3752px 0px; -} -.iti__flag.iti__ng { - height: 10px; - background-position: -3774px 0px; -} -.iti__flag.iti__ni { - height: 12px; - background-position: -3796px 0px; -} -.iti__flag.iti__nl { - height: 14px; - background-position: -3818px 0px; -} -.iti__flag.iti__no { - height: 15px; - background-position: -3840px 0px; -} -.iti__flag.iti__np { - height: 15px; - background-position: -3862px 0px; -} -.iti__flag.iti__nr { - height: 10px; - background-position: -3877px 0px; -} -.iti__flag.iti__nu { - height: 10px; - background-position: -3899px 0px; -} -.iti__flag.iti__nz { - height: 10px; - background-position: -3921px 0px; -} -.iti__flag.iti__om { - height: 10px; - background-position: -3943px 0px; -} -.iti__flag.iti__pa { - height: 14px; - background-position: -3965px 0px; -} -.iti__flag.iti__pe { - height: 14px; - background-position: -3987px 0px; -} -.iti__flag.iti__pf { - height: 14px; - background-position: -4009px 0px; -} -.iti__flag.iti__pg { - height: 15px; - background-position: -4031px 0px; -} -.iti__flag.iti__ph { - height: 10px; - background-position: -4053px 0px; -} -.iti__flag.iti__pk { - height: 14px; - background-position: -4075px 0px; -} -.iti__flag.iti__pl { - height: 13px; - background-position: -4097px 0px; -} -.iti__flag.iti__pm { - height: 14px; - background-position: -4119px 0px; -} -.iti__flag.iti__pn { - height: 10px; - background-position: -4141px 0px; -} -.iti__flag.iti__pr { - height: 14px; - background-position: -4163px 0px; -} -.iti__flag.iti__ps { - height: 10px; - background-position: -4185px 0px; -} -.iti__flag.iti__pt { - height: 14px; - background-position: -4207px 0px; -} -.iti__flag.iti__pw { - height: 13px; - background-position: -4229px 0px; -} -.iti__flag.iti__py { - height: 11px; - background-position: -4251px 0px; -} -.iti__flag.iti__qa { - height: 8px; - background-position: -4273px 0px; -} -.iti__flag.iti__re { - height: 14px; - background-position: -4295px 0px; -} -.iti__flag.iti__ro { - height: 14px; - background-position: -4317px 0px; -} -.iti__flag.iti__rs { - height: 14px; - background-position: -4339px 0px; -} -.iti__flag.iti__ru { - height: 14px; - background-position: -4361px 0px; -} -.iti__flag.iti__rw { - height: 14px; - background-position: -4383px 0px; -} -.iti__flag.iti__sa { - height: 14px; - background-position: -4405px 0px; -} -.iti__flag.iti__sb { - height: 10px; - background-position: -4427px 0px; -} -.iti__flag.iti__sc { - height: 10px; - background-position: -4449px 0px; -} -.iti__flag.iti__sd { - height: 10px; - background-position: -4471px 0px; -} -.iti__flag.iti__se { - height: 13px; - background-position: -4493px 0px; -} -.iti__flag.iti__sg { - height: 14px; - background-position: -4515px 0px; -} -.iti__flag.iti__sh { - height: 10px; - background-position: -4537px 0px; -} -.iti__flag.iti__si { - height: 10px; - background-position: -4559px 0px; -} -.iti__flag.iti__sj { - height: 15px; - background-position: -4581px 0px; -} -.iti__flag.iti__sk { - height: 14px; - background-position: -4603px 0px; -} -.iti__flag.iti__sl { - height: 14px; - background-position: -4625px 0px; -} -.iti__flag.iti__sm { - height: 15px; - background-position: -4647px 0px; -} -.iti__flag.iti__sn { - height: 14px; - background-position: -4669px 0px; -} -.iti__flag.iti__so { - height: 14px; - background-position: -4691px 0px; -} -.iti__flag.iti__sr { - height: 14px; - background-position: -4713px 0px; -} -.iti__flag.iti__ss { - height: 10px; - background-position: -4735px 0px; -} -.iti__flag.iti__st { - height: 10px; - background-position: -4757px 0px; -} -.iti__flag.iti__su { - height: 10px; - background-position: -4779px 0px; -} -.iti__flag.iti__sv { - height: 12px; - background-position: -4801px 0px; -} -.iti__flag.iti__sx { - height: 14px; - background-position: -4823px 0px; -} -.iti__flag.iti__sy { - height: 14px; - background-position: -4845px 0px; -} -.iti__flag.iti__sz { - height: 14px; - background-position: -4867px 0px; -} -.iti__flag.iti__ta { - height: 10px; - background-position: -4889px 0px; -} -.iti__flag.iti__tc { - height: 10px; - background-position: -4911px 0px; -} -.iti__flag.iti__td { - height: 14px; - background-position: -4933px 0px; -} -.iti__flag.iti__tf { - height: 14px; - background-position: -4955px 0px; -} -.iti__flag.iti__tg { - height: 13px; - background-position: -4977px 0px; -} -.iti__flag.iti__th { - height: 14px; - background-position: -4999px 0px; -} -.iti__flag.iti__tj { - height: 10px; - background-position: -5021px 0px; -} -.iti__flag.iti__tk { - height: 10px; - background-position: -5043px 0px; -} -.iti__flag.iti__tl { - height: 10px; - background-position: -5065px 0px; -} -.iti__flag.iti__tm { - height: 14px; - background-position: -5087px 0px; -} -.iti__flag.iti__tn { - height: 14px; - background-position: -5109px 0px; -} -.iti__flag.iti__to { - height: 10px; - background-position: -5131px 0px; -} -.iti__flag.iti__tr { - height: 14px; - background-position: -5153px 0px; -} -.iti__flag.iti__tt { - height: 12px; - background-position: -5175px 0px; -} -.iti__flag.iti__tv { - height: 10px; - background-position: -5197px 0px; -} -.iti__flag.iti__tw { - height: 14px; - background-position: -5219px 0px; -} -.iti__flag.iti__tz { - height: 14px; - background-position: -5241px 0px; -} -.iti__flag.iti__ua { - height: 14px; - background-position: -5263px 0px; -} -.iti__flag.iti__ug { - height: 14px; - background-position: -5285px 0px; -} -.iti__flag.iti__uk { - height: 10px; - background-position: -5307px 0px; -} -.iti__flag.iti__um { - height: 11px; - background-position: -5329px 0px; -} -.iti__flag.iti__un { - height: 14px; - background-position: -5351px 0px; -} -.iti__flag.iti__us { - height: 11px; - background-position: -5373px 0px; -} -.iti__flag.iti__uy { - height: 14px; - background-position: -5395px 0px; -} -.iti__flag.iti__uz { - height: 10px; - background-position: -5417px 0px; -} -.iti__flag.iti__va { - height: 15px; - background-position: -5439px 0px; -} -.iti__flag.iti__vc { - height: 14px; - background-position: -5456px 0px; -} -.iti__flag.iti__ve { - height: 14px; - background-position: -5478px 0px; -} -.iti__flag.iti__vg { - height: 10px; - background-position: -5500px 0px; -} -.iti__flag.iti__vi { - height: 14px; - background-position: -5522px 0px; -} -.iti__flag.iti__vn { - height: 14px; - background-position: -5544px 0px; -} -.iti__flag.iti__vu { - height: 12px; - background-position: -5566px 0px; -} -.iti__flag.iti__wf { - height: 14px; - background-position: -5588px 0px; -} -.iti__flag.iti__ws { - height: 10px; - background-position: -5610px 0px; -} -.iti__flag.iti__xk { - height: 15px; - background-position: -5632px 0px; -} -.iti__flag.iti__ye { - height: 14px; - background-position: -5654px 0px; -} -.iti__flag.iti__yt { - height: 14px; - background-position: -5676px 0px; -} -.iti__flag.iti__za { - height: 14px; - background-position: -5698px 0px; -} -.iti__flag.iti__zm { - height: 14px; - background-position: -5720px 0px; -} -.iti__flag.iti__zw { - height: 10px; - background-position: -5742px 0px; + --iti-flag-offset: 100px; + height: var(--iti-flag-height); + width: var(--iti-flag-width); + border-radius: 1px; + box-shadow: 0px 0px 1px 0px #888; + background-image: var(--iti-path-flags-1x); + background-repeat: no-repeat; + background-position: var(--iti-flag-offset) 0; + background-size: var(--iti-flag-sprite-width) var(--iti-flag-sprite-height); } -.iti__flag { - height: 15px; - box-shadow: 0px 0px 1px 0px #888; - background-image: url("../img/flags.png?1"); - background-repeat: no-repeat; - background-position: 20px 0; +.iti__ac { + --iti-flag-offset: 0px; } -@media (min-resolution: 2x) { - .iti__flag { - background-image: url("../img/flags@2x.png?1"); - } + +.iti__ad { + --iti-flag-offset: -16px; +} + +.iti__ae { + --iti-flag-offset: -32px; +} + +.iti__af { + --iti-flag-offset: -48px; +} + +.iti__ag { + --iti-flag-offset: -64px; +} + +.iti__ai { + --iti-flag-offset: -80px; +} + +.iti__al { + --iti-flag-offset: -96px; +} + +.iti__am { + --iti-flag-offset: -112px; +} + +.iti__ao { + --iti-flag-offset: -128px; +} + +.iti__ar { + --iti-flag-offset: -144px; +} + +.iti__as { + --iti-flag-offset: -160px; +} + +.iti__at { + --iti-flag-offset: -176px; +} + +.iti__au { + --iti-flag-offset: -192px; +} + +.iti__aw { + --iti-flag-offset: -208px; +} + +.iti__ax { + --iti-flag-offset: -224px; +} + +.iti__az { + --iti-flag-offset: -240px; +} + +.iti__ba { + --iti-flag-offset: -256px; +} + +.iti__bb { + --iti-flag-offset: -272px; +} + +.iti__bd { + --iti-flag-offset: -288px; +} + +.iti__be { + --iti-flag-offset: -304px; +} + +.iti__bf { + --iti-flag-offset: -320px; +} + +.iti__bg { + --iti-flag-offset: -336px; +} + +.iti__bh { + --iti-flag-offset: -352px; +} + +.iti__bi { + --iti-flag-offset: -368px; +} + +.iti__bj { + --iti-flag-offset: -384px; +} + +.iti__bl { + --iti-flag-offset: -400px; +} + +.iti__bm { + --iti-flag-offset: -416px; +} + +.iti__bn { + --iti-flag-offset: -432px; +} + +.iti__bo { + --iti-flag-offset: -448px; +} + +.iti__bq { + --iti-flag-offset: -464px; +} + +.iti__br { + --iti-flag-offset: -480px; +} + +.iti__bs { + --iti-flag-offset: -496px; +} + +.iti__bt { + --iti-flag-offset: -512px; +} + +.iti__bw { + --iti-flag-offset: -528px; +} + +.iti__by { + --iti-flag-offset: -544px; +} + +.iti__bz { + --iti-flag-offset: -560px; +} + +.iti__ca { + --iti-flag-offset: -576px; +} + +.iti__cc { + --iti-flag-offset: -592px; +} + +.iti__cd { + --iti-flag-offset: -608px; +} + +.iti__cf { + --iti-flag-offset: -624px; +} + +.iti__cg { + --iti-flag-offset: -640px; +} + +.iti__ch { + --iti-flag-offset: -656px; +} + +.iti__ci { + --iti-flag-offset: -672px; +} + +.iti__ck { + --iti-flag-offset: -688px; +} + +.iti__cl { + --iti-flag-offset: -704px; +} + +.iti__cm { + --iti-flag-offset: -720px; +} + +.iti__cn { + --iti-flag-offset: -736px; +} + +.iti__co { + --iti-flag-offset: -752px; +} + +.iti__cr { + --iti-flag-offset: -768px; +} + +.iti__cu { + --iti-flag-offset: -784px; +} + +.iti__cv { + --iti-flag-offset: -800px; +} + +.iti__cw { + --iti-flag-offset: -816px; +} + +.iti__cx { + --iti-flag-offset: -832px; +} + +.iti__cy { + --iti-flag-offset: -848px; +} + +.iti__cz { + --iti-flag-offset: -864px; +} + +.iti__de { + --iti-flag-offset: -880px; +} + +.iti__dj { + --iti-flag-offset: -896px; +} + +.iti__dk { + --iti-flag-offset: -912px; +} + +.iti__dm { + --iti-flag-offset: -928px; +} + +.iti__do { + --iti-flag-offset: -944px; +} + +.iti__dz { + --iti-flag-offset: -960px; +} + +.iti__ec { + --iti-flag-offset: -976px; +} + +.iti__ee { + --iti-flag-offset: -992px; +} + +.iti__eg { + --iti-flag-offset: -1008px; +} + +.iti__eh { + --iti-flag-offset: -1024px; +} + +.iti__er { + --iti-flag-offset: -1040px; +} + +.iti__es { + --iti-flag-offset: -1056px; +} + +.iti__et { + --iti-flag-offset: -1072px; +} + +.iti__fi { + --iti-flag-offset: -1088px; +} + +.iti__fj { + --iti-flag-offset: -1104px; +} + +.iti__fk { + --iti-flag-offset: -1120px; +} + +.iti__fm { + --iti-flag-offset: -1136px; +} + +.iti__fo { + --iti-flag-offset: -1152px; +} + +.iti__fr { + --iti-flag-offset: -1168px; +} + +.iti__ga { + --iti-flag-offset: -1184px; +} + +.iti__gb { + --iti-flag-offset: -1200px; +} + +.iti__gd { + --iti-flag-offset: -1216px; +} + +.iti__ge { + --iti-flag-offset: -1232px; +} + +.iti__gf { + --iti-flag-offset: -1248px; +} + +.iti__gg { + --iti-flag-offset: -1264px; +} + +.iti__gh { + --iti-flag-offset: -1280px; +} + +.iti__gi { + --iti-flag-offset: -1296px; +} + +.iti__gl { + --iti-flag-offset: -1312px; +} + +.iti__gm { + --iti-flag-offset: -1328px; +} + +.iti__gn { + --iti-flag-offset: -1344px; +} + +.iti__gp { + --iti-flag-offset: -1360px; +} + +.iti__gq { + --iti-flag-offset: -1376px; +} + +.iti__gr { + --iti-flag-offset: -1392px; +} + +.iti__gt { + --iti-flag-offset: -1408px; +} + +.iti__gu { + --iti-flag-offset: -1424px; +} + +.iti__gw { + --iti-flag-offset: -1440px; +} + +.iti__gy { + --iti-flag-offset: -1456px; +} + +.iti__hk { + --iti-flag-offset: -1472px; +} + +.iti__hn { + --iti-flag-offset: -1488px; +} + +.iti__hr { + --iti-flag-offset: -1504px; +} + +.iti__ht { + --iti-flag-offset: -1520px; +} + +.iti__hu { + --iti-flag-offset: -1536px; +} + +.iti__id { + --iti-flag-offset: -1552px; +} + +.iti__ie { + --iti-flag-offset: -1568px; +} + +.iti__il { + --iti-flag-offset: -1584px; +} + +.iti__im { + --iti-flag-offset: -1600px; +} + +.iti__in { + --iti-flag-offset: -1616px; +} + +.iti__io { + --iti-flag-offset: -1632px; +} + +.iti__iq { + --iti-flag-offset: -1648px; +} + +.iti__ir { + --iti-flag-offset: -1664px; +} + +.iti__is { + --iti-flag-offset: -1680px; +} + +.iti__it { + --iti-flag-offset: -1696px; +} + +.iti__je { + --iti-flag-offset: -1712px; +} + +.iti__jm { + --iti-flag-offset: -1728px; +} + +.iti__jo { + --iti-flag-offset: -1744px; +} + +.iti__jp { + --iti-flag-offset: -1760px; +} + +.iti__ke { + --iti-flag-offset: -1776px; +} + +.iti__kg { + --iti-flag-offset: -1792px; +} + +.iti__kh { + --iti-flag-offset: -1808px; +} + +.iti__ki { + --iti-flag-offset: -1824px; +} + +.iti__km { + --iti-flag-offset: -1840px; +} + +.iti__kn { + --iti-flag-offset: -1856px; +} + +.iti__kp { + --iti-flag-offset: -1872px; +} + +.iti__kr { + --iti-flag-offset: -1888px; +} + +.iti__kw { + --iti-flag-offset: -1904px; +} + +.iti__ky { + --iti-flag-offset: -1920px; +} + +.iti__kz { + --iti-flag-offset: -1936px; +} + +.iti__la { + --iti-flag-offset: -1952px; +} + +.iti__lb { + --iti-flag-offset: -1968px; +} + +.iti__lc { + --iti-flag-offset: -1984px; +} + +.iti__li { + --iti-flag-offset: -2000px; +} + +.iti__lk { + --iti-flag-offset: -2016px; +} + +.iti__lr { + --iti-flag-offset: -2032px; +} + +.iti__ls { + --iti-flag-offset: -2048px; +} + +.iti__lt { + --iti-flag-offset: -2064px; +} + +.iti__lu { + --iti-flag-offset: -2080px; +} + +.iti__lv { + --iti-flag-offset: -2096px; +} + +.iti__ly { + --iti-flag-offset: -2112px; +} + +.iti__ma { + --iti-flag-offset: -2128px; +} + +.iti__mc { + --iti-flag-offset: -2144px; +} + +.iti__md { + --iti-flag-offset: -2160px; +} + +.iti__me { + --iti-flag-offset: -2176px; +} + +.iti__mf { + --iti-flag-offset: -2192px; +} + +.iti__mg { + --iti-flag-offset: -2208px; +} + +.iti__mh { + --iti-flag-offset: -2224px; +} + +.iti__mk { + --iti-flag-offset: -2240px; +} + +.iti__ml { + --iti-flag-offset: -2256px; +} + +.iti__mm { + --iti-flag-offset: -2272px; +} + +.iti__mn { + --iti-flag-offset: -2288px; +} + +.iti__mo { + --iti-flag-offset: -2304px; +} + +.iti__mp { + --iti-flag-offset: -2320px; +} + +.iti__mq { + --iti-flag-offset: -2336px; +} + +.iti__mr { + --iti-flag-offset: -2352px; +} + +.iti__ms { + --iti-flag-offset: -2368px; +} + +.iti__mt { + --iti-flag-offset: -2384px; +} + +.iti__mu { + --iti-flag-offset: -2400px; +} + +.iti__mv { + --iti-flag-offset: -2416px; +} + +.iti__mw { + --iti-flag-offset: -2432px; +} + +.iti__mx { + --iti-flag-offset: -2448px; +} + +.iti__my { + --iti-flag-offset: -2464px; +} + +.iti__mz { + --iti-flag-offset: -2480px; +} + +.iti__na { + --iti-flag-offset: -2496px; +} + +.iti__nc { + --iti-flag-offset: -2512px; +} + +.iti__ne { + --iti-flag-offset: -2528px; +} + +.iti__nf { + --iti-flag-offset: -2544px; +} + +.iti__ng { + --iti-flag-offset: -2560px; +} + +.iti__ni { + --iti-flag-offset: -2576px; +} + +.iti__nl { + --iti-flag-offset: -2592px; +} + +.iti__no { + --iti-flag-offset: -2608px; +} + +.iti__np { + --iti-flag-offset: -2624px; +} + +.iti__nr { + --iti-flag-offset: -2640px; +} + +.iti__nu { + --iti-flag-offset: -2656px; +} + +.iti__nz { + --iti-flag-offset: -2672px; +} + +.iti__om { + --iti-flag-offset: -2688px; +} + +.iti__pa { + --iti-flag-offset: -2704px; +} + +.iti__pe { + --iti-flag-offset: -2720px; +} + +.iti__pf { + --iti-flag-offset: -2736px; +} + +.iti__pg { + --iti-flag-offset: -2752px; +} + +.iti__ph { + --iti-flag-offset: -2768px; +} + +.iti__pk { + --iti-flag-offset: -2784px; +} + +.iti__pl { + --iti-flag-offset: -2800px; +} + +.iti__pm { + --iti-flag-offset: -2816px; +} + +.iti__pr { + --iti-flag-offset: -2832px; +} + +.iti__ps { + --iti-flag-offset: -2848px; +} + +.iti__pt { + --iti-flag-offset: -2864px; +} + +.iti__pw { + --iti-flag-offset: -2880px; +} + +.iti__py { + --iti-flag-offset: -2896px; +} + +.iti__qa { + --iti-flag-offset: -2912px; +} + +.iti__re { + --iti-flag-offset: -2928px; +} + +.iti__ro { + --iti-flag-offset: -2944px; +} + +.iti__rs { + --iti-flag-offset: -2960px; +} + +.iti__ru { + --iti-flag-offset: -2976px; +} + +.iti__rw { + --iti-flag-offset: -2992px; +} + +.iti__sa { + --iti-flag-offset: -3008px; +} + +.iti__sb { + --iti-flag-offset: -3024px; +} + +.iti__sc { + --iti-flag-offset: -3040px; +} + +.iti__sd { + --iti-flag-offset: -3056px; +} + +.iti__se { + --iti-flag-offset: -3072px; +} + +.iti__sg { + --iti-flag-offset: -3088px; +} + +.iti__sh { + --iti-flag-offset: -3104px; +} + +.iti__si { + --iti-flag-offset: -3120px; +} + +.iti__sj { + --iti-flag-offset: -3136px; +} + +.iti__sk { + --iti-flag-offset: -3152px; +} + +.iti__sl { + --iti-flag-offset: -3168px; +} + +.iti__sm { + --iti-flag-offset: -3184px; +} + +.iti__sn { + --iti-flag-offset: -3200px; +} + +.iti__so { + --iti-flag-offset: -3216px; +} + +.iti__sr { + --iti-flag-offset: -3232px; +} + +.iti__ss { + --iti-flag-offset: -3248px; +} + +.iti__st { + --iti-flag-offset: -3264px; +} + +.iti__sv { + --iti-flag-offset: -3280px; +} + +.iti__sx { + --iti-flag-offset: -3296px; +} + +.iti__sy { + --iti-flag-offset: -3312px; +} + +.iti__sz { + --iti-flag-offset: -3328px; +} + +.iti__tc { + --iti-flag-offset: -3344px; +} + +.iti__td { + --iti-flag-offset: -3360px; +} + +.iti__tg { + --iti-flag-offset: -3376px; +} + +.iti__th { + --iti-flag-offset: -3392px; +} + +.iti__tj { + --iti-flag-offset: -3408px; +} + +.iti__tk { + --iti-flag-offset: -3424px; +} + +.iti__tl { + --iti-flag-offset: -3440px; +} + +.iti__tm { + --iti-flag-offset: -3456px; +} + +.iti__tn { + --iti-flag-offset: -3472px; +} + +.iti__to { + --iti-flag-offset: -3488px; +} + +.iti__tr { + --iti-flag-offset: -3504px; +} + +.iti__tt { + --iti-flag-offset: -3520px; +} + +.iti__tv { + --iti-flag-offset: -3536px; +} + +.iti__tw { + --iti-flag-offset: -3552px; +} + +.iti__tz { + --iti-flag-offset: -3568px; +} + +.iti__ua { + --iti-flag-offset: -3584px; +} + +.iti__ug { + --iti-flag-offset: -3600px; +} + +.iti__us { + --iti-flag-offset: -3616px; +} + +.iti__uy { + --iti-flag-offset: -3632px; +} + +.iti__uz { + --iti-flag-offset: -3648px; +} + +.iti__va { + --iti-flag-offset: -3664px; +} + +.iti__vc { + --iti-flag-offset: -3680px; +} + +.iti__ve { + --iti-flag-offset: -3696px; +} + +.iti__vg { + --iti-flag-offset: -3712px; +} + +.iti__vi { + --iti-flag-offset: -3728px; +} + +.iti__vn { + --iti-flag-offset: -3744px; +} + +.iti__vu { + --iti-flag-offset: -3760px; +} + +.iti__wf { + --iti-flag-offset: -3776px; +} + +.iti__ws { + --iti-flag-offset: -3792px; +} + +.iti__xk { + --iti-flag-offset: -3808px; +} + +.iti__ye { + --iti-flag-offset: -3824px; +} + +.iti__yt { + --iti-flag-offset: -3840px; +} + +.iti__za { + --iti-flag-offset: -3856px; +} + +.iti__zm { + --iti-flag-offset: -3872px; +} + +.iti__zw { + --iti-flag-offset: -3888px; } .iti__globe { - background-image: url("../img/globe.png"); + background-image: var(--iti-path-globe-1x); background-size: contain; background-position: right; box-shadow: none; height: 19px; } + @media (min-resolution: 2x) { + .iti__flag { + background-image: var(--iti-path-flags-2x); + } .iti__globe { - background-image: url("../img/globe@2x.png"); + background-image: var(--iti-path-globe-2x); } } \ No newline at end of file diff --git a/assets/intl-tel-input/css/intlTelInput.min.css b/assets/intl-tel-input/css/intlTelInput.min.css index 8888ab0..757e69f 100644 --- a/assets/intl-tel-input/css/intlTelInput.min.css +++ b/assets/intl-tel-input/css/intlTelInput.min.css @@ -1 +1 @@ -.iti{position:relative;display:inline-block}.iti *{box-sizing:border-box}.iti__hide{display:none}.iti__v-hide{visibility:hidden}.iti input.iti__tel-input,.iti input.iti__tel-input[type=tel],.iti input.iti__tel-input[type=text]{position:relative;z-index:0;margin-top:0!important;margin-bottom:0!important;padding-right:36px;margin-right:0}.iti__flag-container{position:absolute;top:0;bottom:0;right:0;padding:1px}.iti__selected-flag{z-index:1;position:relative;display:flex;align-items:center;height:100%;padding:0 6px 0 8px}.iti__arrow{margin-left:6px;width:0;height:0;border-left:3px solid transparent;border-right:3px solid transparent;border-top:4px solid #555}[dir=rtl] .iti__arrow{margin-right:6px;margin-left:0}.iti__arrow--up{border-top:none;border-bottom:4px solid #555}.iti__dropdown-content{border-radius:3px;background-color:#fff}.iti--inline-dropdown .iti__dropdown-content{position:absolute;z-index:2;margin-top:3px;margin-left:-1px;border:1px solid #ccc;box-shadow:1px 1px 4px rgba(0,0,0,.2)}.iti__dropdown-content--dropup{bottom:100%;margin-bottom:3px}.iti__search-input{width:100%;border-width:0;border-radius:3px;padding:9px 12px}.iti__search-input+.iti__country-list{border-top:1px solid #ccc}.iti__country-list{list-style:none;padding:0;margin:0;overflow-y:scroll;-webkit-overflow-scrolling:touch}.iti--inline-dropdown .iti__country-list{max-height:185px}.iti--flexible-dropdown-width .iti__country-list{white-space:nowrap}@media (max-width:500px){.iti--flexible-dropdown-width .iti__country-list{white-space:normal}}.iti__flag-box{display:inline-block;width:20px}.iti__divider{padding-bottom:5px;margin-bottom:5px;border-bottom:1px solid #ccc}.iti__country{display:flex;align-items:center;padding:8px 8px;outline:0}.iti__dial-code{color:#999}.iti__country.iti__highlight{background-color:rgba(0,0,0,.05)}.iti__country-name,.iti__flag-box{margin-right:8px}[dir=rtl] .iti__country-name,[dir=rtl] .iti__flag-box{margin-right:0;margin-left:8px}.iti--allow-dropdown input.iti__tel-input,.iti--allow-dropdown input.iti__tel-input[type=tel],.iti--allow-dropdown input.iti__tel-input[type=text],.iti--show-selected-dial-code input.iti__tel-input,.iti--show-selected-dial-code input.iti__tel-input[type=tel],.iti--show-selected-dial-code input.iti__tel-input[type=text]{padding-right:6px;padding-left:52px;margin-left:0}[dir=rtl] .iti--allow-dropdown input.iti__tel-input,[dir=rtl] .iti--allow-dropdown input.iti__tel-input[type=tel],[dir=rtl] .iti--allow-dropdown input.iti__tel-input[type=text],[dir=rtl] .iti--show-selected-dial-code input.iti__tel-input,[dir=rtl] .iti--show-selected-dial-code input.iti__tel-input[type=tel],[dir=rtl] .iti--show-selected-dial-code input.iti__tel-input[type=text]{padding-right:52px;padding-left:6px;margin-right:0}.iti--allow-dropdown .iti__flag-container,.iti--show-selected-dial-code .iti__flag-container{right:auto;left:0}[dir=rtl] .iti--allow-dropdown .iti__flag-container,[dir=rtl] .iti--show-selected-dial-code .iti__flag-container{right:0;left:auto}.iti--allow-dropdown .iti__flag-container:hover{cursor:pointer}.iti--allow-dropdown .iti__flag-container:hover .iti__selected-flag{background-color:rgba(0,0,0,.05)}.iti--allow-dropdown .iti__flag-container:has(+input[disabled]):hover,.iti--allow-dropdown .iti__flag-container:has(+input[readonly]):hover{cursor:default}.iti--allow-dropdown .iti__flag-container:has(+input[disabled]):hover .iti__selected-flag,.iti--allow-dropdown .iti__flag-container:has(+input[readonly]):hover .iti__selected-flag{background-color:transparent}.iti--show-selected-dial-code .iti__selected-flag{background-color:rgba(0,0,0,.05)}.iti--show-selected-dial-code.iti--show-flags .iti__selected-dial-code{margin-left:6px}[dir=rtl] .iti--show-selected-dial-code.iti--show-flags .iti__selected-dial-code{margin-left:0;margin-right:6px}.iti--container{position:fixed;top:-1000px;left:-1000px;z-index:1060;padding:1px}.iti--container:hover{cursor:pointer}.iti--fullscreen-popup.iti--container{background-color:rgba(0,0,0,.5);top:0;bottom:0;left:0;right:0;position:fixed;padding:30px;display:flex;flex-direction:column;justify-content:center}.iti--fullscreen-popup.iti--container.iti--country-search{justify-content:flex-start}.iti--fullscreen-popup .iti__dropdown-content{display:flex;flex-direction:column;max-height:100%;position:relative}.iti--fullscreen-popup .iti__country{padding:10px 10px;line-height:1.5em}.iti__flag{width:20px}.iti__flag.iti__be{width:18px}.iti__flag.iti__ch{width:15px}.iti__flag.iti__mc{width:19px}.iti__flag.iti__ne{width:18px}.iti__flag.iti__np{width:13px}.iti__flag.iti__va{width:15px}@media (min-resolution:2x){.iti__flag{background-size:5762px 15px}}.iti__flag.iti__ac{height:10px;background-position:0 0}.iti__flag.iti__ad{height:14px;background-position:-22px 0}.iti__flag.iti__ae{height:10px;background-position:-44px 0}.iti__flag.iti__af{height:14px;background-position:-66px 0}.iti__flag.iti__ag{height:14px;background-position:-88px 0}.iti__flag.iti__ai{height:10px;background-position:-110px 0}.iti__flag.iti__al{height:15px;background-position:-132px 0}.iti__flag.iti__am{height:10px;background-position:-154px 0}.iti__flag.iti__ao{height:14px;background-position:-176px 0}.iti__flag.iti__aq{height:14px;background-position:-198px 0}.iti__flag.iti__ar{height:13px;background-position:-220px 0}.iti__flag.iti__as{height:10px;background-position:-242px 0}.iti__flag.iti__at{height:14px;background-position:-264px 0}.iti__flag.iti__au{height:10px;background-position:-286px 0}.iti__flag.iti__aw{height:14px;background-position:-308px 0}.iti__flag.iti__ax{height:13px;background-position:-330px 0}.iti__flag.iti__az{height:10px;background-position:-352px 0}.iti__flag.iti__ba{height:10px;background-position:-374px 0}.iti__flag.iti__bb{height:14px;background-position:-396px 0}.iti__flag.iti__bd{height:12px;background-position:-418px 0}.iti__flag.iti__be{height:15px;background-position:-440px 0}.iti__flag.iti__bf{height:14px;background-position:-460px 0}.iti__flag.iti__bg{height:12px;background-position:-482px 0}.iti__flag.iti__bh{height:12px;background-position:-504px 0}.iti__flag.iti__bi{height:12px;background-position:-526px 0}.iti__flag.iti__bj{height:14px;background-position:-548px 0}.iti__flag.iti__bl{height:14px;background-position:-570px 0}.iti__flag.iti__bm{height:10px;background-position:-592px 0}.iti__flag.iti__bn{height:10px;background-position:-614px 0}.iti__flag.iti__bo{height:14px;background-position:-636px 0}.iti__flag.iti__bq{height:14px;background-position:-658px 0}.iti__flag.iti__br{height:14px;background-position:-680px 0}.iti__flag.iti__bs{height:10px;background-position:-702px 0}.iti__flag.iti__bt{height:14px;background-position:-724px 0}.iti__flag.iti__bv{height:15px;background-position:-746px 0}.iti__flag.iti__bw{height:14px;background-position:-768px 0}.iti__flag.iti__by{height:10px;background-position:-790px 0}.iti__flag.iti__bz{height:12px;background-position:-812px 0}.iti__flag.iti__ca{height:10px;background-position:-834px 0}.iti__flag.iti__cc{height:10px;background-position:-856px 0}.iti__flag.iti__cd{height:15px;background-position:-878px 0}.iti__flag.iti__cf{height:14px;background-position:-900px 0}.iti__flag.iti__cg{height:14px;background-position:-922px 0}.iti__flag.iti__ch{height:15px;background-position:-944px 0}.iti__flag.iti__ci{height:14px;background-position:-961px 0}.iti__flag.iti__ck{height:10px;background-position:-983px 0}.iti__flag.iti__cl{height:14px;background-position:-1005px 0}.iti__flag.iti__cm{height:14px;background-position:-1027px 0}.iti__flag.iti__cn{height:14px;background-position:-1049px 0}.iti__flag.iti__co{height:14px;background-position:-1071px 0}.iti__flag.iti__cp{height:14px;background-position:-1093px 0}.iti__flag.iti__cq{height:12px;background-position:-1115px 0}.iti__flag.iti__cr{height:12px;background-position:-1137px 0}.iti__flag.iti__cu{height:10px;background-position:-1159px 0}.iti__flag.iti__cv{height:12px;background-position:-1181px 0}.iti__flag.iti__cw{height:14px;background-position:-1203px 0}.iti__flag.iti__cx{height:10px;background-position:-1225px 0}.iti__flag.iti__cy{height:14px;background-position:-1247px 0}.iti__flag.iti__cz{height:14px;background-position:-1269px 0}.iti__flag.iti__de{height:12px;background-position:-1291px 0}.iti__flag.iti__dg{height:10px;background-position:-1313px 0}.iti__flag.iti__dj{height:14px;background-position:-1335px 0}.iti__flag.iti__dk{height:15px;background-position:-1357px 0}.iti__flag.iti__dm{height:10px;background-position:-1379px 0}.iti__flag.iti__do{height:14px;background-position:-1401px 0}.iti__flag.iti__dz{height:14px;background-position:-1423px 0}.iti__flag.iti__ea{height:14px;background-position:-1445px 0}.iti__flag.iti__ec{height:14px;background-position:-1467px 0}.iti__flag.iti__ee{height:13px;background-position:-1489px 0}.iti__flag.iti__eg{height:14px;background-position:-1511px 0}.iti__flag.iti__eh{height:10px;background-position:-1533px 0}.iti__flag.iti__er{height:10px;background-position:-1555px 0}.iti__flag.iti__es{height:14px;background-position:-1577px 0}.iti__flag.iti__et{height:10px;background-position:-1599px 0}.iti__flag.iti__eu{height:14px;background-position:-1621px 0}.iti__flag.iti__ez{height:14px;background-position:-1643px 0}.iti__flag.iti__fi{height:12px;background-position:-1665px 0}.iti__flag.iti__fj{height:10px;background-position:-1687px 0}.iti__flag.iti__fk{height:10px;background-position:-1709px 0}.iti__flag.iti__fm{height:11px;background-position:-1731px 0}.iti__flag.iti__fo{height:15px;background-position:-1753px 0}.iti__flag.iti__fr{height:14px;background-position:-1775px 0}.iti__flag.iti__fx{height:14px;background-position:-1797px 0}.iti__flag.iti__ga{height:15px;background-position:-1819px 0}.iti__flag.iti__gb{height:10px;background-position:-1841px 0}.iti__flag.iti__gd{height:12px;background-position:-1863px 0}.iti__flag.iti__ge{height:14px;background-position:-1885px 0}.iti__flag.iti__gf{height:14px;background-position:-1907px 0}.iti__flag.iti__gg{height:14px;background-position:-1929px 0}.iti__flag.iti__gh{height:14px;background-position:-1951px 0}.iti__flag.iti__gi{height:10px;background-position:-1973px 0}.iti__flag.iti__gl{height:14px;background-position:-1995px 0}.iti__flag.iti__gm{height:14px;background-position:-2017px 0}.iti__flag.iti__gn{height:14px;background-position:-2039px 0}.iti__flag.iti__gp{height:14px;background-position:-2061px 0}.iti__flag.iti__gq{height:14px;background-position:-2083px 0}.iti__flag.iti__gr{height:14px;background-position:-2105px 0}.iti__flag.iti__gs{height:10px;background-position:-2127px 0}.iti__flag.iti__gt{height:13px;background-position:-2149px 0}.iti__flag.iti__gu{height:11px;background-position:-2171px 0}.iti__flag.iti__gw{height:10px;background-position:-2193px 0}.iti__flag.iti__gy{height:12px;background-position:-2215px 0}.iti__flag.iti__hk{height:14px;background-position:-2237px 0}.iti__flag.iti__hm{height:10px;background-position:-2259px 0}.iti__flag.iti__hn{height:10px;background-position:-2281px 0}.iti__flag.iti__hr{height:10px;background-position:-2303px 0}.iti__flag.iti__ht{height:12px;background-position:-2325px 0}.iti__flag.iti__hu{height:10px;background-position:-2347px 0}.iti__flag.iti__ic{height:14px;background-position:-2369px 0}.iti__flag.iti__id{height:14px;background-position:-2391px 0}.iti__flag.iti__ie{height:10px;background-position:-2413px 0}.iti__flag.iti__il{height:15px;background-position:-2435px 0}.iti__flag.iti__im{height:10px;background-position:-2457px 0}.iti__flag.iti__in{height:14px;background-position:-2479px 0}.iti__flag.iti__io{height:10px;background-position:-2501px 0}.iti__flag.iti__iq{height:14px;background-position:-2523px 0}.iti__flag.iti__ir{height:12px;background-position:-2545px 0}.iti__flag.iti__is{height:15px;background-position:-2567px 0}.iti__flag.iti__it{height:14px;background-position:-2589px 0}.iti__flag.iti__je{height:12px;background-position:-2611px 0}.iti__flag.iti__jm{height:10px;background-position:-2633px 0}.iti__flag.iti__jo{height:10px;background-position:-2655px 0}.iti__flag.iti__jp{height:14px;background-position:-2677px 0}.iti__flag.iti__ke{height:14px;background-position:-2699px 0}.iti__flag.iti__kg{height:12px;background-position:-2721px 0}.iti__flag.iti__kh{height:13px;background-position:-2743px 0}.iti__flag.iti__ki{height:10px;background-position:-2765px 0}.iti__flag.iti__km{height:12px;background-position:-2787px 0}.iti__flag.iti__kn{height:14px;background-position:-2809px 0}.iti__flag.iti__kp{height:10px;background-position:-2831px 0}.iti__flag.iti__kr{height:14px;background-position:-2853px 0}.iti__flag.iti__kw{height:10px;background-position:-2875px 0}.iti__flag.iti__ky{height:10px;background-position:-2897px 0}.iti__flag.iti__kz{height:10px;background-position:-2919px 0}.iti__flag.iti__la{height:14px;background-position:-2941px 0}.iti__flag.iti__lb{height:14px;background-position:-2963px 0}.iti__flag.iti__lc{height:10px;background-position:-2985px 0}.iti__flag.iti__li{height:12px;background-position:-3007px 0}.iti__flag.iti__lk{height:10px;background-position:-3029px 0}.iti__flag.iti__lr{height:11px;background-position:-3051px 0}.iti__flag.iti__ls{height:14px;background-position:-3073px 0}.iti__flag.iti__lt{height:12px;background-position:-3095px 0}.iti__flag.iti__lu{height:12px;background-position:-3117px 0}.iti__flag.iti__lv{height:10px;background-position:-3139px 0}.iti__flag.iti__ly{height:10px;background-position:-3161px 0}.iti__flag.iti__ma{height:14px;background-position:-3183px 0}.iti__flag.iti__mc{height:15px;background-position:-3205px 0}.iti__flag.iti__md{height:10px;background-position:-3226px 0}.iti__flag.iti__me{height:10px;background-position:-3248px 0}.iti__flag.iti__mf{height:14px;background-position:-3270px 0}.iti__flag.iti__mg{height:14px;background-position:-3292px 0}.iti__flag.iti__mh{height:11px;background-position:-3314px 0}.iti__flag.iti__mk{height:10px;background-position:-3336px 0}.iti__flag.iti__ml{height:14px;background-position:-3358px 0}.iti__flag.iti__mm{height:14px;background-position:-3380px 0}.iti__flag.iti__mn{height:10px;background-position:-3402px 0}.iti__flag.iti__mo{height:14px;background-position:-3424px 0}.iti__flag.iti__mp{height:10px;background-position:-3446px 0}.iti__flag.iti__mq{height:14px;background-position:-3468px 0}.iti__flag.iti__mr{height:14px;background-position:-3490px 0}.iti__flag.iti__ms{height:10px;background-position:-3512px 0}.iti__flag.iti__mt{height:14px;background-position:-3534px 0}.iti__flag.iti__mu{height:14px;background-position:-3556px 0}.iti__flag.iti__mv{height:14px;background-position:-3578px 0}.iti__flag.iti__mw{height:14px;background-position:-3600px 0}.iti__flag.iti__mx{height:12px;background-position:-3622px 0}.iti__flag.iti__my{height:10px;background-position:-3644px 0}.iti__flag.iti__mz{height:14px;background-position:-3666px 0}.iti__flag.iti__na{height:14px;background-position:-3688px 0}.iti__flag.iti__nc{height:10px;background-position:-3710px 0}.iti__flag.iti__ne{height:15px;background-position:-3732px 0}.iti__flag.iti__nf{height:10px;background-position:-3752px 0}.iti__flag.iti__ng{height:10px;background-position:-3774px 0}.iti__flag.iti__ni{height:12px;background-position:-3796px 0}.iti__flag.iti__nl{height:14px;background-position:-3818px 0}.iti__flag.iti__no{height:15px;background-position:-3840px 0}.iti__flag.iti__np{height:15px;background-position:-3862px 0}.iti__flag.iti__nr{height:10px;background-position:-3877px 0}.iti__flag.iti__nu{height:10px;background-position:-3899px 0}.iti__flag.iti__nz{height:10px;background-position:-3921px 0}.iti__flag.iti__om{height:10px;background-position:-3943px 0}.iti__flag.iti__pa{height:14px;background-position:-3965px 0}.iti__flag.iti__pe{height:14px;background-position:-3987px 0}.iti__flag.iti__pf{height:14px;background-position:-4009px 0}.iti__flag.iti__pg{height:15px;background-position:-4031px 0}.iti__flag.iti__ph{height:10px;background-position:-4053px 0}.iti__flag.iti__pk{height:14px;background-position:-4075px 0}.iti__flag.iti__pl{height:13px;background-position:-4097px 0}.iti__flag.iti__pm{height:14px;background-position:-4119px 0}.iti__flag.iti__pn{height:10px;background-position:-4141px 0}.iti__flag.iti__pr{height:14px;background-position:-4163px 0}.iti__flag.iti__ps{height:10px;background-position:-4185px 0}.iti__flag.iti__pt{height:14px;background-position:-4207px 0}.iti__flag.iti__pw{height:13px;background-position:-4229px 0}.iti__flag.iti__py{height:11px;background-position:-4251px 0}.iti__flag.iti__qa{height:8px;background-position:-4273px 0}.iti__flag.iti__re{height:14px;background-position:-4295px 0}.iti__flag.iti__ro{height:14px;background-position:-4317px 0}.iti__flag.iti__rs{height:14px;background-position:-4339px 0}.iti__flag.iti__ru{height:14px;background-position:-4361px 0}.iti__flag.iti__rw{height:14px;background-position:-4383px 0}.iti__flag.iti__sa{height:14px;background-position:-4405px 0}.iti__flag.iti__sb{height:10px;background-position:-4427px 0}.iti__flag.iti__sc{height:10px;background-position:-4449px 0}.iti__flag.iti__sd{height:10px;background-position:-4471px 0}.iti__flag.iti__se{height:13px;background-position:-4493px 0}.iti__flag.iti__sg{height:14px;background-position:-4515px 0}.iti__flag.iti__sh{height:10px;background-position:-4537px 0}.iti__flag.iti__si{height:10px;background-position:-4559px 0}.iti__flag.iti__sj{height:15px;background-position:-4581px 0}.iti__flag.iti__sk{height:14px;background-position:-4603px 0}.iti__flag.iti__sl{height:14px;background-position:-4625px 0}.iti__flag.iti__sm{height:15px;background-position:-4647px 0}.iti__flag.iti__sn{height:14px;background-position:-4669px 0}.iti__flag.iti__so{height:14px;background-position:-4691px 0}.iti__flag.iti__sr{height:14px;background-position:-4713px 0}.iti__flag.iti__ss{height:10px;background-position:-4735px 0}.iti__flag.iti__st{height:10px;background-position:-4757px 0}.iti__flag.iti__su{height:10px;background-position:-4779px 0}.iti__flag.iti__sv{height:12px;background-position:-4801px 0}.iti__flag.iti__sx{height:14px;background-position:-4823px 0}.iti__flag.iti__sy{height:14px;background-position:-4845px 0}.iti__flag.iti__sz{height:14px;background-position:-4867px 0}.iti__flag.iti__ta{height:10px;background-position:-4889px 0}.iti__flag.iti__tc{height:10px;background-position:-4911px 0}.iti__flag.iti__td{height:14px;background-position:-4933px 0}.iti__flag.iti__tf{height:14px;background-position:-4955px 0}.iti__flag.iti__tg{height:13px;background-position:-4977px 0}.iti__flag.iti__th{height:14px;background-position:-4999px 0}.iti__flag.iti__tj{height:10px;background-position:-5021px 0}.iti__flag.iti__tk{height:10px;background-position:-5043px 0}.iti__flag.iti__tl{height:10px;background-position:-5065px 0}.iti__flag.iti__tm{height:14px;background-position:-5087px 0}.iti__flag.iti__tn{height:14px;background-position:-5109px 0}.iti__flag.iti__to{height:10px;background-position:-5131px 0}.iti__flag.iti__tr{height:14px;background-position:-5153px 0}.iti__flag.iti__tt{height:12px;background-position:-5175px 0}.iti__flag.iti__tv{height:10px;background-position:-5197px 0}.iti__flag.iti__tw{height:14px;background-position:-5219px 0}.iti__flag.iti__tz{height:14px;background-position:-5241px 0}.iti__flag.iti__ua{height:14px;background-position:-5263px 0}.iti__flag.iti__ug{height:14px;background-position:-5285px 0}.iti__flag.iti__uk{height:10px;background-position:-5307px 0}.iti__flag.iti__um{height:11px;background-position:-5329px 0}.iti__flag.iti__un{height:14px;background-position:-5351px 0}.iti__flag.iti__us{height:11px;background-position:-5373px 0}.iti__flag.iti__uy{height:14px;background-position:-5395px 0}.iti__flag.iti__uz{height:10px;background-position:-5417px 0}.iti__flag.iti__va{height:15px;background-position:-5439px 0}.iti__flag.iti__vc{height:14px;background-position:-5456px 0}.iti__flag.iti__ve{height:14px;background-position:-5478px 0}.iti__flag.iti__vg{height:10px;background-position:-5500px 0}.iti__flag.iti__vi{height:14px;background-position:-5522px 0}.iti__flag.iti__vn{height:14px;background-position:-5544px 0}.iti__flag.iti__vu{height:12px;background-position:-5566px 0}.iti__flag.iti__wf{height:14px;background-position:-5588px 0}.iti__flag.iti__ws{height:10px;background-position:-5610px 0}.iti__flag.iti__xk{height:15px;background-position:-5632px 0}.iti__flag.iti__ye{height:14px;background-position:-5654px 0}.iti__flag.iti__yt{height:14px;background-position:-5676px 0}.iti__flag.iti__za{height:14px;background-position:-5698px 0}.iti__flag.iti__zm{height:14px;background-position:-5720px 0}.iti__flag.iti__zw{height:10px;background-position:-5742px 0}.iti__flag{height:15px;box-shadow:0 0 1px 0 #888;background-image:url(../img/flags.png?1);background-repeat:no-repeat;background-position:20px 0}@media (min-resolution:2x){.iti__flag{background-image:url(../img/flags@2x.png?1)}}.iti__globe{background-image:url(../img/globe.png);background-size:contain;background-position:right;box-shadow:none;height:19px}@media (min-resolution:2x){.iti__globe{background-image:url(../img/globe@2x.png)}} \ No newline at end of file +:root{--iti-hover-color:rgba(0, 0, 0, 0.05);--iti-border-color:#ccc;--iti-dialcode-color:#999;--iti-dropdown-bg:white;--iti-search-icon-color:#999;--iti-spacer-horizontal:8px;--iti-flag-height:12px;--iti-flag-width:16px;--iti-border-width:1px;--iti-arrow-height:4px;--iti-arrow-width:6px;--iti-triangle-border:calc(var(--iti-arrow-width) / 2);--iti-arrow-padding:6px;--iti-arrow-color:#555;--iti-path-flags-1x:url("../img/flags.webp");--iti-path-flags-2x:url("../img/flags@2x.webp");--iti-path-globe-1x:url("../img/globe.webp");--iti-path-globe-2x:url("../img/globe@2x.webp");--iti-flag-sprite-width:3904px;--iti-flag-sprite-height:12px;--iti-mobile-popup-margin:30px}.iti{position:relative;display:inline-block}.iti *{box-sizing:border-box}.iti__a11y-text{width:1px;height:1px;clip:rect(1px,1px,1px,1px);overflow:hidden;position:absolute}.iti input.iti__tel-input,.iti input.iti__tel-input[type=tel],.iti input.iti__tel-input[type=text]{position:relative;z-index:0;margin:0!important}.iti__country-container{position:absolute;top:0;bottom:0;left:0;padding:var(--iti-border-width)}.iti__selected-country{z-index:1;position:relative;display:flex;align-items:center;height:100%;background:0 0;border:0;margin:0;padding:0;font-family:inherit;font-size:inherit;color:inherit;border-radius:0;font-weight:inherit;line-height:inherit;text-decoration:none}.iti__selected-country-primary{display:flex;align-items:center;height:100%;padding:0 var(--iti-arrow-padding) 0 var(--iti-spacer-horizontal)}.iti__arrow{margin-left:var(--iti-arrow-padding);width:0;height:0;border-left:var(--iti-triangle-border) solid transparent;border-right:var(--iti-triangle-border) solid transparent;border-top:var(--iti-arrow-height) solid var(--iti-arrow-color)}.iti__arrow--up{border-top:none;border-bottom:var(--iti-arrow-height) solid var(--iti-arrow-color)}.iti__dropdown-content{border-radius:3px;background-color:var(--iti-dropdown-bg)}.iti--inline-dropdown .iti__dropdown-content{position:absolute;z-index:2;margin-top:3px;margin-left:calc(var(--iti-border-width) * -1);border:var(--iti-border-width) solid var(--iti-border-color);box-shadow:1px 1px 4px rgba(0,0,0,.2)}.iti__search-input{width:100%;border-width:0;border-radius:3px;padding-left:30px;padding-right:28px}[dir=rtl] .iti__search-input{padding-left:inherit;padding-right:30px;background-position:right 8px center}.iti__search-input+.iti__country-list{border-top:1px solid var(--iti-border-color)}.iti__search-input::-webkit-search-cancel-button{appearance:none}.iti__search-input-wrapper{position:relative;display:flex;align-items:center}.iti__search-icon{position:absolute;left:8px;display:flex;pointer-events:none}[dir=rtl] .iti__search-icon{left:auto;right:8px}.iti__search-icon-svg{stroke:var(--iti-search-icon-color);fill:none;stroke-width:3}.iti__search-clear{position:absolute;right:4px;background:0 0;border:0;border-radius:3px;cursor:pointer;padding:4px;display:flex;align-items:center;justify-content:center;transition:background-color .15s ease;width:24px;height:24px}.iti__search-clear .iti__search-clear-x{stroke-width:2}.iti__search-clear .iti__search-clear-bg{fill:var(--iti-search-icon-color)}[dir=rtl] .iti__search-clear{right:auto;left:4px}.iti__search-clear:focus-visible,.iti__search-clear:hover{background:var(--iti-hover-color);outline:0}.iti__no-results{text-align:center;padding:30px 0}.iti__country-list{list-style:none;padding:0;margin:0;cursor:pointer;overflow-y:scroll;-webkit-overflow-scrolling:touch}.iti--inline-dropdown .iti__country-list{max-height:185px}.iti--flexible-dropdown-width .iti__country-list{white-space:nowrap}@media (max-width:500px){.iti--flexible-dropdown-width .iti__country-list{white-space:normal}}.iti__country{display:flex;align-items:center;padding:8px var(--iti-spacer-horizontal);outline:0}.iti__dial-code{color:var(--iti-dialcode-color)}.iti__country.iti__highlight{background-color:var(--iti-hover-color)}.iti__country-list .iti__flag,.iti__country-name{margin-right:var(--iti-spacer-horizontal)}[dir=rtl] .iti__country-list .iti__flag,[dir=rtl] .iti__country-name{margin-right:0;margin-left:var(--iti-spacer-horizontal)}.iti--allow-dropdown .iti__country-container:not(:has(+ input[disabled])):not(:has(+ input[readonly])) button.iti__selected-country{cursor:pointer}.iti--allow-dropdown .iti__country-container:not(:has(+ input[disabled])):not(:has(+ input[readonly])) .iti__selected-country-primary:hover,.iti--allow-dropdown .iti__country-container:not(:has(+ input[disabled])):not(:has(+ input[readonly])) .iti__selected-country:has(+ .iti__dropdown-content:hover) .iti__selected-country-primary{background-color:var(--iti-hover-color)}.iti .iti__selected-dial-code{margin-left:4px}.iti--container{position:fixed;top:-1000px;left:-1000px;z-index:1060;padding:var(--iti-border-width)}.iti--container:hover{cursor:pointer}.iti__hide{display:none}.iti__v-hide{visibility:hidden}.iti--fullscreen-popup.iti--container{background-color:rgba(0,0,0,.5);top:0;bottom:0;left:0;right:0;position:fixed;padding:var(--iti-mobile-popup-margin);display:flex;flex-direction:column;justify-content:flex-start}.iti--fullscreen-popup .iti__dropdown-content{display:flex;flex-direction:column;max-height:100%;position:relative}.iti--fullscreen-popup .iti__country{padding:10px 10px;line-height:1.5em}.iti__flag{--iti-flag-offset:100px;height:var(--iti-flag-height);width:var(--iti-flag-width);border-radius:1px;box-shadow:0 0 1px 0 #888;background-image:var(--iti-path-flags-1x);background-repeat:no-repeat;background-position:var(--iti-flag-offset) 0;background-size:var(--iti-flag-sprite-width) var(--iti-flag-sprite-height)}.iti__ac{--iti-flag-offset:0px}.iti__ad{--iti-flag-offset:-16px}.iti__ae{--iti-flag-offset:-32px}.iti__af{--iti-flag-offset:-48px}.iti__ag{--iti-flag-offset:-64px}.iti__ai{--iti-flag-offset:-80px}.iti__al{--iti-flag-offset:-96px}.iti__am{--iti-flag-offset:-112px}.iti__ao{--iti-flag-offset:-128px}.iti__ar{--iti-flag-offset:-144px}.iti__as{--iti-flag-offset:-160px}.iti__at{--iti-flag-offset:-176px}.iti__au{--iti-flag-offset:-192px}.iti__aw{--iti-flag-offset:-208px}.iti__ax{--iti-flag-offset:-224px}.iti__az{--iti-flag-offset:-240px}.iti__ba{--iti-flag-offset:-256px}.iti__bb{--iti-flag-offset:-272px}.iti__bd{--iti-flag-offset:-288px}.iti__be{--iti-flag-offset:-304px}.iti__bf{--iti-flag-offset:-320px}.iti__bg{--iti-flag-offset:-336px}.iti__bh{--iti-flag-offset:-352px}.iti__bi{--iti-flag-offset:-368px}.iti__bj{--iti-flag-offset:-384px}.iti__bl{--iti-flag-offset:-400px}.iti__bm{--iti-flag-offset:-416px}.iti__bn{--iti-flag-offset:-432px}.iti__bo{--iti-flag-offset:-448px}.iti__bq{--iti-flag-offset:-464px}.iti__br{--iti-flag-offset:-480px}.iti__bs{--iti-flag-offset:-496px}.iti__bt{--iti-flag-offset:-512px}.iti__bw{--iti-flag-offset:-528px}.iti__by{--iti-flag-offset:-544px}.iti__bz{--iti-flag-offset:-560px}.iti__ca{--iti-flag-offset:-576px}.iti__cc{--iti-flag-offset:-592px}.iti__cd{--iti-flag-offset:-608px}.iti__cf{--iti-flag-offset:-624px}.iti__cg{--iti-flag-offset:-640px}.iti__ch{--iti-flag-offset:-656px}.iti__ci{--iti-flag-offset:-672px}.iti__ck{--iti-flag-offset:-688px}.iti__cl{--iti-flag-offset:-704px}.iti__cm{--iti-flag-offset:-720px}.iti__cn{--iti-flag-offset:-736px}.iti__co{--iti-flag-offset:-752px}.iti__cr{--iti-flag-offset:-768px}.iti__cu{--iti-flag-offset:-784px}.iti__cv{--iti-flag-offset:-800px}.iti__cw{--iti-flag-offset:-816px}.iti__cx{--iti-flag-offset:-832px}.iti__cy{--iti-flag-offset:-848px}.iti__cz{--iti-flag-offset:-864px}.iti__de{--iti-flag-offset:-880px}.iti__dj{--iti-flag-offset:-896px}.iti__dk{--iti-flag-offset:-912px}.iti__dm{--iti-flag-offset:-928px}.iti__do{--iti-flag-offset:-944px}.iti__dz{--iti-flag-offset:-960px}.iti__ec{--iti-flag-offset:-976px}.iti__ee{--iti-flag-offset:-992px}.iti__eg{--iti-flag-offset:-1008px}.iti__eh{--iti-flag-offset:-1024px}.iti__er{--iti-flag-offset:-1040px}.iti__es{--iti-flag-offset:-1056px}.iti__et{--iti-flag-offset:-1072px}.iti__fi{--iti-flag-offset:-1088px}.iti__fj{--iti-flag-offset:-1104px}.iti__fk{--iti-flag-offset:-1120px}.iti__fm{--iti-flag-offset:-1136px}.iti__fo{--iti-flag-offset:-1152px}.iti__fr{--iti-flag-offset:-1168px}.iti__ga{--iti-flag-offset:-1184px}.iti__gb{--iti-flag-offset:-1200px}.iti__gd{--iti-flag-offset:-1216px}.iti__ge{--iti-flag-offset:-1232px}.iti__gf{--iti-flag-offset:-1248px}.iti__gg{--iti-flag-offset:-1264px}.iti__gh{--iti-flag-offset:-1280px}.iti__gi{--iti-flag-offset:-1296px}.iti__gl{--iti-flag-offset:-1312px}.iti__gm{--iti-flag-offset:-1328px}.iti__gn{--iti-flag-offset:-1344px}.iti__gp{--iti-flag-offset:-1360px}.iti__gq{--iti-flag-offset:-1376px}.iti__gr{--iti-flag-offset:-1392px}.iti__gt{--iti-flag-offset:-1408px}.iti__gu{--iti-flag-offset:-1424px}.iti__gw{--iti-flag-offset:-1440px}.iti__gy{--iti-flag-offset:-1456px}.iti__hk{--iti-flag-offset:-1472px}.iti__hn{--iti-flag-offset:-1488px}.iti__hr{--iti-flag-offset:-1504px}.iti__ht{--iti-flag-offset:-1520px}.iti__hu{--iti-flag-offset:-1536px}.iti__id{--iti-flag-offset:-1552px}.iti__ie{--iti-flag-offset:-1568px}.iti__il{--iti-flag-offset:-1584px}.iti__im{--iti-flag-offset:-1600px}.iti__in{--iti-flag-offset:-1616px}.iti__io{--iti-flag-offset:-1632px}.iti__iq{--iti-flag-offset:-1648px}.iti__ir{--iti-flag-offset:-1664px}.iti__is{--iti-flag-offset:-1680px}.iti__it{--iti-flag-offset:-1696px}.iti__je{--iti-flag-offset:-1712px}.iti__jm{--iti-flag-offset:-1728px}.iti__jo{--iti-flag-offset:-1744px}.iti__jp{--iti-flag-offset:-1760px}.iti__ke{--iti-flag-offset:-1776px}.iti__kg{--iti-flag-offset:-1792px}.iti__kh{--iti-flag-offset:-1808px}.iti__ki{--iti-flag-offset:-1824px}.iti__km{--iti-flag-offset:-1840px}.iti__kn{--iti-flag-offset:-1856px}.iti__kp{--iti-flag-offset:-1872px}.iti__kr{--iti-flag-offset:-1888px}.iti__kw{--iti-flag-offset:-1904px}.iti__ky{--iti-flag-offset:-1920px}.iti__kz{--iti-flag-offset:-1936px}.iti__la{--iti-flag-offset:-1952px}.iti__lb{--iti-flag-offset:-1968px}.iti__lc{--iti-flag-offset:-1984px}.iti__li{--iti-flag-offset:-2000px}.iti__lk{--iti-flag-offset:-2016px}.iti__lr{--iti-flag-offset:-2032px}.iti__ls{--iti-flag-offset:-2048px}.iti__lt{--iti-flag-offset:-2064px}.iti__lu{--iti-flag-offset:-2080px}.iti__lv{--iti-flag-offset:-2096px}.iti__ly{--iti-flag-offset:-2112px}.iti__ma{--iti-flag-offset:-2128px}.iti__mc{--iti-flag-offset:-2144px}.iti__md{--iti-flag-offset:-2160px}.iti__me{--iti-flag-offset:-2176px}.iti__mf{--iti-flag-offset:-2192px}.iti__mg{--iti-flag-offset:-2208px}.iti__mh{--iti-flag-offset:-2224px}.iti__mk{--iti-flag-offset:-2240px}.iti__ml{--iti-flag-offset:-2256px}.iti__mm{--iti-flag-offset:-2272px}.iti__mn{--iti-flag-offset:-2288px}.iti__mo{--iti-flag-offset:-2304px}.iti__mp{--iti-flag-offset:-2320px}.iti__mq{--iti-flag-offset:-2336px}.iti__mr{--iti-flag-offset:-2352px}.iti__ms{--iti-flag-offset:-2368px}.iti__mt{--iti-flag-offset:-2384px}.iti__mu{--iti-flag-offset:-2400px}.iti__mv{--iti-flag-offset:-2416px}.iti__mw{--iti-flag-offset:-2432px}.iti__mx{--iti-flag-offset:-2448px}.iti__my{--iti-flag-offset:-2464px}.iti__mz{--iti-flag-offset:-2480px}.iti__na{--iti-flag-offset:-2496px}.iti__nc{--iti-flag-offset:-2512px}.iti__ne{--iti-flag-offset:-2528px}.iti__nf{--iti-flag-offset:-2544px}.iti__ng{--iti-flag-offset:-2560px}.iti__ni{--iti-flag-offset:-2576px}.iti__nl{--iti-flag-offset:-2592px}.iti__no{--iti-flag-offset:-2608px}.iti__np{--iti-flag-offset:-2624px}.iti__nr{--iti-flag-offset:-2640px}.iti__nu{--iti-flag-offset:-2656px}.iti__nz{--iti-flag-offset:-2672px}.iti__om{--iti-flag-offset:-2688px}.iti__pa{--iti-flag-offset:-2704px}.iti__pe{--iti-flag-offset:-2720px}.iti__pf{--iti-flag-offset:-2736px}.iti__pg{--iti-flag-offset:-2752px}.iti__ph{--iti-flag-offset:-2768px}.iti__pk{--iti-flag-offset:-2784px}.iti__pl{--iti-flag-offset:-2800px}.iti__pm{--iti-flag-offset:-2816px}.iti__pr{--iti-flag-offset:-2832px}.iti__ps{--iti-flag-offset:-2848px}.iti__pt{--iti-flag-offset:-2864px}.iti__pw{--iti-flag-offset:-2880px}.iti__py{--iti-flag-offset:-2896px}.iti__qa{--iti-flag-offset:-2912px}.iti__re{--iti-flag-offset:-2928px}.iti__ro{--iti-flag-offset:-2944px}.iti__rs{--iti-flag-offset:-2960px}.iti__ru{--iti-flag-offset:-2976px}.iti__rw{--iti-flag-offset:-2992px}.iti__sa{--iti-flag-offset:-3008px}.iti__sb{--iti-flag-offset:-3024px}.iti__sc{--iti-flag-offset:-3040px}.iti__sd{--iti-flag-offset:-3056px}.iti__se{--iti-flag-offset:-3072px}.iti__sg{--iti-flag-offset:-3088px}.iti__sh{--iti-flag-offset:-3104px}.iti__si{--iti-flag-offset:-3120px}.iti__sj{--iti-flag-offset:-3136px}.iti__sk{--iti-flag-offset:-3152px}.iti__sl{--iti-flag-offset:-3168px}.iti__sm{--iti-flag-offset:-3184px}.iti__sn{--iti-flag-offset:-3200px}.iti__so{--iti-flag-offset:-3216px}.iti__sr{--iti-flag-offset:-3232px}.iti__ss{--iti-flag-offset:-3248px}.iti__st{--iti-flag-offset:-3264px}.iti__sv{--iti-flag-offset:-3280px}.iti__sx{--iti-flag-offset:-3296px}.iti__sy{--iti-flag-offset:-3312px}.iti__sz{--iti-flag-offset:-3328px}.iti__tc{--iti-flag-offset:-3344px}.iti__td{--iti-flag-offset:-3360px}.iti__tg{--iti-flag-offset:-3376px}.iti__th{--iti-flag-offset:-3392px}.iti__tj{--iti-flag-offset:-3408px}.iti__tk{--iti-flag-offset:-3424px}.iti__tl{--iti-flag-offset:-3440px}.iti__tm{--iti-flag-offset:-3456px}.iti__tn{--iti-flag-offset:-3472px}.iti__to{--iti-flag-offset:-3488px}.iti__tr{--iti-flag-offset:-3504px}.iti__tt{--iti-flag-offset:-3520px}.iti__tv{--iti-flag-offset:-3536px}.iti__tw{--iti-flag-offset:-3552px}.iti__tz{--iti-flag-offset:-3568px}.iti__ua{--iti-flag-offset:-3584px}.iti__ug{--iti-flag-offset:-3600px}.iti__us{--iti-flag-offset:-3616px}.iti__uy{--iti-flag-offset:-3632px}.iti__uz{--iti-flag-offset:-3648px}.iti__va{--iti-flag-offset:-3664px}.iti__vc{--iti-flag-offset:-3680px}.iti__ve{--iti-flag-offset:-3696px}.iti__vg{--iti-flag-offset:-3712px}.iti__vi{--iti-flag-offset:-3728px}.iti__vn{--iti-flag-offset:-3744px}.iti__vu{--iti-flag-offset:-3760px}.iti__wf{--iti-flag-offset:-3776px}.iti__ws{--iti-flag-offset:-3792px}.iti__xk{--iti-flag-offset:-3808px}.iti__ye{--iti-flag-offset:-3824px}.iti__yt{--iti-flag-offset:-3840px}.iti__za{--iti-flag-offset:-3856px}.iti__zm{--iti-flag-offset:-3872px}.iti__zw{--iti-flag-offset:-3888px}.iti__globe{background-image:var(--iti-path-globe-1x);background-size:contain;background-position:right;box-shadow:none;height:19px}@media (min-resolution:2x){.iti__flag{background-image:var(--iti-path-flags-2x)}.iti__globe{background-image:var(--iti-path-globe-2x)}} \ No newline at end of file diff --git a/assets/intl-tel-input/img/flags.png b/assets/intl-tel-input/img/flags.png index 36f236e..0c321c2 100644 Binary files a/assets/intl-tel-input/img/flags.png and b/assets/intl-tel-input/img/flags.png differ diff --git a/assets/intl-tel-input/img/flags.webp b/assets/intl-tel-input/img/flags.webp new file mode 100644 index 0000000..b433dbd Binary files /dev/null and b/assets/intl-tel-input/img/flags.webp differ diff --git a/assets/intl-tel-input/img/flags@2x.png b/assets/intl-tel-input/img/flags@2x.png index cba08f2..e7a78b3 100644 Binary files a/assets/intl-tel-input/img/flags@2x.png and b/assets/intl-tel-input/img/flags@2x.png differ diff --git a/assets/intl-tel-input/img/flags@2x.webp b/assets/intl-tel-input/img/flags@2x.webp new file mode 100644 index 0000000..87f79a7 Binary files /dev/null and b/assets/intl-tel-input/img/flags@2x.webp differ diff --git a/assets/intl-tel-input/img/globe.webp b/assets/intl-tel-input/img/globe.webp new file mode 100644 index 0000000..d1f2b85 Binary files /dev/null and b/assets/intl-tel-input/img/globe.webp differ diff --git a/assets/intl-tel-input/img/globe@2x.webp b/assets/intl-tel-input/img/globe@2x.webp new file mode 100644 index 0000000..168bfa7 Binary files /dev/null and b/assets/intl-tel-input/img/globe@2x.webp differ diff --git a/assets/intl-tel-input/img/globe_light.png b/assets/intl-tel-input/img/globe_light.png new file mode 100644 index 0000000..2c2b238 Binary files /dev/null and b/assets/intl-tel-input/img/globe_light.png differ diff --git a/assets/intl-tel-input/img/globe_light.webp b/assets/intl-tel-input/img/globe_light.webp new file mode 100644 index 0000000..4d18b69 Binary files /dev/null and b/assets/intl-tel-input/img/globe_light.webp differ diff --git a/assets/intl-tel-input/img/globe_light@2x.png b/assets/intl-tel-input/img/globe_light@2x.png new file mode 100644 index 0000000..898dcf2 Binary files /dev/null and b/assets/intl-tel-input/img/globe_light@2x.png differ diff --git a/assets/intl-tel-input/img/globe_light@2x.webp b/assets/intl-tel-input/img/globe_light@2x.webp new file mode 100644 index 0000000..c87b1a3 Binary files /dev/null and b/assets/intl-tel-input/img/globe_light@2x.webp differ diff --git a/assets/intl-tel-input/js/data.js b/assets/intl-tel-input/js/data.js index d05a0e3..0715dc7 100644 --- a/assets/intl-tel-input/js/data.js +++ b/assets/intl-tel-input/js/data.js @@ -1,37 +1,1745 @@ /* - * International Telephone Input v19.5.7 + * International Telephone Input v25.13.2 * https://github.com/jackocnr/intl-tel-input.git * Licensed under the MIT license */ -// wrap in UMD -(function() { - // Array of country objects for the flag dropdown. - // Here is the criteria for the plugin to support a given country/territory - // - It has an iso2 code: https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2 - // - It has it's own country calling code (it is not a sub-region of another country): https://en.wikipedia.org/wiki/List_of_country_calling_codes - // - It has a flag in the region-flags project: https://github.com/behdad/region-flags/tree/gh-pages/png - // - It is supported by libphonenumber (it must be listed on this page): https://github.com/googlei18n/libphonenumber/blob/master/resources/ShortNumberMetadata.xml - // Each country array has the following information: - // [ - // Country name, - // iso2 code, - // International dial code, - // Order (if >1 country with same dial code), - // Area codes - // ] - var allCountries = [ [ "Afghanistan", "af", "93" ], [ "Albania", "al", "355" ], [ "Algeria", "dz", "213" ], [ "American Samoa", "as", "1", 5, [ "684" ] ], [ "Andorra", "ad", "376" ], [ "Angola", "ao", "244" ], [ "Anguilla", "ai", "1", 6, [ "264" ] ], [ "Antigua & Barbuda", "ag", "1", 7, [ "268" ] ], [ "Argentina", "ar", "54" ], [ "Armenia", "am", "374" ], [ "Aruba", "aw", "297" ], [ "Ascension Island", "ac", "247" ], [ "Australia", "au", "61", 0 ], [ "Austria", "at", "43" ], [ "Azerbaijan", "az", "994" ], [ "Bahamas", "bs", "1", 8, [ "242" ] ], [ "Bahrain", "bh", "973" ], [ "Bangladesh", "bd", "880" ], [ "Barbados", "bb", "1", 9, [ "246" ] ], [ "Belarus", "by", "375" ], [ "Belgium", "be", "32" ], [ "Belize", "bz", "501" ], [ "Benin", "bj", "229" ], [ "Bermuda", "bm", "1", 10, [ "441" ] ], [ "Bhutan", "bt", "975" ], [ "Bolivia", "bo", "591" ], [ "Bosnia & Herzegovina", "ba", "387" ], [ "Botswana", "bw", "267" ], [ "Brazil", "br", "55" ], [ "British Indian Ocean Territory", "io", "246" ], [ "British Virgin Islands", "vg", "1", 11, [ "284" ] ], [ "Brunei", "bn", "673" ], [ "Bulgaria", "bg", "359" ], [ "Burkina Faso", "bf", "226" ], [ "Burundi", "bi", "257" ], [ "Cambodia", "kh", "855" ], [ "Cameroon", "cm", "237" ], [ "Canada", "ca", "1", 1, [ "204", "226", "236", "249", "250", "263", "289", "306", "343", "354", "365", "367", "368", "382", "387", "403", "416", "418", "428", "431", "437", "438", "450", "584", "468", "474", "506", "514", "519", "548", "579", "581", "584", "587", "604", "613", "639", "647", "672", "683", "705", "709", "742", "753", "778", "780", "782", "807", "819", "825", "867", "873", "902", "905" ] ], [ "Cape Verde", "cv", "238" ], [ "Caribbean Netherlands", "bq", "599", 1, [ "3", "4", "7" ] ], [ "Cayman Islands", "ky", "1", 12, [ "345" ] ], [ "Central African Republic", "cf", "236" ], [ "Chad", "td", "235" ], [ "Chile", "cl", "56" ], [ "China", "cn", "86" ], [ "Christmas Island", "cx", "61", 2, [ "89164" ] ], [ "Cocos (Keeling) Islands", "cc", "61", 1, [ "89162" ] ], [ "Colombia", "co", "57" ], [ "Comoros", "km", "269" ], [ "Congo - Brazzaville", "cg", "242" ], [ "Congo - Kinshasa", "cd", "243" ], [ "Cook Islands", "ck", "682" ], [ "Costa Rica", "cr", "506" ], [ "Côte d’Ivoire", "ci", "225" ], [ "Croatia", "hr", "385" ], [ "Cuba", "cu", "53" ], [ "Curaçao", "cw", "599", 0 ], [ "Cyprus", "cy", "357" ], [ "Czech Republic", "cz", "420" ], [ "Denmark", "dk", "45" ], [ "Djibouti", "dj", "253" ], [ "Dominica", "dm", "1", 13, [ "767" ] ], [ "Dominican Republic", "do", "1", 2, [ "809", "829", "849" ] ], [ "Ecuador", "ec", "593" ], [ "Egypt", "eg", "20" ], [ "El Salvador", "sv", "503" ], [ "Equatorial Guinea", "gq", "240" ], [ "Eritrea", "er", "291" ], [ "Estonia", "ee", "372" ], [ "Eswatini", "sz", "268" ], [ "Ethiopia", "et", "251" ], [ "Falkland Islands", "fk", "500" ], [ "Faroe Islands", "fo", "298" ], [ "Fiji", "fj", "679" ], [ "Finland", "fi", "358", 0 ], [ "France", "fr", "33" ], [ "French Guiana", "gf", "594" ], [ "French Polynesia", "pf", "689" ], [ "Gabon", "ga", "241" ], [ "Gambia", "gm", "220" ], [ "Georgia", "ge", "995" ], [ "Germany", "de", "49" ], [ "Ghana", "gh", "233" ], [ "Gibraltar", "gi", "350" ], [ "Greece", "gr", "30" ], [ "Greenland", "gl", "299" ], [ "Grenada", "gd", "1", 14, [ "473" ] ], [ "Guadeloupe", "gp", "590", 0 ], [ "Guam", "gu", "1", 15, [ "671" ] ], [ "Guatemala", "gt", "502" ], [ "Guernsey", "gg", "44", 1, [ "1481", "7781", "7839", "7911" ] ], [ "Guinea", "gn", "224" ], [ "Guinea-Bissau", "gw", "245" ], [ "Guyana", "gy", "592" ], [ "Haiti", "ht", "509" ], [ "Honduras", "hn", "504" ], [ "Hong Kong", "hk", "852" ], [ "Hungary", "hu", "36" ], [ "Iceland", "is", "354" ], [ "India", "in", "91" ], [ "Indonesia", "id", "62" ], [ "Iran", "ir", "98" ], [ "Iraq", "iq", "964" ], [ "Ireland", "ie", "353" ], [ "Isle of Man", "im", "44", 2, [ "1624", "74576", "7524", "7924", "7624" ] ], [ "Israel", "il", "972" ], [ "Italy", "it", "39", 0 ], [ "Jamaica", "jm", "1", 4, [ "876", "658" ] ], [ "Japan", "jp", "81" ], [ "Jersey", "je", "44", 3, [ "1534", "7509", "7700", "7797", "7829", "7937" ] ], [ "Jordan", "jo", "962" ], [ "Kazakhstan", "kz", "7", 1, [ "33", "7" ] ], [ "Kenya", "ke", "254" ], [ "Kiribati", "ki", "686" ], [ "Kosovo", "xk", "383" ], [ "Kuwait", "kw", "965" ], [ "Kyrgyzstan", "kg", "996" ], [ "Laos", "la", "856" ], [ "Latvia", "lv", "371" ], [ "Lebanon", "lb", "961" ], [ "Lesotho", "ls", "266" ], [ "Liberia", "lr", "231" ], [ "Libya", "ly", "218" ], [ "Liechtenstein", "li", "423" ], [ "Lithuania", "lt", "370" ], [ "Luxembourg", "lu", "352" ], [ "Macau", "mo", "853" ], [ "Madagascar", "mg", "261" ], [ "Malawi", "mw", "265" ], [ "Malaysia", "my", "60" ], [ "Maldives", "mv", "960" ], [ "Mali", "ml", "223" ], [ "Malta", "mt", "356" ], [ "Marshall Islands", "mh", "692" ], [ "Martinique", "mq", "596" ], [ "Mauritania", "mr", "222" ], [ "Mauritius", "mu", "230" ], [ "Mayotte", "yt", "262", 1, [ "269", "639" ] ], [ "Mexico", "mx", "52" ], [ "Micronesia", "fm", "691" ], [ "Moldova", "md", "373" ], [ "Monaco", "mc", "377" ], [ "Mongolia", "mn", "976" ], [ "Montenegro", "me", "382" ], [ "Montserrat", "ms", "1", 16, [ "664" ] ], [ "Morocco", "ma", "212", 0 ], [ "Mozambique", "mz", "258" ], [ "Myanmar (Burma)", "mm", "95" ], [ "Namibia", "na", "264" ], [ "Nauru", "nr", "674" ], [ "Nepal", "np", "977" ], [ "Netherlands", "nl", "31" ], [ "New Caledonia", "nc", "687" ], [ "New Zealand", "nz", "64" ], [ "Nicaragua", "ni", "505" ], [ "Niger", "ne", "227" ], [ "Nigeria", "ng", "234" ], [ "Niue", "nu", "683" ], [ "Norfolk Island", "nf", "672" ], [ "North Korea", "kp", "850" ], [ "North Macedonia", "mk", "389" ], [ "Northern Mariana Islands", "mp", "1", 17, [ "670" ] ], [ "Norway", "no", "47", 0 ], [ "Oman", "om", "968" ], [ "Pakistan", "pk", "92" ], [ "Palau", "pw", "680" ], [ "Palestine", "ps", "970" ], [ "Panama", "pa", "507" ], [ "Papua New Guinea", "pg", "675" ], [ "Paraguay", "py", "595" ], [ "Peru", "pe", "51" ], [ "Philippines", "ph", "63" ], [ "Poland", "pl", "48" ], [ "Portugal", "pt", "351" ], [ "Puerto Rico", "pr", "1", 3, [ "787", "939" ] ], [ "Qatar", "qa", "974" ], [ "Réunion", "re", "262", 0 ], [ "Romania", "ro", "40" ], [ "Russia", "ru", "7", 0 ], [ "Rwanda", "rw", "250" ], [ "Samoa", "ws", "685" ], [ "San Marino", "sm", "378" ], [ "São Tomé & Príncipe", "st", "239" ], [ "Saudi Arabia", "sa", "966" ], [ "Senegal", "sn", "221" ], [ "Serbia", "rs", "381" ], [ "Seychelles", "sc", "248" ], [ "Sierra Leone", "sl", "232" ], [ "Singapore", "sg", "65" ], [ "Sint Maarten", "sx", "1", 21, [ "721" ] ], [ "Slovakia", "sk", "421" ], [ "Slovenia", "si", "386" ], [ "Solomon Islands", "sb", "677" ], [ "Somalia", "so", "252" ], [ "South Africa", "za", "27" ], [ "South Korea", "kr", "82" ], [ "South Sudan", "ss", "211" ], [ "Spain", "es", "34" ], [ "Sri Lanka", "lk", "94" ], [ "St Barthélemy", "bl", "590", 1 ], [ "St Helena", "sh", "290" ], [ "St Kitts & Nevis", "kn", "1", 18, [ "869" ] ], [ "St Lucia", "lc", "1", 19, [ "758" ] ], [ "St Martin", "mf", "590", 2 ], [ "St Pierre & Miquelon", "pm", "508" ], [ "St Vincent & Grenadines", "vc", "1", 20, [ "784" ] ], [ "Sudan", "sd", "249" ], [ "Suriname", "sr", "597" ], [ "Svalbard & Jan Mayen", "sj", "47", 1, [ "79" ] ], [ "Sweden", "se", "46" ], [ "Switzerland", "ch", "41" ], [ "Syria", "sy", "963" ], [ "Taiwan", "tw", "886" ], [ "Tajikistan", "tj", "992" ], [ "Tanzania", "tz", "255" ], [ "Thailand", "th", "66" ], [ "Timor-Leste", "tl", "670" ], [ "Togo", "tg", "228" ], [ "Tokelau", "tk", "690" ], [ "Tonga", "to", "676" ], [ "Trinidad & Tobago", "tt", "1", 22, [ "868" ] ], [ "Tunisia", "tn", "216" ], [ "Turkey", "tr", "90" ], [ "Turkmenistan", "tm", "993" ], [ "Turks & Caicos Islands", "tc", "1", 23, [ "649" ] ], [ "Tuvalu", "tv", "688" ], [ "Uganda", "ug", "256" ], [ "Ukraine", "ua", "380" ], [ "United Arab Emirates", "ae", "971" ], [ "United Kingdom", "gb", "44", 0 ], [ "United States", "us", "1", 0 ], [ "Uruguay", "uy", "598" ], [ "US Virgin Islands", "vi", "1", 24, [ "340" ] ], [ "Uzbekistan", "uz", "998" ], [ "Vanuatu", "vu", "678" ], [ "Vatican City", "va", "39", 1, [ "06698" ] ], [ "Venezuela", "ve", "58" ], [ "Vietnam", "vn", "84" ], [ "Wallis & Futuna", "wf", "681" ], [ "Western Sahara", "eh", "212", 1, [ "5288", "5289" ] ], [ "Yemen", "ye", "967" ], [ "Zambia", "zm", "260" ], [ "Zimbabwe", "zw", "263" ], [ "Åland Islands", "ax", "358", 1, [ "18" ] ] ]; - // loop over all of the countries above, restructuring the data to be objects with named keys - for (var i = 0; i < allCountries.length; i++) { - var c = allCountries[i]; - allCountries[i] = { - name: c[0], - iso2: c[1], - dialCode: c[2], - priority: c[3] || 0, - areaCodes: c[4] || null, - nodeById: {} - }; +// UMD +(function(factory) { + if (typeof module === 'object' && module.exports) { + module.exports = factory(); + } else { + window.allCountries = factory(); + } +}(() => { + +var factoryOutput = (() => { + var __defProp = Object.defineProperty; + var __getOwnPropDesc = Object.getOwnPropertyDescriptor; + var __getOwnPropNames = Object.getOwnPropertyNames; + var __hasOwnProp = Object.prototype.hasOwnProperty; + var __export = (target, all) => { + for (var name in all) + __defProp(target, name, { get: all[name], enumerable: true }); + }; + var __copyProps = (to, from, except, desc) => { + if (from && typeof from === "object" || typeof from === "function") { + for (let key of __getOwnPropNames(from)) + if (!__hasOwnProp.call(to, key) && key !== except) + __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); } - if (typeof module === "object" && module.exports) module.exports = allCountries; else window.allCountries = allCountries; -})(); \ No newline at end of file + return to; + }; + var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); + + // src/js/intl-tel-input/data.ts + var data_exports = {}; + __export(data_exports, { + default: () => data_default, + rawCountryData: () => rawCountryData + }); + var rawCountryData = [ + [ + "af", + // Afghanistan + "93", + 0, + null, + "0" + ], + [ + "ax", + // Åland Islands + "358", + 1, + ["18", "4"], + // (4 is a mobile range shared with FI) + "0" + ], + [ + "al", + // Albania + "355", + 0, + null, + "0" + ], + [ + "dz", + // Algeria + "213", + 0, + null, + "0" + ], + [ + "as", + // American Samoa + "1", + 5, + ["684"], + "1" + ], + [ + "ad", + // Andorra + "376" + ], + [ + "ao", + // Angola + "244" + ], + [ + "ai", + // Anguilla + "1", + 6, + ["264"], + "1" + ], + [ + "ag", + // Antigua and Barbuda + "1", + 7, + ["268"], + "1" + ], + [ + "ar", + // Argentina + "54", + 0, + null, + "0" + ], + [ + "am", + // Armenia + "374", + 0, + null, + "0" + ], + [ + "aw", + // Aruba + "297" + ], + [ + "ac", + // Ascension Island + "247" + ], + [ + "au", + // Australia + "61", + 0, + ["4"], + // (mobile range shared with CX and CC) + "0" + ], + [ + "at", + // Austria + "43", + 0, + null, + "0" + ], + [ + "az", + // Azerbaijan + "994", + 0, + null, + "0" + ], + [ + "bs", + // Bahamas + "1", + 8, + ["242"], + "1" + ], + [ + "bh", + // Bahrain + "973" + ], + [ + "bd", + // Bangladesh + "880", + 0, + null, + "0" + ], + [ + "bb", + // Barbados + "1", + 9, + ["246"], + "1" + ], + [ + "by", + // Belarus + "375", + 0, + null, + "8" + ], + [ + "be", + // Belgium + "32", + 0, + null, + "0" + ], + [ + "bz", + // Belize + "501" + ], + [ + "bj", + // Benin + "229" + ], + [ + "bm", + // Bermuda + "1", + 10, + ["441"], + "1" + ], + [ + "bt", + // Bhutan + "975" + ], + [ + "bo", + // Bolivia + "591", + 0, + null, + "0" + ], + [ + "ba", + // Bosnia and Herzegovina + "387", + 0, + null, + "0" + ], + [ + "bw", + // Botswana + "267" + ], + [ + "br", + // Brazil + "55", + 0, + null, + "0" + ], + [ + "io", + // British Indian Ocean Territory + "246" + ], + [ + "vg", + // British Virgin Islands + "1", + 11, + ["284"], + "1" + ], + [ + "bn", + // Brunei + "673" + ], + [ + "bg", + // Bulgaria + "359", + 0, + null, + "0" + ], + [ + "bf", + // Burkina Faso + "226" + ], + [ + "bi", + // Burundi + "257" + ], + [ + "kh", + // Cambodia + "855", + 0, + null, + "0" + ], + [ + "cm", + // Cameroon + "237" + ], + [ + "ca", + // Canada + "1", + 1, + ["204", "226", "236", "249", "250", "257", "263", "289", "306", "343", "354", "365", "367", "368", "382", "403", "416", "418", "428", "431", "437", "438", "450", "468", "474", "506", "514", "519", "548", "579", "581", "584", "587", "604", "613", "639", "647", "672", "683", "705", "709", "742", "753", "778", "780", "782", "807", "819", "825", "867", "873", "879", "902", "905", "942"], + "1" + ], + [ + "cv", + // Cape Verde + "238" + ], + [ + "bq", + // Caribbean Netherlands + "599", + 1, + ["3", "4", "7"] + ], + [ + "ky", + // Cayman Islands + "1", + 12, + ["345"], + "1" + ], + [ + "cf", + // Central African Republic + "236" + ], + [ + "td", + // Chad + "235" + ], + [ + "cl", + // Chile + "56" + ], + [ + "cn", + // China + "86", + 0, + null, + "0" + ], + [ + "cx", + // Christmas Island + "61", + 2, + ["4", "89164"], + // (4 is a mobile range shared with AU and CC) + "0" + ], + [ + "cc", + // Cocos (Keeling) Islands + "61", + 1, + ["4", "89162"], + // (4 is a mobile range shared with AU and CX) + "0" + ], + [ + "co", + // Colombia + "57", + 0, + null, + "0" + ], + [ + "km", + // Comoros + "269" + ], + [ + "cg", + // Congo (Brazzaville) + "242" + ], + [ + "cd", + // Congo (Kinshasa) + "243", + 0, + null, + "0" + ], + [ + "ck", + // Cook Islands + "682" + ], + [ + "cr", + // Costa Rica + "506" + ], + [ + "ci", + // Côte d'Ivoire + "225" + ], + [ + "hr", + // Croatia + "385", + 0, + null, + "0" + ], + [ + "cu", + // Cuba + "53", + 0, + null, + "0" + ], + [ + "cw", + // Curaçao + "599", + 0 + ], + [ + "cy", + // Cyprus + "357" + ], + [ + "cz", + // Czech Republic + "420" + ], + [ + "dk", + // Denmark + "45" + ], + [ + "dj", + // Djibouti + "253" + ], + [ + "dm", + // Dominica + "1", + 13, + ["767"], + "1" + ], + [ + "do", + // Dominican Republic + "1", + 2, + ["809", "829", "849"], + "1" + ], + [ + "ec", + // Ecuador + "593", + 0, + null, + "0" + ], + [ + "eg", + // Egypt + "20", + 0, + null, + "0" + ], + [ + "sv", + // El Salvador + "503" + ], + [ + "gq", + // Equatorial Guinea + "240" + ], + [ + "er", + // Eritrea + "291", + 0, + null, + "0" + ], + [ + "ee", + // Estonia + "372" + ], + [ + "sz", + // Eswatini + "268" + ], + [ + "et", + // Ethiopia + "251", + 0, + null, + "0" + ], + [ + "fk", + // Falkland Islands (Malvinas) + "500" + ], + [ + "fo", + // Faroe Islands + "298" + ], + [ + "fj", + // Fiji + "679" + ], + [ + "fi", + // Finland + "358", + 0, + ["4"], + // (mobile range shared with AX) + "0" + ], + [ + "fr", + // France + "33", + 0, + null, + "0" + ], + [ + "gf", + // French Guiana + "594", + 0, + null, + "0" + ], + [ + "pf", + // French Polynesia + "689" + ], + [ + "ga", + // Gabon + "241" + ], + [ + "gm", + // Gambia + "220" + ], + [ + "ge", + // Georgia + "995", + 0, + null, + "0" + ], + [ + "de", + // Germany + "49", + 0, + null, + "0" + ], + [ + "gh", + // Ghana + "233", + 0, + null, + "0" + ], + [ + "gi", + // Gibraltar + "350" + ], + [ + "gr", + // Greece + "30" + ], + [ + "gl", + // Greenland + "299" + ], + [ + "gd", + // Grenada + "1", + 14, + ["473"], + "1" + ], + [ + "gp", + // Guadeloupe + "590", + 0, + null, + "0" + ], + [ + "gu", + // Guam + "1", + 15, + ["671"], + "1" + ], + [ + "gt", + // Guatemala + "502" + ], + [ + "gg", + // Guernsey + "44", + 1, + ["1481", "7781", "7839", "7911"], + "0" + ], + [ + "gn", + // Guinea + "224" + ], + [ + "gw", + // Guinea-Bissau + "245" + ], + [ + "gy", + // Guyana + "592" + ], + [ + "ht", + // Haiti + "509" + ], + [ + "hn", + // Honduras + "504" + ], + [ + "hk", + // Hong Kong SAR China + "852" + ], + [ + "hu", + // Hungary + "36", + 0, + null, + "06" + ], + [ + "is", + // Iceland + "354" + ], + [ + "in", + // India + "91", + 0, + null, + "0" + ], + [ + "id", + // Indonesia + "62", + 0, + null, + "0" + ], + [ + "ir", + // Iran + "98", + 0, + null, + "0" + ], + [ + "iq", + // Iraq + "964", + 0, + null, + "0" + ], + [ + "ie", + // Ireland + "353", + 0, + null, + "0" + ], + [ + "im", + // Isle of Man + "44", + 2, + ["1624", "74576", "7524", "7624", "7924"], + "0" + ], + [ + "il", + // Israel + "972", + 0, + null, + "0" + ], + [ + "it", + // Italy + "39", + 0, + ["3"] + // (mobile range shared with VA) + ], + [ + "jm", + // Jamaica + "1", + 4, + ["658", "876"], + "1" + ], + [ + "jp", + // Japan + "81", + 0, + null, + "0" + ], + [ + "je", + // Jersey + "44", + 3, + ["1534", "7509", "7700", "7797", "7829", "7937"], + "0" + ], + [ + "jo", + // Jordan + "962", + 0, + null, + "0" + ], + [ + "kz", + // Kazakhstan + "7", + 1, + ["33", "7"], + // (33 is shared with RU) + "8" + ], + [ + "ke", + // Kenya + "254", + 0, + null, + "0" + ], + [ + "ki", + // Kiribati + "686", + 0, + null, + "0" + ], + [ + "xk", + // Kosovo + "383", + 0, + null, + "0" + ], + [ + "kw", + // Kuwait + "965" + ], + [ + "kg", + // Kyrgyzstan + "996", + 0, + null, + "0" + ], + [ + "la", + // Laos + "856", + 0, + null, + "0" + ], + [ + "lv", + // Latvia + "371" + ], + [ + "lb", + // Lebanon + "961", + 0, + null, + "0" + ], + [ + "ls", + // Lesotho + "266" + ], + [ + "lr", + // Liberia + "231", + 0, + null, + "0" + ], + [ + "ly", + // Libya + "218", + 0, + null, + "0" + ], + [ + "li", + // Liechtenstein + "423", + 0, + null, + "0" + ], + [ + "lt", + // Lithuania + "370", + 0, + null, + "0" + ], + [ + "lu", + // Luxembourg + "352" + ], + [ + "mo", + // Macao SAR China + "853" + ], + [ + "mg", + // Madagascar + "261", + 0, + null, + "0" + ], + [ + "mw", + // Malawi + "265", + 0, + null, + "0" + ], + [ + "my", + // Malaysia + "60", + 0, + null, + "0" + ], + [ + "mv", + // Maldives + "960" + ], + [ + "ml", + // Mali + "223" + ], + [ + "mt", + // Malta + "356" + ], + [ + "mh", + // Marshall Islands + "692", + 0, + null, + "1" + ], + [ + "mq", + // Martinique + "596", + 0, + null, + "0" + ], + [ + "mr", + // Mauritania + "222" + ], + [ + "mu", + // Mauritius + "230" + ], + [ + "yt", + // Mayotte + "262", + 1, + ["269", "639"], + "0" + ], + [ + "mx", + // Mexico + "52" + ], + [ + "fm", + // Micronesia + "691" + ], + [ + "md", + // Moldova + "373", + 0, + null, + "0" + ], + [ + "mc", + // Monaco + "377", + 0, + null, + "0" + ], + [ + "mn", + // Mongolia + "976", + 0, + null, + "0" + ], + [ + "me", + // Montenegro + "382", + 0, + null, + "0" + ], + [ + "ms", + // Montserrat + "1", + 16, + ["664"], + "1" + ], + [ + "ma", + // Morocco + "212", + 0, + ["6", "7"], + // (mobile ranges shared with EH) + "0" + ], + [ + "mz", + // Mozambique + "258" + ], + [ + "mm", + // Myanmar (Burma) + "95", + 0, + null, + "0" + ], + [ + "na", + // Namibia + "264", + 0, + null, + "0" + ], + [ + "nr", + // Nauru + "674" + ], + [ + "np", + // Nepal + "977", + 0, + null, + "0" + ], + [ + "nl", + // Netherlands + "31", + 0, + null, + "0" + ], + [ + "nc", + // New Caledonia + "687" + ], + [ + "nz", + // New Zealand + "64", + 0, + null, + "0" + ], + [ + "ni", + // Nicaragua + "505" + ], + [ + "ne", + // Niger + "227" + ], + [ + "ng", + // Nigeria + "234", + 0, + null, + "0" + ], + [ + "nu", + // Niue + "683" + ], + [ + "nf", + // Norfolk Island + "672" + ], + [ + "kp", + // North Korea + "850", + 0, + null, + "0" + ], + [ + "mk", + // North Macedonia + "389", + 0, + null, + "0" + ], + [ + "mp", + // Northern Mariana Islands + "1", + 17, + ["670"], + "1" + ], + [ + "no", + // Norway + "47", + 0, + ["4", "9"] + // (mobile ranges shared with SJ) + ], + [ + "om", + // Oman + "968" + ], + [ + "pk", + // Pakistan + "92", + 0, + null, + "0" + ], + [ + "pw", + // Palau + "680" + ], + [ + "ps", + // Palestinian Territories + "970", + 0, + null, + "0" + ], + [ + "pa", + // Panama + "507" + ], + [ + "pg", + // Papua New Guinea + "675" + ], + [ + "py", + // Paraguay + "595", + 0, + null, + "0" + ], + [ + "pe", + // Peru + "51", + 0, + null, + "0" + ], + [ + "ph", + // Philippines + "63", + 0, + null, + "0" + ], + [ + "pl", + // Poland + "48" + ], + [ + "pt", + // Portugal + "351" + ], + [ + "pr", + // Puerto Rico + "1", + 3, + ["787", "939"], + "1" + ], + [ + "qa", + // Qatar + "974" + ], + [ + "re", + // Réunion + "262", + 0, + null, + "0" + ], + [ + "ro", + // Romania + "40", + 0, + null, + "0" + ], + [ + "ru", + // Russia + "7", + 0, + ["33"], + // (shared with KZ) + "8" + ], + [ + "rw", + // Rwanda + "250", + 0, + null, + "0" + ], + [ + "ws", + // Samoa + "685" + ], + [ + "sm", + // San Marino + "378" + ], + [ + "st", + // São Tomé & Príncipe + "239" + ], + [ + "sa", + // Saudi Arabia + "966", + 0, + null, + "0" + ], + [ + "sn", + // Senegal + "221" + ], + [ + "rs", + // Serbia + "381", + 0, + null, + "0" + ], + [ + "sc", + // Seychelles + "248" + ], + [ + "sl", + // Sierra Leone + "232", + 0, + null, + "0" + ], + [ + "sg", + // Singapore + "65" + ], + [ + "sx", + // Sint Maarten + "1", + 21, + ["721"], + "1" + ], + [ + "sk", + // Slovakia + "421", + 0, + null, + "0" + ], + [ + "si", + // Slovenia + "386", + 0, + null, + "0" + ], + [ + "sb", + // Solomon Islands + "677" + ], + [ + "so", + // Somalia + "252", + 0, + null, + "0" + ], + [ + "za", + // South Africa + "27", + 0, + null, + "0" + ], + [ + "kr", + // South Korea + "82", + 0, + null, + "0" + ], + [ + "ss", + // South Sudan + "211", + 0, + null, + "0" + ], + [ + "es", + // Spain + "34" + ], + [ + "lk", + // Sri Lanka + "94", + 0, + null, + "0" + ], + [ + "bl", + // St. Barthélemy + "590", + 1, + null, + "0" + ], + [ + "sh", + // St. Helena + "290" + ], + [ + "kn", + // St. Kitts & Nevis + "1", + 18, + ["869"], + "1" + ], + [ + "lc", + // St. Lucia + "1", + 19, + ["758"], + "1" + ], + [ + "mf", + // St. Martin + "590", + 2, + null, + "0" + ], + [ + "pm", + // St. Pierre & Miquelon + "508", + 0, + null, + "0" + ], + [ + "vc", + // St. Vincent & Grenadines + "1", + 20, + ["784"], + "1" + ], + [ + "sd", + // Sudan + "249", + 0, + null, + "0" + ], + [ + "sr", + // Suriname + "597" + ], + [ + "sj", + // Svalbard & Jan Mayen + "47", + 1, + ["4", "79", "9"] + // (4 and 9 are mobile ranges shared with NO) + ], + [ + "se", + // Sweden + "46", + 0, + null, + "0" + ], + [ + "ch", + // Switzerland + "41", + 0, + null, + "0" + ], + [ + "sy", + // Syria + "963", + 0, + null, + "0" + ], + [ + "tw", + // Taiwan + "886", + 0, + null, + "0" + ], + [ + "tj", + // Tajikistan + "992" + ], + [ + "tz", + // Tanzania + "255", + 0, + null, + "0" + ], + [ + "th", + // Thailand + "66", + 0, + null, + "0" + ], + [ + "tl", + // Timor-Leste + "670" + ], + [ + "tg", + // Togo + "228" + ], + [ + "tk", + // Tokelau + "690" + ], + [ + "to", + // Tonga + "676" + ], + [ + "tt", + // Trinidad & Tobago + "1", + 22, + ["868"], + "1" + ], + [ + "tn", + // Tunisia + "216" + ], + [ + "tr", + // Turkey + "90", + 0, + null, + "0" + ], + [ + "tm", + // Turkmenistan + "993", + 0, + null, + "8" + ], + [ + "tc", + // Turks & Caicos Islands + "1", + 23, + ["649"], + "1" + ], + [ + "tv", + // Tuvalu + "688" + ], + [ + "vi", + // U.S. Virgin Islands + "1", + 24, + ["340"], + "1" + ], + [ + "ug", + // Uganda + "256", + 0, + null, + "0" + ], + [ + "ua", + // Ukraine + "380", + 0, + null, + "0" + ], + [ + "ae", + // United Arab Emirates + "971", + 0, + null, + "0" + ], + [ + "gb", + // United Kingdom + "44", + 0, + null, + "0" + ], + [ + "us", + // United States + "1", + 0, + null, + "1" + ], + [ + "uy", + // Uruguay + "598", + 0, + null, + "0" + ], + [ + "uz", + // Uzbekistan + "998" + ], + [ + "vu", + // Vanuatu + "678" + ], + [ + "va", + // Vatican City + "39", + 1, + ["06698", "3"] + // (3 is a mobile range shared with IT) + ], + [ + "ve", + // Venezuela + "58", + 0, + null, + "0" + ], + [ + "vn", + // Vietnam + "84", + 0, + null, + "0" + ], + [ + "wf", + // Wallis & Futuna + "681" + ], + [ + "eh", + // Western Sahara + "212", + 1, + ["5288", "5289", "6", "7"], + // (6 and 7 are mobile ranges shared with MA) + "0" + ], + [ + "ye", + // Yemen + "967", + 0, + null, + "0" + ], + [ + "zm", + // Zambia + "260", + 0, + null, + "0" + ], + [ + "zw", + // Zimbabwe + "263", + 0, + null, + "0" + ] + ]; + var allCountries = []; + for (const c of rawCountryData) { + allCountries.push({ + name: "", + // populated in the plugin + iso2: c[0], + dialCode: c[1], + priority: c[2] || 0, + areaCodes: c[3] || null, + nodeById: {}, + // populated by the plugin + nationalPrefix: c[4] || null, + normalisedName: "", + // populated in the plugin + initials: "", + // populated in the plugin + dialCodePlus: "" + // populated in the plugin + }); + } + var data_default = allCountries; + return __toCommonJS(data_exports); +})(); + +// UMD + return factoryOutput.default; +})); diff --git a/assets/intl-tel-input/js/data.min.js b/assets/intl-tel-input/js/data.min.js index 6aa72a3..e3d0f79 100644 --- a/assets/intl-tel-input/js/data.min.js +++ b/assets/intl-tel-input/js/data.min.js @@ -1,7 +1,20 @@ /* - * International Telephone Input v19.5.7 + * International Telephone Input v25.13.2 * https://github.com/jackocnr/intl-tel-input.git * Licensed under the MIT license */ -!function(){for(var a=[["Afghanistan","af","93"],["Albania","al","355"],["Algeria","dz","213"],["American Samoa","as","1",5,["684"]],["Andorra","ad","376"],["Angola","ao","244"],["Anguilla","ai","1",6,["264"]],["Antigua & Barbuda","ag","1",7,["268"]],["Argentina","ar","54"],["Armenia","am","374"],["Aruba","aw","297"],["Ascension Island","ac","247"],["Australia","au","61",0],["Austria","at","43"],["Azerbaijan","az","994"],["Bahamas","bs","1",8,["242"]],["Bahrain","bh","973"],["Bangladesh","bd","880"],["Barbados","bb","1",9,["246"]],["Belarus","by","375"],["Belgium","be","32"],["Belize","bz","501"],["Benin","bj","229"],["Bermuda","bm","1",10,["441"]],["Bhutan","bt","975"],["Bolivia","bo","591"],["Bosnia & Herzegovina","ba","387"],["Botswana","bw","267"],["Brazil","br","55"],["British Indian Ocean Territory","io","246"],["British Virgin Islands","vg","1",11,["284"]],["Brunei","bn","673"],["Bulgaria","bg","359"],["Burkina Faso","bf","226"],["Burundi","bi","257"],["Cambodia","kh","855"],["Cameroon","cm","237"],["Canada","ca","1",1,["204","226","236","249","250","263","289","306","343","354","365","367","368","382","387","403","416","418","428","431","437","438","450","584","468","474","506","514","519","548","579","581","584","587","604","613","639","647","672","683","705","709","742","753","778","780","782","807","819","825","867","873","902","905"]],["Cape Verde","cv","238"],["Caribbean Netherlands","bq","599",1,["3","4","7"]],["Cayman Islands","ky","1",12,["345"]],["Central African Republic","cf","236"],["Chad","td","235"],["Chile","cl","56"],["China","cn","86"],["Christmas Island","cx","61",2,["89164"]],["Cocos (Keeling) Islands","cc","61",1,["89162"]],["Colombia","co","57"],["Comoros","km","269"],["Congo - Brazzaville","cg","242"],["Congo - Kinshasa","cd","243"],["Cook Islands","ck","682"],["Costa Rica","cr","506"],["Côte d’Ivoire","ci","225"],["Croatia","hr","385"],["Cuba","cu","53"],["Curaçao","cw","599",0],["Cyprus","cy","357"],["Czech Republic","cz","420"],["Denmark","dk","45"],["Djibouti","dj","253"],["Dominica","dm","1",13,["767"]],["Dominican Republic","do","1",2,["809","829","849"]],["Ecuador","ec","593"],["Egypt","eg","20"],["El Salvador","sv","503"],["Equatorial Guinea","gq","240"],["Eritrea","er","291"],["Estonia","ee","372"],["Eswatini","sz","268"],["Ethiopia","et","251"],["Falkland Islands","fk","500"],["Faroe Islands","fo","298"],["Fiji","fj","679"],["Finland","fi","358",0],["France","fr","33"],["French Guiana","gf","594"],["French Polynesia","pf","689"],["Gabon","ga","241"],["Gambia","gm","220"],["Georgia","ge","995"],["Germany","de","49"],["Ghana","gh","233"],["Gibraltar","gi","350"],["Greece","gr","30"],["Greenland","gl","299"],["Grenada","gd","1",14,["473"]],["Guadeloupe","gp","590",0],["Guam","gu","1",15,["671"]],["Guatemala","gt","502"],["Guernsey","gg","44",1,["1481","7781","7839","7911"]],["Guinea","gn","224"],["Guinea-Bissau","gw","245"],["Guyana","gy","592"],["Haiti","ht","509"],["Honduras","hn","504"],["Hong Kong","hk","852"],["Hungary","hu","36"],["Iceland","is","354"],["India","in","91"],["Indonesia","id","62"],["Iran","ir","98"],["Iraq","iq","964"],["Ireland","ie","353"],["Isle of Man","im","44",2,["1624","74576","7524","7924","7624"]],["Israel","il","972"],["Italy","it","39",0],["Jamaica","jm","1",4,["876","658"]],["Japan","jp","81"],["Jersey","je","44",3,["1534","7509","7700","7797","7829","7937"]],["Jordan","jo","962"],["Kazakhstan","kz","7",1,["33","7"]],["Kenya","ke","254"],["Kiribati","ki","686"],["Kosovo","xk","383"],["Kuwait","kw","965"],["Kyrgyzstan","kg","996"],["Laos","la","856"],["Latvia","lv","371"],["Lebanon","lb","961"],["Lesotho","ls","266"],["Liberia","lr","231"],["Libya","ly","218"],["Liechtenstein","li","423"],["Lithuania","lt","370"],["Luxembourg","lu","352"],["Macau","mo","853"],["Madagascar","mg","261"],["Malawi","mw","265"],["Malaysia","my","60"],["Maldives","mv","960"],["Mali","ml","223"],["Malta","mt","356"],["Marshall Islands","mh","692"],["Martinique","mq","596"],["Mauritania","mr","222"],["Mauritius","mu","230"],["Mayotte","yt","262",1,["269","639"]],["Mexico","mx","52"],["Micronesia","fm","691"],["Moldova","md","373"],["Monaco","mc","377"],["Mongolia","mn","976"],["Montenegro","me","382"],["Montserrat","ms","1",16,["664"]],["Morocco","ma","212",0],["Mozambique","mz","258"],["Myanmar (Burma)","mm","95"],["Namibia","na","264"],["Nauru","nr","674"],["Nepal","np","977"],["Netherlands","nl","31"],["New Caledonia","nc","687"],["New Zealand","nz","64"],["Nicaragua","ni","505"],["Niger","ne","227"],["Nigeria","ng","234"],["Niue","nu","683"],["Norfolk Island","nf","672"],["North Korea","kp","850"],["North Macedonia","mk","389"],["Northern Mariana Islands","mp","1",17,["670"]],["Norway","no","47",0],["Oman","om","968"],["Pakistan","pk","92"],["Palau","pw","680"],["Palestine","ps","970"],["Panama","pa","507"],["Papua New Guinea","pg","675"],["Paraguay","py","595"],["Peru","pe","51"],["Philippines","ph","63"],["Poland","pl","48"],["Portugal","pt","351"],["Puerto Rico","pr","1",3,["787","939"]],["Qatar","qa","974"],["Réunion","re","262",0],["Romania","ro","40"],["Russia","ru","7",0],["Rwanda","rw","250"],["Samoa","ws","685"],["San Marino","sm","378"],["São Tomé & Príncipe","st","239"],["Saudi Arabia","sa","966"],["Senegal","sn","221"],["Serbia","rs","381"],["Seychelles","sc","248"],["Sierra Leone","sl","232"],["Singapore","sg","65"],["Sint Maarten","sx","1",21,["721"]],["Slovakia","sk","421"],["Slovenia","si","386"],["Solomon Islands","sb","677"],["Somalia","so","252"],["South Africa","za","27"],["South Korea","kr","82"],["South Sudan","ss","211"],["Spain","es","34"],["Sri Lanka","lk","94"],["St Barthélemy","bl","590",1],["St Helena","sh","290"],["St Kitts & Nevis","kn","1",18,["869"]],["St Lucia","lc","1",19,["758"]],["St Martin","mf","590",2],["St Pierre & Miquelon","pm","508"],["St Vincent & Grenadines","vc","1",20,["784"]],["Sudan","sd","249"],["Suriname","sr","597"],["Svalbard & Jan Mayen","sj","47",1,["79"]],["Sweden","se","46"],["Switzerland","ch","41"],["Syria","sy","963"],["Taiwan","tw","886"],["Tajikistan","tj","992"],["Tanzania","tz","255"],["Thailand","th","66"],["Timor-Leste","tl","670"],["Togo","tg","228"],["Tokelau","tk","690"],["Tonga","to","676"],["Trinidad & Tobago","tt","1",22,["868"]],["Tunisia","tn","216"],["Turkey","tr","90"],["Turkmenistan","tm","993"],["Turks & Caicos Islands","tc","1",23,["649"]],["Tuvalu","tv","688"],["Uganda","ug","256"],["Ukraine","ua","380"],["United Arab Emirates","ae","971"],["United Kingdom","gb","44",0],["United States","us","1",0],["Uruguay","uy","598"],["US Virgin Islands","vi","1",24,["340"]],["Uzbekistan","uz","998"],["Vanuatu","vu","678"],["Vatican City","va","39",1,["06698"]],["Venezuela","ve","58"],["Vietnam","vn","84"],["Wallis & Futuna","wf","681"],["Western Sahara","eh","212",1,["5288","5289"]],["Yemen","ye","967"],["Zambia","zm","260"],["Zimbabwe","zw","263"],["Åland Islands","ax","358",1,["18"]]],b=0;b { + +var factoryOutput=(()=>{var s=Object.defineProperty;var i=Object.getOwnPropertyDescriptor;var m=Object.getOwnPropertyNames;var o=Object.prototype.hasOwnProperty;var g=(l,n)=>{for(var t in n)s(l,t,{get:n[t],enumerable:!0})},c=(l,n,t,a)=>{if(n&&typeof n=="object"||typeof n=="function")for(let u of m(n))!o.call(l,u)&&u!==t&&s(l,u,{get:()=>n[u],enumerable:!(a=i(n,u))||a.enumerable});return l};var d=l=>c(s({},"__esModule",{value:!0}),l);var b={};g(b,{default:()=>p,rawCountryData:()=>e});var e=[["af","93",0,null,"0"],["ax","358",1,["18","4"],"0"],["al","355",0,null,"0"],["dz","213",0,null,"0"],["as","1",5,["684"],"1"],["ad","376"],["ao","244"],["ai","1",6,["264"],"1"],["ag","1",7,["268"],"1"],["ar","54",0,null,"0"],["am","374",0,null,"0"],["aw","297"],["ac","247"],["au","61",0,["4"],"0"],["at","43",0,null,"0"],["az","994",0,null,"0"],["bs","1",8,["242"],"1"],["bh","973"],["bd","880",0,null,"0"],["bb","1",9,["246"],"1"],["by","375",0,null,"8"],["be","32",0,null,"0"],["bz","501"],["bj","229"],["bm","1",10,["441"],"1"],["bt","975"],["bo","591",0,null,"0"],["ba","387",0,null,"0"],["bw","267"],["br","55",0,null,"0"],["io","246"],["vg","1",11,["284"],"1"],["bn","673"],["bg","359",0,null,"0"],["bf","226"],["bi","257"],["kh","855",0,null,"0"],["cm","237"],["ca","1",1,["204","226","236","249","250","257","263","289","306","343","354","365","367","368","382","403","416","418","428","431","437","438","450","468","474","506","514","519","548","579","581","584","587","604","613","639","647","672","683","705","709","742","753","778","780","782","807","819","825","867","873","879","902","905","942"],"1"],["cv","238"],["bq","599",1,["3","4","7"]],["ky","1",12,["345"],"1"],["cf","236"],["td","235"],["cl","56"],["cn","86",0,null,"0"],["cx","61",2,["4","89164"],"0"],["cc","61",1,["4","89162"],"0"],["co","57",0,null,"0"],["km","269"],["cg","242"],["cd","243",0,null,"0"],["ck","682"],["cr","506"],["ci","225"],["hr","385",0,null,"0"],["cu","53",0,null,"0"],["cw","599",0],["cy","357"],["cz","420"],["dk","45"],["dj","253"],["dm","1",13,["767"],"1"],["do","1",2,["809","829","849"],"1"],["ec","593",0,null,"0"],["eg","20",0,null,"0"],["sv","503"],["gq","240"],["er","291",0,null,"0"],["ee","372"],["sz","268"],["et","251",0,null,"0"],["fk","500"],["fo","298"],["fj","679"],["fi","358",0,["4"],"0"],["fr","33",0,null,"0"],["gf","594",0,null,"0"],["pf","689"],["ga","241"],["gm","220"],["ge","995",0,null,"0"],["de","49",0,null,"0"],["gh","233",0,null,"0"],["gi","350"],["gr","30"],["gl","299"],["gd","1",14,["473"],"1"],["gp","590",0,null,"0"],["gu","1",15,["671"],"1"],["gt","502"],["gg","44",1,["1481","7781","7839","7911"],"0"],["gn","224"],["gw","245"],["gy","592"],["ht","509"],["hn","504"],["hk","852"],["hu","36",0,null,"06"],["is","354"],["in","91",0,null,"0"],["id","62",0,null,"0"],["ir","98",0,null,"0"],["iq","964",0,null,"0"],["ie","353",0,null,"0"],["im","44",2,["1624","74576","7524","7624","7924"],"0"],["il","972",0,null,"0"],["it","39",0,["3"]],["jm","1",4,["658","876"],"1"],["jp","81",0,null,"0"],["je","44",3,["1534","7509","7700","7797","7829","7937"],"0"],["jo","962",0,null,"0"],["kz","7",1,["33","7"],"8"],["ke","254",0,null,"0"],["ki","686",0,null,"0"],["xk","383",0,null,"0"],["kw","965"],["kg","996",0,null,"0"],["la","856",0,null,"0"],["lv","371"],["lb","961",0,null,"0"],["ls","266"],["lr","231",0,null,"0"],["ly","218",0,null,"0"],["li","423",0,null,"0"],["lt","370",0,null,"0"],["lu","352"],["mo","853"],["mg","261",0,null,"0"],["mw","265",0,null,"0"],["my","60",0,null,"0"],["mv","960"],["ml","223"],["mt","356"],["mh","692",0,null,"1"],["mq","596",0,null,"0"],["mr","222"],["mu","230"],["yt","262",1,["269","639"],"0"],["mx","52"],["fm","691"],["md","373",0,null,"0"],["mc","377",0,null,"0"],["mn","976",0,null,"0"],["me","382",0,null,"0"],["ms","1",16,["664"],"1"],["ma","212",0,["6","7"],"0"],["mz","258"],["mm","95",0,null,"0"],["na","264",0,null,"0"],["nr","674"],["np","977",0,null,"0"],["nl","31",0,null,"0"],["nc","687"],["nz","64",0,null,"0"],["ni","505"],["ne","227"],["ng","234",0,null,"0"],["nu","683"],["nf","672"],["kp","850",0,null,"0"],["mk","389",0,null,"0"],["mp","1",17,["670"],"1"],["no","47",0,["4","9"]],["om","968"],["pk","92",0,null,"0"],["pw","680"],["ps","970",0,null,"0"],["pa","507"],["pg","675"],["py","595",0,null,"0"],["pe","51",0,null,"0"],["ph","63",0,null,"0"],["pl","48"],["pt","351"],["pr","1",3,["787","939"],"1"],["qa","974"],["re","262",0,null,"0"],["ro","40",0,null,"0"],["ru","7",0,["33"],"8"],["rw","250",0,null,"0"],["ws","685"],["sm","378"],["st","239"],["sa","966",0,null,"0"],["sn","221"],["rs","381",0,null,"0"],["sc","248"],["sl","232",0,null,"0"],["sg","65"],["sx","1",21,["721"],"1"],["sk","421",0,null,"0"],["si","386",0,null,"0"],["sb","677"],["so","252",0,null,"0"],["za","27",0,null,"0"],["kr","82",0,null,"0"],["ss","211",0,null,"0"],["es","34"],["lk","94",0,null,"0"],["bl","590",1,null,"0"],["sh","290"],["kn","1",18,["869"],"1"],["lc","1",19,["758"],"1"],["mf","590",2,null,"0"],["pm","508",0,null,"0"],["vc","1",20,["784"],"1"],["sd","249",0,null,"0"],["sr","597"],["sj","47",1,["4","79","9"]],["se","46",0,null,"0"],["ch","41",0,null,"0"],["sy","963",0,null,"0"],["tw","886",0,null,"0"],["tj","992"],["tz","255",0,null,"0"],["th","66",0,null,"0"],["tl","670"],["tg","228"],["tk","690"],["to","676"],["tt","1",22,["868"],"1"],["tn","216"],["tr","90",0,null,"0"],["tm","993",0,null,"8"],["tc","1",23,["649"],"1"],["tv","688"],["vi","1",24,["340"],"1"],["ug","256",0,null,"0"],["ua","380",0,null,"0"],["ae","971",0,null,"0"],["gb","44",0,null,"0"],["us","1",0,null,"1"],["uy","598",0,null,"0"],["uz","998"],["vu","678"],["va","39",1,["06698","3"]],["ve","58",0,null,"0"],["vn","84",0,null,"0"],["wf","681"],["eh","212",1,["5288","5289","6","7"],"0"],["ye","967",0,null,"0"],["zm","260",0,null,"0"],["zw","263",0,null,"0"]],r=[];for(let l of e)r.push({name:"",iso2:l[0],dialCode:l[1],priority:l[2]||0,areaCodes:l[3]||null,nodeById:{},nationalPrefix:l[4]||null,normalisedName:"",initials:"",dialCodePlus:""});var p=r;return d(b);})(); + +// UMD + return factoryOutput.default; +})); diff --git a/assets/intl-tel-input/js/i18n/ar/countries.js b/assets/intl-tel-input/js/i18n/ar/countries.js new file mode 100644 index 0000000..9a86fb4 --- /dev/null +++ b/assets/intl-tel-input/js/i18n/ar/countries.js @@ -0,0 +1,245 @@ +const countryTranslations = { + ad: "أندورا", + ae: "الإمارات العربية المتحدة", + af: "أفغانستان", + ag: "أنتيغوا وبربودا", + ai: "أنغويلا", + al: "ألبانيا", + am: "أرمينيا", + ao: "أنغولا", + ar: "الأرجنتين", + as: "ساموا الأمريكية", + at: "النمسا", + au: "أستراليا", + aw: "أروبا", + ax: "جزر آلاند", + az: "أذربيجان", + ba: "البوسنة والهرسك", + bb: "بربادوس", + bd: "بنغلاديش", + be: "بلجيكا", + bf: "بوركينا فاسو", + bg: "بلغاريا", + bh: "البحرين", + bi: "بوروندي", + bj: "بنين", + bl: "سان بارتليمي", + bm: "برمودا", + bn: "بروناي", + bo: "بوليفيا", + bq: "هولندا الكاريبية", + br: "البرازيل", + bs: "جزر البهاما", + bt: "بوتان", + bw: "بوتسوانا", + by: "بيلاروس", + bz: "بليز", + ca: "كندا", + cc: "جزر كوكوس (كيلينغ)", + cd: "الكونغو - كينشاسا", + cf: "جمهورية أفريقيا الوسطى", + cg: "الكونغو - برازافيل", + ch: "سويسرا", + ci: "ساحل العاج", + ck: "جزر كوك", + cl: "تشيلي", + cm: "الكاميرون", + cn: "الصين", + co: "كولومبيا", + cr: "كوستاريكا", + cu: "كوبا", + cv: "الرأس الأخضر", + cw: "كوراساو", + cx: "جزيرة كريسماس", + cy: "قبرص", + cz: "التشيك", + de: "ألمانيا", + dj: "جيبوتي", + dk: "الدانمرك", + dm: "دومينيكا", + do: "جمهورية الدومينيكان", + dz: "الجزائر", + ec: "الإكوادور", + ee: "إستونيا", + eg: "مصر", + eh: "الصحراء الغربية", + er: "إريتريا", + es: "إسبانيا", + et: "إثيوبيا", + fi: "فنلندا", + fj: "فيجي", + fk: "جزر فوكلاند", + fm: "ميكرونيزيا", + fo: "جزر فارو", + fr: "فرنسا", + ga: "الغابون", + gb: "المملكة المتحدة", + gd: "غرينادا", + ge: "جورجيا", + gf: "غويانا الفرنسية", + gg: "غيرنزي", + gh: "غانا", + gi: "جبل طارق", + gl: "غرينلاند", + gm: "غامبيا", + gn: "غينيا", + gp: "غوادلوب", + gq: "غينيا الاستوائية", + gr: "اليونان", + gt: "غواتيمالا", + gu: "غوام", + gw: "غينيا بيساو", + gy: "غيانا", + hk: "هونغ كونغ الصينية (منطقة إدارية خاصة)", + hn: "هندوراس", + hr: "كرواتيا", + ht: "هايتي", + hu: "هنغاريا", + id: "إندونيسيا", + ie: "أيرلندا", + il: "إسرائيل", + im: "جزيرة مان", + in: "الهند", + io: "الإقليم البريطاني في المحيط الهندي", + iq: "العراق", + ir: "إيران", + is: "آيسلندا", + it: "إيطاليا", + je: "جيرسي", + jm: "جامايكا", + jo: "الأردن", + jp: "اليابان", + ke: "كينيا", + kg: "قيرغيزستان", + kh: "كمبوديا", + ki: "كيريباتي", + km: "جزر القمر", + kn: "سانت كيتس ونيفيس", + kp: "كوريا الشمالية", + kr: "كوريا الجنوبية", + kw: "الكويت", + ky: "جزر كايمان", + kz: "كازاخستان", + la: "لاوس", + lb: "لبنان", + lc: "سانت لوسيا", + li: "ليختنشتاين", + lk: "سريلانكا", + lr: "ليبيريا", + ls: "ليسوتو", + lt: "ليتوانيا", + lu: "لوكسمبورغ", + lv: "لاتفيا", + ly: "ليبيا", + ma: "المغرب", + mc: "موناكو", + md: "مولدوفا", + me: "الجبل الأسود", + mf: "سان مارتن", + mg: "مدغشقر", + mh: "جزر مارشال", + mk: "مقدونيا الشمالية", + ml: "مالي", + mm: "ميانمار (بورما)", + mn: "منغوليا", + mo: "منطقة ماكاو الإدارية الخاصة", + mp: "جزر ماريانا الشمالية", + mq: "جزر المارتينيك", + mr: "موريتانيا", + ms: "مونتسرات", + mt: "مالطا", + mu: "موريشيوس", + mv: "جزر المالديف", + mw: "ملاوي", + mx: "المكسيك", + my: "ماليزيا", + mz: "موزمبيق", + na: "ناميبيا", + nc: "كاليدونيا الجديدة", + ne: "النيجر", + nf: "جزيرة نورفولك", + ng: "نيجيريا", + ni: "نيكاراغوا", + nl: "هولندا", + no: "النرويج", + np: "نيبال", + nr: "ناورو", + nu: "نيوي", + nz: "نيوزيلندا", + om: "عُمان", + pa: "بنما", + pe: "بيرو", + pf: "بولينيزيا الفرنسية", + pg: "بابوا غينيا الجديدة", + ph: "الفلبين", + pk: "باكستان", + pl: "بولندا", + pm: "سان بيير ومكويلون", + pr: "بورتوريكو", + ps: "الأراضي الفلسطينية", + pt: "البرتغال", + pw: "بالاو", + py: "باراغواي", + qa: "قطر", + re: "روينيون", + ro: "رومانيا", + rs: "صربيا", + ru: "روسيا", + rw: "رواندا", + sa: "المملكة العربية السعودية", + sb: "جزر سليمان", + sc: "سيشل", + sd: "السودان", + se: "السويد", + sg: "سنغافورة", + sh: "سانت هيلينا", + si: "سلوفينيا", + sj: "سفالبارد وجان ماين", + sk: "سلوفاكيا", + sl: "سيراليون", + sm: "سان مارينو", + sn: "السنغال", + so: "الصومال", + sr: "سورينام", + ss: "جنوب السودان", + st: "ساو تومي وبرينسيبي", + sv: "السلفادور", + sx: "سانت مارتن", + sy: "سوريا", + sz: "إسواتيني", + tc: "جزر توركس وكايكوس", + td: "تشاد", + tg: "توغو", + th: "تايلاند", + tj: "طاجيكستان", + tk: "توكيلو", + tl: "تيمور - ليشتي", + tm: "تركمانستان", + tn: "تونس", + to: "تونغا", + tr: "تركيا", + tt: "ترينيداد وتوباغو", + tv: "توفالو", + tw: "تايوان", + tz: "تنزانيا", + ua: "أوكرانيا", + ug: "أوغندا", + us: "الولايات المتحدة", + uy: "أورغواي", + uz: "أوزبكستان", + va: "الفاتيكان", + vc: "سانت فنسنت وجزر غرينادين", + ve: "فنزويلا", + vg: "جزر فيرجن البريطانية", + vi: "جزر فيرجن التابعة للولايات المتحدة", + vn: "فيتنام", + vu: "فانواتو", + wf: "جزر والس وفوتونا", + ws: "ساموا", + ye: "اليمن", + yt: "مايوت", + za: "جنوب أفريقيا", + zm: "زامبيا", + zw: "زيمبابوي" +}; +export default countryTranslations; diff --git a/assets/intl-tel-input/js/i18n/ar/index.js b/assets/intl-tel-input/js/i18n/ar/index.js new file mode 100644 index 0000000..8c1c317 --- /dev/null +++ b/assets/intl-tel-input/js/i18n/ar/index.js @@ -0,0 +1,5 @@ +import countryTranslations from "./countries.js"; +import interfaceTranslations from "./interface.js"; +export { countryTranslations, interfaceTranslations }; +const allTranslations = { ...countryTranslations, ...interfaceTranslations }; +export default allTranslations; diff --git a/assets/intl-tel-input/js/i18n/ar/interface.js b/assets/intl-tel-input/js/i18n/ar/interface.js new file mode 100644 index 0000000..ffdaa54 --- /dev/null +++ b/assets/intl-tel-input/js/i18n/ar/interface.js @@ -0,0 +1,23 @@ +const interfaceTranslations = { + selectedCountryAriaLabel: "البلد المحدد", + noCountrySelected: "لم يتم تحديد أي بلد", + countryListAriaLabel: "قائمة الدول", + searchPlaceholder: "يبحث", + zeroSearchResults: "لم يتم العثور على نتائج", + searchResultsText(count) { + if (count === 1) { + return "تم العثور على نتيجة واحدة"; + } + if (count === 2) { + return "تم العثور على نتيجتين"; + } + if (count % 100 >= 3 && count % 100 <= 10) { + return `تم العثور على ${count} نتائج`; + } + return `تم العثور على ${count} نتيجة`; + }, + // additional countries (not supported by country-list library) + ac: "جزيرة الصعود", + xk: "كوسوفو" +}; +export default interfaceTranslations; diff --git a/assets/intl-tel-input/js/i18n/bg/countries.js b/assets/intl-tel-input/js/i18n/bg/countries.js new file mode 100644 index 0000000..7d4b863 --- /dev/null +++ b/assets/intl-tel-input/js/i18n/bg/countries.js @@ -0,0 +1,245 @@ +const countryTranslations = { + ad: "Андора", + ae: "Обединени арабски емирства", + af: "Афганистан", + ag: "Антигуа и Барбуда", + ai: "Ангуила", + al: "Албания", + am: "Армения", + ao: "Ангола", + ar: "Аржентина", + as: "Американска Самоа", + at: "Австрия", + au: "Австралия", + aw: "Аруба", + ax: "Оландски острови", + az: "Азербайджан", + ba: "Босна и Херцеговина", + bb: "Барбадос", + bd: "Бангладеш", + be: "Белгия", + bf: "Буркина Фасо", + bg: "България", + bh: "Бахрейн", + bi: "Бурунди", + bj: "Бенин", + bl: "Сен Бартелеми", + bm: "Бермудски острови", + bn: "Бруней Даруссалам", + bo: "Боливия", + bq: "Карибска Нидерландия", + br: "Бразилия", + bs: "Бахамски острови", + bt: "Бутан", + bw: "Ботсвана", + by: "Беларус", + bz: "Белиз", + ca: "Канада", + cc: "Кокосови острови (острови Кийлинг)", + cd: "Конго (Киншаса)", + cf: "Централноафриканска република", + cg: "Конго (Бразавил)", + ch: "Швейцария", + ci: "Кот д’Ивоар", + ck: "острови Кук", + cl: "Чили", + cm: "Камерун", + cn: "Китай", + co: "Колумбия", + cr: "Коста Рика", + cu: "Куба", + cv: "Кабо Верде", + cw: "Кюрасао", + cx: "остров Рождество", + cy: "Кипър", + cz: "Чехия", + de: "Германия", + dj: "Джибути", + dk: "Дания", + dm: "Доминика", + do: "Доминиканска република", + dz: "Алжир", + ec: "Еквадор", + ee: "Естония", + eg: "Египет", + eh: "Западна Сахара", + er: "Еритрея", + es: "Испания", + et: "Етиопия", + fi: "Финландия", + fj: "Фиджи", + fk: "Фолкландски острови", + fm: "Микронезия", + fo: "Фарьорски острови", + fr: "Франция", + ga: "Габон", + gb: "Обединеното кралство", + gd: "Гренада", + ge: "Грузия", + gf: "Френска Гвиана", + gg: "Гърнзи", + gh: "Гана", + gi: "Гибралтар", + gl: "Гренландия", + gm: "Гамбия", + gn: "Гвинея", + gp: "Гваделупа", + gq: "Екваториална Гвинея", + gr: "Гърция", + gt: "Гватемала", + gu: "Гуам", + gw: "Гвинея-Бисау", + gy: "Гаяна", + hk: "Хонконг, САР на Китай", + hn: "Хондурас", + hr: "Хърватия", + ht: "Хаити", + hu: "Унгария", + id: "Индонезия", + ie: "Ирландия", + il: "Израел", + im: "остров Ман", + in: "Индия", + io: "Британска територия в Индийския океан", + iq: "Ирак", + ir: "Иран", + is: "Исландия", + it: "Италия", + je: "Джърси", + jm: "Ямайка", + jo: "Йордания", + jp: "Япония", + ke: "Кения", + kg: "Киргизстан", + kh: "Камбоджа", + ki: "Кирибати", + km: "Коморски острови", + kn: "Сейнт Китс и Невис", + kp: "Северна Корея", + kr: "Южна Корея", + kw: "Кувейт", + ky: "Кайманови острови", + kz: "Казахстан", + la: "Лаос", + lb: "Ливан", + lc: "Сейнт Лусия", + li: "Лихтенщайн", + lk: "Шри Ланка", + lr: "Либерия", + ls: "Лесото", + lt: "Литва", + lu: "Люксембург", + lv: "Латвия", + ly: "Либия", + ma: "Мароко", + mc: "Монако", + md: "Молдова", + me: "Черна гора", + mf: "Сен Мартен", + mg: "Мадагаскар", + mh: "Маршалови острови", + mk: "Северна Македония", + ml: "Мали", + mm: "Мианмар (Бирма)", + mn: "Монголия", + mo: "Макао, САР на Китай", + mp: "Северни Мариански острови", + mq: "Мартиника", + mr: "Мавритания", + ms: "Монтсерат", + mt: "Малта", + mu: "Мавриций", + mv: "Малдиви", + mw: "Малави", + mx: "Мексико", + my: "Малайзия", + mz: "Мозамбик", + na: "Намибия", + nc: "Нова Каледония", + ne: "Нигер", + nf: "остров Норфолк", + ng: "Нигерия", + ni: "Никарагуа", + nl: "Нидерландия", + no: "Норвегия", + np: "Непал", + nr: "Науру", + nu: "Ниуе", + nz: "Нова Зеландия", + om: "Оман", + pa: "Панама", + pe: "Перу", + pf: "Френска Полинезия", + pg: "Папуа-Нова Гвинея", + ph: "Филипини", + pk: "Пакистан", + pl: "Полша", + pm: "Сен Пиер и Микелон", + pr: "Пуерто Рико", + ps: "Палестински територии", + pt: "Португалия", + pw: "Палау", + py: "Парагвай", + qa: "Катар", + re: "Реюнион", + ro: "Румъния", + rs: "Сърбия", + ru: "Русия", + rw: "Руанда", + sa: "Саудитска Арабия", + sb: "Соломонови острови", + sc: "Сейшели", + sd: "Судан", + se: "Швеция", + sg: "Сингапур", + sh: "Света Елена", + si: "Словения", + sj: "Свалбард и Ян Майен", + sk: "Словакия", + sl: "Сиера Леоне", + sm: "Сан Марино", + sn: "Сенегал", + so: "Сомалия", + sr: "Суринам", + ss: "Южен Судан", + st: "Сао Томе и Принсипи", + sv: "Салвадор", + sx: "Синт Мартен", + sy: "Сирия", + sz: "Есватини", + tc: "острови Търкс и Кайкос", + td: "Чад", + tg: "Того", + th: "Тайланд", + tj: "Таджикистан", + tk: "Токелау", + tl: "Източен Тимор", + tm: "Туркменистан", + tn: "Тунис", + to: "Тонга", + tr: "Турция", + tt: "Тринидад и Тобаго", + tv: "Тувалу", + tw: "Тайван", + tz: "Танзания", + ua: "Украйна", + ug: "Уганда", + us: "Съединени щати", + uy: "Уругвай", + uz: "Узбекистан", + va: "Ватикан", + vc: "Сейнт Винсънт и Гренадини", + ve: "Венецуела", + vg: "Британски Вирджински острови", + vi: "Американски Вирджински острови", + vn: "Виетнам", + vu: "Вануату", + wf: "Уолис и Футуна", + ws: "Самоа", + ye: "Йемен", + yt: "Майот", + za: "Южна Африка", + zm: "Замбия", + zw: "Зимбабве" +}; +export default countryTranslations; diff --git a/assets/intl-tel-input/js/i18n/bg/index.js b/assets/intl-tel-input/js/i18n/bg/index.js new file mode 100644 index 0000000..8c1c317 --- /dev/null +++ b/assets/intl-tel-input/js/i18n/bg/index.js @@ -0,0 +1,5 @@ +import countryTranslations from "./countries.js"; +import interfaceTranslations from "./interface.js"; +export { countryTranslations, interfaceTranslations }; +const allTranslations = { ...countryTranslations, ...interfaceTranslations }; +export default allTranslations; diff --git a/assets/intl-tel-input/js/i18n/bg/interface.js b/assets/intl-tel-input/js/i18n/bg/interface.js new file mode 100644 index 0000000..cad46c2 --- /dev/null +++ b/assets/intl-tel-input/js/i18n/bg/interface.js @@ -0,0 +1,13 @@ +const interfaceTranslations = { + selectedCountryAriaLabel: "Избрана държава", + noCountrySelected: "Няма избрана държава", + countryListAriaLabel: "Списък на страните", + searchPlaceholder: "Търсене", + zeroSearchResults: "Няма намерени резултати", + oneSearchResult: "Намерен е 1 резултат", + multipleSearchResults: "${count} намерени резултата", + // additional countries (not supported by country-list library) + ac: "Остров Възнесение", + xk: "Косово" +}; +export default interfaceTranslations; diff --git a/assets/intl-tel-input/js/i18n/bn/countries.js b/assets/intl-tel-input/js/i18n/bn/countries.js new file mode 100644 index 0000000..f8ba9b9 --- /dev/null +++ b/assets/intl-tel-input/js/i18n/bn/countries.js @@ -0,0 +1,245 @@ +const countryTranslations = { + ad: "আন্ডোরা", + ae: "সংযুক্ত আরব আমিরাত", + af: "আফগানিস্তান", + ag: "অ্যান্টিগুয়া ও বারবুডা", + ai: "এ্যাঙ্গুইলা", + al: "আলবেনিয়া", + am: "আর্মেনিয়া", + ao: "অ্যাঙ্গোলা", + ar: "আর্জেন্টিনা", + as: "আমেরিকান সামোয়া", + at: "অস্ট্রিয়া", + au: "অস্ট্রেলিয়া", + aw: "আরুবা", + ax: "আলান্ড দ্বীপপুঞ্জ", + az: "আজারবাইজান", + ba: "বসনিয়া ও হার্জেগোভিনা", + bb: "বারবাদোস", + bd: "বাংলাদেশ", + be: "বেলজিয়াম", + bf: "বুরকিনা ফাসো", + bg: "বুলগেরিয়া", + bh: "বাহরাইন", + bi: "বুরুন্ডি", + bj: "বেনিন", + bl: "সেন্ট বারথেলিমি", + bm: "বারমুডা", + bn: "ব্রুনেই", + bo: "বলিভিয়া", + bq: "ক্যারিবিয়ান নেদারল্যান্ডস", + br: "ব্রাজিল", + bs: "বাহামা দ্বীপপুঞ্জ", + bt: "ভুটান", + bw: "বতসোয়ানা", + by: "বেলারুশ", + bz: "বেলিজ", + ca: "কানাডা", + cc: "কোকোস (কিলিং) দ্বীপপুঞ্জ", + cd: "কঙ্গো-কিনশাসা", + cf: "মধ্য আফ্রিকার প্রজাতন্ত্র", + cg: "কঙ্গো - ব্রাজাভিল", + ch: "সুইজারল্যান্ড", + ci: "কোত দিভোয়ার", + ck: "কুক দ্বীপপুঞ্জ", + cl: "চিলি", + cm: "ক্যামেরুন", + cn: "চীন", + co: "কলম্বিয়া", + cr: "কোস্টারিকা", + cu: "কিউবা", + cv: "কেপভার্দে", + cw: "কুরাসাও", + cx: "ক্রিসমাস দ্বীপ", + cy: "সাইপ্রাস", + cz: "চেচিয়া", + de: "জার্মানি", + dj: "জিবুতি", + dk: "ডেনমার্ক", + dm: "ডোমিনিকা", + do: "ডোমেনিকান প্রজাতন্ত্র", + dz: "আলজেরিয়া", + ec: "ইকুয়েডর", + ee: "এস্তোনিয়া", + eg: "মিশর", + eh: "পশ্চিম সাহারা", + er: "ইরিত্রিয়া", + es: "স্পেন", + et: "ইথিওপিয়া", + fi: "ফিনল্যান্ড", + fj: "ফিজি", + fk: "ফকল্যান্ড দ্বীপপুঞ্জ", + fm: "মাইক্রোনেশিয়া", + fo: "ফ্যারও দ্বীপপুঞ্জ", + fr: "ফ্রান্স", + ga: "গ্যাবন", + gb: "যুক্তরাজ্য", + gd: "গ্রেনাডা", + ge: "জর্জিয়া", + gf: "ফরাসী গায়ানা", + gg: "গুয়ার্নসি", + gh: "ঘানা", + gi: "জিব্রাল্টার", + gl: "গ্রীনল্যান্ড", + gm: "গাম্বিয়া", + gn: "গিনি", + gp: "গুয়াদেলৌপ", + gq: "নিরক্ষীয় গিনি", + gr: "গ্রীস", + gt: "গুয়াতেমালা", + gu: "গুয়াম", + gw: "গিনি-বিসাউ", + gy: "গিয়ানা", + hk: "হংকং এসএআর চীনা", + hn: "হন্ডুরাস", + hr: "ক্রোয়েশিয়া", + ht: "হাইতি", + hu: "হাঙ্গেরি", + id: "ইন্দোনেশিয়া", + ie: "আয়ারল্যান্ড", + il: "ইজরায়েল", + im: "আইল অফ ম্যান", + in: "ভারত", + io: "ব্রিটিশ ভারত মহাসাগরীয় অঞ্চল", + iq: "ইরাক", + ir: "ইরান", + is: "আইসল্যান্ড", + it: "ইতালি", + je: "জার্সি", + jm: "জামাইকা", + jo: "জর্ডন", + jp: "জাপান", + ke: "কেনিয়া", + kg: "কিরগিজিস্তান", + kh: "কম্বোডিয়া", + ki: "কিরিবাতি", + km: "কমোরোস", + kn: "সেন্ট কিটস ও নেভিস", + kp: "উত্তর কোরিয়া", + kr: "দক্ষিণ কোরিয়া", + kw: "কুয়েত", + ky: "কেম্যান দ্বীপপুঞ্জ", + kz: "কাজাখস্তান", + la: "লাওস", + lb: "লেবানন", + lc: "সেন্ট লুসিয়া", + li: "লিচেনস্টেইন", + lk: "শ্রীলঙ্কা", + lr: "লাইবেরিয়া", + ls: "লেসোথো", + lt: "লিথুয়ানিয়া", + lu: "লাক্সেমবার্গ", + lv: "লাত্ভিয়া", + ly: "লিবিয়া", + ma: "মোরক্কো", + mc: "মোনাকো", + md: "মলডোভা", + me: "মন্টিনিগ্রো", + mf: "সেন্ট মার্টিন", + mg: "মাদাগাস্কার", + mh: "মার্শাল দ্বীপপুঞ্জ", + mk: "উত্তর ম্যাসেডোনিয়া", + ml: "মালি", + mm: "মায়ানমার (বার্মা)", + mn: "মঙ্গোলিয়া", + mo: "ম্যাকাও এসএআর চীনা", + mp: "উত্তরাঞ্চলীয় মারিয়ানা দ্বীপপুঞ্জ", + mq: "মার্টিনিক", + mr: "মরিতানিয়া", + ms: "মন্টসেরাট", + mt: "মাল্টা", + mu: "মরিশাস", + mv: "মালদ্বীপ", + mw: "মালাউই", + mx: "মেক্সিকো", + my: "মালয়েশিয়া", + mz: "মোজাম্বিক", + na: "নামিবিয়া", + nc: "নিউ ক্যালেডোনিয়া", + ne: "নাইজার", + nf: "নরফোক দ্বীপ", + ng: "নাইজেরিয়া", + ni: "নিকারাগুয়া", + nl: "নেদারল্যান্ডস", + no: "নরওয়ে", + np: "নেপাল", + nr: "নাউরু", + nu: "নিউয়ে", + nz: "নিউজিল্যান্ড", + om: "ওমান", + pa: "পানামা", + pe: "পেরু", + pf: "ফরাসী পলিনেশিয়া", + pg: "পাপুয়া নিউ গিনি", + ph: "ফিলিপাইন", + pk: "পাকিস্তান", + pl: "পোল্যান্ড", + pm: "সেন্ট পিয়ের ও মিকুয়েলন", + pr: "পুয়ের্তো রিকো", + ps: "প্যালেস্টাইনের অঞ্চলসমূহ", + pt: "পর্তুগাল", + pw: "পালাউ", + py: "প্যারাগুয়ে", + qa: "কাতার", + re: "রিইউনিয়ন", + ro: "রোমানিয়া", + rs: "সার্বিয়া", + ru: "রাশিয়া", + rw: "রুয়ান্ডা", + sa: "সৌদি আরব", + sb: "সলোমন দ্বীপপুঞ্জ", + sc: "সিসিলি", + sd: "সুদান", + se: "সুইডেন", + sg: "সিঙ্গাপুর", + sh: "সেন্ট হেলেনা", + si: "স্লোভানিয়া", + sj: "স্বালবার্ড ও জান মেয়েন", + sk: "স্লোভাকিয়া", + sl: "সিয়েরা লিওন", + sm: "সান মারিনো", + sn: "সেনেগাল", + so: "সোমালিয়া", + sr: "সুরিনাম", + ss: "দক্ষিণ সুদান", + st: "সাওটোমা ও প্রিন্সিপি", + sv: "এল সালভেদর", + sx: "সিন্ট মার্টেন", + sy: "সিরিয়া", + sz: "ইসওয়াতিনি", + tc: "তুর্কস ও কাইকোস দ্বীপপুঞ্জ", + td: "চাদ", + tg: "টোগো", + th: "থাইল্যান্ড", + tj: "তাজিকিস্তান", + tk: "টোকেলাউ", + tl: "তিমুর-লেস্তে", + tm: "তুর্কমেনিস্তান", + tn: "তিউনিসিয়া", + to: "টোঙ্গা", + tr: "তুরস্ক", + tt: "ত্রিনিনাদ ও টোব্যাগো", + tv: "টুভালু", + tw: "তাইওয়ান", + tz: "তাঞ্জানিয়া", + ua: "ইউক্রেন", + ug: "উগান্ডা", + us: "মার্কিন যুক্তরাষ্ট্র", + uy: "উরুগুয়ে", + uz: "উজবেকিস্তান", + va: "ভ্যাটিকান সিটি", + vc: "সেন্ট ভিনসেন্ট ও গ্রেনাডিনস", + ve: "ভেনেজুয়েলা", + vg: "ব্রিটিশ ভার্জিন দ্বীপপুঞ্জ", + vi: "মার্কিন যুক্তরাষ্ট্রের ভার্জিন দ্বীপপুঞ্জ", + vn: "ভিয়েতনাম", + vu: "ভানুয়াটু", + wf: "ওয়ালিস ও ফুটুনা", + ws: "সামোয়া", + ye: "ইয়েমেন", + yt: "মায়োত্তে", + za: "দক্ষিণ আফ্রিকা", + zm: "জাম্বিয়া", + zw: "জিম্বাবোয়ে" +}; +export default countryTranslations; diff --git a/assets/intl-tel-input/js/i18n/bn/index.js b/assets/intl-tel-input/js/i18n/bn/index.js new file mode 100644 index 0000000..8c1c317 --- /dev/null +++ b/assets/intl-tel-input/js/i18n/bn/index.js @@ -0,0 +1,5 @@ +import countryTranslations from "./countries.js"; +import interfaceTranslations from "./interface.js"; +export { countryTranslations, interfaceTranslations }; +const allTranslations = { ...countryTranslations, ...interfaceTranslations }; +export default allTranslations; diff --git a/assets/intl-tel-input/js/i18n/bn/interface.js b/assets/intl-tel-input/js/i18n/bn/interface.js new file mode 100644 index 0000000..7aa71d4 --- /dev/null +++ b/assets/intl-tel-input/js/i18n/bn/interface.js @@ -0,0 +1,13 @@ +const interfaceTranslations = { + selectedCountryAriaLabel: "নির্বাচিত দেশ", + noCountrySelected: "কোনো দেশ নির্বাচন করা হয়নি", + countryListAriaLabel: "দেশের তালিকা", + searchPlaceholder: "অনুসন্ধান করুন", + zeroSearchResults: "কোন ফলাফল পাওয়া যায়নি", + oneSearchResult: "1টি ফলাফল পাওয়া গেছে", + multipleSearchResults: "${count} ফলাফল পাওয়া গেছে", + // additional countries (not supported by country-list library) + ac: "অ্যাসেনশন দ্বীপ", + xk: "কসোভো" +}; +export default interfaceTranslations; diff --git a/assets/intl-tel-input/js/i18n/bs/countries.js b/assets/intl-tel-input/js/i18n/bs/countries.js new file mode 100644 index 0000000..a78bd32 --- /dev/null +++ b/assets/intl-tel-input/js/i18n/bs/countries.js @@ -0,0 +1,245 @@ +const countryTranslations = { + ad: "Andora", + ae: "Ujedinjeni Arapski Emirati", + af: "Afganistan", + ag: "Antigva i Barbuda", + ai: "Angvila", + al: "Albanija", + am: "Armenija", + ao: "Angola", + ar: "Argentina", + as: "Američka Samoa", + at: "Austrija", + au: "Australija", + aw: "Aruba", + ax: "Olandska ostrva", + az: "Azerbejdžan", + ba: "Bosna i Hercegovina", + bb: "Barbados", + bd: "Bangladeš", + be: "Belgija", + bf: "Burkina Faso", + bg: "Bugarska", + bh: "Bahrein", + bi: "Burundi", + bj: "Benin", + bl: "Sveti Bartolomej", + bm: "Bermuda", + bn: "Brunej", + bo: "Bolivija", + bq: "Karipska Holandija", + br: "Brazil", + bs: "Bahami", + bt: "Butan", + bw: "Bocvana", + by: "Bjelorusija", + bz: "Belize", + ca: "Kanada", + cc: "Kokosova (Keelingova) ostrva", + cd: "Demokratska Republika Kongo", + cf: "Centralnoafrička Republika", + cg: "Kongo", + ch: "Švicarska", + ci: "Obala Slonovače", + ck: "Kukova ostrva", + cl: "Čile", + cm: "Kamerun", + cn: "Kina", + co: "Kolumbija", + cr: "Kostarika", + cu: "Kuba", + cv: "Kape Verde", + cw: "Kurasao", + cx: "Božićno ostrvo", + cy: "Kipar", + cz: "Češka", + de: "Njemačka", + dj: "Džibuti", + dk: "Danska", + dm: "Dominika", + do: "Dominikanska Republika", + dz: "Alžir", + ec: "Ekvador", + ee: "Estonija", + eg: "Egipat", + eh: "Zapadna Sahara", + er: "Eritreja", + es: "Španija", + et: "Etiopija", + fi: "Finska", + fj: "Fidži", + fk: "Folklandska ostrva", + fm: "Mikronezija", + fo: "Farska ostrva", + fr: "Francuska", + ga: "Gabon", + gb: "Ujedinjeno Kraljevstvo", + gd: "Grenada", + ge: "Gruzija", + gf: "Francuska Gvajana", + gg: "Gernzi", + gh: "Gana", + gi: "Gibraltar", + gl: "Grenland", + gm: "Gambija", + gn: "Gvineja", + gp: "Gvadalupe", + gq: "Ekvatorijalna Gvineja", + gr: "Grčka", + gt: "Gvatemala", + gu: "Guam", + gw: "Gvineja-Bisao", + gy: "Gvajana", + hk: "Hong Kong (SAR Kina)", + hn: "Honduras", + hr: "Hrvatska", + ht: "Haiti", + hu: "Mađarska", + id: "Indonezija", + ie: "Irska", + il: "Izrael", + im: "Ostrvo Man", + in: "Indija", + io: "Britanska Teritorija u Indijskom Okeanu", + iq: "Irak", + ir: "Iran", + is: "Island", + it: "Italija", + je: "Jersey", + jm: "Jamajka", + jo: "Jordan", + jp: "Japan", + ke: "Kenija", + kg: "Kirgistan", + kh: "Kambodža", + ki: "Kiribati", + km: "Komori", + kn: "Sveti Kits i Nevis", + kp: "Sjeverna Koreja", + kr: "Južna Koreja", + kw: "Kuvajt", + ky: "Kajmanska ostrva", + kz: "Kazahstan", + la: "Laos", + lb: "Liban", + lc: "Sveta Lucija", + li: "Lihtenštajn", + lk: "Šri Lanka", + lr: "Liberija", + ls: "Lesoto", + lt: "Litvanija", + lu: "Luksemburg", + lv: "Latvija", + ly: "Libija", + ma: "Maroko", + mc: "Monako", + md: "Moldavija", + me: "Crna Gora", + mf: "Sveti Martin", + mg: "Madagaskar", + mh: "Maršalova ostrva", + mk: "Sjeverna Makedonija", + ml: "Mali", + mm: "Mjanmar", + mn: "Mongolija", + mo: "Makao (SAR Kina)", + mp: "Sjeverna Marijanska ostrva", + mq: "Martinik", + mr: "Mauritanija", + ms: "Monserat", + mt: "Malta", + mu: "Mauricijus", + mv: "Maldivi", + mw: "Malavi", + mx: "Meksiko", + my: "Malezija", + mz: "Mozambik", + na: "Namibija", + nc: "Nova Kaledonija", + ne: "Niger", + nf: "Ostrvo Norfolk", + ng: "Nigerija", + ni: "Nikaragva", + nl: "Holandija", + no: "Norveška", + np: "Nepal", + nr: "Nauru", + nu: "Niue", + nz: "Novi Zeland", + om: "Oman", + pa: "Panama", + pe: "Peru", + pf: "Francuska Polinezija", + pg: "Papua Nova Gvineja", + ph: "Filipini", + pk: "Pakistan", + pl: "Poljska", + pm: "Sveti Petar i Mikelon", + pr: "Porto Riko", + ps: "Palestinska Teritorija", + pt: "Portugal", + pw: "Palau", + py: "Paragvaj", + qa: "Katar", + re: "Reunion", + ro: "Rumunija", + rs: "Srbija", + ru: "Rusija", + rw: "Ruanda", + sa: "Saudijska Arabija", + sb: "Solomonska Ostrva", + sc: "Sejšeli", + sd: "Sudan", + se: "Švedska", + sg: "Singapur", + sh: "Sveta Helena", + si: "Slovenija", + sj: "Svalbard i Jan Majen", + sk: "Slovačka", + sl: "Sijera Leone", + sm: "San Marino", + sn: "Senegal", + so: "Somalija", + sr: "Surinam", + ss: "Južni Sudan", + st: "Sao Tome i Principe", + sv: "Salvador", + sx: "Sint Marten", + sy: "Sirija", + sz: "Esvatini", + tc: "Ostrva Turks i Kaikos", + td: "Čad", + tg: "Togo", + th: "Tajland", + tj: "Tadžikistan", + tk: "Tokelau", + tl: "Istočni Timor", + tm: "Turkmenistan", + tn: "Tunis", + to: "Tonga", + tr: "Turska", + tt: "Trinidad i Tobago", + tv: "Tuvalu", + tw: "Tajvan", + tz: "Tanzanija", + ua: "Ukrajina", + ug: "Uganda", + us: "Sjedinjene Države", + uy: "Urugvaj", + uz: "Uzbekistan", + va: "Vatikan", + vc: "Sveti Vinsent i Grenadin", + ve: "Venecuela", + vg: "Britanska Djevičanska ostrva", + vi: "Američka Djevičanska ostrva", + vn: "Vijetnam", + vu: "Vanuatu", + wf: "Ostrva Valis i Futuna", + ws: "Samoa", + ye: "Jemen", + yt: "Majote", + za: "Južnoafrička Republika", + zm: "Zambija", + zw: "Zimbabve" +}; +export default countryTranslations; diff --git a/assets/intl-tel-input/js/i18n/bs/index.js b/assets/intl-tel-input/js/i18n/bs/index.js new file mode 100644 index 0000000..8c1c317 --- /dev/null +++ b/assets/intl-tel-input/js/i18n/bs/index.js @@ -0,0 +1,5 @@ +import countryTranslations from "./countries.js"; +import interfaceTranslations from "./interface.js"; +export { countryTranslations, interfaceTranslations }; +const allTranslations = { ...countryTranslations, ...interfaceTranslations }; +export default allTranslations; diff --git a/assets/intl-tel-input/js/i18n/bs/interface.js b/assets/intl-tel-input/js/i18n/bs/interface.js new file mode 100644 index 0000000..8c2e041 --- /dev/null +++ b/assets/intl-tel-input/js/i18n/bs/interface.js @@ -0,0 +1,20 @@ +const interfaceTranslations = { + selectedCountryAriaLabel: "Odabrana zemlja", + noCountrySelected: "Zemlja nije odabrana", + countryListAriaLabel: "Lista zemalja", + searchPlaceholder: "Pretraži", + zeroSearchResults: "Nema pronađenih rezultata", + searchResultsText(count) { + const mod10 = count % 10; + const mod100 = count % 100; + if (mod10 === 1 && mod100 !== 11) { + return `Pronađen ${count} rezultat`; + } + const isFew = mod10 >= 2 && mod10 <= 4 && !(mod100 >= 12 && mod100 <= 14); + return `${isFew ? "Pronađena" : "Pronađeno"} ${count} rezultata`; + }, + // additional countries (not supported by country-list library) + ac: "Ascension", + xk: "Kosovo" +}; +export default interfaceTranslations; diff --git a/assets/intl-tel-input/js/i18n/ca/countries.js b/assets/intl-tel-input/js/i18n/ca/countries.js new file mode 100644 index 0000000..7a2773e --- /dev/null +++ b/assets/intl-tel-input/js/i18n/ca/countries.js @@ -0,0 +1,245 @@ +const countryTranslations = { + ad: "Andorra", + ae: "Emirats Àrabs Units", + af: "Afganistan", + ag: "Antigua i Barbuda", + ai: "Anguilla", + al: "Albània", + am: "Armènia", + ao: "Angola", + ar: "Argentina", + as: "Samoa Nord-americana", + at: "Àustria", + au: "Austràlia", + aw: "Aruba", + ax: "Illes Åland", + az: "Azerbaidjan", + ba: "Bòsnia i Hercegovina", + bb: "Barbados", + bd: "Bangladesh", + be: "Bèlgica", + bf: "Burkina Faso", + bg: "Bulgària", + bh: "Bahrain", + bi: "Burundi", + bj: "Benín", + bl: "Saint Barthélemy", + bm: "Bermudes", + bn: "Brunei", + bo: "Bolívia", + bq: "Carib Neerlandès", + br: "Brasil", + bs: "Bahames", + bt: "Bhutan", + bw: "Botswana", + by: "Belarús", + bz: "Belize", + ca: "Canadà", + cc: "Illes Cocos", + cd: "Congo - Kinshasa", + cf: "República Centreafricana", + cg: "Congo - Brazzaville", + ch: "Suïssa", + ci: "Côte d’Ivoire", + ck: "Illes Cook", + cl: "Xile", + cm: "Camerun", + cn: "Xina", + co: "Colòmbia", + cr: "Costa Rica", + cu: "Cuba", + cv: "Cap Verd", + cw: "Curaçao", + cx: "Illa Christmas", + cy: "Xipre", + cz: "Txèquia", + de: "Alemanya", + dj: "Djibouti", + dk: "Dinamarca", + dm: "Dominica", + do: "República Dominicana", + dz: "Algèria", + ec: "Equador", + ee: "Estònia", + eg: "Egipte", + eh: "Sàhara Occidental", + er: "Eritrea", + es: "Espanya", + et: "Etiòpia", + fi: "Finlàndia", + fj: "Fiji", + fk: "Illes Malvines", + fm: "Micronèsia", + fo: "Illes Fèroe", + fr: "França", + ga: "Gabon", + gb: "Regne Unit", + gd: "Grenada", + ge: "Geòrgia", + gf: "Guaiana Francesa", + gg: "Guernsey", + gh: "Ghana", + gi: "Gibraltar", + gl: "Groenlàndia", + gm: "Gàmbia", + gn: "Guinea", + gp: "Guadeloupe", + gq: "Guinea Equatorial", + gr: "Grècia", + gt: "Guatemala", + gu: "Guam", + gw: "Guinea Bissau", + gy: "Guyana", + hk: "Hong Kong (RAE Xina)", + hn: "Hondures", + hr: "Croàcia", + ht: "Haití", + hu: "Hongria", + id: "Indonèsia", + ie: "Irlanda", + il: "Israel", + im: "Illa de Man", + in: "Índia", + io: "Territori Britànic de l’Oceà Índic", + iq: "Iraq", + ir: "Iran", + is: "Islàndia", + it: "Itàlia", + je: "Jersey", + jm: "Jamaica", + jo: "Jordània", + jp: "Japó", + ke: "Kenya", + kg: "Kirguizistan", + kh: "Cambodja", + ki: "Kiribati", + km: "Comores", + kn: "Saint Christopher i Nevis", + kp: "Corea del Nord", + kr: "Corea del Sud", + kw: "Kuwait", + ky: "Illes Caiman", + kz: "Kazakhstan", + la: "Laos", + lb: "Líban", + lc: "Saint Lucia", + li: "Liechtenstein", + lk: "Sri Lanka", + lr: "Libèria", + ls: "Lesotho", + lt: "Lituània", + lu: "Luxemburg", + lv: "Letònia", + ly: "Líbia", + ma: "Marroc", + mc: "Mònaco", + md: "Moldàvia", + me: "Montenegro", + mf: "Saint Martin", + mg: "Madagascar", + mh: "Illes Marshall", + mk: "Macedònia del Nord", + ml: "Mali", + mm: "Myanmar (Birmània)", + mn: "Mongòlia", + mo: "Macau (RAE Xina)", + mp: "Illes Mariannes del Nord", + mq: "Martinica", + mr: "Mauritània", + ms: "Montserrat", + mt: "Malta", + mu: "Maurici", + mv: "Maldives", + mw: "Malawi", + mx: "Mèxic", + my: "Malàisia", + mz: "Moçambic", + na: "Namíbia", + nc: "Nova Caledònia", + ne: "Níger", + nf: "Norfolk", + ng: "Nigèria", + ni: "Nicaragua", + nl: "Països Baixos", + no: "Noruega", + np: "Nepal", + nr: "Nauru", + nu: "Niue", + nz: "Nova Zelanda", + om: "Oman", + pa: "Panamà", + pe: "Perú", + pf: "Polinèsia Francesa", + pg: "Papua Nova Guinea", + ph: "Filipines", + pk: "Pakistan", + pl: "Polònia", + pm: "Saint-Pierre-et-Miquelon", + pr: "Puerto Rico", + ps: "Territoris palestins", + pt: "Portugal", + pw: "Palau", + py: "Paraguai", + qa: "Qatar", + re: "Illa de la Reunió", + ro: "Romania", + rs: "Sèrbia", + ru: "Rússia", + rw: "Ruanda", + sa: "Aràbia Saudita", + sb: "Illes Salomó", + sc: "Seychelles", + sd: "Sudan", + se: "Suècia", + sg: "Singapur", + sh: "Saint Helena", + si: "Eslovènia", + sj: "Svalbard i Jan Mayen", + sk: "Eslovàquia", + sl: "Sierra Leone", + sm: "San Marino", + sn: "Senegal", + so: "Somàlia", + sr: "Surinam", + ss: "Sudan del Sud", + st: "São Tomé i Príncipe", + sv: "El Salvador", + sx: "Sint Maarten", + sy: "Síria", + sz: "eSwatini", + tc: "Illes Turks i Caicos", + td: "Txad", + tg: "Togo", + th: "Tailàndia", + tj: "Tadjikistan", + tk: "Tokelau", + tl: "Timor Oriental", + tm: "Turkmenistan", + tn: "Tunísia", + to: "Tonga", + tr: "Turquia", + tt: "Trinitat i Tobago", + tv: "Tuvalu", + tw: "Taiwan", + tz: "Tanzània", + ua: "Ucraïna", + ug: "Uganda", + us: "Estats Units", + uy: "Uruguai", + uz: "Uzbekistan", + va: "Ciutat del Vaticà", + vc: "Saint Vincent i les Grenadines", + ve: "Veneçuela", + vg: "Illes Verges Britàniques", + vi: "Illes Verges Nord-americanes", + vn: "Vietnam", + vu: "Vanuatu", + wf: "Wallis i Futuna", + ws: "Samoa", + ye: "Iemen", + yt: "Mayotte", + za: "República de Sud-àfrica", + zm: "Zàmbia", + zw: "Zimbàbue" +}; +export default countryTranslations; diff --git a/assets/intl-tel-input/js/i18n/ca/index.js b/assets/intl-tel-input/js/i18n/ca/index.js new file mode 100644 index 0000000..8c1c317 --- /dev/null +++ b/assets/intl-tel-input/js/i18n/ca/index.js @@ -0,0 +1,5 @@ +import countryTranslations from "./countries.js"; +import interfaceTranslations from "./interface.js"; +export { countryTranslations, interfaceTranslations }; +const allTranslations = { ...countryTranslations, ...interfaceTranslations }; +export default allTranslations; diff --git a/assets/intl-tel-input/js/i18n/ca/interface.js b/assets/intl-tel-input/js/i18n/ca/interface.js new file mode 100644 index 0000000..5e73559 --- /dev/null +++ b/assets/intl-tel-input/js/i18n/ca/interface.js @@ -0,0 +1,13 @@ +const interfaceTranslations = { + selectedCountryAriaLabel: "País seleccionat", + noCountrySelected: "No s'ha seleccionat cap país", + countryListAriaLabel: "Llista de països", + searchPlaceholder: "Cerca", + zeroSearchResults: "Sense resultats", + oneSearchResult: "1 resultat trobat", + multipleSearchResults: "${count} resultats trobats", + // additional countries (not supported by country-list library) + ac: "Illa de l'Ascensió", + xk: "Kosovo" +}; +export default interfaceTranslations; diff --git a/assets/intl-tel-input/js/i18n/cs/countries.js b/assets/intl-tel-input/js/i18n/cs/countries.js new file mode 100644 index 0000000..40aea54 --- /dev/null +++ b/assets/intl-tel-input/js/i18n/cs/countries.js @@ -0,0 +1,245 @@ +const countryTranslations = { + ad: "Andorra", + ae: "Spojené arabské emiráty", + af: "Afghánistán", + ag: "Antigua a Barbuda", + ai: "Anguilla", + al: "Albánie", + am: "Arménie", + ao: "Angola", + ar: "Argentina", + as: "Americká Samoa", + at: "Rakousko", + au: "Austrálie", + aw: "Aruba", + ax: "Ålandy", + az: "Ázerbájdžán", + ba: "Bosna a Hercegovina", + bb: "Barbados", + bd: "Bangladéš", + be: "Belgie", + bf: "Burkina Faso", + bg: "Bulharsko", + bh: "Bahrajn", + bi: "Burundi", + bj: "Benin", + bl: "Svatý Bartoloměj", + bm: "Bermudy", + bn: "Brunej", + bo: "Bolívie", + bq: "Karibské Nizozemsko", + br: "Brazílie", + bs: "Bahamy", + bt: "Bhútán", + bw: "Botswana", + by: "Bělorusko", + bz: "Belize", + ca: "Kanada", + cc: "Kokosové ostrovy", + cd: "Kongo – Kinshasa", + cf: "Středoafrická republika", + cg: "Kongo – Brazzaville", + ch: "Švýcarsko", + ci: "Pobřeží slonoviny", + ck: "Cookovy ostrovy", + cl: "Chile", + cm: "Kamerun", + cn: "Čína", + co: "Kolumbie", + cr: "Kostarika", + cu: "Kuba", + cv: "Kapverdy", + cw: "Curaçao", + cx: "Vánoční ostrov", + cy: "Kypr", + cz: "Česko", + de: "Německo", + dj: "Džibutsko", + dk: "Dánsko", + dm: "Dominika", + do: "Dominikánská republika", + dz: "Alžírsko", + ec: "Ekvádor", + ee: "Estonsko", + eg: "Egypt", + eh: "Západní Sahara", + er: "Eritrea", + es: "Španělsko", + et: "Etiopie", + fi: "Finsko", + fj: "Fidži", + fk: "Falklandské ostrovy", + fm: "Mikronésie", + fo: "Faerské ostrovy", + fr: "Francie", + ga: "Gabon", + gb: "Spojené království", + gd: "Grenada", + ge: "Gruzie", + gf: "Francouzská Guyana", + gg: "Guernsey", + gh: "Ghana", + gi: "Gibraltar", + gl: "Grónsko", + gm: "Gambie", + gn: "Guinea", + gp: "Guadeloupe", + gq: "Rovníková Guinea", + gr: "Řecko", + gt: "Guatemala", + gu: "Guam", + gw: "Guinea-Bissau", + gy: "Guyana", + hk: "Hongkong – ZAO Číny", + hn: "Honduras", + hr: "Chorvatsko", + ht: "Haiti", + hu: "Maďarsko", + id: "Indonésie", + ie: "Irsko", + il: "Izrael", + im: "Ostrov Man", + in: "Indie", + io: "Britské indickooceánské území", + iq: "Irák", + ir: "Írán", + is: "Island", + it: "Itálie", + je: "Jersey", + jm: "Jamajka", + jo: "Jordánsko", + jp: "Japonsko", + ke: "Keňa", + kg: "Kyrgyzstán", + kh: "Kambodža", + ki: "Kiribati", + km: "Komory", + kn: "Svatý Kryštof a Nevis", + kp: "Severní Korea", + kr: "Jižní Korea", + kw: "Kuvajt", + ky: "Kajmanské ostrovy", + kz: "Kazachstán", + la: "Laos", + lb: "Libanon", + lc: "Svatá Lucie", + li: "Lichtenštejnsko", + lk: "Srí Lanka", + lr: "Libérie", + ls: "Lesotho", + lt: "Litva", + lu: "Lucembursko", + lv: "Lotyšsko", + ly: "Libye", + ma: "Maroko", + mc: "Monako", + md: "Moldavsko", + me: "Černá Hora", + mf: "Svatý Martin (Francie)", + mg: "Madagaskar", + mh: "Marshallovy ostrovy", + mk: "Severní Makedonie", + ml: "Mali", + mm: "Myanmar (Barma)", + mn: "Mongolsko", + mo: "Macao – ZAO Číny", + mp: "Severní Mariany", + mq: "Martinik", + mr: "Mauritánie", + ms: "Montserrat", + mt: "Malta", + mu: "Mauricius", + mv: "Maledivy", + mw: "Malawi", + mx: "Mexiko", + my: "Malajsie", + mz: "Mosambik", + na: "Namibie", + nc: "Nová Kaledonie", + ne: "Niger", + nf: "Norfolk", + ng: "Nigérie", + ni: "Nikaragua", + nl: "Nizozemsko", + no: "Norsko", + np: "Nepál", + nr: "Nauru", + nu: "Niue", + nz: "Nový Zéland", + om: "Omán", + pa: "Panama", + pe: "Peru", + pf: "Francouzská Polynésie", + pg: "Papua-Nová Guinea", + ph: "Filipíny", + pk: "Pákistán", + pl: "Polsko", + pm: "Saint-Pierre a Miquelon", + pr: "Portoriko", + ps: "Palestinská území", + pt: "Portugalsko", + pw: "Palau", + py: "Paraguay", + qa: "Katar", + re: "Réunion", + ro: "Rumunsko", + rs: "Srbsko", + ru: "Rusko", + rw: "Rwanda", + sa: "Saúdská Arábie", + sb: "Šalamounovy ostrovy", + sc: "Seychely", + sd: "Súdán", + se: "Švédsko", + sg: "Singapur", + sh: "Svatá Helena", + si: "Slovinsko", + sj: "Špicberky a Jan Mayen", + sk: "Slovensko", + sl: "Sierra Leone", + sm: "San Marino", + sn: "Senegal", + so: "Somálsko", + sr: "Surinam", + ss: "Jižní Súdán", + st: "Svatý Tomáš a Princův ostrov", + sv: "Salvador", + sx: "Svatý Martin (Nizozemsko)", + sy: "Sýrie", + sz: "Svazijsko", + tc: "Turks a Caicos", + td: "Čad", + tg: "Togo", + th: "Thajsko", + tj: "Tádžikistán", + tk: "Tokelau", + tl: "Východní Timor", + tm: "Turkmenistán", + tn: "Tunisko", + to: "Tonga", + tr: "Turecko", + tt: "Trinidad a Tobago", + tv: "Tuvalu", + tw: "Tchaj-wan", + tz: "Tanzanie", + ua: "Ukrajina", + ug: "Uganda", + us: "Spojené státy", + uy: "Uruguay", + uz: "Uzbekistán", + va: "Vatikán", + vc: "Svatý Vincenc a Grenadiny", + ve: "Venezuela", + vg: "Britské Panenské ostrovy", + vi: "Americké Panenské ostrovy", + vn: "Vietnam", + vu: "Vanuatu", + wf: "Wallis a Futuna", + ws: "Samoa", + ye: "Jemen", + yt: "Mayotte", + za: "Jihoafrická republika", + zm: "Zambie", + zw: "Zimbabwe" +}; +export default countryTranslations; diff --git a/assets/intl-tel-input/js/i18n/cs/index.js b/assets/intl-tel-input/js/i18n/cs/index.js new file mode 100644 index 0000000..8c1c317 --- /dev/null +++ b/assets/intl-tel-input/js/i18n/cs/index.js @@ -0,0 +1,5 @@ +import countryTranslations from "./countries.js"; +import interfaceTranslations from "./interface.js"; +export { countryTranslations, interfaceTranslations }; +const allTranslations = { ...countryTranslations, ...interfaceTranslations }; +export default allTranslations; diff --git a/assets/intl-tel-input/js/i18n/cs/interface.js b/assets/intl-tel-input/js/i18n/cs/interface.js new file mode 100644 index 0000000..4b1bcbf --- /dev/null +++ b/assets/intl-tel-input/js/i18n/cs/interface.js @@ -0,0 +1,20 @@ +const interfaceTranslations = { + selectedCountryAriaLabel: "Vybraná země", + noCountrySelected: "Není vybrána žádná země", + countryListAriaLabel: "Seznam zemí", + searchPlaceholder: "Vyhledat", + zeroSearchResults: "Nebyly nalezeny žádné výsledky", + searchResultsText(count) { + if (count === 1) { + return "Nalezen 1 výsledek"; + } + if (count >= 2 && count <= 4) { + return `Nalezeny ${count} výsledky`; + } + return `Nalezeno ${count} výsledků`; + }, + // additional countries (not supported by country-list library) + ac: "Ascension", + xk: "Kosovo" +}; +export default interfaceTranslations; diff --git a/assets/intl-tel-input/js/i18n/da/countries.js b/assets/intl-tel-input/js/i18n/da/countries.js new file mode 100644 index 0000000..4f0a2e7 --- /dev/null +++ b/assets/intl-tel-input/js/i18n/da/countries.js @@ -0,0 +1,245 @@ +const countryTranslations = { + ad: "Andorra", + ae: "De Forenede Arabiske Emirater", + af: "Afghanistan", + ag: "Antigua og Barbuda", + ai: "Anguilla", + al: "Albanien", + am: "Armenien", + ao: "Angola", + ar: "Argentina", + as: "Amerikansk Samoa", + at: "Østrig", + au: "Australien", + aw: "Aruba", + ax: "Åland", + az: "Aserbajdsjan", + ba: "Bosnien-Hercegovina", + bb: "Barbados", + bd: "Bangladesh", + be: "Belgien", + bf: "Burkina Faso", + bg: "Bulgarien", + bh: "Bahrain", + bi: "Burundi", + bj: "Benin", + bl: "Saint Barthélemy", + bm: "Bermuda", + bn: "Brunei", + bo: "Bolivia", + bq: "De tidligere Nederlandske Antiller", + br: "Brasilien", + bs: "Bahamas", + bt: "Bhutan", + bw: "Botswana", + by: "Hviderusland", + bz: "Belize", + ca: "Canada", + cc: "Cocosøerne", + cd: "Congo-Kinshasa", + cf: "Den Centralafrikanske Republik", + cg: "Congo-Brazzaville", + ch: "Schweiz", + ci: "Elfenbenskysten", + ck: "Cookøerne", + cl: "Chile", + cm: "Cameroun", + cn: "Kina", + co: "Colombia", + cr: "Costa Rica", + cu: "Cuba", + cv: "Kap Verde", + cw: "Curaçao", + cx: "Juleøen", + cy: "Cypern", + cz: "Tjekkiet", + de: "Tyskland", + dj: "Djibouti", + dk: "Danmark", + dm: "Dominica", + do: "Den Dominikanske Republik", + dz: "Algeriet", + ec: "Ecuador", + ee: "Estland", + eg: "Egypten", + eh: "Vestsahara", + er: "Eritrea", + es: "Spanien", + et: "Etiopien", + fi: "Finland", + fj: "Fiji", + fk: "Falklandsøerne", + fm: "Mikronesien", + fo: "Færøerne", + fr: "Frankrig", + ga: "Gabon", + gb: "Storbritannien", + gd: "Grenada", + ge: "Georgien", + gf: "Fransk Guyana", + gg: "Guernsey", + gh: "Ghana", + gi: "Gibraltar", + gl: "Grønland", + gm: "Gambia", + gn: "Guinea", + gp: "Guadeloupe", + gq: "Ækvatorialguinea", + gr: "Grækenland", + gt: "Guatemala", + gu: "Guam", + gw: "Guinea-Bissau", + gy: "Guyana", + hk: "SAR Hongkong", + hn: "Honduras", + hr: "Kroatien", + ht: "Haiti", + hu: "Ungarn", + id: "Indonesien", + ie: "Irland", + il: "Israel", + im: "Isle of Man", + in: "Indien", + io: "Det Britiske Territorium i Det Indiske Ocean", + iq: "Irak", + ir: "Iran", + is: "Island", + it: "Italien", + je: "Jersey", + jm: "Jamaica", + jo: "Jordan", + jp: "Japan", + ke: "Kenya", + kg: "Kirgisistan", + kh: "Cambodja", + ki: "Kiribati", + km: "Comorerne", + kn: "Saint Kitts og Nevis", + kp: "Nordkorea", + kr: "Sydkorea", + kw: "Kuwait", + ky: "Caymanøerne", + kz: "Kasakhstan", + la: "Laos", + lb: "Libanon", + lc: "Saint Lucia", + li: "Liechtenstein", + lk: "Sri Lanka", + lr: "Liberia", + ls: "Lesotho", + lt: "Litauen", + lu: "Luxembourg", + lv: "Letland", + ly: "Libyen", + ma: "Marokko", + mc: "Monaco", + md: "Moldova", + me: "Montenegro", + mf: "Saint Martin", + mg: "Madagaskar", + mh: "Marshalløerne", + mk: "Nordmakedonien", + ml: "Mali", + mm: "Myanmar (Burma)", + mn: "Mongoliet", + mo: "SAR Macao", + mp: "Nordmarianerne", + mq: "Martinique", + mr: "Mauretanien", + ms: "Montserrat", + mt: "Malta", + mu: "Mauritius", + mv: "Maldiverne", + mw: "Malawi", + mx: "Mexico", + my: "Malaysia", + mz: "Mozambique", + na: "Namibia", + nc: "Ny Kaledonien", + ne: "Niger", + nf: "Norfolk Island", + ng: "Nigeria", + ni: "Nicaragua", + nl: "Holland", + no: "Norge", + np: "Nepal", + nr: "Nauru", + nu: "Niue", + nz: "New Zealand", + om: "Oman", + pa: "Panama", + pe: "Peru", + pf: "Fransk Polynesien", + pg: "Papua Ny Guinea", + ph: "Filippinerne", + pk: "Pakistan", + pl: "Polen", + pm: "Saint Pierre og Miquelon", + pr: "Puerto Rico", + ps: "De palæstinensiske områder", + pt: "Portugal", + pw: "Palau", + py: "Paraguay", + qa: "Qatar", + re: "Réunion", + ro: "Rumænien", + rs: "Serbien", + ru: "Rusland", + rw: "Rwanda", + sa: "Saudi-Arabien", + sb: "Salomonøerne", + sc: "Seychellerne", + sd: "Sudan", + se: "Sverige", + sg: "Singapore", + sh: "St. Helena", + si: "Slovenien", + sj: "Svalbard og Jan Mayen", + sk: "Slovakiet", + sl: "Sierra Leone", + sm: "San Marino", + sn: "Senegal", + so: "Somalia", + sr: "Surinam", + ss: "Sydsudan", + st: "São Tomé og Príncipe", + sv: "El Salvador", + sx: "Sint Maarten", + sy: "Syrien", + sz: "Eswatini", + tc: "Turks- og Caicosøerne", + td: "Tchad", + tg: "Togo", + th: "Thailand", + tj: "Tadsjikistan", + tk: "Tokelau", + tl: "Timor-Leste", + tm: "Turkmenistan", + tn: "Tunesien", + to: "Tonga", + tr: "Tyrkiet", + tt: "Trinidad og Tobago", + tv: "Tuvalu", + tw: "Taiwan", + tz: "Tanzania", + ua: "Ukraine", + ug: "Uganda", + us: "USA", + uy: "Uruguay", + uz: "Usbekistan", + va: "Vatikanstaten", + vc: "Saint Vincent og Grenadinerne", + ve: "Venezuela", + vg: "De Britiske Jomfruøer", + vi: "De Amerikanske Jomfruøer", + vn: "Vietnam", + vu: "Vanuatu", + wf: "Wallis og Futuna", + ws: "Samoa", + ye: "Yemen", + yt: "Mayotte", + za: "Sydafrika", + zm: "Zambia", + zw: "Zimbabwe" +}; +export default countryTranslations; diff --git a/assets/intl-tel-input/js/i18n/da/index.js b/assets/intl-tel-input/js/i18n/da/index.js new file mode 100644 index 0000000..8c1c317 --- /dev/null +++ b/assets/intl-tel-input/js/i18n/da/index.js @@ -0,0 +1,5 @@ +import countryTranslations from "./countries.js"; +import interfaceTranslations from "./interface.js"; +export { countryTranslations, interfaceTranslations }; +const allTranslations = { ...countryTranslations, ...interfaceTranslations }; +export default allTranslations; diff --git a/assets/intl-tel-input/js/i18n/da/interface.js b/assets/intl-tel-input/js/i18n/da/interface.js new file mode 100644 index 0000000..0bd1362 --- /dev/null +++ b/assets/intl-tel-input/js/i18n/da/interface.js @@ -0,0 +1,13 @@ +const interfaceTranslations = { + selectedCountryAriaLabel: "Valgt land", + noCountrySelected: "Intet land er valgt", + countryListAriaLabel: "Liste over lande", + searchPlaceholder: "Søg", + zeroSearchResults: "Ingen resultater fundet", + oneSearchResult: "1 resultat fundet", + multipleSearchResults: "${count} resultater fundet", + // additional countries (not supported by country-list library) + ac: "Ascension", + xk: "Kosovo" +}; +export default interfaceTranslations; diff --git a/assets/intl-tel-input/js/i18n/de/countries.js b/assets/intl-tel-input/js/i18n/de/countries.js new file mode 100644 index 0000000..4ec128d --- /dev/null +++ b/assets/intl-tel-input/js/i18n/de/countries.js @@ -0,0 +1,245 @@ +const countryTranslations = { + ad: "Andorra", + ae: "Vereinigte Arabische Emirate", + af: "Afghanistan", + ag: "Antigua und Barbuda", + ai: "Anguilla", + al: "Albanien", + am: "Armenien", + ao: "Angola", + ar: "Argentinien", + as: "Amerikanisch-Samoa", + at: "Österreich", + au: "Australien", + aw: "Aruba", + ax: "Ålandinseln", + az: "Aserbaidschan", + ba: "Bosnien und Herzegowina", + bb: "Barbados", + bd: "Bangladesch", + be: "Belgien", + bf: "Burkina Faso", + bg: "Bulgarien", + bh: "Bahrain", + bi: "Burundi", + bj: "Benin", + bl: "St. Barthélemy", + bm: "Bermuda", + bn: "Brunei Darussalam", + bo: "Bolivien", + bq: "Bonaire, Sint Eustatius und Saba", + br: "Brasilien", + bs: "Bahamas", + bt: "Bhutan", + bw: "Botsuana", + by: "Belarus", + bz: "Belize", + ca: "Kanada", + cc: "Kokosinseln", + cd: "Kongo-Kinshasa", + cf: "Zentralafrikanische Republik", + cg: "Kongo-Brazzaville", + ch: "Schweiz", + ci: "Côte d’Ivoire", + ck: "Cookinseln", + cl: "Chile", + cm: "Kamerun", + cn: "China", + co: "Kolumbien", + cr: "Costa Rica", + cu: "Kuba", + cv: "Cabo Verde", + cw: "Curaçao", + cx: "Weihnachtsinsel", + cy: "Zypern", + cz: "Tschechien", + de: "Deutschland", + dj: "Dschibuti", + dk: "Dänemark", + dm: "Dominica", + do: "Dominikanische Republik", + dz: "Algerien", + ec: "Ecuador", + ee: "Estland", + eg: "Ägypten", + eh: "Westsahara", + er: "Eritrea", + es: "Spanien", + et: "Äthiopien", + fi: "Finnland", + fj: "Fidschi", + fk: "Falklandinseln", + fm: "Mikronesien", + fo: "Färöer", + fr: "Frankreich", + ga: "Gabun", + gb: "Vereinigtes Königreich", + gd: "Grenada", + ge: "Georgien", + gf: "Französisch-Guayana", + gg: "Guernsey", + gh: "Ghana", + gi: "Gibraltar", + gl: "Grönland", + gm: "Gambia", + gn: "Guinea", + gp: "Guadeloupe", + gq: "Äquatorialguinea", + gr: "Griechenland", + gt: "Guatemala", + gu: "Guam", + gw: "Guinea-Bissau", + gy: "Guyana", + hk: "Sonderverwaltungsregion Hongkong", + hn: "Honduras", + hr: "Kroatien", + ht: "Haiti", + hu: "Ungarn", + id: "Indonesien", + ie: "Irland", + il: "Israel", + im: "Isle of Man", + in: "Indien", + io: "Britisches Territorium im Indischen Ozean", + iq: "Irak", + ir: "Iran", + is: "Island", + it: "Italien", + je: "Jersey", + jm: "Jamaika", + jo: "Jordanien", + jp: "Japan", + ke: "Kenia", + kg: "Kirgisistan", + kh: "Kambodscha", + ki: "Kiribati", + km: "Komoren", + kn: "St. Kitts und Nevis", + kp: "Nordkorea", + kr: "Südkorea", + kw: "Kuwait", + ky: "Kaimaninseln", + kz: "Kasachstan", + la: "Laos", + lb: "Libanon", + lc: "St. Lucia", + li: "Liechtenstein", + lk: "Sri Lanka", + lr: "Liberia", + ls: "Lesotho", + lt: "Litauen", + lu: "Luxemburg", + lv: "Lettland", + ly: "Libyen", + ma: "Marokko", + mc: "Monaco", + md: "Republik Moldau", + me: "Montenegro", + mf: "St. Martin", + mg: "Madagaskar", + mh: "Marshallinseln", + mk: "Nordmazedonien", + ml: "Mali", + mm: "Myanmar", + mn: "Mongolei", + mo: "Sonderverwaltungsregion Macau", + mp: "Nördliche Marianen", + mq: "Martinique", + mr: "Mauretanien", + ms: "Montserrat", + mt: "Malta", + mu: "Mauritius", + mv: "Malediven", + mw: "Malawi", + mx: "Mexiko", + my: "Malaysia", + mz: "Mosambik", + na: "Namibia", + nc: "Neukaledonien", + ne: "Niger", + nf: "Norfolkinsel", + ng: "Nigeria", + ni: "Nicaragua", + nl: "Niederlande", + no: "Norwegen", + np: "Nepal", + nr: "Nauru", + nu: "Niue", + nz: "Neuseeland", + om: "Oman", + pa: "Panama", + pe: "Peru", + pf: "Französisch-Polynesien", + pg: "Papua-Neuguinea", + ph: "Philippinen", + pk: "Pakistan", + pl: "Polen", + pm: "St. Pierre und Miquelon", + pr: "Puerto Rico", + ps: "Palästinensische Autonomiegebiete", + pt: "Portugal", + pw: "Palau", + py: "Paraguay", + qa: "Katar", + re: "Réunion", + ro: "Rumänien", + rs: "Serbien", + ru: "Russland", + rw: "Ruanda", + sa: "Saudi-Arabien", + sb: "Salomonen", + sc: "Seychellen", + sd: "Sudan", + se: "Schweden", + sg: "Singapur", + sh: "St. Helena", + si: "Slowenien", + sj: "Spitzbergen und Jan Mayen", + sk: "Slowakei", + sl: "Sierra Leone", + sm: "San Marino", + sn: "Senegal", + so: "Somalia", + sr: "Suriname", + ss: "Südsudan", + st: "São Tomé und Príncipe", + sv: "El Salvador", + sx: "Sint Maarten", + sy: "Syrien", + sz: "Eswatini", + tc: "Turks- und Caicosinseln", + td: "Tschad", + tg: "Togo", + th: "Thailand", + tj: "Tadschikistan", + tk: "Tokelau", + tl: "Timor-Leste", + tm: "Turkmenistan", + tn: "Tunesien", + to: "Tonga", + tr: "Türkei", + tt: "Trinidad und Tobago", + tv: "Tuvalu", + tw: "Taiwan", + tz: "Tansania", + ua: "Ukraine", + ug: "Uganda", + us: "Vereinigte Staaten", + uy: "Uruguay", + uz: "Usbekistan", + va: "Vatikanstadt", + vc: "St. Vincent und die Grenadinen", + ve: "Venezuela", + vg: "Britische Jungferninseln", + vi: "Amerikanische Jungferninseln", + vn: "Vietnam", + vu: "Vanuatu", + wf: "Wallis und Futuna", + ws: "Samoa", + ye: "Jemen", + yt: "Mayotte", + za: "Südafrika", + zm: "Sambia", + zw: "Simbabwe" +}; +export default countryTranslations; diff --git a/assets/intl-tel-input/js/i18n/de/index.js b/assets/intl-tel-input/js/i18n/de/index.js new file mode 100644 index 0000000..8c1c317 --- /dev/null +++ b/assets/intl-tel-input/js/i18n/de/index.js @@ -0,0 +1,5 @@ +import countryTranslations from "./countries.js"; +import interfaceTranslations from "./interface.js"; +export { countryTranslations, interfaceTranslations }; +const allTranslations = { ...countryTranslations, ...interfaceTranslations }; +export default allTranslations; diff --git a/assets/intl-tel-input/js/i18n/de/interface.js b/assets/intl-tel-input/js/i18n/de/interface.js new file mode 100644 index 0000000..0f9c342 --- /dev/null +++ b/assets/intl-tel-input/js/i18n/de/interface.js @@ -0,0 +1,13 @@ +const interfaceTranslations = { + selectedCountryAriaLabel: "Ausgewähltes Land", + noCountrySelected: "Kein Land ausgewählt", + countryListAriaLabel: "Liste der Länder", + searchPlaceholder: "Suchen", + zeroSearchResults: "Keine Suchergebnisse", + oneSearchResult: "1 Suchergebnis", + multipleSearchResults: "${count} Suchergebnisse", + // additional countries (not supported by country-list library) + ac: "Ascension-Insel", + xk: "Kosovo" +}; +export default interfaceTranslations; diff --git a/assets/intl-tel-input/js/i18n/ee/countries.js b/assets/intl-tel-input/js/i18n/ee/countries.js new file mode 100644 index 0000000..e007168 --- /dev/null +++ b/assets/intl-tel-input/js/i18n/ee/countries.js @@ -0,0 +1,245 @@ +const countryTranslations = { + ad: "Andorra nutome", + ae: "United Arab Emirates nutome", + af: "Afghanistan nutome", + ag: "́Antigua kple Barbuda nutome", + ai: "Anguilla nutome", + al: "Albania nutome", + am: "Armenia nutome", + ao: "Angola nutome", + ar: "Argentina nutome", + as: "Amerika Samoa nutome", + at: "Austria nutome", + au: "Australia nutome", + aw: "Aruba nutome", + ax: "Åland ƒudomekpo nutome", + az: "Azerbaijan nutome", + ba: "Bosnia kple Herzergovina nutome", + bb: "Barbados nutome", + bd: "Bangladesh nutome", + be: "Belgium nutome", + bf: "Burkina Faso nutome", + bg: "Bulgaria nutome", + bh: "Bahrain nutome", + bi: "Burundi nutome", + bj: "Benin nutome", + bl: "Saint Barthélemy nutome", + bm: "Bermuda nutome", + bn: "Brunei nutome", + bo: "Bolivia nutome", + bq: "Caribbean Netherlands", + br: "Brazil nutome", + bs: "Bahamas nutome", + bt: "Bhutan nutome", + bw: "Botswana nutome", + by: "Belarus nutome", + bz: "Belize nutome", + ca: "Canada nutome", + cc: "Kokos (Kiling) fudomekpo nutome", + cd: "Kongo Kinshasa nutome", + cf: "Titina Afrika repɔblik nutome", + cg: "Kongo Brazzaville nutome", + ch: "Switzerland nutome", + ci: "Kote d’Ivoire nutome", + ck: "Kook ƒudomekpo nutome", + cl: "Tsile nutome", + cm: "Kamerun nutome", + cn: "Tsaina nutome", + co: "Kolombia nutome", + cr: "Kosta Rika nutome", + cu: "Kuba nutome", + cv: "Kape Verde nutome", + cw: "Curaçao", + cx: "Kristmas ƒudomekpo nutome", + cy: "Saiprus nutome", + cz: "Tsɛk repɔblik nutome", + de: "Germania nutome", + dj: "Dzibuti nutome", + dk: "Denmark nutome", + dm: "Dominika nutome", + do: "Dominika repɔblik nutome", + dz: "Algeria nutome", + ec: "Ekuadɔ nutome", + ee: "Estonia nutome", + eg: "Egypte nutome", + eh: "Ɣetoɖoƒe Sahara nutome", + er: "Eritrea nutome", + es: "Spain nutome", + et: "Etiopia nutome", + fi: "Finland nutome", + fj: "Fidzi nutome", + fk: "Falkland ƒudomekpowo nutome", + fm: "Mikronesia nutome", + fo: "Faroe ƒudomekpowo nutome", + fr: "France nutome", + ga: "Gabɔn nutome", + gb: "United Kingdom nutome", + gd: "Grenada nutome", + ge: "Georgia nutome", + gf: "Frentsi Gayana nutome", + gg: "Guernse nutome", + gh: "Ghana nutome", + gi: "Gibraltar nutome", + gl: "Grinland nutome", + gm: "Gambia nutome", + gn: "Guini nutome", + gp: "Guadelupe nutome", + gq: "Ekuatorial Guini nutome", + gr: "Greece nutome", + gt: "Guatemala nutome", + gu: "Guam nutome", + gw: "Gini-Bisao nutome", + gy: "Guyanadu", + hk: "Hɔng Kɔng SAR Tsaina nutome", + hn: "Hondurasdu", + hr: "Kroatsia nutome", + ht: "Haiti nutome", + hu: "Hungari nutome", + id: "Indonesia nutome", + ie: "Ireland nutome", + il: "Israel nutome", + im: "Aisle of Man nutome", + in: "India nutome", + io: "Britaintɔwo ƒe india ƒudome nutome", + iq: "iraqdukɔ", + ir: "Iran nutome", + is: "Aiseland nutome", + it: "Italia nutome", + je: "Dzɛse nutome", + jm: "Dzamaika nutome", + jo: "Yordan nutome", + jp: "Dzapan nutome", + ke: "Kenya nutome", + kg: "Kirgizstan nutome", + kh: "Kambodia nutome", + ki: "Kiribati nutome", + km: "Komoros nutome", + kn: "Saint Kitis kple Nevis nutome", + kp: "Dziehe Korea nutome", + kr: "Anyiehe Korea nutome", + kw: "Kuwait nutome", + ky: "Kayman ƒudomekpowo nutome", + kz: "Kazakstan nutome", + la: "Laos nutome", + lb: "Lebanɔn nutome", + lc: "Saint Lusia nutome", + li: "Litsenstein nutome", + lk: "Sri Lanka nutome", + lr: "Liberia nutome", + ls: "Lɛsoto nutome", + lt: "Lituania nutome", + lu: "Lazembɔg nutome", + lv: "Latvia nutome", + ly: "Libya nutome", + ma: "Moroko nutome", + mc: "Monako nutome", + md: "Moldova nutome", + me: "Montenegro nutome", + mf: "Saint Martin nutome", + mg: "Madagaska nutome", + mh: "Marshal ƒudomekpowo nutome", + mk: "North Macedonia", + ml: "Mali nutome", + mm: "Myanmar (Burma) nutome", + mn: "Mongolia nutome", + mo: "Macau SAR Tsaina nutome", + mp: "Dziehe Marina ƒudomekpowo nutome", + mq: "Martiniki nutome", + mr: "Mauritania nutome", + ms: "Montserrat nutome", + mt: "Malta nutome", + mu: "mauritiusdukɔ", + mv: "maldivesdukɔ", + mw: "Malawi nutome", + mx: "Mexico nutome", + my: "Malaysia nutome", + mz: "Mozambiki nutome", + na: "Namibia nutome", + nc: "New Kaledonia nutome", + ne: "Niger nutome", + nf: "Norfolk ƒudomekpo nutome", + ng: "Nigeria nutome", + ni: "Nicaraguadukɔ", + nl: "Netherlands nutome", + no: "Norway nutome", + np: "Nepal nutome", + nr: "Nauru nutome", + nu: "Niue nutome", + nz: "New Zealand nutome", + om: "Oman nutome", + pa: "Panama nutome", + pe: "Peru nutome", + pf: "Frentsi Pɔlinesia nutome", + pg: "Papua New Gini nutome", + ph: "Filipini nutome", + pk: "Pakistan nutome", + pl: "Poland nutome", + pm: "Saint Pierre kple Mikelɔn nutome", + pr: "Puerto Riko nutome", + ps: "Palestinia nutome", + pt: "Portugal nutome", + pw: "Palau nutome", + py: "Paragua nutome", + qa: "Katar nutome", + re: "Réunion nutome", + ro: "Romania nutome", + rs: "Serbia", + ru: "Russia nutome", + rw: "Rwanda nutome", + sa: "Saudi Arabia nutome", + sb: "Solomon ƒudomekpowo nutome", + sc: "Seshɛls nutome", + sd: "Sudan nutome", + se: "Sweden nutome", + sg: "Singapɔr nutome", + sh: "Saint Helena nutome", + si: "Slovenia nutome", + sj: "Svalbard kple Yan Mayen nutome", + sk: "Slovakia nutome", + sl: "Sierra Leone nutome", + sm: "San Marino nutome", + sn: "Senegal nutome", + so: "Somalia nutome", + sr: "Suriname nutome", + ss: "South Sudan", + st: "São Tomé kple Príncipe nutome", + sv: "El Salvadɔ nutome", + sx: "Sint Maarten", + sy: "Siria nutome", + sz: "Swaziland nutome", + tc: "Tɛks kple Kaikos ƒudomekpowo nutome", + td: "Tsad nutome", + tg: "Togo nutome", + th: "Thailand nutome", + tj: "Tajikistan nutome", + tk: "Tokelau nutome", + tl: "Timor-Leste nutome", + tm: "Tɛkmenistan nutome", + tn: "Tunisia nutome", + to: "Tonga nutome", + tr: "Tɛki nutome", + tt: "Trinidad kple Tobago nutome", + tv: "Tuvalu nutome", + tw: "Taiwan nutome", + tz: "Tanzania nutome", + ua: "Ukraine nutome", + ug: "Uganda nutome", + us: "USA nutome", + uy: "uruguaydukɔ", + uz: "Uzbekistan nutome", + va: "Vatikandu nutome", + vc: "Saint Vincent kple Grenadine nutome", + ve: "Venezuela nutome", + vg: "Britaintɔwo ƒe Virgin ƒudomekpowo nutome", + vi: "U.S. Vɛrgin ƒudomekpowo nutome", + vn: "Vietnam nutome", + vu: "Vanuatu nutome", + wf: "Wallis kple Futuna nutome", + ws: "Samoa nutome", + ye: "Yemen nutome", + yt: "Mayotte nutome", + za: "Anyiehe Africa nutome", + zm: "Zambia nutome", + zw: "Zimbabwe nutome" +}; +export default countryTranslations; diff --git a/assets/intl-tel-input/js/i18n/ee/index.js b/assets/intl-tel-input/js/i18n/ee/index.js new file mode 100644 index 0000000..8c1c317 --- /dev/null +++ b/assets/intl-tel-input/js/i18n/ee/index.js @@ -0,0 +1,5 @@ +import countryTranslations from "./countries.js"; +import interfaceTranslations from "./interface.js"; +export { countryTranslations, interfaceTranslations }; +const allTranslations = { ...countryTranslations, ...interfaceTranslations }; +export default allTranslations; diff --git a/assets/intl-tel-input/js/i18n/ee/interface.js b/assets/intl-tel-input/js/i18n/ee/interface.js new file mode 100644 index 0000000..61995b2 --- /dev/null +++ b/assets/intl-tel-input/js/i18n/ee/interface.js @@ -0,0 +1,13 @@ +const interfaceTranslations = { + selectedCountryAriaLabel: "Valitud riik", + noCountrySelected: "Ühtegi riiki pole valitud", + countryListAriaLabel: "Riikide nimekiri", + searchPlaceholder: "Otsi", + zeroSearchResults: "Tulemusi ei leitud", + oneSearchResult: "1 tulemus leitud", + multipleSearchResults: "${count} tulemust leitud", + // additional countries (not supported by country-list library) + ac: "Ascensioni saar", + xk: "Kosovo" +}; +export default interfaceTranslations; diff --git a/assets/intl-tel-input/js/i18n/el/countries.js b/assets/intl-tel-input/js/i18n/el/countries.js new file mode 100644 index 0000000..df84f72 --- /dev/null +++ b/assets/intl-tel-input/js/i18n/el/countries.js @@ -0,0 +1,245 @@ +const countryTranslations = { + ad: "Ανδόρα", + ae: "Ηνωμένα Αραβικά Εμιράτα", + af: "Αφγανιστάν", + ag: "Αντίγκουα και Μπαρμπούντα", + ai: "Ανγκουίλα", + al: "Αλβανία", + am: "Αρμενία", + ao: "Αγκόλα", + ar: "Αργεντινή", + as: "Αμερικανική Σαμόα", + at: "Αυστρία", + au: "Αυστραλία", + aw: "Αρούμπα", + ax: "Νήσοι Όλαντ", + az: "Αζερμπαϊτζάν", + ba: "Βοσνία - Ερζεγοβίνη", + bb: "Μπαρμπέιντος", + bd: "Μπανγκλαντές", + be: "Βέλγιο", + bf: "Μπουρκίνα Φάσο", + bg: "Βουλγαρία", + bh: "Μπαχρέιν", + bi: "Μπουρούντι", + bj: "Μπενίν", + bl: "Άγιος Βαρθολομαίος", + bm: "Βερμούδες", + bn: "Μπρουνέι", + bo: "Βολιβία", + bq: "Ολλανδία Καραϊβικής", + br: "Βραζιλία", + bs: "Μπαχάμες", + bt: "Μπουτάν", + bw: "Μποτσουάνα", + by: "Λευκορωσία", + bz: "Μπελίζ", + ca: "Καναδάς", + cc: "Νήσοι Κόκος (Κίλινγκ)", + cd: "Κονγκό - Κινσάσα", + cf: "Κεντροαφρικανική Δημοκρατία", + cg: "Κονγκό - Μπραζαβίλ", + ch: "Ελβετία", + ci: "Ακτή Ελεφαντοστού", + ck: "Νήσοι Κουκ", + cl: "Χιλή", + cm: "Καμερούν", + cn: "Κίνα", + co: "Κολομβία", + cr: "Κόστα Ρίκα", + cu: "Κούβα", + cv: "Πράσινο Ακρωτήριο", + cw: "Κουρασάο", + cx: "Νήσος των Χριστουγέννων", + cy: "Κύπρος", + cz: "Τσεχία", + de: "Γερμανία", + dj: "Τζιμπουτί", + dk: "Δανία", + dm: "Ντομίνικα", + do: "Δομινικανή Δημοκρατία", + dz: "Αλγερία", + ec: "Ισημερινός", + ee: "Εσθονία", + eg: "Αίγυπτος", + eh: "Δυτική Σαχάρα", + er: "Ερυθραία", + es: "Ισπανία", + et: "Αιθιοπία", + fi: "Φινλανδία", + fj: "Φίτζι", + fk: "Νήσοι Φόκλαντ", + fm: "Μικρονησία", + fo: "Νήσοι Φερόες", + fr: "Γαλλία", + ga: "Γκαμπόν", + gb: "Ηνωμένο Βασίλειο", + gd: "Γρενάδα", + ge: "Γεωργία", + gf: "Γαλλική Γουιάνα", + gg: "Γκέρνζι", + gh: "Γκάνα", + gi: "Γιβραλτάρ", + gl: "Γροιλανδία", + gm: "Γκάμπια", + gn: "Γουινέα", + gp: "Γουαδελούπη", + gq: "Ισημερινή Γουινέα", + gr: "Ελλάδα", + gt: "Γουατεμάλα", + gu: "Γκουάμ", + gw: "Γουινέα Μπισάου", + gy: "Γουιάνα", + hk: "Χονγκ Κονγκ ΕΔΠ Κίνας", + hn: "Ονδούρα", + hr: "Κροατία", + ht: "Αϊτή", + hu: "Ουγγαρία", + id: "Ινδονησία", + ie: "Ιρλανδία", + il: "Ισραήλ", + im: "Νήσος του Μαν", + in: "Ινδία", + io: "Βρετανικά Εδάφη Ινδικού Ωκεανού", + iq: "Ιράκ", + ir: "Ιράν", + is: "Ισλανδία", + it: "Ιταλία", + je: "Τζέρζι", + jm: "Τζαμάικα", + jo: "Ιορδανία", + jp: "Ιαπωνία", + ke: "Κένυα", + kg: "Κιργιστάν", + kh: "Καμπότζη", + ki: "Κιριμπάτι", + km: "Κομόρες", + kn: "Σεν Κιτς και Νέβις", + kp: "Βόρεια Κορέα", + kr: "Νότια Κορέα", + kw: "Κουβέιτ", + ky: "Νήσοι Κέιμαν", + kz: "Καζακστάν", + la: "Λάος", + lb: "Λίβανος", + lc: "Αγία Λουκία", + li: "Λιχτενστάιν", + lk: "Σρι Λάνκα", + lr: "Λιβερία", + ls: "Λεσότο", + lt: "Λιθουανία", + lu: "Λουξεμβούργο", + lv: "Λετονία", + ly: "Λιβύη", + ma: "Μαρόκο", + mc: "Μονακό", + md: "Μολδαβία", + me: "Μαυροβούνιο", + mf: "Άγιος Μαρτίνος (Γαλλικό τμήμα)", + mg: "Μαδαγασκάρη", + mh: "Νήσοι Μάρσαλ", + mk: "Βόρεια Μακεδονία", + ml: "Μάλι", + mm: "Μιανμάρ (Βιρμανία)", + mn: "Μογγολία", + mo: "Μακάο ΕΔΠ Κίνας", + mp: "Νήσοι Βόρειες Μαριάνες", + mq: "Μαρτινίκα", + mr: "Μαυριτανία", + ms: "Μονσεράτ", + mt: "Μάλτα", + mu: "Μαυρίκιος", + mv: "Μαλδίβες", + mw: "Μαλάουι", + mx: "Μεξικό", + my: "Μαλαισία", + mz: "Μοζαμβίκη", + na: "Ναμίμπια", + nc: "Νέα Καληδονία", + ne: "Νίγηρας", + nf: "Νήσος Νόρφολκ", + ng: "Νιγηρία", + ni: "Νικαράγουα", + nl: "Ολλανδία", + no: "Νορβηγία", + np: "Νεπάλ", + nr: "Ναουρού", + nu: "Νιούε", + nz: "Νέα Ζηλανδία", + om: "Ομάν", + pa: "Παναμάς", + pe: "Περού", + pf: "Γαλλική Πολυνησία", + pg: "Παπούα Νέα Γουινέα", + ph: "Φιλιππίνες", + pk: "Πακιστάν", + pl: "Πολωνία", + pm: "Σεν Πιερ και Μικελόν", + pr: "Πουέρτο Ρίκο", + ps: "Παλαιστινιακά Εδάφη", + pt: "Πορτογαλία", + pw: "Παλάου", + py: "Παραγουάη", + qa: "Κατάρ", + re: "Ρεϊνιόν", + ro: "Ρουμανία", + rs: "Σερβία", + ru: "Ρωσία", + rw: "Ρουάντα", + sa: "Σαουδική Αραβία", + sb: "Νήσοι Σολομώντος", + sc: "Σεϋχέλλες", + sd: "Σουδάν", + se: "Σουηδία", + sg: "Σιγκαπούρη", + sh: "Αγία Ελένη", + si: "Σλοβενία", + sj: "Σβάλμπαρντ και Γιαν Μαγιέν", + sk: "Σλοβακία", + sl: "Σιέρα Λεόνε", + sm: "Άγιος Μαρίνος", + sn: "Σενεγάλη", + so: "Σομαλία", + sr: "Σουρινάμ", + ss: "Νότιο Σουδάν", + st: "Σάο Τομέ και Πρίνσιπε", + sv: "Ελ Σαλβαδόρ", + sx: "Άγιος Μαρτίνος (Ολλανδικό τμήμα)", + sy: "Συρία", + sz: "Σουαζιλάνδη", + tc: "Νήσοι Τερκς και Κάικος", + td: "Τσαντ", + tg: "Τόγκο", + th: "Ταϊλάνδη", + tj: "Τατζικιστάν", + tk: "Τοκελάου", + tl: "Τιμόρ-Λέστε", + tm: "Τουρκμενιστάν", + tn: "Τυνησία", + to: "Τόνγκα", + tr: "Τουρκία", + tt: "Τρινιντάντ και Τομπάγκο", + tv: "Τουβαλού", + tw: "Ταϊβάν", + tz: "Τανζανία", + ua: "Ουκρανία", + ug: "Ουγκάντα", + us: "Ηνωμένες Πολιτείες", + uy: "Ουρουγουάη", + uz: "Ουζμπεκιστάν", + va: "Βατικανό", + vc: "Άγιος Βικέντιος και Γρεναδίνες", + ve: "Βενεζουέλα", + vg: "Βρετανικές Παρθένες Νήσοι", + vi: "Αμερικανικές Παρθένες Νήσοι", + vn: "Βιετνάμ", + vu: "Βανουάτου", + wf: "Γουάλις και Φουτούνα", + ws: "Σαμόα", + ye: "Υεμένη", + yt: "Μαγιότ", + za: "Νότια Αφρική", + zm: "Ζάμπια", + zw: "Ζιμπάμπουε" +}; +export default countryTranslations; diff --git a/assets/intl-tel-input/js/i18n/el/index.js b/assets/intl-tel-input/js/i18n/el/index.js new file mode 100644 index 0000000..8c1c317 --- /dev/null +++ b/assets/intl-tel-input/js/i18n/el/index.js @@ -0,0 +1,5 @@ +import countryTranslations from "./countries.js"; +import interfaceTranslations from "./interface.js"; +export { countryTranslations, interfaceTranslations }; +const allTranslations = { ...countryTranslations, ...interfaceTranslations }; +export default allTranslations; diff --git a/assets/intl-tel-input/js/i18n/el/interface.js b/assets/intl-tel-input/js/i18n/el/interface.js new file mode 100644 index 0000000..39576e5 --- /dev/null +++ b/assets/intl-tel-input/js/i18n/el/interface.js @@ -0,0 +1,13 @@ +const interfaceTranslations = { + selectedCountryAriaLabel: "Επιλεγμένη χώρα", + noCountrySelected: "Δεν έχει επιλεγεί χώρα", + countryListAriaLabel: "Κατάλογος χωρών", + searchPlaceholder: "Αναζήτηση", + zeroSearchResults: "Δεν βρέθηκαν αποτελέσματα", + oneSearchResult: "Βρέθηκε 1 αποτέλεσμα", + multipleSearchResults: "Βρέθηκαν ${count} αποτελέσματα", + // additional countries (not supported by country-list library) + ac: "Νησί της Ανάληψης", + xk: "Κοσσυφοπέδιο" +}; +export default interfaceTranslations; diff --git a/assets/intl-tel-input/js/i18n/en/countries.js b/assets/intl-tel-input/js/i18n/en/countries.js new file mode 100644 index 0000000..d7bf3bb --- /dev/null +++ b/assets/intl-tel-input/js/i18n/en/countries.js @@ -0,0 +1,245 @@ +const countryTranslations = { + ad: "Andorra", + ae: "United Arab Emirates", + af: "Afghanistan", + ag: "Antigua & Barbuda", + ai: "Anguilla", + al: "Albania", + am: "Armenia", + ao: "Angola", + ar: "Argentina", + as: "American Samoa", + at: "Austria", + au: "Australia", + aw: "Aruba", + ax: "Åland Islands", + az: "Azerbaijan", + ba: "Bosnia & Herzegovina", + bb: "Barbados", + bd: "Bangladesh", + be: "Belgium", + bf: "Burkina Faso", + bg: "Bulgaria", + bh: "Bahrain", + bi: "Burundi", + bj: "Benin", + bl: "St. Barthélemy", + bm: "Bermuda", + bn: "Brunei", + bo: "Bolivia", + bq: "Caribbean Netherlands", + br: "Brazil", + bs: "Bahamas", + bt: "Bhutan", + bw: "Botswana", + by: "Belarus", + bz: "Belize", + ca: "Canada", + cc: "Cocos (Keeling) Islands", + cd: "Congo - Kinshasa", + cf: "Central African Republic", + cg: "Congo - Brazzaville", + ch: "Switzerland", + ci: "Côte d’Ivoire", + ck: "Cook Islands", + cl: "Chile", + cm: "Cameroon", + cn: "China", + co: "Colombia", + cr: "Costa Rica", + cu: "Cuba", + cv: "Cape Verde", + cw: "Curaçao", + cx: "Christmas Island", + cy: "Cyprus", + cz: "Czechia", + de: "Germany", + dj: "Djibouti", + dk: "Denmark", + dm: "Dominica", + do: "Dominican Republic", + dz: "Algeria", + ec: "Ecuador", + ee: "Estonia", + eg: "Egypt", + eh: "Western Sahara", + er: "Eritrea", + es: "Spain", + et: "Ethiopia", + fi: "Finland", + fj: "Fiji", + fk: "Falkland Islands", + fm: "Micronesia", + fo: "Faroe Islands", + fr: "France", + ga: "Gabon", + gb: "United Kingdom", + gd: "Grenada", + ge: "Georgia", + gf: "French Guiana", + gg: "Guernsey", + gh: "Ghana", + gi: "Gibraltar", + gl: "Greenland", + gm: "Gambia", + gn: "Guinea", + gp: "Guadeloupe", + gq: "Equatorial Guinea", + gr: "Greece", + gt: "Guatemala", + gu: "Guam", + gw: "Guinea-Bissau", + gy: "Guyana", + hk: "Hong Kong SAR China", + hn: "Honduras", + hr: "Croatia", + ht: "Haiti", + hu: "Hungary", + id: "Indonesia", + ie: "Ireland", + il: "Israel", + im: "Isle of Man", + in: "India", + io: "British Indian Ocean Territory", + iq: "Iraq", + ir: "Iran", + is: "Iceland", + it: "Italy", + je: "Jersey", + jm: "Jamaica", + jo: "Jordan", + jp: "Japan", + ke: "Kenya", + kg: "Kyrgyzstan", + kh: "Cambodia", + ki: "Kiribati", + km: "Comoros", + kn: "St. Kitts & Nevis", + kp: "North Korea", + kr: "South Korea", + kw: "Kuwait", + ky: "Cayman Islands", + kz: "Kazakhstan", + la: "Laos", + lb: "Lebanon", + lc: "St. Lucia", + li: "Liechtenstein", + lk: "Sri Lanka", + lr: "Liberia", + ls: "Lesotho", + lt: "Lithuania", + lu: "Luxembourg", + lv: "Latvia", + ly: "Libya", + ma: "Morocco", + mc: "Monaco", + md: "Moldova", + me: "Montenegro", + mf: "St. Martin", + mg: "Madagascar", + mh: "Marshall Islands", + mk: "North Macedonia", + ml: "Mali", + mm: "Myanmar (Burma)", + mn: "Mongolia", + mo: "Macao SAR China", + mp: "Northern Mariana Islands", + mq: "Martinique", + mr: "Mauritania", + ms: "Montserrat", + mt: "Malta", + mu: "Mauritius", + mv: "Maldives", + mw: "Malawi", + mx: "Mexico", + my: "Malaysia", + mz: "Mozambique", + na: "Namibia", + nc: "New Caledonia", + ne: "Niger", + nf: "Norfolk Island", + ng: "Nigeria", + ni: "Nicaragua", + nl: "Netherlands", + no: "Norway", + np: "Nepal", + nr: "Nauru", + nu: "Niue", + nz: "New Zealand", + om: "Oman", + pa: "Panama", + pe: "Peru", + pf: "French Polynesia", + pg: "Papua New Guinea", + ph: "Philippines", + pk: "Pakistan", + pl: "Poland", + pm: "St. Pierre & Miquelon", + pr: "Puerto Rico", + ps: "Palestinian Territories", + pt: "Portugal", + pw: "Palau", + py: "Paraguay", + qa: "Qatar", + re: "Réunion", + ro: "Romania", + rs: "Serbia", + ru: "Russia", + rw: "Rwanda", + sa: "Saudi Arabia", + sb: "Solomon Islands", + sc: "Seychelles", + sd: "Sudan", + se: "Sweden", + sg: "Singapore", + sh: "St. Helena", + si: "Slovenia", + sj: "Svalbard & Jan Mayen", + sk: "Slovakia", + sl: "Sierra Leone", + sm: "San Marino", + sn: "Senegal", + so: "Somalia", + sr: "Suriname", + ss: "South Sudan", + st: "São Tomé & Príncipe", + sv: "El Salvador", + sx: "Sint Maarten", + sy: "Syria", + sz: "Eswatini", + tc: "Turks & Caicos Islands", + td: "Chad", + tg: "Togo", + th: "Thailand", + tj: "Tajikistan", + tk: "Tokelau", + tl: "Timor-Leste", + tm: "Turkmenistan", + tn: "Tunisia", + to: "Tonga", + tr: "Turkey", + tt: "Trinidad & Tobago", + tv: "Tuvalu", + tw: "Taiwan", + tz: "Tanzania", + ua: "Ukraine", + ug: "Uganda", + us: "United States", + uy: "Uruguay", + uz: "Uzbekistan", + va: "Vatican City", + vc: "St. Vincent & Grenadines", + ve: "Venezuela", + vg: "British Virgin Islands", + vi: "U.S. Virgin Islands", + vn: "Vietnam", + vu: "Vanuatu", + wf: "Wallis & Futuna", + ws: "Samoa", + ye: "Yemen", + yt: "Mayotte", + za: "South Africa", + zm: "Zambia", + zw: "Zimbabwe" +}; +export default countryTranslations; diff --git a/assets/intl-tel-input/js/i18n/en/index.js b/assets/intl-tel-input/js/i18n/en/index.js new file mode 100644 index 0000000..8c1c317 --- /dev/null +++ b/assets/intl-tel-input/js/i18n/en/index.js @@ -0,0 +1,5 @@ +import countryTranslations from "./countries.js"; +import interfaceTranslations from "./interface.js"; +export { countryTranslations, interfaceTranslations }; +const allTranslations = { ...countryTranslations, ...interfaceTranslations }; +export default allTranslations; diff --git a/assets/intl-tel-input/js/i18n/en/interface.js b/assets/intl-tel-input/js/i18n/en/interface.js new file mode 100644 index 0000000..440de21 --- /dev/null +++ b/assets/intl-tel-input/js/i18n/en/interface.js @@ -0,0 +1,14 @@ +const interfaceTranslations = { + selectedCountryAriaLabel: "Change country, selected ${countryName} (${dialCode})", + noCountrySelected: "Select country", + countryListAriaLabel: "List of countries", + searchPlaceholder: "Search", + clearSearchAriaLabel: "Clear search", + zeroSearchResults: "No results found", + oneSearchResult: "1 result found", + multipleSearchResults: "${count} results found", + // additional countries (not supported by country-list library) + ac: "Ascension Island", + xk: "Kosovo" +}; +export default interfaceTranslations; diff --git a/assets/intl-tel-input/js/i18n/es/countries.js b/assets/intl-tel-input/js/i18n/es/countries.js new file mode 100644 index 0000000..d3c572f --- /dev/null +++ b/assets/intl-tel-input/js/i18n/es/countries.js @@ -0,0 +1,245 @@ +const countryTranslations = { + ad: "Andorra", + ae: "Emiratos Árabes Unidos", + af: "Afganistán", + ag: "Antigua y Barbuda", + ai: "Anguila", + al: "Albania", + am: "Armenia", + ao: "Angola", + ar: "Argentina", + as: "Samoa Americana", + at: "Austria", + au: "Australia", + aw: "Aruba", + ax: "Islas Åland", + az: "Azerbaiyán", + ba: "Bosnia y Herzegovina", + bb: "Barbados", + bd: "Bangladés", + be: "Bélgica", + bf: "Burkina Faso", + bg: "Bulgaria", + bh: "Baréin", + bi: "Burundi", + bj: "Benín", + bl: "San Bartolomé", + bm: "Bermudas", + bn: "Brunéi", + bo: "Bolivia", + bq: "Caribe neerlandés", + br: "Brasil", + bs: "Bahamas", + bt: "Bután", + bw: "Botsuana", + by: "Bielorrusia", + bz: "Belice", + ca: "Canadá", + cc: "Islas Cocos", + cd: "República Democrática del Congo", + cf: "República Centroafricana", + cg: "Congo", + ch: "Suiza", + ci: "Côte d’Ivoire", + ck: "Islas Cook", + cl: "Chile", + cm: "Camerún", + cn: "China", + co: "Colombia", + cr: "Costa Rica", + cu: "Cuba", + cv: "Cabo Verde", + cw: "Curazao", + cx: "Isla de Navidad", + cy: "Chipre", + cz: "Chequia", + de: "Alemania", + dj: "Yibuti", + dk: "Dinamarca", + dm: "Dominica", + do: "República Dominicana", + dz: "Argelia", + ec: "Ecuador", + ee: "Estonia", + eg: "Egipto", + eh: "Sáhara Occidental", + er: "Eritrea", + es: "España", + et: "Etiopía", + fi: "Finlandia", + fj: "Fiyi", + fk: "Islas Malvinas", + fm: "Micronesia", + fo: "Islas Feroe", + fr: "Francia", + ga: "Gabón", + gb: "Reino Unido", + gd: "Granada", + ge: "Georgia", + gf: "Guayana Francesa", + gg: "Guernsey", + gh: "Ghana", + gi: "Gibraltar", + gl: "Groenlandia", + gm: "Gambia", + gn: "Guinea", + gp: "Guadalupe", + gq: "Guinea Ecuatorial", + gr: "Grecia", + gt: "Guatemala", + gu: "Guam", + gw: "Guinea-Bisáu", + gy: "Guyana", + hk: "RAE de Hong Kong (China)", + hn: "Honduras", + hr: "Croacia", + ht: "Haití", + hu: "Hungría", + id: "Indonesia", + ie: "Irlanda", + il: "Israel", + im: "Isla de Man", + in: "India", + io: "Territorio Británico del Océano Índico", + iq: "Irak", + ir: "Irán", + is: "Islandia", + it: "Italia", + je: "Jersey", + jm: "Jamaica", + jo: "Jordania", + jp: "Japón", + ke: "Kenia", + kg: "Kirguistán", + kh: "Camboya", + ki: "Kiribati", + km: "Comoras", + kn: "San Cristóbal y Nieves", + kp: "Corea del Norte", + kr: "Corea del Sur", + kw: "Kuwait", + ky: "Islas Caimán", + kz: "Kazajistán", + la: "Laos", + lb: "Líbano", + lc: "Santa Lucía", + li: "Liechtenstein", + lk: "Sri Lanka", + lr: "Liberia", + ls: "Lesoto", + lt: "Lituania", + lu: "Luxemburgo", + lv: "Letonia", + ly: "Libia", + ma: "Marruecos", + mc: "Mónaco", + md: "Moldavia", + me: "Montenegro", + mf: "San Martín", + mg: "Madagascar", + mh: "Islas Marshall", + mk: "Macedonia del Norte", + ml: "Mali", + mm: "Myanmar (Birmania)", + mn: "Mongolia", + mo: "RAE de Macao (China)", + mp: "Islas Marianas del Norte", + mq: "Martinica", + mr: "Mauritania", + ms: "Montserrat", + mt: "Malta", + mu: "Mauricio", + mv: "Maldivas", + mw: "Malaui", + mx: "México", + my: "Malasia", + mz: "Mozambique", + na: "Namibia", + nc: "Nueva Caledonia", + ne: "Níger", + nf: "Isla Norfolk", + ng: "Nigeria", + ni: "Nicaragua", + nl: "Países Bajos", + no: "Noruega", + np: "Nepal", + nr: "Nauru", + nu: "Niue", + nz: "Nueva Zelanda", + om: "Omán", + pa: "Panamá", + pe: "Perú", + pf: "Polinesia Francesa", + pg: "Papúa Nueva Guinea", + ph: "Filipinas", + pk: "Pakistán", + pl: "Polonia", + pm: "San Pedro y Miquelón", + pr: "Puerto Rico", + ps: "Territorios Palestinos", + pt: "Portugal", + pw: "Palaos", + py: "Paraguay", + qa: "Catar", + re: "Reunión", + ro: "Rumanía", + rs: "Serbia", + ru: "Rusia", + rw: "Ruanda", + sa: "Arabia Saudí", + sb: "Islas Salomón", + sc: "Seychelles", + sd: "Sudán", + se: "Suecia", + sg: "Singapur", + sh: "Santa Elena", + si: "Eslovenia", + sj: "Svalbard y Jan Mayen", + sk: "Eslovaquia", + sl: "Sierra Leona", + sm: "San Marino", + sn: "Senegal", + so: "Somalia", + sr: "Surinam", + ss: "Sudán del Sur", + st: "Santo Tomé y Príncipe", + sv: "El Salvador", + sx: "Sint Maarten", + sy: "Siria", + sz: "Esuatini", + tc: "Islas Turcas y Caicos", + td: "Chad", + tg: "Togo", + th: "Tailandia", + tj: "Tayikistán", + tk: "Tokelau", + tl: "Timor-Leste", + tm: "Turkmenistán", + tn: "Túnez", + to: "Tonga", + tr: "Turquía", + tt: "Trinidad y Tobago", + tv: "Tuvalu", + tw: "Taiwán", + tz: "Tanzania", + ua: "Ucrania", + ug: "Uganda", + us: "Estados Unidos", + uy: "Uruguay", + uz: "Uzbekistán", + va: "Ciudad del Vaticano", + vc: "San Vicente y las Granadinas", + ve: "Venezuela", + vg: "Islas Vírgenes Británicas", + vi: "Islas Vírgenes de EE. UU.", + vn: "Vietnam", + vu: "Vanuatu", + wf: "Wallis y Futuna", + ws: "Samoa", + ye: "Yemen", + yt: "Mayotte", + za: "Sudáfrica", + zm: "Zambia", + zw: "Zimbabue" +}; +export default countryTranslations; diff --git a/assets/intl-tel-input/js/i18n/es/index.js b/assets/intl-tel-input/js/i18n/es/index.js new file mode 100644 index 0000000..8c1c317 --- /dev/null +++ b/assets/intl-tel-input/js/i18n/es/index.js @@ -0,0 +1,5 @@ +import countryTranslations from "./countries.js"; +import interfaceTranslations from "./interface.js"; +export { countryTranslations, interfaceTranslations }; +const allTranslations = { ...countryTranslations, ...interfaceTranslations }; +export default allTranslations; diff --git a/assets/intl-tel-input/js/i18n/es/interface.js b/assets/intl-tel-input/js/i18n/es/interface.js new file mode 100644 index 0000000..1c623ed --- /dev/null +++ b/assets/intl-tel-input/js/i18n/es/interface.js @@ -0,0 +1,13 @@ +const interfaceTranslations = { + selectedCountryAriaLabel: "País seleccionado", + noCountrySelected: "Ningún país seleccionado", + countryListAriaLabel: "Lista de países", + searchPlaceholder: "Buscar", + zeroSearchResults: "No se han encontrado resultados", + oneSearchResult: "1 resultado encontrado", + multipleSearchResults: "${count} resultados encontrados", + // additional countries (not supported by country-list library) + ac: "isla Ascencion", + xk: "Kosovo" +}; +export default interfaceTranslations; diff --git a/assets/intl-tel-input/js/i18n/fa/countries.js b/assets/intl-tel-input/js/i18n/fa/countries.js new file mode 100644 index 0000000..e8768e5 --- /dev/null +++ b/assets/intl-tel-input/js/i18n/fa/countries.js @@ -0,0 +1,245 @@ +const countryTranslations = { + ad: "آندورا", + ae: "امارات متحدهٔ عربی", + af: "افغانستان", + ag: "آنتیگوا و باربودا", + ai: "آنگویلا", + al: "آلبانی", + am: "ارمنستان", + ao: "آنگولا", + ar: "آرژانتین", + as: "ساموآی امریکا", + at: "اتریش", + au: "استرالیا", + aw: "آروبا", + ax: "جزایر آلاند", + az: "جمهوری آذربایجان", + ba: "بوسنی و هرزگوین", + bb: "باربادوس", + bd: "بنگلادش", + be: "بلژیک", + bf: "بورکینافاسو", + bg: "بلغارستان", + bh: "بحرین", + bi: "بوروندی", + bj: "بنین", + bl: "سن بارتلمی", + bm: "برمودا", + bn: "برونئی", + bo: "بولیوی", + bq: "جزایر کارائیب هلند", + br: "برزیل", + bs: "باهاما", + bt: "بوتان", + bw: "بوتسوانا", + by: "بلاروس", + bz: "بلیز", + ca: "کانادا", + cc: "جزایر کوکوس", + cd: "کنگو - کینشاسا", + cf: "جمهوری افریقای مرکزی", + cg: "کنگو - برازویل", + ch: "سوئیس", + ci: "ساحل عاج", + ck: "جزایر کوک", + cl: "شیلی", + cm: "کامرون", + cn: "چین", + co: "کلمبیا", + cr: "کاستاریکا", + cu: "کوبا", + cv: "کیپ‌ورد", + cw: "کوراسائو", + cx: "جزیرهٔ کریسمس", + cy: "قبرس", + cz: "چک", + de: "آلمان", + dj: "جیبوتی", + dk: "دانمارک", + dm: "دومینیکا", + do: "جمهوری دومینیکن", + dz: "الجزایر", + ec: "اکوادور", + ee: "استونی", + eg: "مصر", + eh: "صحرای غربی", + er: "اریتره", + es: "اسپانیا", + et: "اتیوپی", + fi: "فنلاند", + fj: "فیجی", + fk: "جزایر فالکلند", + fm: "میکرونزی", + fo: "جزایر فارو", + fr: "فرانسه", + ga: "گابن", + gb: "بریتانیا", + gd: "گرنادا", + ge: "گرجستان", + gf: "گویان فرانسه", + gg: "گرنزی", + gh: "غنا", + gi: "جبل‌الطارق", + gl: "گرینلند", + gm: "گامبیا", + gn: "گینه", + gp: "گوادلوپ", + gq: "گینهٔ استوایی", + gr: "یونان", + gt: "گواتمالا", + gu: "گوام", + gw: "گینهٔ بیسائو", + gy: "گویان", + hk: "هنگ‌کنگ، منطقهٔ ویژهٔ اداری چین", + hn: "هندوراس", + hr: "کرواسی", + ht: "هائیتی", + hu: "مجارستان", + id: "اندونزی", + ie: "ایرلند", + il: "اسرائیل", + im: "جزیرهٔ من", + in: "هند", + io: "قلمرو بریتانیا در اقیانوس هند", + iq: "عراق", + ir: "ایران", + is: "ایسلند", + it: "ایتالیا", + je: "جرزی", + jm: "جامائیکا", + jo: "اردن", + jp: "ژاپن", + ke: "کنیا", + kg: "قرقیزستان", + kh: "کامبوج", + ki: "کیریباتی", + km: "کومور", + kn: "سنت کیتس و نویس", + kp: "کرهٔ شمالی", + kr: "کرهٔ جنوبی", + kw: "کویت", + ky: "جزایر کِیمن", + kz: "قزاقستان", + la: "لائوس", + lb: "لبنان", + lc: "سنت لوسیا", + li: "لیختن‌اشتاین", + lk: "سری‌لانکا", + lr: "لیبریا", + ls: "لسوتو", + lt: "لیتوانی", + lu: "لوکزامبورگ", + lv: "لتونی", + ly: "لیبی", + ma: "مراکش", + mc: "موناکو", + md: "مولداوی", + me: "مونته‌نگرو", + mf: "سنت مارتین", + mg: "ماداگاسکار", + mh: "جزایر مارشال", + mk: "مقدونیهٔ شمالی", + ml: "مالی", + mm: "میانمار (برمه)", + mn: "مغولستان", + mo: "ماکائو، منطقهٔ ویژهٔ اداری چین", + mp: "جزایر ماریانای شمالی", + mq: "مارتینیک", + mr: "موریتانی", + ms: "مونت‌سرات", + mt: "مالت", + mu: "موریس", + mv: "مالدیو", + mw: "مالاوی", + mx: "مکزیک", + my: "مالزی", + mz: "موزامبیک", + na: "نامیبیا", + nc: "کالدونیای جدید", + ne: "نیجر", + nf: "جزیرهٔ نورفولک", + ng: "نیجریه", + ni: "نیکاراگوئه", + nl: "هلند", + no: "نروژ", + np: "نپال", + nr: "نائورو", + nu: "نیوئه", + nz: "نیوزیلند", + om: "عمان", + pa: "پاناما", + pe: "پرو", + pf: "پلی‌نزی فرانسه", + pg: "پاپوا گینهٔ نو", + ph: "فیلیپین", + pk: "پاکستان", + pl: "لهستان", + pm: "سن پیر و میکلن", + pr: "پورتوریکو", + ps: "سرزمین‌های فلسطینی", + pt: "پرتغال", + pw: "پالائو", + py: "پاراگوئه", + qa: "قطر", + re: "رئونیون", + ro: "رومانی", + rs: "صربستان", + ru: "روسیه", + rw: "رواندا", + sa: "عربستان سعودی", + sb: "جزایر سلیمان", + sc: "سیشل", + sd: "سودان", + se: "سوئد", + sg: "سنگاپور", + sh: "سنت هلن", + si: "اسلوونی", + sj: "سوالبارد و یان ماین", + sk: "اسلواکی", + sl: "سیرالئون", + sm: "سان‌مارینو", + sn: "سنگال", + so: "سومالی", + sr: "سورینام", + ss: "سودان جنوبی", + st: "سائوتومه و پرینسیپ", + sv: "السالوادور", + sx: "سنت مارتن", + sy: "سوریه", + sz: "اسواتینی", + tc: "جزایر تورکس و کایکوس", + td: "چاد", + tg: "توگو", + th: "تایلند", + tj: "تاجیکستان", + tk: "توکلائو", + tl: "تیمور-لسته", + tm: "ترکمنستان", + tn: "تونس", + to: "تونگا", + tr: "ترکیه", + tt: "ترینیداد و توباگو", + tv: "تووالو", + tw: "تایوان", + tz: "تانزانیا", + ua: "اوکراین", + ug: "اوگاندا", + us: "ایالات متحده", + uy: "اروگوئه", + uz: "ازبکستان", + va: "واتیکان", + vc: "سنت وینسنت و گرنادین", + ve: "ونزوئلا", + vg: "جزایر ویرجین بریتانیا", + vi: "جزایر ویرجین ایالات متحده", + vn: "ویتنام", + vu: "وانواتو", + wf: "والیس و فوتونا", + ws: "ساموآ", + ye: "یمن", + yt: "مایوت", + za: "افریقای جنوبی", + zm: "زامبیا", + zw: "زیمبابوه" +}; +export default countryTranslations; diff --git a/assets/intl-tel-input/js/i18n/fa/index.js b/assets/intl-tel-input/js/i18n/fa/index.js new file mode 100644 index 0000000..8c1c317 --- /dev/null +++ b/assets/intl-tel-input/js/i18n/fa/index.js @@ -0,0 +1,5 @@ +import countryTranslations from "./countries.js"; +import interfaceTranslations from "./interface.js"; +export { countryTranslations, interfaceTranslations }; +const allTranslations = { ...countryTranslations, ...interfaceTranslations }; +export default allTranslations; diff --git a/assets/intl-tel-input/js/i18n/fa/interface.js b/assets/intl-tel-input/js/i18n/fa/interface.js new file mode 100644 index 0000000..0c50402 --- /dev/null +++ b/assets/intl-tel-input/js/i18n/fa/interface.js @@ -0,0 +1,13 @@ +const interfaceTranslations = { + selectedCountryAriaLabel: "کشور انتخاب شده", + noCountrySelected: "هیچ کشوری انتخاب نشده است", + countryListAriaLabel: "لیست کشورها", + searchPlaceholder: "جستجو", + zeroSearchResults: "هیچ نتیجه‌ای یافت نشد", + oneSearchResult: "1 نتیجه یافت شد", + multipleSearchResults: "${count} نتیجه یافت شد", + // additional countries (not supported by country-list library) + ac: "جزیره اسنشن", + xk: "کوزوو" +}; +export default interfaceTranslations; diff --git a/assets/intl-tel-input/js/i18n/fi/countries.js b/assets/intl-tel-input/js/i18n/fi/countries.js new file mode 100644 index 0000000..f33b179 --- /dev/null +++ b/assets/intl-tel-input/js/i18n/fi/countries.js @@ -0,0 +1,245 @@ +const countryTranslations = { + ad: "Andorra", + ae: "Arabiemiirikunnat", + af: "Afganistan", + ag: "Antigua ja Barbuda", + ai: "Anguilla", + al: "Albania", + am: "Armenia", + ao: "Angola", + ar: "Argentiina", + as: "Amerikan Samoa", + at: "Itävalta", + au: "Australia", + aw: "Aruba", + ax: "Ahvenanmaa", + az: "Azerbaidžan", + ba: "Bosnia ja Hertsegovina", + bb: "Barbados", + bd: "Bangladesh", + be: "Belgia", + bf: "Burkina Faso", + bg: "Bulgaria", + bh: "Bahrain", + bi: "Burundi", + bj: "Benin", + bl: "Saint-Barthélemy", + bm: "Bermuda", + bn: "Brunei", + bo: "Bolivia", + bq: "Karibian Alankomaat", + br: "Brasilia", + bs: "Bahama", + bt: "Bhutan", + bw: "Botswana", + by: "Valko-Venäjä", + bz: "Belize", + ca: "Kanada", + cc: "Kookossaaret (Keelingsaaret)", + cd: "Kongon demokraattinen tasavalta", + cf: "Keski-Afrikan tasavalta", + cg: "Kongon tasavalta", + ch: "Sveitsi", + ci: "Norsunluurannikko", + ck: "Cookinsaaret", + cl: "Chile", + cm: "Kamerun", + cn: "Kiina", + co: "Kolumbia", + cr: "Costa Rica", + cu: "Kuuba", + cv: "Kap Verde", + cw: "Curaçao", + cx: "Joulusaari", + cy: "Kypros", + cz: "Tšekki", + de: "Saksa", + dj: "Djibouti", + dk: "Tanska", + dm: "Dominica", + do: "Dominikaaninen tasavalta", + dz: "Algeria", + ec: "Ecuador", + ee: "Viro", + eg: "Egypti", + eh: "Länsi-Sahara", + er: "Eritrea", + es: "Espanja", + et: "Etiopia", + fi: "Suomi", + fj: "Fidži", + fk: "Falklandinsaaret", + fm: "Mikronesian liittovaltio", + fo: "Färsaaret", + fr: "Ranska", + ga: "Gabon", + gb: "Iso-Britannia", + gd: "Grenada", + ge: "Georgia", + gf: "Ranskan Guayana", + gg: "Guernsey", + gh: "Ghana", + gi: "Gibraltar", + gl: "Grönlanti", + gm: "Gambia", + gn: "Guinea", + gp: "Guadeloupe", + gq: "Päiväntasaajan Guinea", + gr: "Kreikka", + gt: "Guatemala", + gu: "Guam", + gw: "Guinea-Bissau", + gy: "Guyana", + hk: "Hongkong – Kiinan e.h.a.", + hn: "Honduras", + hr: "Kroatia", + ht: "Haiti", + hu: "Unkari", + id: "Indonesia", + ie: "Irlanti", + il: "Israel", + im: "Mansaari", + in: "Intia", + io: "Brittiläinen Intian valtameren alue", + iq: "Irak", + ir: "Iran", + is: "Islanti", + it: "Italia", + je: "Jersey", + jm: "Jamaika", + jo: "Jordania", + jp: "Japani", + ke: "Kenia", + kg: "Kirgisia", + kh: "Kambodža", + ki: "Kiribati", + km: "Komorit", + kn: "Saint Kitts ja Nevis", + kp: "Pohjois-Korea", + kr: "Etelä-Korea", + kw: "Kuwait", + ky: "Caymansaaret", + kz: "Kazakstan", + la: "Laos", + lb: "Libanon", + lc: "Saint Lucia", + li: "Liechtenstein", + lk: "Sri Lanka", + lr: "Liberia", + ls: "Lesotho", + lt: "Liettua", + lu: "Luxemburg", + lv: "Latvia", + ly: "Libya", + ma: "Marokko", + mc: "Monaco", + md: "Moldova", + me: "Montenegro", + mf: "Saint-Martin", + mg: "Madagaskar", + mh: "Marshallinsaaret", + mk: "Pohjois-Makedonia", + ml: "Mali", + mm: "Myanmar (Burma)", + mn: "Mongolia", + mo: "Macao – Kiinan e.h.a.", + mp: "Pohjois-Mariaanit", + mq: "Martinique", + mr: "Mauritania", + ms: "Montserrat", + mt: "Malta", + mu: "Mauritius", + mv: "Malediivit", + mw: "Malawi", + mx: "Meksiko", + my: "Malesia", + mz: "Mosambik", + na: "Namibia", + nc: "Uusi-Kaledonia", + ne: "Niger", + nf: "Norfolkinsaari", + ng: "Nigeria", + ni: "Nicaragua", + nl: "Alankomaat", + no: "Norja", + np: "Nepal", + nr: "Nauru", + nu: "Niue", + nz: "Uusi-Seelanti", + om: "Oman", + pa: "Panama", + pe: "Peru", + pf: "Ranskan Polynesia", + pg: "Papua-Uusi-Guinea", + ph: "Filippiinit", + pk: "Pakistan", + pl: "Puola", + pm: "Saint-Pierre ja Miquelon", + pr: "Puerto Rico", + ps: "Palestiinalaisalueet", + pt: "Portugali", + pw: "Palau", + py: "Paraguay", + qa: "Qatar", + re: "Réunion", + ro: "Romania", + rs: "Serbia", + ru: "Venäjä", + rw: "Ruanda", + sa: "Saudi-Arabia", + sb: "Salomonsaaret", + sc: "Seychellit", + sd: "Sudan", + se: "Ruotsi", + sg: "Singapore", + sh: "Saint Helena", + si: "Slovenia", + sj: "Huippuvuoret ja Jan Mayen", + sk: "Slovakia", + sl: "Sierra Leone", + sm: "San Marino", + sn: "Senegal", + so: "Somalia", + sr: "Suriname", + ss: "Etelä-Sudan", + st: "São Tomé ja Príncipe", + sv: "El Salvador", + sx: "Sint Maarten", + sy: "Syyria", + sz: "Swazimaa", + tc: "Turks- ja Caicossaaret", + td: "Tšad", + tg: "Togo", + th: "Thaimaa", + tj: "Tadžikistan", + tk: "Tokelau", + tl: "Itä-Timor", + tm: "Turkmenistan", + tn: "Tunisia", + to: "Tonga", + tr: "Turkki", + tt: "Trinidad ja Tobago", + tv: "Tuvalu", + tw: "Taiwan", + tz: "Tansania", + ua: "Ukraina", + ug: "Uganda", + us: "Yhdysvallat", + uy: "Uruguay", + uz: "Uzbekistan", + va: "Vatikaani", + vc: "Saint Vincent ja Grenadiinit", + ve: "Venezuela", + vg: "Brittiläiset Neitsytsaaret", + vi: "Yhdysvaltain Neitsytsaaret", + vn: "Vietnam", + vu: "Vanuatu", + wf: "Wallis ja Futuna", + ws: "Samoa", + ye: "Jemen", + yt: "Mayotte", + za: "Etelä-Afrikka", + zm: "Sambia", + zw: "Zimbabwe" +}; +export default countryTranslations; diff --git a/assets/intl-tel-input/js/i18n/fi/index.js b/assets/intl-tel-input/js/i18n/fi/index.js new file mode 100644 index 0000000..8c1c317 --- /dev/null +++ b/assets/intl-tel-input/js/i18n/fi/index.js @@ -0,0 +1,5 @@ +import countryTranslations from "./countries.js"; +import interfaceTranslations from "./interface.js"; +export { countryTranslations, interfaceTranslations }; +const allTranslations = { ...countryTranslations, ...interfaceTranslations }; +export default allTranslations; diff --git a/assets/intl-tel-input/js/i18n/fi/interface.js b/assets/intl-tel-input/js/i18n/fi/interface.js new file mode 100644 index 0000000..2f66fdd --- /dev/null +++ b/assets/intl-tel-input/js/i18n/fi/interface.js @@ -0,0 +1,13 @@ +const interfaceTranslations = { + "selectedCountryAriaLabel": "Valittu maa", + "noCountrySelected": "Maata ei ole valittu", + "countryListAriaLabel": "Luettelo maista", + "searchPlaceholder": "Haku", + "zeroSearchResults": "Ei tuloksia", + "oneSearchResult": "1 tulos löytyi", + "multipleSearchResults": "${count} tulosta löytyi", + // additional countries (not supported by country-list library) + "ac": "Ascension", + "xk": "Kosovo" +}; +export default interfaceTranslations; diff --git a/assets/intl-tel-input/js/i18n/fr/countries.js b/assets/intl-tel-input/js/i18n/fr/countries.js new file mode 100644 index 0000000..599f918 --- /dev/null +++ b/assets/intl-tel-input/js/i18n/fr/countries.js @@ -0,0 +1,245 @@ +const countryTranslations = { + ad: "Andorre", + ae: "Émirats arabes unis", + af: "Afghanistan", + ag: "Antigua-et-Barbuda", + ai: "Anguilla", + al: "Albanie", + am: "Arménie", + ao: "Angola", + ar: "Argentine", + as: "Samoa américaines", + at: "Autriche", + au: "Australie", + aw: "Aruba", + ax: "Îles Åland", + az: "Azerbaïdjan", + ba: "Bosnie-Herzégovine", + bb: "Barbade", + bd: "Bangladesh", + be: "Belgique", + bf: "Burkina Faso", + bg: "Bulgarie", + bh: "Bahreïn", + bi: "Burundi", + bj: "Bénin", + bl: "Saint-Barthélemy", + bm: "Bermudes", + bn: "Brunéi Darussalam", + bo: "Bolivie", + bq: "Pays-Bas caribéens", + br: "Brésil", + bs: "Bahamas", + bt: "Bhoutan", + bw: "Botswana", + by: "Biélorussie", + bz: "Belize", + ca: "Canada", + cc: "Îles Cocos", + cd: "Congo-Kinshasa", + cf: "République centrafricaine", + cg: "Congo-Brazzaville", + ch: "Suisse", + ci: "Côte d’Ivoire", + ck: "Îles Cook", + cl: "Chili", + cm: "Cameroun", + cn: "Chine", + co: "Colombie", + cr: "Costa Rica", + cu: "Cuba", + cv: "Cap-Vert", + cw: "Curaçao", + cx: "Île Christmas", + cy: "Chypre", + cz: "Tchéquie", + de: "Allemagne", + dj: "Djibouti", + dk: "Danemark", + dm: "Dominique", + do: "République dominicaine", + dz: "Algérie", + ec: "Équateur", + ee: "Estonie", + eg: "Égypte", + eh: "Sahara occidental", + er: "Érythrée", + es: "Espagne", + et: "Éthiopie", + fi: "Finlande", + fj: "Fidji", + fk: "Îles Malouines", + fm: "États fédérés de Micronésie", + fo: "Îles Féroé", + fr: "France", + ga: "Gabon", + gb: "Royaume-Uni", + gd: "Grenade", + ge: "Géorgie", + gf: "Guyane française", + gg: "Guernesey", + gh: "Ghana", + gi: "Gibraltar", + gl: "Groenland", + gm: "Gambie", + gn: "Guinée", + gp: "Guadeloupe", + gq: "Guinée équatoriale", + gr: "Grèce", + gt: "Guatemala", + gu: "Guam", + gw: "Guinée-Bissau", + gy: "Guyana", + hk: "R.A.S. chinoise de Hong Kong", + hn: "Honduras", + hr: "Croatie", + ht: "Haïti", + hu: "Hongrie", + id: "Indonésie", + ie: "Irlande", + il: "Israël", + im: "Île de Man", + in: "Inde", + io: "Territoire britannique de l’océan Indien", + iq: "Irak", + ir: "Iran", + is: "Islande", + it: "Italie", + je: "Jersey", + jm: "Jamaïque", + jo: "Jordanie", + jp: "Japon", + ke: "Kenya", + kg: "Kirghizistan", + kh: "Cambodge", + ki: "Kiribati", + km: "Comores", + kn: "Saint-Christophe-et-Niévès", + kp: "Corée du Nord", + kr: "Corée du Sud", + kw: "Koweït", + ky: "Îles Caïmans", + kz: "Kazakhstan", + la: "Laos", + lb: "Liban", + lc: "Sainte-Lucie", + li: "Liechtenstein", + lk: "Sri Lanka", + lr: "Libéria", + ls: "Lesotho", + lt: "Lituanie", + lu: "Luxembourg", + lv: "Lettonie", + ly: "Libye", + ma: "Maroc", + mc: "Monaco", + md: "Moldavie", + me: "Monténégro", + mf: "Saint-Martin", + mg: "Madagascar", + mh: "Îles Marshall", + mk: "Macédoine du Nord", + ml: "Mali", + mm: "Myanmar (Birmanie)", + mn: "Mongolie", + mo: "R.A.S. chinoise de Macao", + mp: "Îles Mariannes du Nord", + mq: "Martinique", + mr: "Mauritanie", + ms: "Montserrat", + mt: "Malte", + mu: "Maurice", + mv: "Maldives", + mw: "Malawi", + mx: "Mexique", + my: "Malaisie", + mz: "Mozambique", + na: "Namibie", + nc: "Nouvelle-Calédonie", + ne: "Niger", + nf: "Île Norfolk", + ng: "Nigéria", + ni: "Nicaragua", + nl: "Pays-Bas", + no: "Norvège", + np: "Népal", + nr: "Nauru", + nu: "Niue", + nz: "Nouvelle-Zélande", + om: "Oman", + pa: "Panama", + pe: "Pérou", + pf: "Polynésie française", + pg: "Papouasie-Nouvelle-Guinée", + ph: "Philippines", + pk: "Pakistan", + pl: "Pologne", + pm: "Saint-Pierre-et-Miquelon", + pr: "Porto Rico", + ps: "Territoires palestiniens", + pt: "Portugal", + pw: "Palaos", + py: "Paraguay", + qa: "Qatar", + re: "La Réunion", + ro: "Roumanie", + rs: "Serbie", + ru: "Russie", + rw: "Rwanda", + sa: "Arabie saoudite", + sb: "Îles Salomon", + sc: "Seychelles", + sd: "Soudan", + se: "Suède", + sg: "Singapour", + sh: "Sainte-Hélène", + si: "Slovénie", + sj: "Svalbard et Jan Mayen", + sk: "Slovaquie", + sl: "Sierra Leone", + sm: "Saint-Marin", + sn: "Sénégal", + so: "Somalie", + sr: "Suriname", + ss: "Soudan du Sud", + st: "Sao Tomé-et-Principe", + sv: "Salvador", + sx: "Saint-Martin (partie néerlandaise)", + sy: "Syrie", + sz: "Eswatini", + tc: "Îles Turques-et-Caïques", + td: "Tchad", + tg: "Togo", + th: "Thaïlande", + tj: "Tadjikistan", + tk: "Tokelau", + tl: "Timor oriental", + tm: "Turkménistan", + tn: "Tunisie", + to: "Tonga", + tr: "Turquie", + tt: "Trinité-et-Tobago", + tv: "Tuvalu", + tw: "Taïwan", + tz: "Tanzanie", + ua: "Ukraine", + ug: "Ouganda", + us: "États-Unis", + uy: "Uruguay", + uz: "Ouzbékistan", + va: "État de la Cité du Vatican", + vc: "Saint-Vincent-et-les-Grenadines", + ve: "Venezuela", + vg: "Îles Vierges britanniques", + vi: "Îles Vierges des États-Unis", + vn: "Vietnam", + vu: "Vanuatu", + wf: "Wallis-et-Futuna", + ws: "Samoa", + ye: "Yémen", + yt: "Mayotte", + za: "Afrique du Sud", + zm: "Zambie", + zw: "Zimbabwe" +}; +export default countryTranslations; diff --git a/assets/intl-tel-input/js/i18n/fr/index.js b/assets/intl-tel-input/js/i18n/fr/index.js new file mode 100644 index 0000000..8c1c317 --- /dev/null +++ b/assets/intl-tel-input/js/i18n/fr/index.js @@ -0,0 +1,5 @@ +import countryTranslations from "./countries.js"; +import interfaceTranslations from "./interface.js"; +export { countryTranslations, interfaceTranslations }; +const allTranslations = { ...countryTranslations, ...interfaceTranslations }; +export default allTranslations; diff --git a/assets/intl-tel-input/js/i18n/fr/interface.js b/assets/intl-tel-input/js/i18n/fr/interface.js new file mode 100644 index 0000000..ea4aa3e --- /dev/null +++ b/assets/intl-tel-input/js/i18n/fr/interface.js @@ -0,0 +1,13 @@ +const interfaceTranslations = { + selectedCountryAriaLabel: "Pays sélectionné", + noCountrySelected: "Aucun pays sélectionné", + countryListAriaLabel: "Liste des pays", + searchPlaceholder: "Recherche", + zeroSearchResults: "Aucun résultat trouvé", + oneSearchResult: "1 résultat trouvé", + multipleSearchResults: "${count} résultats trouvés", + // additional countries (not supported by country-list library) + ac: "Île de l'Ascension", + xk: "Kosovo" +}; +export default interfaceTranslations; diff --git a/assets/intl-tel-input/js/i18n/hi/countries.js b/assets/intl-tel-input/js/i18n/hi/countries.js new file mode 100644 index 0000000..8ef1ffa --- /dev/null +++ b/assets/intl-tel-input/js/i18n/hi/countries.js @@ -0,0 +1,245 @@ +const countryTranslations = { + ad: "एंडोरा", + ae: "संयुक्त अरब अमीरात", + af: "अफ़गानिस्तान", + ag: "एंटिगुआ और बरबुडा", + ai: "एंग्विला", + al: "अल्बानिया", + am: "आर्मेनिया", + ao: "अंगोला", + ar: "अर्जेंटीना", + as: "अमेरिकी समोआ", + at: "ऑस्ट्रिया", + au: "ऑस्ट्रेलिया", + aw: "अरूबा", + ax: "एलैंड द्वीपसमूह", + az: "अज़रबैजान", + ba: "बोस्निया और हर्ज़ेगोविना", + bb: "बारबाडोस", + bd: "बांग्लादेश", + be: "बेल्जियम", + bf: "बुर्किना फ़ासो", + bg: "बुल्गारिया", + bh: "बहरीन", + bi: "बुरुंडी", + bj: "बेनिन", + bl: "सेंट बार्थेलेमी", + bm: "बरमूडा", + bn: "ब्रूनेई", + bo: "बोलीविया", + bq: "कैरिबियन नीदरलैंड", + br: "ब्राज़ील", + bs: "बहामास", + bt: "भूटान", + bw: "बोत्स्वाना", + by: "बेलारूस", + bz: "बेलीज़", + ca: "कनाडा", + cc: "कोकोस (कीलिंग) द्वीपसमूह", + cd: "कांगो - किंशासा", + cf: "मध्य अफ़्रीकी गणराज्य", + cg: "कांगो – ब्राज़ाविल", + ch: "स्विट्ज़रलैंड", + ci: "कोट डी आइवर", + ck: "कुक द्वीपसमूह", + cl: "चिली", + cm: "कैमरून", + cn: "चीन", + co: "कोलंबिया", + cr: "कोस्टारिका", + cu: "क्यूबा", + cv: "केप वर्ड", + cw: "क्यूरासाओ", + cx: "क्रिसमस द्वीप", + cy: "साइप्रस", + cz: "चेकिया", + de: "जर्मनी", + dj: "जिबूती", + dk: "डेनमार्क", + dm: "डोमिनिका", + do: "डोमिनिकन गणराज्य", + dz: "अल्जीरिया", + ec: "इक्वाडोर", + ee: "एस्टोनिया", + eg: "मिस्र", + eh: "पश्चिमी सहारा", + er: "इरिट्रिया", + es: "स्पेन", + et: "इथियोपिया", + fi: "फ़िनलैंड", + fj: "फ़िजी", + fk: "फ़ॉकलैंड द्वीपसमूह", + fm: "माइक्रोनेशिया", + fo: "फ़ेरो द्वीपसमूह", + fr: "फ़्रांस", + ga: "गैबॉन", + gb: "यूनाइटेड किंगडम", + gd: "ग्रेनाडा", + ge: "जॉर्जिया", + gf: "फ़्रेंच गुयाना", + gg: "गर्नसी", + gh: "घाना", + gi: "जिब्राल्टर", + gl: "ग्रीनलैंड", + gm: "गाम्बिया", + gn: "गिनी", + gp: "ग्वाडेलूप", + gq: "इक्वेटोरियल गिनी", + gr: "यूनान", + gt: "ग्वाटेमाला", + gu: "गुआम", + gw: "गिनी-बिसाउ", + gy: "गुयाना", + hk: "हाँग काँग (चीन विशेष प्रशासनिक क्षेत्र)", + hn: "होंडूरास", + hr: "क्रोएशिया", + ht: "हैती", + hu: "हंगरी", + id: "इंडोनेशिया", + ie: "आयरलैंड", + il: "इज़राइल", + im: "आइल ऑफ़ मैन", + in: "भारत", + io: "ब्रिटिश हिंद महासागरीय क्षेत्र", + iq: "इराक", + ir: "ईरान", + is: "आइसलैंड", + it: "इटली", + je: "जर्सी", + jm: "जमैका", + jo: "जॉर्डन", + jp: "जापान", + ke: "केन्या", + kg: "किर्गिज़स्तान", + kh: "कंबोडिया", + ki: "किरिबाती", + km: "कोमोरोस", + kn: "सेंट किट्स और नेविस", + kp: "उत्तर कोरिया", + kr: "दक्षिण कोरिया", + kw: "कुवैत", + ky: "कैमेन द्वीपसमूह", + kz: "कज़ाखस्तान", + la: "लाओस", + lb: "लेबनान", + lc: "सेंट लूसिया", + li: "लिचेंस्टीन", + lk: "श्रीलंका", + lr: "लाइबेरिया", + ls: "लेसोथो", + lt: "लिथुआनिया", + lu: "लग्ज़मबर्ग", + lv: "लातविया", + ly: "लीबिया", + ma: "मोरक्को", + mc: "मोनाको", + md: "मॉल्डोवा", + me: "मोंटेनेग्रो", + mf: "सेंट मार्टिन", + mg: "मेडागास्कर", + mh: "मार्शल द्वीपसमूह", + mk: "उत्तरी मकदूनिया", + ml: "माली", + mm: "म्यांमार (बर्मा)", + mn: "मंगोलिया", + mo: "मकाऊ (विशेष प्रशासनिक क्षेत्र चीन)", + mp: "उत्तरी मारियाना द्वीपसमूह", + mq: "मार्टीनिक", + mr: "मॉरिटानिया", + ms: "मोंटसेरात", + mt: "माल्टा", + mu: "मॉरीशस", + mv: "मालदीव", + mw: "मलावी", + mx: "मैक्सिको", + my: "मलेशिया", + mz: "मोज़ांबिक", + na: "नामीबिया", + nc: "न्यू कैलेडोनिया", + ne: "नाइजर", + nf: "नॉरफ़ॉक द्वीप", + ng: "नाइजीरिया", + ni: "निकारागुआ", + nl: "नीदरलैंड", + no: "नॉर्वे", + np: "नेपाल", + nr: "नाउरु", + nu: "नीयू", + nz: "न्यूज़ीलैंड", + om: "ओमान", + pa: "पनामा", + pe: "पेरू", + pf: "फ़्रेंच पोलिनेशिया", + pg: "पापुआ न्यू गिनी", + ph: "फ़िलिपींस", + pk: "पाकिस्तान", + pl: "पोलैंड", + pm: "सेंट पिएरे और मिक्वेलान", + pr: "पोर्टो रिको", + ps: "फ़िलिस्तीनी क्षेत्र", + pt: "पुर्तगाल", + pw: "पलाऊ", + py: "पराग्वे", + qa: "क़तर", + re: "रियूनियन", + ro: "रोमानिया", + rs: "सर्बिया", + ru: "रूस", + rw: "रवांडा", + sa: "सऊदी अरब", + sb: "सोलोमन द्वीपसमूह", + sc: "सेशेल्स", + sd: "सूडान", + se: "स्वीडन", + sg: "सिंगापुर", + sh: "सेंट हेलेना", + si: "स्लोवेनिया", + sj: "स्वालबार्ड और जान मायेन", + sk: "स्लोवाकिया", + sl: "सिएरा लियोन", + sm: "सैन मेरीनो", + sn: "सेनेगल", + so: "सोमालिया", + sr: "सूरीनाम", + ss: "दक्षिण सूडान", + st: "साओ टोम और प्रिंसिपे", + sv: "अल सल्वाडोर", + sx: "सिंट मार्टिन", + sy: "सीरिया", + sz: "स्वाज़ीलैंड", + tc: "तुर्क और कैकोज़ द्वीपसमूह", + td: "चाड", + tg: "टोगो", + th: "थाईलैंड", + tj: "ताज़िकिस्तान", + tk: "तोकेलाउ", + tl: "तिमोर-लेस्त", + tm: "तुर्कमेनिस्तान", + tn: "ट्यूनीशिया", + to: "टोंगा", + tr: "तुर्की", + tt: "त्रिनिदाद और टोबैगो", + tv: "तुवालू", + tw: "ताइवान", + tz: "तंज़ानिया", + ua: "यूक्रेन", + ug: "युगांडा", + us: "संयुक्त राज्य", + uy: "उरूग्वे", + uz: "उज़्बेकिस्तान", + va: "वेटिकन सिटी", + vc: "सेंट विंसेंट और ग्रेनाडाइंस", + ve: "वेनेज़ुएला", + vg: "ब्रिटिश वर्जिन द्वीपसमूह", + vi: "यू॰एस॰ वर्जिन द्वीपसमूह", + vn: "वियतनाम", + vu: "वनुआतू", + wf: "वालिस और फ़्यूचूना", + ws: "समोआ", + ye: "यमन", + yt: "मायोते", + za: "दक्षिण अफ़्रीका", + zm: "ज़ाम्बिया", + zw: "ज़िम्बाब्वे" +}; +export default countryTranslations; diff --git a/assets/intl-tel-input/js/i18n/hi/index.js b/assets/intl-tel-input/js/i18n/hi/index.js new file mode 100644 index 0000000..8c1c317 --- /dev/null +++ b/assets/intl-tel-input/js/i18n/hi/index.js @@ -0,0 +1,5 @@ +import countryTranslations from "./countries.js"; +import interfaceTranslations from "./interface.js"; +export { countryTranslations, interfaceTranslations }; +const allTranslations = { ...countryTranslations, ...interfaceTranslations }; +export default allTranslations; diff --git a/assets/intl-tel-input/js/i18n/hi/interface.js b/assets/intl-tel-input/js/i18n/hi/interface.js new file mode 100644 index 0000000..3947c97 --- /dev/null +++ b/assets/intl-tel-input/js/i18n/hi/interface.js @@ -0,0 +1,13 @@ +const interfaceTranslations = { + selectedCountryAriaLabel: "चयनित देश", + noCountrySelected: "कोई देश चयनित नहीं", + countryListAriaLabel: "देशों की सूची", + searchPlaceholder: "खोज", + zeroSearchResults: "कोई परिणाम नहीं मिला", + oneSearchResult: "1 परिणाम मिला", + multipleSearchResults: "${count} परिणाम मिले", + // additional countries (not supported by country-list library) + ac: "असेंशन द्वीप", + xk: "कोसोवो" +}; +export default interfaceTranslations; diff --git a/assets/intl-tel-input/js/i18n/hr/countries.js b/assets/intl-tel-input/js/i18n/hr/countries.js new file mode 100644 index 0000000..4242308 --- /dev/null +++ b/assets/intl-tel-input/js/i18n/hr/countries.js @@ -0,0 +1,245 @@ +const countryTranslations = { + ad: "Andora", + ae: "Ujedinjeni Arapski Emirati", + af: "Afganistan", + ag: "Antigva i Barbuda", + ai: "Angvila", + al: "Albanija", + am: "Armenija", + ao: "Angola", + ar: "Argentina", + as: "Američka Samoa", + at: "Austrija", + au: "Australija", + aw: "Aruba", + ax: "Ålandski otoci", + az: "Azerbajdžan", + ba: "Bosna i Hercegovina", + bb: "Barbados", + bd: "Bangladeš", + be: "Belgija", + bf: "Burkina Faso", + bg: "Bugarska", + bh: "Bahrein", + bi: "Burundi", + bj: "Benin", + bl: "Saint Barthélemy", + bm: "Bermudi", + bn: "Brunej", + bo: "Bolivija", + bq: "Karipski otoci Nizozemske", + br: "Brazil", + bs: "Bahami", + bt: "Butan", + bw: "Bocvana", + by: "Bjelorusija", + bz: "Belize", + ca: "Kanada", + cc: "Kokosovi (Keelingovi) otoci", + cd: "Kongo - Kinshasa", + cf: "Srednjoafrička Republika", + cg: "Kongo - Brazzaville", + ch: "Švicarska", + ci: "Obala Bjelokosti", + ck: "Cookovi Otoci", + cl: "Čile", + cm: "Kamerun", + cn: "Kina", + co: "Kolumbija", + cr: "Kostarika", + cu: "Kuba", + cv: "Zelenortska Republika", + cw: "Curaçao", + cx: "Božićni otok", + cy: "Cipar", + cz: "Češka", + de: "Njemačka", + dj: "Džibuti", + dk: "Danska", + dm: "Dominika", + do: "Dominikanska Republika", + dz: "Alžir", + ec: "Ekvador", + ee: "Estonija", + eg: "Egipat", + eh: "Zapadna Sahara", + er: "Eritreja", + es: "Španjolska", + et: "Etiopija", + fi: "Finska", + fj: "Fidži", + fk: "Falklandski otoci", + fm: "Mikronezija", + fo: "Farski otoci", + fr: "Francuska", + ga: "Gabon", + gb: "Ujedinjeno Kraljevstvo", + gd: "Grenada", + ge: "Gruzija", + gf: "Francuska Gijana", + gg: "Guernsey", + gh: "Gana", + gi: "Gibraltar", + gl: "Grenland", + gm: "Gambija", + gn: "Gvineja", + gp: "Guadalupe", + gq: "Ekvatorska Gvineja", + gr: "Grčka", + gt: "Gvatemala", + gu: "Guam", + gw: "Gvineja Bisau", + gy: "Gvajana", + hk: "PUP Hong Kong Kina", + hn: "Honduras", + hr: "Hrvatska", + ht: "Haiti", + hu: "Mađarska", + id: "Indonezija", + ie: "Irska", + il: "Izrael", + im: "Otok Man", + in: "Indija", + io: "Britanski Indijskooceanski teritorij", + iq: "Irak", + ir: "Iran", + is: "Island", + it: "Italija", + je: "Jersey", + jm: "Jamajka", + jo: "Jordan", + jp: "Japan", + ke: "Kenija", + kg: "Kirgistan", + kh: "Kambodža", + ki: "Kiribati", + km: "Komori", + kn: "Sveti Kristofor i Nevis", + kp: "Sjeverna Koreja", + kr: "Južna Koreja", + kw: "Kuvajt", + ky: "Kajmanski otoci", + kz: "Kazahstan", + la: "Laos", + lb: "Libanon", + lc: "Sveta Lucija", + li: "Lihtenštajn", + lk: "Šri Lanka", + lr: "Liberija", + ls: "Lesoto", + lt: "Litva", + lu: "Luksemburg", + lv: "Latvija", + ly: "Libija", + ma: "Maroko", + mc: "Monako", + md: "Moldavija", + me: "Crna Gora", + mf: "Saint Martin", + mg: "Madagaskar", + mh: "Maršalovi Otoci", + mk: "Sjeverna Makedonija", + ml: "Mali", + mm: "Mjanmar (Burma)", + mn: "Mongolija", + mo: "PUP Makao Kina", + mp: "Sjevernomarijanski otoci", + mq: "Martinique", + mr: "Mauretanija", + ms: "Montserrat", + mt: "Malta", + mu: "Mauricijus", + mv: "Maldivi", + mw: "Malavi", + mx: "Meksiko", + my: "Malezija", + mz: "Mozambik", + na: "Namibija", + nc: "Nova Kaledonija", + ne: "Niger", + nf: "Otok Norfolk", + ng: "Nigerija", + ni: "Nikaragva", + nl: "Nizozemska", + no: "Norveška", + np: "Nepal", + nr: "Nauru", + nu: "Niue", + nz: "Novi Zeland", + om: "Oman", + pa: "Panama", + pe: "Peru", + pf: "Francuska Polinezija", + pg: "Papua Nova Gvineja", + ph: "Filipini", + pk: "Pakistan", + pl: "Poljska", + pm: "Saint-Pierre-et-Miquelon", + pr: "Portoriko", + ps: "Palestinsko područje", + pt: "Portugal", + pw: "Palau", + py: "Paragvaj", + qa: "Katar", + re: "Réunion", + ro: "Rumunjska", + rs: "Srbija", + ru: "Rusija", + rw: "Ruanda", + sa: "Saudijska Arabija", + sb: "Salomonski Otoci", + sc: "Sejšeli", + sd: "Sudan", + se: "Švedska", + sg: "Singapur", + sh: "Sveta Helena", + si: "Slovenija", + sj: "Svalbard i Jan Mayen", + sk: "Slovačka", + sl: "Sijera Leone", + sm: "San Marino", + sn: "Senegal", + so: "Somalija", + sr: "Surinam", + ss: "Južni Sudan", + st: "Sveti Toma i Princip", + sv: "Salvador", + sx: "Sint Maarten", + sy: "Sirija", + sz: "Esvatini", + tc: "Otoci Turks i Caicos", + td: "Čad", + tg: "Togo", + th: "Tajland", + tj: "Tadžikistan", + tk: "Tokelau", + tl: "Timor-Leste", + tm: "Turkmenistan", + tn: "Tunis", + to: "Tonga", + tr: "Turska", + tt: "Trinidad i Tobago", + tv: "Tuvalu", + tw: "Tajvan", + tz: "Tanzanija", + ua: "Ukrajina", + ug: "Uganda", + us: "Sjedinjene Američke Države", + uy: "Urugvaj", + uz: "Uzbekistan", + va: "Vatikanski Grad", + vc: "Sveti Vincent i Grenadini", + ve: "Venezuela", + vg: "Britanski Djevičanski otoci", + vi: "Američki Djevičanski otoci", + vn: "Vijetnam", + vu: "Vanuatu", + wf: "Wallis i Futuna", + ws: "Samoa", + ye: "Jemen", + yt: "Mayotte", + za: "Južnoafrička Republika", + zm: "Zambija", + zw: "Zimbabve" +}; +export default countryTranslations; diff --git a/assets/intl-tel-input/js/i18n/hr/index.js b/assets/intl-tel-input/js/i18n/hr/index.js new file mode 100644 index 0000000..8c1c317 --- /dev/null +++ b/assets/intl-tel-input/js/i18n/hr/index.js @@ -0,0 +1,5 @@ +import countryTranslations from "./countries.js"; +import interfaceTranslations from "./interface.js"; +export { countryTranslations, interfaceTranslations }; +const allTranslations = { ...countryTranslations, ...interfaceTranslations }; +export default allTranslations; diff --git a/assets/intl-tel-input/js/i18n/hr/interface.js b/assets/intl-tel-input/js/i18n/hr/interface.js new file mode 100644 index 0000000..8c2e041 --- /dev/null +++ b/assets/intl-tel-input/js/i18n/hr/interface.js @@ -0,0 +1,20 @@ +const interfaceTranslations = { + selectedCountryAriaLabel: "Odabrana zemlja", + noCountrySelected: "Zemlja nije odabrana", + countryListAriaLabel: "Lista zemalja", + searchPlaceholder: "Pretraži", + zeroSearchResults: "Nema pronađenih rezultata", + searchResultsText(count) { + const mod10 = count % 10; + const mod100 = count % 100; + if (mod10 === 1 && mod100 !== 11) { + return `Pronađen ${count} rezultat`; + } + const isFew = mod10 >= 2 && mod10 <= 4 && !(mod100 >= 12 && mod100 <= 14); + return `${isFew ? "Pronađena" : "Pronađeno"} ${count} rezultata`; + }, + // additional countries (not supported by country-list library) + ac: "Ascension", + xk: "Kosovo" +}; +export default interfaceTranslations; diff --git a/assets/intl-tel-input/js/i18n/hu/countries.js b/assets/intl-tel-input/js/i18n/hu/countries.js new file mode 100644 index 0000000..7aa9b70 --- /dev/null +++ b/assets/intl-tel-input/js/i18n/hu/countries.js @@ -0,0 +1,245 @@ +const countryTranslations = { + ad: "Andorra", + ae: "Egyesült Arab Emírségek", + af: "Afganisztán", + ag: "Antigua és Barbuda", + ai: "Anguilla", + al: "Albánia", + am: "Örményország", + ao: "Angola", + ar: "Argentína", + as: "Amerikai Szamoa", + at: "Ausztria", + au: "Ausztrália", + aw: "Aruba", + ax: "Åland-szigetek", + az: "Azerbajdzsán", + ba: "Bosznia-Hercegovina", + bb: "Barbados", + bd: "Banglades", + be: "Belgium", + bf: "Burkina Faso", + bg: "Bulgária", + bh: "Bahrein", + bi: "Burundi", + bj: "Benin", + bl: "Saint-Barthélemy", + bm: "Bermuda", + bn: "Brunei", + bo: "Bolívia", + bq: "Holland Karib-térség", + br: "Brazília", + bs: "Bahama-szigetek", + bt: "Bhután", + bw: "Botswana", + by: "Belarusz", + bz: "Belize", + ca: "Kanada", + cc: "Kókusz (Keeling)-szigetek", + cd: "Kongó - Kinshasa", + cf: "Közép-afrikai Köztársaság", + cg: "Kongó - Brazzaville", + ch: "Svájc", + ci: "Elefántcsontpart", + ck: "Cook-szigetek", + cl: "Chile", + cm: "Kamerun", + cn: "Kína", + co: "Kolumbia", + cr: "Costa Rica", + cu: "Kuba", + cv: "Zöld-foki Köztársaság", + cw: "Curaçao", + cx: "Karácsony-sziget", + cy: "Ciprus", + cz: "Csehország", + de: "Németország", + dj: "Dzsibuti", + dk: "Dánia", + dm: "Dominika", + do: "Dominikai Köztársaság", + dz: "Algéria", + ec: "Ecuador", + ee: "Észtország", + eg: "Egyiptom", + eh: "Nyugat-Szahara", + er: "Eritrea", + es: "Spanyolország", + et: "Etiópia", + fi: "Finnország", + fj: "Fidzsi", + fk: "Falkland-szigetek", + fm: "Mikronézia", + fo: "Feröer szigetek", + fr: "Franciaország", + ga: "Gabon", + gb: "Egyesült Királyság", + gd: "Grenada", + ge: "Grúzia", + gf: "Francia Guyana", + gg: "Guernsey", + gh: "Ghána", + gi: "Gibraltár", + gl: "Grönland", + gm: "Gambia", + gn: "Guinea", + gp: "Guadeloupe", + gq: "Egyenlítői-Guinea", + gr: "Görögország", + gt: "Guatemala", + gu: "Guam", + gw: "Bissau-Guinea", + gy: "Guyana", + hk: "Hongkong KKT", + hn: "Honduras", + hr: "Horvátország", + ht: "Haiti", + hu: "Magyarország", + id: "Indonézia", + ie: "Írország", + il: "Izrael", + im: "Man-sziget", + in: "India", + io: "Brit Indiai-óceáni Terület", + iq: "Irak", + ir: "Irán", + is: "Izland", + it: "Olaszország", + je: "Jersey", + jm: "Jamaica", + jo: "Jordánia", + jp: "Japán", + ke: "Kenya", + kg: "Kirgizisztán", + kh: "Kambodzsa", + ki: "Kiribati", + km: "Comore-szigetek", + kn: "Saint Kitts és Nevis", + kp: "Észak-Korea", + kr: "Dél-Korea", + kw: "Kuvait", + ky: "Kajmán-szigetek", + kz: "Kazahsztán", + la: "Laosz", + lb: "Libanon", + lc: "Saint Lucia", + li: "Liechtenstein", + lk: "Srí Lanka", + lr: "Libéria", + ls: "Lesotho", + lt: "Litvánia", + lu: "Luxemburg", + lv: "Lettország", + ly: "Líbia", + ma: "Marokkó", + mc: "Monaco", + md: "Moldova", + me: "Montenegró", + mf: "Saint Martin", + mg: "Madagaszkár", + mh: "Marshall-szigetek", + mk: "Észak-Macedónia", + ml: "Mali", + mm: "Mianmar", + mn: "Mongólia", + mo: "Makaó KKT", + mp: "Északi Mariana-szigetek", + mq: "Martinique", + mr: "Mauritánia", + ms: "Montserrat", + mt: "Málta", + mu: "Mauritius", + mv: "Maldív-szigetek", + mw: "Malawi", + mx: "Mexikó", + my: "Malajzia", + mz: "Mozambik", + na: "Namíbia", + nc: "Új-Kaledónia", + ne: "Niger", + nf: "Norfolk-sziget", + ng: "Nigéria", + ni: "Nicaragua", + nl: "Hollandia", + no: "Norvégia", + np: "Nepál", + nr: "Nauru", + nu: "Niue", + nz: "Új-Zéland", + om: "Omán", + pa: "Panama", + pe: "Peru", + pf: "Francia Polinézia", + pg: "Pápua Új-Guinea", + ph: "Fülöp-szigetek", + pk: "Pakisztán", + pl: "Lengyelország", + pm: "Saint-Pierre és Miquelon", + pr: "Puerto Rico", + ps: "Palesztin Terület", + pt: "Portugália", + pw: "Palau", + py: "Paraguay", + qa: "Katar", + re: "Réunion", + ro: "Románia", + rs: "Szerbia", + ru: "Oroszország", + rw: "Ruanda", + sa: "Szaúd-Arábia", + sb: "Salamon-szigetek", + sc: "Seychelle-szigetek", + sd: "Szudán", + se: "Svédország", + sg: "Szingapúr", + sh: "Szent Ilona", + si: "Szlovénia", + sj: "Svalbard és Jan Mayen", + sk: "Szlovákia", + sl: "Sierra Leone", + sm: "San Marino", + sn: "Szenegál", + so: "Szomália", + sr: "Suriname", + ss: "Dél-Szudán", + st: "São Tomé és Príncipe", + sv: "Salvador", + sx: "Sint Maarten", + sy: "Szíria", + sz: "Szváziföld", + tc: "Turks- és Caicos-szigetek", + td: "Csád", + tg: "Togo", + th: "Thaiföld", + tj: "Tádzsikisztán", + tk: "Tokelau", + tl: "Kelet-Timor", + tm: "Türkmenisztán", + tn: "Tunézia", + to: "Tonga", + tr: "Törökország", + tt: "Trinidad és Tobago", + tv: "Tuvalu", + tw: "Tajvan", + tz: "Tanzánia", + ua: "Ukrajna", + ug: "Uganda", + us: "Egyesült Államok", + uy: "Uruguay", + uz: "Üzbegisztán", + va: "Vatikán", + vc: "Saint Vincent és a Grenadine-szigetek", + ve: "Venezuela", + vg: "Brit Virgin-szigetek", + vi: "Amerikai Virgin-szigetek", + vn: "Vietnám", + vu: "Vanuatu", + wf: "Wallis és Futuna", + ws: "Szamoa", + ye: "Jemen", + yt: "Mayotte", + za: "Dél-afrikai Köztársaság", + zm: "Zambia", + zw: "Zimbabwe" +}; +export default countryTranslations; diff --git a/assets/intl-tel-input/js/i18n/hu/index.js b/assets/intl-tel-input/js/i18n/hu/index.js new file mode 100644 index 0000000..8c1c317 --- /dev/null +++ b/assets/intl-tel-input/js/i18n/hu/index.js @@ -0,0 +1,5 @@ +import countryTranslations from "./countries.js"; +import interfaceTranslations from "./interface.js"; +export { countryTranslations, interfaceTranslations }; +const allTranslations = { ...countryTranslations, ...interfaceTranslations }; +export default allTranslations; diff --git a/assets/intl-tel-input/js/i18n/hu/interface.js b/assets/intl-tel-input/js/i18n/hu/interface.js new file mode 100644 index 0000000..0315fdd --- /dev/null +++ b/assets/intl-tel-input/js/i18n/hu/interface.js @@ -0,0 +1,13 @@ +const interfaceTranslations = { + selectedCountryAriaLabel: "Kiválasztott ország", + noCountrySelected: "Nincs ország kiválasztva", + countryListAriaLabel: "Országok listája", + searchPlaceholder: "Keresés", + zeroSearchResults: "Nincs találat", + oneSearchResult: "1 találat", + multipleSearchResults: "${count} találat", + // additional countries (not supported by country-list library) + ac: "Ascension-sziget", + xk: "Koszovó" +}; +export default interfaceTranslations; diff --git a/assets/intl-tel-input/js/i18n/id/countries.js b/assets/intl-tel-input/js/i18n/id/countries.js new file mode 100644 index 0000000..ba1bb12 --- /dev/null +++ b/assets/intl-tel-input/js/i18n/id/countries.js @@ -0,0 +1,245 @@ +const countryTranslations = { + ad: "Andorra", + ae: "Uni Emirat Arab", + af: "Afganistan", + ag: "Antigua dan Barbuda", + ai: "Anguilla", + al: "Albania", + am: "Armenia", + ao: "Angola", + ar: "Argentina", + as: "Samoa Amerika", + at: "Austria", + au: "Australia", + aw: "Aruba", + ax: "Kepulauan Aland", + az: "Azerbaijan", + ba: "Bosnia dan Herzegovina", + bb: "Barbados", + bd: "Bangladesh", + be: "Belgia", + bf: "Burkina Faso", + bg: "Bulgaria", + bh: "Bahrain", + bi: "Burundi", + bj: "Benin", + bl: "Saint Barthélemy", + bm: "Bermuda", + bn: "Brunei", + bo: "Bolivia", + bq: "Belanda Karibia", + br: "Brasil", + bs: "Bahama", + bt: "Bhutan", + bw: "Botswana", + by: "Belarus", + bz: "Belize", + ca: "Kanada", + cc: "Kepulauan Cocos (Keeling)", + cd: "Kongo - Kinshasa", + cf: "Republik Afrika Tengah", + cg: "Kongo - Brazzaville", + ch: "Swiss", + ci: "Côte d’Ivoire", + ck: "Kepulauan Cook", + cl: "Cile", + cm: "Kamerun", + cn: "Tiongkok", + co: "Kolombia", + cr: "Kosta Rika", + cu: "Kuba", + cv: "Tanjung Verde", + cw: "Curaçao", + cx: "Pulau Natal", + cy: "Siprus", + cz: "Ceko", + de: "Jerman", + dj: "Jibuti", + dk: "Denmark", + dm: "Dominika", + do: "Republik Dominika", + dz: "Aljazair", + ec: "Ekuador", + ee: "Estonia", + eg: "Mesir", + eh: "Sahara Barat", + er: "Eritrea", + es: "Spanyol", + et: "Etiopia", + fi: "Finlandia", + fj: "Fiji", + fk: "Kepulauan Falkland", + fm: "Mikronesia", + fo: "Kepulauan Faroe", + fr: "Prancis", + ga: "Gabon", + gb: "Inggris Raya", + gd: "Grenada", + ge: "Georgia", + gf: "Guyana Prancis", + gg: "Guernsey", + gh: "Ghana", + gi: "Gibraltar", + gl: "Grinlandia", + gm: "Gambia", + gn: "Guinea", + gp: "Guadeloupe", + gq: "Guinea Ekuatorial", + gr: "Yunani", + gt: "Guatemala", + gu: "Guam", + gw: "Guinea-Bissau", + gy: "Guyana", + hk: "Hong Kong DAK Tiongkok", + hn: "Honduras", + hr: "Kroasia", + ht: "Haiti", + hu: "Hungaria", + id: "Indonesia", + ie: "Irlandia", + il: "Israel", + im: "Pulau Man", + in: "India", + io: "Wilayah Inggris di Samudra Hindia", + iq: "Irak", + ir: "Iran", + is: "Islandia", + it: "Italia", + je: "Jersey", + jm: "Jamaika", + jo: "Yordania", + jp: "Jepang", + ke: "Kenya", + kg: "Kirgistan", + kh: "Kamboja", + ki: "Kiribati", + km: "Komoro", + kn: "Saint Kitts dan Nevis", + kp: "Korea Utara", + kr: "Korea Selatan", + kw: "Kuwait", + ky: "Kepulauan Cayman", + kz: "Kazakstan", + la: "Laos", + lb: "Lebanon", + lc: "Saint Lucia", + li: "Liechtenstein", + lk: "Sri Lanka", + lr: "Liberia", + ls: "Lesotho", + lt: "Lituania", + lu: "Luksemburg", + lv: "Latvia", + ly: "Libia", + ma: "Maroko", + mc: "Monako", + md: "Moldova", + me: "Montenegro", + mf: "Saint Martin", + mg: "Madagaskar", + mh: "Kepulauan Marshall", + mk: "Makedonia Utara", + ml: "Mali", + mm: "Myanmar (Burma)", + mn: "Mongolia", + mo: "Makau DAK Tiongkok", + mp: "Kepulauan Mariana Utara", + mq: "Martinik", + mr: "Mauritania", + ms: "Montserrat", + mt: "Malta", + mu: "Mauritius", + mv: "Maladewa", + mw: "Malawi", + mx: "Meksiko", + my: "Malaysia", + mz: "Mozambik", + na: "Namibia", + nc: "Kaledonia Baru", + ne: "Niger", + nf: "Kepulauan Norfolk", + ng: "Nigeria", + ni: "Nikaragua", + nl: "Belanda", + no: "Norwegia", + np: "Nepal", + nr: "Nauru", + nu: "Niue", + nz: "Selandia Baru", + om: "Oman", + pa: "Panama", + pe: "Peru", + pf: "Polinesia Prancis", + pg: "Papua Nugini", + ph: "Filipina", + pk: "Pakistan", + pl: "Polandia", + pm: "Saint Pierre dan Miquelon", + pr: "Puerto Riko", + ps: "Wilayah Palestina", + pt: "Portugal", + pw: "Palau", + py: "Paraguay", + qa: "Qatar", + re: "Réunion", + ro: "Rumania", + rs: "Serbia", + ru: "Rusia", + rw: "Rwanda", + sa: "Arab Saudi", + sb: "Kepulauan Solomon", + sc: "Seychelles", + sd: "Sudan", + se: "Swedia", + sg: "Singapura", + sh: "Saint Helena", + si: "Slovenia", + sj: "Kepulauan Svalbard dan Jan Mayen", + sk: "Slovakia", + sl: "Sierra Leone", + sm: "San Marino", + sn: "Senegal", + so: "Somalia", + sr: "Suriname", + ss: "Sudan Selatan", + st: "Sao Tome dan Principe", + sv: "El Salvador", + sx: "Sint Maarten", + sy: "Suriah", + sz: "eSwatini", + tc: "Kepulauan Turks dan Caicos", + td: "Cad", + tg: "Togo", + th: "Thailand", + tj: "Tajikistan", + tk: "Tokelau", + tl: "Timor Leste", + tm: "Turkimenistan", + tn: "Tunisia", + to: "Tonga", + tr: "Turki", + tt: "Trinidad dan Tobago", + tv: "Tuvalu", + tw: "Taiwan", + tz: "Tanzania", + ua: "Ukraina", + ug: "Uganda", + us: "Amerika Serikat", + uy: "Uruguay", + uz: "Uzbekistan", + va: "Vatikan", + vc: "Saint Vincent dan Grenadine", + ve: "Venezuela", + vg: "Kepulauan Virgin Britania Raya", + vi: "Kepulauan Virgin Amerika Serikat", + vn: "Vietnam", + vu: "Vanuatu", + wf: "Kepulauan Wallis dan Futuna", + ws: "Samoa", + ye: "Yaman", + yt: "Mayotte", + za: "Afrika Selatan", + zm: "Zambia", + zw: "Zimbabwe" +}; +export default countryTranslations; diff --git a/assets/intl-tel-input/js/i18n/id/index.js b/assets/intl-tel-input/js/i18n/id/index.js new file mode 100644 index 0000000..8c1c317 --- /dev/null +++ b/assets/intl-tel-input/js/i18n/id/index.js @@ -0,0 +1,5 @@ +import countryTranslations from "./countries.js"; +import interfaceTranslations from "./interface.js"; +export { countryTranslations, interfaceTranslations }; +const allTranslations = { ...countryTranslations, ...interfaceTranslations }; +export default allTranslations; diff --git a/assets/intl-tel-input/js/i18n/id/interface.js b/assets/intl-tel-input/js/i18n/id/interface.js new file mode 100644 index 0000000..c87e81a --- /dev/null +++ b/assets/intl-tel-input/js/i18n/id/interface.js @@ -0,0 +1,13 @@ +const interfaceTranslations = { + selectedCountryAriaLabel: "Negara yang dipilih", + noCountrySelected: "Tidak ada negara yang dipilih", + countryListAriaLabel: "Daftar negara", + searchPlaceholder: "Mencari", + zeroSearchResults: "Tidak ada hasil yang ditemukan", + oneSearchResult: "1 hasil ditemukan", + multipleSearchResults: "${count} hasil ditemukan", + // additional countries (not supported by country-list library) + ac: "Pulau Kenaikan", + xk: "Kosovo" +}; +export default interfaceTranslations; diff --git a/assets/intl-tel-input/js/i18n/index.js b/assets/intl-tel-input/js/i18n/index.js new file mode 100644 index 0000000..e6c7f31 --- /dev/null +++ b/assets/intl-tel-input/js/i18n/index.js @@ -0,0 +1,43 @@ +export { default as ar, countryTranslations as arCountryTranslations, interfaceTranslations as arInterfaceTranslations } from "./ar"; +export { default as bg, countryTranslations as bgCountryTranslations, interfaceTranslations as bgInterfaceTranslations } from "./bg"; +export { default as bn, countryTranslations as bnCountryTranslations, interfaceTranslations as bnInterfaceTranslations } from "./bn"; +export { default as bs, countryTranslations as bsCountryTranslations, interfaceTranslations as bsInterfaceTranslations } from "./bs"; +export { default as ca, countryTranslations as caCountryTranslations, interfaceTranslations as caInterfaceTranslations } from "./ca"; +export { default as cs, countryTranslations as csCountryTranslations, interfaceTranslations as csInterfaceTranslations } from "./cs"; +export { default as da, countryTranslations as daCountryTranslations, interfaceTranslations as daInterfaceTranslations } from "./da"; +export { default as de, countryTranslations as deCountryTranslations, interfaceTranslations as deInterfaceTranslations } from "./de"; +export { default as ee, countryTranslations as eeCountryTranslations, interfaceTranslations as eeInterfaceTranslations } from "./ee"; +export { default as el, countryTranslations as elCountryTranslations, interfaceTranslations as elInterfaceTranslations } from "./el"; +export { default as en, countryTranslations as enCountryTranslations, interfaceTranslations as enInterfaceTranslations } from "./en"; +export { default as es, countryTranslations as esCountryTranslations, interfaceTranslations as esInterfaceTranslations } from "./es"; +export { default as fa, countryTranslations as faCountryTranslations, interfaceTranslations as faInterfaceTranslations } from "./fa"; +export { default as fi, countryTranslations as fiCountryTranslations, interfaceTranslations as fiInterfaceTranslations } from "./fi"; +export { default as fr, countryTranslations as frCountryTranslations, interfaceTranslations as frInterfaceTranslations } from "./fr"; +export { default as hi, countryTranslations as hiCountryTranslations, interfaceTranslations as hiInterfaceTranslations } from "./hi"; +export { default as hr, countryTranslations as hrCountryTranslations, interfaceTranslations as hrInterfaceTranslations } from "./hr"; +export { default as hu, countryTranslations as huCountryTranslations, interfaceTranslations as huInterfaceTranslations } from "./hu"; +export { default as id, countryTranslations as idCountryTranslations, interfaceTranslations as idInterfaceTranslations } from "./id"; +export { default as it, countryTranslations as itCountryTranslations, interfaceTranslations as itInterfaceTranslations } from "./it"; +export { default as ja, countryTranslations as jaCountryTranslations, interfaceTranslations as jaInterfaceTranslations } from "./ja"; +export { default as ko, countryTranslations as koCountryTranslations, interfaceTranslations as koInterfaceTranslations } from "./ko"; +export { default as lt, countryTranslations as ltCountryTranslations, interfaceTranslations as ltInterfaceTranslations } from "./lt"; +export { default as mr, countryTranslations as mrCountryTranslations, interfaceTranslations as mrInterfaceTranslations } from "./mr"; +export { default as nl, countryTranslations as nlCountryTranslations, interfaceTranslations as nlInterfaceTranslations } from "./nl"; +export { default as no, countryTranslations as noCountryTranslations, interfaceTranslations as noInterfaceTranslations } from "./no"; +export { default as pl, countryTranslations as plCountryTranslations, interfaceTranslations as plInterfaceTranslations } from "./pl"; +export { default as pt, countryTranslations as ptCountryTranslations, interfaceTranslations as ptInterfaceTranslations } from "./pt"; +export { default as ro, countryTranslations as roCountryTranslations, interfaceTranslations as roInterfaceTranslations } from "./ro"; +export { default as ru, countryTranslations as ruCountryTranslations, interfaceTranslations as ruInterfaceTranslations } from "./ru"; +export { default as sk, countryTranslations as skCountryTranslations, interfaceTranslations as skInterfaceTranslations } from "./sk"; +export { default as sl, countryTranslations as slCountryTranslations, interfaceTranslations as slInterfaceTranslations } from "./sl"; +export { default as sq, countryTranslations as sqCountryTranslations, interfaceTranslations as sqInterfaceTranslations } from "./sq"; +export { default as sr, countryTranslations as srCountryTranslations, interfaceTranslations as srInterfaceTranslations } from "./sr"; +export { default as sv, countryTranslations as svCountryTranslations, interfaceTranslations as svInterfaceTranslations } from "./sv"; +export { default as te, countryTranslations as teCountryTranslations, interfaceTranslations as teInterfaceTranslations } from "./te"; +export { default as th, countryTranslations as thCountryTranslations, interfaceTranslations as thInterfaceTranslations } from "./th"; +export { default as tr, countryTranslations as trCountryTranslations, interfaceTranslations as trInterfaceTranslations } from "./tr"; +export { default as uk, countryTranslations as ukCountryTranslations, interfaceTranslations as ukInterfaceTranslations } from "./uk"; +export { default as ur, countryTranslations as urCountryTranslations, interfaceTranslations as urInterfaceTranslations } from "./ur"; +export { default as uz, countryTranslations as uzCountryTranslations, interfaceTranslations as uzInterfaceTranslations } from "./uz"; +export { default as vi, countryTranslations as viCountryTranslations, interfaceTranslations as viInterfaceTranslations } from "./vi"; +export { default as zh, countryTranslations as zhCountryTranslations, interfaceTranslations as zhInterfaceTranslations } from "./zh"; diff --git a/assets/intl-tel-input/js/i18n/index2.js b/assets/intl-tel-input/js/i18n/index2.js new file mode 100644 index 0000000..dc67f40 --- /dev/null +++ b/assets/intl-tel-input/js/i18n/index2.js @@ -0,0 +1,43 @@ +export { default as ar, countryTranslations as arCountryTranslations, interfaceTranslations as arInterfaceTranslations } from "./ar/index.js"; +export { default as bg, countryTranslations as bgCountryTranslations, interfaceTranslations as bgInterfaceTranslations } from "./bg/index.js"; +export { default as bn, countryTranslations as bnCountryTranslations, interfaceTranslations as bnInterfaceTranslations } from "./bn/index.js"; +export { default as bs, countryTranslations as bsCountryTranslations, interfaceTranslations as bsInterfaceTranslations } from "./bs/index.js"; +export { default as ca, countryTranslations as caCountryTranslations, interfaceTranslations as caInterfaceTranslations } from "./ca/index.js"; +export { default as cs, countryTranslations as csCountryTranslations, interfaceTranslations as csInterfaceTranslations } from "./cs/index.js"; +export { default as da, countryTranslations as daCountryTranslations, interfaceTranslations as daInterfaceTranslations } from "./da/index.js"; +export { default as de, countryTranslations as deCountryTranslations, interfaceTranslations as deInterfaceTranslations } from "./de/index.js"; +export { default as ee, countryTranslations as eeCountryTranslations, interfaceTranslations as eeInterfaceTranslations } from "./ee/index.js"; +export { default as el, countryTranslations as elCountryTranslations, interfaceTranslations as elInterfaceTranslations } from "./el/index.js"; +export { default as en, countryTranslations as enCountryTranslations, interfaceTranslations as enInterfaceTranslations } from "./en/index.js"; +export { default as es, countryTranslations as esCountryTranslations, interfaceTranslations as esInterfaceTranslations } from "./es/index.js"; +export { default as fa, countryTranslations as faCountryTranslations, interfaceTranslations as faInterfaceTranslations } from "./fa/index.js"; +export { default as fi, countryTranslations as fiCountryTranslations, interfaceTranslations as fiInterfaceTranslations } from "./fi/index.js"; +export { default as fr, countryTranslations as frCountryTranslations, interfaceTranslations as frInterfaceTranslations } from "./fr/index.js"; +export { default as hi, countryTranslations as hiCountryTranslations, interfaceTranslations as hiInterfaceTranslations } from "./hi/index.js"; +export { default as hr, countryTranslations as hrCountryTranslations, interfaceTranslations as hrInterfaceTranslations } from "./hr/index.js"; +export { default as hu, countryTranslations as huCountryTranslations, interfaceTranslations as huInterfaceTranslations } from "./hu/index.js"; +export { default as id, countryTranslations as idCountryTranslations, interfaceTranslations as idInterfaceTranslations } from "./id/index.js"; +export { default as it, countryTranslations as itCountryTranslations, interfaceTranslations as itInterfaceTranslations } from "./it/index.js"; +export { default as ja, countryTranslations as jaCountryTranslations, interfaceTranslations as jaInterfaceTranslations } from "./ja/index.js"; +export { default as ko, countryTranslations as koCountryTranslations, interfaceTranslations as koInterfaceTranslations } from "./ko/index.js"; +export { default as lt, countryTranslations as ltCountryTranslations, interfaceTranslations as ltInterfaceTranslations } from "./lt/index.js"; +export { default as mr, countryTranslations as mrCountryTranslations, interfaceTranslations as mrInterfaceTranslations } from "./mr/index.js"; +export { default as nl, countryTranslations as nlCountryTranslations, interfaceTranslations as nlInterfaceTranslations } from "./nl/index.js"; +export { default as no, countryTranslations as noCountryTranslations, interfaceTranslations as noInterfaceTranslations } from "./no/index.js"; +export { default as pl, countryTranslations as plCountryTranslations, interfaceTranslations as plInterfaceTranslations } from "./pl/index.js"; +export { default as pt, countryTranslations as ptCountryTranslations, interfaceTranslations as ptInterfaceTranslations } from "./pt/index.js"; +export { default as ro, countryTranslations as roCountryTranslations, interfaceTranslations as roInterfaceTranslations } from "./ro/index.js"; +export { default as ru, countryTranslations as ruCountryTranslations, interfaceTranslations as ruInterfaceTranslations } from "./ru/index.js"; +export { default as sk, countryTranslations as skCountryTranslations, interfaceTranslations as skInterfaceTranslations } from "./sk/index.js"; +export { default as sl, countryTranslations as slCountryTranslations, interfaceTranslations as slInterfaceTranslations } from "./sl/index.js"; +export { default as sq, countryTranslations as sqCountryTranslations, interfaceTranslations as sqInterfaceTranslations } from "./sq/index.js"; +export { default as sr, countryTranslations as srCountryTranslations, interfaceTranslations as srInterfaceTranslations } from "./sr/index.js"; +export { default as sv, countryTranslations as svCountryTranslations, interfaceTranslations as svInterfaceTranslations } from "./sv/index.js"; +export { default as te, countryTranslations as teCountryTranslations, interfaceTranslations as teInterfaceTranslations } from "./te/index.js"; +export { default as th, countryTranslations as thCountryTranslations, interfaceTranslations as thInterfaceTranslations } from "./th/index.js"; +export { default as tr, countryTranslations as trCountryTranslations, interfaceTranslations as trInterfaceTranslations } from "./tr/index.js"; +export { default as uk, countryTranslations as ukCountryTranslations, interfaceTranslations as ukInterfaceTranslations } from "./uk/index.js"; +export { default as ur, countryTranslations as urCountryTranslations, interfaceTranslations as urInterfaceTranslations } from "./ur/index.js"; +export { default as uz, countryTranslations as uzCountryTranslations, interfaceTranslations as uzInterfaceTranslations } from "./uz/index.js"; +export { default as vi, countryTranslations as viCountryTranslations, interfaceTranslations as viInterfaceTranslations } from "./vi/index.js"; +export { default as zh, countryTranslations as zhCountryTranslations, interfaceTranslations as zhInterfaceTranslations } from "./zh/index.js"; diff --git a/assets/intl-tel-input/js/i18n/index2.min.js b/assets/intl-tel-input/js/i18n/index2.min.js new file mode 100644 index 0000000..eb09f47 --- /dev/null +++ b/assets/intl-tel-input/js/i18n/index2.min.js @@ -0,0 +1 @@ +export{default as ar,countryTranslations as arCountryTranslations,interfaceTranslations as arInterfaceTranslations}from"./ar/index.js";export{default as bg,countryTranslations as bgCountryTranslations,interfaceTranslations as bgInterfaceTranslations}from"./bg/index.js";export{default as bn,countryTranslations as bnCountryTranslations,interfaceTranslations as bnInterfaceTranslations}from"./bn/index.js";export{default as bs,countryTranslations as bsCountryTranslations,interfaceTranslations as bsInterfaceTranslations}from"./bs/index.js";export{default as ca,countryTranslations as caCountryTranslations,interfaceTranslations as caInterfaceTranslations}from"./ca/index.js";export{default as cs,countryTranslations as csCountryTranslations,interfaceTranslations as csInterfaceTranslations}from"./cs/index.js";export{default as da,countryTranslations as daCountryTranslations,interfaceTranslations as daInterfaceTranslations}from"./da/index.js";export{default as de,countryTranslations as deCountryTranslations,interfaceTranslations as deInterfaceTranslations}from"./de/index.js";export{default as ee,countryTranslations as eeCountryTranslations,interfaceTranslations as eeInterfaceTranslations}from"./ee/index.js";export{default as el,countryTranslations as elCountryTranslations,interfaceTranslations as elInterfaceTranslations}from"./el/index.js";export{default as en,countryTranslations as enCountryTranslations,interfaceTranslations as enInterfaceTranslations}from"./en/index.js";export{default as es,countryTranslations as esCountryTranslations,interfaceTranslations as esInterfaceTranslations}from"./es/index.js";export{default as fa,countryTranslations as faCountryTranslations,interfaceTranslations as faInterfaceTranslations}from"./fa/index.js";export{default as fi,countryTranslations as fiCountryTranslations,interfaceTranslations as fiInterfaceTranslations}from"./fi/index.js";export{default as fr,countryTranslations as frCountryTranslations,interfaceTranslations as frInterfaceTranslations}from"./fr/index.js";export{default as hi,countryTranslations as hiCountryTranslations,interfaceTranslations as hiInterfaceTranslations}from"./hi/index.js";export{default as hr,countryTranslations as hrCountryTranslations,interfaceTranslations as hrInterfaceTranslations}from"./hr/index.js";export{default as hu,countryTranslations as huCountryTranslations,interfaceTranslations as huInterfaceTranslations}from"./hu/index.js";export{default as id,countryTranslations as idCountryTranslations,interfaceTranslations as idInterfaceTranslations}from"./id/index.js";export{default as it,countryTranslations as itCountryTranslations,interfaceTranslations as itInterfaceTranslations}from"./it/index.js";export{default as ja,countryTranslations as jaCountryTranslations,interfaceTranslations as jaInterfaceTranslations}from"./ja/index.js";export{default as ko,countryTranslations as koCountryTranslations,interfaceTranslations as koInterfaceTranslations}from"./ko/index.js";export{default as lt,countryTranslations as ltCountryTranslations,interfaceTranslations as ltInterfaceTranslations}from"./lt/index.js";export{default as mr,countryTranslations as mrCountryTranslations,interfaceTranslations as mrInterfaceTranslations}from"./mr/index.js";export{default as nl,countryTranslations as nlCountryTranslations,interfaceTranslations as nlInterfaceTranslations}from"./nl/index.js";export{default as no,countryTranslations as noCountryTranslations,interfaceTranslations as noInterfaceTranslations}from"./no/index.js";export{default as pl,countryTranslations as plCountryTranslations,interfaceTranslations as plInterfaceTranslations}from"./pl/index.js";export{default as pt,countryTranslations as ptCountryTranslations,interfaceTranslations as ptInterfaceTranslations}from"./pt/index.js";export{default as ro,countryTranslations as roCountryTranslations,interfaceTranslations as roInterfaceTranslations}from"./ro/index.js";export{default as ru,countryTranslations as ruCountryTranslations,interfaceTranslations as ruInterfaceTranslations}from"./ru/index.js";export{default as sk,countryTranslations as skCountryTranslations,interfaceTranslations as skInterfaceTranslations}from"./sk/index.js";export{default as sl,countryTranslations as slCountryTranslations,interfaceTranslations as slInterfaceTranslations}from"./sl/index.js";export{default as sq,countryTranslations as sqCountryTranslations,interfaceTranslations as sqInterfaceTranslations}from"./sq/index.js";export{default as sr,countryTranslations as srCountryTranslations,interfaceTranslations as srInterfaceTranslations}from"./sr/index.js";export{default as sv,countryTranslations as svCountryTranslations,interfaceTranslations as svInterfaceTranslations}from"./sv/index.js";export{default as te,countryTranslations as teCountryTranslations,interfaceTranslations as teInterfaceTranslations}from"./te/index.js";export{default as th,countryTranslations as thCountryTranslations,interfaceTranslations as thInterfaceTranslations}from"./th/index.js";export{default as tr,countryTranslations as trCountryTranslations,interfaceTranslations as trInterfaceTranslations}from"./tr/index.js";export{default as uk,countryTranslations as ukCountryTranslations,interfaceTranslations as ukInterfaceTranslations}from"./uk/index.js";export{default as ur,countryTranslations as urCountryTranslations,interfaceTranslations as urInterfaceTranslations}from"./ur/index.js";export{default as uz,countryTranslations as uzCountryTranslations,interfaceTranslations as uzInterfaceTranslations}from"./uz/index.js";export{default as vi,countryTranslations as viCountryTranslations,interfaceTranslations as viInterfaceTranslations}from"./vi/index.js";export{default as zh,countryTranslations as zhCountryTranslations,interfaceTranslations as zhInterfaceTranslations}from"./zh/index.js"; \ No newline at end of file diff --git a/assets/intl-tel-input/js/i18n/it/countries.js b/assets/intl-tel-input/js/i18n/it/countries.js new file mode 100644 index 0000000..3ce0247 --- /dev/null +++ b/assets/intl-tel-input/js/i18n/it/countries.js @@ -0,0 +1,245 @@ +const countryTranslations = { + ad: "Andorra", + ae: "Emirati Arabi Uniti", + af: "Afghanistan", + ag: "Antigua e Barbuda", + ai: "Anguilla", + al: "Albania", + am: "Armenia", + ao: "Angola", + ar: "Argentina", + as: "Samoa americane", + at: "Austria", + au: "Australia", + aw: "Aruba", + ax: "Isole Åland", + az: "Azerbaigian", + ba: "Bosnia ed Erzegovina", + bb: "Barbados", + bd: "Bangladesh", + be: "Belgio", + bf: "Burkina Faso", + bg: "Bulgaria", + bh: "Bahrein", + bi: "Burundi", + bj: "Benin", + bl: "Saint-Barthélemy", + bm: "Bermuda", + bn: "Brunei", + bo: "Bolivia", + bq: "Caraibi olandesi", + br: "Brasile", + bs: "Bahamas", + bt: "Bhutan", + bw: "Botswana", + by: "Bielorussia", + bz: "Belize", + ca: "Canada", + cc: "Isole Cocos (Keeling)", + cd: "Congo - Kinshasa", + cf: "Repubblica Centrafricana", + cg: "Congo-Brazzaville", + ch: "Svizzera", + ci: "Costa d’Avorio", + ck: "Isole Cook", + cl: "Cile", + cm: "Camerun", + cn: "Cina", + co: "Colombia", + cr: "Costa Rica", + cu: "Cuba", + cv: "Capo Verde", + cw: "Curaçao", + cx: "Isola Christmas", + cy: "Cipro", + cz: "Cechia", + de: "Germania", + dj: "Gibuti", + dk: "Danimarca", + dm: "Dominica", + do: "Repubblica Dominicana", + dz: "Algeria", + ec: "Ecuador", + ee: "Estonia", + eg: "Egitto", + eh: "Sahara occidentale", + er: "Eritrea", + es: "Spagna", + et: "Etiopia", + fi: "Finlandia", + fj: "Figi", + fk: "Isole Falkland", + fm: "Micronesia", + fo: "Isole Fær Øer", + fr: "Francia", + ga: "Gabon", + gb: "Regno Unito", + gd: "Grenada", + ge: "Georgia", + gf: "Guyana francese", + gg: "Guernsey", + gh: "Ghana", + gi: "Gibilterra", + gl: "Groenlandia", + gm: "Gambia", + gn: "Guinea", + gp: "Guadalupa", + gq: "Guinea Equatoriale", + gr: "Grecia", + gt: "Guatemala", + gu: "Guam", + gw: "Guinea-Bissau", + gy: "Guyana", + hk: "RAS di Hong Kong", + hn: "Honduras", + hr: "Croazia", + ht: "Haiti", + hu: "Ungheria", + id: "Indonesia", + ie: "Irlanda", + il: "Israele", + im: "Isola di Man", + in: "India", + io: "Territorio britannico dell’Oceano Indiano", + iq: "Iraq", + ir: "Iran", + is: "Islanda", + it: "Italia", + je: "Jersey", + jm: "Giamaica", + jo: "Giordania", + jp: "Giappone", + ke: "Kenya", + kg: "Kirghizistan", + kh: "Cambogia", + ki: "Kiribati", + km: "Comore", + kn: "Saint Kitts e Nevis", + kp: "Corea del Nord", + kr: "Corea del Sud", + kw: "Kuwait", + ky: "Isole Cayman", + kz: "Kazakistan", + la: "Laos", + lb: "Libano", + lc: "Saint Lucia", + li: "Liechtenstein", + lk: "Sri Lanka", + lr: "Liberia", + ls: "Lesotho", + lt: "Lituania", + lu: "Lussemburgo", + lv: "Lettonia", + ly: "Libia", + ma: "Marocco", + mc: "Monaco", + md: "Moldavia", + me: "Montenegro", + mf: "Saint Martin", + mg: "Madagascar", + mh: "Isole Marshall", + mk: "Macedonia del Nord", + ml: "Mali", + mm: "Myanmar (Birmania)", + mn: "Mongolia", + mo: "RAS di Macao", + mp: "Isole Marianne settentrionali", + mq: "Martinica", + mr: "Mauritania", + ms: "Montserrat", + mt: "Malta", + mu: "Mauritius", + mv: "Maldive", + mw: "Malawi", + mx: "Messico", + my: "Malaysia", + mz: "Mozambico", + na: "Namibia", + nc: "Nuova Caledonia", + ne: "Niger", + nf: "Isola Norfolk", + ng: "Nigeria", + ni: "Nicaragua", + nl: "Paesi Bassi", + no: "Norvegia", + np: "Nepal", + nr: "Nauru", + nu: "Niue", + nz: "Nuova Zelanda", + om: "Oman", + pa: "Panamá", + pe: "Perù", + pf: "Polinesia francese", + pg: "Papua Nuova Guinea", + ph: "Filippine", + pk: "Pakistan", + pl: "Polonia", + pm: "Saint-Pierre e Miquelon", + pr: "Portorico", + ps: "Territori palestinesi", + pt: "Portogallo", + pw: "Palau", + py: "Paraguay", + qa: "Qatar", + re: "Riunione", + ro: "Romania", + rs: "Serbia", + ru: "Russia", + rw: "Ruanda", + sa: "Arabia Saudita", + sb: "Isole Salomone", + sc: "Seychelles", + sd: "Sudan", + se: "Svezia", + sg: "Singapore", + sh: "Sant’Elena", + si: "Slovenia", + sj: "Svalbard e Jan Mayen", + sk: "Slovacchia", + sl: "Sierra Leone", + sm: "San Marino", + sn: "Senegal", + so: "Somalia", + sr: "Suriname", + ss: "Sud Sudan", + st: "São Tomé e Príncipe", + sv: "El Salvador", + sx: "Sint Maarten", + sy: "Siria", + sz: "Swaziland", + tc: "Isole Turks e Caicos", + td: "Ciad", + tg: "Togo", + th: "Thailandia", + tj: "Tagikistan", + tk: "Tokelau", + tl: "Timor Est", + tm: "Turkmenistan", + tn: "Tunisia", + to: "Tonga", + tr: "Turchia", + tt: "Trinidad e Tobago", + tv: "Tuvalu", + tw: "Taiwan", + tz: "Tanzania", + ua: "Ucraina", + ug: "Uganda", + us: "Stati Uniti", + uy: "Uruguay", + uz: "Uzbekistan", + va: "Città del Vaticano", + vc: "Saint Vincent e Grenadine", + ve: "Venezuela", + vg: "Isole Vergini Britanniche", + vi: "Isole Vergini Americane", + vn: "Vietnam", + vu: "Vanuatu", + wf: "Wallis e Futuna", + ws: "Samoa", + ye: "Yemen", + yt: "Mayotte", + za: "Sudafrica", + zm: "Zambia", + zw: "Zimbabwe" +}; +export default countryTranslations; diff --git a/assets/intl-tel-input/js/i18n/it/index.js b/assets/intl-tel-input/js/i18n/it/index.js new file mode 100644 index 0000000..8c1c317 --- /dev/null +++ b/assets/intl-tel-input/js/i18n/it/index.js @@ -0,0 +1,5 @@ +import countryTranslations from "./countries.js"; +import interfaceTranslations from "./interface.js"; +export { countryTranslations, interfaceTranslations }; +const allTranslations = { ...countryTranslations, ...interfaceTranslations }; +export default allTranslations; diff --git a/assets/intl-tel-input/js/i18n/it/interface.js b/assets/intl-tel-input/js/i18n/it/interface.js new file mode 100644 index 0000000..c67b57c --- /dev/null +++ b/assets/intl-tel-input/js/i18n/it/interface.js @@ -0,0 +1,13 @@ +const interfaceTranslations = { + selectedCountryAriaLabel: "Paese selezionato", + noCountrySelected: "Nessun paese selezionato", + countryListAriaLabel: "Elenco dei paesi", + searchPlaceholder: "Ricerca", + zeroSearchResults: "Nessun risultato trovato", + oneSearchResult: "1 risultato trovato", + multipleSearchResults: "${count} risultati trovati", + // additional countries (not supported by country-list library) + ac: "Isola di Ascensione", + xk: "Kosovo" +}; +export default interfaceTranslations; diff --git a/assets/intl-tel-input/js/i18n/ja/countries.js b/assets/intl-tel-input/js/i18n/ja/countries.js new file mode 100644 index 0000000..3598947 --- /dev/null +++ b/assets/intl-tel-input/js/i18n/ja/countries.js @@ -0,0 +1,245 @@ +const countryTranslations = { + ad: "アンドラ", + ae: "アラブ首長国連邦", + af: "アフガニスタン", + ag: "アンティグア・バーブーダ", + ai: "アンギラ", + al: "アルバニア", + am: "アルメニア", + ao: "アンゴラ", + ar: "アルゼンチン", + as: "米領サモア", + at: "オーストリア", + au: "オーストラリア", + aw: "アルバ", + ax: "オーランド諸島", + az: "アゼルバイジャン", + ba: "ボスニア・ヘルツェゴビナ", + bb: "バルバドス", + bd: "バングラデシュ", + be: "ベルギー", + bf: "ブルキナファソ", + bg: "ブルガリア", + bh: "バーレーン", + bi: "ブルンジ", + bj: "ベナン", + bl: "サン・バルテルミー", + bm: "バミューダ", + bn: "ブルネイ", + bo: "ボリビア", + bq: "オランダ領カリブ", + br: "ブラジル", + bs: "バハマ", + bt: "ブータン", + bw: "ボツワナ", + by: "ベラルーシ", + bz: "ベリーズ", + ca: "カナダ", + cc: "ココス(キーリング)諸島", + cd: "コンゴ民主共和国(キンシャサ)", + cf: "中央アフリカ共和国", + cg: "コンゴ共和国(ブラザビル)", + ch: "スイス", + ci: "コートジボワール", + ck: "クック諸島", + cl: "チリ", + cm: "カメルーン", + cn: "中国", + co: "コロンビア", + cr: "コスタリカ", + cu: "キューバ", + cv: "カーボベルデ", + cw: "キュラソー", + cx: "クリスマス島", + cy: "キプロス", + cz: "チェコ", + de: "ドイツ", + dj: "ジブチ", + dk: "デンマーク", + dm: "ドミニカ国", + do: "ドミニカ共和国", + dz: "アルジェリア", + ec: "エクアドル", + ee: "エストニア", + eg: "エジプト", + eh: "西サハラ", + er: "エリトリア", + es: "スペイン", + et: "エチオピア", + fi: "フィンランド", + fj: "フィジー", + fk: "フォークランド諸島", + fm: "ミクロネシア連邦", + fo: "フェロー諸島", + fr: "フランス", + ga: "ガボン", + gb: "イギリス", + gd: "グレナダ", + ge: "ジョージア", + gf: "仏領ギアナ", + gg: "ガーンジー", + gh: "ガーナ", + gi: "ジブラルタル", + gl: "グリーンランド", + gm: "ガンビア", + gn: "ギニア", + gp: "グアドループ", + gq: "赤道ギニア", + gr: "ギリシャ", + gt: "グアテマラ", + gu: "グアム", + gw: "ギニアビサウ", + gy: "ガイアナ", + hk: "中華人民共和国香港特別行政区", + hn: "ホンジュラス", + hr: "クロアチア", + ht: "ハイチ", + hu: "ハンガリー", + id: "インドネシア", + ie: "アイルランド", + il: "イスラエル", + im: "マン島", + in: "インド", + io: "英領インド洋地域", + iq: "イラク", + ir: "イラン", + is: "アイスランド", + it: "イタリア", + je: "ジャージー", + jm: "ジャマイカ", + jo: "ヨルダン", + jp: "日本", + ke: "ケニア", + kg: "キルギス", + kh: "カンボジア", + ki: "キリバス", + km: "コモロ", + kn: "セントクリストファー・ネーヴィス", + kp: "北朝鮮", + kr: "韓国", + kw: "クウェート", + ky: "ケイマン諸島", + kz: "カザフスタン", + la: "ラオス", + lb: "レバノン", + lc: "セントルシア", + li: "リヒテンシュタイン", + lk: "スリランカ", + lr: "リベリア", + ls: "レソト", + lt: "リトアニア", + lu: "ルクセンブルク", + lv: "ラトビア", + ly: "リビア", + ma: "モロッコ", + mc: "モナコ", + md: "モルドバ", + me: "モンテネグロ", + mf: "サン・マルタン", + mg: "マダガスカル", + mh: "マーシャル諸島", + mk: "北マケドニア", + ml: "マリ", + mm: "ミャンマー (ビルマ)", + mn: "モンゴル", + mo: "中華人民共和国マカオ特別行政区", + mp: "北マリアナ諸島", + mq: "マルティニーク", + mr: "モーリタニア", + ms: "モントセラト", + mt: "マルタ", + mu: "モーリシャス", + mv: "モルディブ", + mw: "マラウイ", + mx: "メキシコ", + my: "マレーシア", + mz: "モザンビーク", + na: "ナミビア", + nc: "ニューカレドニア", + ne: "ニジェール", + nf: "ノーフォーク島", + ng: "ナイジェリア", + ni: "ニカラグア", + nl: "オランダ", + no: "ノルウェー", + np: "ネパール", + nr: "ナウル", + nu: "ニウエ", + nz: "ニュージーランド", + om: "オマーン", + pa: "パナマ", + pe: "ペルー", + pf: "仏領ポリネシア", + pg: "パプアニューギニア", + ph: "フィリピン", + pk: "パキスタン", + pl: "ポーランド", + pm: "サンピエール島・ミクロン島", + pr: "プエルトリコ", + ps: "パレスチナ自治区", + pt: "ポルトガル", + pw: "パラオ", + py: "パラグアイ", + qa: "カタール", + re: "レユニオン", + ro: "ルーマニア", + rs: "セルビア", + ru: "ロシア", + rw: "ルワンダ", + sa: "サウジアラビア", + sb: "ソロモン諸島", + sc: "セーシェル", + sd: "スーダン", + se: "スウェーデン", + sg: "シンガポール", + sh: "セントヘレナ", + si: "スロベニア", + sj: "スバールバル諸島・ヤンマイエン島", + sk: "スロバキア", + sl: "シエラレオネ", + sm: "サンマリノ", + sn: "セネガル", + so: "ソマリア", + sr: "スリナム", + ss: "南スーダン", + st: "サントメ・プリンシペ", + sv: "エルサルバドル", + sx: "シント・マールテン", + sy: "シリア", + sz: "エスワティニ", + tc: "タークス・カイコス諸島", + td: "チャド", + tg: "トーゴ", + th: "タイ", + tj: "タジキスタン", + tk: "トケラウ", + tl: "東ティモール", + tm: "トルクメニスタン", + tn: "チュニジア", + to: "トンガ", + tr: "トルコ", + tt: "トリニダード・トバゴ", + tv: "ツバル", + tw: "台湾", + tz: "タンザニア", + ua: "ウクライナ", + ug: "ウガンダ", + us: "アメリカ合衆国", + uy: "ウルグアイ", + uz: "ウズベキスタン", + va: "バチカン市国", + vc: "セントビンセント及びグレナディーン諸島", + ve: "ベネズエラ", + vg: "英領ヴァージン諸島", + vi: "米領ヴァージン諸島", + vn: "ベトナム", + vu: "バヌアツ", + wf: "ウォリス・フツナ", + ws: "サモア", + ye: "イエメン", + yt: "マヨット", + za: "南アフリカ", + zm: "ザンビア", + zw: "ジンバブエ" +}; +export default countryTranslations; diff --git a/assets/intl-tel-input/js/i18n/ja/index.js b/assets/intl-tel-input/js/i18n/ja/index.js new file mode 100644 index 0000000..8c1c317 --- /dev/null +++ b/assets/intl-tel-input/js/i18n/ja/index.js @@ -0,0 +1,5 @@ +import countryTranslations from "./countries.js"; +import interfaceTranslations from "./interface.js"; +export { countryTranslations, interfaceTranslations }; +const allTranslations = { ...countryTranslations, ...interfaceTranslations }; +export default allTranslations; diff --git a/assets/intl-tel-input/js/i18n/ja/interface.js b/assets/intl-tel-input/js/i18n/ja/interface.js new file mode 100644 index 0000000..9396e90 --- /dev/null +++ b/assets/intl-tel-input/js/i18n/ja/interface.js @@ -0,0 +1,13 @@ +const interfaceTranslations = { + selectedCountryAriaLabel: "選択した国", + noCountrySelected: "国が選択されていません", + countryListAriaLabel: "国のリスト", + searchPlaceholder: "検索", + zeroSearchResults: "結果が見つかりません", + oneSearchResult: "1 件の結果が見つかりました", + multipleSearchResults: "${count} 件の結果が見つかりました", + // additional countries (not supported by country-list library) + ac: "アセンション島", + xk: "コソボ" +}; +export default interfaceTranslations; diff --git a/assets/intl-tel-input/js/i18n/ko/countries.js b/assets/intl-tel-input/js/i18n/ko/countries.js new file mode 100644 index 0000000..020c789 --- /dev/null +++ b/assets/intl-tel-input/js/i18n/ko/countries.js @@ -0,0 +1,245 @@ +const countryTranslations = { + ad: "안도라", + ae: "아랍에미리트", + af: "아프가니스탄", + ag: "앤티가 바부다", + ai: "앵귈라", + al: "알바니아", + am: "아르메니아", + ao: "앙골라", + ar: "아르헨티나", + as: "아메리칸 사모아", + at: "오스트리아", + au: "오스트레일리아", + aw: "아루바", + ax: "올란드 제도", + az: "아제르바이잔", + ba: "보스니아 헤르체고비나", + bb: "바베이도스", + bd: "방글라데시", + be: "벨기에", + bf: "부르키나파소", + bg: "불가리아", + bh: "바레인", + bi: "부룬디", + bj: "베냉", + bl: "생바르텔레미", + bm: "버뮤다", + bn: "브루나이", + bo: "볼리비아", + bq: "네덜란드령 카리브", + br: "브라질", + bs: "바하마", + bt: "부탄", + bw: "보츠와나", + by: "벨라루스", + bz: "벨리즈", + ca: "캐나다", + cc: "코코스 제도", + cd: "콩고-킨샤사", + cf: "중앙 아프리카 공화국", + cg: "콩고-브라자빌", + ch: "스위스", + ci: "코트디부아르", + ck: "쿡 제도", + cl: "칠레", + cm: "카메룬", + cn: "중국", + co: "콜롬비아", + cr: "코스타리카", + cu: "쿠바", + cv: "카보베르데", + cw: "퀴라소", + cx: "크리스마스섬", + cy: "키프로스", + cz: "체코", + de: "독일", + dj: "지부티", + dk: "덴마크", + dm: "도미니카", + do: "도미니카 공화국", + dz: "알제리", + ec: "에콰도르", + ee: "에스토니아", + eg: "이집트", + eh: "서사하라", + er: "에리트리아", + es: "스페인", + et: "에티오피아", + fi: "핀란드", + fj: "피지", + fk: "포클랜드 제도", + fm: "미크로네시아", + fo: "페로 제도", + fr: "프랑스", + ga: "가봉", + gb: "영국", + gd: "그레나다", + ge: "조지아", + gf: "프랑스령 기아나", + gg: "건지", + gh: "가나", + gi: "지브롤터", + gl: "그린란드", + gm: "감비아", + gn: "기니", + gp: "과들루프", + gq: "적도 기니", + gr: "그리스", + gt: "과테말라", + gu: "괌", + gw: "기니비사우", + gy: "가이아나", + hk: "홍콩(중국 특별행정구)", + hn: "온두라스", + hr: "크로아티아", + ht: "아이티", + hu: "헝가리", + id: "인도네시아", + ie: "아일랜드", + il: "이스라엘", + im: "맨 섬", + in: "인도", + io: "영국령 인도양 식민지", + iq: "이라크", + ir: "이란", + is: "아이슬란드", + it: "이탈리아", + je: "저지", + jm: "자메이카", + jo: "요르단", + jp: "일본", + ke: "케냐", + kg: "키르기스스탄", + kh: "캄보디아", + ki: "키리바시", + km: "코모로", + kn: "세인트키츠 네비스", + kp: "북한", + kr: "대한민국", + kw: "쿠웨이트", + ky: "케이맨 제도", + kz: "카자흐스탄", + la: "라오스", + lb: "레바논", + lc: "세인트루시아", + li: "리히텐슈타인", + lk: "스리랑카", + lr: "라이베리아", + ls: "레소토", + lt: "리투아니아", + lu: "룩셈부르크", + lv: "라트비아", + ly: "리비아", + ma: "모로코", + mc: "모나코", + md: "몰도바", + me: "몬테네그로", + mf: "생마르탱", + mg: "마다가스카르", + mh: "마셜 제도", + mk: "북마케도니아", + ml: "말리", + mm: "미얀마", + mn: "몽골", + mo: "마카오(중국 특별행정구)", + mp: "북마리아나제도", + mq: "마르티니크", + mr: "모리타니", + ms: "몬트세라트", + mt: "몰타", + mu: "모리셔스", + mv: "몰디브", + mw: "말라위", + mx: "멕시코", + my: "말레이시아", + mz: "모잠비크", + na: "나미비아", + nc: "뉴칼레도니아", + ne: "니제르", + nf: "노퍽섬", + ng: "나이지리아", + ni: "니카라과", + nl: "네덜란드", + no: "노르웨이", + np: "네팔", + nr: "나우루", + nu: "니우에", + nz: "뉴질랜드", + om: "오만", + pa: "파나마", + pe: "페루", + pf: "프랑스령 폴리네시아", + pg: "파푸아뉴기니", + ph: "필리핀", + pk: "파키스탄", + pl: "폴란드", + pm: "생피에르 미클롱", + pr: "푸에르토리코", + ps: "팔레스타인 지구", + pt: "포르투갈", + pw: "팔라우", + py: "파라과이", + qa: "카타르", + re: "리유니온", + ro: "루마니아", + rs: "세르비아", + ru: "러시아", + rw: "르완다", + sa: "사우디아라비아", + sb: "솔로몬 제도", + sc: "세이셸", + sd: "수단", + se: "스웨덴", + sg: "싱가포르", + sh: "세인트헬레나", + si: "슬로베니아", + sj: "스발바르제도-얀마웬섬", + sk: "슬로바키아", + sl: "시에라리온", + sm: "산마리노", + sn: "세네갈", + so: "소말리아", + sr: "수리남", + ss: "남수단", + st: "상투메 프린시페", + sv: "엘살바도르", + sx: "신트마르턴", + sy: "시리아", + sz: "에스와티니", + tc: "터크스 케이커스 제도", + td: "차드", + tg: "토고", + th: "태국", + tj: "타지키스탄", + tk: "토켈라우", + tl: "동티모르", + tm: "투르크메니스탄", + tn: "튀니지", + to: "통가", + tr: "터키", + tt: "트리니다드 토바고", + tv: "투발루", + tw: "대만", + tz: "탄자니아", + ua: "우크라이나", + ug: "우간다", + us: "미국", + uy: "우루과이", + uz: "우즈베키스탄", + va: "바티칸 시국", + vc: "세인트빈센트그레나딘", + ve: "베네수엘라", + vg: "영국령 버진아일랜드", + vi: "미국령 버진아일랜드", + vn: "베트남", + vu: "바누아투", + wf: "왈리스-푸투나 제도", + ws: "사모아", + ye: "예멘", + yt: "마요트", + za: "남아프리카", + zm: "잠비아", + zw: "짐바브웨" +}; +export default countryTranslations; diff --git a/assets/intl-tel-input/js/i18n/ko/index.js b/assets/intl-tel-input/js/i18n/ko/index.js new file mode 100644 index 0000000..8c1c317 --- /dev/null +++ b/assets/intl-tel-input/js/i18n/ko/index.js @@ -0,0 +1,5 @@ +import countryTranslations from "./countries.js"; +import interfaceTranslations from "./interface.js"; +export { countryTranslations, interfaceTranslations }; +const allTranslations = { ...countryTranslations, ...interfaceTranslations }; +export default allTranslations; diff --git a/assets/intl-tel-input/js/i18n/ko/interface.js b/assets/intl-tel-input/js/i18n/ko/interface.js new file mode 100644 index 0000000..3d75cf4 --- /dev/null +++ b/assets/intl-tel-input/js/i18n/ko/interface.js @@ -0,0 +1,13 @@ +const interfaceTranslations = { + selectedCountryAriaLabel: "선택한 국가", + noCountrySelected: "선택한 국가가 없습니다.", + countryListAriaLabel: "국가 목록", + searchPlaceholder: "검색", + zeroSearchResults: "검색 결과가 없습니다", + oneSearchResult: "1개의 결과를 찾았습니다.", + multipleSearchResults: "${count}개의 결과를 찾았습니다.", + // additional countries (not supported by country-list library) + ac: "어센션섬", + xk: "코소보" +}; +export default interfaceTranslations; diff --git a/assets/intl-tel-input/js/i18n/lt/countries.js b/assets/intl-tel-input/js/i18n/lt/countries.js new file mode 100644 index 0000000..a76dace --- /dev/null +++ b/assets/intl-tel-input/js/i18n/lt/countries.js @@ -0,0 +1,245 @@ +const countryTranslations = { + ad: "Andora", + ae: "Jungtiniai Arabų Emyratai", + af: "Afganistanas", + ag: "Antigva ir Barbuda", + ai: "Angilija", + al: "Albanija", + am: "Armėnija", + ao: "Angola", + ar: "Argentina", + as: "Amerikos Samoa", + at: "Austrija", + au: "Australija", + aw: "Aruba", + ax: "Alandų Salos", + az: "Azerbaidžanas", + ba: "Bosnija ir Hercegovina", + bb: "Barbadosas", + bd: "Bangladešas", + be: "Belgija", + bf: "Burkina Fasas", + bg: "Bulgarija", + bh: "Bahreinas", + bi: "Burundis", + bj: "Beninas", + bl: "Sen Bartelemi", + bm: "Bermuda", + bn: "Brunėjus", + bo: "Bolivija", + bq: "Karibų Nyderlandai", + br: "Brazilija", + bs: "Bahamos", + bt: "Butanas", + bw: "Botsvana", + by: "Baltarusija", + bz: "Belizas", + ca: "Kanada", + cc: "Kokosų (Kilingo) Salos", + cd: "Kongas-Kinšasa", + cf: "Centrinės Afrikos Respublika", + cg: "Kongas-Brazavilis", + ch: "Šveicarija", + ci: "Dramblio Kaulo Krantas", + ck: "Kuko Salos", + cl: "Čilė", + cm: "Kamerūnas", + cn: "Kinija", + co: "Kolumbija", + cr: "Kosta Rika", + cu: "Kuba", + cv: "Žaliasis Kyšulys", + cw: "Kiurasao", + cx: "Kalėdų Sala", + cy: "Kipras", + cz: "Čekija", + de: "Vokietija", + dj: "Džibutis", + dk: "Danija", + dm: "Dominika", + do: "Dominikos Respublika", + dz: "Alžyras", + ec: "Ekvadoras", + ee: "Estija", + eg: "Egiptas", + eh: "Vakarų Sachara", + er: "Eritrėja", + es: "Ispanija", + et: "Etiopija", + fi: "Suomija", + fj: "Fidžis", + fk: "Folklando Salos", + fm: "Mikronezija", + fo: "Farerų Salos", + fr: "Prancūzija", + ga: "Gabonas", + gb: "Jungtinė Karalystė", + gd: "Grenada", + ge: "Gruzija", + gf: "Prancūzijos Gviana", + gg: "Gernsis", + gh: "Gana", + gi: "Gibraltaras", + gl: "Grenlandija", + gm: "Gambija", + gn: "Gvinėja", + gp: "Gvadelupa", + gq: "Pusiaujo Gvinėja", + gr: "Graikija", + gt: "Gvatemala", + gu: "Guamas", + gw: "Bisau Gvinėja", + gy: "Gajana", + hk: "Ypatingasis Administracinis Kinijos Regionas Honkongas", + hn: "Hondūras", + hr: "Kroatija", + ht: "Haitis", + hu: "Vengrija", + id: "Indonezija", + ie: "Airija", + il: "Izraelis", + im: "Meno Sala", + in: "Indija", + io: "Indijos Vandenyno Britų Sritis", + iq: "Irakas", + ir: "Iranas", + is: "Islandija", + it: "Italija", + je: "Džersis", + jm: "Jamaika", + jo: "Jordanija", + jp: "Japonija", + ke: "Kenija", + kg: "Kirgizija", + kh: "Kambodža", + ki: "Kiribatis", + km: "Komorai", + kn: "Sent Kitsas ir Nevis", + kp: "Šiaurės Korėja", + kr: "Pietų Korėja", + kw: "Kuveitas", + ky: "Kaimanų Salos", + kz: "Kazachstanas", + la: "Laosas", + lb: "Libanas", + lc: "Sent Lusija", + li: "Lichtenšteinas", + lk: "Šri Lanka", + lr: "Liberija", + ls: "Lesotas", + lt: "Lietuva", + lu: "Liuksemburgas", + lv: "Latvija", + ly: "Libija", + ma: "Marokas", + mc: "Monakas", + md: "Moldova", + me: "Juodkalnija", + mf: "Sen Martenas", + mg: "Madagaskaras", + mh: "Maršalo Salos", + mk: "Šiaurės Makedonija", + ml: "Malis", + mm: "Mianmaras (Birma)", + mn: "Mongolija", + mo: "Ypatingasis Administracinis Kinijos Regionas Makao", + mp: "Marianos Šiaurinės Salos", + mq: "Martinika", + mr: "Mauritanija", + ms: "Montseratas", + mt: "Malta", + mu: "Mauricijus", + mv: "Maldyvai", + mw: "Malavis", + mx: "Meksika", + my: "Malaizija", + mz: "Mozambikas", + na: "Namibija", + nc: "Naujoji Kaledonija", + ne: "Nigeris", + nf: "Norfolko sala", + ng: "Nigerija", + ni: "Nikaragva", + nl: "Nyderlandai", + no: "Norvegija", + np: "Nepalas", + nr: "Nauru", + nu: "Niujė", + nz: "Naujoji Zelandija", + om: "Omanas", + pa: "Panama", + pe: "Peru", + pf: "Prancūzijos Polinezija", + pg: "Papua Naujoji Gvinėja", + ph: "Filipinai", + pk: "Pakistanas", + pl: "Lenkija", + pm: "Sen Pjeras ir Mikelonas", + pr: "Puerto Rikas", + ps: "Palestinos teritorija", + pt: "Portugalija", + pw: "Palau", + py: "Paragvajus", + qa: "Kataras", + re: "Reunjonas", + ro: "Rumunija", + rs: "Serbija", + ru: "Rusija", + rw: "Ruanda", + sa: "Saudo Arabija", + sb: "Saliamono Salos", + sc: "Seišeliai", + sd: "Sudanas", + se: "Švedija", + sg: "Singapūras", + sh: "Šv. Elenos Sala", + si: "Slovėnija", + sj: "Svalbardas ir Janas Majenas", + sk: "Slovakija", + sl: "Siera Leonė", + sm: "San Marinas", + sn: "Senegalas", + so: "Somalis", + sr: "Surinamas", + ss: "Pietų Sudanas", + st: "San Tomė ir Prinsipė", + sv: "Salvadoras", + sx: "Sint Martenas", + sy: "Sirija", + sz: "Svazilandas", + tc: "Terkso ir Kaikoso Salos", + td: "Čadas", + tg: "Togas", + th: "Tailandas", + tj: "Tadžikija", + tk: "Tokelau", + tl: "Rytų Timoras", + tm: "Turkmėnistanas", + tn: "Tunisas", + to: "Tonga", + tr: "Turkija", + tt: "Trinidadas ir Tobagas", + tv: "Tuvalu", + tw: "Taivanas", + tz: "Tanzanija", + ua: "Ukraina", + ug: "Uganda", + us: "Jungtinės Valstijos", + uy: "Urugvajus", + uz: "Uzbekistanas", + va: "Vatikano Miesto Valstybė", + vc: "Šventasis Vincentas ir Grenadinai", + ve: "Venesuela", + vg: "Didžiosios Britanijos Mergelių Salos", + vi: "Jungtinių Valstijų Mergelių Salos", + vn: "Vietnamas", + vu: "Vanuatu", + wf: "Volisas ir Futūna", + ws: "Samoa", + ye: "Jemenas", + yt: "Majotas", + za: "Pietų Afrika", + zm: "Zambija", + zw: "Zimbabvė" +}; +export default countryTranslations; diff --git a/assets/intl-tel-input/js/i18n/lt/index.js b/assets/intl-tel-input/js/i18n/lt/index.js new file mode 100644 index 0000000..8c1c317 --- /dev/null +++ b/assets/intl-tel-input/js/i18n/lt/index.js @@ -0,0 +1,5 @@ +import countryTranslations from "./countries.js"; +import interfaceTranslations from "./interface.js"; +export { countryTranslations, interfaceTranslations }; +const allTranslations = { ...countryTranslations, ...interfaceTranslations }; +export default allTranslations; diff --git a/assets/intl-tel-input/js/i18n/lt/interface.js b/assets/intl-tel-input/js/i18n/lt/interface.js new file mode 100644 index 0000000..dfd23a4 --- /dev/null +++ b/assets/intl-tel-input/js/i18n/lt/interface.js @@ -0,0 +1,26 @@ +const interfaceTranslations = { + selectedCountryAriaLabel: "Pakeisti šalį, pasirinkta ${countryName} (${dialCode})", + noCountrySelected: "Pasirinkite šalį", + countryListAriaLabel: "Šalių sąrašas", + searchPlaceholder: "Paieška", + clearSearchAriaLabel: "Išvalyti paiešką", + zeroSearchResults: "Rezultatų nerasta", + searchResultsText(count) { + if (count === 1) { + return "Rastas 1 rezultatas"; + } + const mod10 = count % 10; + const mod100 = count % 100; + if (mod10 === 1 && mod100 !== 11) { + return `Rasti ${count} rezultatas`; + } + if (mod10 >= 2 && mod10 <= 9 && !(mod100 >= 11 && mod100 <= 19)) { + return `Rasti ${count} rezultatai`; + } + return `Rasta ${count} rezultatų`; + }, + // additional countries (not supported by country-list library) + ac: "Dangun Žengimo sala", + xk: "Kosovas" +}; +export default interfaceTranslations; diff --git a/assets/intl-tel-input/js/i18n/mr/countries.js b/assets/intl-tel-input/js/i18n/mr/countries.js new file mode 100644 index 0000000..7d9814b --- /dev/null +++ b/assets/intl-tel-input/js/i18n/mr/countries.js @@ -0,0 +1,245 @@ +const countryTranslations = { + ad: "अँडोरा", + ae: "संयुक्त अरब अमीरात", + af: "अफगाणिस्तान", + ag: "अँटिग्वा आणि बर्बुडा", + ai: "अँग्विला", + al: "अल्बानिया", + am: "अर्मेनिया", + ao: "अंगोला", + ar: "अर्जेंटिना", + as: "अमेरिकन सामोआ", + at: "ऑस्ट्रिया", + au: "ऑस्ट्रेलिया", + aw: "अरुबा", + ax: "अ‍ॅलँड बेटे", + az: "अझरबैजान", + ba: "बोस्निया अणि हर्जेगोविना", + bb: "बार्बाडोस", + bd: "बांगलादेश", + be: "बेल्जियम", + bf: "बुर्किना फासो", + bg: "बल्गेरिया", + bh: "बहारीन", + bi: "बुरुंडी", + bj: "बेनिन", + bl: "सेंट बार्थेलेमी", + bm: "बर्मुडा", + bn: "ब्रुनेई", + bo: "बोलिव्हिया", + bq: "कॅरिबियन नेदरलँड्स", + br: "ब्राझिल", + bs: "बहामाज", + bt: "भूतान", + bw: "बोट्सवाना", + by: "बेलारूस", + bz: "बेलिझे", + ca: "कॅनडा", + cc: "कोकोस (कीलिंग) बेटे", + cd: "काँगो - किंशासा", + cf: "केंद्रीय अफ्रिकी प्रजासत्ताक", + cg: "काँगो - ब्राझाविले", + ch: "स्वित्झर्लंड", + ci: "आयव्हरी कोस्ट", + ck: "कुक बेटे", + cl: "चिली", + cm: "कॅमेरून", + cn: "चीन", + co: "कोलम्बिया", + cr: "कोस्टा रिका", + cu: "क्यूबा", + cv: "केप व्हर्डे", + cw: "क्युरासाओ", + cx: "ख्रिसमस बेट", + cy: "सायप्रस", + cz: "झेकिया", + de: "जर्मनी", + dj: "जिबौटी", + dk: "डेन्मार्क", + dm: "डोमिनिका", + do: "डोमिनिकन प्रजासत्ताक", + dz: "अल्जीरिया", + ec: "इक्वाडोर", + ee: "एस्टोनिया", + eg: "इजिप्त", + eh: "पश्चिम सहारा", + er: "एरिट्रिया", + es: "स्पेन", + et: "इथिओपिया", + fi: "फिनलंड", + fj: "फिजी", + fk: "फॉकलंड बेटे", + fm: "मायक्रोनेशिया", + fo: "फेरो बेटे", + fr: "फ्रान्स", + ga: "गॅबॉन", + gb: "युनायटेड किंगडम", + gd: "ग्रेनेडा", + ge: "जॉर्जिया", + gf: "फ्रेंच गयाना", + gg: "ग्वेर्नसे", + gh: "घाना", + gi: "जिब्राल्टर", + gl: "ग्रीनलंड", + gm: "गाम्बिया", + gn: "गिनी", + gp: "ग्वाडेलोउपे", + gq: "इक्वेटोरियल गिनी", + gr: "ग्रीस", + gt: "ग्वाटेमाला", + gu: "गुआम", + gw: "गिनी-बिसाउ", + gy: "गयाना", + hk: "हाँगकाँग एसएआर चीन", + hn: "होंडुरास", + hr: "क्रोएशिया", + ht: "हैती", + hu: "हंगेरी", + id: "इंडोनेशिया", + ie: "आयर्लंड", + il: "इस्त्राइल", + im: "आयल ऑफ मॅन", + in: "भारत", + io: "ब्रिटिश हिंदी महासागर क्षेत्र", + iq: "इराक", + ir: "इराण", + is: "आइसलँड", + it: "इटली", + je: "जर्सी", + jm: "जमैका", + jo: "जॉर्डन", + jp: "जपान", + ke: "केनिया", + kg: "किरगिझस्तान", + kh: "कंबोडिया", + ki: "किरीबाटी", + km: "कोमोरोज", + kn: "सेंट किट्स आणि नेव्हिस", + kp: "उत्तर कोरिया", + kr: "दक्षिण कोरिया", + kw: "कुवेत", + ky: "केमन बेटे", + kz: "कझाकस्तान", + la: "लाओस", + lb: "लेबनॉन", + lc: "सेंट ल्यूसिया", + li: "लिक्टेनस्टाइन", + lk: "श्रीलंका", + lr: "लायबेरिया", + ls: "लेसोथो", + lt: "लिथुआनिया", + lu: "लक्झेंबर्ग", + lv: "लात्विया", + ly: "लिबिया", + ma: "मोरोक्को", + mc: "मोनॅको", + md: "मोल्डोव्हा", + me: "मोंटेनेग्रो", + mf: "सेंट मार्टिन", + mg: "मादागास्कर", + mh: "मार्शल बेटे", + mk: "उत्तर मॅसेडोनिया", + ml: "माली", + mm: "म्यानमार (बर्मा)", + mn: "मंगोलिया", + mo: "मकाओ एसएआर चीन", + mp: "उत्तरी मारियाना बेटे", + mq: "मार्टिनिक", + mr: "मॉरिटानिया", + ms: "मॉन्ट्सेराट", + mt: "माल्टा", + mu: "मॉरिशस", + mv: "मालदीव", + mw: "मलावी", + mx: "मेक्सिको", + my: "मलेशिया", + mz: "मोझाम्बिक", + na: "नामिबिया", + nc: "न्यू कॅलेडोनिया", + ne: "नाइजर", + nf: "नॉरफॉक बेट", + ng: "नायजेरिया", + ni: "निकाराग्वा", + nl: "नेदरलँड", + no: "नॉर्वे", + np: "नेपाळ", + nr: "नाउरू", + nu: "नीयू", + nz: "न्यूझीलंड", + om: "ओमान", + pa: "पनामा", + pe: "पेरू", + pf: "फ्रेंच पॉलिनेशिया", + pg: "पापुआ न्यू गिनी", + ph: "फिलिपिन्स", + pk: "पाकिस्तान", + pl: "पोलंड", + pm: "सेंट पियरे आणि मिक्वेलोन", + pr: "प्युएर्तो रिको", + ps: "पॅलेस्टिनियन प्रदेश", + pt: "पोर्तुगाल", + pw: "पलाऊ", + py: "पराग्वे", + qa: "कतार", + re: "रियुनियन", + ro: "रोमानिया", + rs: "सर्बिया", + ru: "रशिया", + rw: "रवांडा", + sa: "सौदी अरब", + sb: "सोलोमन बेटे", + sc: "सेशेल्स", + sd: "सुदान", + se: "स्वीडन", + sg: "सिंगापूर", + sh: "सेंट हेलेना", + si: "स्लोव्हेनिया", + sj: "स्वालबर्ड आणि जान मायेन", + sk: "स्लोव्हाकिया", + sl: "सिएरा लिओन", + sm: "सॅन मरीनो", + sn: "सेनेगल", + so: "सोमालिया", + sr: "सुरिनाम", + ss: "दक्षिण सुदान", + st: "साओ टोम आणि प्रिंसिपे", + sv: "अल साल्वाडोर", + sx: "सिंट मार्टेन", + sy: "सीरिया", + sz: "इस्वातिनी", + tc: "टर्क्स आणि कैकोस बेटे", + td: "चाड", + tg: "टोगो", + th: "थायलंड", + tj: "ताजिकिस्तान", + tk: "तोकेलाउ", + tl: "तिमोर-लेस्ते", + tm: "तुर्कमेनिस्तान", + tn: "ट्यूनिशिया", + to: "टोंगा", + tr: "तुर्की", + tt: "त्रिनिदाद आणि टोबॅगो", + tv: "टुवालु", + tw: "तैवान", + tz: "टांझानिया", + ua: "युक्रेन", + ug: "युगांडा", + us: "युनायटेड स्टेट्स", + uy: "उरुग्वे", + uz: "उझबेकिस्तान", + va: "व्हॅटिकन सिटी", + vc: "सेंट व्हिन्सेंट आणि ग्रेनडाइन्स", + ve: "व्हेनेझुएला", + vg: "ब्रिटिश व्हर्जिन बेटे", + vi: "यू.एस. व्हर्जिन बेटे", + vn: "व्हिएतनाम", + vu: "वानुआतु", + wf: "वालिस आणि फ्यूचूना", + ws: "सामोआ", + ye: "येमेन", + yt: "मायोट्टे", + za: "दक्षिण आफ्रिका", + zm: "झाम्बिया", + zw: "झिम्बाब्वे" +}; +export default countryTranslations; diff --git a/assets/intl-tel-input/js/i18n/mr/index.js b/assets/intl-tel-input/js/i18n/mr/index.js new file mode 100644 index 0000000..8c1c317 --- /dev/null +++ b/assets/intl-tel-input/js/i18n/mr/index.js @@ -0,0 +1,5 @@ +import countryTranslations from "./countries.js"; +import interfaceTranslations from "./interface.js"; +export { countryTranslations, interfaceTranslations }; +const allTranslations = { ...countryTranslations, ...interfaceTranslations }; +export default allTranslations; diff --git a/assets/intl-tel-input/js/i18n/mr/interface.js b/assets/intl-tel-input/js/i18n/mr/interface.js new file mode 100644 index 0000000..1ef3682 --- /dev/null +++ b/assets/intl-tel-input/js/i18n/mr/interface.js @@ -0,0 +1,13 @@ +const interfaceTranslations = { + selectedCountryAriaLabel: "निवडलेला देश", + noCountrySelected: "कोणताही देश निवडलेला नाही", + countryListAriaLabel: "देशांची यादी", + searchPlaceholder: "शोधा", + zeroSearchResults: "कोणतेही परिणाम आढळले नाहीत", + oneSearchResult: "1 परिणाम आढळला", + multipleSearchResults: "${count} परिणाम आढळले", + // additional countries (not supported by country-list library) + ac: "असेन्शन बेट", + xk: "कोसोवो" +}; +export default interfaceTranslations; diff --git a/assets/intl-tel-input/js/i18n/nl/countries.js b/assets/intl-tel-input/js/i18n/nl/countries.js new file mode 100644 index 0000000..d2cff69 --- /dev/null +++ b/assets/intl-tel-input/js/i18n/nl/countries.js @@ -0,0 +1,245 @@ +const countryTranslations = { + ad: "Andorra", + ae: "Verenigde Arabische Emiraten", + af: "Afghanistan", + ag: "Antigua en Barbuda", + ai: "Anguilla", + al: "Albanië", + am: "Armenië", + ao: "Angola", + ar: "Argentinië", + as: "Amerikaans-Samoa", + at: "Oostenrijk", + au: "Australië", + aw: "Aruba", + ax: "Åland", + az: "Azerbeidzjan", + ba: "Bosnië en Herzegovina", + bb: "Barbados", + bd: "Bangladesh", + be: "België", + bf: "Burkina Faso", + bg: "Bulgarije", + bh: "Bahrein", + bi: "Burundi", + bj: "Benin", + bl: "Saint-Barthélemy", + bm: "Bermuda", + bn: "Brunei", + bo: "Bolivia", + bq: "Caribisch Nederland", + br: "Brazilië", + bs: "Bahama’s", + bt: "Bhutan", + bw: "Botswana", + by: "Belarus", + bz: "Belize", + ca: "Canada", + cc: "Cocoseilanden", + cd: "Congo-Kinshasa", + cf: "Centraal-Afrikaanse Republiek", + cg: "Congo-Brazzaville", + ch: "Zwitserland", + ci: "Ivoorkust", + ck: "Cookeilanden", + cl: "Chili", + cm: "Kameroen", + cn: "China", + co: "Colombia", + cr: "Costa Rica", + cu: "Cuba", + cv: "Kaapverdië", + cw: "Curaçao", + cx: "Christmaseiland", + cy: "Cyprus", + cz: "Tsjechië", + de: "Duitsland", + dj: "Djibouti", + dk: "Denemarken", + dm: "Dominica", + do: "Dominicaanse Republiek", + dz: "Algerije", + ec: "Ecuador", + ee: "Estland", + eg: "Egypte", + eh: "Westelijke Sahara", + er: "Eritrea", + es: "Spanje", + et: "Ethiopië", + fi: "Finland", + fj: "Fiji", + fk: "Falklandeilanden", + fm: "Micronesia", + fo: "Faeröer", + fr: "Frankrijk", + ga: "Gabon", + gb: "Verenigd Koninkrijk", + gd: "Grenada", + ge: "Georgië", + gf: "Frans-Guyana", + gg: "Guernsey", + gh: "Ghana", + gi: "Gibraltar", + gl: "Groenland", + gm: "Gambia", + gn: "Guinee", + gp: "Guadeloupe", + gq: "Equatoriaal-Guinea", + gr: "Griekenland", + gt: "Guatemala", + gu: "Guam", + gw: "Guinee-Bissau", + gy: "Guyana", + hk: "Hongkong SAR van China", + hn: "Honduras", + hr: "Kroatië", + ht: "Haïti", + hu: "Hongarije", + id: "Indonesië", + ie: "Ierland", + il: "Israël", + im: "Isle of Man", + in: "India", + io: "Brits Indische Oceaanterritorium", + iq: "Irak", + ir: "Iran", + is: "IJsland", + it: "Italië", + je: "Jersey", + jm: "Jamaica", + jo: "Jordanië", + jp: "Japan", + ke: "Kenia", + kg: "Kirgizië", + kh: "Cambodja", + ki: "Kiribati", + km: "Comoren", + kn: "Saint Kitts en Nevis", + kp: "Noord-Korea", + kr: "Zuid-Korea", + kw: "Koeweit", + ky: "Kaaimaneilanden", + kz: "Kazachstan", + la: "Laos", + lb: "Libanon", + lc: "Saint Lucia", + li: "Liechtenstein", + lk: "Sri Lanka", + lr: "Liberia", + ls: "Lesotho", + lt: "Litouwen", + lu: "Luxemburg", + lv: "Letland", + ly: "Libië", + ma: "Marokko", + mc: "Monaco", + md: "Moldavië", + me: "Montenegro", + mf: "Saint-Martin", + mg: "Madagaskar", + mh: "Marshalleilanden", + mk: "Noord-Macedonië", + ml: "Mali", + mm: "Myanmar (Birma)", + mn: "Mongolië", + mo: "Macau SAR van China", + mp: "Noordelijke Marianen", + mq: "Martinique", + mr: "Mauritanië", + ms: "Montserrat", + mt: "Malta", + mu: "Mauritius", + mv: "Maldiven", + mw: "Malawi", + mx: "Mexico", + my: "Maleisië", + mz: "Mozambique", + na: "Namibië", + nc: "Nieuw-Caledonië", + ne: "Niger", + nf: "Norfolk", + ng: "Nigeria", + ni: "Nicaragua", + nl: "Nederland", + no: "Noorwegen", + np: "Nepal", + nr: "Nauru", + nu: "Niue", + nz: "Nieuw-Zeeland", + om: "Oman", + pa: "Panama", + pe: "Peru", + pf: "Frans-Polynesië", + pg: "Papoea-Nieuw-Guinea", + ph: "Filipijnen", + pk: "Pakistan", + pl: "Polen", + pm: "Saint-Pierre en Miquelon", + pr: "Puerto Rico", + ps: "Palestijnse gebieden", + pt: "Portugal", + pw: "Palau", + py: "Paraguay", + qa: "Qatar", + re: "Réunion", + ro: "Roemenië", + rs: "Servië", + ru: "Rusland", + rw: "Rwanda", + sa: "Saoedi-Arabië", + sb: "Salomonseilanden", + sc: "Seychellen", + sd: "Soedan", + se: "Zweden", + sg: "Singapore", + sh: "Sint-Helena", + si: "Slovenië", + sj: "Spitsbergen en Jan Mayen", + sk: "Slowakije", + sl: "Sierra Leone", + sm: "San Marino", + sn: "Senegal", + so: "Somalië", + sr: "Suriname", + ss: "Zuid-Soedan", + st: "Sao Tomé en Principe", + sv: "El Salvador", + sx: "Sint-Maarten", + sy: "Syrië", + sz: "eSwatini", + tc: "Turks- en Caicoseilanden", + td: "Tsjaad", + tg: "Togo", + th: "Thailand", + tj: "Tadzjikistan", + tk: "Tokelau", + tl: "Oost-Timor", + tm: "Turkmenistan", + tn: "Tunesië", + to: "Tonga", + tr: "Turkije", + tt: "Trinidad en Tobago", + tv: "Tuvalu", + tw: "Taiwan", + tz: "Tanzania", + ua: "Oekraïne", + ug: "Oeganda", + us: "Verenigde Staten", + uy: "Uruguay", + uz: "Oezbekistan", + va: "Vaticaanstad", + vc: "Saint Vincent en de Grenadines", + ve: "Venezuela", + vg: "Britse Maagdeneilanden", + vi: "Amerikaanse Maagdeneilanden", + vn: "Vietnam", + vu: "Vanuatu", + wf: "Wallis en Futuna", + ws: "Samoa", + ye: "Jemen", + yt: "Mayotte", + za: "Zuid-Afrika", + zm: "Zambia", + zw: "Zimbabwe" +}; +export default countryTranslations; diff --git a/assets/intl-tel-input/js/i18n/nl/index.js b/assets/intl-tel-input/js/i18n/nl/index.js new file mode 100644 index 0000000..8c1c317 --- /dev/null +++ b/assets/intl-tel-input/js/i18n/nl/index.js @@ -0,0 +1,5 @@ +import countryTranslations from "./countries.js"; +import interfaceTranslations from "./interface.js"; +export { countryTranslations, interfaceTranslations }; +const allTranslations = { ...countryTranslations, ...interfaceTranslations }; +export default allTranslations; diff --git a/assets/intl-tel-input/js/i18n/nl/interface.js b/assets/intl-tel-input/js/i18n/nl/interface.js new file mode 100644 index 0000000..249eeda --- /dev/null +++ b/assets/intl-tel-input/js/i18n/nl/interface.js @@ -0,0 +1,13 @@ +const interfaceTranslations = { + selectedCountryAriaLabel: "Geselecteerd land", + noCountrySelected: "Geen land geselecteerd", + countryListAriaLabel: "Lijst met landen", + searchPlaceholder: "Zoekopdracht", + zeroSearchResults: "Geen resultaten gevonden", + oneSearchResult: "1 resultaat gevonden", + multipleSearchResults: "${count} resultaten gevonden", + // additional countries (not supported by country-list library) + ac: "Ascension-eiland", + xk: "Kosovo" +}; +export default interfaceTranslations; diff --git a/assets/intl-tel-input/js/i18n/no/countries.js b/assets/intl-tel-input/js/i18n/no/countries.js new file mode 100644 index 0000000..30102cc --- /dev/null +++ b/assets/intl-tel-input/js/i18n/no/countries.js @@ -0,0 +1,245 @@ +const countryTranslations = { + ad: "Andorra", + ae: "De forente arabiske emirater", + af: "Afghanistan", + ag: "Antigua og Barbuda", + ai: "Anguilla", + al: "Albania", + am: "Armenia", + ao: "Angola", + ar: "Argentina", + as: "Amerikansk Samoa", + at: "Østerrike", + au: "Australia", + aw: "Aruba", + ax: "Åland", + az: "Aserbajdsjan", + ba: "Bosnia-Hercegovina", + bb: "Barbados", + bd: "Bangladesh", + be: "Belgia", + bf: "Burkina Faso", + bg: "Bulgaria", + bh: "Bahrain", + bi: "Burundi", + bj: "Benin", + bl: "Saint-Barthélemy", + bm: "Bermuda", + bn: "Brunei", + bo: "Bolivia", + bq: "Karibisk Nederland", + br: "Brasil", + bs: "Bahamas", + bt: "Bhutan", + bw: "Botswana", + by: "Hviterussland", + bz: "Belize", + ca: "Canada", + cc: "Kokosøyene", + cd: "Kongo-Kinshasa", + cf: "Den sentralafrikanske republikk", + cg: "Kongo-Brazzaville", + ch: "Sveits", + ci: "Elfenbenskysten", + ck: "Cookøyene", + cl: "Chile", + cm: "Kamerun", + cn: "Kina", + co: "Colombia", + cr: "Costa Rica", + cu: "Cuba", + cv: "Kapp Verde", + cw: "Curaçao", + cx: "Christmasøya", + cy: "Kypros", + cz: "Tsjekkia", + de: "Tyskland", + dj: "Djibouti", + dk: "Danmark", + dm: "Dominica", + do: "Den dominikanske republikk", + dz: "Algerie", + ec: "Ecuador", + ee: "Estland", + eg: "Egypt", + eh: "Vest-Sahara", + er: "Eritrea", + es: "Spania", + et: "Etiopia", + fi: "Finland", + fj: "Fiji", + fk: "Falklandsøyene", + fm: "Mikronesiaføderasjonen", + fo: "Færøyene", + fr: "Frankrike", + ga: "Gabon", + gb: "Storbritannia", + gd: "Grenada", + ge: "Georgia", + gf: "Fransk Guyana", + gg: "Guernsey", + gh: "Ghana", + gi: "Gibraltar", + gl: "Grønland", + gm: "Gambia", + gn: "Guinea", + gp: "Guadeloupe", + gq: "Ekvatorial-Guinea", + gr: "Hellas", + gt: "Guatemala", + gu: "Guam", + gw: "Guinea-Bissau", + gy: "Guyana", + hk: "Hongkong S.A.R. Kina", + hn: "Honduras", + hr: "Kroatia", + ht: "Haiti", + hu: "Ungarn", + id: "Indonesia", + ie: "Irland", + il: "Israel", + im: "Man", + in: "India", + io: "Det britiske territoriet i Indiahavet", + iq: "Irak", + ir: "Iran", + is: "Island", + it: "Italia", + je: "Jersey", + jm: "Jamaica", + jo: "Jordan", + jp: "Japan", + ke: "Kenya", + kg: "Kirgisistan", + kh: "Kambodsja", + ki: "Kiribati", + km: "Komorene", + kn: "Saint Kitts og Nevis", + kp: "Nord-Korea", + kr: "Sør-Korea", + kw: "Kuwait", + ky: "Caymanøyene", + kz: "Kasakhstan", + la: "Laos", + lb: "Libanon", + lc: "St. Lucia", + li: "Liechtenstein", + lk: "Sri Lanka", + lr: "Liberia", + ls: "Lesotho", + lt: "Litauen", + lu: "Luxemburg", + lv: "Latvia", + ly: "Libya", + ma: "Marokko", + mc: "Monaco", + md: "Moldova", + me: "Montenegro", + mf: "Saint-Martin", + mg: "Madagaskar", + mh: "Marshalløyene", + mk: "Nord-Makedonia", + ml: "Mali", + mm: "Myanmar (Burma)", + mn: "Mongolia", + mo: "Macao S.A.R. Kina", + mp: "Nord-Marianene", + mq: "Martinique", + mr: "Mauritania", + ms: "Montserrat", + mt: "Malta", + mu: "Mauritius", + mv: "Maldivene", + mw: "Malawi", + mx: "Mexico", + my: "Malaysia", + mz: "Mosambik", + na: "Namibia", + nc: "Ny-Caledonia", + ne: "Niger", + nf: "Norfolkøya", + ng: "Nigeria", + ni: "Nicaragua", + nl: "Nederland", + no: "Norge", + np: "Nepal", + nr: "Nauru", + nu: "Niue", + nz: "New Zealand", + om: "Oman", + pa: "Panama", + pe: "Peru", + pf: "Fransk Polynesia", + pg: "Papua Ny-Guinea", + ph: "Filippinene", + pk: "Pakistan", + pl: "Polen", + pm: "Saint-Pierre-et-Miquelon", + pr: "Puerto Rico", + ps: "Det palestinske området", + pt: "Portugal", + pw: "Palau", + py: "Paraguay", + qa: "Qatar", + re: "Réunion", + ro: "Romania", + rs: "Serbia", + ru: "Russland", + rw: "Rwanda", + sa: "Saudi-Arabia", + sb: "Salomonøyene", + sc: "Seychellene", + sd: "Sudan", + se: "Sverige", + sg: "Singapore", + sh: "St. Helena", + si: "Slovenia", + sj: "Svalbard og Jan Mayen", + sk: "Slovakia", + sl: "Sierra Leone", + sm: "San Marino", + sn: "Senegal", + so: "Somalia", + sr: "Surinam", + ss: "Sør-Sudan", + st: "São Tomé og Príncipe", + sv: "El Salvador", + sx: "Sint Maarten", + sy: "Syria", + sz: "Eswatini", + tc: "Turks- og Caicosøyene", + td: "Tsjad", + tg: "Togo", + th: "Thailand", + tj: "Tadsjikistan", + tk: "Tokelau", + tl: "Øst-Timor", + tm: "Turkmenistan", + tn: "Tunisia", + to: "Tonga", + tr: "Tyrkia", + tt: "Trinidad og Tobago", + tv: "Tuvalu", + tw: "Taiwan", + tz: "Tanzania", + ua: "Ukraina", + ug: "Uganda", + us: "USA", + uy: "Uruguay", + uz: "Usbekistan", + va: "Vatikanstaten", + vc: "St. Vincent og Grenadinene", + ve: "Venezuela", + vg: "De britiske jomfruøyene", + vi: "De amerikanske jomfruøyene", + vn: "Vietnam", + vu: "Vanuatu", + wf: "Wallis og Futuna", + ws: "Samoa", + ye: "Jemen", + yt: "Mayotte", + za: "Sør-Afrika", + zm: "Zambia", + zw: "Zimbabwe" +}; +export default countryTranslations; diff --git a/assets/intl-tel-input/js/i18n/no/index.js b/assets/intl-tel-input/js/i18n/no/index.js new file mode 100644 index 0000000..8c1c317 --- /dev/null +++ b/assets/intl-tel-input/js/i18n/no/index.js @@ -0,0 +1,5 @@ +import countryTranslations from "./countries.js"; +import interfaceTranslations from "./interface.js"; +export { countryTranslations, interfaceTranslations }; +const allTranslations = { ...countryTranslations, ...interfaceTranslations }; +export default allTranslations; diff --git a/assets/intl-tel-input/js/i18n/no/interface.js b/assets/intl-tel-input/js/i18n/no/interface.js new file mode 100644 index 0000000..826579c --- /dev/null +++ b/assets/intl-tel-input/js/i18n/no/interface.js @@ -0,0 +1,13 @@ +const interfaceTranslations = { + selectedCountryAriaLabel: "Valgt land", + noCountrySelected: "Ingen land er valgt", + countryListAriaLabel: "Liste over land", + searchPlaceholder: "Leting", + zeroSearchResults: "Ingen resultater funnet", + oneSearchResult: "1 resultat funnet", + multipleSearchResults: "${count} resultater funnet", + // additional countries (not supported by country-list library) + ac: "Ascension Island", + xk: "Kosovo" +}; +export default interfaceTranslations; diff --git a/assets/intl-tel-input/js/i18n/pl/countries.js b/assets/intl-tel-input/js/i18n/pl/countries.js new file mode 100644 index 0000000..0614d02 --- /dev/null +++ b/assets/intl-tel-input/js/i18n/pl/countries.js @@ -0,0 +1,245 @@ +const countryTranslations = { + ad: "Andora", + ae: "Zjednoczone Emiraty Arabskie", + af: "Afganistan", + ag: "Antigua i Barbuda", + ai: "Anguilla", + al: "Albania", + am: "Armenia", + ao: "Angola", + ar: "Argentyna", + as: "Samoa Amerykańskie", + at: "Austria", + au: "Australia", + aw: "Aruba", + ax: "Wyspy Alandzkie", + az: "Azerbejdżan", + ba: "Bośnia i Hercegowina", + bb: "Barbados", + bd: "Bangladesz", + be: "Belgia", + bf: "Burkina Faso", + bg: "Bułgaria", + bh: "Bahrajn", + bi: "Burundi", + bj: "Benin", + bl: "Saint-Barthélemy", + bm: "Bermudy", + bn: "Brunei", + bo: "Boliwia", + bq: "Niderlandy Karaibskie", + br: "Brazylia", + bs: "Bahamy", + bt: "Bhutan", + bw: "Botswana", + by: "Białoruś", + bz: "Belize", + ca: "Kanada", + cc: "Wyspy Kokosowe", + cd: "Demokratyczna Republika Konga", + cf: "Republika Środkowoafrykańska", + cg: "Kongo", + ch: "Szwajcaria", + ci: "Côte d’Ivoire", + ck: "Wyspy Cooka", + cl: "Chile", + cm: "Kamerun", + cn: "Chiny", + co: "Kolumbia", + cr: "Kostaryka", + cu: "Kuba", + cv: "Republika Zielonego Przylądka", + cw: "Curaçao", + cx: "Wyspa Bożego Narodzenia", + cy: "Cypr", + cz: "Czechy", + de: "Niemcy", + dj: "Dżibuti", + dk: "Dania", + dm: "Dominika", + do: "Dominikana", + dz: "Algieria", + ec: "Ekwador", + ee: "Estonia", + eg: "Egipt", + eh: "Sahara Zachodnia", + er: "Erytrea", + es: "Hiszpania", + et: "Etiopia", + fi: "Finlandia", + fj: "Fidżi", + fk: "Falklandy", + fm: "Mikronezja", + fo: "Wyspy Owcze", + fr: "Francja", + ga: "Gabon", + gb: "Wielka Brytania", + gd: "Grenada", + ge: "Gruzja", + gf: "Gujana Francuska", + gg: "Guernsey", + gh: "Ghana", + gi: "Gibraltar", + gl: "Grenlandia", + gm: "Gambia", + gn: "Gwinea", + gp: "Gwadelupa", + gq: "Gwinea Równikowa", + gr: "Grecja", + gt: "Gwatemala", + gu: "Guam", + gw: "Gwinea Bissau", + gy: "Gujana", + hk: "SRA Hongkong (Chiny)", + hn: "Honduras", + hr: "Chorwacja", + ht: "Haiti", + hu: "Węgry", + id: "Indonezja", + ie: "Irlandia", + il: "Izrael", + im: "Wyspa Man", + in: "Indie", + io: "Brytyjskie Terytorium Oceanu Indyjskiego", + iq: "Irak", + ir: "Iran", + is: "Islandia", + it: "Włochy", + je: "Jersey", + jm: "Jamajka", + jo: "Jordania", + jp: "Japonia", + ke: "Kenia", + kg: "Kirgistan", + kh: "Kambodża", + ki: "Kiribati", + km: "Komory", + kn: "Saint Kitts i Nevis", + kp: "Korea Północna", + kr: "Korea Południowa", + kw: "Kuwejt", + ky: "Kajmany", + kz: "Kazachstan", + la: "Laos", + lb: "Liban", + lc: "Saint Lucia", + li: "Liechtenstein", + lk: "Sri Lanka", + lr: "Liberia", + ls: "Lesotho", + lt: "Litwa", + lu: "Luksemburg", + lv: "Łotwa", + ly: "Libia", + ma: "Maroko", + mc: "Monako", + md: "Mołdawia", + me: "Czarnogóra", + mf: "Saint-Martin", + mg: "Madagaskar", + mh: "Wyspy Marshalla", + mk: "Macedonia Północna", + ml: "Mali", + mm: "Mjanma (Birma)", + mn: "Mongolia", + mo: "SRA Makau (Chiny)", + mp: "Mariany Północne", + mq: "Martynika", + mr: "Mauretania", + ms: "Montserrat", + mt: "Malta", + mu: "Mauritius", + mv: "Malediwy", + mw: "Malawi", + mx: "Meksyk", + my: "Malezja", + mz: "Mozambik", + na: "Namibia", + nc: "Nowa Kaledonia", + ne: "Niger", + nf: "Norfolk", + ng: "Nigeria", + ni: "Nikaragua", + nl: "Holandia", + no: "Norwegia", + np: "Nepal", + nr: "Nauru", + nu: "Niue", + nz: "Nowa Zelandia", + om: "Oman", + pa: "Panama", + pe: "Peru", + pf: "Polinezja Francuska", + pg: "Papua-Nowa Gwinea", + ph: "Filipiny", + pk: "Pakistan", + pl: "Polska", + pm: "Saint-Pierre i Miquelon", + pr: "Portoryko", + ps: "Terytoria Palestyńskie", + pt: "Portugalia", + pw: "Palau", + py: "Paragwaj", + qa: "Katar", + re: "Reunion", + ro: "Rumunia", + rs: "Serbia", + ru: "Rosja", + rw: "Rwanda", + sa: "Arabia Saudyjska", + sb: "Wyspy Salomona", + sc: "Seszele", + sd: "Sudan", + se: "Szwecja", + sg: "Singapur", + sh: "Wyspa Świętej Heleny", + si: "Słowenia", + sj: "Svalbard i Jan Mayen", + sk: "Słowacja", + sl: "Sierra Leone", + sm: "San Marino", + sn: "Senegal", + so: "Somalia", + sr: "Surinam", + ss: "Sudan Południowy", + st: "Wyspy Świętego Tomasza i Książęca", + sv: "Salwador", + sx: "Sint Maarten", + sy: "Syria", + sz: "Eswatini", + tc: "Turks i Caicos", + td: "Czad", + tg: "Togo", + th: "Tajlandia", + tj: "Tadżykistan", + tk: "Tokelau", + tl: "Timor Wschodni", + tm: "Turkmenistan", + tn: "Tunezja", + to: "Tonga", + tr: "Turcja", + tt: "Trynidad i Tobago", + tv: "Tuvalu", + tw: "Tajwan", + tz: "Tanzania", + ua: "Ukraina", + ug: "Uganda", + us: "Stany Zjednoczone", + uy: "Urugwaj", + uz: "Uzbekistan", + va: "Watykan", + vc: "Saint Vincent i Grenadyny", + ve: "Wenezuela", + vg: "Brytyjskie Wyspy Dziewicze", + vi: "Wyspy Dziewicze Stanów Zjednoczonych", + vn: "Wietnam", + vu: "Vanuatu", + wf: "Wallis i Futuna", + ws: "Samoa", + ye: "Jemen", + yt: "Majotta", + za: "Republika Południowej Afryki", + zm: "Zambia", + zw: "Zimbabwe" +}; +export default countryTranslations; diff --git a/assets/intl-tel-input/js/i18n/pl/index.js b/assets/intl-tel-input/js/i18n/pl/index.js new file mode 100644 index 0000000..8c1c317 --- /dev/null +++ b/assets/intl-tel-input/js/i18n/pl/index.js @@ -0,0 +1,5 @@ +import countryTranslations from "./countries.js"; +import interfaceTranslations from "./interface.js"; +export { countryTranslations, interfaceTranslations }; +const allTranslations = { ...countryTranslations, ...interfaceTranslations }; +export default allTranslations; diff --git a/assets/intl-tel-input/js/i18n/pl/interface.js b/assets/intl-tel-input/js/i18n/pl/interface.js new file mode 100644 index 0000000..9f61351 --- /dev/null +++ b/assets/intl-tel-input/js/i18n/pl/interface.js @@ -0,0 +1,19 @@ +const interfaceTranslations = { + selectedCountryAriaLabel: "Wybrany kraj", + noCountrySelected: "Nie wybrano kraju", + countryListAriaLabel: "Lista krajów", + searchPlaceholder: "Szukaj", + zeroSearchResults: "Nie znaleziono wyników", + searchResultsText(count) { + if (count === 1) { + return "Znaleziono 1 wynik"; + } + const isFew = count % 10 >= 2 && count % 10 <= 4 && !(count % 100 >= 12 && count % 100 <= 14); + const suffix = isFew ? "wyniki" : "wyników"; + return `Znaleziono ${count} ${suffix}`; + }, + // additional countries (not supported by country-list library) + ac: "Wyspa Wniebowstąpienia", + xk: "Kosowo" +}; +export default interfaceTranslations; diff --git a/assets/intl-tel-input/js/i18n/pt/countries.js b/assets/intl-tel-input/js/i18n/pt/countries.js new file mode 100644 index 0000000..6756557 --- /dev/null +++ b/assets/intl-tel-input/js/i18n/pt/countries.js @@ -0,0 +1,245 @@ +const countryTranslations = { + ad: "Andorra", + ae: "Emirados Árabes Unidos", + af: "Afeganistão", + ag: "Antígua e Barbuda", + ai: "Anguila", + al: "Albânia", + am: "Armênia", + ao: "Angola", + ar: "Argentina", + as: "Samoa Americana", + at: "Áustria", + au: "Austrália", + aw: "Aruba", + ax: "Ilhas Aland", + az: "Azerbaijão", + ba: "Bósnia e Herzegovina", + bb: "Barbados", + bd: "Bangladesh", + be: "Bélgica", + bf: "Burquina Faso", + bg: "Bulgária", + bh: "Bahrein", + bi: "Burundi", + bj: "Benin", + bl: "São Bartolomeu", + bm: "Bermudas", + bn: "Brunei", + bo: "Bolívia", + bq: "Países Baixos Caribenhos", + br: "Brasil", + bs: "Bahamas", + bt: "Butão", + bw: "Botsuana", + by: "Bielorrússia", + bz: "Belize", + ca: "Canadá", + cc: "Ilhas Cocos (Keeling)", + cd: "Congo - Kinshasa", + cf: "República Centro-Africana", + cg: "República do Congo", + ch: "Suíça", + ci: "Costa do Marfim", + ck: "Ilhas Cook", + cl: "Chile", + cm: "Camarões", + cn: "China", + co: "Colômbia", + cr: "Costa Rica", + cu: "Cuba", + cv: "Cabo Verde", + cw: "Curaçao", + cx: "Ilha Christmas", + cy: "Chipre", + cz: "Tchéquia", + de: "Alemanha", + dj: "Djibuti", + dk: "Dinamarca", + dm: "Dominica", + do: "República Dominicana", + dz: "Argélia", + ec: "Equador", + ee: "Estônia", + eg: "Egito", + eh: "Saara Ocidental", + er: "Eritreia", + es: "Espanha", + et: "Etiópia", + fi: "Finlândia", + fj: "Fiji", + fk: "Ilhas Malvinas", + fm: "Micronésia", + fo: "Ilhas Faroe", + fr: "França", + ga: "Gabão", + gb: "Reino Unido", + gd: "Granada", + ge: "Geórgia", + gf: "Guiana Francesa", + gg: "Guernsey", + gh: "Gana", + gi: "Gibraltar", + gl: "Groenlândia", + gm: "Gâmbia", + gn: "Guiné", + gp: "Guadalupe", + gq: "Guiné Equatorial", + gr: "Grécia", + gt: "Guatemala", + gu: "Guam", + gw: "Guiné-Bissau", + gy: "Guiana", + hk: "Hong Kong, RAE da China", + hn: "Honduras", + hr: "Croácia", + ht: "Haiti", + hu: "Hungria", + id: "Indonésia", + ie: "Irlanda", + il: "Israel", + im: "Ilha de Man", + in: "Índia", + io: "Território Britânico do Oceano Índico", + iq: "Iraque", + ir: "Irã", + is: "Islândia", + it: "Itália", + je: "Jersey", + jm: "Jamaica", + jo: "Jordânia", + jp: "Japão", + ke: "Quênia", + kg: "Quirguistão", + kh: "Camboja", + ki: "Quiribati", + km: "Comores", + kn: "São Cristóvão e Névis", + kp: "Coreia do Norte", + kr: "Coreia do Sul", + kw: "Kuwait", + ky: "Ilhas Cayman", + kz: "Cazaquistão", + la: "Laos", + lb: "Líbano", + lc: "Santa Lúcia", + li: "Liechtenstein", + lk: "Sri Lanka", + lr: "Libéria", + ls: "Lesoto", + lt: "Lituânia", + lu: "Luxemburgo", + lv: "Letônia", + ly: "Líbia", + ma: "Marrocos", + mc: "Mônaco", + md: "Moldova", + me: "Montenegro", + mf: "São Martinho", + mg: "Madagascar", + mh: "Ilhas Marshall", + mk: "Macedônia do Norte", + ml: "Mali", + mm: "Mianmar (Birmânia)", + mn: "Mongólia", + mo: "Macau, RAE da China", + mp: "Ilhas Marianas do Norte", + mq: "Martinica", + mr: "Mauritânia", + ms: "Montserrat", + mt: "Malta", + mu: "Maurício", + mv: "Maldivas", + mw: "Malaui", + mx: "México", + my: "Malásia", + mz: "Moçambique", + na: "Namíbia", + nc: "Nova Caledônia", + ne: "Níger", + nf: "Ilha Norfolk", + ng: "Nigéria", + ni: "Nicarágua", + nl: "Países Baixos", + no: "Noruega", + np: "Nepal", + nr: "Nauru", + nu: "Niue", + nz: "Nova Zelândia", + om: "Omã", + pa: "Panamá", + pe: "Peru", + pf: "Polinésia Francesa", + pg: "Papua-Nova Guiné", + ph: "Filipinas", + pk: "Paquistão", + pl: "Polônia", + pm: "São Pedro e Miquelão", + pr: "Porto Rico", + ps: "Territórios palestinos", + pt: "Portugal", + pw: "Palau", + py: "Paraguai", + qa: "Catar", + re: "Reunião", + ro: "Romênia", + rs: "Sérvia", + ru: "Rússia", + rw: "Ruanda", + sa: "Arábia Saudita", + sb: "Ilhas Salomão", + sc: "Seicheles", + sd: "Sudão", + se: "Suécia", + sg: "Singapura", + sh: "Santa Helena", + si: "Eslovênia", + sj: "Svalbard e Jan Mayen", + sk: "Eslováquia", + sl: "Serra Leoa", + sm: "San Marino", + sn: "Senegal", + so: "Somália", + sr: "Suriname", + ss: "Sudão do Sul", + st: "São Tomé e Príncipe", + sv: "El Salvador", + sx: "Sint Maarten", + sy: "Síria", + sz: "Essuatíni", + tc: "Ilhas Turcas e Caicos", + td: "Chade", + tg: "Togo", + th: "Tailândia", + tj: "Tadjiquistão", + tk: "Tokelau", + tl: "Timor-Leste", + tm: "Turcomenistão", + tn: "Tunísia", + to: "Tonga", + tr: "Turquia", + tt: "Trinidad e Tobago", + tv: "Tuvalu", + tw: "Taiwan", + tz: "Tanzânia", + ua: "Ucrânia", + ug: "Uganda", + us: "Estados Unidos", + uy: "Uruguai", + uz: "Uzbequistão", + va: "Cidade do Vaticano", + vc: "São Vicente e Granadinas", + ve: "Venezuela", + vg: "Ilhas Virgens Britânicas", + vi: "Ilhas Virgens Americanas", + vn: "Vietnã", + vu: "Vanuatu", + wf: "Wallis e Futuna", + ws: "Samoa", + ye: "Iêmen", + yt: "Mayotte", + za: "África do Sul", + zm: "Zâmbia", + zw: "Zimbábue" +}; +export default countryTranslations; diff --git a/assets/intl-tel-input/js/i18n/pt/index.js b/assets/intl-tel-input/js/i18n/pt/index.js new file mode 100644 index 0000000..8c1c317 --- /dev/null +++ b/assets/intl-tel-input/js/i18n/pt/index.js @@ -0,0 +1,5 @@ +import countryTranslations from "./countries.js"; +import interfaceTranslations from "./interface.js"; +export { countryTranslations, interfaceTranslations }; +const allTranslations = { ...countryTranslations, ...interfaceTranslations }; +export default allTranslations; diff --git a/assets/intl-tel-input/js/i18n/pt/interface.js b/assets/intl-tel-input/js/i18n/pt/interface.js new file mode 100644 index 0000000..aace95c --- /dev/null +++ b/assets/intl-tel-input/js/i18n/pt/interface.js @@ -0,0 +1,13 @@ +const interfaceTranslations = { + selectedCountryAriaLabel: "País selecionado", + noCountrySelected: "Nenhum país selecionado", + countryListAriaLabel: "Lista de países", + searchPlaceholder: "Procurar", + zeroSearchResults: "Nenhum resultado encontrado", + oneSearchResult: "1 resultado encontrado", + multipleSearchResults: "${count} resultados encontrados", + // additional countries (not supported by country-list library) + ac: "Ilha de Ascensão", + xk: "Kosovo" +}; +export default interfaceTranslations; diff --git a/assets/intl-tel-input/js/i18n/ro/countries.js b/assets/intl-tel-input/js/i18n/ro/countries.js new file mode 100644 index 0000000..90432d1 --- /dev/null +++ b/assets/intl-tel-input/js/i18n/ro/countries.js @@ -0,0 +1,245 @@ +const countryTranslations = { + ad: "Andorra", + ae: "Emiratele Arabe Unite", + af: "Afganistan", + ag: "Antigua și Barbuda", + ai: "Anguilla", + al: "Albania", + am: "Armenia", + ao: "Angola", + ar: "Argentina", + as: "Samoa Americană", + at: "Austria", + au: "Australia", + aw: "Aruba", + ax: "Insulele Åland", + az: "Azerbaidjan", + ba: "Bosnia și Herțegovina", + bb: "Barbados", + bd: "Bangladesh", + be: "Belgia", + bf: "Burkina Faso", + bg: "Bulgaria", + bh: "Bahrain", + bi: "Burundi", + bj: "Benin", + bl: "Saint-Barthélemy", + bm: "Bermuda", + bn: "Brunei", + bo: "Bolivia", + bq: "Insulele Caraibe Olandeze", + br: "Brazilia", + bs: "Bahamas", + bt: "Bhutan", + bw: "Botswana", + by: "Belarus", + bz: "Belize", + ca: "Canada", + cc: "Insulele Cocos (Keeling)", + cd: "Congo - Kinshasa", + cf: "Republica Centrafricană", + cg: "Congo - Brazzaville", + ch: "Elveția", + ci: "Côte d’Ivoire", + ck: "Insulele Cook", + cl: "Chile", + cm: "Camerun", + cn: "China", + co: "Columbia", + cr: "Costa Rica", + cu: "Cuba", + cv: "Capul Verde", + cw: "Curaçao", + cx: "Insula Christmas", + cy: "Cipru", + cz: "Cehia", + de: "Germania", + dj: "Djibouti", + dk: "Danemarca", + dm: "Dominica", + do: "Republica Dominicană", + dz: "Algeria", + ec: "Ecuador", + ee: "Estonia", + eg: "Egipt", + eh: "Sahara Occidentală", + er: "Eritreea", + es: "Spania", + et: "Etiopia", + fi: "Finlanda", + fj: "Fiji", + fk: "Insulele Falkland", + fm: "Micronezia", + fo: "Insulele Feroe", + fr: "Franța", + ga: "Gabon", + gb: "Regatul Unit", + gd: "Grenada", + ge: "Georgia", + gf: "Guyana Franceză", + gg: "Guernsey", + gh: "Ghana", + gi: "Gibraltar", + gl: "Groenlanda", + gm: "Gambia", + gn: "Guineea", + gp: "Guadelupa", + gq: "Guineea Ecuatorială", + gr: "Grecia", + gt: "Guatemala", + gu: "Guam", + gw: "Guineea-Bissau", + gy: "Guyana", + hk: "R.A.S. Hong Kong a Chinei", + hn: "Honduras", + hr: "Croația", + ht: "Haiti", + hu: "Ungaria", + id: "Indonezia", + ie: "Irlanda", + il: "Israel", + im: "Insula Man", + in: "India", + io: "Teritoriul Britanic din Oceanul Indian", + iq: "Irak", + ir: "Iran", + is: "Islanda", + it: "Italia", + je: "Jersey", + jm: "Jamaica", + jo: "Iordania", + jp: "Japonia", + ke: "Kenya", + kg: "Kârgâzstan", + kh: "Cambodgia", + ki: "Kiribati", + km: "Comore", + kn: "Saint Kitts și Nevis", + kp: "Coreea de Nord", + kr: "Coreea de Sud", + kw: "Kuweit", + ky: "Insulele Cayman", + kz: "Kazahstan", + la: "Laos", + lb: "Liban", + lc: "Sfânta Lucia", + li: "Liechtenstein", + lk: "Sri Lanka", + lr: "Liberia", + ls: "Lesotho", + lt: "Lituania", + lu: "Luxemburg", + lv: "Letonia", + ly: "Libia", + ma: "Maroc", + mc: "Monaco", + md: "Republica Moldova", + me: "Muntenegru", + mf: "Sfântul Martin", + mg: "Madagascar", + mh: "Insulele Marshall", + mk: "Macedonia de Nord", + ml: "Mali", + mm: "Myanmar (Birmania)", + mn: "Mongolia", + mo: "R.A.S. Macao, China", + mp: "Insulele Mariane de Nord", + mq: "Martinica", + mr: "Mauritania", + ms: "Montserrat", + mt: "Malta", + mu: "Mauritius", + mv: "Maldive", + mw: "Malawi", + mx: "Mexic", + my: "Malaysia", + mz: "Mozambic", + na: "Namibia", + nc: "Noua Caledonie", + ne: "Niger", + nf: "Insula Norfolk", + ng: "Nigeria", + ni: "Nicaragua", + nl: "Țările de Jos", + no: "Norvegia", + np: "Nepal", + nr: "Nauru", + nu: "Niue", + nz: "Noua Zeelandă", + om: "Oman", + pa: "Panama", + pe: "Peru", + pf: "Polinezia Franceză", + pg: "Papua-Noua Guinee", + ph: "Filipine", + pk: "Pakistan", + pl: "Polonia", + pm: "Saint-Pierre și Miquelon", + pr: "Puerto Rico", + ps: "Teritoriile Palestiniene", + pt: "Portugalia", + pw: "Palau", + py: "Paraguay", + qa: "Qatar", + re: "Réunion", + ro: "România", + rs: "Serbia", + ru: "Rusia", + rw: "Rwanda", + sa: "Arabia Saudită", + sb: "Insulele Solomon", + sc: "Seychelles", + sd: "Sudan", + se: "Suedia", + sg: "Singapore", + sh: "Sfânta Elena", + si: "Slovenia", + sj: "Svalbard și Jan Mayen", + sk: "Slovacia", + sl: "Sierra Leone", + sm: "San Marino", + sn: "Senegal", + so: "Somalia", + sr: "Suriname", + ss: "Sudanul de Sud", + st: "São Tomé și Príncipe", + sv: "El Salvador", + sx: "Sint-Maarten", + sy: "Siria", + sz: "eSwatini", + tc: "Insulele Turks și Caicos", + td: "Ciad", + tg: "Togo", + th: "Thailanda", + tj: "Tadjikistan", + tk: "Tokelau", + tl: "Timor-Leste", + tm: "Turkmenistan", + tn: "Tunisia", + to: "Tonga", + tr: "Turcia", + tt: "Trinidad și Tobago", + tv: "Tuvalu", + tw: "Taiwan", + tz: "Tanzania", + ua: "Ucraina", + ug: "Uganda", + us: "Statele Unite ale Americii", + uy: "Uruguay", + uz: "Uzbekistan", + va: "Statul Cetății Vaticanului", + vc: "Saint Vincent și Grenadinele", + ve: "Venezuela", + vg: "Insulele Virgine Britanice", + vi: "Insulele Virgine Americane", + vn: "Vietnam", + vu: "Vanuatu", + wf: "Wallis și Futuna", + ws: "Samoa", + ye: "Yemen", + yt: "Mayotte", + za: "Africa de Sud", + zm: "Zambia", + zw: "Zimbabwe" +}; +export default countryTranslations; diff --git a/assets/intl-tel-input/js/i18n/ro/index.js b/assets/intl-tel-input/js/i18n/ro/index.js new file mode 100644 index 0000000..8c1c317 --- /dev/null +++ b/assets/intl-tel-input/js/i18n/ro/index.js @@ -0,0 +1,5 @@ +import countryTranslations from "./countries.js"; +import interfaceTranslations from "./interface.js"; +export { countryTranslations, interfaceTranslations }; +const allTranslations = { ...countryTranslations, ...interfaceTranslations }; +export default allTranslations; diff --git a/assets/intl-tel-input/js/i18n/ro/interface.js b/assets/intl-tel-input/js/i18n/ro/interface.js new file mode 100644 index 0000000..6490a00 --- /dev/null +++ b/assets/intl-tel-input/js/i18n/ro/interface.js @@ -0,0 +1,18 @@ +const interfaceTranslations = { + selectedCountryAriaLabel: "Țara selectată", + noCountrySelected: "Nicio țară selectată", + countryListAriaLabel: "Lista țărilor", + searchPlaceholder: "Căutare", + zeroSearchResults: "Nici un rezultat gasit", + searchResultsText(count) { + if (count === 1) { + return "1 rezultat găsit"; + } + const isFew = count % 100 >= 1 && count % 100 <= 19; + return `${count}${isFew ? "" : " de"} rezultate găsite`; + }, + // additional countries (not supported by country-list library) + ac: "Insula Ascensiunii", + xk: "Kosovo" +}; +export default interfaceTranslations; diff --git a/assets/intl-tel-input/js/i18n/ru/countries.js b/assets/intl-tel-input/js/i18n/ru/countries.js new file mode 100644 index 0000000..dcc6fa9 --- /dev/null +++ b/assets/intl-tel-input/js/i18n/ru/countries.js @@ -0,0 +1,245 @@ +const countryTranslations = { + ad: "Андорра", + ae: "ОАЭ", + af: "Афганистан", + ag: "Антигуа и Барбуда", + ai: "Ангилья", + al: "Албания", + am: "Армения", + ao: "Ангола", + ar: "Аргентина", + as: "Американское Самоа", + at: "Австрия", + au: "Австралия", + aw: "Аруба", + ax: "Аландские о-ва", + az: "Азербайджан", + ba: "Босния и Герцеговина", + bb: "Барбадос", + bd: "Бангладеш", + be: "Бельгия", + bf: "Буркина-Фасо", + bg: "Болгария", + bh: "Бахрейн", + bi: "Бурунди", + bj: "Бенин", + bl: "Сен-Бартелеми", + bm: "Бермудские о-ва", + bn: "Бруней-Даруссалам", + bo: "Боливия", + bq: "Бонэйр, Синт-Эстатиус и Саба", + br: "Бразилия", + bs: "Багамы", + bt: "Бутан", + bw: "Ботсвана", + by: "Беларусь", + bz: "Белиз", + ca: "Канада", + cc: "Кокосовые о-ва", + cd: "Конго - Киншаса", + cf: "Центрально-Африканская Республика", + cg: "Конго - Браззавиль", + ch: "Швейцария", + ci: "Кот-д’Ивуар", + ck: "Острова Кука", + cl: "Чили", + cm: "Камерун", + cn: "Китай", + co: "Колумбия", + cr: "Коста-Рика", + cu: "Куба", + cv: "Кабо-Верде", + cw: "Кюрасао", + cx: "о-в Рождества", + cy: "Кипр", + cz: "Чехия", + de: "Германия", + dj: "Джибути", + dk: "Дания", + dm: "Доминика", + do: "Доминиканская Республика", + dz: "Алжир", + ec: "Эквадор", + ee: "Эстония", + eg: "Египет", + eh: "Западная Сахара", + er: "Эритрея", + es: "Испания", + et: "Эфиопия", + fi: "Финляндия", + fj: "Фиджи", + fk: "Фолклендские о-ва", + fm: "Федеративные Штаты Микронезии", + fo: "Фарерские о-ва", + fr: "Франция", + ga: "Габон", + gb: "Великобритания", + gd: "Гренада", + ge: "Грузия", + gf: "Французская Гвиана", + gg: "Гернси", + gh: "Гана", + gi: "Гибралтар", + gl: "Гренландия", + gm: "Гамбия", + gn: "Гвинея", + gp: "Гваделупа", + gq: "Экваториальная Гвинея", + gr: "Греция", + gt: "Гватемала", + gu: "Гуам", + gw: "Гвинея-Бисау", + gy: "Гайана", + hk: "Гонконг (САР)", + hn: "Гондурас", + hr: "Хорватия", + ht: "Гаити", + hu: "Венгрия", + id: "Индонезия", + ie: "Ирландия", + il: "Израиль", + im: "о-в Мэн", + in: "Индия", + io: "Британская территория в Индийском океане", + iq: "Ирак", + ir: "Иран", + is: "Исландия", + it: "Италия", + je: "Джерси", + jm: "Ямайка", + jo: "Иордания", + jp: "Япония", + ke: "Кения", + kg: "Киргизия", + kh: "Камбоджа", + ki: "Кирибати", + km: "Коморы", + kn: "Сент-Китс и Невис", + kp: "КНДР", + kr: "Республика Корея", + kw: "Кувейт", + ky: "Острова Кайман", + kz: "Казахстан", + la: "Лаос", + lb: "Ливан", + lc: "Сент-Люсия", + li: "Лихтенштейн", + lk: "Шри-Ланка", + lr: "Либерия", + ls: "Лесото", + lt: "Литва", + lu: "Люксембург", + lv: "Латвия", + ly: "Ливия", + ma: "Марокко", + mc: "Монако", + md: "Молдова", + me: "Черногория", + mf: "Сен-Мартен", + mg: "Мадагаскар", + mh: "Маршалловы Острова", + mk: "Северная Македония", + ml: "Мали", + mm: "Мьянма (Бирма)", + mn: "Монголия", + mo: "Макао (САР)", + mp: "Северные Марианские о-ва", + mq: "Мартиника", + mr: "Мавритания", + ms: "Монтсеррат", + mt: "Мальта", + mu: "Маврикий", + mv: "Мальдивы", + mw: "Малави", + mx: "Мексика", + my: "Малайзия", + mz: "Мозамбик", + na: "Намибия", + nc: "Новая Каледония", + ne: "Нигер", + nf: "о-в Норфолк", + ng: "Нигерия", + ni: "Никарагуа", + nl: "Нидерланды", + no: "Норвегия", + np: "Непал", + nr: "Науру", + nu: "Ниуэ", + nz: "Новая Зеландия", + om: "Оман", + pa: "Панама", + pe: "Перу", + pf: "Французская Полинезия", + pg: "Папуа — Новая Гвинея", + ph: "Филиппины", + pk: "Пакистан", + pl: "Польша", + pm: "Сен-Пьер и Микелон", + pr: "Пуэрто-Рико", + ps: "Палестинские территории", + pt: "Португалия", + pw: "Палау", + py: "Парагвай", + qa: "Катар", + re: "Реюньон", + ro: "Румыния", + rs: "Сербия", + ru: "Россия", + rw: "Руанда", + sa: "Саудовская Аравия", + sb: "Соломоновы Острова", + sc: "Сейшельские Острова", + sd: "Судан", + se: "Швеция", + sg: "Сингапур", + sh: "о-в Св. Елены", + si: "Словения", + sj: "Шпицберген и Ян-Майен", + sk: "Словакия", + sl: "Сьерра-Леоне", + sm: "Сан-Марино", + sn: "Сенегал", + so: "Сомали", + sr: "Суринам", + ss: "Южный Судан", + st: "Сан-Томе и Принсипи", + sv: "Сальвадор", + sx: "Синт-Мартен", + sy: "Сирия", + sz: "Эсватини", + tc: "о-ва Тёркс и Кайкос", + td: "Чад", + tg: "Того", + th: "Таиланд", + tj: "Таджикистан", + tk: "Токелау", + tl: "Восточный Тимор", + tm: "Туркменистан", + tn: "Тунис", + to: "Тонга", + tr: "Турция", + tt: "Тринидад и Тобаго", + tv: "Тувалу", + tw: "Тайвань", + tz: "Танзания", + ua: "Украина", + ug: "Уганда", + us: "Соединенные Штаты", + uy: "Уругвай", + uz: "Узбекистан", + va: "Ватикан", + vc: "Сент-Винсент и Гренадины", + ve: "Венесуэла", + vg: "Виргинские о-ва (Великобритания)", + vi: "Виргинские о-ва (США)", + vn: "Вьетнам", + vu: "Вануату", + wf: "Уоллис и Футуна", + ws: "Самоа", + ye: "Йемен", + yt: "Майотта", + za: "Южно-Африканская Республика", + zm: "Замбия", + zw: "Зимбабве" +}; +export default countryTranslations; diff --git a/assets/intl-tel-input/js/i18n/ru/index.js b/assets/intl-tel-input/js/i18n/ru/index.js new file mode 100644 index 0000000..8c1c317 --- /dev/null +++ b/assets/intl-tel-input/js/i18n/ru/index.js @@ -0,0 +1,5 @@ +import countryTranslations from "./countries.js"; +import interfaceTranslations from "./interface.js"; +export { countryTranslations, interfaceTranslations }; +const allTranslations = { ...countryTranslations, ...interfaceTranslations }; +export default allTranslations; diff --git a/assets/intl-tel-input/js/i18n/ru/interface.js b/assets/intl-tel-input/js/i18n/ru/interface.js new file mode 100644 index 0000000..ed417dd --- /dev/null +++ b/assets/intl-tel-input/js/i18n/ru/interface.js @@ -0,0 +1,20 @@ +const interfaceTranslations = { + selectedCountryAriaLabel: "Выбранная страна", + noCountrySelected: "Страна не выбрана", + countryListAriaLabel: "Список стран", + searchPlaceholder: "Поиск", + zeroSearchResults: "результатов не найдено", + searchResultsText(count) { + const mod10 = count % 10; + const mod100 = count % 100; + if (mod10 === 1 && mod100 !== 11) { + return `найден ${count} результат`; + } + const isFew = mod10 >= 2 && mod10 <= 4 && !(mod100 >= 12 && mod100 <= 14); + return `Найдено ${count} ${isFew ? "результата" : "результатов"}`; + }, + // additional countries (not supported by country-list library) + ac: "Остров Вознесения", + xk: "Косово" +}; +export default interfaceTranslations; diff --git a/assets/intl-tel-input/js/i18n/sk/countries.js b/assets/intl-tel-input/js/i18n/sk/countries.js new file mode 100644 index 0000000..40e4902 --- /dev/null +++ b/assets/intl-tel-input/js/i18n/sk/countries.js @@ -0,0 +1,245 @@ +const countryTranslations = { + ad: "Andorra", + ae: "Spojené arabské emiráty", + af: "Afganistan", + ag: "Antigua a Barbuda", + ai: "Anguilla", + al: "Albánsko", + am: "Arménsko", + ao: "Angola", + ar: "Argentína", + as: "Americká Samoa", + at: "Rakúsko", + au: "Austrália", + aw: "Aruba", + ax: "Alandy", + az: "Azerbajdžan", + ba: "Bosna a Hercegovina", + bb: "Barbados", + bd: "Bangladéš", + be: "Belgicko", + bf: "Burkina Faso", + bg: "Bulharsko", + bh: "Bahrajn", + bi: "Burundi", + bj: "Benin", + bl: "Svätý Bartolomej", + bm: "Bermudy", + bn: "Brunej", + bo: "Bolívia", + bq: "Karibské Holandsko", + br: "Brazília", + bs: "Bahamy", + bt: "Bhután", + bw: "Botswana", + by: "Bielorusko", + bz: "Belize", + ca: "Kanada", + cc: "Kokosové ostrovy", + cd: "Konžská demokratická republika", + cf: "Stredoafrická republika", + cg: "Konžská republika", + ch: "Švajčiarsko", + ci: "Pobrežie Slonoviny", + ck: "Cookove ostrovy", + cl: "Čile", + cm: "Kamerun", + cn: "Čína", + co: "Kolumbia", + cr: "Kostarika", + cu: "Kuba", + cv: "Kapverdy", + cw: "Curaçao", + cx: "Vianočný ostrov", + cy: "Cyprus", + cz: "Česko", + de: "Nemecko", + dj: "Džibutsko", + dk: "Dánsko", + dm: "Dominika", + do: "Dominikánska republika", + dz: "Alžírsko", + ec: "Ekvádor", + ee: "Estónsko", + eg: "Egypt", + eh: "Západná Sahara", + er: "Eritrea", + es: "Španielsko", + et: "Etiópia", + fi: "Fínsko", + fj: "Fidži", + fk: "Falklandy", + fm: "Mikronézia", + fo: "Faerské ostrovy", + fr: "Francúzsko", + ga: "Gabon", + gb: "Spojené kráľovstvo", + gd: "Grenada", + ge: "Gruzínsko", + gf: "Francúzska Guyana", + gg: "Guernsey", + gh: "Ghana", + gi: "Gibraltár", + gl: "Grónsko", + gm: "Gambia", + gn: "Guinea", + gp: "Guadeloupe", + gq: "Rovníková Guinea", + gr: "Grécko", + gt: "Guatemala", + gu: "Guam", + gw: "Guinea-Bissau", + gy: "Guyana", + hk: "Hongkong – OAO Číny", + hn: "Honduras", + hr: "Chorvátsko", + ht: "Haiti", + hu: "Maďarsko", + id: "Indonézia", + ie: "Írsko", + il: "Izrael", + im: "Ostrov Man", + in: "India", + io: "Britské indickooceánske územie", + iq: "Irak", + ir: "Irán", + is: "Island", + it: "Taliansko", + je: "Jersey", + jm: "Jamajka", + jo: "Jordánsko", + jp: "Japonsko", + ke: "Keňa", + kg: "Kirgizsko", + kh: "Kambodža", + ki: "Kiribati", + km: "Komory", + kn: "Svätý Krištof a Nevis", + kp: "Severná Kórea", + kr: "Južná Kórea", + kw: "Kuvajt", + ky: "Kajmanie ostrovy", + kz: "Kazachstan", + la: "Laos", + lb: "Libanon", + lc: "Svätá Lucia", + li: "Lichtenštajnsko", + lk: "Srí Lanka", + lr: "Libéria", + ls: "Lesotho", + lt: "Litva", + lu: "Luxembursko", + lv: "Lotyšsko", + ly: "Líbya", + ma: "Maroko", + mc: "Monako", + md: "Moldavsko", + me: "Čierna Hora", + mf: "Svätý Martin (fr.)", + mg: "Madagaskar", + mh: "Marshallove ostrovy", + mk: "Severné Macedónsko", + ml: "Mali", + mm: "Mjanmarsko", + mn: "Mongolsko", + mo: "Macao – OAO Číny", + mp: "Severné Mariány", + mq: "Martinik", + mr: "Mauritánia", + ms: "Montserrat", + mt: "Malta", + mu: "Maurícius", + mv: "Maldivy", + mw: "Malawi", + mx: "Mexiko", + my: "Malajzia", + mz: "Mozambik", + na: "Namíbia", + nc: "Nová Kaledónia", + ne: "Niger", + nf: "Norfolk", + ng: "Nigéria", + ni: "Nikaragua", + nl: "Holandsko", + no: "Nórsko", + np: "Nepál", + nr: "Nauru", + nu: "Niue", + nz: "Nový Zéland", + om: "Omán", + pa: "Panama", + pe: "Peru", + pf: "Francúzska Polynézia", + pg: "Papua-Nová Guinea", + ph: "Filipíny", + pk: "Pakistan", + pl: "Poľsko", + pm: "Saint Pierre a Miquelon", + pr: "Portoriko", + ps: "Palestínske územia", + pt: "Portugalsko", + pw: "Palau", + py: "Paraguaj", + qa: "Katar", + re: "Réunion", + ro: "Rumunsko", + rs: "Srbsko", + ru: "Rusko", + rw: "Rwanda", + sa: "Saudská Arábia", + sb: "Šalamúnove ostrovy", + sc: "Seychely", + sd: "Sudán", + se: "Švédsko", + sg: "Singapur", + sh: "Svätá Helena", + si: "Slovinsko", + sj: "Svalbard a Jan Mayen", + sk: "Slovensko", + sl: "Sierra Leone", + sm: "San Maríno", + sn: "Senegal", + so: "Somálsko", + sr: "Surinam", + ss: "Južný Sudán", + st: "Svätý Tomáš a Princov ostrov", + sv: "Salvádor", + sx: "Svätý Martin (hol.)", + sy: "Sýria", + sz: "Eswatini", + tc: "Turks a Caicos", + td: "Čad", + tg: "Togo", + th: "Thajsko", + tj: "Tadžikistan", + tk: "Tokelau", + tl: "Východný Timor", + tm: "Turkménsko", + tn: "Tunisko", + to: "Tonga", + tr: "Turecko", + tt: "Trinidad a Tobago", + tv: "Tuvalu", + tw: "Taiwan", + tz: "Tanzánia", + ua: "Ukrajina", + ug: "Uganda", + us: "Spojené štáty", + uy: "Uruguaj", + uz: "Uzbekistan", + va: "Vatikán", + vc: "Svätý Vincent a Grenadíny", + ve: "Venezuela", + vg: "Britské Panenské ostrovy", + vi: "Americké Panenské ostrovy", + vn: "Vietnam", + vu: "Vanuatu", + wf: "Wallis a Futuna", + ws: "Samoa", + ye: "Jemen", + yt: "Mayotte", + za: "Južná Afrika", + zm: "Zambia", + zw: "Zimbabwe" +}; +export default countryTranslations; diff --git a/assets/intl-tel-input/js/i18n/sk/index.js b/assets/intl-tel-input/js/i18n/sk/index.js new file mode 100644 index 0000000..8c1c317 --- /dev/null +++ b/assets/intl-tel-input/js/i18n/sk/index.js @@ -0,0 +1,5 @@ +import countryTranslations from "./countries.js"; +import interfaceTranslations from "./interface.js"; +export { countryTranslations, interfaceTranslations }; +const allTranslations = { ...countryTranslations, ...interfaceTranslations }; +export default allTranslations; diff --git a/assets/intl-tel-input/js/i18n/sk/interface.js b/assets/intl-tel-input/js/i18n/sk/interface.js new file mode 100644 index 0000000..9eb3abc --- /dev/null +++ b/assets/intl-tel-input/js/i18n/sk/interface.js @@ -0,0 +1,20 @@ +const interfaceTranslations = { + selectedCountryAriaLabel: "Vybraná krajina", + noCountrySelected: "Nie je vybratá žiadna krajina", + countryListAriaLabel: "Zoznam krajín", + searchPlaceholder: "Vyhľadať", + zeroSearchResults: "Neboli nájdené žiadne výsledky", + searchResultsText(count) { + const mod10 = count % 10; + const mod100 = count % 100; + if (mod10 === 1 && mod100 !== 11) { + return `${count} výsledok nájdený`; + } + const isFew = mod10 >= 2 && mod10 <= 4 && !(mod100 >= 12 && mod100 <= 14); + return `${count} ${isFew ? "výsledky nájdené" : "výsledkov nájdených"}`; + }, + // additional countries (not supported by country-list library) + ac: "Ascension", + xk: "Kosovo" +}; +export default interfaceTranslations; diff --git a/assets/intl-tel-input/js/i18n/sl/countries.js b/assets/intl-tel-input/js/i18n/sl/countries.js new file mode 100644 index 0000000..c9d7385 --- /dev/null +++ b/assets/intl-tel-input/js/i18n/sl/countries.js @@ -0,0 +1,245 @@ +const countryTranslations = { + ad: "Andora", + ae: "Združeni arabski emirati", + af: "Afganistan", + ag: "Antigva in Barbuda", + ai: "Angvila", + al: "Albanija", + am: "Armenija", + ao: "Angola", + ar: "Argentina", + as: "Ameriška Samoa", + at: "Avstrija", + au: "Avstralija", + aw: "Aruba", + ax: "Ålandski otoki", + az: "Azerbajdžan", + ba: "Bosna in Hercegovina", + bb: "Barbados", + bd: "Bangladeš", + be: "Belgija", + bf: "Burkina Faso", + bg: "Bolgarija", + bh: "Bahrajn", + bi: "Burundi", + bj: "Benin", + bl: "Saint Barthélemy", + bm: "Bermudi", + bn: "Brunej", + bo: "Bolivija", + bq: "Nizozemski Karibi", + br: "Brazilija", + bs: "Bahami", + bt: "Butan", + bw: "Bocvana", + by: "Belorusija", + bz: "Belize", + ca: "Kanada", + cc: "Kokosovi otoki", + cd: "Demokratična republika Kongo", + cf: "Centralnoafriška republika", + cg: "Kongo - Brazzaville", + ch: "Švica", + ci: "Slonokoščena obala", + ck: "Cookovi otoki", + cl: "Čile", + cm: "Kamerun", + cn: "Kitajska", + co: "Kolumbija", + cr: "Kostarika", + cu: "Kuba", + cv: "Zelenortski otoki", + cw: "Curaçao", + cx: "Božični otok", + cy: "Ciper", + cz: "Češka", + de: "Nemčija", + dj: "Džibuti", + dk: "Danska", + dm: "Dominika", + do: "Dominikanska republika", + dz: "Alžirija", + ec: "Ekvador", + ee: "Estonija", + eg: "Egipt", + eh: "Zahodna Sahara", + er: "Eritreja", + es: "Španija", + et: "Etiopija", + fi: "Finska", + fj: "Fidži", + fk: "Falklandski otoki", + fm: "Mikronezija", + fo: "Ferski otoki", + fr: "Francija", + ga: "Gabon", + gb: "Združeno kraljestvo", + gd: "Grenada", + ge: "Gruzija", + gf: "Francoska Gvajana", + gg: "Guernsey", + gh: "Gana", + gi: "Gibraltar", + gl: "Grenlandija", + gm: "Gambija", + gn: "Gvineja", + gp: "Guadeloupe", + gq: "Ekvatorialna Gvineja", + gr: "Grčija", + gt: "Gvatemala", + gu: "Guam", + gw: "Gvineja Bissau", + gy: "Gvajana", + hk: "Posebno administrativno območje LR Kitajske Hongkong", + hn: "Honduras", + hr: "Hrvaška", + ht: "Haiti", + hu: "Madžarska", + id: "Indonezija", + ie: "Irska", + il: "Izrael", + im: "Otok Man", + in: "Indija", + io: "Britansko ozemlje v Indijskem oceanu", + iq: "Irak", + ir: "Iran", + is: "Islandija", + it: "Italija", + je: "Jersey", + jm: "Jamajka", + jo: "Jordanija", + jp: "Japonska", + ke: "Kenija", + kg: "Kirgizistan", + kh: "Kambodža", + ki: "Kiribati", + km: "Komori", + kn: "Saint Kitts in Nevis", + kp: "Severna Koreja", + kr: "Južna Koreja", + kw: "Kuvajt", + ky: "Kajmanski otoki", + kz: "Kazahstan", + la: "Laos", + lb: "Libanon", + lc: "Saint Lucia", + li: "Lihtenštajn", + lk: "Šrilanka", + lr: "Liberija", + ls: "Lesoto", + lt: "Litva", + lu: "Luksemburg", + lv: "Latvija", + ly: "Libija", + ma: "Maroko", + mc: "Monako", + md: "Moldavija", + me: "Črna gora", + mf: "Saint Martin", + mg: "Madagaskar", + mh: "Marshallovi otoki", + mk: "Severna Makedonija", + ml: "Mali", + mm: "Mjanmar (Burma)", + mn: "Mongolija", + mo: "Posebno administrativno območje LR Kitajske Macao", + mp: "Severni Marianski otoki", + mq: "Martinik", + mr: "Mavretanija", + ms: "Montserrat", + mt: "Malta", + mu: "Mauritius", + mv: "Maldivi", + mw: "Malavi", + mx: "Mehika", + my: "Malezija", + mz: "Mozambik", + na: "Namibija", + nc: "Nova Kaledonija", + ne: "Niger", + nf: "Norfolški otok", + ng: "Nigerija", + ni: "Nikaragva", + nl: "Nizozemska", + no: "Norveška", + np: "Nepal", + nr: "Nauru", + nu: "Niue", + nz: "Nova Zelandija", + om: "Oman", + pa: "Panama", + pe: "Peru", + pf: "Francoska Polinezija", + pg: "Papua Nova Gvineja", + ph: "Filipini", + pk: "Pakistan", + pl: "Poljska", + pm: "Saint Pierre in Miquelon", + pr: "Portoriko", + ps: "Palestinsko ozemlje", + pt: "Portugalska", + pw: "Palau", + py: "Paragvaj", + qa: "Katar", + re: "Reunion", + ro: "Romunija", + rs: "Srbija", + ru: "Rusija", + rw: "Ruanda", + sa: "Saudova Arabija", + sb: "Salomonovi otoki", + sc: "Sejšeli", + sd: "Sudan", + se: "Švedska", + sg: "Singapur", + sh: "Sveta Helena", + si: "Slovenija", + sj: "Svalbard in Jan Mayen", + sk: "Slovaška", + sl: "Sierra Leone", + sm: "San Marino", + sn: "Senegal", + so: "Somalija", + sr: "Surinam", + ss: "Južni Sudan", + st: "Sao Tome in Principe", + sv: "Salvador", + sx: "Sint Maarten", + sy: "Sirija", + sz: "Esvatini", + tc: "Otoki Turks in Caicos", + td: "Čad", + tg: "Togo", + th: "Tajska", + tj: "Tadžikistan", + tk: "Tokelau", + tl: "Timor-Leste", + tm: "Turkmenistan", + tn: "Tunizija", + to: "Tonga", + tr: "Turčija", + tt: "Trinidad in Tobago", + tv: "Tuvalu", + tw: "Tajvan", + tz: "Tanzanija", + ua: "Ukrajina", + ug: "Uganda", + us: "Združene države Amerike", + uy: "Urugvaj", + uz: "Uzbekistan", + va: "Vatikan", + vc: "Saint Vincent in Grenadine", + ve: "Venezuela", + vg: "Britanski Deviški otoki", + vi: "Ameriški Deviški otoki", + vn: "Vietnam", + vu: "Vanuatu", + wf: "Wallis in Futuna", + ws: "Samoa", + ye: "Jemen", + yt: "Mayotte", + za: "Južnoafriška republika", + zm: "Zambija", + zw: "Zimbabve" +}; +export default countryTranslations; diff --git a/assets/intl-tel-input/js/i18n/sl/index.js b/assets/intl-tel-input/js/i18n/sl/index.js new file mode 100644 index 0000000..8c1c317 --- /dev/null +++ b/assets/intl-tel-input/js/i18n/sl/index.js @@ -0,0 +1,5 @@ +import countryTranslations from "./countries.js"; +import interfaceTranslations from "./interface.js"; +export { countryTranslations, interfaceTranslations }; +const allTranslations = { ...countryTranslations, ...interfaceTranslations }; +export default allTranslations; diff --git a/assets/intl-tel-input/js/i18n/sl/interface.js b/assets/intl-tel-input/js/i18n/sl/interface.js new file mode 100644 index 0000000..ef12c87 --- /dev/null +++ b/assets/intl-tel-input/js/i18n/sl/interface.js @@ -0,0 +1,25 @@ +const interfaceTranslations = { + selectedCountryAriaLabel: "Spremeni državo, izbrano ${countryName} (${dialCode})", + noCountrySelected: "Izberi državo", + countryListAriaLabel: "Seznam držav", + searchPlaceholder: "Išči", + clearSearchAriaLabel: "Počisti iskanje", + zeroSearchResults: "Ni rezultatov", + searchResultsText(count) { + const mod100 = count % 100; + if (mod100 === 1) { + return `Najden ${count} rezultat`; + } + if (mod100 === 2) { + return `Najdena ${count} rezultata`; + } + if (mod100 === 3 || mod100 === 4) { + return `Najdeni ${count} rezultati`; + } + return `Najdenih ${count} rezultatov`; + }, + // additional countries (not supported by country-list library) + ac: "Otok Ascension", + xk: "Kosovo" +}; +export default interfaceTranslations; diff --git a/assets/intl-tel-input/js/i18n/sq/countries.js b/assets/intl-tel-input/js/i18n/sq/countries.js new file mode 100644 index 0000000..7693e90 --- /dev/null +++ b/assets/intl-tel-input/js/i18n/sq/countries.js @@ -0,0 +1,245 @@ +const countryTranslations = { + ad: "Andorrë", + ae: "Emiratet e Bashkuara Arabe", + af: "Afganistan", + ag: "Antigua e Barbuda", + ai: "Anguilë", + al: "Shqipëri", + am: "Armeni", + ao: "Angolë", + ar: "Argjentinë", + as: "Samoa Amerikane", + at: "Austri", + au: "Australi", + aw: "Arubë", + ax: "Ishujt Alandë", + az: "Azerbajxhan", + ba: "Bosnjë-Hercegovinë", + bb: "Barbados", + bd: "Bangladesh", + be: "Belgjikë", + bf: "Burkina-Faso", + bg: "Bullgari", + bh: "Bahrejn", + bi: "Burundi", + bj: "Benin", + bl: "Sen-Bartelemi", + bm: "Bermude", + bn: "Brunei", + bo: "Bolivi", + bq: "Karaibet holandeze", + br: "Brazil", + bs: "Bahama", + bt: "Butan", + bw: "Botsvanë", + by: "Bjellorusi", + bz: "Belizë", + ca: "Kanada", + cc: "Ishujt Kokos", + cd: "Kongo-Kinshasa", + cf: "Republika e Afrikës Qendrore", + cg: "Kongo-Brazavilë", + ch: "Zvicër", + ci: "Côte d’Ivoire", + ck: "Ishujt Kuk", + cl: "Kili", + cm: "Kamerun", + cn: "Kinë", + co: "Kolumbi", + cr: "Kosta-Rikë", + cu: "Kubë", + cv: "Kepi i Gjelbër", + cw: "Kurasao", + cx: "Ishulli i Krishtlindjes", + cy: "Qipro", + cz: "Çeki", + de: "Gjermani", + dj: "Xhibuti", + dk: "Danimarkë", + dm: "Dominikë", + do: "Republika Dominikane", + dz: "Algjeri", + ec: "Ekuador", + ee: "Estoni", + eg: "Egjipt", + eh: "Saharaja Perëndimore", + er: "Eritre", + es: "Spanjë", + et: "Etiopi", + fi: "Finlandë", + fj: "Fixhi", + fk: "Ishujt Falkland", + fm: "Mikronezi", + fo: "Ishujt Faroe", + fr: "Francë", + ga: "Gabon", + gb: "Mbretëria e Bashkuar", + gd: "Granadë", + ge: "Gjeorgji", + gf: "Guajana Franceze", + gg: "Gernsej", + gh: "Ganë", + gi: "Gjibraltar", + gl: "Grënlandë", + gm: "Gambi", + gn: "Guine", + gp: "Guadelupë", + gq: "Guineja Ekuatoriale", + gr: "Greqi", + gt: "Guatemalë", + gu: "Guam", + gw: "Guine-Bisau", + gy: "Guajanë", + hk: "RPA i Hong-Kongut", + hn: "Honduras", + hr: "Kroaci", + ht: "Haiti", + hu: "Hungari", + id: "Indonezi", + ie: "Irlandë", + il: "Izrael", + im: "Ishulli i Manit", + in: "Indi", + io: "Territori Britanik i Oqeanit Indian", + iq: "Irak", + ir: "Iran", + is: "Islandë", + it: "Itali", + je: "Xhersej", + jm: "Xhamajkë", + jo: "Jordani", + jp: "Japoni", + ke: "Kenia", + kg: "Kirgizi", + kh: "Kamboxhia", + ki: "Kiribati", + km: "Komore", + kn: "Shën-Kits dhe Nevis", + kp: "Kore e Veriut", + kr: "Kore e Jugut", + kw: "Kuvajt", + ky: "Ishujt Kajman", + kz: "Kazakistan", + la: "Laos", + lb: "Liban", + lc: "Shën-Luçia", + li: "Lihtenshtajn", + lk: "Sri-Lankë", + lr: "Liberi", + ls: "Lesoto", + lt: "Lituani", + lu: "Luksemburg", + lv: "Letoni", + ly: "Libi", + ma: "Marok", + mc: "Monako", + md: "Moldavi", + me: "Mal i Zi", + mf: "Sen-Marten", + mg: "Madagaskar", + mh: "Ishujt Marshall", + mk: "Maqedonia e Veriut", + ml: "Mali", + mm: "Mianmar (Burmë)", + mn: "Mongoli", + mo: "RPA i Makaos", + mp: "Ishujt e Marianës Veriore", + mq: "Martinikë", + mr: "Mauritani", + ms: "Montserat", + mt: "Maltë", + mu: "Mauritius", + mv: "Maldive", + mw: "Malavi", + mx: "Meksikë", + my: "Malajzi", + mz: "Mozambik", + na: "Namibi", + nc: "Kaledoni e Re", + ne: "Niger", + nf: "Ishulli Norfolk", + ng: "Nigeri", + ni: "Nikaragua", + nl: "Holandë", + no: "Norvegji", + np: "Nepal", + nr: "Nauru", + nu: "Niue", + nz: "Zelandë e Re", + om: "Oman", + pa: "Panama", + pe: "Peru", + pf: "Polinezia Franceze", + pg: "Guineja e Re-Papua", + ph: "Filipine", + pk: "Pakistan", + pl: "Poloni", + pm: "Shën-Pier dhe Mikelon", + pr: "Porto-Riko", + ps: "Territoret Palestineze", + pt: "Portugali", + pw: "Palau", + py: "Paraguai", + qa: "Katar", + re: "Reunion", + ro: "Rumani", + rs: "Serbi", + ru: "Rusi", + rw: "Ruandë", + sa: "Arabi Saudite", + sb: "Ishujt Solomon", + sc: "Sejshelle", + sd: "Sudan", + se: "Suedi", + sg: "Singapor", + sh: "Shën-Elenë", + si: "Slloveni", + sj: "Svalbard e Jan-Majen", + sk: "Sllovaki", + sl: "Sierra-Leone", + sm: "San-Marino", + sn: "Senegal", + so: "Somali", + sr: "Surinami", + ss: "Sudani i Jugut", + st: "Sao-Tome e Principe", + sv: "Salvador", + sx: "Sint-Marten", + sy: "Siri", + sz: "Esvatini", + tc: "Ishujt Turks dhe Kaikos", + td: "Çad", + tg: "Togo", + th: "Tajlandë", + tj: "Taxhikistan", + tk: "Tokelau", + tl: "Timor-Leste", + tm: "Turkmenistan", + tn: "Tunizi", + to: "Tonga", + tr: "Turqi", + tt: "Trinidad e Tobago", + tv: "Tuvalu", + tw: "Tajvan", + tz: "Tanzani", + ua: "Ukrainë", + ug: "Ugandë", + us: "SHBA", + uy: "Uruguai", + uz: "Uzbekistan", + va: "Vatikan", + vc: "Shën-Vincent dhe Grenadine", + ve: "Venezuelë", + vg: "Ishujt e Virgjër Britanikë", + vi: "Ishujt e Virgjër të SHBA-së", + vn: "Vietnam", + vu: "Vanuatu", + wf: "Uollis e Futuna", + ws: "Samoa", + ye: "Jemen", + yt: "Majotë", + za: "Afrika e Jugut", + zm: "Zambi", + zw: "Zimbabve" +}; +export default countryTranslations; diff --git a/assets/intl-tel-input/js/i18n/sq/index.js b/assets/intl-tel-input/js/i18n/sq/index.js new file mode 100644 index 0000000..8c1c317 --- /dev/null +++ b/assets/intl-tel-input/js/i18n/sq/index.js @@ -0,0 +1,5 @@ +import countryTranslations from "./countries.js"; +import interfaceTranslations from "./interface.js"; +export { countryTranslations, interfaceTranslations }; +const allTranslations = { ...countryTranslations, ...interfaceTranslations }; +export default allTranslations; diff --git a/assets/intl-tel-input/js/i18n/sq/interface.js b/assets/intl-tel-input/js/i18n/sq/interface.js new file mode 100644 index 0000000..d7ebee1 --- /dev/null +++ b/assets/intl-tel-input/js/i18n/sq/interface.js @@ -0,0 +1,14 @@ +const interfaceTranslations = { + selectedCountryAriaLabel: "Ndrysho vendin, i zgjedhur ${countryName} (${dialCode})", + noCountrySelected: "Zgjidh vendin", + countryListAriaLabel: "Lista e vendeve", + searchPlaceholder: "Kërko", + clearSearchAriaLabel: "Pastro kërkimin", + zeroSearchResults: "Nuk u gjet asnjë rezultat", + oneSearchResult: "U gjet 1 rezultat", + multipleSearchResults: "U gjetën ${count} rezultate", + // additional countries (not supported by country-list library) + ac: "Ishulli Ascension", + xk: "Kosova" +}; +export default interfaceTranslations; diff --git a/assets/intl-tel-input/js/i18n/sr/countries.js b/assets/intl-tel-input/js/i18n/sr/countries.js new file mode 100644 index 0000000..1738168 --- /dev/null +++ b/assets/intl-tel-input/js/i18n/sr/countries.js @@ -0,0 +1,245 @@ +const countryTranslations = { + ad: "Андора", + ae: "Уједињени Арапски Емирати", + af: "Авганистан", + ag: "Антигва и Барбуда", + ai: "Ангвила", + al: "Албанија", + am: "Јерменија", + ao: "Ангола", + ar: "Аргентина", + as: "Америчка Самоа", + at: "Аустрија", + au: "Аустралија", + aw: "Аруба", + ax: "Оландска Острва", + az: "Азербејџан", + ba: "Босна и Херцеговина", + bb: "Барбадос", + bd: "Бангладеш", + be: "Белгија", + bf: "Буркина Фасо", + bg: "Бугарска", + bh: "Бахреин", + bi: "Бурунди", + bj: "Бенин", + bl: "Свети Бартоломеј", + bm: "Бермуда", + bn: "Брунеј", + bo: "Боливија", + bq: "Карипска Холандија", + br: "Бразил", + bs: "Бахами", + bt: "Бутан", + bw: "Боцвана", + by: "Белорусија", + bz: "Белизе", + ca: "Канада", + cc: "Кокосова (Килингова) Острва", + cd: "Конго - Киншаса", + cf: "Централноафричка Република", + cg: "Конго - Бразавил", + ch: "Швајцарска", + ci: "Обала Слоноваче (Кот д’Ивоар)", + ck: "Кукова Острва", + cl: "Чиле", + cm: "Камерун", + cn: "Кина", + co: "Колумбија", + cr: "Костарика", + cu: "Куба", + cv: "Зеленортска Острва", + cw: "Курасао", + cx: "Божићно Острво", + cy: "Кипар", + cz: "Чешка", + de: "Немачка", + dj: "Џибути", + dk: "Данска", + dm: "Доминика", + do: "Доминиканска Република", + dz: "Алжир", + ec: "Еквадор", + ee: "Естонија", + eg: "Египат", + eh: "Западна Сахара", + er: "Еритреја", + es: "Шпанија", + et: "Етиопија", + fi: "Финска", + fj: "Фиџи", + fk: "Фокландска Острва", + fm: "Микронезија", + fo: "Фарска Острва", + fr: "Француска", + ga: "Габон", + gb: "Уједињено Краљевство", + gd: "Гренада", + ge: "Грузија", + gf: "Француска Гвајана", + gg: "Гернзи", + gh: "Гана", + gi: "Гибралтар", + gl: "Гренланд", + gm: "Гамбија", + gn: "Гвинеја", + gp: "Гваделуп", + gq: "Екваторијална Гвинеја", + gr: "Грчка", + gt: "Гватемала", + gu: "Гуам", + gw: "Гвинеја-Бисао", + gy: "Гвајана", + hk: "САР Хонгконг (Кина)", + hn: "Хондурас", + hr: "Хрватска", + ht: "Хаити", + hu: "Мађарска", + id: "Индонезија", + ie: "Ирска", + il: "Израел", + im: "Острво Ман", + in: "Индија", + io: "Британска територија Индијског океана", + iq: "Ирак", + ir: "Иран", + is: "Исланд", + it: "Италија", + je: "Џерзи", + jm: "Јамајка", + jo: "Јордан", + jp: "Јапан", + ke: "Кенија", + kg: "Киргистан", + kh: "Камбоџа", + ki: "Кирибати", + km: "Коморска Острва", + kn: "Сент Китс и Невис", + kp: "Северна Кореја", + kr: "Јужна Кореја", + kw: "Кувајт", + ky: "Кајманска Острва", + kz: "Казахстан", + la: "Лаос", + lb: "Либан", + lc: "Света Луција", + li: "Лихтенштајн", + lk: "Шри Ланка", + lr: "Либерија", + ls: "Лесото", + lt: "Литванија", + lu: "Луксембург", + lv: "Летонија", + ly: "Либија", + ma: "Мароко", + mc: "Монако", + md: "Молдавија", + me: "Црна Гора", + mf: "Свети Мартин (Француска)", + mg: "Мадагаскар", + mh: "Маршалска Острва", + mk: "Северна Македонија", + ml: "Мали", + mm: "Мијанмар (Бурма)", + mn: "Монголија", + mo: "САР Макао (Кина)", + mp: "Северна Маријанска Острва", + mq: "Мартиник", + mr: "Мауританија", + ms: "Монсерат", + mt: "Малта", + mu: "Маурицијус", + mv: "Малдиви", + mw: "Малави", + mx: "Мексико", + my: "Малезија", + mz: "Мозамбик", + na: "Намибија", + nc: "Нова Каледонија", + ne: "Нигер", + nf: "Острво Норфок", + ng: "Нигерија", + ni: "Никарагва", + nl: "Холандија", + no: "Норвешка", + np: "Непал", + nr: "Науру", + nu: "Ниуе", + nz: "Нови Зеланд", + om: "Оман", + pa: "Панама", + pe: "Перу", + pf: "Француска Полинезија", + pg: "Папуа Нова Гвинеја", + ph: "Филипини", + pk: "Пакистан", + pl: "Пољска", + pm: "Сен Пјер и Микелон", + pr: "Порторико", + ps: "Палестинске територије", + pt: "Португалија", + pw: "Палау", + py: "Парагвај", + qa: "Катар", + re: "Реинион", + ro: "Румунија", + rs: "Србија", + ru: "Русија", + rw: "Руанда", + sa: "Саудијска Арабија", + sb: "Соломонска Острва", + sc: "Сејшели", + sd: "Судан", + se: "Шведска", + sg: "Сингапур", + sh: "Света Јелена", + si: "Словенија", + sj: "Свалбард и Јан Мајен", + sk: "Словачка", + sl: "Сијера Леоне", + sm: "Сан Марино", + sn: "Сенегал", + so: "Сомалија", + sr: "Суринам", + ss: "Јужни Судан", + st: "Сао Томе и Принципе", + sv: "Салвадор", + sx: "Свети Мартин (Холандија)", + sy: "Сирија", + sz: "Свазиленд", + tc: "Острва Туркс и Каикос", + td: "Чад", + tg: "Того", + th: "Тајланд", + tj: "Таџикистан", + tk: "Токелау", + tl: "Тимор-Лесте (Источни Тимор)", + tm: "Туркменистан", + tn: "Тунис", + to: "Тонга", + tr: "Турска", + tt: "Тринидад и Тобаго", + tv: "Тувалу", + tw: "Тајван", + tz: "Танзанија", + ua: "Украјина", + ug: "Уганда", + us: "Сједињене Државе", + uy: "Уругвај", + uz: "Узбекистан", + va: "Ватикан", + vc: "Сент Винсент и Гренадини", + ve: "Венецуела", + vg: "Британска Девичанска Острва", + vi: "Америчка Девичанска Острва", + vn: "Вијетнам", + vu: "Вануату", + wf: "Валис и Футуна", + ws: "Самоа", + ye: "Јемен", + yt: "Мајот", + za: "Јужноафричка Република", + zm: "Замбија", + zw: "Зимбабве" +}; +export default countryTranslations; diff --git a/assets/intl-tel-input/js/i18n/sr/index.js b/assets/intl-tel-input/js/i18n/sr/index.js new file mode 100644 index 0000000..8c1c317 --- /dev/null +++ b/assets/intl-tel-input/js/i18n/sr/index.js @@ -0,0 +1,5 @@ +import countryTranslations from "./countries.js"; +import interfaceTranslations from "./interface.js"; +export { countryTranslations, interfaceTranslations }; +const allTranslations = { ...countryTranslations, ...interfaceTranslations }; +export default allTranslations; diff --git a/assets/intl-tel-input/js/i18n/sr/interface.js b/assets/intl-tel-input/js/i18n/sr/interface.js new file mode 100644 index 0000000..18dc5f4 --- /dev/null +++ b/assets/intl-tel-input/js/i18n/sr/interface.js @@ -0,0 +1,21 @@ +const interfaceTranslations = { + selectedCountryAriaLabel: "Промени земљу, изабрано ${countryName} (${dialCode})", + noCountrySelected: "Изабери земљу", + countryListAriaLabel: "Листа земаља", + searchPlaceholder: "Претрага", + clearSearchAriaLabel: "Обриши претрагу", + zeroSearchResults: "Нема резултата", + searchResultsText(count) { + const mod10 = count % 10; + const mod100 = count % 100; + if (mod10 === 1 && mod100 !== 11) { + return `Пронађен ${count} резултат`; + } + const isFew = mod10 >= 2 && mod10 <= 4 && !(mod100 >= 12 && mod100 <= 14); + return `${isFew ? "Пронађена" : "Пронађено"} ${count} резултата`; + }, + // additional countries (not supported by country-list library) + ac: "Острво Асенсион", + xk: "Косово" +}; +export default interfaceTranslations; diff --git a/assets/intl-tel-input/js/i18n/sv/countries.js b/assets/intl-tel-input/js/i18n/sv/countries.js new file mode 100644 index 0000000..4334a57 --- /dev/null +++ b/assets/intl-tel-input/js/i18n/sv/countries.js @@ -0,0 +1,245 @@ +const countryTranslations = { + ad: "Andorra", + ae: "Förenade Arabemiraten", + af: "Afghanistan", + ag: "Antigua och Barbuda", + ai: "Anguilla", + al: "Albanien", + am: "Armenien", + ao: "Angola", + ar: "Argentina", + as: "Amerikanska Samoa", + at: "Österrike", + au: "Australien", + aw: "Aruba", + ax: "Åland", + az: "Azerbajdzjan", + ba: "Bosnien och Hercegovina", + bb: "Barbados", + bd: "Bangladesh", + be: "Belgien", + bf: "Burkina Faso", + bg: "Bulgarien", + bh: "Bahrain", + bi: "Burundi", + bj: "Benin", + bl: "S:t Barthélemy", + bm: "Bermuda", + bn: "Brunei", + bo: "Bolivia", + bq: "Karibiska Nederländerna", + br: "Brasilien", + bs: "Bahamas", + bt: "Bhutan", + bw: "Botswana", + by: "Vitryssland", + bz: "Belize", + ca: "Kanada", + cc: "Kokosöarna", + cd: "Kongo-Kinshasa", + cf: "Centralafrikanska republiken", + cg: "Kongo-Brazzaville", + ch: "Schweiz", + ci: "Côte d’Ivoire", + ck: "Cooköarna", + cl: "Chile", + cm: "Kamerun", + cn: "Kina", + co: "Colombia", + cr: "Costa Rica", + cu: "Kuba", + cv: "Kap Verde", + cw: "Curaçao", + cx: "Julön", + cy: "Cypern", + cz: "Tjeckien", + de: "Tyskland", + dj: "Djibouti", + dk: "Danmark", + dm: "Dominica", + do: "Dominikanska republiken", + dz: "Algeriet", + ec: "Ecuador", + ee: "Estland", + eg: "Egypten", + eh: "Västsahara", + er: "Eritrea", + es: "Spanien", + et: "Etiopien", + fi: "Finland", + fj: "Fiji", + fk: "Falklandsöarna", + fm: "Mikronesien", + fo: "Färöarna", + fr: "Frankrike", + ga: "Gabon", + gb: "Storbritannien", + gd: "Grenada", + ge: "Georgien", + gf: "Franska Guyana", + gg: "Guernsey", + gh: "Ghana", + gi: "Gibraltar", + gl: "Grönland", + gm: "Gambia", + gn: "Guinea", + gp: "Guadeloupe", + gq: "Ekvatorialguinea", + gr: "Grekland", + gt: "Guatemala", + gu: "Guam", + gw: "Guinea-Bissau", + gy: "Guyana", + hk: "Hongkong", + hn: "Honduras", + hr: "Kroatien", + ht: "Haiti", + hu: "Ungern", + id: "Indonesien", + ie: "Irland", + il: "Israel", + im: "Isle of Man", + in: "Indien", + io: "Brittiska territoriet i Indiska oceanen", + iq: "Irak", + ir: "Iran", + is: "Island", + it: "Italien", + je: "Jersey", + jm: "Jamaica", + jo: "Jordanien", + jp: "Japan", + ke: "Kenya", + kg: "Kirgizistan", + kh: "Kambodja", + ki: "Kiribati", + km: "Komorerna", + kn: "S:t Kitts och Nevis", + kp: "Nordkorea", + kr: "Sydkorea", + kw: "Kuwait", + ky: "Caymanöarna", + kz: "Kazakstan", + la: "Laos", + lb: "Libanon", + lc: "S:t Lucia", + li: "Liechtenstein", + lk: "Sri Lanka", + lr: "Liberia", + ls: "Lesotho", + lt: "Litauen", + lu: "Luxemburg", + lv: "Lettland", + ly: "Libyen", + ma: "Marocko", + mc: "Monaco", + md: "Moldavien", + me: "Montenegro", + mf: "Saint-Martin", + mg: "Madagaskar", + mh: "Marshallöarna", + mk: "Nordmakedonien", + ml: "Mali", + mm: "Myanmar (Burma)", + mn: "Mongoliet", + mo: "Macao", + mp: "Nordmarianerna", + mq: "Martinique", + mr: "Mauretanien", + ms: "Montserrat", + mt: "Malta", + mu: "Mauritius", + mv: "Maldiverna", + mw: "Malawi", + mx: "Mexiko", + my: "Malaysia", + mz: "Moçambique", + na: "Namibia", + nc: "Nya Kaledonien", + ne: "Niger", + nf: "Norfolkön", + ng: "Nigeria", + ni: "Nicaragua", + nl: "Nederländerna", + no: "Norge", + np: "Nepal", + nr: "Nauru", + nu: "Niue", + nz: "Nya Zeeland", + om: "Oman", + pa: "Panama", + pe: "Peru", + pf: "Franska Polynesien", + pg: "Papua Nya Guinea", + ph: "Filippinerna", + pk: "Pakistan", + pl: "Polen", + pm: "S:t Pierre och Miquelon", + pr: "Puerto Rico", + ps: "Palestinska territorierna", + pt: "Portugal", + pw: "Palau", + py: "Paraguay", + qa: "Qatar", + re: "Réunion", + ro: "Rumänien", + rs: "Serbien", + ru: "Ryssland", + rw: "Rwanda", + sa: "Saudiarabien", + sb: "Salomonöarna", + sc: "Seychellerna", + sd: "Sudan", + se: "Sverige", + sg: "Singapore", + sh: "S:t Helena", + si: "Slovenien", + sj: "Svalbard och Jan Mayen", + sk: "Slovakien", + sl: "Sierra Leone", + sm: "San Marino", + sn: "Senegal", + so: "Somalia", + sr: "Surinam", + ss: "Sydsudan", + st: "São Tomé och Príncipe", + sv: "El Salvador", + sx: "Sint Maarten", + sy: "Syrien", + sz: "Swaziland", + tc: "Turks- och Caicosöarna", + td: "Tchad", + tg: "Togo", + th: "Thailand", + tj: "Tadzjikistan", + tk: "Tokelau", + tl: "Östtimor", + tm: "Turkmenistan", + tn: "Tunisien", + to: "Tonga", + tr: "Turkiet", + tt: "Trinidad och Tobago", + tv: "Tuvalu", + tw: "Taiwan", + tz: "Tanzania", + ua: "Ukraina", + ug: "Uganda", + us: "USA", + uy: "Uruguay", + uz: "Uzbekistan", + va: "Vatikanstaten", + vc: "S:t Vincent och Grenadinerna", + ve: "Venezuela", + vg: "Brittiska Jungfruöarna", + vi: "Amerikanska Jungfruöarna", + vn: "Vietnam", + vu: "Vanuatu", + wf: "Wallis- och Futunaöarna", + ws: "Samoa", + ye: "Jemen", + yt: "Mayotte", + za: "Sydafrika", + zm: "Zambia", + zw: "Zimbabwe" +}; +export default countryTranslations; diff --git a/assets/intl-tel-input/js/i18n/sv/index.js b/assets/intl-tel-input/js/i18n/sv/index.js new file mode 100644 index 0000000..8c1c317 --- /dev/null +++ b/assets/intl-tel-input/js/i18n/sv/index.js @@ -0,0 +1,5 @@ +import countryTranslations from "./countries.js"; +import interfaceTranslations from "./interface.js"; +export { countryTranslations, interfaceTranslations }; +const allTranslations = { ...countryTranslations, ...interfaceTranslations }; +export default allTranslations; diff --git a/assets/intl-tel-input/js/i18n/sv/interface.js b/assets/intl-tel-input/js/i18n/sv/interface.js new file mode 100644 index 0000000..07fc86c --- /dev/null +++ b/assets/intl-tel-input/js/i18n/sv/interface.js @@ -0,0 +1,13 @@ +const interfaceTranslations = { + "selectedCountryAriaLabel": "Valt land", + "noCountrySelected": "Inget land valt", + "countryListAriaLabel": "Lista över länder", + "searchPlaceholder": "Sök", + "zeroSearchResults": "Inga resultat hittades", + "oneSearchResult": "1 resultat hittades", + "multipleSearchResults": "${count} resultat hittades", + // additional countries (not supported by country-list library) + "ac": "Ascension", + "xk": "Kosovo" +}; +export default interfaceTranslations; diff --git a/assets/intl-tel-input/js/i18n/te/countries.js b/assets/intl-tel-input/js/i18n/te/countries.js new file mode 100644 index 0000000..5db8484 --- /dev/null +++ b/assets/intl-tel-input/js/i18n/te/countries.js @@ -0,0 +1,245 @@ +const countryTranslations = { + ad: "ఆండోరా", + ae: "యునైటెడ్ అరబ్ ఎమిరేట్స్", + af: "ఆఫ్ఘనిస్తాన్", + ag: "ఆంటిగ్వా మరియు బార్బుడా", + ai: "ఆంగ్విల్లా", + al: "అల్బేనియా", + am: "ఆర్మేనియా", + ao: "అంగోలా", + ar: "అర్జెంటీనా", + as: "అమెరికన్ సమోవా", + at: "ఆస్ట్రియా", + au: "ఆస్ట్రేలియా", + aw: "అరుబా", + ax: "ఆలాండ్ దీవులు", + az: "అజర్బైజాన్", + ba: "బోస్నియా మరియు హెర్జిగోవినా", + bb: "బార్బడోస్", + bd: "బంగ్లాదేశ్", + be: "బెల్జియం", + bf: "బుర్కినా ఫాసో", + bg: "బల్గేరియా", + bh: "బహ్రెయిన్", + bi: "బురుండి", + bj: "బెనిన్", + bl: "సెయింట్ బర్థెలిమి", + bm: "బెర్ముడా", + bn: "బ్రూనే", + bo: "బొలీవియా", + bq: "కరీబియన్ నెదర్లాండ్స్", + br: "బ్రెజిల్", + bs: "బహామాస్", + bt: "భూటాన్", + bw: "బోట్స్వానా", + by: "బెలారస్", + bz: "బెలిజ్", + ca: "కెనడా", + cc: "కోకోస్ (కీలింగ్) దీవులు", + cd: "కాంగో- కిన్షాసా", + cf: "సెంట్రల్ ఆఫ్రికన్ రిపబ్లిక్", + cg: "కాంగో- బ్రాజావిల్లి", + ch: "స్విట్జర్లాండ్", + ci: "కోట్ డి ఐవోర్", + ck: "కుక్ దీవులు", + cl: "చిలీ", + cm: "కామెరూన్", + cn: "చైనా", + co: "కొలంబియా", + cr: "కోస్టా రికా", + cu: "క్యూబా", + cv: "కేప్ వెర్డె", + cw: "క్యూరసో", + cx: "క్రిస్మస్ దీవి", + cy: "సైప్రస్", + cz: "చెకియా", + de: "జర్మనీ", + dj: "జిబౌటి", + dk: "డెన్మార్క్", + dm: "డొమినికా", + do: "డొమినికన్ రిపబ్లిక్", + dz: "అల్జీరియా", + ec: "ఈక్వడార్", + ee: "ఎస్టోనియా", + eg: "ఈజిప్ట్", + eh: "పడమటి సహారా", + er: "ఎరిట్రియా", + es: "స్పెయిన్", + et: "ఇథియోపియా", + fi: "ఫిన్లాండ్", + fj: "ఫిజీ", + fk: "ఫాక్‌ల్యాండ్ దీవులు", + fm: "మైక్రోనేషియా", + fo: "ఫారో దీవులు", + fr: "ఫ్రాన్స్‌", + ga: "గేబన్", + gb: "యునైటెడ్ కింగ్‌డమ్", + gd: "గ్రెనడా", + ge: "జార్జియా", + gf: "ఫ్రెంచ్ గియానా", + gg: "గర్న్‌సీ", + gh: "ఘనా", + gi: "జిబ్రాల్టర్", + gl: "గ్రీన్‌ల్యాండ్", + gm: "గాంబియా", + gn: "గినియా", + gp: "గ్వాడెలోప్", + gq: "ఈక్వటోరియల్ గినియా", + gr: "గ్రీస్", + gt: "గ్వాటిమాలా", + gu: "గ్వామ్", + gw: "గినియా-బిస్సావ్", + gy: "గయానా", + hk: "హాంకాంగ్ ఎస్ఏఆర్ చైనా", + hn: "హోండురాస్", + hr: "క్రొయేషియా", + ht: "హైటి", + hu: "హంగేరీ", + id: "ఇండోనేషియా", + ie: "ఐర్లాండ్", + il: "ఇజ్రాయెల్", + im: "ఐల్ ఆఫ్ మాన్", + in: "భారతదేశం", + io: "బ్రిటిష్ హిందూ మహాసముద్ర ప్రాంతం", + iq: "ఇరాక్", + ir: "ఇరాన్", + is: "ఐస్లాండ్", + it: "ఇటలీ", + je: "జెర్సీ", + jm: "జమైకా", + jo: "జోర్డాన్", + jp: "జపాన్", + ke: "కెన్యా", + kg: "కిర్గిజిస్తాన్", + kh: "కంబోడియా", + ki: "కిరిబాటి", + km: "కొమొరోస్", + kn: "సెయింట్ కిట్స్ మరియు నెవిస్", + kp: "ఉత్తర కొరియా", + kr: "దక్షిణ కొరియా", + kw: "కువైట్", + ky: "కేమాన్ దీవులు", + kz: "కజకిస్తాన్", + la: "లావోస్", + lb: "లెబనాన్", + lc: "సెయింట్ లూసియా", + li: "లిక్టెన్‌స్టెయిన్", + lk: "శ్రీలంక", + lr: "లైబీరియా", + ls: "లెసోతో", + lt: "లిథువేనియా", + lu: "లక్సెంబర్గ్", + lv: "లాత్వియా", + ly: "లిబియా", + ma: "మొరాకో", + mc: "మొనాకో", + md: "మోల్డోవా", + me: "మాంటెనెగ్రో", + mf: "సెయింట్ మార్టిన్", + mg: "మడగాస్కర్", + mh: "మార్షల్ దీవులు", + mk: "ఉత్తర మాసిడోనియా", + ml: "మాలి", + mm: "మయన్మార్", + mn: "మంగోలియా", + mo: "మకావ్ ఎస్ఏఆర్ చైనా", + mp: "ఉత్తర మరియానా దీవులు", + mq: "మార్టినీక్", + mr: "మౌరిటేనియా", + ms: "మాంట్సెరాట్", + mt: "మాల్టా", + mu: "మారిషస్", + mv: "మాల్దీవులు", + mw: "మలావీ", + mx: "మెక్సికో", + my: "మలేషియా", + mz: "మొజాంబిక్", + na: "నమీబియా", + nc: "క్రొత్త కాలెడోనియా", + ne: "నైజర్", + nf: "నార్ఫోక్ దీవి", + ng: "నైజీరియా", + ni: "నికరాగువా", + nl: "నెదర్లాండ్స్", + no: "నార్వే", + np: "నేపాల్", + nr: "నౌరు", + nu: "నియూ", + nz: "న్యూజిలాండ్", + om: "ఓమన్", + pa: "పనామా", + pe: "పెరూ", + pf: "ఫ్రెంచ్ పోలినీషియా", + pg: "పాపువా న్యూ గినియా", + ph: "ఫిలిప్పైన్స్", + pk: "పాకిస్తాన్", + pl: "పోలాండ్", + pm: "సెయింట్ పియెర్ మరియు మికెలాన్", + pr: "ప్యూర్టో రికో", + ps: "పాలస్తీనియన్ ప్రాంతాలు", + pt: "పోర్చుగల్", + pw: "పాలావ్", + py: "పరాగ్వే", + qa: "ఖతార్", + re: "రీయూనియన్", + ro: "రోమేనియా", + rs: "సెర్బియా", + ru: "రష్యా", + rw: "రువాండా", + sa: "సౌదీ అరేబియా", + sb: "సోలమన్ దీవులు", + sc: "సీషెల్స్", + sd: "సూడాన్", + se: "స్వీడన్", + sg: "సింగపూర్", + sh: "సెయింట్ హెలెనా", + si: "స్లోవేనియా", + sj: "స్వాల్‌బార్డ్ మరియు జాన్ మాయెన్", + sk: "స్లొవేకియా", + sl: "సియెర్రా లియాన్", + sm: "శాన్ మారినో", + sn: "సెనెగల్", + so: "సోమాలియా", + sr: "సూరినామ్", + ss: "దక్షిణ సూడాన్", + st: "సావో టోమ్ మరియు ప్రిన్సిపి", + sv: "ఎల్ సాల్వడోర్", + sx: "సింట్ మార్టెన్", + sy: "సిరియా", + sz: "ఈస్వాటిని", + tc: "టర్క్స్ మరియు కైకోస్ దీవులు", + td: "చాద్", + tg: "టోగో", + th: "థాయిలాండ్", + tj: "తజికిస్తాన్", + tk: "టోకెలావ్", + tl: "టిమోర్-లెస్టె", + tm: "టర్క్‌మెనిస్తాన్", + tn: "ట్యునీషియా", + to: "టోంగా", + tr: "టర్కీ", + tt: "ట్రినిడాడ్ మరియు టొబాగో", + tv: "టువాలు", + tw: "తైవాన్", + tz: "టాంజానియా", + ua: "ఉక్రెయిన్", + ug: "ఉగాండా", + us: "యునైటెడ్ స్టేట్స్", + uy: "ఉరుగ్వే", + uz: "ఉజ్బెకిస్తాన్", + va: "వాటికన్ నగరం", + vc: "సెయింట్ విన్సెంట్ మరియు గ్రెనడీన్స్", + ve: "వెనిజులా", + vg: "బ్రిటిష్ వర్జిన్ దీవులు", + vi: "యు.ఎస్. వర్జిన్ దీవులు", + vn: "వియత్నాం", + vu: "వనాటు", + wf: "వాల్లిస్ మరియు ఫుటునా", + ws: "సమోవా", + ye: "యెమెన్", + yt: "మాయొట్", + za: "దక్షిణ ఆఫ్రికా", + zm: "జాంబియా", + zw: "జింబాబ్వే" +}; +export default countryTranslations; diff --git a/assets/intl-tel-input/js/i18n/te/index.js b/assets/intl-tel-input/js/i18n/te/index.js new file mode 100644 index 0000000..8c1c317 --- /dev/null +++ b/assets/intl-tel-input/js/i18n/te/index.js @@ -0,0 +1,5 @@ +import countryTranslations from "./countries.js"; +import interfaceTranslations from "./interface.js"; +export { countryTranslations, interfaceTranslations }; +const allTranslations = { ...countryTranslations, ...interfaceTranslations }; +export default allTranslations; diff --git a/assets/intl-tel-input/js/i18n/te/interface.js b/assets/intl-tel-input/js/i18n/te/interface.js new file mode 100644 index 0000000..2c5f1d5 --- /dev/null +++ b/assets/intl-tel-input/js/i18n/te/interface.js @@ -0,0 +1,13 @@ +const interfaceTranslations = { + selectedCountryAriaLabel: "ఎంచుకున్న దేశం", + noCountrySelected: "ఏ దేశం ఎంచుకోబడలేదు", + countryListAriaLabel: "దేశాల జాబితా", + searchPlaceholder: "వెతకండి", + zeroSearchResults: "ఎటువంటి ఫలితాలు లభించలేదు", + oneSearchResult: "1 ఫలితం కనుగొనబడింది", + multipleSearchResults: "${count} ఫలితాలు కనుగొనబడ్డాయి", + // additional countries (not supported by country-list library) + ac: "అసెన్షన్ ద్వీపం", + xk: "కొసోవో" +}; +export default interfaceTranslations; diff --git a/assets/intl-tel-input/js/i18n/th/countries.js b/assets/intl-tel-input/js/i18n/th/countries.js new file mode 100644 index 0000000..1ed0395 --- /dev/null +++ b/assets/intl-tel-input/js/i18n/th/countries.js @@ -0,0 +1,245 @@ +const countryTranslations = { + ad: "อันดอร์รา", + ae: "สหรัฐอาหรับเอมิเรตส์", + af: "อัฟกานิสถาน", + ag: "แอนติกาและบาร์บูดา", + ai: "แองกวิลลา", + al: "แอลเบเนีย", + am: "อาร์เมเนีย", + ao: "แองโกลา", + ar: "อาร์เจนตินา", + as: "อเมริกันซามัว", + at: "ออสเตรีย", + au: "ออสเตรเลีย", + aw: "อารูบา", + ax: "หมู่เกาะโอลันด์", + az: "อาเซอร์ไบจาน", + ba: "บอสเนียและเฮอร์เซโกวีนา", + bb: "บาร์เบโดส", + bd: "บังกลาเทศ", + be: "เบลเยียม", + bf: "บูร์กินาฟาโซ", + bg: "บัลแกเรีย", + bh: "บาห์เรน", + bi: "บุรุนดี", + bj: "เบนิน", + bl: "เซนต์บาร์เธเลมี", + bm: "เบอร์มิวดา", + bn: "บรูไน", + bo: "โบลิเวีย", + bq: "เนเธอร์แลนด์แคริบเบียน", + br: "บราซิล", + bs: "บาฮามาส", + bt: "ภูฏาน", + bw: "บอตสวานา", + by: "เบลารุส", + bz: "เบลีซ", + ca: "แคนาดา", + cc: "หมู่เกาะโคโคส (คีลิง)", + cd: "คองโก - กินชาซา", + cf: "สาธารณรัฐแอฟริกากลาง", + cg: "คองโก - บราซซาวิล", + ch: "สวิตเซอร์แลนด์", + ci: "โกตดิวัวร์", + ck: "หมู่เกาะคุก", + cl: "ชิลี", + cm: "แคเมอรูน", + cn: "จีน", + co: "โคลอมเบีย", + cr: "คอสตาริกา", + cu: "คิวบา", + cv: "เคปเวิร์ด", + cw: "คูราเซา", + cx: "เกาะคริสต์มาส", + cy: "ไซปรัส", + cz: "เช็ก", + de: "เยอรมนี", + dj: "จิบูตี", + dk: "เดนมาร์ก", + dm: "โดมินิกา", + do: "สาธารณรัฐโดมินิกัน", + dz: "แอลจีเรีย", + ec: "เอกวาดอร์", + ee: "เอสโตเนีย", + eg: "อียิปต์", + eh: "ซาฮาราตะวันตก", + er: "เอริเทรีย", + es: "สเปน", + et: "เอธิโอเปีย", + fi: "ฟินแลนด์", + fj: "ฟิจิ", + fk: "หมู่เกาะฟอล์กแลนด์", + fm: "ไมโครนีเซีย", + fo: "หมู่เกาะแฟโร", + fr: "ฝรั่งเศส", + ga: "กาบอง", + gb: "สหราชอาณาจักร", + gd: "เกรเนดา", + ge: "จอร์เจีย", + gf: "เฟรนช์เกียนา", + gg: "เกิร์นซีย์", + gh: "กานา", + gi: "ยิบรอลตาร์", + gl: "กรีนแลนด์", + gm: "แกมเบีย", + gn: "กินี", + gp: "กวาเดอลูป", + gq: "อิเควทอเรียลกินี", + gr: "กรีซ", + gt: "กัวเตมาลา", + gu: "กวม", + gw: "กินี-บิสเซา", + gy: "กายอานา", + hk: "เขตปกครองพิเศษฮ่องกงแห่งสาธารณรัฐประชาชนจีน", + hn: "ฮอนดูรัส", + hr: "โครเอเชีย", + ht: "เฮติ", + hu: "ฮังการี", + id: "อินโดนีเซีย", + ie: "ไอร์แลนด์", + il: "อิสราเอล", + im: "เกาะแมน", + in: "อินเดีย", + io: "บริติชอินเดียนโอเชียนเทร์ริทอรี", + iq: "อิรัก", + ir: "อิหร่าน", + is: "ไอซ์แลนด์", + it: "อิตาลี", + je: "เจอร์ซีย์", + jm: "จาเมกา", + jo: "จอร์แดน", + jp: "ญี่ปุ่น", + ke: "เคนยา", + kg: "คีร์กีซสถาน", + kh: "กัมพูชา", + ki: "คิริบาส", + km: "คอโมโรส", + kn: "เซนต์คิตส์และเนวิส", + kp: "เกาหลีเหนือ", + kr: "เกาหลีใต้", + kw: "คูเวต", + ky: "หมู่เกาะเคย์แมน", + kz: "คาซัคสถาน", + la: "ลาว", + lb: "เลบานอน", + lc: "เซนต์ลูเซีย", + li: "ลิกเตนสไตน์", + lk: "ศรีลังกา", + lr: "ไลบีเรีย", + ls: "เลโซโท", + lt: "ลิทัวเนีย", + lu: "ลักเซมเบิร์ก", + lv: "ลัตเวีย", + ly: "ลิเบีย", + ma: "โมร็อกโก", + mc: "โมนาโก", + md: "มอลโดวา", + me: "มอนเตเนโกร", + mf: "เซนต์มาร์ติน", + mg: "มาดากัสการ์", + mh: "หมู่เกาะมาร์แชลล์", + mk: "มาซิโดเนียเหนือ", + ml: "มาลี", + mm: "เมียนมาร์ (พม่า)", + mn: "มองโกเลีย", + mo: "เขตปกครองพิเศษมาเก๊าแห่งสาธารณรัฐประชาชนจีน", + mp: "หมู่เกาะนอร์เทิร์นมาเรียนา", + mq: "มาร์ตินีก", + mr: "มอริเตเนีย", + ms: "มอนต์เซอร์รัต", + mt: "มอลตา", + mu: "มอริเชียส", + mv: "มัลดีฟส์", + mw: "มาลาวี", + mx: "เม็กซิโก", + my: "มาเลเซีย", + mz: "โมซัมบิก", + na: "นามิเบีย", + nc: "นิวแคลิโดเนีย", + ne: "ไนเจอร์", + nf: "เกาะนอร์ฟอล์ก", + ng: "ไนจีเรีย", + ni: "นิการากัว", + nl: "เนเธอร์แลนด์", + no: "นอร์เวย์", + np: "เนปาล", + nr: "นาอูรู", + nu: "นีอูเอ", + nz: "นิวซีแลนด์", + om: "โอมาน", + pa: "ปานามา", + pe: "เปรู", + pf: "เฟรนช์โปลินีเซีย", + pg: "ปาปัวนิวกินี", + ph: "ฟิลิปปินส์", + pk: "ปากีสถาน", + pl: "โปแลนด์", + pm: "แซงปีแยร์และมีเกอลง", + pr: "เปอร์โตริโก", + ps: "ดินแดนปาเลสไตน์", + pt: "โปรตุเกส", + pw: "ปาเลา", + py: "ปารากวัย", + qa: "กาตาร์", + re: "เรอูนียง", + ro: "โรมาเนีย", + rs: "เซอร์เบีย", + ru: "รัสเซีย", + rw: "รวันดา", + sa: "ซาอุดีอาระเบีย", + sb: "หมู่เกาะโซโลมอน", + sc: "เซเชลส์", + sd: "ซูดาน", + se: "สวีเดน", + sg: "สิงคโปร์", + sh: "เซนต์เฮเลนา", + si: "สโลวีเนีย", + sj: "สฟาลบาร์และยานไมเอน", + sk: "สโลวะเกีย", + sl: "เซียร์ราลีโอน", + sm: "ซานมาริโน", + sn: "เซเนกัล", + so: "โซมาเลีย", + sr: "ซูรินาเม", + ss: "ซูดานใต้", + st: "เซาตูเมและปรินซิปี", + sv: "เอลซัลวาดอร์", + sx: "ซินต์มาร์เทน", + sy: "ซีเรีย", + sz: "เอสวาตีนี", + tc: "หมู่เกาะเติกส์และหมู่เกาะเคคอส", + td: "ชาด", + tg: "โตโก", + th: "ไทย", + tj: "ทาจิกิสถาน", + tk: "โตเกเลา", + tl: "ติมอร์-เลสเต", + tm: "เติร์กเมนิสถาน", + tn: "ตูนิเซีย", + to: "ตองกา", + tr: "ตุรกี", + tt: "ตรินิแดดและโตเบโก", + tv: "ตูวาลู", + tw: "ไต้หวัน", + tz: "แทนซาเนีย", + ua: "ยูเครน", + ug: "ยูกันดา", + us: "สหรัฐอเมริกา", + uy: "อุรุกวัย", + uz: "อุซเบกิสถาน", + va: "นครวาติกัน", + vc: "เซนต์วินเซนต์และเกรนาดีนส์", + ve: "เวเนซุเอลา", + vg: "หมู่เกาะบริติชเวอร์จิน", + vi: "หมู่เกาะเวอร์จินของสหรัฐอเมริกา", + vn: "เวียดนาม", + vu: "วานูอาตู", + wf: "วาลลิสและฟุตูนา", + ws: "ซามัว", + ye: "เยเมน", + yt: "มายอต", + za: "แอฟริกาใต้", + zm: "แซมเบีย", + zw: "ซิมบับเว" +}; +export default countryTranslations; diff --git a/assets/intl-tel-input/js/i18n/th/index.js b/assets/intl-tel-input/js/i18n/th/index.js new file mode 100644 index 0000000..8c1c317 --- /dev/null +++ b/assets/intl-tel-input/js/i18n/th/index.js @@ -0,0 +1,5 @@ +import countryTranslations from "./countries.js"; +import interfaceTranslations from "./interface.js"; +export { countryTranslations, interfaceTranslations }; +const allTranslations = { ...countryTranslations, ...interfaceTranslations }; +export default allTranslations; diff --git a/assets/intl-tel-input/js/i18n/th/interface.js b/assets/intl-tel-input/js/i18n/th/interface.js new file mode 100644 index 0000000..cd6eef7 --- /dev/null +++ b/assets/intl-tel-input/js/i18n/th/interface.js @@ -0,0 +1,13 @@ +const interfaceTranslations = { + selectedCountryAriaLabel: "ประเทศที่เลือก", + noCountrySelected: "ไม่ได้เลือกประเทศ", + countryListAriaLabel: "รายชื่อประเทศ", + searchPlaceholder: "ค้นหา", + zeroSearchResults: "ไม่พบผลลัพธ์", + oneSearchResult: "พบผลลัพธ์ 1 รายการ", + multipleSearchResults: "พบผลลัพธ์ ${count} รายการ", + // additional countries (not supported by country-list library) + ac: "เกาะแอสเซนชัน", + xk: "โคโซโว" +}; +export default interfaceTranslations; diff --git a/assets/intl-tel-input/js/i18n/tr/countries.js b/assets/intl-tel-input/js/i18n/tr/countries.js new file mode 100644 index 0000000..0b843d5 --- /dev/null +++ b/assets/intl-tel-input/js/i18n/tr/countries.js @@ -0,0 +1,245 @@ +const countryTranslations = { + ad: "Andorra", + ae: "Birleşik Arap Emirlikleri", + af: "Afganistan", + ag: "Antigua ve Barbuda", + ai: "Anguilla", + al: "Arnavutluk", + am: "Ermenistan", + ao: "Angola", + ar: "Arjantin", + as: "Amerikan Samoası", + at: "Avusturya", + au: "Avustralya", + aw: "Aruba", + ax: "Åland Adaları", + az: "Azerbaycan", + ba: "Bosna-Hersek", + bb: "Barbados", + bd: "Bangladeş", + be: "Belçika", + bf: "Burkina Faso", + bg: "Bulgaristan", + bh: "Bahreyn", + bi: "Burundi", + bj: "Benin", + bl: "Saint Barthelemy", + bm: "Bermuda", + bn: "Brunei", + bo: "Bolivya", + bq: "Karayip Hollandası", + br: "Brezilya", + bs: "Bahamalar", + bt: "Butan", + bw: "Botsvana", + by: "Belarus", + bz: "Belize", + ca: "Kanada", + cc: "Cocos (Keeling) Adaları", + cd: "Kongo - Kinşasa", + cf: "Orta Afrika Cumhuriyeti", + cg: "Kongo - Brazavil", + ch: "İsviçre", + ci: "Côte d’Ivoire", + ck: "Cook Adaları", + cl: "Şili", + cm: "Kamerun", + cn: "Çin", + co: "Kolombiya", + cr: "Kosta Rika", + cu: "Küba", + cv: "Cape Verde", + cw: "Curaçao", + cx: "Christmas Adası", + cy: "Kıbrıs", + cz: "Çekya", + de: "Almanya", + dj: "Cibuti", + dk: "Danimarka", + dm: "Dominika", + do: "Dominik Cumhuriyeti", + dz: "Cezayir", + ec: "Ekvador", + ee: "Estonya", + eg: "Mısır", + eh: "Batı Sahra", + er: "Eritre", + es: "İspanya", + et: "Etiyopya", + fi: "Finlandiya", + fj: "Fiji", + fk: "Falkland Adaları", + fm: "Mikronezya", + fo: "Faroe Adaları", + fr: "Fransa", + ga: "Gabon", + gb: "Birleşik Krallık", + gd: "Grenada", + ge: "Gürcistan", + gf: "Fransız Guyanası", + gg: "Guernsey", + gh: "Gana", + gi: "Cebelitarık", + gl: "Grönland", + gm: "Gambiya", + gn: "Gine", + gp: "Guadeloupe", + gq: "Ekvator Ginesi", + gr: "Yunanistan", + gt: "Guatemala", + gu: "Guam", + gw: "Gine-Bissau", + gy: "Guyana", + hk: "Çin Hong Kong ÖİB", + hn: "Honduras", + hr: "Hırvatistan", + ht: "Haiti", + hu: "Macaristan", + id: "Endonezya", + ie: "İrlanda", + il: "İsrail", + im: "Man Adası", + in: "Hindistan", + io: "Britanya Hint Okyanusu Toprakları", + iq: "Irak", + ir: "İran", + is: "İzlanda", + it: "İtalya", + je: "Jersey", + jm: "Jamaika", + jo: "Ürdün", + jp: "Japonya", + ke: "Kenya", + kg: "Kırgızistan", + kh: "Kamboçya", + ki: "Kiribati", + km: "Komorlar", + kn: "Saint Kitts ve Nevis", + kp: "Kuzey Kore", + kr: "Güney Kore", + kw: "Kuveyt", + ky: "Cayman Adaları", + kz: "Kazakistan", + la: "Laos", + lb: "Lübnan", + lc: "Saint Lucia", + li: "Liechtenstein", + lk: "Sri Lanka", + lr: "Liberya", + ls: "Lesotho", + lt: "Litvanya", + lu: "Lüksemburg", + lv: "Letonya", + ly: "Libya", + ma: "Fas", + mc: "Monako", + md: "Moldova", + me: "Karadağ", + mf: "Saint Martin", + mg: "Madagaskar", + mh: "Marshall Adaları", + mk: "Kuzey Makedonya", + ml: "Mali", + mm: "Myanmar (Burma)", + mn: "Moğolistan", + mo: "Çin Makao ÖİB", + mp: "Kuzey Mariana Adaları", + mq: "Martinik", + mr: "Moritanya", + ms: "Montserrat", + mt: "Malta", + mu: "Mauritius", + mv: "Maldivler", + mw: "Malavi", + mx: "Meksika", + my: "Malezya", + mz: "Mozambik", + na: "Namibya", + nc: "Yeni Kaledonya", + ne: "Nijer", + nf: "Norfolk Adası", + ng: "Nijerya", + ni: "Nikaragua", + nl: "Hollanda", + no: "Norveç", + np: "Nepal", + nr: "Nauru", + nu: "Niue", + nz: "Yeni Zelanda", + om: "Umman", + pa: "Panama", + pe: "Peru", + pf: "Fransız Polinezyası", + pg: "Papua Yeni Gine", + ph: "Filipinler", + pk: "Pakistan", + pl: "Polonya", + pm: "Saint Pierre ve Miquelon", + pr: "Porto Riko", + ps: "Filistin Bölgeleri", + pt: "Portekiz", + pw: "Palau", + py: "Paraguay", + qa: "Katar", + re: "Reunion", + ro: "Romanya", + rs: "Sırbistan", + ru: "Rusya", + rw: "Ruanda", + sa: "Suudi Arabistan", + sb: "Solomon Adaları", + sc: "Seyşeller", + sd: "Sudan", + se: "İsveç", + sg: "Singapur", + sh: "Saint Helena", + si: "Slovenya", + sj: "Svalbard ve Jan Mayen", + sk: "Slovakya", + sl: "Sierra Leone", + sm: "San Marino", + sn: "Senegal", + so: "Somali", + sr: "Surinam", + ss: "Güney Sudan", + st: "Sao Tome ve Principe", + sv: "El Salvador", + sx: "Sint Maarten", + sy: "Suriye", + sz: "Esvatini", + tc: "Turks ve Caicos Adaları", + td: "Çad", + tg: "Togo", + th: "Tayland", + tj: "Tacikistan", + tk: "Tokelau", + tl: "Timor-Leste", + tm: "Türkmenistan", + tn: "Tunus", + to: "Tonga", + tr: "Türkiye", + tt: "Trinidad ve Tobago", + tv: "Tuvalu", + tw: "Tayvan", + tz: "Tanzanya", + ua: "Ukrayna", + ug: "Uganda", + us: "Amerika Birleşik Devletleri", + uy: "Uruguay", + uz: "Özbekistan", + va: "Vatikan", + vc: "Saint Vincent ve Grenadinler", + ve: "Venezuela", + vg: "Britanya Virjin Adaları", + vi: "ABD Virjin Adaları", + vn: "Vietnam", + vu: "Vanuatu", + wf: "Wallis ve Futuna", + ws: "Samoa", + ye: "Yemen", + yt: "Mayotte", + za: "Güney Afrika", + zm: "Zambiya", + zw: "Zimbabve" +}; +export default countryTranslations; diff --git a/assets/intl-tel-input/js/i18n/tr/index.js b/assets/intl-tel-input/js/i18n/tr/index.js new file mode 100644 index 0000000..8c1c317 --- /dev/null +++ b/assets/intl-tel-input/js/i18n/tr/index.js @@ -0,0 +1,5 @@ +import countryTranslations from "./countries.js"; +import interfaceTranslations from "./interface.js"; +export { countryTranslations, interfaceTranslations }; +const allTranslations = { ...countryTranslations, ...interfaceTranslations }; +export default allTranslations; diff --git a/assets/intl-tel-input/js/i18n/tr/interface.js b/assets/intl-tel-input/js/i18n/tr/interface.js new file mode 100644 index 0000000..900475d --- /dev/null +++ b/assets/intl-tel-input/js/i18n/tr/interface.js @@ -0,0 +1,13 @@ +const interfaceTranslations = { + selectedCountryAriaLabel: "Seçilen ülke", + noCountrySelected: "Hiçbir ülke seçilmedi", + countryListAriaLabel: "Ülke listesi", + searchPlaceholder: "Ara", + zeroSearchResults: "Sonuç bulunamadı", + oneSearchResult: "1 sonuç bulundu", + multipleSearchResults: "${count} sonuç bulundu", + // additional countries (not supported by country-list library) + ac: "Ascension Adası", + xk: "Kosova" +}; +export default interfaceTranslations; diff --git a/assets/intl-tel-input/js/i18n/types.js b/assets/intl-tel-input/js/i18n/types.js new file mode 100644 index 0000000..e69de29 diff --git a/assets/intl-tel-input/js/i18n/uk/countries.js b/assets/intl-tel-input/js/i18n/uk/countries.js new file mode 100644 index 0000000..f76c6b9 --- /dev/null +++ b/assets/intl-tel-input/js/i18n/uk/countries.js @@ -0,0 +1,245 @@ +const countryTranslations = { + ad: "Андорра", + ae: "Обʼєднані Арабські Емірати", + af: "Афганістан", + ag: "Антиґуа і Барбуда", + ai: "Анґілья", + al: "Албанія", + am: "Вірменія", + ao: "Ангола", + ar: "Аргентина", + as: "Американське Самоа", + at: "Австрія", + au: "Австралія", + aw: "Аруба", + ax: "Аландські Острови", + az: "Азербайджан", + ba: "Боснія і Герцеґовина", + bb: "Барбадос", + bd: "Бангладеш", + be: "Бельґія", + bf: "Буркіна-Фасо", + bg: "Болгарія", + bh: "Бахрейн", + bi: "Бурунді", + bj: "Бенін", + bl: "Сен-Бартельмі", + bm: "Бермудські Острови", + bn: "Бруней", + bo: "Болівія", + bq: "Нідерландські Карибські острови", + br: "Бразілія", + bs: "Багамські Острови", + bt: "Бутан", + bw: "Ботсвана", + by: "Білорусь", + bz: "Беліз", + ca: "Канада", + cc: "Кокосові (Кілінґ) Острови", + cd: "Конго – Кіншаса", + cf: "Центральноафриканська Республіка", + cg: "Конго – Браззавіль", + ch: "Швейцарія", + ci: "Кот-дʼІвуар", + ck: "Острови Кука", + cl: "Чілі", + cm: "Камерун", + cn: "Китай", + co: "Колумбія", + cr: "Коста-Ріка", + cu: "Куба", + cv: "Кабо-Верде", + cw: "Кюрасао", + cx: "Острів Різдва", + cy: "Кіпр", + cz: "Чехія", + de: "Німеччина", + dj: "Джибуті", + dk: "Данія", + dm: "Домініка", + do: "Домініканська Республіка", + dz: "Алжир", + ec: "Еквадор", + ee: "Естонія", + eg: "Єгипет", + eh: "Західна Сахара", + er: "Еритрея", + es: "Іспанія", + et: "Ефіопія", + fi: "Фінляндія", + fj: "Фіджі", + fk: "Фолклендські Острови", + fm: "Мікронезія", + fo: "Фарерські Острови", + fr: "Франція", + ga: "Габон", + gb: "Велика Британія", + gd: "Ґренада", + ge: "Грузія", + gf: "Французька Ґвіана", + gg: "Ґернсі", + gh: "Гана", + gi: "Ґібралтар", + gl: "Ґренландія", + gm: "Гамбія", + gn: "Гвінея", + gp: "Ґваделупа", + gq: "Екваторіальна Гвінея", + gr: "Греція", + gt: "Ґватемала", + gu: "Ґуам", + gw: "Гвінея-Бісау", + gy: "Ґайана", + hk: "Гонконг, О.А.Р. Китаю", + hn: "Гондурас", + hr: "Хорватія", + ht: "Гаїті", + hu: "Угорщина", + id: "Індонезія", + ie: "Ірландія", + il: "Ізраїль", + im: "Острів Мен", + in: "Індія", + io: "Британська територія в Індійському Океані", + iq: "Ірак", + ir: "Іран", + is: "Ісландія", + it: "Італія", + je: "Джерсі", + jm: "Ямайка", + jo: "Йорданія", + jp: "Японія", + ke: "Кенія", + kg: "Киргизстан", + kh: "Камбоджа", + ki: "Кірібаті", + km: "Комори", + kn: "Сент-Кітс і Невіс", + kp: "Північна Корея", + kr: "Південна Корея", + kw: "Кувейт", + ky: "Кайманові Острови", + kz: "Казахстан", + la: "Лаос", + lb: "Ліван", + lc: "Сент-Люсія", + li: "Ліхтенштейн", + lk: "Шрі-Ланка", + lr: "Ліберія", + ls: "Лесото", + lt: "Литва", + lu: "Люксембурґ", + lv: "Латвія", + ly: "Лівія", + ma: "Марокко", + mc: "Монако", + md: "Молдова", + me: "Чорногорія", + mf: "Сен-Мартен", + mg: "Мадагаскар", + mh: "Маршаллові Острови", + mk: "Північна Македонія", + ml: "Малі", + mm: "Мʼянма (Бірма)", + mn: "Монголія", + mo: "Макао, О.А.Р Китаю", + mp: "Північні Маріанські Острови", + mq: "Мартініка", + mr: "Мавританія", + ms: "Монтсеррат", + mt: "Мальта", + mu: "Маврікій", + mv: "Мальдіви", + mw: "Малаві", + mx: "Мексика", + my: "Малайзія", + mz: "Мозамбік", + na: "Намібія", + nc: "Нова Каледонія", + ne: "Нігер", + nf: "Острів Норфолк", + ng: "Нігерія", + ni: "Нікараґуа", + nl: "Нідерланди", + no: "Норвеґія", + np: "Непал", + nr: "Науру", + nu: "Ніуе", + nz: "Нова Зеландія", + om: "Оман", + pa: "Панама", + pe: "Перу", + pf: "Французька Полінезія", + pg: "Папуа-Нова Ґвінея", + ph: "Філіппіни", + pk: "Пакистан", + pl: "Польща", + pm: "Сен-Пʼєр і Мікелон", + pr: "Пуерто-Ріко", + ps: "Палестинські території", + pt: "Портуґалія", + pw: "Палау", + py: "Параґвай", + qa: "Катар", + re: "Реюньйон", + ro: "Румунія", + rs: "Сербія", + ru: "Росія", + rw: "Руанда", + sa: "Саудівська Аравія", + sb: "Соломонові Острови", + sc: "Сейшельські Острови", + sd: "Судан", + se: "Швеція", + sg: "Сінгапур", + sh: "Острів Святої Єлени", + si: "Словенія", + sj: "Шпіцберген та Ян-Маєн", + sk: "Словаччина", + sl: "Сьєрра-Леоне", + sm: "Сан-Маріно", + sn: "Сенегал", + so: "Сомалі", + sr: "Сурінам", + ss: "Південний Судан", + st: "Сан-Томе і Прінсіпі", + sv: "Сальвадор", + sx: "Сінт-Мартен", + sy: "Сирія", + sz: "Есватіні", + tc: "Острови Теркс і Кайкос", + td: "Чад", + tg: "Того", + th: "Таїланд", + tj: "Таджикистан", + tk: "Токелау", + tl: "Тімор-Лешті", + tm: "Туркменістан", + tn: "Туніс", + to: "Тонґа", + tr: "Туреччина", + tt: "Трінідад і Тобаґо", + tv: "Тувалу", + tw: "Тайвань", + tz: "Танзанія", + ua: "Україна", + ug: "Уганда", + us: "Сполучені Штати", + uy: "Уруґвай", + uz: "Узбекистан", + va: "Ватикан", + vc: "Сент-Вінсент і Ґренадіни", + ve: "Венесуела", + vg: "Британські Віргінські острови", + vi: "Віргінські острови, США", + vn: "Вʼєтнам", + vu: "Вануату", + wf: "Уолліс і Футуна", + ws: "Самоа", + ye: "Ємен", + yt: "Майотта", + za: "Південно-Африканська Республіка", + zm: "Замбія", + zw: "Зімбабве" +}; +export default countryTranslations; diff --git a/assets/intl-tel-input/js/i18n/uk/index.js b/assets/intl-tel-input/js/i18n/uk/index.js new file mode 100644 index 0000000..8c1c317 --- /dev/null +++ b/assets/intl-tel-input/js/i18n/uk/index.js @@ -0,0 +1,5 @@ +import countryTranslations from "./countries.js"; +import interfaceTranslations from "./interface.js"; +export { countryTranslations, interfaceTranslations }; +const allTranslations = { ...countryTranslations, ...interfaceTranslations }; +export default allTranslations; diff --git a/assets/intl-tel-input/js/i18n/uk/interface.js b/assets/intl-tel-input/js/i18n/uk/interface.js new file mode 100644 index 0000000..3ffcdc6 --- /dev/null +++ b/assets/intl-tel-input/js/i18n/uk/interface.js @@ -0,0 +1,20 @@ +const interfaceTranslations = { + selectedCountryAriaLabel: "Обрана країна", + noCountrySelected: "Країну не обрано", + countryListAriaLabel: "Список країн", + searchPlaceholder: "Шукати", + zeroSearchResults: "Результатів не знайдено", + searchResultsText(count) { + const mod10 = count % 10; + const mod100 = count % 100; + if (mod10 === 1 && mod100 !== 11) { + return `Знайдено ${count} результат`; + } + const isFew = mod10 >= 2 && mod10 <= 4 && !(mod100 >= 12 && mod100 <= 14); + return `Знайдено ${count} ${isFew ? "результати" : "результатів"}`; + }, + // additional countries (not supported by country-list library) + ac: "Острів Вознесіння", + xk: "Косово" +}; +export default interfaceTranslations; diff --git a/assets/intl-tel-input/js/i18n/ur/countries.js b/assets/intl-tel-input/js/i18n/ur/countries.js new file mode 100644 index 0000000..234f07b --- /dev/null +++ b/assets/intl-tel-input/js/i18n/ur/countries.js @@ -0,0 +1,245 @@ +const countryTranslations = { + ad: "انڈورا", + ae: "متحدہ عرب امارات", + af: "افغانستان", + ag: "انٹیگوا اور باربودا", + ai: "انگوئیلا", + al: "البانیہ", + am: "آرمینیا", + ao: "انگولا", + ar: "ارجنٹینا", + as: "امریکی ساموآ", + at: "آسٹریا", + au: "آسٹریلیا", + aw: "اروبا", + ax: "آلینڈ آئلینڈز", + az: "آذربائیجان", + ba: "بوسنیا اور ہرزیگووینا", + bb: "بارباڈوس", + bd: "بنگلہ دیش", + be: "بیلجیم", + bf: "برکینا فاسو", + bg: "بلغاریہ", + bh: "بحرین", + bi: "برونڈی", + bj: "بینن", + bl: "سینٹ برتھلیمی", + bm: "برمودا", + bn: "برونائی", + bo: "بولیویا", + bq: "کریبیائی نیدرلینڈز", + br: "برازیل", + bs: "بہاماس", + bt: "بھوٹان", + bw: "بوتسوانا", + by: "بیلاروس", + bz: "بیلائز", + ca: "کینیڈا", + cc: "کوکوس (کیلنگ) جزائر", + cd: "کانگو - کنشاسا", + cf: "وسط افریقی جمہوریہ", + cg: "کانگو - برازاویلے", + ch: "سوئٹزر لینڈ", + ci: "کوٹ ڈی آئیوری", + ck: "کک آئلینڈز", + cl: "چلی", + cm: "کیمرون", + cn: "چین", + co: "کولمبیا", + cr: "کوسٹا ریکا", + cu: "کیوبا", + cv: "کیپ ورڈی", + cw: "کیوراکاؤ", + cx: "جزیرہ کرسمس", + cy: "قبرص", + cz: "چیکیا", + de: "جرمنی", + dj: "جبوتی", + dk: "ڈنمارک", + dm: "ڈومنیکا", + do: "جمہوریہ ڈومينيکن", + dz: "الجیریا", + ec: "ایکواڈور", + ee: "اسٹونیا", + eg: "مصر", + eh: "مغربی صحارا", + er: "اریٹیریا", + es: "ہسپانیہ", + et: "ایتھوپیا", + fi: "فن لینڈ", + fj: "فجی", + fk: "فاکلینڈ جزائر", + fm: "مائکرونیشیا", + fo: "جزائر فارو", + fr: "فرانس", + ga: "گیبون", + gb: "سلطنت متحدہ", + gd: "گریناڈا", + ge: "جارجیا", + gf: "فرینچ گیانا", + gg: "گوئرنسی", + gh: "گھانا", + gi: "جبل الطارق", + gl: "گرین لینڈ", + gm: "گیمبیا", + gn: "گنی", + gp: "گواڈیلوپ", + gq: "استوائی گیانا", + gr: "یونان", + gt: "گواٹے مالا", + gu: "گوام", + gw: "گنی بساؤ", + gy: "گیانا", + hk: "ہانگ کانگ SAR چین", + hn: "ہونڈاروس", + hr: "کروشیا", + ht: "ہیٹی", + hu: "ہنگری", + id: "انڈونیشیا", + ie: "آئرلینڈ", + il: "اسرائیل", + im: "آئل آف مین", + in: "بھارت", + io: "برطانوی بحر ہند کا علاقہ", + iq: "عراق", + ir: "ایران", + is: "آئس لینڈ", + it: "اٹلی", + je: "جرسی", + jm: "جمائیکا", + jo: "اردن", + jp: "جاپان", + ke: "کینیا", + kg: "کرغزستان", + kh: "کمبوڈیا", + ki: "کریباتی", + km: "کوموروس", + kn: "سینٹ کٹس اور نیویس", + kp: "شمالی کوریا", + kr: "جنوبی کوریا", + kw: "کویت", + ky: "کیمین آئلینڈز", + kz: "قزاخستان", + la: "لاؤس", + lb: "لبنان", + lc: "سینٹ لوسیا", + li: "لیشٹنسٹائن", + lk: "سری لنکا", + lr: "لائبیریا", + ls: "لیسوتھو", + lt: "لیتھونیا", + lu: "لکسمبرگ", + lv: "لٹویا", + ly: "لیبیا", + ma: "مراکش", + mc: "موناکو", + md: "مالدووا", + me: "مونٹے نیگرو", + mf: "سینٹ مارٹن", + mg: "مڈغاسکر", + mh: "مارشل آئلینڈز", + mk: "شمالی مقدونیہ", + ml: "مالی", + mm: "میانمار (برما)", + mn: "منگولیا", + mo: "مکاؤ SAR چین", + mp: "شمالی ماریانا آئلینڈز", + mq: "مارٹینک", + mr: "موریطانیہ", + ms: "مونٹسیراٹ", + mt: "مالٹا", + mu: "ماریشس", + mv: "مالدیپ", + mw: "ملاوی", + mx: "میکسیکو", + my: "ملائشیا", + mz: "موزمبیق", + na: "نامیبیا", + nc: "نیو کلیڈونیا", + ne: "نائجر", + nf: "نارفوک آئلینڈ", + ng: "نائجیریا", + ni: "نکاراگووا", + nl: "نیدر لینڈز", + no: "ناروے", + np: "نیپال", + nr: "نؤرو", + nu: "نیئو", + nz: "نیوزی لینڈ", + om: "عمان", + pa: "پانامہ", + pe: "پیرو", + pf: "فرانسیسی پولینیشیا", + pg: "پاپوآ نیو گنی", + ph: "فلپائن", + pk: "پاکستان", + pl: "پولینڈ", + pm: "سینٹ پیئر اور میکلیئون", + pr: "پیورٹو ریکو", + ps: "فلسطینی خطے", + pt: "پرتگال", + pw: "پلاؤ", + py: "پیراگوئے", + qa: "قطر", + re: "ری یونین", + ro: "رومانیہ", + rs: "سربیا", + ru: "روس", + rw: "روانڈا", + sa: "سعودی عرب", + sb: "سولومن آئلینڈز", + sc: "سشلیز", + sd: "سوڈان", + se: "سویڈن", + sg: "سنگاپور", + sh: "سینٹ ہیلینا", + si: "سلووینیا", + sj: "سوالبرڈ اور جان ماین", + sk: "سلوواکیہ", + sl: "سیرالیون", + sm: "سان مارینو", + sn: "سینیگل", + so: "صومالیہ", + sr: "سورینام", + ss: "جنوبی سوڈان", + st: "ساؤ ٹومے اور پرنسپے", + sv: "ال سلواڈور", + sx: "سنٹ مارٹن", + sy: "شام", + sz: "سواتنی", + tc: "ٹرکس اور کیکوس جزائر", + td: "چاڈ", + tg: "ٹوگو", + th: "تھائی لینڈ", + tj: "تاجکستان", + tk: "ٹوکیلاؤ", + tl: "تیمور لیسٹ", + tm: "ترکمانستان", + tn: "تونس", + to: "ٹونگا", + tr: "ترکی", + tt: "ترینیداد اور ٹوباگو", + tv: "ٹووالو", + tw: "تائیوان", + tz: "تنزانیہ", + ua: "یوکرین", + ug: "یوگنڈا", + us: "ریاست ہائے متحدہ امریکہ", + uy: "یوروگوئے", + uz: "ازبکستان", + va: "ویٹیکن سٹی", + vc: "سینٹ ونسنٹ اور گرینیڈائنز", + ve: "وینزوئیلا", + vg: "برٹش ورجن آئلینڈز", + vi: "امریکی ورجن آئلینڈز", + vn: "ویتنام", + vu: "وینوآٹو", + wf: "ویلیز اور فیوٹیونا", + ws: "ساموآ", + ye: "یمن", + yt: "مایوٹ", + za: "جنوبی افریقہ", + zm: "زامبیا", + zw: "زمبابوے" +}; +export default countryTranslations; diff --git a/assets/intl-tel-input/js/i18n/ur/index.js b/assets/intl-tel-input/js/i18n/ur/index.js new file mode 100644 index 0000000..8c1c317 --- /dev/null +++ b/assets/intl-tel-input/js/i18n/ur/index.js @@ -0,0 +1,5 @@ +import countryTranslations from "./countries.js"; +import interfaceTranslations from "./interface.js"; +export { countryTranslations, interfaceTranslations }; +const allTranslations = { ...countryTranslations, ...interfaceTranslations }; +export default allTranslations; diff --git a/assets/intl-tel-input/js/i18n/ur/interface.js b/assets/intl-tel-input/js/i18n/ur/interface.js new file mode 100644 index 0000000..4433def --- /dev/null +++ b/assets/intl-tel-input/js/i18n/ur/interface.js @@ -0,0 +1,13 @@ +const interfaceTranslations = { + selectedCountryAriaLabel: "منتخب ملک", + noCountrySelected: "کوئی ملک منتخب نہیں کیا گیا۔", + countryListAriaLabel: "ممالک کی فہرست", + searchPlaceholder: "تلاش کریں۔", + zeroSearchResults: "کوئی نتیجہ نہیں", + oneSearchResult: "1 نتیجہ ملا", + multipleSearchResults: "${count} نتائج ملے", + // additional countries (not supported by country-list library) + ac: "ایسنشن جزیرہ", + xk: "کوسوو" +}; +export default interfaceTranslations; diff --git a/assets/intl-tel-input/js/i18n/uz/countries.js b/assets/intl-tel-input/js/i18n/uz/countries.js new file mode 100644 index 0000000..746e991 --- /dev/null +++ b/assets/intl-tel-input/js/i18n/uz/countries.js @@ -0,0 +1,245 @@ +const countryTranslations = { + ad: "Andorra", + ae: "Birlashgan Arab Amirliklari", + af: "Afgʻoniston", + ag: "Antigua va Barbuda", + ai: "Angilya", + al: "Albaniya", + am: "Armaniston", + ao: "Angola", + ar: "Argentina", + as: "Amerika Samoasi", + at: "Avstriya", + au: "Avstraliya", + aw: "Aruba", + ax: "Aland orollari", + az: "Ozarbayjon", + ba: "Bosniya va Gertsegovina", + bb: "Barbados", + bd: "Bangladesh", + be: "Belgiya", + bf: "Burkina-Faso", + bg: "Bolgariya", + bh: "Bahrayn", + bi: "Burundi", + bj: "Benin", + bl: "Sen-Bartelemi", + bm: "Bermuda orollari", + bn: "Bruney", + bo: "Boliviya", + bq: "Boneyr, Sint-Estatius va Saba", + br: "Braziliya", + bs: "Bagama orollari", + bt: "Butan", + bw: "Botsvana", + by: "Belarus", + bz: "Beliz", + ca: "Kanada", + cc: "Kokos (Kiling) orollari", + cd: "Kongo – Kinshasa", + cf: "Markaziy Afrika Respublikasi", + cg: "Kongo – Brazzavil", + ch: "Shveytsariya", + ci: "Kot-d’Ivuar", + ck: "Kuk orollari", + cl: "Chili", + cm: "Kamerun", + cn: "Xitoy", + co: "Kolumbiya", + cr: "Kosta-Rika", + cu: "Kuba", + cv: "Kabo-Verde", + cw: "Kyurasao", + cx: "Rojdestvo oroli", + cy: "Kipr", + cz: "Chexiya", + de: "Germaniya", + dj: "Jibuti", + dk: "Daniya", + dm: "Dominika", + do: "Dominikan Respublikasi", + dz: "Jazoir", + ec: "Ekvador", + ee: "Estoniya", + eg: "Misr", + eh: "G‘arbiy Sahroi Kabir", + er: "Eritreya", + es: "Ispaniya", + et: "Efiopiya", + fi: "Finlandiya", + fj: "Fiji", + fk: "Folklend orollari", + fm: "Mikroneziya", + fo: "Farer orollari", + fr: "Fransiya", + ga: "Gabon", + gb: "Buyuk Britaniya", + gd: "Grenada", + ge: "Gruziya", + gf: "Fransuz Gvianasi", + gg: "Gernsi", + gh: "Gana", + gi: "Gibraltar", + gl: "Grenlandiya", + gm: "Gambiya", + gn: "Gvineya", + gp: "Gvadelupe", + gq: "Ekvatorial Gvineya", + gr: "Gretsiya", + gt: "Gvatemala", + gu: "Guam", + gw: "Gvineya-Bisau", + gy: "Gayana", + hk: "Gonkong (Xitoy MMH)", + hn: "Gonduras", + hr: "Xorvatiya", + ht: "Gaiti", + hu: "Vengriya", + id: "Indoneziya", + ie: "Irlandiya", + il: "Isroil", + im: "Men oroli", + in: "Hindiston", + io: "Britaniyaning Hind okeanidagi hududi", + iq: "Iroq", + ir: "Eron", + is: "Islandiya", + it: "Italiya", + je: "Jersi", + jm: "Yamayka", + jo: "Iordaniya", + jp: "Yaponiya", + ke: "Keniya", + kg: "Qirgʻiziston", + kh: "Kambodja", + ki: "Kiribati", + km: "Komor orollari", + kn: "Sent-Kits va Nevis", + kp: "Shimoliy Koreya", + kr: "Janubiy Koreya", + kw: "Quvayt", + ky: "Kayman orollari", + kz: "Qozogʻiston", + la: "Laos", + lb: "Livan", + lc: "Sent-Lyusiya", + li: "Lixtenshteyn", + lk: "Shri-Lanka", + lr: "Liberiya", + ls: "Lesoto", + lt: "Litva", + lu: "Lyuksemburg", + lv: "Latviya", + ly: "Liviya", + ma: "Marokash", + mc: "Monako", + md: "Moldova", + me: "Chernogoriya", + mf: "Sent-Martin", + mg: "Madagaskar", + mh: "Marshall orollari", + mk: "Shimoliy Makedoniya", + ml: "Mali", + mm: "Myanma (Birma)", + mn: "Mongoliya", + mo: "Makao (Xitoy MMH)", + mp: "Shimoliy Mariana orollari", + mq: "Martinika", + mr: "Mavritaniya", + ms: "Montserrat", + mt: "Malta", + mu: "Mavrikiy", + mv: "Maldiv orollari", + mw: "Malavi", + mx: "Meksika", + my: "Malayziya", + mz: "Mozambik", + na: "Namibiya", + nc: "Yangi Kaledoniya", + ne: "Niger", + nf: "Norfolk oroli", + ng: "Nigeriya", + ni: "Nikaragua", + nl: "Niderlandiya", + no: "Norvegiya", + np: "Nepal", + nr: "Nauru", + nu: "Niue", + nz: "Yangi Zelandiya", + om: "Ummon", + pa: "Panama", + pe: "Peru", + pf: "Fransuz Polineziyasi", + pg: "Papua – Yangi Gvineya", + ph: "Filippin", + pk: "Pokiston", + pl: "Polsha", + pm: "Sen-Pyer va Mikelon", + pr: "Puerto-Riko", + ps: "Falastin hududlari", + pt: "Portugaliya", + pw: "Palau", + py: "Paragvay", + qa: "Qatar", + re: "Reyunion", + ro: "Ruminiya", + rs: "Serbiya", + ru: "Rossiya", + rw: "Ruanda", + sa: "Saudiya Arabistoni", + sb: "Solomon orollari", + sc: "Seyshel orollari", + sd: "Sudan", + se: "Shvetsiya", + sg: "Singapur", + sh: "Muqaddas Yelena oroli", + si: "Sloveniya", + sj: "Shpitsbergen va Yan-Mayen", + sk: "Slovakiya", + sl: "Syerra-Leone", + sm: "San-Marino", + sn: "Senegal", + so: "Somali", + sr: "Surinam", + ss: "Janubiy Sudan", + st: "San-Tome va Prinsipi", + sv: "Salvador", + sx: "Sint-Marten", + sy: "Suriya", + sz: "Svazilend", + tc: "Turks va Kaykos orollari", + td: "Chad", + tg: "Togo", + th: "Tailand", + tj: "Tojikiston", + tk: "Tokelau", + tl: "Timor-Leste", + tm: "Turkmaniston", + tn: "Tunis", + to: "Tonga", + tr: "Turkiya", + tt: "Trinidad va Tobago", + tv: "Tuvalu", + tw: "Tayvan", + tz: "Tanzaniya", + ua: "Ukraina", + ug: "Uganda", + us: "Amerika Qo‘shma Shtatlari", + uy: "Urugvay", + uz: "Oʻzbekiston", + va: "Vatikan", + vc: "Sent-Vinsent va Grenadin", + ve: "Venesuela", + vg: "Britaniya Virgin orollari", + vi: "AQSH Virgin orollari", + vn: "Vyetnam", + vu: "Vanuatu", + wf: "Uollis va Futuna", + ws: "Samoa", + ye: "Yaman", + yt: "Mayotta", + za: "Janubiy Afrika Respublikasi", + zm: "Zambiya", + zw: "Zimbabve" +}; +export default countryTranslations; diff --git a/assets/intl-tel-input/js/i18n/uz/index.js b/assets/intl-tel-input/js/i18n/uz/index.js new file mode 100644 index 0000000..8c1c317 --- /dev/null +++ b/assets/intl-tel-input/js/i18n/uz/index.js @@ -0,0 +1,5 @@ +import countryTranslations from "./countries.js"; +import interfaceTranslations from "./interface.js"; +export { countryTranslations, interfaceTranslations }; +const allTranslations = { ...countryTranslations, ...interfaceTranslations }; +export default allTranslations; diff --git a/assets/intl-tel-input/js/i18n/uz/interface.js b/assets/intl-tel-input/js/i18n/uz/interface.js new file mode 100644 index 0000000..2ae9f43 --- /dev/null +++ b/assets/intl-tel-input/js/i18n/uz/interface.js @@ -0,0 +1,13 @@ +const interfaceTranslations = { + selectedCountryAriaLabel: "Tanlangan davlat", + noCountrySelected: "Davlat tanlanmagan", + countryListAriaLabel: "Davlatlar roʻyxati", + searchPlaceholder: "Davlatni qidiring", + zeroSearchResults: "Natija topilmadi", + oneSearchResult: "1-ta natija topildi", + multipleSearchResults: "${count}-ta natija topildi", + // qo‘shimcha davlatlar (country-list kutubxonasi tomonidan qo‘llab-quvvatlanmaydi) + ac: "Ascension oroli", + xk: "Kosovo" +}; +export default interfaceTranslations; diff --git a/assets/intl-tel-input/js/i18n/vi/countries.js b/assets/intl-tel-input/js/i18n/vi/countries.js new file mode 100644 index 0000000..597c356 --- /dev/null +++ b/assets/intl-tel-input/js/i18n/vi/countries.js @@ -0,0 +1,245 @@ +const countryTranslations = { + ad: "Andorra", + ae: "Các Tiểu Vương quốc Ả Rập Thống nhất", + af: "Afghanistan", + ag: "Antigua và Barbuda", + ai: "Anguilla", + al: "Albania", + am: "Armenia", + ao: "Angola", + ar: "Argentina", + as: "Samoa thuộc Mỹ", + at: "Áo", + au: "Australia", + aw: "Aruba", + ax: "Quần đảo Åland", + az: "Azerbaijan", + ba: "Bosnia và Herzegovina", + bb: "Barbados", + bd: "Bangladesh", + be: "Bỉ", + bf: "Burkina Faso", + bg: "Bulgaria", + bh: "Bahrain", + bi: "Burundi", + bj: "Benin", + bl: "St. Barthélemy", + bm: "Bermuda", + bn: "Brunei", + bo: "Bolivia", + bq: "Ca-ri-bê Hà Lan", + br: "Brazil", + bs: "Bahamas", + bt: "Bhutan", + bw: "Botswana", + by: "Belarus", + bz: "Belize", + ca: "Canada", + cc: "Quần đảo Cocos (Keeling)", + cd: "Congo - Kinshasa", + cf: "Cộng hòa Trung Phi", + cg: "Congo - Brazzaville", + ch: "Thụy Sĩ", + ci: "Côte d’Ivoire", + ck: "Quần đảo Cook", + cl: "Chile", + cm: "Cameroon", + cn: "Trung Quốc", + co: "Colombia", + cr: "Costa Rica", + cu: "Cuba", + cv: "Cape Verde", + cw: "Curaçao", + cx: "Đảo Giáng Sinh", + cy: "Síp", + cz: "Séc", + de: "Đức", + dj: "Djibouti", + dk: "Đan Mạch", + dm: "Dominica", + do: "Cộng hòa Dominica", + dz: "Algeria", + ec: "Ecuador", + ee: "Estonia", + eg: "Ai Cập", + eh: "Tây Sahara", + er: "Eritrea", + es: "Tây Ban Nha", + et: "Ethiopia", + fi: "Phần Lan", + fj: "Fiji", + fk: "Quần đảo Falkland", + fm: "Micronesia", + fo: "Quần đảo Faroe", + fr: "Pháp", + ga: "Gabon", + gb: "Vương quốc Anh", + gd: "Grenada", + ge: "Georgia", + gf: "Guiana thuộc Pháp", + gg: "Guernsey", + gh: "Ghana", + gi: "Gibraltar", + gl: "Greenland", + gm: "Gambia", + gn: "Guinea", + gp: "Guadeloupe", + gq: "Guinea Xích Đạo", + gr: "Hy Lạp", + gt: "Guatemala", + gu: "Guam", + gw: "Guinea-Bissau", + gy: "Guyana", + hk: "Hồng Kông, Trung Quốc", + hn: "Honduras", + hr: "Croatia", + ht: "Haiti", + hu: "Hungary", + id: "Indonesia", + ie: "Ireland", + il: "Israel", + im: "Đảo Man", + in: "Ấn Độ", + io: "Lãnh thổ Ấn Độ Dương thuộc Anh", + iq: "Iraq", + ir: "Iran", + is: "Iceland", + it: "Italy", + je: "Jersey", + jm: "Jamaica", + jo: "Jordan", + jp: "Nhật Bản", + ke: "Kenya", + kg: "Kyrgyzstan", + kh: "Campuchia", + ki: "Kiribati", + km: "Comoros", + kn: "St. Kitts và Nevis", + kp: "Triều Tiên", + kr: "Hàn Quốc", + kw: "Kuwait", + ky: "Quần đảo Cayman", + kz: "Kazakhstan", + la: "Lào", + lb: "Li-băng", + lc: "St. Lucia", + li: "Liechtenstein", + lk: "Sri Lanka", + lr: "Liberia", + ls: "Lesotho", + lt: "Litva", + lu: "Luxembourg", + lv: "Latvia", + ly: "Libya", + ma: "Ma-rốc", + mc: "Monaco", + md: "Moldova", + me: "Montenegro", + mf: "St. Martin", + mg: "Madagascar", + mh: "Quần đảo Marshall", + mk: "Bắc Macedonia", + ml: "Mali", + mm: "Myanmar (Miến Điện)", + mn: "Mông Cổ", + mo: "Macao, Trung Quốc", + mp: "Quần đảo Bắc Mariana", + mq: "Martinique", + mr: "Mauritania", + ms: "Montserrat", + mt: "Malta", + mu: "Mauritius", + mv: "Maldives", + mw: "Malawi", + mx: "Mexico", + my: "Malaysia", + mz: "Mozambique", + na: "Namibia", + nc: "New Caledonia", + ne: "Niger", + nf: "Đảo Norfolk", + ng: "Nigeria", + ni: "Nicaragua", + nl: "Hà Lan", + no: "Na Uy", + np: "Nepal", + nr: "Nauru", + nu: "Niue", + nz: "New Zealand", + om: "Oman", + pa: "Panama", + pe: "Peru", + pf: "Polynesia thuộc Pháp", + pg: "Papua New Guinea", + ph: "Philippines", + pk: "Pakistan", + pl: "Ba Lan", + pm: "Saint Pierre và Miquelon", + pr: "Puerto Rico", + ps: "Lãnh thổ Palestine", + pt: "Bồ Đào Nha", + pw: "Palau", + py: "Paraguay", + qa: "Qatar", + re: "Réunion", + ro: "Romania", + rs: "Serbia", + ru: "Nga", + rw: "Rwanda", + sa: "Ả Rập Xê-út", + sb: "Quần đảo Solomon", + sc: "Seychelles", + sd: "Sudan", + se: "Thụy Điển", + sg: "Singapore", + sh: "St. Helena", + si: "Slovenia", + sj: "Svalbard và Jan Mayen", + sk: "Slovakia", + sl: "Sierra Leone", + sm: "San Marino", + sn: "Senegal", + so: "Somalia", + sr: "Suriname", + ss: "Nam Sudan", + st: "São Tomé và Príncipe", + sv: "El Salvador", + sx: "Sint Maarten", + sy: "Syria", + sz: "Swaziland", + tc: "Quần đảo Turks và Caicos", + td: "Chad", + tg: "Togo", + th: "Thái Lan", + tj: "Tajikistan", + tk: "Tokelau", + tl: "Timor-Leste", + tm: "Turkmenistan", + tn: "Tunisia", + to: "Tonga", + tr: "Thổ Nhĩ Kỳ", + tt: "Trinidad và Tobago", + tv: "Tuvalu", + tw: "Đài Loan", + tz: "Tanzania", + ua: "Ukraina", + ug: "Uganda", + us: "Hoa Kỳ", + uy: "Uruguay", + uz: "Uzbekistan", + va: "Thành Vatican", + vc: "St. Vincent và Grenadines", + ve: "Venezuela", + vg: "Quần đảo Virgin thuộc Anh", + vi: "Quần đảo Virgin thuộc Mỹ", + vn: "Việt Nam", + vu: "Vanuatu", + wf: "Wallis và Futuna", + ws: "Samoa", + ye: "Yemen", + yt: "Mayotte", + za: "Nam Phi", + zm: "Zambia", + zw: "Zimbabwe" +}; +export default countryTranslations; diff --git a/assets/intl-tel-input/js/i18n/vi/index.js b/assets/intl-tel-input/js/i18n/vi/index.js new file mode 100644 index 0000000..8c1c317 --- /dev/null +++ b/assets/intl-tel-input/js/i18n/vi/index.js @@ -0,0 +1,5 @@ +import countryTranslations from "./countries.js"; +import interfaceTranslations from "./interface.js"; +export { countryTranslations, interfaceTranslations }; +const allTranslations = { ...countryTranslations, ...interfaceTranslations }; +export default allTranslations; diff --git a/assets/intl-tel-input/js/i18n/vi/interface.js b/assets/intl-tel-input/js/i18n/vi/interface.js new file mode 100644 index 0000000..07b8461 --- /dev/null +++ b/assets/intl-tel-input/js/i18n/vi/interface.js @@ -0,0 +1,13 @@ +const interfaceTranslations = { + selectedCountryAriaLabel: "Quốc gia đã chọn", + noCountrySelected: "Không có quốc gia nào được chọn", + countryListAriaLabel: "Danh sách các quốc gia", + searchPlaceholder: "Khám xét", + zeroSearchResults: "Không tìm thấy kết quả nào", + oneSearchResult: "Đã tìm thấy 1 kết quả", + multipleSearchResults: "Đã tìm thấy ${count} kết quả", + // additional countries (not supported by country-list library) + ac: "Đảo Ascension", + xk: "Kosovo" +}; +export default interfaceTranslations; diff --git a/assets/intl-tel-input/js/i18n/zh/countries.js b/assets/intl-tel-input/js/i18n/zh/countries.js new file mode 100644 index 0000000..5b81d4d --- /dev/null +++ b/assets/intl-tel-input/js/i18n/zh/countries.js @@ -0,0 +1,245 @@ +const countryTranslations = { + ad: "安道尔", + ae: "阿拉伯联合酋长国", + af: "阿富汗", + ag: "安提瓜和巴布达", + ai: "安圭拉", + al: "阿尔巴尼亚", + am: "亚美尼亚", + ao: "安哥拉", + ar: "阿根廷", + as: "美属萨摩亚", + at: "奥地利", + au: "澳大利亚", + aw: "阿鲁巴", + ax: "奥兰群岛", + az: "阿塞拜疆", + ba: "波斯尼亚和黑塞哥维那", + bb: "巴巴多斯", + bd: "孟加拉国", + be: "比利时", + bf: "布基纳法索", + bg: "保加利亚", + bh: "巴林", + bi: "布隆迪", + bj: "贝宁", + bl: "圣巴泰勒米", + bm: "百慕大", + bn: "文莱", + bo: "玻利维亚", + bq: "荷属加勒比区", + br: "巴西", + bs: "巴哈马", + bt: "不丹", + bw: "博茨瓦纳", + by: "白俄罗斯", + bz: "伯利兹", + ca: "加拿大", + cc: "科科斯(基林)群岛", + cd: "刚果(金)", + cf: "中非共和国", + cg: "刚果(布)", + ch: "瑞士", + ci: "科特迪瓦", + ck: "库克群岛", + cl: "智利", + cm: "喀麦隆", + cn: "中国", + co: "哥伦比亚", + cr: "哥斯达黎加", + cu: "古巴", + cv: "佛得角", + cw: "库拉索", + cx: "圣诞岛", + cy: "塞浦路斯", + cz: "捷克", + de: "德国", + dj: "吉布提", + dk: "丹麦", + dm: "多米尼克", + do: "多米尼加共和国", + dz: "阿尔及利亚", + ec: "厄瓜多尔", + ee: "爱沙尼亚", + eg: "埃及", + eh: "西撒哈拉", + er: "厄立特里亚", + es: "西班牙", + et: "埃塞俄比亚", + fi: "芬兰", + fj: "斐济", + fk: "福克兰群岛", + fm: "密克罗尼西亚", + fo: "法罗群岛", + fr: "法国", + ga: "加蓬", + gb: "英国", + gd: "格林纳达", + ge: "格鲁吉亚", + gf: "法属圭亚那", + gg: "根西岛", + gh: "加纳", + gi: "直布罗陀", + gl: "格陵兰", + gm: "冈比亚", + gn: "几内亚", + gp: "瓜德罗普", + gq: "赤道几内亚", + gr: "希腊", + gt: "危地马拉", + gu: "关岛", + gw: "几内亚比绍", + gy: "圭亚那", + hk: "中国香港特别行政区", + hn: "洪都拉斯", + hr: "克罗地亚", + ht: "海地", + hu: "匈牙利", + id: "印度尼西亚", + ie: "爱尔兰", + il: "以色列", + im: "马恩岛", + in: "印度", + io: "英属印度洋领地", + iq: "伊拉克", + ir: "伊朗", + is: "冰岛", + it: "意大利", + je: "泽西岛", + jm: "牙买加", + jo: "约旦", + jp: "日本", + ke: "肯尼亚", + kg: "吉尔吉斯斯坦", + kh: "柬埔寨", + ki: "基里巴斯", + km: "科摩罗", + kn: "圣基茨和尼维斯", + kp: "朝鲜", + kr: "韩国", + kw: "科威特", + ky: "开曼群岛", + kz: "哈萨克斯坦", + la: "老挝", + lb: "黎巴嫩", + lc: "圣卢西亚", + li: "列支敦士登", + lk: "斯里兰卡", + lr: "利比里亚", + ls: "莱索托", + lt: "立陶宛", + lu: "卢森堡", + lv: "拉脱维亚", + ly: "利比亚", + ma: "摩洛哥", + mc: "摩纳哥", + md: "摩尔多瓦", + me: "黑山", + mf: "法属圣马丁", + mg: "马达加斯加", + mh: "马绍尔群岛", + mk: "北马其顿", + ml: "马里", + mm: "缅甸", + mn: "蒙古", + mo: "中国澳门特别行政区", + mp: "北马里亚纳群岛", + mq: "马提尼克", + mr: "毛里塔尼亚", + ms: "蒙特塞拉特", + mt: "马耳他", + mu: "毛里求斯", + mv: "马尔代夫", + mw: "马拉维", + mx: "墨西哥", + my: "马来西亚", + mz: "莫桑比克", + na: "纳米比亚", + nc: "新喀里多尼亚", + ne: "尼日尔", + nf: "诺福克岛", + ng: "尼日利亚", + ni: "尼加拉瓜", + nl: "荷兰", + no: "挪威", + np: "尼泊尔", + nr: "瑙鲁", + nu: "纽埃", + nz: "新西兰", + om: "阿曼", + pa: "巴拿马", + pe: "秘鲁", + pf: "法属波利尼西亚", + pg: "巴布亚新几内亚", + ph: "菲律宾", + pk: "巴基斯坦", + pl: "波兰", + pm: "圣皮埃尔和密克隆群岛", + pr: "波多黎各", + ps: "巴勒斯坦领土", + pt: "葡萄牙", + pw: "帕劳", + py: "巴拉圭", + qa: "卡塔尔", + re: "留尼汪", + ro: "罗马尼亚", + rs: "塞尔维亚", + ru: "俄罗斯", + rw: "卢旺达", + sa: "沙特阿拉伯", + sb: "所罗门群岛", + sc: "塞舌尔", + sd: "苏丹", + se: "瑞典", + sg: "新加坡", + sh: "圣赫勒拿", + si: "斯洛文尼亚", + sj: "斯瓦尔巴和扬马延", + sk: "斯洛伐克", + sl: "塞拉利昂", + sm: "圣马力诺", + sn: "塞内加尔", + so: "索马里", + sr: "苏里南", + ss: "南苏丹", + st: "圣多美和普林西比", + sv: "萨尔瓦多", + sx: "荷属圣马丁", + sy: "叙利亚", + sz: "斯威士兰", + tc: "特克斯和凯科斯群岛", + td: "乍得", + tg: "多哥", + th: "泰国", + tj: "塔吉克斯坦", + tk: "托克劳", + tl: "东帝汶", + tm: "土库曼斯坦", + tn: "突尼斯", + to: "汤加", + tr: "土耳其", + tt: "特立尼达和多巴哥", + tv: "图瓦卢", + tw: "台湾", + tz: "坦桑尼亚", + ua: "乌克兰", + ug: "乌干达", + us: "美国", + uy: "乌拉圭", + uz: "乌兹别克斯坦", + va: "梵蒂冈", + vc: "圣文森特和格林纳丁斯", + ve: "委内瑞拉", + vg: "英属维尔京群岛", + vi: "美属维尔京群岛", + vn: "越南", + vu: "瓦努阿图", + wf: "瓦利斯和富图纳", + ws: "萨摩亚", + ye: "也门", + yt: "马约特", + za: "南非", + zm: "赞比亚", + zw: "津巴布韦" +}; +export default countryTranslations; diff --git a/assets/intl-tel-input/js/i18n/zh/index.js b/assets/intl-tel-input/js/i18n/zh/index.js new file mode 100644 index 0000000..8c1c317 --- /dev/null +++ b/assets/intl-tel-input/js/i18n/zh/index.js @@ -0,0 +1,5 @@ +import countryTranslations from "./countries.js"; +import interfaceTranslations from "./interface.js"; +export { countryTranslations, interfaceTranslations }; +const allTranslations = { ...countryTranslations, ...interfaceTranslations }; +export default allTranslations; diff --git a/assets/intl-tel-input/js/i18n/zh/interface.js b/assets/intl-tel-input/js/i18n/zh/interface.js new file mode 100644 index 0000000..536f9ac --- /dev/null +++ b/assets/intl-tel-input/js/i18n/zh/interface.js @@ -0,0 +1,13 @@ +const interfaceTranslations = { + selectedCountryAriaLabel: "所选国家", + noCountrySelected: "未选择国家/地区", + countryListAriaLabel: "国家名单", + searchPlaceholder: "搜索", + zeroSearchResults: "未找到结果", + oneSearchResult: "找到 1 个结果", + multipleSearchResults: "找到 ${count} 个结果", + // additional countries (not supported by country-list library) + ac: "阿森松岛", + xk: "科索沃" +}; +export default interfaceTranslations; diff --git a/assets/intl-tel-input/js/intlTelInput-jquery.js b/assets/intl-tel-input/js/intlTelInput-jquery.js deleted file mode 100644 index 24d52cf..0000000 --- a/assets/intl-tel-input/js/intlTelInput-jquery.js +++ /dev/null @@ -1,1817 +0,0 @@ -/* - * International Telephone Input v19.5.7 - * https://github.com/jackocnr/intl-tel-input.git - * Licensed under the MIT license - */ - -// wrap in UMD -(function(factory) { - if (typeof module === "object" && module.exports) { - module.exports = factory(require("jquery")); - } else if (typeof define === "function" && define.amd) { - define([ "jquery" ], function($) { - factory($); - }); - } else factory(jQuery); -})(function($, undefined) { - "use strict"; - // Array of country objects for the flag dropdown. - // Here is the criteria for the plugin to support a given country/territory - // - It has an iso2 code: https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2 - // - It has it's own country calling code (it is not a sub-region of another country): https://en.wikipedia.org/wiki/List_of_country_calling_codes - // - It has a flag in the region-flags project: https://github.com/behdad/region-flags/tree/gh-pages/png - // - It is supported by libphonenumber (it must be listed on this page): https://github.com/googlei18n/libphonenumber/blob/master/resources/ShortNumberMetadata.xml - // Each country array has the following information: - // [ - // Country name, - // iso2 code, - // International dial code, - // Order (if >1 country with same dial code), - // Area codes - // ] - var allCountries = [ [ "Afghanistan", "af", "93" ], [ "Albania", "al", "355" ], [ "Algeria", "dz", "213" ], [ "American Samoa", "as", "1", 5, [ "684" ] ], [ "Andorra", "ad", "376" ], [ "Angola", "ao", "244" ], [ "Anguilla", "ai", "1", 6, [ "264" ] ], [ "Antigua & Barbuda", "ag", "1", 7, [ "268" ] ], [ "Argentina", "ar", "54" ], [ "Armenia", "am", "374" ], [ "Aruba", "aw", "297" ], [ "Ascension Island", "ac", "247" ], [ "Australia", "au", "61", 0 ], [ "Austria", "at", "43" ], [ "Azerbaijan", "az", "994" ], [ "Bahamas", "bs", "1", 8, [ "242" ] ], [ "Bahrain", "bh", "973" ], [ "Bangladesh", "bd", "880" ], [ "Barbados", "bb", "1", 9, [ "246" ] ], [ "Belarus", "by", "375" ], [ "Belgium", "be", "32" ], [ "Belize", "bz", "501" ], [ "Benin", "bj", "229" ], [ "Bermuda", "bm", "1", 10, [ "441" ] ], [ "Bhutan", "bt", "975" ], [ "Bolivia", "bo", "591" ], [ "Bosnia & Herzegovina", "ba", "387" ], [ "Botswana", "bw", "267" ], [ "Brazil", "br", "55" ], [ "British Indian Ocean Territory", "io", "246" ], [ "British Virgin Islands", "vg", "1", 11, [ "284" ] ], [ "Brunei", "bn", "673" ], [ "Bulgaria", "bg", "359" ], [ "Burkina Faso", "bf", "226" ], [ "Burundi", "bi", "257" ], [ "Cambodia", "kh", "855" ], [ "Cameroon", "cm", "237" ], [ "Canada", "ca", "1", 1, [ "204", "226", "236", "249", "250", "263", "289", "306", "343", "354", "365", "367", "368", "382", "387", "403", "416", "418", "428", "431", "437", "438", "450", "584", "468", "474", "506", "514", "519", "548", "579", "581", "584", "587", "604", "613", "639", "647", "672", "683", "705", "709", "742", "753", "778", "780", "782", "807", "819", "825", "867", "873", "902", "905" ] ], [ "Cape Verde", "cv", "238" ], [ "Caribbean Netherlands", "bq", "599", 1, [ "3", "4", "7" ] ], [ "Cayman Islands", "ky", "1", 12, [ "345" ] ], [ "Central African Republic", "cf", "236" ], [ "Chad", "td", "235" ], [ "Chile", "cl", "56" ], [ "China", "cn", "86" ], [ "Christmas Island", "cx", "61", 2, [ "89164" ] ], [ "Cocos (Keeling) Islands", "cc", "61", 1, [ "89162" ] ], [ "Colombia", "co", "57" ], [ "Comoros", "km", "269" ], [ "Congo - Brazzaville", "cg", "242" ], [ "Congo - Kinshasa", "cd", "243" ], [ "Cook Islands", "ck", "682" ], [ "Costa Rica", "cr", "506" ], [ "Côte d’Ivoire", "ci", "225" ], [ "Croatia", "hr", "385" ], [ "Cuba", "cu", "53" ], [ "Curaçao", "cw", "599", 0 ], [ "Cyprus", "cy", "357" ], [ "Czech Republic", "cz", "420" ], [ "Denmark", "dk", "45" ], [ "Djibouti", "dj", "253" ], [ "Dominica", "dm", "1", 13, [ "767" ] ], [ "Dominican Republic", "do", "1", 2, [ "809", "829", "849" ] ], [ "Ecuador", "ec", "593" ], [ "Egypt", "eg", "20" ], [ "El Salvador", "sv", "503" ], [ "Equatorial Guinea", "gq", "240" ], [ "Eritrea", "er", "291" ], [ "Estonia", "ee", "372" ], [ "Eswatini", "sz", "268" ], [ "Ethiopia", "et", "251" ], [ "Falkland Islands", "fk", "500" ], [ "Faroe Islands", "fo", "298" ], [ "Fiji", "fj", "679" ], [ "Finland", "fi", "358", 0 ], [ "France", "fr", "33" ], [ "French Guiana", "gf", "594" ], [ "French Polynesia", "pf", "689" ], [ "Gabon", "ga", "241" ], [ "Gambia", "gm", "220" ], [ "Georgia", "ge", "995" ], [ "Germany", "de", "49" ], [ "Ghana", "gh", "233" ], [ "Gibraltar", "gi", "350" ], [ "Greece", "gr", "30" ], [ "Greenland", "gl", "299" ], [ "Grenada", "gd", "1", 14, [ "473" ] ], [ "Guadeloupe", "gp", "590", 0 ], [ "Guam", "gu", "1", 15, [ "671" ] ], [ "Guatemala", "gt", "502" ], [ "Guernsey", "gg", "44", 1, [ "1481", "7781", "7839", "7911" ] ], [ "Guinea", "gn", "224" ], [ "Guinea-Bissau", "gw", "245" ], [ "Guyana", "gy", "592" ], [ "Haiti", "ht", "509" ], [ "Honduras", "hn", "504" ], [ "Hong Kong", "hk", "852" ], [ "Hungary", "hu", "36" ], [ "Iceland", "is", "354" ], [ "India", "in", "91" ], [ "Indonesia", "id", "62" ], [ "Iran", "ir", "98" ], [ "Iraq", "iq", "964" ], [ "Ireland", "ie", "353" ], [ "Isle of Man", "im", "44", 2, [ "1624", "74576", "7524", "7924", "7624" ] ], [ "Israel", "il", "972" ], [ "Italy", "it", "39", 0 ], [ "Jamaica", "jm", "1", 4, [ "876", "658" ] ], [ "Japan", "jp", "81" ], [ "Jersey", "je", "44", 3, [ "1534", "7509", "7700", "7797", "7829", "7937" ] ], [ "Jordan", "jo", "962" ], [ "Kazakhstan", "kz", "7", 1, [ "33", "7" ] ], [ "Kenya", "ke", "254" ], [ "Kiribati", "ki", "686" ], [ "Kosovo", "xk", "383" ], [ "Kuwait", "kw", "965" ], [ "Kyrgyzstan", "kg", "996" ], [ "Laos", "la", "856" ], [ "Latvia", "lv", "371" ], [ "Lebanon", "lb", "961" ], [ "Lesotho", "ls", "266" ], [ "Liberia", "lr", "231" ], [ "Libya", "ly", "218" ], [ "Liechtenstein", "li", "423" ], [ "Lithuania", "lt", "370" ], [ "Luxembourg", "lu", "352" ], [ "Macau", "mo", "853" ], [ "Madagascar", "mg", "261" ], [ "Malawi", "mw", "265" ], [ "Malaysia", "my", "60" ], [ "Maldives", "mv", "960" ], [ "Mali", "ml", "223" ], [ "Malta", "mt", "356" ], [ "Marshall Islands", "mh", "692" ], [ "Martinique", "mq", "596" ], [ "Mauritania", "mr", "222" ], [ "Mauritius", "mu", "230" ], [ "Mayotte", "yt", "262", 1, [ "269", "639" ] ], [ "Mexico", "mx", "52" ], [ "Micronesia", "fm", "691" ], [ "Moldova", "md", "373" ], [ "Monaco", "mc", "377" ], [ "Mongolia", "mn", "976" ], [ "Montenegro", "me", "382" ], [ "Montserrat", "ms", "1", 16, [ "664" ] ], [ "Morocco", "ma", "212", 0 ], [ "Mozambique", "mz", "258" ], [ "Myanmar (Burma)", "mm", "95" ], [ "Namibia", "na", "264" ], [ "Nauru", "nr", "674" ], [ "Nepal", "np", "977" ], [ "Netherlands", "nl", "31" ], [ "New Caledonia", "nc", "687" ], [ "New Zealand", "nz", "64" ], [ "Nicaragua", "ni", "505" ], [ "Niger", "ne", "227" ], [ "Nigeria", "ng", "234" ], [ "Niue", "nu", "683" ], [ "Norfolk Island", "nf", "672" ], [ "North Korea", "kp", "850" ], [ "North Macedonia", "mk", "389" ], [ "Northern Mariana Islands", "mp", "1", 17, [ "670" ] ], [ "Norway", "no", "47", 0 ], [ "Oman", "om", "968" ], [ "Pakistan", "pk", "92" ], [ "Palau", "pw", "680" ], [ "Palestine", "ps", "970" ], [ "Panama", "pa", "507" ], [ "Papua New Guinea", "pg", "675" ], [ "Paraguay", "py", "595" ], [ "Peru", "pe", "51" ], [ "Philippines", "ph", "63" ], [ "Poland", "pl", "48" ], [ "Portugal", "pt", "351" ], [ "Puerto Rico", "pr", "1", 3, [ "787", "939" ] ], [ "Qatar", "qa", "974" ], [ "Réunion", "re", "262", 0 ], [ "Romania", "ro", "40" ], [ "Russia", "ru", "7", 0 ], [ "Rwanda", "rw", "250" ], [ "Samoa", "ws", "685" ], [ "San Marino", "sm", "378" ], [ "São Tomé & Príncipe", "st", "239" ], [ "Saudi Arabia", "sa", "966" ], [ "Senegal", "sn", "221" ], [ "Serbia", "rs", "381" ], [ "Seychelles", "sc", "248" ], [ "Sierra Leone", "sl", "232" ], [ "Singapore", "sg", "65" ], [ "Sint Maarten", "sx", "1", 21, [ "721" ] ], [ "Slovakia", "sk", "421" ], [ "Slovenia", "si", "386" ], [ "Solomon Islands", "sb", "677" ], [ "Somalia", "so", "252" ], [ "South Africa", "za", "27" ], [ "South Korea", "kr", "82" ], [ "South Sudan", "ss", "211" ], [ "Spain", "es", "34" ], [ "Sri Lanka", "lk", "94" ], [ "St Barthélemy", "bl", "590", 1 ], [ "St Helena", "sh", "290" ], [ "St Kitts & Nevis", "kn", "1", 18, [ "869" ] ], [ "St Lucia", "lc", "1", 19, [ "758" ] ], [ "St Martin", "mf", "590", 2 ], [ "St Pierre & Miquelon", "pm", "508" ], [ "St Vincent & Grenadines", "vc", "1", 20, [ "784" ] ], [ "Sudan", "sd", "249" ], [ "Suriname", "sr", "597" ], [ "Svalbard & Jan Mayen", "sj", "47", 1, [ "79" ] ], [ "Sweden", "se", "46" ], [ "Switzerland", "ch", "41" ], [ "Syria", "sy", "963" ], [ "Taiwan", "tw", "886" ], [ "Tajikistan", "tj", "992" ], [ "Tanzania", "tz", "255" ], [ "Thailand", "th", "66" ], [ "Timor-Leste", "tl", "670" ], [ "Togo", "tg", "228" ], [ "Tokelau", "tk", "690" ], [ "Tonga", "to", "676" ], [ "Trinidad & Tobago", "tt", "1", 22, [ "868" ] ], [ "Tunisia", "tn", "216" ], [ "Turkey", "tr", "90" ], [ "Turkmenistan", "tm", "993" ], [ "Turks & Caicos Islands", "tc", "1", 23, [ "649" ] ], [ "Tuvalu", "tv", "688" ], [ "Uganda", "ug", "256" ], [ "Ukraine", "ua", "380" ], [ "United Arab Emirates", "ae", "971" ], [ "United Kingdom", "gb", "44", 0 ], [ "United States", "us", "1", 0 ], [ "Uruguay", "uy", "598" ], [ "US Virgin Islands", "vi", "1", 24, [ "340" ] ], [ "Uzbekistan", "uz", "998" ], [ "Vanuatu", "vu", "678" ], [ "Vatican City", "va", "39", 1, [ "06698" ] ], [ "Venezuela", "ve", "58" ], [ "Vietnam", "vn", "84" ], [ "Wallis & Futuna", "wf", "681" ], [ "Western Sahara", "eh", "212", 1, [ "5288", "5289" ] ], [ "Yemen", "ye", "967" ], [ "Zambia", "zm", "260" ], [ "Zimbabwe", "zw", "263" ], [ "Åland Islands", "ax", "358", 1, [ "18" ] ] ]; - // loop over all of the countries above, restructuring the data to be objects with named keys - for (var i = 0; i < allCountries.length; i++) { - var c = allCountries[i]; - allCountries[i] = { - name: c[0], - iso2: c[1], - dialCode: c[2], - priority: c[3] || 0, - areaCodes: c[4] || null, - nodeById: {} - }; - } - "use strict"; - function _objectSpread(target) { - for (var i = 1; i < arguments.length; i++) { - var source = arguments[i] != null ? Object(arguments[i]) : {}; - var ownKeys = Object.keys(source); - if (typeof Object.getOwnPropertySymbols === "function") { - ownKeys.push.apply(ownKeys, Object.getOwnPropertySymbols(source).filter(function(sym) { - return Object.getOwnPropertyDescriptor(source, sym).enumerable; - })); - } - ownKeys.forEach(function(key) { - _defineProperty(target, key, source[key]); - }); - } - return target; - } - function _defineProperty(obj, key, value) { - key = _toPropertyKey(key); - if (key in obj) { - Object.defineProperty(obj, key, { - value: value, - enumerable: true, - configurable: true, - writable: true - }); - } else { - obj[key] = value; - } - return obj; - } - function _slicedToArray(arr, i) { - return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); - } - function _nonIterableRest() { - throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); - } - function _unsupportedIterableToArray(o, minLen) { - if (!o) return; - if (typeof o === "string") return _arrayLikeToArray(o, minLen); - var n = Object.prototype.toString.call(o).slice(8, -1); - if (n === "Object" && o.constructor) n = o.constructor.name; - if (n === "Map" || n === "Set") return Array.from(o); - if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); - } - function _arrayLikeToArray(arr, len) { - if (len == null || len > arr.length) len = arr.length; - for (var i = 0, arr2 = new Array(len); i < len; i++) { - arr2[i] = arr[i]; - } - return arr2; - } - function _iterableToArrayLimit(arr, i) { - var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; - if (null != _i) { - var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; - try { - if (_x = (_i = _i.call(arr)).next, 0 === i) { - if (Object(_i) !== _i) return; - _n = !1; - } else for (;!(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0) { - } - } catch (err) { - _d = !0, _e = err; - } finally { - try { - if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; - } finally { - if (_d) throw _e; - } - } - return _arr; - } - } - function _arrayWithHoles(arr) { - if (Array.isArray(arr)) return arr; - } - function _classCallCheck(instance, Constructor) { - if (!(instance instanceof Constructor)) { - throw new TypeError("Cannot call a class as a function"); - } - } - function _defineProperties(target, props) { - for (var i = 0; i < props.length; i++) { - var descriptor = props[i]; - descriptor.enumerable = descriptor.enumerable || false; - descriptor.configurable = true; - if ("value" in descriptor) descriptor.writable = true; - Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); - } - } - function _createClass(Constructor, protoProps, staticProps) { - if (protoProps) _defineProperties(Constructor.prototype, protoProps); - if (staticProps) _defineProperties(Constructor, staticProps); - Object.defineProperty(Constructor, "prototype", { - writable: false - }); - return Constructor; - } - function _toPropertyKey(arg) { - var key = _toPrimitive(arg, "string"); - return typeof key === "symbol" ? key : String(key); - } - function _toPrimitive(input, hint) { - if (typeof input !== "object" || input === null) return input; - var prim = input[Symbol.toPrimitive]; - if (prim !== undefined) { - var res = prim.call(input, hint || "default"); - if (typeof res !== "object") return res; - throw new TypeError("@@toPrimitive must return a primitive value."); - } - return (hint === "string" ? String : Number)(input); - } - var intlTelInputGlobals = { - getInstance: function getInstance(input) { - var id = input.getAttribute("data-intl-tel-input-id"); - return window.intlTelInputGlobals.instances[id]; - }, - instances: {}, - // using a global like this allows us to mock it in the tests - documentReady: function documentReady() { - return document.readyState === "complete"; - } - }; - if (typeof window === "object") { - window.intlTelInputGlobals = intlTelInputGlobals; - } - // these vars persist through all instances of the plugin - var id = 0; - var defaults = { - // whether or not to allow the dropdown - allowDropdown: true, - // auto insert dial code (A) on init, (B) on user selecting a country, (C) on calling setCountry - autoInsertDialCode: false, - // add a placeholder in the input with an example number for the selected country - autoPlaceholder: "polite", - // add a country search input at the top of the dropdown - countrySearch: true, - // modify the parentClass - containerClass: "", - // modify the auto placeholder - customPlaceholder: null, - // by default, initialise with the first country in the list selected (if no country set via the initial value or initialCountry option) - defaultToFirstCountry: true, - // append menu to specified element - dropdownContainer: null, - // don't display these countries - excludeCountries: [], - // fix the dropdown width to the input width (rather than being as wide as the longest country name) - fixDropdownWidth: true, - // format the number as the user types - formatAsYouType: true, - // format the input value during initialisation and on setNumber - formatOnDisplay: true, - // geoIp lookup function - geoIpLookup: null, - // inject a hidden input with this name, and on submit, populate it with the result of getNumber - hiddenInput: null, - // internationalise the plugin text e.g. search input placeholder, country names - i18n: {}, - // initial country - initialCountry: "", - // national vs international formatting for numbers e.g. placeholders and displaying existing numbers - nationalMode: true, - // display only these countries - onlyCountries: [], - // number type to use for placeholders - placeholderNumberType: "MOBILE", - // the countries at the top of the list - preferredCountries: [], - // option to hide the flags - must be used with showSelectedDialCode, or allowDropdown=false - showFlags: true, - // display the international dial code next to the selected flag - showSelectedDialCode: false, - // use full screen popup instead of dropdown for country list - useFullscreenPopup: typeof navigator !== "undefined" && typeof window !== "undefined" ? // we cannot just test screen size as some smartphones/website meta tags will report desktop - // resolutions - // Note: to target Android Mobiles (and not Tablets), we must find 'Android' and 'Mobile' - /Android.+Mobile|webOS|iPhone|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent) || window.innerWidth <= 500 : false, - // specify the path to the libphonenumber script to enable validation/formatting - utilsScript: "" - }; - // https://en.wikipedia.org/wiki/List_of_North_American_Numbering_Plan_area_codes#Non-geographic_area_codes - var regionlessNanpNumbers = [ "800", "822", "833", "844", "855", "866", "877", "880", "881", "882", "883", "884", "885", "886", "887", "888", "889" ]; - // run a method on each instance of the plugin - var forEachInstance = function forEachInstance(method) { - var instances = window.intlTelInputGlobals.instances; - Object.values(instances).forEach(function(instance) { - return instance[method](); - }); - }; - // this is our plugin class that we will create an instance of - // eslint-disable-next-line no-unused-vars - var Iti = /*#__PURE__*/ function() { - function Iti(input) { - var customOptions = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; - _classCallCheck(this, Iti); - this.id = id++; - this.telInput = input; - this.activeItem = null; - this.highlightedItem = null; - // process specified options / defaults - this.options = Object.assign({}, defaults, customOptions); - this.hadInitialPlaceholder = Boolean(input.getAttribute("placeholder")); - } - _createClass(Iti, [ { - key: "_init", - value: function _init() { - var _this = this; - // if showing fullscreen popup, do not fix the width - if (this.options.useFullscreenPopup) { - this.options.fixDropdownWidth = false; - } - // when search enabled, we must fix the width else it would change with different results - if (this.options.countrySearch && !this.options.useFullscreenPopup) { - this.options.fixDropdownWidth = true; - } - // if in nationalMode, do not insert dial codes - if (this.options.nationalMode) { - this.options.autoInsertDialCode = false; - } - // if showSelectedDialCode enabled, do not insert dial codes - if (this.options.showSelectedDialCode) { - this.options.autoInsertDialCode = false; - } - // force showFlags=true if there's a dropdown and we're not displaying the dial code, - // as otherwise you just have a down arrow on it's own which doesn't make sense - var forceShowFlags = this.options.allowDropdown && !this.options.showSelectedDialCode; - if (!this.options.showFlags && forceShowFlags) { - this.options.showFlags = true; - } - // on mobile, we want a full screen dropdown, so we must append it to the body - if (this.options.useFullscreenPopup && !this.options.dropdownContainer) { - this.options.dropdownContainer = document.body; - } - // check if input has one parent with RTL - this.isRTL = !!this.telInput.closest("[dir=rtl]"); - // these promises get resolved when their individual requests complete - // this way the dev can do something like iti.promise.then(...) to know when all requests are - // complete - if (typeof Promise !== "undefined") { - var autoCountryPromise = new Promise(function(resolve, reject) { - _this.resolveAutoCountryPromise = resolve; - _this.rejectAutoCountryPromise = reject; - }); - var utilsScriptPromise = new Promise(function(resolve, reject) { - _this.resolveUtilsScriptPromise = resolve; - _this.rejectUtilsScriptPromise = reject; - }); - this.promise = Promise.all([ autoCountryPromise, utilsScriptPromise ]); - } else { - // prevent errors when Promise doesn't exist - this.resolveAutoCountryPromise = this.rejectAutoCountryPromise = function() {}; - this.resolveUtilsScriptPromise = this.rejectUtilsScriptPromise = function() {}; - } - // in various situations there could be no country selected initially, but we need to be able - // to assume this variable exists - this.selectedCountryData = {}; - // process all the data: onlyCountries, excludeCountries, preferredCountries etc - this._processCountryData(); - // generate the markup - this._generateMarkup(); - // set the initial state of the input value and the selected flag - this._setInitialState(); - // start all of the event listeners: autoInsertDialCode, input keydown, selectedFlag click - this._initListeners(); - // utils script, and auto country - this._initRequests(); - } - }, { - key: "_processCountryData", - value: function _processCountryData() { - // process onlyCountries or excludeCountries array if present - this._processAllCountries(); - // generate this.dialCodes and this.dialCodeToIso2Map - this._processDialCodes(); - // process the preferredCountries - this._processPreferredCountries(); - // translate country names according to i18n option - this._translateCountryNames(); - // sort countries by name - if (this.options.onlyCountries.length || this.options.i18n) { - this.countries.sort(this._countryNameSort); - } - } - }, { - key: "_addToDialCodeMap", - value: function _addToDialCodeMap(iso2, dialCode, priority) { - if (dialCode.length > this.dialCodeMaxLen) { - this.dialCodeMaxLen = dialCode.length; - } - if (!this.dialCodeToIso2Map.hasOwnProperty(dialCode)) { - this.dialCodeToIso2Map[dialCode] = []; - } - // bail if we already have this country for this dialCode - for (var i = 0; i < this.dialCodeToIso2Map[dialCode].length; i++) { - if (this.dialCodeToIso2Map[dialCode][i] === iso2) { - return; - } - } - // check for undefined as 0 is falsy - var index = priority !== undefined ? priority : this.dialCodeToIso2Map[dialCode].length; - this.dialCodeToIso2Map[dialCode][index] = iso2; - } - }, { - key: "_processAllCountries", - value: function _processAllCountries() { - if (this.options.onlyCountries.length) { - var lowerCaseOnlyCountries = this.options.onlyCountries.map(function(country) { - return country.toLowerCase(); - }); - this.countries = allCountries.filter(function(country) { - return lowerCaseOnlyCountries.indexOf(country.iso2) > -1; - }); - } else if (this.options.excludeCountries.length) { - var lowerCaseExcludeCountries = this.options.excludeCountries.map(function(country) { - return country.toLowerCase(); - }); - this.countries = allCountries.filter(function(country) { - return lowerCaseExcludeCountries.indexOf(country.iso2) === -1; - }); - } else { - this.countries = allCountries; - } - } - }, { - key: "_translateCountryNames", - value: function _translateCountryNames() { - for (var i = 0; i < this.countries.length; i++) { - var iso2 = this.countries[i].iso2.toLowerCase(); - if (this.options.i18n.hasOwnProperty(iso2)) { - this.countries[i].name = this.options.i18n[iso2]; - } - } - } - }, { - key: "_countryNameSort", - value: function _countryNameSort(a, b) { - if (a.name < b.name) { - return -1; - } - if (a.name > b.name) { - return 1; - } - return 0; - } - }, { - key: "_processDialCodes", - value: function _processDialCodes() { - // here we store just dial codes, where the key is the dial code, and the value is true - // e.g. { 1: true, 7: true, 20: true, ... } - this.dialCodes = {}; - this.dialCodeMaxLen = 0; - // here we map dialCodes (inc both dialCode and dialCode+areaCode) to iso2 codes - /* e.g. - * { - * 1: [ 'us', 'ca', ... ], # all NANP countries - * 12: [ 'us', 'ca', ... ], # subset of NANP countries - * 120: [ 'us', 'ca' ], # just US and Canada - * 1204: [ 'ca' ], # only Canada - * ... - * } - */ - this.dialCodeToIso2Map = {}; - // first: add dial codes - for (var i = 0; i < this.countries.length; i++) { - var c = this.countries[i]; - if (!this.dialCodes[c.dialCode]) { - this.dialCodes[c.dialCode] = true; - } - this._addToDialCodeMap(c.iso2, c.dialCode, c.priority); - } - // next: add area codes - // this is a second loop over countries, to make sure we have all of the "root" countries - // already in the map, so that we can access them, as each time we add an area code substring - // to the map, we also need to include the "root" country's code, as that also matches - for (var _i = 0; _i < this.countries.length; _i++) { - var _c = this.countries[_i]; - // area codes - if (_c.areaCodes) { - var rootIso2Code = this.dialCodeToIso2Map[_c.dialCode][0]; - // for each area code - for (var j = 0; j < _c.areaCodes.length; j++) { - var areaCode = _c.areaCodes[j]; - // for each digit in the area code to add all partial matches as well - for (var k = 1; k < areaCode.length; k++) { - var partialDialCode = _c.dialCode + areaCode.substr(0, k); - // start with the root country, as that also matches this dial code - this._addToDialCodeMap(rootIso2Code, partialDialCode); - this._addToDialCodeMap(_c.iso2, partialDialCode); - } - // add the full area code - this._addToDialCodeMap(_c.iso2, _c.dialCode + areaCode); - } - } - } - } - }, { - key: "_processPreferredCountries", - value: function _processPreferredCountries() { - this.preferredCountries = []; - for (var i = 0; i < this.options.preferredCountries.length; i++) { - var iso2 = this.options.preferredCountries[i].toLowerCase(); - var countryData = this._getCountryData(iso2, true); - if (countryData) { - this.preferredCountries.push(countryData); - } - } - } - }, { - key: "_createEl", - value: function _createEl(name, attrs, container) { - var el = document.createElement(name); - if (attrs) { - Object.entries(attrs).forEach(function(_ref) { - var _ref2 = _slicedToArray(_ref, 2), key = _ref2[0], value = _ref2[1]; - return el.setAttribute(key, value); - }); - } - if (container) { - container.appendChild(el); - } - return el; - } - }, { - key: "_generateMarkup", - value: function _generateMarkup() { - this.telInput.classList.add("iti__tel-input"); - // if autocomplete does not exist on the element and its form, then - // prevent autocomplete as there's no safe, cross-browser event we can react to, so it can - // easily put the plugin in an inconsistent state e.g. the wrong flag selected for the - // autocompleted number, which on submit could mean wrong number is saved - if (!this.telInput.hasAttribute("autocomplete") && !(this.telInput.form && this.telInput.form.hasAttribute("autocomplete"))) { - this.telInput.setAttribute("autocomplete", "off"); - } - var _this$options = this.options, allowDropdown = _this$options.allowDropdown, showSelectedDialCode = _this$options.showSelectedDialCode, showFlags = _this$options.showFlags, containerClass = _this$options.containerClass, hiddenInput = _this$options.hiddenInput, dropdownContainer = _this$options.dropdownContainer, fixDropdownWidth = _this$options.fixDropdownWidth, useFullscreenPopup = _this$options.useFullscreenPopup, countrySearch = _this$options.countrySearch; - // containers (mostly for positioning) - var parentClass = "iti"; - if (allowDropdown) { - parentClass += " iti--allow-dropdown"; - } - if (showSelectedDialCode) { - parentClass += " iti--show-selected-dial-code"; - } - if (showFlags) { - parentClass += " iti--show-flags"; - } - if (containerClass) { - parentClass += " ".concat(containerClass); - } - if (!useFullscreenPopup) { - parentClass += " iti--inline-dropdown"; - } - var wrapper = this._createEl("div", { - "class": parentClass - }); - this.telInput.parentNode.insertBefore(wrapper, this.telInput); - // only hide the flagsContainer if allowDropdown, showFlags and showSelectedDialCode are all false - var showFlagsContainer = allowDropdown || showFlags || showSelectedDialCode; - if (showFlagsContainer) { - this.flagsContainer = this._createEl("div", { - "class": "iti__flag-container" - }, wrapper); - } - wrapper.appendChild(this.telInput); - // selected flag (displayed to left of input) - // using Aria tags for "Select-Only Combobox Example" - // https://www.w3.org/WAI/ARIA/apg/patterns/combobox/examples/combobox-select-only/ - if (showFlagsContainer) { - this.selectedFlag = this._createEl("div", _objectSpread({ - "class": "iti__selected-flag" - }, allowDropdown && { - role: "combobox", - "aria-haspopup": "listbox", - "aria-controls": "iti-".concat(this.id, "__country-listbox"), - "aria-expanded": "false", - "aria-label": this.options.i18n.selectedCountryAriaLabel || "Selected country" - }), this.flagsContainer); - } - if (showFlags) { - this.selectedFlagInner = this._createEl("div", { - "class": "iti__flag" - }, this.selectedFlag); - } - if (this.selectedFlag && this.telInput.disabled) { - this.selectedFlag.setAttribute("aria-disabled", "true"); - } - if (showSelectedDialCode) { - this.selectedDialCode = this._createEl("div", { - "class": "iti__selected-dial-code" - }, this.selectedFlag); - } - if (allowDropdown) { - if (!this.telInput.disabled) { - // make element focusable and tab navigable - this.selectedFlag.setAttribute("tabindex", "0"); - } - this.dropdownArrow = this._createEl("div", { - "class": "iti__arrow" - }, this.selectedFlag); - var extraClasses = fixDropdownWidth ? "" : "iti--flexible-dropdown-width"; - this.dropdownContent = this._createEl("div", { - "class": "iti__dropdown-content iti__hide ".concat(extraClasses) - }); - if (countrySearch) { - this.searchInput = this._createEl("input", { - type: "text", - "class": "iti__search-input", - placeholder: this.options.i18n.searchPlaceholder || "Search" - }, this.dropdownContent); - } - // country list: preferred countries, then divider, then all countries - this.countryList = this._createEl("ul", { - "class": "iti__country-list", - id: "iti-".concat(this.id, "__country-listbox"), - role: "listbox", - "aria-label": this.options.i18n.countryListAriaLabel || "List of countries" - }, this.dropdownContent); - if (this.preferredCountries.length && !countrySearch) { - this._appendListItems(this.preferredCountries, "iti__preferred", true); - this._createEl("li", { - "class": "iti__divider", - "aria-hidden": "true" - }, this.countryList); - } - this._appendListItems(this.countries, "iti__standard"); - // create dropdownContainer markup - if (dropdownContainer) { - var dropdownClasses = "iti iti--container"; - if (useFullscreenPopup) { - dropdownClasses += " iti--fullscreen-popup"; - } else { - dropdownClasses += " iti--inline-dropdown"; - } - if (countrySearch) { - dropdownClasses += " iti--country-search"; - } - this.dropdown = this._createEl("div", { - "class": dropdownClasses - }); - this.dropdown.appendChild(this.dropdownContent); - } else { - this.flagsContainer.appendChild(this.dropdownContent); - } - } - if (hiddenInput) { - var telInputName = this.telInput.getAttribute("name"); - var result = hiddenInput(telInputName); - var isObject = result !== null && typeof result === "object"; - var hiddenInputPhoneName; - var hiddenInputCountryName; - if (isObject) { - hiddenInputPhoneName = result.phone || telInputName; - hiddenInputCountryName = result.country || "".concat(hiddenInputPhoneName, "_country"); - } else { - hiddenInputPhoneName = result || telInputName; - hiddenInputCountryName = "".concat(hiddenInputPhoneName, "_country"); - } - // Check if a name has been determined for the phone input field after all conditions - if (!hiddenInputPhoneName) { - return; - } - // Create hidden input for the full international number - this.hiddenInput = this._createEl("input", { - type: "hidden", - name: hiddenInputPhoneName - }); - // Create hidden input for the selected country iso2 code - this.hiddenInputCountry = this._createEl("input", { - type: "hidden", - name: hiddenInputCountryName - }); - wrapper.appendChild(this.hiddenInput); - wrapper.appendChild(this.hiddenInputCountry); - } - } - }, { - key: "_appendListItems", - value: function _appendListItems(countries, className, preferred) { - for (var i = 0; i < countries.length; i++) { - var c = countries[i]; - var idSuffix = preferred ? "-preferred" : ""; - var listItem = this._createEl("li", { - id: "iti-".concat(this.id, "__item-").concat(c.iso2).concat(idSuffix), - "class": "iti__country ".concat(className), - tabindex: "-1", - role: "option", - "data-dial-code": c.dialCode, - "data-country-code": c.iso2, - "aria-selected": "false" - }, this.countryList); - // store this for later use e.g. country search filtering - c.nodeById[this.id] = listItem; - var content = ""; - // add the flag - if (this.options.showFlags) { - content += "
"); - } - // and the country name and dial code - content += "".concat(c.name, ""); - content += "+".concat(c.dialCode, ""); - listItem.insertAdjacentHTML("beforeend", content); - } - } - }, { - key: "_setInitialState", - value: function _setInitialState() { - var overrideAutoCountry = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false; - // fix firefox bug: when first load page (with input with value set to number with intl dial - // code) and initialising plugin removes the dial code from the input, then refresh page, - // and we try to init plugin again but this time on number without dial code so get grey flag - var attributeValue = this.telInput.getAttribute("value"); - var inputValue = this.telInput.value; - var useAttribute = attributeValue && attributeValue.charAt(0) === "+" && (!inputValue || inputValue.charAt(0) !== "+"); - var val = useAttribute ? attributeValue : inputValue; - var dialCode = this._getDialCode(val); - var isRegionlessNanp = this._isRegionlessNanp(val); - var _this$options2 = this.options, initialCountry = _this$options2.initialCountry, autoInsertDialCode = _this$options2.autoInsertDialCode, defaultToFirstCountry = _this$options2.defaultToFirstCountry; - // if we already have a dial code, and it's not a regionlessNanp, we can go ahead and set the - // flag, else fall back to the default country - if (dialCode && !isRegionlessNanp) { - this._updateFlagFromNumber(val); - } else if (initialCountry !== "auto" || overrideAutoCountry) { - var lowerInitialCountry = initialCountry ? initialCountry.toLowerCase() : ""; - var isValidInitialCountry = lowerInitialCountry && this._getCountryData(lowerInitialCountry, true); - // see if we should select a flag - if (isValidInitialCountry) { - this._setFlag(lowerInitialCountry); - } else { - if (dialCode && isRegionlessNanp) { - // has intl dial code, is regionless nanp, and no initialCountry, so default to US - this._setFlag("us"); - } else if (defaultToFirstCountry && !val) { - // no dial code and no initialCountry, so default to first in list - this.defaultCountry = this.preferredCountries.length ? this.preferredCountries[0].iso2 : this.countries[0].iso2; - this._setFlag(this.defaultCountry); - } else { - // display the empty state (globe icon) - this._setFlag(); - } - } - // if empty and autoInsertDialCode then insert the dial code - if (!val && autoInsertDialCode) { - this.telInput.value = "+".concat(this.selectedCountryData.dialCode); - } - } - // NOTE: if initialCountry is set to auto, that will be handled separately - // format - note this wont be run after _updateDialCode as that's only called if no val - if (val) { - this._updateValFromNumber(val); - } - } - }, { - key: "_initListeners", - value: function _initListeners() { - this._initKeyListeners(); - if (this.options.autoInsertDialCode) { - this._initBlurListeners(); - } - if (this.options.allowDropdown) { - this._initDropdownListeners(); - } - if (this.hiddenInput) { - this._initHiddenInputListener(); - } - } - }, { - key: "_initHiddenInputListener", - value: function _initHiddenInputListener() { - var _this2 = this; - this._handleHiddenInputSubmit = function() { - _this2.hiddenInput.value = _this2.getNumber(); - _this2.hiddenInputCountry.value = _this2.getSelectedCountryData().iso2; - }; - if (this.telInput.form) { - this.telInput.form.addEventListener("submit", this._handleHiddenInputSubmit); - } - } - }, { - key: "_initDropdownListeners", - value: function _initDropdownListeners() { - var _this3 = this; - // hack for input nested inside label (which is valid markup): clicking the selected-flag to - // open the dropdown would then automatically trigger a 2nd click on the input which would - // close it again - this._handleLabelClick = function(e) { - // if the dropdown is closed, then focus the input, else ignore the click - if (_this3.dropdownContent.classList.contains("iti__hide")) { - _this3.telInput.focus(); - } else { - e.preventDefault(); - } - }; - var label = this.telInput.closest("label"); - if (label) { - label.addEventListener("click", this._handleLabelClick); - } - // toggle country dropdown on click - this._handleClickSelectedFlag = function() { - // only intercept this event if we're opening the dropdown - // else let it bubble up to the top ("click-off-to-close" listener) - // we cannot just stopPropagation as it may be needed to close another instance - if (_this3.dropdownContent.classList.contains("iti__hide") && !_this3.telInput.disabled && !_this3.telInput.readOnly) { - _this3._showDropdown(); - } - }; - this.selectedFlag.addEventListener("click", this._handleClickSelectedFlag); - // open dropdown if selected flag is focused and they press up/down/space/enter - this._handleFlagsContainerKeydown = function(e) { - var isDropdownHidden = _this3.dropdownContent.classList.contains("iti__hide"); - if (isDropdownHidden && [ "ArrowUp", "ArrowDown", " ", "Enter" ].includes(e.key)) { - // prevent form from being submitted if "ENTER" was pressed - e.preventDefault(); - // prevent event from being handled again by document - e.stopPropagation(); - _this3._showDropdown(); - } - // allow navigation from dropdown to input on TAB - if (e.key === "Tab") { - _this3._closeDropdown(); - } - }; - this.flagsContainer.addEventListener("keydown", this._handleFlagsContainerKeydown); - } - }, { - key: "_initRequests", - value: function _initRequests() { - var _this4 = this; - // if the user has specified the path to the utils script, fetch it on window.load, else resolve - if (this.options.utilsScript && !window.intlTelInputUtils) { - // if the plugin is being initialised after the window.load event has already been fired - if (window.intlTelInputGlobals.documentReady()) { - window.intlTelInputGlobals.loadUtils(this.options.utilsScript); - } else { - // wait until the load event so we don't block any other requests e.g. the flags image - window.addEventListener("load", function() { - window.intlTelInputGlobals.loadUtils(_this4.options.utilsScript); - }); - } - } else { - this.resolveUtilsScriptPromise(); - } - // dont bother with IP lookup if we already have a selected country - if (this.options.initialCountry === "auto" && !this.selectedCountryData.iso2) { - this._loadAutoCountry(); - } else { - this.resolveAutoCountryPromise(); - } - } - }, { - key: "_loadAutoCountry", - value: function _loadAutoCountry() { - var _this5 = this; - // 3 options: - // 1) already loaded (we're done) - // 2) not already started loading (start) - // 3) already started loading (do nothing - just wait for loading callback to fire) - if (window.intlTelInputGlobals.autoCountry) { - this.handleAutoCountry(); - } else if (!window.intlTelInputGlobals.startedLoadingAutoCountry) { - // don't do this twice! - window.intlTelInputGlobals.startedLoadingAutoCountry = true; - if (typeof this.options.geoIpLookup === "function") { - this.options.geoIpLookup(function() { - var iso2 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : ""; - var iso2Lower = iso2.toLowerCase(); - var isValidIso2 = iso2Lower && _this5._getCountryData(iso2Lower, true); - if (isValidIso2) { - window.intlTelInputGlobals.autoCountry = iso2Lower; - // tell all instances the auto country is ready - // TODO: this should just be the current instances - // UPDATE: use setTimeout in case their geoIpLookup function calls this callback straight - // away (e.g. if they have already done the geo ip lookup somewhere else). Using - // setTimeout means that the current thread of execution will finish before executing - // this, which allows the plugin to finish initialising. - setTimeout(function() { - return forEachInstance("handleAutoCountry"); - }); - } else { - _this5._setInitialState(true); - forEachInstance("rejectAutoCountryPromise"); - } - }, function() { - return forEachInstance("rejectAutoCountryPromise"); - }); - } - } - } - }, { - key: "_initKeyListeners", - value: function _initKeyListeners() { - var _this6 = this; - var userOverrideFormatting = false; - // update flag on input event - this._handleKeyEvent = function(e) { - if (_this6._updateFlagFromNumber(_this6.telInput.value)) { - _this6._triggerCountryChange(); - } - // if user types their own formatting char (not a plus or a numeric), then set the override - var isFormattingChar = e && e.data && /[^+0-9]/.test(e.data); - var isPaste = e && e.inputType === "insertFromPaste" && _this6.telInput.value; - if (isFormattingChar || isPaste) { - userOverrideFormatting = true; - } else if (!/[^+0-9]/.test(_this6.telInput.value)) { - userOverrideFormatting = false; - } - // handle FAYT, unless userOverrideFormatting or it's a paste event - if (_this6.options.formatAsYouType && !userOverrideFormatting && e.inputType !== "insertFromPaste") { - // maintain caret position after reformatting - var currentCaretPos = _this6.telInput.selectionStart; - var valueBeforeCaret = _this6.telInput.value.substring(0, currentCaretPos); - var relevantCharsBeforeCaret = valueBeforeCaret.replace(/[^+0-9]/g, "").length; - var isDeleteForwards = e && e.inputType === "deleteContentForward"; - var formattedValue = _this6._formatNumberAsYouType(); - var newCaretPos = _this6._translateCursorPosition(relevantCharsBeforeCaret, formattedValue, currentCaretPos, isDeleteForwards); - _this6.telInput.value = formattedValue; - _this6.telInput.setSelectionRange(newCaretPos, newCaretPos); - } - }; - this.telInput.addEventListener("input", this._handleKeyEvent); - // update flag on cut/paste events (now supported in all major browsers) - this._handleClipboardEvent = function() { - // hack because "paste" event is fired before input is updated - setTimeout(_this6._handleKeyEvent); - }; - this.telInput.addEventListener("cut", this._handleClipboardEvent); - this.telInput.addEventListener("paste", this._handleClipboardEvent); - } - }, { - key: "_translateCursorPosition", - value: function _translateCursorPosition(relevantChars, formattedValue, prevCaretPos, isDeleteForwards) { - // if the first char is a formatting char, and they backspace delete it: - // cursor should stay at the start (pos 0), rather than stick to the first digit (pos 1) - if (prevCaretPos === 0 && !isDeleteForwards) { - return 0; - } - var count = 0; - for (var i = 0; i < formattedValue.length; i++) { - if (/[+0-9]/.test(formattedValue[i])) { - count++; - } - // normal case: stop when you hit the right number of relevant chars - // (cursor will be just after the final relevant char) - if (count === relevantChars && !isDeleteForwards) { - return i + 1; - } - // spacial case: delete forwards (fn + delete on a mac): - // wait until hit one extra relevant char, and put the cursor just before it (after any formatting chars) - if (isDeleteForwards && count === relevantChars + 1) { - return i; - } - } - return formattedValue.length; - } - }, { - key: "_cap", - value: function _cap(number) { - var max = this.telInput.getAttribute("maxlength"); - return max && number.length > max ? number.substr(0, max) : number; - } - }, { - key: "_initBlurListeners", - value: function _initBlurListeners() { - var _this7 = this; - // on blur or form submit: if just a dial code then remove it - this._handleSubmitOrBlurEvent = function() { - _this7._removeEmptyDialCode(); - }; - if (this.telInput.form) { - this.telInput.form.addEventListener("submit", this._handleSubmitOrBlurEvent); - } - this.telInput.addEventListener("blur", this._handleSubmitOrBlurEvent); - } - }, { - key: "_removeEmptyDialCode", - value: function _removeEmptyDialCode() { - if (this.telInput.value.charAt(0) === "+") { - var numeric = this._getNumeric(this.telInput.value); - // if just a plus, or if just a dial code - if (!numeric || this.selectedCountryData.dialCode === numeric) { - this.telInput.value = ""; - } - } - } - }, { - key: "_getNumeric", - value: function _getNumeric(s) { - return s.replace(/\D/g, ""); - } - }, { - key: "_trigger", - value: function _trigger(name) { - var e = new Event(name, { - bubbles: true, - cancelable: true - }); - this.telInput.dispatchEvent(e); - } - }, { - key: "_showDropdown", - value: function _showDropdown() { - if (this.options.fixDropdownWidth) { - this.dropdownContent.style.width = "".concat(this.telInput.offsetWidth, "px"); - } - this.dropdownContent.classList.remove("iti__hide"); - this.selectedFlag.setAttribute("aria-expanded", "true"); - this._setDropdownPosition(); - if (this.options.countrySearch) { - // start by highlighting the first item in the list - var firstElementChild = this.countryList.firstElementChild; - if (firstElementChild) { - this._highlightListItem(firstElementChild, false); - } - this.searchInput.focus(); - } else if (this.activeItem) { - // update highlighting and scroll to active list item - this._highlightListItem(this.activeItem, false); - this._scrollTo(this.activeItem, true); - } - // bind all the dropdown-related listeners: mouseover, click, click-off, keydown - this._bindDropdownListeners(); - // update the arrow - this.dropdownArrow.classList.add("iti__arrow--up"); - this._trigger("open:countrydropdown"); - } - }, { - key: "_toggleClass", - value: function _toggleClass(el, className, shouldHaveClass) { - if (shouldHaveClass && !el.classList.contains(className)) { - el.classList.add(className); - } else if (!shouldHaveClass && el.classList.contains(className)) { - el.classList.remove(className); - } - } - }, { - key: "_setDropdownPosition", - value: function _setDropdownPosition() { - var _this8 = this; - if (this.options.dropdownContainer) { - this.options.dropdownContainer.appendChild(this.dropdown); - } - if (!this.options.useFullscreenPopup) { - var pos = this.telInput.getBoundingClientRect(); - // windowTop from https://stackoverflow.com/a/14384091/217866 - var windowTop = document.documentElement.scrollTop; - var inputTop = pos.top + windowTop; - var dropdownHeight = this.dropdownContent.offsetHeight; - // dropdownFitsBelow = (dropdownBottom < windowBottom) - var dropdownFitsBelow = inputTop + this.telInput.offsetHeight + dropdownHeight < windowTop + window.innerHeight; - var dropdownFitsAbove = inputTop - dropdownHeight > windowTop; - // dont allow positioning above when country search enabled as the search box jumps around as you filter countries - var positionDropdownAboveInput = !this.options.countrySearch && !dropdownFitsBelow && dropdownFitsAbove; - // by default, the dropdown will be below the input. If we want to position it above the - // input, we add the dropup class. - this._toggleClass(this.dropdownContent, "iti__dropdown-content--dropup", positionDropdownAboveInput); - // if dropdownContainer is enabled, calculate postion - if (this.options.dropdownContainer) { - // if we want to position the dropdown below the input, we need to add the input height to the top value - var extraTop = positionDropdownAboveInput ? 0 : this.telInput.offsetHeight; - // calculate placement - this.dropdown.style.top = "".concat(inputTop + extraTop, "px"); - this.dropdown.style.left = "".concat(pos.left + document.body.scrollLeft, "px"); - // close menu on window scroll - this._handleWindowScroll = function() { - return _this8._closeDropdown(); - }; - window.addEventListener("scroll", this._handleWindowScroll); - } - } - } - }, { - key: "_bindDropdownListeners", - value: function _bindDropdownListeners() { - var _this9 = this; - // when mouse over a list item, just highlight that one - // we add the class "highlight", so if they hit "enter" we know which one to select - this._handleMouseoverCountryList = function(e) { - // handle event delegation, as we're listening for this event on the countryList - var listItem = e.target.closest(".iti__country"); - if (listItem) { - _this9._highlightListItem(listItem, false); - } - }; - this.countryList.addEventListener("mouseover", this._handleMouseoverCountryList); - // listen for country selection - this._handleClickCountryList = function(e) { - var listItem = e.target.closest(".iti__country"); - if (listItem) { - _this9._selectListItem(listItem); - } - }; - this.countryList.addEventListener("click", this._handleClickCountryList); - // click off to close - // (except when this initial opening click is bubbling up) - // we cannot just stopPropagation as it may be needed to close another instance - var isOpening = true; - this._handleClickOffToClose = function() { - if (!isOpening) { - _this9._closeDropdown(); - } - isOpening = false; - }; - document.documentElement.addEventListener("click", this._handleClickOffToClose); - // listen for up/down scrolling, enter to select, or escape to close - // use keydown as keypress doesn't fire for non-char keys and we want to catch if they - // just hit down and hold it to scroll down (no keyup event). - // listen on the document because that's where key events are triggered if no input has focus - var query = ""; - var queryTimer = null; - this._handleKeydownOnDropdown = function(e) { - // prevent down key from scrolling the whole page, - // and enter key from submitting a form etc - if ([ "ArrowUp", "ArrowDown", "Enter", "Escape" ].includes(e.key)) { - e.preventDefault(); - e.stopPropagation(); - // up and down to navigate - if (e.key === "ArrowUp" || e.key === "ArrowDown") { - _this9._handleUpDownKey(e.key); - } else if (e.key === "Enter") { - _this9._handleEnterKey(); - } else if (e.key === "Escape") { - _this9._closeDropdown(); - } - } - // alpha chars to perform search - // regex allows one latin alpha char or space, based on https://stackoverflow.com/a/26900132/217866) - if (!_this9.options.countrySearch && /^[a-zA-ZÀ-ÿа-яА-Я ]$/.test(e.key)) { - e.stopPropagation(); - // jump to countries that start with the query string - if (queryTimer) { - clearTimeout(queryTimer); - } - query += e.key.toLowerCase(); - _this9._searchForCountry(query); - // if the timer hits 1 second, reset the query - queryTimer = setTimeout(function() { - query = ""; - }, 1e3); - } - }; - document.addEventListener("keydown", this._handleKeydownOnDropdown); - if (this.options.countrySearch) { - var doFilter = function doFilter() { - var inputQuery = _this9.searchInput.value.trim(); - if (inputQuery) { - _this9._filterCountries(inputQuery); - } else { - _this9._filterCountries("", true); - } - }; - var keyupTimer = null; - this._handleSearchChange = function() { - // filtering country nodes is expensive (lots of DOM manipulation), so rate limit it - if (keyupTimer) { - clearTimeout(keyupTimer); - } - keyupTimer = setTimeout(function() { - doFilter(); - keyupTimer = null; - }, 100); - }; - this.searchInput.addEventListener("input", this._handleSearchChange); - // stop propagation on search input click, so doesn't trigger click-off-to-close listener - this.searchInput.addEventListener("click", function(e) { - return e.stopPropagation(); - }); - } - } - }, { - key: "_normaliseString", - value: function _normaliseString() { - var s = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : ""; - return s.normalize("NFD").replace(/[\u0300-\u036f]/g, "").toLowerCase(); - } - }, { - key: "_filterCountries", - value: function _filterCountries(query) { - var isReset = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; - var isFirst = true; - this.countryList.innerHTML = ""; - var normalisedQuery = this._normaliseString(query); - for (var i = 0; i < this.countries.length; i++) { - var c = this.countries[i]; - var normalisedCountryName = this._normaliseString(c.name); - var fullDialCode = "+".concat(c.dialCode); - if (isReset || normalisedCountryName.includes(normalisedQuery) || fullDialCode.includes(normalisedQuery) || c.iso2.includes(normalisedQuery)) { - this.countryList.appendChild(c.nodeById[this.id]); - // highlight the first item - if (isFirst) { - this._highlightListItem(c.nodeById[this.id], false); - isFirst = false; - } - } - } - } - }, { - key: "_handleUpDownKey", - value: function _handleUpDownKey(key) { - var next = key === "ArrowUp" ? this.highlightedItem.previousElementSibling : this.highlightedItem.nextElementSibling; - if (next) { - // skip the divider - if (next.classList.contains("iti__divider")) { - next = key === "ArrowUp" ? next.previousElementSibling : next.nextElementSibling; - } - } else if (this.countryList.childElementCount > 1) { - // otherwise, we must be at the end, so loop round again - next = key === "ArrowUp" ? this.countryList.lastElementChild : this.countryList.firstElementChild; - } - if (next) { - // if country search enabled, dont lose focus from the search input on up/down - var doFocus = !this.options.countrySearch; - this._highlightListItem(next, doFocus); - if (this.options.countrySearch) { - this._scrollTo(next, false); - } - } - } - }, { - key: "_handleEnterKey", - value: function _handleEnterKey() { - if (this.highlightedItem) { - this._selectListItem(this.highlightedItem); - } - } - }, { - key: "_searchForCountry", - value: function _searchForCountry(query) { - for (var i = 0; i < this.countries.length; i++) { - if (this._startsWith(this.countries[i].name, query)) { - var listItem = this.countries[i].nodeById[this.id]; - // update highlighting and scroll - this._highlightListItem(listItem, false); - this._scrollTo(listItem, true); - break; - } - } - } - }, { - key: "_startsWith", - value: function _startsWith(a, b) { - return a.substr(0, b.length).toLowerCase() === b; - } - }, { - key: "_updateValFromNumber", - value: function _updateValFromNumber(fullNumber) { - var number = fullNumber; - if (this.options.formatOnDisplay && window.intlTelInputUtils && this.selectedCountryData) { - var useNational = this.options.nationalMode || number.charAt(0) !== "+" && !this.options.showSelectedDialCode; - var _intlTelInputUtils$nu = intlTelInputUtils.numberFormat, NATIONAL = _intlTelInputUtils$nu.NATIONAL, INTERNATIONAL = _intlTelInputUtils$nu.INTERNATIONAL; - var format = useNational ? NATIONAL : INTERNATIONAL; - number = intlTelInputUtils.formatNumber(number, this.selectedCountryData.iso2, format); - } - number = this._beforeSetNumber(number); - this.telInput.value = number; - } - }, { - key: "_updateFlagFromNumber", - value: function _updateFlagFromNumber(fullNumber) { - var plusIndex = fullNumber.indexOf("+"); - // if it contains a plus, discard any chars before it e.g. accidental space char. - // this keeps the selected country auto-updating correctly, which we want as - // libphonenumber's validation/getNumber methods will ignore these chars anyway - var number = plusIndex ? fullNumber.substring(plusIndex) : fullNumber; - // if we already have US/Canada selected, make sure the number starts - // with a +1 so _getDialCode will be able to extract the area code - // update: if we dont yet have selectedCountryData, but we're here (trying to update the flag - // from the number), that means we're initialising the plugin with a number that already has a - // dial code, so fine to ignore this bit - var selectedDialCode = this.selectedCountryData.dialCode; - var isNanp = selectedDialCode === "1"; - if (number && isNanp && number.charAt(0) !== "+") { - if (number.charAt(0) !== "1") { - number = "1".concat(number); - } - number = "+".concat(number); - } - // if showSelectedDialCode enabled, then consider the selected dial code to be part of the number - if (this.options.showSelectedDialCode && selectedDialCode && number.charAt(0) !== "+") { - number = "+".concat(selectedDialCode).concat(number); - } - // try and extract valid dial code from input - var dialCode = this._getDialCode(number, true); - var numeric = this._getNumeric(number); - var iso2 = null; - if (dialCode) { - var iso2Codes = this.dialCodeToIso2Map[this._getNumeric(dialCode)]; - // check if the right country is already selected. this should be false if the number is - // longer than the matched dial code because in this case we need to make sure that if - // there are multiple country matches, that the first one is selected (note: we could - // just check that here, but it requires the same loop that we already have later) - var alreadySelected = iso2Codes.indexOf(this.selectedCountryData.iso2) !== -1 && numeric.length <= dialCode.length - 1; - var isRegionlessNanpNumber = selectedDialCode === "1" && this._isRegionlessNanp(numeric); - // only update the flag if: - // A) NOT (we currently have a NANP flag selected, and the number is a regionlessNanp) - // AND - // B) the right country is not already selected - if (!isRegionlessNanpNumber && !alreadySelected) { - // if using onlyCountries option, iso2Codes[0] may be empty, so we must find the first - // non-empty index - for (var j = 0; j < iso2Codes.length; j++) { - if (iso2Codes[j]) { - iso2 = iso2Codes[j]; - break; - } - } - } - } else if (number.charAt(0) === "+" && numeric.length) { - // invalid dial code, so empty - // Note: use getNumeric here because the number has not been formatted yet, so could contain - // bad chars - iso2 = ""; - } else if ((!number || number === "+") && !this.selectedCountryData.iso2) { - // if no selected flag, and user either clears the input, or just types a plus, then show default - iso2 = this.defaultCountry; - } - if (iso2 !== null) { - return this._setFlag(iso2); - } - return false; - } - }, { - key: "_isRegionlessNanp", - value: function _isRegionlessNanp(number) { - var numeric = this._getNumeric(number); - if (numeric.charAt(0) === "1") { - var areaCode = numeric.substr(1, 3); - return regionlessNanpNumbers.indexOf(areaCode) !== -1; - } - return false; - } - }, { - key: "_highlightListItem", - value: function _highlightListItem(listItem, shouldFocus) { - var prevItem = this.highlightedItem; - if (prevItem) { - prevItem.classList.remove("iti__highlight"); - } - this.highlightedItem = listItem; - this.highlightedItem.classList.add("iti__highlight"); - this.selectedFlag.setAttribute("aria-activedescendant", listItem.getAttribute("id")); - if (shouldFocus) { - this.highlightedItem.focus(); - } - } - }, { - key: "_getCountryData", - value: function _getCountryData(iso2, allowFail) { - for (var i = 0; i < this.countries.length; i++) { - if (this.countries[i].iso2 === iso2) { - return this.countries[i]; - } - } - if (allowFail) { - return null; - } - throw new Error("No country data for '".concat(iso2, "'")); - } - }, { - key: "_setFlag", - value: function _setFlag(iso2) { - var _this$options3 = this.options, allowDropdown = _this$options3.allowDropdown, showSelectedDialCode = _this$options3.showSelectedDialCode, showFlags = _this$options3.showFlags, countrySearch = _this$options3.countrySearch; - var prevCountry = this.selectedCountryData.iso2 ? this.selectedCountryData : {}; - // do this first as it will throw an error and stop if iso2 is invalid - this.selectedCountryData = iso2 ? this._getCountryData(iso2, false) : {}; - // update the defaultCountry - we only need the iso2 from now on, so just store that - if (this.selectedCountryData.iso2) { - this.defaultCountry = this.selectedCountryData.iso2; - } - if (showFlags) { - var flagClass = iso2 ? "iti__".concat(iso2) : "iti__globe"; - this.selectedFlagInner.setAttribute("class", "iti__flag ".concat(flagClass)); - } - this._setSelectedCountryFlagTitleAttribute(iso2, showSelectedDialCode); - if (showSelectedDialCode) { - var dialCode = this.selectedCountryData.dialCode ? "+".concat(this.selectedCountryData.dialCode) : ""; - this.selectedDialCode.innerHTML = dialCode; - // offsetWidth is zero if input is in a hidden container during initialisation - var selectedFlagWidth = this.selectedFlag.offsetWidth || this._getHiddenSelectedFlagWidth(); - // add 6px of padding after the grey selected-dial-code box, as this is what we use in the css - if (this.isRTL) { - this.telInput.style.paddingRight = "".concat(selectedFlagWidth + 6, "px"); - } else { - this.telInput.style.paddingLeft = "".concat(selectedFlagWidth + 6, "px"); - } - } - // and the input's placeholder - this._updatePlaceholder(); - // update the active list item (only if country search disabled, as country search doesn't store the active item) - if (allowDropdown && !countrySearch) { - var prevItem = this.activeItem; - if (prevItem) { - prevItem.classList.remove("iti__active"); - prevItem.setAttribute("aria-selected", "false"); - } - if (iso2) { - // check if there is a preferred item first, else fall back to standard - var nextItem = this.countryList.querySelector("#iti-".concat(this.id, "__item-").concat(iso2, "-preferred")) || this.countryList.querySelector("#iti-".concat(this.id, "__item-").concat(iso2)); - nextItem.setAttribute("aria-selected", "true"); - nextItem.classList.add("iti__active"); - this.activeItem = nextItem; - } - } - // return if the flag has changed or not - return prevCountry.iso2 !== iso2; - } - }, { - key: "_setSelectedCountryFlagTitleAttribute", - value: function _setSelectedCountryFlagTitleAttribute(iso2, showSelectedDialCode) { - if (!this.selectedFlag) { - return; - } - var title; - if (iso2 && !showSelectedDialCode) { - title = "".concat(this.selectedCountryData.name, ": +").concat(this.selectedCountryData.dialCode); - } else if (iso2) { - // For screen reader output, we don't want to include the dial code in the reader output twice - // so just use the selected country name here: - title = this.selectedCountryData.name; - } else { - title = "Unknown"; - } - this.selectedFlag.setAttribute("title", title); - } - }, { - key: "_getHiddenSelectedFlagWidth", - value: function _getHiddenSelectedFlagWidth() { - // to get the right styling to apply, all we need is a shallow clone of the container, - // and then to inject a deep clone of the selectedFlag element - var containerClone = this.telInput.parentNode.cloneNode(); - containerClone.style.visibility = "hidden"; - document.body.appendChild(containerClone); - var flagsContainerClone = this.flagsContainer.cloneNode(); - containerClone.appendChild(flagsContainerClone); - var selectedFlagClone = this.selectedFlag.cloneNode(true); - flagsContainerClone.appendChild(selectedFlagClone); - var width = selectedFlagClone.offsetWidth; - containerClone.parentNode.removeChild(containerClone); - return width; - } - }, { - key: "_updatePlaceholder", - value: function _updatePlaceholder() { - var _this$options4 = this.options, autoPlaceholder = _this$options4.autoPlaceholder, placeholderNumberType = _this$options4.placeholderNumberType, nationalMode = _this$options4.nationalMode, customPlaceholder = _this$options4.customPlaceholder; - var shouldSetPlaceholder = autoPlaceholder === "aggressive" || !this.hadInitialPlaceholder && autoPlaceholder === "polite"; - if (window.intlTelInputUtils && shouldSetPlaceholder) { - var numberType = intlTelInputUtils.numberType[placeholderNumberType]; - var placeholder = this.selectedCountryData.iso2 ? intlTelInputUtils.getExampleNumber(this.selectedCountryData.iso2, nationalMode, numberType) : ""; - placeholder = this._beforeSetNumber(placeholder); - if (typeof customPlaceholder === "function") { - placeholder = customPlaceholder(placeholder, this.selectedCountryData); - } - this.telInput.setAttribute("placeholder", placeholder); - } - } - }, { - key: "_selectListItem", - value: function _selectListItem(listItem) { - // update selected flag and active list item - var flagChanged = this._setFlag(listItem.getAttribute("data-country-code")); - this._closeDropdown(); - this._updateDialCode(listItem.getAttribute("data-dial-code")); - // focus the input - this.telInput.focus(); - if (flagChanged) { - this._triggerCountryChange(); - } - } - }, { - key: "_closeDropdown", - value: function _closeDropdown() { - this.dropdownContent.classList.add("iti__hide"); - this.selectedFlag.setAttribute("aria-expanded", "false"); - this.selectedFlag.removeAttribute("aria-activedescendant"); - // update the arrow - this.dropdownArrow.classList.remove("iti__arrow--up"); - // unbind key events - document.removeEventListener("keydown", this._handleKeydownOnDropdown); - if (this.options.countrySearch) { - this.searchInput.removeEventListener("input", this._handleSearchChange); - } - document.documentElement.removeEventListener("click", this._handleClickOffToClose); - this.countryList.removeEventListener("mouseover", this._handleMouseoverCountryList); - this.countryList.removeEventListener("click", this._handleClickCountryList); - // remove menu from container - if (this.options.dropdownContainer) { - if (!this.options.useFullscreenPopup) { - window.removeEventListener("scroll", this._handleWindowScroll); - } - if (this.dropdown.parentNode) { - this.dropdown.parentNode.removeChild(this.dropdown); - } - } - this._trigger("close:countrydropdown"); - } - }, { - key: "_scrollTo", - value: function _scrollTo(element, middle) { - var container = this.countryList; - // windowTop from https://stackoverflow.com/a/14384091/217866 - var windowTop = document.documentElement.scrollTop; - var containerHeight = container.offsetHeight; - var containerTop = container.getBoundingClientRect().top + windowTop; - var containerBottom = containerTop + containerHeight; - var elementHeight = element.offsetHeight; - var elementTop = element.getBoundingClientRect().top + windowTop; - var elementBottom = elementTop + elementHeight; - var newScrollTop = elementTop - containerTop + container.scrollTop; - var middleOffset = containerHeight / 2 - elementHeight / 2; - if (elementTop < containerTop) { - // scroll up - if (middle) { - newScrollTop -= middleOffset; - } - container.scrollTop = newScrollTop; - } else if (elementBottom > containerBottom) { - // scroll down - if (middle) { - newScrollTop += middleOffset; - } - var heightDifference = containerHeight - elementHeight; - container.scrollTop = newScrollTop - heightDifference; - } - } - }, { - key: "_updateDialCode", - value: function _updateDialCode(newDialCodeBare) { - var inputVal = this.telInput.value; - // save having to pass this every time - var newDialCode = "+".concat(newDialCodeBare); - var newNumber; - if (inputVal.charAt(0) === "+") { - // there's a plus so we're dealing with a replacement - var prevDialCode = this._getDialCode(inputVal); - if (prevDialCode) { - // current number contains a valid dial code, so replace it - newNumber = inputVal.replace(prevDialCode, newDialCode); - } else { - // current number contains an invalid dial code, so ditch it - // (no way to determine where the invalid dial code ends and the rest of the number begins) - newNumber = newDialCode; - } - this.telInput.value = newNumber; - } else if (this.options.autoInsertDialCode) { - if (inputVal) { - // there is an existing value with no dial code: prefix the new dial code - newNumber = newDialCode + inputVal; - } else { - newNumber = newDialCode; - } - this.telInput.value = newNumber; - } - } - }, { - key: "_getDialCode", - value: function _getDialCode(number, includeAreaCode) { - var dialCode = ""; - // only interested in international numbers (starting with a plus) - if (number.charAt(0) === "+") { - var numericChars = ""; - // iterate over chars - for (var i = 0; i < number.length; i++) { - var c = number.charAt(i); - // if char is number (https://stackoverflow.com/a/8935649/217866) - if (!isNaN(parseInt(c, 10))) { - numericChars += c; - // if current numericChars make a valid dial code - if (includeAreaCode) { - if (this.dialCodeToIso2Map[numericChars]) { - // store the actual raw string (useful for matching later) - dialCode = number.substr(0, i + 1); - } - } else { - if (this.dialCodes[numericChars]) { - dialCode = number.substr(0, i + 1); - // if we're just looking for a dial code, we can break as soon as we find one - break; - } - } - // stop searching as soon as we can - in this case when we hit max len - if (numericChars.length === this.dialCodeMaxLen) { - break; - } - } - } - } - return dialCode; - } - }, { - key: "_getFullNumber", - value: function _getFullNumber() { - var val = this.telInput.value.trim(); - var dialCode = this.selectedCountryData.dialCode; - var prefix; - var numericVal = this._getNumeric(val); - if (this.options.showSelectedDialCode && !this.options.nationalMode && val.charAt(0) !== "+" && dialCode && numericVal) { - // when using showSelectedDialCode, it is visible so is effectively part of the typed number - prefix = "+".concat(dialCode); - } else { - prefix = ""; - } - return prefix + val; - } - }, { - key: "_beforeSetNumber", - value: function _beforeSetNumber(fullNumber) { - var number = fullNumber; - if (this.options.showSelectedDialCode) { - var dialCode = this._getDialCode(number); - // if there is a valid dial code - if (dialCode) { - // in case _getDialCode returned an area code as well - dialCode = "+".concat(this.selectedCountryData.dialCode); - // a lot of numbers will have a space separating the dial code and the main number, and - // some NANP numbers will have a hyphen e.g. +1 684-733-1234 - in both cases we want to get - // rid of it - // NOTE: don't just trim all non-numerics as may want to preserve an open parenthesis etc - var start = number[dialCode.length] === " " || number[dialCode.length] === "-" ? dialCode.length + 1 : dialCode.length; - number = number.substr(start); - } - } - return this._cap(number); - } - }, { - key: "_triggerCountryChange", - value: function _triggerCountryChange() { - this._trigger("countrychange"); - } - }, { - key: "_formatNumberAsYouType", - value: function _formatNumberAsYouType() { - var val = this._getFullNumber(); - var result = window.intlTelInputUtils ? intlTelInputUtils.formatNumberAsYouType(val, this.selectedCountryData.iso2) : val; - // if showSelectedDialCode and they haven't (re)typed the dial code in the input as well, then remove the dial code - var dialCode = this.selectedCountryData.dialCode; - if (this.options.showSelectedDialCode && !this.options.nationalMode && this.telInput.value.charAt(0) !== "+" && result.includes("+".concat(dialCode))) { - var afterDialCode = result.split("+".concat(dialCode))[1] || ""; - return afterDialCode.trim(); - } - return result; - } - }, { - key: "handleAutoCountry", - value: function handleAutoCountry() { - if (this.options.initialCountry === "auto") { - // we must set this even if there is an initial val in the input: in case the initial val is - // invalid and they delete it - they should see their auto country - this.defaultCountry = window.intlTelInputGlobals.autoCountry; - // if there's no initial value in the input, then update the flag - if (!this.telInput.value) { - this.setCountry(this.defaultCountry); - } - this.resolveAutoCountryPromise(); - } - } - }, { - key: "handleUtils", - value: function handleUtils() { - // if the request was successful - if (window.intlTelInputUtils) { - // if there's an initial value in the input, then format it - if (this.telInput.value) { - this._updateValFromNumber(this.telInput.value); - } - if (this.selectedCountryData.iso2) { - this._updatePlaceholder(); - } - } - this.resolveUtilsScriptPromise(); - } - }, { - key: "destroy", - value: function destroy() { - var form = this.telInput.form; - if (this.options.allowDropdown) { - // make sure the dropdown is closed (and unbind listeners) - this._closeDropdown(); - this.selectedFlag.removeEventListener("click", this._handleClickSelectedFlag); - this.flagsContainer.removeEventListener("keydown", this._handleFlagsContainerKeydown); - // label click hack - var label = this.telInput.closest("label"); - if (label) { - label.removeEventListener("click", this._handleLabelClick); - } - } - // unbind hiddenInput listeners - if (this.hiddenInput && form) { - form.removeEventListener("submit", this._handleHiddenInputSubmit); - } - // unbind autoInsertDialCode listeners - if (this.options.autoInsertDialCode) { - if (form) { - form.removeEventListener("submit", this._handleSubmitOrBlurEvent); - } - this.telInput.removeEventListener("blur", this._handleSubmitOrBlurEvent); - } - // unbind key events, and cut/paste events - this.telInput.removeEventListener("input", this._handleKeyEvent); - this.telInput.removeEventListener("cut", this._handleClipboardEvent); - this.telInput.removeEventListener("paste", this._handleClipboardEvent); - // remove attribute of id instance: data-intl-tel-input-id - this.telInput.removeAttribute("data-intl-tel-input-id"); - // remove markup (but leave the original input) - var wrapper = this.telInput.parentNode; - wrapper.parentNode.insertBefore(this.telInput, wrapper); - wrapper.parentNode.removeChild(wrapper); - delete window.intlTelInputGlobals.instances[this.id]; - } - }, { - key: "getExtension", - value: function getExtension() { - if (window.intlTelInputUtils) { - return intlTelInputUtils.getExtension(this._getFullNumber(), this.selectedCountryData.iso2); - } - return ""; - } - }, { - key: "getNumber", - value: function getNumber(format) { - if (window.intlTelInputUtils) { - var iso2 = this.selectedCountryData.iso2; - return intlTelInputUtils.formatNumber(this._getFullNumber(), iso2, format); - } - return ""; - } - }, { - key: "getNumberType", - value: function getNumberType() { - if (window.intlTelInputUtils) { - return intlTelInputUtils.getNumberType(this._getFullNumber(), this.selectedCountryData.iso2); - } - return -99; - } - }, { - key: "getSelectedCountryData", - value: function getSelectedCountryData() { - return this.selectedCountryData; - } - }, { - key: "getValidationError", - value: function getValidationError() { - if (window.intlTelInputUtils) { - var iso2 = this.selectedCountryData.iso2; - return intlTelInputUtils.getValidationError(this._getFullNumber(), iso2); - } - return -99; - } - }, { - key: "isValidNumber", - value: function isValidNumber(mobileOnly) { - var val = this._getFullNumber(); - return window.intlTelInputUtils ? intlTelInputUtils.isPossibleNumber(val, this.selectedCountryData.iso2, mobileOnly) : null; - } - }, { - key: "isValidNumberPrecise", - value: function isValidNumberPrecise() { - var val = this._getFullNumber(); - return window.intlTelInputUtils ? intlTelInputUtils.isValidNumber(val, this.selectedCountryData.iso2) : null; - } - }, { - key: "setCountry", - value: function setCountry(iso2) { - var iso2Lower = iso2.toLowerCase(); - // check if already selected - if (this.selectedCountryData.iso2 !== iso2Lower) { - this._setFlag(iso2Lower); - this._updateDialCode(this.selectedCountryData.dialCode); - this._triggerCountryChange(); - } - } - }, { - key: "setNumber", - value: function setNumber(number) { - // we must update the flag first, which updates this.selectedCountryData, which is used for - // formatting the number before displaying it - var flagChanged = this._updateFlagFromNumber(number); - this._updateValFromNumber(number); - if (flagChanged) { - this._triggerCountryChange(); - } - } - }, { - key: "setPlaceholderNumberType", - value: function setPlaceholderNumberType(type) { - this.options.placeholderNumberType = type; - this._updatePlaceholder(); - } - } ]); - return Iti; - }(); - /******************** - * STATIC METHODS - ********************/ - // get the country data object - intlTelInputGlobals.getCountryData = function() { - return allCountries; - }; - // inject a