PageSourceSearch

https://cloud.staxxer.com/build/190.2d1d812d.js

js staxxer.com collected 2026-09-24 09:50:51 UTC 47,399 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkmarketphase=self.webpackChunkmarketphase||[]).push([[190],{6190(t,e,i){i.d(e,{Ay:()=>Vt});var s=[];for(const t of[["af","93",0,null,"0"],["ax","358",1,["18","4","50"],"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","50"],"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","79111","79117"],"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","77003","77007","77008","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,["2689","269","639","7093"],"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"]])s.push({name:"",iso2:t[0],dialCode:t[1],priority:t[2]||0,areaCodes:t[3]||null,
1nationalPrefix:t[4]||null});var n=new Set(s.map(t=>t.iso2)),o=t=>n.has(t),l=s,r="open:countryselector",a="close:countryselector",u="countrychange",c="input",h="strict:reject",d="iti__hide",p="iti__v-hide",y="iti__arrow--up",C="iti__globe",m="iti__flag",g="iti__loading",E="iti__country",f="iti__highlight",b="iti__strict-reject-animation",I="ArrowUp",S="ArrowDown",L=" ",v="Enter",N="Escape",A="Tab",w="insertFromPaste",T="deleteContentForward",O={ALPHA_UNICODE:/\p{L}/u,NON_PLUS_NUMERIC:/[^+0-9]/,NON_PLUS_NUMERIC_GLOBAL:/[^+0-9]/g,HIDDEN_SEARCH_CHAR:/^[a-zA-ZÀ-ÿа-яА-Я ]$/},D=100,_=1e3,k=500,P=78,F=42,R=6,x=3,M=200,$="1",U="44",B="7",j=10,V="us",W={AGGRESSIVE:"AGGRESSIVE",POLITE:"POLITE",OFF:"OFF"},z=["OFF","DROPDOWN","FULLSCREEN","AUTO"],H=["FIXED_LINE","MOBILE","FIXED_LINE_OR_MOBILE","TOLL_FREE","PREMIUM_RATE","SHARED_COST","VOIP","PERSONAL_NUMBER","PAGER","UAN","VOICEMAIL","UNKNOWN"],K=t=>Object.fromEntries(t.map(t=>[t,t])),G=K(["E164","INTERNATIONAL","NATIONAL","RFC3966"]),Y=K(H),q=K(["IS_POSSIBLE","INVALID_COUNTRY_CODE","TOO_SHORT","TOO_LONG","IS_POSSIBLE_LOCAL_ONLY","INVALID_LENGTH"]),J=K(z),Q="iso2",X="dialCode",Z="intlTelInputId",tt="aria-expanded",et="aria-label",it="aria-selected",st="aria-activedescendant",nt="aria-haspopup",ot="aria-controls",lt="aria-hidden",rt="aria-autocomplete",at="aria-modal",ut={selectedCountryAriaLabel:"Change country for phone number, currently selected ${countryName} (${dialCode})",noCountrySelected:"Select country for phone number",countryListAriaLabel:"List of countries",searchPlaceholder:"Search",clearSearchAriaLabel:"Clear search",searchEmptyState:"No results found",searchSummaryAria:t=>0===t?"No results found":1===t?"1 result found":`${t} results found`},ct=t=>"undefined"!=typeof window&&"function"==typeof window.matchMedia&&window.matchMedia(t).matches,ht=()=>ct(`(max-width: ${k}px)`),dt={countrySelectorMode:J.AUTO,allowedNumberTypes:[Y.MOBILE,Y.FIXED_LINE],allowNumberExtensions:!1,allowPhonewords:!1,containerClass:"",countryNameLocale:"en",countryNameOverrides:{},countryOrder:null,countrySearch:!0,customPlaceholder:null,dropdownAlwaysOpen:!1,dropdownParent:null,excludeCountries:null,matchDropdownWidth:!0,formatAsYouType:!0,hiddenInputs:null,uiTranslations:{},initialCountry:"",initialCountryLookup:null,loadUtils:null,numberDisplayFormat:G.INTERNATIONAL,onlyCountries:null,placeholderNumberPolicy:W.POLITE,placeholderNumberType:Y.MOBILE,searchInputClass:"",separateDialCode:!0,strictRejectAnimation:!0,showFlags:!0,strictMode:!0},pt=t=>JSON.stringify(t),yt=t=>Boolean(t)&&"object"==typeof t&&!Array.isArray(t),Ct=t=>"function"==typeof t,mt=t=>{if(!t||"object"!=typeof t)return!1;const e=t;return 1===e.nodeType&&"string"==typeof e.tagName&&"function"==typeof e.appendChild},gt=new Set(Object.values(W)),Et=t=>{console.warn(`[intl-tel-input] ${t}`)},ft=(t,e,i)=>{Et(`Option '${t}' must be ${e}; got ${pt(i)}. Ignoring.`)},bt=(t,e)=>{const i="an array of iso2 country code strings";if(!Array.isArray(e))return ft(t,i,e),!1;const s=[];for(const n of e){if("string"!=typeof n)return ft(t,i,e),!1;const l=n.toLowerCase();o(l)?s.push(n):Et(`Invalid iso2 code in '${t}': '${n}'. Skipping.`)}return s},It=t=>{t.countrySelectorMode===J.AUTO&&(t.countrySelectorMode=(()=>{if("undefined"!=typeof navigator&&"undefined"!=typeof window){const t=ct("(max-height: 600px)"),e=ct("(pointer: coarse)");
1if(ht()||e&&t)return J.FULLSCREEN}return J.DROPDOWN})()),t.dropdownAlwaysOpen&&(t.countrySelectorMode=J.DROPDOWN),t.countrySelectorMode===J.FULLSCREEN?t.matchDropdownWidth=!1:ht()&&(t.matchDropdownWidth=!0),1===t.onlyCountries?.length&&(t.initialCountry=t.onlyCountries[0]),t.separateDialCode&&t.numberDisplayFormat===G.NATIONAL&&(t.numberDisplayFormat=G.INTERNATIONAL),t.countrySelectorMode===J.OFF||t.showFlags||t.separateDialCode||t.numberDisplayFormat!==G.NATIONAL||(t.numberDisplayFormat=G.INTERNATIONAL),t.uiTranslations={...ut,...t.uiTranslations}},St=t=>t.replace(/\D/g,""),Lt=(t="")=>t.normalize("NFD").replace(/[\u0300-\u036f]/g,"").toLowerCase(),vt=t=>Object.keys(t).filter(e=>Boolean(t[e])).join(" "),Nt=(t,e,i)=>{const s=document.createElement(t);return e&&Object.entries(e).forEach(([t,e])=>s.setAttribute(t,e)),i&&i.appendChild(s),s},At=([t,e,i])=>{const s=document.createElementNS("http://www.w3.org/2000/svg",t);if(e)for(const t in e)s.setAttribute(t,String(e[t]));if(i)for(const t of i)s.appendChild(At(t));return s},wt=()=>At(["svg",{width:256,height:256,viewBox:"0 0 512 512",class:"iti__globe-svg"},[["path",{d:"M508 213a240 240 0 0 0-449-87l-2 5-2 5c-8 14-13 30-17 46a65 65 0 0 1 56 4c16-10 35-19 56-27l9-3c-6 23-10 48-10 74h-16l4 6c3 4 5 8 6 13h6c0 22 3 44 8 65l2 10-25-10-4 5 12 18 9 3 6 2 8 3 9 26 1 2 16-7h1l-5-13-1-2c24 6 49 9 75 10v26l11 10 7 7v-30l1-13c22 0 44-3 65-8l10-2-21 48-1 1a317 317 0 0 1-14 23l-21 5h-2c6 16 7 33 1 50a240 240 0 0 0 211-265m-401-56-11 6c19-44 54-79 98-98-11 20-21 44-29 69-21 6-40 15-58 23m154 182v4c-29-1-57-6-81-13-7-25-12-52-13-81h94zm0-109h-94c1-29 6-56 13-81 24-7 52-12 81-13zm0-112c-22 1-44 4-65 8l-10 2 12-30 9-17 1-2a332 332 0 0 1 13-23c13-4 26-6 40-7zm187 69 6 4c4 12 6 25 6 38v1h-68c-1-26-4-51-10-74l48 20 1 1 14 8zm-14-44 10 20c-20-11-43-21-68-29-8-25-18-49-29-69 37 16 67 44 87 78M279 49h1c13 1 27 3 39 7l14 23 1 2a343 343 0 0 1 12 26l2 5 6 16c-23-6-48-9-74-10h-1zm0 87h1c29 1 56 6 81 13 7 24 12 51 12 80v1h-94zm2 207h-2v-94h95c-1 29-6 56-13 81-24 7-51 12-80 13m86 60-20 10c11-20 21-43 29-68 25-8 48-18 68-29-16 37-43 67-77 87m87-115-7 5-16 9-2 1a337 337 0 0 1-47 21c6-24 9-49 10-75h68c0 13-2 27-6 39"}],["path",{d:"m261 428-2-2-22-21a40 40 0 0 0-32-11h-1a37 37 0 0 0-18 8l-1 1-4 2-2 2-5 4c-9-3-36-31-47-44s-32-45-34-55l3-2a151 151 0 0 0 11-9v-1a39 39 0 0 0 5-48l-3-3-11-19-3-4-5-7h-1l-3-3-4-3-5-2a35 35 0 0 0-16-3h-5c-4 1-14 5-24 11l-4 2-4 3-4 2c-9 8-17 17-18 27a380 380 0 0 0 212 259h3c12 0 25-10 36-21l10-12 6-11a39 39 0 0 0-8-40"}]]]),Tt=t=>Lt(t).replace(/[^\p{L}]+/gu," ").trim(),Ot=class t{#t;static toAscii(t){return t?t.replace(/[Ù -Ù©]/g,t=>String.fromCharCode(t.charCodeAt(0)-1632+48)).replace(/[Û°-Û¹]/g,t=>String.fromCharCode(t.charCodeAt(0)-1776+48)):""}constructor(t){t&&this.#e(t)}#e(t){/[Ù -Ù©]/.test(t)?this.#t="arabic-indic":/[Û°-Û¹]/.test(t)?this.#t="persian":this.#t="ascii"}denormalise(t){if(!this.#t||"ascii"===this.#t)return t;const e="arabic-indic"===this.#t?1632:1776;return t.replace(/[0-9]/g,t=>String.fromCharCode(e+Number(t)))}normalise(e){return e?(this.#e(e),"ascii"===this.#t?e:t.toAscii(e)):""}isAscii(){return!this.#t||"ascii"===this.#t}},Dt="undefined"!=typeof CSS&&"function"==typeof CSS.supports&&CSS.supports("anchor-name: --x"),_t=class{#i;#s;#n;#o="";#l;#r;#a=null;#u;#c=!1;#h;#d;#p;#y;#C;#m;#g;#E;#f;#b;#I;#S;#L;#v;#N;#A=null;#w=null;#T=new Map;#O=null;#D;telInputEl;hadInitialPlaceholder;constructor(t,e,i){t.dataset[Z]=i.toString(),this.telInputEl=t,this.#i=e,this.#s=i,this.hadInitialPlaceholder=Boolean(t.getAttribute("placeholder")),this.#n=!!this.telInputEl.closest("[dir=rtl]"),this.#o=this.telInputEl.style.paddingLeft}static validateInput(t){const e=t?.tagName;if(!(Boolean(t)&&"object"==typeof t&&"INPUT"===e&&"function"==typeof t.setAttribute)){const e=Object.prototype.toString.call(t);throw new TypeError(`The first argument must be an HTMLInputElement, not ${e}`)}}buildMarkup(t,e){this.#l=t,this.#r=e,this.telInputEl.classList.add("iti__tel-input"),this.telInputEl.hasAttribute("type")||this.telInputEl.setAttribute("type","tel"),this.telInputEl.hasAttribute("autocomplete")||this.telInputEl.setAttribute("autocomplete","tel"),this.telInputEl.hasAttribute("inputmode")||this.telInputEl.setAttribute("inputmode","tel");const i=this.#_();this.#k(i),i.appendChild(this.telInputEl),this.#P(),this.#F(),this.#R(i),this.ensureDropdownWidthSet()}#_(){const{countrySelectorMode:t,showFlags:e,containerClass:i}=this.#i,s=vt({iti:!0,"iti--input-container":!0,"iti--has-country-selector":t!==J.OFF,"iti--show-flags":e,"iti--inline-country-selector":t!==J.FULLSCREEN,[i]:Boolean(i)}),n=Nt("div",{class:s});return this.#n&&n.setAttribute("dir","ltr"),this.telInputEl.before(n),n}
1#k(t){const{countrySelectorMode:e,separateDialCode:i,showFlags:s}=this.#i,n=e!==J.OFF;if(!n&&!s&&!i)return;this.#h=Nt("div",{class:`iti__country-container ${p}`},t),n?(this.#d=Nt("button",{type:"button",class:"iti__selected-country",[tt]:"false",[et]:this.#i.uiTranslations.noCountrySelected,[nt]:"dialog",[ot]:`iti-${this.#s}__country-selector`},this.#h),this.telInputEl.disabled&&this.#d.setAttribute("disabled","true")):this.#d=Nt("div",{class:"iti__selected-country"},this.#h);const o=Nt("div",{class:"iti__selected-country-primary"},this.#d);this.#p=Nt("div",{class:m},o),n&&(this.#C=Nt("div",{class:"iti__arrow",[lt]:"true"},o)),i&&(this.#y=Nt("div",{class:"iti__selected-dial-code"},this.#d)),n&&this.#x()}ensureDropdownWidthSet(){const{matchDropdownWidth:t,countrySelectorMode:e}=this.#i;if(e===J.OFF||!t||this.#m.style.width)return;const i=this.telInputEl.offsetWidth;i>0&&(this.#m.style.width=`${i}px`)}#x(){const{matchDropdownWidth:t,countrySelectorMode:e,countrySearch:i,uiTranslations:s,containerClass:n}=this.#i,o=e===J.FULLSCREEN,l=this.#M(),r=t?"":"iti--flexible-dropdown-width";if(this.#m=Nt("div",{id:`iti-${this.#s}__country-selector`,class:`iti__country-selector ${d} ${r}`,role:"dialog",[at]:"true"}),this.#n&&this.#m.setAttribute("dir","rtl"),i&&this.#$(),this.#b=Nt("ul",{class:"iti__country-list",id:`iti-${this.#s}__country-listbox`,role:"listbox",[et]:s.countryListAriaLabel},this.#m),this.#U(),i&&this.#B(),l){const t=vt({iti:!0,"iti--detached-country-selector":!0,"iti--fullscreen-popup":o,"iti--inline-country-selector":!o,[n]:Boolean(n)});this.#N=Nt("div",{class:t}),this.#N.appendChild(this.#m)}else this.#h.appendChild(this.#m)}#M(){const{countrySelectorMode:t,dropdownParent:e}=this.#i;return t===J.FULLSCREEN?document.body:t===J.DROPDOWN?e:null}#$(){const{uiTranslations:t,searchInputClass:e}=this.#i,i=Nt("div",{class:"iti__search-input-wrapper"},this.#m);this.#g=Nt("span",{class:"iti__search-icon",[lt]:"true"},i),this.#g.appendChild(At(["svg",{class:"iti__search-icon-svg",width:14,height:14,viewBox:"0 0 24 24",focusable:"false",[lt]:"true"},[["circle",{cx:11,cy:11,r:7}],["line",{x1:21,y1:21,x2:16.65,y2:16.65}]]])),this.#E=Nt("input",{id:`iti-${this.#s}__search-input`,type:"search",class:`iti__search-input ${e}`,placeholder:t.searchPlaceholder,role:"combobox",[tt]:"true",[et]:t.searchPlaceholder,[ot]:`iti-${this.#s}__country-listbox`,[rt]:"list",autocomplete:"off"},i),this.#f=Nt("button",{type:"button",class:`iti__search-clear ${d}`,[et]:t.clearSearchAriaLabel,tabindex:"-1"},i),this.#f.appendChild((t=>{const e=`iti-${t}-clear-mask`;return At(["svg",{class:"iti__search-clear-svg",width:12,height:12,viewBox:"0 0 16 16",[lt]:"true",focusable:"false"},[["mask",{id:e,maskUnits:"userSpaceOnUse"},[["rect",{width:16,height:16,fill:"white"}],["path",{d:"M5.2 5.2 L10.8 10.8 M10.8 5.2 L5.2 10.8",stroke:"black","stroke-linecap":"round",class:"iti__search-clear-x"}]]],["circle",{cx:8,cy:8,r:8,class:"iti__search-clear-bg",mask:`url(#${e})`}]]])})(this.#s)),this.#v=Nt("span",{class:"iti__a11y-text"},this.#m),this.#L=Nt("div",{class:`iti__no-results ${d}`,[lt]:"true"},this.#m),this.#L.textContent=t.searchEmptyState??null}#P(){this.#h&&(this.#j(),this.#h.classList.remove(p))}#R(t){const{hiddenInputs:e}=this.#i;if(!e)return;const i=e(this.telInputEl.getAttribute("name")||"");if(i.phone){const e=this.telInputEl.form?.querySelector(`input[name="${i.phone}"]`);e?this.#I=e:(this.#I=Nt("input",{type:"hidden",name:i.phone}),t.appendChild(this.#I))}if(i.country){const e=this.telInputEl.form?.querySelector(`input[name="${i.country}"]`);e?this.#S=e:(this.#S=Nt("input",{type:"hidden",name:i.country}),t.appendChild(this.#S))}}#U(){const t=document.createDocumentFragment();for(let e=0;e<this.#l.length;e++){const i=this.#l[e],s=vt({[E]:!0}),n=Nt("li",{id:`iti-${this.#s}__item-${i.iso2}`,class:s,tabindex:"-1",role:"option",[it]:"false"});n.dataset[X]=i.dialCode,n.dataset[Q]=i.iso2,this.#T.set(i.iso2,n),this.#i.showFlags&&Nt("div",{class:`${m} iti__${i.iso2}`},n);const o=Nt("span",{class:"iti__country-name"},n);o.textContent=`${i.name} `;const l=Nt("span",{class:"iti__dial-code"},o);this.#n&&l.setAttribute("dir","ltr"),l.textContent=`(+${i.dialCode})`,t.appendChild(n)}this.#b.appendChild(t)}#j(){if(this.#d){const t=this.#i.separateDialCode?P:F,e=(this.#d.offsetWidth||this.#V()||t)+R;this.telInputEl.style.paddingLeft=`${e}px`}}#F(){this.#d&&"undefined"!=typeof ResizeObserver&&(this.#D=new ResizeObserver(()=>{this.#d?.offsetWidth&&this.#j()}),this.#D.observe(this.#d))}#V(){if(!this.telInputEl.parentNode)return 0;const t=document.body,e=this.telInputEl.parentNode.cloneNode(!1);e.style.visibility="hidden",t.appendChild(e);const i=this.#h.cloneNode();e.appendChild(i);const s=this.#d.cloneNode(!0);i.appendChild(s);const n=s.offsetWidth;return t.removeChild(e),n}
1#W(){if(void 0!==this.#u)return;const{countrySearch:t,matchDropdownWidth:e}=this.#i,{height:i,width:s}=this.#z();this.#u=i,t&&(this.#m.style.height=`${i}px`,!e&&s>0&&(this.#m.style.width=`${s}px`))}#z(){const t=document.body,e=this.#m,i=e.parentNode,s=e.nextSibling;e.classList.remove(d);const n=Nt("div",{class:"iti iti--inline-country-selector"});n.appendChild(e),n.style.visibility="hidden",t.appendChild(n);const o=e.offsetHeight,l=e.offsetWidth;return t.removeChild(n),e.classList.add(d),i&&i.insertBefore(e,s),{height:o>0?o:M,width:l}}#B(){const{uiTranslations:t}=this.#i,e=this.#b.childElementCount;this.#v.textContent=t.searchSummaryAria(e)}#H(t){let e;if(""===t)e=this.#l;else{const i=Ot.toAscii(t);e=((t,e,i)=>{const s=Lt(i),n=Tt(i),o=""!==s&&""===n,l=[],r=[],a=[],u=[],c=[],h=[],d=[];for(const i of t){const t=e.get(i.iso2);i.iso2===s?l.push(i):!o&&t.normalisedName.startsWith(n)?r.push(i):!o&&t.normalisedName.includes(n)?a.push(i):s===i.dialCode||s===t.dialCodePlus?u.push(i):t.dialCodePlus.includes(s)?c.push(i):t.initials.includes(s)&&h.push(i)}const p=n.split(" ").filter(Boolean);if(p.length>1&&0===l.length&&0===r.length&&0===a.length){const i=new Set([...u.map(t=>t.iso2),...c.map(t=>t.iso2),...h.map(t=>t.iso2)]);for(const s of t){if(i.has(s.iso2))continue;const t=e.get(s.iso2);p.some(e=>t.words.some(t=>t.startsWith(e)))&&d.push(s)}}const y=(t,e)=>t.priority-e.priority;return[...l,...r,...a,...u.sort(y),...c.sort(y),...h,...d]})(this.#l,this.#r,i)}this.#K(e)}prefillSearchWithPlus(){this.#E.value="+",this.#E.focus(),this.#H("")}#G(){const t=this.#E.value.trim();this.#H(t),this.#E.value?this.#f.classList.remove(d):this.#f.classList.add(d)}#Y(){this.#a&&clearTimeout(this.#a),this.#a=setTimeout(()=>{this.#G(),this.#a=null},D)}#q(){this.#E.value="",this.#E.focus(),this.#G()}#J(t){const e=this.#b,i=e.getBoundingClientRect(),s=t.getBoundingClientRect(),n=s.top-i.top+e.scrollTop;s.top<i.top?e.scrollTop=n:s.bottom>i.bottom&&(e.scrollTop=n-i.height+s.height)}#Q(t,e=!0){if(this.#w?.classList.remove(f),t){if(t.classList.add(f),this.#i.countrySearch){const e=t.getAttribute("id")||"";this.#E.setAttribute(st,e)}e&&this.#J(t),this.#w=t}else this.#w=null}bindHiddenInputSubmitListener(t,e,i){const s=this.telInputEl.form;s&&(this.#I||this.#S)&&s.addEventListener("submit",()=>{this.#I&&(this.#I.value=e()),this.#S&&(this.#S.value=i())},{signal:t})}bindAllInitialCountrySelectorListeners(t,e,i){const s=this.telInputEl.closest("label");s&&s.addEventListener("click",t=>{this.isCountrySelectorOpen()?t.preventDefault():this.telInputEl.focus()},{signal:t}),this.#d.addEventListener("click",()=>{this.isCountrySelectorOpen()||this.telInputEl.disabled||this.telInputEl.readOnly||e()},{signal:t}),this.#h.addEventListener("keydown",t=>{const s=[I,S,L,v];!this.isCountrySelectorOpen()&&s.includes(t.key)&&(t.preventDefault(),t.stopPropagation(),e()),t.key===A&&i()},{signal:t})}openCountrySelector(t,e){const{countrySearch:i,dropdownAlwaysOpen:s}=this.#i;if(this.#O=new AbortController,this.#i.countrySelectorMode!==J.FULLSCREEN&&this.#W(),this.ensureDropdownWidthSet(),this.#N)this.#X();else{const t=this.#Z(),e=this.telInputEl.offsetHeight+x;t?this.#m.style.top=`${e}px`:this.#m.style.bottom=`${e}px`}this.#m.classList.remove(d),this.#d.setAttribute(tt,"true");const n=this.#A??this.#b.firstElementChild;n&&this.#Q(n),i&&!s&&this.#E.focus(),this.#i.countrySelectorMode===J.FULLSCREEN&&this.#N&&window.visualViewport&&window.visualViewport.addEventListener("resize",()=>{this.#tt(),this.#w&&this.#J(this.#w)},{signal:this.#O.signal}),this.#C.classList.add(y),this.#et(t,e)}#et(t,e){const i=this.#O.signal;this.#it(i),this.#st(i,t),this.#i.dropdownAlwaysOpen||this.#nt(i,e),this.#ot(i,t,e),this.#i.countrySearch&&this.#lt(i),this.#i.countrySelectorMode===J.DROPDOWN&&this.#i.dropdownParent&&!Dt&&document.addEventListener("scroll",e,{signal:i,capture:!0,passive:!0})}#it(t){this.#b.addEventListener("mouseover",t=>{const e=t.target?.closest(`.${E}`);e&&this.#Q(e,!1)},{signal:t})}#st(t,e){this.#b.addEventListener("click",t=>{const i=t.target?.closest(`.${E}`);i&&e(i)},{signal:t})}#nt(t,e){setTimeout(()=>{document.documentElement.addEventListener("click",t=>{this.#m.contains(t.target)||e()},{signal:t})},0)}#ot(t,e,i){let s="",n=null;const o=t=>{[I,S,v,N].includes(t.key)&&(t.preventDefault(),t.stopPropagation(),t.key===I||t.key===S?this.#rt(t.key):t.key!==v||t.isComposing?t.key===N&&(i(),this.#d.focus()):e(this.#w)),!this.#i.countrySearch&&O.HIDDEN_SEARCH_CHAR.test(t.key)&&(t.stopPropagation(),n&&clearTimeout(n),s+=t.key.toLowerCase(),this.#at(s),n=setTimeout(()=>{s=""},_))};this.#d?.addEventListener("keydown",o,{signal:t}),this.#m?.addEventListener("keydown",o,{signal:t})}#lt(t){this.#E.addEventListener("input",()=>this.#Y(),{signal:t}),this.#f.addEventListener("click",()=>this.#q(),{signal:t})}#at(t){const e=((t,e,i)=>{const s=Tt(i);for(const i of t){const{normalisedName:t}=e.get(i.iso2);if(t.startsWith(s))return i}return null})(this.#l,this.#r,t);if(e){const t=this.#T.get(e.iso2);this.#Q(t)}}#rt(t){let e=t===I?this.#w?.previousElementSibling:this.#w?.nextElementSibling;!e&&this.#b.childElementCount>1&&(e=t===I?this.#b.lastElementChild:this.#b.firstElementChild),e&&this.#Q(e)}#ut(t){if(this.#A&&this.#A.dataset[Q]!==t&&(this.#A.setAttribute(it,"fal
1se"),this.#A.querySelector(".iti__country-check")?.remove(),this.#A=null),t&&!this.#A){const e=this.#b.querySelector(`[data-iso2="${t}"]`);if(e){e.setAttribute(it,"true");Nt("span",{class:"iti__country-check",[lt]:"true"},e).appendChild(At(["svg",{class:"iti__country-check-svg",width:14,height:14,viewBox:"0 0 16 16",fill:"currentColor",focusable:"false",[lt]:"true"},[["path",{d:"M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0m-3.97-3.03a.75.75 0 0 0-1.08.022L7.477 9.417 5.384 7.323a.75.75 0 0 0-1.06 1.06L6.97 11.03a.75.75 0 0 0 1.079-.02l3.992-4.99a.75.75 0 0 0-.01-1.05z"}]]])),this.#A=e,this.#i.dropdownAlwaysOpen&&this.#Q(e)}}}#K(t){this.#b.replaceChildren();let e=!0;for(const i of t){const t=this.#T.get(i.iso2);t&&(this.#b.appendChild(t),e&&(this.#Q(t,!1),e=!1))}e?(this.#Q(null),this.#L&&this.#L.classList.remove(d)):this.#L&&this.#L.classList.add(d),this.#b.scrollTop=0,this.#B()}closeCountrySelector(){const{countrySearch:t}=this.#i;this.#O.abort(),this.#O=null,this.#m.classList.add(d),this.#d.setAttribute(tt,"false"),t&&(this.#E.removeAttribute(st),this.#E.value="",this.#G(),this.#w&&(this.#w.classList.remove(f),this.#w=null)),this.#C.classList.remove(y),this.#N?(this.#N.remove(),this.#N.style.top="",this.#N.style.bottom="",this.#N.style.paddingLeft="",this.#N.style.paddingRight=""):(this.#m.style.top="",this.#m.style.bottom="")}#Z(){if(this.#i.dropdownAlwaysOpen)return!0;const t=this.telInputEl.getBoundingClientRect(),e=t.top,i=window.innerHeight-t.bottom;return i>=this.#u||i>=e}#X(){const t=this.#i.countrySelectorMode===J.FULLSCREEN,e=this.#M();if(t){if(window.innerWidth>=k){const t=this.telInputEl.getBoundingClientRect();this.#N.style.paddingLeft=`${t.left}px`,this.#N.style.paddingRight=window.innerWidth-t.right+"px"}}else this.#ct();if(!t&&!Dt){const t=this.telInputEl.getBoundingClientRect();this.#N.style.left=`${t.left}px`,this.#Z()?this.#N.style.top=`${t.bottom+x}px`:(this.#N.style.top="unset",this.#N.style.bottom=`${window.innerHeight-t.top+x}px`)}e.appendChild(this.#N)}#ct(){if(this.#c)return;this.#c=!0;const t=`--iti-anchor-${this.#s}`,e=getComputedStyle(this.telInputEl).anchorName;this.telInputEl.style.anchorName=e&&"none"!==e?`${e}, ${t}`:t,this.#N.style.positionAnchor=t}#tt(){const t=window.visualViewport;if(!t||!this.#N)return;const e=window.innerHeight-t.height;this.#N.style.bottom=`${e}px`}isCountrySelectorOpen(){return!this.#m.classList.contains(d)}setLoading(t){this.#p.classList.toggle(g,t)}playStrictRejectAnimation(){if(!this.#i.strictRejectAnimation)return;const t=this.telInputEl.parentElement;t&&(t.classList.remove(b),t.offsetWidth,t.classList.add(b),t.addEventListener("animationend",()=>t.classList.remove(b),{once:!0}))}isLoading(){return this.#p.classList.contains(g)}setDisabled(t){this.telInputEl.disabled=t,this.#d&&(t?this.#d.setAttribute("disabled","true"):this.#d.removeAttribute("disabled"))}setReadonly(t){this.telInputEl.readOnly=t,this.#d&&(t?this.#d.setAttribute("disabled","true"):this.#d.removeAttribute("disabled"))}setSelectedCountry(t){const{countrySelectorMode:e,showFlags:i,separateDialCode:s,uiTranslations:n}=this.#i,o=t?.name,l=t?.dialCode,r=t?.iso2??"";if(e!==J.OFF&&this.#ut(r),this.#d){const t=r&&i?`${m} iti__${r}`:`${m} ${C}`;let e,s,a=null;r?(s=o,e=n.selectedCountryAriaLabel.replace("${countryName}",o).replace("${dialCode}",`+${l}`),i||(a=wt())):(s=n.noCountrySelected,e=n.noCountrySelected,a=wt()),this.#p.className=t,this.#d.setAttribute("title",s),this.#d.setAttribute(et,e),a?this.#p.replaceChildren(a):this.#p.replaceChildren()}if(s){const t=l?`+${l}`:"";this.#y.textContent=t,this.#j()}}destroy(){this.telInputEl.iti=void 0,delete this.telInputEl.dataset[Z],this.#D?.disconnect(),this.telInputEl.style.paddingLeft=this.#o;const t=this.telInputEl.parentNode;t&&(t.before(this.telInputEl),t.remove()),this.#T.clear()}},kt=new Set(["800","808","870","881","882","883","888","979"]),Pt=t=>{const e=St(t).slice(0,3);return t.startsWith("+")&&kt.has(e)},Ft=(t,e,i,s)=>{if(!i||!e)return t;const n=`+${s.dialCode}`,o=" "===t[n.length]||"-"===t[n.length]?n.length+1:n.length;return t.substring(o)},Rt=new Set(["800","822","833","844","855","866","877","880","881","882","883","884","885","886","887","888","889"]),xt=t=>{const e=St(t);if(e.startsWith($)&&e.length>=4){const t=e.substring(1,4);return Rt.has(t)}return!1},Mt=0,$t=t=>{if(!jt.utils)throw new Error(`intlTelInput.utils is required for ${t}(). See: https://intl-tel-input.com/docs/utils`)},Ut=()=>{let t,e;return{promise:new Promise((i,s)=>{t=i,e=s}),resolve:t,reject:e}},Bt=class t{id;promise;#ht;#i;#dt;#l;#pt;#yt;#Ct;#mt;#r;#gt=null;#Et=null;#ft;#bt=!0;#It;#St;#Lt=!1;#vt=null;#Nt;#At;constructor(t,e={}){this.id=Mt++,_t.validateInput(t);const i=(t=>{if(void 0===t)return{};if(!yt(t)){const e=`The second argument must be an options object; got ${pt(t)}. Using defaults.`;return Et(e),{}}const e={};for(const[i,s]of Object.entries(t))if(Object.hasOwn(dt,i))switch(i){case"allowNumberExtensions":case"allowPhonewords":case"countrySearch":case"dropdownAlwaysOpen":case"matchDropdownWidth":case"formatAsYouType":case"showFlags":case"separateDialCode":case"strictMode":case"strictRejectAnimation":if("boolean"!=typeof s){ft(i,"a boolean",s);break}e[i]=s;break;case"countrySelectorMode":if("string"!=typeof s||!z.includes(s)){ft("countrySelectorMode",`one of ${z.map(t=>`"${t}"`).join(", ")}`,s);break}e[i]=s;break;
1case"numberDisplayFormat":if("string"!=typeof s||s===G.RFC3966||s!==G.E164&&s!==G.INTERNATIONAL&&s!==G.NATIONAL){ft("numberDisplayFormat",'one of "E164", "INTERNATIONAL", "NATIONAL"',s);break}e[i]=s;break;case"placeholderNumberPolicy":if("string"!=typeof s||!gt.has(s)){const t=Array.from(gt).join(", ");ft("placeholderNumberPolicy",`one of ${t}`,s);break}e[i]=s;break;case"containerClass":case"searchInputClass":case"countryNameLocale":if("string"!=typeof s){ft(i,"a string",s);break}e[i]=s;break;case"countryOrder":if(null===s)e[i]=s;else{const t=bt(i,s);!1!==t&&(e[i]=t)}break;case"customPlaceholder":case"hiddenInputs":case"initialCountryLookup":case"loadUtils":if(null!==s&&!Ct(s)){ft(i,"a function or null",s);break}e[i]=s;break;case"dropdownParent":if(null!==s&&!mt(s)){ft("dropdownParent","an HTMLElement or null",s);break}e[i]=s;break;case"excludeCountries":case"onlyCountries":if(null===s)e[i]=s;else{const t=bt(i,s);!1!==t&&(e[i]=t)}break;case"uiTranslations":if(s&&!yt(s)){ft("uiTranslations","an object",s);break}e[i]=s;break;case"countryNameOverrides":if(s&&!yt(s)){ft("countryNameOverrides","an object",s);break}e[i]=s;break;case"initialCountry":{if("string"!=typeof s){ft("initialCountry","a string",s);break}const t=s.toLowerCase();if(t&&!o(t)){ft("initialCountry","a valid iso2 country code",s);break}e[i]=s;break}case"placeholderNumberType":if("string"!=typeof s||!H.includes(s)){const t=H.join(", ");ft("placeholderNumberType",`one of ${t}`,s);break}e[i]=s;break;case"allowedNumberTypes":if(null!==s){if(!Array.isArray(s)){ft("allowedNumberTypes","an array of number types or null",s);break}let t=!0;for(const e of s)if("string"!=typeof e||!H.includes(e)){const i=H.join(", ");ft("allowedNumberTypes",`an array of valid number types (${i})`,e),t=!1;break}t&&(e[i]=s)}else e[i]=null}else Et(`Unknown option '${i}'. Ignoring.`);return e})(e);var s;this.#i={...dt,...i},(s=this.#i).initialCountry&&(s.initialCountry=s.initialCountry.toLowerCase()),s.onlyCountries?.length&&(s.onlyCountries=s.onlyCountries.map(t=>t.toLowerCase())),s.excludeCountries?.length&&(s.excludeCountries=s.excludeCountries.map(t=>t.toLowerCase())),s.countryOrder&&(s.countryOrder=s.countryOrder.map(t=>t.toLowerCase())),It(this.#i),this.#ht=new _t(t,this.#i,this.id),this.#dt="undefined"!=typeof navigator&&/Android/i.test(navigator.userAgent),this.#St=new Ot(t.value),this.promise=this.#wt(this.#i),this.#l=(t=>{const{onlyCountries:e,excludeCountries:i}=t;return e?.length?l.filter(t=>e.includes(t.iso2)):i?.length?l.filter(t=>!i.includes(t.iso2)):[...l]})(this.#i);const{dialCodes:n,dialCodeMaxLength:r,dialCodeToIso2Map:a}=(t=>{const e=new Set;let i=0;const s={},n=(t,e)=>{if(!t||!e)return;e.length>i&&(i=e.length),Object.hasOwn(s,e)||(s[e]=[]);const n=s[e];n.includes(t)||n.push(t)},o=[...t].sort((t,e)=>t.priority-e.priority);for(const t of o){e.has(t.dialCode)||e.add(t.dialCode);for(let e=1;e<t.dialCode.length;e++){const i=t.dialCode.substring(0,e);n(t.iso2,i)}if(n(t.iso2,t.dialCode),t.areaCodes){const e=s[t.dialCode][0];for(const i of t.areaCodes){for(let s=1;s<i.length;s++){const o=i.substring(0,s),l=t.dialCode+o;n(e,l),n(t.iso2,l)}n(t.iso2,t.dialCode+i)}}}return{dialCodes:e,dialCodeMaxLength:i,dialCodeToIso2Map:s}})(this.#l);this.#Ct=n,this.#pt=r,this.#yt=a,this.#mt=new Map(this.#l.map(t=>[t.iso2,t])),this.#Tt()}#Ot(){const t=this.#ht.telInputEl.value.trim();return this.#St.normalise(t)}#Dt(t){this.#ht.telInputEl.value=this.#St.denormalise(t)}#wt(t){const{initialCountry:e,initialCountryLookup:i,loadUtils:s}=t,n=!e&&Boolean(i),o=Boolean(s)&&!jt.utils;return n&&(this.#Nt=Ut()),o&&(this.#At=Ut()),Promise.all([this.#Nt?.promise,this.#At?.promise]).then(()=>{})}#Tt(){this.#It=new AbortController,this.#_t(),this.#ht.buildMarkup(this.#l,this.#r),this.#kt(),this.#Pt(),this.#Ft(),this.#i.dropdownAlwaysOpen&&this.openCountrySelector()}#_t(){((t,e)=>{const{countryNameLocale:i,countryNameOverrides:s,uiTranslations:n}=e,o=n?.countryNames;let l;try{l="undefined"!=typeof Intl&&"function"==typeof Intl.DisplayNames?new Intl.DisplayNames(i,{type:"region"}):null}catch(t){console.error(t),l=null}for(const e of t)e.name=s[e.iso2]||o?.[e.iso2]||l?.of(e.iso2.toUpperCase())||""})(this.#l,this.#i),((t,e)=>{const{countryOrder:i}=e;t.sort((t,e)=>{if(i){const s=i.indexOf(t.iso2),n=i.indexOf(e.iso2),o=s>-1,l=n>-1;if(o||l)return o&&l?s-n:o?-1:1}return t.name.localeCompare(e.name)}
1)})(this.#l,this.#i),this.#r=(t=>{const e=new Map;for(const i of t){const t=Tt(i.name),s=t.split(" ").filter(Boolean),n=s.map(t=>t[0]||"").join("");e.set(i.iso2,{normalisedName:t,words:s,initials:n,dialCodePlus:`+${i.dialCode}`})}return e})(this.#l)}#kt(t=!1){const e=this.#ht.telInputEl.getAttribute("value"),i=this.#St.normalise(e??""),s=this.#Ot(),n=i&&i.startsWith("+")&&(!s||!s.startsWith("+"))?i:s,l=this.#Rt(n),r=xt(n),{initialCountry:a,initialCountryLookup:u}=this.#i,c=!a&&Boolean(u),h=c&&jt.autoCountry?jt.autoCountry:a,d=c&&!t&&!jt.autoCountry,p=o(h);l?r?p?this.#xt(h):d||this.#xt(V):(p&&this.#xt(h),this.#Mt(n)):p?this.#xt(h):d||this.#xt(""),n&&this.#$t(n)}#Pt(){this.#Ut(),this.#i.countrySelectorMode!==J.OFF&&this.#ht.bindAllInitialCountrySelectorListeners(this.#It.signal,()=>this.openCountrySelector(),()=>this.#Bt()),this.#ht.bindHiddenInputSubmitListener(this.#It.signal,()=>this.getNumber(),()=>this.#gt?.iso2||"")}#Ft(){if(this.#At){const{loadUtils:t}=this.#i,e=()=>{jt.attachUtils(t).catch(()=>{})};jt.documentReady()?e():window.addEventListener("load",e,{signal:this.#It.signal})}this.#Nt&&(this.#gt?this.#Nt.resolve():this.#jt())}async#jt(){if(jt.autoCountry)this.#Vt();else if(this.#ht.setLoading(!0),!jt.startedLoadingAutoCountry&&(jt.startedLoadingAutoCountry=!0,"function"==typeof this.#i.initialCountryLookup)){let e;try{const i=await Promise.race([this.#i.initialCountryLookup(),new Promise((t,i)=>{e=setTimeout(()=>i(new Error("intl-tel-input: initialCountryLookup timed out after 10s")),1e4)})]),s="string"==typeof i?i.toLowerCase():"";if(!o(s))return jt.startedLoadingAutoCountry=!1,void t.forEachInstance("handleAutoCountryFailure");jt.autoCountry=s,setTimeout(()=>t.forEachInstance("handleAutoCountryLoaded"))}catch{jt.startedLoadingAutoCountry=!1,t.forEachInstance("handleAutoCountryFailure")}finally{void 0!==e&&clearTimeout(e)}}}#Wt(){this.openCountrySelector(),this.#ht.prefillSearchWithPlus()}#zt(t){const e=this.#ht.telInputEl.selectionStart||0,i=t.substring(0,e-1),s=t.substring(e);return this.#Dt(i+s),e-1}#Ut(){this.#Ht(),this.#Kt(),this.#Gt()}#Yt(t){this.#zt(t),this.#Wt()}#qt(t,e){const i=this.#zt(t);this.#ht.telInputEl.setSelectionRange(i,i),this.#ht.playStrictRejectAnimation(),this.#Jt(h,{source:"key",rejectedInput:e,reason:"invalid"})}#Qt(t,e){const i=this.#ht.telInputEl.selectionStart||0,s=t.substring(0,i).replace(O.NON_PLUS_NUMERIC_GLOBAL,"").length,n=((t,e,i,s,n)=>{const o=i?i.formatNumberAsYouType(t,s?.iso2):t,l=s?.dialCode;if(n&&"+"!==e.charAt(0)&&o.includes(`+${l}`))return(o.split(`+${l}`)[1]||"").trim();return o})(this.#Xt(),t,jt.utils,this.#gt,this.#i.separateDialCode),o=((t,e,i,s)=>{if(0===i&&!s)return 0;let n=0;for(let i=0;i<e.length;i++){if(/[+0-9]/.test(e[i])&&n++,n===t&&!s)return i+1;if(s&&n===t+1)return i}return e.length})(s,n,i,e);this.#Dt(n),this.#ht.telInputEl.setSelectionRange(o,o)}#Zt(t){if(t.startsWith("+")&&this.#gt&&this.#Rt(t)){const e=Ft(t,!0,!0,this.#gt);this.#Dt(e)}}#Ht(){this.#Lt=O.ALPHA_UNICODE.test(this.#Ot()),this.#ht.telInputEl.addEventListener("input",this.#te,{signal:this.#It.signal})}#te=t=>{const{strictMode:e,formatAsYouType:i,separateDialCode:s,countrySelectorMode:n,countrySearch:o}=this.#i,l=t?.detail;if(l?.isCountryChange)return;let r=this.#Ot();const a=t?.inputType===w,u=e&&a;if(this.#dt&&!a&&"+"===t?.data&&s&&n!==J.OFF&&o)return void this.#Yt(r);if(this.#dt&&!a&&e&&(" "===t?.data||"-"===t?.data||"."===t?.data))return void this.#qt(r,t.data);if(u){if(this.#ee())return;r=this.#Ot()}this.#Mt(r)&&(this.#ie(),this.#Jt(c,{isCountryChange:!0}));!u&&t?.data&&O.NON_PLUS_NUMERIC.test(t.data)||a&&r&&!e?this.#Lt=!0:O.NON_PLUS_NUMERIC.test(r)||(this.#Lt=!1),i&&!this.#Lt&&!l?.isSetNumber&&this.#St.isAscii()&&this.#Qt(r,t?.inputType===T),s&&this.#Zt(r)};#Kt(){const{strictMode:t,separateDialCode:e}=this.#i;(t||e)&&this.#ht.telInputEl.addEventListener("keydown",this.#se,{signal:this.#It.signal})}#se=t=>{const{strictMode:e,separateDialCode:i,countrySelectorMode:s,countrySearch:n}=this.#i;if(!t.key||1!==t.key.length||t.altKey||t.ctrlKey||t.metaKey)return;if(i&&s!==J.OFF&&n&&"+"===t.key)return t.preventDefault(),void this.#Wt();if(!e)return;const o=this.#Ot(),l=!o.startsWith("+")&&0===this.#ht.telInputEl.selectionStart&&"+"===t.key,r=this.#St.normalise(t.key),a=/^[0-9]$/.test(r),u=i?a:l||a,c=this.#ht.telInputEl,d=c.selectionStart,p=c.selectionEnd,y=o.slice(0,d??void 0)+r+o.slice(p??void 0),C=this.#ne(y);let m=!1;if(jt.utils&&this.#Et){m=jt.utils.getCoreNumber(C,this.#gt?.iso2).length>this.#Et}const g=this.#oe(C);u&&(!m||null!==g||l)||(this.#ht.playStrictRejectAnimation(),this.#Jt(h,{source:"key",rejectedInput
1:t.key,reason:u?"max-length":"invalid"}),t.preventDefault())};#Gt(){this.#i.strictMode&&this.#ht.telInputEl.addEventListener("paste",this.#le,{signal:this.#It.signal})}#le=t=>{const e=this.#ht.telInputEl,i=this.#Ot();this.#vt={pastedRaw:t.clipboardData?.getData("text")??"",value:i,selectionStart:e.selectionStart??i.length,selectionEnd:e.selectionEnd??i.length}};#ee(){const t=this.#ht.telInputEl,e=this.#vt;if(this.#vt=null,!e)return!1;const i=e.pastedRaw,s=e.value,n=e.selectionStart,o=e.selectionEnd,l=s.slice(0,n),r=s.slice(o),a=this.#gt?.iso2,u=this.#St.normalise(i),c=0===n&&o>0,d=!s.startsWith("+")||c,p=u.replace(O.NON_PLUS_NUMERIC_GLOBAL,""),y=p.startsWith("+"),C=p.replace(/\+/g,""),m=y&&d?`+${C}`:C;let g=l+m+r,E=m!==u?"invalid":null;if(g.length>30)return this.#ht.playStrictRejectAnimation(),this.#Jt(h,{source:"paste",rejectedInput:i,reason:"max-length"}),this.#re(e),!0;if(g.length>5&&jt.utils){let t=jt.utils.getCoreNumber(g,a);for(;0===t.length&&g.length>0;)g=g.slice(0,-1),t=jt.utils.getCoreNumber(g,a);if(!t)return this.#ht.playStrictRejectAnimation(),this.#Jt(h,{source:"paste",rejectedInput:i,reason:"max-length"}),this.#re(e),!0;if(this.#Et&&t.length>this.#Et){if(o!==s.length)return this.#ht.playStrictRejectAnimation(),this.#Jt(h,{source:"paste",rejectedInput:i,reason:"max-length"}),this.#re(e),!0;{const e=t.length-this.#Et;g=g.slice(0,g.length-e),E="max-length"}}}this.#Dt(g);const f=n+m.length;return t.setSelectionRange(f,f),E&&(u.length>0&&0===m.length&&this.#ht.playStrictRejectAnimation(),this.#Jt(h,{source:"paste",rejectedInput:i,reason:E})),!1}#re(t){this.#Dt(t.value),this.#ht.telInputEl.setSelectionRange(t.selectionStart,t.selectionEnd)}#ae(t){const e=Number(this.#ht.telInputEl.getAttribute("maxlength"));return e&&t.length>e?t.substring(0,e):t}#Jt(t,e={}){const i=new CustomEvent(t,{bubbles:!0,cancelable:!0,detail:e});this.#ht.telInputEl.dispatchEvent(i)}openCountrySelector(){this.#ht.isCountrySelectorOpen()||(this.#ht.openCountrySelector(t=>this.#ue(t),()=>this.#Bt()),this.#Jt(r))}#$t(t){const{numberDisplayFormat:e,separateDialCode:i}=this.#i;let s=t;if(jt.utils&&this.#gt){const n=Pt(t),o=!s.startsWith("+")&&!i;let l;l=e===G.NATIONAL&&!n||o?G.NATIONAL:e!==G.E164||n?G.INTERNATIONAL:G.E164,s=jt.utils.formatNumber(s,this.#gt?.iso2,l)}s=this.#ce(s),this.#Dt(s)}#Mt(t){const e=this.#oe(t);return null!==e&&this.#xt(e)}#he(t){const e=this.#gt?.dialCode,i=this.#gt?.nationalPrefix;if(t.startsWith("+")||!e)return t;return`+${e}${i&&t.startsWith(i)&&!this.#i.separateDialCode?t.substring(1):t}`}#oe(t){const e=t.indexOf("+");let i=e>0?t.substring(e):t;const s=this.#gt?.iso2;i=this.#he(i);const n=this.#Rt(i,!0),o=St(i);if(n){const t=St(n),e=this.#yt[t];return 1===e.length?e[0]===s?null:e[0]:this.#de(e,t,o)}if(i.startsWith("+")&&o.length){const t=this.#gt?.dialCode||"";return t&&t.startsWith(o)?null:""}return i&&"+"!==i||s||!this.#ft?null:this.#ft}#de(t,e,i){const s=this.#gt?.iso2,n=this.#gt?.dialCode;if(!s&&this.#ft&&t.includes(this.#ft))return this.#ft;if(n===$&&xt(i))return null;const o=this.#gt?.areaCodes,l=this.#gt?.priority;if(o){const t=o.map(t=>`${n}${t}`);for(const e of t)if(i.startsWith(e))return null}const r=o&&!(0===l)&&i.length>e.length,a=s&&t.includes(s)&&!r,u=s===t[0];return a||u?null:t[0]}#xt(t){const e=this.#gt?.iso2||"";return this.#gt=t?this.#mt.get(t):null,this.#gt&&(this.#ft=this.#gt.iso2),this.#ht.setSelectedCountry(this.#gt),this.#pe(),this.#ye(),e!==t}#ye(){const{strictMode:t,placeholderNumberType:e,allowedNumberTypes:i}=this.#i;if(!t||!jt.utils)return;const s=this.#gt?.iso2;if(!s)return void(this.#Et=null);let n=jt.utils.getExampleNumber(s,e,G.E164),o=n;for(;jt.utils.isValidNumber(n,s,i);)o=n,n+="0";const l=jt.utils.getCoreNumber(o,s);this.#Et=l.length,"by"===s&&(this.#Et=l.length+1)}#pe(){const{placeholderNumberPolicy:t,placeholderNumberType:e,numberDisplayFormat:i,customPlaceholder:s}=this.#i,n=t===W.AGGRESSIVE||!this.#ht.hadInitialPlaceholder&&t===W.POLITE;if(!jt.utils||!n)return;let o=this.#gt?jt.utils.getExampleNumber(this.#gt.iso2,e,i):"";o=this.#ce(o),"function"==typeof s&&(o=s(o,this.#gt)),this.#ht.telInputEl.setAttribute("placeholder",o)}#ue(t){if(!t)return;const e=t.dataset[Q],i=this.#xt(e);this.#Bt();const s=t.dataset[X];this.#Ce(s);const n=this.#Ot();this.#$t(n),this.#ht.telInputEl.focus(),i&&(this.#ie(),this.#Jt(c,{isCountryChange:!0}))}closeCountrySelector(){this.#Bt()}#Bt(t){!this.#ht.isCountrySelectorOpen()||this.#i.dropdownAlwaysOpen&&!t||(this.#ht.closeCountrySelector(),this.#Jt(a))}#Ce(t){const e=this.#Ot();if(!e.startsWith("+"))return;const i=`+${t}`,s=this.#Rt(e);let n;n=s?e.replace(s,i):i,this.#Dt(n)}#Rt(t,e){if(!t.startsWith("+"))return"";let i="",s="",n=!1;for(let o=0;o<t.length;o++){const l=t.charAt(o);if(!/[0-9]/.test(l))continue;s+=l;if(!Boolean(this.#yt[s]))break;if(this.#Ct.has(s)){if(i=t.substring(0,o+1),n=!0,!e)break}else e&&n&&(i=t.substring(0,o+1));if(s.length===this.#pt)break}return i}#ne(t){const e=this.#gt?.dialCode,i=St(t);return(this.#i.separateDialCode&&!t.startsWith("+")&&e&&i?`+${e}`:"")+t}#Xt(){const t=this.#Ot();return this.#ne(t)}#ce(t){const e=Boolean(this.#Rt(t)),i=Ft(t,e,this.#i.separateDialCode,this.#gt);return this.#ae(i)}#ie(){this.#Jt(u,this.#gt??null)}#Vt(){if(!this.#Nt||!jt.autoCountry)return;if(!this.#bt)return void this.#Nt.resolve();const t=document.activeElement===this.#ht.telInputEl,e=Boolean(this.#Ot()
1);!this.#ht.isLoading()||t&&e?this.#ft=jt.autoCountry:this.setSelectedCountry(jt.autoCountry),this.#ht.setLoading(!1),this.#Nt.resolve()}#me(){this.#bt?(this.#kt(!0),this.#ht.setLoading(!1),this.#Nt?.reject()):this.#Nt?.reject()}#ge(){if(!this.#bt)return void this.#At?.resolve();if(!jt.utils)return void this.#At?.resolve();const t=this.#Ot(),e=document.activeElement===this.#ht.telInputEl;t&&!e&&this.#$t(t),this.#gt&&(this.#pe(),this.#ye()),this.#At?.resolve()}#Ee(t){this.#bt,this.#At?.reject(t)}destroy(){this.#bt&&(this.#bt=!1,this.#i.countrySelectorMode!==J.OFF&&this.#Bt(!0),this.#It.abort(),this.#ht.destroy(),jt.instances.delete(String(this.id)))}isActive(){return this.#bt}getExtension(){return this.#bt?($t("getExtension"),jt.utils.getExtension(this.#Xt(),this.#gt?.iso2)):""}getNumber(t){if(!this.#bt)return"";$t("getNumber");const e=this.#gt?.iso2,i=this.#Xt(),s=jt.utils.formatNumber(i,e,t);return this.#St.denormalise(s)}getNumberType(){return this.#bt?($t("getNumberType"),jt.utils.getNumberType(this.#Xt(),this.#gt?.iso2)):null}getSelectedCountry(){return this.#gt??null}getValidationError(){if(!this.#bt)return null;$t("getValidationError");const t=this.#gt?.iso2;return jt.utils.getValidationError(this.#Xt(),t)}isValidNumber(){if(!this.#bt)return null;$t("isValidNumber");const t=this.#gt?.dialCode,e=this.#gt?.iso2,i=this.#Xt(),s=jt.utils.getCoreNumber(i,e);if(s){if(t===U&&s[0]===B&&s.length!==j)return!1;if(!O.ALPHA_UNICODE.test(i)&&t){const e=i.startsWith("+")?i.slice(1+t.length):i,n=St(e).length;if(s.length>n)return!1}}return this.#fe("possible")}isValidNumberPrecise(){return this.#bt?($t("isValidNumberPrecise"),this.#fe("precise")):null}#fe(t){const{allowNumberExtensions:e,allowPhonewords:i,allowedNumberTypes:s}=this.#i,n=this.#gt?.iso2,o=this.#Xt();if(!this.#gt&&!Pt(o))return!1;if(!("precise"===t?jt.utils.isValidNumberPrecise:jt.utils.isValidNumber)(o,n,s))return!1;if(O.ALPHA_UNICODE.test(o)){return Boolean(jt.utils.getExtension(o,n))?e:i}return!0}setSelectedCountry(t){if(!this.#bt)return;const e=t?.toLowerCase();if(!o(e))throw new Error(`Invalid iso2 code: '${e}'`);const i=this.#gt?.iso2;if(!(t&&e!==i||!t&&i))return;this.#xt(e),this.#Ce(this.#gt?.dialCode||"");const s=this.#Ot();this.#$t(s),this.#ie(),this.#Jt(c,{isCountryChange:!0})}setNumber(t){if(!this.#bt)return;const e=this.#St.normalise(t),i=this.#Mt(e);this.#$t(e),i&&this.#ie(),this.#Jt(c,{isSetNumber:!0})}setPlaceholderNumberType(t){this.#bt&&(this.#i.placeholderNumberType=t,this.#pe())}setDisabled(t){this.#bt&&this.#ht.setDisabled(t)}setReadonly(t){this.#bt&&this.#ht.setReadonly(t)}static forEachInstance(e,...i){const s=[...jt.instances.values()],n=i[0];s.forEach(i=>{if(i instanceof t)switch(e){case"handleUtilsLoaded":i.#ge();break;case"handleUtilsFailure":i.#Ee(n);break;case"handleAutoCountryLoaded":i.#Vt();break;case"handleAutoCountryFailure":i.#me()}})}},jt=Object.assign((t,e)=>{const i=new Bt(t,e);return jt.instances.set(String(i.id),i),t.iti=i,i},{defaults:dt,documentReady:()=>"complete"===document.readyState,getAllCountries:()=>l,getInstance:t=>{const e=t.dataset[Z];return e?jt.instances.get(e)??null:null},instances:new Map,attachUtils:async t=>{if(jt.utils||jt.startedLoadingUtils)return null;if("function"!=typeof t)throw new TypeError("The argument passed to attachUtils must be a function that returns a promise for the utils module, not "+typeof t);jt.startedLoadingUtils=!0;try{const e=await t(),i=e?.default;if(!i||"object"!=typeof i)throw new TypeError("The loader function passed to attachUtils did not resolve to a module object with utils as its default export.");return jt.utils=i,Bt.forEachInstance("handleUtilsLoaded"),!0}catch(t){throw Bt.forEachInstance("handleUtilsFailure",t),t}},startedLoadingUtils:!1,startedLoadingAutoCountry:!1,version:"29.1.3",NUMBER_FORMAT:G,NUMBER_TYPE:Y,VALIDATION_ERROR:q,PLACEHOLDER_POLICY:W,COUNTRY_SELECTOR_MODE:J}),Vt=jt}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.