@wisemen/vue-core-components 2.2.1 → 2.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (28) hide show
  1. package/dist/{AlertCircleIcon-45exinZu.js → AlertCircleIcon-kd3oWAMq.js} +1 -1
  2. package/dist/{AlertTriangleIcon-CqdWstbU.js → AlertTriangleIcon-B8PD_gPz.js} +1 -1
  3. package/dist/{ArrowDownIcon-EF4pWixG.js → ArrowDownIcon-CK-tFb_C.js} +1 -1
  4. package/dist/{ArrowLeftIcon-DPETWolt.js → ArrowLeftIcon-BbxOtG4-.js} +1 -1
  5. package/dist/{ArrowRightIcon-C_Uji6HJ.js → ArrowRightIcon-nqhh__sc.js} +1 -1
  6. package/dist/{ArrowUpIcon-Z7hyaSOX.js → ArrowUpIcon-LNE38wvY.js} +1 -1
  7. package/dist/{CalendarIcon-BbC04z5f.js → CalendarIcon-cxQ_f4Bf.js} +1 -1
  8. package/dist/{CheckCircleIcon-AFxUwZJr.js → CheckCircleIcon-BRF6WUAM.js} +1 -1
  9. package/dist/{CheckIcon-17axORkW.js → CheckIcon-C7CHewuu.js} +1 -1
  10. package/dist/{ChevronLeftDoubleIcon-D-Hwum_7.js → ChevronLeftDoubleIcon-BAK-noyj.js} +1 -1
  11. package/dist/{ChevronLeftIcon-_rMCShSs.js → ChevronLeftIcon-CIzGwN5W.js} +1 -1
  12. package/dist/{ChevronRightDoubleIcon-BSBFXWVH.js → ChevronRightDoubleIcon-Dnl0cVB4.js} +1 -1
  13. package/dist/{ChevronRightIcon-CRnPvKOX.js → ChevronRightIcon-DRzHCVvt.js} +1 -1
  14. package/dist/{CloseIcon-PR-jylxp.js → CloseIcon-dBCa4Vb2.js} +1 -1
  15. package/dist/{EyeIcon-BSDltkXC.js → EyeIcon-pvKrzPLn.js} +1 -1
  16. package/dist/{EyeOffIcon-CcGn2zFz.js → EyeOffIcon-DAwsIFGC.js} +1 -1
  17. package/dist/{InfoCircleIcon-CX1ObBKJ.js → InfoCircleIcon-C_59i-n9.js} +1 -1
  18. package/dist/{MinusIcon-Cv1KzNj1.js → MinusIcon-DqjWTN4f.js} +1 -1
  19. package/dist/{PlusIcon-NZqGq1Z2.js → PlusIcon-AhLLgAGk.js} +1 -1
  20. package/dist/{SearchIcon-oytaT5B5.js → SearchIcon-DgkFBSdc.js} +1 -1
  21. package/dist/{SelectIconRight-Dicl4ozg.js → SelectIconRight-CtlYuJI4.js} +1 -1
  22. package/dist/{StarsIcon-NPLetepR.js → StarsIcon-CQadZknE.js} +1 -1
  23. package/dist/{SwitchVerticalIcon-CFkf_off.js → SwitchVerticalIcon-C62Vpzd_.js} +1 -1
  24. package/dist/{TranslateIcon-1QvuQGfw.js → TranslateIcon-CxqmG1EN.js} +1 -1
  25. package/dist/{index-C7bJrKer.js → index-ilX7t6UE.js} +25 -25
  26. package/dist/index.js +1 -1
  27. package/dist/index.umd +1 -1
  28. package/package.json +1 -1
package/dist/index.umd CHANGED
@@ -1,4 +1,4 @@
1
- (function(h,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue"),require("reka-ui"),require("motion-v"),require("vue-i18n"),require("vue-router"),require("temporal-polyfill")):typeof define=="function"&&define.amd?define(["exports","vue","reka-ui","motion-v","vue-i18n","vue-router","temporal-polyfill"],e):(h=typeof globalThis<"u"?globalThis:h||self,e(h["vue-core"]={},h.Vue,h.RekaUI,h.MotionV,h.VueI18n,h.VueRouter,h.Temporal))})(this,(function(h,e,S,Y,ne,Je,Be){"use strict";function Qs(o,t,n,r){function a(i){return i instanceof n?i:new n(function(l){l(i)})}return new(n||(n=Promise))(function(i,l){function s(u){try{c(r.next(u))}catch(f){l(f)}}function d(u){try{c(r.throw(u))}catch(f){l(f)}}function c(u){u.done?i(u.value):a(u.value).then(s,d)}c((r=r.apply(o,[])).next())})}typeof SuppressedError=="function"&&SuppressedError;function vs(o){return o&&o.__esModule&&Object.prototype.hasOwnProperty.call(o,"default")?o.default:o}var ed=function o(t,n){if(t===n)return!0;if(t&&n&&typeof t=="object"&&typeof n=="object"){if(t.constructor!==n.constructor)return!1;var r,a,i;if(Array.isArray(t)){if(r=t.length,r!=n.length)return!1;for(a=r;a--!==0;)if(!o(t[a],n[a]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if(i=Object.keys(t),r=i.length,r!==Object.keys(n).length)return!1;for(a=r;a--!==0;)if(!Object.prototype.hasOwnProperty.call(n,i[a]))return!1;for(a=r;a--!==0;){var l=i[a];if(!o(t[l],n[l]))return!1}return!0}return t!==t&&n!==n},td=vs(ed);const Xo="__googleMapsScriptId";var Qe;(function(o){o[o.INITIALIZED=0]="INITIALIZED",o[o.LOADING=1]="LOADING",o[o.SUCCESS=2]="SUCCESS",o[o.FAILURE=3]="FAILURE"})(Qe||(Qe={}));class We{constructor({apiKey:t,authReferrerPolicy:n,channel:r,client:a,id:i=Xo,language:l,libraries:s=[],mapIds:d,nonce:c,region:u,retries:f=3,url:p="https://maps.googleapis.com/maps/api/js",version:$}){if(this.callbacks=[],this.done=!1,this.loading=!1,this.errors=[],this.apiKey=t,this.authReferrerPolicy=n,this.channel=r,this.client=a,this.id=i||Xo,this.language=l,this.libraries=s,this.mapIds=d,this.nonce=c,this.region=u,this.retries=f,this.url=p,this.version=$,We.instance){if(!td(this.options,We.instance.options))throw new Error(`Loader must not be called again with different options. ${JSON.stringify(this.options)} !== ${JSON.stringify(We.instance.options)}`);return We.instance}We.instance=this}get options(){return{version:this.version,apiKey:this.apiKey,channel:this.channel,client:this.client,id:this.id,libraries:this.libraries,language:this.language,region:this.region,mapIds:this.mapIds,nonce:this.nonce,url:this.url,authReferrerPolicy:this.authReferrerPolicy}}get status(){return this.errors.length?Qe.FAILURE:this.done?Qe.SUCCESS:this.loading?Qe.LOADING:Qe.INITIALIZED}get failed(){return this.done&&!this.loading&&this.errors.length>=this.retries+1}createUrl(){let t=this.url;return t+="?callback=__googleMapsCallback&loading=async",this.apiKey&&(t+=`&key=${this.apiKey}`),this.channel&&(t+=`&channel=${this.channel}`),this.client&&(t+=`&client=${this.client}`),this.libraries.length>0&&(t+=`&libraries=${this.libraries.join(",")}`),this.language&&(t+=`&language=${this.language}`),this.region&&(t+=`&region=${this.region}`),this.version&&(t+=`&v=${this.version}`),this.mapIds&&(t+=`&map_ids=${this.mapIds.join(",")}`),this.authReferrerPolicy&&(t+=`&auth_referrer_policy=${this.authReferrerPolicy}`),t}deleteScript(){const t=document.getElementById(this.id);t&&t.remove()}load(){return this.loadPromise()}loadPromise(){return new Promise((t,n)=>{this.loadCallback(r=>{r?n(r.error):t(window.google)})})}importLibrary(t){return this.execute(),google.maps.importLibrary(t)}loadCallback(t){this.callbacks.push(t),this.execute()}setScript(){var t,n;if(document.getElementById(this.id)){this.callback();return}const r={key:this.apiKey,channel:this.channel,client:this.client,libraries:this.libraries.length&&this.libraries,v:this.version,mapIds:this.mapIds,language:this.language,region:this.region,authReferrerPolicy:this.authReferrerPolicy};Object.keys(r).forEach(i=>!r[i]&&delete r[i]),!((n=(t=window?.google)===null||t===void 0?void 0:t.maps)===null||n===void 0)&&n.importLibrary||(i=>{let l,s,d,c="The Google Maps JavaScript API",u="google",f="importLibrary",p="__ib__",$=document,C=window;C=C[u]||(C[u]={});const y=C.maps||(C.maps={}),m=new Set,w=new URLSearchParams,k=()=>l||(l=new Promise((g,B)=>Qs(this,void 0,void 0,function*(){var N;yield s=$.createElement("script"),s.id=this.id,w.set("libraries",[...m]+"");for(d in i)w.set(d.replace(/[A-Z]/g,F=>"_"+F[0].toLowerCase()),i[d]);w.set("callback",u+".maps."+p),s.src=this.url+"?"+w,y[p]=g,s.onerror=()=>l=B(Error(c+" could not load.")),s.nonce=this.nonce||((N=$.querySelector("script[nonce]"))===null||N===void 0?void 0:N.nonce)||"",$.head.append(s)})));y[f]?console.warn(c+" only loads once. Ignoring:",i):y[f]=(g,...B)=>m.add(g)&&k().then(()=>y[f](g,...B))})(r);const a=this.libraries.map(i=>this.importLibrary(i));a.length||a.push(this.importLibrary("core")),Promise.all(a).then(()=>this.callback(),i=>{const l=new ErrorEvent("error",{error:i});this.loadErrorCallback(l)})}reset(){this.deleteScript(),this.done=!1,this.loading=!1,this.errors=[],this.onerrorEvent=null}resetIfRetryingFailed(){this.failed&&this.reset()}loadErrorCallback(t){if(this.errors.push(t),this.errors.length<=this.retries){const n=this.errors.length*Math.pow(2,this.errors.length);console.error(`Failed to load Google Maps script, retrying in ${n} ms.`),setTimeout(()=>{this.deleteScript(),this.setScript()},n)}else this.onerrorEvent=t,this.callback()}callback(){this.done=!0,this.loading=!1,this.callbacks.forEach(t=>{t(this.onerrorEvent)}),this.callbacks=[]}execute(){if(this.resetIfRetryingFailed(),!this.loading)if(this.done)this.callback();else{if(window.google&&window.google.maps&&window.google.maps.version){console.warn("Google Maps already loaded outside @googlemaps/js-api-loader. This may result in undesirable behavior as options and script parameters may not match."),this.callback();return}this.loading=!0,this.setScript()}}}function ve(o,t){return o.find(n=>n.types[0]===t)??null}async function nd(o){const t=new google.maps.places.Place({id:o});await t.fetchFields({fields:["addressComponents","location"]});const n=t.location?.lat()??null,r=t.location?.lng()??null;return{placeId:t.id??null,bus:ve(t.addressComponents??[],"subpremise")?.longText??"",city:ve(t.addressComponents??[],"locality")?.longText??"",coordinates:{lat:n,lng:r},country:ve(t.addressComponents??[],"country")?.shortText??"",postalCode:ve(t.addressComponents??[],"postal_code")?.longText??"",street:ve(t.addressComponents??[],"route")?.longText??"",streetNumber:ve(t.addressComponents??[],"street_number")?.longText??""}}function od(o){const t=[],n=[];return o.street!==""&&t.push(o.street),o.streetNumber!==""&&t.push(o.streetNumber),o.bus!==""&&t.push(o.bus),o.postalCode!==""&&n.push(o.postalCode),o.city!==""&&n.push(o.city),{placeId:"",mainText:t.join(" "),secondaryText:n.join(" ")}}function rd(o){const t=[];return o.mainText!==""&&t.push(o.mainText),o.secondaryText!==""&&t.push(o.secondaryText),t.join(", ")}function Nn(o,t){return e.getCurrentScope()?(e.onScopeDispose(o,t),!0):!1}function Zo(){const o=new Set,t=i=>{o.delete(i)};return{on:i=>{o.add(i);const l=()=>t(i);return Nn(l),{off:l}},off:t,trigger:(...i)=>Promise.all(Array.from(o).map(l=>l(...i))),clear:()=>{o.clear()}}}const Vn=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const ad=Object.prototype.toString,id=o=>ad.call(o)==="[object Object]",Pn=()=>{},ld=(o,t)=>Object.prototype.hasOwnProperty.call(o,t);function In(...o){if(o.length!==1)return e.toRef(...o);const t=o[0];return typeof t=="function"?e.readonly(e.customRef(()=>({get:t,set:Pn}))):e.ref(t)}function Jo(o,t){function n(...r){return new Promise((a,i)=>{Promise.resolve(o(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(a).catch(i)})}return n}const Qo=o=>o();function sd(o,t={}){let n,r,a=Pn;const i=d=>{clearTimeout(d),a(),a=Pn};let l;return d=>{const c=e.toValue(o),u=e.toValue(t.maxWait);return n&&i(n),c<=0||u!==void 0&&u<=0?(r&&(i(r),r=void 0),Promise.resolve(d())):new Promise((f,p)=>{a=t.rejectOnCancel?p:f,l=d,u&&!r&&(r=setTimeout(()=>{n&&i(n),r=void 0,f(l())},u)),n=setTimeout(()=>{r&&i(r),r=void 0,f(d())},c)})}}function dd(o=Qo,t={}){const{initialState:n="active"}=t,r=In(n==="active");function a(){r.value=!1}function i(){r.value=!0}const l=(...s)=>{r.value&&o(...s)};return{isActive:e.readonly(r),pause:a,resume:i,eventFilter:l}}function At(o){return Array.isArray(o)?o:[o]}function cd(o){return e.getCurrentInstance()}function ud(o,t=200,n={}){return Jo(sd(t,n),o)}function fd(o,t,n={}){const{eventFilter:r=Qo,...a}=n;return e.watch(o,Jo(r,t),a)}function pd(o,t,n={}){const{eventFilter:r,initialState:a="active",...i}=n,{eventFilter:l,pause:s,resume:d,isActive:c}=dd(r,{initialState:a});return{stop:fd(o,t,{...i,eventFilter:l}),pause:s,resume:d,isActive:c}}const md=pd;function vo(o,t=!0,n){cd()?e.onMounted(o,n):t?o():e.nextTick(o)}function hd(o,t,n){return e.watch(o,t,{...n,immediate:!0})}const Te=Vn?window:void 0,gd=Vn?window.document:void 0;function Ae(o){var t;const n=e.toValue(o);return(t=n?.$el)!==null&&t!==void 0?t:n}function Ne(...o){const t=(r,a,i,l)=>(r.addEventListener(a,i,l),()=>r.removeEventListener(a,i,l)),n=e.computed(()=>{const r=At(e.toValue(o[0])).filter(a=>a!=null);return r.every(a=>typeof a!="string")?r:void 0});return hd(()=>{var r,a;return[(r=(a=n.value)===null||a===void 0?void 0:a.map(i=>Ae(i)))!==null&&r!==void 0?r:[Te].filter(i=>i!=null),At(e.toValue(n.value?o[1]:o[0])),At(e.unref(n.value?o[2]:o[1])),e.toValue(n.value?o[3]:o[2])]},([r,a,i,l],s,d)=>{if(!r?.length||!a?.length||!i?.length)return;const c=id(l)?{...l}:l,u=r.flatMap(f=>a.flatMap(p=>i.map($=>t(f,p,$,c))));d(()=>{u.forEach(f=>f())})},{flush:"post"})}function bd(){const o=e.shallowRef(!1),t=e.getCurrentInstance();return t&&e.onMounted(()=>{o.value=!0},t),o}function $d(o){const t=bd();return e.computed(()=>(t.value,!!o()))}const zt=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Lt="__vueuse_ssr_handlers__",yd=wd();function wd(){return Lt in zt||(zt[Lt]=zt[Lt]||{}),zt[Lt]}function Cd(o,t){return yd[o]||t}function _d(o){return o==null?"any":o instanceof Set?"set":o instanceof Map?"map":o instanceof Date?"date":typeof o=="boolean"?"boolean":typeof o=="string"?"string":typeof o=="object"?"object":Number.isNaN(o)?"any":"number"}const xd={boolean:{read:o=>o==="true",write:o=>String(o)},object:{read:o=>JSON.parse(o),write:o=>JSON.stringify(o)},number:{read:o=>Number.parseFloat(o),write:o=>String(o)},any:{read:o=>o,write:o=>String(o)},string:{read:o=>o,write:o=>String(o)},map:{read:o=>new Map(JSON.parse(o)),write:o=>JSON.stringify(Array.from(o.entries()))},set:{read:o=>new Set(JSON.parse(o)),write:o=>JSON.stringify(Array.from(o))},date:{read:o=>new Date(o),write:o=>o.toISOString()}},er="vueuse-storage";function kd(o,t,n,r={}){var a;const{flush:i="pre",deep:l=!0,listenToStorageChanges:s=!0,writeDefaults:d=!0,mergeDefaults:c=!1,shallow:u,window:f=Te,eventFilter:p,onError:$=P=>{console.error(P)},initOnMounted:C}=r,y=(u?e.shallowRef:e.ref)(typeof t=="function"?t():t),m=e.computed(()=>e.toValue(o));if(!n)try{n=Cd("getDefaultStorage",()=>Te?.localStorage)()}catch(P){$(P)}if(!n)return y;const w=e.toValue(t),k=_d(w),g=(a=r.serializer)!==null&&a!==void 0?a:xd[k],{pause:B,resume:N}=md(y,P=>$e(P),{flush:i,deep:l,eventFilter:p});e.watch(m,()=>ie(),{flush:i});let F=!1;const W=P=>{C&&!F||ie(P)},E=P=>{C&&!F||Ce(P)};f&&s&&(n instanceof Storage?Ne(f,"storage",W,{passive:!0}):Ne(f,er,E)),C?vo(()=>{F=!0,ie()}):ie();function G(P,M){if(f){const D={key:m.value,oldValue:P,newValue:M,storageArea:n};f.dispatchEvent(n instanceof Storage?new StorageEvent("storage",D):new CustomEvent(er,{detail:D}))}}function $e(P){try{const M=n.getItem(m.value);if(P==null)G(M,null),n.removeItem(m.value);else{const D=g.write(P);M!==D&&(n.setItem(m.value,D),G(M,D))}}catch(M){$(M)}}function ye(P){const M=P?P.newValue:n.getItem(m.value);if(M==null)return d&&w!=null&&n.setItem(m.value,g.write(w)),w;if(!P&&c){const D=g.read(M);return typeof c=="function"?c(D,w):k==="object"&&!Array.isArray(D)?{...w,...D}:D}else return typeof M!="string"?M:g.read(M)}function ie(P){if(!(P&&P.storageArea!==n)){if(P&&P.key==null){y.value=w;return}if(!(P&&P.key!==m.value)){B();try{const M=g.write(y.value);(P===void 0||P?.newValue!==M)&&(y.value=ye(P))}catch(M){$(M)}finally{P?e.nextTick(N):N()}}}}function Ce(P){ie(P.detail)}return y}function Sd(o,t={}){const n=e.shallowRef(!1),r=e.shallowRef(null);let a=0,i=!0;if(Vn){var l,s;const d=typeof t=="function"?{onDrop:t}:t,c=(l=d.multiple)!==null&&l!==void 0?l:!0,u=(s=d.preventDefaultForUnhandled)!==null&&s!==void 0?s:!1,f=m=>{var w,k;const g=Array.from((w=(k=m.dataTransfer)===null||k===void 0?void 0:k.files)!==null&&w!==void 0?w:[]);return g.length===0?null:c?g:[g[0]]},p=m=>{const w=e.unref(d.dataTypes);return typeof w=="function"?w(m):w?.length?m.length===0?!1:m.every(k=>w.some(g=>k.includes(g))):!0},$=m=>{if(d.checkValidity)return d.checkValidity(m);const w=p(Array.from(m??[]).map(g=>g.type)),k=c||m.length<=1;return w&&k},C=()=>/^(?:(?!chrome|android).)*safari/i.test(navigator.userAgent)&&!("chrome"in window),y=(m,w)=>{var k,g;const B=(k=m.dataTransfer)===null||k===void 0?void 0:k.items;if(i=(g=B&&$(B))!==null&&g!==void 0?g:!1,u&&m.preventDefault(),!C()&&!i){m.dataTransfer&&(m.dataTransfer.dropEffect="none");return}m.preventDefault(),m.dataTransfer&&(m.dataTransfer.dropEffect="copy");const N=f(m);switch(w){case"enter":var F;a+=1,n.value=!0,(F=d.onEnter)===null||F===void 0||F.call(d,null,m);break;case"over":var W;(W=d.onOver)===null||W===void 0||W.call(d,null,m);break;case"leave":var E;a-=1,a===0&&(n.value=!1),(E=d.onLeave)===null||E===void 0||E.call(d,null,m);break;case"drop":if(a=0,n.value=!1,i){var G;r.value=N,(G=d.onDrop)===null||G===void 0||G.call(d,N,m)}break}};Ne(o,"dragenter",m=>y(m,"enter")),Ne(o,"dragover",m=>y(m,"over")),Ne(o,"dragleave",m=>y(m,"leave")),Ne(o,"drop",m=>y(m,"drop"))}return{files:r,isOverDropZone:n}}function tr(o,t,n={}){const{window:r=Te,...a}=n;let i;const l=$d(()=>r&&"ResizeObserver"in r),s=()=>{i&&(i.disconnect(),i=void 0)},d=e.watch(e.computed(()=>{const u=e.toValue(o);return Array.isArray(u)?u.map(f=>Ae(f)):[Ae(u)]}),u=>{if(s(),l.value&&r){i=new ResizeObserver(t);for(const f of u)f&&i.observe(f,a)}},{immediate:!0,flush:"post"}),c=()=>{s(),d()};return Nn(c),{isSupported:l,stop:c}}function nr(o,t={width:0,height:0},n={}){const{window:r=Te,box:a="content-box"}=n,i=e.computed(()=>{var f;return(f=Ae(o))===null||f===void 0||(f=f.namespaceURI)===null||f===void 0?void 0:f.includes("svg")}),l=e.shallowRef(t.width),s=e.shallowRef(t.height),{stop:d}=tr(o,([f])=>{const p=a==="border-box"?f.borderBoxSize:a==="content-box"?f.contentBoxSize:f.devicePixelContentBoxSize;if(r&&i.value){const $=Ae(o);if($){const C=$.getBoundingClientRect();l.value=C.width,s.value=C.height}}else if(p){const $=At(p);l.value=$.reduce((C,{inlineSize:y})=>C+y,0),s.value=$.reduce((C,{blockSize:y})=>C+y,0)}else l.value=f.contentRect.width,s.value=f.contentRect.height},n);vo(()=>{const f=Ae(o);f&&(l.value="offsetWidth"in f?f.offsetWidth:t.width,s.value="offsetHeight"in f?f.offsetHeight:t.height)});const c=e.watch(()=>Ae(o),f=>{l.value=f?t.width:0,s.value=f?t.height:0});function u(){d(),c()}return{width:l,height:s,stop:u}}const Bd={multiple:!0,accept:"*",reset:!1,directory:!1};function Nd(o){if(!o)return null;if(o instanceof FileList)return o;const t=new DataTransfer;for(const n of o)t.items.add(n);return t.files}function or(o={}){const{document:t=gd}=o,n=e.ref(Nd(o.initialFiles)),{on:r,trigger:a}=Zo(),{on:i,trigger:l}=Zo(),s=e.computed(()=>{var f;const p=(f=Ae(o.input))!==null&&f!==void 0?f:t?t.createElement("input"):void 0;return p&&(p.type="file",p.onchange=$=>{n.value=$.target.files,a(n.value)},p.oncancel=()=>{l()}),p}),d=()=>{n.value=null,s.value&&s.value.value&&(s.value.value="",a(null))},c=f=>{const p=s.value;p&&(p.multiple=e.toValue(f.multiple),p.accept=e.toValue(f.accept),p.webkitdirectory=e.toValue(f.directory),ld(f,"capture")&&(p.capture=e.toValue(f.capture)))},u=f=>{const p=s.value;if(!p)return;const $={...Bd,...o,...f};c($),e.toValue($.reset)&&d(),p.click()};return e.watchEffect(()=>{c(o)}),{files:e.readonly(n),open:u,reset:d,onCancel:i,onChange:r}}function Vd(o=Te,t){o&&typeof o.requestAnimationFrame=="function"?o.requestAnimationFrame(t):t()}function Pd(o={}){var t,n;const{window:r=Te}=o,a=In(o?.element),i=In((t=o?.input)!==null&&t!==void 0?t:""),l=(n=o?.styleProp)!==null&&n!==void 0?n:"height",s=e.shallowRef(1),d=e.shallowRef(0);function c(){var u;if(!a.value)return;let f="";a.value.style[l]="1px",s.value=(u=a.value)===null||u===void 0?void 0:u.scrollHeight;const p=e.toValue(o?.styleTarget);p?p.style[l]=`${s.value}px`:f=`${s.value}px`,a.value.style[l]=f}return e.watch([i,a],()=>e.nextTick(c),{immediate:!0}),e.watch(s,()=>{var u;return o==null||(u=o.onResize)===null||u===void 0?void 0:u.call(o)}),tr(a,([{contentRect:u}])=>{d.value!==u.width&&Vd(r,()=>{d.value=u.width,c()})}),o?.watch&&e.watch(o.watch,c,{immediate:!0,deep:!0}),{textarea:a,input:i,triggerResize:c}}const Id=(o,t)=>{const n=new Array(o.length+t.length);for(let r=0;r<o.length;r++)n[r]=o[r];for(let r=0;r<t.length;r++)n[o.length+r]=t[r];return n},Td=(o,t)=>({classGroupId:o,validator:t}),rr=(o=new Map,t=null,n)=>({nextPart:o,validators:t,classGroupId:n}),jt="-",ar=[],Ed="arbitrary..",Md=o=>{const t=Fd(o),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=o;return{getClassGroupId:l=>{if(l.startsWith("[")&&l.endsWith("]"))return Dd(l);const s=l.split(jt),d=s[0]===""&&s.length>1?1:0;return ir(s,d,t)},getConflictingClassGroupIds:(l,s)=>{if(s){const d=r[l],c=n[l];return d?c?Id(c,d):d:c||ar}return n[l]||ar}}},ir=(o,t,n)=>{if(o.length-t===0)return n.classGroupId;const a=o[t],i=n.nextPart.get(a);if(i){const c=ir(o,t+1,i);if(c)return c}const l=n.validators;if(l===null)return;const s=t===0?o.join(jt):o.slice(t).join(jt),d=l.length;for(let c=0;c<d;c++){const u=l[c];if(u.validator(s))return u.classGroupId}},Dd=o=>o.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const t=o.slice(1,-1),n=t.indexOf(":"),r=t.slice(0,n);return r?Ed+r:void 0})(),Fd=o=>{const{theme:t,classGroups:n}=o;return Rd(n,t)},Rd=(o,t)=>{const n=rr();for(const r in o){const a=o[r];Tn(a,n,r,t)}return n},Tn=(o,t,n,r)=>{const a=o.length;for(let i=0;i<a;i++){const l=o[i];Od(l,t,n,r)}},Od=(o,t,n,r)=>{if(typeof o=="string"){Ad(o,t,n);return}if(typeof o=="function"){zd(o,t,n,r);return}Ld(o,t,n,r)},Ad=(o,t,n)=>{const r=o===""?t:lr(t,o);r.classGroupId=n},zd=(o,t,n,r)=>{if(jd(o)){Tn(o(r),t,n,r);return}t.validators===null&&(t.validators=[]),t.validators.push(Td(n,o))},Ld=(o,t,n,r)=>{const a=Object.entries(o),i=a.length;for(let l=0;l<i;l++){const[s,d]=a[l];Tn(d,lr(t,s),n,r)}},lr=(o,t)=>{let n=o;const r=t.split(jt),a=r.length;for(let i=0;i<a;i++){const l=r[i];let s=n.nextPart.get(l);s||(s=rr(),n.nextPart.set(l,s)),n=s}return n},jd=o=>"isThemeGetter"in o&&o.isThemeGetter===!0,Gd=o=>{if(o<1)return{get:()=>{},set:()=>{}};let t=0,n=Object.create(null),r=Object.create(null);const a=(i,l)=>{n[i]=l,t++,t>o&&(t=0,r=n,n=Object.create(null))};return{get(i){let l=n[i];if(l!==void 0)return l;if((l=r[i])!==void 0)return a(i,l),l},set(i,l){i in n?n[i]=l:a(i,l)}}},En="!",sr=":",Hd=[],dr=(o,t,n,r,a)=>({modifiers:o,hasImportantModifier:t,baseClassName:n,maybePostfixModifierPosition:r,isExternal:a}),qd=o=>{const{prefix:t,experimentalParseClassName:n}=o;let r=a=>{const i=[];let l=0,s=0,d=0,c;const u=a.length;for(let y=0;y<u;y++){const m=a[y];if(l===0&&s===0){if(m===sr){i.push(a.slice(d,y)),d=y+1;continue}if(m==="/"){c=y;continue}}m==="["?l++:m==="]"?l--:m==="("?s++:m===")"&&s--}const f=i.length===0?a:a.slice(d);let p=f,$=!1;f.endsWith(En)?(p=f.slice(0,-1),$=!0):f.startsWith(En)&&(p=f.slice(1),$=!0);const C=c&&c>d?c-d:void 0;return dr(i,$,p,C)};if(t){const a=t+sr,i=r;r=l=>l.startsWith(a)?i(l.slice(a.length)):dr(Hd,!1,l,void 0,!0)}if(n){const a=r;r=i=>n({className:i,parseClassName:a})}return r},Ud=o=>{const t=new Map;return o.orderSensitiveModifiers.forEach((n,r)=>{t.set(n,1e6+r)}),n=>{const r=[];let a=[];for(let i=0;i<n.length;i++){const l=n[i],s=l[0]==="[",d=t.has(l);s||d?(a.length>0&&(a.sort(),r.push(...a),a=[]),r.push(l)):a.push(l)}return a.length>0&&(a.sort(),r.push(...a)),r}},Wd=o=>({cache:Gd(o.cacheSize),parseClassName:qd(o),sortModifiers:Ud(o),...Md(o)}),Kd=/\s+/,Yd=(o,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:a,sortModifiers:i}=t,l=[],s=o.trim().split(Kd);let d="";for(let c=s.length-1;c>=0;c-=1){const u=s[c],{isExternal:f,modifiers:p,hasImportantModifier:$,baseClassName:C,maybePostfixModifierPosition:y}=n(u);if(f){d=u+(d.length>0?" "+d:d);continue}let m=!!y,w=r(m?C.substring(0,y):C);if(!w){if(!m){d=u+(d.length>0?" "+d:d);continue}if(w=r(C),!w){d=u+(d.length>0?" "+d:d);continue}m=!1}const k=p.length===0?"":p.length===1?p[0]:i(p).join(":"),g=$?k+En:k,B=g+w;if(l.indexOf(B)>-1)continue;l.push(B);const N=a(w,m);for(let F=0;F<N.length;++F){const W=N[F];l.push(g+W)}d=u+(d.length>0?" "+d:d)}return d},Xd=(...o)=>{let t=0,n,r,a="";for(;t<o.length;)(n=o[t++])&&(r=cr(n))&&(a&&(a+=" "),a+=r);return a},cr=o=>{if(typeof o=="string")return o;let t,n="";for(let r=0;r<o.length;r++)o[r]&&(t=cr(o[r]))&&(n&&(n+=" "),n+=t);return n},Mn=(o,...t)=>{let n,r,a,i;const l=d=>{const c=t.reduce((u,f)=>f(u),o());return n=Wd(c),r=n.cache.get,a=n.cache.set,i=s,s(d)},s=d=>{const c=r(d);if(c)return c;const u=Yd(d,n);return a(d,u),u};return i=l,(...d)=>i(Xd(...d))},Zd=[],ae=o=>{const t=n=>n[o]||Zd;return t.isThemeGetter=!0,t},ur=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,fr=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Jd=/^\d+\/\d+$/,Qd=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,vd=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,ec=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,tc=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,nc=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,et=o=>Jd.test(o),A=o=>!!o&&!Number.isNaN(Number(o)),ze=o=>!!o&&Number.isInteger(Number(o)),Dn=o=>o.endsWith("%")&&A(o.slice(0,-1)),Ee=o=>Qd.test(o),oc=()=>!0,rc=o=>vd.test(o)&&!ec.test(o),pr=()=>!1,ac=o=>tc.test(o),ic=o=>nc.test(o),lc=o=>!I(o)&&!T(o),sc=o=>tt(o,$r,pr),I=o=>ur.test(o),Ke=o=>tt(o,yr,rc),Fn=o=>tt(o,pc,A),mr=o=>tt(o,gr,pr),dc=o=>tt(o,br,ic),Gt=o=>tt(o,wr,ac),T=o=>fr.test(o),ct=o=>nt(o,yr),cc=o=>nt(o,mc),hr=o=>nt(o,gr),uc=o=>nt(o,$r),fc=o=>nt(o,br),Ht=o=>nt(o,wr,!0),tt=(o,t,n)=>{const r=ur.exec(o);return r?r[1]?t(r[1]):n(r[2]):!1},nt=(o,t,n=!1)=>{const r=fr.exec(o);return r?r[1]?t(r[1]):n:!1},gr=o=>o==="position"||o==="percentage",br=o=>o==="image"||o==="url",$r=o=>o==="length"||o==="size"||o==="bg-size",yr=o=>o==="length",pc=o=>o==="number",mc=o=>o==="family-name",wr=o=>o==="shadow",Rn=()=>{const o=ae("color"),t=ae("font"),n=ae("text"),r=ae("font-weight"),a=ae("tracking"),i=ae("leading"),l=ae("breakpoint"),s=ae("container"),d=ae("spacing"),c=ae("radius"),u=ae("shadow"),f=ae("inset-shadow"),p=ae("text-shadow"),$=ae("drop-shadow"),C=ae("blur"),y=ae("perspective"),m=ae("aspect"),w=ae("ease"),k=ae("animate"),g=()=>["auto","avoid","all","avoid-page","page","left","right","column"],B=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],N=()=>[...B(),T,I],F=()=>["auto","hidden","clip","visible","scroll"],W=()=>["auto","contain","none"],E=()=>[T,I,d],G=()=>[et,"full","auto",...E()],$e=()=>[ze,"none","subgrid",T,I],ye=()=>["auto",{span:["full",ze,T,I]},ze,T,I],ie=()=>[ze,"auto",T,I],Ce=()=>["auto","min","max","fr",T,I],P=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],M=()=>["start","end","center","stretch","center-safe","end-safe"],D=()=>["auto",...E()],z=()=>[et,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...E()],V=()=>[o,T,I],L=()=>[...B(),hr,mr,{position:[T,I]}],Q=()=>["no-repeat",{repeat:["","x","y","space","round"]}],me=()=>["auto","cover","contain",uc,sc,{size:[T,I]}],oe=()=>[Dn,ct,Ke],K=()=>["","none","full",c,T,I],v=()=>["",A,ct,Ke],_=()=>["solid","dashed","dotted","double"],R=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],O=()=>[A,Dn,hr,mr],se=()=>["","none",C,T,I],te=()=>["none",A,T,I],he=()=>["none",A,T,I],Ue=()=>[A,T,I],Oe=()=>[et,"full",...E()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Ee],breakpoint:[Ee],color:[oc],container:[Ee],"drop-shadow":[Ee],ease:["in","out","in-out"],font:[lc],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Ee],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Ee],shadow:[Ee],spacing:["px",A],text:[Ee],"text-shadow":[Ee],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",et,I,T,m]}],container:["container"],columns:[{columns:[A,I,T,s]}],"break-after":[{"break-after":g()}],"break-before":[{"break-before":g()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:N()}],overflow:[{overflow:F()}],"overflow-x":[{"overflow-x":F()}],"overflow-y":[{"overflow-y":F()}],overscroll:[{overscroll:W()}],"overscroll-x":[{"overscroll-x":W()}],"overscroll-y":[{"overscroll-y":W()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:G()}],"inset-x":[{"inset-x":G()}],"inset-y":[{"inset-y":G()}],start:[{start:G()}],end:[{end:G()}],top:[{top:G()}],right:[{right:G()}],bottom:[{bottom:G()}],left:[{left:G()}],visibility:["visible","invisible","collapse"],z:[{z:[ze,"auto",T,I]}],basis:[{basis:[et,"full","auto",s,...E()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[A,et,"auto","initial","none",I]}],grow:[{grow:["",A,T,I]}],shrink:[{shrink:["",A,T,I]}],order:[{order:[ze,"first","last","none",T,I]}],"grid-cols":[{"grid-cols":$e()}],"col-start-end":[{col:ye()}],"col-start":[{"col-start":ie()}],"col-end":[{"col-end":ie()}],"grid-rows":[{"grid-rows":$e()}],"row-start-end":[{row:ye()}],"row-start":[{"row-start":ie()}],"row-end":[{"row-end":ie()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":Ce()}],"auto-rows":[{"auto-rows":Ce()}],gap:[{gap:E()}],"gap-x":[{"gap-x":E()}],"gap-y":[{"gap-y":E()}],"justify-content":[{justify:[...P(),"normal"]}],"justify-items":[{"justify-items":[...M(),"normal"]}],"justify-self":[{"justify-self":["auto",...M()]}],"align-content":[{content:["normal",...P()]}],"align-items":[{items:[...M(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...M(),{baseline:["","last"]}]}],"place-content":[{"place-content":P()}],"place-items":[{"place-items":[...M(),"baseline"]}],"place-self":[{"place-self":["auto",...M()]}],p:[{p:E()}],px:[{px:E()}],py:[{py:E()}],ps:[{ps:E()}],pe:[{pe:E()}],pt:[{pt:E()}],pr:[{pr:E()}],pb:[{pb:E()}],pl:[{pl:E()}],m:[{m:D()}],mx:[{mx:D()}],my:[{my:D()}],ms:[{ms:D()}],me:[{me:D()}],mt:[{mt:D()}],mr:[{mr:D()}],mb:[{mb:D()}],ml:[{ml:D()}],"space-x":[{"space-x":E()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":E()}],"space-y-reverse":["space-y-reverse"],size:[{size:z()}],w:[{w:[s,"screen",...z()]}],"min-w":[{"min-w":[s,"screen","none",...z()]}],"max-w":[{"max-w":[s,"screen","none","prose",{screen:[l]},...z()]}],h:[{h:["screen","lh",...z()]}],"min-h":[{"min-h":["screen","lh","none",...z()]}],"max-h":[{"max-h":["screen","lh",...z()]}],"font-size":[{text:["base",n,ct,Ke]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,T,Fn]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Dn,I]}],"font-family":[{font:[cc,I,t]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[a,T,I]}],"line-clamp":[{"line-clamp":[A,"none",T,Fn]}],leading:[{leading:[i,...E()]}],"list-image":[{"list-image":["none",T,I]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",T,I]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:V()}],"text-color":[{text:V()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[..._(),"wavy"]}],"text-decoration-thickness":[{decoration:[A,"from-font","auto",T,Ke]}],"text-decoration-color":[{decoration:V()}],"underline-offset":[{"underline-offset":[A,"auto",T,I]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:E()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",T,I]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",T,I]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:L()}],"bg-repeat":[{bg:Q()}],"bg-size":[{bg:me()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},ze,T,I],radial:["",T,I],conic:[ze,T,I]},fc,dc]}],"bg-color":[{bg:V()}],"gradient-from-pos":[{from:oe()}],"gradient-via-pos":[{via:oe()}],"gradient-to-pos":[{to:oe()}],"gradient-from":[{from:V()}],"gradient-via":[{via:V()}],"gradient-to":[{to:V()}],rounded:[{rounded:K()}],"rounded-s":[{"rounded-s":K()}],"rounded-e":[{"rounded-e":K()}],"rounded-t":[{"rounded-t":K()}],"rounded-r":[{"rounded-r":K()}],"rounded-b":[{"rounded-b":K()}],"rounded-l":[{"rounded-l":K()}],"rounded-ss":[{"rounded-ss":K()}],"rounded-se":[{"rounded-se":K()}],"rounded-ee":[{"rounded-ee":K()}],"rounded-es":[{"rounded-es":K()}],"rounded-tl":[{"rounded-tl":K()}],"rounded-tr":[{"rounded-tr":K()}],"rounded-br":[{"rounded-br":K()}],"rounded-bl":[{"rounded-bl":K()}],"border-w":[{border:v()}],"border-w-x":[{"border-x":v()}],"border-w-y":[{"border-y":v()}],"border-w-s":[{"border-s":v()}],"border-w-e":[{"border-e":v()}],"border-w-t":[{"border-t":v()}],"border-w-r":[{"border-r":v()}],"border-w-b":[{"border-b":v()}],"border-w-l":[{"border-l":v()}],"divide-x":[{"divide-x":v()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":v()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[..._(),"hidden","none"]}],"divide-style":[{divide:[..._(),"hidden","none"]}],"border-color":[{border:V()}],"border-color-x":[{"border-x":V()}],"border-color-y":[{"border-y":V()}],"border-color-s":[{"border-s":V()}],"border-color-e":[{"border-e":V()}],"border-color-t":[{"border-t":V()}],"border-color-r":[{"border-r":V()}],"border-color-b":[{"border-b":V()}],"border-color-l":[{"border-l":V()}],"divide-color":[{divide:V()}],"outline-style":[{outline:[..._(),"none","hidden"]}],"outline-offset":[{"outline-offset":[A,T,I]}],"outline-w":[{outline:["",A,ct,Ke]}],"outline-color":[{outline:V()}],shadow:[{shadow:["","none",u,Ht,Gt]}],"shadow-color":[{shadow:V()}],"inset-shadow":[{"inset-shadow":["none",f,Ht,Gt]}],"inset-shadow-color":[{"inset-shadow":V()}],"ring-w":[{ring:v()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:V()}],"ring-offset-w":[{"ring-offset":[A,Ke]}],"ring-offset-color":[{"ring-offset":V()}],"inset-ring-w":[{"inset-ring":v()}],"inset-ring-color":[{"inset-ring":V()}],"text-shadow":[{"text-shadow":["none",p,Ht,Gt]}],"text-shadow-color":[{"text-shadow":V()}],opacity:[{opacity:[A,T,I]}],"mix-blend":[{"mix-blend":[...R(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":R()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[A]}],"mask-image-linear-from-pos":[{"mask-linear-from":O()}],"mask-image-linear-to-pos":[{"mask-linear-to":O()}],"mask-image-linear-from-color":[{"mask-linear-from":V()}],"mask-image-linear-to-color":[{"mask-linear-to":V()}],"mask-image-t-from-pos":[{"mask-t-from":O()}],"mask-image-t-to-pos":[{"mask-t-to":O()}],"mask-image-t-from-color":[{"mask-t-from":V()}],"mask-image-t-to-color":[{"mask-t-to":V()}],"mask-image-r-from-pos":[{"mask-r-from":O()}],"mask-image-r-to-pos":[{"mask-r-to":O()}],"mask-image-r-from-color":[{"mask-r-from":V()}],"mask-image-r-to-color":[{"mask-r-to":V()}],"mask-image-b-from-pos":[{"mask-b-from":O()}],"mask-image-b-to-pos":[{"mask-b-to":O()}],"mask-image-b-from-color":[{"mask-b-from":V()}],"mask-image-b-to-color":[{"mask-b-to":V()}],"mask-image-l-from-pos":[{"mask-l-from":O()}],"mask-image-l-to-pos":[{"mask-l-to":O()}],"mask-image-l-from-color":[{"mask-l-from":V()}],"mask-image-l-to-color":[{"mask-l-to":V()}],"mask-image-x-from-pos":[{"mask-x-from":O()}],"mask-image-x-to-pos":[{"mask-x-to":O()}],"mask-image-x-from-color":[{"mask-x-from":V()}],"mask-image-x-to-color":[{"mask-x-to":V()}],"mask-image-y-from-pos":[{"mask-y-from":O()}],"mask-image-y-to-pos":[{"mask-y-to":O()}],"mask-image-y-from-color":[{"mask-y-from":V()}],"mask-image-y-to-color":[{"mask-y-to":V()}],"mask-image-radial":[{"mask-radial":[T,I]}],"mask-image-radial-from-pos":[{"mask-radial-from":O()}],"mask-image-radial-to-pos":[{"mask-radial-to":O()}],"mask-image-radial-from-color":[{"mask-radial-from":V()}],"mask-image-radial-to-color":[{"mask-radial-to":V()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":B()}],"mask-image-conic-pos":[{"mask-conic":[A]}],"mask-image-conic-from-pos":[{"mask-conic-from":O()}],"mask-image-conic-to-pos":[{"mask-conic-to":O()}],"mask-image-conic-from-color":[{"mask-conic-from":V()}],"mask-image-conic-to-color":[{"mask-conic-to":V()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:L()}],"mask-repeat":[{mask:Q()}],"mask-size":[{mask:me()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",T,I]}],filter:[{filter:["","none",T,I]}],blur:[{blur:se()}],brightness:[{brightness:[A,T,I]}],contrast:[{contrast:[A,T,I]}],"drop-shadow":[{"drop-shadow":["","none",$,Ht,Gt]}],"drop-shadow-color":[{"drop-shadow":V()}],grayscale:[{grayscale:["",A,T,I]}],"hue-rotate":[{"hue-rotate":[A,T,I]}],invert:[{invert:["",A,T,I]}],saturate:[{saturate:[A,T,I]}],sepia:[{sepia:["",A,T,I]}],"backdrop-filter":[{"backdrop-filter":["","none",T,I]}],"backdrop-blur":[{"backdrop-blur":se()}],"backdrop-brightness":[{"backdrop-brightness":[A,T,I]}],"backdrop-contrast":[{"backdrop-contrast":[A,T,I]}],"backdrop-grayscale":[{"backdrop-grayscale":["",A,T,I]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[A,T,I]}],"backdrop-invert":[{"backdrop-invert":["",A,T,I]}],"backdrop-opacity":[{"backdrop-opacity":[A,T,I]}],"backdrop-saturate":[{"backdrop-saturate":[A,T,I]}],"backdrop-sepia":[{"backdrop-sepia":["",A,T,I]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":E()}],"border-spacing-x":[{"border-spacing-x":E()}],"border-spacing-y":[{"border-spacing-y":E()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",T,I]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[A,"initial",T,I]}],ease:[{ease:["linear","initial",w,T,I]}],delay:[{delay:[A,T,I]}],animate:[{animate:["none",k,T,I]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[y,T,I]}],"perspective-origin":[{"perspective-origin":N()}],rotate:[{rotate:te()}],"rotate-x":[{"rotate-x":te()}],"rotate-y":[{"rotate-y":te()}],"rotate-z":[{"rotate-z":te()}],scale:[{scale:he()}],"scale-x":[{"scale-x":he()}],"scale-y":[{"scale-y":he()}],"scale-z":[{"scale-z":he()}],"scale-3d":["scale-3d"],skew:[{skew:Ue()}],"skew-x":[{"skew-x":Ue()}],"skew-y":[{"skew-y":Ue()}],transform:[{transform:[T,I,"","none","gpu","cpu"]}],"transform-origin":[{origin:N()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:Oe()}],"translate-x":[{"translate-x":Oe()}],"translate-y":[{"translate-y":Oe()}],"translate-z":[{"translate-z":Oe()}],"translate-none":["translate-none"],accent:[{accent:V()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:V()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",T,I]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":E()}],"scroll-mx":[{"scroll-mx":E()}],"scroll-my":[{"scroll-my":E()}],"scroll-ms":[{"scroll-ms":E()}],"scroll-me":[{"scroll-me":E()}],"scroll-mt":[{"scroll-mt":E()}],"scroll-mr":[{"scroll-mr":E()}],"scroll-mb":[{"scroll-mb":E()}],"scroll-ml":[{"scroll-ml":E()}],"scroll-p":[{"scroll-p":E()}],"scroll-px":[{"scroll-px":E()}],"scroll-py":[{"scroll-py":E()}],"scroll-ps":[{"scroll-ps":E()}],"scroll-pe":[{"scroll-pe":E()}],"scroll-pt":[{"scroll-pt":E()}],"scroll-pr":[{"scroll-pr":E()}],"scroll-pb":[{"scroll-pb":E()}],"scroll-pl":[{"scroll-pl":E()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",T,I]}],fill:[{fill:["none",...V()]}],"stroke-w":[{stroke:[A,ct,Ke,Fn]}],stroke:[{stroke:["none",...V()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},hc=(o,{cacheSize:t,prefix:n,experimentalParseClassName:r,extend:a={},override:i={}})=>(ut(o,"cacheSize",t),ut(o,"prefix",n),ut(o,"experimentalParseClassName",r),qt(o.theme,i.theme),qt(o.classGroups,i.classGroups),qt(o.conflictingClassGroups,i.conflictingClassGroups),qt(o.conflictingClassGroupModifiers,i.conflictingClassGroupModifiers),ut(o,"orderSensitiveModifiers",i.orderSensitiveModifiers),Ut(o.theme,a.theme),Ut(o.classGroups,a.classGroups),Ut(o.conflictingClassGroups,a.conflictingClassGroups),Ut(o.conflictingClassGroupModifiers,a.conflictingClassGroupModifiers),Cr(o,a,"orderSensitiveModifiers"),o),ut=(o,t,n)=>{n!==void 0&&(o[t]=n)},qt=(o,t)=>{if(t)for(const n in t)ut(o,n,t[n])},Ut=(o,t)=>{if(t)for(const n in t)Cr(o,t,n)},Cr=(o,t,n)=>{const r=t[n];r!==void 0&&(o[n]=o[n]?o[n].concat(r):r)},_r=(o,...t)=>typeof o=="function"?Mn(Rn,o,...t):Mn(()=>hc(Rn(),o),...t),gc=Mn(Rn),ft=[];function bc(o){const n=ft.filter(r=>r.component===o.component&&(r.theme===o.theme||r.theme===void 0)).find(r=>r.target?.prop===o.target?.prop&&r.target?.value===o.target?.value)??null;return n===null?ft.push(o):ft.splice(ft.indexOf(n),1,o),o}function X(o,t,n){return ft.filter(d=>d.theme===t||d.theme===void 0).filter(d=>d.component===o).filter(d=>d.target===void 0||n[d.target.prop]===d.target.value).map(d=>d.config).reduce((d,c)=>{for(const u in c)u in d?d[u]+=` ${c[u]}`:d[u]=c[u];return d},{})}const $c=_r({extend:{theme:{spacing:["none","xxs","xs","sm","md","lg","xl","2xl","3xl","4xl","5xl","6xl","7xl","8xl","9xl","10xl","11xl"]}}});function x(...o){return $c(o.filter(Boolean).join(" "))}function Ve(...o){const t=o.filter(Boolean);if(t.length===0)return{};if(t.length===1)return t[0];const n=new Set;for(const a of t)for(const i of Object.keys(a))n.add(i);const r={};for(const a of n){const i=t.map(s=>s[a]).filter(s=>s!=null);if(i.length===0)continue;if(i.every(s=>typeof s=="string"))r[a]=x(...i);else{const s=i.filter(d=>typeof d=="object");s.length>0?r[a]=Ve(...s):r[a]=i.at(-1)}}return r}const xr={alertCircle:Promise.resolve().then(()=>p2),alertTriangle:Promise.resolve().then(()=>b2),arrowDown:Promise.resolve().then(()=>C2),arrowLeft:Promise.resolve().then(()=>S2),arrowRight:Promise.resolve().then(()=>P2),arrowUp:Promise.resolve().then(()=>M2),calendarIcon:Promise.resolve().then(()=>O2),check:Promise.resolve().then(()=>j2),checkCircle:Promise.resolve().then(()=>U2),chevronLeft:Promise.resolve().then(()=>X2),chevronLeftDouble:Promise.resolve().then(()=>v2),chevronRight:Promise.resolve().then(()=>o3),chevronRightDouble:Promise.resolve().then(()=>l3),close:Promise.resolve().then(()=>u3),eye:Promise.resolve().then(()=>h3),eyeOff:Promise.resolve().then(()=>y3),infoCircle:Promise.resolve().then(()=>x3),minus:Promise.resolve().then(()=>N3),plus:Promise.resolve().then(()=>T3),search:Promise.resolve().then(()=>F3),selectIconRight:Promise.resolve().then(()=>z3),stars:Promise.resolve().then(()=>H3),switchVertical:Promise.resolve().then(()=>K3),translate:Promise.resolve().then(()=>J3)};function yc(o){Object.assign(xr,o)}const wc=e.defineComponent({__name:"AsyncIcon",props:{icon:{}},setup(o){const t=o,n=e.computed(()=>e.defineAsyncComponent(()=>xr[t.icon]));return(r,a)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(n.value)))}}),Cc={"aria-hidden":"true"},ee=e.defineComponent({__name:"Icon",props:{icon:{}},setup(o){const t=o;return(n,r)=>(e.openBlock(),e.createElementBlock("div",Cc,[(e.openBlock(),e.createBlock(e.Suspense,null,{default:e.withCtx(()=>[e.createVNode(wc,{icon:t.icon},null,8,["icon"])]),_:1}))]))}});function j(o){const t=Symbol(o);function n(a){return e.provide(t,a),a}function r(a){const i=e.inject(t,a??void 0);if(i===void 0&&a===void 0)throw new Error(`${o} context is not provided.`);return i??null}return[n,r]}const[_c,de]=j("selectContext"),kr=e.defineComponent({__name:"SelectItemIndicator",setup(o){const{classConfig:t,customClassConfig:n,style:r}=de();return(a,i)=>(e.openBlock(),e.createBlock(e.unref(S.ListboxItemIndicator),null,{default:e.withCtx(()=>[e.renderSlot(a.$slots,"default",{},()=>[e.createVNode(ee,{class:e.normalizeClass(e.unref(r).itemIndicator({class:e.unref(x)(e.unref(n).itemIndicator,e.unref(t)?.itemIndicator)})),icon:"check"},null,8,["class"])])]),_:3}))}}),[Q3,xc]=j("selectGroupContext"),H=e.defineComponent({__name:"TestIdProvider",props:{testId:{},as:{default:null}},setup(o){const t=o;return(n,r)=>(e.openBlock(),e.createBlock(e.unref(S.Primitive),{"as-child":t.as===null,as:t.as??void 0,"data-test-id":t.testId},{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default")]),_:3},8,["as-child","as","data-test-id"]))}}),Ye=e.defineComponent({__name:"SelectItem",props:{isDisabled:{type:Boolean,default:!1},value:{},testId:{default:null}},setup(o){const t=o,{allGroups:n,allItems:r,classConfig:a,customClassConfig:i,filteredItems:l,remainOpenOnSelect:s,setIsDropdownVisible:d,style:c,virtualList:u,onSelectItem:f}=de(),p=xc(null),$=e.useId();function C(m){const k=m.target.attributes.getNamedItem("aria-selected");return k===null?!1:k.value==="true"}function y(m){C(m)&&!s.value&&d(!1),f()}return e.onMounted(()=>{if(r.value.set($,t.value),p===null)return;const{id:m}=p,w=n.value.get(m)??null;if(w===null){n.value.set(m,new Set([$]));return}w.add($)}),e.onBeforeUnmount(()=>{r.value.delete($)}),(m,w)=>e.unref(l).has(e.unref($))||e.unref(u)?.isEnabled?(e.openBlock(),e.createBlock(H,{key:0,"test-id":t.testId},{default:e.withCtx(()=>[e.createVNode(e.unref(S.ListboxItem),{value:t.value,disabled:t.isDisabled,class:e.normalizeClass(e.unref(c).item({class:e.unref(x)(e.unref(i).item,e.unref(a)?.item)})),onSelect:y},{default:e.withCtx(()=>[e.renderSlot(m.$slots,"default"),e.renderSlot(m.$slots,"indicator",{},()=>[e.createVNode(kr)])]),_:3},8,["value","disabled","class"])]),_:3},8,["test-id"])):e.createCommentVNode("",!0)}}),[kc,On]=j("formFieldContext"),Sc=["id"],An=e.defineComponent({__name:"FormFieldError",setup(o){const{isTouched:t,classConfig:n,customClassConfig:r,errorMessage:a,for:i,style:l}=On();return(s,d)=>(e.openBlock(),e.createBlock(e.unref(Y.AnimatePresence),{initial:!1},{default:e.withCtx(()=>[e.unref(a)!==null&&e.unref(t)?(e.openBlock(),e.createBlock(e.unref(Y.Motion),{key:0,initial:{height:0,opacity:0,filter:"blur(4px)"},animate:{height:"auto",opacity:1,filter:"blur(0)"},exit:{height:0,opacity:0,filter:"blur(4px)"}},{default:e.withCtx(()=>[e.createElementVNode("div",null,[e.createElementVNode("div",{class:e.normalizeClass(e.unref(l).error({class:e.unref(x)(e.unref(r).error,e.unref(n)?.error)}))},[e.createVNode(ee,{class:e.normalizeClass(e.unref(l).errorIcon({class:e.unref(x)(e.unref(r).errorIcon,e.unref(n)?.errorIcon)})),icon:"alertTriangle"},null,8,["class"]),e.createElementVNode("span",{id:`${e.unref(i)}-error`,"aria-live":"assertive",role:"alert"},e.toDisplayString(e.unref(a)),9,Sc)],2)])]),_:1})):e.createCommentVNode("",!0)]),_:1}))}}),Bc=["id"],zn=e.defineComponent({__name:"FormFieldHint",setup(o){const{isTouched:t,classConfig:n,customClassConfig:r,errorMessage:a,for:i,hint:l,style:s}=On(),d=e.computed(()=>t.value&&a.value!==null);return(c,u)=>(e.openBlock(),e.createElementBlock("div",null,[e.unref(l)!==null&&!d.value?(e.openBlock(),e.createElementBlock("span",{key:0,id:`${e.unref(i)}-hint`,class:e.normalizeClass(e.unref(s).hint({class:e.unref(x)(e.unref(r).hint,e.unref(n)?.hint)})),role:"alert"},e.toDisplayString(e.unref(l)),11,Bc)):e.createCommentVNode("",!0)]))}}),Nc={class:"flex items-center"},Vc=["for"],Ln=e.defineComponent({__name:"FormFieldLabel",setup(o){const{isRequired:t,classConfig:n,customClassConfig:r,for:a,label:i,style:l}=On();return(s,d)=>e.unref(i)!==null?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(l).labelContainer({class:e.unref(x)(e.unref(r).labelContainer,e.unref(n)?.labelContainer)}))},[e.createElementVNode("div",Nc,[e.renderSlot(s.$slots,"leading"),e.createElementVNode("label",{class:e.normalizeClass(e.unref(l).label({class:e.unref(x)(e.unref(r).label,e.unref(n)?.label)})),for:e.unref(a)},[e.createTextVNode(e.toDisplayString(e.unref(i))+" ",1),e.unref(t)?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(e.unref(l).asterisk({class:e.unref(x)(e.unref(r).asterisk,e.unref(n)?.asterisk)}))},"*",2)):e.createCommentVNode("",!0)],10,Vc),e.renderSlot(s.$slots,"trailing")]),e.renderSlot(s.$slots,"right")],2)):e.createCommentVNode("",!0)}});var Pc=/\s+/g,Ic=o=>typeof o!="string"||!o?o:o.replace(Pc," ").trim(),Wt=(...o)=>{const t=[],n=r=>{if(!r&&r!==0&&r!==0n)return;if(Array.isArray(r)){for(let i=0,l=r.length;i<l;i++)n(r[i]);return}const a=typeof r;if(a==="string"||a==="number"||a==="bigint"){if(a==="number"&&r!==r)return;t.push(String(r))}else if(a==="object"){const i=Object.keys(r);for(let l=0,s=i.length;l<s;l++){const d=i[l];r[d]&&t.push(d)}}};for(let r=0,a=o.length;r<a;r++){const i=o[r];i!=null&&n(i)}return t.length>0?Ic(t.join(" ")):void 0},Sr=o=>o===!1?"false":o===!0?"true":o===0?"0":o,we=o=>{if(!o||typeof o!="object")return!0;for(const t in o)return!1;return!0},Tc=(o,t)=>{if(o===t)return!0;if(!o||!t)return!1;const n=Object.keys(o),r=Object.keys(t);if(n.length!==r.length)return!1;for(let a=0;a<n.length;a++){const i=n[a];if(!r.includes(i)||o[i]!==t[i])return!1}return!0},Ec=(o,t)=>{for(const n in t)if(Object.prototype.hasOwnProperty.call(t,n)){const r=t[n];n in o?o[n]=Wt(o[n],r):o[n]=r}return o},Br=(o,t)=>{for(let n=0;n<o.length;n++){const r=o[n];Array.isArray(r)?Br(r,t):r&&t.push(r)}},Nr=(...o)=>{const t=[];Br(o,t);const n=[];for(let r=0;r<t.length;r++)t[r]&&n.push(t[r]);return n},jn=(o,t)=>{const n={};for(const r in o){const a=o[r];if(r in t){const i=t[r];Array.isArray(a)||Array.isArray(i)?n[r]=Nr(i,a):typeof a=="object"&&typeof i=="object"&&a&&i?n[r]=jn(a,i):n[r]=i+" "+a}else n[r]=a}for(const r in t)r in o||(n[r]=t[r]);return n},Mc={twMerge:!0,twMergeConfig:{}};function Dc(){let o=null,t={},n=!1;return{get cachedTwMerge(){return o},set cachedTwMerge(r){o=r},get cachedTwMergeConfig(){return t},set cachedTwMergeConfig(r){t=r},get didTwMergeConfigChange(){return n},set didTwMergeConfigChange(r){n=r},reset(){o=null,t={},n=!1}}}var Me=Dc(),Fc=o=>{const t=(r,a)=>{const{extend:i=null,slots:l={},variants:s={},compoundVariants:d=[],compoundSlots:c=[],defaultVariants:u={}}=r,f={...Mc,...a},p=i?.base?Wt(i.base,r?.base):r?.base,$=i?.variants&&!we(i.variants)?jn(s,i.variants):s,C=i?.defaultVariants&&!we(i.defaultVariants)?{...i.defaultVariants,...u}:u;!we(f.twMergeConfig)&&!Tc(f.twMergeConfig,Me.cachedTwMergeConfig)&&(Me.didTwMergeConfigChange=!0,Me.cachedTwMergeConfig=f.twMergeConfig);const y=we(i?.slots),m=we(l)?{}:{base:Wt(r?.base,y&&i?.base),...l},w=y?m:Ec({...i?.slots},we(m)?{base:r?.base}:m),k=we(i?.compoundVariants)?d:Nr(i?.compoundVariants,d),g=N=>{if(we($)&&we(l)&&y)return o(p,N?.class,N?.className)(f);if(k&&!Array.isArray(k))throw new TypeError(`The "compoundVariants" prop must be an array. Received: ${typeof k}`);if(c&&!Array.isArray(c))throw new TypeError(`The "compoundSlots" prop must be an array. Received: ${typeof c}`);const F=(P,M=$,D=null,z=null)=>{const V=M[P];if(!V||we(V))return null;const L=z?.[P]??N?.[P];if(L===null)return null;const Q=Sr(L);if(typeof Q=="object")return null;const me=C?.[P],oe=Q??Sr(me);return V[oe||"false"]},W=()=>{if(!$)return null;const P=Object.keys($),M=[];for(let D=0;D<P.length;D++){const z=F(P[D],$);z&&M.push(z)}return M},E=(P,M)=>{if(!$||typeof $!="object")return null;const D=[];for(const z in $){const V=F(z,$,P,M),L=P==="base"&&typeof V=="string"?V:V&&V[P];L&&D.push(L)}return D},G={};for(const P in N){const M=N[P];M!==void 0&&(G[P]=M)}const $e=(P,M)=>{const D=typeof N?.[P]=="object"?{[P]:N[P]?.initial}:{};return{...C,...G,...D,...M}},ye=(P=[],M)=>{const D=[],z=P.length;for(let V=0;V<z;V++){const{class:L,className:Q,...me}=P[V];let oe=!0;const K=$e(null,M);for(const v in me){const _=me[v],R=K[v];if(Array.isArray(_)){if(!_.includes(R)){oe=!1;break}}else{if((_==null||_===!1)&&(R==null||R===!1))continue;if(R!==_){oe=!1;break}}}oe&&(L&&D.push(L),Q&&D.push(Q))}return D},ie=P=>{const M=ye(k,P);if(!Array.isArray(M))return M;const D={},z=o;for(let V=0;V<M.length;V++){const L=M[V];if(typeof L=="string")D.base=z(D.base,L)(f);else if(typeof L=="object")for(const Q in L)D[Q]=z(D[Q],L[Q])(f)}return D},Ce=P=>{if(c.length<1)return null;const M={},D=$e(null,P);for(let z=0;z<c.length;z++){const{slots:V=[],class:L,className:Q,...me}=c[z];if(!we(me)){let oe=!0;for(const K in me){const v=D[K],_=me[K];if(v===void 0||(Array.isArray(_)?!_.includes(v):_!==v)){oe=!1;break}}if(!oe)continue}for(let oe=0;oe<V.length;oe++){const K=V[oe];M[K]||(M[K]=[]),M[K].push([L,Q])}}return M};if(!we(l)||!y){const P={};if(typeof w=="object"&&!we(w)){const M=o;for(const D in w)P[D]=z=>{const V=ie(z),L=Ce(z);return M(w[D],E(D,z),V?V[D]:void 0,L?L[D]:void 0,z?.class,z?.className)(f)}}return P}return o(p,W(),ye(k),N?.class,N?.className)(f)},B=()=>{if(!(!$||typeof $!="object"))return Object.keys($)};return g.variantKeys=B(),g.extend=i,g.base=p,g.slots=w,g.variants=$,g.defaultVariants=C,g.compoundSlots=c,g.compoundVariants=k,g};return{tv:t,createTV:r=>(a,i)=>t(a,i?jn(r,i):r)}},Rc=o=>we(o)?gc:_r({...o,extend:{theme:o.theme,classGroups:o.classGroups,conflictingClassGroupModifiers:o.conflictingClassGroupModifiers,conflictingClassGroups:o.conflictingClassGroups,...o.extend}}),Oc=(o,t)=>{const n=Wt(o);return!n||!(t?.twMerge??!0)?n:((!Me.cachedTwMerge||Me.didTwMergeConfigChange)&&(Me.didTwMergeConfigChange=!1,Me.cachedTwMerge=Rc(Me.cachedTwMergeConfig)),Me.cachedTwMerge(n)||void 0)},Ac=(...o)=>t=>Oc(o,t),{createTV:zc}=Fc(Ac);const q=zc({twMerge:!0,twMergeConfig:{extend:{theme:{spacing:["none","xxs","xs","sm","md","lg","xl","2xl","3xl","4xl","5xl","6xl","7xl","8xl","9xl","10xl","11xl"]}}}});class b{classes=[];with(t){return this.classes.push(t),this}build(){return this.classes.join(" ")}withBackgroundColor(t){return this.with(t),this}withBase(t){return this.classes.push(t),this}withBorder(t){return this.with(t),this}withBorderRadius(t){return this.with(t),this}withClasses(t){return this.with(t),this}withColor(t){return this.with(t),this}withCursor(t){return this.with(t),this}withFlex(t){return this.with(t),this}withFontColor(t){return this.with(t),this}withFontSize(t){return this.with(t),this}withFontWeight(t){return this.with(t),this}withGap(t){return this.with(t),this}withGrid(t){return this.with(t),this}withHeight(t){return this.with(t),this}withLeading(t){return this.with(t),this}withMargin(t){return this.with(t),this}withOutline(t){return this.with(t),this}withPadding(t){return this.with(t),this}withPlaceholderColor(t){return this.with(t),this}withRing(t){return this.with(t),this}withShadow(t){return this.with(t),this}withSize(t){return this.with(t),this}withSpacing(t){return this.with(t),this}withTransition(t){return this.with(t),this}withTranslate(t){return this.with(t),this}withZIndex(t){return this.with(t),this}}const Vr=q({slots:{asterisk:new b().withColor("text-error-primary").build(),error:new b().withFlex("flex items-center gap-x-md").withColor("text-error-primary").withFontSize("text-sm").withFontWeight("font-medium").withSpacing("group-data-[layout=vertical]/form-field:pt-sm group-data-[layout=horizontal]/form-field:!pt-0").build(),errorIcon:new b().withSize("size-4").build(),hint:new b().withBase("inline-block").withColor("text-tertiary").withFontSize("text-sm").withSpacing("group-data-[layout=vertical]/form-field:pt-sm group-data-[layout=horizontal]/form-field:!pt-0").build(),label:new b().withBase("inline-block").withFontSize("text-sm").withColor("text-secondary").withFontWeight("font-medium").build(),labelContainer:new b().withBase("flex items-center justify-between").withSpacing("group-data-[layout=vertical]/form-field:pb-sm group-data-[layout=horizontal]/form-field:!pb-0").build(),root:new b().withBase("group/form-field").withGrid("data-[layout=horizontal]:grid data-[layout=horizontal]:grid-cols-[auto_auto] gap-x-md items-center justify-start").build()},variants:{variant:{}}}),Pr=Symbol("themeProviderContextKey");function Lc(o){e.provide(Pr,o)}function U(){const o=e.inject(Pr,null);return o===null?{appearance:e.computed(()=>"light"),theme:e.computed(()=>"default")}:o}function Z(o){const t={};for(const n in o){if(typeof o[n]=="function"){t[n]=o[n];continue}t[n]=e.computed(()=>o[n])}return t}const jc=["data-layout"],Ir=e.defineComponent({__name:"FormFieldRoot",props:{for:{},layout:{default:"vertical"},variant:{default:null},id:{default:null},isRequired:{type:Boolean,default:!1},isTouched:{type:Boolean,default:!1},errorMessage:{default:null},hint:{default:null},label:{default:null},classConfig:{default:null}},setup(o){const t=o,{theme:n}=U(),r=e.computed(()=>Vr({variant:t.variant??void 0})),a=e.computed(()=>X("formField",n.value,{variant:t.variant}));return kc({...Z(t),customClassConfig:a,style:r}),(i,l)=>(e.openBlock(),e.createElementBlock("div",{"data-layout":t.layout,class:e.normalizeClass(r.value.root({class:e.unref(x)(a.value.root,t.classConfig?.root)}))},[e.renderSlot(i.$slots,"default")],10,jc))}}),_e=e.defineComponent({__name:"FormField",props:{for:{},layout:{default:"vertical"},variant:{},id:{},isRequired:{type:Boolean},isTouched:{type:Boolean},errorMessage:{},hint:{},label:{},classConfig:{}},setup(o){const t=o;return(n,r)=>(e.openBlock(),e.createBlock(Ir,e.normalizeProps(e.guardReactiveProps(t)),{default:e.withCtx(()=>[t.layout==="vertical"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.renderSlot(n.$slots,"label",{},()=>[e.createVNode(Ln)]),e.renderSlot(n.$slots,"default"),e.renderSlot(n.$slots,"error",{},()=>[e.createVNode(An)]),e.renderSlot(n.$slots,"hint",{},()=>[e.createVNode(zn)])],64)):e.createCommentVNode("",!0),t.layout==="horizontal"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.renderSlot(n.$slots,"default"),e.renderSlot(n.$slots,"label",{},()=>[e.createVNode(Ln)]),r[0]||(r[0]=e.createElementVNode("span",null,null,-1)),e.createElementVNode("div",null,[e.renderSlot(n.$slots,"error",{},()=>[e.createVNode(An)]),e.renderSlot(n.$slots,"hint",{},()=>[e.createVNode(zn)])])],64)):e.createCommentVNode("",!0)]),_:3},16))}}),Gc=e.defineComponent({__name:"SelectBaseInlineSearch",setup(o){const{id:t,hasInteractedWithInlineSearchInput:n,isDisabled:r,classConfig:a,customClassConfig:i,inlinesearchInputElementRef:l,placeholder:s,searchInputPlaceholder:d,searchTerm:c,setIsDropdownVisible:u,style:f}=de(),p=e.ref();function $(){n.value=!0,C()}function C(){u(!0)}return e.onMounted(()=>{l.value=p.value?.$el??null}),(y,m)=>(e.openBlock(),e.createBlock(e.unref(S.ListboxFilter),{id:e.unref(t),ref_key:"listboxFilterRef",ref:p,modelValue:e.unref(c),"onUpdate:modelValue":m[0]||(m[0]=w=>e.isRef(c)?c.value=w:null),disabled:e.unref(r),class:e.normalizeClass(e.unref(f).inlineSearchInput({class:e.unref(x)(e.unref(i).inlineSearchInput,e.unref(a)?.inlineSearchInput)})),placeholder:e.unref(s)??e.unref(d),"aria-autocomplete":"list",role:"combobox",autocomplete:"false",onInput:$,onKeydown:e.withKeys(e.withModifiers(C,["prevent"]),["up","down"])},null,8,["id","modelValue","disabled","class","placeholder","onKeydown"]))}}),[Hc,Tr]=j("badgeContext"),Er=e.defineComponent({__name:"BadgeIcon",setup(o){const{classConfig:t,customClassConfig:n,icon:r,style:a}=Tr();return(i,l)=>e.unref(r)!==null?(e.openBlock(),e.createBlock(ee,{key:0,icon:e.unref(r),class:e.normalizeClass(e.unref(a).icon({class:e.unref(x)(e.unref(n).icon,e.unref(t)?.icon)}))},null,8,["icon","class"])):e.createCommentVNode("",!0)}}),[qc,Mr]=j("iconButtonContext"),Dr=e.defineComponent({__name:"IconButtonIcon",setup(o){const{isLoading:t,classConfig:n,customClassConfig:r,icon:a,style:i}=Mr();return(l,s)=>(e.openBlock(),e.createBlock(e.Transition,{"enter-from-class":"opacity-0 scale-75 blur-xxs","leave-to-class":"opacity-0 scale-75 blur-xxs","enter-active-class":"duration-300","leave-active-class":"duration-300"},{default:e.withCtx(()=>[e.unref(a)!==null&&!e.unref(t)?(e.openBlock(),e.createBlock(ee,{key:0,icon:e.unref(a),class:e.normalizeClass(e.unref(i).icon({class:e.unref(x)(e.unref(r).icon,e.unref(n)?.icon)}))},null,8,["icon","class"])):e.createCommentVNode("",!0)]),_:1}))}}),J=(o,t)=>{const n=o.__vccOpts||o;for(const[r,a]of t)n[r]=a;return n},Uc={},Wc={viewBox:"25 25 50 50","aria-hidden":"true",class:"animate-spinner"};function Kc(o,t){return e.openBlock(),e.createElementBlock("svg",Wc,[...t[0]||(t[0]=[e.createElementVNode("circle",{class:"size-full animate-spinner-path",cx:"100%",cy:"100%",fill:"none",r:"20",stroke:"currentColor","stroke-miterlimit":"10","stroke-width":"4","stroke-dasharray":"1, 200","stroke-dashoffset":"0","stroke-linecap":"round"},null,-1)])])}const De=J(Uc,[["render",Kc]]),Yc={class:"sr-only"},Fr=e.defineComponent({__name:"IconButtonLoader",setup(o){const{isLoading:t,classConfig:n,customClassConfig:r,style:a}=Mr(),{t:i}=ne.useI18n();return(l,s)=>(e.openBlock(),e.createBlock(e.Transition,{"enter-from-class":"opacity-0 scale-75 blur-xxs","leave-to-class":"opacity-0 scale-75 blur-xxs","enter-active-class":"absolute duration-300","leave-active-class":"absolute duration-300"},{default:e.withCtx(()=>[e.unref(t)?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(a).loader({class:e.unref(x)(e.unref(r).loader,e.unref(n)?.loader)}))},[e.createElementVNode("span",Yc,e.toDisplayString(e.unref(i)("shared.loading")),1),e.renderSlot(l.$slots,"default",{},()=>[e.createVNode(De)])],2)):e.createCommentVNode("",!0)]),_:3}))}}),Rr=q({slots:{root:new b().withBase("group/button whitespace-nowrap overflow-hidden relative").withOutline("focus-visible:outline-2 outline-offset-2 outline-brand-600").withBorder("border border-solid").withBorderRadius("rounded-md").withCursor("cursor-pointer disabled:cursor-not-allowed data-[loading=true]:cursor-not-allowed").withTransition("duration-100 data-[loading=false]:not-disabled:active:scale-99").build()},variants:{variant:{"destructive-primary":{root:new b().withColor("text-white disabled:text-fg-disabled").withBackgroundColor("bg-error-solid disabled:bg-disabled").withBorder("border-error-600 disabled:border-disabled-subtle").withOutline("outline-error-600").withTransition("data-[loading=false]:not-disabled:hover:brightness-95 data-[loading=false]:not-disabled:active:brightness-90").build()},"destructive-secondary":{root:new b().withColor("text-error-primary disabled:text-fg-disabled").withBackgroundColor("bg-transparent data-[loading=false]:not-disabled:hover:bg-error-primary data-[loading=false]:not-disabled:active:brightness-98 data-[loading=true]:bg-error-primary").withBorder("border-error-subtle disabled:border-disabled-subtle").withOutline("outline-error-600").build()},"destructive-tertiary":{root:new b().withColor("text-error-primary disabled:text-fg-disabled").withBackgroundColor("bg-transparent data-[loading=false]:not-disabled:hover:bg-error-primary data-[loading=false]:not-disabled:active:brightness-98 data-[loading=true]:bg-error-primary").withBorder("border-transparent").withOutline("outline-error-600").build()},primary:{root:new b().withColor("text-white disabled:text-fg-disabled").withBackgroundColor("bg-brand-solid disabled:bg-disabled").withBorder("border-brand-600 disabled:border-disabled-subtle").withTransition("data-[loading=false]:not-disabled:hover:brightness-95 data-[loading=false]:not-disabled:active:brightness-90").build()},secondary:{root:new b().withColor("text-secondary disabled:text-fg-disabled").withBackgroundColor("bg-transparent data-[loading=false]:not-disabled:hover:bg-primary-hover data-[loading=false]:not-disabled:active:brightness-98 data-[loading=true]:bg-primary-hover").withBorder("border-primary disabled:border-disabled-subtle").build()},tertiary:{root:new b().withColor("text-tertiary disabled:text-fg-disabled").withBackgroundColor("bg-transparent data-[loading=false]:not-disabled:hover:bg-primary-hover data-[loading=false]:not-disabled:active:brightness-98 data-[loading=true]:bg-primary-hover").withBorder("border-transparent").build()}},size:{"2xl":{root:new b().withHeight("h-15").withBorderRadius("rounded-lg").build()},lg:{root:new b().withHeight("h-11").build()},md:{root:new b().withHeight("h-10").build()},sm:{root:new b().withHeight("h-9").build()},xl:{root:new b().withHeight("h-12").build()}}}}),Or=q({extend:Rr,slots:{contentContainer:"",icon:"",loader:"",root:new b().withFlex("flex items-center justify-center").build()},variants:{size:{"2xl":{icon:new b().withSize("size-6").build(),loader:new b().withSize("size-6").build(),root:new b().withSize("w-15").build()},lg:{icon:new b().withSize("size-5").build(),loader:new b().withSize("size-5").build(),root:new b().withSize("w-11").build()},md:{icon:new b().withSize("size-5").build(),loader:new b().withSize("size-5").build(),root:new b().withSize("w-10").build()},sm:{icon:new b().withSize("size-4").build(),loader:new b().withSize("size-4").build(),root:new b().withSize("w-9").build()},xl:{icon:new b().withSize("size-5").build(),loader:new b().withSize("size-5").build(),root:new b().withSize("w-12").build()}}}}),ce=e.defineComponent({__name:"InteractableElement",props:{isDisabled:{type:Boolean},as:{default:null}},setup(o){const t=o;return(n,r)=>(e.openBlock(),e.createBlock(e.unref(S.Primitive),{"as-child":t.as===null,as:t.as??void 0,disabled:o.isDisabled},{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default")]),_:3},8,["as-child","as","disabled"]))}}),Xc={class:"sr-only"},Ar=e.defineComponent({__name:"IconButtonRoot",props:{icon:{},label:{},size:{default:"md"},variant:{default:"primary"},isLoading:{type:Boolean,default:!1},type:{default:"button"},testId:{default:null},isDisabled:{type:Boolean,default:!1},classConfig:{default:null}},emits:["click"],setup(o,{emit:t}){const n=o,r=t,{theme:a}=U(),i=e.computed(()=>Or({size:n.size,variant:n.variant})),l=e.computed(()=>X("iconButton",a.value,{size:n.size,variant:n.variant}));function s(d){n.isLoading||r("click",d)}return qc({...Z(n),customClassConfig:l,style:i}),(d,c)=>(e.openBlock(),e.createBlock(H,{"test-id":n.testId},{default:e.withCtx(()=>[e.createVNode(ce,{"is-disabled":n.isDisabled,"aria-disabled":n.isLoading,"aria-busy":n.isLoading,type:n.type,"data-loading":n.isLoading,class:e.normalizeClass(i.value.root({class:e.unref(x)(l.value.root,n.classConfig?.root)})),as:"button",onClick:s},{default:e.withCtx(()=>[e.createElementVNode("span",Xc,e.toDisplayString(n.label),1),e.renderSlot(d.$slots,"default")]),_:3},8,["is-disabled","aria-disabled","aria-busy","type","data-loading","class"])]),_:3},8,["test-id"]))}}),ue=e.defineComponent({__name:"IconButton",props:{icon:{},label:{},size:{},variant:{},isLoading:{type:Boolean},type:{},testId:{},isDisabled:{type:Boolean},classConfig:{}},emits:["click"],setup(o,{emit:t}){const n=o,r=t;return(a,i)=>(e.openBlock(),e.createBlock(Ar,e.mergeProps(n,{onClick:i[0]||(i[0]=l=>r("click",l))}),{default:e.withCtx(()=>[e.renderSlot(a.$slots,"icon",{},()=>[e.createVNode(Dr)]),e.renderSlot(a.$slots,"loader",{},()=>[e.createVNode(Fr)])]),_:3},16))}}),zr=e.defineComponent({__name:"BadgeRemoveButton",setup(o){const{isRemovable:t,classConfig:n,customClassConfig:r,onRemove:a}=Tr(),{t:i}=ne.useI18n();return(l,s)=>e.unref(t)?(e.openBlock(),e.createBlock(ue,{key:0,label:e.unref(i)("shared.remove"),"class-config":e.unref(Ve)({root:"size-4 text-inherit !bg-inherit hover:brightness-97 outline-inherit",icon:"size-3.5"},e.unref(r).removeButton,e.unref(n)?.removeButton),variant:"tertiary",icon:"close",onClick:e.unref(a)},null,8,["label","class-config","onClick"])):e.createCommentVNode("",!0)}}),Lr=q({slots:{icon:new b().withSize("size-4").build(),root:new b().withBase("group/badge").withFlex("inline-flex items-center").withBorder("border border-solid").withBorderRadius("rounded-full").withFontWeight("font-medium").build()},variants:{variant:{outline:{},solid:{},translucent:{}},color:{brand:{root:new b().withBackgroundColor("data-[variant=solid]:bg-brand-700").withColor("data-[variant=solid]:text-primary-on-brand").withBorder("data-[variant=solid]:border-brand-700").withBackgroundColor("data-[variant=translucent]:bg-brand-25 data-[variant=translucent]:dark:bg-brand-950").withColor("data-[variant=translucent]:text-brand-700 data-[variant=translucent]:dark:text-brand-200").withBorder("data-[variant=translucent]:border-brand-200 data-[variant=translucent]:dark:border-brand-800").withColor("data-[variant=outline]:text-brand-700 data-[variant=outline]:dark:text-brand-300").withBorder("data-[variant=outline]:border-brand-400 data-[variant=outline]:dark:border-brand-600").build()},error:{root:new b().withBackgroundColor("data-[variant=solid]:bg-error-700").withColor("data-[variant=solid]:text-white").withBorder("data-[variant=solid]:border-error-700").withBackgroundColor("data-[variant=translucent]:bg-error-25 data-[variant=translucent]:dark:bg-error-950").withColor("data-[variant=translucent]:text-error-700 data-[variant=translucent]:dark:text-error-200").withBorder("data-[variant=translucent]:border-error-200 data-[variant=translucent]:dark:border-error-800").withColor("data-[variant=outline]:text-error-700 data-[variant=outline]:dark:text-error-300").withBorder("data-[variant=outline]:border-error-400 data-[variant=outline]:dark:border-error-600").build()},gray:{root:new b().withBackgroundColor("data-[variant=solid]:bg-gray-700").withColor("data-[variant=solid]:text-white").withBorder("data-[variant=solid]:border-gray-700").withBackgroundColor("data-[variant=translucent]:bg-gray-25 data-[variant=translucent]:dark:bg-gray-950").withColor("data-[variant=translucent]:text-gray-700 data-[variant=translucent]:dark:text-gray-200").withBorder("data-[variant=translucent]:border-gray-200 data-[variant=translucent]:dark:border-gray-800").withColor("data-[variant=outline]:text-gray-700 data-[variant=outline]:dark:text-gray-300").withBorder("data-[variant=outline]:border-gray-400 data-[variant=outline]:dark:border-gray-600").build()},success:{root:new b().withBackgroundColor("data-[variant=solid]:bg-success-700").withColor("data-[variant=solid]:text-white").withBorder("data-[variant=solid]:border-success-700").withBackgroundColor("data-[variant=translucent]:bg-success-25 data-[variant=translucent]:dark:bg-success-950").withColor("data-[variant=translucent]:text-success-700 data-[variant=translucent]:dark:text-success-200").withBorder("data-[variant=translucent]:border-success-200 data-[variant=translucent]:dark:border-success-800").withColor("data-[variant=outline]:text-success-700 data-[variant=outline]:dark:text-success-300").withBorder("data-[variant=outline]:border-success-400 data-[variant=outline]:dark:border-success-600").build()},warning:{root:new b().withBackgroundColor("data-[variant=solid]:bg-warning-700").withColor("data-[variant=solid]:text-white").withBorder("data-[variant=solid]:border-warning-700").withBackgroundColor("data-[variant=translucent]:bg-warning-25 data-[variant=translucent]:dark:bg-warning-950").withColor("data-[variant=translucent]:text-warning-700 data-[variant=translucent]:dark:text-warning-200").withBorder("data-[variant=translucent]:border-warning-200 data-[variant=translucent]:dark:border-warning-800").withColor("data-[variant=outline]:text-warning-700 data-[variant=outline]:dark:text-warning-300").withBorder("data-[variant=outline]:border-warning-400 data-[variant=outline]:dark:border-warning-600").build()}},size:{lg:{root:new b().withFlex("gap-x-sm").withPadding("px-lg py-xs data-icon:pl-md data-removable:pr-sm").withFontSize("text-sm").build()},md:{root:new b().withFlex("gap-x-sm").withPadding("px-2.5 py-xxs data-icon:pl-sm data-removable:pr-sm").withFontSize("text-sm").build()},sm:{root:new b().withFlex("gap-x-xs").withPadding("px-md py-xxs data-icon:pl-xs data-removable:pr-xs").withFontSize("text-xs").build()}}}}),Zc=["data-icon","data-removable","data-variant"],jr=e.defineComponent({__name:"BadgeRoot",props:{isRemovable:{type:Boolean,default:!1},color:{},icon:{default:null},size:{default:"md"},variant:{},testId:{default:null},classConfig:{default:null}},emits:["remove"],setup(o,{emit:t}){const n=o,r=t,{theme:a}=U(),i=e.computed(()=>Lr({color:n.color,size:n.size,variant:n.variant})),l=e.computed(()=>X("badge",a.value,{color:n.color,size:n.size,variant:n.variant}));function s(){r("remove")}return Hc({...Z(n),customClassConfig:l,style:i,onRemove:s}),(d,c)=>(e.openBlock(),e.createBlock(H,{"test-id":n.testId},{default:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass(i.value.root({class:e.unref(x)(l.value.root,n.classConfig?.root)})),"data-icon":n.icon!==null||void 0,"data-removable":n.isRemovable||void 0,"data-variant":n.variant},[e.renderSlot(d.$slots,"default")],10,Zc)]),_:3},8,["test-id"]))}}),Gn=e.defineComponent({__name:"Badge",props:{isRemovable:{type:Boolean},color:{},icon:{},size:{},variant:{},testId:{},classConfig:{}},emits:["remove"],setup(o,{emit:t}){const n=o,r=t;return(a,i)=>(e.openBlock(),e.createBlock(jr,e.mergeProps(n,{onRemove:i[0]||(i[0]=l=>r("remove"))}),{default:e.withCtx(()=>[e.createVNode(Er),e.renderSlot(a.$slots,"left"),e.renderSlot(a.$slots,"default"),e.renderSlot(a.$slots,"right"),e.createVNode(zr)]),_:3},16))}}),Gr=e.defineComponent({__name:"SelectPlaceholder",setup(o){const{classConfig:t,customClassConfig:n,modelValue:r,placeholder:a,style:i}=de(),l=e.computed(()=>Array.isArray(r.value)?r.value.length===0:r.value===null);return(s,d)=>l.value?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(e.unref(i).placeholder({class:e.unref(x)(e.unref(n).placeholder,e.unref(t)?.placeholder)}))},e.toDisplayString(e.unref(a)),3)):e.createCommentVNode("",!0)}}),Jc={class:"whitespace-nowrap"},Qc={class:"whitespace-nowrap"},vc={class:"pl-xs text-sm font-medium text-secondary"},Hr=e.defineComponent({__name:"SelectBaseMultiple",setup(o){const{classConfig:t,customClassConfig:n,displayFn:r,modelValue:a,style:i}=de(),l=e.ref(null),s=e.ref(0),d=e.ref([]),c=e.ref(null);let u=null;const f=e.computed(()=>a.value),p=e.computed(()=>s.value===0?[]:f.value.filter((C,y)=>{if(d.value[y]===void 0)return!1;const m=d.value[y].getBoundingClientRect().width,w=c.value?.getBoundingClientRect().width??0,k=d.value.slice(0,y).reduce((g,B)=>g+B.getBoundingClientRect().width,0);return m+k+w+10<=s.value})),$=e.computed(()=>f.value.length-p.value.length);return e.onMounted(()=>{l.value!==null&&(u=new ResizeObserver(()=>{s.value=l.value.getBoundingClientRect().width??0}),u.observe(l.value))}),e.onBeforeUnmount(()=>{u===null||l.value===null||(u.unobserve(l.value),u.disconnect())}),(C,y)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"tagContainerRef",ref:l,class:e.normalizeClass(e.unref(i).baseMultiple({class:e.unref(x)(e.unref(n).baseMultiple,e.unref(t)?.baseMultiple)}))},[e.createVNode(Gr,{class:"pl-sm"}),f.value.length>0?e.renderSlot(C.$slots,"default",{key:0},()=>[e.createElementVNode("div",{class:e.normalizeClass([e.unref(i).baseMultiple({class:e.unref(x)(e.unref(n).baseMultiple,e.unref(t)?.baseMultiple)}),"invisible absolute"]),"aria-hidden":"true"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(f.value,(m,w)=>(e.openBlock(),e.createElementBlock("div",{key:w,ref_for:!0,ref_key:"badgeWrapperRef",ref:d},[e.renderSlot(C.$slots,"badge",{value:m},()=>[e.createVNode(Gn,{"class-config":{root:"rounded-md"},color:"gray",variant:"translucent"},{default:e.withCtx(()=>[e.createElementVNode("div",Jc,e.toDisplayString(e.unref(r)(m)),1)]),_:2},1024)])],512))),128))],2),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(p.value,(m,w)=>e.renderSlot(C.$slots,"badge",{key:w,value:m},()=>[e.createVNode(Gn,{"class-config":{root:"rounded-md"},color:"gray",variant:"translucent"},{default:e.withCtx(()=>[e.createElementVNode("div",Qc,e.toDisplayString(e.unref(r)(m)),1)]),_:2},1024)])),128)),$.value>0?(e.openBlock(),e.createElementBlock("div",{key:0,ref_key:"moreTagsCountRef",ref:c},[e.createElementVNode("span",vc," +"+e.toDisplayString($.value),1)],512)):e.createCommentVNode("",!0)]):e.createCommentVNode("",!0)],2))}}),eu={class:"truncate"},Hn=e.defineComponent({__name:"SelectBaseSingle",setup(o){const{classConfig:t,customClassConfig:n,displayFn:r,modelValue:a,style:i}=de();return(l,s)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(i).baseSingle({class:e.unref(x)(e.unref(n).baseSingle,e.unref(t)?.baseSingle)}))},[e.createVNode(Gr),e.unref(a)!==null?e.renderSlot(l.$slots,"default",{key:0},()=>[e.createElementVNode("span",eu,e.toDisplayString(e.unref(r)(e.unref(a))),1),e.renderSlot(l.$slots,"right")]):e.createCommentVNode("",!0)],2))}}),qr=e.defineComponent({__name:"SelectBase",setup(o){const{hasInlineSearchInput:t,isMultiple:n,classConfig:r,customClassConfig:a,style:i}=de();return(l,s)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(i).base({class:e.unref(x)(e.unref(a).base,e.unref(r)?.base)}))},[e.renderSlot(l.$slots,"default",{},()=>[e.unref(t)?(e.openBlock(),e.createBlock(Gc,{key:0})):e.unref(n)?(e.openBlock(),e.createBlock(Hr,{key:1},{badge:e.withCtx(({value:d})=>[e.renderSlot(l.$slots,"badge",{value:d})]),_:3})):(e.openBlock(),e.createBlock(Hn,{key:2}))])],2))}}),tu=e.defineComponent({__name:"SelectContent",setup(o){const{id:t,hasScrolledInDropdownContent:n,classConfig:r,customClassConfig:a,style:i}=de(),l=S.injectListboxRootContext(),s=e.ref(null),d=e.ref(null),c=nr(d);function u(){const $=s.value?.$el??null;return $===null?[]:Array.from($.querySelectorAll("[role=option]"))}function f($){if($.length===0)return;const C=$.findIndex(m=>m.getAttribute("aria-selected")==="true"),y=C===-1?$[0]:$[C];setTimeout(()=>{l.changeHighlight(y)})}function p($){const C=$.target;n.value=C.scrollTop!==0}return e.onMounted(()=>{setTimeout(()=>{const $=u();f($)})}),e.onBeforeUnmount(()=>{l.highlightedElement.value=null}),($,C)=>(e.openBlock(),e.createBlock(e.unref(Y.Motion),{animate:{height:e.unref(c).height.value},transition:{type:"spring",bounce:0,duration:.3},tabindex:"-1",class:"overflow-hidden"},{default:e.withCtx(()=>[e.createElementVNode("div",{ref_key:"listboxContentWrapperRef",ref:d},[e.createVNode(e.unref(S.ListboxContent),{id:`${e.unref(t)}-content`,ref_key:"listboxContentRef",ref:s,class:e.normalizeClass(e.unref(i).content({class:e.unref(x)(e.unref(a).content,e.unref(r)?.content)})),onScroll:p},{default:e.withCtx(()=>[e.renderSlot($.$slots,"default")]),_:3},8,["id","class"])],512)]),_:3},8,["animate"]))}}),[nu,Kt]=j("textFieldContext"),qn=e.defineComponent({__name:"TextFieldIconLeft",setup(o){const{classConfig:t,customClassConfig:n,iconLeft:r,style:a}=Kt();return(i,l)=>e.unref(r)!==null?(e.openBlock(),e.createBlock(ee,{key:0,icon:e.unref(r),class:e.normalizeClass(e.unref(a).iconLeft({class:e.unref(x)(e.unref(n).iconLeft,e.unref(t)?.iconLeft)}))},null,8,["icon","class"])):e.createCommentVNode("",!0)}}),Le=e.defineComponent({__name:"FormControl",props:{id:{},isDisabled:{type:Boolean},isInvalid:{type:Boolean},isLoading:{type:Boolean},isRequired:{type:Boolean},as:{default:null},describedBy:{}},setup(o){const t=o;return(n,r)=>(e.openBlock(),e.createBlock(e.unref(S.Primitive),{id:t.id,as:t.as??void 0,"as-child":t.as===null,"aria-invalid":t.isInvalid,"aria-describedby":t.describedBy,"aria-required":t.isRequired,"aria-busy":t.isLoading},{default:e.withCtx(()=>[e.createVNode(ce,{"is-disabled":t.isDisabled},{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default")]),_:3},8,["is-disabled"])]),_:3},8,["id","as","as-child","aria-invalid","aria-describedby","aria-required","aria-busy"]))}}),Un=e.defineComponent({__name:"TextFieldInput",setup(o){const{id:t,testId:n,isDisabled:r,isLoading:a,isRequired:i,isSpellCheckEnabled:l,autocomplete:s,classConfig:d,customClassConfig:c,errorMessage:u,modelValue:f,placeholder:p,style:$,type:C,onBlur:y,onFocus:m}=Kt();function w(k){f.value=k.target.value}return(k,g)=>(e.openBlock(),e.createBlock(H,{"test-id":e.unref(n)},{default:e.withCtx(()=>[e.createVNode(Le,{id:e.unref(t),value:e.unref(f),"is-loading":e.unref(a),"is-disabled":e.unref(r),"is-invalid":e.unref(u)!==null,"is-required":e.unref(i),"described-by":`${e.unref(t)}-error ${e.unref(t)}-hint`,class:e.normalizeClass(e.unref($).input({class:e.unref(x)(e.unref(c).input,e.unref(d)?.input)})),type:e.unref(C),autocomplete:e.unref(s),placeholder:e.unref(p),spellcheck:e.unref(l),onFocus:e.unref(m),onBlur:e.unref(y),onInput:w},{default:e.withCtx(()=>[...g[0]||(g[0]=[e.createElementVNode("input",null,null,-1)])]),_:1},8,["id","value","is-loading","is-disabled","is-invalid","is-required","described-by","class","type","autocomplete","placeholder","spellcheck","onFocus","onBlur"])]),_:1},8,["test-id"]))}}),Ur=q({slots:{iconLeft:new b().withBase("shrink-0").withSize("size-4.5").withSpacing("ml-3").withColor("text-quaternary group-data-disabled/text-field:text-fg-disabled").build(),iconRight:new b().withBase("shrink-0").withSize("size-4.5").withSpacing("mr-3").withColor("text-quaternary group-data-disabled/text-field:text-fg-disabled").build(),input:new b().withBase("outline-none").withSize("size-full").withFontSize("text-sm").withPadding("px-3 group-data-icon-left/text-field:pl-2 group-data-icon-right/text-field:pr-2").withColor("text-primary disabled:text-disabled placeholder:text-placeholder").withBackgroundColor("bg-transparent").withCursor("disabled:cursor-not-allowed").build(),loader:new b().withBase("shrink-0").withSpacing("mr-3").withSize("size-4").withColor("text-quaternary").build(),root:new b().withBase("group/text-field overflow-hidden").withFlex("flex items-center").withHeight("h-10").withBorder("border border-solid border-primary focus-within:border-brand-500").withBorder("data-disabled:border-disabled-subtle").withBorder("data-invalid:border-error data-invalid:focus-within:border-error").withBackgroundColor("bg-primary data-disabled:bg-disabled-subtle").withBorderRadius("rounded-md").withShadow("shadow-xs").withOutline("outline outline-transparent focus-within:outline-brand-500 focus-within:data-invalid:outline-error-500").withTransition("duration-200").withCursor("data-disabled:cursor-not-allowed").build()},variants:{variant:{}}}),ou=["data-icon-left","data-icon-right","data-invalid","data-disabled"],Wn=e.defineComponent({__name:"TextFieldRoot",props:e.mergeModels({isLoading:{type:Boolean,default:!1},isSpellCheckEnabled:{type:Boolean,default:!1},autocomplete:{default:"off"},iconLeft:{default:null},iconRight:{default:null},placeholder:{default:null},type:{default:"text"},variant:{default:null},testId:{default:null},isDisabled:{type:Boolean,default:!1},id:{default:null},isRequired:{type:Boolean,default:!1},isTouched:{type:Boolean,default:!1},errorMessage:{default:null},hint:{default:null},label:{default:null},classConfig:{default:null}},{modelValue:{required:!0},modelModifiers:{}}),emits:e.mergeModels(["focus","blur"],["update:modelValue"]),setup(o,{emit:t}){const n=o,r=t,a=e.useModel(o,"modelValue"),{theme:i}=U(),l=e.computed(()=>Ur({variant:n.variant??void 0})),s=e.computed(()=>X("textField",i.value,{variant:n.variant}));function d(u){r("blur",u)}function c(u){r("focus",u)}return nu({...Z(n),customClassConfig:s,modelValue:a,style:l,onBlur:d,onFocus:c}),(u,f)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(l.value.root({class:e.unref(x)(s.value.root,n.classConfig?.root)})),"data-icon-left":n.iconLeft!==null||void 0,"data-icon-right":n.iconRight!==null||void 0,"data-invalid":n.errorMessage!==null&&n.isTouched||void 0,"data-disabled":n.isDisabled||void 0},[e.renderSlot(u.$slots,"default")],10,ou))}}),ru={key:0,class:"relative p-xs pb-0"},au={key:0,class:"pointer-events-none absolute bottom-0 z-10 h-4 w-full translate-y-full bg-linear-to-b from-primary to-transparent"},iu=e.defineComponent({__name:"SelectDropdownSearchInput",setup(o){const{hasScrolledInDropdownContent:t,classConfig:n,customClassConfig:r,filter:a,searchInputPlaceholder:i,searchTerm:l}=de();return(s,d)=>e.unref(a)!==null&&e.unref(a).isEnabled&&!e.unref(a).isInline?(e.openBlock(),e.createElementBlock("div",ru,[e.createVNode(Wn,{modelValue:e.unref(l),"onUpdate:modelValue":d[0]||(d[0]=c=>e.isRef(l)?l.value=c:null),placeholder:e.unref(i),"class-config":e.unref(Ve)({root:"border-none shadow-none outline-none bg-secondary h-8 rounded-sm",iconLeft:"ml-md"},e.unref(r)?.dropdownSearchInput,e.unref(n)?.dropdownSearchInput)},{default:e.withCtx(()=>[e.createVNode(qn),e.createVNode(e.unref(S.ListboxFilter),{"as-child":!0},{default:e.withCtx(()=>[e.createVNode(Un)]),_:1})]),_:1},8,["modelValue","placeholder","class-config"]),e.unref(t)?(e.openBlock(),e.createElementBlock("div",au)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)}}),lu=e.defineComponent({__name:"SelectEmpty",setup(o){const{t}=ne.useI18n(),{classConfig:n,customClassConfig:r,filteredItems:a,searchTerm:i,style:l,virtualList:s,virtualListFilteredItems:d}=de(),c=e.computed(()=>s.value===null||!s.value.isEnabled?a.value.size===0:d.value.length===0);return(u,f)=>c.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(l).empty({class:e.unref(x)(e.unref(r).empty,e.unref(n)?.empty)}))},e.toDisplayString(e.unref(t)("component.select.empty_text",{searchTerm:e.unref(i)})),3)):e.createCommentVNode("",!0)}}),su=e.defineComponent({__name:"SelectIconLeft",setup(o){const{classConfig:t,customClassConfig:n,iconLeft:r,style:a}=de();return(i,l)=>e.unref(r)!==null?(e.openBlock(),e.createBlock(ee,{key:0,icon:e.unref(r),class:e.normalizeClass(e.unref(a).iconLeft({class:e.unref(x)(e.unref(n).iconLeft,e.unref(t)?.iconLeft)}))},null,8,["icon","class"])):e.createCommentVNode("",!0)}}),du=e.defineComponent({__name:"SelectIconRight",setup(o){const{isLoading:t,classConfig:n,customClassConfig:r,iconRight:a,style:i}=de();return(l,s)=>(e.openBlock(),e.createBlock(e.Transition,{"enter-from-class":"opacity-0 scale-75 blur-xxs","leave-to-class":"opacity-0 scale-75 blur-xxs","enter-active-class":"duration-300","leave-active-class":"duration-300"},{default:e.withCtx(()=>[e.unref(a)!==null&&!e.unref(t)?(e.openBlock(),e.createBlock(ee,{key:0,icon:e.unref(a),class:e.normalizeClass(e.unref(i).iconRight({class:e.unref(x)(e.unref(r).iconRight,e.unref(n)?.iconRight)}))},null,8,["icon","class"])):e.createCommentVNode("",!0)]),_:1}))}}),cu={class:"sr-only"},uu=e.defineComponent({__name:"SelectLoader",setup(o){const{isLoading:t,classConfig:n,customClassConfig:r,style:a}=de(),{t:i}=ne.useI18n();return(l,s)=>(e.openBlock(),e.createBlock(e.Transition,{"enter-from-class":"opacity-0 scale-75 blur-xxs","leave-to-class":"opacity-0 scale-75 blur-xxs","enter-active-class":"duration-300 absolute right-0","leave-active-class":"duration-300 absolute right-0"},{default:e.withCtx(()=>[e.unref(t)?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(a).loader({class:e.unref(x)(e.unref(r).loader,e.unref(n)?.loader)}))},[e.createElementVNode("span",cu,e.toDisplayString(e.unref(i)("shared.loading")),1),e.renderSlot(l.$slots,"default",{},()=>[e.createVNode(De,{"aria-hidden":!0})])],2)):e.createCommentVNode("",!0)]),_:3}))}}),[fu,Yt]=j("popoverContext"),Kn=e.defineComponent({__name:"PopoverAnchor",setup(o){const{popoverAnchorReferenceElement:t}=Yt();return(n,r)=>(e.openBlock(),e.createBlock(e.unref(S.PopoverAnchor),{"as-child":!0,reference:e.unref(t)??void 0},{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default")]),_:3},8,["reference"]))}}),Yn=e.defineComponent({__name:"PopoverArrow",setup(o){const{isPopoverArrowHidden:t,classConfig:n,customClassConfig:r,style:a}=Yt();return(i,l)=>e.unref(t)?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(e.unref(S.PopoverArrow),{key:0,as:"div",class:"relative -mb-4 h-4 w-10 overflow-hidden"},{default:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass(e.unref(a).arrow({class:e.unref(x)(e.unref(r).arrow,e.unref(n)?.arrow)}))},null,2)]),_:1}))}}),pt=e.defineComponent({__name:"ThemeProvider",props:{appearance:{default:null},asChild:{type:Boolean,default:!1},theme:{default:null}},setup(o){const t=o,n=U(),r=e.computed(()=>t.appearance??n.appearance.value??"light"),a=e.computed(()=>t.theme??n.theme.value);return Lc({appearance:r,theme:a}),(i,l)=>(e.openBlock(),e.createBlock(e.unref(S.Primitive),{"as-child":t.asChild,class:e.normalizeClass([a.value,r.value])},{default:e.withCtx(()=>[e.renderSlot(i.$slots,"default")]),_:3},8,["as-child","class"]))}}),Xn=e.defineComponent({__name:"PopoverContent",setup(o){const{testId:t,isOpen:n,classConfig:r,customClassConfig:a,popoverAlign:i,popoverAlignOffset:l,popoverCollisionPadding:s,popoverContainerElement:d,popoverSide:c,popoverSideOffset:u,popoverWidth:f,style:p,onAutoFocusOnClose:$,onContentEscapeKeyDown:C,onContentFocusOutside:y,onContentInteractOutside:m}=Yt();return(w,k)=>(e.openBlock(),e.createBlock(e.unref(Y.AnimatePresence),null,{default:e.withCtx(()=>[e.unref(n)?(e.openBlock(),e.createBlock(H,{key:0,"test-id":e.unref(t)},{default:e.withCtx(()=>[e.createVNode(pt,{"as-child":!0},{default:e.withCtx(()=>[e.createVNode(e.unref(S.PopoverContent),{"force-mount":!0,"as-child":!0,"data-content-width":e.unref(f),align:e.unref(i),"collision-padding":e.unref(s),"collision-boundary":e.unref(d),"align-offset":e.unref(l),side:e.unref(c),"side-offset":e.unref(u),class:e.normalizeClass(e.unref(p).content({class:e.unref(x)(e.unref(a).content,e.unref(r)?.content)})),"position-strategy":"absolute",sticky:"always",onEscapeKeyDown:e.unref(C),onFocusOutside:e.unref(y),onInteractOutside:e.unref(m),onCloseAutoFocus:e.unref($)},{default:e.withCtx(()=>[e.renderSlot(w.$slots,"default")]),_:3},8,["data-content-width","align","collision-padding","collision-boundary","align-offset","side","side-offset","class","onEscapeKeyDown","onFocusOutside","onInteractOutside","onCloseAutoFocus"])]),_:3})]),_:3},8,["test-id"])):e.createCommentVNode("",!0)]),_:3}))}}),[pu,fe]=j("configContext"),Zn=e.defineComponent({__name:"PopoverPortal",setup(o){const t=fe();return(n,r)=>(e.openBlock(),e.createBlock(e.unref(S.PopoverPortal),{to:e.unref(t).teleportTargetSelector},{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default")]),_:3},8,["to"]))}}),Wr=q({slots:{arrow:new b().withClasses("absolute left-1/2 rotate-45").withSize("size-4").withTranslate("-translate-x-1/2 -translate-y-3").withBorderRadius("rounded-xxs").withBackgroundColor("bg-primary").withBorder("border border-solid border-secondary").withShadow("shadow-lg").build(),content:new b().withBase("relative overflow-hidden data-[content-width=anchor-width]:w-(--reka-popover-trigger-width) data-[content-width=available-width]:w-(--reka-popover-content-available-width)").withHeight("max-h-(--reka-popper-available-height)").withFlex("flex flex-col").withBackgroundColor("bg-primary").withBorder("border border-solid border-secondary").withBorderRadius("rounded-lg").withSize("size-full").withBorderRadius("rounded-lg").withShadow("shadow-lg").withZIndex("z-40").build()},variants:{variant:{}}}),Jn=e.defineComponent({__name:"PopoverRoot",props:e.mergeModels({variant:{default:null},testId:{default:null},isPopoverArrowHidden:{type:Boolean,default:!1},popoverAlign:{default:"center"},popoverAlignOffset:{default:0},popoverAnchorReferenceElement:{default:null},popoverCollisionPadding:{default:10},popoverContainerElement:{default:null},popoverSide:{default:"bottom"},popoverSideOffset:{default:10},popoverWidth:{default:null},classConfig:{default:null}},{isOpen:{type:Boolean,default:!1,required:!1},isOpenModifiers:{}}),emits:e.mergeModels(["autoFocusOnClose","escapeKeyDown","focusOutside","interactOutside"],["update:isOpen"]),setup(o,{emit:t}){const n=o,r=t,a=e.useModel(o,"isOpen"),{theme:i}=U(),l=e.computed(()=>Wr({variant:n.variant??void 0})),s=e.computed(()=>X("popover",i.value,{variant:n.variant}));function d(p){r("escapeKeyDown",p)}function c(p){r("focusOutside",p)}function u(p){r("interactOutside",p)}function f(p){r("autoFocusOnClose",p)}return fu({...Z(n),isOpen:e.computed(()=>a.value),customClassConfig:s,style:l,onAutoFocusOnClose:f,onContentEscapeKeyDown:d,onContentFocusOutside:c,onContentInteractOutside:u}),(p,$)=>(e.openBlock(),e.createBlock(e.unref(S.PopoverRoot),{open:a.value,"onUpdate:open":$[0]||($[0]=C=>a.value=C)},{default:e.withCtx(()=>[e.renderSlot(p.$slots,"default")]),_:3},8,["open"]))}}),Xt=4,mu=e.defineComponent({__name:"SelectPopoverContentTransition",setup(o){const t=e.useAttrs(),n=e.computed(()=>t["data-side"]),r=e.ref(null);function a(i){switch(i){case"top":return{x:0,y:Xt};case"bottom":return{x:0,y:-Xt};case"left":return{x:Xt,y:0};case"right":return{x:-Xt,y:0}}}return(i,l)=>(e.openBlock(),e.createBlock(e.unref(Y.Motion),{ref_key:"motionRef",ref:r,initial:{opacity:0,scale:.9,...a(n.value)},animate:{opacity:1,scale:1,x:0,y:0},exit:{opacity:0,scale:.9,...a(n.value)},transition:{duration:.2,type:"spring",bounce:0},class:"origin-(--reka-popover-content-transform-origin)"},{default:e.withCtx(()=>[e.renderSlot(i.$slots,"default")]),_:3},8,["initial","exit"]))}}),Qn=e.defineComponent({__name:"PopoverTrigger",setup(o){return(t,n)=>(e.openBlock(),e.createBlock(e.unref(S.PopoverTrigger),{"as-child":!0},{default:e.withCtx(()=>[e.renderSlot(t.$slots,"default")]),_:3}))}}),hu=["id","tabindex","aria-expanded","aria-controls","onKeydown"],gu={key:0,class:"sr-only"},bu={key:1,class:"sr-only"},$u=e.defineComponent({__name:"SelectPopoverTrigger",setup(o){const{id:t,hasInlineSearchInput:n,isDisabled:r,isDropdownVisible:a,displayFn:i,filter:l,modelValue:s,setIsDropdownVisible:d}=de(),c=e.computed(()=>l.value===null?!0:!l.value.isEnabled||!l.value.isInline);function u(){d(!0)}return(f,p)=>(e.openBlock(),e.createBlock(ce,{"is-disabled":e.unref(r)},{default:e.withCtx(()=>[e.createVNode(Qn,null,{default:e.withCtx(()=>[e.createElementVNode("button",{id:e.unref(n)?void 0:e.unref(t)??void 0,tabindex:c.value?0:-1,"aria-expanded":e.unref(a),"aria-controls":`${e.unref(t)}-content`,class:e.normalizeClass([{"cursor-not-allowed":e.unref(r)},"absolute inset-0 outline-none"]),role:"combobox",onKeydown:[e.withKeys(e.withModifiers(u,["prevent"]),["arrow-down"]),e.withKeys(e.withModifiers(u,["prevent"]),["arrow-up"])]},[Array.isArray(e.unref(s))?(e.openBlock(),e.createElementBlock("span",gu,e.toDisplayString(e.unref(s).map(e.unref(i)).join(", ")),1)):e.unref(s)!==null?(e.openBlock(),e.createElementBlock("span",bu,e.toDisplayString(e.unref(i)(e.unref(s))),1)):e.createCommentVNode("",!0)],42,hu)]),_:1})]),_:1},8,["is-disabled"]))}}),yu=e.defineComponent({__name:"SelectPopover",setup(o){const{hasInlineSearchInput:t,isDropdownHidden:n,isDropdownVisible:r,isPopoverArrowVisible:a,classConfig:i,customClassConfig:l,popoverAlign:s,popoverAlignOffset:d,popoverAnchorReferenceElement:c,popoverCollisionPadding:u,popoverContainerElement:f,popoverSide:p,popoverSideOffset:$,popoverWidth:C,setIsDropdownVisible:y,onDropdownEscapeKeyDown:m,onDropdownInteractOutside:w}=de();function k(g){t.value&&g.preventDefault()}return(g,B)=>(e.openBlock(),e.createBlock(Jn,{"is-open":e.unref(r)&&!e.unref(n),"is-popover-arrow-hidden":!e.unref(a),"popover-align":e.unref(s),"popover-align-offset":e.unref(d),"popover-collision-padding":e.unref(u),"popover-container-element":e.unref(f),"popover-side-offset":e.unref($),"popover-side":e.unref(p),"popover-width":e.unref(C),"popover-anchor-reference-element":e.unref(c),"class-config":e.unref(Ve)(e.unref(l).popover,e.unref(i)?.popover),"onUpdate:isOpen":e.unref(y),onEscapeKeyDown:e.unref(m),onInteractOutside:e.unref(w),onAutoFocusOnClose:k},{default:e.withCtx(()=>[e.renderSlot(g.$slots,"anchor",{},()=>[e.createVNode(Kn,null,{default:e.withCtx(()=>[e.createVNode($u)]),_:1})]),e.renderSlot(g.$slots,"inline-content"),e.createVNode(Zn,null,{default:e.withCtx(()=>[e.createVNode(Xn,null,{default:e.withCtx(()=>[e.createVNode(mu,null,{default:e.withCtx(()=>[e.renderSlot(g.$slots,"content"),e.createVNode(Yn)]),_:3})]),_:3})]),_:3})]),_:3},8,["is-open","is-popover-arrow-hidden","popover-align","popover-align-offset","popover-collision-padding","popover-container-element","popover-side-offset","popover-side","popover-width","popover-anchor-reference-element","class-config","onUpdate:isOpen","onEscapeKeyDown","onInteractOutside"]))}}),Kr=q({slots:{base:new b().withBase("overflow-hidden").withFlex("flex items-center").withSize("size-full").build(),baseMultiple:new b().withPadding("px-sm group-data-icon-left/select:pl-2 group-data-icon-right/select:pr-2").withFlex("flex items-center gap-xs").withSize("size-full").build(),baseSingle:new b().withFontSize("text-sm").withColor("text-primary group-data-disabled/select:text-disabled").withPadding("px-3 group-data-icon-left/select:pl-2 group-data-icon-right/select:pr-2").withSize("w-full").withFlex("flex items-center").build(),content:new b().withBase("outline-none min-w-(--reka-popover-trigger-width)").withBase("overflow-auto").withPadding("p-xs").withHeight("max-h-80").build(),empty:new b().withColor("text-tertiary").withFontSize("text-sm").withPadding("p-sm").build(),group:new b().build(),groupLabel:new b().withColor("text-tertiary").withFontSize("text-sm").withFontWeight("font-medium").withSpacing("py-xs").build(),iconLeft:new b().withBase("shrink-0").withSize("size-4.5").withSpacing("ml-3").withColor("text-quaternary group-data-disabled/select:text-fg-disabled").build(),iconRight:new b().withBase("shrink-0").withSize("size-4.5").withSpacing("mr-3").withColor("text-quaternary group-data-disabled/select:text-fg-disabled").build(),inlineSearchInput:new b().withOutline("outline-none").withBase("z-10").withSize("size-full").withFontSize("text-sm").withColor("text-primary").withBackgroundColor("bg-transparent").withPadding("px-3 group-data-icon-left/select:pl-2 group-data-icon-right/select:pr-2").withCursor("disabled:cursor-not-allowed").build(),item:new b().withBase("outline-none").withSize("w-full").withCursor("cursor-pointer data-disabled:cursor-not-allowed").withBorderRadius("rounded-sm").withPadding("p-md").withSpacing("not-last:mb-xxs").withFlex("flex items-center justify-between gap-x-md").withFontSize("text-sm").withFontWeight("data-[state=checked]:font-medium").withColor("text-secondary data-disabled:text-disabled").withBackgroundColor("data-[state=checked]:bg-secondary not-data-disabled:data-highlighted:bg-secondary-hover not-data-disabled:hover:bg-secondary-hover").withTransition("not-data-disabled:data-highlighted:data-[state=checked]:brightness-98").build(),itemIndicator:new b().withSize("size-4").withColor("text-secondary").build(),loader:new b().withBase("pointer-events-none").withBase("shrink-0").withSpacing("mr-3").withSize("size-4").withColor("text-quaternary").build(),placeholder:new b().withColor("text-placeholder").withFontSize("text-sm").build(),root:new b().withBase("relative group/select overflow-hidden").withFlex("flex items-center").withHeight("h-10").withBorder("border border-solid border-primary focus-within:border-brand-500").withBorder("data-disabled:border-disabled-subtle").withBorder("data-invalid:border-error data-invalid:focus-within:border-error").withBackgroundColor("bg-primary data-disabled:bg-disabled-subtle").withBorderRadius("rounded-md").withShadow("shadow-xs").withOutline("outline outline-transparent focus-within:outline-brand-500 focus-within:data-invalid:outline-error-500").withTransition("duration-200").withCursor("data-disabled:cursor-not-allowed").build(),searchInput:"",separator:new b().withHeight("h-px").withBackgroundColor("bg-quaternary").withSpacing("my-xs").build()},variants:{variant:{}}}),wu=e.defineComponent({__name:"SelectRoot",props:e.mergeModels({isDropdownHidden:{type:Boolean,default:!1},isLoading:{type:Boolean,default:!1},isSearchTermControlled:{type:Boolean,default:!1},clearSearchTermOnSelect:{type:Boolean,default:!1},displayFn:{},filter:{default:null},iconLeft:{default:null},iconRight:{default:"selectIconRight"},placeholder:{default:null},remainOpenOnSelect:{type:[Boolean,null],default:null},searchInputPlaceholder:{default:null},variant:{default:null},virtualList:{default:null},testId:{default:null},isDisabled:{type:Boolean,default:!1},id:{default:null},isRequired:{type:Boolean,default:!1},isTouched:{type:Boolean,default:!1},errorMessage:{default:null},hint:{default:null},label:{default:null},isPopoverArrowVisible:{type:Boolean,default:!1},popoverAlign:{default:"end"},popoverAlignOffset:{default:0},popoverAnchorReferenceElement:{default:null},popoverCollisionPadding:{default:0},popoverContainerElement:{default:null},popoverSide:{default:"bottom"},popoverSideOffset:{default:6},popoverWidth:{default:null},classConfig:{default:null}},{modelValue:{required:!0},modelModifiers:{},searchTerm:{default:"",required:!1},searchTermModifiers:{},isOpen:{type:Boolean,default:!1,required:!1},isOpenModifiers:{}}),emits:e.mergeModels(["focus","blur"],["update:modelValue","update:searchTerm","update:isOpen"]),setup(o,{emit:t}){const n=o,r=t,a=e.useModel(o,"modelValue"),i=e.useModel(o,"searchTerm"),l=e.useModel(o,"isOpen"),{theme:s}=U(),{t:d}=ne.useI18n(),c=n.id??e.useId(),u=e.ref(null),f=e.ref(!1),p=e.ref(new Map),$=e.ref(new Map),C=e.ref(null),y=e.ref(!1),{contains:m}=S.useFilter(),w=e.computed(()=>Kr({variant:n.variant??void 0})),k=e.computed(()=>X("select",s.value,{variant:n.variant})),g=e.computed(()=>Array.isArray(a.value)),B=e.ref(!1),N=e.computed(()=>n.remainOpenOnSelect??g.value),F=e.computed(()=>n.filter===null?!1:(n.filter.isEnabled&&n.filter.isInline)??!1);function W(_,R){const O=n.displayFn(_);return m(O.toLowerCase(),R.toLowerCase())}const E=e.computed(()=>n.filter?.fn??W),G=e.computed(()=>n.filter===null||!n.filter.isEnabled||F.value&&!y.value?p.value:new Map(Array.from(p.value.entries()).filter(([_,R])=>E.value(R,i.value)))),$e=e.computed(()=>n.virtualList===null||!n.virtualList.isEnabled?[]:n.virtualList.items.filter(_=>E.value(_,i.value))),ye=e.computed(()=>new Map(Array.from($.value.entries()).filter(([_,R])=>Array.from(R).some(O=>G.value.has(O))))),ie=e.computed(()=>n.searchInputPlaceholder??d("component.select.search_input_placeholder"));function Ce(_){l.value=_}function P(){if(!n.isSearchTermControlled){if(g.value||!F.value||a.value===null||n.clearSearchTermOnSelect){i.value="";return}i.value=n.displayFn(a.value)}}function M(){F.value&&setTimeout(()=>{C.value?.focus()})}function D(){M()}function z(){n.isSearchTermControlled||P(),y.value=!1}function V(){B.value||me(),B.value=!0}function L(){setTimeout(()=>{!u.value?.$el.contains(document.activeElement)&&(!l.value||n.isDropdownHidden)&&(B.value=!1,oe())})}function Q(){M()}function me(){r("focus")}function oe(){r("blur")}function K(_){_.target===C.value?_.preventDefault():oe()}function v(){M(),N.value||Ce(!1)}return e.watch(l,_=>{_?D():z()}),e.watch(a,P,{immediate:!0}),_c({...Z(n),id:e.computed(()=>c),hasInlineSearchInput:F,hasInteractedWithInlineSearchInput:y,hasScrolledInDropdownContent:f,isDropdownVisible:e.computed(()=>l.value),isMultiple:g,allGroups:$,allItems:p,customClassConfig:k,filteredGroups:ye,filteredItems:G,inlinesearchInputElementRef:C,modelValue:a,remainOpenOnSelect:N,searchInputPlaceholder:ie,searchTerm:i,setIsDropdownVisible:Ce,style:w,virtualListFilteredItems:$e,onDropdownEscapeKeyDown:Q,onDropdownInteractOutside:K,onSelectItem:v}),(_,R)=>(e.openBlock(),e.createBlock(H,{"test-id":n.testId},{default:e.withCtx(()=>[e.createVNode(Le,{id:null,ref_key:"rootRef",ref:u,"is-disabled":n.isDisabled,"is-invalid":n.errorMessage!==null,"is-loading":n.isLoading,"is-required":n.isRequired,"described-by":`${e.unref(c)}-error ${e.unref(c)}-hint`,"data-invalid":n.errorMessage!==null&&n.isTouched||void 0,"data-icon-left":o.iconLeft!==null||void 0,"data-icon-right":o.iconRight!==null||void 0,"data-disabled":n.isDisabled||void 0,onFocusin:V,onFocusout:L,onEntryFocus:R[1]||(R[1]=e.withModifiers(()=>{},["prevent"]))},{default:e.withCtx(()=>[e.createVNode(e.unref(S.ListboxRoot),{modelValue:a.value,"onUpdate:modelValue":R[0]||(R[0]=O=>a.value=O),"selection-behavior":g.value?"toggle":"replace",multiple:g.value,class:e.normalizeClass(w.value.root({class:e.unref(x)(k.value.root,n.classConfig?.root)}))},{default:e.withCtx(()=>[e.renderSlot(_.$slots,"default")]),_:3},8,["modelValue","selection-behavior","multiple","class"])]),_:3},8,["is-disabled","is-invalid","is-loading","is-required","described-by","data-invalid","data-icon-left","data-icon-right","data-disabled"])]),_:3},8,["test-id"]))}}),Cu={class:"w-full"},_u=e.defineComponent({__name:"SelectVirtualList",setup(o){const{displayFn:t,virtualList:n,virtualListFilteredItems:r}=de();return(a,i)=>e.unref(n)!==null&&e.unref(n).isEnabled?(e.openBlock(),e.createBlock(e.unref(S.ListboxVirtualizer),{key:0,options:e.unref(r),overscan:10,"estimate-size":e.unref(n).optionHeight??39,"text-content":e.unref(t)},{default:e.withCtx(({option:l})=>[e.createElementVNode("div",Cu,[e.renderSlot(a.$slots,"item",{item:l},()=>[e.createVNode(Ye,{value:l},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(t)(l)),1)]),_:2},1032,["value"])])])]),_:3},8,["options","estimate-size","text-content"])):e.createCommentVNode("",!0)}}),mt=e.defineComponent({__name:"Select",props:e.mergeModels({isDropdownHidden:{type:Boolean},isLoading:{type:Boolean},isSearchTermControlled:{type:Boolean},clearSearchTermOnSelect:{type:Boolean},displayFn:{},filter:{},iconLeft:{},iconRight:{},placeholder:{},remainOpenOnSelect:{type:[Boolean,null],default:null},searchInputPlaceholder:{},variant:{},virtualList:{},testId:{},isDisabled:{type:Boolean},id:{},isRequired:{type:Boolean},isTouched:{type:Boolean},errorMessage:{},hint:{},label:{},isPopoverArrowVisible:{type:Boolean},popoverAlign:{},popoverAlignOffset:{},popoverAnchorReferenceElement:{},popoverCollisionPadding:{},popoverContainerElement:{},popoverSide:{},popoverSideOffset:{},popoverWidth:{},classConfig:{}},{modelValue:{required:!0},modelModifiers:{},searchTerm:{required:!1},searchTermModifiers:{},isOpen:{type:Boolean,default:!1,required:!1},isOpenModifiers:{}}),emits:e.mergeModels(["focus","blur"],["update:modelValue","update:searchTerm","update:isOpen"]),setup(o,{emit:t}){const n=o,r=t,a=e.useModel(o,"modelValue"),i=e.useModel(o,"searchTerm"),l=e.useModel(o,"isOpen"),s=n.id??e.useId();return(d,c)=>(e.openBlock(),e.createBlock(_e,{"error-message":n.errorMessage,hint:n.hint,"is-required":n.isRequired,"is-touched":n.isTouched,label:n.label,for:e.unref(s)},{label:e.withCtx(()=>[e.renderSlot(d.$slots,"label")]),error:e.withCtx(()=>[e.renderSlot(d.$slots,"error")]),hint:e.withCtx(()=>[e.renderSlot(d.$slots,"hint")]),default:e.withCtx(()=>[e.createVNode(wu,e.mergeProps(n,{id:e.unref(s),modelValue:a.value,"onUpdate:modelValue":c[0]||(c[0]=u=>a.value=u),"search-term":i.value,"onUpdate:searchTerm":c[1]||(c[1]=u=>i.value=u),"is-open":l.value,"onUpdate:isOpen":c[2]||(c[2]=u=>l.value=u),onBlur:c[3]||(c[3]=u=>r("blur")),onFocus:c[4]||(c[4]=u=>r("focus"))}),{default:e.withCtx(()=>[e.createVNode(yu,null,{anchor:e.withCtx(()=>[e.renderSlot(d.$slots,"anchor")]),"inline-content":e.withCtx(()=>[e.renderSlot(d.$slots,"left"),e.renderSlot(d.$slots,"icon-left",{},()=>[e.createVNode(su)]),e.renderSlot(d.$slots,"base",{},()=>[e.createVNode(qr,null,{badge:e.withCtx(({value:u})=>[e.renderSlot(d.$slots,"badge",{value:u})]),_:3})]),e.renderSlot(d.$slots,"icon-right",{},()=>[e.createVNode(du)]),e.renderSlot(d.$slots,"loader",{},()=>[e.createVNode(uu)]),e.renderSlot(d.$slots,"right")]),content:e.withCtx(()=>[e.createVNode(iu),e.createVNode(tu,null,{default:e.withCtx(()=>[e.createVNode(_u,null,{item:e.withCtx(({item:u})=>[e.renderSlot(d.$slots,"virtual-list-item",{item:u})]),_:3}),e.renderSlot(d.$slots,"default"),e.createVNode(lu)]),_:3})]),_:3})]),_:3},16,["id","modelValue","search-term","is-open"])]),_:3},8,["error-message","hint","is-required","is-touched","label","for"]))}}),Yr=e.defineComponent({__name:"Autocomplete",props:e.mergeModels({isSearchTermOptional:{type:Boolean,default:!1},debounceTimeoutInMs:{default:300},items:{},isDropdownHidden:{type:Boolean},isLoading:{type:Boolean},isSearchTermControlled:{type:Boolean},clearSearchTermOnSelect:{type:Boolean},displayFn:{},iconLeft:{},iconRight:{default:null},placeholder:{},remainOpenOnSelect:{type:[Boolean,null]},searchInputPlaceholder:{},variant:{},testId:{},isDisabled:{type:Boolean},id:{},isRequired:{type:Boolean},isTouched:{type:Boolean},errorMessage:{},hint:{},label:{},isPopoverArrowVisible:{type:Boolean},popoverAlign:{},popoverAlignOffset:{},popoverAnchorReferenceElement:{},popoverCollisionPadding:{},popoverContainerElement:{},popoverSide:{},popoverSideOffset:{},popoverWidth:{},classConfig:{}},{modelValue:{required:!0},modelModifiers:{}}),emits:e.mergeModels(["search"],["update:modelValue"]),setup(o,{emit:t}){const n=o,r=t,a=e.useModel(o,"modelValue"),i=e.ref(n.displayFn(a.value)||""),l=e.ref(!1),s=e.ref(n.items),d=e.computed(()=>i.value.trim().length===0),c=e.computed(()=>a.value===null?!1:i.value===n.displayFn(a.value)),u=e.computed(()=>{if(s.value.length===0&&d.value||c.value&&s.value.length===0||(n.isLoading||l.value)&&s.value.length===0)return!1;if(s.value.length===1){const y=JSON.stringify(s.value[0])===JSON.stringify(a.value),m=s.value[0]!==null&&i.value===n.displayFn(s.value[0]);if(y&&!m)return!1}return!0}),f=e.computed(()=>n.iconRight!==null?n.iconRight:n.isSearchTermOptional?"selectIconRight":null),p=ud(y=>{l.value=!1,y!==null&&r("search",y)},n.debounceTimeoutInMs);function $(y){!y&&!n.isSearchTermOptional&&(s.value=[])}e.watch(i,y=>{d.value&&(s.value=[]),!c.value&&(d.value?(l.value=!1,p(null)):(l.value=!0,p(y)))}),e.watch(()=>n.items,y=>{s.value=y});function C(y){y!==null&&(i.value=n.displayFn(y))}return(y,m)=>(e.openBlock(),e.createBlock(mt,e.mergeProps(n,{"search-term":i.value,"onUpdate:searchTerm":m[0]||(m[0]=w=>i.value=w),modelValue:a.value,"onUpdate:modelValue":[m[1]||(m[1]=w=>a.value=w),C],filter:{isEnabled:!0,isInline:!0,fn:()=>!0},"icon-right":f.value,"is-dropdown-hidden":!u.value,"is-loading":n.isLoading||l.value,"is-search-term-controlled":!0,"onUpdate:isOpen":$}),{base:e.withCtx(()=>[e.renderSlot(y.$slots,"base")]),left:e.withCtx(()=>[e.renderSlot(y.$slots,"left")]),right:e.withCtx(()=>[e.renderSlot(y.$slots,"right")]),loader:e.withCtx(()=>[e.renderSlot(y.$slots,"loader")]),default:e.withCtx(()=>[e.renderSlot(y.$slots,"items",{items:s.value},()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.value,(w,k)=>e.renderSlot(y.$slots,"item",{key:k,value:w},()=>[e.createVNode(Ye,{value:w},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(n.displayFn(w)),1)]),_:2},1032,["value"])])),128))])]),_:3},16,["search-term","modelValue","icon-right","is-dropdown-hidden","is-loading"]))}}),xu={class:"overflow-hidden"},ku={class:"truncate font-medium"},Su={class:"line-clamp-2"},Bu=e.defineComponent({__name:"AddressAutocomplete",props:e.mergeModels({isSearchTermOptional:{type:Boolean},debounceTimeoutInMs:{},isDropdownHidden:{type:Boolean},isLoading:{type:Boolean},isSearchTermControlled:{type:Boolean},clearSearchTermOnSelect:{type:Boolean},iconLeft:{},iconRight:{},placeholder:{},remainOpenOnSelect:{type:[Boolean,null]},searchInputPlaceholder:{},variant:{},testId:{},isDisabled:{type:Boolean},id:{},isRequired:{type:Boolean},isTouched:{type:Boolean},errorMessage:{},hint:{},label:{},isPopoverArrowVisible:{type:Boolean},popoverAlign:{},popoverAlignOffset:{},popoverAnchorReferenceElement:{},popoverCollisionPadding:{},popoverContainerElement:{},popoverSide:{},popoverSideOffset:{},popoverWidth:{},classConfig:{}},{modelValue:{required:!0},modelModifiers:{}}),emits:e.mergeModels(["focus","blur","error"],["update:modelValue"]),setup(o,{emit:t}){const n=o,r=t,a=e.useModel(o,"modelValue"),{googleMapsApiKey:i}=fe(),l=e.ref(!1),s=e.ref([]);let d=null;const c=e.ref(null),u=e.computed(()=>a.value===null?null:od(a.value)),f=e.computed(()=>s.value.map(y=>({placeId:y.placeId,mainText:y.mainText,secondaryText:y.secondaryText})));async function p(y){if(d===null)throw new Error("Autocomplete service is not defined");l.value=!0;try{let m=y;const w=/\/\s*(\d+)/,k=y.match(w);if(k!==null&&k[1]!==void 0){const B=k[1];m=m.replace(w,`/bus ${B}`)}const g=await d.fetchAutocompleteSuggestions({input:m});s.value=g.suggestions.filter(B=>B.placePrediction!==null).map(B=>{const N=B.placePrediction;return{placeId:N.placeId,mainText:N.mainText?.text??"",secondaryText:N.secondaryText?.text??""}})}catch(m){r("error",m)}l.value=!1}async function $(y){if(y===null){a.value=null;return}c.value=y,a.value=await nd(y.placeId),c.value=null}async function C(y){const m=new We({apiKey:y,libraries:["places"]}),{AutocompleteSuggestion:w}=await m.importLibrary("places");return w}return e.onMounted(async()=>{if(i===null)throw new Error("Google Maps API key is not defined. Provide it in the config using the `<ConfigProvider />` component.");d=await C(i)}),(y,m)=>(e.openBlock(),e.createBlock(Yr,e.mergeProps(n,{"model-value":c.value||u.value,items:f.value,"is-loading":l.value,"display-fn":w=>e.unref(rd)(w),onSearch:p,onFocus:m[0]||(m[0]=w=>r("focus")),onBlur:m[1]||(m[1]=w=>r("blur")),"onUpdate:modelValue":$}),{base:e.withCtx(()=>[e.renderSlot(y.$slots,"base")]),left:e.withCtx(()=>[e.renderSlot(y.$slots,"left")]),right:e.withCtx(()=>[e.renderSlot(y.$slots,"right")]),loader:e.withCtx(()=>[e.renderSlot(y.$slots,"loader")]),item:e.withCtx(({value:w})=>[e.createVNode(Ye,{value:w},{default:e.withCtx(()=>[e.createElementVNode("div",xu,[e.createElementVNode("p",ku,e.toDisplayString(w.mainText),1),e.createElementVNode("p",Su,e.toDisplayString(w.secondaryText),1)])]),_:2},1032,["value"])]),_:3},16,["model-value","items","is-loading","display-fn"]))}}),Xr=q({slots:{fallback:new b().withBase("uppercase").withFontSize("text-sm").withColor("text-secondary").withFontWeight("font-medium").build(),image:new b().withSize("size-full").build(),root:new b().withBase("overflow-hidden").withFlex("flex items-center justify-center").withSize("size-10").withBackgroundColor("bg-tertiary").withBorderRadius("rounded-full").build()},variants:{variant:{}}}),[Nu,Zr]=j("avatarContext"),Jr=e.defineComponent({__name:"AvatarFallback",setup(o){const{name:t,classConfig:n,customClassConfig:r,style:a}=Zr(),i=e.computed(()=>t.value.split(" ").map(d=>d.charAt(0).toUpperCase()).join(""));return(l,s)=>(e.openBlock(),e.createBlock(e.unref(S.AvatarFallback),{class:e.normalizeClass(e.unref(a).fallback({class:e.unref(x)(e.unref(r).fallback,e.unref(n)?.fallback)}))},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(i.value),1)]),_:1},8,["class"]))}}),Qr=e.defineComponent({__name:"AvatarImage",setup(o){const{name:t,classConfig:n,customClassConfig:r,src:a,style:i}=Zr();return(l,s)=>e.unref(a)!==null?(e.openBlock(),e.createBlock(e.unref(S.AvatarImage),{key:0,src:e.unref(a),alt:e.unref(t),class:e.normalizeClass(e.unref(i).image({class:e.unref(x)(e.unref(r).image,e.unref(n)?.image)}))},null,8,["src","alt","class"])):e.createCommentVNode("",!0)}}),vr=e.defineComponent({__name:"AvatarRoot",props:{name:{},src:{default:null},variant:{default:null},testId:{default:null},classConfig:{default:null}},setup(o){const t=o,{theme:n}=U(),r=e.computed(()=>Xr({variant:t.variant??void 0})),a=e.computed(()=>X("avatar",n.value,{variant:t.variant}));return Nu({...Z(t),customClassConfig:a,style:r}),(i,l)=>(e.openBlock(),e.createBlock(e.unref(S.AvatarRoot),{class:e.normalizeClass(r.value.root({class:e.unref(x)(a.value.root,t.classConfig?.root)}))},{default:e.withCtx(()=>[e.renderSlot(i.$slots,"default")]),_:3},8,["class"]))}}),Vu=e.defineComponent({__name:"Avatar",props:{name:{},src:{},variant:{},testId:{},classConfig:{}},setup(o){const t=o;return(n,r)=>(e.openBlock(),e.createBlock(vr,e.normalizeProps(e.guardReactiveProps(t)),{default:e.withCtx(()=>[e.createVNode(Qr),e.createVNode(Jr)]),_:1},16))}}),ea=q({extend:Rr,slots:{content:new b().withClasses("[grid-area:stack] group-data-[loading=true]/button:invisible group-data-[loading=true]/button:opacity-0").withFlex("flex items-center justify-center").withTransition("duration-300 group-data-[loading=true]/button:scale-95 group-data-[loading=true]/button:blur-xxs").build(),iconLeft:new b().withBase("shrink-0").build(),iconRight:new b().withBase("shrink-0").build(),loader:new b().withClasses("[grid-area:stack] mx-auto group-data-[loading=false]/button:invisible group-data-[loading=false]/button:opacity-0").withBase("shrink-0").withTransition("duration-300 group-data-[loading=false]/button:scale-95").build(),root:new b().withGrid('grid items-center justify-center [grid-template-areas:"stack"]').withFontWeight("font-medium").build()},variants:{size:{"2xl":{iconLeft:new b().withMargin("mr-md").withSize("size-5").build(),iconRight:new b().withMargin("ml-md").withSize("size-5").build(),loader:new b().withSize("size-5").build(),root:new b().withPadding("px-5.5").withFontSize("text-lg").withSize("min-w-15").build()},lg:{iconLeft:new b().withMargin("mr-sm").withSize("size-4").build(),iconRight:new b().withMargin("ml-sm").withSize("size-4").build(),loader:new b().withSize("size-4").build(),root:new b().withPadding("px-xl").withFontSize("text-md").withSize("min-w-11").build()},md:{iconLeft:new b().withMargin("mr-xs").withSize("size-4").build(),iconRight:new b().withMargin("ml-xs").withSize("size-4").build(),loader:new b().withSize("size-4.5").build(),root:new b().withPadding("px-3.5").withFontSize("text-sm").withSize("min-w-10").build()},sm:{iconLeft:new b().withMargin("mr-xs").withSize("size-4").build(),iconRight:new b().withMargin("ml-xs").withSize("size-4").build(),loader:new b().withSize("size-4").build(),root:new b().withPadding("px-lg").withFontSize("text-sm").withSize("min-w-9").build()},xl:{iconLeft:new b().withMargin("mr-sm").withSize("size-5").build(),iconRight:new b().withMargin("ml-sm").withSize("size-5").build(),loader:new b().withSize("size-5").build(),root:new b().withPadding("px-4.5").withFontSize("text-md").withSize("min-w-12").build()}}}}),ta=ea,[Pu,Zt]=j("buttonContext"),na=e.defineComponent({__name:"ButtonContent",setup(o){const{classConfig:t,customClassConfig:n,style:r}=Zt();return(a,i)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(r).content({class:e.unref(x)(e.unref(n).content,e.unref(t)?.content)}))},[e.renderSlot(a.$slots,"default")],2))}}),oa=e.defineComponent({__name:"ButtonIconLeft",setup(o){const{classConfig:t,customClassConfig:n,iconLeft:r,style:a}=Zt();return(i,l)=>e.unref(r)!==null?(e.openBlock(),e.createBlock(ee,{key:0,icon:e.unref(r),class:e.normalizeClass(e.unref(a).iconLeft({class:e.unref(x)(e.unref(n).iconLeft,e.unref(t)?.iconLeft)}))},null,8,["icon","class"])):e.createCommentVNode("",!0)}}),ra=e.defineComponent({__name:"ButtonIconRight",setup(o){const{classConfig:t,customClassConfig:n,iconRight:r,style:a}=Zt();return(i,l)=>e.unref(r)!==null?(e.openBlock(),e.createBlock(ee,{key:0,icon:e.unref(r),class:e.normalizeClass(e.unref(a).iconRight({class:e.unref(x)(e.unref(n).iconRight,e.unref(t)?.iconRight)}))},null,8,["icon","class"])):e.createCommentVNode("",!0)}}),Iu={class:"sr-only"},aa=e.defineComponent({__name:"ButtonLoader",setup(o){const{t}=ne.useI18n(),{classConfig:n,customClassConfig:r,style:a}=Zt();return(i,l)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(a).loader({class:e.unref(x)(e.unref(r).loader,e.unref(n)?.loader)}))},[e.createElementVNode("span",Iu,e.toDisplayString(e.unref(t)("shared.loading")),1),e.renderSlot(i.$slots,"default",{},()=>[e.createVNode(De)])],2))}}),ia=e.defineComponent({__name:"ButtonRoot",props:{size:{default:"md"},variant:{default:"primary"},iconLeft:{default:null},iconRight:{default:null},isLoading:{type:Boolean,default:!1},type:{default:"button"},testId:{default:null},isDisabled:{type:Boolean,default:!1},classConfig:{default:null}},emits:["click"],setup(o,{emit:t}){const n=o,r=t,{theme:a}=U(),i=e.computed(()=>ta({size:n.size,variant:n.variant})),l=e.computed(()=>X("button",a.value,{size:n.size,variant:n.variant}));function s(d){n.isLoading||r("click",d)}return Pu({...Z(n),customClassConfig:l,style:i}),(d,c)=>(e.openBlock(),e.createBlock(H,{"test-id":n.testId},{default:e.withCtx(()=>[e.createVNode(ce,{"is-disabled":n.isDisabled,"aria-disabled":n.isLoading,"aria-busy":n.isLoading,type:n.type,"data-loading":n.isLoading,class:e.normalizeClass(i.value.root({class:e.unref(x)(l.value.root,n.classConfig?.root)})),as:"button",onClick:s},{default:e.withCtx(()=>[e.renderSlot(d.$slots,"default")]),_:3},8,["is-disabled","aria-disabled","aria-busy","type","data-loading","class"])]),_:3},8,["test-id"]))}}),Jt=e.defineComponent({__name:"Button",props:{size:{},variant:{},iconLeft:{},iconRight:{},isLoading:{type:Boolean},type:{},testId:{},isDisabled:{type:Boolean},classConfig:{}},emits:["click"],setup(o,{emit:t}){const n=o,r=t;return(a,i)=>(e.openBlock(),e.createBlock(ia,e.mergeProps(n,{onClick:i[0]||(i[0]=l=>r("click",l))}),{default:e.withCtx(()=>[e.renderSlot(a.$slots,"loader",{},()=>[e.createVNode(aa)]),e.createVNode(na,null,{default:e.withCtx(()=>[e.renderSlot(a.$slots,"icon-left",{},()=>[e.createVNode(oa)]),e.renderSlot(a.$slots,"default"),e.renderSlot(a.$slots,"icon-right",{},()=>[e.createVNode(ra)])]),_:3})]),_:3},16))}}),[Tu,vn]=j("iconButtonContext"),la=e.defineComponent({__name:"RouterLinkButtonContent",setup(o){const{classConfig:t,customClassConfig:n,style:r}=vn();return(a,i)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(r).content({class:e.unref(x)(e.unref(n).content,e.unref(t)?.content)}))},[e.renderSlot(a.$slots,"default")],2))}}),sa=e.defineComponent({__name:"RouterLinkButtonIconLeft",setup(o){const{classConfig:t,customClassConfig:n,iconLeft:r,style:a}=vn();return(i,l)=>e.unref(r)!==null?(e.openBlock(),e.createBlock(ee,{key:0,icon:e.unref(r),class:e.normalizeClass(e.unref(a).iconLeft({class:e.unref(x)(e.unref(n).iconLeft,e.unref(t)?.iconLeft)}))},null,8,["icon","class"])):e.createCommentVNode("",!0)}}),da=e.defineComponent({__name:"RouterLinkButtonIconRight",setup(o){const{classConfig:t,customClassConfig:n,iconRight:r,style:a}=vn();return(i,l)=>e.unref(r)!==null?(e.openBlock(),e.createBlock(ee,{key:0,icon:e.unref(r),class:e.normalizeClass(e.unref(a).iconRight({class:e.unref(x)(e.unref(n).iconRight,e.unref(t)?.iconRight)}))},null,8,["icon","class"])):e.createCommentVNode("",!0)}}),ca=ea,ua=e.defineComponent({__name:"RouterLinkButtonRoot",props:{size:{default:"md"},to:{},variant:{default:"primary"},iconLeft:{default:null},iconRight:{default:null},testId:{default:null},classConfig:{default:null}},setup(o){const t=o,{theme:n}=U(),r=e.computed(()=>ca({size:t.size,variant:t.variant})),a=e.computed(()=>X("routerLinkButton",n.value,{size:t.size,variant:t.variant}));return Tu({...Z(t),customClassConfig:a,style:r}),(i,l)=>(e.openBlock(),e.createBlock(H,{"test-id":t.testId},{default:e.withCtx(()=>[e.createVNode(e.unref(Je.RouterLink),{class:e.normalizeClass(r.value.root({class:e.unref(x)(a.value.root,t.classConfig?.root)})),"data-loading":!1,to:t.to},{default:e.withCtx(()=>[e.renderSlot(i.$slots,"default")]),_:3},8,["class","to"])]),_:3},8,["test-id"]))}}),Eu=e.defineComponent({__name:"RouterLinkButton",props:{size:{},to:{},variant:{},iconLeft:{},iconRight:{},testId:{},classConfig:{}},setup(o){const t=o;return(n,r)=>(e.openBlock(),e.createBlock(ua,e.normalizeProps(e.guardReactiveProps(t)),{default:e.withCtx(()=>[e.createVNode(la,null,{default:e.withCtx(()=>[e.renderSlot(n.$slots,"icon-left",{},()=>[e.createVNode(sa)]),e.renderSlot(n.$slots,"default"),e.renderSlot(n.$slots,"icon-right",{},()=>[e.createVNode(da)])]),_:3})]),_:3},16))}}),[Mu,fa]=j("checkboxContext"),Du={key:0,width:"100%",height:"100%",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true"},Fu={key:1,width:"100%",height:"100%",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true"},pa=e.defineComponent({__name:"CheckboxIndicator",setup(o){const t={hidden:{opacity:0,pathLength:0},visible:{opacity:1,pathLength:1,transition:{opacity:{duration:.01},pathLength:{bounce:0,duration:.5,type:"spring"}}}},{isIndeterminate:n,classConfig:r,customClassConfig:a,style:i}=fa();return(l,s)=>(e.openBlock(),e.createBlock(e.unref(Y.AnimatePresence),{initial:!1},{default:e.withCtx(()=>[e.createVNode(e.unref(S.CheckboxIndicator),{class:e.normalizeClass(e.unref(i).indicator({class:e.unref(x)(e.unref(a).indicator,e.unref(r)?.indicator)})),"as-child":!0},{default:e.withCtx(()=>[e.renderSlot(l.$slots,"default",{},()=>[e.unref(n)?(e.openBlock(),e.createElementBlock("svg",Du,[e.createVNode(e.unref(Y.motion).path,{variants:t,tabindex:"-1",initial:"hidden",d:"M2.5 6H9.5",stroke:"currentColor","stroke-width":"1.66666","stroke-linecap":"round","stroke-linejoin":"round",animate:"visible",exit:"hidden"})])):(e.openBlock(),e.createElementBlock("svg",Fu,[e.createVNode(e.unref(Y.motion).path,{variants:t,tabindex:"-1",initial:"hidden",d:"M2 6L4.5 8.5L10 3",stroke:"currentColor","stroke-width":"1.6666","stroke-linecap":"round","stroke-linejoin":"round",animate:"visible",exit:"hidden"})]))])]),_:3},8,["class"])]),_:3}))}}),ma=e.defineComponent({__name:"CheckboxControl",setup(o){const{classConfig:t,customClassConfig:n,style:r}=fa();return(a,i)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(r).control({class:e.unref(x)(e.unref(t)?.control,e.unref(n)?.control)}))},[e.createVNode(pa)],2))}}),Ru=q({slots:{control:new b().withBase("relative overflow-hidden isolate").withSize("size-4").withFlex("flex items-center justify-center").withBorder("border border-solid border-primary group-data-[state=checked]/checkbox:border-brand-600 group-data-[state=checked]/checkbox:group-disabled/checkbox:border-disabled disabled:border-disabled").withBorder("group-data-invalid/checkbox:group-data-[state=checked]/checkbox:border-error group-data-invalid/checkbox:group-data-[state=unchecked]/checkbox:border-error").withBorderRadius("rounded-xs").withBackgroundColor("group-data-[state=checked]/checkbox:bg-brand-solid group-disabled/checkbox:group-data-[state=checked]/checkbox:bg-disabled-subtle group-disabled/checkbox:bg-disabled-subtle").withBackgroundColor("group-data-invalid/checkbox:group-data-[state=checked]/checkbox:bg-error-solid").withOutline("outline-2 outline-transparent group-focus-visible/checkbox:outline-brand-600 outline-offset-1 group-focus-visible/checkbox:group-data-invalid/checkbox:outline-error-600").withTransition("duration-300").build(),indicator:new b().withBase("block").withColor("text-primary-on-brand group-data-disabled/checkbox:text-fg-disabled-subtle").withSize("size-3").build(),root:new b().withBase("group/checkbox outline-none").withFlex("flex items-center justify-start").withCursor("cursor-pointer disabled:cursor-not-allowed").build()},variants:{variant:{}}}),ha=e.defineComponent({__name:"CheckboxRoot",props:e.mergeModels({isIndeterminate:{type:Boolean,default:!1},value:{default:null},variant:{default:null},testId:{default:null},isDisabled:{type:Boolean,default:!1},id:{default:null},isRequired:{type:Boolean,default:!1},isTouched:{type:Boolean,default:!1},errorMessage:{default:null},hint:{default:null},label:{default:null},classConfig:{default:null}},{modelValue:{type:Boolean,required:!1},modelModifiers:{}}),emits:e.mergeModels(["focus","blur"],["update:modelValue"]),setup(o,{emit:t}){const n=o,r=t,a=e.useModel(o,"modelValue"),i=e.computed({get(){return a.value===null?null:a.value?!0:n.isIndeterminate?"indeterminate":!1},set(c){c!==null&&(a.value=c==="indeterminate"?!1:c)}}),{theme:l}=U(),s=e.computed(()=>Ru({variant:n.variant??void 0})),d=e.computed(()=>X("checkbox",l.value,{variant:n.variant}));return Mu({...Z(n),customClassConfig:d,style:s}),(c,u)=>(e.openBlock(),e.createBlock(H,{"test-id":o.testId},{default:e.withCtx(()=>[e.createVNode(Le,{id:o.id,"is-disabled":o.isDisabled,"is-invalid":o.errorMessage!==null,"is-required":o.isRequired,"described-by":`${o.id}-error ${o.id}-hint`,"is-loading":!1},{default:e.withCtx(()=>[e.createVNode(e.unref(S.CheckboxRoot),{modelValue:i.value,"onUpdate:modelValue":u[0]||(u[0]=f=>i.value=f),value:n.value,"data-invalid":o.errorMessage!==null&&n.isTouched||void 0,class:e.normalizeClass(s.value.root({class:e.unref(x)(d.value.root,n.classConfig?.root)})),onFocus:u[1]||(u[1]=f=>r("focus")),onBlur:u[2]||(u[2]=f=>r("blur"))},{default:e.withCtx(()=>[e.renderSlot(c.$slots,"default")]),_:3},8,["modelValue","value","data-invalid","class"])]),_:3},8,["id","is-disabled","is-invalid","is-required","described-by"])]),_:3},8,["test-id"]))}}),Ou=e.defineComponent({__name:"Checkbox",props:e.mergeModels({isIndeterminate:{type:Boolean},value:{},variant:{},testId:{},isDisabled:{type:Boolean},id:{},isRequired:{type:Boolean},isTouched:{type:Boolean},errorMessage:{},hint:{},label:{},classConfig:{}},{modelValue:{type:Boolean,required:!1},modelModifiers:{}}),emits:e.mergeModels(["focus","blur"],["update:modelValue"]),setup(o,{emit:t}){const n=o,r=t,a=e.useModel(o,"modelValue"),i=n.id??e.useId();return(l,s)=>(e.openBlock(),e.createBlock(_e,{"error-message":n.errorMessage,hint:n.hint,"is-required":n.isRequired,"is-touched":n.isTouched,label:n.label,for:e.unref(i),layout:"horizontal"},{label:e.withCtx(()=>[e.renderSlot(l.$slots,"label")]),error:e.withCtx(()=>[e.renderSlot(l.$slots,"error")]),hint:e.withCtx(()=>[e.renderSlot(l.$slots,"hint")]),default:e.withCtx(()=>[e.createVNode(ha,e.mergeProps(n,{id:e.unref(i),modelValue:a.value,"onUpdate:modelValue":s[0]||(s[0]=d=>a.value=d),onBlur:s[1]||(s[1]=d=>r("blur")),onFocus:s[2]||(s[2]=d=>r("focus"))}),{default:e.withCtx(()=>[e.renderSlot(l.$slots,"default",{},()=>[e.createVNode(ma)])]),_:3},16,["id","modelValue"])]),_:3},8,["error-message","hint","is-required","is-touched","label","for"]))}});function ga(o,t){function n(r){setTimeout(()=>{o.value.contains(document.activeElement)||t(r)})}e.onMounted(()=>{if(o.value===null)throw new Error("Element is null");o.value.addEventListener("focusout",n)}),e.onBeforeUnmount(()=>{o.value?.removeEventListener("focusout",n)})}const ba=e.defineComponent({__name:"CheckboxGroupRoot",props:e.mergeModels({testId:{default:null},isDisabled:{type:Boolean,default:!1},id:{default:null},isRequired:{type:Boolean,default:!1},isTouched:{type:Boolean,default:!1},errorMessage:{default:null},hint:{default:null},label:{default:null}},{modelValue:{required:!0},modelModifiers:{}}),emits:e.mergeModels(["blur"],["update:modelValue"]),setup(o,{emit:t}){const n=o,r=t,a=e.useModel(o,"modelValue"),i=e.ref(null);return ga(e.computed(()=>i.value?.$el??null),()=>{r("blur")}),(l,s)=>(e.openBlock(),e.createBlock(H,{"test-id":n.testId},{default:e.withCtx(()=>[e.createVNode(ce,{"is-disabled":n.isDisabled},{default:e.withCtx(()=>[e.createVNode(e.unref(S.CheckboxGroupRoot),e.mergeProps({ref_key:"checkboxGroupRootRef",ref:i},n,{modelValue:a.value,"onUpdate:modelValue":s[0]||(s[0]=d=>a.value=d)}),{default:e.withCtx(()=>[e.renderSlot(l.$slots,"default")]),_:3},16,["modelValue"])]),_:3},8,["is-disabled"])]),_:3},8,["test-id"]))}}),Au=e.defineComponent({__name:"CheckboxGroup",props:e.mergeModels({testId:{},isDisabled:{type:Boolean},id:{},isRequired:{type:Boolean},isTouched:{type:Boolean},errorMessage:{},hint:{},label:{}},{modelValue:{required:!0},modelModifiers:{}}),emits:e.mergeModels(["blur"],["update:modelValue"]),setup(o,{emit:t}){const n=o,r=t,a=e.useModel(o,"modelValue"),i=n.id??e.useId();return(l,s)=>(e.openBlock(),e.createBlock(_e,{"error-message":n.errorMessage,hint:n.hint,"is-required":n.isRequired,"is-touched":n.isTouched,label:n.label,for:e.unref(i)},{label:e.withCtx(()=>[e.renderSlot(l.$slots,"label")]),error:e.withCtx(()=>[e.renderSlot(l.$slots,"error")]),hint:e.withCtx(()=>[e.renderSlot(l.$slots,"hint")]),default:e.withCtx(()=>[e.createVNode(ba,e.mergeProps(n,{id:e.unref(i),modelValue:a.value,"onUpdate:modelValue":s[0]||(s[0]=d=>a.value=d),onBlur:s[1]||(s[1]=d=>r("blur"))}),{default:e.withCtx(()=>[e.renderSlot(l.$slots,"default")]),_:3},16,["id","modelValue"])]),_:3},8,["error-message","hint","is-required","is-touched","label","for"]))}}),$a=e.defineComponent({__name:"TooltipProvider",setup(o){return(t,n)=>(e.openBlock(),e.createBlock(e.unref(S.TooltipProvider),null,{default:e.withCtx(()=>[e.renderSlot(t.$slots,"default")]),_:3}))}}),zu=e.defineComponent({__name:"ConfigProvider",props:{areKeyboardShortcutHintsHidden:{type:Boolean},autoCloseToast:{},googleMapsApiKey:{},hourCycle:{},locale:{},pagination:{},teleportTargetSelector:{},toastPosition:{}},setup(o){const t=o;return pu({areKeyboardShortcutHintsHidden:e.computed(()=>t.areKeyboardShortcutHintsHidden??!1),autoCloseToast:e.computed(()=>t.autoCloseToast??null),googleMapsApiKey:t.googleMapsApiKey??null,hourCycle:e.computed(()=>t.hourCycle??null),locale:e.computed(()=>t.locale),pagination:{limit:t.pagination?.limit},teleportTargetSelector:t.teleportTargetSelector??"body",toastPosition:t.toastPosition}),(n,r)=>(e.openBlock(),e.createBlock($a,null,{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default")]),_:3}))}}),ya=q({slots:{iconLeft:new b().withBase("shrink-0").withSize("size-4.5").withSpacing("ml-3").withColor("text-quaternary group-data-disabled/date-field:text-fg-disabled").build(),iconRight:new b().withBase("shrink-0").withSize("size-4.5").withSpacing("mr-3").withColor("text-quaternary group-data-disabled/date-field:text-fg-disabled").build(),input:new b().withBase("outline-none").withFontSize("text-sm").withBackgroundColor("focus:bg-quaternary").withPadding("px-0.5 data-[segment=literal]:px-0").withBorderRadius("rounded-xs").withColor("text-primary data-placeholder:text-placeholder data-[segment=literal]:text-placeholder group-data-disabled/date-field:text-disabled").withCursor("disabled:cursor-not-allowed").withTransition("duration-200").build(),inputs:new b().withFlex("flex items-center").withSize("size-full").withPadding("pl-3 pr-2 group-data-icon-left/date-field:pl-2").withBackgroundColor("group-data-disabled/date-field:bg-disabled-subtle").build(),loader:new b().withBase("shrink-0").withSpacing("mr-3").withSize("size-4").withColor("text-quaternary").build(),root:new b().withBase("group/date-field overflow-hidden").withFlex("flex items-center").withHeight("h-10").withBorder("border border-solid border-primary focus-within:border-brand-500").withBorder("data-disabled:border-disabled-subtle").withBorder("data-invalid:border-error data-invalid:focus-within:border-error").withBackgroundColor("bg-primary data-disabled:bg-disabled-subtle").withBorderRadius("rounded-md").withShadow("shadow-xs").withOutline("outline outline-transparent focus-within:outline-brand-500 focus-within:data-invalid:outline-error-500").withTransition("duration-200").withCursor("data-disabled:cursor-not-allowed").build()},variants:{variant:{}}}),[Lu,Qt]=j("dateFieldContext"),wa=e.defineComponent({__name:"DateFieldIconLeft",setup(o){const{classConfig:t,customClassConfig:n,iconLeft:r,style:a}=Qt();return(i,l)=>e.unref(r)!==null?(e.openBlock(),e.createBlock(ee,{key:0,icon:e.unref(r),class:e.normalizeClass(e.unref(a).iconLeft({class:e.unref(x)(e.unref(n).iconLeft,e.unref(t)?.iconLeft)}))},null,8,["icon","class"])):e.createCommentVNode("",!0)}}),Ca=e.defineComponent({__name:"DateFieldInput",props:{segments:{}},setup(o){const t=o,{testId:n,classConfig:r,customClassConfig:a,style:i,onBlur:l,onFocus:s}=Qt();return(d,c)=>(e.openBlock(),e.createBlock(H,{"test-id":e.unref(n)},{default:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass(e.unref(i).inputs({class:e.unref(x)(e.unref(a).inputs,e.unref(r)?.inputs)}))},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.segments,u=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:u.part},[u.part==="literal"?(e.openBlock(),e.createBlock(e.unref(S.DateFieldInput),{key:0,part:u.part,class:e.normalizeClass(e.unref(i).input({class:e.unref(x)(e.unref(a).input,e.unref(r)?.input)}))},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(u.value),1)]),_:2},1032,["part","class"])):(e.openBlock(),e.createBlock(e.unref(S.DateFieldInput),{key:1,part:u.part,class:e.normalizeClass(e.unref(i).input({class:e.unref(x)(e.unref(a).input,e.unref(r)?.input)})),onFocus:e.unref(s),onBlur:e.unref(l)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(u.value),1)]),_:2},1032,["part","class","onFocus","onBlur"]))],64))),128))],2)]),_:1},8,["test-id"]))}}),ju={class:"sr-only"},_a=e.defineComponent({__name:"DateFieldLoader",setup(o){const{isLoading:t,classConfig:n,customClassConfig:r,style:a}=Qt(),{t:i}=ne.useI18n();return(l,s)=>e.unref(t)?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(a).loader({class:e.unref(x)(e.unref(r).loader,e.unref(n)?.loader)}))},[e.createElementVNode("span",ju,e.toDisplayString(e.unref(i)("shared.loading")),1),e.renderSlot(l.$slots,"default",{},()=>[e.createVNode(De,{"aria-hidden":!0})])],2)):e.createCommentVNode("",!0)}}),[Gu,xa]=j("useDatePickerDateContext"),[Hu,eo]=j("datePickerContext"),vt=e.defineComponent({__name:"DatePickerDate",setup(o){const{classConfig:t,customClassConfig:n,style:r}=eo(),{date:a,month:i}=xa();return(l,s)=>(e.openBlock(),e.createBlock(e.unref(S.CalendarCellTrigger),{day:e.unref(a),month:e.unref(i),class:e.normalizeClass(e.unref(r).date({class:e.unref(x)(e.unref(n).date,e.unref(t)?.date)}))},{default:e.withCtx(({today:d})=>[e.renderSlot(l.$slots,"default",{day:e.unref(a).day},()=>[e.createTextVNode(e.toDisplayString(e.unref(a).day),1)]),d?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(r).todayIndicator({class:e.unref(x)(e.unref(n).todayIndicator,e.unref(t)?.todayIndicator)}))},null,2)):e.createCommentVNode("",!0)]),_:3},8,["day","month","class"]))}});function to(o,t){return o-t*Math.floor(o/t)}const ka=1721426;function en(o,t,n,r){t=no(o,t);let a=t-1,i=-2;return n<=2?i=0:tn(t)&&(i=-1),ka-1+365*a+Math.floor(a/4)-Math.floor(a/100)+Math.floor(a/400)+Math.floor((367*n-362)/12+i+r)}function tn(o){return o%4===0&&(o%100!==0||o%400===0)}function no(o,t){return o==="BC"?1-t:t}function qu(o){let t="AD";return o<=0&&(t="BC",o=1-o),[t,o]}const Uu={standard:[31,28,31,30,31,30,31,31,30,31,30,31],leapyear:[31,29,31,30,31,30,31,31,30,31,30,31]};class nn{fromJulianDay(t){let n=t,r=n-ka,a=Math.floor(r/146097),i=to(r,146097),l=Math.floor(i/36524),s=to(i,36524),d=Math.floor(s/1461),c=to(s,1461),u=Math.floor(c/365),f=a*400+l*100+d*4+u+(l!==4&&u!==4?1:0),[p,$]=qu(f),C=n-en(p,$,1,1),y=2;n<en(p,$,3,1)?y=0:tn($)&&(y=1);let m=Math.floor(((C+y)*12+373)/367),w=n-en(p,$,m,1)+1;return new ht(p,$,m,w)}toJulianDay(t){return en(t.era,t.year,t.month,t.day)}getDaysInMonth(t){return Uu[tn(t.year)?"leapyear":"standard"][t.month-1]}getMonthsInYear(t){return 12}getDaysInYear(t){return tn(t.year)?366:365}getYearsInEra(t){return 9999}getEras(){return["BC","AD"]}isInverseEra(t){return t.era==="BC"}balanceDate(t){t.year<=0&&(t.era=t.era==="BC"?"AD":"BC",t.year=1-t.year)}constructor(){this.identifier="gregory"}}function Wu(o,t){var n,r,a,i;return(i=(a=(n=o.isEqual)===null||n===void 0?void 0:n.call(o,t))!==null&&a!==void 0?a:(r=t.isEqual)===null||r===void 0?void 0:r.call(t,o))!==null&&i!==void 0?i:o.identifier===t.identifier}function Sa(o,t){return o.calendar.toJulianDay(o)-t.calendar.toJulianDay(t)}function Ba(o,t){return Na(o)-Na(t)}function Na(o){return o.hour*36e5+o.minute*6e4+o.second*1e3+o.millisecond}let oo=null;function ot(){return oo==null&&(oo=new Intl.DateTimeFormat().resolvedOptions().timeZone),oo}function Va(o){o=ro(o,new nn);let t=no(o.era,o.year);return Pa(t,o.month,o.day,o.hour,o.minute,o.second,o.millisecond)}function Pa(o,t,n,r,a,i,l){let s=new Date;return s.setUTCHours(r,a,i,l),s.setUTCFullYear(o,t-1,n),s.getTime()}function Ia(o,t){if(t==="UTC")return 0;if(o>0&&t===ot())return new Date(o).getTimezoneOffset()*-6e4;let{year:n,month:r,day:a,hour:i,minute:l,second:s}=Ea(o,t);return Pa(n,r,a,i,l,s,0)-Math.floor(o/1e3)*1e3}const Ta=new Map;function Ea(o,t){let n=Ta.get(t);n||(n=new Intl.DateTimeFormat("en-US",{timeZone:t,hour12:!1,era:"short",year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"}),Ta.set(t,n));let r=n.formatToParts(new Date(o)),a={};for(let i of r)i.type!=="literal"&&(a[i.type]=i.value);return{year:a.era==="BC"||a.era==="B"?-a.year+1:+a.year,month:+a.month,day:+a.day,hour:a.hour==="24"?0:+a.hour,minute:+a.minute,second:+a.second}}const Ma=864e5;function Ku(o,t,n,r){return(n===r?[n]:[n,r]).filter(i=>Yu(o,t,i))}function Yu(o,t,n){let r=Ea(n,t);return o.year===r.year&&o.month===r.month&&o.day===r.day&&o.hour===r.hour&&o.minute===r.minute&&o.second===r.second}function Xu(o,t,n="compatible"){let r=Fa(o);if(t==="UTC")return Va(r);if(t===ot()&&n==="compatible"){r=ro(r,new nn);let d=new Date,c=no(r.era,r.year);return d.setFullYear(c,r.month-1,r.day),d.setHours(r.hour,r.minute,r.second,r.millisecond),d.getTime()}let a=Va(r),i=Ia(a-Ma,t),l=Ia(a+Ma,t),s=Ku(r,t,a-i,a-l);if(s.length===1)return s[0];if(s.length>1)switch(n){case"compatible":case"earlier":return s[0];case"later":return s[s.length-1];case"reject":throw new RangeError("Multiple possible absolute times found")}switch(n){case"earlier":return Math.min(a-i,a-l);case"compatible":case"later":return Math.max(a-i,a-l);case"reject":throw new RangeError("No such absolute time found")}}function Da(o,t,n="compatible"){return new Date(Xu(o,t,n))}function Fa(o,t){let n=0,r=0,a=0,i=0;if("timeZone"in o)({hour:n,minute:r,second:a,millisecond:i}=o);else if("hour"in o&&!t)return o;return t&&({hour:n,minute:r,second:a,millisecond:i}=t),new rn(o.calendar,o.era,o.year,o.month,o.day,n,r,a,i)}function ro(o,t){if(Wu(o.calendar,t))return o;let n=t.fromJulianDay(o.calendar.toJulianDay(o)),r=o.copy();return r.calendar=t,r.era=n.era,r.year=n.year,r.month=n.month,r.day=n.day,rt(r),r}function ao(o,t){let n=o.copy(),r="hour"in n?Ga(n,t):0;io(n,t.years||0),n.calendar.balanceYearMonth&&n.calendar.balanceYearMonth(n,o),n.month+=t.months||0,lo(n),Ra(n),n.day+=(t.weeks||0)*7,n.day+=t.days||0,n.day+=r,Zu(n),n.calendar.balanceDate&&n.calendar.balanceDate(n),n.year<1&&(n.year=1,n.month=1,n.day=1);let a=n.calendar.getYearsInEra(n);if(n.year>a){var i,l;let d=(i=(l=n.calendar).isInverseEra)===null||i===void 0?void 0:i.call(l,n);n.year=a,n.month=d?1:n.calendar.getMonthsInYear(n),n.day=d?1:n.calendar.getDaysInMonth(n)}n.month<1&&(n.month=1,n.day=1);let s=n.calendar.getMonthsInYear(n);return n.month>s&&(n.month=s,n.day=n.calendar.getDaysInMonth(n)),n.day=Math.max(1,Math.min(n.calendar.getDaysInMonth(n),n.day)),n}function io(o,t){var n,r;!((n=(r=o.calendar).isInverseEra)===null||n===void 0)&&n.call(r,o)&&(t=-t),o.year+=t}function lo(o){for(;o.month<1;)io(o,-1),o.month+=o.calendar.getMonthsInYear(o);let t=0;for(;o.month>(t=o.calendar.getMonthsInYear(o));)o.month-=t,io(o,1)}function Zu(o){for(;o.day<1;)o.month--,lo(o),o.day+=o.calendar.getDaysInMonth(o);for(;o.day>o.calendar.getDaysInMonth(o);)o.day-=o.calendar.getDaysInMonth(o),o.month++,lo(o)}function Ra(o){o.month=Math.max(1,Math.min(o.calendar.getMonthsInYear(o),o.month)),o.day=Math.max(1,Math.min(o.calendar.getDaysInMonth(o),o.day))}function rt(o){o.calendar.constrainDate&&o.calendar.constrainDate(o),o.year=Math.max(1,Math.min(o.calendar.getYearsInEra(o),o.year)),Ra(o)}function Oa(o){let t={};for(let n in o)typeof o[n]=="number"&&(t[n]=-o[n]);return t}function Aa(o,t){return ao(o,Oa(t))}function za(o,t){let n=o.copy();return t.era!=null&&(n.era=t.era),t.year!=null&&(n.year=t.year),t.month!=null&&(n.month=t.month),t.day!=null&&(n.day=t.day),rt(n),n}function La(o,t){let n=o.copy();return t.hour!=null&&(n.hour=t.hour),t.minute!=null&&(n.minute=t.minute),t.second!=null&&(n.second=t.second),t.millisecond!=null&&(n.millisecond=t.millisecond),ja(n),n}function Ju(o){o.second+=Math.floor(o.millisecond/1e3),o.millisecond=on(o.millisecond,1e3),o.minute+=Math.floor(o.second/60),o.second=on(o.second,60),o.hour+=Math.floor(o.minute/60),o.minute=on(o.minute,60);let t=Math.floor(o.hour/24);return o.hour=on(o.hour,24),t}function ja(o){o.millisecond=Math.max(0,Math.min(o.millisecond,1e3)),o.second=Math.max(0,Math.min(o.second,59)),o.minute=Math.max(0,Math.min(o.minute,59)),o.hour=Math.max(0,Math.min(o.hour,23))}function on(o,t){let n=o%t;return n<0&&(n+=t),n}function Ga(o,t){return o.hour+=t.hours||0,o.minute+=t.minutes||0,o.second+=t.seconds||0,o.millisecond+=t.milliseconds||0,Ju(o)}function Ha(o,t){let n=o.copy();return Ga(n,t),n}function Qu(o,t){return Ha(o,Oa(t))}function qa(o,t,n,r){let a=o.copy();switch(t){case"era":{let s=o.calendar.getEras(),d=s.indexOf(o.era);if(d<0)throw new Error("Invalid era: "+o.era);d=je(d,n,0,s.length-1,r?.round),a.era=s[d],rt(a);break}case"year":var i,l;!((i=(l=a.calendar).isInverseEra)===null||i===void 0)&&i.call(l,a)&&(n=-n),a.year=je(o.year,n,-1/0,9999,r?.round),a.year===-1/0&&(a.year=1),a.calendar.balanceYearMonth&&a.calendar.balanceYearMonth(a,o);break;case"month":a.month=je(o.month,n,1,o.calendar.getMonthsInYear(o),r?.round);break;case"day":a.day=je(o.day,n,1,o.calendar.getDaysInMonth(o),r?.round);break;default:throw new Error("Unsupported field "+t)}return o.calendar.balanceDate&&o.calendar.balanceDate(a),rt(a),a}function Ua(o,t,n,r){let a=o.copy();switch(t){case"hour":{let i=o.hour,l=0,s=23;if(r?.hourCycle===12){let d=i>=12;l=d?12:0,s=d?23:11}a.hour=je(i,n,l,s,r?.round);break}case"minute":a.minute=je(o.minute,n,0,59,r?.round);break;case"second":a.second=je(o.second,n,0,59,r?.round);break;case"millisecond":a.millisecond=je(o.millisecond,n,0,999,r?.round);break;default:throw new Error("Unsupported field "+t)}return a}function je(o,t,n,r,a=!1){if(a){o+=Math.sign(t),o<n&&(o=r);let i=Math.abs(t);t>0?o=Math.ceil(o/i)*i:o=Math.floor(o/i)*i,o>r&&(o=n)}else o+=t,o<n?o=r-(n-o-1):o>r&&(o=n+(o-r-1));return o}function Wa(o){return`${String(o.hour).padStart(2,"0")}:${String(o.minute).padStart(2,"0")}:${String(o.second).padStart(2,"0")}${o.millisecond?String(o.millisecond/1e3).slice(1):""}`}function Ka(o){let t=ro(o,new nn),n;return t.era==="BC"?n=t.year===1?"0000":"-"+String(Math.abs(1-t.year)).padStart(6,"00"):n=String(t.year).padStart(4,"0"),`${n}-${String(t.month).padStart(2,"0")}-${String(t.day).padStart(2,"0")}`}function vu(o){return`${Ka(o)}T${Wa(o)}`}function ef(o,t){if(t.has(o))throw new TypeError("Cannot initialize the same private elements twice on an object")}function so(o,t,n){ef(o,t),t.set(o,n)}function Ya(o){let t=typeof o[0]=="object"?o.shift():new nn,n;if(typeof o[0]=="string")n=o.shift();else{let l=t.getEras();n=l[l.length-1]}let r=o.shift(),a=o.shift(),i=o.shift();return[t,n,r,a,i]}var tf=new WeakMap;class ht{copy(){return this.era?new ht(this.calendar,this.era,this.year,this.month,this.day):new ht(this.calendar,this.year,this.month,this.day)}add(t){return ao(this,t)}subtract(t){return Aa(this,t)}set(t){return za(this,t)}cycle(t,n,r){return qa(this,t,n,r)}toDate(t){return Da(this,t)}toString(){return Ka(this)}compare(t){return Sa(this,t)}constructor(...t){so(this,tf,{writable:!0,value:void 0});let[n,r,a,i,l]=Ya(t);this.calendar=n,this.era=r,this.year=a,this.month=i,this.day=l,rt(this)}}var nf=new WeakMap;class co{copy(){return new co(this.hour,this.minute,this.second,this.millisecond)}add(t){return Ha(this,t)}subtract(t){return Qu(this,t)}set(t){return La(this,t)}cycle(t,n,r){return Ua(this,t,n,r)}toString(){return Wa(this)}compare(t){return Ba(this,t)}constructor(t=0,n=0,r=0,a=0){so(this,nf,{writable:!0,value:void 0}),this.hour=t,this.minute=n,this.second=r,this.millisecond=a,ja(this)}}var of=new WeakMap;class rn{copy(){return this.era?new rn(this.calendar,this.era,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond):new rn(this.calendar,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond)}add(t){return ao(this,t)}subtract(t){return Aa(this,t)}set(t){return za(La(this,t),t)}cycle(t,n,r){switch(t){case"era":case"year":case"month":case"day":return qa(this,t,n,r);default:return Ua(this,t,n,r)}}toDate(t,n){return Da(this,t,n)}toString(){return vu(this)}compare(t){let n=Sa(this,t);return n===0?Ba(this,Fa(t)):n}constructor(...t){so(this,of,{writable:!0,value:void 0});let[n,r,a,i,l]=Ya(t);this.calendar=n,this.era=r,this.year=a,this.month=i,this.day=l,this.hour=t.shift()||0,this.minute=t.shift()||0,this.second=t.shift()||0,this.millisecond=t.shift()||0,rt(this)}}function rf(o){return new Date(o.toString())}function af(o){return new ht(o.getFullYear(),o.getMonth()+1,o.getDate())}function pe(o){const t=o.toDate(ot());return new Be.Temporal.PlainDate(t.getFullYear(),t.getMonth()+1,t.getDate())}function le(o){return af(rf(o))}function Xa(o){return o.toDate(ot())}function at(o,t,n){return new Intl.DateTimeFormat(t,{month:n}).format(new Date(1,o))}function lf(o,t){return new Date(t,o,0).getDate()}function sf(o){return["en-US","en-CA","en-PH","en-MY","en-AU","en-NZ","en-IN","ja-JP","zh-CN"].some(n=>n.toLowerCase()===o.toLowerCase())?0:1}function Za(o,t,n="short"){const r=sf(o),a=new Date(Date.UTC(2023,0,1)),i=[],l=new Intl.DateTimeFormat(t,{weekday:n});for(let s=0;s<7;s++){const d=(r+s)%7,c=new Date(a);c.setUTCDate(a.getUTCDate()+d),i.push(l.format(c))}return i}const Ja=e.defineComponent({__name:"DatePickerDateProvider",props:{date:{},month:{}},setup(o){const t=o;return Gu({date:t.date,month:t.month}),(n,r)=>e.renderSlot(n.$slots,"default")}}),Qa=e.defineComponent({__name:"DatePickerGrid",props:{grid:{},weekDays:{}},setup(o){const t=o,{classConfig:n,customClassConfig:r,style:a}=eo(),{locale:i}=fe(),{locale:l}=S.injectCalendarRootContext();return(s,d)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(a).gridContainer({class:e.unref(x)(e.unref(r).gridContainer,e.unref(n)?.gridContainer)}))},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.grid,(c,u)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:c.value.toString()},[u!==0?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(a).monthSeparator({class:e.unref(x)(e.unref(r).monthSeparator,e.unref(n)?.monthSeparator)}))},null,2)):e.createCommentVNode("",!0),e.createVNode(e.unref(S.CalendarGrid),{class:e.normalizeClass(e.unref(a).grid({class:e.unref(x)(e.unref(r).grid,e.unref(n)?.grid)}))},{default:e.withCtx(()=>[e.createVNode(e.unref(S.CalendarGridHead),null,{default:e.withCtx(()=>[e.createVNode(e.unref(S.CalendarGridRow),{class:e.normalizeClass(e.unref(a).gridRow({class:e.unref(x)(e.unref(r).gridRow,e.unref(n)?.gridRow)}))},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.weekDays,(f,p)=>(e.openBlock(),e.createBlock(e.unref(S.CalendarHeadCell),{key:f,class:e.normalizeClass(e.unref(a).weekDayLabel({class:e.unref(x)(e.unref(r).weekDayLabel,e.unref(n)?.weekDayLabel)}))},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(Za)(e.unref(l),e.unref(i))[p]),1)]),_:2},1032,["class"]))),128))]),_:1},8,["class"])]),_:1}),e.createVNode(e.unref(S.CalendarGridBody),{class:e.normalizeClass(e.unref(a).gridBody({class:e.unref(x)(e.unref(r).gridBody,e.unref(n)?.gridBody)}))},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.rows,f=>(e.openBlock(),e.createBlock(e.unref(S.CalendarGridRow),{key:f.toString(),class:e.normalizeClass(e.unref(a).gridRow({class:e.unref(x)(e.unref(r).gridRow,e.unref(n)?.gridRow)}))},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(f,p=>(e.openBlock(),e.createBlock(e.unref(S.CalendarCell),{key:p.toString(),date:p},{default:e.withCtx(()=>[e.createVNode(Ja,{date:p,month:c.value},{default:e.withCtx(()=>[e.renderSlot(s.$slots,"date",{date:e.unref(Xa)(p)},()=>[e.createVNode(vt)])]),_:2},1032,["date","month"])]),_:2},1032,["date"]))),128))]),_:2},1032,["class"]))),128))]),_:2},1032,["class"])]),_:2},1032,["class"])],64))),128))],2))}}),[df,it]=j("numberFieldContext"),va=e.defineComponent({__name:"NumberFieldDecrement",setup(o){const{isDisabled:t,classConfig:n,customClassConfig:r,hideControls:a}=it(),{t:i}=ne.useI18n();return(l,s)=>e.unref(a)?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(e.unref(S.NumberFieldDecrement),{key:0,"as-child":!0},{default:e.withCtx(()=>[e.createVNode(ue,{"is-disabled":e.unref(t),label:e.unref(i)("component.number_field.decrement"),"class-config":e.unref(Ve)({icon:"size-4",root:"min-w-7 h-7 rounded-[0.3rem] ml-[0.3rem]"},e.unref(r)?.decrement,e.unref(n)?.decrement),icon:"minus",variant:"tertiary",size:"sm"},null,8,["is-disabled","label","class-config"])]),_:1}))}}),ei=e.defineComponent({__name:"NumberFieldIconLeft",setup(o){const{classConfig:t,customClassConfig:n,iconLeft:r,style:a}=it();return(i,l)=>e.unref(r)!==null?(e.openBlock(),e.createBlock(ee,{key:0,icon:e.unref(r),class:e.normalizeClass(e.unref(a).iconLeft({class:e.unref(x)(e.unref(n).iconLeft,e.unref(t)?.iconLeft)}))},null,8,["icon","class"])):e.createCommentVNode("",!0)}}),ti=e.defineComponent({__name:"NumberFieldIconRight",setup(o){const{isLoading:t,classConfig:n,customClassConfig:r,iconRight:a,style:i}=it();return(l,s)=>e.unref(a)!==null&&!e.unref(t)?(e.openBlock(),e.createBlock(ee,{key:0,icon:e.unref(a),class:e.normalizeClass(e.unref(i).iconRight({class:e.unref(x)(e.unref(r).iconRight,e.unref(n)?.iconRight)}))},null,8,["icon","class"])):e.createCommentVNode("",!0)}}),ni=e.defineComponent({__name:"NumberFieldIncrement",setup(o){const{isDisabled:t,classConfig:n,customClassConfig:r,hideControls:a}=it(),{t:i}=ne.useI18n();return(l,s)=>e.unref(a)?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(e.unref(S.NumberFieldIncrement),{key:0,"as-child":!0},{default:e.withCtx(()=>[e.createVNode(ue,{"is-disabled":e.unref(t),label:e.unref(i)("component.number_field.increment"),"class-config":e.unref(Ve)({icon:"size-4",root:"min-w-7 h-7 rounded-[0.3rem] mr-[0.3rem]"},e.unref(r)?.increment,e.unref(n)?.increment),icon:"plus",variant:"tertiary",size:"sm"},null,8,["is-disabled","label","class-config"])]),_:1}))}}),oi=e.defineComponent({__name:"NumberFieldInput",setup(o){const{id:t,testId:n,isDisabled:r,isLoading:a,isRequired:i,autocomplete:l,classConfig:s,customClassConfig:d,errorMessage:c,placeholder:u,style:f,onBlur:p,onFocus:$}=it();return(C,y)=>(e.openBlock(),e.createBlock(H,{"test-id":e.unref(n)},{default:e.withCtx(()=>[e.createVNode(Le,{id:e.unref(t),"is-disabled":e.unref(r),"is-loading":e.unref(a),"is-invalid":e.unref(c)!==null,"described-by":`${e.unref(t)}-error ${e.unref(t)}-hint`,"is-required":e.unref(i)},{default:e.withCtx(()=>[e.createVNode(e.unref(S.NumberFieldInput),{class:e.normalizeClass(e.unref(f).input({class:e.unref(x)(e.unref(d).input,e.unref(s)?.input)})),autocomplete:e.unref(l),placeholder:e.unref(u),onFocus:e.unref($),onBlur:e.unref(p)},null,8,["class","autocomplete","placeholder","onFocus","onBlur"])]),_:1},8,["id","is-disabled","is-loading","is-invalid","described-by","is-required"])]),_:1},8,["test-id"]))}}),cf={class:"sr-only"},ri=e.defineComponent({__name:"NumberFieldLoader",setup(o){const{isLoading:t,classConfig:n,customClassConfig:r,style:a}=it(),{t:i}=ne.useI18n();return(l,s)=>e.unref(t)?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(a).loader({class:e.unref(x)(e.unref(r).loader,e.unref(n)?.loader)}))},[e.createElementVNode("span",cf,e.toDisplayString(e.unref(i)("shared.loading")),1),e.renderSlot(l.$slots,"default",{},()=>[e.createVNode(De,{"aria-hidden":!0})])],2)):e.createCommentVNode("",!0)}}),ai=q({slots:{iconLeft:new b().withBase("shrink-0").withSize("size-4.5").withSpacing("ml-3").withColor("text-quaternary group-data-disabled/number-field:text-fg-disabled").build(),iconRight:new b().withBase("shrink-0").withSize("size-4.5").withSpacing("mr-3").withColor("text-quaternary group-data-disabled/number-field:text-fg-disabled").build(),input:new b().withBase("outline-none group-data-controls/number-field:text-center").withSize("size-full").withFontSize("text-sm").withPadding("px-3 group-data-icon-left/number-field:pl-2 group-data-icon-right/number-field:pr-2").withColor("text-primary disabled:text-disabled placeholder:text-placeholder").withBackgroundColor("bg-transparent").withCursor("disabled:cursor-not-allowed").build(),loader:new b().withBase("shrink-0").withSpacing("mr-3").withSize("size-4").withColor("text-quaternary").build(),root:new b().withBase("group/number-field overflow-hidden").withFlex("flex items-center").withHeight("h-10").withBorder("border border-solid border-primary focus-within:border-brand-500").withBorder("data-disabled:border-disabled-subtle").withBorder("data-invalid:border-error data-invalid:focus-within:border-error").withBackgroundColor("bg-primary data-disabled:bg-disabled-subtle").withBorderRadius("rounded-md").withShadow("shadow-xs").withOutline("outline outline-transparent focus-within:outline-brand-500 focus-within:data-invalid:outline-error-500").withTransition("duration-200").withCursor("data-disabled:cursor-not-allowed").build()},variants:{variant:{}}}),ii=e.defineComponent({__name:"NumberFieldRoot",props:e.mergeModels({isLoading:{type:Boolean,default:!1},autocomplete:{default:"off"},formatOptions:{default:null},hideControls:{type:Boolean,default:!1},iconLeft:{default:null},iconRight:{default:null},max:{default:null},min:{default:null},placeholder:{default:null},step:{default:1},variant:{default:null},testId:{default:null},isDisabled:{type:Boolean,default:!1},id:{default:null},isRequired:{type:Boolean,default:!1},isTouched:{type:Boolean,default:!1},errorMessage:{default:null},hint:{default:null},label:{default:null},classConfig:{default:null}},{modelValue:{required:!0},modelModifiers:{}}),emits:e.mergeModels(["focus","blur"],["update:modelValue"]),setup(o,{emit:t}){const n=o,r=t,a=e.useModel(o,"modelValue"),i=navigator.language,l=e.computed({get:()=>a.value??void 0,set:p=>{if(Number.isNaN(p)){a.value=null;return}a.value=p??null}}),{theme:s}=U(),d=e.computed(()=>ai({variant:n.variant??void 0})),c=e.computed(()=>X("numberField",s.value,{variant:n.variant}));function u(p){r("blur",p)}function f(p){r("focus",p)}return df({...Z(n),customClassConfig:c,style:d,onBlur:u,onFocus:f}),(p,$)=>(e.openBlock(),e.createBlock(ce,{"is-disabled":n.isDisabled},{default:e.withCtx(()=>[e.createVNode(e.unref(S.NumberFieldRoot),{modelValue:l.value,"onUpdate:modelValue":$[0]||($[0]=C=>l.value=C),class:e.normalizeClass(d.value.root({class:e.unref(x)(c.value.root,n.classConfig?.root)})),"data-icon-left":n.iconLeft!==null||void 0,"data-icon-right":n.iconRight!==null||void 0,"data-invalid":n.errorMessage!==null&&n.isTouched||void 0,"data-controls":!n.hideControls||void 0,required:n.isRequired,min:n.min??void 0,max:n.max??void 0,step:n.step,"format-options":n.formatOptions??void 0,locale:e.unref(i)},{default:e.withCtx(()=>[e.renderSlot(p.$slots,"default")]),_:3},8,["modelValue","class","data-icon-left","data-icon-right","data-invalid","data-controls","required","min","max","step","format-options","locale"])]),_:3},8,["is-disabled"]))}}),uo=e.defineComponent({__name:"NumberField",props:e.mergeModels({isLoading:{type:Boolean},autocomplete:{},formatOptions:{},hideControls:{type:Boolean},iconLeft:{},iconRight:{},max:{},min:{},placeholder:{},step:{},variant:{},testId:{},isDisabled:{type:Boolean},id:{},isRequired:{type:Boolean},isTouched:{type:Boolean},errorMessage:{},hint:{},label:{},classConfig:{}},{modelValue:{required:!0},modelModifiers:{}}),emits:e.mergeModels(["focus","blur"],["update:modelValue"]),setup(o,{emit:t}){const n=o,r=t,a=e.useModel(o,"modelValue"),i=n.id??e.useId();return(l,s)=>(e.openBlock(),e.createBlock(_e,{"error-message":n.errorMessage,hint:n.hint,"is-required":n.isRequired,"is-touched":n.isTouched,label:n.label,for:e.unref(i)},{label:e.withCtx(()=>[e.renderSlot(l.$slots,"label")]),error:e.withCtx(()=>[e.renderSlot(l.$slots,"error")]),hint:e.withCtx(()=>[e.renderSlot(l.$slots,"hint")]),default:e.withCtx(()=>[e.createVNode(ii,e.mergeProps(n,{id:e.unref(i),modelValue:a.value,"onUpdate:modelValue":s[0]||(s[0]=d=>a.value=d),onBlur:s[1]||(s[1]=d=>r("blur",d)),onFocus:s[2]||(s[2]=d=>r("focus",d))}),{default:e.withCtx(()=>[e.renderSlot(l.$slots,"left"),e.createVNode(va),e.createVNode(ei),e.createVNode(oi),e.createVNode(ni),e.createVNode(ti),e.createVNode(ri),e.renderSlot(l.$slots,"right")]),_:3},16,["id","modelValue"])]),_:3},8,["error-message","hint","is-required","is-touched","label","for"]))}}),uf={key:1},ff={key:0,class:"text-center"},pf={class:"text-sm font-semibold whitespace-nowrap text-primary"},mf={key:1,class:"flex items-center justify-center gap-xxs"},hf={key:3},li=e.defineComponent({__name:"DatePickerHeader",props:{grid:{}},setup(o){const t=o,{locale:n}=fe(),{classConfig:r,customClassConfig:a,placeholderValue:i,showTwoMonths:l,style:s}=eo(),d=e.computed({get:()=>i.value.month,set:async u=>{await e.nextTick(),i.value=new Be.Temporal.PlainDate(i.value.year,u,i.value.day)}}),c=e.computed({get:()=>i.value.year,set:u=>{i.value=new Be.Temporal.PlainDate(u,i.value.month,i.value.day)}});return(u,f)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(s).headerContainer({class:e.unref(x)(e.unref(a).headerContainer,e.unref(r)?.headerContainer)}))},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.grid,(p,$)=>(e.openBlock(),e.createBlock(e.unref(S.CalendarHeader),{key:$,class:e.normalizeClass(e.unref(s).header({class:e.unref(x)(e.unref(a).header,e.unref(r)?.header)}))},{default:e.withCtx(()=>[$===0?(e.openBlock(),e.createBlock(e.unref(S.CalendarPrev),{key:0,"as-child":!0},{default:e.withCtx(()=>[e.createVNode(ue,{"class-config":{icon:"group-enabled/button:group-hover/button:-translate-x-px group-enabled/button:group-active/button:-translate-x-0.5 duration-200"},icon:"chevronLeft",label:"Previous month",variant:"tertiary",size:"sm",class:"justify-self-start"})]),_:1})):(e.openBlock(),e.createElementBlock("span",uf)),e.createVNode(e.unref(S.CalendarHeading),null,{default:e.withCtx(()=>[e.unref(l)?(e.openBlock(),e.createElementBlock("div",ff,[e.createElementVNode("span",pf,e.toDisplayString(e.unref(at)(p.value.month-1,e.unref(n),"long"))+" "+e.toDisplayString(p.value.year),1)])):(e.openBlock(),e.createElementBlock("div",mf,[e.createVNode(mt,{modelValue:d.value,"onUpdate:modelValue":f[0]||(f[0]=C=>d.value=C),"icon-right":null,"class-config":{root:"h-8 shadow-none border-none outline-none hover:bg-primary-hover focus-within:bg-primary-hover",baseSingle:"font-semibold px-sm",content:"gap-xs grid [grid-template-columns:auto] sm:[grid-template-columns:repeat(auto-fit,minmax(6rem,1fr))]",popover:{content:"min-w-60"}},filter:{isEnabled:!0},"display-fn":C=>e.unref(at)(C-1,e.unref(n),"long"),"popover-align":"start"},{default:e.withCtx(()=>[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(12,C=>e.createVNode(Ye,{key:C,value:C},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(at)(C-1,e.unref(n),"long")),1)]),_:2},1032,["value"])),64))]),_:1},8,["modelValue","display-fn"]),e.createVNode(uo,{modelValue:c.value,"onUpdate:modelValue":f[1]||(f[1]=C=>c.value=C),"class-config":{root:"h-8 shadow-none border-none outline-none hover:bg-primary-hover focus-within:bg-primary-hover",input:"font-semibold px-sm"},"format-options":{useGrouping:!1},"hide-controls":!0,class:"w-12 shrink-0"},null,8,["modelValue"])]))]),_:2},1024),$===o.grid.length-1?(e.openBlock(),e.createBlock(e.unref(S.CalendarNext),{key:2,"as-child":!0},{default:e.withCtx(()=>[e.createVNode(ue,{"class-config":{icon:"group-enabled/button:group-hover/button:translate-x-px group-enabled/button:group-active/button:translate-x-0.5 duration-200"},icon:"chevronRight",label:"Next month",variant:"tertiary",size:"sm",class:"justify-self-end"})]),_:1})):(e.openBlock(),e.createElementBlock("span",hf))]),_:2},1032,["class"]))),128))],2))}}),si=q({slots:{date:new b().withBase("group/date relative select-none isolate").withFlex("flex items-center justify-center").withFontSize("text-sm").withCursor("cursor-pointer data-disabled:cursor-not-allowed").withSize("size-10").withOutline("outline-brand-500 data-selected:outline-offset-2").build(),grid:new b().withSize("w-70").build(),gridBody:new b().withFlex("flex flex-col gap-y-xs").build(),gridContainer:new b().withBase("flex gap-xl").build(),gridRow:new b().withBase("grid grid-cols-7 items-center").build(),header:new b().withGrid("grid grid-cols-[1fr_auto_1fr] items-center").withSize("size-full").build(),headerContainer:new b().withFlex("flex justify-between gap-xl").withMargin("mb-lg").build(),monthSeparator:new b().withSize("w-px").withBackgroundColor("bg-tertiary").build(),todayIndicator:new b().withBase("absolute bottom-1 left-1/2 -translate-x-1/2").withSize("size-1").withBorderRadius("rounded-full").build(),weekDayLabel:new b().withFontWeight("font-medium").withColor("text-secondary").withFontSize("text-sm").withSize("size-10").withFlex("flex items-center justify-center").build()},variants:{variant:{}}}),di=q({extend:si,slots:{date:new b().withColor("text-secondary data-selected:text-primary-on-brand data-outside-view:text-disabled data-disabled:text-disabled data-unavailable:text-disabled").withBackgroundColor("not-data-disabled:hover:bg-tertiary data-selected:bg-brand-solid data-selected:hover:bg-brand-solid-hover").withBorderRadius("rounded-full").build(),header:"",headerContainer:"",todayIndicator:new b().withBackgroundColor("bg-brand-solid group-data-selected/date:bg-white").build(),weekDayLabel:""},variants:{variant:{}}}),ci=e.defineComponent({__name:"DatePickerRoot",props:e.mergeModels({variant:{default:null},weekStartsOn:{default:0},focusOnMount:{type:Boolean,default:!1},label:{},testId:{default:null},isDisabled:{type:Boolean,default:!1},maxDate:{default:null},minDate:{default:null},isDateDisabled:{type:Function,default:()=>!1},isDateUnavailable:{type:Function,default:()=>!1},allowDeselect:{type:Boolean,default:!1},locale:{},showTwoMonths:{type:Boolean,default:!1},classConfig:{}},{modelValue:{required:!0},modelModifiers:{},placeholderValue:{required:!1},placeholderValueModifiers:{}}),emits:["update:modelValue","update:placeholderValue"],setup(o){const t=o,n=e.useModel(o,"modelValue"),r=e.useModel(o,"placeholderValue"),a=e.computed(()=>t.locale??navigator.language),i=e.computed({get:()=>{if(n.value!==null)return le(n.value)},set:u=>{if(u==null){n.value=null;return}n.value=pe(u)}}),l=e.computed({get:()=>le(r.value??n.value??Be.Temporal.Now.plainDateISO()),set:u=>{r.value=pe(u)}}),{theme:s}=U(),d=e.computed(()=>di({variant:t.variant??void 0})),c=e.computed(()=>X("datePicker",s.value,{variant:t.variant}));return Hu({...Z(t),customClassConfig:c,modelValue:n,placeholderValue:e.computed({get:()=>pe(l.value),set:u=>{l.value=le(u)}}),style:d}),(u,f)=>(e.openBlock(),e.createBlock(H,{"test-id":t.testId},{default:e.withCtx(()=>[e.createVNode(ce,{"is-disabled":t.isDisabled},{default:e.withCtx(()=>[e.createVNode(e.unref(S.CalendarRoot),{modelValue:i.value,"onUpdate:modelValue":f[0]||(f[0]=p=>i.value=p),placeholder:l.value,"onUpdate:placeholder":f[1]||(f[1]=p=>l.value=p),"week-starts-on":t.weekStartsOn,"prevent-deselect":!t.allowDeselect,"fixed-weeks":!0,"number-of-months":t.showTwoMonths?2:1,"is-date-unavailable":p=>t.isDateUnavailable(e.unref(pe)(p)),"is-date-disabled":p=>t.isDateDisabled(e.unref(pe)(p)),"calendar-label":t.label,"initial-focus":t.focusOnMount,locale:a.value,"min-value":t.minDate===null?void 0:e.unref(le)(t.minDate),"max-value":t.maxDate===null?void 0:e.unref(le)(t.maxDate),"weekday-format":"short"},{default:e.withCtx(({weekDays:p,grid:$})=>[e.renderSlot(u.$slots,"default",{weekDays:p,grid:$})]),_:3},8,["modelValue","placeholder","week-starts-on","prevent-deselect","number-of-months","is-date-unavailable","is-date-disabled","calendar-label","initial-focus","locale","min-value","max-value"])]),_:3},8,["is-disabled"])]),_:3},8,["test-id"]))}}),ui=e.defineComponent({__name:"DatePicker",props:e.mergeModels({variant:{},weekStartsOn:{},focusOnMount:{type:Boolean},label:{},testId:{},isDisabled:{type:Boolean},maxDate:{},minDate:{},isDateDisabled:{type:Function},isDateUnavailable:{type:Function},allowDeselect:{type:Boolean},locale:{},showTwoMonths:{type:Boolean},classConfig:{}},{modelValue:{required:!0},modelModifiers:{},placeholderValue:{required:!1},placeholderValueModifiers:{}}),emits:["update:modelValue","update:placeholderValue"],setup(o){const t=o,n=e.useModel(o,"modelValue"),r=e.useModel(o,"placeholderValue");return(a,i)=>(e.openBlock(),e.createBlock(ci,e.mergeProps(t,{modelValue:n.value,"onUpdate:modelValue":i[0]||(i[0]=l=>n.value=l),"placeholder-value":r.value,"onUpdate:placeholderValue":i[1]||(i[1]=l=>r.value=l)}),{default:e.withCtx(({grid:l,weekDays:s})=>[e.createVNode(li,{grid:l},null,8,["grid"]),e.createVNode(Qa,{"week-days":s,grid:l},{date:e.withCtx(({date:d})=>[e.renderSlot(a.$slots,"date",{date:d},()=>[e.createVNode(vt)])]),_:3},8,["week-days","grid"])]),_:3},16,["modelValue","placeholder-value"]))}}),an=4,fi=e.defineComponent({__name:"PopoverContentTransition",setup(o){const t=e.useAttrs(),n=e.computed(()=>t["data-side"]);function r(a){switch(a){case"top":return{transform:`translateY(${an}px) scale(0.9)`};case"bottom":return{transform:`translateY(-${an}px) scale(0.9)`};case"left":return{transform:`translateX(${an}px) scale(0.9)`};case"right":return{transform:`translateX(-${an}px) scale(0.9)`}}}return(a,i)=>(e.openBlock(),e.createBlock(e.unref(Y.Motion),{initial:{opacity:0,...r(n.value)},animate:{opacity:1,transform:"translate(0, 0) scale(1)"},exit:{opacity:0,...r(n.value)},transition:{duration:.2,type:"spring",bounce:0},class:"origin-(--reka-popover-content-transform-origin)"},{default:e.withCtx(()=>[e.renderSlot(a.$slots,"default")]),_:3},8,["initial","exit"]))}}),fo=e.defineComponent({__name:"Popover",props:e.mergeModels({variant:{},testId:{},isPopoverArrowHidden:{type:Boolean},popoverAlign:{},popoverAlignOffset:{},popoverAnchorReferenceElement:{},popoverCollisionPadding:{},popoverContainerElement:{},popoverSide:{},popoverSideOffset:{},popoverWidth:{},classConfig:{}},{isOpen:{type:Boolean,default:!1,required:!1},isOpenModifiers:{}}),emits:e.mergeModels(["autoFocusOnClose","escapeKeyDown","focusOutside","interactOutside"],["update:isOpen"]),setup(o,{emit:t}){const n=o,r=t,a=e.useModel(o,"isOpen");return(i,l)=>(e.openBlock(),e.createBlock(Jn,e.mergeProps(n,{"is-open":a.value,"onUpdate:isOpen":l[0]||(l[0]=s=>a.value=s),onEscapeKeyDown:l[1]||(l[1]=s=>r("escapeKeyDown",s)),onFocusOutside:l[2]||(l[2]=s=>r("focusOutside",s)),onInteractOutside:l[3]||(l[3]=s=>r("interactOutside",s)),onAutoFocusOnClose:l[4]||(l[4]=s=>r("autoFocusOnClose",s))}),{default:e.withCtx(()=>[e.renderSlot(i.$slots,"default",{},()=>[e.createVNode(Kn,null,{default:e.withCtx(()=>[e.createVNode(Qn,null,{default:e.withCtx(()=>[e.renderSlot(i.$slots,"trigger")]),_:3})]),_:3})]),e.createVNode(Zn,null,{default:e.withCtx(()=>[e.createVNode(Xn,null,{default:e.withCtx(()=>[e.createVNode(fi,null,{default:e.withCtx(()=>[e.renderSlot(i.$slots,"content"),e.createVNode(Yn)]),_:3})]),_:3})]),_:3})]),_:3},16,["is-open"]))}}),gf={class:"p-lg"},pi=e.defineComponent({__name:"DateFieldPopover",setup(o){const{maxDate:t,minDate:n,weekStartsOn:r,isDateDisabled:a,isDateUnavailable:i,isDisabled:l,allowDeselect:s,classConfig:d,customClassConfig:c,hideDatePicker:u,label:f,locale:p,modelValue:$,placeholderValue:C,showTwoMonths:y}=Qt();return(m,w)=>e.unref(u)?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(fo,{key:0,"is-popover-arrow-hidden":!0,"popover-align":"end"},{trigger:e.withCtx(()=>[e.createVNode(ue,{"is-disabled":e.unref(l),"class-config":{icon:"size-4",root:"min-w-7 h-7 rounded-[0.3rem]"},icon:"calendarIcon",label:"Open",variant:"tertiary",size:"sm",class:"mr-[0.3rem]"},null,8,["is-disabled"])]),content:e.withCtx(()=>[e.createElementVNode("div",gf,[e.createVNode(ui,{modelValue:e.unref($),"onUpdate:modelValue":w[0]||(w[0]=k=>e.isRef($)?$.value=k:null),"focus-on-mount":!0,"allow-deselect":e.unref(s),"is-date-disabled":e.unref(a),"is-date-unavailable":e.unref(i),"placeholder-value":e.unref(C),"max-date":e.unref(t),locale:e.unref(p),"week-starts-on":e.unref(r),"min-date":e.unref(n),"show-two-months":e.unref(y),label:e.unref(f)??"","class-config":{...e.unref(c).datePicker,...e.unref(d)?.datePicker}},null,8,["modelValue","allow-deselect","is-date-disabled","is-date-unavailable","placeholder-value","max-date","locale","week-starts-on","min-date","show-two-months","label","class-config"])])]),_:1}))}}),bf=["data-icon-left","data-invalid","data-disabled"],mi=e.defineComponent({__name:"DateFieldRoot",props:e.mergeModels({isLoading:{type:Boolean,default:!1},autocomplete:{default:"off"},hideDatePicker:{type:Boolean,default:!1},iconLeft:{default:null},variant:{default:null},testId:{default:null},isDisabled:{type:Boolean,default:!1},id:{default:null},isRequired:{type:Boolean,default:!1},isTouched:{type:Boolean,default:!1},errorMessage:{default:null},hint:{default:null},label:{default:null},maxDate:{default:null},minDate:{default:null},weekStartsOn:{default:0},isDateDisabled:{type:Function,default:()=>!1},isDateUnavailable:{type:Function,default:()=>!1},allowDeselect:{type:Boolean,default:!1},locale:{},showTwoMonths:{type:Boolean,default:!1},classConfig:{default:null}},{modelValue:{required:!0},modelModifiers:{},placeholderValue:{required:!1},placeholderValueModifiers:{}}),emits:e.mergeModels(["focus","blur"],["update:modelValue","update:placeholderValue"]),setup(o,{emit:t}){const n=o,r=t,a=e.useModel(o,"modelValue"),i=e.useModel(o,"placeholderValue"),l=e.computed(()=>n.locale??navigator.language);function s(){const m=a.value;if(m!==null){if(n.minDate!==null&&Be.Temporal.PlainDate.compare(m,n.minDate)<0){a.value=n.minDate;return}n.maxDate!==null&&Be.Temporal.PlainDate.compare(m,n.maxDate)>0&&(a.value=n.maxDate)}}const d=e.computed({get:()=>a.value===null?null:le(a.value),set:m=>{if(m==null){a.value=null;return}a.value=pe(m)}}),c=e.computed({get:()=>i.value??a.value??Be.Temporal.Now.plainDateISO(),set:m=>{i.value=m}}),{theme:u}=U(),f=e.ref(!1),p=e.computed(()=>ya({variant:n.variant??void 0})),$=e.computed(()=>X("dateField",u.value,{variant:n.variant}));function C(m){f.value=!0,r("focus",m)}function y(m){f.value=!1,setTimeout(()=>{f.value||(s(),r("blur",m))})}return Lu({...Z(n),customClassConfig:$,modelValue:a,placeholderValue:c,style:p,onBlur:y,onFocus:C}),(m,w)=>(e.openBlock(),e.createBlock(ce,{"is-disabled":n.isDisabled},{default:e.withCtx(()=>[e.createVNode(e.unref(S.DateFieldRoot),{id:n.id??void 0,modelValue:d.value,"onUpdate:modelValue":w[0]||(w[0]=k=>d.value=k),locale:l.value,"min-value":n.minDate===null?void 0:e.unref(le)(n.minDate),"max-value":n.maxDate===null?void 0:e.unref(le)(n.maxDate),"is-date-unavailable":k=>n.isDateUnavailable(e.unref(pe)(k)),"is-invalid":n.errorMessage!==null,required:n.isRequired},{default:e.withCtx(({segments:k})=>[e.createElementVNode("div",{"data-icon-left":n.iconLeft!==null||void 0,"data-invalid":n.errorMessage!==null&&n.isTouched||void 0,"data-disabled":n.isDisabled||void 0,class:e.normalizeClass(p.value.root({class:e.unref(x)($.value.root,n.classConfig?.root)}))},[e.renderSlot(m.$slots,"default",{segments:k})],10,bf)]),_:3},8,["id","modelValue","locale","min-value","max-value","is-date-unavailable","is-invalid","required"])]),_:3},8,["is-disabled"]))}}),$f=e.defineComponent({__name:"DateField",props:e.mergeModels({isLoading:{type:Boolean},autocomplete:{},hideDatePicker:{type:Boolean},iconLeft:{},variant:{},testId:{},isDisabled:{type:Boolean},id:{},isRequired:{type:Boolean},isTouched:{type:Boolean},errorMessage:{},hint:{},label:{},maxDate:{},minDate:{},weekStartsOn:{},isDateDisabled:{type:Function},isDateUnavailable:{type:Function},allowDeselect:{type:Boolean},locale:{},showTwoMonths:{type:Boolean},classConfig:{}},{modelValue:{required:!0},modelModifiers:{},placeholderValue:{required:!1},placeholderValueModifiers:{}}),emits:e.mergeModels(["focus","blur"],["update:modelValue","update:placeholderValue"]),setup(o,{emit:t}){const n=o,r=t,a=e.useModel(o,"modelValue"),i=e.useModel(o,"placeholderValue"),l=n.id??e.useId();return(s,d)=>(e.openBlock(),e.createBlock(_e,{"error-message":n.errorMessage,hint:n.hint,"is-required":n.isRequired,"is-touched":n.isTouched,label:n.label,for:e.unref(l)},{label:e.withCtx(()=>[e.renderSlot(s.$slots,"label")]),error:e.withCtx(()=>[e.renderSlot(s.$slots,"error")]),hint:e.withCtx(()=>[e.renderSlot(s.$slots,"hint")]),default:e.withCtx(()=>[e.createVNode(mi,e.mergeProps(n,{id:e.unref(l),modelValue:a.value,"onUpdate:modelValue":d[0]||(d[0]=c=>a.value=c),"placeholder-value":i.value,"onUpdate:placeholderValue":d[1]||(d[1]=c=>i.value=c),onBlur:d[2]||(d[2]=c=>r("blur",c)),onFocus:d[3]||(d[3]=c=>r("focus",c))}),{default:e.withCtx(({segments:c})=>[e.renderSlot(s.$slots,"left"),e.createVNode(wa),e.createVNode(Ca,{segments:c},null,8,["segments"]),e.createVNode(_a),e.createVNode(pi)]),_:3},16,["id","modelValue","placeholder-value"])]),_:3},8,["error-message","hint","is-required","is-touched","label","for"]))}}),hi=q({extend:si,slots:{innerDate:new b().withSize("size-full").withFlex("flex items-center justify-center").withBorderRadius("rounded-full").withBackgroundColor("group-data-highlighted-start/date:bg-brand-solid group-data-highlighted-end/date:bg-brand-solid group-data-selection-start/date:bg-brand-solid group-data-selection-end/date:bg-brand-solid").withBackgroundColor("not-group-data-selected/date:group-hover/date:bg-brand-primary").build(),date:new b().withBase("group/date relative select-none isolate data-outside-view:invisible").withFlex("flex items-center justify-center").withFontSize("text-sm").withColor("text-secondary not-data-highlighted:not-data-highlighted-start:not-data-selected:not-data-selection-start:not-data-selection-end:data-outside-view:text-disabled").withColor("data-disabled:text-disabled").withColor("data-unavailable:text-disabled").withBackgroundColor("data-highlighted:bg-brand-secondary data-selected:bg-brand-secondary data-highlighted-start:bg-brand-secondary data-highlighted-end:bg-brand-secondary data-selection-start:bg-brand-secondary data-selection-end:bg-brand-secondary").withBackgroundColor("dark:data-highlighted:bg-brand-950 dark:data-selected:bg-brand-950 dark:data-highlighted-start:bg-brand-950 dark:data-highlighted-end:bg-brand-950 dark:data-selection-start:bg-brand-950 dark:data-selection-end:bg-brand-950").withColor("data-highlighted:text-brand-primary data-selected:text-brand-primary data-highlighted-start:text-brand-primary data-highlighted-end:text-brand-primary data-selection-start:text-brand-primary data-selection-end:text-brand-primary").withColor("data-highlighted-start:text-primary-on-brand data-highlighted-end:text-primary-on-brand data-selection-start:text-primary-on-brand data-selection-end:text-primary-on-brand").withBorderRadius("data-first-day-of-week:rounded-l-full data-first-day-of-month:rounded-l-full data-last-day-of-week:rounded-r-full data-last-day-of-month:rounded-r-full data-selection-start:rounded-l-full data-selection-end:rounded-r-full data-highlighted-start:rounded-l-full data-highlighted-end:rounded-r-full data-highlighted-end:not-data-highlighted-start:not-data-first-day-of-week:not-data-first-day-of-month:rounded-l-none").withCursor("cursor-pointer data-disabled:cursor-not-allowed").withSize("size-10").withOutline("outline-brand-500 data-selected:outline-offset-2").build(),todayIndicator:new b().withBase("absolute bottom-1 left-1/2 -translate-x-1/2").withSize("size-1").withBorderRadius("rounded-full").withBackgroundColor("bg-brand-solid group-data-selection-start/date:bg-white group-data-selection-end/date:bg-white group-data-highlighted-start/date:bg-white group-data-highlighted-end/date:bg-white").build()},variants:{variant:{}}}),[yf,po]=j("dateRangePickerContext"),gi=e.defineComponent({__name:"DateRangePickerDate",setup(o){const{locale:t}=fe(),{classConfig:n,customClassConfig:r,style:a}=po(),{date:i,month:l}=xa(),s=e.computed(()=>{const d=new Intl.Locale(t.value);return"weekInfo"in d?d.weekInfo.firstDay:1});return(d,c)=>(e.openBlock(),e.createBlock(e.unref(S.RangeCalendarCellTrigger),{day:e.unref(i),month:e.unref(l),class:e.normalizeClass(e.unref(a).date({class:e.unref(x)(e.unref(r).date,e.unref(n)?.date)})),"data-first-day-of-week":e.unref(i).toDate(e.unref(ot)()).getDay()===s.value%7||void 0,"data-last-day-of-week":e.unref(i).toDate(e.unref(ot)()).getDay()===(s.value+6)%7||void 0,"data-first-day-of-month":e.unref(i).day===1||void 0,"data-last-day-of-month":e.unref(i).day===e.unref(lf)(e.unref(i).month,e.unref(i).year)||void 0},{default:e.withCtx(({today:u})=>[e.createElementVNode("div",{class:e.normalizeClass(e.unref(a).innerDate({class:e.unref(x)(e.unref(r).innerDate,e.unref(n)?.innerDate)}))},[e.renderSlot(d.$slots,"default",{day:e.unref(i).day},()=>[e.createTextVNode(e.toDisplayString(e.unref(i).day),1)])],2),u?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(a).todayIndicator({class:e.unref(x)(e.unref(r).todayIndicator,e.unref(n)?.todayIndicator)}))},null,2)):e.createCommentVNode("",!0)]),_:3},8,["day","month","class","data-first-day-of-week","data-last-day-of-week","data-first-day-of-month","data-last-day-of-month"]))}}),bi=e.defineComponent({__name:"DateRangePickerGrid",props:{grid:{},weekDays:{}},setup(o){const t=o,{classConfig:n,customClassConfig:r,style:a}=po(),{locale:i}=fe(),{locale:l}=S.injectRangeCalendarRootContext();return(s,d)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(a).gridContainer({class:e.unref(x)(e.unref(r).gridContainer,e.unref(n)?.gridContainer)}))},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.grid,(c,u)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:c.value.toString()},[u!==0?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(a).monthSeparator({class:e.unref(x)(e.unref(r).monthSeparator,e.unref(n)?.monthSeparator)}))},null,2)):e.createCommentVNode("",!0),e.createVNode(e.unref(S.RangeCalendarGrid),{class:e.normalizeClass(e.unref(a).grid({class:e.unref(x)(e.unref(r).grid,e.unref(n)?.grid)}))},{default:e.withCtx(()=>[e.createVNode(e.unref(S.RangeCalendarGridHead),null,{default:e.withCtx(()=>[e.createVNode(e.unref(S.RangeCalendarGridRow),{class:e.normalizeClass(e.unref(a).gridRow({class:e.unref(x)(e.unref(r).gridRow,e.unref(n)?.gridRow)}))},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.weekDays,(f,p)=>(e.openBlock(),e.createBlock(e.unref(S.RangeCalendarHeadCell),{key:f,class:e.normalizeClass(e.unref(a).weekDayLabel({class:e.unref(x)(e.unref(r).weekDayLabel,e.unref(n)?.weekDayLabel)}))},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(Za)(e.unref(l),e.unref(i))[p]),1)]),_:2},1032,["class"]))),128))]),_:1},8,["class"])]),_:1}),e.createVNode(e.unref(S.RangeCalendarGridBody),{class:e.normalizeClass(e.unref(a).gridBody({class:e.unref(x)(e.unref(r).gridBody,e.unref(n)?.gridBody)}))},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.rows,f=>(e.openBlock(),e.createBlock(e.unref(S.RangeCalendarGridRow),{key:f.toString(),class:e.normalizeClass(e.unref(a).gridRow({class:e.unref(x)(e.unref(r).gridRow,e.unref(n)?.gridRow)}))},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(f,p=>(e.openBlock(),e.createBlock(e.unref(S.RangeCalendarCell),{key:p.toString(),date:p},{default:e.withCtx(()=>[e.createVNode(Ja,{date:p,month:c.value},{default:e.withCtx(()=>[e.renderSlot(s.$slots,"date",{date:e.unref(Xa)(p)},()=>[e.createVNode(vt)])]),_:2},1032,["date","month"])]),_:2},1032,["date"]))),128))]),_:2},1032,["class"]))),128))]),_:2},1032,["class"])]),_:2},1032,["class"])],64))),128))],2))}}),wf={key:1},Cf={key:0,class:"text-center"},_f={class:"text-sm font-semibold whitespace-nowrap text-primary"},xf={key:1,class:"flex items-center justify-center gap-xxs"},kf={key:3},$i=e.defineComponent({__name:"DateRangePickerHeader",props:{grid:{}},setup(o){const t=o,{locale:n}=fe(),{classConfig:r,customClassConfig:a,placeholderValue:i,showTwoMonths:l,style:s}=po(),d=e.computed({get:()=>i.value.month-1,set:async u=>{await e.nextTick(),i.value=i.value.with({month:u+1})}}),c=e.computed({get:()=>i.value.year,set:u=>{i.value=i.value.with({year:u})}});return(u,f)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass([e.unref(s).headerContainer({class:e.unref(x)(e.unref(a).headerContainer,e.unref(r)?.headerContainer)}),"flex"])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.grid,(p,$)=>(e.openBlock(),e.createBlock(e.unref(S.RangeCalendarHeader),{key:$,class:e.normalizeClass(e.unref(s).header({class:e.unref(x)(e.unref(a).header,e.unref(r)?.header)}))},{default:e.withCtx(()=>[$===0?(e.openBlock(),e.createBlock(e.unref(S.RangeCalendarPrev),{key:0,"as-child":!0},{default:e.withCtx(()=>[e.createVNode(ue,{"class-config":{icon:"group-enabled/button:group-hover/button:-translate-x-px group-enabled/button:group-active/button:-translate-x-0.5 duration-200"},icon:"chevronLeft",label:"Previous month",variant:"tertiary",size:"sm",class:"justify-self-start"})]),_:1})):(e.openBlock(),e.createElementBlock("span",wf)),e.createVNode(e.unref(S.RangeCalendarHeading),null,{default:e.withCtx(()=>[e.unref(l)?(e.openBlock(),e.createElementBlock("div",Cf,[e.createElementVNode("span",_f,e.toDisplayString(e.unref(at)(p.value.month-1,e.unref(n),"long"))+" "+e.toDisplayString(p.value.year),1)])):(e.openBlock(),e.createElementBlock("div",xf,[e.createVNode(mt,{modelValue:d.value,"onUpdate:modelValue":f[0]||(f[0]=C=>d.value=C),"icon-right":null,"class-config":{root:"h-8 shadow-none border-none outline-none hover:bg-primary-hover focus-within:bg-primary-hover",baseSingle:"font-semibold px-sm",content:"gap-xs grid [grid-template-columns:auto] sm:[grid-template-columns:repeat(auto-fit,minmax(6rem,1fr))]",popover:{content:"min-w-60"}},filter:{isEnabled:!0},"display-fn":C=>e.unref(at)(C-1,e.unref(n),"long"),"popover-align":"start"},{default:e.withCtx(()=>[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(12,C=>e.createVNode(Ye,{key:C,value:C},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(at)(C-1,e.unref(n),"long")),1)]),_:2},1032,["value"])),64))]),_:1},8,["modelValue","display-fn"]),e.createVNode(uo,{modelValue:c.value,"onUpdate:modelValue":f[1]||(f[1]=C=>c.value=C),"class-config":{root:"h-8 shadow-none border-none outline-none hover:bg-primary-hover focus-within:bg-primary-hover",input:"font-semibold px-sm"},"format-options":{useGrouping:!1},"hide-controls":!0,class:"w-12 shrink-0"},null,8,["modelValue"])]))]),_:2},1024),$===o.grid.length-1?(e.openBlock(),e.createBlock(e.unref(S.RangeCalendarNext),{key:2,"as-child":!0},{default:e.withCtx(()=>[e.createVNode(ue,{"class-config":{icon:"group-enabled/button:group-hover/button:translate-x-px group-enabled/button:group-active/button:translate-x-0.5 duration-200"},icon:"chevronRight",label:"Next month",variant:"tertiary",size:"sm",class:"justify-self-end"})]),_:1})):(e.openBlock(),e.createElementBlock("span",kf))]),_:2},1032,["class"]))),128))],2))}}),yi=e.defineComponent({__name:"DateRangePickerRoot",props:e.mergeModels({allowNonContinuousSelection:{type:Boolean,default:!1},variant:{default:null},weekStartsOn:{default:0},focusOnMount:{type:Boolean,default:!1},label:{},testId:{default:null},isDisabled:{type:Boolean,default:!1},maxDate:{default:null},minDate:{default:null},isDateDisabled:{type:Function,default:()=>!1},isDateUnavailable:{type:Function,default:()=>!1},allowDeselect:{type:Boolean,default:!1},locale:{},showTwoMonths:{type:Boolean,default:!1},classConfig:{}},{modelValue:{required:!0},modelModifiers:{},placeholderValue:{required:!1},placeholderValueModifiers:{}}),emits:["update:modelValue","update:placeholderValue"],setup(o){const t=o,n=e.useModel(o,"modelValue"),r=e.useModel(o,"placeholderValue"),a=e.computed({get:()=>({end:n.value.until===null?void 0:le(n.value.until),start:n.value.from===null?void 0:le(n.value.from)}),set:u=>{u.start===void 0||u.end===null?n.value.from=null:n.value.from=pe(u.start),u.end===void 0||u.end===null?n.value.until=null:n.value.until=pe(u.end)}}),i=e.computed({get:()=>le(r.value??n.value.from??Be.Temporal.Now.plainDateISO()),set:u=>{r.value=pe(u)}}),{theme:l}=U(),s=e.computed(()=>t.locale??navigator.language),d=e.computed(()=>hi({variant:t.variant??void 0})),c=e.computed(()=>X("dateRangePicker",l.value,{variant:t.variant}));return yf({...Z(t),customClassConfig:c,modelValue:n,placeholderValue:e.computed({get:()=>pe(i.value),set:u=>{i.value=le(u)}}),style:d}),(u,f)=>(e.openBlock(),e.createBlock(H,{"test-id":t.testId},{default:e.withCtx(()=>[e.createVNode(ce,{"is-disabled":t.isDisabled},{default:e.withCtx(()=>[e.createVNode(e.unref(S.RangeCalendarRoot),{modelValue:a.value,"onUpdate:modelValue":f[0]||(f[0]=p=>a.value=p),placeholder:i.value,"onUpdate:placeholder":f[1]||(f[1]=p=>i.value=p),"week-starts-on":t.weekStartsOn,"prevent-deselect":!t.allowDeselect,"fixed-weeks":!0,"number-of-months":t.showTwoMonths?2:1,"allow-non-contiguous-ranges":t.allowNonContinuousSelection,"is-date-unavailable":p=>t.isDateUnavailable(e.unref(pe)(p)),"is-date-disabled":p=>t.isDateDisabled(e.unref(pe)(p)),"calendar-label":t.label,locale:s.value,"initial-focus":t.focusOnMount,"min-value":t.minDate===null?void 0:e.unref(le)(t.minDate),"max-value":t.maxDate===null?void 0:e.unref(le)(t.maxDate),"weekday-format":"short"},{default:e.withCtx(({weekDays:p,grid:$})=>[e.renderSlot(u.$slots,"default",{weekDays:p,grid:$})]),_:3},8,["modelValue","placeholder","week-starts-on","prevent-deselect","number-of-months","allow-non-contiguous-ranges","is-date-unavailable","is-date-disabled","calendar-label","locale","initial-focus","min-value","max-value"])]),_:3},8,["is-disabled"])]),_:3},8,["test-id"]))}}),wi=e.defineComponent({__name:"DateRangePicker",props:e.mergeModels({allowNonContinuousSelection:{type:Boolean},variant:{},weekStartsOn:{},focusOnMount:{type:Boolean},label:{},testId:{},isDisabled:{type:Boolean},maxDate:{},minDate:{},isDateDisabled:{type:Function},isDateUnavailable:{type:Function},allowDeselect:{type:Boolean},locale:{},showTwoMonths:{type:Boolean},classConfig:{}},{modelValue:{required:!0},modelModifiers:{},placeholderValue:{required:!1},placeholderValueModifiers:{}}),emits:["update:modelValue","update:placeholderValue"],setup(o){const t=o,n=e.useModel(o,"modelValue"),r=e.useModel(o,"placeholderValue");return(a,i)=>(e.openBlock(),e.createBlock(yi,e.mergeProps(t,{modelValue:n.value,"onUpdate:modelValue":i[0]||(i[0]=l=>n.value=l),"placeholder-value":r.value,"onUpdate:placeholderValue":i[1]||(i[1]=l=>r.value=l)}),{default:e.withCtx(({grid:l,weekDays:s})=>[e.createVNode($i,{grid:l},null,8,["grid"]),e.createVNode(bi,{"week-days":s,grid:l},{date:e.withCtx(({date:d})=>[e.renderSlot(a.$slots,"date",{date:d},()=>[e.createVNode(gi)])]),_:3},8,["week-days","grid"])]),_:3},16,["modelValue","placeholder-value"]))}}),Ci=q({slots:{iconLeft:new b().withBase("shrink-0").withSize("size-4.5").withSpacing("ml-3").withColor("text-quaternary group-data-disabled/date-field:text-fg-disabled").build(),iconRight:new b().withBase("shrink-0").withSize("size-4.5").withSpacing("mr-3").withColor("text-quaternary group-data-disabled/date-field:text-fg-disabled").build(),input:new b().withBase("outline-none").withFontSize("text-sm").withBackgroundColor("focus:bg-quaternary").withPadding("px-0.5 data-[segment=literal]:px-0").withBorderRadius("rounded-xs").withColor("text-primary data-placeholder:text-placeholder data-[segment=literal]:text-placeholder group-data-disabled/date-field:text-disabled").withCursor("disabled:cursor-not-allowed").withTransition("duration-200").build(),inputs:new b().withFlex("flex items-center").withSize("size-full").withPadding("pl-3 pr-2 group-data-icon-left/date-field:pl-2").withBackgroundColor("group-data-disabled/date-field:bg-disabled-subtle").build(),loader:new b().withBase("shrink-0").withSpacing("mr-3").withSize("size-4").withColor("text-quaternary").build(),root:new b().withBase("group/date-field overflow-hidden").withFlex("flex items-center").withHeight("h-10").withBorder("border border-solid border-primary focus-within:border-brand-500").withBorder("data-disabled:border-disabled-subtle").withBorder("data-invalid:border-error data-invalid:focus-within:border-error").withBackgroundColor("bg-primary data-disabled:bg-disabled-subtle").withBorderRadius("rounded-md").withShadow("shadow-xs").withOutline("outline outline-transparent focus-within:outline-brand-500 focus-within:data-invalid:outline-error-500").withTransition("duration-200").withCursor("data-disabled:cursor-not-allowed").build(),separator:new b().withColor("text-primary group-data-disabled/date-field:text-disabled").withSpacing("px-sm").build()},variants:{variant:{}}}),[Sf,ln]=j("dateRangeFieldContext"),_i=e.defineComponent({__name:"DateRangeFieldIconLeft",setup(o){const{classConfig:t,customClassConfig:n,iconLeft:r,style:a}=ln();return(i,l)=>e.unref(r)!==null?(e.openBlock(),e.createBlock(ee,{key:0,icon:e.unref(r),class:e.normalizeClass(e.unref(a).iconLeft({class:e.unref(x)(e.unref(n).iconLeft,e.unref(t)?.iconLeft)}))},null,8,["icon","class"])):e.createCommentVNode("",!0)}}),xi=e.defineComponent({__name:"DateRangeFieldInput",props:{segments:{}},setup(o){const t=o,{testId:n,classConfig:r,customClassConfig:a,style:i,onBlur:l,onFocus:s}=ln();return(d,c)=>(e.openBlock(),e.createBlock(H,{"test-id":e.unref(n)},{default:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass(e.unref(i).inputs({class:e.unref(x)(e.unref(a).inputs,e.unref(r)?.inputs)}))},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.segments.start,u=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:u.part},[u.part==="literal"?(e.openBlock(),e.createBlock(e.unref(S.DateRangeFieldInput),{key:0,part:u.part,class:e.normalizeClass(e.unref(i).input({class:e.unref(x)(e.unref(a).input,e.unref(r)?.input)})),type:"start"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(u.value),1)]),_:2},1032,["part","class"])):(e.openBlock(),e.createBlock(e.unref(S.DateRangeFieldInput),{key:1,part:u.part,class:e.normalizeClass(e.unref(i).input({class:e.unref(x)(e.unref(a).input,e.unref(r)?.input)})),type:"start",onFocus:e.unref(s),onBlur:e.unref(l)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(u.value),1)]),_:2},1032,["part","class","onFocus","onBlur"]))],64))),128)),e.createElementVNode("span",{class:e.normalizeClass(e.unref(i).separator({class:e.unref(x)(e.unref(a).separator,e.unref(r)?.separator)}))}," - ",2),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.segments.end,u=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:u.part},[u.part==="literal"?(e.openBlock(),e.createBlock(e.unref(S.DateRangeFieldInput),{key:0,part:u.part,class:e.normalizeClass(e.unref(i).input({class:e.unref(x)(e.unref(a).input,e.unref(r)?.input)})),type:"end"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(u.value),1)]),_:2},1032,["part","class"])):(e.openBlock(),e.createBlock(e.unref(S.DateRangeFieldInput),{key:1,part:u.part,class:e.normalizeClass(e.unref(i).input({class:e.unref(x)(e.unref(a).input,e.unref(r)?.input)})),type:"end",onFocus:e.unref(s),onBlur:e.unref(l)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(u.value),1)]),_:2},1032,["part","class","onFocus","onBlur"]))],64))),128))],2)]),_:1},8,["test-id"]))}}),Bf={class:"sr-only"},ki=e.defineComponent({__name:"DateRangeFieldLoader",setup(o){const{isLoading:t,classConfig:n,customClassConfig:r,style:a}=ln(),{t:i}=ne.useI18n();return(l,s)=>e.unref(t)?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(a).loader({class:e.unref(x)(e.unref(r).loader,e.unref(n)?.loader)}))},[e.createElementVNode("span",Bf,e.toDisplayString(e.unref(i)("shared.loading")),1),e.renderSlot(l.$slots,"default",{},()=>[e.createVNode(De,{"aria-hidden":!0})])],2)):e.createCommentVNode("",!0)}}),Nf={class:"p-lg"},Si=e.defineComponent({__name:"DateRangefieldPopover",setup(o){const{maxDate:t,minDate:n,weekStartsOn:r,isDateDisabled:a,isDateUnavailable:i,isDisabled:l,allowDeselect:s,allowNonContinuousSelection:d,classConfig:c,customClassConfig:u,hideDatePicker:f,label:p,locale:$,modelValue:C,placeholderValue:y,showTwoMonths:m}=ln();return(w,k)=>e.unref(f)?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(fo,{key:0,"is-popover-arrow-hidden":!0,"popover-align":"end"},{trigger:e.withCtx(()=>[e.createVNode(ue,{"is-disabled":e.unref(l),"class-config":{icon:"size-4",root:"min-w-7 h-7 rounded-[0.3rem]"},icon:"calendarIcon",label:"Open",variant:"tertiary",size:"sm",class:"mr-[0.3rem]"},null,8,["is-disabled"])]),content:e.withCtx(()=>[e.createElementVNode("div",Nf,[e.createVNode(wi,{modelValue:e.unref(C),"onUpdate:modelValue":k[0]||(k[0]=g=>e.isRef(C)?C.value=g:null),"focus-on-mount":!0,"allow-deselect":e.unref(s),"placeholder-value":e.unref(y),"is-date-disabled":e.unref(a),"week-starts-on":e.unref(r),locale:e.unref($),"allow-non-continuous-selection":e.unref(d),"is-date-unavailable":e.unref(i),"max-date":e.unref(t),"min-date":e.unref(n),"show-two-months":e.unref(m),label:e.unref(p)??"","class-config":{...e.unref(u).datePicker,...e.unref(c)?.datePicker}},null,8,["modelValue","allow-deselect","placeholder-value","is-date-disabled","week-starts-on","locale","allow-non-continuous-selection","is-date-unavailable","max-date","min-date","show-two-months","label","class-config"])])]),_:1}))}}),Vf=["data-icon-left","data-invalid","data-disabled"],Bi=e.defineComponent({__name:"DateRangeFieldRoot",props:e.mergeModels({isLoading:{type:Boolean,default:!1},allowNonContinuousSelection:{type:Boolean},autocomplete:{default:"off"},hideDatePicker:{type:Boolean,default:!1},iconLeft:{default:null},variant:{default:null},testId:{default:null},isDisabled:{type:Boolean,default:!1},id:{default:null},isRequired:{type:Boolean,default:!1},isTouched:{type:Boolean,default:!1},errorMessage:{default:null},hint:{default:null},label:{default:null},maxDate:{default:null},minDate:{default:null},weekStartsOn:{default:0},isDateDisabled:{type:Function,default:()=>!1},isDateUnavailable:{type:Function,default:()=>!1},allowDeselect:{type:Boolean,default:!1},locale:{},showTwoMonths:{type:Boolean,default:!1},classConfig:{default:null}},{modelValue:{required:!0},modelModifiers:{},placeholderValue:{required:!1},placeholderValueModifiers:{}}),emits:e.mergeModels(["focus","blur"],["update:modelValue","update:placeholderValue"]),setup(o,{emit:t}){const n=o,r=t,a=e.useModel(o,"modelValue"),i=e.useModel(o,"placeholderValue"),l=e.computed({get:()=>({end:a.value.until===null?void 0:le(a.value.until),start:a.value.from===null?void 0:le(a.value.from)}),set:y=>{y.start===void 0||y.end===null?a.value.from=null:a.value.from=pe(y.start),y.end===void 0||y.end===null?a.value.until=null:a.value.until=pe(y.end)}}),s=e.computed({get:()=>i.value??a.value.from??Be.Temporal.Now.plainDateISO(),set:y=>{i.value=y}}),d=e.computed(()=>n.locale??navigator.language),{theme:c}=U(),u=e.ref(!1),f=e.computed(()=>Ci({variant:n.variant??void 0})),p=e.computed(()=>X("dateRangeField",c.value,{variant:n.variant}));function $(y){u.value=!0,r("focus",y)}function C(y){u.value=!1,setTimeout(()=>{u.value||r("blur",y)})}return Sf({...Z(n),customClassConfig:p,modelValue:a,placeholderValue:s,style:f,onBlur:C,onFocus:$}),(y,m)=>(e.openBlock(),e.createBlock(ce,{"is-disabled":n.isDisabled},{default:e.withCtx(()=>[e.createVNode(e.unref(S.DateRangeFieldRoot),{id:n.id??void 0,modelValue:l.value,"onUpdate:modelValue":m[0]||(m[0]=w=>l.value=w),"min-value":n.minDate===null?void 0:e.unref(le)(n.minDate),"max-value":n.maxDate===null?void 0:e.unref(le)(n.maxDate),"is-date-unavailable":w=>n.isDateUnavailable(e.unref(pe)(w)),locale:d.value,"week-starts-on":n.weekStartsOn,"is-invalid":n.errorMessage!==null,required:n.isRequired},{default:e.withCtx(({segments:w})=>[e.createElementVNode("div",{"data-icon-left":n.iconLeft!==null||void 0,"data-invalid":n.errorMessage!==null&&n.isTouched||void 0,"data-disabled":n.isDisabled||void 0,class:e.normalizeClass(f.value.root({class:e.unref(x)(p.value.root,n.classConfig?.root)}))},[e.renderSlot(y.$slots,"default",{segments:w})],10,Vf)]),_:3},8,["id","modelValue","min-value","max-value","is-date-unavailable","locale","week-starts-on","is-invalid","required"])]),_:3},8,["is-disabled"]))}}),Pf=e.defineComponent({__name:"DateRangeField",props:e.mergeModels({isLoading:{type:Boolean},allowNonContinuousSelection:{type:Boolean},autocomplete:{},hideDatePicker:{type:Boolean},iconLeft:{},variant:{},testId:{},isDisabled:{type:Boolean},id:{},isRequired:{type:Boolean},isTouched:{type:Boolean},errorMessage:{},hint:{},label:{},maxDate:{},minDate:{},weekStartsOn:{},isDateDisabled:{type:Function},isDateUnavailable:{type:Function},allowDeselect:{type:Boolean},locale:{},showTwoMonths:{type:Boolean},classConfig:{}},{modelValue:{required:!0},modelModifiers:{},placeholderValue:{required:!1},placeholderValueModifiers:{}}),emits:e.mergeModels(["focus","blur"],["update:modelValue","update:placeholderValue"]),setup(o,{emit:t}){const n=o,r=t,a=e.useModel(o,"modelValue"),i=e.useModel(o,"placeholderValue"),l=n.id??e.useId();return(s,d)=>(e.openBlock(),e.createBlock(_e,{"error-message":n.errorMessage,hint:n.hint,"is-required":n.isRequired,"is-touched":n.isTouched,label:n.label,for:e.unref(l)},{label:e.withCtx(()=>[e.renderSlot(s.$slots,"label")]),error:e.withCtx(()=>[e.renderSlot(s.$slots,"error")]),hint:e.withCtx(()=>[e.renderSlot(s.$slots,"hint")]),default:e.withCtx(()=>[e.createVNode(Bi,e.mergeProps(n,{id:e.unref(l),modelValue:a.value,"onUpdate:modelValue":d[0]||(d[0]=c=>a.value=c),"placeholder-value":i.value,"onUpdate:placeholderValue":d[1]||(d[1]=c=>i.value=c),onBlur:d[2]||(d[2]=c=>r("blur",c)),onFocus:d[3]||(d[3]=c=>r("focus",c))}),{default:e.withCtx(({segments:c})=>[e.renderSlot(s.$slots,"left"),e.createVNode(_i),e.createVNode(xi,{segments:c},null,8,["segments"]),e.createVNode(ki),e.createVNode(Si)]),_:3},16,["id","modelValue","placeholder-value"])]),_:3},8,["error-message","hint","is-required","is-touched","label","for"]))}}),Ge=e.ref([]);function If(){return{dialogs:Ge}}function Tf(o){Ge.value=Ge.value.filter(t=>t.id!==o)}function Ef(o){const t=e.useId(),n=new Map;async function r(d){const c=n.get(t);c&&(clearTimeout(c),n.delete(t));const u=await l(d);u!==null&&(Ge.value.push(u.value),await e.nextTick(),u.value.isOpen=!0)}function a(){const d=Ge.value.find(u=>u.id===t)??null;if(d===null)return;d.isOpen=!1;const c=setTimeout(()=>{n.delete(t)},300);n.set(t,c)}const i=e.computed(()=>{const d=Ge.value.find(c=>c.id===t)??null;return d===null?!1:d.isOpen});async function l(d){const c=Ge.value.find(p=>p.id===t)??null;if(c!==null&&i.value)return console.warn(`Dialog with ID "${t}" is already open`),null;c!==null&&Tf(c.id),await e.nextTick();const u=e.computed(()=>e.h(o,{...d,onClose:a,onClose_:a}));return e.ref({id:t,isOpen:!1,component:e.markRaw(u)})}const s=e.computed(()=>{const d=Ge.value.some(c=>c.id===t&&c.isOpen);return{id:t,"aria-expanded":d,"aria-haspopup":"dialog","data-state":d}});return e.onBeforeUnmount(()=>{a()}),{isOpen:i,close:a,open:r,triggerProps:s}}const Ni=q({slots:{content:new b().withClasses("fixed top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 z-40 outline-none overflow-hidden").withZIndex("z-40").withBorderRadius("rounded-2xl").withBorder("dark:border border-solid border-tertiary").withBackgroundColor("bg-primary").withShadow("shadow-lg").build(),overlay:new b().withClasses("fixed inset-0 bg-black/30 backdrop-blur-sm").withZIndex("z-39").build()},variants:{variant:{}}}),[Mf,sn]=j("dialogContext"),Vi=e.defineComponent({inheritAttrs:!1,__name:"DialogContent",setup(o){const{testId:t,isOpen:n,classConfig:r,customClassConfig:a,hideOverlay:i,preventClickOutside:l,preventEsc:s,style:d}=sn(),c=e.useAttrs();function u(p){s.value&&p.preventDefault()}function f(p){l.value&&p.preventDefault(),p.target.attributes.getNamedItem("data-dialog-overlay")!==null||p.preventDefault()}return(p,$)=>(e.openBlock(),e.createBlock(e.unref(Y.AnimatePresence),null,{default:e.withCtx(()=>[e.unref(n)?(e.openBlock(),e.createBlock(H,{key:0,"test-id":e.unref(t)},{default:e.withCtx(()=>[e.createVNode(e.unref(S.DialogContent),e.mergeProps({"as-child":!0,"force-mount":!0,class:e.unref(d).content({class:e.unref(x)(e.unref(a).content,e.unref(r)?.content)}),"trap-focus":!e.unref(i)},e.unref(c),{onEscapeKeyDown:u,onInteractOutside:f}),{default:e.withCtx(()=>[e.renderSlot(p.$slots,"default")]),_:3},16,["class","trap-focus"])]),_:3},8,["test-id"])):e.createCommentVNode("",!0)]),_:3}))}}),Pi=e.defineComponent({__name:"DialogContentTransition",setup(o){return(t,n)=>(e.openBlock(),e.createBlock(e.unref(Y.Motion),{initial:{opacity:0,transform:"translateY(5rem)"},animate:{opacity:1,transform:"translateY(0rem)",transition:{duration:.6,bounce:0,type:"spring"}},exit:{opacity:0,transform:"translateY(5rem)",transition:{duration:.3,bounce:0,type:"spring"}}},{default:e.withCtx(()=>[e.renderSlot(t.$slots,"default")]),_:3}))}}),Ii=e.defineComponent({__name:"DialogOverlay",setup(o){const{isOpen:t,classConfig:n,customClassConfig:r,hideOverlay:a,style:i}=sn();return(l,s)=>(e.openBlock(),e.createBlock(e.unref(Y.AnimatePresence),null,{default:e.withCtx(()=>[e.unref(t)&&!e.unref(a)?(e.openBlock(),e.createBlock(e.unref(S.DialogOverlay),{key:0,"as-child":!0,"force-mount":!0,class:e.normalizeClass(e.unref(i).overlay({class:e.unref(x)(e.unref(r).overlay,e.unref(n)?.overlay)})),"data-dialog-overlay":""},{default:e.withCtx(()=>[e.renderSlot(l.$slots,"default")]),_:3},8,["class"])):e.createCommentVNode("",!0)]),_:3}))}}),Ti=e.defineComponent({__name:"DialogOverlayTransition",setup(o){return(t,n)=>(e.openBlock(),e.createBlock(e.unref(Y.Motion),{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.2}}))}}),Ei=e.defineComponent({__name:"DialogPortal",setup(o){const{teleportTargetId:t}=sn(),n=e.computed(()=>t.value===null?null:`#${t.value}`);return(r,a)=>(e.openBlock(),e.createBlock(e.unref(S.DialogPortal),{disabled:e.unref(t)===null,"force-mount":!0,to:n.value},{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},8,["disabled","to"]))}}),Mi=e.defineComponent({__name:"DialogRoot",props:e.mergeModels({teleportTargetId:{default:null},hideOverlay:{type:Boolean,default:!1},preventClickOutside:{type:Boolean,default:!1},preventEsc:{type:Boolean,default:!1},variant:{default:null},testId:{default:null},classConfig:{default:null}},{isOpen:{type:Boolean,default:!1},isOpenModifiers:{}}),emits:e.mergeModels(["close"],["update:isOpen"]),setup(o,{emit:t}){const n=o,r=t,a=e.useModel(o,"isOpen"),{theme:i}=U(),l=e.computed(()=>Ni({variant:n.variant??void 0})),s=e.computed(()=>X("dialog",i.value,{variant:n.variant}));return e.watch(a,d=>{d||r("close")}),Mf({...Z(n),isOpen:e.computed(()=>a.value),customClassConfig:s,style:l}),(d,c)=>(e.openBlock(),e.createBlock(H,{"test-id":n.testId},{default:e.withCtx(()=>[e.createVNode(e.unref(S.DialogRoot),{open:a.value,"onUpdate:open":c[0]||(c[0]=u=>a.value=u),modal:!n.hideOverlay},{default:e.withCtx(()=>[e.renderSlot(d.$slots,"default")]),_:3},8,["open","modal"])]),_:3},8,["test-id"]))}}),Df=e.defineComponent({__name:"Dialog",props:e.mergeModels({teleportTargetId:{default:null},hideOverlay:{type:Boolean,default:!1},preventClickOutside:{type:Boolean,default:!1},preventEsc:{type:Boolean,default:!1},variant:{},testId:{default:null},classConfig:{default:null}},{isOpen:{type:Boolean,default:!1},isOpenModifiers:{}}),emits:e.mergeModels(["close","close_"],["update:isOpen"]),setup(o,{emit:t}){const n=o,r=t,a=e.useModel(o,"isOpen"),i=e.useAttrs();function l(){r("close_"),r("close")}return(s,d)=>(e.openBlock(),e.createBlock(Mi,e.mergeProps(n,{"is-open":a.value,"onUpdate:isOpen":d[0]||(d[0]=c=>a.value=c),onClose:l}),{default:e.withCtx(()=>[e.createVNode(Ei,null,{default:e.withCtx(()=>[e.createVNode(Ii,null,{default:e.withCtx(()=>[e.createVNode(Ti)]),_:1}),e.createVNode(Vi,null,{default:e.withCtx(()=>[e.createVNode(Pi,e.normalizeProps(e.guardReactiveProps(e.unref(i))),{default:e.withCtx(()=>[e.renderSlot(s.$slots,"default")]),_:3},16)]),_:3})]),_:3})]),_:3},16,["is-open"]))}}),Ff=e.defineComponent({__name:"DialogContainer",setup(o){const{dialogs:t}=If();return(n,r)=>(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(t),a=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(a.component),{key:a.id,"is-open":a.isOpen},null,8,["is-open"]))),128))}}),Rf=e.defineComponent({__name:"DialogCloseButton",setup(o){const{classConfig:t,customClassConfig:n}=sn(),{t:r}=ne.useI18n();return(a,i)=>(e.openBlock(),e.createBlock(e.unref(S.DialogClose),{"as-child":!0},{default:e.withCtx(()=>[e.renderSlot(a.$slots,"default",{},()=>[e.createVNode(ue,{"class-config":{...e.unref(n)?.closeButton,...e.unref(t)?.closeButton},label:e.unref(r)("shared.close"),icon:"close",variant:"tertiary",size:"sm"},null,8,["class-config","label"])])]),_:3}))}}),Of=e.defineComponent({__name:"DialogDescription",setup(o){return(t,n)=>(e.openBlock(),e.createBlock(e.unref(S.DialogDescription),{"as-child":!0},{default:e.withCtx(()=>[e.renderSlot(t.$slots,"default")]),_:3}))}}),Af=e.defineComponent({__name:"DialogTitle",setup(o){return(t,n)=>(e.openBlock(),e.createBlock(e.unref(S.DialogTitle),{"as-child":!0},{default:e.withCtx(()=>[e.renderSlot(t.$slots,"default")]),_:3}))}}),Di=q({slots:{arrow:new b().withClasses("absolute left-1/2 rotate-45").withSize("size-4").withTranslate("-translate-x-1/2 -translate-y-3").withBorderRadius("rounded-xxs").withBackgroundColor("bg-primary").withBorder("border border-solid border-secondary").withShadow("shadow-lg").build(),content:new b().withBase("data-[content-width=anchor-width]:w-(--reka-dropdown-menu-trigger-width) data-[content-width=available-width]:w-(--reka-dropdown-menu-content-available-width)").withZIndex("z-40").withBackgroundColor("bg-primary").withBorder("border border-solid border-secondary").withBorderRadius("rounded-lg").withBase("relative").withSize("size-full min-w-52").withBorderRadius("rounded-lg").withShadow("shadow-lg").build(),group:new b().withPadding("p-xs").build(),item:new b().withBase("group/dropdown-menu-item outline-none").withSize("w-full").withGrid("grid grid-cols-[auto_1fr_auto] items-center").withCursor("cursor-pointer data-disabled:cursor-not-allowed").withBorderRadius("rounded-sm").withPadding("p-md").withBackgroundColor("not-data-disabled:data-highlighted:bg-secondary-hover not-data-disabled:data-destructive:data-highlighted:bg-error-primary").withTransition("duration-200").build(),itemIcon:new b().withSize("size-4").withColor("text-secondary group-data-disabled/dropdown-menu-item:text-disabled group-data-destructive/dropdown-menu-item:text-error-primary").withSpacing("mr-md").withTransition("duration-200").build(),itemLabel:new b().withColor("text-secondary font-medium group-data-disabled/dropdown-menu-item:text-disabled group-data-destructive/dropdown-menu-item:text-error-primary").withFontSize("text-sm").withTransition("duration-200").build(),label:new b().withColor("text-tertiary").withFontSize("text-sm").withFontWeight("font-medium").build(),separator:new b().withHeight("h-px").withBackgroundColor("bg-quaternary").build(),subMenuArrowIcon:new b().withSize("size-4").withColor("text-quaternary").build()},variants:{variant:{}}}),[zf,He]=j("dropdownMenuContext"),Fi=e.defineComponent({__name:"DropdownMenuArrow",setup(o){const{isPopoverArrowHidden:t,classConfig:n,customClassConfig:r,style:a}=He();return(i,l)=>e.unref(t)?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(e.unref(S.DropdownMenuArrow),{key:0,as:"div",class:"relative -mb-4 h-4 w-8 overflow-hidden"},{default:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass(e.unref(a).arrow({class:e.unref(x)(e.unref(r).arrow,e.unref(n)?.arrow)}))},null,2)]),_:1}))}}),Ri=e.defineComponent({__name:"DropdownMenuContent",setup(o){const{isOpen:t,classConfig:n,customClassConfig:r,popoverAlign:a,popoverAlignOffset:i,popoverAnchorReferenceElement:l,popoverCollisionPadding:s,popoverContainerElement:d,popoverSide:c,popoverSideOffset:u,popoverWidth:f,style:p,onCloseAutoFocus:$,onEscapeKeyDown:C}=He();return(y,m)=>(e.openBlock(),e.createBlock(e.unref(Y.AnimatePresence),null,{default:e.withCtx(()=>[e.unref(t)?(e.openBlock(),e.createBlock(pt,{key:0},{default:e.withCtx(()=>[e.createVNode(e.unref(S.DropdownMenuContent),{"force-mount":!0,"as-child":!0,"data-content-width":e.unref(f),align:e.unref(a),reference:e.unref(l)??void 0,"align-offset":e.unref(i),"collision-padding":e.unref(s),"collision-boundary":e.unref(d),side:e.unref(c),"side-offset":e.unref(u),class:e.normalizeClass(e.unref(p).content({class:e.unref(x)(e.unref(r).content,e.unref(n)?.content)})),"position-strategy":"absolute",sticky:"always",onCloseAutoFocus:e.unref($),onEscapeKeyDown:e.unref(C)},{default:e.withCtx(()=>[e.renderSlot(y.$slots,"default")]),_:3},8,["data-content-width","align","reference","align-offset","collision-padding","collision-boundary","side","side-offset","class","onCloseAutoFocus","onEscapeKeyDown"])]),_:3})):e.createCommentVNode("",!0)]),_:3}))}}),dn=4,cn=.9,Oi=e.defineComponent({__name:"DropdownMenuContentTransition",setup(o){const t=e.useAttrs(),n=e.computed(()=>t["data-side"]),r=e.ref(null);function a(i){switch(i){case"top":return{transform:`translateY(${dn}px) scale(${cn})`};case"bottom":return{transform:`translateY(-${dn}px) scale(${cn})`};case"left":return{transform:`translateX(${dn}px) scale(${cn})`};case"right":return{transform:`translateX(-${dn}px) scale(${cn})`}}}return(i,l)=>(e.openBlock(),e.createBlock(e.unref(Y.Motion),{ref_key:"motionRef",ref:r,initial:{opacity:0,...a(n.value)},animate:{opacity:1,transform:"translate(0, 0) scale(1)"},exit:{opacity:0,...a(n.value)},transition:{duration:.2,type:"spring",bounce:0},class:"origin-(--reka-dropdown-menu-content-transform-origin)"},{default:e.withCtx(()=>[e.renderSlot(i.$slots,"default")]),_:3},8,["initial","exit"]))}}),mo=e.defineComponent({__name:"DropdownMenuPortal",setup(o){const t=fe();return(n,r)=>(e.openBlock(),e.createBlock(e.unref(S.DropdownMenuPortal),{to:e.unref(t).teleportTargetSelector},{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default")]),_:3},8,["to"]))}}),Ai=e.defineComponent({__name:"DropdownMenuRoot",props:e.mergeModels({variant:{default:null},testId:{default:null},isDisabled:{type:Boolean,default:!1},isPopoverArrowHidden:{type:Boolean,default:!1},popoverAlign:{default:"center"},popoverAlignOffset:{default:0},popoverAnchorReferenceElement:{default:null},popoverCollisionPadding:{default:10},popoverContainerElement:{default:null},popoverSide:{default:"bottom"},popoverSideOffset:{default:10},popoverWidth:{default:null},classConfig:{default:null}},{isOpen:{type:Boolean,default:!1,required:!1},isOpenModifiers:{}}),emits:e.mergeModels(["closeAutoFocus","escapeKeyDown"],["update:isOpen"]),setup(o,{emit:t}){const n=o,r=t,a=e.useModel(o,"isOpen"),{theme:i}=U(),l=e.computed(()=>Di({variant:n.variant??void 0})),s=e.computed(()=>X("dropdownMenu",i.value,{variant:n.variant}));function d(u){r("closeAutoFocus",u)}function c(u){r("escapeKeyDown",u)}return zf({...Z(n),isOpen:e.computed(()=>a.value),customClassConfig:s,style:l,onCloseAutoFocus:d,onEscapeKeyDown:c}),(u,f)=>(e.openBlock(),e.createBlock(H,{"test-id":o.testId},{default:e.withCtx(()=>[e.createVNode(ce,{"is-disabled":o.isDisabled},{default:e.withCtx(()=>[e.createVNode(e.unref(S.DropdownMenuRoot),{open:a.value,"onUpdate:open":f[0]||(f[0]=p=>a.value=p)},{default:e.withCtx(()=>[e.renderSlot(u.$slots,"default")]),_:3},8,["open"])]),_:3},8,["is-disabled"])]),_:3},8,["test-id"]))}}),zi=e.defineComponent({__name:"DropdownMenuTrigger",setup(o){return(t,n)=>(e.openBlock(),e.createBlock(e.unref(S.DropdownMenuTrigger),{"as-child":!0},{default:e.withCtx(()=>[e.renderSlot(t.$slots,"default")]),_:3}))}}),Lf=e.defineComponent({__name:"DropdownMenu",props:e.mergeModels({variant:{},testId:{},isDisabled:{type:Boolean},isPopoverArrowHidden:{type:Boolean},popoverAlign:{},popoverAlignOffset:{},popoverAnchorReferenceElement:{},popoverCollisionPadding:{},popoverContainerElement:{},popoverSide:{},popoverSideOffset:{},popoverWidth:{},classConfig:{}},{isOpen:{type:Boolean,default:!1,required:!1},isOpenModifiers:{}}),emits:e.mergeModels(["closeAutoFocus","escapeKeyDown"],["update:isOpen"]),setup(o,{emit:t}){const n=o,r=t,a=e.useModel(o,"isOpen");return(i,l)=>(e.openBlock(),e.createBlock(Ai,e.mergeProps(n,{"is-open":a.value,"onUpdate:isOpen":l[0]||(l[0]=s=>a.value=s),onCloseAutoFocus:l[1]||(l[1]=s=>r("closeAutoFocus",s)),onEscapeKeyDown:l[2]||(l[2]=s=>r("escapeKeyDown",s))}),{default:e.withCtx(()=>[e.createVNode(zi,null,{default:e.withCtx(()=>[e.renderSlot(i.$slots,"trigger")]),_:3}),e.createVNode(mo,null,{default:e.withCtx(()=>[e.createVNode(Ri,null,{default:e.withCtx(()=>[e.createVNode(Oi,null,{default:e.withCtx(()=>[e.renderSlot(i.$slots,"content"),e.createVNode(Fi)]),_:3})]),_:3})]),_:3})]),_:3},16,["is-open"]))}}),jf=e.defineComponent({__name:"DropdownMenuGroup",setup(o){const{classConfig:t,customClassConfig:n,style:r}=He(),a=e.useAttrs();return(i,l)=>(e.openBlock(),e.createBlock(e.unref(S.DropdownMenuGroup),{class:e.normalizeClass(e.unref(r).group({class:e.unref(x)(e.unref(n).group,e.unref(t)?.group,e.unref(a).class)}))},{default:e.withCtx(()=>[e.renderSlot(i.$slots,"default")]),_:3},8,["class"]))}}),[Li,ji]=j("dropdownMenuItemContext"),Gf={key:1},ho=e.defineComponent({__name:"DropdownMenuItemIcon",setup(o){const{classConfig:t,customClassConfig:n,style:r}=He(),{icon:a}=ji(),i=e.useAttrs();return(l,s)=>e.unref(a)!==null?(e.openBlock(),e.createBlock(ee,{key:0,class:e.normalizeClass(e.unref(r).itemIcon({class:e.unref(x)(e.unref(n).itemIcon,e.unref(t)?.itemIcon,e.unref(i).class)})),icon:e.unref(a)},null,8,["class","icon"])):(e.openBlock(),e.createElementBlock("span",Gf))}}),go=e.defineComponent({__name:"DropdownMenuItemLabel",setup(o){const{classConfig:t,customClassConfig:n,style:r}=He(),{label:a}=ji(),i=e.useAttrs();return(l,s)=>(e.openBlock(),e.createElementBlock("span",{class:e.normalizeClass(e.unref(r).itemLabel({class:e.unref(x)(e.unref(n).itemLabel,e.unref(t)?.itemLabel,e.unref(i).class)}))},e.toDisplayString(e.unref(a)),3))}}),Hf=e.defineComponent({__name:"DropdownMenuItem",props:{isDestructive:{type:Boolean,default:!1},icon:{default:null},label:{},testId:{default:null},isDisabled:{type:Boolean,default:!1}},emits:["select"],setup(o,{emit:t}){const n=o,r=t,a=e.useAttrs(),{classConfig:i,customClassConfig:l,style:s}=He();return Li(Z(n)),(d,c)=>(e.openBlock(),e.createBlock(H,{"test-id":n.testId},{default:e.withCtx(()=>[e.createVNode(ce,{"is-disabled":n.isDisabled},{default:e.withCtx(()=>[e.createVNode(e.unref(S.DropdownMenuItem),{"data-destructive":n.isDestructive||void 0,class:e.normalizeClass(e.unref(s).item({class:e.unref(x)(e.unref(l).item,e.unref(i)?.item,e.unref(a).class)})),onSelect:c[0]||(c[0]=u=>r("select",u))},{default:e.withCtx(()=>[e.renderSlot(d.$slots,"default",{},()=>[e.createVNode(ho),e.createVNode(go),e.renderSlot(d.$slots,"right")])]),_:3},8,["data-destructive","class"])]),_:3},8,["is-disabled"])]),_:3},8,["test-id"]))}}),qf=e.defineComponent({__name:"DropdownMenuSeparator",setup(o){const{classConfig:t,customClassConfig:n,style:r}=He();return(a,i)=>(e.openBlock(),e.createBlock(e.unref(S.DropdownMenuSeparator),{class:e.normalizeClass(e.unref(r).separator({class:e.unref(x)(e.unref(n).separator,e.unref(t)?.separator)}))},null,8,["class"]))}}),un=4,Gi=e.defineComponent({__name:"DropdownMenuSubMenuTransition",setup(o){const t=e.useAttrs(),n=e.computed(()=>t["data-side"]);function r(a){switch(a){case"top":return{x:0,y:un};case"bottom":return{x:0,y:-un};case"left":return{x:un,y:0};case"right":return{x:-un,y:0}}}return(a,i)=>(e.openBlock(),e.createBlock(e.unref(Y.Motion),{initial:{opacity:0,...r(n.value)},animate:{opacity:1,x:0,y:0},exit:{opacity:0,...r(n.value)},transition:{duration:.1,type:"spring",bounce:0},class:"data-[side=bottom]:origin-top data-[side=left]:origin-right data-[side=right]:origin-left data-[side=top]:origin-bottom"},{default:e.withCtx(()=>[e.renderSlot(a.$slots,"default")]),_:3},8,["initial","exit"]))}}),Uf=e.defineComponent({__name:"DropdownMenuSubMenu",props:{isDestructive:{type:Boolean,default:!1},icon:{default:null},label:{},testId:{default:null},isDisabled:{type:Boolean,default:!1}},setup(o){const t=o,{classConfig:n,customClassConfig:r,style:a}=He();return Li(Z(t)),(i,l)=>(e.openBlock(),e.createBlock(e.unref(S.DropdownMenuSub),null,{default:e.withCtx(()=>[e.createVNode(e.unref(S.DropdownMenuSubTrigger),{class:e.normalizeClass(e.unref(a).item({class:e.unref(x)(e.unref(r).item,e.unref(n)?.item)}))},{default:e.withCtx(()=>[e.renderSlot(i.$slots,"item",{},()=>[e.createVNode(ho),e.createVNode(go),e.createVNode(ee,{class:e.normalizeClass(e.unref(a).subMenuArrowIcon({class:e.unref(x)(e.unref(r).itemIcon,e.unref(n)?.itemIcon)})),icon:"chevronRight"},null,8,["class"])])]),_:3},8,["class"]),e.createVNode(mo,null,{default:e.withCtx(()=>[e.createVNode(e.unref(Y.AnimatePresence),null,{default:e.withCtx(()=>[e.createVNode(pt,null,{default:e.withCtx(()=>[e.createVNode(e.unref(S.DropdownMenuSubContent),{"side-offset":6,"align-offset":-5,class:e.normalizeClass(e.unref(a).content({class:e.unref(x)(e.unref(r).content,e.unref(n)?.content)})),"as-child":!0},{default:e.withCtx(()=>[e.createVNode(Gi,null,{default:e.withCtx(()=>[e.renderSlot(i.$slots,"default")]),_:3})]),_:3},8,["class"])]),_:3})]),_:3})]),_:3})]),_:3}))}});var gt=(o=>(o.INVALID_MIME_TYPE="INVALID_MIME_TYPE",o.PREPROCESSING_FAILED="PREPROCESSING_FAILED",o.UPLOAD_FAILED="UPLOAD_FAILED",o))(gt||{}),Pe=(o=>(o.ERROR="ERROR",o.PENDING="PENDING",o.SUCCESS="SUCCESS",o.UPLOADING="UPLOADING",o))(Pe||{});const[Wf,fn]=j("fileUploadContext"),Kf=e.defineComponent({__name:"FileUploadDropzone",setup(o){const t=e.ref(!1),{isMultiple:n,onFilesSelected:r}=fn(),a=e.ref(null),i=e.computed(()=>a.value?.$el??null),{isOverDropZone:l}=Sd(i,{multiple:n.value,onDrop:c=>{c!==null&&c.length>0&&r(c)}});let s=0;function d(c,u){switch(c.preventDefault(),c.dataTransfer&&(c.dataTransfer.dropEffect="copy"),u){case"enter":s+=1,t.value=!0;break;case"leave":s-=1,s===0&&(t.value=!1);break;case"drop":s=0,t.value=!1;break}}return Ne(document.body,"dragenter",c=>d(c,"enter")),Ne(document.body,"dragover",c=>d(c,"over")),Ne(document.body,"dragleave",c=>d(c,"leave")),Ne(document.body,"drop",c=>d(c,"drop")),(c,u)=>(e.openBlock(),e.createBlock(e.unref(S.Primitive),{ref_key:"dropzoneRef",ref:a,"as-child":!0},{default:e.withCtx(()=>[e.renderSlot(c.$slots,"default",{isHoveringOverDropzone:e.unref(l),isHoveringOverPage:t.value})]),_:3},512))}});var Yf=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","#","$","%","*","+",",","-",".",":",";","=","?","@","[","]","^","_","{","|","}","~"],bt=(o,t)=>{var n="";for(let r=1;r<=t;r++){let a=Math.floor(o)/Math.pow(83,t-r)%83;n+=Yf[Math.floor(a)]}return n},bo=o=>{let t=o/255;return t<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)},$o=o=>{let t=Math.max(0,Math.min(1,o));return t<=.0031308?Math.trunc(t*12.92*255+.5):Math.trunc((1.055*Math.pow(t,.4166666666666667)-.055)*255+.5)},Xf=o=>o<0?-1:1,yo=(o,t)=>Xf(o)*Math.pow(Math.abs(o),t),Hi=class extends Error{constructor(o){super(o),this.name="ValidationError",this.message=o}},qi=4,Zf=(o,t,n,r)=>{let a=0,i=0,l=0,s=t*qi;for(let c=0;c<t;c++){let u=qi*c;for(let f=0;f<n;f++){let p=u+f*s,$=r(c,f);a+=$*bo(o[p]),i+=$*bo(o[p+1]),l+=$*bo(o[p+2])}}let d=1/(t*n);return[a*d,i*d,l*d]},Jf=o=>{let t=$o(o[0]),n=$o(o[1]),r=$o(o[2]);return(t<<16)+(n<<8)+r},Qf=(o,t)=>{let n=Math.floor(Math.max(0,Math.min(18,Math.floor(yo(o[0]/t,.5)*9+9.5)))),r=Math.floor(Math.max(0,Math.min(18,Math.floor(yo(o[1]/t,.5)*9+9.5)))),a=Math.floor(Math.max(0,Math.min(18,Math.floor(yo(o[2]/t,.5)*9+9.5))));return n*19*19+r*19+a},vf=(o,t,n,r,a)=>{if(r<1||r>9||a<1||a>9)throw new Hi("BlurHash must have between 1 and 9 components");if(t*n*4!==o.length)throw new Hi("Width and height must match the pixels array");let i=[];for(let f=0;f<a;f++)for(let p=0;p<r;p++){let $=p==0&&f==0?1:2,C=Zf(o,t,n,(y,m)=>$*Math.cos(Math.PI*p*y/t)*Math.cos(Math.PI*f*m/n));i.push(C)}let l=i[0],s=i.slice(1),d="",c=r-1+(a-1)*9;d+=bt(c,1);let u;if(s.length>0){let f=Math.max(...s.map($=>Math.max(...$))),p=Math.floor(Math.max(0,Math.min(82,Math.floor(f*166-.5))));u=(p+1)/166,d+=bt(p,1)}else u=1,d+=bt(0,1);return d+=bt(Jf(l),4),s.forEach(f=>{d+=bt(Qf(f,u),2)}),d},e0=vf;class t0{static async encode(t){if(!t.type.startsWith("image/"))return null;const r=await this.loadImage(URL.createObjectURL(t)),a=this.getClampedSize(r.width,r.height,32),i=this.getImageData(r,a.width,a.height);try{return e0(i.data,i.width,i.height,4,4)}catch{return null}}static getClampedSize(t,n,r){return t>=n&&t>r?{height:Math.round(n/t*r),width:r}:n>t&&n>r?{height:r,width:Math.round(t/n*r)}:{height:n,width:t}}static getImageData(t,n,r){const a=document.createElement("canvas");a.width=n,a.height=r;const i=a.getContext("2d");return i.drawImage(t,0,0,n,r),i.getImageData(0,0,n,r)}static loadImage(t){return new Promise((n,r)=>{const a=new Image;a.addEventListener("load",()=>n(a)),a.addEventListener("error",(...i)=>r(i)),a.src=t})}}const[n0,Ui]=j("fileUploadItemContext"),o0=e.defineComponent({__name:"FileUploadItem",props:{item:{}},setup(o){const t=o,{isPublic:n,confirmUpload:r,getFileInfo:a,preprocess:i,onError:l,onRemoveFileUploadItem:s,onReplaceFileUploadItem:d,onStartUpload:c,onSuccess:u,onUpdateProgress:f}=fn();async function p(){const{name:m,mimeType:w}=t.item;try{return await a(m,w)}catch{l(t.item,gt.UPLOAD_FAILED)}return null}function $(m,w,k){c(t.item,m);const g=new XMLHttpRequest,B=new Blob([k]);g.upload.addEventListener("progress",N=>{if(N.lengthComputable){const F=Math.round(N.loaded/N.total*100);f(t.item,F)}}),g.onload=()=>{g.status>=200&&g.status<300?u(t.item):l(t.item,gt.UPLOAD_FAILED)},g.onerror=()=>{l(t.item,gt.UPLOAD_FAILED)},g.open("PUT",w,!0),g.setRequestHeader("Content-Type",k.type),n.value?g.setRequestHeader("x-amz-acl","public-read"):g.setRequestHeader("x-amz-acl","private"),g.setRequestHeader("x-ms-blob-type","BlockBlob"),g.send(B)}async function C(){const m=await p();if(m===null)return;const{uuid:w,uploadUrl:k}=m,{file:g}=t.item;let B=g;if(i!==null)try{B=await i(g)}catch{l(t.item,gt.PREPROCESSING_FAILED);return}$(w,k,B),r(w,await t0.encode(B))}function y(){}return t.item.status===Pe.PENDING&&C(),n0({item:e.computed(()=>t.item),onCancel:y,onRemove:()=>s(t.item),onReplace:m=>d(t.item,m)}),(m,w)=>e.renderSlot(m.$slots,"default",{onRemove:()=>e.unref(s)(t.item),onReplace:k=>e.unref(d)(t.item,k)})}}),r0=e.defineComponent({__name:"FileUploadItemRemove",setup(o){const{onRemove:t}=Ui();return(n,r)=>(e.openBlock(),e.createBlock(e.unref(S.Primitive),{"as-child":!0,onClick:e.unref(t)},{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default")]),_:3},8,["onClick"]))}}),a0=e.defineComponent({__name:"FileUploadItemReplace",setup(o){const{isDisabled:t,isMultiple:n,accept:r}=fn(),{onReplace:a}=Ui(),i=or();i.onChange(s=>{if(s===null)return;const[d]=Array.from(s);d!==void 0&&a(d)});function l(){i.open({accept:r.value.join(", "),multiple:n.value})}return(s,d)=>(e.openBlock(),e.createBlock(ce,{"is-disabled":e.unref(t)},{default:e.withCtx(()=>[e.createVNode(e.unref(S.Primitive),{"as-child":!0,onClick:l},{default:e.withCtx(()=>[e.renderSlot(s.$slots,"default")]),_:3})]),_:3},8,["is-disabled"]))}});function pn(o,t,n=Pe.PENDING){return{uuid:"",isSyncedWithModelValue:!1,name:o.name,file:o,key:`${Math.random()}`,mimeType:o.type,order:t,status:n,url:URL.createObjectURL(o)}}function Wi(o,t){return{...o,isSyncedWithModelValue:!0,status:t}}const i0=e.defineComponent({__name:"FileUploadRoot",props:e.mergeModels({isPublic:{type:Boolean,default:!1},isValidFile:{type:[Function,null],default:null},accept:{},confirmUpload:{},getFileInfo:{},preprocess:{type:[Function,null],default:null},isDisabled:{type:Boolean,default:!1}},{modelValue:{required:!0},modelModifiers:{}}),emits:e.mergeModels(["filesRejected"],["update:modelValue"]),setup(o,{emit:t}){const n=o,r=t,a=e.useModel(o,"modelValue"),i=e.computed(()=>Array.isArray(a.value)),l=e.computed({get:()=>Array.isArray(a.value)?a.value.map(k=>Wi(k,Pe.SUCCESS)):a.value===null?[]:[Wi(a.value,Pe.SUCCESS)],set:k=>{if(i.value)a.value=k.map(g=>({uuid:g.uuid,name:g.name,blurHash:g.blurHash,mimeType:g.mimeType,order:g.order,url:g.url}));else{const g=k[0]??null;if(g===null){a.value=null;return}a.value={uuid:g.uuid,name:g.name,blurHash:g.blurHash,mimeType:g.mimeType,order:g.order,url:g.url}}}}),s=e.ref([]),d=e.computed(()=>[...l.value.filter(k=>s.value.some(B=>B.uuid===k.uuid)?!k.isSyncedWithModelValue:!0),...s.value].toSorted((k,g)=>k.order-g.order).slice(i.value?void 0:-1));function c(k,g){return g.some(B=>{if(B==="*/*")return!0;if(B.endsWith("/*")){const[N]=B.split("/");return k.type.startsWith(`${N}/`)}return k.type===B})}function u(k){let g=k;g=g.filter(N=>c(N,n.accept)),g=n.isValidFile===null?g:k.filter(N=>n.isValidFile(N)),g=g.slice(0,i.value?void 0:1);const B=k.filter(N=>!g.includes(N));if(B.length>0&&r("filesRejected",B),i.value)s.value.push(...g.map((N,F)=>pn(N,F+l.value.length)));else{const[N]=g;if(N===void 0)return;s.value=[pn(N,0)]}}function f(k,g){s.value=s.value.map(B=>B.key===k?{...B,...g}:B)}function p(k,g){f(k.key,{uuid:g,progress:0,status:Pe.UPLOADING})}function $(k,g){f(k.key,{progress:g,status:Pe.UPLOADING})}function C(k){const g={...k,isSyncedWithModelValue:!0,blurHash:null,status:Pe.SUCCESS};f(k.key,g),i.value?l.value=[...l.value.filter(B=>B.uuid!==k.uuid),g]:l.value=[g]}function y(k,g){f(k.key,{errorMessage:g,status:Pe.ERROR})}function m(k){s.value=s.value.filter(g=>g.key!==k.key),l.value=l.value.filter(g=>g.uuid!==k.uuid)}function w(k,g){l.value=l.value.filter(N=>N.uuid!==k.uuid),s.value.some(N=>N.key===k.key)?f(k.key,pn(g,k.order)):s.value=[...s.value,pn(g,k.order)]}return Wf({...Z(n),isMultiple:i,preprocess:n.preprocess,onError:y,onFilesSelected:u,onRemoveFileUploadItem:m,onReplaceFileUploadItem:w,onStartUpload:p,onSuccess:C,onUpdateProgress:$}),(k,g)=>e.renderSlot(k.$slots,"default",{items:d.value})}}),l0=e.defineComponent({__name:"FileUploadTrigger",setup(o){const{isDisabled:t,isMultiple:n,accept:r,onFilesSelected:a}=fn(),i=or();i.onChange(s=>{s!==null&&a(Array.from(s))});function l(){i.open({accept:r.value.join(", "),multiple:n.value})}return(s,d)=>(e.openBlock(),e.createBlock(ce,{"is-disabled":e.unref(t)},{default:e.withCtx(()=>[e.createVNode(e.unref(S.Primitive),{"as-child":!0,onClick:l},{default:e.withCtx(()=>[e.renderSlot(s.$slots,"default")]),_:3})]),_:3},8,["is-disabled"]))}}),Ki=q({slots:{key:new b().withBase("text-center font-sans capitalize").withBackgroundColor("dark:bg-secondary").withFontSize("text-[0.6875rem]").withColor("text-tertiary").withSize("h-5 min-w-5").withPadding("px-xs").withFlex("flex items-center justify-center").withBorderRadius("rounded-xs").withShadow("shadow-keyboard-key").build()},variants:{variant:{}}}),Yi=e.defineComponent({__name:"KeyboardKey",props:{keyboardKey:{},variant:{default:null},classConfig:{default:null}},setup(o){const t=o,{theme:n}=U(),r=e.computed(()=>/windows/i.test(navigator.userAgent)),a=new Map([["alt","⌥"],["arrowdown","↓"],["arrowleft","←"],["arrowright","→"],["arrowup","↑"],["backspace","⌫"],["ctrl","⌃"],["enter","↵"],["escape","ESC"],["meta","⌘"],["shift","⇧"]]),i=new Map([["alt","Alt"],["arrowdown","↓"],["arrowleft","←"],["arrowright","→"],["arrowup","↑"],["backspace","Backspace"],["ctrl","Ctrl"],["enter","Enter"],["escape","Esc"],["meta","Win"],["shift","Shift"]]),l=e.computed(()=>Ki({variant:t.variant??void 0})),s=e.computed(()=>X("keyboardKey",n.value,{variant:t.variant})),d=e.computed(()=>(r.value?i:a).get(t.keyboardKey)??t.keyboardKey);return(c,u)=>(e.openBlock(),e.createElementBlock("kbd",{class:e.normalizeClass(l.value.key({class:e.unref(x)(s.value.key,t.classConfig?.key)}))},e.toDisplayString(d.value),3))}}),Xi=q({slots:{root:new b().withFlex("flex items-center gap-x-1").build(),thenLabel:new b().withBase("font-regular").withFontSize("text-xs").withColor("text-tertiary").build()},variants:{variant:{}}});function s0(){return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}const d0=e.defineComponent({__name:"KeyboardShortcut",props:{keyboardKeys:{},variant:{},classConfig:{default:null}},setup(o){const t=o,{areKeyboardShortcutHintsHidden:n}=fe(),{theme:r}=U(),{t:a}=ne.useI18n();function i(c){return c==="ctrl"||c==="shift"||c==="alt"||c==="meta"}const l=e.computed(()=>!t.keyboardKeys.some(c=>i(c))),s=e.computed(()=>Xi()),d=e.computed(()=>X("keyboardShortcut",r.value,{variant:t.variant}));return(c,u)=>!e.unref(n)&&!e.unref(s0)()?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(s.value.root({class:e.unref(x)(d.value.root,t.classConfig?.root)}))},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.keyboardKeys,(f,p)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:p},[e.createVNode(Yi,{"keyboard-key":f,"class-config":e.unref(Ve)(d.value.keyboardKey,t.classConfig?.keyboardKey)},null,8,["keyboard-key","class-config"]),p<t.keyboardKeys.length-1&&l.value?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(s.value.thenLabel({class:e.unref(x)(d.value.thenLabel,t.classConfig?.thenLabel)}))},e.toDisplayString(e.unref(a)("component.keyboard_shortcut.then")),3)):e.createCommentVNode("",!0)],64))),128))],2)):e.createCommentVNode("",!0)}}),c0=1e3,u0=new Map([["Control","ctrl"]]);function Zi(o){const t=e.getCurrentInstance(),n=[],{isDisabled:r,element:a=typeof window<"u"?document:null,keys:i,onTrigger:l}=o,s=i.some(d)?"combination":"sequence";function d(C){return C==="ctrl"||C==="shift"||C==="alt"||C==="meta"||C==="escape"}function c(C){const y=[];C.shiftKey&&C.key!=="Shift"&&y.push("shift"),C.ctrlKey&&C.key!=="Control"&&y.push("ctrl"),C.altKey&&C.key!=="Alt"&&y.push("alt"),C.metaKey&&C.key!=="Meta"&&y.push("meta");const m=u0.get(C.key)??C.key.toLowerCase();return y.push(m),y}function u(){return typeof document>"u"?!1:document.activeElement instanceof HTMLInputElement||document.activeElement instanceof HTMLTextAreaElement||document.activeElement?.attributes.getNamedItem("contenteditable")?.value!==void 0}function f(C){if(s==="combination")return C.every(y=>i.includes(y))&&C.length===i.length;if(s==="sequence"){const y=[...n,...C];if(C.some(w=>d(w)))return!1;const m=y.slice(-i.length);return m.every((w,k)=>w===i[k])&&m.length===i.length}return!1}function p(C){if(r?.value===!0||s==="sequence"&&u())return;const y=C,m=c(y);f(m)&&l(y),n.push(...m),setTimeout(()=>{n.splice(0,m.length)},c0)}function $(){a!==null&&a.removeEventListener("keydown",p)}return e.onMounted(()=>{a!==null&&a.addEventListener("keydown",p)}),t!==null&&e.onBeforeUnmount(()=>{$()}),{unbind:$}}const f0=e.defineComponent({__name:"KeyboardShortcutProvider",props:{isDisabled:{type:Boolean,default:!1},keyboardKeys:{},preventDefault:{type:Boolean,default:!1},stopPropagation:{type:Boolean,default:!1}},setup(o){const t=o,n=e.ref(null);function r(l){if(["A","BUTTON","INPUT","TEXTAREA","SELECT","DETAILS"].includes(l.tagName)){const c=l;return!c.hasAttribute("disabled")&&c.tabIndex>=0&&!c.hidden}const d=l;return d.tabIndex>=0&&!d.hidden}function a(l){const d=Array.from(l.querySelectorAll('a, button, input, textarea, select, details, [tabindex]:not([tabindex="-1"]), [contenteditable]'));for(const c of d)if(r(c))return c;return null}function i(l){let s=l.parentElement;for(;s;){if(s.hasAttribute("aria-hidden"))return s.getAttribute("aria-hidden")==="true";s=s.parentElement}return!1}return Zi({isDisabled:e.computed(()=>t.isDisabled),keys:t.keyboardKeys,onTrigger:l=>{if(n.value===null)return;const s=a(n.value);if(s===null||((t.preventDefault??!1)&&l.preventDefault(),(t.stopPropagation??!1)&&l.stopPropagation(),i(s)))return;s.tagName==="INPUT"||s.tagName==="TEXTAREA"?s.focus():s.click()}}),(l,s)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"wrapperRef",ref:n},[e.renderSlot(l.$slots,"default",{keys:t.keyboardKeys})],512))}}),[p0,m0]=j("layoutStackContext"),h0=e.defineComponent({__name:"LayoutStackItem",props:{maxDepth:{default:2}},setup(o){const t=o,n=e.ref(null),{height:r,width:a}=nr(n),{addToStack:i,getDepth:l,removeFromStack:s}=m0(),d=e.useId(),c=e.ref(!1);i(d);const u=e.computed(()=>l(d)),f=e.computed(()=>a.value===0||r.value===0?1:1-u.value*.05*(a.value/r.value)),p=e.computed(()=>a.value===0||r.value===0?0:-u.value*50);return e.onMounted(()=>{setTimeout(()=>{c.value=!0},0)}),e.onBeforeUnmount(()=>{s(d)}),($,C)=>(e.openBlock(),e.createBlock(e.unref(Y.Motion),{ref_key:"layoutStackItemRef",ref:n,initial:{y:"20%",opacity:0},exit:{opacity:0,y:"20%"},animate:{y:p.value,scale:f.value,filter:`brightness(${1-u.value*.1}) blur(${u.value}px)`,opacity:u.value>t.maxDepth?0:1},transition:{duration:.6,type:"spring",bounce:.2}},{default:e.withCtx(()=>[e.renderSlot($.$slots,"default")]),_:3},8,["animate"]))}}),g0=e.defineComponent({__name:"LayoutStackRoot",setup(o){const t=e.ref([]);function n(i){return t.value.push(i),t.value.length-1}function r(i){t.value=t.value.filter(l=>l!==i)}function a(i){return t.value.toReversed().indexOf(i)}return p0({addToStack:n,getDepth:a,removeFromStack:r,stack:e.computed(()=>t.value)}),(i,l)=>e.renderSlot(i.$slots,"default")}}),Ji=e.defineComponent({__name:"TextFieldIconRight",setup(o){const{isLoading:t,classConfig:n,customClassConfig:r,iconRight:a,style:i}=Kt();return(l,s)=>e.unref(a)!==null&&!e.unref(t)?(e.openBlock(),e.createBlock(ee,{key:0,icon:e.unref(a),class:e.normalizeClass(e.unref(i).iconRight({class:e.unref(x)(e.unref(r).iconRight,e.unref(n)?.iconRight)}))},null,8,["icon","class"])):e.createCommentVNode("",!0)}}),b0={class:"sr-only"},Qi=e.defineComponent({__name:"TextFieldLoader",setup(o){const{isLoading:t,classConfig:n,customClassConfig:r,style:a}=Kt(),{t:i}=ne.useI18n();return(l,s)=>e.unref(t)?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(a).loader({class:e.unref(x)(e.unref(r).loader,e.unref(n)?.loader)}))},[e.createElementVNode("span",b0,e.toDisplayString(e.unref(i)("shared.loading")),1),e.renderSlot(l.$slots,"default",{},()=>[e.createVNode(De,{"aria-hidden":!0})])],2)):e.createCommentVNode("",!0)}}),wo=e.defineComponent({__name:"TextField",props:e.mergeModels({isLoading:{type:Boolean},isSpellCheckEnabled:{type:Boolean},autocomplete:{},iconLeft:{},iconRight:{},placeholder:{},type:{},variant:{},testId:{},isDisabled:{type:Boolean},id:{},isRequired:{type:Boolean},isTouched:{type:Boolean},errorMessage:{},hint:{},label:{},classConfig:{}},{modelValue:{required:!0},modelModifiers:{}}),emits:e.mergeModels(["focus","blur"],["update:modelValue"]),setup(o,{emit:t}){const n=o,r=t,a=e.useModel(o,"modelValue"),i=n.id??e.useId();return(l,s)=>(e.openBlock(),e.createBlock(_e,{"error-message":n.errorMessage,hint:n.hint,"is-required":n.isRequired,"is-touched":n.isTouched,label:n.label,for:e.unref(i)},{label:e.withCtx(()=>[e.renderSlot(l.$slots,"label")]),error:e.withCtx(()=>[e.renderSlot(l.$slots,"error")]),hint:e.withCtx(()=>[e.renderSlot(l.$slots,"hint")]),default:e.withCtx(()=>[e.createVNode(Wn,e.mergeProps(n,{id:e.unref(i),modelValue:a.value,"onUpdate:modelValue":s[0]||(s[0]=d=>a.value=d),onBlur:s[1]||(s[1]=d=>r("blur",d)),onFocus:s[2]||(s[2]=d=>r("focus",d))}),{default:e.withCtx(()=>[e.renderSlot(l.$slots,"left"),e.createVNode(qn),e.createVNode(Un),e.createVNode(Qi),e.createVNode(Ji),e.renderSlot(l.$slots,"right")]),_:3},16,["id","modelValue"])]),_:3},8,["error-message","hint","is-required","is-touched","label","for"]))}}),$0=e.defineComponent({__name:"PasswordField",props:e.mergeModels({isLoading:{type:Boolean},isSpellCheckEnabled:{type:Boolean},autocomplete:{},iconLeft:{},iconRight:{},placeholder:{},variant:{},testId:{},isDisabled:{type:Boolean},id:{},isRequired:{type:Boolean},isTouched:{type:Boolean},errorMessage:{},hint:{},label:{},classConfig:{}},{modelValue:{required:!0},modelModifiers:{}}),emits:["update:modelValue"],setup(o){const t=o,n=e.useModel(o,"modelValue"),{t:r}=ne.useI18n(),a=e.ref(!1),i=e.computed(()=>a.value?"text":"password"),l=e.computed(()=>a.value?"eyeOff":"eye"),s=e.computed(()=>a.value?r("component.password_field.hide_password"):r("component.password_field.show_password"));function d(){a.value=!a.value}return(c,u)=>(e.openBlock(),e.createBlock(wo,e.mergeProps(t,{modelValue:n.value,"onUpdate:modelValue":u[0]||(u[0]=f=>n.value=f),type:i.value}),{left:e.withCtx(()=>[e.renderSlot(c.$slots,"left")]),label:e.withCtx(()=>[e.renderSlot(c.$slots,"label")]),error:e.withCtx(()=>[e.renderSlot(c.$slots,"error")]),hint:e.withCtx(()=>[e.renderSlot(c.$slots,"hint")]),right:e.withCtx(()=>[e.createVNode(ue,{icon:l.value,label:s.value,"is-disabled":t.isDisabled,"class-config":{icon:"size-4",root:"min-w-7 h-7 rounded-[0.3rem]"},variant:"tertiary",size:"sm",class:"mr-[0.3rem]",onClick:d},null,8,["icon","label","is-disabled"])]),_:3},16,["modelValue","type"]))}}),vi={version:4,country_calling_codes:{1:["US","AG","AI","AS","BB","BM","BS","CA","DM","DO","GD","GU","JM","KN","KY","LC","MP","MS","PR","SX","TC","TT","VC","VG","VI"],7:["RU","KZ"],20:["EG"],27:["ZA"],30:["GR"],31:["NL"],32:["BE"],33:["FR"],34:["ES"],36:["HU"],39:["IT","VA"],40:["RO"],41:["CH"],43:["AT"],44:["GB","GG","IM","JE"],45:["DK"],46:["SE"],47:["NO","SJ"],48:["PL"],49:["DE"],51:["PE"],52:["MX"],53:["CU"],54:["AR"],55:["BR"],56:["CL"],57:["CO"],58:["VE"],60:["MY"],61:["AU","CC","CX"],62:["ID"],63:["PH"],64:["NZ"],65:["SG"],66:["TH"],81:["JP"],82:["KR"],84:["VN"],86:["CN"],90:["TR"],91:["IN"],92:["PK"],93:["AF"],94:["LK"],95:["MM"],98:["IR"],211:["SS"],212:["MA","EH"],213:["DZ"],216:["TN"],218:["LY"],220:["GM"],221:["SN"],222:["MR"],223:["ML"],224:["GN"],225:["CI"],226:["BF"],227:["NE"],228:["TG"],229:["BJ"],230:["MU"],231:["LR"],232:["SL"],233:["GH"],234:["NG"],235:["TD"],236:["CF"],237:["CM"],238:["CV"],239:["ST"],240:["GQ"],241:["GA"],242:["CG"],243:["CD"],244:["AO"],245:["GW"],246:["IO"],247:["AC"],248:["SC"],249:["SD"],250:["RW"],251:["ET"],252:["SO"],253:["DJ"],254:["KE"],255:["TZ"],256:["UG"],257:["BI"],258:["MZ"],260:["ZM"],261:["MG"],262:["RE","YT"],263:["ZW"],264:["NA"],265:["MW"],266:["LS"],267:["BW"],268:["SZ"],269:["KM"],290:["SH","TA"],291:["ER"],297:["AW"],298:["FO"],299:["GL"],350:["GI"],351:["PT"],352:["LU"],353:["IE"],354:["IS"],355:["AL"],356:["MT"],357:["CY"],358:["FI","AX"],359:["BG"],370:["LT"],371:["LV"],372:["EE"],373:["MD"],374:["AM"],375:["BY"],376:["AD"],377:["MC"],378:["SM"],380:["UA"],381:["RS"],382:["ME"],383:["XK"],385:["HR"],386:["SI"],387:["BA"],389:["MK"],420:["CZ"],421:["SK"],423:["LI"],500:["FK"],501:["BZ"],502:["GT"],503:["SV"],504:["HN"],505:["NI"],506:["CR"],507:["PA"],508:["PM"],509:["HT"],590:["GP","BL","MF"],591:["BO"],592:["GY"],593:["EC"],594:["GF"],595:["PY"],596:["MQ"],597:["SR"],598:["UY"],599:["CW","BQ"],670:["TL"],672:["NF"],673:["BN"],674:["NR"],675:["PG"],676:["TO"],677:["SB"],678:["VU"],679:["FJ"],680:["PW"],681:["WF"],682:["CK"],683:["NU"],685:["WS"],686:["KI"],687:["NC"],688:["TV"],689:["PF"],690:["TK"],691:["FM"],692:["MH"],850:["KP"],852:["HK"],853:["MO"],855:["KH"],856:["LA"],880:["BD"],886:["TW"],960:["MV"],961:["LB"],962:["JO"],963:["SY"],964:["IQ"],965:["KW"],966:["SA"],967:["YE"],968:["OM"],970:["PS"],971:["AE"],972:["IL"],973:["BH"],974:["QA"],975:["BT"],976:["MN"],977:["NP"],992:["TJ"],993:["TM"],994:["AZ"],995:["GE"],996:["KG"],998:["UZ"]},countries:{AC:["247","00","(?:[01589]\\d|[46])\\d{4}",[5,6]],AD:["376","00","(?:1|6\\d)\\d{7}|[135-9]\\d{5}",[6,8,9],[["(\\d{3})(\\d{3})","$1 $2",["[135-9]"]],["(\\d{4})(\\d{4})","$1 $2",["1"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]]]],AE:["971","00","(?:[4-7]\\d|9[0-689])\\d{7}|800\\d{2,9}|[2-4679]\\d{7}",[5,6,7,8,9,10,11,12],[["(\\d{3})(\\d{2,9})","$1 $2",["60|8"]],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[236]|[479][2-8]"],"0$1"],["(\\d{3})(\\d)(\\d{5})","$1 $2 $3",["[479]"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["5"],"0$1"]],"0"],AF:["93","00","[2-7]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"]],"0"],AG:["1","011","(?:268|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([457]\\d{6})$|1","268$1",0,"268"],AI:["1","011","(?:264|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2457]\\d{6})$|1","264$1",0,"264"],AL:["355","00","(?:700\\d\\d|900)\\d{3}|8\\d{5,7}|(?:[2-5]|6\\d)\\d{7}",[6,7,8,9],[["(\\d{3})(\\d{3,4})","$1 $2",["80|9"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["4[2-6]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2358][2-5]|4"],"0$1"],["(\\d{3})(\\d{5})","$1 $2",["[23578]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["6"],"0$1"]],"0"],AM:["374","00","(?:[1-489]\\d|55|60|77)\\d{6}",[8],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[89]0"],"0 $1"],["(\\d{3})(\\d{5})","$1 $2",["2|3[12]"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["1|47"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["[3-9]"],"0$1"]],"0"],AO:["244","00","[29]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[29]"]]]],AR:["54","00","(?:11|[89]\\d\\d)\\d{8}|[2368]\\d{9}",[10,11],[["(\\d{4})(\\d{2})(\\d{4})","$1 $2-$3",["2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9])","2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8]))|2(?:2[24-9]|3[1-59]|47)","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5[56][46]|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|58|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|54(?:4|5[13-7]|6[89])|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:454|85[56])[46]|3(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1",1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["1"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[68]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2-$3",["[23]"],"0$1",1],["(\\d)(\\d{4})(\\d{2})(\\d{4})","$2 15-$3-$4",["9(?:2[2-469]|3[3-578])","9(?:2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9]))","9(?:2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8])))|92(?:2[24-9]|3[1-59]|47)","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5(?:[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|5(?:4(?:4|5[13-7]|6[89])|[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1",0,"$1 $2 $3-$4"],["(\\d)(\\d{2})(\\d{4})(\\d{4})","$2 15-$3-$4",["91"],"0$1",0,"$1 $2 $3-$4"],["(\\d{3})(\\d{3})(\\d{5})","$1-$2-$3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{4})","$2 15-$3-$4",["9"],"0$1",0,"$1 $2 $3-$4"]],"0",0,"0?(?:(11|2(?:2(?:02?|[13]|2[13-79]|4[1-6]|5[2457]|6[124-8]|7[1-4]|8[13-6]|9[1267])|3(?:02?|1[467]|2[03-6]|3[13-8]|[49][2-6]|5[2-8]|[67])|4(?:7[3-578]|9)|6(?:[0136]|2[24-6]|4[6-8]?|5[15-8])|80|9(?:0[1-3]|[19]|2\\d|3[1-6]|4[02568]?|5[2-4]|6[2-46]|72?|8[23]?))|3(?:3(?:2[79]|6|8[2578])|4(?:0[0-24-9]|[12]|3[5-8]?|4[24-7]|5[4-68]?|6[02-9]|7[126]|8[2379]?|9[1-36-8])|5(?:1|2[1245]|3[237]?|4[1-46-9]|6[2-4]|7[1-6]|8[2-5]?)|6[24]|7(?:[069]|1[1568]|2[15]|3[145]|4[13]|5[14-8]|7[2-57]|8[126])|8(?:[01]|2[15-7]|3[2578]?|4[13-6]|5[4-8]?|6[1-357-9]|7[36-8]?|8[5-8]?|9[124])))15)?","9$1"],AS:["1","011","(?:[58]\\d\\d|684|900)\\d{7}",[10],0,"1",0,"([267]\\d{6})$|1","684$1",0,"684"],AT:["43","00","1\\d{3,12}|2\\d{6,12}|43(?:(?:0\\d|5[02-9])\\d{3,9}|2\\d{4,5}|[3467]\\d{4}|8\\d{4,6}|9\\d{4,7})|5\\d{4,12}|8\\d{7,12}|9\\d{8,12}|(?:[367]\\d|4[0-24-9])\\d{4,11}",[4,5,6,7,8,9,10,11,12,13],[["(\\d)(\\d{3,12})","$1 $2",["1(?:11|[2-9])"],"0$1"],["(\\d{3})(\\d{2})","$1 $2",["517"],"0$1"],["(\\d{2})(\\d{3,5})","$1 $2",["5[079]"],"0$1"],["(\\d{3})(\\d{3,10})","$1 $2",["(?:31|4)6|51|6(?:48|5[0-3579]|[6-9])|7(?:20|32|8)|[89]","(?:31|4)6|51|6(?:485|5[0-3579]|[6-9])|7(?:20|32|8)|[89]"],"0$1"],["(\\d{4})(\\d{3,9})","$1 $2",["[2-467]|5[2-6]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["5"],"0$1"],["(\\d{2})(\\d{4})(\\d{4,7})","$1 $2 $3",["5"],"0$1"]],"0"],AU:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{7}(?:\\d(?:\\d{2})?)?|8[0-24-9]\\d{7})|[2-478]\\d{8}|1\\d{4,7}",[5,6,7,8,9,10,12],[["(\\d{2})(\\d{3,4})","$1 $2",["16"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,4})","$1 $2 $3",["16"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["14|4"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[2378]"],"(0$1)"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:30|[89])"]]],"0",0,"(183[12])|0",0,0,0,[["(?:(?:241|349)0\\d\\d|8(?:51(?:0(?:0[03-9]|[12479]\\d|3[2-9]|5[0-8]|6[1-9]|8[0-7])|1(?:[0235689]\\d|1[0-69]|4[0-589]|7[0-47-9])|2(?:0[0-79]|[18][13579]|2[14-9]|3[0-46-9]|[4-6]\\d|7[89]|9[0-4])|[34]\\d\\d)|91(?:(?:[0-58]\\d|6[0135-9])\\d|7(?:0[0-24-9]|[1-9]\\d)|9(?:[0-46-9]\\d|5[0-79]))))\\d{3}|(?:2(?:[0-26-9]\\d|3[0-8]|4[02-9]|5[0135-9])|3(?:[0-3589]\\d|4[0-578]|6[1-9]|7[0-35-9])|7(?:[013-57-9]\\d|2[0-8])|8(?:55|6[0-8]|[78]\\d|9[02-9]))\\d{6}",[9]],["4(?:79[01]|83[0-36-9]|95[0-3])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-47-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,["163\\d{2,6}",[5,6,7,8,9]],["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],AW:["297","00","(?:[25-79]\\d\\d|800)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[25-9]"]]]],AX:["358","00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))","2\\d{4,9}|35\\d{4,5}|(?:60\\d\\d|800)\\d{4,6}|7\\d{5,11}|(?:[14]\\d|3[0-46-9]|50)\\d{4,8}",[5,6,7,8,9,10,11,12],0,"0",0,0,0,0,"18",0,"00"],AZ:["994","00","365\\d{6}|(?:[124579]\\d|60|88)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["90"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[28]|2|365|46","1[28]|2|365[45]|46","1[28]|2|365(?:4|5[02])|46"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[13-9]"],"0$1"]],"0"],BA:["387","00","6\\d{8}|(?:[35689]\\d|49|70)\\d{6}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["6[1-3]|[7-9]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2-$3",["[3-5]|6[56]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["6"],"0$1"]],"0"],BB:["1","011","(?:246|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","246$1",0,"246"],BD:["880","00","[1-469]\\d{9}|8[0-79]\\d{7,8}|[2-79]\\d{8}|[2-9]\\d{7}|[3-9]\\d{6}|[57-9]\\d{5}",[6,7,8,9,10],[["(\\d{2})(\\d{4,6})","$1-$2",["31[5-8]|[459]1"],"0$1"],["(\\d{3})(\\d{3,7})","$1-$2",["3(?:[67]|8[013-9])|4(?:6[168]|7|[89][18])|5(?:6[128]|9)|6(?:[15]|28|4[14])|7[2-589]|8(?:0[014-9]|[12])|9[358]|(?:3[2-5]|4[235]|5[2-578]|6[0389]|76|8[3-7]|9[24])1|(?:44|66)[01346-9]"],"0$1"],["(\\d{4})(\\d{3,6})","$1-$2",["[13-9]|2[23]"],"0$1"],["(\\d)(\\d{7,8})","$1-$2",["2"],"0$1"]],"0"],BE:["32","00","4\\d{8}|[1-9]\\d{7}",[8,9],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["(?:80|9)0"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[239]|4[23]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[15-8]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["4"],"0$1"]],"0"],BF:["226","00","(?:[025-7]\\d|44)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[024-7]"]]]],BG:["359","00","00800\\d{7}|[2-7]\\d{6,7}|[89]\\d{6,8}|2\\d{5}",[6,7,8,9,12],[["(\\d)(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["2"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["43[1-6]|70[1-9]"],"0$1"],["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["[356]|4[124-7]|7[1-9]|8[1-6]|9[1-7]"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["(?:70|8)0"],"0$1"],["(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3",["43[1-7]|7"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[48]|9[08]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1"]],"0"],BH:["973","00","[136-9]\\d{7}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[13679]|8[02-4679]"]]]],BI:["257","00","(?:[267]\\d|31)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2367]"]]]],BJ:["229","00","(?:01\\d|8)\\d{7}",[8,10],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["0"]]]],BL:["590","00","(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}",[9],0,"0",0,0,0,0,0,[["590(?:2[7-9]|3[3-7]|5[12]|87)\\d{4}"],["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}"],["80[0-5]\\d{6}"],0,0,0,0,0,["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]],BM:["1","011","(?:441|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","441$1",0,"441"],BN:["673","00","[2-578]\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-578]"]]]],BO:["591","00(?:1\\d)?","8001\\d{5}|(?:[2-467]\\d|50)\\d{6}",[8,9],[["(\\d)(\\d{7})","$1 $2",["[235]|4[46]"]],["(\\d{8})","$1",["[67]"]],["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["8"]]],"0",0,"0(1\\d)?"],BQ:["599","00","(?:[34]1|7\\d)\\d{5}",[7],0,0,0,0,0,0,"[347]"],BR:["55","00(?:1[245]|2[1-35]|31|4[13]|[56]5|99)","[1-467]\\d{9,10}|55[0-46-9]\\d{8}|[34]\\d{7}|55\\d{7,8}|(?:5[0-46-9]|[89]\\d)\\d{7,9}",[8,9,10,11],[["(\\d{4})(\\d{4})","$1-$2",["300|4(?:0[02]|37|86)","300|4(?:0(?:0|20)|370|864)"]],["(\\d{3})(\\d{2,3})(\\d{4})","$1 $2 $3",["(?:[358]|90)0"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-57]"],"($1)"],["(\\d{2})(\\d{5})(\\d{4})","$1 $2-$3",["[16][1-9]|[2-57-9]"],"($1)"]],"0",0,"(?:0|90)(?:(1[245]|2[1-35]|31|4[13]|[56]5|99)(\\d{10,11}))?","$2"],BS:["1","011","(?:242|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([3-8]\\d{6})$|1","242$1",0,"242"],BT:["975","00","[178]\\d{7}|[2-8]\\d{6}",[7,8],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[2-6]|7[246]|8[2-4]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[67]|[78]"]]]],BW:["267","00","(?:0800|(?:[37]|800)\\d)\\d{6}|(?:[2-6]\\d|90)\\d{5}",[7,8,10],[["(\\d{2})(\\d{5})","$1 $2",["90"]],["(\\d{3})(\\d{4})","$1 $2",["[24-6]|3[15-9]"]],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[37]"]],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["0"]],["(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3",["8"]]]],BY:["375","810","(?:[12]\\d|33|44|902)\\d{7}|8(?:0[0-79]\\d{5,7}|[1-7]\\d{9})|8(?:1[0-489]|[5-79]\\d)\\d{7}|8[1-79]\\d{6,7}|8[0-79]\\d{5}|8\\d{5}",[6,7,8,9,10,11],[["(\\d{3})(\\d{3})","$1 $2",["800"],"8 $1"],["(\\d{3})(\\d{2})(\\d{2,4})","$1 $2 $3",["800"],"8 $1"],["(\\d{4})(\\d{2})(\\d{3})","$1 $2-$3",["1(?:5[169]|6[3-5]|7[179])|2(?:1[35]|2[34]|3[3-5])","1(?:5[169]|6(?:3[1-3]|4|5[125])|7(?:1[3-9]|7[0-24-6]|9[2-7]))|2(?:1[35]|2[34]|3[3-5])"],"8 0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2-$3-$4",["1(?:[56]|7[467])|2[1-3]"],"8 0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[1-4]"],"8 0$1"],["(\\d{3})(\\d{3,4})(\\d{4})","$1 $2 $3",["[89]"],"8 $1"]],"8",0,"0|80?",0,0,0,0,"8~10"],BZ:["501","00","(?:0800\\d|[2-8])\\d{6}",[7,11],[["(\\d{3})(\\d{4})","$1-$2",["[2-8]"]],["(\\d)(\\d{3})(\\d{4})(\\d{3})","$1-$2-$3-$4",["0"]]]],CA:["1","011","[2-9]\\d{9}|3\\d{6}",[7,10],0,"1",0,0,0,0,0,[["(?:2(?:04|[23]6|[48]9|5[07]|63)|3(?:06|43|54|6[578]|82)|4(?:03|1[68]|[26]8|3[178]|50|74)|5(?:06|1[49]|48|79|8[147])|6(?:04|[18]3|39|47|72)|7(?:0[59]|42|53|78|8[02])|8(?:[06]7|19|25|7[39])|9(?:0[25]|42))[2-9]\\d{6}",[10]],["",[10]],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",[10]],["900[2-9]\\d{6}",[10]],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|(?:5(?:2[125-9]|3[23]|44|66|77|88)|6(?:22|33))[2-9]\\d{6}",[10]],0,["310\\d{4}",[7]],0,["600[2-9]\\d{6}",[10]]]],CC:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}",[6,7,8,9,10,12],0,"0",0,"([59]\\d{7})$|0","8$1",0,0,[["8(?:51(?:0(?:02|31|60|89)|1(?:18|76)|223)|91(?:0(?:1[0-2]|29)|1(?:[28]2|50|79)|2(?:10|64)|3(?:[06]8|22)|4[29]8|62\\d|70[23]|959))\\d{3}",[9]],["4(?:79[01]|83[0-36-9]|95[0-3])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-47-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,0,["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],CD:["243","00","(?:(?:[189]|5\\d)\\d|2)\\d{7}|[1-68]\\d{6}",[7,8,9,10],[["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["88"],"0$1"],["(\\d{2})(\\d{5})","$1 $2",["[1-6]"],"0$1"],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]"],"0$1"],["(\\d{2})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["5"],"0$1"]],"0"],CF:["236","00","(?:[27]\\d{3}|8776)\\d{4}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[278]"]]]],CG:["242","00","222\\d{6}|(?:0\\d|80)\\d{7}",[9],[["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["8"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[02]"]]]],CH:["41","00","8\\d{11}|[2-9]\\d{8}",[9,12],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8[047]|90"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-79]|81"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["8"],"0$1"]],"0"],CI:["225","00","[02]\\d{9}",[10],[["(\\d{2})(\\d{2})(\\d)(\\d{5})","$1 $2 $3 $4",["2"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3 $4",["0"]]]],CK:["682","00","[2-578]\\d{4}",[5],[["(\\d{2})(\\d{3})","$1 $2",["[2-578]"]]]],CL:["56","(?:0|1(?:1[0-69]|2[02-5]|5[13-58]|69|7[0167]|8[018]))0","12300\\d{6}|6\\d{9,10}|[2-9]\\d{8}",[9,10,11],[["(\\d{5})(\\d{4})","$1 $2",["219","2196"],"($1)"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["60|809"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["44"]],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2[1-36]"],"($1)"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["9(?:10|[2-9])"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["3[2-5]|[47]|5[1-3578]|6[13-57]|8(?:0[1-8]|[1-9])"],"($1)"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["60|8"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]],["(\\d{3})(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3 $4",["60"]]]],CM:["237","00","[26]\\d{8}|88\\d{6,7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["88"]],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[26]|88"]]]],CN:["86","00|1(?:[12]\\d|79)\\d\\d00","(?:(?:1[03-689]|2\\d)\\d\\d|6)\\d{8}|1\\d{10}|[126]\\d{6}(?:\\d(?:\\d{2})?)?|86\\d{5,6}|(?:[3-579]\\d|8[0-57-9])\\d{5,9}",[7,8,9,10,11,12],[["(\\d{2})(\\d{5,6})","$1 $2",["(?:10|2[0-57-9])[19]|3(?:[157]|35|49|9[1-68])|4(?:1[124-9]|2[179]|6[47-9]|7|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:07|1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3|4[13]|5[1-5]|7[0-79]|9[0-35-9])|(?:4[35]|59|85)[1-9]","(?:10|2[0-57-9])(?:1[02]|9[56])|8078|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))1","10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|80781|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))12","10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|807812|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123","10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:078|1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123"],"0$1"],["(\\d{3})(\\d{5,6})","$1 $2",["3(?:[157]|35|49|9[1-68])|4(?:[17]|2[179]|6[47-9]|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]|4[13]|5[1-5])|(?:4[35]|59|85)[1-9]","(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))[19]","85[23](?:10|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:10|9[56])","85[23](?:100|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:100|9[56])"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["(?:4|80)0"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["10|2(?:[02-57-9]|1[1-9])","10|2(?:[02-57-9]|1[1-9])","10[0-79]|2(?:[02-57-9]|1[1-79])|(?:10|21)8(?:0[1-9]|[1-9])"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["3(?:[3-59]|7[02-68])|4(?:[26-8]|3[3-9]|5[2-9])|5(?:3[03-9]|[468]|7[028]|9[2-46-9])|6|7(?:[0-247]|3[04-9]|5[0-4689]|6[2368])|8(?:[1-358]|9[1-7])|9(?:[013479]|5[1-5])|(?:[34]1|55|79|87)[02-9]"],"0$1",1],["(\\d{3})(\\d{7,8})","$1 $2",["9"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["80"],"0$1",1],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[3-578]"],"0$1",1],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["1[3-9]"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3 $4",["[12]"],"0$1",1]],"0",0,"(1(?:[12]\\d|79)\\d\\d)|0",0,0,0,0,"00"],CO:["57","00(?:4(?:[14]4|56)|[579])","(?:46|60\\d\\d)\\d{6}|(?:1\\d|[39])\\d{9}",[8,10,11],[["(\\d{4})(\\d{4})","$1 $2",["46"]],["(\\d{3})(\\d{7})","$1 $2",["6|90"],"($1)"],["(\\d{3})(\\d{7})","$1 $2",["3[0-357]|9[14]"]],["(\\d)(\\d{3})(\\d{7})","$1-$2-$3",["1"],"0$1",0,"$1 $2 $3"]],"0",0,"0([3579]|4(?:[14]4|56))?"],CR:["506","00","(?:8\\d|90)\\d{8}|(?:[24-8]\\d{3}|3005)\\d{4}",[8,10],[["(\\d{4})(\\d{4})","$1 $2",["[2-7]|8[3-9]"]],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[89]"]]],0,0,"(19(?:0[0-2468]|1[09]|20|66|77|99))"],CU:["53","119","(?:[2-7]|8\\d\\d)\\d{7}|[2-47]\\d{6}|[34]\\d{5}",[6,7,8,10],[["(\\d{2})(\\d{4,6})","$1 $2",["2[1-4]|[34]"],"(0$1)"],["(\\d)(\\d{6,7})","$1 $2",["7"],"(0$1)"],["(\\d)(\\d{7})","$1 $2",["[56]"],"0$1"],["(\\d{3})(\\d{7})","$1 $2",["8"],"0$1"]],"0"],CV:["238","0","(?:[2-59]\\d\\d|800)\\d{4}",[7],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[2-589]"]]]],CW:["599","00","(?:[34]1|60|(?:7|9\\d)\\d)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["[3467]"]],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["9[4-8]"]]],0,0,0,0,0,"[69]"],CX:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}",[6,7,8,9,10,12],0,"0",0,"([59]\\d{7})$|0","8$1",0,0,[["8(?:51(?:0(?:01|30|59|88)|1(?:17|46|75)|2(?:22|35))|91(?:00[6-9]|1(?:[28]1|49|78)|2(?:09|63)|3(?:12|26|75)|4(?:56|97)|64\\d|7(?:0[01]|1[0-2])|958))\\d{3}",[9]],["4(?:79[01]|83[0-36-9]|95[0-3])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-47-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,0,["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],CY:["357","00","(?:[279]\\d|[58]0)\\d{6}",[8],[["(\\d{2})(\\d{6})","$1 $2",["[257-9]"]]]],CZ:["420","00","(?:[2-578]\\d|60)\\d{7}|9\\d{8,11}",[9,10,11,12],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[2-8]|9[015-7]"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3 $4",["96"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]]]],DE:["49","00","[2579]\\d{5,14}|49(?:[34]0|69|8\\d)\\d\\d?|49(?:37|49|60|7[089]|9\\d)\\d{1,3}|49(?:2[024-9]|3[2-689]|7[1-7])\\d{1,8}|(?:1|[368]\\d|4[0-8])\\d{3,13}|49(?:[015]\\d|2[13]|31|[46][1-8])\\d{1,9}",[4,5,6,7,8,9,10,11,12,13,14,15],[["(\\d{2})(\\d{3,13})","$1 $2",["3[02]|40|[68]9"],"0$1"],["(\\d{3})(\\d{3,12})","$1 $2",["2(?:0[1-389]|1[124]|2[18]|3[14])|3(?:[35-9][15]|4[015])|906|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1","2(?:0[1-389]|12[0-8])|3(?:[35-9][15]|4[015])|906|2(?:[13][14]|2[18])|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1"],"0$1"],["(\\d{4})(\\d{2,11})","$1 $2",["[24-6]|3(?:[3569][02-46-9]|4[2-4679]|7[2-467]|8[2-46-8])|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]","[24-6]|3(?:3(?:0[1-467]|2[127-9]|3[124578]|7[1257-9]|8[1256]|9[145])|4(?:2[135]|4[13578]|9[1346])|5(?:0[14]|2[1-3589]|6[1-4]|7[13468]|8[13568])|6(?:2[1-489]|3[124-6]|6[13]|7[12579]|8[1-356]|9[135])|7(?:2[1-7]|4[145]|6[1-5]|7[1-4])|8(?:21|3[1468]|6|7[1467]|8[136])|9(?:0[12479]|2[1358]|4[134679]|6[1-9]|7[136]|8[147]|9[1468]))|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]|3[68]4[1347]|3(?:47|60)[1356]|3(?:3[46]|46|5[49])[1246]|3[4579]3[1357]"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["138"],"0$1"],["(\\d{5})(\\d{2,10})","$1 $2",["3"],"0$1"],["(\\d{3})(\\d{5,11})","$1 $2",["181"],"0$1"],["(\\d{3})(\\d)(\\d{4,10})","$1 $2 $3",["1(?:3|80)|9"],"0$1"],["(\\d{3})(\\d{7,8})","$1 $2",["1[67]"],"0$1"],["(\\d{3})(\\d{7,12})","$1 $2",["8"],"0$1"],["(\\d{5})(\\d{6})","$1 $2",["185","1850","18500"],"0$1"],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{4})(\\d{7})","$1 $2",["18[68]"],"0$1"],["(\\d{4})(\\d{7})","$1 $2",["15[1279]"],"0$1"],["(\\d{5})(\\d{6})","$1 $2",["15[03568]","15(?:[0568]|3[13])"],"0$1"],["(\\d{3})(\\d{8})","$1 $2",["18"],"0$1"],["(\\d{3})(\\d{2})(\\d{7,8})","$1 $2 $3",["1(?:6[023]|7)"],"0$1"],["(\\d{4})(\\d{2})(\\d{7})","$1 $2 $3",["15[279]"],"0$1"],["(\\d{3})(\\d{2})(\\d{8})","$1 $2 $3",["15"],"0$1"]],"0"],DJ:["253","00","(?:2\\d|77)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[27]"]]]],DK:["45","00","[2-9]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-9]"]]]],DM:["1","011","(?:[58]\\d\\d|767|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","767$1",0,"767"],DO:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,0,0,0,"8001|8[024]9"],DZ:["213","00","(?:[1-4]|[5-79]\\d|80)\\d{7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-4]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["9"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-8]"],"0$1"]],"0"],EC:["593","00","1\\d{9,10}|(?:[2-7]|9\\d)\\d{7}",[8,9,10,11],[["(\\d)(\\d{3})(\\d{4})","$1 $2-$3",["[2-7]"],"(0$1)",0,"$1-$2-$3"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["9"],"0$1"],["(\\d{4})(\\d{3})(\\d{3,4})","$1 $2 $3",["1"]]],"0"],EE:["372","00","8\\d{9}|[4578]\\d{7}|(?:[3-8]\\d|90)\\d{5}",[7,8,10],[["(\\d{3})(\\d{4})","$1 $2",["[369]|4[3-8]|5(?:[0-2]|5[0-478]|6[45])|7[1-9]|88","[369]|4[3-8]|5(?:[02]|1(?:[0-8]|95)|5[0-478]|6(?:4[0-4]|5[1-589]))|7[1-9]|88"]],["(\\d{4})(\\d{3,4})","$1 $2",["[45]|8(?:00|[1-49])","[45]|8(?:00[1-9]|[1-49])"]],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["7"]],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["8"]]]],EG:["20","00","[189]\\d{8,9}|[24-6]\\d{8}|[135]\\d{7}",[8,9,10],[["(\\d)(\\d{7,8})","$1 $2",["[23]"],"0$1"],["(\\d{2})(\\d{6,7})","$1 $2",["1[35]|[4-6]|8[2468]|9[235-7]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{2})(\\d{8})","$1 $2",["1"],"0$1"]],"0"],EH:["212","00","[5-8]\\d{8}",[9],0,"0",0,0,0,0,"528[89]"],ER:["291","00","[178]\\d{6}",[7],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[178]"],"0$1"]],"0"],ES:["34","00","[5-9]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]00"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-9]"]]]],ET:["251","00","(?:11|[2-579]\\d)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-579]"],"0$1"]],"0"],FI:["358","00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))","[1-35689]\\d{4}|7\\d{10,11}|(?:[124-7]\\d|3[0-46-9])\\d{8}|[1-9]\\d{5,8}",[5,6,7,8,9,10,11,12],[["(\\d{5})","$1",["20[2-59]"],"0$1"],["(\\d{3})(\\d{3,7})","$1 $2",["(?:[1-3]0|[68])0|70[07-9]"],"0$1"],["(\\d{2})(\\d{4,8})","$1 $2",["[14]|2[09]|50|7[135]"],"0$1"],["(\\d{2})(\\d{6,10})","$1 $2",["7"],"0$1"],["(\\d)(\\d{4,9})","$1 $2",["(?:19|[2568])[1-8]|3(?:0[1-9]|[1-9])|9"],"0$1"]],"0",0,0,0,0,"1[03-79]|[2-9]",0,"00"],FJ:["679","0(?:0|52)","45\\d{5}|(?:0800\\d|[235-9])\\d{6}",[7,11],[["(\\d{3})(\\d{4})","$1 $2",["[235-9]|45"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]]],0,0,0,0,0,0,0,"00"],FK:["500","00","[2-7]\\d{4}",[5]],FM:["691","00","(?:[39]\\d\\d|820)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[389]"]]]],FO:["298","00","[2-9]\\d{5}",[6],[["(\\d{6})","$1",["[2-9]"]]],0,0,"(10(?:01|[12]0|88))"],FR:["33","00","[1-9]\\d{8}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0 $1"],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[1-79]"],"0$1"]],"0"],GA:["241","00","(?:[067]\\d|11)\\d{6}|[2-7]\\d{6}",[7,8],[["(\\d)(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-7]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["0"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["11|[67]"],"0$1"]],0,0,"0(11\\d{6}|60\\d{6}|61\\d{6}|6[256]\\d{6}|7[467]\\d{6})","$1"],GB:["44","00","[1-357-9]\\d{9}|[18]\\d{8}|8\\d{6}",[7,9,10],[["(\\d{3})(\\d{4})","$1 $2",["800","8001","80011","800111","8001111"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["845","8454","84546","845464"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["800"],"0$1"],["(\\d{5})(\\d{4,5})","$1 $2",["1(?:38|5[23]|69|76|94)","1(?:(?:38|69)7|5(?:24|39)|768|946)","1(?:3873|5(?:242|39[4-6])|(?:697|768)[347]|9467)"],"0$1"],["(\\d{4})(\\d{5,6})","$1 $2",["1(?:[2-69][02-9]|[78])"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["[25]|7(?:0|6[02-9])","[25]|7(?:0|6(?:[03-9]|2[356]))"],"0$1"],["(\\d{4})(\\d{6})","$1 $2",["7"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[1389]"],"0$1"]],"0",0,"0|180020",0,0,0,[["(?:1(?:1(?:3(?:[0-58]\\d\\d|73[0-5])|4(?:(?:[0-5]\\d|70)\\d|69[7-9])|(?:(?:5[0-26-9]|[78][0-49])\\d|6(?:[0-4]\\d|5[01]))\\d)|(?:2(?:(?:0[024-9]|2[3-9]|3[3-79]|4[1-689]|[58][02-9]|6[0-47-9]|7[013-9]|9\\d)\\d|1(?:[0-7]\\d|8[0-3]))|(?:3(?:0\\d|1[0-8]|[25][02-9]|3[02-579]|[468][0-46-9]|7[1-35-79]|9[2-578])|4(?:0[03-9]|[137]\\d|[28][02-57-9]|4[02-69]|5[0-8]|[69][0-79])|5(?:0[1-35-9]|[16]\\d|2[024-9]|3[015689]|4[02-9]|5[03-9]|7[0-35-9]|8[0-468]|9[0-57-9])|6(?:0[034689]|1\\d|2[0-35689]|[38][013-9]|4[1-467]|5[0-69]|6[13-9]|7[0-8]|9[0-24578])|7(?:0[0246-9]|2\\d|3[0236-8]|4[03-9]|5[0-46-9]|6[013-9]|7[0-35-9]|8[024-9]|9[02-9])|8(?:0[35-9]|2[1-57-9]|3[02-578]|4[0-578]|5[124-9]|6[2-69]|7\\d|8[02-9]|9[02569])|9(?:0[02-589]|[18]\\d|2[02-689]|3[1-57-9]|4[2-9]|5[0-579]|6[2-47-9]|7[0-24578]|9[2-57]))\\d)\\d)|2(?:0[013478]|3[0189]|4[017]|8[0-46-9]|9[0-2])\\d{3})\\d{4}|1(?:2(?:0(?:46[1-4]|87[2-9])|545[1-79]|76(?:2\\d|3[1-8]|6[1-6])|9(?:7(?:2[0-4]|3[2-5])|8(?:2[2-8]|7[0-47-9]|8[3-5])))|3(?:6(?:38[2-5]|47[23])|8(?:47[04-9]|64[0157-9]))|4(?:044[1-7]|20(?:2[23]|8\\d)|6(?:0(?:30|5[2-57]|6[1-8]|7[2-8])|140)|8(?:052|87[1-3]))|5(?:2(?:4(?:3[2-79]|6\\d)|76\\d)|6(?:26[06-9]|686))|6(?:06(?:4\\d|7[4-79])|295[5-7]|35[34]\\d|47(?:24|61)|59(?:5[08]|6[67]|74)|9(?:55[0-4]|77[23]))|7(?:26(?:6[13-9]|7[0-7])|(?:442|688)\\d|50(?:2[0-3]|[3-68]2|76))|8(?:27[56]\\d|37(?:5[2-5]|8[239])|843[2-58])|9(?:0(?:0(?:6[1-8]|85)|52\\d)|3583|4(?:66[1-8]|9(?:2[01]|81))|63(?:23|3[1-4])|9561))\\d{3}",[9,10]],["7(?:457[0-57-9]|700[01]|911[028])\\d{5}|7(?:[1-3]\\d\\d|4(?:[0-46-9]\\d|5[0-689])|5(?:0[0-8]|[13-9]\\d|2[0-35-9])|7(?:0[1-9]|[1-7]\\d|8[02-9]|9[0-689])|8(?:[014-9]\\d|[23][0-8])|9(?:[024-9]\\d|1[02-9]|3[0-689]))\\d{6}",[10]],["80[08]\\d{7}|800\\d{6}|8001111"],["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[2-49]))\\d{7}|845464\\d",[7,10]],["70\\d{8}",[10]],0,["(?:3[0347]|55)\\d{8}",[10]],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}",[10]],["56\\d{8}",[10]]],0," x"],GD:["1","011","(?:473|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","473$1",0,"473"],GE:["995","00","(?:[3-57]\\d\\d|800)\\d{6}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["70"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["32"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[57]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[348]"],"0$1"]],"0"],GF:["594","00","(?:[56]94\\d|7093)\\d{5}|(?:80|9\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-7]|9[47]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[89]"],"0$1"]],"0"],GG:["44","00","(?:1481|[357-9]\\d{3})\\d{6}|8\\d{6}(?:\\d{2})?",[7,9,10],0,"0",0,"([25-9]\\d{5})$|0|180020","1481$1",0,0,[["1481[25-9]\\d{5}",[10]],["7(?:(?:781|839)\\d|911[17])\\d{5}",[10]],["80[08]\\d{7}|800\\d{6}|8001111"],["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[0-3]))\\d{7}|845464\\d",[7,10]],["70\\d{8}",[10]],0,["(?:3[0347]|55)\\d{8}",[10]],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}",[10]],["56\\d{8}",[10]]]],GH:["233","00","(?:[235]\\d{3}|800)\\d{5}",[8,9],[["(\\d{3})(\\d{5})","$1 $2",["8"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[235]"],"0$1"]],"0"],GI:["350","00","(?:[25]\\d|60)\\d{6}",[8],[["(\\d{3})(\\d{5})","$1 $2",["2"]]]],GL:["299","00","(?:19|[2-689]\\d|70)\\d{4}",[6],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["19|[2-9]"]]]],GM:["220","00","[2-9]\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]]],GN:["224","00","722\\d{6}|(?:3|6\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["3"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[67]"]]]],GP:["590","00","(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-79]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0",0,0,0,0,0,[["590(?:0[1-68]|[14][0-24-9]|2[0-68]|3[1-9]|5[3-579]|[68][0-689]|7[08]|9\\d)\\d{4}"],["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}"],["80[0-5]\\d{6}"],0,0,0,0,0,["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]],GQ:["240","00","222\\d{6}|(?:3\\d|55|[89]0)\\d{7}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235]"]],["(\\d{3})(\\d{6})","$1 $2",["[89]"]]]],GR:["30","00","5005000\\d{3}|8\\d{9,11}|(?:[269]\\d|70)\\d{8}",[10,11,12],[["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["21|7"]],["(\\d{4})(\\d{6})","$1 $2",["2(?:2|3[2-57-9]|4[2-469]|5[2-59]|6[2-9]|7[2-69]|8[2-49])|5"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2689]"]],["(\\d{3})(\\d{3,4})(\\d{5})","$1 $2 $3",["8"]]]],GT:["502","00","80\\d{6}|(?:1\\d{3}|[2-7])\\d{7}",[8,11],[["(\\d{4})(\\d{4})","$1 $2",["[2-8]"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]]],GU:["1","011","(?:[58]\\d\\d|671|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","671$1",0,"671"],GW:["245","00","[49]\\d{8}|4\\d{6}",[7,9],[["(\\d{3})(\\d{4})","$1 $2",["40"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[49]"]]]],GY:["592","001","(?:[2-8]\\d{3}|9008)\\d{3}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]]],HK:["852","00(?:30|5[09]|[126-9]?)","8[0-46-9]\\d{6,7}|9\\d{4,7}|(?:[2-7]|9\\d{3})\\d{7}",[5,6,7,8,9,11],[["(\\d{3})(\\d{2,5})","$1 $2",["900","9003"]],["(\\d{4})(\\d{4})","$1 $2",["[2-7]|8[1-4]|9(?:0[1-9]|[1-8])"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]],["(\\d{3})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]]],0,0,0,0,0,0,0,"00"],HN:["504","00","8\\d{10}|[237-9]\\d{7}",[8,11],[["(\\d{4})(\\d{4})","$1-$2",["[237-9]"]]]],HR:["385","00","[2-69]\\d{8}|80\\d{5,7}|[1-79]\\d{7}|6\\d{6}",[7,8,9],[["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["6[01]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["8"],"0$1"],["(\\d)(\\d{4})(\\d{3})","$1 $2 $3",["1"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["6|7[245]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["9"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-57]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"],"0$1"]],"0"],HT:["509","00","[2-589]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["[2-589]"]]]],HU:["36","00","[235-7]\\d{8}|[1-9]\\d{7}",[8,9],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["1"],"(06 $1)"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[27][2-9]|3[2-7]|4[24-9]|5[2-79]|6|8[2-57-9]|9[2-69]"],"(06 $1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-9]"],"06 $1"]],"06"],ID:["62","00[89]","00[1-9]\\d{9,14}|(?:[1-36]|8\\d{5})\\d{6}|00\\d{9}|[1-9]\\d{8,10}|[2-9]\\d{7}",[7,8,9,10,11,12,13,14,15,16,17],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["15"]],["(\\d{2})(\\d{5,9})","$1 $2",["2[124]|[36]1"],"(0$1)"],["(\\d{3})(\\d{5,7})","$1 $2",["800"],"0$1"],["(\\d{3})(\\d{5,8})","$1 $2",["[2-79]"],"(0$1)"],["(\\d{3})(\\d{3,4})(\\d{3})","$1-$2-$3",["8[1-35-9]"],"0$1"],["(\\d{3})(\\d{6,8})","$1 $2",["1"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["804"],"0$1"],["(\\d{3})(\\d)(\\d{3})(\\d{3})","$1 $2 $3 $4",["80"],"0$1"],["(\\d{3})(\\d{4})(\\d{4,5})","$1-$2-$3",["8"],"0$1"]],"0"],IE:["353","00","(?:1\\d|[2569])\\d{6,8}|4\\d{6,9}|7\\d{8}|8\\d{8,9}",[7,8,9,10],[["(\\d{2})(\\d{5})","$1 $2",["2[24-9]|47|58|6[237-9]|9[35-9]"],"(0$1)"],["(\\d{3})(\\d{5})","$1 $2",["[45]0"],"(0$1)"],["(\\d)(\\d{3,4})(\\d{4})","$1 $2 $3",["1"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2569]|4[1-69]|7[14]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["70"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["81"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[78]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["4"],"(0$1)"],["(\\d{2})(\\d)(\\d{3})(\\d{4})","$1 $2 $3 $4",["8"],"0$1"]],"0"],IL:["972","0(?:0|1[2-9])","1\\d{6}(?:\\d{3,5})?|[57]\\d{8}|[1-489]\\d{7}",[7,8,9,10,11,12],[["(\\d{4})(\\d{3})","$1-$2",["125"]],["(\\d{4})(\\d{2})(\\d{2})","$1-$2-$3",["121"]],["(\\d)(\\d{3})(\\d{4})","$1-$2-$3",["[2-489]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["[57]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1-$2-$3",["12"]],["(\\d{4})(\\d{6})","$1-$2",["159"]],["(\\d)(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3-$4",["1[7-9]"]],["(\\d{3})(\\d{1,2})(\\d{3})(\\d{4})","$1-$2 $3-$4",["15"]]],"0"],IM:["44","00","1624\\d{6}|(?:[3578]\\d|90)\\d{8}",[10],0,"0",0,"([25-8]\\d{5})$|0|180020","1624$1",0,"74576|(?:16|7[56])24"],IN:["91","00","(?:000800|[2-9]\\d\\d)\\d{7}|1\\d{7,12}",[8,9,10,11,12,13],[["(\\d{8})","$1",["5(?:0|2[23]|3[03]|[67]1|88)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|888)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|8888)"],0,1],["(\\d{4})(\\d{4,5})","$1 $2",["180","1800"],0,1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["140"],0,1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["11|2[02]|33|4[04]|79[1-7]|80[2-46]","11|2[02]|33|4[04]|79(?:[1-6]|7[19])|80(?:[2-4]|6[0-589])","11|2[02]|33|4[04]|79(?:[124-6]|3(?:[02-9]|1[0-24-9])|7(?:1|9[1-6]))|80(?:[2-4]|6[0-589])"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1(?:2[0-249]|3[0-25]|4[145]|[68]|7[1257])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|5[12]|[78]1)|6(?:12|[2-4]1|5[17]|6[13]|80)|7(?:12|3[134]|4[47]|61|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91)|(?:43|59|75)[15]|(?:1[59]|29|67|72)[14]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|674|7(?:(?:2[14]|3[34]|5[15])[2-6]|61[346]|88[0-8])|8(?:70[2-6]|84[235-7]|91[3-7])|(?:1(?:29|60|8[06])|261|552|6(?:12|[2-47]1|5[17]|6[13]|80)|7(?:12|31|4[47])|8(?:16|2[014]|3[126]|6[136]|7[78]|83))[2-7]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12(?:[2-6]|7[0-8])|74[2-7])|7(?:(?:2[14]|5[15])[2-6]|3171|61[346]|88(?:[2-7]|82))|8(?:70[2-6]|84(?:[2356]|7[19])|91(?:[3-6]|7[19]))|73[134][2-6]|(?:74[47]|8(?:16|2[014]|3[126]|6[136]|7[78]|83))(?:[2-6]|7[19])|(?:1(?:29|60|8[06])|261|552|6(?:[2-4]1|5[17]|6[13]|7(?:1|4[0189])|80)|7(?:12|88[01]))[2-7]"],"0$1",1],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2[2457-9]|3[2-5]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1[013-9]|28|3[129]|4[1-35689]|5[29]|6[02-5]|70)|807","1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2(?:[2457]|84|95)|3(?:[2-4]|55)|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1(?:[013-8]|9[6-9])|28[6-8]|3(?:17|2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4|5[0-367])|70[13-7])|807[19]","1(?:[2-479]|5(?:[0236-9]|5[013-9]))|[2-5]|6(?:2(?:84|95)|355|8(?:28[235-7]|3))|73179|807(?:1|9[1-3])|(?:1552|6(?:(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|7[235689])\\d|8(?:[14-6]\\d|2[0-79]))|7(?:1(?:[013-8]\\d|9[6-9])|28[6-8]|3(?:2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]\\d|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\d|5[0-367])|70[13-7]))[2-7]"],"0$1",1],["(\\d{5})(\\d{5})","$1 $2",["16|[6-9]"],"0$1",1],["(\\d{4})(\\d{2,4})(\\d{4})","$1 $2 $3",["18[06]","18[06]0"],0,1],["(\\d{4})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["18"],0,1]],"0"],IO:["246","00","3\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["3"]]]],IQ:["964","00","(?:1|7\\d\\d)\\d{7}|[2-6]\\d{7,8}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-6]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"]],"0"],IR:["98","00","[1-9]\\d{9}|(?:[1-8]\\d\\d|9)\\d{3,4}",[4,5,6,7,10],[["(\\d{4,5})","$1",["96"],"0$1"],["(\\d{2})(\\d{4,5})","$1 $2",["(?:1[137]|2[13-68]|3[1458]|4[145]|5[1468]|6[16]|7[1467]|8[13467])[12689]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["9"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["[1-8]"],"0$1"]],"0"],IS:["354","00|1(?:0(?:01|[12]0)|100)","(?:38\\d|[4-9])\\d{6}",[7,9],[["(\\d{3})(\\d{4})","$1 $2",["[4-9]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["3"]]],0,0,0,0,0,0,0,"00"],IT:["39","00","0\\d{5,11}|1\\d{8,10}|3(?:[0-8]\\d{7,10}|9\\d{7,8})|(?:43|55|70)\\d{8}|8\\d{5}(?:\\d{2,4})?",[6,7,8,9,10,11,12],[["(\\d{2})(\\d{4,6})","$1 $2",["0[26]"]],["(\\d{3})(\\d{3,6})","$1 $2",["0[13-57-9][0159]|8(?:03|4[17]|9[2-5])","0[13-57-9][0159]|8(?:03|4[17]|9(?:2|3[04]|[45][0-4]))"]],["(\\d{4})(\\d{2,6})","$1 $2",["0(?:[13-579][2-46-8]|8[236-8])"]],["(\\d{4})(\\d{4})","$1 $2",["894"]],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[26]|5"]],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["1(?:44|[679])|[378]|43"]],["(\\d{3})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[13-57-9][0159]|14"]],["(\\d{2})(\\d{4})(\\d{5})","$1 $2 $3",["0[26]"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]],["(\\d{3})(\\d{4})(\\d{4,5})","$1 $2 $3",["[03]"]]],0,0,0,0,0,0,[["0(?:669[0-79]\\d{1,6}|831\\d{2,8})|0(?:1(?:[0159]\\d|[27][1-5]|31|4[1-4]|6[1356]|8[2-57])|2\\d\\d|3(?:[0159]\\d|2[1-4]|3[12]|[48][1-6]|6[2-59]|7[1-7])|4(?:[0159]\\d|[23][1-9]|4[245]|6[1-5]|7[1-4]|81)|5(?:[0159]\\d|2[1-5]|3[2-6]|4[1-79]|6[4-6]|7[1-578]|8[3-8])|6(?:[0-57-9]\\d|6[0-8])|7(?:[0159]\\d|2[12]|3[1-7]|4[2-46]|6[13569]|7[13-6]|8[1-59])|8(?:[0159]\\d|2[3-578]|3[2356]|[6-8][1-5])|9(?:[0159]\\d|[238][1-5]|4[12]|6[1-8]|7[1-6]))\\d{2,7}"],["3[2-9]\\d{7,8}|(?:31|43)\\d{8}",[9,10]],["80(?:0\\d{3}|3)\\d{3}",[6,9]],["(?:0878\\d{3}|89(?:2\\d|3[04]|4(?:[0-4]|[5-9]\\d\\d)|5[0-4]))\\d\\d|(?:1(?:44|6[346])|89(?:38|5[5-9]|9))\\d{6}",[6,8,9,10]],["1(?:78\\d|99)\\d{6}",[9,10]],["3[2-8]\\d{9,10}",[11,12]],0,0,["55\\d{8}",[10]],["84(?:[08]\\d{3}|[17])\\d{3}",[6,9]]]],JE:["44","00","1534\\d{6}|(?:[3578]\\d|90)\\d{8}",[10],0,"0",0,"([0-24-8]\\d{5})$|0|180020","1534$1",0,0,[["1534[0-24-8]\\d{5}"],["7(?:(?:(?:50|82)9|937)\\d|7(?:00[378]|97\\d))\\d{5}"],["80(?:07(?:35|81)|8901)\\d{4}"],["(?:8(?:4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|90(?:066[59]|1810|71(?:07|55)))\\d{4}"],["701511\\d{4}"],0,["(?:3(?:0(?:07(?:35|81)|8901)|3\\d{4}|4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|55\\d{4})\\d{4}"],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}"],["56\\d{8}"]]],JM:["1","011","(?:[58]\\d\\d|658|900)\\d{7}",[10],0,"1",0,0,0,0,"658|876"],JO:["962","00","(?:(?:[2689]|7\\d)\\d|32|427|53)\\d{6}",[8,9],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2356]|87"],"(0$1)"],["(\\d{3})(\\d{5,6})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["70"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[47]"],"0$1"]],"0"],JP:["81","010","00[1-9]\\d{6,14}|[25-9]\\d{9}|(?:00|[1-9]\\d\\d)\\d{6}",[8,9,10,11,12,13,14,15,16,17],[["(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3",["(?:12|57|99)0"],"0$1"],["(\\d{4})(\\d)(\\d{4})","$1-$2-$3",["1(?:26|3[79]|4[56]|5[4-68]|6[3-5])|499|5(?:76|97)|746|8(?:3[89]|47|51)|9(?:80|9[16])","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:76|97)9|7468|8(?:3(?:8[7-9]|96)|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:769|979[2-69])|7468|8(?:3(?:8[7-9]|96[2457-9])|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["60"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1-$2-$3",["3|4(?:2[09]|7[01])|6[1-9]","3|4(?:2(?:0|9[02-69])|7(?:0[019]|1))|6[1-9]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["1(?:1|5[45]|77|88|9[69])|2(?:2[1-37]|3[0-269]|4[59]|5|6[24]|7[1-358]|8[1369]|9[0-38])|4(?:[28][1-9]|3[0-57]|[45]|6[248]|7[2-579]|9[29])|5(?:2|3[0459]|4[0-369]|5[29]|8[02389]|9[0-389])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9[2-6])|8(?:2[124589]|3[26-9]|49|51|6|7[0-468]|8[68]|9[019])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9[1-489])","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2(?:[127]|3[014-9])|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9[19])|62|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|8[1-9]|9[29])|5(?:2|3(?:[045]|9[0-8])|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0-2469])|3(?:[29]|60)|49|51|6(?:[0-24]|36|5[0-3589]|7[23]|9[01459])|7[0-468]|8[68])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9(?:[1289]|3[34]|4[0178]))|(?:264|837)[016-9]|2(?:57|93)[015-9]|(?:25[0468]|422|838)[01]|(?:47[59]|59[89]|8(?:6[68]|9))[019]","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2[127]|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9(?:17|99))|6(?:2|4[016-9])|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|9[29])|5(?:2|3(?:[045]|9(?:[0-58]|6[4-9]|7[0-35689]))|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0169])|3(?:[29]|60|7(?:[017-9]|6[6-8]))|49|51|6(?:[0-24]|36[2-57-9]|5(?:[0-389]|5[23])|6(?:[01]|9[178])|7(?:2[2-468]|3[78])|9[0145])|7[0-468]|8[68])|9(?:4[15]|5[138]|7[156]|8[189]|9(?:[1289]|3(?:31|4[357])|4[0178]))|(?:8294|96)[1-3]|2(?:57|93)[015-9]|(?:223|8699)[014-9]|(?:25[0468]|422|838)[01]|(?:48|8292|9[23])[1-9]|(?:47[59]|59[89]|8(?:68|9))[019]"],"0$1"],["(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3",["[14]|[289][2-9]|5[3-9]|7[2-4679]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["800"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[25-9]"],"0$1"]],"0",0,"(000[2569]\\d{4,6})$|(?:(?:003768)0?)|0","$1"],KE:["254","000","(?:[17]\\d\\d|900)\\d{6}|(?:2|80)0\\d{6,7}|[4-6]\\d{6,8}",[7,8,9,10],[["(\\d{2})(\\d{5,7})","$1 $2",["[24-6]"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["[17]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[89]"],"0$1"]],"0"],KG:["996","00","8\\d{9}|[235-9]\\d{8}",[9,10],[["(\\d{4})(\\d{5})","$1 $2",["3(?:1[346]|[24-79])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235-79]|88"],"0$1"],["(\\d{3})(\\d{3})(\\d)(\\d{2,3})","$1 $2 $3 $4",["8"],"0$1"]],"0"],KH:["855","00[14-9]","1\\d{9}|[1-9]\\d{7,8}",[8,9,10],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-9]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0"],KI:["686","00","(?:[37]\\d|6[0-79])\\d{6}|(?:[2-48]\\d|50)\\d{3}",[5,8],0,"0"],KM:["269","00","[3478]\\d{6}",[7],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[3478]"]]]],KN:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","869$1",0,"869"],KP:["850","00|99","85\\d{6}|(?:19\\d|[2-7])\\d{7}",[8,10],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"]],"0"],KR:["82","00(?:[125689]|3(?:[46]5|91)|7(?:00|27|3|55|6[126]))","00[1-9]\\d{8,11}|(?:[12]|5\\d{3})\\d{7}|[13-6]\\d{9}|(?:[1-6]\\d|80)\\d{7}|[3-6]\\d{4,5}|(?:00|7)0\\d{8}",[5,6,8,9,10,11,12,13,14],[["(\\d{2})(\\d{3,4})","$1-$2",["(?:3[1-3]|[46][1-4]|5[1-5])1"],"0$1"],["(\\d{4})(\\d{4})","$1-$2",["1"]],["(\\d)(\\d{3,4})(\\d{4})","$1-$2-$3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["[36]0|8"],"0$1"],["(\\d{2})(\\d{3,4})(\\d{4})","$1-$2-$3",["[1346]|5[1-5]"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[57]"],"0$1"],["(\\d{2})(\\d{5})(\\d{4})","$1-$2-$3",["5"],"0$1"]],"0",0,"0(8(?:[1-46-8]|5\\d\\d))?"],KW:["965","00","18\\d{5}|(?:[2569]\\d|41)\\d{6}",[7,8],[["(\\d{4})(\\d{3,4})","$1 $2",["[169]|2(?:[235]|4[1-35-9])|52"]],["(\\d{3})(\\d{5})","$1 $2",["[245]"]]]],KY:["1","011","(?:345|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","345$1",0,"345"],KZ:["7","810","(?:33622|8\\d{8})\\d{5}|[78]\\d{9}",[10,14],0,"8",0,0,0,0,"33622|7",0,"8~10"],LA:["856","00","[23]\\d{9}|3\\d{8}|(?:[235-8]\\d|41)\\d{6}",[8,9,10],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["2[13]|3[14]|[4-8]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["3"],"0$1"],["(\\d{2})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[23]"],"0$1"]],"0"],LB:["961","00","[27-9]\\d{7}|[13-9]\\d{6}",[7,8],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[13-69]|7(?:[2-57]|62|8[0-6]|9[04-9])|8[02-9]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[27-9]"]]],"0"],LC:["1","011","(?:[58]\\d\\d|758|900)\\d{7}",[10],0,"1",0,"([2-8]\\d{6})$|1","758$1",0,"758"],LI:["423","00","[68]\\d{8}|(?:[2378]\\d|90)\\d{5}",[7,9],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[2379]|8(?:0[09]|7)","[2379]|8(?:0(?:02|9)|7)"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["69"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]]],"0",0,"(1001)|0"],LK:["94","00","[1-9]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[1-689]"],"0$1"]],"0"],LR:["231","00","(?:[2457]\\d|33|88)\\d{7}|(?:2\\d|[4-6])\\d{6}",[7,8,9],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["4[67]|[56]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[2-578]"],"0$1"]],"0"],LS:["266","00","(?:[256]\\d\\d|800)\\d{5}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[2568]"]]]],LT:["370","00","(?:[3469]\\d|52|[78]0)\\d{6}",[8],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["52[0-7]"],"(0-$1)",1],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[7-9]"],"0 $1",1],["(\\d{2})(\\d{6})","$1 $2",["37|4(?:[15]|6[1-8])"],"(0-$1)",1],["(\\d{3})(\\d{5})","$1 $2",["[3-6]"],"(0-$1)",1]],"0",0,"[08]"],LU:["352","00","35[013-9]\\d{4,8}|6\\d{8}|35\\d{2,4}|(?:[2457-9]\\d|3[0-46-9])\\d{2,9}",[4,5,6,7,8,9,10,11],[["(\\d{2})(\\d{3})","$1 $2",["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]],["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["20[2-689]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4",["2(?:[0367]|4[3-8])"]],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["80[01]|90[015]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["20"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4 $5",["2(?:[0367]|4[3-8])"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{1,5})","$1 $2 $3 $4",["[3-57]|8[13-9]|9(?:0[89]|[2-579])|(?:2|80)[2-9]"]]],0,0,"(15(?:0[06]|1[12]|[35]5|4[04]|6[26]|77|88|99)\\d)"],LV:["371","00","(?:[268]\\d|78|90)\\d{6}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2679]|8[01]"]]]],LY:["218","00","[2-9]\\d{8}",[9],[["(\\d{2})(\\d{7})","$1-$2",["[2-9]"],"0$1"]],"0"],MA:["212","00","[5-8]\\d{8}",[9],[["(\\d{4})(\\d{5})","$1-$2",["892"],"0$1"],["(\\d{2})(\\d{7})","$1-$2",["8(?:0[0-7]|9)"],"0$1"],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[5-8]"],"0$1"]],"0",0,0,0,0,0,[["5(?:(?:18|4[0679]|5[03])\\d|2(?:[0-25-79]\\d|3[1-578]|4[02-46-8]|8[0235-7])|3(?:[0-47]\\d|5[02-9]|6[02-8]|8[014-9]|9[3-9]))\\d{5}"],["(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[016-8]\\d|2[0-8]|5[0-5]))\\d{6}"],["80[0-7]\\d{6}"],["89\\d{7}"],0,0,0,0,["(?:592(?:4[0-2]|93)|80[89]\\d\\d)\\d{4}"]]],MC:["377","00","(?:[3489]|[67]\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["4"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[389]"]],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[67]"],"0$1"]],"0"],MD:["373","00","(?:[235-7]\\d|[89]0)\\d{6}",[8],[["(\\d{3})(\\d{5})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["22|3"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[25-7]"],"0$1"]],"0"],ME:["382","00","(?:20|[3-79]\\d)\\d{6}|80\\d{6,7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-9]"],"0$1"]],"0"],MF:["590","00","(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}",[9],0,"0",0,0,0,0,0,[["590(?:0[079]|[14]3|[27][79]|3[03-7]|5[0-268]|87)\\d{4}"],["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}"],["80[0-5]\\d{6}"],0,0,0,0,0,["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]],MG:["261","00","[23]\\d{8}",[9],[["(\\d{2})(\\d{2})(\\d{3})(\\d{2})","$1 $2 $3 $4",["[23]"],"0$1"]],"0",0,"([24-9]\\d{6})$|0","20$1"],MH:["692","011","329\\d{4}|(?:[256]\\d|45)\\d{5}",[7],[["(\\d{3})(\\d{4})","$1-$2",["[2-6]"]]],"1"],MK:["389","00","[2-578]\\d{7}",[8],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["2|34[47]|4(?:[37]7|5[47]|64)"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[347]"],"0$1"],["(\\d{3})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["[58]"],"0$1"]],"0"],ML:["223","00","[24-9]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24-9]"]]]],MM:["95","00","1\\d{5,7}|95\\d{6}|(?:[4-7]|9[0-46-9])\\d{6,8}|(?:2|8\\d)\\d{5,8}",[6,7,8,9,10],[["(\\d)(\\d{2})(\\d{3})","$1 $2 $3",["16|2"],"0$1"],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["4(?:[2-46]|5[3-5])|5|6(?:[1-689]|7[235-7])|7(?:[0-4]|5[2-7])|8[1-5]|(?:60|86)[23]"],"0$1"],["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[12]|452|678|86","[12]|452|6788|86"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[4-7]|8[1-35]"],"0$1"],["(\\d)(\\d{3})(\\d{4,6})","$1 $2 $3",["9(?:2[0-4]|[35-9]|4[137-9])"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["92"],"0$1"],["(\\d)(\\d{5})(\\d{4})","$1 $2 $3",["9"],"0$1"]],"0"],MN:["976","001","[12]\\d{7,9}|[5-9]\\d{7}",[8,9,10],[["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["[12]1"],"0$1"],["(\\d{4})(\\d{4})","$1 $2",["[5-9]"]],["(\\d{3})(\\d{5,6})","$1 $2",["[12]2[1-3]"],"0$1"],["(\\d{4})(\\d{5,6})","$1 $2",["[12](?:27|3[2-8]|4[2-68]|5[1-4689])","[12](?:27|3[2-8]|4[2-68]|5[1-4689])[0-3]"],"0$1"],["(\\d{5})(\\d{4,5})","$1 $2",["[12]"],"0$1"]],"0"],MO:["853","00","0800\\d{3}|(?:28|[68]\\d)\\d{6}",[7,8],[["(\\d{4})(\\d{3})","$1 $2",["0"]],["(\\d{4})(\\d{4})","$1 $2",["[268]"]]]],MP:["1","011","[58]\\d{9}|(?:67|90)0\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","670$1",0,"670"],MQ:["596","00","(?:596\\d|7091)\\d{5}|(?:69|[89]\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-79]|8(?:0[6-9]|[36])"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0"],MR:["222","00","(?:[2-4]\\d\\d|800)\\d{5}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-48]"]]]],MS:["1","011","(?:[58]\\d\\d|664|900)\\d{7}",[10],0,"1",0,"([34]\\d{6})$|1","664$1",0,"664"],MT:["356","00","3550\\d{4}|(?:[2579]\\d\\d|800)\\d{5}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[2357-9]"]]]],MU:["230","0(?:0|[24-7]0|3[03])","(?:[57]|8\\d\\d)\\d{7}|[2-468]\\d{6}",[7,8,10],[["(\\d{3})(\\d{4})","$1 $2",["[2-46]|8[013]"]],["(\\d{4})(\\d{4})","$1 $2",["[57]"]],["(\\d{5})(\\d{5})","$1 $2",["8"]]],0,0,0,0,0,0,0,"020"],MV:["960","0(?:0|19)","(?:800|9[0-57-9]\\d)\\d{7}|[34679]\\d{6}",[7,10],[["(\\d{3})(\\d{4})","$1-$2",["[34679]"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"]]],0,0,0,0,0,0,0,"00"],MW:["265","00","(?:[1289]\\d|31|77)\\d{7}|1\\d{6}",[7,9],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["1[2-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[137-9]"],"0$1"]],"0"],MX:["52","0[09]","[2-9]\\d{9}",[10],[["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["33|5[56]|81"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2-9]"]]],0,0,0,0,0,0,0,"00"],MY:["60","00","1\\d{8,9}|(?:3\\d|[4-9])\\d{7}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1-$2 $3",["[4-79]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1-$2 $3",["1(?:[02469]|[378][1-9]|53)|8","1(?:[02469]|[37][1-9]|53|8(?:[1-46-9]|5[7-9]))|8"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1-$2 $3",["3"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3-$4",["1(?:[367]|80)"]],["(\\d{3})(\\d{3})(\\d{4})","$1-$2 $3",["15"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2 $3",["1"],"0$1"]],"0"],MZ:["258","00","(?:2|8\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["2|8[2-79]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]]]],NA:["264","00","[68]\\d{7,8}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["88"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["6"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["87"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"]],"0"],NC:["687","00","(?:050|[2-57-9]\\d\\d)\\d{3}",[6],[["(\\d{2})(\\d{2})(\\d{2})","$1.$2.$3",["[02-57-9]"]]]],NE:["227","00","[027-9]\\d{7}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["08"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[089]|2[013]|7[0467]"]]]],NF:["672","00","[13]\\d{5}",[6],[["(\\d{2})(\\d{4})","$1 $2",["1[0-3]"]],["(\\d)(\\d{5})","$1 $2",["[13]"]]],0,0,"([0-258]\\d{4})$","3$1"],NG:["234","009","(?:20|9\\d)\\d{8}|[78]\\d{9,13}",[10,11,12,13,14],[["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[7-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["20[129]"],"0$1"],["(\\d{4})(\\d{2})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{3})(\\d{4})(\\d{4,5})","$1 $2 $3",["[78]"],"0$1"],["(\\d{3})(\\d{5})(\\d{5,6})","$1 $2 $3",["[78]"],"0$1"]],"0"],NI:["505","00","(?:1800|[25-8]\\d{3})\\d{4}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[125-8]"]]]],NL:["31","00","(?:[124-7]\\d\\d|3(?:[02-9]\\d|1[0-8]))\\d{6}|8\\d{6,9}|9\\d{6,10}|1\\d{4,5}",[5,6,7,8,9,10,11],[["(\\d{3})(\\d{4,7})","$1 $2",["[89]0"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["66"],"0$1"],["(\\d)(\\d{8})","$1 $2",["6"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["1[16-8]|2[259]|3[124]|4[17-9]|5[124679]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-578]|91"],"0$1"],["(\\d{3})(\\d{3})(\\d{5})","$1 $2 $3",["9"],"0$1"]],"0"],NO:["47","00","(?:0|[2-9]\\d{3})\\d{4}",[5,8],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["8"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-79]"]]],0,0,0,0,0,"[02-689]|7[0-8]"],NP:["977","00","(?:1\\d|9)\\d{9}|[1-9]\\d{7}",[8,10,11],[["(\\d)(\\d{7})","$1-$2",["1[2-6]"],"0$1"],["(\\d{2})(\\d{6})","$1-$2",["1[01]|[2-8]|9(?:[1-59]|[67][2-6])"],"0$1"],["(\\d{3})(\\d{7})","$1-$2",["9"]]],"0"],NR:["674","00","(?:222|444|(?:55|8\\d)\\d|666|777|999)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[24-9]"]]]],NU:["683","00","(?:[4-7]|888\\d)\\d{3}",[4,7],[["(\\d{3})(\\d{4})","$1 $2",["8"]]]],NZ:["64","0(?:0|161)","[1289]\\d{9}|50\\d{5}(?:\\d{2,3})?|[27-9]\\d{7,8}|(?:[34]\\d|6[0-35-9])\\d{6}|8\\d{4,6}",[5,6,7,8,9,10],[["(\\d{2})(\\d{3,8})","$1 $2",["8[1-79]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["50[036-8]|8|90","50(?:[0367]|88)|8|90"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["24|[346]|7[2-57-9]|9[2-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["2(?:10|74)|[589]"],"0$1"],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["1|2[028]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,5})","$1 $2 $3",["2(?:[169]|7[0-35-9])|7"],"0$1"]],"0",0,0,0,0,0,0,"00"],OM:["968","00","(?:1505|[279]\\d{3}|500)\\d{4}|800\\d{5,6}",[7,8,9],[["(\\d{3})(\\d{4,6})","$1 $2",["[58]"]],["(\\d{2})(\\d{6})","$1 $2",["2"]],["(\\d{4})(\\d{4})","$1 $2",["[179]"]]]],PA:["507","00","(?:00800|8\\d{3})\\d{6}|[68]\\d{7}|[1-57-9]\\d{6}",[7,8,10,11],[["(\\d{3})(\\d{4})","$1-$2",["[1-57-9]"]],["(\\d{4})(\\d{4})","$1-$2",["[68]"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]]]],PE:["51","00|19(?:1[124]|77|90)00","(?:[14-8]|9\\d)\\d{7}",[8,9],[["(\\d{3})(\\d{5})","$1 $2",["80"],"(0$1)"],["(\\d)(\\d{7})","$1 $2",["1"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["[4-8]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"]]],"0",0,0,0,0,0,0,"00"," Anexo "],PF:["689","00","4\\d{5}(?:\\d{2})?|8\\d{7,8}",[6,8,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["44"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["4|8[7-9]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]]]],PG:["675","00|140[1-3]","(?:180|[78]\\d{3})\\d{4}|(?:[2-589]\\d|64)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["18|[2-69]|85"]],["(\\d{4})(\\d{4})","$1 $2",["[78]"]]],0,0,0,0,0,0,0,"00"],PH:["63","00","(?:[2-7]|9\\d)\\d{8}|2\\d{5}|(?:1800|8)\\d{7,9}",[6,8,9,10,11,12,13],[["(\\d)(\\d{5})","$1 $2",["2"],"(0$1)"],["(\\d{4})(\\d{4,6})","$1 $2",["3(?:23|39|46)|4(?:2[3-6]|[35]9|4[26]|76)|544|88[245]|(?:52|64|86)2","3(?:230|397|461)|4(?:2(?:35|[46]4|51)|396|4(?:22|63)|59[347]|76[15])|5(?:221|446)|642[23]|8(?:622|8(?:[24]2|5[13]))"],"(0$1)"],["(\\d{5})(\\d{4})","$1 $2",["346|4(?:27|9[35])|883","3469|4(?:279|9(?:30|56))|8834"],"(0$1)"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[3-7]|8[2-8]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]],["(\\d{4})(\\d{1,2})(\\d{3})(\\d{4})","$1 $2 $3 $4",["1"]]],"0"],PK:["92","00","122\\d{6}|[24-8]\\d{10,11}|9(?:[013-9]\\d{8,10}|2(?:[01]\\d\\d|2(?:[06-8]\\d|1[01]))\\d{7})|(?:[2-8]\\d{3}|92(?:[0-7]\\d|8[1-9]))\\d{6}|[24-9]\\d{8}|[89]\\d{7}",[8,9,10,11,12],[["(\\d{3})(\\d{3})(\\d{2,7})","$1 $2 $3",["[89]0"],"0$1"],["(\\d{4})(\\d{5})","$1 $2",["1"]],["(\\d{3})(\\d{6,7})","$1 $2",["2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:2[2-8]|3[27-9]|4[2-6]|6[3569]|9[25-8])","9(?:2[3-8]|98)|(?:2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:22|3[27-9]|4[2-6]|6[3569]|9[25-7]))[2-9]"],"(0$1)"],["(\\d{2})(\\d{7,8})","$1 $2",["(?:2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91)[2-9]"],"(0$1)"],["(\\d{5})(\\d{5})","$1 $2",["58"],"(0$1)"],["(\\d{3})(\\d{7})","$1 $2",["3"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[24-9]"],"(0$1)"]],"0"],PL:["48","00","(?:6|8\\d\\d)\\d{7}|[1-9]\\d{6}(?:\\d{2})?|[26]\\d{5}",[6,7,8,9,10],[["(\\d{5})","$1",["19"]],["(\\d{3})(\\d{3})","$1 $2",["11|20|64"]],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])1","(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])19"]],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["64"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["21|39|45|5[0137]|6[0469]|7[02389]|8(?:0[14]|8)"]],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[2-8]|[2-7]|8[1-79]|9[145]"]],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["8"]]]],PM:["508","00","[45]\\d{5}|(?:708|8\\d\\d)\\d{6}",[6,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[45]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["7"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0"],PR:["1","011","(?:[589]\\d\\d|787)\\d{7}",[10],0,"1",0,0,0,0,"787|939"],PS:["970","00","[2489]2\\d{6}|(?:1\\d|5)\\d{8}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2489]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["5"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0"],PT:["351","00","1693\\d{5}|(?:[26-9]\\d|30)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["2[12]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["16|[236-9]"]]]],PW:["680","01[12]","(?:[24-8]\\d\\d|345|900)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]]],PY:["595","00","59\\d{4,6}|9\\d{5,10}|(?:[2-46-8]\\d|5[0-8])\\d{4,7}",[6,7,8,9,10,11],[["(\\d{3})(\\d{3,6})","$1 $2",["[2-9]0"],"0$1"],["(\\d{2})(\\d{5})","$1 $2",["[26]1|3[289]|4[1246-8]|7[1-3]|8[1-36]"],"(0$1)"],["(\\d{3})(\\d{4,5})","$1 $2",["2[279]|3[13-5]|4[359]|5|6(?:[34]|7[1-46-8])|7[46-8]|85"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["2[14-68]|3[26-9]|4[1246-8]|6(?:1|75)|7[1-35]|8[1-36]"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["87"]],["(\\d{3})(\\d{6})","$1 $2",["9(?:[5-79]|8[1-7])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[2-8]"],"0$1"],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["9"]]],"0"],QA:["974","00","800\\d{4}|(?:2|800)\\d{6}|(?:0080|[3-7])\\d{7}",[7,8,9,11],[["(\\d{3})(\\d{4})","$1 $2",["2[136]|8"]],["(\\d{4})(\\d{4})","$1 $2",["[3-7]"]]]],RE:["262","00","709\\d{6}|(?:26|[689]\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[26-9]"],"0$1"]],"0",0,0,0,0,0,[["26(?:2\\d\\d|3(?:0\\d|1[0-6]))\\d{4}"],["(?:69(?:2\\d\\d|3(?:[06][0-6]|1[0-3]|2[0-2]|3[0-39]|4\\d|5[0-5]|7[0-37]|8[0-8]|9[0-479]))|7092[0-3])\\d{4}"],["80\\d{7}"],["89[1-37-9]\\d{6}"],0,0,0,0,["9(?:399[0-3]|479[0-6]|76(?:2[278]|3[0-37]))\\d{4}"],["8(?:1[019]|2[0156]|84|90)\\d{6}"]]],RO:["40","00","(?:[236-8]\\d|90)\\d{7}|[23]\\d{5}",[6,9],[["(\\d{3})(\\d{3})","$1 $2",["2[3-6]","2[3-6]\\d9"],"0$1"],["(\\d{2})(\\d{4})","$1 $2",["219|31"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[23]1"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[236-9]"],"0$1"]],"0",0,0,0,0,0,0,0," int "],RS:["381","00","38[02-9]\\d{6,9}|6\\d{7,9}|90\\d{4,8}|38\\d{5,6}|(?:7\\d\\d|800)\\d{3,9}|(?:[12]\\d|3[0-79])\\d{5,10}",[6,7,8,9,10,11,12],[["(\\d{3})(\\d{3,9})","$1 $2",["(?:2[389]|39)0|[7-9]"],"0$1"],["(\\d{2})(\\d{5,10})","$1 $2",["[1-36]"],"0$1"]],"0"],RU:["7","810","8\\d{13}|[347-9]\\d{9}",[10,14],[["(\\d{4})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-8]|2[1-9])","7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:1[23]|[2-9]2))","7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:13[03-69]|62[013-9]))|72[1-57-9]2"],"8 ($1)",1],["(\\d{5})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-68]|2[1-9])","7(?:1(?:[06][3-6]|[18]|2[35]|[3-5][3-5])|2(?:[13][3-5]|[24-689]|7[457]))","7(?:1(?:0(?:[356]|4[023])|[18]|2(?:3[013-9]|5)|3[45]|43[013-79]|5(?:3[1-8]|4[1-7]|5)|6(?:3[0-35-9]|[4-6]))|2(?:1(?:3[178]|[45])|[24-689]|3[35]|7[457]))|7(?:14|23)4[0-8]|71(?:33|45)[1-79]"],"8 ($1)",1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"8 ($1)",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[349]|8(?:[02-7]|1[1-8])"],"8 ($1)",1],["(\\d{4})(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3 $4",["8"],"8 ($1)"]],"8",0,0,0,0,0,[["336(?:[013-9]\\d|2[013-9])\\d{5}|(?:3(?:0[12]|4[1-35-79]|5[1-3]|65|8[1-58]|9[0145])|4(?:01|1[1356]|2[13467]|7[1-5]|8[1-7]|9[1-689])|8(?:1[1-8]|2[01]|3[13-6]|4[0-8]|5[15-7]|6[0-35-79]|7[1-37-9]))\\d{7}",[10]],["9\\d{9}",[10]],["8(?:0[04]|108\\d{3})\\d{7}"],["80[39]\\d{7}",[10]],["808\\d{7}",[10]]],"8~10"],RW:["250","00","(?:06|[27]\\d\\d|[89]00)\\d{6}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["0"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[7-9]"],"0$1"]],"0"],SA:["966","00","(?:[15]\\d|800|92)\\d{7}",[9,10],[["(\\d{4})(\\d{5})","$1 $2",["9"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["5"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]]],"0"],SB:["677","0[01]","[6-9]\\d{6}|[1-6]\\d{4}",[5,7],[["(\\d{2})(\\d{5})","$1 $2",["6[89]|7|8[4-9]|9(?:[1-8]|9[0-8])"]]]],SC:["248","010|0[0-2]","(?:[2489]\\d|64)\\d{5}",[7],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[246]|9[57]"]]],0,0,0,0,0,0,0,"00"],SD:["249","00","[19]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[19]"],"0$1"]],"0"],SE:["46","00","(?:[26]\\d\\d|9)\\d{9}|[1-9]\\d{8}|[1-689]\\d{7}|[1-4689]\\d{6}|2\\d{5}",[6,7,8,9,10,12],[["(\\d{2})(\\d{2,3})(\\d{2})","$1-$2 $3",["20"],"0$1",0,"$1 $2 $3"],["(\\d{3})(\\d{4})","$1-$2",["9(?:00|39|44|9)"],"0$1",0,"$1 $2"],["(\\d{2})(\\d{3})(\\d{2})","$1-$2 $3",["[12][136]|3[356]|4[0246]|6[03]|90[1-9]"],"0$1",0,"$1 $2 $3"],["(\\d)(\\d{2,3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["8"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2,3})(\\d{2})","$1-$2 $3",["1[2457]|2(?:[247-9]|5[0138])|3[0247-9]|4[1357-9]|5[0-35-9]|6(?:[125689]|4[02-57]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"],"0$1",0,"$1 $2 $3"],["(\\d{3})(\\d{2,3})(\\d{3})","$1-$2 $3",["9(?:00|39|44)"],"0$1",0,"$1 $2 $3"],["(\\d{2})(\\d{2,3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["1[13689]|2[0136]|3[1356]|4[0246]|54|6[03]|90[1-9]"],"0$1",0,"$1 $2 $3 $4"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["10|7"],"0$1",0,"$1 $2 $3 $4"],["(\\d)(\\d{3})(\\d{3})(\\d{2})","$1-$2 $3 $4",["8"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1-$2 $3 $4",["[13-5]|2(?:[247-9]|5[0138])|6(?:[124-689]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{2})(\\d{3})","$1-$2 $3 $4",["9"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1-$2 $3 $4 $5",["[26]"],"0$1",0,"$1 $2 $3 $4 $5"]],"0"],SG:["65","0[0-3]\\d","(?:(?:1\\d|8)\\d\\d|7000)\\d{7}|[3689]\\d{7}",[8,10,11],[["(\\d{4})(\\d{4})","$1 $2",["[369]|8(?:0[1-9]|[1-9])"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]],["(\\d{4})(\\d{4})(\\d{3})","$1 $2 $3",["7"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]]],SH:["290","00","(?:[256]\\d|8)\\d{3}",[4,5],0,0,0,0,0,0,"[256]"],SI:["386","00|10(?:22|66|88|99)","[1-7]\\d{7}|8\\d{4,7}|90\\d{4,6}",[5,6,7,8],[["(\\d{2})(\\d{3,6})","$1 $2",["8[09]|9"],"0$1"],["(\\d{3})(\\d{5})","$1 $2",["59|8"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[37][01]|4[0139]|51|6"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-57]"],"(0$1)"]],"0",0,0,0,0,0,0,"00"],SJ:["47","00","0\\d{4}|(?:[489]\\d|79)\\d{6}",[5,8],0,0,0,0,0,0,"79"],SK:["421","00","[2-689]\\d{8}|[2-59]\\d{6}|[2-5]\\d{5}",[6,7,9],[["(\\d)(\\d{2})(\\d{3,4})","$1 $2 $3",["21"],"0$1"],["(\\d{2})(\\d{2})(\\d{2,3})","$1 $2 $3",["[3-5][1-8]1","[3-5][1-8]1[67]"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{2})","$1/$2 $3 $4",["2"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[689]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1/$2 $3 $4",["[3-5]"],"0$1"]],"0"],SL:["232","00","(?:[237-9]\\d|66)\\d{6}",[8],[["(\\d{2})(\\d{6})","$1 $2",["[236-9]"],"(0$1)"]],"0"],SM:["378","00","(?:0549|[5-7]\\d)\\d{6}",[8,10],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-7]"]],["(\\d{4})(\\d{6})","$1 $2",["0"]]],0,0,"([89]\\d{5})$","0549$1"],SN:["221","00","(?:[378]\\d|93)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[379]"]]]],SO:["252","00","[346-9]\\d{8}|[12679]\\d{7}|[1-5]\\d{6}|[1348]\\d{5}",[6,7,8,9],[["(\\d{2})(\\d{4})","$1 $2",["8[125]"]],["(\\d{6})","$1",["[134]"]],["(\\d)(\\d{6})","$1 $2",["[15]|2[0-79]|3[0-46-8]|4[0-7]"]],["(\\d)(\\d{7})","$1 $2",["(?:2|90)4|[67]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[348]|64|79|90"]],["(\\d{2})(\\d{5,7})","$1 $2",["1|28|6[0-35-9]|7[67]|9[2-9]"]]],"0"],SR:["597","00","(?:[2-5]|[6-8]\\d|90)\\d{5}",[6,7],[["(\\d{2})(\\d{2})(\\d{2})","$1-$2-$3",["56"]],["(\\d{3})(\\d{3})","$1-$2",["[2-5]"]],["(\\d{3})(\\d{4})","$1-$2",["[6-9]"]]]],SS:["211","00","[19]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[19]"],"0$1"]],"0"],ST:["239","00","(?:22|9\\d)\\d{5}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[29]"]]]],SV:["503","00","[25-7]\\d{7}|(?:80\\d|900)\\d{4}(?:\\d{4})?",[7,8,11],[["(\\d{3})(\\d{4})","$1 $2",["[89]"]],["(\\d{4})(\\d{4})","$1 $2",["[25-7]"]],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[89]"]]]],SX:["1","011","7215\\d{6}|(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"(5\\d{6})$|1","721$1",0,"721"],SY:["963","00","[1-359]\\d{8}|[1-5]\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-4]|5[1-3]"],"0$1",1],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[59]"],"0$1",1]],"0"],SZ:["268","00","0800\\d{4}|(?:[237]\\d|900)\\d{6}",[8,9],[["(\\d{4})(\\d{4})","$1 $2",["[0237]"]],["(\\d{5})(\\d{4})","$1 $2",["9"]]]],TA:["290","00","8\\d{3}",[4],0,0,0,0,0,0,"8"],TC:["1","011","(?:[58]\\d\\d|649|900)\\d{7}",[10],0,"1",0,"([2-479]\\d{6})$|1","649$1",0,"649"],TD:["235","00|16","(?:22|30|[689]\\d|77)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[236-9]"]]],0,0,0,0,0,0,0,"00"],TG:["228","00","[279]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[279]"]]]],TH:["66","00[1-9]","(?:001800|[2-57]|[689]\\d)\\d{7}|1\\d{7,9}",[8,9,10,13],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[13-9]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0"],TJ:["992","810","(?:[0-57-9]\\d|66)\\d{7}",[9],[["(\\d{6})(\\d)(\\d{2})","$1 $2 $3",["331","3317"]],["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["44[02-479]|[34]7"]],["(\\d{4})(\\d)(\\d{4})","$1 $2 $3",["3(?:[1245]|3[12])"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["\\d"]]],0,0,0,0,0,0,0,"8~10"],TK:["690","00","[2-47]\\d{3,6}",[4,5,6,7]],TL:["670","00","7\\d{7}|(?:[2-47]\\d|[89]0)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["[2-489]|70"]],["(\\d{4})(\\d{4})","$1 $2",["7"]]]],TM:["993","810","(?:[1-6]\\d|71)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2-$3-$4",["12"],"(8 $1)"],["(\\d{3})(\\d)(\\d{2})(\\d{2})","$1 $2-$3-$4",["[1-5]"],"(8 $1)"],["(\\d{2})(\\d{6})","$1 $2",["[67]"],"8 $1"]],"8",0,0,0,0,0,0,"8~10"],TN:["216","00","[2-57-9]\\d{7}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-57-9]"]]]],TO:["676","00","(?:0800|(?:[5-8]\\d\\d|999)\\d)\\d{3}|[2-8]\\d{4}",[5,7],[["(\\d{2})(\\d{3})","$1-$2",["[2-4]|50|6[09]|7[0-24-69]|8[05]"]],["(\\d{4})(\\d{3})","$1 $2",["0"]],["(\\d{3})(\\d{4})","$1 $2",["[5-9]"]]]],TR:["90","00","4\\d{6}|8\\d{11,12}|(?:[2-58]\\d\\d|900)\\d{7}",[7,10,12,13],[["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["512|8[01589]|90"],"0$1",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["5(?:[0-59]|61)","5(?:[0-59]|61[06])","5(?:[0-59]|61[06]1)"],"0$1",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24][1-8]|3[1-9]"],"(0$1)",1],["(\\d{3})(\\d{3})(\\d{6,7})","$1 $2 $3",["80"],"0$1",1]],"0"],TT:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-46-8]\\d{6})$|1","868$1",0,"868"],TV:["688","00","(?:2|7\\d\\d|90)\\d{4}",[5,6,7],[["(\\d{2})(\\d{3})","$1 $2",["2"]],["(\\d{2})(\\d{4})","$1 $2",["90"]],["(\\d{2})(\\d{5})","$1 $2",["7"]]]],TW:["886","0(?:0[25-79]|19)","[2-689]\\d{8}|7\\d{9,10}|[2-8]\\d{7}|2\\d{6}",[7,8,9,10,11],[["(\\d{2})(\\d)(\\d{4})","$1 $2 $3",["202"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[258]0"],"0$1"],["(\\d)(\\d{3,4})(\\d{4})","$1 $2 $3",["[23568]|4(?:0[02-48]|[1-47-9])|7[1-9]","[23568]|4(?:0[2-48]|[1-47-9])|(?:400|7)[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[49]"],"0$1"],["(\\d{2})(\\d{4})(\\d{4,5})","$1 $2 $3",["7"],"0$1"]],"0",0,0,0,0,0,0,0,"#"],TZ:["255","00[056]","(?:[25-8]\\d|41|90)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[24]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["5"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[67]"],"0$1"]],"0"],UA:["380","00","[89]\\d{9}|[3-9]\\d{8}",[9,10],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6[12][29]|(?:3[1-8]|4[136-8]|5[12457]|6[49])2|(?:56|65)[24]","6[12][29]|(?:35|4[1378]|5[12457]|6[49])2|(?:56|65)[24]|(?:3[1-46-8]|46)2[013-9]"],"0$1"],["(\\d{4})(\\d{5})","$1 $2",["3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6[0135689]|7[4-6])|6(?:[12][3-7]|[459])","3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6(?:[015689]|3[02389])|7[4-6])|6(?:[12][3-7]|[459])"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[3-7]|89|9[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[89]"],"0$1"]],"0",0,0,0,0,0,0,"0~0"],UG:["256","00[057]","800\\d{6}|(?:[29]0|[347]\\d)\\d{7}",[9],[["(\\d{4})(\\d{5})","$1 $2",["202","2024"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["[27-9]|4(?:6[45]|[7-9])"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["[34]"],"0$1"]],"0"],US:["1","011","[2-9]\\d{9}|3\\d{6}",[10],[["(\\d{3})(\\d{4})","$1-$2",["310"],0,1],["(\\d{3})(\\d{3})(\\d{4})","($1) $2-$3",["[2-9]"],0,1,"$1-$2-$3"]],"1",0,0,0,0,0,[["(?:2742|(?:472|983)[2-47-9])\\d{6}|(?:2(?:0[1-35-9]|1[02-9]|2[03-57-9]|3[1459]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-57-9]|1[02-9]|2[013-79]|3[0-24679]|4[167]|5[0-3]|6[01349]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[349]|7[0589]|8[04])|5(?:0[1-57-9]|1[0235-8]|20|3[0149]|4[01]|5[179]|6[1-47]|7[0-5]|8[0256])|6(?:0[1-35-9]|1[024-9]|2[03689]|3[016]|4[0156]|5[01679]|6[0-279]|78|8[0-269])|7(?:0[1-46-8]|1[2-9]|2[04-8]|3[0-247]|4[0378]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[0168]|3[0-2589]|4[03578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[0146-8]|4[01357-9]|5[12469]|7[0-3589]|8[04-69]))[2-9]\\d{6}"],[""],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}"]]],UY:["598","0(?:0|1[3-9]\\d)","0004\\d{2,9}|[1249]\\d{7}|2\\d{3,4}|(?:[49]\\d|80)\\d{5}",[4,5,6,7,8,9,10,11,12,13],[["(\\d{4,5})","$1",["21"]],["(\\d{3})(\\d{3,4})","$1 $2",["0"]],["(\\d{3})(\\d{4})","$1 $2",["[49]0|8"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1"],["(\\d{4})(\\d{4})","$1 $2",["[124]"]],["(\\d{3})(\\d{3})(\\d{2,4})","$1 $2 $3",["0"]],["(\\d{3})(\\d{3})(\\d{3})(\\d{2,4})","$1 $2 $3 $4",["0"]]],"0",0,0,0,0,0,0,"00"," int. "],UZ:["998","00","(?:20|33|[5-9]\\d)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[235-9]"]]]],VA:["39","00","0\\d{5,10}|3[0-8]\\d{7,10}|55\\d{8}|8\\d{5}(?:\\d{2,4})?|(?:1\\d|39)\\d{7,8}",[6,7,8,9,10,11,12],0,0,0,0,0,0,"06698"],VC:["1","011","(?:[58]\\d\\d|784|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","784$1",0,"784"],VE:["58","00","[68]00\\d{7}|(?:[24]\\d|[59]0)\\d{8}",[10],[["(\\d{3})(\\d{7})","$1-$2",["[24-689]"],"0$1"]],"0"],VG:["1","011","(?:284|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-578]\\d{6})$|1","284$1",0,"284"],VI:["1","011","[58]\\d{9}|(?:34|90)0\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","340$1",0,"340"],VN:["84","00","[12]\\d{9}|[135-9]\\d{8}|[16]\\d{7}|[16-8]\\d{6}",[7,8,9,10],[["(\\d{2})(\\d{5})","$1 $2",["80"],"0$1",1],["(\\d{4})(\\d{4,6})","$1 $2",["1"],0,1],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["6"],"0$1",1],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[357-9]"],"0$1",1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["2[48]"],"0$1",1],["(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3",["2"],"0$1",1]],"0"],VU:["678","00","[57-9]\\d{6}|(?:[238]\\d|48)\\d{3}",[5,7],[["(\\d{3})(\\d{4})","$1 $2",["[57-9]"]]]],WF:["681","00","(?:40|72|8\\d{4})\\d{4}|[89]\\d{5}",[6,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[47-9]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]]]],WS:["685","0","(?:[2-6]|8\\d{5})\\d{4}|[78]\\d{6}|[68]\\d{5}",[5,6,7,10],[["(\\d{5})","$1",["[2-5]|6[1-9]"]],["(\\d{3})(\\d{3,7})","$1 $2",["[68]"]],["(\\d{2})(\\d{5})","$1 $2",["7"]]]],XK:["383","00","2\\d{7,8}|3\\d{7,11}|(?:4\\d\\d|[89]00)\\d{5}",[8,9,10,11,12],[["(\\d{3})(\\d{5})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-4]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2|39"],"0$1"],["(\\d{2})(\\d{7,10})","$1 $2",["3"],"0$1"]],"0"],YE:["967","00","(?:1|7\\d)\\d{7}|[1-7]\\d{6}",[7,8,9],[["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-6]|7(?:[24-6]|8[0-7])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["7"],"0$1"]],"0"],YT:["262","00","7093\\d{5}|(?:80|9\\d)\\d{7}|(?:26|63)9\\d{6}",[9],0,"0",0,0,0,0,0,[["269(?:0[0-467]|15|5[0-4]|6\\d|[78]0)\\d{4}"],["(?:639(?:0[0-79]|1[019]|[267]\\d|3[09]|40|5[05-9]|9[04-79])|7093[5-7])\\d{4}"],["80\\d{7}"],0,0,0,0,0,["9(?:(?:39|47)8[01]|769\\d)\\d{4}"]]],ZA:["27","00","[1-79]\\d{8}|8\\d{4,9}",[5,6,7,8,9,10],[["(\\d{2})(\\d{3,4})","$1 $2",["8[1-4]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["8[1-4]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["860"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"]],"0"],ZM:["260","00","800\\d{6}|(?:21|[579]\\d|63)\\d{7}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[28]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["[579]"],"0$1"]],"0"],ZW:["263","00","2(?:[0-57-9]\\d{6,8}|6[0-24-9]\\d{6,7})|[38]\\d{9}|[35-8]\\d{8}|[3-6]\\d{7}|[1-689]\\d{6}|[1-3569]\\d{5}|[1356]\\d{4}",[5,6,7,8,9,10],[["(\\d{3})(\\d{3,5})","$1 $2",["2(?:0[45]|2[278]|[49]8)|3(?:[09]8|17)|6(?:[29]8|37|75)|[23][78]|(?:33|5[15]|6[68])[78]"],"0$1"],["(\\d)(\\d{3})(\\d{2,4})","$1 $2 $3",["[49]"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["80"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["24|8[13-59]|(?:2[05-79]|39|5[45]|6[15-8])2","2(?:02[014]|4|[56]20|[79]2)|392|5(?:42|525)|6(?:[16-8]21|52[013])|8[13-59]"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["2(?:1[39]|2[0157]|[378]|[56][14])|3(?:12|29)","2(?:1[39]|2[0157]|[378]|[56][14])|3(?:123|29)"],"0$1"],["(\\d{4})(\\d{6})","$1 $2",["8"],"0$1"],["(\\d{2})(\\d{3,5})","$1 $2",["1|2(?:0[0-36-9]|12|29|[56])|3(?:1[0-689]|[24-6])|5(?:[0236-9]|1[2-4])|6(?:[013-59]|7[0-46-9])|(?:33|55|6[68])[0-69]|(?:29|3[09]|62)[0-79]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["29[013-9]|39|54"],"0$1"],["(\\d{4})(\\d{3,5})","$1 $2",["(?:25|54)8","258|5483"],"0$1"]],"0"]},nonGeographic:{800:["800",0,"(?:00|[1-9]\\d)\\d{6}",[8],[["(\\d{4})(\\d{4})","$1 $2",["\\d"]]],0,0,0,0,0,0,[0,0,["(?:00|[1-9]\\d)\\d{6}"]]],808:["808",0,"[1-9]\\d{7}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[1-9]"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,0,["[1-9]\\d{7}"]]],870:["870",0,"7\\d{11}|[235-7]\\d{8}",[9,12],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235-7]"]]],0,0,0,0,0,0,[0,["(?:[356]|774[45])\\d{8}|7[6-8]\\d{7}"],0,0,0,0,0,0,["2\\d{8}",[9]]]],878:["878",0,"10\\d{10}",[12],[["(\\d{2})(\\d{5})(\\d{5})","$1 $2 $3",["1"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,["10\\d{10}"]]],881:["881",0,"6\\d{9}|[0-36-9]\\d{8}",[9,10],[["(\\d)(\\d{3})(\\d{5})","$1 $2 $3",["[0-37-9]"]],["(\\d)(\\d{3})(\\d{5,6})","$1 $2 $3",["6"]]],0,0,0,0,0,0,[0,["6\\d{9}|[0-36-9]\\d{8}"]]],882:["882",0,"[13]\\d{6}(?:\\d{2,5})?|[19]\\d{7}|(?:[25]\\d\\d|4)\\d{7}(?:\\d{2})?",[7,8,9,10,11,12],[["(\\d{2})(\\d{5})","$1 $2",["16|342"]],["(\\d{2})(\\d{6})","$1 $2",["49"]],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["1[36]|9"]],["(\\d{2})(\\d{4})(\\d{3})","$1 $2 $3",["3[23]"]],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["16"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["10|23|3(?:[15]|4[57])|4|51"]],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["34"]],["(\\d{2})(\\d{4,5})(\\d{5})","$1 $2 $3",["[1-35]"]]],0,0,0,0,0,0,[0,["342\\d{4}|(?:337|49)\\d{6}|(?:3(?:2|47|7\\d{3})|50\\d{3})\\d{7}",[7,8,9,10,12]],0,0,0,["348[57]\\d{7}",[11]],0,0,["1(?:3(?:0[0347]|[13][0139]|2[035]|4[013568]|6[0459]|7[06]|8[15-8]|9[0689])\\d{4}|6\\d{5,10})|(?:345\\d|9[89])\\d{6}|(?:10|2(?:3|85\\d)|3(?:[15]|[69]\\d\\d)|4[15-8]|51)\\d{8}"]]],883:["883",0,"(?:[1-4]\\d|51)\\d{6,10}",[8,9,10,11,12],[["(\\d{3})(\\d{3})(\\d{2,8})","$1 $2 $3",["[14]|2[24-689]|3[02-689]|51[24-9]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["510"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["21"]],["(\\d{4})(\\d{4})(\\d{4})","$1 $2 $3",["51[13]"]],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[235]"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,["(?:2(?:00\\d\\d|10)|(?:370[1-9]|51\\d0)\\d)\\d{7}|51(?:00\\d{5}|[24-9]0\\d{4,7})|(?:1[0-79]|2[24-689]|3[02-689]|4[0-4])0\\d{5,9}"]]],888:["888",0,"\\d{11}",[11],[["(\\d{3})(\\d{3})(\\d{5})","$1 $2 $3"]],0,0,0,0,0,0,[0,0,0,0,0,0,["\\d{11}"]]],979:["979",0,"[1359]\\d{8}",[9],[["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[1359]"]]],0,0,0,0,0,0,[0,0,0,["[1359]\\d{8}"]]]}};function $t(o,t){var n=Array.prototype.slice.call(t);return n.push(vi),o.apply(this,n)}function el(o,t){o=o.split("-"),t=t.split("-");for(var n=o[0].split("."),r=t[0].split("."),a=0;a<3;a++){var i=Number(n[a]),l=Number(r[a]);if(i>l)return 1;if(l>i)return-1;if(!isNaN(i)&&isNaN(l))return 1;if(isNaN(i)&&!isNaN(l))return-1}return o[1]&&t[1]?o[1]>t[1]?1:o[1]<t[1]?-1:0:!o[1]&&t[1]?1:o[1]&&!t[1]?-1:0}var y0={}.constructor;function Xe(o){return o!=null&&o.constructor===y0}function lt(o){"@babel/helpers - typeof";return lt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},lt(o)}function mn(o,t){if(!(o instanceof t))throw new TypeError("Cannot call a class as a function")}function w0(o,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(o,C0(r.key),r)}}function hn(o,t,n){return t&&w0(o.prototype,t),Object.defineProperty(o,"prototype",{writable:!1}),o}function C0(o){var t=_0(o,"string");return lt(t)=="symbol"?t:t+""}function _0(o,t){if(lt(o)!="object"||!o)return o;var n=o[Symbol.toPrimitive];if(n!==void 0){var r=n.call(o,t);if(lt(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(o)}var x0="1.2.0",k0="1.7.35",tl=" ext. ",S0=/^\d+$/,re=(function(){function o(t){mn(this,o),rl(t),this.metadata=t,al.call(this,t)}return hn(o,[{key:"getCountries",value:function(){return Object.keys(this.metadata.countries).filter(function(n){return n!=="001"})}},{key:"getCountryMetadata",value:function(n){return this.metadata.countries[n]}},{key:"nonGeographic",value:function(){if(!(this.v1||this.v2||this.v3))return this.metadata.nonGeographic||this.metadata.nonGeographical}},{key:"hasCountry",value:function(n){return this.getCountryMetadata(n)!==void 0}},{key:"hasCallingCode",value:function(n){if(this.getCountryCodesForCallingCode(n))return!0;if(this.nonGeographic()){if(this.nonGeographic()[n])return!0}else{var r=this.countryCallingCodes()[n];if(r&&r.length===1&&r[0]==="001")return!0}}},{key:"isNonGeographicCallingCode",value:function(n){return this.nonGeographic()?!!this.nonGeographic()[n]:!this.getCountryCodesForCallingCode(n)}},{key:"country",value:function(n){return this.selectNumberingPlan(n)}},{key:"selectNumberingPlan",value:function(n,r){if(n&&S0.test(n)&&(r=n,n=null),n&&n!=="001"){if(!this.hasCountry(n))throw new Error("Unknown country: ".concat(n));this.numberingPlan=new nl(this.getCountryMetadata(n),this)}else if(r){if(!this.hasCallingCode(r))throw new Error("Unknown calling code: ".concat(r));this.numberingPlan=new nl(this.getNumberingPlanMetadata(r),this)}else this.numberingPlan=void 0;return this}},{key:"getCountryCodesForCallingCode",value:function(n){var r=this.countryCallingCodes()[n];if(r)return r.length===1&&r[0].length===3?void 0:r}},{key:"getCountryCodeForCallingCode",value:function(n){var r=this.getCountryCodesForCallingCode(n);if(r)return r[0]}},{key:"getNumberingPlanMetadata",value:function(n){var r=this.getCountryCodeForCallingCode(n);if(r)return this.getCountryMetadata(r);if(this.nonGeographic()){var a=this.nonGeographic()[n];if(a)return a}else{var i=this.countryCallingCodes()[n];if(i&&i.length===1&&i[0]==="001")return this.metadata.countries["001"]}}},{key:"countryCallingCode",value:function(){return this.numberingPlan.callingCode()}},{key:"IDDPrefix",value:function(){return this.numberingPlan.IDDPrefix()}},{key:"defaultIDDPrefix",value:function(){return this.numberingPlan.defaultIDDPrefix()}},{key:"nationalNumberPattern",value:function(){return this.numberingPlan.nationalNumberPattern()}},{key:"possibleLengths",value:function(){return this.numberingPlan.possibleLengths()}},{key:"formats",value:function(){return this.numberingPlan.formats()}},{key:"nationalPrefixForParsing",value:function(){return this.numberingPlan.nationalPrefixForParsing()}},{key:"nationalPrefixTransformRule",value:function(){return this.numberingPlan.nationalPrefixTransformRule()}},{key:"leadingDigits",value:function(){return this.numberingPlan.leadingDigits()}},{key:"hasTypes",value:function(){return this.numberingPlan.hasTypes()}},{key:"type",value:function(n){return this.numberingPlan.type(n)}},{key:"ext",value:function(){return this.numberingPlan.ext()}},{key:"countryCallingCodes",value:function(){return this.v1?this.metadata.country_phone_code_to_countries:this.metadata.country_calling_codes}},{key:"chooseCountryByCountryCallingCode",value:function(n){return this.selectNumberingPlan(n)}},{key:"hasSelectedNumberingPlan",value:function(){return this.numberingPlan!==void 0}}])})(),nl=(function(){function o(t,n){mn(this,o),this.globalMetadataObject=n,this.metadata=t,al.call(this,n.metadata)}return hn(o,[{key:"callingCode",value:function(){return this.metadata[0]}},{key:"getDefaultCountryMetadataForRegion",value:function(){return this.globalMetadataObject.getNumberingPlanMetadata(this.callingCode())}},{key:"IDDPrefix",value:function(){if(!(this.v1||this.v2))return this.metadata[1]}},{key:"defaultIDDPrefix",value:function(){if(!(this.v1||this.v2))return this.metadata[12]}},{key:"nationalNumberPattern",value:function(){return this.v1||this.v2?this.metadata[1]:this.metadata[2]}},{key:"possibleLengths",value:function(){if(!this.v1)return this.metadata[this.v2?2:3]}},{key:"_getFormats",value:function(n){return n[this.v1?2:this.v2?3:4]}},{key:"formats",value:function(){var n=this,r=this._getFormats(this.metadata)||this._getFormats(this.getDefaultCountryMetadataForRegion())||[];return r.map(function(a){return new B0(a,n)})}},{key:"nationalPrefix",value:function(){return this.metadata[this.v1?3:this.v2?4:5]}},{key:"_getNationalPrefixFormattingRule",value:function(n){return n[this.v1?4:this.v2?5:6]}},{key:"nationalPrefixFormattingRule",value:function(){return this._getNationalPrefixFormattingRule(this.metadata)||this._getNationalPrefixFormattingRule(this.getDefaultCountryMetadataForRegion())}},{key:"_nationalPrefixForParsing",value:function(){return this.metadata[this.v1?5:this.v2?6:7]}},{key:"nationalPrefixForParsing",value:function(){return this._nationalPrefixForParsing()||this.nationalPrefix()}},{key:"nationalPrefixTransformRule",value:function(){return this.metadata[this.v1?6:this.v2?7:8]}},{key:"_getNationalPrefixIsOptionalWhenFormatting",value:function(){return!!this.metadata[this.v1?7:this.v2?8:9]}},{key:"nationalPrefixIsOptionalWhenFormattingInNationalFormat",value:function(){return this._getNationalPrefixIsOptionalWhenFormatting(this.metadata)||this._getNationalPrefixIsOptionalWhenFormatting(this.getDefaultCountryMetadataForRegion())}},{key:"leadingDigits",value:function(){return this.metadata[this.v1?8:this.v2?9:10]}},{key:"types",value:function(){return this.metadata[this.v1?9:this.v2?10:11]}},{key:"hasTypes",value:function(){return this.types()&&this.types().length===0?!1:!!this.types()}},{key:"type",value:function(n){if(this.hasTypes()&&ol(this.types(),n))return new V0(ol(this.types(),n),this)}},{key:"ext",value:function(){return this.v1||this.v2?tl:this.metadata[13]||tl}}])})(),B0=(function(){function o(t,n){mn(this,o),this._format=t,this.metadata=n}return hn(o,[{key:"pattern",value:function(){return this._format[0]}},{key:"format",value:function(){return this._format[1]}},{key:"leadingDigitsPatterns",value:function(){return this._format[2]||[]}},{key:"nationalPrefixFormattingRule",value:function(){return this._format[3]||this.metadata.nationalPrefixFormattingRule()}},{key:"nationalPrefixIsOptionalWhenFormattingInNationalFormat",value:function(){return!!this._format[4]||this.metadata.nationalPrefixIsOptionalWhenFormattingInNationalFormat()}},{key:"nationalPrefixIsMandatoryWhenFormattingInNationalFormat",value:function(){return this.usesNationalPrefix()&&!this.nationalPrefixIsOptionalWhenFormattingInNationalFormat()}},{key:"usesNationalPrefix",value:function(){return!!(this.nationalPrefixFormattingRule()&&!N0.test(this.nationalPrefixFormattingRule()))}},{key:"internationalFormat",value:function(){return this._format[5]||this.format()}}])})(),N0=/^\(?\$1\)?$/,V0=(function(){function o(t,n){mn(this,o),this.type=t,this.metadata=n}return hn(o,[{key:"pattern",value:function(){return this.metadata.v1?this.type:this.type[0]}},{key:"possibleLengths",value:function(){if(!this.metadata.v1)return this.type[1]||this.metadata.possibleLengths()}}])})();function ol(o,t){switch(t){case"FIXED_LINE":return o[0];case"MOBILE":return o[1];case"TOLL_FREE":return o[2];case"PREMIUM_RATE":return o[3];case"PERSONAL_NUMBER":return o[4];case"VOICEMAIL":return o[5];case"UAN":return o[6];case"PAGER":return o[7];case"VOIP":return o[8];case"SHARED_COST":return o[9]}}function rl(o){if(!o)throw new Error("[libphonenumber-js] `metadata` argument not passed. Check your arguments.");if(!Xe(o)||!Xe(o.countries))throw new Error("[libphonenumber-js] `metadata` argument was passed but it's not a valid metadata. Must be an object having `.countries` child object property. Got ".concat(Xe(o)?"an object of shape: { "+Object.keys(o).join(", ")+" }":"a "+P0(o)+": "+o,"."))}var P0=function(t){return lt(t)};function gn(o,t){if(t=new re(t),t.hasCountry(o))return t.selectNumberingPlan(o).countryCallingCode();throw new Error("Unknown country: ".concat(o))}function I0(o,t){return t.countries.hasOwnProperty(o)}function al(o){var t=o.version;typeof t=="number"?(this.v1=t===1,this.v2=t===2,this.v3=t===3,this.v4=t===4):t?el(t,x0)===-1?this.v2=!0:el(t,k0)===-1?this.v3=!0:this.v4=!0:this.v1=!0}function yt(o,t,n){return T0(o,t,void 0,n)}function T0(o,t,n,r){t&&(r=new re(r.metadata),r.selectNumberingPlan(t));var a=r.type(n),i=a&&a.possibleLengths()||r.possibleLengths();if(!i)return"IS_POSSIBLE";var l=o.length,s=i[0];return s===l?"IS_POSSIBLE":s>l?"TOO_SHORT":i[i.length-1]<l?"TOO_LONG":i.indexOf(l,1)>=0?"IS_POSSIBLE":"INVALID_LENGTH"}function E0(o,t,n){if(t===void 0&&(t={}),n=new re(n),t.v2){if(!o.countryCallingCode)throw new Error("Invalid phone number object passed");n.selectNumberingPlan(o.countryCallingCode)}else{if(!o.phone)return!1;if(o.country){if(!n.hasCountry(o.country))throw new Error("Unknown country: ".concat(o.country));n.selectNumberingPlan(o.country)}else{if(!o.countryCallingCode)throw new Error("Invalid phone number object passed");n.selectNumberingPlan(o.countryCallingCode)}}if(n.possibleLengths())return il(o.phone||o.nationalNumber,o.country,n);if(o.countryCallingCode&&n.isNonGeographicCallingCode(o.countryCallingCode))return!0;throw new Error('Missing "possibleLengths" in metadata. Perhaps the metadata has been generated before v1.0.18.')}function il(o,t,n){return yt(o,t,n)==="IS_POSSIBLE"}function Fe(o,t){return o=o||"",new RegExp("^(?:"+t+")$").test(o)}function M0(o,t){var n=typeof Symbol<"u"&&o[Symbol.iterator]||o["@@iterator"];if(n)return(n=n.call(o)).next.bind(n);if(Array.isArray(o)||(n=D0(o))||t){n&&(o=n);var r=0;return function(){return r>=o.length?{done:!0}:{done:!1,value:o[r++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
1
+ (function(h,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue"),require("reka-ui"),require("motion-v"),require("vue-i18n"),require("vue-router"),require("temporal-polyfill")):typeof define=="function"&&define.amd?define(["exports","vue","reka-ui","motion-v","vue-i18n","vue-router","temporal-polyfill"],e):(h=typeof globalThis<"u"?globalThis:h||self,e(h["vue-core"]={},h.Vue,h.RekaUI,h.MotionV,h.VueI18n,h.VueRouter,h.Temporal))})(this,(function(h,e,S,Y,ne,Je,Be){"use strict";function Qs(o,t,n,r){function a(i){return i instanceof n?i:new n(function(l){l(i)})}return new(n||(n=Promise))(function(i,l){function s(u){try{c(r.next(u))}catch(f){l(f)}}function d(u){try{c(r.throw(u))}catch(f){l(f)}}function c(u){u.done?i(u.value):a(u.value).then(s,d)}c((r=r.apply(o,[])).next())})}typeof SuppressedError=="function"&&SuppressedError;function vs(o){return o&&o.__esModule&&Object.prototype.hasOwnProperty.call(o,"default")?o.default:o}var ed=function o(t,n){if(t===n)return!0;if(t&&n&&typeof t=="object"&&typeof n=="object"){if(t.constructor!==n.constructor)return!1;var r,a,i;if(Array.isArray(t)){if(r=t.length,r!=n.length)return!1;for(a=r;a--!==0;)if(!o(t[a],n[a]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if(i=Object.keys(t),r=i.length,r!==Object.keys(n).length)return!1;for(a=r;a--!==0;)if(!Object.prototype.hasOwnProperty.call(n,i[a]))return!1;for(a=r;a--!==0;){var l=i[a];if(!o(t[l],n[l]))return!1}return!0}return t!==t&&n!==n},td=vs(ed);const Xo="__googleMapsScriptId";var Qe;(function(o){o[o.INITIALIZED=0]="INITIALIZED",o[o.LOADING=1]="LOADING",o[o.SUCCESS=2]="SUCCESS",o[o.FAILURE=3]="FAILURE"})(Qe||(Qe={}));class We{constructor({apiKey:t,authReferrerPolicy:n,channel:r,client:a,id:i=Xo,language:l,libraries:s=[],mapIds:d,nonce:c,region:u,retries:f=3,url:p="https://maps.googleapis.com/maps/api/js",version:$}){if(this.callbacks=[],this.done=!1,this.loading=!1,this.errors=[],this.apiKey=t,this.authReferrerPolicy=n,this.channel=r,this.client=a,this.id=i||Xo,this.language=l,this.libraries=s,this.mapIds=d,this.nonce=c,this.region=u,this.retries=f,this.url=p,this.version=$,We.instance){if(!td(this.options,We.instance.options))throw new Error(`Loader must not be called again with different options. ${JSON.stringify(this.options)} !== ${JSON.stringify(We.instance.options)}`);return We.instance}We.instance=this}get options(){return{version:this.version,apiKey:this.apiKey,channel:this.channel,client:this.client,id:this.id,libraries:this.libraries,language:this.language,region:this.region,mapIds:this.mapIds,nonce:this.nonce,url:this.url,authReferrerPolicy:this.authReferrerPolicy}}get status(){return this.errors.length?Qe.FAILURE:this.done?Qe.SUCCESS:this.loading?Qe.LOADING:Qe.INITIALIZED}get failed(){return this.done&&!this.loading&&this.errors.length>=this.retries+1}createUrl(){let t=this.url;return t+="?callback=__googleMapsCallback&loading=async",this.apiKey&&(t+=`&key=${this.apiKey}`),this.channel&&(t+=`&channel=${this.channel}`),this.client&&(t+=`&client=${this.client}`),this.libraries.length>0&&(t+=`&libraries=${this.libraries.join(",")}`),this.language&&(t+=`&language=${this.language}`),this.region&&(t+=`&region=${this.region}`),this.version&&(t+=`&v=${this.version}`),this.mapIds&&(t+=`&map_ids=${this.mapIds.join(",")}`),this.authReferrerPolicy&&(t+=`&auth_referrer_policy=${this.authReferrerPolicy}`),t}deleteScript(){const t=document.getElementById(this.id);t&&t.remove()}load(){return this.loadPromise()}loadPromise(){return new Promise((t,n)=>{this.loadCallback(r=>{r?n(r.error):t(window.google)})})}importLibrary(t){return this.execute(),google.maps.importLibrary(t)}loadCallback(t){this.callbacks.push(t),this.execute()}setScript(){var t,n;if(document.getElementById(this.id)){this.callback();return}const r={key:this.apiKey,channel:this.channel,client:this.client,libraries:this.libraries.length&&this.libraries,v:this.version,mapIds:this.mapIds,language:this.language,region:this.region,authReferrerPolicy:this.authReferrerPolicy};Object.keys(r).forEach(i=>!r[i]&&delete r[i]),!((n=(t=window?.google)===null||t===void 0?void 0:t.maps)===null||n===void 0)&&n.importLibrary||(i=>{let l,s,d,c="The Google Maps JavaScript API",u="google",f="importLibrary",p="__ib__",$=document,C=window;C=C[u]||(C[u]={});const y=C.maps||(C.maps={}),m=new Set,w=new URLSearchParams,k=()=>l||(l=new Promise((g,B)=>Qs(this,void 0,void 0,function*(){var N;yield s=$.createElement("script"),s.id=this.id,w.set("libraries",[...m]+"");for(d in i)w.set(d.replace(/[A-Z]/g,F=>"_"+F[0].toLowerCase()),i[d]);w.set("callback",u+".maps."+p),s.src=this.url+"?"+w,y[p]=g,s.onerror=()=>l=B(Error(c+" could not load.")),s.nonce=this.nonce||((N=$.querySelector("script[nonce]"))===null||N===void 0?void 0:N.nonce)||"",$.head.append(s)})));y[f]?console.warn(c+" only loads once. Ignoring:",i):y[f]=(g,...B)=>m.add(g)&&k().then(()=>y[f](g,...B))})(r);const a=this.libraries.map(i=>this.importLibrary(i));a.length||a.push(this.importLibrary("core")),Promise.all(a).then(()=>this.callback(),i=>{const l=new ErrorEvent("error",{error:i});this.loadErrorCallback(l)})}reset(){this.deleteScript(),this.done=!1,this.loading=!1,this.errors=[],this.onerrorEvent=null}resetIfRetryingFailed(){this.failed&&this.reset()}loadErrorCallback(t){if(this.errors.push(t),this.errors.length<=this.retries){const n=this.errors.length*Math.pow(2,this.errors.length);console.error(`Failed to load Google Maps script, retrying in ${n} ms.`),setTimeout(()=>{this.deleteScript(),this.setScript()},n)}else this.onerrorEvent=t,this.callback()}callback(){this.done=!0,this.loading=!1,this.callbacks.forEach(t=>{t(this.onerrorEvent)}),this.callbacks=[]}execute(){if(this.resetIfRetryingFailed(),!this.loading)if(this.done)this.callback();else{if(window.google&&window.google.maps&&window.google.maps.version){console.warn("Google Maps already loaded outside @googlemaps/js-api-loader. This may result in undesirable behavior as options and script parameters may not match."),this.callback();return}this.loading=!0,this.setScript()}}}function ve(o,t){return o.find(n=>n.types[0]===t)??null}async function nd(o){const t=new google.maps.places.Place({id:o});await t.fetchFields({fields:["addressComponents","location"]});const n=t.location?.lat()??null,r=t.location?.lng()??null;return{placeId:t.id??null,bus:ve(t.addressComponents??[],"subpremise")?.longText??"",city:ve(t.addressComponents??[],"locality")?.longText??"",coordinates:{lat:n,lng:r},country:ve(t.addressComponents??[],"country")?.shortText??"",postalCode:ve(t.addressComponents??[],"postal_code")?.longText??"",street:ve(t.addressComponents??[],"route")?.longText??"",streetNumber:ve(t.addressComponents??[],"street_number")?.longText??""}}function od(o){const t=[],n=[];return o.street!==""&&t.push(o.street),o.streetNumber!==""&&t.push(o.streetNumber),o.bus!==""&&t.push(o.bus),o.postalCode!==""&&n.push(o.postalCode),o.city!==""&&n.push(o.city),{placeId:"",mainText:t.join(" "),secondaryText:n.join(" ")}}function rd(o){const t=[];return o.mainText!==""&&t.push(o.mainText),o.secondaryText!==""&&t.push(o.secondaryText),t.join(", ")}function Nn(o,t){return e.getCurrentScope()?(e.onScopeDispose(o,t),!0):!1}function Zo(){const o=new Set,t=i=>{o.delete(i)};return{on:i=>{o.add(i);const l=()=>t(i);return Nn(l),{off:l}},off:t,trigger:(...i)=>Promise.all(Array.from(o).map(l=>l(...i))),clear:()=>{o.clear()}}}const Vn=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const ad=Object.prototype.toString,id=o=>ad.call(o)==="[object Object]",Pn=()=>{},ld=(o,t)=>Object.prototype.hasOwnProperty.call(o,t);function In(...o){if(o.length!==1)return e.toRef(...o);const t=o[0];return typeof t=="function"?e.readonly(e.customRef(()=>({get:t,set:Pn}))):e.ref(t)}function Jo(o,t){function n(...r){return new Promise((a,i)=>{Promise.resolve(o(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(a).catch(i)})}return n}const Qo=o=>o();function sd(o,t={}){let n,r,a=Pn;const i=d=>{clearTimeout(d),a(),a=Pn};let l;return d=>{const c=e.toValue(o),u=e.toValue(t.maxWait);return n&&i(n),c<=0||u!==void 0&&u<=0?(r&&(i(r),r=void 0),Promise.resolve(d())):new Promise((f,p)=>{a=t.rejectOnCancel?p:f,l=d,u&&!r&&(r=setTimeout(()=>{n&&i(n),r=void 0,f(l())},u)),n=setTimeout(()=>{r&&i(r),r=void 0,f(d())},c)})}}function dd(o=Qo,t={}){const{initialState:n="active"}=t,r=In(n==="active");function a(){r.value=!1}function i(){r.value=!0}const l=(...s)=>{r.value&&o(...s)};return{isActive:e.readonly(r),pause:a,resume:i,eventFilter:l}}function At(o){return Array.isArray(o)?o:[o]}function cd(o){return e.getCurrentInstance()}function ud(o,t=200,n={}){return Jo(sd(t,n),o)}function fd(o,t,n={}){const{eventFilter:r=Qo,...a}=n;return e.watch(o,Jo(r,t),a)}function pd(o,t,n={}){const{eventFilter:r,initialState:a="active",...i}=n,{eventFilter:l,pause:s,resume:d,isActive:c}=dd(r,{initialState:a});return{stop:fd(o,t,{...i,eventFilter:l}),pause:s,resume:d,isActive:c}}const md=pd;function vo(o,t=!0,n){cd()?e.onMounted(o,n):t?o():e.nextTick(o)}function hd(o,t,n){return e.watch(o,t,{...n,immediate:!0})}const Te=Vn?window:void 0,gd=Vn?window.document:void 0;function Ae(o){var t;const n=e.toValue(o);return(t=n?.$el)!==null&&t!==void 0?t:n}function Ne(...o){const t=(r,a,i,l)=>(r.addEventListener(a,i,l),()=>r.removeEventListener(a,i,l)),n=e.computed(()=>{const r=At(e.toValue(o[0])).filter(a=>a!=null);return r.every(a=>typeof a!="string")?r:void 0});return hd(()=>{var r,a;return[(r=(a=n.value)===null||a===void 0?void 0:a.map(i=>Ae(i)))!==null&&r!==void 0?r:[Te].filter(i=>i!=null),At(e.toValue(n.value?o[1]:o[0])),At(e.unref(n.value?o[2]:o[1])),e.toValue(n.value?o[3]:o[2])]},([r,a,i,l],s,d)=>{if(!r?.length||!a?.length||!i?.length)return;const c=id(l)?{...l}:l,u=r.flatMap(f=>a.flatMap(p=>i.map($=>t(f,p,$,c))));d(()=>{u.forEach(f=>f())})},{flush:"post"})}function bd(){const o=e.shallowRef(!1),t=e.getCurrentInstance();return t&&e.onMounted(()=>{o.value=!0},t),o}function $d(o){const t=bd();return e.computed(()=>(t.value,!!o()))}const zt=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Lt="__vueuse_ssr_handlers__",yd=wd();function wd(){return Lt in zt||(zt[Lt]=zt[Lt]||{}),zt[Lt]}function Cd(o,t){return yd[o]||t}function _d(o){return o==null?"any":o instanceof Set?"set":o instanceof Map?"map":o instanceof Date?"date":typeof o=="boolean"?"boolean":typeof o=="string"?"string":typeof o=="object"?"object":Number.isNaN(o)?"any":"number"}const xd={boolean:{read:o=>o==="true",write:o=>String(o)},object:{read:o=>JSON.parse(o),write:o=>JSON.stringify(o)},number:{read:o=>Number.parseFloat(o),write:o=>String(o)},any:{read:o=>o,write:o=>String(o)},string:{read:o=>o,write:o=>String(o)},map:{read:o=>new Map(JSON.parse(o)),write:o=>JSON.stringify(Array.from(o.entries()))},set:{read:o=>new Set(JSON.parse(o)),write:o=>JSON.stringify(Array.from(o))},date:{read:o=>new Date(o),write:o=>o.toISOString()}},er="vueuse-storage";function kd(o,t,n,r={}){var a;const{flush:i="pre",deep:l=!0,listenToStorageChanges:s=!0,writeDefaults:d=!0,mergeDefaults:c=!1,shallow:u,window:f=Te,eventFilter:p,onError:$=P=>{console.error(P)},initOnMounted:C}=r,y=(u?e.shallowRef:e.ref)(typeof t=="function"?t():t),m=e.computed(()=>e.toValue(o));if(!n)try{n=Cd("getDefaultStorage",()=>Te?.localStorage)()}catch(P){$(P)}if(!n)return y;const w=e.toValue(t),k=_d(w),g=(a=r.serializer)!==null&&a!==void 0?a:xd[k],{pause:B,resume:N}=md(y,P=>$e(P),{flush:i,deep:l,eventFilter:p});e.watch(m,()=>ie(),{flush:i});let F=!1;const W=P=>{C&&!F||ie(P)},E=P=>{C&&!F||Ce(P)};f&&s&&(n instanceof Storage?Ne(f,"storage",W,{passive:!0}):Ne(f,er,E)),C?vo(()=>{F=!0,ie()}):ie();function G(P,M){if(f){const D={key:m.value,oldValue:P,newValue:M,storageArea:n};f.dispatchEvent(n instanceof Storage?new StorageEvent("storage",D):new CustomEvent(er,{detail:D}))}}function $e(P){try{const M=n.getItem(m.value);if(P==null)G(M,null),n.removeItem(m.value);else{const D=g.write(P);M!==D&&(n.setItem(m.value,D),G(M,D))}}catch(M){$(M)}}function ye(P){const M=P?P.newValue:n.getItem(m.value);if(M==null)return d&&w!=null&&n.setItem(m.value,g.write(w)),w;if(!P&&c){const D=g.read(M);return typeof c=="function"?c(D,w):k==="object"&&!Array.isArray(D)?{...w,...D}:D}else return typeof M!="string"?M:g.read(M)}function ie(P){if(!(P&&P.storageArea!==n)){if(P&&P.key==null){y.value=w;return}if(!(P&&P.key!==m.value)){B();try{const M=g.write(y.value);(P===void 0||P?.newValue!==M)&&(y.value=ye(P))}catch(M){$(M)}finally{P?e.nextTick(N):N()}}}}function Ce(P){ie(P.detail)}return y}function Sd(o,t={}){const n=e.shallowRef(!1),r=e.shallowRef(null);let a=0,i=!0;if(Vn){var l,s;const d=typeof t=="function"?{onDrop:t}:t,c=(l=d.multiple)!==null&&l!==void 0?l:!0,u=(s=d.preventDefaultForUnhandled)!==null&&s!==void 0?s:!1,f=m=>{var w,k;const g=Array.from((w=(k=m.dataTransfer)===null||k===void 0?void 0:k.files)!==null&&w!==void 0?w:[]);return g.length===0?null:c?g:[g[0]]},p=m=>{const w=e.unref(d.dataTypes);return typeof w=="function"?w(m):w?.length?m.length===0?!1:m.every(k=>w.some(g=>k.includes(g))):!0},$=m=>{if(d.checkValidity)return d.checkValidity(m);const w=p(Array.from(m??[]).map(g=>g.type)),k=c||m.length<=1;return w&&k},C=()=>/^(?:(?!chrome|android).)*safari/i.test(navigator.userAgent)&&!("chrome"in window),y=(m,w)=>{var k,g;const B=(k=m.dataTransfer)===null||k===void 0?void 0:k.items;if(i=(g=B&&$(B))!==null&&g!==void 0?g:!1,u&&m.preventDefault(),!C()&&!i){m.dataTransfer&&(m.dataTransfer.dropEffect="none");return}m.preventDefault(),m.dataTransfer&&(m.dataTransfer.dropEffect="copy");const N=f(m);switch(w){case"enter":var F;a+=1,n.value=!0,(F=d.onEnter)===null||F===void 0||F.call(d,null,m);break;case"over":var W;(W=d.onOver)===null||W===void 0||W.call(d,null,m);break;case"leave":var E;a-=1,a===0&&(n.value=!1),(E=d.onLeave)===null||E===void 0||E.call(d,null,m);break;case"drop":if(a=0,n.value=!1,i){var G;r.value=N,(G=d.onDrop)===null||G===void 0||G.call(d,N,m)}break}};Ne(o,"dragenter",m=>y(m,"enter")),Ne(o,"dragover",m=>y(m,"over")),Ne(o,"dragleave",m=>y(m,"leave")),Ne(o,"drop",m=>y(m,"drop"))}return{files:r,isOverDropZone:n}}function tr(o,t,n={}){const{window:r=Te,...a}=n;let i;const l=$d(()=>r&&"ResizeObserver"in r),s=()=>{i&&(i.disconnect(),i=void 0)},d=e.watch(e.computed(()=>{const u=e.toValue(o);return Array.isArray(u)?u.map(f=>Ae(f)):[Ae(u)]}),u=>{if(s(),l.value&&r){i=new ResizeObserver(t);for(const f of u)f&&i.observe(f,a)}},{immediate:!0,flush:"post"}),c=()=>{s(),d()};return Nn(c),{isSupported:l,stop:c}}function nr(o,t={width:0,height:0},n={}){const{window:r=Te,box:a="content-box"}=n,i=e.computed(()=>{var f;return(f=Ae(o))===null||f===void 0||(f=f.namespaceURI)===null||f===void 0?void 0:f.includes("svg")}),l=e.shallowRef(t.width),s=e.shallowRef(t.height),{stop:d}=tr(o,([f])=>{const p=a==="border-box"?f.borderBoxSize:a==="content-box"?f.contentBoxSize:f.devicePixelContentBoxSize;if(r&&i.value){const $=Ae(o);if($){const C=$.getBoundingClientRect();l.value=C.width,s.value=C.height}}else if(p){const $=At(p);l.value=$.reduce((C,{inlineSize:y})=>C+y,0),s.value=$.reduce((C,{blockSize:y})=>C+y,0)}else l.value=f.contentRect.width,s.value=f.contentRect.height},n);vo(()=>{const f=Ae(o);f&&(l.value="offsetWidth"in f?f.offsetWidth:t.width,s.value="offsetHeight"in f?f.offsetHeight:t.height)});const c=e.watch(()=>Ae(o),f=>{l.value=f?t.width:0,s.value=f?t.height:0});function u(){d(),c()}return{width:l,height:s,stop:u}}const Bd={multiple:!0,accept:"*",reset:!1,directory:!1};function Nd(o){if(!o)return null;if(o instanceof FileList)return o;const t=new DataTransfer;for(const n of o)t.items.add(n);return t.files}function or(o={}){const{document:t=gd}=o,n=e.ref(Nd(o.initialFiles)),{on:r,trigger:a}=Zo(),{on:i,trigger:l}=Zo(),s=e.computed(()=>{var f;const p=(f=Ae(o.input))!==null&&f!==void 0?f:t?t.createElement("input"):void 0;return p&&(p.type="file",p.onchange=$=>{n.value=$.target.files,a(n.value)},p.oncancel=()=>{l()}),p}),d=()=>{n.value=null,s.value&&s.value.value&&(s.value.value="",a(null))},c=f=>{const p=s.value;p&&(p.multiple=e.toValue(f.multiple),p.accept=e.toValue(f.accept),p.webkitdirectory=e.toValue(f.directory),ld(f,"capture")&&(p.capture=e.toValue(f.capture)))},u=f=>{const p=s.value;if(!p)return;const $={...Bd,...o,...f};c($),e.toValue($.reset)&&d(),p.click()};return e.watchEffect(()=>{c(o)}),{files:e.readonly(n),open:u,reset:d,onCancel:i,onChange:r}}function Vd(o=Te,t){o&&typeof o.requestAnimationFrame=="function"?o.requestAnimationFrame(t):t()}function Pd(o={}){var t,n;const{window:r=Te}=o,a=In(o?.element),i=In((t=o?.input)!==null&&t!==void 0?t:""),l=(n=o?.styleProp)!==null&&n!==void 0?n:"height",s=e.shallowRef(1),d=e.shallowRef(0);function c(){var u;if(!a.value)return;let f="";a.value.style[l]="1px",s.value=(u=a.value)===null||u===void 0?void 0:u.scrollHeight;const p=e.toValue(o?.styleTarget);p?p.style[l]=`${s.value}px`:f=`${s.value}px`,a.value.style[l]=f}return e.watch([i,a],()=>e.nextTick(c),{immediate:!0}),e.watch(s,()=>{var u;return o==null||(u=o.onResize)===null||u===void 0?void 0:u.call(o)}),tr(a,([{contentRect:u}])=>{d.value!==u.width&&Vd(r,()=>{d.value=u.width,c()})}),o?.watch&&e.watch(o.watch,c,{immediate:!0,deep:!0}),{textarea:a,input:i,triggerResize:c}}const Id=(o,t)=>{const n=new Array(o.length+t.length);for(let r=0;r<o.length;r++)n[r]=o[r];for(let r=0;r<t.length;r++)n[o.length+r]=t[r];return n},Td=(o,t)=>({classGroupId:o,validator:t}),rr=(o=new Map,t=null,n)=>({nextPart:o,validators:t,classGroupId:n}),jt="-",ar=[],Ed="arbitrary..",Md=o=>{const t=Fd(o),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=o;return{getClassGroupId:l=>{if(l.startsWith("[")&&l.endsWith("]"))return Dd(l);const s=l.split(jt),d=s[0]===""&&s.length>1?1:0;return ir(s,d,t)},getConflictingClassGroupIds:(l,s)=>{if(s){const d=r[l],c=n[l];return d?c?Id(c,d):d:c||ar}return n[l]||ar}}},ir=(o,t,n)=>{if(o.length-t===0)return n.classGroupId;const a=o[t],i=n.nextPart.get(a);if(i){const c=ir(o,t+1,i);if(c)return c}const l=n.validators;if(l===null)return;const s=t===0?o.join(jt):o.slice(t).join(jt),d=l.length;for(let c=0;c<d;c++){const u=l[c];if(u.validator(s))return u.classGroupId}},Dd=o=>o.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const t=o.slice(1,-1),n=t.indexOf(":"),r=t.slice(0,n);return r?Ed+r:void 0})(),Fd=o=>{const{theme:t,classGroups:n}=o;return Rd(n,t)},Rd=(o,t)=>{const n=rr();for(const r in o){const a=o[r];Tn(a,n,r,t)}return n},Tn=(o,t,n,r)=>{const a=o.length;for(let i=0;i<a;i++){const l=o[i];Od(l,t,n,r)}},Od=(o,t,n,r)=>{if(typeof o=="string"){Ad(o,t,n);return}if(typeof o=="function"){zd(o,t,n,r);return}Ld(o,t,n,r)},Ad=(o,t,n)=>{const r=o===""?t:lr(t,o);r.classGroupId=n},zd=(o,t,n,r)=>{if(jd(o)){Tn(o(r),t,n,r);return}t.validators===null&&(t.validators=[]),t.validators.push(Td(n,o))},Ld=(o,t,n,r)=>{const a=Object.entries(o),i=a.length;for(let l=0;l<i;l++){const[s,d]=a[l];Tn(d,lr(t,s),n,r)}},lr=(o,t)=>{let n=o;const r=t.split(jt),a=r.length;for(let i=0;i<a;i++){const l=r[i];let s=n.nextPart.get(l);s||(s=rr(),n.nextPart.set(l,s)),n=s}return n},jd=o=>"isThemeGetter"in o&&o.isThemeGetter===!0,Gd=o=>{if(o<1)return{get:()=>{},set:()=>{}};let t=0,n=Object.create(null),r=Object.create(null);const a=(i,l)=>{n[i]=l,t++,t>o&&(t=0,r=n,n=Object.create(null))};return{get(i){let l=n[i];if(l!==void 0)return l;if((l=r[i])!==void 0)return a(i,l),l},set(i,l){i in n?n[i]=l:a(i,l)}}},En="!",sr=":",Hd=[],dr=(o,t,n,r,a)=>({modifiers:o,hasImportantModifier:t,baseClassName:n,maybePostfixModifierPosition:r,isExternal:a}),qd=o=>{const{prefix:t,experimentalParseClassName:n}=o;let r=a=>{const i=[];let l=0,s=0,d=0,c;const u=a.length;for(let y=0;y<u;y++){const m=a[y];if(l===0&&s===0){if(m===sr){i.push(a.slice(d,y)),d=y+1;continue}if(m==="/"){c=y;continue}}m==="["?l++:m==="]"?l--:m==="("?s++:m===")"&&s--}const f=i.length===0?a:a.slice(d);let p=f,$=!1;f.endsWith(En)?(p=f.slice(0,-1),$=!0):f.startsWith(En)&&(p=f.slice(1),$=!0);const C=c&&c>d?c-d:void 0;return dr(i,$,p,C)};if(t){const a=t+sr,i=r;r=l=>l.startsWith(a)?i(l.slice(a.length)):dr(Hd,!1,l,void 0,!0)}if(n){const a=r;r=i=>n({className:i,parseClassName:a})}return r},Ud=o=>{const t=new Map;return o.orderSensitiveModifiers.forEach((n,r)=>{t.set(n,1e6+r)}),n=>{const r=[];let a=[];for(let i=0;i<n.length;i++){const l=n[i],s=l[0]==="[",d=t.has(l);s||d?(a.length>0&&(a.sort(),r.push(...a),a=[]),r.push(l)):a.push(l)}return a.length>0&&(a.sort(),r.push(...a)),r}},Wd=o=>({cache:Gd(o.cacheSize),parseClassName:qd(o),sortModifiers:Ud(o),...Md(o)}),Kd=/\s+/,Yd=(o,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:a,sortModifiers:i}=t,l=[],s=o.trim().split(Kd);let d="";for(let c=s.length-1;c>=0;c-=1){const u=s[c],{isExternal:f,modifiers:p,hasImportantModifier:$,baseClassName:C,maybePostfixModifierPosition:y}=n(u);if(f){d=u+(d.length>0?" "+d:d);continue}let m=!!y,w=r(m?C.substring(0,y):C);if(!w){if(!m){d=u+(d.length>0?" "+d:d);continue}if(w=r(C),!w){d=u+(d.length>0?" "+d:d);continue}m=!1}const k=p.length===0?"":p.length===1?p[0]:i(p).join(":"),g=$?k+En:k,B=g+w;if(l.indexOf(B)>-1)continue;l.push(B);const N=a(w,m);for(let F=0;F<N.length;++F){const W=N[F];l.push(g+W)}d=u+(d.length>0?" "+d:d)}return d},Xd=(...o)=>{let t=0,n,r,a="";for(;t<o.length;)(n=o[t++])&&(r=cr(n))&&(a&&(a+=" "),a+=r);return a},cr=o=>{if(typeof o=="string")return o;let t,n="";for(let r=0;r<o.length;r++)o[r]&&(t=cr(o[r]))&&(n&&(n+=" "),n+=t);return n},Mn=(o,...t)=>{let n,r,a,i;const l=d=>{const c=t.reduce((u,f)=>f(u),o());return n=Wd(c),r=n.cache.get,a=n.cache.set,i=s,s(d)},s=d=>{const c=r(d);if(c)return c;const u=Yd(d,n);return a(d,u),u};return i=l,(...d)=>i(Xd(...d))},Zd=[],ae=o=>{const t=n=>n[o]||Zd;return t.isThemeGetter=!0,t},ur=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,fr=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Jd=/^\d+\/\d+$/,Qd=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,vd=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,ec=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,tc=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,nc=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,et=o=>Jd.test(o),A=o=>!!o&&!Number.isNaN(Number(o)),ze=o=>!!o&&Number.isInteger(Number(o)),Dn=o=>o.endsWith("%")&&A(o.slice(0,-1)),Ee=o=>Qd.test(o),oc=()=>!0,rc=o=>vd.test(o)&&!ec.test(o),pr=()=>!1,ac=o=>tc.test(o),ic=o=>nc.test(o),lc=o=>!I(o)&&!T(o),sc=o=>tt(o,$r,pr),I=o=>ur.test(o),Ke=o=>tt(o,yr,rc),Fn=o=>tt(o,pc,A),mr=o=>tt(o,gr,pr),dc=o=>tt(o,br,ic),Gt=o=>tt(o,wr,ac),T=o=>fr.test(o),ct=o=>nt(o,yr),cc=o=>nt(o,mc),hr=o=>nt(o,gr),uc=o=>nt(o,$r),fc=o=>nt(o,br),Ht=o=>nt(o,wr,!0),tt=(o,t,n)=>{const r=ur.exec(o);return r?r[1]?t(r[1]):n(r[2]):!1},nt=(o,t,n=!1)=>{const r=fr.exec(o);return r?r[1]?t(r[1]):n:!1},gr=o=>o==="position"||o==="percentage",br=o=>o==="image"||o==="url",$r=o=>o==="length"||o==="size"||o==="bg-size",yr=o=>o==="length",pc=o=>o==="number",mc=o=>o==="family-name",wr=o=>o==="shadow",Rn=()=>{const o=ae("color"),t=ae("font"),n=ae("text"),r=ae("font-weight"),a=ae("tracking"),i=ae("leading"),l=ae("breakpoint"),s=ae("container"),d=ae("spacing"),c=ae("radius"),u=ae("shadow"),f=ae("inset-shadow"),p=ae("text-shadow"),$=ae("drop-shadow"),C=ae("blur"),y=ae("perspective"),m=ae("aspect"),w=ae("ease"),k=ae("animate"),g=()=>["auto","avoid","all","avoid-page","page","left","right","column"],B=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],N=()=>[...B(),T,I],F=()=>["auto","hidden","clip","visible","scroll"],W=()=>["auto","contain","none"],E=()=>[T,I,d],G=()=>[et,"full","auto",...E()],$e=()=>[ze,"none","subgrid",T,I],ye=()=>["auto",{span:["full",ze,T,I]},ze,T,I],ie=()=>[ze,"auto",T,I],Ce=()=>["auto","min","max","fr",T,I],P=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],M=()=>["start","end","center","stretch","center-safe","end-safe"],D=()=>["auto",...E()],z=()=>[et,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...E()],V=()=>[o,T,I],L=()=>[...B(),hr,mr,{position:[T,I]}],Q=()=>["no-repeat",{repeat:["","x","y","space","round"]}],me=()=>["auto","cover","contain",uc,sc,{size:[T,I]}],oe=()=>[Dn,ct,Ke],K=()=>["","none","full",c,T,I],v=()=>["",A,ct,Ke],_=()=>["solid","dashed","dotted","double"],R=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],O=()=>[A,Dn,hr,mr],se=()=>["","none",C,T,I],te=()=>["none",A,T,I],he=()=>["none",A,T,I],Ue=()=>[A,T,I],Oe=()=>[et,"full",...E()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Ee],breakpoint:[Ee],color:[oc],container:[Ee],"drop-shadow":[Ee],ease:["in","out","in-out"],font:[lc],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Ee],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Ee],shadow:[Ee],spacing:["px",A],text:[Ee],"text-shadow":[Ee],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",et,I,T,m]}],container:["container"],columns:[{columns:[A,I,T,s]}],"break-after":[{"break-after":g()}],"break-before":[{"break-before":g()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:N()}],overflow:[{overflow:F()}],"overflow-x":[{"overflow-x":F()}],"overflow-y":[{"overflow-y":F()}],overscroll:[{overscroll:W()}],"overscroll-x":[{"overscroll-x":W()}],"overscroll-y":[{"overscroll-y":W()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:G()}],"inset-x":[{"inset-x":G()}],"inset-y":[{"inset-y":G()}],start:[{start:G()}],end:[{end:G()}],top:[{top:G()}],right:[{right:G()}],bottom:[{bottom:G()}],left:[{left:G()}],visibility:["visible","invisible","collapse"],z:[{z:[ze,"auto",T,I]}],basis:[{basis:[et,"full","auto",s,...E()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[A,et,"auto","initial","none",I]}],grow:[{grow:["",A,T,I]}],shrink:[{shrink:["",A,T,I]}],order:[{order:[ze,"first","last","none",T,I]}],"grid-cols":[{"grid-cols":$e()}],"col-start-end":[{col:ye()}],"col-start":[{"col-start":ie()}],"col-end":[{"col-end":ie()}],"grid-rows":[{"grid-rows":$e()}],"row-start-end":[{row:ye()}],"row-start":[{"row-start":ie()}],"row-end":[{"row-end":ie()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":Ce()}],"auto-rows":[{"auto-rows":Ce()}],gap:[{gap:E()}],"gap-x":[{"gap-x":E()}],"gap-y":[{"gap-y":E()}],"justify-content":[{justify:[...P(),"normal"]}],"justify-items":[{"justify-items":[...M(),"normal"]}],"justify-self":[{"justify-self":["auto",...M()]}],"align-content":[{content:["normal",...P()]}],"align-items":[{items:[...M(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...M(),{baseline:["","last"]}]}],"place-content":[{"place-content":P()}],"place-items":[{"place-items":[...M(),"baseline"]}],"place-self":[{"place-self":["auto",...M()]}],p:[{p:E()}],px:[{px:E()}],py:[{py:E()}],ps:[{ps:E()}],pe:[{pe:E()}],pt:[{pt:E()}],pr:[{pr:E()}],pb:[{pb:E()}],pl:[{pl:E()}],m:[{m:D()}],mx:[{mx:D()}],my:[{my:D()}],ms:[{ms:D()}],me:[{me:D()}],mt:[{mt:D()}],mr:[{mr:D()}],mb:[{mb:D()}],ml:[{ml:D()}],"space-x":[{"space-x":E()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":E()}],"space-y-reverse":["space-y-reverse"],size:[{size:z()}],w:[{w:[s,"screen",...z()]}],"min-w":[{"min-w":[s,"screen","none",...z()]}],"max-w":[{"max-w":[s,"screen","none","prose",{screen:[l]},...z()]}],h:[{h:["screen","lh",...z()]}],"min-h":[{"min-h":["screen","lh","none",...z()]}],"max-h":[{"max-h":["screen","lh",...z()]}],"font-size":[{text:["base",n,ct,Ke]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,T,Fn]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Dn,I]}],"font-family":[{font:[cc,I,t]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[a,T,I]}],"line-clamp":[{"line-clamp":[A,"none",T,Fn]}],leading:[{leading:[i,...E()]}],"list-image":[{"list-image":["none",T,I]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",T,I]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:V()}],"text-color":[{text:V()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[..._(),"wavy"]}],"text-decoration-thickness":[{decoration:[A,"from-font","auto",T,Ke]}],"text-decoration-color":[{decoration:V()}],"underline-offset":[{"underline-offset":[A,"auto",T,I]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:E()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",T,I]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",T,I]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:L()}],"bg-repeat":[{bg:Q()}],"bg-size":[{bg:me()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},ze,T,I],radial:["",T,I],conic:[ze,T,I]},fc,dc]}],"bg-color":[{bg:V()}],"gradient-from-pos":[{from:oe()}],"gradient-via-pos":[{via:oe()}],"gradient-to-pos":[{to:oe()}],"gradient-from":[{from:V()}],"gradient-via":[{via:V()}],"gradient-to":[{to:V()}],rounded:[{rounded:K()}],"rounded-s":[{"rounded-s":K()}],"rounded-e":[{"rounded-e":K()}],"rounded-t":[{"rounded-t":K()}],"rounded-r":[{"rounded-r":K()}],"rounded-b":[{"rounded-b":K()}],"rounded-l":[{"rounded-l":K()}],"rounded-ss":[{"rounded-ss":K()}],"rounded-se":[{"rounded-se":K()}],"rounded-ee":[{"rounded-ee":K()}],"rounded-es":[{"rounded-es":K()}],"rounded-tl":[{"rounded-tl":K()}],"rounded-tr":[{"rounded-tr":K()}],"rounded-br":[{"rounded-br":K()}],"rounded-bl":[{"rounded-bl":K()}],"border-w":[{border:v()}],"border-w-x":[{"border-x":v()}],"border-w-y":[{"border-y":v()}],"border-w-s":[{"border-s":v()}],"border-w-e":[{"border-e":v()}],"border-w-t":[{"border-t":v()}],"border-w-r":[{"border-r":v()}],"border-w-b":[{"border-b":v()}],"border-w-l":[{"border-l":v()}],"divide-x":[{"divide-x":v()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":v()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[..._(),"hidden","none"]}],"divide-style":[{divide:[..._(),"hidden","none"]}],"border-color":[{border:V()}],"border-color-x":[{"border-x":V()}],"border-color-y":[{"border-y":V()}],"border-color-s":[{"border-s":V()}],"border-color-e":[{"border-e":V()}],"border-color-t":[{"border-t":V()}],"border-color-r":[{"border-r":V()}],"border-color-b":[{"border-b":V()}],"border-color-l":[{"border-l":V()}],"divide-color":[{divide:V()}],"outline-style":[{outline:[..._(),"none","hidden"]}],"outline-offset":[{"outline-offset":[A,T,I]}],"outline-w":[{outline:["",A,ct,Ke]}],"outline-color":[{outline:V()}],shadow:[{shadow:["","none",u,Ht,Gt]}],"shadow-color":[{shadow:V()}],"inset-shadow":[{"inset-shadow":["none",f,Ht,Gt]}],"inset-shadow-color":[{"inset-shadow":V()}],"ring-w":[{ring:v()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:V()}],"ring-offset-w":[{"ring-offset":[A,Ke]}],"ring-offset-color":[{"ring-offset":V()}],"inset-ring-w":[{"inset-ring":v()}],"inset-ring-color":[{"inset-ring":V()}],"text-shadow":[{"text-shadow":["none",p,Ht,Gt]}],"text-shadow-color":[{"text-shadow":V()}],opacity:[{opacity:[A,T,I]}],"mix-blend":[{"mix-blend":[...R(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":R()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[A]}],"mask-image-linear-from-pos":[{"mask-linear-from":O()}],"mask-image-linear-to-pos":[{"mask-linear-to":O()}],"mask-image-linear-from-color":[{"mask-linear-from":V()}],"mask-image-linear-to-color":[{"mask-linear-to":V()}],"mask-image-t-from-pos":[{"mask-t-from":O()}],"mask-image-t-to-pos":[{"mask-t-to":O()}],"mask-image-t-from-color":[{"mask-t-from":V()}],"mask-image-t-to-color":[{"mask-t-to":V()}],"mask-image-r-from-pos":[{"mask-r-from":O()}],"mask-image-r-to-pos":[{"mask-r-to":O()}],"mask-image-r-from-color":[{"mask-r-from":V()}],"mask-image-r-to-color":[{"mask-r-to":V()}],"mask-image-b-from-pos":[{"mask-b-from":O()}],"mask-image-b-to-pos":[{"mask-b-to":O()}],"mask-image-b-from-color":[{"mask-b-from":V()}],"mask-image-b-to-color":[{"mask-b-to":V()}],"mask-image-l-from-pos":[{"mask-l-from":O()}],"mask-image-l-to-pos":[{"mask-l-to":O()}],"mask-image-l-from-color":[{"mask-l-from":V()}],"mask-image-l-to-color":[{"mask-l-to":V()}],"mask-image-x-from-pos":[{"mask-x-from":O()}],"mask-image-x-to-pos":[{"mask-x-to":O()}],"mask-image-x-from-color":[{"mask-x-from":V()}],"mask-image-x-to-color":[{"mask-x-to":V()}],"mask-image-y-from-pos":[{"mask-y-from":O()}],"mask-image-y-to-pos":[{"mask-y-to":O()}],"mask-image-y-from-color":[{"mask-y-from":V()}],"mask-image-y-to-color":[{"mask-y-to":V()}],"mask-image-radial":[{"mask-radial":[T,I]}],"mask-image-radial-from-pos":[{"mask-radial-from":O()}],"mask-image-radial-to-pos":[{"mask-radial-to":O()}],"mask-image-radial-from-color":[{"mask-radial-from":V()}],"mask-image-radial-to-color":[{"mask-radial-to":V()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":B()}],"mask-image-conic-pos":[{"mask-conic":[A]}],"mask-image-conic-from-pos":[{"mask-conic-from":O()}],"mask-image-conic-to-pos":[{"mask-conic-to":O()}],"mask-image-conic-from-color":[{"mask-conic-from":V()}],"mask-image-conic-to-color":[{"mask-conic-to":V()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:L()}],"mask-repeat":[{mask:Q()}],"mask-size":[{mask:me()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",T,I]}],filter:[{filter:["","none",T,I]}],blur:[{blur:se()}],brightness:[{brightness:[A,T,I]}],contrast:[{contrast:[A,T,I]}],"drop-shadow":[{"drop-shadow":["","none",$,Ht,Gt]}],"drop-shadow-color":[{"drop-shadow":V()}],grayscale:[{grayscale:["",A,T,I]}],"hue-rotate":[{"hue-rotate":[A,T,I]}],invert:[{invert:["",A,T,I]}],saturate:[{saturate:[A,T,I]}],sepia:[{sepia:["",A,T,I]}],"backdrop-filter":[{"backdrop-filter":["","none",T,I]}],"backdrop-blur":[{"backdrop-blur":se()}],"backdrop-brightness":[{"backdrop-brightness":[A,T,I]}],"backdrop-contrast":[{"backdrop-contrast":[A,T,I]}],"backdrop-grayscale":[{"backdrop-grayscale":["",A,T,I]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[A,T,I]}],"backdrop-invert":[{"backdrop-invert":["",A,T,I]}],"backdrop-opacity":[{"backdrop-opacity":[A,T,I]}],"backdrop-saturate":[{"backdrop-saturate":[A,T,I]}],"backdrop-sepia":[{"backdrop-sepia":["",A,T,I]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":E()}],"border-spacing-x":[{"border-spacing-x":E()}],"border-spacing-y":[{"border-spacing-y":E()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",T,I]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[A,"initial",T,I]}],ease:[{ease:["linear","initial",w,T,I]}],delay:[{delay:[A,T,I]}],animate:[{animate:["none",k,T,I]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[y,T,I]}],"perspective-origin":[{"perspective-origin":N()}],rotate:[{rotate:te()}],"rotate-x":[{"rotate-x":te()}],"rotate-y":[{"rotate-y":te()}],"rotate-z":[{"rotate-z":te()}],scale:[{scale:he()}],"scale-x":[{"scale-x":he()}],"scale-y":[{"scale-y":he()}],"scale-z":[{"scale-z":he()}],"scale-3d":["scale-3d"],skew:[{skew:Ue()}],"skew-x":[{"skew-x":Ue()}],"skew-y":[{"skew-y":Ue()}],transform:[{transform:[T,I,"","none","gpu","cpu"]}],"transform-origin":[{origin:N()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:Oe()}],"translate-x":[{"translate-x":Oe()}],"translate-y":[{"translate-y":Oe()}],"translate-z":[{"translate-z":Oe()}],"translate-none":["translate-none"],accent:[{accent:V()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:V()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",T,I]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":E()}],"scroll-mx":[{"scroll-mx":E()}],"scroll-my":[{"scroll-my":E()}],"scroll-ms":[{"scroll-ms":E()}],"scroll-me":[{"scroll-me":E()}],"scroll-mt":[{"scroll-mt":E()}],"scroll-mr":[{"scroll-mr":E()}],"scroll-mb":[{"scroll-mb":E()}],"scroll-ml":[{"scroll-ml":E()}],"scroll-p":[{"scroll-p":E()}],"scroll-px":[{"scroll-px":E()}],"scroll-py":[{"scroll-py":E()}],"scroll-ps":[{"scroll-ps":E()}],"scroll-pe":[{"scroll-pe":E()}],"scroll-pt":[{"scroll-pt":E()}],"scroll-pr":[{"scroll-pr":E()}],"scroll-pb":[{"scroll-pb":E()}],"scroll-pl":[{"scroll-pl":E()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",T,I]}],fill:[{fill:["none",...V()]}],"stroke-w":[{stroke:[A,ct,Ke,Fn]}],stroke:[{stroke:["none",...V()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},hc=(o,{cacheSize:t,prefix:n,experimentalParseClassName:r,extend:a={},override:i={}})=>(ut(o,"cacheSize",t),ut(o,"prefix",n),ut(o,"experimentalParseClassName",r),qt(o.theme,i.theme),qt(o.classGroups,i.classGroups),qt(o.conflictingClassGroups,i.conflictingClassGroups),qt(o.conflictingClassGroupModifiers,i.conflictingClassGroupModifiers),ut(o,"orderSensitiveModifiers",i.orderSensitiveModifiers),Ut(o.theme,a.theme),Ut(o.classGroups,a.classGroups),Ut(o.conflictingClassGroups,a.conflictingClassGroups),Ut(o.conflictingClassGroupModifiers,a.conflictingClassGroupModifiers),Cr(o,a,"orderSensitiveModifiers"),o),ut=(o,t,n)=>{n!==void 0&&(o[t]=n)},qt=(o,t)=>{if(t)for(const n in t)ut(o,n,t[n])},Ut=(o,t)=>{if(t)for(const n in t)Cr(o,t,n)},Cr=(o,t,n)=>{const r=t[n];r!==void 0&&(o[n]=o[n]?o[n].concat(r):r)},_r=(o,...t)=>typeof o=="function"?Mn(Rn,o,...t):Mn(()=>hc(Rn(),o),...t),gc=Mn(Rn),ft=[];function bc(o){const n=ft.filter(r=>r.component===o.component&&(r.theme===o.theme||r.theme===void 0)).find(r=>r.target?.prop===o.target?.prop&&r.target?.value===o.target?.value)??null;return n===null?ft.push(o):ft.splice(ft.indexOf(n),1,o),o}function X(o,t,n){return ft.filter(d=>d.theme===t||d.theme===void 0).filter(d=>d.component===o).filter(d=>d.target===void 0||n[d.target.prop]===d.target.value).map(d=>d.config).reduce((d,c)=>{for(const u in c)u in d?d[u]+=` ${c[u]}`:d[u]=c[u];return d},{})}const $c=_r({extend:{theme:{spacing:["none","xxs","xs","sm","md","lg","xl","2xl","3xl","4xl","5xl","6xl","7xl","8xl","9xl","10xl","11xl"]}}});function x(...o){return $c(o.filter(Boolean).join(" "))}function Ve(...o){const t=o.filter(Boolean);if(t.length===0)return{};if(t.length===1)return t[0];const n=new Set;for(const a of t)for(const i of Object.keys(a))n.add(i);const r={};for(const a of n){const i=t.map(s=>s[a]).filter(s=>s!=null);if(i.length===0)continue;if(i.every(s=>typeof s=="string"))r[a]=x(...i);else{const s=i.filter(d=>typeof d=="object");s.length>0?r[a]=Ve(...s):r[a]=i.at(-1)}}return r}const xr={alertCircle:Promise.resolve().then(()=>p2),alertTriangle:Promise.resolve().then(()=>b2),arrowDown:Promise.resolve().then(()=>C2),arrowLeft:Promise.resolve().then(()=>S2),arrowRight:Promise.resolve().then(()=>P2),arrowUp:Promise.resolve().then(()=>M2),calendarIcon:Promise.resolve().then(()=>O2),check:Promise.resolve().then(()=>j2),checkCircle:Promise.resolve().then(()=>U2),chevronLeft:Promise.resolve().then(()=>X2),chevronLeftDouble:Promise.resolve().then(()=>v2),chevronRight:Promise.resolve().then(()=>o3),chevronRightDouble:Promise.resolve().then(()=>l3),close:Promise.resolve().then(()=>u3),eye:Promise.resolve().then(()=>h3),eyeOff:Promise.resolve().then(()=>y3),infoCircle:Promise.resolve().then(()=>x3),minus:Promise.resolve().then(()=>N3),plus:Promise.resolve().then(()=>T3),search:Promise.resolve().then(()=>F3),selectIconRight:Promise.resolve().then(()=>z3),stars:Promise.resolve().then(()=>H3),switchVertical:Promise.resolve().then(()=>K3),translate:Promise.resolve().then(()=>J3)};function yc(o){Object.assign(xr,o)}const wc=e.defineComponent({__name:"AsyncIcon",props:{icon:{}},setup(o){const t=o,n=e.computed(()=>e.defineAsyncComponent(()=>xr[t.icon]));return(r,a)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(n.value)))}}),Cc={"aria-hidden":"true"},ee=e.defineComponent({__name:"Icon",props:{icon:{}},setup(o){const t=o;return(n,r)=>(e.openBlock(),e.createElementBlock("div",Cc,[(e.openBlock(),e.createBlock(e.Suspense,null,{default:e.withCtx(()=>[e.createVNode(wc,{icon:t.icon},null,8,["icon"])]),_:1}))]))}});function j(o){const t=Symbol(o);function n(a){return e.provide(t,a),a}function r(a){const i=e.inject(t,a??void 0);if(i===void 0&&a===void 0)throw new Error(`${o} context is not provided.`);return i??null}return[n,r]}const[_c,de]=j("selectContext"),kr=e.defineComponent({__name:"SelectItemIndicator",setup(o){const{classConfig:t,customClassConfig:n,style:r}=de();return(a,i)=>(e.openBlock(),e.createBlock(e.unref(S.ListboxItemIndicator),null,{default:e.withCtx(()=>[e.renderSlot(a.$slots,"default",{},()=>[e.createVNode(ee,{class:e.normalizeClass(e.unref(r).itemIndicator({class:e.unref(x)(e.unref(n).itemIndicator,e.unref(t)?.itemIndicator)})),icon:"check"},null,8,["class"])])]),_:3}))}}),[Q3,xc]=j("selectGroupContext"),H=e.defineComponent({__name:"TestIdProvider",props:{testId:{},as:{default:null}},setup(o){const t=o;return(n,r)=>(e.openBlock(),e.createBlock(e.unref(S.Primitive),{"as-child":t.as===null,as:t.as??void 0,"data-test-id":t.testId},{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default")]),_:3},8,["as-child","as","data-test-id"]))}}),Ye=e.defineComponent({__name:"SelectItem",props:{isDisabled:{type:Boolean,default:!1},value:{},testId:{default:null}},setup(o){const t=o,{allGroups:n,allItems:r,classConfig:a,customClassConfig:i,filteredItems:l,remainOpenOnSelect:s,setIsDropdownVisible:d,style:c,virtualList:u,onSelectItem:f}=de(),p=xc(null),$=e.useId();function C(m){const k=m.target.attributes.getNamedItem("aria-selected");return k===null?!1:k.value==="true"}function y(m){C(m)&&!s.value&&d(!1),f()}return e.onMounted(()=>{if(r.value.set($,t.value),p===null)return;const{id:m}=p,w=n.value.get(m)??null;if(w===null){n.value.set(m,new Set([$]));return}w.add($)}),e.onBeforeUnmount(()=>{r.value.delete($)}),(m,w)=>e.unref(l).has(e.unref($))||e.unref(u)?.isEnabled?(e.openBlock(),e.createBlock(H,{key:0,"test-id":t.testId},{default:e.withCtx(()=>[e.createVNode(e.unref(S.ListboxItem),{value:t.value,disabled:t.isDisabled,class:e.normalizeClass(e.unref(c).item({class:e.unref(x)(e.unref(i).item,e.unref(a)?.item)})),onSelect:y},{default:e.withCtx(()=>[e.renderSlot(m.$slots,"default"),e.renderSlot(m.$slots,"indicator",{},()=>[e.createVNode(kr)])]),_:3},8,["value","disabled","class"])]),_:3},8,["test-id"])):e.createCommentVNode("",!0)}}),[kc,On]=j("formFieldContext"),Sc=["id"],An=e.defineComponent({__name:"FormFieldError",setup(o){const{isTouched:t,classConfig:n,customClassConfig:r,errorMessage:a,for:i,style:l}=On();return(s,d)=>(e.openBlock(),e.createBlock(e.unref(Y.AnimatePresence),{initial:!1},{default:e.withCtx(()=>[e.unref(a)!==null&&e.unref(t)?(e.openBlock(),e.createBlock(e.unref(Y.Motion),{key:0,initial:{height:0,opacity:0,filter:"blur(4px)"},animate:{height:"auto",opacity:1,filter:"blur(0)"},exit:{height:0,opacity:0,filter:"blur(4px)"}},{default:e.withCtx(()=>[e.createElementVNode("div",null,[e.createElementVNode("div",{class:e.normalizeClass(e.unref(l).error({class:e.unref(x)(e.unref(r).error,e.unref(n)?.error)}))},[e.createVNode(ee,{class:e.normalizeClass(e.unref(l).errorIcon({class:e.unref(x)(e.unref(r).errorIcon,e.unref(n)?.errorIcon)})),icon:"alertTriangle"},null,8,["class"]),e.createElementVNode("span",{id:`${e.unref(i)}-error`,"aria-live":"assertive",role:"alert"},e.toDisplayString(e.unref(a)),9,Sc)],2)])]),_:1})):e.createCommentVNode("",!0)]),_:1}))}}),Bc=["id"],zn=e.defineComponent({__name:"FormFieldHint",setup(o){const{isTouched:t,classConfig:n,customClassConfig:r,errorMessage:a,for:i,hint:l,style:s}=On(),d=e.computed(()=>t.value&&a.value!==null);return(c,u)=>(e.openBlock(),e.createElementBlock("div",null,[e.unref(l)!==null&&!d.value?(e.openBlock(),e.createElementBlock("span",{key:0,id:`${e.unref(i)}-hint`,class:e.normalizeClass(e.unref(s).hint({class:e.unref(x)(e.unref(r).hint,e.unref(n)?.hint)})),role:"alert"},e.toDisplayString(e.unref(l)),11,Bc)):e.createCommentVNode("",!0)]))}}),Nc={class:"flex items-center"},Vc=["for"],Ln=e.defineComponent({__name:"FormFieldLabel",setup(o){const{isRequired:t,classConfig:n,customClassConfig:r,for:a,label:i,style:l}=On();return(s,d)=>e.unref(i)!==null?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(l).labelContainer({class:e.unref(x)(e.unref(r).labelContainer,e.unref(n)?.labelContainer)}))},[e.createElementVNode("div",Nc,[e.renderSlot(s.$slots,"leading"),e.createElementVNode("label",{class:e.normalizeClass(e.unref(l).label({class:e.unref(x)(e.unref(r).label,e.unref(n)?.label)})),for:e.unref(a)},[e.createTextVNode(e.toDisplayString(e.unref(i))+" ",1),e.unref(t)?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(e.unref(l).asterisk({class:e.unref(x)(e.unref(r).asterisk,e.unref(n)?.asterisk)}))},"*",2)):e.createCommentVNode("",!0)],10,Vc),e.renderSlot(s.$slots,"trailing")]),e.renderSlot(s.$slots,"right")],2)):e.createCommentVNode("",!0)}});var Pc=/\s+/g,Ic=o=>typeof o!="string"||!o?o:o.replace(Pc," ").trim(),Wt=(...o)=>{const t=[],n=r=>{if(!r&&r!==0&&r!==0n)return;if(Array.isArray(r)){for(let i=0,l=r.length;i<l;i++)n(r[i]);return}const a=typeof r;if(a==="string"||a==="number"||a==="bigint"){if(a==="number"&&r!==r)return;t.push(String(r))}else if(a==="object"){const i=Object.keys(r);for(let l=0,s=i.length;l<s;l++){const d=i[l];r[d]&&t.push(d)}}};for(let r=0,a=o.length;r<a;r++){const i=o[r];i!=null&&n(i)}return t.length>0?Ic(t.join(" ")):void 0},Sr=o=>o===!1?"false":o===!0?"true":o===0?"0":o,we=o=>{if(!o||typeof o!="object")return!0;for(const t in o)return!1;return!0},Tc=(o,t)=>{if(o===t)return!0;if(!o||!t)return!1;const n=Object.keys(o),r=Object.keys(t);if(n.length!==r.length)return!1;for(let a=0;a<n.length;a++){const i=n[a];if(!r.includes(i)||o[i]!==t[i])return!1}return!0},Ec=(o,t)=>{for(const n in t)if(Object.prototype.hasOwnProperty.call(t,n)){const r=t[n];n in o?o[n]=Wt(o[n],r):o[n]=r}return o},Br=(o,t)=>{for(let n=0;n<o.length;n++){const r=o[n];Array.isArray(r)?Br(r,t):r&&t.push(r)}},Nr=(...o)=>{const t=[];Br(o,t);const n=[];for(let r=0;r<t.length;r++)t[r]&&n.push(t[r]);return n},jn=(o,t)=>{const n={};for(const r in o){const a=o[r];if(r in t){const i=t[r];Array.isArray(a)||Array.isArray(i)?n[r]=Nr(i,a):typeof a=="object"&&typeof i=="object"&&a&&i?n[r]=jn(a,i):n[r]=i+" "+a}else n[r]=a}for(const r in t)r in o||(n[r]=t[r]);return n},Mc={twMerge:!0,twMergeConfig:{}};function Dc(){let o=null,t={},n=!1;return{get cachedTwMerge(){return o},set cachedTwMerge(r){o=r},get cachedTwMergeConfig(){return t},set cachedTwMergeConfig(r){t=r},get didTwMergeConfigChange(){return n},set didTwMergeConfigChange(r){n=r},reset(){o=null,t={},n=!1}}}var Me=Dc(),Fc=o=>{const t=(r,a)=>{const{extend:i=null,slots:l={},variants:s={},compoundVariants:d=[],compoundSlots:c=[],defaultVariants:u={}}=r,f={...Mc,...a},p=i?.base?Wt(i.base,r?.base):r?.base,$=i?.variants&&!we(i.variants)?jn(s,i.variants):s,C=i?.defaultVariants&&!we(i.defaultVariants)?{...i.defaultVariants,...u}:u;!we(f.twMergeConfig)&&!Tc(f.twMergeConfig,Me.cachedTwMergeConfig)&&(Me.didTwMergeConfigChange=!0,Me.cachedTwMergeConfig=f.twMergeConfig);const y=we(i?.slots),m=we(l)?{}:{base:Wt(r?.base,y&&i?.base),...l},w=y?m:Ec({...i?.slots},we(m)?{base:r?.base}:m),k=we(i?.compoundVariants)?d:Nr(i?.compoundVariants,d),g=N=>{if(we($)&&we(l)&&y)return o(p,N?.class,N?.className)(f);if(k&&!Array.isArray(k))throw new TypeError(`The "compoundVariants" prop must be an array. Received: ${typeof k}`);if(c&&!Array.isArray(c))throw new TypeError(`The "compoundSlots" prop must be an array. Received: ${typeof c}`);const F=(P,M=$,D=null,z=null)=>{const V=M[P];if(!V||we(V))return null;const L=z?.[P]??N?.[P];if(L===null)return null;const Q=Sr(L);if(typeof Q=="object")return null;const me=C?.[P],oe=Q??Sr(me);return V[oe||"false"]},W=()=>{if(!$)return null;const P=Object.keys($),M=[];for(let D=0;D<P.length;D++){const z=F(P[D],$);z&&M.push(z)}return M},E=(P,M)=>{if(!$||typeof $!="object")return null;const D=[];for(const z in $){const V=F(z,$,P,M),L=P==="base"&&typeof V=="string"?V:V&&V[P];L&&D.push(L)}return D},G={};for(const P in N){const M=N[P];M!==void 0&&(G[P]=M)}const $e=(P,M)=>{const D=typeof N?.[P]=="object"?{[P]:N[P]?.initial}:{};return{...C,...G,...D,...M}},ye=(P=[],M)=>{const D=[],z=P.length;for(let V=0;V<z;V++){const{class:L,className:Q,...me}=P[V];let oe=!0;const K=$e(null,M);for(const v in me){const _=me[v],R=K[v];if(Array.isArray(_)){if(!_.includes(R)){oe=!1;break}}else{if((_==null||_===!1)&&(R==null||R===!1))continue;if(R!==_){oe=!1;break}}}oe&&(L&&D.push(L),Q&&D.push(Q))}return D},ie=P=>{const M=ye(k,P);if(!Array.isArray(M))return M;const D={},z=o;for(let V=0;V<M.length;V++){const L=M[V];if(typeof L=="string")D.base=z(D.base,L)(f);else if(typeof L=="object")for(const Q in L)D[Q]=z(D[Q],L[Q])(f)}return D},Ce=P=>{if(c.length<1)return null;const M={},D=$e(null,P);for(let z=0;z<c.length;z++){const{slots:V=[],class:L,className:Q,...me}=c[z];if(!we(me)){let oe=!0;for(const K in me){const v=D[K],_=me[K];if(v===void 0||(Array.isArray(_)?!_.includes(v):_!==v)){oe=!1;break}}if(!oe)continue}for(let oe=0;oe<V.length;oe++){const K=V[oe];M[K]||(M[K]=[]),M[K].push([L,Q])}}return M};if(!we(l)||!y){const P={};if(typeof w=="object"&&!we(w)){const M=o;for(const D in w)P[D]=z=>{const V=ie(z),L=Ce(z);return M(w[D],E(D,z),V?V[D]:void 0,L?L[D]:void 0,z?.class,z?.className)(f)}}return P}return o(p,W(),ye(k),N?.class,N?.className)(f)},B=()=>{if(!(!$||typeof $!="object"))return Object.keys($)};return g.variantKeys=B(),g.extend=i,g.base=p,g.slots=w,g.variants=$,g.defaultVariants=C,g.compoundSlots=c,g.compoundVariants=k,g};return{tv:t,createTV:r=>(a,i)=>t(a,i?jn(r,i):r)}},Rc=o=>we(o)?gc:_r({...o,extend:{theme:o.theme,classGroups:o.classGroups,conflictingClassGroupModifiers:o.conflictingClassGroupModifiers,conflictingClassGroups:o.conflictingClassGroups,...o.extend}}),Oc=(o,t)=>{const n=Wt(o);return!n||!(t?.twMerge??!0)?n:((!Me.cachedTwMerge||Me.didTwMergeConfigChange)&&(Me.didTwMergeConfigChange=!1,Me.cachedTwMerge=Rc(Me.cachedTwMergeConfig)),Me.cachedTwMerge(n)||void 0)},Ac=(...o)=>t=>Oc(o,t),{createTV:zc}=Fc(Ac);const q=zc({twMerge:!0,twMergeConfig:{extend:{theme:{spacing:["none","xxs","xs","sm","md","lg","xl","2xl","3xl","4xl","5xl","6xl","7xl","8xl","9xl","10xl","11xl"]}}}});class b{classes=[];with(t){return this.classes.push(t),this}build(){return this.classes.join(" ")}withBackgroundColor(t){return this.with(t),this}withBase(t){return this.classes.push(t),this}withBorder(t){return this.with(t),this}withBorderRadius(t){return this.with(t),this}withClasses(t){return this.with(t),this}withColor(t){return this.with(t),this}withCursor(t){return this.with(t),this}withFlex(t){return this.with(t),this}withFontColor(t){return this.with(t),this}withFontSize(t){return this.with(t),this}withFontWeight(t){return this.with(t),this}withGap(t){return this.with(t),this}withGrid(t){return this.with(t),this}withHeight(t){return this.with(t),this}withLeading(t){return this.with(t),this}withMargin(t){return this.with(t),this}withOutline(t){return this.with(t),this}withPadding(t){return this.with(t),this}withPlaceholderColor(t){return this.with(t),this}withRing(t){return this.with(t),this}withShadow(t){return this.with(t),this}withSize(t){return this.with(t),this}withSpacing(t){return this.with(t),this}withTransition(t){return this.with(t),this}withTranslate(t){return this.with(t),this}withZIndex(t){return this.with(t),this}}const Vr=q({slots:{asterisk:new b().withColor("text-error-primary").build(),error:new b().withFlex("flex items-center gap-x-md").withColor("text-error-primary").withFontSize("text-sm").withFontWeight("font-medium").withSpacing("group-data-[layout=vertical]/form-field:pt-sm group-data-[layout=horizontal]/form-field:!pt-0").build(),errorIcon:new b().withSize("size-4").build(),hint:new b().withBase("inline-block").withColor("text-tertiary").withFontSize("text-sm").withSpacing("group-data-[layout=vertical]/form-field:pt-sm group-data-[layout=horizontal]/form-field:!pt-0").build(),label:new b().withBase("inline-block").withFontSize("text-sm").withColor("text-secondary").withFontWeight("font-medium").build(),labelContainer:new b().withBase("flex items-center justify-between").withSpacing("group-data-[layout=vertical]/form-field:pb-sm group-data-[layout=horizontal]/form-field:!pb-0").build(),root:new b().withBase("group/form-field").withGrid("data-[layout=horizontal]:grid data-[layout=horizontal]:grid-cols-[auto_auto] gap-x-md items-center justify-start").build()},variants:{variant:{}}}),Pr=Symbol("themeProviderContextKey");function Lc(o){e.provide(Pr,o)}function U(){const o=e.inject(Pr,null);return o===null?{appearance:e.computed(()=>"light"),theme:e.computed(()=>"default")}:o}function Z(o){const t={};for(const n in o){if(typeof o[n]=="function"){t[n]=o[n];continue}t[n]=e.computed(()=>o[n])}return t}const jc=["data-layout"],Ir=e.defineComponent({__name:"FormFieldRoot",props:{for:{},layout:{default:"vertical"},variant:{default:null},id:{default:null},isRequired:{type:Boolean,default:!1},isTouched:{type:Boolean,default:!1},errorMessage:{default:null},hint:{default:null},label:{default:null},classConfig:{default:null}},setup(o){const t=o,{theme:n}=U(),r=e.computed(()=>Vr({variant:t.variant??void 0})),a=e.computed(()=>X("formField",n.value,{variant:t.variant}));return kc({...Z(t),customClassConfig:a,style:r}),(i,l)=>(e.openBlock(),e.createElementBlock("div",{"data-layout":t.layout,class:e.normalizeClass(r.value.root({class:e.unref(x)(a.value.root,t.classConfig?.root)}))},[e.renderSlot(i.$slots,"default")],10,jc))}}),_e=e.defineComponent({__name:"FormField",props:{for:{},layout:{default:"vertical"},variant:{},id:{},isRequired:{type:Boolean},isTouched:{type:Boolean},errorMessage:{},hint:{},label:{},classConfig:{}},setup(o){const t=o;return(n,r)=>(e.openBlock(),e.createBlock(Ir,e.normalizeProps(e.guardReactiveProps(t)),{default:e.withCtx(()=>[t.layout==="vertical"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.renderSlot(n.$slots,"label",{},()=>[e.createVNode(Ln)]),e.renderSlot(n.$slots,"default"),e.renderSlot(n.$slots,"error",{},()=>[e.createVNode(An)]),e.renderSlot(n.$slots,"hint",{},()=>[e.createVNode(zn)])],64)):e.createCommentVNode("",!0),t.layout==="horizontal"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.renderSlot(n.$slots,"default"),e.renderSlot(n.$slots,"label",{},()=>[e.createVNode(Ln)]),r[0]||(r[0]=e.createElementVNode("span",null,null,-1)),e.createElementVNode("div",null,[e.renderSlot(n.$slots,"error",{},()=>[e.createVNode(An)]),e.renderSlot(n.$slots,"hint",{},()=>[e.createVNode(zn)])])],64)):e.createCommentVNode("",!0)]),_:3},16))}}),Gc=e.defineComponent({__name:"SelectBaseInlineSearch",setup(o){const{id:t,hasInteractedWithInlineSearchInput:n,isDisabled:r,classConfig:a,customClassConfig:i,inlinesearchInputElementRef:l,placeholder:s,searchInputPlaceholder:d,searchTerm:c,setIsDropdownVisible:u,style:f}=de(),p=e.ref();function $(){n.value=!0,C()}function C(){u(!0)}return e.onMounted(()=>{l.value=p.value?.$el??null}),(y,m)=>(e.openBlock(),e.createBlock(e.unref(S.ListboxFilter),{id:e.unref(t),ref_key:"listboxFilterRef",ref:p,modelValue:e.unref(c),"onUpdate:modelValue":m[0]||(m[0]=w=>e.isRef(c)?c.value=w:null),disabled:e.unref(r),class:e.normalizeClass(e.unref(f).inlineSearchInput({class:e.unref(x)(e.unref(i).inlineSearchInput,e.unref(a)?.inlineSearchInput)})),placeholder:e.unref(s)??e.unref(d),"aria-autocomplete":"list",role:"combobox",autocomplete:"false",onInput:$,onKeydown:e.withKeys(e.withModifiers(C,["prevent"]),["up","down"])},null,8,["id","modelValue","disabled","class","placeholder","onKeydown"]))}}),[Hc,Tr]=j("badgeContext"),Er=e.defineComponent({__name:"BadgeIcon",setup(o){const{classConfig:t,customClassConfig:n,icon:r,style:a}=Tr();return(i,l)=>e.unref(r)!==null?(e.openBlock(),e.createBlock(ee,{key:0,icon:e.unref(r),class:e.normalizeClass(e.unref(a).icon({class:e.unref(x)(e.unref(n).icon,e.unref(t)?.icon)}))},null,8,["icon","class"])):e.createCommentVNode("",!0)}}),[qc,Mr]=j("iconButtonContext"),Dr=e.defineComponent({__name:"IconButtonIcon",setup(o){const{isLoading:t,classConfig:n,customClassConfig:r,icon:a,style:i}=Mr();return(l,s)=>(e.openBlock(),e.createBlock(e.Transition,{"enter-from-class":"opacity-0 scale-75 blur-xxs","leave-to-class":"opacity-0 scale-75 blur-xxs","enter-active-class":"duration-300","leave-active-class":"duration-300"},{default:e.withCtx(()=>[e.unref(a)!==null&&!e.unref(t)?(e.openBlock(),e.createBlock(ee,{key:0,icon:e.unref(a),class:e.normalizeClass(e.unref(i).icon({class:e.unref(x)(e.unref(r).icon,e.unref(n)?.icon)}))},null,8,["icon","class"])):e.createCommentVNode("",!0)]),_:1}))}}),J=(o,t)=>{const n=o.__vccOpts||o;for(const[r,a]of t)n[r]=a;return n},Uc={},Wc={viewBox:"25 25 50 50","aria-hidden":"true",class:"animate-spinner"};function Kc(o,t){return e.openBlock(),e.createElementBlock("svg",Wc,[...t[0]||(t[0]=[e.createElementVNode("circle",{class:"size-full animate-spinner-path",cx:"100%",cy:"100%",fill:"none",r:"20",stroke:"currentColor","stroke-miterlimit":"10","stroke-width":"4","stroke-dasharray":"1, 200","stroke-dashoffset":"0","stroke-linecap":"round"},null,-1)])])}const De=J(Uc,[["render",Kc]]),Yc={class:"sr-only"},Fr=e.defineComponent({__name:"IconButtonLoader",setup(o){const{isLoading:t,classConfig:n,customClassConfig:r,style:a}=Mr(),{t:i}=ne.useI18n();return(l,s)=>(e.openBlock(),e.createBlock(e.Transition,{"enter-from-class":"opacity-0 scale-75 blur-xxs","leave-to-class":"opacity-0 scale-75 blur-xxs","enter-active-class":"absolute duration-300","leave-active-class":"absolute duration-300"},{default:e.withCtx(()=>[e.unref(t)?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(a).loader({class:e.unref(x)(e.unref(r).loader,e.unref(n)?.loader)}))},[e.createElementVNode("span",Yc,e.toDisplayString(e.unref(i)("shared.loading")),1),e.renderSlot(l.$slots,"default",{},()=>[e.createVNode(De)])],2)):e.createCommentVNode("",!0)]),_:3}))}}),Rr=q({slots:{root:new b().withBase("group/button whitespace-nowrap overflow-hidden relative").withOutline("focus-visible:outline-2 outline-offset-2 outline-brand-600").withBorder("border border-solid").withBorderRadius("rounded-md").withCursor("cursor-pointer disabled:cursor-not-allowed data-[loading=true]:cursor-not-allowed").withTransition("duration-100 data-[loading=false]:not-disabled:active:scale-99").build()},variants:{variant:{"destructive-primary":{root:new b().withColor("text-white disabled:text-fg-disabled").withBackgroundColor("bg-error-solid disabled:bg-disabled").withBorder("border-error-600 disabled:border-disabled-subtle").withOutline("outline-error-600").withTransition("data-[loading=false]:not-disabled:hover:brightness-95 data-[loading=false]:not-disabled:active:brightness-90").build()},"destructive-secondary":{root:new b().withColor("text-error-primary disabled:text-fg-disabled").withBackgroundColor("bg-transparent data-[loading=false]:not-disabled:hover:bg-error-primary data-[loading=false]:not-disabled:active:brightness-98 data-[loading=true]:bg-error-primary").withBorder("border-error-subtle disabled:border-disabled-subtle").withOutline("outline-error-600").build()},"destructive-tertiary":{root:new b().withColor("text-error-primary disabled:text-fg-disabled").withBackgroundColor("bg-transparent data-[loading=false]:not-disabled:hover:bg-error-primary data-[loading=false]:not-disabled:active:brightness-98 data-[loading=true]:bg-error-primary").withBorder("border-transparent").withOutline("outline-error-600").build()},primary:{root:new b().withColor("text-white disabled:text-fg-disabled").withBackgroundColor("bg-brand-solid disabled:bg-disabled").withBorder("border-brand-600 disabled:border-disabled-subtle").withTransition("data-[loading=false]:not-disabled:hover:brightness-95 data-[loading=false]:not-disabled:active:brightness-90").build()},secondary:{root:new b().withColor("text-secondary disabled:text-fg-disabled").withBackgroundColor("bg-transparent data-[loading=false]:not-disabled:hover:bg-primary-hover data-[loading=false]:not-disabled:active:brightness-98 data-[loading=true]:bg-primary-hover").withBorder("border-primary disabled:border-disabled-subtle").build()},tertiary:{root:new b().withColor("text-tertiary disabled:text-fg-disabled").withBackgroundColor("bg-transparent data-[loading=false]:not-disabled:hover:bg-primary-hover data-[loading=false]:not-disabled:active:brightness-98 data-[loading=true]:bg-primary-hover").withBorder("border-transparent").build()}},size:{"2xl":{root:new b().withHeight("h-15").withBorderRadius("rounded-lg").build()},lg:{root:new b().withHeight("h-11").build()},md:{root:new b().withHeight("h-10").build()},sm:{root:new b().withHeight("h-9").build()},xl:{root:new b().withHeight("h-12").build()}}}}),Or=q({extend:Rr,slots:{contentContainer:"",icon:"",loader:"",root:new b().withFlex("flex items-center justify-center").build()},variants:{size:{"2xl":{icon:new b().withSize("size-6").build(),loader:new b().withSize("size-6").build(),root:new b().withSize("w-15").build()},lg:{icon:new b().withSize("size-5").build(),loader:new b().withSize("size-5").build(),root:new b().withSize("w-11").build()},md:{icon:new b().withSize("size-5").build(),loader:new b().withSize("size-5").build(),root:new b().withSize("w-10").build()},sm:{icon:new b().withSize("size-4").build(),loader:new b().withSize("size-4").build(),root:new b().withSize("w-9").build()},xl:{icon:new b().withSize("size-5").build(),loader:new b().withSize("size-5").build(),root:new b().withSize("w-12").build()}}}}),ce=e.defineComponent({__name:"InteractableElement",props:{isDisabled:{type:Boolean},as:{default:null}},setup(o){const t=o;return(n,r)=>(e.openBlock(),e.createBlock(e.unref(S.Primitive),{"as-child":t.as===null,as:t.as??void 0,disabled:o.isDisabled},{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default")]),_:3},8,["as-child","as","disabled"]))}}),Xc={class:"sr-only"},Ar=e.defineComponent({__name:"IconButtonRoot",props:{icon:{},label:{},size:{default:"md"},variant:{default:"primary"},isLoading:{type:Boolean,default:!1},type:{default:"button"},testId:{default:null},isDisabled:{type:Boolean,default:!1},classConfig:{default:null}},emits:["click"],setup(o,{emit:t}){const n=o,r=t,{theme:a}=U(),i=e.computed(()=>Or({size:n.size,variant:n.variant})),l=e.computed(()=>X("iconButton",a.value,{size:n.size,variant:n.variant}));function s(d){n.isLoading||r("click",d)}return qc({...Z(n),customClassConfig:l,style:i}),(d,c)=>(e.openBlock(),e.createBlock(H,{"test-id":n.testId},{default:e.withCtx(()=>[e.createVNode(ce,{"is-disabled":n.isDisabled,"aria-disabled":n.isLoading,"aria-busy":n.isLoading,type:n.type,"data-loading":n.isLoading,class:e.normalizeClass(i.value.root({class:e.unref(x)(l.value.root,n.classConfig?.root)})),as:"button",onClick:s},{default:e.withCtx(()=>[e.createElementVNode("span",Xc,e.toDisplayString(n.label),1),e.renderSlot(d.$slots,"default")]),_:3},8,["is-disabled","aria-disabled","aria-busy","type","data-loading","class"])]),_:3},8,["test-id"]))}}),ue=e.defineComponent({__name:"IconButton",props:{icon:{},label:{},size:{},variant:{},isLoading:{type:Boolean},type:{},testId:{},isDisabled:{type:Boolean},classConfig:{}},emits:["click"],setup(o,{emit:t}){const n=o,r=t;return(a,i)=>(e.openBlock(),e.createBlock(Ar,e.mergeProps(n,{onClick:i[0]||(i[0]=l=>r("click",l))}),{default:e.withCtx(()=>[e.renderSlot(a.$slots,"icon",{},()=>[e.createVNode(Dr)]),e.renderSlot(a.$slots,"loader",{},()=>[e.createVNode(Fr)])]),_:3},16))}}),zr=e.defineComponent({__name:"BadgeRemoveButton",setup(o){const{isRemovable:t,classConfig:n,customClassConfig:r,onRemove:a}=Tr(),{t:i}=ne.useI18n();return(l,s)=>e.unref(t)?(e.openBlock(),e.createBlock(ue,{key:0,label:e.unref(i)("shared.remove"),"class-config":e.unref(Ve)({root:"size-4 text-inherit !bg-inherit hover:brightness-97 outline-inherit",icon:"size-3.5"},e.unref(r).removeButton,e.unref(n)?.removeButton),variant:"tertiary",icon:"close",onClick:e.unref(a)},null,8,["label","class-config","onClick"])):e.createCommentVNode("",!0)}}),Lr=q({slots:{icon:new b().withSize("size-4").build(),root:new b().withBase("group/badge").withFlex("inline-flex items-center").withBorder("border border-solid").withBorderRadius("rounded-full").withFontWeight("font-medium").build()},variants:{variant:{outline:{},solid:{},translucent:{}},color:{brand:{root:new b().withBackgroundColor("data-[variant=solid]:bg-brand-700").withColor("data-[variant=solid]:text-primary-on-brand").withBorder("data-[variant=solid]:border-brand-700").withBackgroundColor("data-[variant=translucent]:bg-brand-25 data-[variant=translucent]:dark:bg-brand-950").withColor("data-[variant=translucent]:text-brand-700 data-[variant=translucent]:dark:text-brand-200").withBorder("data-[variant=translucent]:border-brand-200 data-[variant=translucent]:dark:border-brand-800").withColor("data-[variant=outline]:text-brand-700 data-[variant=outline]:dark:text-brand-300").withBorder("data-[variant=outline]:border-brand-400 data-[variant=outline]:dark:border-brand-600").build()},error:{root:new b().withBackgroundColor("data-[variant=solid]:bg-error-700").withColor("data-[variant=solid]:text-white").withBorder("data-[variant=solid]:border-error-700").withBackgroundColor("data-[variant=translucent]:bg-error-25 data-[variant=translucent]:dark:bg-error-950").withColor("data-[variant=translucent]:text-error-700 data-[variant=translucent]:dark:text-error-200").withBorder("data-[variant=translucent]:border-error-200 data-[variant=translucent]:dark:border-error-800").withColor("data-[variant=outline]:text-error-700 data-[variant=outline]:dark:text-error-300").withBorder("data-[variant=outline]:border-error-400 data-[variant=outline]:dark:border-error-600").build()},gray:{root:new b().withBackgroundColor("data-[variant=solid]:bg-gray-700").withColor("data-[variant=solid]:text-white").withBorder("data-[variant=solid]:border-gray-700").withBackgroundColor("data-[variant=translucent]:bg-gray-25 data-[variant=translucent]:dark:bg-gray-950").withColor("data-[variant=translucent]:text-gray-700 data-[variant=translucent]:dark:text-gray-200").withBorder("data-[variant=translucent]:border-gray-200 data-[variant=translucent]:dark:border-gray-800").withColor("data-[variant=outline]:text-gray-700 data-[variant=outline]:dark:text-gray-300").withBorder("data-[variant=outline]:border-gray-400 data-[variant=outline]:dark:border-gray-600").build()},success:{root:new b().withBackgroundColor("data-[variant=solid]:bg-success-700").withColor("data-[variant=solid]:text-white").withBorder("data-[variant=solid]:border-success-700").withBackgroundColor("data-[variant=translucent]:bg-success-25 data-[variant=translucent]:dark:bg-success-950").withColor("data-[variant=translucent]:text-success-700 data-[variant=translucent]:dark:text-success-200").withBorder("data-[variant=translucent]:border-success-200 data-[variant=translucent]:dark:border-success-800").withColor("data-[variant=outline]:text-success-700 data-[variant=outline]:dark:text-success-300").withBorder("data-[variant=outline]:border-success-400 data-[variant=outline]:dark:border-success-600").build()},warning:{root:new b().withBackgroundColor("data-[variant=solid]:bg-warning-700").withColor("data-[variant=solid]:text-white").withBorder("data-[variant=solid]:border-warning-700").withBackgroundColor("data-[variant=translucent]:bg-warning-25 data-[variant=translucent]:dark:bg-warning-950").withColor("data-[variant=translucent]:text-warning-700 data-[variant=translucent]:dark:text-warning-200").withBorder("data-[variant=translucent]:border-warning-200 data-[variant=translucent]:dark:border-warning-800").withColor("data-[variant=outline]:text-warning-700 data-[variant=outline]:dark:text-warning-300").withBorder("data-[variant=outline]:border-warning-400 data-[variant=outline]:dark:border-warning-600").build()}},size:{lg:{root:new b().withFlex("gap-x-sm").withPadding("px-lg py-xs data-icon:pl-md data-removable:pr-sm").withFontSize("text-sm").build()},md:{root:new b().withFlex("gap-x-sm").withPadding("px-2.5 py-xxs data-icon:pl-sm data-removable:pr-sm").withFontSize("text-sm").build()},sm:{root:new b().withFlex("gap-x-xs").withPadding("px-md py-xxs data-icon:pl-xs data-removable:pr-xs").withFontSize("text-xs").build()}}}}),Zc=["data-icon","data-removable","data-variant"],jr=e.defineComponent({__name:"BadgeRoot",props:{isRemovable:{type:Boolean,default:!1},color:{},icon:{default:null},size:{default:"md"},variant:{},testId:{default:null},classConfig:{default:null}},emits:["remove"],setup(o,{emit:t}){const n=o,r=t,{theme:a}=U(),i=e.computed(()=>Lr({color:n.color,size:n.size,variant:n.variant})),l=e.computed(()=>X("badge",a.value,{color:n.color,size:n.size,variant:n.variant}));function s(){r("remove")}return Hc({...Z(n),customClassConfig:l,style:i,onRemove:s}),(d,c)=>(e.openBlock(),e.createBlock(H,{"test-id":n.testId},{default:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass(i.value.root({class:e.unref(x)(l.value.root,n.classConfig?.root)})),"data-icon":n.icon!==null||void 0,"data-removable":n.isRemovable||void 0,"data-variant":n.variant},[e.renderSlot(d.$slots,"default")],10,Zc)]),_:3},8,["test-id"]))}}),Gn=e.defineComponent({__name:"Badge",props:{isRemovable:{type:Boolean},color:{},icon:{},size:{},variant:{},testId:{},classConfig:{}},emits:["remove"],setup(o,{emit:t}){const n=o,r=t;return(a,i)=>(e.openBlock(),e.createBlock(jr,e.mergeProps(n,{onRemove:i[0]||(i[0]=l=>r("remove"))}),{default:e.withCtx(()=>[e.createVNode(Er),e.renderSlot(a.$slots,"left"),e.renderSlot(a.$slots,"default"),e.renderSlot(a.$slots,"right"),e.createVNode(zr)]),_:3},16))}}),Gr=e.defineComponent({__name:"SelectPlaceholder",setup(o){const{classConfig:t,customClassConfig:n,modelValue:r,placeholder:a,style:i}=de(),l=e.computed(()=>Array.isArray(r.value)?r.value.length===0:r.value===null);return(s,d)=>l.value?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(e.unref(i).placeholder({class:e.unref(x)(e.unref(n).placeholder,e.unref(t)?.placeholder)}))},e.toDisplayString(e.unref(a)),3)):e.createCommentVNode("",!0)}}),Jc={class:"whitespace-nowrap"},Qc={class:"whitespace-nowrap"},vc={class:"pl-xs text-sm font-medium text-secondary"},Hr=e.defineComponent({__name:"SelectBaseMultiple",setup(o){const{classConfig:t,customClassConfig:n,displayFn:r,modelValue:a,style:i}=de(),l=e.ref(null),s=e.ref(0),d=e.ref([]),c=e.ref(null);let u=null;const f=e.computed(()=>a.value),p=e.computed(()=>s.value===0?[]:f.value.filter((C,y)=>{if(d.value[y]===void 0)return!1;const m=d.value[y].getBoundingClientRect().width,w=c.value?.getBoundingClientRect().width??0,k=d.value.slice(0,y).reduce((g,B)=>g+B.getBoundingClientRect().width,0);return m+k+w+10<=s.value})),$=e.computed(()=>f.value.length-p.value.length);return e.onMounted(()=>{l.value!==null&&(u=new ResizeObserver(()=>{s.value=l.value.getBoundingClientRect().width??0}),u.observe(l.value))}),e.onBeforeUnmount(()=>{u===null||l.value===null||(u.unobserve(l.value),u.disconnect())}),(C,y)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"tagContainerRef",ref:l,class:e.normalizeClass(e.unref(i).baseMultiple({class:e.unref(x)(e.unref(n).baseMultiple,e.unref(t)?.baseMultiple)}))},[e.createVNode(Gr,{class:"pl-sm"}),f.value.length>0?e.renderSlot(C.$slots,"default",{key:0},()=>[e.createElementVNode("div",{class:e.normalizeClass([e.unref(i).baseMultiple({class:e.unref(x)(e.unref(n).baseMultiple,e.unref(t)?.baseMultiple)}),"invisible absolute"]),"aria-hidden":"true"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(f.value,(m,w)=>(e.openBlock(),e.createElementBlock("div",{key:w,ref_for:!0,ref_key:"badgeWrapperRef",ref:d},[e.renderSlot(C.$slots,"badge",{value:m},()=>[e.createVNode(Gn,{"class-config":{root:"rounded-md"},color:"gray",variant:"translucent"},{default:e.withCtx(()=>[e.createElementVNode("div",Jc,e.toDisplayString(e.unref(r)(m)),1)]),_:2},1024)])],512))),128))],2),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(p.value,(m,w)=>e.renderSlot(C.$slots,"badge",{key:w,value:m},()=>[e.createVNode(Gn,{"class-config":{root:"rounded-md"},color:"gray",variant:"translucent"},{default:e.withCtx(()=>[e.createElementVNode("div",Qc,e.toDisplayString(e.unref(r)(m)),1)]),_:2},1024)])),128)),$.value>0?(e.openBlock(),e.createElementBlock("div",{key:0,ref_key:"moreTagsCountRef",ref:c},[e.createElementVNode("span",vc," +"+e.toDisplayString($.value),1)],512)):e.createCommentVNode("",!0)]):e.createCommentVNode("",!0)],2))}}),eu={class:"truncate"},Hn=e.defineComponent({__name:"SelectBaseSingle",setup(o){const{classConfig:t,customClassConfig:n,displayFn:r,modelValue:a,style:i}=de();return(l,s)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(i).baseSingle({class:e.unref(x)(e.unref(n).baseSingle,e.unref(t)?.baseSingle)}))},[e.createVNode(Gr),e.unref(a)!==null?e.renderSlot(l.$slots,"default",{key:0},()=>[e.createElementVNode("span",eu,e.toDisplayString(e.unref(r)(e.unref(a))),1),e.renderSlot(l.$slots,"right")]):e.createCommentVNode("",!0)],2))}}),qr=e.defineComponent({__name:"SelectBase",setup(o){const{hasInlineSearchInput:t,isMultiple:n,classConfig:r,customClassConfig:a,style:i}=de();return(l,s)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(i).base({class:e.unref(x)(e.unref(a).base,e.unref(r)?.base)}))},[e.renderSlot(l.$slots,"default",{},()=>[e.unref(t)?(e.openBlock(),e.createBlock(Gc,{key:0})):e.unref(n)?(e.openBlock(),e.createBlock(Hr,{key:1},{badge:e.withCtx(({value:d})=>[e.renderSlot(l.$slots,"badge",{value:d})]),_:3})):(e.openBlock(),e.createBlock(Hn,{key:2}))])],2))}}),tu=e.defineComponent({__name:"SelectContent",setup(o){const{id:t,hasScrolledInDropdownContent:n,classConfig:r,customClassConfig:a,style:i}=de(),l=S.injectListboxRootContext(),s=e.ref(null),d=e.ref(null),c=nr(d);function u(){const $=s.value?.$el??null;return $===null?[]:Array.from($.querySelectorAll("[role=option]"))}function f($){if($.length===0)return;const C=$.findIndex(m=>m.getAttribute("aria-selected")==="true"),y=C===-1?$[0]:$[C];setTimeout(()=>{l.changeHighlight(y)})}function p($){const C=$.target;n.value=C.scrollTop!==0}return e.onMounted(()=>{setTimeout(()=>{const $=u();f($)})}),e.onBeforeUnmount(()=>{l.highlightedElement.value=null}),($,C)=>(e.openBlock(),e.createBlock(e.unref(Y.Motion),{animate:{height:e.unref(c).height.value},transition:{type:"spring",bounce:0,duration:.3},tabindex:"-1",class:"overflow-hidden"},{default:e.withCtx(()=>[e.createElementVNode("div",{ref_key:"listboxContentWrapperRef",ref:d},[e.createVNode(e.unref(S.ListboxContent),{id:`${e.unref(t)}-content`,ref_key:"listboxContentRef",ref:s,class:e.normalizeClass(e.unref(i).content({class:e.unref(x)(e.unref(a).content,e.unref(r)?.content)})),onScroll:p},{default:e.withCtx(()=>[e.renderSlot($.$slots,"default")]),_:3},8,["id","class"])],512)]),_:3},8,["animate"]))}}),[nu,Kt]=j("textFieldContext"),qn=e.defineComponent({__name:"TextFieldIconLeft",setup(o){const{classConfig:t,customClassConfig:n,iconLeft:r,style:a}=Kt();return(i,l)=>e.unref(r)!==null?(e.openBlock(),e.createBlock(ee,{key:0,icon:e.unref(r),class:e.normalizeClass(e.unref(a).iconLeft({class:e.unref(x)(e.unref(n).iconLeft,e.unref(t)?.iconLeft)}))},null,8,["icon","class"])):e.createCommentVNode("",!0)}}),Le=e.defineComponent({__name:"FormControl",props:{id:{},isDisabled:{type:Boolean},isInvalid:{type:Boolean},isLoading:{type:Boolean},isRequired:{type:Boolean},as:{default:null},describedBy:{}},setup(o){const t=o;return(n,r)=>(e.openBlock(),e.createBlock(e.unref(S.Primitive),{id:t.id,as:t.as??void 0,"as-child":t.as===null,"aria-invalid":t.isInvalid,"aria-describedby":t.describedBy,"aria-required":t.isRequired,"aria-busy":t.isLoading},{default:e.withCtx(()=>[e.createVNode(ce,{"is-disabled":t.isDisabled},{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default")]),_:3},8,["is-disabled"])]),_:3},8,["id","as","as-child","aria-invalid","aria-describedby","aria-required","aria-busy"]))}}),Un=e.defineComponent({__name:"TextFieldInput",setup(o){const{id:t,testId:n,isDisabled:r,isLoading:a,isRequired:i,isSpellCheckEnabled:l,autocomplete:s,classConfig:d,customClassConfig:c,errorMessage:u,modelValue:f,placeholder:p,style:$,type:C,onBlur:y,onFocus:m}=Kt();function w(k){f.value=k.target.value}return(k,g)=>(e.openBlock(),e.createBlock(H,{"test-id":e.unref(n)},{default:e.withCtx(()=>[e.createVNode(Le,{id:e.unref(t),value:e.unref(f),"is-loading":e.unref(a),"is-disabled":e.unref(r),"is-invalid":e.unref(u)!==null,"is-required":e.unref(i),"described-by":`${e.unref(t)}-error ${e.unref(t)}-hint`,class:e.normalizeClass(e.unref($).input({class:e.unref(x)(e.unref(c).input,e.unref(d)?.input)})),type:e.unref(C),autocomplete:e.unref(s),placeholder:e.unref(p),spellcheck:e.unref(l),onFocus:e.unref(m),onBlur:e.unref(y),onInput:w},{default:e.withCtx(()=>[...g[0]||(g[0]=[e.createElementVNode("input",null,null,-1)])]),_:1},8,["id","value","is-loading","is-disabled","is-invalid","is-required","described-by","class","type","autocomplete","placeholder","spellcheck","onFocus","onBlur"])]),_:1},8,["test-id"]))}}),Ur=q({slots:{iconLeft:new b().withBase("shrink-0").withSize("size-4.5").withSpacing("ml-3").withColor("text-quaternary group-data-disabled/text-field:text-fg-disabled").build(),iconRight:new b().withBase("shrink-0").withSize("size-4.5").withSpacing("mr-3").withColor("text-quaternary group-data-disabled/text-field:text-fg-disabled").build(),input:new b().withBase("outline-none").withSize("size-full").withFontSize("text-sm").withPadding("px-3 group-data-icon-left/text-field:pl-2 group-data-icon-right/text-field:pr-2").withColor("text-primary disabled:text-disabled placeholder:text-placeholder").withBackgroundColor("bg-transparent").withCursor("disabled:cursor-not-allowed").build(),loader:new b().withBase("shrink-0").withSpacing("mr-3").withSize("size-4").withColor("text-quaternary").build(),root:new b().withBase("group/text-field overflow-hidden").withFlex("flex items-center").withHeight("h-10").withBorder("border border-solid border-primary focus-within:border-brand-500").withBorder("data-disabled:border-disabled-subtle").withBorder("data-invalid:border-error data-invalid:focus-within:border-error").withBackgroundColor("bg-primary data-disabled:bg-disabled-subtle").withBorderRadius("rounded-md").withShadow("shadow-xs").withOutline("outline outline-transparent focus-within:outline-brand-500 focus-within:data-invalid:outline-error-500").withTransition("duration-200").withCursor("data-disabled:cursor-not-allowed").build()},variants:{variant:{}}}),ou=["data-icon-left","data-icon-right","data-invalid","data-disabled"],Wn=e.defineComponent({__name:"TextFieldRoot",props:e.mergeModels({isLoading:{type:Boolean,default:!1},isSpellCheckEnabled:{type:Boolean,default:!1},autocomplete:{default:"off"},iconLeft:{default:null},iconRight:{default:null},placeholder:{default:null},type:{default:"text"},variant:{default:null},testId:{default:null},isDisabled:{type:Boolean,default:!1},id:{default:null},isRequired:{type:Boolean,default:!1},isTouched:{type:Boolean,default:!1},errorMessage:{default:null},hint:{default:null},label:{default:null},classConfig:{default:null}},{modelValue:{required:!0},modelModifiers:{}}),emits:e.mergeModels(["focus","blur"],["update:modelValue"]),setup(o,{emit:t}){const n=o,r=t,a=e.useModel(o,"modelValue"),{theme:i}=U(),l=e.computed(()=>Ur({variant:n.variant??void 0})),s=e.computed(()=>X("textField",i.value,{variant:n.variant}));function d(u){r("blur",u)}function c(u){r("focus",u)}return nu({...Z(n),customClassConfig:s,modelValue:a,style:l,onBlur:d,onFocus:c}),(u,f)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(l.value.root({class:e.unref(x)(s.value.root,n.classConfig?.root)})),"data-icon-left":n.iconLeft!==null||void 0,"data-icon-right":n.iconRight!==null||void 0,"data-invalid":n.errorMessage!==null&&n.isTouched||void 0,"data-disabled":n.isDisabled||void 0},[e.renderSlot(u.$slots,"default")],10,ou))}}),ru={key:0,class:"relative p-xs pb-0"},au={key:0,class:"pointer-events-none absolute bottom-0 z-10 h-4 w-full translate-y-full bg-linear-to-b from-primary to-transparent"},iu=e.defineComponent({__name:"SelectDropdownSearchInput",setup(o){const{hasScrolledInDropdownContent:t,classConfig:n,customClassConfig:r,filter:a,searchInputPlaceholder:i,searchTerm:l}=de();return(s,d)=>e.unref(a)!==null&&e.unref(a).isEnabled&&!e.unref(a).isInline?(e.openBlock(),e.createElementBlock("div",ru,[e.createVNode(Wn,{modelValue:e.unref(l),"onUpdate:modelValue":d[0]||(d[0]=c=>e.isRef(l)?l.value=c:null),placeholder:e.unref(i),"class-config":e.unref(Ve)({root:"border-none shadow-none outline-none bg-secondary h-8 rounded-sm",iconLeft:"ml-md"},e.unref(r)?.dropdownSearchInput,e.unref(n)?.dropdownSearchInput)},{default:e.withCtx(()=>[e.createVNode(qn),e.createVNode(e.unref(S.ListboxFilter),{"as-child":!0},{default:e.withCtx(()=>[e.createVNode(Un)]),_:1})]),_:1},8,["modelValue","placeholder","class-config"]),e.unref(t)?(e.openBlock(),e.createElementBlock("div",au)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)}}),lu=e.defineComponent({__name:"SelectEmpty",setup(o){const{t}=ne.useI18n(),{classConfig:n,customClassConfig:r,filteredItems:a,searchTerm:i,style:l,virtualList:s,virtualListFilteredItems:d}=de(),c=e.computed(()=>s.value===null||!s.value.isEnabled?a.value.size===0:d.value.length===0);return(u,f)=>c.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(l).empty({class:e.unref(x)(e.unref(r).empty,e.unref(n)?.empty)}))},e.toDisplayString(e.unref(t)("component.select.empty_text",{searchTerm:e.unref(i)})),3)):e.createCommentVNode("",!0)}}),su=e.defineComponent({__name:"SelectIconLeft",setup(o){const{classConfig:t,customClassConfig:n,iconLeft:r,style:a}=de();return(i,l)=>e.unref(r)!==null?(e.openBlock(),e.createBlock(ee,{key:0,icon:e.unref(r),class:e.normalizeClass(e.unref(a).iconLeft({class:e.unref(x)(e.unref(n).iconLeft,e.unref(t)?.iconLeft)}))},null,8,["icon","class"])):e.createCommentVNode("",!0)}}),du=e.defineComponent({__name:"SelectIconRight",setup(o){const{isLoading:t,classConfig:n,customClassConfig:r,iconRight:a,style:i}=de();return(l,s)=>(e.openBlock(),e.createBlock(e.Transition,{"enter-from-class":"opacity-0 scale-75 blur-xxs","leave-to-class":"opacity-0 scale-75 blur-xxs","enter-active-class":"duration-300","leave-active-class":"duration-300"},{default:e.withCtx(()=>[e.unref(a)!==null&&!e.unref(t)?(e.openBlock(),e.createBlock(ee,{key:0,icon:e.unref(a),class:e.normalizeClass(e.unref(i).iconRight({class:e.unref(x)(e.unref(r).iconRight,e.unref(n)?.iconRight)}))},null,8,["icon","class"])):e.createCommentVNode("",!0)]),_:1}))}}),cu={class:"sr-only"},uu=e.defineComponent({__name:"SelectLoader",setup(o){const{isLoading:t,classConfig:n,customClassConfig:r,style:a}=de(),{t:i}=ne.useI18n();return(l,s)=>(e.openBlock(),e.createBlock(e.Transition,{"enter-from-class":"opacity-0 scale-75 blur-xxs","leave-to-class":"opacity-0 scale-75 blur-xxs","enter-active-class":"duration-300 absolute right-0","leave-active-class":"duration-300 absolute right-0"},{default:e.withCtx(()=>[e.unref(t)?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(a).loader({class:e.unref(x)(e.unref(r).loader,e.unref(n)?.loader)}))},[e.createElementVNode("span",cu,e.toDisplayString(e.unref(i)("shared.loading")),1),e.renderSlot(l.$slots,"default",{},()=>[e.createVNode(De,{"aria-hidden":!0})])],2)):e.createCommentVNode("",!0)]),_:3}))}}),[fu,Yt]=j("popoverContext"),Kn=e.defineComponent({__name:"PopoverAnchor",setup(o){const{popoverAnchorReferenceElement:t}=Yt();return(n,r)=>(e.openBlock(),e.createBlock(e.unref(S.PopoverAnchor),{"as-child":!0,reference:e.unref(t)??void 0},{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default")]),_:3},8,["reference"]))}}),Yn=e.defineComponent({__name:"PopoverArrow",setup(o){const{isPopoverArrowHidden:t,classConfig:n,customClassConfig:r,style:a}=Yt();return(i,l)=>e.unref(t)?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(e.unref(S.PopoverArrow),{key:0,as:"div",class:"relative -mb-4 h-4 w-10 overflow-hidden"},{default:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass(e.unref(a).arrow({class:e.unref(x)(e.unref(r).arrow,e.unref(n)?.arrow)}))},null,2)]),_:1}))}}),pt=e.defineComponent({__name:"ThemeProvider",props:{appearance:{default:null},asChild:{type:Boolean,default:!1},theme:{default:null}},setup(o){const t=o,n=U(),r=e.computed(()=>t.appearance??n.appearance.value??"light"),a=e.computed(()=>t.theme??n.theme.value);return Lc({appearance:r,theme:a}),(i,l)=>(e.openBlock(),e.createBlock(e.unref(S.Primitive),{"as-child":t.asChild,class:e.normalizeClass([a.value,r.value])},{default:e.withCtx(()=>[e.renderSlot(i.$slots,"default")]),_:3},8,["as-child","class"]))}}),Xn=e.defineComponent({__name:"PopoverContent",setup(o){const{testId:t,isOpen:n,classConfig:r,customClassConfig:a,popoverAlign:i,popoverAlignOffset:l,popoverCollisionPadding:s,popoverContainerElement:d,popoverSide:c,popoverSideOffset:u,popoverWidth:f,style:p,onAutoFocusOnClose:$,onContentEscapeKeyDown:C,onContentFocusOutside:y,onContentInteractOutside:m}=Yt();return(w,k)=>(e.openBlock(),e.createBlock(e.unref(Y.AnimatePresence),null,{default:e.withCtx(()=>[e.unref(n)?(e.openBlock(),e.createBlock(H,{key:0,"test-id":e.unref(t)},{default:e.withCtx(()=>[e.createVNode(pt,{"as-child":!0},{default:e.withCtx(()=>[e.createVNode(e.unref(S.PopoverContent),{"force-mount":!0,"as-child":!0,"data-content-width":e.unref(f),align:e.unref(i),"collision-padding":e.unref(s),"collision-boundary":e.unref(d),"align-offset":e.unref(l),side:e.unref(c),"side-offset":e.unref(u),class:e.normalizeClass(e.unref(p).content({class:e.unref(x)(e.unref(a).content,e.unref(r)?.content)})),"position-strategy":"absolute",sticky:"always",onEscapeKeyDown:e.unref(C),onFocusOutside:e.unref(y),onInteractOutside:e.unref(m),onCloseAutoFocus:e.unref($)},{default:e.withCtx(()=>[e.renderSlot(w.$slots,"default")]),_:3},8,["data-content-width","align","collision-padding","collision-boundary","align-offset","side","side-offset","class","onEscapeKeyDown","onFocusOutside","onInteractOutside","onCloseAutoFocus"])]),_:3})]),_:3},8,["test-id"])):e.createCommentVNode("",!0)]),_:3}))}}),[pu,fe]=j("configContext"),Zn=e.defineComponent({__name:"PopoverPortal",setup(o){const t=fe();return(n,r)=>(e.openBlock(),e.createBlock(e.unref(S.PopoverPortal),{to:e.unref(t).teleportTargetSelector},{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default")]),_:3},8,["to"]))}}),Wr=q({slots:{arrow:new b().withClasses("absolute left-1/2 rotate-45").withSize("size-4").withTranslate("-translate-x-1/2 -translate-y-3").withBorderRadius("rounded-xxs").withBackgroundColor("bg-primary").withBorder("border border-solid border-secondary").withShadow("shadow-lg").build(),content:new b().withBase("relative overflow-hidden data-[content-width=anchor-width]:w-(--reka-popover-trigger-width) data-[content-width=available-width]:w-(--reka-popover-content-available-width)").withHeight("max-h-(--reka-popper-available-height)").withFlex("flex flex-col").withBackgroundColor("bg-primary").withBorder("border border-solid border-secondary").withBorderRadius("rounded-lg").withSize("size-full").withBorderRadius("rounded-lg").withShadow("shadow-lg").withZIndex("z-40").build()},variants:{variant:{}}}),Jn=e.defineComponent({__name:"PopoverRoot",props:e.mergeModels({variant:{default:null},testId:{default:null},isPopoverArrowHidden:{type:Boolean,default:!1},popoverAlign:{default:"center"},popoverAlignOffset:{default:0},popoverAnchorReferenceElement:{default:null},popoverCollisionPadding:{default:10},popoverContainerElement:{default:null},popoverSide:{default:"bottom"},popoverSideOffset:{default:10},popoverWidth:{default:null},classConfig:{default:null}},{isOpen:{type:Boolean,default:!1,required:!1},isOpenModifiers:{}}),emits:e.mergeModels(["autoFocusOnClose","escapeKeyDown","focusOutside","interactOutside"],["update:isOpen"]),setup(o,{emit:t}){const n=o,r=t,a=e.useModel(o,"isOpen"),{theme:i}=U(),l=e.computed(()=>Wr({variant:n.variant??void 0})),s=e.computed(()=>X("popover",i.value,{variant:n.variant}));function d(p){r("escapeKeyDown",p)}function c(p){r("focusOutside",p)}function u(p){r("interactOutside",p)}function f(p){r("autoFocusOnClose",p)}return fu({...Z(n),isOpen:e.computed(()=>a.value),customClassConfig:s,style:l,onAutoFocusOnClose:f,onContentEscapeKeyDown:d,onContentFocusOutside:c,onContentInteractOutside:u}),(p,$)=>(e.openBlock(),e.createBlock(e.unref(S.PopoverRoot),{open:a.value,"onUpdate:open":$[0]||($[0]=C=>a.value=C)},{default:e.withCtx(()=>[e.renderSlot(p.$slots,"default")]),_:3},8,["open"]))}}),Xt=4,mu=e.defineComponent({__name:"SelectPopoverContentTransition",setup(o){const t=e.useAttrs(),n=e.computed(()=>t["data-side"]),r=e.ref(null);function a(i){switch(i){case"top":return{x:0,y:Xt};case"bottom":return{x:0,y:-Xt};case"left":return{x:Xt,y:0};case"right":return{x:-Xt,y:0}}}return(i,l)=>(e.openBlock(),e.createBlock(e.unref(Y.Motion),{ref_key:"motionRef",ref:r,initial:{opacity:0,scale:.9,...a(n.value)},animate:{opacity:1,scale:1,x:0,y:0},exit:{opacity:0,scale:.9,...a(n.value)},transition:{duration:.2,type:"spring",bounce:0},class:"origin-(--reka-popover-content-transform-origin)"},{default:e.withCtx(()=>[e.renderSlot(i.$slots,"default")]),_:3},8,["initial","exit"]))}}),Qn=e.defineComponent({__name:"PopoverTrigger",setup(o){return(t,n)=>(e.openBlock(),e.createBlock(e.unref(S.PopoverTrigger),{"as-child":!0},{default:e.withCtx(()=>[e.renderSlot(t.$slots,"default")]),_:3}))}}),hu=["id","tabindex","aria-expanded","aria-controls","onKeydown"],gu={key:0,class:"sr-only"},bu={key:1,class:"sr-only"},$u=e.defineComponent({__name:"SelectPopoverTrigger",setup(o){const{id:t,hasInlineSearchInput:n,isDisabled:r,isDropdownVisible:a,displayFn:i,filter:l,modelValue:s,setIsDropdownVisible:d}=de(),c=e.computed(()=>l.value===null?!0:!l.value.isEnabled||!l.value.isInline);function u(){d(!0)}return(f,p)=>(e.openBlock(),e.createBlock(ce,{"is-disabled":e.unref(r)},{default:e.withCtx(()=>[e.createVNode(Qn,null,{default:e.withCtx(()=>[e.createElementVNode("button",{id:e.unref(n)?void 0:e.unref(t)??void 0,tabindex:c.value?0:-1,"aria-expanded":e.unref(a),"aria-controls":`${e.unref(t)}-content`,class:e.normalizeClass([{"cursor-not-allowed":e.unref(r)},"absolute inset-0 outline-none"]),role:"combobox",onKeydown:[e.withKeys(e.withModifiers(u,["prevent"]),["arrow-down"]),e.withKeys(e.withModifiers(u,["prevent"]),["arrow-up"])]},[Array.isArray(e.unref(s))?(e.openBlock(),e.createElementBlock("span",gu,e.toDisplayString(e.unref(s).map(e.unref(i)).join(", ")),1)):e.unref(s)!==null?(e.openBlock(),e.createElementBlock("span",bu,e.toDisplayString(e.unref(i)(e.unref(s))),1)):e.createCommentVNode("",!0)],42,hu)]),_:1})]),_:1},8,["is-disabled"]))}}),yu=e.defineComponent({__name:"SelectPopover",setup(o){const{hasInlineSearchInput:t,isDropdownHidden:n,isDropdownVisible:r,isPopoverArrowVisible:a,classConfig:i,customClassConfig:l,popoverAlign:s,popoverAlignOffset:d,popoverAnchorReferenceElement:c,popoverCollisionPadding:u,popoverContainerElement:f,popoverSide:p,popoverSideOffset:$,popoverWidth:C,setIsDropdownVisible:y,onDropdownEscapeKeyDown:m,onDropdownInteractOutside:w}=de();function k(g){t.value&&g.preventDefault()}return(g,B)=>(e.openBlock(),e.createBlock(Jn,{"is-open":e.unref(r)&&!e.unref(n),"is-popover-arrow-hidden":!e.unref(a),"popover-align":e.unref(s),"popover-align-offset":e.unref(d),"popover-collision-padding":e.unref(u),"popover-container-element":e.unref(f),"popover-side-offset":e.unref($),"popover-side":e.unref(p),"popover-width":e.unref(C),"popover-anchor-reference-element":e.unref(c),"class-config":e.unref(Ve)(e.unref(l).popover,e.unref(i)?.popover),"onUpdate:isOpen":e.unref(y),onEscapeKeyDown:e.unref(m),onInteractOutside:e.unref(w),onAutoFocusOnClose:k},{default:e.withCtx(()=>[e.renderSlot(g.$slots,"anchor",{},()=>[e.createVNode(Kn,null,{default:e.withCtx(()=>[e.createVNode($u)]),_:1})]),e.renderSlot(g.$slots,"inline-content"),e.createVNode(Zn,null,{default:e.withCtx(()=>[e.createVNode(Xn,null,{default:e.withCtx(()=>[e.createVNode(mu,null,{default:e.withCtx(()=>[e.renderSlot(g.$slots,"content"),e.createVNode(Yn)]),_:3})]),_:3})]),_:3})]),_:3},8,["is-open","is-popover-arrow-hidden","popover-align","popover-align-offset","popover-collision-padding","popover-container-element","popover-side-offset","popover-side","popover-width","popover-anchor-reference-element","class-config","onUpdate:isOpen","onEscapeKeyDown","onInteractOutside"]))}}),Kr=q({slots:{base:new b().withBase("overflow-hidden").withFlex("flex items-center").withSize("size-full").build(),baseMultiple:new b().withPadding("px-sm group-data-icon-left/select:pl-2 group-data-icon-right/select:pr-2").withFlex("flex items-center gap-xs").withSize("size-full").build(),baseSingle:new b().withFontSize("text-sm").withColor("text-primary group-data-disabled/select:text-disabled").withPadding("px-3 group-data-icon-left/select:pl-2 group-data-icon-right/select:pr-2").withSize("w-full").withFlex("flex items-center").build(),content:new b().withBase("outline-none min-w-(--reka-popover-trigger-width)").withBase("overflow-auto").withPadding("p-xs").withHeight("max-h-80").build(),empty:new b().withColor("text-tertiary").withFontSize("text-sm").withPadding("p-sm").build(),group:new b().build(),groupLabel:new b().withColor("text-tertiary").withFontSize("text-sm").withFontWeight("font-medium").withSpacing("py-xs").build(),iconLeft:new b().withBase("shrink-0").withSize("size-4.5").withSpacing("ml-3").withColor("text-quaternary group-data-disabled/select:text-fg-disabled").build(),iconRight:new b().withBase("shrink-0").withSize("size-4.5").withSpacing("mr-3").withColor("text-quaternary group-data-disabled/select:text-fg-disabled").build(),inlineSearchInput:new b().withOutline("outline-none").withBase("z-10").withSize("size-full").withFontSize("text-sm").withColor("text-primary").withBackgroundColor("bg-transparent").withPadding("px-3 group-data-icon-left/select:pl-2 group-data-icon-right/select:pr-2").withCursor("disabled:cursor-not-allowed").build(),item:new b().withBase("outline-none").withSize("w-full").withCursor("cursor-pointer data-disabled:cursor-not-allowed").withBorderRadius("rounded-sm").withPadding("p-md").withSpacing("not-last:mb-xxs").withFlex("flex items-center justify-between gap-x-md").withFontSize("text-sm").withFontWeight("data-[state=checked]:font-medium").withColor("text-secondary data-disabled:text-disabled").withBackgroundColor("data-[state=checked]:bg-secondary not-data-disabled:data-highlighted:bg-secondary-hover not-data-disabled:hover:bg-secondary-hover").withTransition("not-data-disabled:data-highlighted:data-[state=checked]:brightness-98").build(),itemIndicator:new b().withSize("size-4").withColor("text-secondary").build(),loader:new b().withBase("pointer-events-none").withBase("shrink-0").withSpacing("mr-3").withSize("size-4").withColor("text-quaternary").build(),placeholder:new b().withColor("text-placeholder").withFontSize("text-sm").build(),root:new b().withBase("relative group/select overflow-hidden").withFlex("flex items-center").withHeight("h-10").withBorder("border border-solid border-primary focus-within:border-brand-500").withBorder("data-disabled:border-disabled-subtle").withBorder("data-invalid:border-error data-invalid:focus-within:border-error").withBackgroundColor("bg-primary data-disabled:bg-disabled-subtle").withBorderRadius("rounded-md").withShadow("shadow-xs").withOutline("outline outline-transparent focus-within:outline-brand-500 focus-within:data-invalid:outline-error-500").withTransition("duration-200").withCursor("data-disabled:cursor-not-allowed").build(),searchInput:"",separator:new b().withHeight("h-px").withBackgroundColor("bg-quaternary").withSpacing("my-xs").build()},variants:{variant:{}}}),wu=e.defineComponent({__name:"SelectRoot",props:e.mergeModels({isDropdownHidden:{type:Boolean,default:!1},isLoading:{type:Boolean,default:!1},isSearchTermControlled:{type:Boolean,default:!1},clearSearchTermOnSelect:{type:Boolean,default:!1},displayFn:{},filter:{default:null},iconLeft:{default:null},iconRight:{default:"selectIconRight"},placeholder:{default:null},remainOpenOnSelect:{type:[Boolean,null],default:null},searchInputPlaceholder:{default:null},variant:{default:null},virtualList:{default:null},testId:{default:null},isDisabled:{type:Boolean,default:!1},id:{default:null},isRequired:{type:Boolean,default:!1},isTouched:{type:Boolean,default:!1},errorMessage:{default:null},hint:{default:null},label:{default:null},isPopoverArrowVisible:{type:Boolean,default:!1},popoverAlign:{default:"end"},popoverAlignOffset:{default:0},popoverAnchorReferenceElement:{default:null},popoverCollisionPadding:{default:0},popoverContainerElement:{default:null},popoverSide:{default:"bottom"},popoverSideOffset:{default:6},popoverWidth:{default:null},classConfig:{default:null}},{modelValue:{required:!0},modelModifiers:{},searchTerm:{default:"",required:!1},searchTermModifiers:{},isOpen:{type:Boolean,default:!1,required:!1},isOpenModifiers:{}}),emits:e.mergeModels(["focus","blur"],["update:modelValue","update:searchTerm","update:isOpen"]),setup(o,{emit:t}){const n=o,r=t,a=e.useModel(o,"modelValue"),i=e.useModel(o,"searchTerm"),l=e.useModel(o,"isOpen"),{theme:s}=U(),{t:d}=ne.useI18n(),c=n.id??e.useId(),u=e.ref(null),f=e.ref(!1),p=e.ref(new Map),$=e.ref(new Map),C=e.ref(null),y=e.ref(!1),{contains:m}=S.useFilter(),w=e.computed(()=>Kr({variant:n.variant??void 0})),k=e.computed(()=>X("select",s.value,{variant:n.variant})),g=e.computed(()=>Array.isArray(a.value)),B=e.ref(!1),N=e.computed(()=>n.remainOpenOnSelect??g.value),F=e.computed(()=>n.filter===null?!1:(n.filter.isEnabled&&n.filter.isInline)??!1);function W(_,R){const O=n.displayFn(_);return m(O.toLowerCase(),R.toLowerCase())}const E=e.computed(()=>n.filter?.fn??W),G=e.computed(()=>n.filter===null||!n.filter.isEnabled||F.value&&!y.value?p.value:new Map(Array.from(p.value.entries()).filter(([_,R])=>E.value(R,i.value)))),$e=e.computed(()=>n.virtualList===null||!n.virtualList.isEnabled?[]:n.virtualList.items.filter(_=>E.value(_,i.value))),ye=e.computed(()=>new Map(Array.from($.value.entries()).filter(([_,R])=>Array.from(R).some(O=>G.value.has(O))))),ie=e.computed(()=>n.searchInputPlaceholder??d("component.select.search_input_placeholder"));function Ce(_){l.value=_}function P(){if(!n.isSearchTermControlled){if(g.value||!F.value||a.value===null||n.clearSearchTermOnSelect){i.value="";return}i.value=n.displayFn(a.value)}}function M(){F.value&&setTimeout(()=>{C.value?.focus()})}function D(){M()}function z(){n.isSearchTermControlled||P(),y.value=!1}function V(){B.value||me(),B.value=!0}function L(){setTimeout(()=>{!u.value?.$el.contains(document.activeElement)&&(!l.value||n.isDropdownHidden)&&(B.value=!1,oe())})}function Q(){M()}function me(){r("focus")}function oe(){r("blur")}function K(_){_.target===C.value?_.preventDefault():oe()}function v(){M(),N.value||Ce(!1)}return e.watch(l,_=>{_?D():z()}),e.watch(a,P,{immediate:!0}),_c({...Z(n),id:e.computed(()=>c),hasInlineSearchInput:F,hasInteractedWithInlineSearchInput:y,hasScrolledInDropdownContent:f,isDropdownVisible:e.computed(()=>l.value),isMultiple:g,allGroups:$,allItems:p,customClassConfig:k,filteredGroups:ye,filteredItems:G,inlinesearchInputElementRef:C,modelValue:a,remainOpenOnSelect:N,searchInputPlaceholder:ie,searchTerm:i,setIsDropdownVisible:Ce,style:w,virtualListFilteredItems:$e,onDropdownEscapeKeyDown:Q,onDropdownInteractOutside:K,onSelectItem:v}),(_,R)=>(e.openBlock(),e.createBlock(H,{"test-id":n.testId},{default:e.withCtx(()=>[e.createVNode(Le,{id:null,ref_key:"rootRef",ref:u,"is-disabled":n.isDisabled,"is-invalid":n.errorMessage!==null,"is-loading":n.isLoading,"is-required":n.isRequired,"described-by":`${e.unref(c)}-error ${e.unref(c)}-hint`,"data-invalid":n.errorMessage!==null&&n.isTouched||void 0,"data-icon-left":o.iconLeft!==null||void 0,"data-icon-right":o.iconRight!==null||void 0,"data-disabled":n.isDisabled||void 0,onFocusin:V,onFocusout:L,onEntryFocus:R[1]||(R[1]=e.withModifiers(()=>{},["prevent"]))},{default:e.withCtx(()=>[e.createVNode(e.unref(S.ListboxRoot),{modelValue:a.value,"onUpdate:modelValue":R[0]||(R[0]=O=>a.value=O),"selection-behavior":g.value?"toggle":"replace",multiple:g.value,class:e.normalizeClass(w.value.root({class:e.unref(x)(k.value.root,n.classConfig?.root)}))},{default:e.withCtx(()=>[e.renderSlot(_.$slots,"default")]),_:3},8,["modelValue","selection-behavior","multiple","class"])]),_:3},8,["is-disabled","is-invalid","is-loading","is-required","described-by","data-invalid","data-icon-left","data-icon-right","data-disabled"])]),_:3},8,["test-id"]))}}),Cu={class:"w-full"},_u=e.defineComponent({__name:"SelectVirtualList",setup(o){const{displayFn:t,virtualList:n,virtualListFilteredItems:r}=de();return(a,i)=>e.unref(n)!==null&&e.unref(n).isEnabled?(e.openBlock(),e.createBlock(e.unref(S.ListboxVirtualizer),{key:0,options:e.unref(r),overscan:10,"estimate-size":e.unref(n).optionHeight??39,"text-content":e.unref(t)},{default:e.withCtx(({option:l})=>[e.createElementVNode("div",Cu,[e.renderSlot(a.$slots,"item",{item:l},()=>[e.createVNode(Ye,{value:l},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(t)(l)),1)]),_:2},1032,["value"])])])]),_:3},8,["options","estimate-size","text-content"])):e.createCommentVNode("",!0)}}),mt=e.defineComponent({__name:"Select",props:e.mergeModels({isDropdownHidden:{type:Boolean},isLoading:{type:Boolean},isSearchTermControlled:{type:Boolean},clearSearchTermOnSelect:{type:Boolean},displayFn:{},filter:{},iconLeft:{},iconRight:{},placeholder:{},remainOpenOnSelect:{type:[Boolean,null],default:null},searchInputPlaceholder:{},variant:{},virtualList:{},testId:{},isDisabled:{type:Boolean},id:{},isRequired:{type:Boolean},isTouched:{type:Boolean},errorMessage:{},hint:{},label:{},isPopoverArrowVisible:{type:Boolean},popoverAlign:{},popoverAlignOffset:{},popoverAnchorReferenceElement:{},popoverCollisionPadding:{},popoverContainerElement:{},popoverSide:{},popoverSideOffset:{},popoverWidth:{},classConfig:{}},{modelValue:{required:!0},modelModifiers:{},searchTerm:{required:!1},searchTermModifiers:{},isOpen:{type:Boolean,default:!1,required:!1},isOpenModifiers:{}}),emits:e.mergeModels(["focus","blur"],["update:modelValue","update:searchTerm","update:isOpen"]),setup(o,{emit:t}){const n=o,r=t,a=e.useModel(o,"modelValue"),i=e.useModel(o,"searchTerm"),l=e.useModel(o,"isOpen"),s=n.id??e.useId();return(d,c)=>(e.openBlock(),e.createBlock(_e,{"error-message":n.errorMessage,hint:n.hint,"is-required":n.isRequired,"is-touched":n.isTouched,label:n.label,for:e.unref(s)},{label:e.withCtx(()=>[e.renderSlot(d.$slots,"label")]),error:e.withCtx(()=>[e.renderSlot(d.$slots,"error")]),hint:e.withCtx(()=>[e.renderSlot(d.$slots,"hint")]),default:e.withCtx(()=>[e.createVNode(wu,e.mergeProps(n,{id:e.unref(s),modelValue:a.value,"onUpdate:modelValue":c[0]||(c[0]=u=>a.value=u),"search-term":i.value,"onUpdate:searchTerm":c[1]||(c[1]=u=>i.value=u),"is-open":l.value,"onUpdate:isOpen":c[2]||(c[2]=u=>l.value=u),onBlur:c[3]||(c[3]=u=>r("blur")),onFocus:c[4]||(c[4]=u=>r("focus"))}),{default:e.withCtx(()=>[e.createVNode(yu,null,{anchor:e.withCtx(()=>[e.renderSlot(d.$slots,"anchor")]),"inline-content":e.withCtx(()=>[e.renderSlot(d.$slots,"left"),e.renderSlot(d.$slots,"icon-left",{},()=>[e.createVNode(su)]),e.renderSlot(d.$slots,"base",{},()=>[e.createVNode(qr,null,{badge:e.withCtx(({value:u})=>[e.renderSlot(d.$slots,"badge",{value:u})]),_:3})]),e.renderSlot(d.$slots,"icon-right",{},()=>[e.createVNode(du)]),e.renderSlot(d.$slots,"loader",{},()=>[e.createVNode(uu)]),e.renderSlot(d.$slots,"right")]),content:e.withCtx(()=>[e.createVNode(iu),e.createVNode(tu,null,{default:e.withCtx(()=>[e.createVNode(_u,null,{item:e.withCtx(({item:u})=>[e.renderSlot(d.$slots,"virtual-list-item",{item:u})]),_:3}),e.renderSlot(d.$slots,"default"),e.createVNode(lu)]),_:3})]),_:3})]),_:3},16,["id","modelValue","search-term","is-open"])]),_:3},8,["error-message","hint","is-required","is-touched","label","for"]))}}),Yr=e.defineComponent({__name:"Autocomplete",props:e.mergeModels({isSearchTermOptional:{type:Boolean,default:!1},debounceTimeoutInMs:{default:300},items:{},isDropdownHidden:{type:Boolean},isLoading:{type:Boolean},isSearchTermControlled:{type:Boolean},clearSearchTermOnSelect:{type:Boolean},displayFn:{},iconLeft:{},iconRight:{default:null},placeholder:{},remainOpenOnSelect:{type:[Boolean,null]},searchInputPlaceholder:{},variant:{},testId:{},isDisabled:{type:Boolean},id:{},isRequired:{type:Boolean},isTouched:{type:Boolean},errorMessage:{},hint:{},label:{},isPopoverArrowVisible:{type:Boolean},popoverAlign:{},popoverAlignOffset:{},popoverAnchorReferenceElement:{},popoverCollisionPadding:{},popoverContainerElement:{},popoverSide:{},popoverSideOffset:{},popoverWidth:{},classConfig:{}},{modelValue:{required:!0},modelModifiers:{}}),emits:e.mergeModels(["search"],["update:modelValue"]),setup(o,{emit:t}){const n=o,r=t,a=e.useModel(o,"modelValue"),i=e.ref(a.value?n.displayFn(a.value):""),l=e.ref(!1),s=e.ref(n.items),d=e.computed(()=>i.value.trim().length===0),c=e.computed(()=>a.value===null?!1:i.value===n.displayFn(a.value)),u=e.computed(()=>{if(s.value.length===0&&d.value||c.value&&s.value.length===0||(n.isLoading||l.value)&&s.value.length===0)return!1;if(s.value.length===1){const y=JSON.stringify(s.value[0])===JSON.stringify(a.value),m=s.value[0]!==null&&i.value===n.displayFn(s.value[0]);if(y&&!m)return!1}return!0}),f=e.computed(()=>n.iconRight!==null?n.iconRight:n.isSearchTermOptional?"selectIconRight":null),p=ud(y=>{l.value=!1,y!==null&&r("search",y)},n.debounceTimeoutInMs);function $(y){!y&&!n.isSearchTermOptional&&(s.value=[])}e.watch(i,y=>{d.value&&(s.value=[]),!c.value&&(d.value?(l.value=!1,p(null)):(l.value=!0,p(y)))}),e.watch(()=>n.items,y=>{s.value=y});function C(y){y!==null&&(i.value=n.displayFn(y))}return(y,m)=>(e.openBlock(),e.createBlock(mt,e.mergeProps(n,{"search-term":i.value,"onUpdate:searchTerm":m[0]||(m[0]=w=>i.value=w),modelValue:a.value,"onUpdate:modelValue":[m[1]||(m[1]=w=>a.value=w),C],filter:{isEnabled:!0,isInline:!0,fn:()=>!0},"icon-right":f.value,"is-dropdown-hidden":!u.value,"is-loading":n.isLoading||l.value,"is-search-term-controlled":!0,"onUpdate:isOpen":$}),{base:e.withCtx(()=>[e.renderSlot(y.$slots,"base")]),left:e.withCtx(()=>[e.renderSlot(y.$slots,"left")]),right:e.withCtx(()=>[e.renderSlot(y.$slots,"right")]),loader:e.withCtx(()=>[e.renderSlot(y.$slots,"loader")]),default:e.withCtx(()=>[e.renderSlot(y.$slots,"items",{items:s.value},()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.value,(w,k)=>e.renderSlot(y.$slots,"item",{key:k,value:w},()=>[e.createVNode(Ye,{value:w},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(n.displayFn(w)),1)]),_:2},1032,["value"])])),128))])]),_:3},16,["search-term","modelValue","icon-right","is-dropdown-hidden","is-loading"]))}}),xu={class:"overflow-hidden"},ku={class:"truncate font-medium"},Su={class:"line-clamp-2"},Bu=e.defineComponent({__name:"AddressAutocomplete",props:e.mergeModels({isSearchTermOptional:{type:Boolean},debounceTimeoutInMs:{},isDropdownHidden:{type:Boolean},isLoading:{type:Boolean},isSearchTermControlled:{type:Boolean},clearSearchTermOnSelect:{type:Boolean},iconLeft:{},iconRight:{},placeholder:{},remainOpenOnSelect:{type:[Boolean,null]},searchInputPlaceholder:{},variant:{},testId:{},isDisabled:{type:Boolean},id:{},isRequired:{type:Boolean},isTouched:{type:Boolean},errorMessage:{},hint:{},label:{},isPopoverArrowVisible:{type:Boolean},popoverAlign:{},popoverAlignOffset:{},popoverAnchorReferenceElement:{},popoverCollisionPadding:{},popoverContainerElement:{},popoverSide:{},popoverSideOffset:{},popoverWidth:{},classConfig:{}},{modelValue:{required:!0},modelModifiers:{}}),emits:e.mergeModels(["focus","blur","error"],["update:modelValue"]),setup(o,{emit:t}){const n=o,r=t,a=e.useModel(o,"modelValue"),{googleMapsApiKey:i}=fe(),l=e.ref(!1),s=e.ref([]);let d=null;const c=e.ref(null),u=e.computed(()=>a.value===null?null:od(a.value)),f=e.computed(()=>s.value.map(y=>({placeId:y.placeId,mainText:y.mainText,secondaryText:y.secondaryText})));async function p(y){if(d===null)throw new Error("Autocomplete service is not defined");l.value=!0;try{let m=y;const w=/\/\s*(\d+)/,k=y.match(w);if(k!==null&&k[1]!==void 0){const B=k[1];m=m.replace(w,`/bus ${B}`)}const g=await d.fetchAutocompleteSuggestions({input:m});s.value=g.suggestions.filter(B=>B.placePrediction!==null).map(B=>{const N=B.placePrediction;return{placeId:N.placeId,mainText:N.mainText?.text??"",secondaryText:N.secondaryText?.text??""}})}catch(m){r("error",m)}l.value=!1}async function $(y){if(y===null){a.value=null;return}c.value=y,a.value=await nd(y.placeId),c.value=null}async function C(y){const m=new We({apiKey:y,libraries:["places"]}),{AutocompleteSuggestion:w}=await m.importLibrary("places");return w}return e.onMounted(async()=>{if(i===null)throw new Error("Google Maps API key is not defined. Provide it in the config using the `<ConfigProvider />` component.");d=await C(i)}),(y,m)=>(e.openBlock(),e.createBlock(Yr,e.mergeProps(n,{"model-value":c.value||u.value,items:f.value,"is-loading":l.value,"display-fn":w=>e.unref(rd)(w),onSearch:p,onFocus:m[0]||(m[0]=w=>r("focus")),onBlur:m[1]||(m[1]=w=>r("blur")),"onUpdate:modelValue":$}),{base:e.withCtx(()=>[e.renderSlot(y.$slots,"base")]),left:e.withCtx(()=>[e.renderSlot(y.$slots,"left")]),right:e.withCtx(()=>[e.renderSlot(y.$slots,"right")]),loader:e.withCtx(()=>[e.renderSlot(y.$slots,"loader")]),item:e.withCtx(({value:w})=>[e.createVNode(Ye,{value:w},{default:e.withCtx(()=>[e.createElementVNode("div",xu,[e.createElementVNode("p",ku,e.toDisplayString(w.mainText),1),e.createElementVNode("p",Su,e.toDisplayString(w.secondaryText),1)])]),_:2},1032,["value"])]),_:3},16,["model-value","items","is-loading","display-fn"]))}}),Xr=q({slots:{fallback:new b().withBase("uppercase").withFontSize("text-sm").withColor("text-secondary").withFontWeight("font-medium").build(),image:new b().withSize("size-full").build(),root:new b().withBase("overflow-hidden").withFlex("flex items-center justify-center").withSize("size-10").withBackgroundColor("bg-tertiary").withBorderRadius("rounded-full").build()},variants:{variant:{}}}),[Nu,Zr]=j("avatarContext"),Jr=e.defineComponent({__name:"AvatarFallback",setup(o){const{name:t,classConfig:n,customClassConfig:r,style:a}=Zr(),i=e.computed(()=>t.value.split(" ").map(d=>d.charAt(0).toUpperCase()).join(""));return(l,s)=>(e.openBlock(),e.createBlock(e.unref(S.AvatarFallback),{class:e.normalizeClass(e.unref(a).fallback({class:e.unref(x)(e.unref(r).fallback,e.unref(n)?.fallback)}))},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(i.value),1)]),_:1},8,["class"]))}}),Qr=e.defineComponent({__name:"AvatarImage",setup(o){const{name:t,classConfig:n,customClassConfig:r,src:a,style:i}=Zr();return(l,s)=>e.unref(a)!==null?(e.openBlock(),e.createBlock(e.unref(S.AvatarImage),{key:0,src:e.unref(a),alt:e.unref(t),class:e.normalizeClass(e.unref(i).image({class:e.unref(x)(e.unref(r).image,e.unref(n)?.image)}))},null,8,["src","alt","class"])):e.createCommentVNode("",!0)}}),vr=e.defineComponent({__name:"AvatarRoot",props:{name:{},src:{default:null},variant:{default:null},testId:{default:null},classConfig:{default:null}},setup(o){const t=o,{theme:n}=U(),r=e.computed(()=>Xr({variant:t.variant??void 0})),a=e.computed(()=>X("avatar",n.value,{variant:t.variant}));return Nu({...Z(t),customClassConfig:a,style:r}),(i,l)=>(e.openBlock(),e.createBlock(e.unref(S.AvatarRoot),{class:e.normalizeClass(r.value.root({class:e.unref(x)(a.value.root,t.classConfig?.root)}))},{default:e.withCtx(()=>[e.renderSlot(i.$slots,"default")]),_:3},8,["class"]))}}),Vu=e.defineComponent({__name:"Avatar",props:{name:{},src:{},variant:{},testId:{},classConfig:{}},setup(o){const t=o;return(n,r)=>(e.openBlock(),e.createBlock(vr,e.normalizeProps(e.guardReactiveProps(t)),{default:e.withCtx(()=>[e.createVNode(Qr),e.createVNode(Jr)]),_:1},16))}}),ea=q({extend:Rr,slots:{content:new b().withClasses("[grid-area:stack] group-data-[loading=true]/button:invisible group-data-[loading=true]/button:opacity-0").withFlex("flex items-center justify-center").withTransition("duration-300 group-data-[loading=true]/button:scale-95 group-data-[loading=true]/button:blur-xxs").build(),iconLeft:new b().withBase("shrink-0").build(),iconRight:new b().withBase("shrink-0").build(),loader:new b().withClasses("[grid-area:stack] mx-auto group-data-[loading=false]/button:invisible group-data-[loading=false]/button:opacity-0").withBase("shrink-0").withTransition("duration-300 group-data-[loading=false]/button:scale-95").build(),root:new b().withGrid('grid items-center justify-center [grid-template-areas:"stack"]').withFontWeight("font-medium").build()},variants:{size:{"2xl":{iconLeft:new b().withMargin("mr-md").withSize("size-5").build(),iconRight:new b().withMargin("ml-md").withSize("size-5").build(),loader:new b().withSize("size-5").build(),root:new b().withPadding("px-5.5").withFontSize("text-lg").withSize("min-w-15").build()},lg:{iconLeft:new b().withMargin("mr-sm").withSize("size-4").build(),iconRight:new b().withMargin("ml-sm").withSize("size-4").build(),loader:new b().withSize("size-4").build(),root:new b().withPadding("px-xl").withFontSize("text-md").withSize("min-w-11").build()},md:{iconLeft:new b().withMargin("mr-xs").withSize("size-4").build(),iconRight:new b().withMargin("ml-xs").withSize("size-4").build(),loader:new b().withSize("size-4.5").build(),root:new b().withPadding("px-3.5").withFontSize("text-sm").withSize("min-w-10").build()},sm:{iconLeft:new b().withMargin("mr-xs").withSize("size-4").build(),iconRight:new b().withMargin("ml-xs").withSize("size-4").build(),loader:new b().withSize("size-4").build(),root:new b().withPadding("px-lg").withFontSize("text-sm").withSize("min-w-9").build()},xl:{iconLeft:new b().withMargin("mr-sm").withSize("size-5").build(),iconRight:new b().withMargin("ml-sm").withSize("size-5").build(),loader:new b().withSize("size-5").build(),root:new b().withPadding("px-4.5").withFontSize("text-md").withSize("min-w-12").build()}}}}),ta=ea,[Pu,Zt]=j("buttonContext"),na=e.defineComponent({__name:"ButtonContent",setup(o){const{classConfig:t,customClassConfig:n,style:r}=Zt();return(a,i)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(r).content({class:e.unref(x)(e.unref(n).content,e.unref(t)?.content)}))},[e.renderSlot(a.$slots,"default")],2))}}),oa=e.defineComponent({__name:"ButtonIconLeft",setup(o){const{classConfig:t,customClassConfig:n,iconLeft:r,style:a}=Zt();return(i,l)=>e.unref(r)!==null?(e.openBlock(),e.createBlock(ee,{key:0,icon:e.unref(r),class:e.normalizeClass(e.unref(a).iconLeft({class:e.unref(x)(e.unref(n).iconLeft,e.unref(t)?.iconLeft)}))},null,8,["icon","class"])):e.createCommentVNode("",!0)}}),ra=e.defineComponent({__name:"ButtonIconRight",setup(o){const{classConfig:t,customClassConfig:n,iconRight:r,style:a}=Zt();return(i,l)=>e.unref(r)!==null?(e.openBlock(),e.createBlock(ee,{key:0,icon:e.unref(r),class:e.normalizeClass(e.unref(a).iconRight({class:e.unref(x)(e.unref(n).iconRight,e.unref(t)?.iconRight)}))},null,8,["icon","class"])):e.createCommentVNode("",!0)}}),Iu={class:"sr-only"},aa=e.defineComponent({__name:"ButtonLoader",setup(o){const{t}=ne.useI18n(),{classConfig:n,customClassConfig:r,style:a}=Zt();return(i,l)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(a).loader({class:e.unref(x)(e.unref(r).loader,e.unref(n)?.loader)}))},[e.createElementVNode("span",Iu,e.toDisplayString(e.unref(t)("shared.loading")),1),e.renderSlot(i.$slots,"default",{},()=>[e.createVNode(De)])],2))}}),ia=e.defineComponent({__name:"ButtonRoot",props:{size:{default:"md"},variant:{default:"primary"},iconLeft:{default:null},iconRight:{default:null},isLoading:{type:Boolean,default:!1},type:{default:"button"},testId:{default:null},isDisabled:{type:Boolean,default:!1},classConfig:{default:null}},emits:["click"],setup(o,{emit:t}){const n=o,r=t,{theme:a}=U(),i=e.computed(()=>ta({size:n.size,variant:n.variant})),l=e.computed(()=>X("button",a.value,{size:n.size,variant:n.variant}));function s(d){n.isLoading||r("click",d)}return Pu({...Z(n),customClassConfig:l,style:i}),(d,c)=>(e.openBlock(),e.createBlock(H,{"test-id":n.testId},{default:e.withCtx(()=>[e.createVNode(ce,{"is-disabled":n.isDisabled,"aria-disabled":n.isLoading,"aria-busy":n.isLoading,type:n.type,"data-loading":n.isLoading,class:e.normalizeClass(i.value.root({class:e.unref(x)(l.value.root,n.classConfig?.root)})),as:"button",onClick:s},{default:e.withCtx(()=>[e.renderSlot(d.$slots,"default")]),_:3},8,["is-disabled","aria-disabled","aria-busy","type","data-loading","class"])]),_:3},8,["test-id"]))}}),Jt=e.defineComponent({__name:"Button",props:{size:{},variant:{},iconLeft:{},iconRight:{},isLoading:{type:Boolean},type:{},testId:{},isDisabled:{type:Boolean},classConfig:{}},emits:["click"],setup(o,{emit:t}){const n=o,r=t;return(a,i)=>(e.openBlock(),e.createBlock(ia,e.mergeProps(n,{onClick:i[0]||(i[0]=l=>r("click",l))}),{default:e.withCtx(()=>[e.renderSlot(a.$slots,"loader",{},()=>[e.createVNode(aa)]),e.createVNode(na,null,{default:e.withCtx(()=>[e.renderSlot(a.$slots,"icon-left",{},()=>[e.createVNode(oa)]),e.renderSlot(a.$slots,"default"),e.renderSlot(a.$slots,"icon-right",{},()=>[e.createVNode(ra)])]),_:3})]),_:3},16))}}),[Tu,vn]=j("iconButtonContext"),la=e.defineComponent({__name:"RouterLinkButtonContent",setup(o){const{classConfig:t,customClassConfig:n,style:r}=vn();return(a,i)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(r).content({class:e.unref(x)(e.unref(n).content,e.unref(t)?.content)}))},[e.renderSlot(a.$slots,"default")],2))}}),sa=e.defineComponent({__name:"RouterLinkButtonIconLeft",setup(o){const{classConfig:t,customClassConfig:n,iconLeft:r,style:a}=vn();return(i,l)=>e.unref(r)!==null?(e.openBlock(),e.createBlock(ee,{key:0,icon:e.unref(r),class:e.normalizeClass(e.unref(a).iconLeft({class:e.unref(x)(e.unref(n).iconLeft,e.unref(t)?.iconLeft)}))},null,8,["icon","class"])):e.createCommentVNode("",!0)}}),da=e.defineComponent({__name:"RouterLinkButtonIconRight",setup(o){const{classConfig:t,customClassConfig:n,iconRight:r,style:a}=vn();return(i,l)=>e.unref(r)!==null?(e.openBlock(),e.createBlock(ee,{key:0,icon:e.unref(r),class:e.normalizeClass(e.unref(a).iconRight({class:e.unref(x)(e.unref(n).iconRight,e.unref(t)?.iconRight)}))},null,8,["icon","class"])):e.createCommentVNode("",!0)}}),ca=ea,ua=e.defineComponent({__name:"RouterLinkButtonRoot",props:{size:{default:"md"},to:{},variant:{default:"primary"},iconLeft:{default:null},iconRight:{default:null},testId:{default:null},classConfig:{default:null}},setup(o){const t=o,{theme:n}=U(),r=e.computed(()=>ca({size:t.size,variant:t.variant})),a=e.computed(()=>X("routerLinkButton",n.value,{size:t.size,variant:t.variant}));return Tu({...Z(t),customClassConfig:a,style:r}),(i,l)=>(e.openBlock(),e.createBlock(H,{"test-id":t.testId},{default:e.withCtx(()=>[e.createVNode(e.unref(Je.RouterLink),{class:e.normalizeClass(r.value.root({class:e.unref(x)(a.value.root,t.classConfig?.root)})),"data-loading":!1,to:t.to},{default:e.withCtx(()=>[e.renderSlot(i.$slots,"default")]),_:3},8,["class","to"])]),_:3},8,["test-id"]))}}),Eu=e.defineComponent({__name:"RouterLinkButton",props:{size:{},to:{},variant:{},iconLeft:{},iconRight:{},testId:{},classConfig:{}},setup(o){const t=o;return(n,r)=>(e.openBlock(),e.createBlock(ua,e.normalizeProps(e.guardReactiveProps(t)),{default:e.withCtx(()=>[e.createVNode(la,null,{default:e.withCtx(()=>[e.renderSlot(n.$slots,"icon-left",{},()=>[e.createVNode(sa)]),e.renderSlot(n.$slots,"default"),e.renderSlot(n.$slots,"icon-right",{},()=>[e.createVNode(da)])]),_:3})]),_:3},16))}}),[Mu,fa]=j("checkboxContext"),Du={key:0,width:"100%",height:"100%",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true"},Fu={key:1,width:"100%",height:"100%",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true"},pa=e.defineComponent({__name:"CheckboxIndicator",setup(o){const t={hidden:{opacity:0,pathLength:0},visible:{opacity:1,pathLength:1,transition:{opacity:{duration:.01},pathLength:{bounce:0,duration:.5,type:"spring"}}}},{isIndeterminate:n,classConfig:r,customClassConfig:a,style:i}=fa();return(l,s)=>(e.openBlock(),e.createBlock(e.unref(Y.AnimatePresence),{initial:!1},{default:e.withCtx(()=>[e.createVNode(e.unref(S.CheckboxIndicator),{class:e.normalizeClass(e.unref(i).indicator({class:e.unref(x)(e.unref(a).indicator,e.unref(r)?.indicator)})),"as-child":!0},{default:e.withCtx(()=>[e.renderSlot(l.$slots,"default",{},()=>[e.unref(n)?(e.openBlock(),e.createElementBlock("svg",Du,[e.createVNode(e.unref(Y.motion).path,{variants:t,tabindex:"-1",initial:"hidden",d:"M2.5 6H9.5",stroke:"currentColor","stroke-width":"1.66666","stroke-linecap":"round","stroke-linejoin":"round",animate:"visible",exit:"hidden"})])):(e.openBlock(),e.createElementBlock("svg",Fu,[e.createVNode(e.unref(Y.motion).path,{variants:t,tabindex:"-1",initial:"hidden",d:"M2 6L4.5 8.5L10 3",stroke:"currentColor","stroke-width":"1.6666","stroke-linecap":"round","stroke-linejoin":"round",animate:"visible",exit:"hidden"})]))])]),_:3},8,["class"])]),_:3}))}}),ma=e.defineComponent({__name:"CheckboxControl",setup(o){const{classConfig:t,customClassConfig:n,style:r}=fa();return(a,i)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(r).control({class:e.unref(x)(e.unref(t)?.control,e.unref(n)?.control)}))},[e.createVNode(pa)],2))}}),Ru=q({slots:{control:new b().withBase("relative overflow-hidden isolate").withSize("size-4").withFlex("flex items-center justify-center").withBorder("border border-solid border-primary group-data-[state=checked]/checkbox:border-brand-600 group-data-[state=checked]/checkbox:group-disabled/checkbox:border-disabled disabled:border-disabled").withBorder("group-data-invalid/checkbox:group-data-[state=checked]/checkbox:border-error group-data-invalid/checkbox:group-data-[state=unchecked]/checkbox:border-error").withBorderRadius("rounded-xs").withBackgroundColor("group-data-[state=checked]/checkbox:bg-brand-solid group-disabled/checkbox:group-data-[state=checked]/checkbox:bg-disabled-subtle group-disabled/checkbox:bg-disabled-subtle").withBackgroundColor("group-data-invalid/checkbox:group-data-[state=checked]/checkbox:bg-error-solid").withOutline("outline-2 outline-transparent group-focus-visible/checkbox:outline-brand-600 outline-offset-1 group-focus-visible/checkbox:group-data-invalid/checkbox:outline-error-600").withTransition("duration-300").build(),indicator:new b().withBase("block").withColor("text-primary-on-brand group-data-disabled/checkbox:text-fg-disabled-subtle").withSize("size-3").build(),root:new b().withBase("group/checkbox outline-none").withFlex("flex items-center justify-start").withCursor("cursor-pointer disabled:cursor-not-allowed").build()},variants:{variant:{}}}),ha=e.defineComponent({__name:"CheckboxRoot",props:e.mergeModels({isIndeterminate:{type:Boolean,default:!1},value:{default:null},variant:{default:null},testId:{default:null},isDisabled:{type:Boolean,default:!1},id:{default:null},isRequired:{type:Boolean,default:!1},isTouched:{type:Boolean,default:!1},errorMessage:{default:null},hint:{default:null},label:{default:null},classConfig:{default:null}},{modelValue:{type:Boolean,required:!1},modelModifiers:{}}),emits:e.mergeModels(["focus","blur"],["update:modelValue"]),setup(o,{emit:t}){const n=o,r=t,a=e.useModel(o,"modelValue"),i=e.computed({get(){return a.value===null?null:a.value?!0:n.isIndeterminate?"indeterminate":!1},set(c){c!==null&&(a.value=c==="indeterminate"?!1:c)}}),{theme:l}=U(),s=e.computed(()=>Ru({variant:n.variant??void 0})),d=e.computed(()=>X("checkbox",l.value,{variant:n.variant}));return Mu({...Z(n),customClassConfig:d,style:s}),(c,u)=>(e.openBlock(),e.createBlock(H,{"test-id":o.testId},{default:e.withCtx(()=>[e.createVNode(Le,{id:o.id,"is-disabled":o.isDisabled,"is-invalid":o.errorMessage!==null,"is-required":o.isRequired,"described-by":`${o.id}-error ${o.id}-hint`,"is-loading":!1},{default:e.withCtx(()=>[e.createVNode(e.unref(S.CheckboxRoot),{modelValue:i.value,"onUpdate:modelValue":u[0]||(u[0]=f=>i.value=f),value:n.value,"data-invalid":o.errorMessage!==null&&n.isTouched||void 0,class:e.normalizeClass(s.value.root({class:e.unref(x)(d.value.root,n.classConfig?.root)})),onFocus:u[1]||(u[1]=f=>r("focus")),onBlur:u[2]||(u[2]=f=>r("blur"))},{default:e.withCtx(()=>[e.renderSlot(c.$slots,"default")]),_:3},8,["modelValue","value","data-invalid","class"])]),_:3},8,["id","is-disabled","is-invalid","is-required","described-by"])]),_:3},8,["test-id"]))}}),Ou=e.defineComponent({__name:"Checkbox",props:e.mergeModels({isIndeterminate:{type:Boolean},value:{},variant:{},testId:{},isDisabled:{type:Boolean},id:{},isRequired:{type:Boolean},isTouched:{type:Boolean},errorMessage:{},hint:{},label:{},classConfig:{}},{modelValue:{type:Boolean,required:!1},modelModifiers:{}}),emits:e.mergeModels(["focus","blur"],["update:modelValue"]),setup(o,{emit:t}){const n=o,r=t,a=e.useModel(o,"modelValue"),i=n.id??e.useId();return(l,s)=>(e.openBlock(),e.createBlock(_e,{"error-message":n.errorMessage,hint:n.hint,"is-required":n.isRequired,"is-touched":n.isTouched,label:n.label,for:e.unref(i),layout:"horizontal"},{label:e.withCtx(()=>[e.renderSlot(l.$slots,"label")]),error:e.withCtx(()=>[e.renderSlot(l.$slots,"error")]),hint:e.withCtx(()=>[e.renderSlot(l.$slots,"hint")]),default:e.withCtx(()=>[e.createVNode(ha,e.mergeProps(n,{id:e.unref(i),modelValue:a.value,"onUpdate:modelValue":s[0]||(s[0]=d=>a.value=d),onBlur:s[1]||(s[1]=d=>r("blur")),onFocus:s[2]||(s[2]=d=>r("focus"))}),{default:e.withCtx(()=>[e.renderSlot(l.$slots,"default",{},()=>[e.createVNode(ma)])]),_:3},16,["id","modelValue"])]),_:3},8,["error-message","hint","is-required","is-touched","label","for"]))}});function ga(o,t){function n(r){setTimeout(()=>{o.value.contains(document.activeElement)||t(r)})}e.onMounted(()=>{if(o.value===null)throw new Error("Element is null");o.value.addEventListener("focusout",n)}),e.onBeforeUnmount(()=>{o.value?.removeEventListener("focusout",n)})}const ba=e.defineComponent({__name:"CheckboxGroupRoot",props:e.mergeModels({testId:{default:null},isDisabled:{type:Boolean,default:!1},id:{default:null},isRequired:{type:Boolean,default:!1},isTouched:{type:Boolean,default:!1},errorMessage:{default:null},hint:{default:null},label:{default:null}},{modelValue:{required:!0},modelModifiers:{}}),emits:e.mergeModels(["blur"],["update:modelValue"]),setup(o,{emit:t}){const n=o,r=t,a=e.useModel(o,"modelValue"),i=e.ref(null);return ga(e.computed(()=>i.value?.$el??null),()=>{r("blur")}),(l,s)=>(e.openBlock(),e.createBlock(H,{"test-id":n.testId},{default:e.withCtx(()=>[e.createVNode(ce,{"is-disabled":n.isDisabled},{default:e.withCtx(()=>[e.createVNode(e.unref(S.CheckboxGroupRoot),e.mergeProps({ref_key:"checkboxGroupRootRef",ref:i},n,{modelValue:a.value,"onUpdate:modelValue":s[0]||(s[0]=d=>a.value=d)}),{default:e.withCtx(()=>[e.renderSlot(l.$slots,"default")]),_:3},16,["modelValue"])]),_:3},8,["is-disabled"])]),_:3},8,["test-id"]))}}),Au=e.defineComponent({__name:"CheckboxGroup",props:e.mergeModels({testId:{},isDisabled:{type:Boolean},id:{},isRequired:{type:Boolean},isTouched:{type:Boolean},errorMessage:{},hint:{},label:{}},{modelValue:{required:!0},modelModifiers:{}}),emits:e.mergeModels(["blur"],["update:modelValue"]),setup(o,{emit:t}){const n=o,r=t,a=e.useModel(o,"modelValue"),i=n.id??e.useId();return(l,s)=>(e.openBlock(),e.createBlock(_e,{"error-message":n.errorMessage,hint:n.hint,"is-required":n.isRequired,"is-touched":n.isTouched,label:n.label,for:e.unref(i)},{label:e.withCtx(()=>[e.renderSlot(l.$slots,"label")]),error:e.withCtx(()=>[e.renderSlot(l.$slots,"error")]),hint:e.withCtx(()=>[e.renderSlot(l.$slots,"hint")]),default:e.withCtx(()=>[e.createVNode(ba,e.mergeProps(n,{id:e.unref(i),modelValue:a.value,"onUpdate:modelValue":s[0]||(s[0]=d=>a.value=d),onBlur:s[1]||(s[1]=d=>r("blur"))}),{default:e.withCtx(()=>[e.renderSlot(l.$slots,"default")]),_:3},16,["id","modelValue"])]),_:3},8,["error-message","hint","is-required","is-touched","label","for"]))}}),$a=e.defineComponent({__name:"TooltipProvider",setup(o){return(t,n)=>(e.openBlock(),e.createBlock(e.unref(S.TooltipProvider),null,{default:e.withCtx(()=>[e.renderSlot(t.$slots,"default")]),_:3}))}}),zu=e.defineComponent({__name:"ConfigProvider",props:{areKeyboardShortcutHintsHidden:{type:Boolean},autoCloseToast:{},googleMapsApiKey:{},hourCycle:{},locale:{},pagination:{},teleportTargetSelector:{},toastPosition:{}},setup(o){const t=o;return pu({areKeyboardShortcutHintsHidden:e.computed(()=>t.areKeyboardShortcutHintsHidden??!1),autoCloseToast:e.computed(()=>t.autoCloseToast??null),googleMapsApiKey:t.googleMapsApiKey??null,hourCycle:e.computed(()=>t.hourCycle??null),locale:e.computed(()=>t.locale),pagination:{limit:t.pagination?.limit},teleportTargetSelector:t.teleportTargetSelector??"body",toastPosition:t.toastPosition}),(n,r)=>(e.openBlock(),e.createBlock($a,null,{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default")]),_:3}))}}),ya=q({slots:{iconLeft:new b().withBase("shrink-0").withSize("size-4.5").withSpacing("ml-3").withColor("text-quaternary group-data-disabled/date-field:text-fg-disabled").build(),iconRight:new b().withBase("shrink-0").withSize("size-4.5").withSpacing("mr-3").withColor("text-quaternary group-data-disabled/date-field:text-fg-disabled").build(),input:new b().withBase("outline-none").withFontSize("text-sm").withBackgroundColor("focus:bg-quaternary").withPadding("px-0.5 data-[segment=literal]:px-0").withBorderRadius("rounded-xs").withColor("text-primary data-placeholder:text-placeholder data-[segment=literal]:text-placeholder group-data-disabled/date-field:text-disabled").withCursor("disabled:cursor-not-allowed").withTransition("duration-200").build(),inputs:new b().withFlex("flex items-center").withSize("size-full").withPadding("pl-3 pr-2 group-data-icon-left/date-field:pl-2").withBackgroundColor("group-data-disabled/date-field:bg-disabled-subtle").build(),loader:new b().withBase("shrink-0").withSpacing("mr-3").withSize("size-4").withColor("text-quaternary").build(),root:new b().withBase("group/date-field overflow-hidden").withFlex("flex items-center").withHeight("h-10").withBorder("border border-solid border-primary focus-within:border-brand-500").withBorder("data-disabled:border-disabled-subtle").withBorder("data-invalid:border-error data-invalid:focus-within:border-error").withBackgroundColor("bg-primary data-disabled:bg-disabled-subtle").withBorderRadius("rounded-md").withShadow("shadow-xs").withOutline("outline outline-transparent focus-within:outline-brand-500 focus-within:data-invalid:outline-error-500").withTransition("duration-200").withCursor("data-disabled:cursor-not-allowed").build()},variants:{variant:{}}}),[Lu,Qt]=j("dateFieldContext"),wa=e.defineComponent({__name:"DateFieldIconLeft",setup(o){const{classConfig:t,customClassConfig:n,iconLeft:r,style:a}=Qt();return(i,l)=>e.unref(r)!==null?(e.openBlock(),e.createBlock(ee,{key:0,icon:e.unref(r),class:e.normalizeClass(e.unref(a).iconLeft({class:e.unref(x)(e.unref(n).iconLeft,e.unref(t)?.iconLeft)}))},null,8,["icon","class"])):e.createCommentVNode("",!0)}}),Ca=e.defineComponent({__name:"DateFieldInput",props:{segments:{}},setup(o){const t=o,{testId:n,classConfig:r,customClassConfig:a,style:i,onBlur:l,onFocus:s}=Qt();return(d,c)=>(e.openBlock(),e.createBlock(H,{"test-id":e.unref(n)},{default:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass(e.unref(i).inputs({class:e.unref(x)(e.unref(a).inputs,e.unref(r)?.inputs)}))},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.segments,u=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:u.part},[u.part==="literal"?(e.openBlock(),e.createBlock(e.unref(S.DateFieldInput),{key:0,part:u.part,class:e.normalizeClass(e.unref(i).input({class:e.unref(x)(e.unref(a).input,e.unref(r)?.input)}))},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(u.value),1)]),_:2},1032,["part","class"])):(e.openBlock(),e.createBlock(e.unref(S.DateFieldInput),{key:1,part:u.part,class:e.normalizeClass(e.unref(i).input({class:e.unref(x)(e.unref(a).input,e.unref(r)?.input)})),onFocus:e.unref(s),onBlur:e.unref(l)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(u.value),1)]),_:2},1032,["part","class","onFocus","onBlur"]))],64))),128))],2)]),_:1},8,["test-id"]))}}),ju={class:"sr-only"},_a=e.defineComponent({__name:"DateFieldLoader",setup(o){const{isLoading:t,classConfig:n,customClassConfig:r,style:a}=Qt(),{t:i}=ne.useI18n();return(l,s)=>e.unref(t)?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(a).loader({class:e.unref(x)(e.unref(r).loader,e.unref(n)?.loader)}))},[e.createElementVNode("span",ju,e.toDisplayString(e.unref(i)("shared.loading")),1),e.renderSlot(l.$slots,"default",{},()=>[e.createVNode(De,{"aria-hidden":!0})])],2)):e.createCommentVNode("",!0)}}),[Gu,xa]=j("useDatePickerDateContext"),[Hu,eo]=j("datePickerContext"),vt=e.defineComponent({__name:"DatePickerDate",setup(o){const{classConfig:t,customClassConfig:n,style:r}=eo(),{date:a,month:i}=xa();return(l,s)=>(e.openBlock(),e.createBlock(e.unref(S.CalendarCellTrigger),{day:e.unref(a),month:e.unref(i),class:e.normalizeClass(e.unref(r).date({class:e.unref(x)(e.unref(n).date,e.unref(t)?.date)}))},{default:e.withCtx(({today:d})=>[e.renderSlot(l.$slots,"default",{day:e.unref(a).day},()=>[e.createTextVNode(e.toDisplayString(e.unref(a).day),1)]),d?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(r).todayIndicator({class:e.unref(x)(e.unref(n).todayIndicator,e.unref(t)?.todayIndicator)}))},null,2)):e.createCommentVNode("",!0)]),_:3},8,["day","month","class"]))}});function to(o,t){return o-t*Math.floor(o/t)}const ka=1721426;function en(o,t,n,r){t=no(o,t);let a=t-1,i=-2;return n<=2?i=0:tn(t)&&(i=-1),ka-1+365*a+Math.floor(a/4)-Math.floor(a/100)+Math.floor(a/400)+Math.floor((367*n-362)/12+i+r)}function tn(o){return o%4===0&&(o%100!==0||o%400===0)}function no(o,t){return o==="BC"?1-t:t}function qu(o){let t="AD";return o<=0&&(t="BC",o=1-o),[t,o]}const Uu={standard:[31,28,31,30,31,30,31,31,30,31,30,31],leapyear:[31,29,31,30,31,30,31,31,30,31,30,31]};class nn{fromJulianDay(t){let n=t,r=n-ka,a=Math.floor(r/146097),i=to(r,146097),l=Math.floor(i/36524),s=to(i,36524),d=Math.floor(s/1461),c=to(s,1461),u=Math.floor(c/365),f=a*400+l*100+d*4+u+(l!==4&&u!==4?1:0),[p,$]=qu(f),C=n-en(p,$,1,1),y=2;n<en(p,$,3,1)?y=0:tn($)&&(y=1);let m=Math.floor(((C+y)*12+373)/367),w=n-en(p,$,m,1)+1;return new ht(p,$,m,w)}toJulianDay(t){return en(t.era,t.year,t.month,t.day)}getDaysInMonth(t){return Uu[tn(t.year)?"leapyear":"standard"][t.month-1]}getMonthsInYear(t){return 12}getDaysInYear(t){return tn(t.year)?366:365}getYearsInEra(t){return 9999}getEras(){return["BC","AD"]}isInverseEra(t){return t.era==="BC"}balanceDate(t){t.year<=0&&(t.era=t.era==="BC"?"AD":"BC",t.year=1-t.year)}constructor(){this.identifier="gregory"}}function Wu(o,t){var n,r,a,i;return(i=(a=(n=o.isEqual)===null||n===void 0?void 0:n.call(o,t))!==null&&a!==void 0?a:(r=t.isEqual)===null||r===void 0?void 0:r.call(t,o))!==null&&i!==void 0?i:o.identifier===t.identifier}function Sa(o,t){return o.calendar.toJulianDay(o)-t.calendar.toJulianDay(t)}function Ba(o,t){return Na(o)-Na(t)}function Na(o){return o.hour*36e5+o.minute*6e4+o.second*1e3+o.millisecond}let oo=null;function ot(){return oo==null&&(oo=new Intl.DateTimeFormat().resolvedOptions().timeZone),oo}function Va(o){o=ro(o,new nn);let t=no(o.era,o.year);return Pa(t,o.month,o.day,o.hour,o.minute,o.second,o.millisecond)}function Pa(o,t,n,r,a,i,l){let s=new Date;return s.setUTCHours(r,a,i,l),s.setUTCFullYear(o,t-1,n),s.getTime()}function Ia(o,t){if(t==="UTC")return 0;if(o>0&&t===ot())return new Date(o).getTimezoneOffset()*-6e4;let{year:n,month:r,day:a,hour:i,minute:l,second:s}=Ea(o,t);return Pa(n,r,a,i,l,s,0)-Math.floor(o/1e3)*1e3}const Ta=new Map;function Ea(o,t){let n=Ta.get(t);n||(n=new Intl.DateTimeFormat("en-US",{timeZone:t,hour12:!1,era:"short",year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"}),Ta.set(t,n));let r=n.formatToParts(new Date(o)),a={};for(let i of r)i.type!=="literal"&&(a[i.type]=i.value);return{year:a.era==="BC"||a.era==="B"?-a.year+1:+a.year,month:+a.month,day:+a.day,hour:a.hour==="24"?0:+a.hour,minute:+a.minute,second:+a.second}}const Ma=864e5;function Ku(o,t,n,r){return(n===r?[n]:[n,r]).filter(i=>Yu(o,t,i))}function Yu(o,t,n){let r=Ea(n,t);return o.year===r.year&&o.month===r.month&&o.day===r.day&&o.hour===r.hour&&o.minute===r.minute&&o.second===r.second}function Xu(o,t,n="compatible"){let r=Fa(o);if(t==="UTC")return Va(r);if(t===ot()&&n==="compatible"){r=ro(r,new nn);let d=new Date,c=no(r.era,r.year);return d.setFullYear(c,r.month-1,r.day),d.setHours(r.hour,r.minute,r.second,r.millisecond),d.getTime()}let a=Va(r),i=Ia(a-Ma,t),l=Ia(a+Ma,t),s=Ku(r,t,a-i,a-l);if(s.length===1)return s[0];if(s.length>1)switch(n){case"compatible":case"earlier":return s[0];case"later":return s[s.length-1];case"reject":throw new RangeError("Multiple possible absolute times found")}switch(n){case"earlier":return Math.min(a-i,a-l);case"compatible":case"later":return Math.max(a-i,a-l);case"reject":throw new RangeError("No such absolute time found")}}function Da(o,t,n="compatible"){return new Date(Xu(o,t,n))}function Fa(o,t){let n=0,r=0,a=0,i=0;if("timeZone"in o)({hour:n,minute:r,second:a,millisecond:i}=o);else if("hour"in o&&!t)return o;return t&&({hour:n,minute:r,second:a,millisecond:i}=t),new rn(o.calendar,o.era,o.year,o.month,o.day,n,r,a,i)}function ro(o,t){if(Wu(o.calendar,t))return o;let n=t.fromJulianDay(o.calendar.toJulianDay(o)),r=o.copy();return r.calendar=t,r.era=n.era,r.year=n.year,r.month=n.month,r.day=n.day,rt(r),r}function ao(o,t){let n=o.copy(),r="hour"in n?Ga(n,t):0;io(n,t.years||0),n.calendar.balanceYearMonth&&n.calendar.balanceYearMonth(n,o),n.month+=t.months||0,lo(n),Ra(n),n.day+=(t.weeks||0)*7,n.day+=t.days||0,n.day+=r,Zu(n),n.calendar.balanceDate&&n.calendar.balanceDate(n),n.year<1&&(n.year=1,n.month=1,n.day=1);let a=n.calendar.getYearsInEra(n);if(n.year>a){var i,l;let d=(i=(l=n.calendar).isInverseEra)===null||i===void 0?void 0:i.call(l,n);n.year=a,n.month=d?1:n.calendar.getMonthsInYear(n),n.day=d?1:n.calendar.getDaysInMonth(n)}n.month<1&&(n.month=1,n.day=1);let s=n.calendar.getMonthsInYear(n);return n.month>s&&(n.month=s,n.day=n.calendar.getDaysInMonth(n)),n.day=Math.max(1,Math.min(n.calendar.getDaysInMonth(n),n.day)),n}function io(o,t){var n,r;!((n=(r=o.calendar).isInverseEra)===null||n===void 0)&&n.call(r,o)&&(t=-t),o.year+=t}function lo(o){for(;o.month<1;)io(o,-1),o.month+=o.calendar.getMonthsInYear(o);let t=0;for(;o.month>(t=o.calendar.getMonthsInYear(o));)o.month-=t,io(o,1)}function Zu(o){for(;o.day<1;)o.month--,lo(o),o.day+=o.calendar.getDaysInMonth(o);for(;o.day>o.calendar.getDaysInMonth(o);)o.day-=o.calendar.getDaysInMonth(o),o.month++,lo(o)}function Ra(o){o.month=Math.max(1,Math.min(o.calendar.getMonthsInYear(o),o.month)),o.day=Math.max(1,Math.min(o.calendar.getDaysInMonth(o),o.day))}function rt(o){o.calendar.constrainDate&&o.calendar.constrainDate(o),o.year=Math.max(1,Math.min(o.calendar.getYearsInEra(o),o.year)),Ra(o)}function Oa(o){let t={};for(let n in o)typeof o[n]=="number"&&(t[n]=-o[n]);return t}function Aa(o,t){return ao(o,Oa(t))}function za(o,t){let n=o.copy();return t.era!=null&&(n.era=t.era),t.year!=null&&(n.year=t.year),t.month!=null&&(n.month=t.month),t.day!=null&&(n.day=t.day),rt(n),n}function La(o,t){let n=o.copy();return t.hour!=null&&(n.hour=t.hour),t.minute!=null&&(n.minute=t.minute),t.second!=null&&(n.second=t.second),t.millisecond!=null&&(n.millisecond=t.millisecond),ja(n),n}function Ju(o){o.second+=Math.floor(o.millisecond/1e3),o.millisecond=on(o.millisecond,1e3),o.minute+=Math.floor(o.second/60),o.second=on(o.second,60),o.hour+=Math.floor(o.minute/60),o.minute=on(o.minute,60);let t=Math.floor(o.hour/24);return o.hour=on(o.hour,24),t}function ja(o){o.millisecond=Math.max(0,Math.min(o.millisecond,1e3)),o.second=Math.max(0,Math.min(o.second,59)),o.minute=Math.max(0,Math.min(o.minute,59)),o.hour=Math.max(0,Math.min(o.hour,23))}function on(o,t){let n=o%t;return n<0&&(n+=t),n}function Ga(o,t){return o.hour+=t.hours||0,o.minute+=t.minutes||0,o.second+=t.seconds||0,o.millisecond+=t.milliseconds||0,Ju(o)}function Ha(o,t){let n=o.copy();return Ga(n,t),n}function Qu(o,t){return Ha(o,Oa(t))}function qa(o,t,n,r){let a=o.copy();switch(t){case"era":{let s=o.calendar.getEras(),d=s.indexOf(o.era);if(d<0)throw new Error("Invalid era: "+o.era);d=je(d,n,0,s.length-1,r?.round),a.era=s[d],rt(a);break}case"year":var i,l;!((i=(l=a.calendar).isInverseEra)===null||i===void 0)&&i.call(l,a)&&(n=-n),a.year=je(o.year,n,-1/0,9999,r?.round),a.year===-1/0&&(a.year=1),a.calendar.balanceYearMonth&&a.calendar.balanceYearMonth(a,o);break;case"month":a.month=je(o.month,n,1,o.calendar.getMonthsInYear(o),r?.round);break;case"day":a.day=je(o.day,n,1,o.calendar.getDaysInMonth(o),r?.round);break;default:throw new Error("Unsupported field "+t)}return o.calendar.balanceDate&&o.calendar.balanceDate(a),rt(a),a}function Ua(o,t,n,r){let a=o.copy();switch(t){case"hour":{let i=o.hour,l=0,s=23;if(r?.hourCycle===12){let d=i>=12;l=d?12:0,s=d?23:11}a.hour=je(i,n,l,s,r?.round);break}case"minute":a.minute=je(o.minute,n,0,59,r?.round);break;case"second":a.second=je(o.second,n,0,59,r?.round);break;case"millisecond":a.millisecond=je(o.millisecond,n,0,999,r?.round);break;default:throw new Error("Unsupported field "+t)}return a}function je(o,t,n,r,a=!1){if(a){o+=Math.sign(t),o<n&&(o=r);let i=Math.abs(t);t>0?o=Math.ceil(o/i)*i:o=Math.floor(o/i)*i,o>r&&(o=n)}else o+=t,o<n?o=r-(n-o-1):o>r&&(o=n+(o-r-1));return o}function Wa(o){return`${String(o.hour).padStart(2,"0")}:${String(o.minute).padStart(2,"0")}:${String(o.second).padStart(2,"0")}${o.millisecond?String(o.millisecond/1e3).slice(1):""}`}function Ka(o){let t=ro(o,new nn),n;return t.era==="BC"?n=t.year===1?"0000":"-"+String(Math.abs(1-t.year)).padStart(6,"00"):n=String(t.year).padStart(4,"0"),`${n}-${String(t.month).padStart(2,"0")}-${String(t.day).padStart(2,"0")}`}function vu(o){return`${Ka(o)}T${Wa(o)}`}function ef(o,t){if(t.has(o))throw new TypeError("Cannot initialize the same private elements twice on an object")}function so(o,t,n){ef(o,t),t.set(o,n)}function Ya(o){let t=typeof o[0]=="object"?o.shift():new nn,n;if(typeof o[0]=="string")n=o.shift();else{let l=t.getEras();n=l[l.length-1]}let r=o.shift(),a=o.shift(),i=o.shift();return[t,n,r,a,i]}var tf=new WeakMap;class ht{copy(){return this.era?new ht(this.calendar,this.era,this.year,this.month,this.day):new ht(this.calendar,this.year,this.month,this.day)}add(t){return ao(this,t)}subtract(t){return Aa(this,t)}set(t){return za(this,t)}cycle(t,n,r){return qa(this,t,n,r)}toDate(t){return Da(this,t)}toString(){return Ka(this)}compare(t){return Sa(this,t)}constructor(...t){so(this,tf,{writable:!0,value:void 0});let[n,r,a,i,l]=Ya(t);this.calendar=n,this.era=r,this.year=a,this.month=i,this.day=l,rt(this)}}var nf=new WeakMap;class co{copy(){return new co(this.hour,this.minute,this.second,this.millisecond)}add(t){return Ha(this,t)}subtract(t){return Qu(this,t)}set(t){return La(this,t)}cycle(t,n,r){return Ua(this,t,n,r)}toString(){return Wa(this)}compare(t){return Ba(this,t)}constructor(t=0,n=0,r=0,a=0){so(this,nf,{writable:!0,value:void 0}),this.hour=t,this.minute=n,this.second=r,this.millisecond=a,ja(this)}}var of=new WeakMap;class rn{copy(){return this.era?new rn(this.calendar,this.era,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond):new rn(this.calendar,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond)}add(t){return ao(this,t)}subtract(t){return Aa(this,t)}set(t){return za(La(this,t),t)}cycle(t,n,r){switch(t){case"era":case"year":case"month":case"day":return qa(this,t,n,r);default:return Ua(this,t,n,r)}}toDate(t,n){return Da(this,t,n)}toString(){return vu(this)}compare(t){let n=Sa(this,t);return n===0?Ba(this,Fa(t)):n}constructor(...t){so(this,of,{writable:!0,value:void 0});let[n,r,a,i,l]=Ya(t);this.calendar=n,this.era=r,this.year=a,this.month=i,this.day=l,this.hour=t.shift()||0,this.minute=t.shift()||0,this.second=t.shift()||0,this.millisecond=t.shift()||0,rt(this)}}function rf(o){return new Date(o.toString())}function af(o){return new ht(o.getFullYear(),o.getMonth()+1,o.getDate())}function pe(o){const t=o.toDate(ot());return new Be.Temporal.PlainDate(t.getFullYear(),t.getMonth()+1,t.getDate())}function le(o){return af(rf(o))}function Xa(o){return o.toDate(ot())}function at(o,t,n){return new Intl.DateTimeFormat(t,{month:n}).format(new Date(1,o))}function lf(o,t){return new Date(t,o,0).getDate()}function sf(o){return["en-US","en-CA","en-PH","en-MY","en-AU","en-NZ","en-IN","ja-JP","zh-CN"].some(n=>n.toLowerCase()===o.toLowerCase())?0:1}function Za(o,t,n="short"){const r=sf(o),a=new Date(Date.UTC(2023,0,1)),i=[],l=new Intl.DateTimeFormat(t,{weekday:n});for(let s=0;s<7;s++){const d=(r+s)%7,c=new Date(a);c.setUTCDate(a.getUTCDate()+d),i.push(l.format(c))}return i}const Ja=e.defineComponent({__name:"DatePickerDateProvider",props:{date:{},month:{}},setup(o){const t=o;return Gu({date:t.date,month:t.month}),(n,r)=>e.renderSlot(n.$slots,"default")}}),Qa=e.defineComponent({__name:"DatePickerGrid",props:{grid:{},weekDays:{}},setup(o){const t=o,{classConfig:n,customClassConfig:r,style:a}=eo(),{locale:i}=fe(),{locale:l}=S.injectCalendarRootContext();return(s,d)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(a).gridContainer({class:e.unref(x)(e.unref(r).gridContainer,e.unref(n)?.gridContainer)}))},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.grid,(c,u)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:c.value.toString()},[u!==0?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(a).monthSeparator({class:e.unref(x)(e.unref(r).monthSeparator,e.unref(n)?.monthSeparator)}))},null,2)):e.createCommentVNode("",!0),e.createVNode(e.unref(S.CalendarGrid),{class:e.normalizeClass(e.unref(a).grid({class:e.unref(x)(e.unref(r).grid,e.unref(n)?.grid)}))},{default:e.withCtx(()=>[e.createVNode(e.unref(S.CalendarGridHead),null,{default:e.withCtx(()=>[e.createVNode(e.unref(S.CalendarGridRow),{class:e.normalizeClass(e.unref(a).gridRow({class:e.unref(x)(e.unref(r).gridRow,e.unref(n)?.gridRow)}))},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.weekDays,(f,p)=>(e.openBlock(),e.createBlock(e.unref(S.CalendarHeadCell),{key:f,class:e.normalizeClass(e.unref(a).weekDayLabel({class:e.unref(x)(e.unref(r).weekDayLabel,e.unref(n)?.weekDayLabel)}))},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(Za)(e.unref(l),e.unref(i))[p]),1)]),_:2},1032,["class"]))),128))]),_:1},8,["class"])]),_:1}),e.createVNode(e.unref(S.CalendarGridBody),{class:e.normalizeClass(e.unref(a).gridBody({class:e.unref(x)(e.unref(r).gridBody,e.unref(n)?.gridBody)}))},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.rows,f=>(e.openBlock(),e.createBlock(e.unref(S.CalendarGridRow),{key:f.toString(),class:e.normalizeClass(e.unref(a).gridRow({class:e.unref(x)(e.unref(r).gridRow,e.unref(n)?.gridRow)}))},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(f,p=>(e.openBlock(),e.createBlock(e.unref(S.CalendarCell),{key:p.toString(),date:p},{default:e.withCtx(()=>[e.createVNode(Ja,{date:p,month:c.value},{default:e.withCtx(()=>[e.renderSlot(s.$slots,"date",{date:e.unref(Xa)(p)},()=>[e.createVNode(vt)])]),_:2},1032,["date","month"])]),_:2},1032,["date"]))),128))]),_:2},1032,["class"]))),128))]),_:2},1032,["class"])]),_:2},1032,["class"])],64))),128))],2))}}),[df,it]=j("numberFieldContext"),va=e.defineComponent({__name:"NumberFieldDecrement",setup(o){const{isDisabled:t,classConfig:n,customClassConfig:r,hideControls:a}=it(),{t:i}=ne.useI18n();return(l,s)=>e.unref(a)?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(e.unref(S.NumberFieldDecrement),{key:0,"as-child":!0},{default:e.withCtx(()=>[e.createVNode(ue,{"is-disabled":e.unref(t),label:e.unref(i)("component.number_field.decrement"),"class-config":e.unref(Ve)({icon:"size-4",root:"min-w-7 h-7 rounded-[0.3rem] ml-[0.3rem]"},e.unref(r)?.decrement,e.unref(n)?.decrement),icon:"minus",variant:"tertiary",size:"sm"},null,8,["is-disabled","label","class-config"])]),_:1}))}}),ei=e.defineComponent({__name:"NumberFieldIconLeft",setup(o){const{classConfig:t,customClassConfig:n,iconLeft:r,style:a}=it();return(i,l)=>e.unref(r)!==null?(e.openBlock(),e.createBlock(ee,{key:0,icon:e.unref(r),class:e.normalizeClass(e.unref(a).iconLeft({class:e.unref(x)(e.unref(n).iconLeft,e.unref(t)?.iconLeft)}))},null,8,["icon","class"])):e.createCommentVNode("",!0)}}),ti=e.defineComponent({__name:"NumberFieldIconRight",setup(o){const{isLoading:t,classConfig:n,customClassConfig:r,iconRight:a,style:i}=it();return(l,s)=>e.unref(a)!==null&&!e.unref(t)?(e.openBlock(),e.createBlock(ee,{key:0,icon:e.unref(a),class:e.normalizeClass(e.unref(i).iconRight({class:e.unref(x)(e.unref(r).iconRight,e.unref(n)?.iconRight)}))},null,8,["icon","class"])):e.createCommentVNode("",!0)}}),ni=e.defineComponent({__name:"NumberFieldIncrement",setup(o){const{isDisabled:t,classConfig:n,customClassConfig:r,hideControls:a}=it(),{t:i}=ne.useI18n();return(l,s)=>e.unref(a)?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(e.unref(S.NumberFieldIncrement),{key:0,"as-child":!0},{default:e.withCtx(()=>[e.createVNode(ue,{"is-disabled":e.unref(t),label:e.unref(i)("component.number_field.increment"),"class-config":e.unref(Ve)({icon:"size-4",root:"min-w-7 h-7 rounded-[0.3rem] mr-[0.3rem]"},e.unref(r)?.increment,e.unref(n)?.increment),icon:"plus",variant:"tertiary",size:"sm"},null,8,["is-disabled","label","class-config"])]),_:1}))}}),oi=e.defineComponent({__name:"NumberFieldInput",setup(o){const{id:t,testId:n,isDisabled:r,isLoading:a,isRequired:i,autocomplete:l,classConfig:s,customClassConfig:d,errorMessage:c,placeholder:u,style:f,onBlur:p,onFocus:$}=it();return(C,y)=>(e.openBlock(),e.createBlock(H,{"test-id":e.unref(n)},{default:e.withCtx(()=>[e.createVNode(Le,{id:e.unref(t),"is-disabled":e.unref(r),"is-loading":e.unref(a),"is-invalid":e.unref(c)!==null,"described-by":`${e.unref(t)}-error ${e.unref(t)}-hint`,"is-required":e.unref(i)},{default:e.withCtx(()=>[e.createVNode(e.unref(S.NumberFieldInput),{class:e.normalizeClass(e.unref(f).input({class:e.unref(x)(e.unref(d).input,e.unref(s)?.input)})),autocomplete:e.unref(l),placeholder:e.unref(u),onFocus:e.unref($),onBlur:e.unref(p)},null,8,["class","autocomplete","placeholder","onFocus","onBlur"])]),_:1},8,["id","is-disabled","is-loading","is-invalid","described-by","is-required"])]),_:1},8,["test-id"]))}}),cf={class:"sr-only"},ri=e.defineComponent({__name:"NumberFieldLoader",setup(o){const{isLoading:t,classConfig:n,customClassConfig:r,style:a}=it(),{t:i}=ne.useI18n();return(l,s)=>e.unref(t)?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(a).loader({class:e.unref(x)(e.unref(r).loader,e.unref(n)?.loader)}))},[e.createElementVNode("span",cf,e.toDisplayString(e.unref(i)("shared.loading")),1),e.renderSlot(l.$slots,"default",{},()=>[e.createVNode(De,{"aria-hidden":!0})])],2)):e.createCommentVNode("",!0)}}),ai=q({slots:{iconLeft:new b().withBase("shrink-0").withSize("size-4.5").withSpacing("ml-3").withColor("text-quaternary group-data-disabled/number-field:text-fg-disabled").build(),iconRight:new b().withBase("shrink-0").withSize("size-4.5").withSpacing("mr-3").withColor("text-quaternary group-data-disabled/number-field:text-fg-disabled").build(),input:new b().withBase("outline-none group-data-controls/number-field:text-center").withSize("size-full").withFontSize("text-sm").withPadding("px-3 group-data-icon-left/number-field:pl-2 group-data-icon-right/number-field:pr-2").withColor("text-primary disabled:text-disabled placeholder:text-placeholder").withBackgroundColor("bg-transparent").withCursor("disabled:cursor-not-allowed").build(),loader:new b().withBase("shrink-0").withSpacing("mr-3").withSize("size-4").withColor("text-quaternary").build(),root:new b().withBase("group/number-field overflow-hidden").withFlex("flex items-center").withHeight("h-10").withBorder("border border-solid border-primary focus-within:border-brand-500").withBorder("data-disabled:border-disabled-subtle").withBorder("data-invalid:border-error data-invalid:focus-within:border-error").withBackgroundColor("bg-primary data-disabled:bg-disabled-subtle").withBorderRadius("rounded-md").withShadow("shadow-xs").withOutline("outline outline-transparent focus-within:outline-brand-500 focus-within:data-invalid:outline-error-500").withTransition("duration-200").withCursor("data-disabled:cursor-not-allowed").build()},variants:{variant:{}}}),ii=e.defineComponent({__name:"NumberFieldRoot",props:e.mergeModels({isLoading:{type:Boolean,default:!1},autocomplete:{default:"off"},formatOptions:{default:null},hideControls:{type:Boolean,default:!1},iconLeft:{default:null},iconRight:{default:null},max:{default:null},min:{default:null},placeholder:{default:null},step:{default:1},variant:{default:null},testId:{default:null},isDisabled:{type:Boolean,default:!1},id:{default:null},isRequired:{type:Boolean,default:!1},isTouched:{type:Boolean,default:!1},errorMessage:{default:null},hint:{default:null},label:{default:null},classConfig:{default:null}},{modelValue:{required:!0},modelModifiers:{}}),emits:e.mergeModels(["focus","blur"],["update:modelValue"]),setup(o,{emit:t}){const n=o,r=t,a=e.useModel(o,"modelValue"),i=navigator.language,l=e.computed({get:()=>a.value??void 0,set:p=>{if(Number.isNaN(p)){a.value=null;return}a.value=p??null}}),{theme:s}=U(),d=e.computed(()=>ai({variant:n.variant??void 0})),c=e.computed(()=>X("numberField",s.value,{variant:n.variant}));function u(p){r("blur",p)}function f(p){r("focus",p)}return df({...Z(n),customClassConfig:c,style:d,onBlur:u,onFocus:f}),(p,$)=>(e.openBlock(),e.createBlock(ce,{"is-disabled":n.isDisabled},{default:e.withCtx(()=>[e.createVNode(e.unref(S.NumberFieldRoot),{modelValue:l.value,"onUpdate:modelValue":$[0]||($[0]=C=>l.value=C),class:e.normalizeClass(d.value.root({class:e.unref(x)(c.value.root,n.classConfig?.root)})),"data-icon-left":n.iconLeft!==null||void 0,"data-icon-right":n.iconRight!==null||void 0,"data-invalid":n.errorMessage!==null&&n.isTouched||void 0,"data-controls":!n.hideControls||void 0,required:n.isRequired,min:n.min??void 0,max:n.max??void 0,step:n.step,"format-options":n.formatOptions??void 0,locale:e.unref(i)},{default:e.withCtx(()=>[e.renderSlot(p.$slots,"default")]),_:3},8,["modelValue","class","data-icon-left","data-icon-right","data-invalid","data-controls","required","min","max","step","format-options","locale"])]),_:3},8,["is-disabled"]))}}),uo=e.defineComponent({__name:"NumberField",props:e.mergeModels({isLoading:{type:Boolean},autocomplete:{},formatOptions:{},hideControls:{type:Boolean},iconLeft:{},iconRight:{},max:{},min:{},placeholder:{},step:{},variant:{},testId:{},isDisabled:{type:Boolean},id:{},isRequired:{type:Boolean},isTouched:{type:Boolean},errorMessage:{},hint:{},label:{},classConfig:{}},{modelValue:{required:!0},modelModifiers:{}}),emits:e.mergeModels(["focus","blur"],["update:modelValue"]),setup(o,{emit:t}){const n=o,r=t,a=e.useModel(o,"modelValue"),i=n.id??e.useId();return(l,s)=>(e.openBlock(),e.createBlock(_e,{"error-message":n.errorMessage,hint:n.hint,"is-required":n.isRequired,"is-touched":n.isTouched,label:n.label,for:e.unref(i)},{label:e.withCtx(()=>[e.renderSlot(l.$slots,"label")]),error:e.withCtx(()=>[e.renderSlot(l.$slots,"error")]),hint:e.withCtx(()=>[e.renderSlot(l.$slots,"hint")]),default:e.withCtx(()=>[e.createVNode(ii,e.mergeProps(n,{id:e.unref(i),modelValue:a.value,"onUpdate:modelValue":s[0]||(s[0]=d=>a.value=d),onBlur:s[1]||(s[1]=d=>r("blur",d)),onFocus:s[2]||(s[2]=d=>r("focus",d))}),{default:e.withCtx(()=>[e.renderSlot(l.$slots,"left"),e.createVNode(va),e.createVNode(ei),e.createVNode(oi),e.createVNode(ni),e.createVNode(ti),e.createVNode(ri),e.renderSlot(l.$slots,"right")]),_:3},16,["id","modelValue"])]),_:3},8,["error-message","hint","is-required","is-touched","label","for"]))}}),uf={key:1},ff={key:0,class:"text-center"},pf={class:"text-sm font-semibold whitespace-nowrap text-primary"},mf={key:1,class:"flex items-center justify-center gap-xxs"},hf={key:3},li=e.defineComponent({__name:"DatePickerHeader",props:{grid:{}},setup(o){const t=o,{locale:n}=fe(),{classConfig:r,customClassConfig:a,placeholderValue:i,showTwoMonths:l,style:s}=eo(),d=e.computed({get:()=>i.value.month,set:async u=>{await e.nextTick(),i.value=new Be.Temporal.PlainDate(i.value.year,u,i.value.day)}}),c=e.computed({get:()=>i.value.year,set:u=>{i.value=new Be.Temporal.PlainDate(u,i.value.month,i.value.day)}});return(u,f)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(s).headerContainer({class:e.unref(x)(e.unref(a).headerContainer,e.unref(r)?.headerContainer)}))},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.grid,(p,$)=>(e.openBlock(),e.createBlock(e.unref(S.CalendarHeader),{key:$,class:e.normalizeClass(e.unref(s).header({class:e.unref(x)(e.unref(a).header,e.unref(r)?.header)}))},{default:e.withCtx(()=>[$===0?(e.openBlock(),e.createBlock(e.unref(S.CalendarPrev),{key:0,"as-child":!0},{default:e.withCtx(()=>[e.createVNode(ue,{"class-config":{icon:"group-enabled/button:group-hover/button:-translate-x-px group-enabled/button:group-active/button:-translate-x-0.5 duration-200"},icon:"chevronLeft",label:"Previous month",variant:"tertiary",size:"sm",class:"justify-self-start"})]),_:1})):(e.openBlock(),e.createElementBlock("span",uf)),e.createVNode(e.unref(S.CalendarHeading),null,{default:e.withCtx(()=>[e.unref(l)?(e.openBlock(),e.createElementBlock("div",ff,[e.createElementVNode("span",pf,e.toDisplayString(e.unref(at)(p.value.month-1,e.unref(n),"long"))+" "+e.toDisplayString(p.value.year),1)])):(e.openBlock(),e.createElementBlock("div",mf,[e.createVNode(mt,{modelValue:d.value,"onUpdate:modelValue":f[0]||(f[0]=C=>d.value=C),"icon-right":null,"class-config":{root:"h-8 shadow-none border-none outline-none hover:bg-primary-hover focus-within:bg-primary-hover",baseSingle:"font-semibold px-sm",content:"gap-xs grid [grid-template-columns:auto] sm:[grid-template-columns:repeat(auto-fit,minmax(6rem,1fr))]",popover:{content:"min-w-60"}},filter:{isEnabled:!0},"display-fn":C=>e.unref(at)(C-1,e.unref(n),"long"),"popover-align":"start"},{default:e.withCtx(()=>[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(12,C=>e.createVNode(Ye,{key:C,value:C},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(at)(C-1,e.unref(n),"long")),1)]),_:2},1032,["value"])),64))]),_:1},8,["modelValue","display-fn"]),e.createVNode(uo,{modelValue:c.value,"onUpdate:modelValue":f[1]||(f[1]=C=>c.value=C),"class-config":{root:"h-8 shadow-none border-none outline-none hover:bg-primary-hover focus-within:bg-primary-hover",input:"font-semibold px-sm"},"format-options":{useGrouping:!1},"hide-controls":!0,class:"w-12 shrink-0"},null,8,["modelValue"])]))]),_:2},1024),$===o.grid.length-1?(e.openBlock(),e.createBlock(e.unref(S.CalendarNext),{key:2,"as-child":!0},{default:e.withCtx(()=>[e.createVNode(ue,{"class-config":{icon:"group-enabled/button:group-hover/button:translate-x-px group-enabled/button:group-active/button:translate-x-0.5 duration-200"},icon:"chevronRight",label:"Next month",variant:"tertiary",size:"sm",class:"justify-self-end"})]),_:1})):(e.openBlock(),e.createElementBlock("span",hf))]),_:2},1032,["class"]))),128))],2))}}),si=q({slots:{date:new b().withBase("group/date relative select-none isolate").withFlex("flex items-center justify-center").withFontSize("text-sm").withCursor("cursor-pointer data-disabled:cursor-not-allowed").withSize("size-10").withOutline("outline-brand-500 data-selected:outline-offset-2").build(),grid:new b().withSize("w-70").build(),gridBody:new b().withFlex("flex flex-col gap-y-xs").build(),gridContainer:new b().withBase("flex gap-xl").build(),gridRow:new b().withBase("grid grid-cols-7 items-center").build(),header:new b().withGrid("grid grid-cols-[1fr_auto_1fr] items-center").withSize("size-full").build(),headerContainer:new b().withFlex("flex justify-between gap-xl").withMargin("mb-lg").build(),monthSeparator:new b().withSize("w-px").withBackgroundColor("bg-tertiary").build(),todayIndicator:new b().withBase("absolute bottom-1 left-1/2 -translate-x-1/2").withSize("size-1").withBorderRadius("rounded-full").build(),weekDayLabel:new b().withFontWeight("font-medium").withColor("text-secondary").withFontSize("text-sm").withSize("size-10").withFlex("flex items-center justify-center").build()},variants:{variant:{}}}),di=q({extend:si,slots:{date:new b().withColor("text-secondary data-selected:text-primary-on-brand data-outside-view:text-disabled data-disabled:text-disabled data-unavailable:text-disabled").withBackgroundColor("not-data-disabled:hover:bg-tertiary data-selected:bg-brand-solid data-selected:hover:bg-brand-solid-hover").withBorderRadius("rounded-full").build(),header:"",headerContainer:"",todayIndicator:new b().withBackgroundColor("bg-brand-solid group-data-selected/date:bg-white").build(),weekDayLabel:""},variants:{variant:{}}}),ci=e.defineComponent({__name:"DatePickerRoot",props:e.mergeModels({variant:{default:null},weekStartsOn:{default:0},focusOnMount:{type:Boolean,default:!1},label:{},testId:{default:null},isDisabled:{type:Boolean,default:!1},maxDate:{default:null},minDate:{default:null},isDateDisabled:{type:Function,default:()=>!1},isDateUnavailable:{type:Function,default:()=>!1},allowDeselect:{type:Boolean,default:!1},locale:{},showTwoMonths:{type:Boolean,default:!1},classConfig:{}},{modelValue:{required:!0},modelModifiers:{},placeholderValue:{required:!1},placeholderValueModifiers:{}}),emits:["update:modelValue","update:placeholderValue"],setup(o){const t=o,n=e.useModel(o,"modelValue"),r=e.useModel(o,"placeholderValue"),a=e.computed(()=>t.locale??navigator.language),i=e.computed({get:()=>{if(n.value!==null)return le(n.value)},set:u=>{if(u==null){n.value=null;return}n.value=pe(u)}}),l=e.computed({get:()=>le(r.value??n.value??Be.Temporal.Now.plainDateISO()),set:u=>{r.value=pe(u)}}),{theme:s}=U(),d=e.computed(()=>di({variant:t.variant??void 0})),c=e.computed(()=>X("datePicker",s.value,{variant:t.variant}));return Hu({...Z(t),customClassConfig:c,modelValue:n,placeholderValue:e.computed({get:()=>pe(l.value),set:u=>{l.value=le(u)}}),style:d}),(u,f)=>(e.openBlock(),e.createBlock(H,{"test-id":t.testId},{default:e.withCtx(()=>[e.createVNode(ce,{"is-disabled":t.isDisabled},{default:e.withCtx(()=>[e.createVNode(e.unref(S.CalendarRoot),{modelValue:i.value,"onUpdate:modelValue":f[0]||(f[0]=p=>i.value=p),placeholder:l.value,"onUpdate:placeholder":f[1]||(f[1]=p=>l.value=p),"week-starts-on":t.weekStartsOn,"prevent-deselect":!t.allowDeselect,"fixed-weeks":!0,"number-of-months":t.showTwoMonths?2:1,"is-date-unavailable":p=>t.isDateUnavailable(e.unref(pe)(p)),"is-date-disabled":p=>t.isDateDisabled(e.unref(pe)(p)),"calendar-label":t.label,"initial-focus":t.focusOnMount,locale:a.value,"min-value":t.minDate===null?void 0:e.unref(le)(t.minDate),"max-value":t.maxDate===null?void 0:e.unref(le)(t.maxDate),"weekday-format":"short"},{default:e.withCtx(({weekDays:p,grid:$})=>[e.renderSlot(u.$slots,"default",{weekDays:p,grid:$})]),_:3},8,["modelValue","placeholder","week-starts-on","prevent-deselect","number-of-months","is-date-unavailable","is-date-disabled","calendar-label","initial-focus","locale","min-value","max-value"])]),_:3},8,["is-disabled"])]),_:3},8,["test-id"]))}}),ui=e.defineComponent({__name:"DatePicker",props:e.mergeModels({variant:{},weekStartsOn:{},focusOnMount:{type:Boolean},label:{},testId:{},isDisabled:{type:Boolean},maxDate:{},minDate:{},isDateDisabled:{type:Function},isDateUnavailable:{type:Function},allowDeselect:{type:Boolean},locale:{},showTwoMonths:{type:Boolean},classConfig:{}},{modelValue:{required:!0},modelModifiers:{},placeholderValue:{required:!1},placeholderValueModifiers:{}}),emits:["update:modelValue","update:placeholderValue"],setup(o){const t=o,n=e.useModel(o,"modelValue"),r=e.useModel(o,"placeholderValue");return(a,i)=>(e.openBlock(),e.createBlock(ci,e.mergeProps(t,{modelValue:n.value,"onUpdate:modelValue":i[0]||(i[0]=l=>n.value=l),"placeholder-value":r.value,"onUpdate:placeholderValue":i[1]||(i[1]=l=>r.value=l)}),{default:e.withCtx(({grid:l,weekDays:s})=>[e.createVNode(li,{grid:l},null,8,["grid"]),e.createVNode(Qa,{"week-days":s,grid:l},{date:e.withCtx(({date:d})=>[e.renderSlot(a.$slots,"date",{date:d},()=>[e.createVNode(vt)])]),_:3},8,["week-days","grid"])]),_:3},16,["modelValue","placeholder-value"]))}}),an=4,fi=e.defineComponent({__name:"PopoverContentTransition",setup(o){const t=e.useAttrs(),n=e.computed(()=>t["data-side"]);function r(a){switch(a){case"top":return{transform:`translateY(${an}px) scale(0.9)`};case"bottom":return{transform:`translateY(-${an}px) scale(0.9)`};case"left":return{transform:`translateX(${an}px) scale(0.9)`};case"right":return{transform:`translateX(-${an}px) scale(0.9)`}}}return(a,i)=>(e.openBlock(),e.createBlock(e.unref(Y.Motion),{initial:{opacity:0,...r(n.value)},animate:{opacity:1,transform:"translate(0, 0) scale(1)"},exit:{opacity:0,...r(n.value)},transition:{duration:.2,type:"spring",bounce:0},class:"origin-(--reka-popover-content-transform-origin)"},{default:e.withCtx(()=>[e.renderSlot(a.$slots,"default")]),_:3},8,["initial","exit"]))}}),fo=e.defineComponent({__name:"Popover",props:e.mergeModels({variant:{},testId:{},isPopoverArrowHidden:{type:Boolean},popoverAlign:{},popoverAlignOffset:{},popoverAnchorReferenceElement:{},popoverCollisionPadding:{},popoverContainerElement:{},popoverSide:{},popoverSideOffset:{},popoverWidth:{},classConfig:{}},{isOpen:{type:Boolean,default:!1,required:!1},isOpenModifiers:{}}),emits:e.mergeModels(["autoFocusOnClose","escapeKeyDown","focusOutside","interactOutside"],["update:isOpen"]),setup(o,{emit:t}){const n=o,r=t,a=e.useModel(o,"isOpen");return(i,l)=>(e.openBlock(),e.createBlock(Jn,e.mergeProps(n,{"is-open":a.value,"onUpdate:isOpen":l[0]||(l[0]=s=>a.value=s),onEscapeKeyDown:l[1]||(l[1]=s=>r("escapeKeyDown",s)),onFocusOutside:l[2]||(l[2]=s=>r("focusOutside",s)),onInteractOutside:l[3]||(l[3]=s=>r("interactOutside",s)),onAutoFocusOnClose:l[4]||(l[4]=s=>r("autoFocusOnClose",s))}),{default:e.withCtx(()=>[e.renderSlot(i.$slots,"default",{},()=>[e.createVNode(Kn,null,{default:e.withCtx(()=>[e.createVNode(Qn,null,{default:e.withCtx(()=>[e.renderSlot(i.$slots,"trigger")]),_:3})]),_:3})]),e.createVNode(Zn,null,{default:e.withCtx(()=>[e.createVNode(Xn,null,{default:e.withCtx(()=>[e.createVNode(fi,null,{default:e.withCtx(()=>[e.renderSlot(i.$slots,"content"),e.createVNode(Yn)]),_:3})]),_:3})]),_:3})]),_:3},16,["is-open"]))}}),gf={class:"p-lg"},pi=e.defineComponent({__name:"DateFieldPopover",setup(o){const{maxDate:t,minDate:n,weekStartsOn:r,isDateDisabled:a,isDateUnavailable:i,isDisabled:l,allowDeselect:s,classConfig:d,customClassConfig:c,hideDatePicker:u,label:f,locale:p,modelValue:$,placeholderValue:C,showTwoMonths:y}=Qt();return(m,w)=>e.unref(u)?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(fo,{key:0,"is-popover-arrow-hidden":!0,"popover-align":"end"},{trigger:e.withCtx(()=>[e.createVNode(ue,{"is-disabled":e.unref(l),"class-config":{icon:"size-4",root:"min-w-7 h-7 rounded-[0.3rem]"},icon:"calendarIcon",label:"Open",variant:"tertiary",size:"sm",class:"mr-[0.3rem]"},null,8,["is-disabled"])]),content:e.withCtx(()=>[e.createElementVNode("div",gf,[e.createVNode(ui,{modelValue:e.unref($),"onUpdate:modelValue":w[0]||(w[0]=k=>e.isRef($)?$.value=k:null),"focus-on-mount":!0,"allow-deselect":e.unref(s),"is-date-disabled":e.unref(a),"is-date-unavailable":e.unref(i),"placeholder-value":e.unref(C),"max-date":e.unref(t),locale:e.unref(p),"week-starts-on":e.unref(r),"min-date":e.unref(n),"show-two-months":e.unref(y),label:e.unref(f)??"","class-config":{...e.unref(c).datePicker,...e.unref(d)?.datePicker}},null,8,["modelValue","allow-deselect","is-date-disabled","is-date-unavailable","placeholder-value","max-date","locale","week-starts-on","min-date","show-two-months","label","class-config"])])]),_:1}))}}),bf=["data-icon-left","data-invalid","data-disabled"],mi=e.defineComponent({__name:"DateFieldRoot",props:e.mergeModels({isLoading:{type:Boolean,default:!1},autocomplete:{default:"off"},hideDatePicker:{type:Boolean,default:!1},iconLeft:{default:null},variant:{default:null},testId:{default:null},isDisabled:{type:Boolean,default:!1},id:{default:null},isRequired:{type:Boolean,default:!1},isTouched:{type:Boolean,default:!1},errorMessage:{default:null},hint:{default:null},label:{default:null},maxDate:{default:null},minDate:{default:null},weekStartsOn:{default:0},isDateDisabled:{type:Function,default:()=>!1},isDateUnavailable:{type:Function,default:()=>!1},allowDeselect:{type:Boolean,default:!1},locale:{},showTwoMonths:{type:Boolean,default:!1},classConfig:{default:null}},{modelValue:{required:!0},modelModifiers:{},placeholderValue:{required:!1},placeholderValueModifiers:{}}),emits:e.mergeModels(["focus","blur"],["update:modelValue","update:placeholderValue"]),setup(o,{emit:t}){const n=o,r=t,a=e.useModel(o,"modelValue"),i=e.useModel(o,"placeholderValue"),l=e.computed(()=>n.locale??navigator.language);function s(){const m=a.value;if(m!==null){if(n.minDate!==null&&Be.Temporal.PlainDate.compare(m,n.minDate)<0){a.value=n.minDate;return}n.maxDate!==null&&Be.Temporal.PlainDate.compare(m,n.maxDate)>0&&(a.value=n.maxDate)}}const d=e.computed({get:()=>a.value===null?null:le(a.value),set:m=>{if(m==null){a.value=null;return}a.value=pe(m)}}),c=e.computed({get:()=>i.value??a.value??Be.Temporal.Now.plainDateISO(),set:m=>{i.value=m}}),{theme:u}=U(),f=e.ref(!1),p=e.computed(()=>ya({variant:n.variant??void 0})),$=e.computed(()=>X("dateField",u.value,{variant:n.variant}));function C(m){f.value=!0,r("focus",m)}function y(m){f.value=!1,setTimeout(()=>{f.value||(s(),r("blur",m))})}return Lu({...Z(n),customClassConfig:$,modelValue:a,placeholderValue:c,style:p,onBlur:y,onFocus:C}),(m,w)=>(e.openBlock(),e.createBlock(ce,{"is-disabled":n.isDisabled},{default:e.withCtx(()=>[e.createVNode(e.unref(S.DateFieldRoot),{id:n.id??void 0,modelValue:d.value,"onUpdate:modelValue":w[0]||(w[0]=k=>d.value=k),locale:l.value,"min-value":n.minDate===null?void 0:e.unref(le)(n.minDate),"max-value":n.maxDate===null?void 0:e.unref(le)(n.maxDate),"is-date-unavailable":k=>n.isDateUnavailable(e.unref(pe)(k)),"is-invalid":n.errorMessage!==null,required:n.isRequired},{default:e.withCtx(({segments:k})=>[e.createElementVNode("div",{"data-icon-left":n.iconLeft!==null||void 0,"data-invalid":n.errorMessage!==null&&n.isTouched||void 0,"data-disabled":n.isDisabled||void 0,class:e.normalizeClass(p.value.root({class:e.unref(x)($.value.root,n.classConfig?.root)}))},[e.renderSlot(m.$slots,"default",{segments:k})],10,bf)]),_:3},8,["id","modelValue","locale","min-value","max-value","is-date-unavailable","is-invalid","required"])]),_:3},8,["is-disabled"]))}}),$f=e.defineComponent({__name:"DateField",props:e.mergeModels({isLoading:{type:Boolean},autocomplete:{},hideDatePicker:{type:Boolean},iconLeft:{},variant:{},testId:{},isDisabled:{type:Boolean},id:{},isRequired:{type:Boolean},isTouched:{type:Boolean},errorMessage:{},hint:{},label:{},maxDate:{},minDate:{},weekStartsOn:{},isDateDisabled:{type:Function},isDateUnavailable:{type:Function},allowDeselect:{type:Boolean},locale:{},showTwoMonths:{type:Boolean},classConfig:{}},{modelValue:{required:!0},modelModifiers:{},placeholderValue:{required:!1},placeholderValueModifiers:{}}),emits:e.mergeModels(["focus","blur"],["update:modelValue","update:placeholderValue"]),setup(o,{emit:t}){const n=o,r=t,a=e.useModel(o,"modelValue"),i=e.useModel(o,"placeholderValue"),l=n.id??e.useId();return(s,d)=>(e.openBlock(),e.createBlock(_e,{"error-message":n.errorMessage,hint:n.hint,"is-required":n.isRequired,"is-touched":n.isTouched,label:n.label,for:e.unref(l)},{label:e.withCtx(()=>[e.renderSlot(s.$slots,"label")]),error:e.withCtx(()=>[e.renderSlot(s.$slots,"error")]),hint:e.withCtx(()=>[e.renderSlot(s.$slots,"hint")]),default:e.withCtx(()=>[e.createVNode(mi,e.mergeProps(n,{id:e.unref(l),modelValue:a.value,"onUpdate:modelValue":d[0]||(d[0]=c=>a.value=c),"placeholder-value":i.value,"onUpdate:placeholderValue":d[1]||(d[1]=c=>i.value=c),onBlur:d[2]||(d[2]=c=>r("blur",c)),onFocus:d[3]||(d[3]=c=>r("focus",c))}),{default:e.withCtx(({segments:c})=>[e.renderSlot(s.$slots,"left"),e.createVNode(wa),e.createVNode(Ca,{segments:c},null,8,["segments"]),e.createVNode(_a),e.createVNode(pi)]),_:3},16,["id","modelValue","placeholder-value"])]),_:3},8,["error-message","hint","is-required","is-touched","label","for"]))}}),hi=q({extend:si,slots:{innerDate:new b().withSize("size-full").withFlex("flex items-center justify-center").withBorderRadius("rounded-full").withBackgroundColor("group-data-highlighted-start/date:bg-brand-solid group-data-highlighted-end/date:bg-brand-solid group-data-selection-start/date:bg-brand-solid group-data-selection-end/date:bg-brand-solid").withBackgroundColor("not-group-data-selected/date:group-hover/date:bg-brand-primary").build(),date:new b().withBase("group/date relative select-none isolate data-outside-view:invisible").withFlex("flex items-center justify-center").withFontSize("text-sm").withColor("text-secondary not-data-highlighted:not-data-highlighted-start:not-data-selected:not-data-selection-start:not-data-selection-end:data-outside-view:text-disabled").withColor("data-disabled:text-disabled").withColor("data-unavailable:text-disabled").withBackgroundColor("data-highlighted:bg-brand-secondary data-selected:bg-brand-secondary data-highlighted-start:bg-brand-secondary data-highlighted-end:bg-brand-secondary data-selection-start:bg-brand-secondary data-selection-end:bg-brand-secondary").withBackgroundColor("dark:data-highlighted:bg-brand-950 dark:data-selected:bg-brand-950 dark:data-highlighted-start:bg-brand-950 dark:data-highlighted-end:bg-brand-950 dark:data-selection-start:bg-brand-950 dark:data-selection-end:bg-brand-950").withColor("data-highlighted:text-brand-primary data-selected:text-brand-primary data-highlighted-start:text-brand-primary data-highlighted-end:text-brand-primary data-selection-start:text-brand-primary data-selection-end:text-brand-primary").withColor("data-highlighted-start:text-primary-on-brand data-highlighted-end:text-primary-on-brand data-selection-start:text-primary-on-brand data-selection-end:text-primary-on-brand").withBorderRadius("data-first-day-of-week:rounded-l-full data-first-day-of-month:rounded-l-full data-last-day-of-week:rounded-r-full data-last-day-of-month:rounded-r-full data-selection-start:rounded-l-full data-selection-end:rounded-r-full data-highlighted-start:rounded-l-full data-highlighted-end:rounded-r-full data-highlighted-end:not-data-highlighted-start:not-data-first-day-of-week:not-data-first-day-of-month:rounded-l-none").withCursor("cursor-pointer data-disabled:cursor-not-allowed").withSize("size-10").withOutline("outline-brand-500 data-selected:outline-offset-2").build(),todayIndicator:new b().withBase("absolute bottom-1 left-1/2 -translate-x-1/2").withSize("size-1").withBorderRadius("rounded-full").withBackgroundColor("bg-brand-solid group-data-selection-start/date:bg-white group-data-selection-end/date:bg-white group-data-highlighted-start/date:bg-white group-data-highlighted-end/date:bg-white").build()},variants:{variant:{}}}),[yf,po]=j("dateRangePickerContext"),gi=e.defineComponent({__name:"DateRangePickerDate",setup(o){const{locale:t}=fe(),{classConfig:n,customClassConfig:r,style:a}=po(),{date:i,month:l}=xa(),s=e.computed(()=>{const d=new Intl.Locale(t.value);return"weekInfo"in d?d.weekInfo.firstDay:1});return(d,c)=>(e.openBlock(),e.createBlock(e.unref(S.RangeCalendarCellTrigger),{day:e.unref(i),month:e.unref(l),class:e.normalizeClass(e.unref(a).date({class:e.unref(x)(e.unref(r).date,e.unref(n)?.date)})),"data-first-day-of-week":e.unref(i).toDate(e.unref(ot)()).getDay()===s.value%7||void 0,"data-last-day-of-week":e.unref(i).toDate(e.unref(ot)()).getDay()===(s.value+6)%7||void 0,"data-first-day-of-month":e.unref(i).day===1||void 0,"data-last-day-of-month":e.unref(i).day===e.unref(lf)(e.unref(i).month,e.unref(i).year)||void 0},{default:e.withCtx(({today:u})=>[e.createElementVNode("div",{class:e.normalizeClass(e.unref(a).innerDate({class:e.unref(x)(e.unref(r).innerDate,e.unref(n)?.innerDate)}))},[e.renderSlot(d.$slots,"default",{day:e.unref(i).day},()=>[e.createTextVNode(e.toDisplayString(e.unref(i).day),1)])],2),u?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(a).todayIndicator({class:e.unref(x)(e.unref(r).todayIndicator,e.unref(n)?.todayIndicator)}))},null,2)):e.createCommentVNode("",!0)]),_:3},8,["day","month","class","data-first-day-of-week","data-last-day-of-week","data-first-day-of-month","data-last-day-of-month"]))}}),bi=e.defineComponent({__name:"DateRangePickerGrid",props:{grid:{},weekDays:{}},setup(o){const t=o,{classConfig:n,customClassConfig:r,style:a}=po(),{locale:i}=fe(),{locale:l}=S.injectRangeCalendarRootContext();return(s,d)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(a).gridContainer({class:e.unref(x)(e.unref(r).gridContainer,e.unref(n)?.gridContainer)}))},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.grid,(c,u)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:c.value.toString()},[u!==0?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(a).monthSeparator({class:e.unref(x)(e.unref(r).monthSeparator,e.unref(n)?.monthSeparator)}))},null,2)):e.createCommentVNode("",!0),e.createVNode(e.unref(S.RangeCalendarGrid),{class:e.normalizeClass(e.unref(a).grid({class:e.unref(x)(e.unref(r).grid,e.unref(n)?.grid)}))},{default:e.withCtx(()=>[e.createVNode(e.unref(S.RangeCalendarGridHead),null,{default:e.withCtx(()=>[e.createVNode(e.unref(S.RangeCalendarGridRow),{class:e.normalizeClass(e.unref(a).gridRow({class:e.unref(x)(e.unref(r).gridRow,e.unref(n)?.gridRow)}))},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.weekDays,(f,p)=>(e.openBlock(),e.createBlock(e.unref(S.RangeCalendarHeadCell),{key:f,class:e.normalizeClass(e.unref(a).weekDayLabel({class:e.unref(x)(e.unref(r).weekDayLabel,e.unref(n)?.weekDayLabel)}))},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(Za)(e.unref(l),e.unref(i))[p]),1)]),_:2},1032,["class"]))),128))]),_:1},8,["class"])]),_:1}),e.createVNode(e.unref(S.RangeCalendarGridBody),{class:e.normalizeClass(e.unref(a).gridBody({class:e.unref(x)(e.unref(r).gridBody,e.unref(n)?.gridBody)}))},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(c.rows,f=>(e.openBlock(),e.createBlock(e.unref(S.RangeCalendarGridRow),{key:f.toString(),class:e.normalizeClass(e.unref(a).gridRow({class:e.unref(x)(e.unref(r).gridRow,e.unref(n)?.gridRow)}))},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(f,p=>(e.openBlock(),e.createBlock(e.unref(S.RangeCalendarCell),{key:p.toString(),date:p},{default:e.withCtx(()=>[e.createVNode(Ja,{date:p,month:c.value},{default:e.withCtx(()=>[e.renderSlot(s.$slots,"date",{date:e.unref(Xa)(p)},()=>[e.createVNode(vt)])]),_:2},1032,["date","month"])]),_:2},1032,["date"]))),128))]),_:2},1032,["class"]))),128))]),_:2},1032,["class"])]),_:2},1032,["class"])],64))),128))],2))}}),wf={key:1},Cf={key:0,class:"text-center"},_f={class:"text-sm font-semibold whitespace-nowrap text-primary"},xf={key:1,class:"flex items-center justify-center gap-xxs"},kf={key:3},$i=e.defineComponent({__name:"DateRangePickerHeader",props:{grid:{}},setup(o){const t=o,{locale:n}=fe(),{classConfig:r,customClassConfig:a,placeholderValue:i,showTwoMonths:l,style:s}=po(),d=e.computed({get:()=>i.value.month-1,set:async u=>{await e.nextTick(),i.value=i.value.with({month:u+1})}}),c=e.computed({get:()=>i.value.year,set:u=>{i.value=i.value.with({year:u})}});return(u,f)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass([e.unref(s).headerContainer({class:e.unref(x)(e.unref(a).headerContainer,e.unref(r)?.headerContainer)}),"flex"])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.grid,(p,$)=>(e.openBlock(),e.createBlock(e.unref(S.RangeCalendarHeader),{key:$,class:e.normalizeClass(e.unref(s).header({class:e.unref(x)(e.unref(a).header,e.unref(r)?.header)}))},{default:e.withCtx(()=>[$===0?(e.openBlock(),e.createBlock(e.unref(S.RangeCalendarPrev),{key:0,"as-child":!0},{default:e.withCtx(()=>[e.createVNode(ue,{"class-config":{icon:"group-enabled/button:group-hover/button:-translate-x-px group-enabled/button:group-active/button:-translate-x-0.5 duration-200"},icon:"chevronLeft",label:"Previous month",variant:"tertiary",size:"sm",class:"justify-self-start"})]),_:1})):(e.openBlock(),e.createElementBlock("span",wf)),e.createVNode(e.unref(S.RangeCalendarHeading),null,{default:e.withCtx(()=>[e.unref(l)?(e.openBlock(),e.createElementBlock("div",Cf,[e.createElementVNode("span",_f,e.toDisplayString(e.unref(at)(p.value.month-1,e.unref(n),"long"))+" "+e.toDisplayString(p.value.year),1)])):(e.openBlock(),e.createElementBlock("div",xf,[e.createVNode(mt,{modelValue:d.value,"onUpdate:modelValue":f[0]||(f[0]=C=>d.value=C),"icon-right":null,"class-config":{root:"h-8 shadow-none border-none outline-none hover:bg-primary-hover focus-within:bg-primary-hover",baseSingle:"font-semibold px-sm",content:"gap-xs grid [grid-template-columns:auto] sm:[grid-template-columns:repeat(auto-fit,minmax(6rem,1fr))]",popover:{content:"min-w-60"}},filter:{isEnabled:!0},"display-fn":C=>e.unref(at)(C-1,e.unref(n),"long"),"popover-align":"start"},{default:e.withCtx(()=>[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(12,C=>e.createVNode(Ye,{key:C,value:C},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(at)(C-1,e.unref(n),"long")),1)]),_:2},1032,["value"])),64))]),_:1},8,["modelValue","display-fn"]),e.createVNode(uo,{modelValue:c.value,"onUpdate:modelValue":f[1]||(f[1]=C=>c.value=C),"class-config":{root:"h-8 shadow-none border-none outline-none hover:bg-primary-hover focus-within:bg-primary-hover",input:"font-semibold px-sm"},"format-options":{useGrouping:!1},"hide-controls":!0,class:"w-12 shrink-0"},null,8,["modelValue"])]))]),_:2},1024),$===o.grid.length-1?(e.openBlock(),e.createBlock(e.unref(S.RangeCalendarNext),{key:2,"as-child":!0},{default:e.withCtx(()=>[e.createVNode(ue,{"class-config":{icon:"group-enabled/button:group-hover/button:translate-x-px group-enabled/button:group-active/button:translate-x-0.5 duration-200"},icon:"chevronRight",label:"Next month",variant:"tertiary",size:"sm",class:"justify-self-end"})]),_:1})):(e.openBlock(),e.createElementBlock("span",kf))]),_:2},1032,["class"]))),128))],2))}}),yi=e.defineComponent({__name:"DateRangePickerRoot",props:e.mergeModels({allowNonContinuousSelection:{type:Boolean,default:!1},variant:{default:null},weekStartsOn:{default:0},focusOnMount:{type:Boolean,default:!1},label:{},testId:{default:null},isDisabled:{type:Boolean,default:!1},maxDate:{default:null},minDate:{default:null},isDateDisabled:{type:Function,default:()=>!1},isDateUnavailable:{type:Function,default:()=>!1},allowDeselect:{type:Boolean,default:!1},locale:{},showTwoMonths:{type:Boolean,default:!1},classConfig:{}},{modelValue:{required:!0},modelModifiers:{},placeholderValue:{required:!1},placeholderValueModifiers:{}}),emits:["update:modelValue","update:placeholderValue"],setup(o){const t=o,n=e.useModel(o,"modelValue"),r=e.useModel(o,"placeholderValue"),a=e.computed({get:()=>({end:n.value.until===null?void 0:le(n.value.until),start:n.value.from===null?void 0:le(n.value.from)}),set:u=>{u.start===void 0||u.end===null?n.value.from=null:n.value.from=pe(u.start),u.end===void 0||u.end===null?n.value.until=null:n.value.until=pe(u.end)}}),i=e.computed({get:()=>le(r.value??n.value.from??Be.Temporal.Now.plainDateISO()),set:u=>{r.value=pe(u)}}),{theme:l}=U(),s=e.computed(()=>t.locale??navigator.language),d=e.computed(()=>hi({variant:t.variant??void 0})),c=e.computed(()=>X("dateRangePicker",l.value,{variant:t.variant}));return yf({...Z(t),customClassConfig:c,modelValue:n,placeholderValue:e.computed({get:()=>pe(i.value),set:u=>{i.value=le(u)}}),style:d}),(u,f)=>(e.openBlock(),e.createBlock(H,{"test-id":t.testId},{default:e.withCtx(()=>[e.createVNode(ce,{"is-disabled":t.isDisabled},{default:e.withCtx(()=>[e.createVNode(e.unref(S.RangeCalendarRoot),{modelValue:a.value,"onUpdate:modelValue":f[0]||(f[0]=p=>a.value=p),placeholder:i.value,"onUpdate:placeholder":f[1]||(f[1]=p=>i.value=p),"week-starts-on":t.weekStartsOn,"prevent-deselect":!t.allowDeselect,"fixed-weeks":!0,"number-of-months":t.showTwoMonths?2:1,"allow-non-contiguous-ranges":t.allowNonContinuousSelection,"is-date-unavailable":p=>t.isDateUnavailable(e.unref(pe)(p)),"is-date-disabled":p=>t.isDateDisabled(e.unref(pe)(p)),"calendar-label":t.label,locale:s.value,"initial-focus":t.focusOnMount,"min-value":t.minDate===null?void 0:e.unref(le)(t.minDate),"max-value":t.maxDate===null?void 0:e.unref(le)(t.maxDate),"weekday-format":"short"},{default:e.withCtx(({weekDays:p,grid:$})=>[e.renderSlot(u.$slots,"default",{weekDays:p,grid:$})]),_:3},8,["modelValue","placeholder","week-starts-on","prevent-deselect","number-of-months","allow-non-contiguous-ranges","is-date-unavailable","is-date-disabled","calendar-label","locale","initial-focus","min-value","max-value"])]),_:3},8,["is-disabled"])]),_:3},8,["test-id"]))}}),wi=e.defineComponent({__name:"DateRangePicker",props:e.mergeModels({allowNonContinuousSelection:{type:Boolean},variant:{},weekStartsOn:{},focusOnMount:{type:Boolean},label:{},testId:{},isDisabled:{type:Boolean},maxDate:{},minDate:{},isDateDisabled:{type:Function},isDateUnavailable:{type:Function},allowDeselect:{type:Boolean},locale:{},showTwoMonths:{type:Boolean},classConfig:{}},{modelValue:{required:!0},modelModifiers:{},placeholderValue:{required:!1},placeholderValueModifiers:{}}),emits:["update:modelValue","update:placeholderValue"],setup(o){const t=o,n=e.useModel(o,"modelValue"),r=e.useModel(o,"placeholderValue");return(a,i)=>(e.openBlock(),e.createBlock(yi,e.mergeProps(t,{modelValue:n.value,"onUpdate:modelValue":i[0]||(i[0]=l=>n.value=l),"placeholder-value":r.value,"onUpdate:placeholderValue":i[1]||(i[1]=l=>r.value=l)}),{default:e.withCtx(({grid:l,weekDays:s})=>[e.createVNode($i,{grid:l},null,8,["grid"]),e.createVNode(bi,{"week-days":s,grid:l},{date:e.withCtx(({date:d})=>[e.renderSlot(a.$slots,"date",{date:d},()=>[e.createVNode(gi)])]),_:3},8,["week-days","grid"])]),_:3},16,["modelValue","placeholder-value"]))}}),Ci=q({slots:{iconLeft:new b().withBase("shrink-0").withSize("size-4.5").withSpacing("ml-3").withColor("text-quaternary group-data-disabled/date-field:text-fg-disabled").build(),iconRight:new b().withBase("shrink-0").withSize("size-4.5").withSpacing("mr-3").withColor("text-quaternary group-data-disabled/date-field:text-fg-disabled").build(),input:new b().withBase("outline-none").withFontSize("text-sm").withBackgroundColor("focus:bg-quaternary").withPadding("px-0.5 data-[segment=literal]:px-0").withBorderRadius("rounded-xs").withColor("text-primary data-placeholder:text-placeholder data-[segment=literal]:text-placeholder group-data-disabled/date-field:text-disabled").withCursor("disabled:cursor-not-allowed").withTransition("duration-200").build(),inputs:new b().withFlex("flex items-center").withSize("size-full").withPadding("pl-3 pr-2 group-data-icon-left/date-field:pl-2").withBackgroundColor("group-data-disabled/date-field:bg-disabled-subtle").build(),loader:new b().withBase("shrink-0").withSpacing("mr-3").withSize("size-4").withColor("text-quaternary").build(),root:new b().withBase("group/date-field overflow-hidden").withFlex("flex items-center").withHeight("h-10").withBorder("border border-solid border-primary focus-within:border-brand-500").withBorder("data-disabled:border-disabled-subtle").withBorder("data-invalid:border-error data-invalid:focus-within:border-error").withBackgroundColor("bg-primary data-disabled:bg-disabled-subtle").withBorderRadius("rounded-md").withShadow("shadow-xs").withOutline("outline outline-transparent focus-within:outline-brand-500 focus-within:data-invalid:outline-error-500").withTransition("duration-200").withCursor("data-disabled:cursor-not-allowed").build(),separator:new b().withColor("text-primary group-data-disabled/date-field:text-disabled").withSpacing("px-sm").build()},variants:{variant:{}}}),[Sf,ln]=j("dateRangeFieldContext"),_i=e.defineComponent({__name:"DateRangeFieldIconLeft",setup(o){const{classConfig:t,customClassConfig:n,iconLeft:r,style:a}=ln();return(i,l)=>e.unref(r)!==null?(e.openBlock(),e.createBlock(ee,{key:0,icon:e.unref(r),class:e.normalizeClass(e.unref(a).iconLeft({class:e.unref(x)(e.unref(n).iconLeft,e.unref(t)?.iconLeft)}))},null,8,["icon","class"])):e.createCommentVNode("",!0)}}),xi=e.defineComponent({__name:"DateRangeFieldInput",props:{segments:{}},setup(o){const t=o,{testId:n,classConfig:r,customClassConfig:a,style:i,onBlur:l,onFocus:s}=ln();return(d,c)=>(e.openBlock(),e.createBlock(H,{"test-id":e.unref(n)},{default:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass(e.unref(i).inputs({class:e.unref(x)(e.unref(a).inputs,e.unref(r)?.inputs)}))},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.segments.start,u=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:u.part},[u.part==="literal"?(e.openBlock(),e.createBlock(e.unref(S.DateRangeFieldInput),{key:0,part:u.part,class:e.normalizeClass(e.unref(i).input({class:e.unref(x)(e.unref(a).input,e.unref(r)?.input)})),type:"start"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(u.value),1)]),_:2},1032,["part","class"])):(e.openBlock(),e.createBlock(e.unref(S.DateRangeFieldInput),{key:1,part:u.part,class:e.normalizeClass(e.unref(i).input({class:e.unref(x)(e.unref(a).input,e.unref(r)?.input)})),type:"start",onFocus:e.unref(s),onBlur:e.unref(l)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(u.value),1)]),_:2},1032,["part","class","onFocus","onBlur"]))],64))),128)),e.createElementVNode("span",{class:e.normalizeClass(e.unref(i).separator({class:e.unref(x)(e.unref(a).separator,e.unref(r)?.separator)}))}," - ",2),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.segments.end,u=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:u.part},[u.part==="literal"?(e.openBlock(),e.createBlock(e.unref(S.DateRangeFieldInput),{key:0,part:u.part,class:e.normalizeClass(e.unref(i).input({class:e.unref(x)(e.unref(a).input,e.unref(r)?.input)})),type:"end"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(u.value),1)]),_:2},1032,["part","class"])):(e.openBlock(),e.createBlock(e.unref(S.DateRangeFieldInput),{key:1,part:u.part,class:e.normalizeClass(e.unref(i).input({class:e.unref(x)(e.unref(a).input,e.unref(r)?.input)})),type:"end",onFocus:e.unref(s),onBlur:e.unref(l)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(u.value),1)]),_:2},1032,["part","class","onFocus","onBlur"]))],64))),128))],2)]),_:1},8,["test-id"]))}}),Bf={class:"sr-only"},ki=e.defineComponent({__name:"DateRangeFieldLoader",setup(o){const{isLoading:t,classConfig:n,customClassConfig:r,style:a}=ln(),{t:i}=ne.useI18n();return(l,s)=>e.unref(t)?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(a).loader({class:e.unref(x)(e.unref(r).loader,e.unref(n)?.loader)}))},[e.createElementVNode("span",Bf,e.toDisplayString(e.unref(i)("shared.loading")),1),e.renderSlot(l.$slots,"default",{},()=>[e.createVNode(De,{"aria-hidden":!0})])],2)):e.createCommentVNode("",!0)}}),Nf={class:"p-lg"},Si=e.defineComponent({__name:"DateRangefieldPopover",setup(o){const{maxDate:t,minDate:n,weekStartsOn:r,isDateDisabled:a,isDateUnavailable:i,isDisabled:l,allowDeselect:s,allowNonContinuousSelection:d,classConfig:c,customClassConfig:u,hideDatePicker:f,label:p,locale:$,modelValue:C,placeholderValue:y,showTwoMonths:m}=ln();return(w,k)=>e.unref(f)?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(fo,{key:0,"is-popover-arrow-hidden":!0,"popover-align":"end"},{trigger:e.withCtx(()=>[e.createVNode(ue,{"is-disabled":e.unref(l),"class-config":{icon:"size-4",root:"min-w-7 h-7 rounded-[0.3rem]"},icon:"calendarIcon",label:"Open",variant:"tertiary",size:"sm",class:"mr-[0.3rem]"},null,8,["is-disabled"])]),content:e.withCtx(()=>[e.createElementVNode("div",Nf,[e.createVNode(wi,{modelValue:e.unref(C),"onUpdate:modelValue":k[0]||(k[0]=g=>e.isRef(C)?C.value=g:null),"focus-on-mount":!0,"allow-deselect":e.unref(s),"placeholder-value":e.unref(y),"is-date-disabled":e.unref(a),"week-starts-on":e.unref(r),locale:e.unref($),"allow-non-continuous-selection":e.unref(d),"is-date-unavailable":e.unref(i),"max-date":e.unref(t),"min-date":e.unref(n),"show-two-months":e.unref(m),label:e.unref(p)??"","class-config":{...e.unref(u).datePicker,...e.unref(c)?.datePicker}},null,8,["modelValue","allow-deselect","placeholder-value","is-date-disabled","week-starts-on","locale","allow-non-continuous-selection","is-date-unavailable","max-date","min-date","show-two-months","label","class-config"])])]),_:1}))}}),Vf=["data-icon-left","data-invalid","data-disabled"],Bi=e.defineComponent({__name:"DateRangeFieldRoot",props:e.mergeModels({isLoading:{type:Boolean,default:!1},allowNonContinuousSelection:{type:Boolean},autocomplete:{default:"off"},hideDatePicker:{type:Boolean,default:!1},iconLeft:{default:null},variant:{default:null},testId:{default:null},isDisabled:{type:Boolean,default:!1},id:{default:null},isRequired:{type:Boolean,default:!1},isTouched:{type:Boolean,default:!1},errorMessage:{default:null},hint:{default:null},label:{default:null},maxDate:{default:null},minDate:{default:null},weekStartsOn:{default:0},isDateDisabled:{type:Function,default:()=>!1},isDateUnavailable:{type:Function,default:()=>!1},allowDeselect:{type:Boolean,default:!1},locale:{},showTwoMonths:{type:Boolean,default:!1},classConfig:{default:null}},{modelValue:{required:!0},modelModifiers:{},placeholderValue:{required:!1},placeholderValueModifiers:{}}),emits:e.mergeModels(["focus","blur"],["update:modelValue","update:placeholderValue"]),setup(o,{emit:t}){const n=o,r=t,a=e.useModel(o,"modelValue"),i=e.useModel(o,"placeholderValue"),l=e.computed({get:()=>({end:a.value.until===null?void 0:le(a.value.until),start:a.value.from===null?void 0:le(a.value.from)}),set:y=>{y.start===void 0||y.end===null?a.value.from=null:a.value.from=pe(y.start),y.end===void 0||y.end===null?a.value.until=null:a.value.until=pe(y.end)}}),s=e.computed({get:()=>i.value??a.value.from??Be.Temporal.Now.plainDateISO(),set:y=>{i.value=y}}),d=e.computed(()=>n.locale??navigator.language),{theme:c}=U(),u=e.ref(!1),f=e.computed(()=>Ci({variant:n.variant??void 0})),p=e.computed(()=>X("dateRangeField",c.value,{variant:n.variant}));function $(y){u.value=!0,r("focus",y)}function C(y){u.value=!1,setTimeout(()=>{u.value||r("blur",y)})}return Sf({...Z(n),customClassConfig:p,modelValue:a,placeholderValue:s,style:f,onBlur:C,onFocus:$}),(y,m)=>(e.openBlock(),e.createBlock(ce,{"is-disabled":n.isDisabled},{default:e.withCtx(()=>[e.createVNode(e.unref(S.DateRangeFieldRoot),{id:n.id??void 0,modelValue:l.value,"onUpdate:modelValue":m[0]||(m[0]=w=>l.value=w),"min-value":n.minDate===null?void 0:e.unref(le)(n.minDate),"max-value":n.maxDate===null?void 0:e.unref(le)(n.maxDate),"is-date-unavailable":w=>n.isDateUnavailable(e.unref(pe)(w)),locale:d.value,"week-starts-on":n.weekStartsOn,"is-invalid":n.errorMessage!==null,required:n.isRequired},{default:e.withCtx(({segments:w})=>[e.createElementVNode("div",{"data-icon-left":n.iconLeft!==null||void 0,"data-invalid":n.errorMessage!==null&&n.isTouched||void 0,"data-disabled":n.isDisabled||void 0,class:e.normalizeClass(f.value.root({class:e.unref(x)(p.value.root,n.classConfig?.root)}))},[e.renderSlot(y.$slots,"default",{segments:w})],10,Vf)]),_:3},8,["id","modelValue","min-value","max-value","is-date-unavailable","locale","week-starts-on","is-invalid","required"])]),_:3},8,["is-disabled"]))}}),Pf=e.defineComponent({__name:"DateRangeField",props:e.mergeModels({isLoading:{type:Boolean},allowNonContinuousSelection:{type:Boolean},autocomplete:{},hideDatePicker:{type:Boolean},iconLeft:{},variant:{},testId:{},isDisabled:{type:Boolean},id:{},isRequired:{type:Boolean},isTouched:{type:Boolean},errorMessage:{},hint:{},label:{},maxDate:{},minDate:{},weekStartsOn:{},isDateDisabled:{type:Function},isDateUnavailable:{type:Function},allowDeselect:{type:Boolean},locale:{},showTwoMonths:{type:Boolean},classConfig:{}},{modelValue:{required:!0},modelModifiers:{},placeholderValue:{required:!1},placeholderValueModifiers:{}}),emits:e.mergeModels(["focus","blur"],["update:modelValue","update:placeholderValue"]),setup(o,{emit:t}){const n=o,r=t,a=e.useModel(o,"modelValue"),i=e.useModel(o,"placeholderValue"),l=n.id??e.useId();return(s,d)=>(e.openBlock(),e.createBlock(_e,{"error-message":n.errorMessage,hint:n.hint,"is-required":n.isRequired,"is-touched":n.isTouched,label:n.label,for:e.unref(l)},{label:e.withCtx(()=>[e.renderSlot(s.$slots,"label")]),error:e.withCtx(()=>[e.renderSlot(s.$slots,"error")]),hint:e.withCtx(()=>[e.renderSlot(s.$slots,"hint")]),default:e.withCtx(()=>[e.createVNode(Bi,e.mergeProps(n,{id:e.unref(l),modelValue:a.value,"onUpdate:modelValue":d[0]||(d[0]=c=>a.value=c),"placeholder-value":i.value,"onUpdate:placeholderValue":d[1]||(d[1]=c=>i.value=c),onBlur:d[2]||(d[2]=c=>r("blur",c)),onFocus:d[3]||(d[3]=c=>r("focus",c))}),{default:e.withCtx(({segments:c})=>[e.renderSlot(s.$slots,"left"),e.createVNode(_i),e.createVNode(xi,{segments:c},null,8,["segments"]),e.createVNode(ki),e.createVNode(Si)]),_:3},16,["id","modelValue","placeholder-value"])]),_:3},8,["error-message","hint","is-required","is-touched","label","for"]))}}),Ge=e.ref([]);function If(){return{dialogs:Ge}}function Tf(o){Ge.value=Ge.value.filter(t=>t.id!==o)}function Ef(o){const t=e.useId(),n=new Map;async function r(d){const c=n.get(t);c&&(clearTimeout(c),n.delete(t));const u=await l(d);u!==null&&(Ge.value.push(u.value),await e.nextTick(),u.value.isOpen=!0)}function a(){const d=Ge.value.find(u=>u.id===t)??null;if(d===null)return;d.isOpen=!1;const c=setTimeout(()=>{n.delete(t)},300);n.set(t,c)}const i=e.computed(()=>{const d=Ge.value.find(c=>c.id===t)??null;return d===null?!1:d.isOpen});async function l(d){const c=Ge.value.find(p=>p.id===t)??null;if(c!==null&&i.value)return console.warn(`Dialog with ID "${t}" is already open`),null;c!==null&&Tf(c.id),await e.nextTick();const u=e.computed(()=>e.h(o,{...d,onClose:a,onClose_:a}));return e.ref({id:t,isOpen:!1,component:e.markRaw(u)})}const s=e.computed(()=>{const d=Ge.value.some(c=>c.id===t&&c.isOpen);return{id:t,"aria-expanded":d,"aria-haspopup":"dialog","data-state":d}});return e.onBeforeUnmount(()=>{a()}),{isOpen:i,close:a,open:r,triggerProps:s}}const Ni=q({slots:{content:new b().withClasses("fixed top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 z-40 outline-none overflow-hidden").withZIndex("z-40").withBorderRadius("rounded-2xl").withBorder("dark:border border-solid border-tertiary").withBackgroundColor("bg-primary").withShadow("shadow-lg").build(),overlay:new b().withClasses("fixed inset-0 bg-black/30 backdrop-blur-sm").withZIndex("z-39").build()},variants:{variant:{}}}),[Mf,sn]=j("dialogContext"),Vi=e.defineComponent({inheritAttrs:!1,__name:"DialogContent",setup(o){const{testId:t,isOpen:n,classConfig:r,customClassConfig:a,hideOverlay:i,preventClickOutside:l,preventEsc:s,style:d}=sn(),c=e.useAttrs();function u(p){s.value&&p.preventDefault()}function f(p){l.value&&p.preventDefault(),p.target.attributes.getNamedItem("data-dialog-overlay")!==null||p.preventDefault()}return(p,$)=>(e.openBlock(),e.createBlock(e.unref(Y.AnimatePresence),null,{default:e.withCtx(()=>[e.unref(n)?(e.openBlock(),e.createBlock(H,{key:0,"test-id":e.unref(t)},{default:e.withCtx(()=>[e.createVNode(e.unref(S.DialogContent),e.mergeProps({"as-child":!0,"force-mount":!0,class:e.unref(d).content({class:e.unref(x)(e.unref(a).content,e.unref(r)?.content)}),"trap-focus":!e.unref(i)},e.unref(c),{onEscapeKeyDown:u,onInteractOutside:f}),{default:e.withCtx(()=>[e.renderSlot(p.$slots,"default")]),_:3},16,["class","trap-focus"])]),_:3},8,["test-id"])):e.createCommentVNode("",!0)]),_:3}))}}),Pi=e.defineComponent({__name:"DialogContentTransition",setup(o){return(t,n)=>(e.openBlock(),e.createBlock(e.unref(Y.Motion),{initial:{opacity:0,transform:"translateY(5rem)"},animate:{opacity:1,transform:"translateY(0rem)",transition:{duration:.6,bounce:0,type:"spring"}},exit:{opacity:0,transform:"translateY(5rem)",transition:{duration:.3,bounce:0,type:"spring"}}},{default:e.withCtx(()=>[e.renderSlot(t.$slots,"default")]),_:3}))}}),Ii=e.defineComponent({__name:"DialogOverlay",setup(o){const{isOpen:t,classConfig:n,customClassConfig:r,hideOverlay:a,style:i}=sn();return(l,s)=>(e.openBlock(),e.createBlock(e.unref(Y.AnimatePresence),null,{default:e.withCtx(()=>[e.unref(t)&&!e.unref(a)?(e.openBlock(),e.createBlock(e.unref(S.DialogOverlay),{key:0,"as-child":!0,"force-mount":!0,class:e.normalizeClass(e.unref(i).overlay({class:e.unref(x)(e.unref(r).overlay,e.unref(n)?.overlay)})),"data-dialog-overlay":""},{default:e.withCtx(()=>[e.renderSlot(l.$slots,"default")]),_:3},8,["class"])):e.createCommentVNode("",!0)]),_:3}))}}),Ti=e.defineComponent({__name:"DialogOverlayTransition",setup(o){return(t,n)=>(e.openBlock(),e.createBlock(e.unref(Y.Motion),{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.2}}))}}),Ei=e.defineComponent({__name:"DialogPortal",setup(o){const{teleportTargetId:t}=sn(),n=e.computed(()=>t.value===null?null:`#${t.value}`);return(r,a)=>(e.openBlock(),e.createBlock(e.unref(S.DialogPortal),{disabled:e.unref(t)===null,"force-mount":!0,to:n.value},{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},8,["disabled","to"]))}}),Mi=e.defineComponent({__name:"DialogRoot",props:e.mergeModels({teleportTargetId:{default:null},hideOverlay:{type:Boolean,default:!1},preventClickOutside:{type:Boolean,default:!1},preventEsc:{type:Boolean,default:!1},variant:{default:null},testId:{default:null},classConfig:{default:null}},{isOpen:{type:Boolean,default:!1},isOpenModifiers:{}}),emits:e.mergeModels(["close"],["update:isOpen"]),setup(o,{emit:t}){const n=o,r=t,a=e.useModel(o,"isOpen"),{theme:i}=U(),l=e.computed(()=>Ni({variant:n.variant??void 0})),s=e.computed(()=>X("dialog",i.value,{variant:n.variant}));return e.watch(a,d=>{d||r("close")}),Mf({...Z(n),isOpen:e.computed(()=>a.value),customClassConfig:s,style:l}),(d,c)=>(e.openBlock(),e.createBlock(H,{"test-id":n.testId},{default:e.withCtx(()=>[e.createVNode(e.unref(S.DialogRoot),{open:a.value,"onUpdate:open":c[0]||(c[0]=u=>a.value=u),modal:!n.hideOverlay},{default:e.withCtx(()=>[e.renderSlot(d.$slots,"default")]),_:3},8,["open","modal"])]),_:3},8,["test-id"]))}}),Df=e.defineComponent({__name:"Dialog",props:e.mergeModels({teleportTargetId:{default:null},hideOverlay:{type:Boolean,default:!1},preventClickOutside:{type:Boolean,default:!1},preventEsc:{type:Boolean,default:!1},variant:{},testId:{default:null},classConfig:{default:null}},{isOpen:{type:Boolean,default:!1},isOpenModifiers:{}}),emits:e.mergeModels(["close","close_"],["update:isOpen"]),setup(o,{emit:t}){const n=o,r=t,a=e.useModel(o,"isOpen"),i=e.useAttrs();function l(){r("close_"),r("close")}return(s,d)=>(e.openBlock(),e.createBlock(Mi,e.mergeProps(n,{"is-open":a.value,"onUpdate:isOpen":d[0]||(d[0]=c=>a.value=c),onClose:l}),{default:e.withCtx(()=>[e.createVNode(Ei,null,{default:e.withCtx(()=>[e.createVNode(Ii,null,{default:e.withCtx(()=>[e.createVNode(Ti)]),_:1}),e.createVNode(Vi,null,{default:e.withCtx(()=>[e.createVNode(Pi,e.normalizeProps(e.guardReactiveProps(e.unref(i))),{default:e.withCtx(()=>[e.renderSlot(s.$slots,"default")]),_:3},16)]),_:3})]),_:3})]),_:3},16,["is-open"]))}}),Ff=e.defineComponent({__name:"DialogContainer",setup(o){const{dialogs:t}=If();return(n,r)=>(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(t),a=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(a.component),{key:a.id,"is-open":a.isOpen},null,8,["is-open"]))),128))}}),Rf=e.defineComponent({__name:"DialogCloseButton",setup(o){const{classConfig:t,customClassConfig:n}=sn(),{t:r}=ne.useI18n();return(a,i)=>(e.openBlock(),e.createBlock(e.unref(S.DialogClose),{"as-child":!0},{default:e.withCtx(()=>[e.renderSlot(a.$slots,"default",{},()=>[e.createVNode(ue,{"class-config":{...e.unref(n)?.closeButton,...e.unref(t)?.closeButton},label:e.unref(r)("shared.close"),icon:"close",variant:"tertiary",size:"sm"},null,8,["class-config","label"])])]),_:3}))}}),Of=e.defineComponent({__name:"DialogDescription",setup(o){return(t,n)=>(e.openBlock(),e.createBlock(e.unref(S.DialogDescription),{"as-child":!0},{default:e.withCtx(()=>[e.renderSlot(t.$slots,"default")]),_:3}))}}),Af=e.defineComponent({__name:"DialogTitle",setup(o){return(t,n)=>(e.openBlock(),e.createBlock(e.unref(S.DialogTitle),{"as-child":!0},{default:e.withCtx(()=>[e.renderSlot(t.$slots,"default")]),_:3}))}}),Di=q({slots:{arrow:new b().withClasses("absolute left-1/2 rotate-45").withSize("size-4").withTranslate("-translate-x-1/2 -translate-y-3").withBorderRadius("rounded-xxs").withBackgroundColor("bg-primary").withBorder("border border-solid border-secondary").withShadow("shadow-lg").build(),content:new b().withBase("data-[content-width=anchor-width]:w-(--reka-dropdown-menu-trigger-width) data-[content-width=available-width]:w-(--reka-dropdown-menu-content-available-width)").withZIndex("z-40").withBackgroundColor("bg-primary").withBorder("border border-solid border-secondary").withBorderRadius("rounded-lg").withBase("relative").withSize("size-full min-w-52").withBorderRadius("rounded-lg").withShadow("shadow-lg").build(),group:new b().withPadding("p-xs").build(),item:new b().withBase("group/dropdown-menu-item outline-none").withSize("w-full").withGrid("grid grid-cols-[auto_1fr_auto] items-center").withCursor("cursor-pointer data-disabled:cursor-not-allowed").withBorderRadius("rounded-sm").withPadding("p-md").withBackgroundColor("not-data-disabled:data-highlighted:bg-secondary-hover not-data-disabled:data-destructive:data-highlighted:bg-error-primary").withTransition("duration-200").build(),itemIcon:new b().withSize("size-4").withColor("text-secondary group-data-disabled/dropdown-menu-item:text-disabled group-data-destructive/dropdown-menu-item:text-error-primary").withSpacing("mr-md").withTransition("duration-200").build(),itemLabel:new b().withColor("text-secondary font-medium group-data-disabled/dropdown-menu-item:text-disabled group-data-destructive/dropdown-menu-item:text-error-primary").withFontSize("text-sm").withTransition("duration-200").build(),label:new b().withColor("text-tertiary").withFontSize("text-sm").withFontWeight("font-medium").build(),separator:new b().withHeight("h-px").withBackgroundColor("bg-quaternary").build(),subMenuArrowIcon:new b().withSize("size-4").withColor("text-quaternary").build()},variants:{variant:{}}}),[zf,He]=j("dropdownMenuContext"),Fi=e.defineComponent({__name:"DropdownMenuArrow",setup(o){const{isPopoverArrowHidden:t,classConfig:n,customClassConfig:r,style:a}=He();return(i,l)=>e.unref(t)?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(e.unref(S.DropdownMenuArrow),{key:0,as:"div",class:"relative -mb-4 h-4 w-8 overflow-hidden"},{default:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass(e.unref(a).arrow({class:e.unref(x)(e.unref(r).arrow,e.unref(n)?.arrow)}))},null,2)]),_:1}))}}),Ri=e.defineComponent({__name:"DropdownMenuContent",setup(o){const{isOpen:t,classConfig:n,customClassConfig:r,popoverAlign:a,popoverAlignOffset:i,popoverAnchorReferenceElement:l,popoverCollisionPadding:s,popoverContainerElement:d,popoverSide:c,popoverSideOffset:u,popoverWidth:f,style:p,onCloseAutoFocus:$,onEscapeKeyDown:C}=He();return(y,m)=>(e.openBlock(),e.createBlock(e.unref(Y.AnimatePresence),null,{default:e.withCtx(()=>[e.unref(t)?(e.openBlock(),e.createBlock(pt,{key:0},{default:e.withCtx(()=>[e.createVNode(e.unref(S.DropdownMenuContent),{"force-mount":!0,"as-child":!0,"data-content-width":e.unref(f),align:e.unref(a),reference:e.unref(l)??void 0,"align-offset":e.unref(i),"collision-padding":e.unref(s),"collision-boundary":e.unref(d),side:e.unref(c),"side-offset":e.unref(u),class:e.normalizeClass(e.unref(p).content({class:e.unref(x)(e.unref(r).content,e.unref(n)?.content)})),"position-strategy":"absolute",sticky:"always",onCloseAutoFocus:e.unref($),onEscapeKeyDown:e.unref(C)},{default:e.withCtx(()=>[e.renderSlot(y.$slots,"default")]),_:3},8,["data-content-width","align","reference","align-offset","collision-padding","collision-boundary","side","side-offset","class","onCloseAutoFocus","onEscapeKeyDown"])]),_:3})):e.createCommentVNode("",!0)]),_:3}))}}),dn=4,cn=.9,Oi=e.defineComponent({__name:"DropdownMenuContentTransition",setup(o){const t=e.useAttrs(),n=e.computed(()=>t["data-side"]),r=e.ref(null);function a(i){switch(i){case"top":return{transform:`translateY(${dn}px) scale(${cn})`};case"bottom":return{transform:`translateY(-${dn}px) scale(${cn})`};case"left":return{transform:`translateX(${dn}px) scale(${cn})`};case"right":return{transform:`translateX(-${dn}px) scale(${cn})`}}}return(i,l)=>(e.openBlock(),e.createBlock(e.unref(Y.Motion),{ref_key:"motionRef",ref:r,initial:{opacity:0,...a(n.value)},animate:{opacity:1,transform:"translate(0, 0) scale(1)"},exit:{opacity:0,...a(n.value)},transition:{duration:.2,type:"spring",bounce:0},class:"origin-(--reka-dropdown-menu-content-transform-origin)"},{default:e.withCtx(()=>[e.renderSlot(i.$slots,"default")]),_:3},8,["initial","exit"]))}}),mo=e.defineComponent({__name:"DropdownMenuPortal",setup(o){const t=fe();return(n,r)=>(e.openBlock(),e.createBlock(e.unref(S.DropdownMenuPortal),{to:e.unref(t).teleportTargetSelector},{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default")]),_:3},8,["to"]))}}),Ai=e.defineComponent({__name:"DropdownMenuRoot",props:e.mergeModels({variant:{default:null},testId:{default:null},isDisabled:{type:Boolean,default:!1},isPopoverArrowHidden:{type:Boolean,default:!1},popoverAlign:{default:"center"},popoverAlignOffset:{default:0},popoverAnchorReferenceElement:{default:null},popoverCollisionPadding:{default:10},popoverContainerElement:{default:null},popoverSide:{default:"bottom"},popoverSideOffset:{default:10},popoverWidth:{default:null},classConfig:{default:null}},{isOpen:{type:Boolean,default:!1,required:!1},isOpenModifiers:{}}),emits:e.mergeModels(["closeAutoFocus","escapeKeyDown"],["update:isOpen"]),setup(o,{emit:t}){const n=o,r=t,a=e.useModel(o,"isOpen"),{theme:i}=U(),l=e.computed(()=>Di({variant:n.variant??void 0})),s=e.computed(()=>X("dropdownMenu",i.value,{variant:n.variant}));function d(u){r("closeAutoFocus",u)}function c(u){r("escapeKeyDown",u)}return zf({...Z(n),isOpen:e.computed(()=>a.value),customClassConfig:s,style:l,onCloseAutoFocus:d,onEscapeKeyDown:c}),(u,f)=>(e.openBlock(),e.createBlock(H,{"test-id":o.testId},{default:e.withCtx(()=>[e.createVNode(ce,{"is-disabled":o.isDisabled},{default:e.withCtx(()=>[e.createVNode(e.unref(S.DropdownMenuRoot),{open:a.value,"onUpdate:open":f[0]||(f[0]=p=>a.value=p)},{default:e.withCtx(()=>[e.renderSlot(u.$slots,"default")]),_:3},8,["open"])]),_:3},8,["is-disabled"])]),_:3},8,["test-id"]))}}),zi=e.defineComponent({__name:"DropdownMenuTrigger",setup(o){return(t,n)=>(e.openBlock(),e.createBlock(e.unref(S.DropdownMenuTrigger),{"as-child":!0},{default:e.withCtx(()=>[e.renderSlot(t.$slots,"default")]),_:3}))}}),Lf=e.defineComponent({__name:"DropdownMenu",props:e.mergeModels({variant:{},testId:{},isDisabled:{type:Boolean},isPopoverArrowHidden:{type:Boolean},popoverAlign:{},popoverAlignOffset:{},popoverAnchorReferenceElement:{},popoverCollisionPadding:{},popoverContainerElement:{},popoverSide:{},popoverSideOffset:{},popoverWidth:{},classConfig:{}},{isOpen:{type:Boolean,default:!1,required:!1},isOpenModifiers:{}}),emits:e.mergeModels(["closeAutoFocus","escapeKeyDown"],["update:isOpen"]),setup(o,{emit:t}){const n=o,r=t,a=e.useModel(o,"isOpen");return(i,l)=>(e.openBlock(),e.createBlock(Ai,e.mergeProps(n,{"is-open":a.value,"onUpdate:isOpen":l[0]||(l[0]=s=>a.value=s),onCloseAutoFocus:l[1]||(l[1]=s=>r("closeAutoFocus",s)),onEscapeKeyDown:l[2]||(l[2]=s=>r("escapeKeyDown",s))}),{default:e.withCtx(()=>[e.createVNode(zi,null,{default:e.withCtx(()=>[e.renderSlot(i.$slots,"trigger")]),_:3}),e.createVNode(mo,null,{default:e.withCtx(()=>[e.createVNode(Ri,null,{default:e.withCtx(()=>[e.createVNode(Oi,null,{default:e.withCtx(()=>[e.renderSlot(i.$slots,"content"),e.createVNode(Fi)]),_:3})]),_:3})]),_:3})]),_:3},16,["is-open"]))}}),jf=e.defineComponent({__name:"DropdownMenuGroup",setup(o){const{classConfig:t,customClassConfig:n,style:r}=He(),a=e.useAttrs();return(i,l)=>(e.openBlock(),e.createBlock(e.unref(S.DropdownMenuGroup),{class:e.normalizeClass(e.unref(r).group({class:e.unref(x)(e.unref(n).group,e.unref(t)?.group,e.unref(a).class)}))},{default:e.withCtx(()=>[e.renderSlot(i.$slots,"default")]),_:3},8,["class"]))}}),[Li,ji]=j("dropdownMenuItemContext"),Gf={key:1},ho=e.defineComponent({__name:"DropdownMenuItemIcon",setup(o){const{classConfig:t,customClassConfig:n,style:r}=He(),{icon:a}=ji(),i=e.useAttrs();return(l,s)=>e.unref(a)!==null?(e.openBlock(),e.createBlock(ee,{key:0,class:e.normalizeClass(e.unref(r).itemIcon({class:e.unref(x)(e.unref(n).itemIcon,e.unref(t)?.itemIcon,e.unref(i).class)})),icon:e.unref(a)},null,8,["class","icon"])):(e.openBlock(),e.createElementBlock("span",Gf))}}),go=e.defineComponent({__name:"DropdownMenuItemLabel",setup(o){const{classConfig:t,customClassConfig:n,style:r}=He(),{label:a}=ji(),i=e.useAttrs();return(l,s)=>(e.openBlock(),e.createElementBlock("span",{class:e.normalizeClass(e.unref(r).itemLabel({class:e.unref(x)(e.unref(n).itemLabel,e.unref(t)?.itemLabel,e.unref(i).class)}))},e.toDisplayString(e.unref(a)),3))}}),Hf=e.defineComponent({__name:"DropdownMenuItem",props:{isDestructive:{type:Boolean,default:!1},icon:{default:null},label:{},testId:{default:null},isDisabled:{type:Boolean,default:!1}},emits:["select"],setup(o,{emit:t}){const n=o,r=t,a=e.useAttrs(),{classConfig:i,customClassConfig:l,style:s}=He();return Li(Z(n)),(d,c)=>(e.openBlock(),e.createBlock(H,{"test-id":n.testId},{default:e.withCtx(()=>[e.createVNode(ce,{"is-disabled":n.isDisabled},{default:e.withCtx(()=>[e.createVNode(e.unref(S.DropdownMenuItem),{"data-destructive":n.isDestructive||void 0,class:e.normalizeClass(e.unref(s).item({class:e.unref(x)(e.unref(l).item,e.unref(i)?.item,e.unref(a).class)})),onSelect:c[0]||(c[0]=u=>r("select",u))},{default:e.withCtx(()=>[e.renderSlot(d.$slots,"default",{},()=>[e.createVNode(ho),e.createVNode(go),e.renderSlot(d.$slots,"right")])]),_:3},8,["data-destructive","class"])]),_:3},8,["is-disabled"])]),_:3},8,["test-id"]))}}),qf=e.defineComponent({__name:"DropdownMenuSeparator",setup(o){const{classConfig:t,customClassConfig:n,style:r}=He();return(a,i)=>(e.openBlock(),e.createBlock(e.unref(S.DropdownMenuSeparator),{class:e.normalizeClass(e.unref(r).separator({class:e.unref(x)(e.unref(n).separator,e.unref(t)?.separator)}))},null,8,["class"]))}}),un=4,Gi=e.defineComponent({__name:"DropdownMenuSubMenuTransition",setup(o){const t=e.useAttrs(),n=e.computed(()=>t["data-side"]);function r(a){switch(a){case"top":return{x:0,y:un};case"bottom":return{x:0,y:-un};case"left":return{x:un,y:0};case"right":return{x:-un,y:0}}}return(a,i)=>(e.openBlock(),e.createBlock(e.unref(Y.Motion),{initial:{opacity:0,...r(n.value)},animate:{opacity:1,x:0,y:0},exit:{opacity:0,...r(n.value)},transition:{duration:.1,type:"spring",bounce:0},class:"data-[side=bottom]:origin-top data-[side=left]:origin-right data-[side=right]:origin-left data-[side=top]:origin-bottom"},{default:e.withCtx(()=>[e.renderSlot(a.$slots,"default")]),_:3},8,["initial","exit"]))}}),Uf=e.defineComponent({__name:"DropdownMenuSubMenu",props:{isDestructive:{type:Boolean,default:!1},icon:{default:null},label:{},testId:{default:null},isDisabled:{type:Boolean,default:!1}},setup(o){const t=o,{classConfig:n,customClassConfig:r,style:a}=He();return Li(Z(t)),(i,l)=>(e.openBlock(),e.createBlock(e.unref(S.DropdownMenuSub),null,{default:e.withCtx(()=>[e.createVNode(e.unref(S.DropdownMenuSubTrigger),{class:e.normalizeClass(e.unref(a).item({class:e.unref(x)(e.unref(r).item,e.unref(n)?.item)}))},{default:e.withCtx(()=>[e.renderSlot(i.$slots,"item",{},()=>[e.createVNode(ho),e.createVNode(go),e.createVNode(ee,{class:e.normalizeClass(e.unref(a).subMenuArrowIcon({class:e.unref(x)(e.unref(r).itemIcon,e.unref(n)?.itemIcon)})),icon:"chevronRight"},null,8,["class"])])]),_:3},8,["class"]),e.createVNode(mo,null,{default:e.withCtx(()=>[e.createVNode(e.unref(Y.AnimatePresence),null,{default:e.withCtx(()=>[e.createVNode(pt,null,{default:e.withCtx(()=>[e.createVNode(e.unref(S.DropdownMenuSubContent),{"side-offset":6,"align-offset":-5,class:e.normalizeClass(e.unref(a).content({class:e.unref(x)(e.unref(r).content,e.unref(n)?.content)})),"as-child":!0},{default:e.withCtx(()=>[e.createVNode(Gi,null,{default:e.withCtx(()=>[e.renderSlot(i.$slots,"default")]),_:3})]),_:3},8,["class"])]),_:3})]),_:3})]),_:3})]),_:3}))}});var gt=(o=>(o.INVALID_MIME_TYPE="INVALID_MIME_TYPE",o.PREPROCESSING_FAILED="PREPROCESSING_FAILED",o.UPLOAD_FAILED="UPLOAD_FAILED",o))(gt||{}),Pe=(o=>(o.ERROR="ERROR",o.PENDING="PENDING",o.SUCCESS="SUCCESS",o.UPLOADING="UPLOADING",o))(Pe||{});const[Wf,fn]=j("fileUploadContext"),Kf=e.defineComponent({__name:"FileUploadDropzone",setup(o){const t=e.ref(!1),{isMultiple:n,onFilesSelected:r}=fn(),a=e.ref(null),i=e.computed(()=>a.value?.$el??null),{isOverDropZone:l}=Sd(i,{multiple:n.value,onDrop:c=>{c!==null&&c.length>0&&r(c)}});let s=0;function d(c,u){switch(c.preventDefault(),c.dataTransfer&&(c.dataTransfer.dropEffect="copy"),u){case"enter":s+=1,t.value=!0;break;case"leave":s-=1,s===0&&(t.value=!1);break;case"drop":s=0,t.value=!1;break}}return Ne(document.body,"dragenter",c=>d(c,"enter")),Ne(document.body,"dragover",c=>d(c,"over")),Ne(document.body,"dragleave",c=>d(c,"leave")),Ne(document.body,"drop",c=>d(c,"drop")),(c,u)=>(e.openBlock(),e.createBlock(e.unref(S.Primitive),{ref_key:"dropzoneRef",ref:a,"as-child":!0},{default:e.withCtx(()=>[e.renderSlot(c.$slots,"default",{isHoveringOverDropzone:e.unref(l),isHoveringOverPage:t.value})]),_:3},512))}});var Yf=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","#","$","%","*","+",",","-",".",":",";","=","?","@","[","]","^","_","{","|","}","~"],bt=(o,t)=>{var n="";for(let r=1;r<=t;r++){let a=Math.floor(o)/Math.pow(83,t-r)%83;n+=Yf[Math.floor(a)]}return n},bo=o=>{let t=o/255;return t<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)},$o=o=>{let t=Math.max(0,Math.min(1,o));return t<=.0031308?Math.trunc(t*12.92*255+.5):Math.trunc((1.055*Math.pow(t,.4166666666666667)-.055)*255+.5)},Xf=o=>o<0?-1:1,yo=(o,t)=>Xf(o)*Math.pow(Math.abs(o),t),Hi=class extends Error{constructor(o){super(o),this.name="ValidationError",this.message=o}},qi=4,Zf=(o,t,n,r)=>{let a=0,i=0,l=0,s=t*qi;for(let c=0;c<t;c++){let u=qi*c;for(let f=0;f<n;f++){let p=u+f*s,$=r(c,f);a+=$*bo(o[p]),i+=$*bo(o[p+1]),l+=$*bo(o[p+2])}}let d=1/(t*n);return[a*d,i*d,l*d]},Jf=o=>{let t=$o(o[0]),n=$o(o[1]),r=$o(o[2]);return(t<<16)+(n<<8)+r},Qf=(o,t)=>{let n=Math.floor(Math.max(0,Math.min(18,Math.floor(yo(o[0]/t,.5)*9+9.5)))),r=Math.floor(Math.max(0,Math.min(18,Math.floor(yo(o[1]/t,.5)*9+9.5)))),a=Math.floor(Math.max(0,Math.min(18,Math.floor(yo(o[2]/t,.5)*9+9.5))));return n*19*19+r*19+a},vf=(o,t,n,r,a)=>{if(r<1||r>9||a<1||a>9)throw new Hi("BlurHash must have between 1 and 9 components");if(t*n*4!==o.length)throw new Hi("Width and height must match the pixels array");let i=[];for(let f=0;f<a;f++)for(let p=0;p<r;p++){let $=p==0&&f==0?1:2,C=Zf(o,t,n,(y,m)=>$*Math.cos(Math.PI*p*y/t)*Math.cos(Math.PI*f*m/n));i.push(C)}let l=i[0],s=i.slice(1),d="",c=r-1+(a-1)*9;d+=bt(c,1);let u;if(s.length>0){let f=Math.max(...s.map($=>Math.max(...$))),p=Math.floor(Math.max(0,Math.min(82,Math.floor(f*166-.5))));u=(p+1)/166,d+=bt(p,1)}else u=1,d+=bt(0,1);return d+=bt(Jf(l),4),s.forEach(f=>{d+=bt(Qf(f,u),2)}),d},e0=vf;class t0{static async encode(t){if(!t.type.startsWith("image/"))return null;const r=await this.loadImage(URL.createObjectURL(t)),a=this.getClampedSize(r.width,r.height,32),i=this.getImageData(r,a.width,a.height);try{return e0(i.data,i.width,i.height,4,4)}catch{return null}}static getClampedSize(t,n,r){return t>=n&&t>r?{height:Math.round(n/t*r),width:r}:n>t&&n>r?{height:r,width:Math.round(t/n*r)}:{height:n,width:t}}static getImageData(t,n,r){const a=document.createElement("canvas");a.width=n,a.height=r;const i=a.getContext("2d");return i.drawImage(t,0,0,n,r),i.getImageData(0,0,n,r)}static loadImage(t){return new Promise((n,r)=>{const a=new Image;a.addEventListener("load",()=>n(a)),a.addEventListener("error",(...i)=>r(i)),a.src=t})}}const[n0,Ui]=j("fileUploadItemContext"),o0=e.defineComponent({__name:"FileUploadItem",props:{item:{}},setup(o){const t=o,{isPublic:n,confirmUpload:r,getFileInfo:a,preprocess:i,onError:l,onRemoveFileUploadItem:s,onReplaceFileUploadItem:d,onStartUpload:c,onSuccess:u,onUpdateProgress:f}=fn();async function p(){const{name:m,mimeType:w}=t.item;try{return await a(m,w)}catch{l(t.item,gt.UPLOAD_FAILED)}return null}function $(m,w,k){c(t.item,m);const g=new XMLHttpRequest,B=new Blob([k]);g.upload.addEventListener("progress",N=>{if(N.lengthComputable){const F=Math.round(N.loaded/N.total*100);f(t.item,F)}}),g.onload=()=>{g.status>=200&&g.status<300?u(t.item):l(t.item,gt.UPLOAD_FAILED)},g.onerror=()=>{l(t.item,gt.UPLOAD_FAILED)},g.open("PUT",w,!0),g.setRequestHeader("Content-Type",k.type),n.value?g.setRequestHeader("x-amz-acl","public-read"):g.setRequestHeader("x-amz-acl","private"),g.setRequestHeader("x-ms-blob-type","BlockBlob"),g.send(B)}async function C(){const m=await p();if(m===null)return;const{uuid:w,uploadUrl:k}=m,{file:g}=t.item;let B=g;if(i!==null)try{B=await i(g)}catch{l(t.item,gt.PREPROCESSING_FAILED);return}$(w,k,B),r(w,await t0.encode(B))}function y(){}return t.item.status===Pe.PENDING&&C(),n0({item:e.computed(()=>t.item),onCancel:y,onRemove:()=>s(t.item),onReplace:m=>d(t.item,m)}),(m,w)=>e.renderSlot(m.$slots,"default",{onRemove:()=>e.unref(s)(t.item),onReplace:k=>e.unref(d)(t.item,k)})}}),r0=e.defineComponent({__name:"FileUploadItemRemove",setup(o){const{onRemove:t}=Ui();return(n,r)=>(e.openBlock(),e.createBlock(e.unref(S.Primitive),{"as-child":!0,onClick:e.unref(t)},{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default")]),_:3},8,["onClick"]))}}),a0=e.defineComponent({__name:"FileUploadItemReplace",setup(o){const{isDisabled:t,isMultiple:n,accept:r}=fn(),{onReplace:a}=Ui(),i=or();i.onChange(s=>{if(s===null)return;const[d]=Array.from(s);d!==void 0&&a(d)});function l(){i.open({accept:r.value.join(", "),multiple:n.value})}return(s,d)=>(e.openBlock(),e.createBlock(ce,{"is-disabled":e.unref(t)},{default:e.withCtx(()=>[e.createVNode(e.unref(S.Primitive),{"as-child":!0,onClick:l},{default:e.withCtx(()=>[e.renderSlot(s.$slots,"default")]),_:3})]),_:3},8,["is-disabled"]))}});function pn(o,t,n=Pe.PENDING){return{uuid:"",isSyncedWithModelValue:!1,name:o.name,file:o,key:`${Math.random()}`,mimeType:o.type,order:t,status:n,url:URL.createObjectURL(o)}}function Wi(o,t){return{...o,isSyncedWithModelValue:!0,status:t}}const i0=e.defineComponent({__name:"FileUploadRoot",props:e.mergeModels({isPublic:{type:Boolean,default:!1},isValidFile:{type:[Function,null],default:null},accept:{},confirmUpload:{},getFileInfo:{},preprocess:{type:[Function,null],default:null},isDisabled:{type:Boolean,default:!1}},{modelValue:{required:!0},modelModifiers:{}}),emits:e.mergeModels(["filesRejected"],["update:modelValue"]),setup(o,{emit:t}){const n=o,r=t,a=e.useModel(o,"modelValue"),i=e.computed(()=>Array.isArray(a.value)),l=e.computed({get:()=>Array.isArray(a.value)?a.value.map(k=>Wi(k,Pe.SUCCESS)):a.value===null?[]:[Wi(a.value,Pe.SUCCESS)],set:k=>{if(i.value)a.value=k.map(g=>({uuid:g.uuid,name:g.name,blurHash:g.blurHash,mimeType:g.mimeType,order:g.order,url:g.url}));else{const g=k[0]??null;if(g===null){a.value=null;return}a.value={uuid:g.uuid,name:g.name,blurHash:g.blurHash,mimeType:g.mimeType,order:g.order,url:g.url}}}}),s=e.ref([]),d=e.computed(()=>[...l.value.filter(k=>s.value.some(B=>B.uuid===k.uuid)?!k.isSyncedWithModelValue:!0),...s.value].toSorted((k,g)=>k.order-g.order).slice(i.value?void 0:-1));function c(k,g){return g.some(B=>{if(B==="*/*")return!0;if(B.endsWith("/*")){const[N]=B.split("/");return k.type.startsWith(`${N}/`)}return k.type===B})}function u(k){let g=k;g=g.filter(N=>c(N,n.accept)),g=n.isValidFile===null?g:k.filter(N=>n.isValidFile(N)),g=g.slice(0,i.value?void 0:1);const B=k.filter(N=>!g.includes(N));if(B.length>0&&r("filesRejected",B),i.value)s.value.push(...g.map((N,F)=>pn(N,F+l.value.length)));else{const[N]=g;if(N===void 0)return;s.value=[pn(N,0)]}}function f(k,g){s.value=s.value.map(B=>B.key===k?{...B,...g}:B)}function p(k,g){f(k.key,{uuid:g,progress:0,status:Pe.UPLOADING})}function $(k,g){f(k.key,{progress:g,status:Pe.UPLOADING})}function C(k){const g={...k,isSyncedWithModelValue:!0,blurHash:null,status:Pe.SUCCESS};f(k.key,g),i.value?l.value=[...l.value.filter(B=>B.uuid!==k.uuid),g]:l.value=[g]}function y(k,g){f(k.key,{errorMessage:g,status:Pe.ERROR})}function m(k){s.value=s.value.filter(g=>g.key!==k.key),l.value=l.value.filter(g=>g.uuid!==k.uuid)}function w(k,g){l.value=l.value.filter(N=>N.uuid!==k.uuid),s.value.some(N=>N.key===k.key)?f(k.key,pn(g,k.order)):s.value=[...s.value,pn(g,k.order)]}return Wf({...Z(n),isMultiple:i,preprocess:n.preprocess,onError:y,onFilesSelected:u,onRemoveFileUploadItem:m,onReplaceFileUploadItem:w,onStartUpload:p,onSuccess:C,onUpdateProgress:$}),(k,g)=>e.renderSlot(k.$slots,"default",{items:d.value})}}),l0=e.defineComponent({__name:"FileUploadTrigger",setup(o){const{isDisabled:t,isMultiple:n,accept:r,onFilesSelected:a}=fn(),i=or();i.onChange(s=>{s!==null&&a(Array.from(s))});function l(){i.open({accept:r.value.join(", "),multiple:n.value})}return(s,d)=>(e.openBlock(),e.createBlock(ce,{"is-disabled":e.unref(t)},{default:e.withCtx(()=>[e.createVNode(e.unref(S.Primitive),{"as-child":!0,onClick:l},{default:e.withCtx(()=>[e.renderSlot(s.$slots,"default")]),_:3})]),_:3},8,["is-disabled"]))}}),Ki=q({slots:{key:new b().withBase("text-center font-sans capitalize").withBackgroundColor("dark:bg-secondary").withFontSize("text-[0.6875rem]").withColor("text-tertiary").withSize("h-5 min-w-5").withPadding("px-xs").withFlex("flex items-center justify-center").withBorderRadius("rounded-xs").withShadow("shadow-keyboard-key").build()},variants:{variant:{}}}),Yi=e.defineComponent({__name:"KeyboardKey",props:{keyboardKey:{},variant:{default:null},classConfig:{default:null}},setup(o){const t=o,{theme:n}=U(),r=e.computed(()=>/windows/i.test(navigator.userAgent)),a=new Map([["alt","⌥"],["arrowdown","↓"],["arrowleft","←"],["arrowright","→"],["arrowup","↑"],["backspace","⌫"],["ctrl","⌃"],["enter","↵"],["escape","ESC"],["meta","⌘"],["shift","⇧"]]),i=new Map([["alt","Alt"],["arrowdown","↓"],["arrowleft","←"],["arrowright","→"],["arrowup","↑"],["backspace","Backspace"],["ctrl","Ctrl"],["enter","Enter"],["escape","Esc"],["meta","Win"],["shift","Shift"]]),l=e.computed(()=>Ki({variant:t.variant??void 0})),s=e.computed(()=>X("keyboardKey",n.value,{variant:t.variant})),d=e.computed(()=>(r.value?i:a).get(t.keyboardKey)??t.keyboardKey);return(c,u)=>(e.openBlock(),e.createElementBlock("kbd",{class:e.normalizeClass(l.value.key({class:e.unref(x)(s.value.key,t.classConfig?.key)}))},e.toDisplayString(d.value),3))}}),Xi=q({slots:{root:new b().withFlex("flex items-center gap-x-1").build(),thenLabel:new b().withBase("font-regular").withFontSize("text-xs").withColor("text-tertiary").build()},variants:{variant:{}}});function s0(){return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}const d0=e.defineComponent({__name:"KeyboardShortcut",props:{keyboardKeys:{},variant:{},classConfig:{default:null}},setup(o){const t=o,{areKeyboardShortcutHintsHidden:n}=fe(),{theme:r}=U(),{t:a}=ne.useI18n();function i(c){return c==="ctrl"||c==="shift"||c==="alt"||c==="meta"}const l=e.computed(()=>!t.keyboardKeys.some(c=>i(c))),s=e.computed(()=>Xi()),d=e.computed(()=>X("keyboardShortcut",r.value,{variant:t.variant}));return(c,u)=>!e.unref(n)&&!e.unref(s0)()?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(s.value.root({class:e.unref(x)(d.value.root,t.classConfig?.root)}))},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.keyboardKeys,(f,p)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:p},[e.createVNode(Yi,{"keyboard-key":f,"class-config":e.unref(Ve)(d.value.keyboardKey,t.classConfig?.keyboardKey)},null,8,["keyboard-key","class-config"]),p<t.keyboardKeys.length-1&&l.value?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(s.value.thenLabel({class:e.unref(x)(d.value.thenLabel,t.classConfig?.thenLabel)}))},e.toDisplayString(e.unref(a)("component.keyboard_shortcut.then")),3)):e.createCommentVNode("",!0)],64))),128))],2)):e.createCommentVNode("",!0)}}),c0=1e3,u0=new Map([["Control","ctrl"]]);function Zi(o){const t=e.getCurrentInstance(),n=[],{isDisabled:r,element:a=typeof window<"u"?document:null,keys:i,onTrigger:l}=o,s=i.some(d)?"combination":"sequence";function d(C){return C==="ctrl"||C==="shift"||C==="alt"||C==="meta"||C==="escape"}function c(C){const y=[];C.shiftKey&&C.key!=="Shift"&&y.push("shift"),C.ctrlKey&&C.key!=="Control"&&y.push("ctrl"),C.altKey&&C.key!=="Alt"&&y.push("alt"),C.metaKey&&C.key!=="Meta"&&y.push("meta");const m=u0.get(C.key)??C.key.toLowerCase();return y.push(m),y}function u(){return typeof document>"u"?!1:document.activeElement instanceof HTMLInputElement||document.activeElement instanceof HTMLTextAreaElement||document.activeElement?.attributes.getNamedItem("contenteditable")?.value!==void 0}function f(C){if(s==="combination")return C.every(y=>i.includes(y))&&C.length===i.length;if(s==="sequence"){const y=[...n,...C];if(C.some(w=>d(w)))return!1;const m=y.slice(-i.length);return m.every((w,k)=>w===i[k])&&m.length===i.length}return!1}function p(C){if(r?.value===!0||s==="sequence"&&u())return;const y=C,m=c(y);f(m)&&l(y),n.push(...m),setTimeout(()=>{n.splice(0,m.length)},c0)}function $(){a!==null&&a.removeEventListener("keydown",p)}return e.onMounted(()=>{a!==null&&a.addEventListener("keydown",p)}),t!==null&&e.onBeforeUnmount(()=>{$()}),{unbind:$}}const f0=e.defineComponent({__name:"KeyboardShortcutProvider",props:{isDisabled:{type:Boolean,default:!1},keyboardKeys:{},preventDefault:{type:Boolean,default:!1},stopPropagation:{type:Boolean,default:!1}},setup(o){const t=o,n=e.ref(null);function r(l){if(["A","BUTTON","INPUT","TEXTAREA","SELECT","DETAILS"].includes(l.tagName)){const c=l;return!c.hasAttribute("disabled")&&c.tabIndex>=0&&!c.hidden}const d=l;return d.tabIndex>=0&&!d.hidden}function a(l){const d=Array.from(l.querySelectorAll('a, button, input, textarea, select, details, [tabindex]:not([tabindex="-1"]), [contenteditable]'));for(const c of d)if(r(c))return c;return null}function i(l){let s=l.parentElement;for(;s;){if(s.hasAttribute("aria-hidden"))return s.getAttribute("aria-hidden")==="true";s=s.parentElement}return!1}return Zi({isDisabled:e.computed(()=>t.isDisabled),keys:t.keyboardKeys,onTrigger:l=>{if(n.value===null)return;const s=a(n.value);if(s===null||((t.preventDefault??!1)&&l.preventDefault(),(t.stopPropagation??!1)&&l.stopPropagation(),i(s)))return;s.tagName==="INPUT"||s.tagName==="TEXTAREA"?s.focus():s.click()}}),(l,s)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"wrapperRef",ref:n},[e.renderSlot(l.$slots,"default",{keys:t.keyboardKeys})],512))}}),[p0,m0]=j("layoutStackContext"),h0=e.defineComponent({__name:"LayoutStackItem",props:{maxDepth:{default:2}},setup(o){const t=o,n=e.ref(null),{height:r,width:a}=nr(n),{addToStack:i,getDepth:l,removeFromStack:s}=m0(),d=e.useId(),c=e.ref(!1);i(d);const u=e.computed(()=>l(d)),f=e.computed(()=>a.value===0||r.value===0?1:1-u.value*.05*(a.value/r.value)),p=e.computed(()=>a.value===0||r.value===0?0:-u.value*50);return e.onMounted(()=>{setTimeout(()=>{c.value=!0},0)}),e.onBeforeUnmount(()=>{s(d)}),($,C)=>(e.openBlock(),e.createBlock(e.unref(Y.Motion),{ref_key:"layoutStackItemRef",ref:n,initial:{y:"20%",opacity:0},exit:{opacity:0,y:"20%"},animate:{y:p.value,scale:f.value,filter:`brightness(${1-u.value*.1}) blur(${u.value}px)`,opacity:u.value>t.maxDepth?0:1},transition:{duration:.6,type:"spring",bounce:.2}},{default:e.withCtx(()=>[e.renderSlot($.$slots,"default")]),_:3},8,["animate"]))}}),g0=e.defineComponent({__name:"LayoutStackRoot",setup(o){const t=e.ref([]);function n(i){return t.value.push(i),t.value.length-1}function r(i){t.value=t.value.filter(l=>l!==i)}function a(i){return t.value.toReversed().indexOf(i)}return p0({addToStack:n,getDepth:a,removeFromStack:r,stack:e.computed(()=>t.value)}),(i,l)=>e.renderSlot(i.$slots,"default")}}),Ji=e.defineComponent({__name:"TextFieldIconRight",setup(o){const{isLoading:t,classConfig:n,customClassConfig:r,iconRight:a,style:i}=Kt();return(l,s)=>e.unref(a)!==null&&!e.unref(t)?(e.openBlock(),e.createBlock(ee,{key:0,icon:e.unref(a),class:e.normalizeClass(e.unref(i).iconRight({class:e.unref(x)(e.unref(r).iconRight,e.unref(n)?.iconRight)}))},null,8,["icon","class"])):e.createCommentVNode("",!0)}}),b0={class:"sr-only"},Qi=e.defineComponent({__name:"TextFieldLoader",setup(o){const{isLoading:t,classConfig:n,customClassConfig:r,style:a}=Kt(),{t:i}=ne.useI18n();return(l,s)=>e.unref(t)?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(a).loader({class:e.unref(x)(e.unref(r).loader,e.unref(n)?.loader)}))},[e.createElementVNode("span",b0,e.toDisplayString(e.unref(i)("shared.loading")),1),e.renderSlot(l.$slots,"default",{},()=>[e.createVNode(De,{"aria-hidden":!0})])],2)):e.createCommentVNode("",!0)}}),wo=e.defineComponent({__name:"TextField",props:e.mergeModels({isLoading:{type:Boolean},isSpellCheckEnabled:{type:Boolean},autocomplete:{},iconLeft:{},iconRight:{},placeholder:{},type:{},variant:{},testId:{},isDisabled:{type:Boolean},id:{},isRequired:{type:Boolean},isTouched:{type:Boolean},errorMessage:{},hint:{},label:{},classConfig:{}},{modelValue:{required:!0},modelModifiers:{}}),emits:e.mergeModels(["focus","blur"],["update:modelValue"]),setup(o,{emit:t}){const n=o,r=t,a=e.useModel(o,"modelValue"),i=n.id??e.useId();return(l,s)=>(e.openBlock(),e.createBlock(_e,{"error-message":n.errorMessage,hint:n.hint,"is-required":n.isRequired,"is-touched":n.isTouched,label:n.label,for:e.unref(i)},{label:e.withCtx(()=>[e.renderSlot(l.$slots,"label")]),error:e.withCtx(()=>[e.renderSlot(l.$slots,"error")]),hint:e.withCtx(()=>[e.renderSlot(l.$slots,"hint")]),default:e.withCtx(()=>[e.createVNode(Wn,e.mergeProps(n,{id:e.unref(i),modelValue:a.value,"onUpdate:modelValue":s[0]||(s[0]=d=>a.value=d),onBlur:s[1]||(s[1]=d=>r("blur",d)),onFocus:s[2]||(s[2]=d=>r("focus",d))}),{default:e.withCtx(()=>[e.renderSlot(l.$slots,"left"),e.createVNode(qn),e.createVNode(Un),e.createVNode(Qi),e.createVNode(Ji),e.renderSlot(l.$slots,"right")]),_:3},16,["id","modelValue"])]),_:3},8,["error-message","hint","is-required","is-touched","label","for"]))}}),$0=e.defineComponent({__name:"PasswordField",props:e.mergeModels({isLoading:{type:Boolean},isSpellCheckEnabled:{type:Boolean},autocomplete:{},iconLeft:{},iconRight:{},placeholder:{},variant:{},testId:{},isDisabled:{type:Boolean},id:{},isRequired:{type:Boolean},isTouched:{type:Boolean},errorMessage:{},hint:{},label:{},classConfig:{}},{modelValue:{required:!0},modelModifiers:{}}),emits:["update:modelValue"],setup(o){const t=o,n=e.useModel(o,"modelValue"),{t:r}=ne.useI18n(),a=e.ref(!1),i=e.computed(()=>a.value?"text":"password"),l=e.computed(()=>a.value?"eyeOff":"eye"),s=e.computed(()=>a.value?r("component.password_field.hide_password"):r("component.password_field.show_password"));function d(){a.value=!a.value}return(c,u)=>(e.openBlock(),e.createBlock(wo,e.mergeProps(t,{modelValue:n.value,"onUpdate:modelValue":u[0]||(u[0]=f=>n.value=f),type:i.value}),{left:e.withCtx(()=>[e.renderSlot(c.$slots,"left")]),label:e.withCtx(()=>[e.renderSlot(c.$slots,"label")]),error:e.withCtx(()=>[e.renderSlot(c.$slots,"error")]),hint:e.withCtx(()=>[e.renderSlot(c.$slots,"hint")]),right:e.withCtx(()=>[e.createVNode(ue,{icon:l.value,label:s.value,"is-disabled":t.isDisabled,"class-config":{icon:"size-4",root:"min-w-7 h-7 rounded-[0.3rem]"},variant:"tertiary",size:"sm",class:"mr-[0.3rem]",onClick:d},null,8,["icon","label","is-disabled"])]),_:3},16,["modelValue","type"]))}}),vi={version:4,country_calling_codes:{1:["US","AG","AI","AS","BB","BM","BS","CA","DM","DO","GD","GU","JM","KN","KY","LC","MP","MS","PR","SX","TC","TT","VC","VG","VI"],7:["RU","KZ"],20:["EG"],27:["ZA"],30:["GR"],31:["NL"],32:["BE"],33:["FR"],34:["ES"],36:["HU"],39:["IT","VA"],40:["RO"],41:["CH"],43:["AT"],44:["GB","GG","IM","JE"],45:["DK"],46:["SE"],47:["NO","SJ"],48:["PL"],49:["DE"],51:["PE"],52:["MX"],53:["CU"],54:["AR"],55:["BR"],56:["CL"],57:["CO"],58:["VE"],60:["MY"],61:["AU","CC","CX"],62:["ID"],63:["PH"],64:["NZ"],65:["SG"],66:["TH"],81:["JP"],82:["KR"],84:["VN"],86:["CN"],90:["TR"],91:["IN"],92:["PK"],93:["AF"],94:["LK"],95:["MM"],98:["IR"],211:["SS"],212:["MA","EH"],213:["DZ"],216:["TN"],218:["LY"],220:["GM"],221:["SN"],222:["MR"],223:["ML"],224:["GN"],225:["CI"],226:["BF"],227:["NE"],228:["TG"],229:["BJ"],230:["MU"],231:["LR"],232:["SL"],233:["GH"],234:["NG"],235:["TD"],236:["CF"],237:["CM"],238:["CV"],239:["ST"],240:["GQ"],241:["GA"],242:["CG"],243:["CD"],244:["AO"],245:["GW"],246:["IO"],247:["AC"],248:["SC"],249:["SD"],250:["RW"],251:["ET"],252:["SO"],253:["DJ"],254:["KE"],255:["TZ"],256:["UG"],257:["BI"],258:["MZ"],260:["ZM"],261:["MG"],262:["RE","YT"],263:["ZW"],264:["NA"],265:["MW"],266:["LS"],267:["BW"],268:["SZ"],269:["KM"],290:["SH","TA"],291:["ER"],297:["AW"],298:["FO"],299:["GL"],350:["GI"],351:["PT"],352:["LU"],353:["IE"],354:["IS"],355:["AL"],356:["MT"],357:["CY"],358:["FI","AX"],359:["BG"],370:["LT"],371:["LV"],372:["EE"],373:["MD"],374:["AM"],375:["BY"],376:["AD"],377:["MC"],378:["SM"],380:["UA"],381:["RS"],382:["ME"],383:["XK"],385:["HR"],386:["SI"],387:["BA"],389:["MK"],420:["CZ"],421:["SK"],423:["LI"],500:["FK"],501:["BZ"],502:["GT"],503:["SV"],504:["HN"],505:["NI"],506:["CR"],507:["PA"],508:["PM"],509:["HT"],590:["GP","BL","MF"],591:["BO"],592:["GY"],593:["EC"],594:["GF"],595:["PY"],596:["MQ"],597:["SR"],598:["UY"],599:["CW","BQ"],670:["TL"],672:["NF"],673:["BN"],674:["NR"],675:["PG"],676:["TO"],677:["SB"],678:["VU"],679:["FJ"],680:["PW"],681:["WF"],682:["CK"],683:["NU"],685:["WS"],686:["KI"],687:["NC"],688:["TV"],689:["PF"],690:["TK"],691:["FM"],692:["MH"],850:["KP"],852:["HK"],853:["MO"],855:["KH"],856:["LA"],880:["BD"],886:["TW"],960:["MV"],961:["LB"],962:["JO"],963:["SY"],964:["IQ"],965:["KW"],966:["SA"],967:["YE"],968:["OM"],970:["PS"],971:["AE"],972:["IL"],973:["BH"],974:["QA"],975:["BT"],976:["MN"],977:["NP"],992:["TJ"],993:["TM"],994:["AZ"],995:["GE"],996:["KG"],998:["UZ"]},countries:{AC:["247","00","(?:[01589]\\d|[46])\\d{4}",[5,6]],AD:["376","00","(?:1|6\\d)\\d{7}|[135-9]\\d{5}",[6,8,9],[["(\\d{3})(\\d{3})","$1 $2",["[135-9]"]],["(\\d{4})(\\d{4})","$1 $2",["1"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]]]],AE:["971","00","(?:[4-7]\\d|9[0-689])\\d{7}|800\\d{2,9}|[2-4679]\\d{7}",[5,6,7,8,9,10,11,12],[["(\\d{3})(\\d{2,9})","$1 $2",["60|8"]],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[236]|[479][2-8]"],"0$1"],["(\\d{3})(\\d)(\\d{5})","$1 $2 $3",["[479]"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["5"],"0$1"]],"0"],AF:["93","00","[2-7]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"]],"0"],AG:["1","011","(?:268|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([457]\\d{6})$|1","268$1",0,"268"],AI:["1","011","(?:264|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2457]\\d{6})$|1","264$1",0,"264"],AL:["355","00","(?:700\\d\\d|900)\\d{3}|8\\d{5,7}|(?:[2-5]|6\\d)\\d{7}",[6,7,8,9],[["(\\d{3})(\\d{3,4})","$1 $2",["80|9"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["4[2-6]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2358][2-5]|4"],"0$1"],["(\\d{3})(\\d{5})","$1 $2",["[23578]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["6"],"0$1"]],"0"],AM:["374","00","(?:[1-489]\\d|55|60|77)\\d{6}",[8],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[89]0"],"0 $1"],["(\\d{3})(\\d{5})","$1 $2",["2|3[12]"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["1|47"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["[3-9]"],"0$1"]],"0"],AO:["244","00","[29]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[29]"]]]],AR:["54","00","(?:11|[89]\\d\\d)\\d{8}|[2368]\\d{9}",[10,11],[["(\\d{4})(\\d{2})(\\d{4})","$1 $2-$3",["2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9])","2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8]))|2(?:2[24-9]|3[1-59]|47)","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5[56][46]|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|58|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|54(?:4|5[13-7]|6[89])|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:454|85[56])[46]|3(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1",1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["1"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[68]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2-$3",["[23]"],"0$1",1],["(\\d)(\\d{4})(\\d{2})(\\d{4})","$2 15-$3-$4",["9(?:2[2-469]|3[3-578])","9(?:2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9]))","9(?:2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8])))|92(?:2[24-9]|3[1-59]|47)","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5(?:[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|5(?:4(?:4|5[13-7]|6[89])|[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1",0,"$1 $2 $3-$4"],["(\\d)(\\d{2})(\\d{4})(\\d{4})","$2 15-$3-$4",["91"],"0$1",0,"$1 $2 $3-$4"],["(\\d{3})(\\d{3})(\\d{5})","$1-$2-$3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{4})","$2 15-$3-$4",["9"],"0$1",0,"$1 $2 $3-$4"]],"0",0,"0?(?:(11|2(?:2(?:02?|[13]|2[13-79]|4[1-6]|5[2457]|6[124-8]|7[1-4]|8[13-6]|9[1267])|3(?:02?|1[467]|2[03-6]|3[13-8]|[49][2-6]|5[2-8]|[67])|4(?:7[3-578]|9)|6(?:[0136]|2[24-6]|4[6-8]?|5[15-8])|80|9(?:0[1-3]|[19]|2\\d|3[1-6]|4[02568]?|5[2-4]|6[2-46]|72?|8[23]?))|3(?:3(?:2[79]|6|8[2578])|4(?:0[0-24-9]|[12]|3[5-8]?|4[24-7]|5[4-68]?|6[02-9]|7[126]|8[2379]?|9[1-36-8])|5(?:1|2[1245]|3[237]?|4[1-46-9]|6[2-4]|7[1-6]|8[2-5]?)|6[24]|7(?:[069]|1[1568]|2[15]|3[145]|4[13]|5[14-8]|7[2-57]|8[126])|8(?:[01]|2[15-7]|3[2578]?|4[13-6]|5[4-8]?|6[1-357-9]|7[36-8]?|8[5-8]?|9[124])))15)?","9$1"],AS:["1","011","(?:[58]\\d\\d|684|900)\\d{7}",[10],0,"1",0,"([267]\\d{6})$|1","684$1",0,"684"],AT:["43","00","1\\d{3,12}|2\\d{6,12}|43(?:(?:0\\d|5[02-9])\\d{3,9}|2\\d{4,5}|[3467]\\d{4}|8\\d{4,6}|9\\d{4,7})|5\\d{4,12}|8\\d{7,12}|9\\d{8,12}|(?:[367]\\d|4[0-24-9])\\d{4,11}",[4,5,6,7,8,9,10,11,12,13],[["(\\d)(\\d{3,12})","$1 $2",["1(?:11|[2-9])"],"0$1"],["(\\d{3})(\\d{2})","$1 $2",["517"],"0$1"],["(\\d{2})(\\d{3,5})","$1 $2",["5[079]"],"0$1"],["(\\d{3})(\\d{3,10})","$1 $2",["(?:31|4)6|51|6(?:48|5[0-3579]|[6-9])|7(?:20|32|8)|[89]","(?:31|4)6|51|6(?:485|5[0-3579]|[6-9])|7(?:20|32|8)|[89]"],"0$1"],["(\\d{4})(\\d{3,9})","$1 $2",["[2-467]|5[2-6]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["5"],"0$1"],["(\\d{2})(\\d{4})(\\d{4,7})","$1 $2 $3",["5"],"0$1"]],"0"],AU:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{7}(?:\\d(?:\\d{2})?)?|8[0-24-9]\\d{7})|[2-478]\\d{8}|1\\d{4,7}",[5,6,7,8,9,10,12],[["(\\d{2})(\\d{3,4})","$1 $2",["16"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,4})","$1 $2 $3",["16"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["14|4"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[2378]"],"(0$1)"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:30|[89])"]]],"0",0,"(183[12])|0",0,0,0,[["(?:(?:241|349)0\\d\\d|8(?:51(?:0(?:0[03-9]|[12479]\\d|3[2-9]|5[0-8]|6[1-9]|8[0-7])|1(?:[0235689]\\d|1[0-69]|4[0-589]|7[0-47-9])|2(?:0[0-79]|[18][13579]|2[14-9]|3[0-46-9]|[4-6]\\d|7[89]|9[0-4])|[34]\\d\\d)|91(?:(?:[0-58]\\d|6[0135-9])\\d|7(?:0[0-24-9]|[1-9]\\d)|9(?:[0-46-9]\\d|5[0-79]))))\\d{3}|(?:2(?:[0-26-9]\\d|3[0-8]|4[02-9]|5[0135-9])|3(?:[0-3589]\\d|4[0-578]|6[1-9]|7[0-35-9])|7(?:[013-57-9]\\d|2[0-8])|8(?:55|6[0-8]|[78]\\d|9[02-9]))\\d{6}",[9]],["4(?:79[01]|83[0-36-9]|95[0-3])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-47-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,["163\\d{2,6}",[5,6,7,8,9]],["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],AW:["297","00","(?:[25-79]\\d\\d|800)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[25-9]"]]]],AX:["358","00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))","2\\d{4,9}|35\\d{4,5}|(?:60\\d\\d|800)\\d{4,6}|7\\d{5,11}|(?:[14]\\d|3[0-46-9]|50)\\d{4,8}",[5,6,7,8,9,10,11,12],0,"0",0,0,0,0,"18",0,"00"],AZ:["994","00","365\\d{6}|(?:[124579]\\d|60|88)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["90"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[28]|2|365|46","1[28]|2|365[45]|46","1[28]|2|365(?:4|5[02])|46"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[13-9]"],"0$1"]],"0"],BA:["387","00","6\\d{8}|(?:[35689]\\d|49|70)\\d{6}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["6[1-3]|[7-9]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2-$3",["[3-5]|6[56]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["6"],"0$1"]],"0"],BB:["1","011","(?:246|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","246$1",0,"246"],BD:["880","00","[1-469]\\d{9}|8[0-79]\\d{7,8}|[2-79]\\d{8}|[2-9]\\d{7}|[3-9]\\d{6}|[57-9]\\d{5}",[6,7,8,9,10],[["(\\d{2})(\\d{4,6})","$1-$2",["31[5-8]|[459]1"],"0$1"],["(\\d{3})(\\d{3,7})","$1-$2",["3(?:[67]|8[013-9])|4(?:6[168]|7|[89][18])|5(?:6[128]|9)|6(?:[15]|28|4[14])|7[2-589]|8(?:0[014-9]|[12])|9[358]|(?:3[2-5]|4[235]|5[2-578]|6[0389]|76|8[3-7]|9[24])1|(?:44|66)[01346-9]"],"0$1"],["(\\d{4})(\\d{3,6})","$1-$2",["[13-9]|2[23]"],"0$1"],["(\\d)(\\d{7,8})","$1-$2",["2"],"0$1"]],"0"],BE:["32","00","4\\d{8}|[1-9]\\d{7}",[8,9],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["(?:80|9)0"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[239]|4[23]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[15-8]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["4"],"0$1"]],"0"],BF:["226","00","(?:[025-7]\\d|44)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[024-7]"]]]],BG:["359","00","00800\\d{7}|[2-7]\\d{6,7}|[89]\\d{6,8}|2\\d{5}",[6,7,8,9,12],[["(\\d)(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["2"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["43[1-6]|70[1-9]"],"0$1"],["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["[356]|4[124-7]|7[1-9]|8[1-6]|9[1-7]"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["(?:70|8)0"],"0$1"],["(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3",["43[1-7]|7"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[48]|9[08]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1"]],"0"],BH:["973","00","[136-9]\\d{7}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[13679]|8[02-4679]"]]]],BI:["257","00","(?:[267]\\d|31)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2367]"]]]],BJ:["229","00","(?:01\\d|8)\\d{7}",[8,10],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["0"]]]],BL:["590","00","(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}",[9],0,"0",0,0,0,0,0,[["590(?:2[7-9]|3[3-7]|5[12]|87)\\d{4}"],["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}"],["80[0-5]\\d{6}"],0,0,0,0,0,["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]],BM:["1","011","(?:441|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","441$1",0,"441"],BN:["673","00","[2-578]\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-578]"]]]],BO:["591","00(?:1\\d)?","8001\\d{5}|(?:[2-467]\\d|50)\\d{6}",[8,9],[["(\\d)(\\d{7})","$1 $2",["[235]|4[46]"]],["(\\d{8})","$1",["[67]"]],["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["8"]]],"0",0,"0(1\\d)?"],BQ:["599","00","(?:[34]1|7\\d)\\d{5}",[7],0,0,0,0,0,0,"[347]"],BR:["55","00(?:1[245]|2[1-35]|31|4[13]|[56]5|99)","[1-467]\\d{9,10}|55[0-46-9]\\d{8}|[34]\\d{7}|55\\d{7,8}|(?:5[0-46-9]|[89]\\d)\\d{7,9}",[8,9,10,11],[["(\\d{4})(\\d{4})","$1-$2",["300|4(?:0[02]|37|86)","300|4(?:0(?:0|20)|370|864)"]],["(\\d{3})(\\d{2,3})(\\d{4})","$1 $2 $3",["(?:[358]|90)0"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-57]"],"($1)"],["(\\d{2})(\\d{5})(\\d{4})","$1 $2-$3",["[16][1-9]|[2-57-9]"],"($1)"]],"0",0,"(?:0|90)(?:(1[245]|2[1-35]|31|4[13]|[56]5|99)(\\d{10,11}))?","$2"],BS:["1","011","(?:242|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([3-8]\\d{6})$|1","242$1",0,"242"],BT:["975","00","[178]\\d{7}|[2-8]\\d{6}",[7,8],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[2-6]|7[246]|8[2-4]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[67]|[78]"]]]],BW:["267","00","(?:0800|(?:[37]|800)\\d)\\d{6}|(?:[2-6]\\d|90)\\d{5}",[7,8,10],[["(\\d{2})(\\d{5})","$1 $2",["90"]],["(\\d{3})(\\d{4})","$1 $2",["[24-6]|3[15-9]"]],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[37]"]],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["0"]],["(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3",["8"]]]],BY:["375","810","(?:[12]\\d|33|44|902)\\d{7}|8(?:0[0-79]\\d{5,7}|[1-7]\\d{9})|8(?:1[0-489]|[5-79]\\d)\\d{7}|8[1-79]\\d{6,7}|8[0-79]\\d{5}|8\\d{5}",[6,7,8,9,10,11],[["(\\d{3})(\\d{3})","$1 $2",["800"],"8 $1"],["(\\d{3})(\\d{2})(\\d{2,4})","$1 $2 $3",["800"],"8 $1"],["(\\d{4})(\\d{2})(\\d{3})","$1 $2-$3",["1(?:5[169]|6[3-5]|7[179])|2(?:1[35]|2[34]|3[3-5])","1(?:5[169]|6(?:3[1-3]|4|5[125])|7(?:1[3-9]|7[0-24-6]|9[2-7]))|2(?:1[35]|2[34]|3[3-5])"],"8 0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2-$3-$4",["1(?:[56]|7[467])|2[1-3]"],"8 0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[1-4]"],"8 0$1"],["(\\d{3})(\\d{3,4})(\\d{4})","$1 $2 $3",["[89]"],"8 $1"]],"8",0,"0|80?",0,0,0,0,"8~10"],BZ:["501","00","(?:0800\\d|[2-8])\\d{6}",[7,11],[["(\\d{3})(\\d{4})","$1-$2",["[2-8]"]],["(\\d)(\\d{3})(\\d{4})(\\d{3})","$1-$2-$3-$4",["0"]]]],CA:["1","011","[2-9]\\d{9}|3\\d{6}",[7,10],0,"1",0,0,0,0,0,[["(?:2(?:04|[23]6|[48]9|5[07]|63)|3(?:06|43|54|6[578]|82)|4(?:03|1[68]|[26]8|3[178]|50|74)|5(?:06|1[49]|48|79|8[147])|6(?:04|[18]3|39|47|72)|7(?:0[59]|42|53|78|8[02])|8(?:[06]7|19|25|7[39])|9(?:0[25]|42))[2-9]\\d{6}",[10]],["",[10]],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",[10]],["900[2-9]\\d{6}",[10]],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|(?:5(?:2[125-9]|3[23]|44|66|77|88)|6(?:22|33))[2-9]\\d{6}",[10]],0,["310\\d{4}",[7]],0,["600[2-9]\\d{6}",[10]]]],CC:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}",[6,7,8,9,10,12],0,"0",0,"([59]\\d{7})$|0","8$1",0,0,[["8(?:51(?:0(?:02|31|60|89)|1(?:18|76)|223)|91(?:0(?:1[0-2]|29)|1(?:[28]2|50|79)|2(?:10|64)|3(?:[06]8|22)|4[29]8|62\\d|70[23]|959))\\d{3}",[9]],["4(?:79[01]|83[0-36-9]|95[0-3])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-47-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,0,["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],CD:["243","00","(?:(?:[189]|5\\d)\\d|2)\\d{7}|[1-68]\\d{6}",[7,8,9,10],[["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["88"],"0$1"],["(\\d{2})(\\d{5})","$1 $2",["[1-6]"],"0$1"],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]"],"0$1"],["(\\d{2})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["5"],"0$1"]],"0"],CF:["236","00","(?:[27]\\d{3}|8776)\\d{4}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[278]"]]]],CG:["242","00","222\\d{6}|(?:0\\d|80)\\d{7}",[9],[["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["8"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[02]"]]]],CH:["41","00","8\\d{11}|[2-9]\\d{8}",[9,12],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8[047]|90"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-79]|81"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["8"],"0$1"]],"0"],CI:["225","00","[02]\\d{9}",[10],[["(\\d{2})(\\d{2})(\\d)(\\d{5})","$1 $2 $3 $4",["2"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3 $4",["0"]]]],CK:["682","00","[2-578]\\d{4}",[5],[["(\\d{2})(\\d{3})","$1 $2",["[2-578]"]]]],CL:["56","(?:0|1(?:1[0-69]|2[02-5]|5[13-58]|69|7[0167]|8[018]))0","12300\\d{6}|6\\d{9,10}|[2-9]\\d{8}",[9,10,11],[["(\\d{5})(\\d{4})","$1 $2",["219","2196"],"($1)"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["60|809"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["44"]],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2[1-36]"],"($1)"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["9(?:10|[2-9])"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["3[2-5]|[47]|5[1-3578]|6[13-57]|8(?:0[1-8]|[1-9])"],"($1)"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["60|8"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]],["(\\d{3})(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3 $4",["60"]]]],CM:["237","00","[26]\\d{8}|88\\d{6,7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["88"]],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[26]|88"]]]],CN:["86","00|1(?:[12]\\d|79)\\d\\d00","(?:(?:1[03-689]|2\\d)\\d\\d|6)\\d{8}|1\\d{10}|[126]\\d{6}(?:\\d(?:\\d{2})?)?|86\\d{5,6}|(?:[3-579]\\d|8[0-57-9])\\d{5,9}",[7,8,9,10,11,12],[["(\\d{2})(\\d{5,6})","$1 $2",["(?:10|2[0-57-9])[19]|3(?:[157]|35|49|9[1-68])|4(?:1[124-9]|2[179]|6[47-9]|7|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:07|1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3|4[13]|5[1-5]|7[0-79]|9[0-35-9])|(?:4[35]|59|85)[1-9]","(?:10|2[0-57-9])(?:1[02]|9[56])|8078|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))1","10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|80781|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))12","10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|807812|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123","10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:078|1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123"],"0$1"],["(\\d{3})(\\d{5,6})","$1 $2",["3(?:[157]|35|49|9[1-68])|4(?:[17]|2[179]|6[47-9]|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]|4[13]|5[1-5])|(?:4[35]|59|85)[1-9]","(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))[19]","85[23](?:10|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:10|9[56])","85[23](?:100|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:100|9[56])"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["(?:4|80)0"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["10|2(?:[02-57-9]|1[1-9])","10|2(?:[02-57-9]|1[1-9])","10[0-79]|2(?:[02-57-9]|1[1-79])|(?:10|21)8(?:0[1-9]|[1-9])"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["3(?:[3-59]|7[02-68])|4(?:[26-8]|3[3-9]|5[2-9])|5(?:3[03-9]|[468]|7[028]|9[2-46-9])|6|7(?:[0-247]|3[04-9]|5[0-4689]|6[2368])|8(?:[1-358]|9[1-7])|9(?:[013479]|5[1-5])|(?:[34]1|55|79|87)[02-9]"],"0$1",1],["(\\d{3})(\\d{7,8})","$1 $2",["9"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["80"],"0$1",1],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[3-578]"],"0$1",1],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["1[3-9]"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3 $4",["[12]"],"0$1",1]],"0",0,"(1(?:[12]\\d|79)\\d\\d)|0",0,0,0,0,"00"],CO:["57","00(?:4(?:[14]4|56)|[579])","(?:46|60\\d\\d)\\d{6}|(?:1\\d|[39])\\d{9}",[8,10,11],[["(\\d{4})(\\d{4})","$1 $2",["46"]],["(\\d{3})(\\d{7})","$1 $2",["6|90"],"($1)"],["(\\d{3})(\\d{7})","$1 $2",["3[0-357]|9[14]"]],["(\\d)(\\d{3})(\\d{7})","$1-$2-$3",["1"],"0$1",0,"$1 $2 $3"]],"0",0,"0([3579]|4(?:[14]4|56))?"],CR:["506","00","(?:8\\d|90)\\d{8}|(?:[24-8]\\d{3}|3005)\\d{4}",[8,10],[["(\\d{4})(\\d{4})","$1 $2",["[2-7]|8[3-9]"]],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[89]"]]],0,0,"(19(?:0[0-2468]|1[09]|20|66|77|99))"],CU:["53","119","(?:[2-7]|8\\d\\d)\\d{7}|[2-47]\\d{6}|[34]\\d{5}",[6,7,8,10],[["(\\d{2})(\\d{4,6})","$1 $2",["2[1-4]|[34]"],"(0$1)"],["(\\d)(\\d{6,7})","$1 $2",["7"],"(0$1)"],["(\\d)(\\d{7})","$1 $2",["[56]"],"0$1"],["(\\d{3})(\\d{7})","$1 $2",["8"],"0$1"]],"0"],CV:["238","0","(?:[2-59]\\d\\d|800)\\d{4}",[7],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[2-589]"]]]],CW:["599","00","(?:[34]1|60|(?:7|9\\d)\\d)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["[3467]"]],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["9[4-8]"]]],0,0,0,0,0,"[69]"],CX:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}",[6,7,8,9,10,12],0,"0",0,"([59]\\d{7})$|0","8$1",0,0,[["8(?:51(?:0(?:01|30|59|88)|1(?:17|46|75)|2(?:22|35))|91(?:00[6-9]|1(?:[28]1|49|78)|2(?:09|63)|3(?:12|26|75)|4(?:56|97)|64\\d|7(?:0[01]|1[0-2])|958))\\d{3}",[9]],["4(?:79[01]|83[0-36-9]|95[0-3])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-47-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,0,["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],CY:["357","00","(?:[279]\\d|[58]0)\\d{6}",[8],[["(\\d{2})(\\d{6})","$1 $2",["[257-9]"]]]],CZ:["420","00","(?:[2-578]\\d|60)\\d{7}|9\\d{8,11}",[9,10,11,12],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[2-8]|9[015-7]"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3 $4",["96"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]]]],DE:["49","00","[2579]\\d{5,14}|49(?:[34]0|69|8\\d)\\d\\d?|49(?:37|49|60|7[089]|9\\d)\\d{1,3}|49(?:2[024-9]|3[2-689]|7[1-7])\\d{1,8}|(?:1|[368]\\d|4[0-8])\\d{3,13}|49(?:[015]\\d|2[13]|31|[46][1-8])\\d{1,9}",[4,5,6,7,8,9,10,11,12,13,14,15],[["(\\d{2})(\\d{3,13})","$1 $2",["3[02]|40|[68]9"],"0$1"],["(\\d{3})(\\d{3,12})","$1 $2",["2(?:0[1-389]|1[124]|2[18]|3[14])|3(?:[35-9][15]|4[015])|906|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1","2(?:0[1-389]|12[0-8])|3(?:[35-9][15]|4[015])|906|2(?:[13][14]|2[18])|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1"],"0$1"],["(\\d{4})(\\d{2,11})","$1 $2",["[24-6]|3(?:[3569][02-46-9]|4[2-4679]|7[2-467]|8[2-46-8])|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]","[24-6]|3(?:3(?:0[1-467]|2[127-9]|3[124578]|7[1257-9]|8[1256]|9[145])|4(?:2[135]|4[13578]|9[1346])|5(?:0[14]|2[1-3589]|6[1-4]|7[13468]|8[13568])|6(?:2[1-489]|3[124-6]|6[13]|7[12579]|8[1-356]|9[135])|7(?:2[1-7]|4[145]|6[1-5]|7[1-4])|8(?:21|3[1468]|6|7[1467]|8[136])|9(?:0[12479]|2[1358]|4[134679]|6[1-9]|7[136]|8[147]|9[1468]))|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]|3[68]4[1347]|3(?:47|60)[1356]|3(?:3[46]|46|5[49])[1246]|3[4579]3[1357]"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["138"],"0$1"],["(\\d{5})(\\d{2,10})","$1 $2",["3"],"0$1"],["(\\d{3})(\\d{5,11})","$1 $2",["181"],"0$1"],["(\\d{3})(\\d)(\\d{4,10})","$1 $2 $3",["1(?:3|80)|9"],"0$1"],["(\\d{3})(\\d{7,8})","$1 $2",["1[67]"],"0$1"],["(\\d{3})(\\d{7,12})","$1 $2",["8"],"0$1"],["(\\d{5})(\\d{6})","$1 $2",["185","1850","18500"],"0$1"],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{4})(\\d{7})","$1 $2",["18[68]"],"0$1"],["(\\d{4})(\\d{7})","$1 $2",["15[1279]"],"0$1"],["(\\d{5})(\\d{6})","$1 $2",["15[03568]","15(?:[0568]|3[13])"],"0$1"],["(\\d{3})(\\d{8})","$1 $2",["18"],"0$1"],["(\\d{3})(\\d{2})(\\d{7,8})","$1 $2 $3",["1(?:6[023]|7)"],"0$1"],["(\\d{4})(\\d{2})(\\d{7})","$1 $2 $3",["15[279]"],"0$1"],["(\\d{3})(\\d{2})(\\d{8})","$1 $2 $3",["15"],"0$1"]],"0"],DJ:["253","00","(?:2\\d|77)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[27]"]]]],DK:["45","00","[2-9]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-9]"]]]],DM:["1","011","(?:[58]\\d\\d|767|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","767$1",0,"767"],DO:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,0,0,0,"8001|8[024]9"],DZ:["213","00","(?:[1-4]|[5-79]\\d|80)\\d{7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-4]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["9"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-8]"],"0$1"]],"0"],EC:["593","00","1\\d{9,10}|(?:[2-7]|9\\d)\\d{7}",[8,9,10,11],[["(\\d)(\\d{3})(\\d{4})","$1 $2-$3",["[2-7]"],"(0$1)",0,"$1-$2-$3"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["9"],"0$1"],["(\\d{4})(\\d{3})(\\d{3,4})","$1 $2 $3",["1"]]],"0"],EE:["372","00","8\\d{9}|[4578]\\d{7}|(?:[3-8]\\d|90)\\d{5}",[7,8,10],[["(\\d{3})(\\d{4})","$1 $2",["[369]|4[3-8]|5(?:[0-2]|5[0-478]|6[45])|7[1-9]|88","[369]|4[3-8]|5(?:[02]|1(?:[0-8]|95)|5[0-478]|6(?:4[0-4]|5[1-589]))|7[1-9]|88"]],["(\\d{4})(\\d{3,4})","$1 $2",["[45]|8(?:00|[1-49])","[45]|8(?:00[1-9]|[1-49])"]],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["7"]],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["8"]]]],EG:["20","00","[189]\\d{8,9}|[24-6]\\d{8}|[135]\\d{7}",[8,9,10],[["(\\d)(\\d{7,8})","$1 $2",["[23]"],"0$1"],["(\\d{2})(\\d{6,7})","$1 $2",["1[35]|[4-6]|8[2468]|9[235-7]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{2})(\\d{8})","$1 $2",["1"],"0$1"]],"0"],EH:["212","00","[5-8]\\d{8}",[9],0,"0",0,0,0,0,"528[89]"],ER:["291","00","[178]\\d{6}",[7],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[178]"],"0$1"]],"0"],ES:["34","00","[5-9]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]00"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-9]"]]]],ET:["251","00","(?:11|[2-579]\\d)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-579]"],"0$1"]],"0"],FI:["358","00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))","[1-35689]\\d{4}|7\\d{10,11}|(?:[124-7]\\d|3[0-46-9])\\d{8}|[1-9]\\d{5,8}",[5,6,7,8,9,10,11,12],[["(\\d{5})","$1",["20[2-59]"],"0$1"],["(\\d{3})(\\d{3,7})","$1 $2",["(?:[1-3]0|[68])0|70[07-9]"],"0$1"],["(\\d{2})(\\d{4,8})","$1 $2",["[14]|2[09]|50|7[135]"],"0$1"],["(\\d{2})(\\d{6,10})","$1 $2",["7"],"0$1"],["(\\d)(\\d{4,9})","$1 $2",["(?:19|[2568])[1-8]|3(?:0[1-9]|[1-9])|9"],"0$1"]],"0",0,0,0,0,"1[03-79]|[2-9]",0,"00"],FJ:["679","0(?:0|52)","45\\d{5}|(?:0800\\d|[235-9])\\d{6}",[7,11],[["(\\d{3})(\\d{4})","$1 $2",["[235-9]|45"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]]],0,0,0,0,0,0,0,"00"],FK:["500","00","[2-7]\\d{4}",[5]],FM:["691","00","(?:[39]\\d\\d|820)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[389]"]]]],FO:["298","00","[2-9]\\d{5}",[6],[["(\\d{6})","$1",["[2-9]"]]],0,0,"(10(?:01|[12]0|88))"],FR:["33","00","[1-9]\\d{8}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0 $1"],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[1-79]"],"0$1"]],"0"],GA:["241","00","(?:[067]\\d|11)\\d{6}|[2-7]\\d{6}",[7,8],[["(\\d)(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-7]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["0"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["11|[67]"],"0$1"]],0,0,"0(11\\d{6}|60\\d{6}|61\\d{6}|6[256]\\d{6}|7[467]\\d{6})","$1"],GB:["44","00","[1-357-9]\\d{9}|[18]\\d{8}|8\\d{6}",[7,9,10],[["(\\d{3})(\\d{4})","$1 $2",["800","8001","80011","800111","8001111"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["845","8454","84546","845464"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["800"],"0$1"],["(\\d{5})(\\d{4,5})","$1 $2",["1(?:38|5[23]|69|76|94)","1(?:(?:38|69)7|5(?:24|39)|768|946)","1(?:3873|5(?:242|39[4-6])|(?:697|768)[347]|9467)"],"0$1"],["(\\d{4})(\\d{5,6})","$1 $2",["1(?:[2-69][02-9]|[78])"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["[25]|7(?:0|6[02-9])","[25]|7(?:0|6(?:[03-9]|2[356]))"],"0$1"],["(\\d{4})(\\d{6})","$1 $2",["7"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[1389]"],"0$1"]],"0",0,"0|180020",0,0,0,[["(?:1(?:1(?:3(?:[0-58]\\d\\d|73[0-5])|4(?:(?:[0-5]\\d|70)\\d|69[7-9])|(?:(?:5[0-26-9]|[78][0-49])\\d|6(?:[0-4]\\d|5[01]))\\d)|(?:2(?:(?:0[024-9]|2[3-9]|3[3-79]|4[1-689]|[58][02-9]|6[0-47-9]|7[013-9]|9\\d)\\d|1(?:[0-7]\\d|8[0-3]))|(?:3(?:0\\d|1[0-8]|[25][02-9]|3[02-579]|[468][0-46-9]|7[1-35-79]|9[2-578])|4(?:0[03-9]|[137]\\d|[28][02-57-9]|4[02-69]|5[0-8]|[69][0-79])|5(?:0[1-35-9]|[16]\\d|2[024-9]|3[015689]|4[02-9]|5[03-9]|7[0-35-9]|8[0-468]|9[0-57-9])|6(?:0[034689]|1\\d|2[0-35689]|[38][013-9]|4[1-467]|5[0-69]|6[13-9]|7[0-8]|9[0-24578])|7(?:0[0246-9]|2\\d|3[0236-8]|4[03-9]|5[0-46-9]|6[013-9]|7[0-35-9]|8[024-9]|9[02-9])|8(?:0[35-9]|2[1-57-9]|3[02-578]|4[0-578]|5[124-9]|6[2-69]|7\\d|8[02-9]|9[02569])|9(?:0[02-589]|[18]\\d|2[02-689]|3[1-57-9]|4[2-9]|5[0-579]|6[2-47-9]|7[0-24578]|9[2-57]))\\d)\\d)|2(?:0[013478]|3[0189]|4[017]|8[0-46-9]|9[0-2])\\d{3})\\d{4}|1(?:2(?:0(?:46[1-4]|87[2-9])|545[1-79]|76(?:2\\d|3[1-8]|6[1-6])|9(?:7(?:2[0-4]|3[2-5])|8(?:2[2-8]|7[0-47-9]|8[3-5])))|3(?:6(?:38[2-5]|47[23])|8(?:47[04-9]|64[0157-9]))|4(?:044[1-7]|20(?:2[23]|8\\d)|6(?:0(?:30|5[2-57]|6[1-8]|7[2-8])|140)|8(?:052|87[1-3]))|5(?:2(?:4(?:3[2-79]|6\\d)|76\\d)|6(?:26[06-9]|686))|6(?:06(?:4\\d|7[4-79])|295[5-7]|35[34]\\d|47(?:24|61)|59(?:5[08]|6[67]|74)|9(?:55[0-4]|77[23]))|7(?:26(?:6[13-9]|7[0-7])|(?:442|688)\\d|50(?:2[0-3]|[3-68]2|76))|8(?:27[56]\\d|37(?:5[2-5]|8[239])|843[2-58])|9(?:0(?:0(?:6[1-8]|85)|52\\d)|3583|4(?:66[1-8]|9(?:2[01]|81))|63(?:23|3[1-4])|9561))\\d{3}",[9,10]],["7(?:457[0-57-9]|700[01]|911[028])\\d{5}|7(?:[1-3]\\d\\d|4(?:[0-46-9]\\d|5[0-689])|5(?:0[0-8]|[13-9]\\d|2[0-35-9])|7(?:0[1-9]|[1-7]\\d|8[02-9]|9[0-689])|8(?:[014-9]\\d|[23][0-8])|9(?:[024-9]\\d|1[02-9]|3[0-689]))\\d{6}",[10]],["80[08]\\d{7}|800\\d{6}|8001111"],["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[2-49]))\\d{7}|845464\\d",[7,10]],["70\\d{8}",[10]],0,["(?:3[0347]|55)\\d{8}",[10]],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}",[10]],["56\\d{8}",[10]]],0," x"],GD:["1","011","(?:473|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","473$1",0,"473"],GE:["995","00","(?:[3-57]\\d\\d|800)\\d{6}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["70"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["32"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[57]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[348]"],"0$1"]],"0"],GF:["594","00","(?:[56]94\\d|7093)\\d{5}|(?:80|9\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-7]|9[47]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[89]"],"0$1"]],"0"],GG:["44","00","(?:1481|[357-9]\\d{3})\\d{6}|8\\d{6}(?:\\d{2})?",[7,9,10],0,"0",0,"([25-9]\\d{5})$|0|180020","1481$1",0,0,[["1481[25-9]\\d{5}",[10]],["7(?:(?:781|839)\\d|911[17])\\d{5}",[10]],["80[08]\\d{7}|800\\d{6}|8001111"],["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[0-3]))\\d{7}|845464\\d",[7,10]],["70\\d{8}",[10]],0,["(?:3[0347]|55)\\d{8}",[10]],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}",[10]],["56\\d{8}",[10]]]],GH:["233","00","(?:[235]\\d{3}|800)\\d{5}",[8,9],[["(\\d{3})(\\d{5})","$1 $2",["8"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[235]"],"0$1"]],"0"],GI:["350","00","(?:[25]\\d|60)\\d{6}",[8],[["(\\d{3})(\\d{5})","$1 $2",["2"]]]],GL:["299","00","(?:19|[2-689]\\d|70)\\d{4}",[6],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["19|[2-9]"]]]],GM:["220","00","[2-9]\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]]],GN:["224","00","722\\d{6}|(?:3|6\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["3"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[67]"]]]],GP:["590","00","(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-79]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0",0,0,0,0,0,[["590(?:0[1-68]|[14][0-24-9]|2[0-68]|3[1-9]|5[3-579]|[68][0-689]|7[08]|9\\d)\\d{4}"],["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}"],["80[0-5]\\d{6}"],0,0,0,0,0,["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]],GQ:["240","00","222\\d{6}|(?:3\\d|55|[89]0)\\d{7}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235]"]],["(\\d{3})(\\d{6})","$1 $2",["[89]"]]]],GR:["30","00","5005000\\d{3}|8\\d{9,11}|(?:[269]\\d|70)\\d{8}",[10,11,12],[["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["21|7"]],["(\\d{4})(\\d{6})","$1 $2",["2(?:2|3[2-57-9]|4[2-469]|5[2-59]|6[2-9]|7[2-69]|8[2-49])|5"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2689]"]],["(\\d{3})(\\d{3,4})(\\d{5})","$1 $2 $3",["8"]]]],GT:["502","00","80\\d{6}|(?:1\\d{3}|[2-7])\\d{7}",[8,11],[["(\\d{4})(\\d{4})","$1 $2",["[2-8]"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]]],GU:["1","011","(?:[58]\\d\\d|671|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","671$1",0,"671"],GW:["245","00","[49]\\d{8}|4\\d{6}",[7,9],[["(\\d{3})(\\d{4})","$1 $2",["40"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[49]"]]]],GY:["592","001","(?:[2-8]\\d{3}|9008)\\d{3}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]]],HK:["852","00(?:30|5[09]|[126-9]?)","8[0-46-9]\\d{6,7}|9\\d{4,7}|(?:[2-7]|9\\d{3})\\d{7}",[5,6,7,8,9,11],[["(\\d{3})(\\d{2,5})","$1 $2",["900","9003"]],["(\\d{4})(\\d{4})","$1 $2",["[2-7]|8[1-4]|9(?:0[1-9]|[1-8])"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]],["(\\d{3})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]]],0,0,0,0,0,0,0,"00"],HN:["504","00","8\\d{10}|[237-9]\\d{7}",[8,11],[["(\\d{4})(\\d{4})","$1-$2",["[237-9]"]]]],HR:["385","00","[2-69]\\d{8}|80\\d{5,7}|[1-79]\\d{7}|6\\d{6}",[7,8,9],[["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["6[01]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["8"],"0$1"],["(\\d)(\\d{4})(\\d{3})","$1 $2 $3",["1"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["6|7[245]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["9"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-57]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"],"0$1"]],"0"],HT:["509","00","[2-589]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["[2-589]"]]]],HU:["36","00","[235-7]\\d{8}|[1-9]\\d{7}",[8,9],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["1"],"(06 $1)"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[27][2-9]|3[2-7]|4[24-9]|5[2-79]|6|8[2-57-9]|9[2-69]"],"(06 $1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-9]"],"06 $1"]],"06"],ID:["62","00[89]","00[1-9]\\d{9,14}|(?:[1-36]|8\\d{5})\\d{6}|00\\d{9}|[1-9]\\d{8,10}|[2-9]\\d{7}",[7,8,9,10,11,12,13,14,15,16,17],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["15"]],["(\\d{2})(\\d{5,9})","$1 $2",["2[124]|[36]1"],"(0$1)"],["(\\d{3})(\\d{5,7})","$1 $2",["800"],"0$1"],["(\\d{3})(\\d{5,8})","$1 $2",["[2-79]"],"(0$1)"],["(\\d{3})(\\d{3,4})(\\d{3})","$1-$2-$3",["8[1-35-9]"],"0$1"],["(\\d{3})(\\d{6,8})","$1 $2",["1"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["804"],"0$1"],["(\\d{3})(\\d)(\\d{3})(\\d{3})","$1 $2 $3 $4",["80"],"0$1"],["(\\d{3})(\\d{4})(\\d{4,5})","$1-$2-$3",["8"],"0$1"]],"0"],IE:["353","00","(?:1\\d|[2569])\\d{6,8}|4\\d{6,9}|7\\d{8}|8\\d{8,9}",[7,8,9,10],[["(\\d{2})(\\d{5})","$1 $2",["2[24-9]|47|58|6[237-9]|9[35-9]"],"(0$1)"],["(\\d{3})(\\d{5})","$1 $2",["[45]0"],"(0$1)"],["(\\d)(\\d{3,4})(\\d{4})","$1 $2 $3",["1"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2569]|4[1-69]|7[14]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["70"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["81"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[78]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["4"],"(0$1)"],["(\\d{2})(\\d)(\\d{3})(\\d{4})","$1 $2 $3 $4",["8"],"0$1"]],"0"],IL:["972","0(?:0|1[2-9])","1\\d{6}(?:\\d{3,5})?|[57]\\d{8}|[1-489]\\d{7}",[7,8,9,10,11,12],[["(\\d{4})(\\d{3})","$1-$2",["125"]],["(\\d{4})(\\d{2})(\\d{2})","$1-$2-$3",["121"]],["(\\d)(\\d{3})(\\d{4})","$1-$2-$3",["[2-489]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["[57]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1-$2-$3",["12"]],["(\\d{4})(\\d{6})","$1-$2",["159"]],["(\\d)(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3-$4",["1[7-9]"]],["(\\d{3})(\\d{1,2})(\\d{3})(\\d{4})","$1-$2 $3-$4",["15"]]],"0"],IM:["44","00","1624\\d{6}|(?:[3578]\\d|90)\\d{8}",[10],0,"0",0,"([25-8]\\d{5})$|0|180020","1624$1",0,"74576|(?:16|7[56])24"],IN:["91","00","(?:000800|[2-9]\\d\\d)\\d{7}|1\\d{7,12}",[8,9,10,11,12,13],[["(\\d{8})","$1",["5(?:0|2[23]|3[03]|[67]1|88)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|888)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|8888)"],0,1],["(\\d{4})(\\d{4,5})","$1 $2",["180","1800"],0,1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["140"],0,1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["11|2[02]|33|4[04]|79[1-7]|80[2-46]","11|2[02]|33|4[04]|79(?:[1-6]|7[19])|80(?:[2-4]|6[0-589])","11|2[02]|33|4[04]|79(?:[124-6]|3(?:[02-9]|1[0-24-9])|7(?:1|9[1-6]))|80(?:[2-4]|6[0-589])"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1(?:2[0-249]|3[0-25]|4[145]|[68]|7[1257])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|5[12]|[78]1)|6(?:12|[2-4]1|5[17]|6[13]|80)|7(?:12|3[134]|4[47]|61|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91)|(?:43|59|75)[15]|(?:1[59]|29|67|72)[14]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|674|7(?:(?:2[14]|3[34]|5[15])[2-6]|61[346]|88[0-8])|8(?:70[2-6]|84[235-7]|91[3-7])|(?:1(?:29|60|8[06])|261|552|6(?:12|[2-47]1|5[17]|6[13]|80)|7(?:12|31|4[47])|8(?:16|2[014]|3[126]|6[136]|7[78]|83))[2-7]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12(?:[2-6]|7[0-8])|74[2-7])|7(?:(?:2[14]|5[15])[2-6]|3171|61[346]|88(?:[2-7]|82))|8(?:70[2-6]|84(?:[2356]|7[19])|91(?:[3-6]|7[19]))|73[134][2-6]|(?:74[47]|8(?:16|2[014]|3[126]|6[136]|7[78]|83))(?:[2-6]|7[19])|(?:1(?:29|60|8[06])|261|552|6(?:[2-4]1|5[17]|6[13]|7(?:1|4[0189])|80)|7(?:12|88[01]))[2-7]"],"0$1",1],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2[2457-9]|3[2-5]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1[013-9]|28|3[129]|4[1-35689]|5[29]|6[02-5]|70)|807","1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2(?:[2457]|84|95)|3(?:[2-4]|55)|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1(?:[013-8]|9[6-9])|28[6-8]|3(?:17|2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4|5[0-367])|70[13-7])|807[19]","1(?:[2-479]|5(?:[0236-9]|5[013-9]))|[2-5]|6(?:2(?:84|95)|355|8(?:28[235-7]|3))|73179|807(?:1|9[1-3])|(?:1552|6(?:(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|7[235689])\\d|8(?:[14-6]\\d|2[0-79]))|7(?:1(?:[013-8]\\d|9[6-9])|28[6-8]|3(?:2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]\\d|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\d|5[0-367])|70[13-7]))[2-7]"],"0$1",1],["(\\d{5})(\\d{5})","$1 $2",["16|[6-9]"],"0$1",1],["(\\d{4})(\\d{2,4})(\\d{4})","$1 $2 $3",["18[06]","18[06]0"],0,1],["(\\d{4})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["18"],0,1]],"0"],IO:["246","00","3\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["3"]]]],IQ:["964","00","(?:1|7\\d\\d)\\d{7}|[2-6]\\d{7,8}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-6]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"]],"0"],IR:["98","00","[1-9]\\d{9}|(?:[1-8]\\d\\d|9)\\d{3,4}",[4,5,6,7,10],[["(\\d{4,5})","$1",["96"],"0$1"],["(\\d{2})(\\d{4,5})","$1 $2",["(?:1[137]|2[13-68]|3[1458]|4[145]|5[1468]|6[16]|7[1467]|8[13467])[12689]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["9"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["[1-8]"],"0$1"]],"0"],IS:["354","00|1(?:0(?:01|[12]0)|100)","(?:38\\d|[4-9])\\d{6}",[7,9],[["(\\d{3})(\\d{4})","$1 $2",["[4-9]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["3"]]],0,0,0,0,0,0,0,"00"],IT:["39","00","0\\d{5,11}|1\\d{8,10}|3(?:[0-8]\\d{7,10}|9\\d{7,8})|(?:43|55|70)\\d{8}|8\\d{5}(?:\\d{2,4})?",[6,7,8,9,10,11,12],[["(\\d{2})(\\d{4,6})","$1 $2",["0[26]"]],["(\\d{3})(\\d{3,6})","$1 $2",["0[13-57-9][0159]|8(?:03|4[17]|9[2-5])","0[13-57-9][0159]|8(?:03|4[17]|9(?:2|3[04]|[45][0-4]))"]],["(\\d{4})(\\d{2,6})","$1 $2",["0(?:[13-579][2-46-8]|8[236-8])"]],["(\\d{4})(\\d{4})","$1 $2",["894"]],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[26]|5"]],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["1(?:44|[679])|[378]|43"]],["(\\d{3})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[13-57-9][0159]|14"]],["(\\d{2})(\\d{4})(\\d{5})","$1 $2 $3",["0[26]"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]],["(\\d{3})(\\d{4})(\\d{4,5})","$1 $2 $3",["[03]"]]],0,0,0,0,0,0,[["0(?:669[0-79]\\d{1,6}|831\\d{2,8})|0(?:1(?:[0159]\\d|[27][1-5]|31|4[1-4]|6[1356]|8[2-57])|2\\d\\d|3(?:[0159]\\d|2[1-4]|3[12]|[48][1-6]|6[2-59]|7[1-7])|4(?:[0159]\\d|[23][1-9]|4[245]|6[1-5]|7[1-4]|81)|5(?:[0159]\\d|2[1-5]|3[2-6]|4[1-79]|6[4-6]|7[1-578]|8[3-8])|6(?:[0-57-9]\\d|6[0-8])|7(?:[0159]\\d|2[12]|3[1-7]|4[2-46]|6[13569]|7[13-6]|8[1-59])|8(?:[0159]\\d|2[3-578]|3[2356]|[6-8][1-5])|9(?:[0159]\\d|[238][1-5]|4[12]|6[1-8]|7[1-6]))\\d{2,7}"],["3[2-9]\\d{7,8}|(?:31|43)\\d{8}",[9,10]],["80(?:0\\d{3}|3)\\d{3}",[6,9]],["(?:0878\\d{3}|89(?:2\\d|3[04]|4(?:[0-4]|[5-9]\\d\\d)|5[0-4]))\\d\\d|(?:1(?:44|6[346])|89(?:38|5[5-9]|9))\\d{6}",[6,8,9,10]],["1(?:78\\d|99)\\d{6}",[9,10]],["3[2-8]\\d{9,10}",[11,12]],0,0,["55\\d{8}",[10]],["84(?:[08]\\d{3}|[17])\\d{3}",[6,9]]]],JE:["44","00","1534\\d{6}|(?:[3578]\\d|90)\\d{8}",[10],0,"0",0,"([0-24-8]\\d{5})$|0|180020","1534$1",0,0,[["1534[0-24-8]\\d{5}"],["7(?:(?:(?:50|82)9|937)\\d|7(?:00[378]|97\\d))\\d{5}"],["80(?:07(?:35|81)|8901)\\d{4}"],["(?:8(?:4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|90(?:066[59]|1810|71(?:07|55)))\\d{4}"],["701511\\d{4}"],0,["(?:3(?:0(?:07(?:35|81)|8901)|3\\d{4}|4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|55\\d{4})\\d{4}"],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}"],["56\\d{8}"]]],JM:["1","011","(?:[58]\\d\\d|658|900)\\d{7}",[10],0,"1",0,0,0,0,"658|876"],JO:["962","00","(?:(?:[2689]|7\\d)\\d|32|427|53)\\d{6}",[8,9],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2356]|87"],"(0$1)"],["(\\d{3})(\\d{5,6})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["70"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[47]"],"0$1"]],"0"],JP:["81","010","00[1-9]\\d{6,14}|[25-9]\\d{9}|(?:00|[1-9]\\d\\d)\\d{6}",[8,9,10,11,12,13,14,15,16,17],[["(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3",["(?:12|57|99)0"],"0$1"],["(\\d{4})(\\d)(\\d{4})","$1-$2-$3",["1(?:26|3[79]|4[56]|5[4-68]|6[3-5])|499|5(?:76|97)|746|8(?:3[89]|47|51)|9(?:80|9[16])","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:76|97)9|7468|8(?:3(?:8[7-9]|96)|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:769|979[2-69])|7468|8(?:3(?:8[7-9]|96[2457-9])|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["60"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1-$2-$3",["3|4(?:2[09]|7[01])|6[1-9]","3|4(?:2(?:0|9[02-69])|7(?:0[019]|1))|6[1-9]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["1(?:1|5[45]|77|88|9[69])|2(?:2[1-37]|3[0-269]|4[59]|5|6[24]|7[1-358]|8[1369]|9[0-38])|4(?:[28][1-9]|3[0-57]|[45]|6[248]|7[2-579]|9[29])|5(?:2|3[0459]|4[0-369]|5[29]|8[02389]|9[0-389])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9[2-6])|8(?:2[124589]|3[26-9]|49|51|6|7[0-468]|8[68]|9[019])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9[1-489])","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2(?:[127]|3[014-9])|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9[19])|62|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|8[1-9]|9[29])|5(?:2|3(?:[045]|9[0-8])|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0-2469])|3(?:[29]|60)|49|51|6(?:[0-24]|36|5[0-3589]|7[23]|9[01459])|7[0-468]|8[68])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9(?:[1289]|3[34]|4[0178]))|(?:264|837)[016-9]|2(?:57|93)[015-9]|(?:25[0468]|422|838)[01]|(?:47[59]|59[89]|8(?:6[68]|9))[019]","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2[127]|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9(?:17|99))|6(?:2|4[016-9])|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|9[29])|5(?:2|3(?:[045]|9(?:[0-58]|6[4-9]|7[0-35689]))|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0169])|3(?:[29]|60|7(?:[017-9]|6[6-8]))|49|51|6(?:[0-24]|36[2-57-9]|5(?:[0-389]|5[23])|6(?:[01]|9[178])|7(?:2[2-468]|3[78])|9[0145])|7[0-468]|8[68])|9(?:4[15]|5[138]|7[156]|8[189]|9(?:[1289]|3(?:31|4[357])|4[0178]))|(?:8294|96)[1-3]|2(?:57|93)[015-9]|(?:223|8699)[014-9]|(?:25[0468]|422|838)[01]|(?:48|8292|9[23])[1-9]|(?:47[59]|59[89]|8(?:68|9))[019]"],"0$1"],["(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3",["[14]|[289][2-9]|5[3-9]|7[2-4679]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["800"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[25-9]"],"0$1"]],"0",0,"(000[2569]\\d{4,6})$|(?:(?:003768)0?)|0","$1"],KE:["254","000","(?:[17]\\d\\d|900)\\d{6}|(?:2|80)0\\d{6,7}|[4-6]\\d{6,8}",[7,8,9,10],[["(\\d{2})(\\d{5,7})","$1 $2",["[24-6]"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["[17]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[89]"],"0$1"]],"0"],KG:["996","00","8\\d{9}|[235-9]\\d{8}",[9,10],[["(\\d{4})(\\d{5})","$1 $2",["3(?:1[346]|[24-79])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235-79]|88"],"0$1"],["(\\d{3})(\\d{3})(\\d)(\\d{2,3})","$1 $2 $3 $4",["8"],"0$1"]],"0"],KH:["855","00[14-9]","1\\d{9}|[1-9]\\d{7,8}",[8,9,10],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-9]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0"],KI:["686","00","(?:[37]\\d|6[0-79])\\d{6}|(?:[2-48]\\d|50)\\d{3}",[5,8],0,"0"],KM:["269","00","[3478]\\d{6}",[7],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[3478]"]]]],KN:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","869$1",0,"869"],KP:["850","00|99","85\\d{6}|(?:19\\d|[2-7])\\d{7}",[8,10],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"]],"0"],KR:["82","00(?:[125689]|3(?:[46]5|91)|7(?:00|27|3|55|6[126]))","00[1-9]\\d{8,11}|(?:[12]|5\\d{3})\\d{7}|[13-6]\\d{9}|(?:[1-6]\\d|80)\\d{7}|[3-6]\\d{4,5}|(?:00|7)0\\d{8}",[5,6,8,9,10,11,12,13,14],[["(\\d{2})(\\d{3,4})","$1-$2",["(?:3[1-3]|[46][1-4]|5[1-5])1"],"0$1"],["(\\d{4})(\\d{4})","$1-$2",["1"]],["(\\d)(\\d{3,4})(\\d{4})","$1-$2-$3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["[36]0|8"],"0$1"],["(\\d{2})(\\d{3,4})(\\d{4})","$1-$2-$3",["[1346]|5[1-5]"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[57]"],"0$1"],["(\\d{2})(\\d{5})(\\d{4})","$1-$2-$3",["5"],"0$1"]],"0",0,"0(8(?:[1-46-8]|5\\d\\d))?"],KW:["965","00","18\\d{5}|(?:[2569]\\d|41)\\d{6}",[7,8],[["(\\d{4})(\\d{3,4})","$1 $2",["[169]|2(?:[235]|4[1-35-9])|52"]],["(\\d{3})(\\d{5})","$1 $2",["[245]"]]]],KY:["1","011","(?:345|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","345$1",0,"345"],KZ:["7","810","(?:33622|8\\d{8})\\d{5}|[78]\\d{9}",[10,14],0,"8",0,0,0,0,"33622|7",0,"8~10"],LA:["856","00","[23]\\d{9}|3\\d{8}|(?:[235-8]\\d|41)\\d{6}",[8,9,10],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["2[13]|3[14]|[4-8]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["3"],"0$1"],["(\\d{2})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[23]"],"0$1"]],"0"],LB:["961","00","[27-9]\\d{7}|[13-9]\\d{6}",[7,8],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[13-69]|7(?:[2-57]|62|8[0-6]|9[04-9])|8[02-9]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[27-9]"]]],"0"],LC:["1","011","(?:[58]\\d\\d|758|900)\\d{7}",[10],0,"1",0,"([2-8]\\d{6})$|1","758$1",0,"758"],LI:["423","00","[68]\\d{8}|(?:[2378]\\d|90)\\d{5}",[7,9],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[2379]|8(?:0[09]|7)","[2379]|8(?:0(?:02|9)|7)"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["69"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]]],"0",0,"(1001)|0"],LK:["94","00","[1-9]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[1-689]"],"0$1"]],"0"],LR:["231","00","(?:[2457]\\d|33|88)\\d{7}|(?:2\\d|[4-6])\\d{6}",[7,8,9],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["4[67]|[56]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[2-578]"],"0$1"]],"0"],LS:["266","00","(?:[256]\\d\\d|800)\\d{5}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[2568]"]]]],LT:["370","00","(?:[3469]\\d|52|[78]0)\\d{6}",[8],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["52[0-7]"],"(0-$1)",1],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[7-9]"],"0 $1",1],["(\\d{2})(\\d{6})","$1 $2",["37|4(?:[15]|6[1-8])"],"(0-$1)",1],["(\\d{3})(\\d{5})","$1 $2",["[3-6]"],"(0-$1)",1]],"0",0,"[08]"],LU:["352","00","35[013-9]\\d{4,8}|6\\d{8}|35\\d{2,4}|(?:[2457-9]\\d|3[0-46-9])\\d{2,9}",[4,5,6,7,8,9,10,11],[["(\\d{2})(\\d{3})","$1 $2",["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]],["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["20[2-689]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4",["2(?:[0367]|4[3-8])"]],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["80[01]|90[015]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["20"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4 $5",["2(?:[0367]|4[3-8])"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{1,5})","$1 $2 $3 $4",["[3-57]|8[13-9]|9(?:0[89]|[2-579])|(?:2|80)[2-9]"]]],0,0,"(15(?:0[06]|1[12]|[35]5|4[04]|6[26]|77|88|99)\\d)"],LV:["371","00","(?:[268]\\d|78|90)\\d{6}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2679]|8[01]"]]]],LY:["218","00","[2-9]\\d{8}",[9],[["(\\d{2})(\\d{7})","$1-$2",["[2-9]"],"0$1"]],"0"],MA:["212","00","[5-8]\\d{8}",[9],[["(\\d{4})(\\d{5})","$1-$2",["892"],"0$1"],["(\\d{2})(\\d{7})","$1-$2",["8(?:0[0-7]|9)"],"0$1"],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[5-8]"],"0$1"]],"0",0,0,0,0,0,[["5(?:(?:18|4[0679]|5[03])\\d|2(?:[0-25-79]\\d|3[1-578]|4[02-46-8]|8[0235-7])|3(?:[0-47]\\d|5[02-9]|6[02-8]|8[014-9]|9[3-9]))\\d{5}"],["(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[016-8]\\d|2[0-8]|5[0-5]))\\d{6}"],["80[0-7]\\d{6}"],["89\\d{7}"],0,0,0,0,["(?:592(?:4[0-2]|93)|80[89]\\d\\d)\\d{4}"]]],MC:["377","00","(?:[3489]|[67]\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["4"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[389]"]],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[67]"],"0$1"]],"0"],MD:["373","00","(?:[235-7]\\d|[89]0)\\d{6}",[8],[["(\\d{3})(\\d{5})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["22|3"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[25-7]"],"0$1"]],"0"],ME:["382","00","(?:20|[3-79]\\d)\\d{6}|80\\d{6,7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-9]"],"0$1"]],"0"],MF:["590","00","(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}",[9],0,"0",0,0,0,0,0,[["590(?:0[079]|[14]3|[27][79]|3[03-7]|5[0-268]|87)\\d{4}"],["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}"],["80[0-5]\\d{6}"],0,0,0,0,0,["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]],MG:["261","00","[23]\\d{8}",[9],[["(\\d{2})(\\d{2})(\\d{3})(\\d{2})","$1 $2 $3 $4",["[23]"],"0$1"]],"0",0,"([24-9]\\d{6})$|0","20$1"],MH:["692","011","329\\d{4}|(?:[256]\\d|45)\\d{5}",[7],[["(\\d{3})(\\d{4})","$1-$2",["[2-6]"]]],"1"],MK:["389","00","[2-578]\\d{7}",[8],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["2|34[47]|4(?:[37]7|5[47]|64)"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[347]"],"0$1"],["(\\d{3})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["[58]"],"0$1"]],"0"],ML:["223","00","[24-9]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24-9]"]]]],MM:["95","00","1\\d{5,7}|95\\d{6}|(?:[4-7]|9[0-46-9])\\d{6,8}|(?:2|8\\d)\\d{5,8}",[6,7,8,9,10],[["(\\d)(\\d{2})(\\d{3})","$1 $2 $3",["16|2"],"0$1"],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["4(?:[2-46]|5[3-5])|5|6(?:[1-689]|7[235-7])|7(?:[0-4]|5[2-7])|8[1-5]|(?:60|86)[23]"],"0$1"],["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[12]|452|678|86","[12]|452|6788|86"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[4-7]|8[1-35]"],"0$1"],["(\\d)(\\d{3})(\\d{4,6})","$1 $2 $3",["9(?:2[0-4]|[35-9]|4[137-9])"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["92"],"0$1"],["(\\d)(\\d{5})(\\d{4})","$1 $2 $3",["9"],"0$1"]],"0"],MN:["976","001","[12]\\d{7,9}|[5-9]\\d{7}",[8,9,10],[["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["[12]1"],"0$1"],["(\\d{4})(\\d{4})","$1 $2",["[5-9]"]],["(\\d{3})(\\d{5,6})","$1 $2",["[12]2[1-3]"],"0$1"],["(\\d{4})(\\d{5,6})","$1 $2",["[12](?:27|3[2-8]|4[2-68]|5[1-4689])","[12](?:27|3[2-8]|4[2-68]|5[1-4689])[0-3]"],"0$1"],["(\\d{5})(\\d{4,5})","$1 $2",["[12]"],"0$1"]],"0"],MO:["853","00","0800\\d{3}|(?:28|[68]\\d)\\d{6}",[7,8],[["(\\d{4})(\\d{3})","$1 $2",["0"]],["(\\d{4})(\\d{4})","$1 $2",["[268]"]]]],MP:["1","011","[58]\\d{9}|(?:67|90)0\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","670$1",0,"670"],MQ:["596","00","(?:596\\d|7091)\\d{5}|(?:69|[89]\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-79]|8(?:0[6-9]|[36])"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0"],MR:["222","00","(?:[2-4]\\d\\d|800)\\d{5}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-48]"]]]],MS:["1","011","(?:[58]\\d\\d|664|900)\\d{7}",[10],0,"1",0,"([34]\\d{6})$|1","664$1",0,"664"],MT:["356","00","3550\\d{4}|(?:[2579]\\d\\d|800)\\d{5}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[2357-9]"]]]],MU:["230","0(?:0|[24-7]0|3[03])","(?:[57]|8\\d\\d)\\d{7}|[2-468]\\d{6}",[7,8,10],[["(\\d{3})(\\d{4})","$1 $2",["[2-46]|8[013]"]],["(\\d{4})(\\d{4})","$1 $2",["[57]"]],["(\\d{5})(\\d{5})","$1 $2",["8"]]],0,0,0,0,0,0,0,"020"],MV:["960","0(?:0|19)","(?:800|9[0-57-9]\\d)\\d{7}|[34679]\\d{6}",[7,10],[["(\\d{3})(\\d{4})","$1-$2",["[34679]"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"]]],0,0,0,0,0,0,0,"00"],MW:["265","00","(?:[1289]\\d|31|77)\\d{7}|1\\d{6}",[7,9],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["1[2-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[137-9]"],"0$1"]],"0"],MX:["52","0[09]","[2-9]\\d{9}",[10],[["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["33|5[56]|81"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2-9]"]]],0,0,0,0,0,0,0,"00"],MY:["60","00","1\\d{8,9}|(?:3\\d|[4-9])\\d{7}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1-$2 $3",["[4-79]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1-$2 $3",["1(?:[02469]|[378][1-9]|53)|8","1(?:[02469]|[37][1-9]|53|8(?:[1-46-9]|5[7-9]))|8"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1-$2 $3",["3"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3-$4",["1(?:[367]|80)"]],["(\\d{3})(\\d{3})(\\d{4})","$1-$2 $3",["15"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2 $3",["1"],"0$1"]],"0"],MZ:["258","00","(?:2|8\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["2|8[2-79]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]]]],NA:["264","00","[68]\\d{7,8}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["88"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["6"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["87"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"]],"0"],NC:["687","00","(?:050|[2-57-9]\\d\\d)\\d{3}",[6],[["(\\d{2})(\\d{2})(\\d{2})","$1.$2.$3",["[02-57-9]"]]]],NE:["227","00","[027-9]\\d{7}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["08"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[089]|2[013]|7[0467]"]]]],NF:["672","00","[13]\\d{5}",[6],[["(\\d{2})(\\d{4})","$1 $2",["1[0-3]"]],["(\\d)(\\d{5})","$1 $2",["[13]"]]],0,0,"([0-258]\\d{4})$","3$1"],NG:["234","009","(?:20|9\\d)\\d{8}|[78]\\d{9,13}",[10,11,12,13,14],[["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[7-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["20[129]"],"0$1"],["(\\d{4})(\\d{2})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{3})(\\d{4})(\\d{4,5})","$1 $2 $3",["[78]"],"0$1"],["(\\d{3})(\\d{5})(\\d{5,6})","$1 $2 $3",["[78]"],"0$1"]],"0"],NI:["505","00","(?:1800|[25-8]\\d{3})\\d{4}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[125-8]"]]]],NL:["31","00","(?:[124-7]\\d\\d|3(?:[02-9]\\d|1[0-8]))\\d{6}|8\\d{6,9}|9\\d{6,10}|1\\d{4,5}",[5,6,7,8,9,10,11],[["(\\d{3})(\\d{4,7})","$1 $2",["[89]0"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["66"],"0$1"],["(\\d)(\\d{8})","$1 $2",["6"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["1[16-8]|2[259]|3[124]|4[17-9]|5[124679]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-578]|91"],"0$1"],["(\\d{3})(\\d{3})(\\d{5})","$1 $2 $3",["9"],"0$1"]],"0"],NO:["47","00","(?:0|[2-9]\\d{3})\\d{4}",[5,8],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["8"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-79]"]]],0,0,0,0,0,"[02-689]|7[0-8]"],NP:["977","00","(?:1\\d|9)\\d{9}|[1-9]\\d{7}",[8,10,11],[["(\\d)(\\d{7})","$1-$2",["1[2-6]"],"0$1"],["(\\d{2})(\\d{6})","$1-$2",["1[01]|[2-8]|9(?:[1-59]|[67][2-6])"],"0$1"],["(\\d{3})(\\d{7})","$1-$2",["9"]]],"0"],NR:["674","00","(?:222|444|(?:55|8\\d)\\d|666|777|999)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[24-9]"]]]],NU:["683","00","(?:[4-7]|888\\d)\\d{3}",[4,7],[["(\\d{3})(\\d{4})","$1 $2",["8"]]]],NZ:["64","0(?:0|161)","[1289]\\d{9}|50\\d{5}(?:\\d{2,3})?|[27-9]\\d{7,8}|(?:[34]\\d|6[0-35-9])\\d{6}|8\\d{4,6}",[5,6,7,8,9,10],[["(\\d{2})(\\d{3,8})","$1 $2",["8[1-79]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["50[036-8]|8|90","50(?:[0367]|88)|8|90"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["24|[346]|7[2-57-9]|9[2-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["2(?:10|74)|[589]"],"0$1"],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["1|2[028]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,5})","$1 $2 $3",["2(?:[169]|7[0-35-9])|7"],"0$1"]],"0",0,0,0,0,0,0,"00"],OM:["968","00","(?:1505|[279]\\d{3}|500)\\d{4}|800\\d{5,6}",[7,8,9],[["(\\d{3})(\\d{4,6})","$1 $2",["[58]"]],["(\\d{2})(\\d{6})","$1 $2",["2"]],["(\\d{4})(\\d{4})","$1 $2",["[179]"]]]],PA:["507","00","(?:00800|8\\d{3})\\d{6}|[68]\\d{7}|[1-57-9]\\d{6}",[7,8,10,11],[["(\\d{3})(\\d{4})","$1-$2",["[1-57-9]"]],["(\\d{4})(\\d{4})","$1-$2",["[68]"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]]]],PE:["51","00|19(?:1[124]|77|90)00","(?:[14-8]|9\\d)\\d{7}",[8,9],[["(\\d{3})(\\d{5})","$1 $2",["80"],"(0$1)"],["(\\d)(\\d{7})","$1 $2",["1"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["[4-8]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"]]],"0",0,0,0,0,0,0,"00"," Anexo "],PF:["689","00","4\\d{5}(?:\\d{2})?|8\\d{7,8}",[6,8,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["44"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["4|8[7-9]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]]]],PG:["675","00|140[1-3]","(?:180|[78]\\d{3})\\d{4}|(?:[2-589]\\d|64)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["18|[2-69]|85"]],["(\\d{4})(\\d{4})","$1 $2",["[78]"]]],0,0,0,0,0,0,0,"00"],PH:["63","00","(?:[2-7]|9\\d)\\d{8}|2\\d{5}|(?:1800|8)\\d{7,9}",[6,8,9,10,11,12,13],[["(\\d)(\\d{5})","$1 $2",["2"],"(0$1)"],["(\\d{4})(\\d{4,6})","$1 $2",["3(?:23|39|46)|4(?:2[3-6]|[35]9|4[26]|76)|544|88[245]|(?:52|64|86)2","3(?:230|397|461)|4(?:2(?:35|[46]4|51)|396|4(?:22|63)|59[347]|76[15])|5(?:221|446)|642[23]|8(?:622|8(?:[24]2|5[13]))"],"(0$1)"],["(\\d{5})(\\d{4})","$1 $2",["346|4(?:27|9[35])|883","3469|4(?:279|9(?:30|56))|8834"],"(0$1)"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[3-7]|8[2-8]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]],["(\\d{4})(\\d{1,2})(\\d{3})(\\d{4})","$1 $2 $3 $4",["1"]]],"0"],PK:["92","00","122\\d{6}|[24-8]\\d{10,11}|9(?:[013-9]\\d{8,10}|2(?:[01]\\d\\d|2(?:[06-8]\\d|1[01]))\\d{7})|(?:[2-8]\\d{3}|92(?:[0-7]\\d|8[1-9]))\\d{6}|[24-9]\\d{8}|[89]\\d{7}",[8,9,10,11,12],[["(\\d{3})(\\d{3})(\\d{2,7})","$1 $2 $3",["[89]0"],"0$1"],["(\\d{4})(\\d{5})","$1 $2",["1"]],["(\\d{3})(\\d{6,7})","$1 $2",["2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:2[2-8]|3[27-9]|4[2-6]|6[3569]|9[25-8])","9(?:2[3-8]|98)|(?:2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:22|3[27-9]|4[2-6]|6[3569]|9[25-7]))[2-9]"],"(0$1)"],["(\\d{2})(\\d{7,8})","$1 $2",["(?:2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91)[2-9]"],"(0$1)"],["(\\d{5})(\\d{5})","$1 $2",["58"],"(0$1)"],["(\\d{3})(\\d{7})","$1 $2",["3"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[24-9]"],"(0$1)"]],"0"],PL:["48","00","(?:6|8\\d\\d)\\d{7}|[1-9]\\d{6}(?:\\d{2})?|[26]\\d{5}",[6,7,8,9,10],[["(\\d{5})","$1",["19"]],["(\\d{3})(\\d{3})","$1 $2",["11|20|64"]],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])1","(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])19"]],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["64"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["21|39|45|5[0137]|6[0469]|7[02389]|8(?:0[14]|8)"]],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[2-8]|[2-7]|8[1-79]|9[145]"]],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["8"]]]],PM:["508","00","[45]\\d{5}|(?:708|8\\d\\d)\\d{6}",[6,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[45]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["7"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0"],PR:["1","011","(?:[589]\\d\\d|787)\\d{7}",[10],0,"1",0,0,0,0,"787|939"],PS:["970","00","[2489]2\\d{6}|(?:1\\d|5)\\d{8}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2489]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["5"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0"],PT:["351","00","1693\\d{5}|(?:[26-9]\\d|30)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["2[12]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["16|[236-9]"]]]],PW:["680","01[12]","(?:[24-8]\\d\\d|345|900)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]]],PY:["595","00","59\\d{4,6}|9\\d{5,10}|(?:[2-46-8]\\d|5[0-8])\\d{4,7}",[6,7,8,9,10,11],[["(\\d{3})(\\d{3,6})","$1 $2",["[2-9]0"],"0$1"],["(\\d{2})(\\d{5})","$1 $2",["[26]1|3[289]|4[1246-8]|7[1-3]|8[1-36]"],"(0$1)"],["(\\d{3})(\\d{4,5})","$1 $2",["2[279]|3[13-5]|4[359]|5|6(?:[34]|7[1-46-8])|7[46-8]|85"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["2[14-68]|3[26-9]|4[1246-8]|6(?:1|75)|7[1-35]|8[1-36]"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["87"]],["(\\d{3})(\\d{6})","$1 $2",["9(?:[5-79]|8[1-7])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[2-8]"],"0$1"],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["9"]]],"0"],QA:["974","00","800\\d{4}|(?:2|800)\\d{6}|(?:0080|[3-7])\\d{7}",[7,8,9,11],[["(\\d{3})(\\d{4})","$1 $2",["2[136]|8"]],["(\\d{4})(\\d{4})","$1 $2",["[3-7]"]]]],RE:["262","00","709\\d{6}|(?:26|[689]\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[26-9]"],"0$1"]],"0",0,0,0,0,0,[["26(?:2\\d\\d|3(?:0\\d|1[0-6]))\\d{4}"],["(?:69(?:2\\d\\d|3(?:[06][0-6]|1[0-3]|2[0-2]|3[0-39]|4\\d|5[0-5]|7[0-37]|8[0-8]|9[0-479]))|7092[0-3])\\d{4}"],["80\\d{7}"],["89[1-37-9]\\d{6}"],0,0,0,0,["9(?:399[0-3]|479[0-6]|76(?:2[278]|3[0-37]))\\d{4}"],["8(?:1[019]|2[0156]|84|90)\\d{6}"]]],RO:["40","00","(?:[236-8]\\d|90)\\d{7}|[23]\\d{5}",[6,9],[["(\\d{3})(\\d{3})","$1 $2",["2[3-6]","2[3-6]\\d9"],"0$1"],["(\\d{2})(\\d{4})","$1 $2",["219|31"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[23]1"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[236-9]"],"0$1"]],"0",0,0,0,0,0,0,0," int "],RS:["381","00","38[02-9]\\d{6,9}|6\\d{7,9}|90\\d{4,8}|38\\d{5,6}|(?:7\\d\\d|800)\\d{3,9}|(?:[12]\\d|3[0-79])\\d{5,10}",[6,7,8,9,10,11,12],[["(\\d{3})(\\d{3,9})","$1 $2",["(?:2[389]|39)0|[7-9]"],"0$1"],["(\\d{2})(\\d{5,10})","$1 $2",["[1-36]"],"0$1"]],"0"],RU:["7","810","8\\d{13}|[347-9]\\d{9}",[10,14],[["(\\d{4})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-8]|2[1-9])","7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:1[23]|[2-9]2))","7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:13[03-69]|62[013-9]))|72[1-57-9]2"],"8 ($1)",1],["(\\d{5})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-68]|2[1-9])","7(?:1(?:[06][3-6]|[18]|2[35]|[3-5][3-5])|2(?:[13][3-5]|[24-689]|7[457]))","7(?:1(?:0(?:[356]|4[023])|[18]|2(?:3[013-9]|5)|3[45]|43[013-79]|5(?:3[1-8]|4[1-7]|5)|6(?:3[0-35-9]|[4-6]))|2(?:1(?:3[178]|[45])|[24-689]|3[35]|7[457]))|7(?:14|23)4[0-8]|71(?:33|45)[1-79]"],"8 ($1)",1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"8 ($1)",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[349]|8(?:[02-7]|1[1-8])"],"8 ($1)",1],["(\\d{4})(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3 $4",["8"],"8 ($1)"]],"8",0,0,0,0,0,[["336(?:[013-9]\\d|2[013-9])\\d{5}|(?:3(?:0[12]|4[1-35-79]|5[1-3]|65|8[1-58]|9[0145])|4(?:01|1[1356]|2[13467]|7[1-5]|8[1-7]|9[1-689])|8(?:1[1-8]|2[01]|3[13-6]|4[0-8]|5[15-7]|6[0-35-79]|7[1-37-9]))\\d{7}",[10]],["9\\d{9}",[10]],["8(?:0[04]|108\\d{3})\\d{7}"],["80[39]\\d{7}",[10]],["808\\d{7}",[10]]],"8~10"],RW:["250","00","(?:06|[27]\\d\\d|[89]00)\\d{6}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["0"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[7-9]"],"0$1"]],"0"],SA:["966","00","(?:[15]\\d|800|92)\\d{7}",[9,10],[["(\\d{4})(\\d{5})","$1 $2",["9"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["5"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]]],"0"],SB:["677","0[01]","[6-9]\\d{6}|[1-6]\\d{4}",[5,7],[["(\\d{2})(\\d{5})","$1 $2",["6[89]|7|8[4-9]|9(?:[1-8]|9[0-8])"]]]],SC:["248","010|0[0-2]","(?:[2489]\\d|64)\\d{5}",[7],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[246]|9[57]"]]],0,0,0,0,0,0,0,"00"],SD:["249","00","[19]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[19]"],"0$1"]],"0"],SE:["46","00","(?:[26]\\d\\d|9)\\d{9}|[1-9]\\d{8}|[1-689]\\d{7}|[1-4689]\\d{6}|2\\d{5}",[6,7,8,9,10,12],[["(\\d{2})(\\d{2,3})(\\d{2})","$1-$2 $3",["20"],"0$1",0,"$1 $2 $3"],["(\\d{3})(\\d{4})","$1-$2",["9(?:00|39|44|9)"],"0$1",0,"$1 $2"],["(\\d{2})(\\d{3})(\\d{2})","$1-$2 $3",["[12][136]|3[356]|4[0246]|6[03]|90[1-9]"],"0$1",0,"$1 $2 $3"],["(\\d)(\\d{2,3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["8"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2,3})(\\d{2})","$1-$2 $3",["1[2457]|2(?:[247-9]|5[0138])|3[0247-9]|4[1357-9]|5[0-35-9]|6(?:[125689]|4[02-57]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"],"0$1",0,"$1 $2 $3"],["(\\d{3})(\\d{2,3})(\\d{3})","$1-$2 $3",["9(?:00|39|44)"],"0$1",0,"$1 $2 $3"],["(\\d{2})(\\d{2,3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["1[13689]|2[0136]|3[1356]|4[0246]|54|6[03]|90[1-9]"],"0$1",0,"$1 $2 $3 $4"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["10|7"],"0$1",0,"$1 $2 $3 $4"],["(\\d)(\\d{3})(\\d{3})(\\d{2})","$1-$2 $3 $4",["8"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1-$2 $3 $4",["[13-5]|2(?:[247-9]|5[0138])|6(?:[124-689]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{2})(\\d{3})","$1-$2 $3 $4",["9"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1-$2 $3 $4 $5",["[26]"],"0$1",0,"$1 $2 $3 $4 $5"]],"0"],SG:["65","0[0-3]\\d","(?:(?:1\\d|8)\\d\\d|7000)\\d{7}|[3689]\\d{7}",[8,10,11],[["(\\d{4})(\\d{4})","$1 $2",["[369]|8(?:0[1-9]|[1-9])"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]],["(\\d{4})(\\d{4})(\\d{3})","$1 $2 $3",["7"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]]],SH:["290","00","(?:[256]\\d|8)\\d{3}",[4,5],0,0,0,0,0,0,"[256]"],SI:["386","00|10(?:22|66|88|99)","[1-7]\\d{7}|8\\d{4,7}|90\\d{4,6}",[5,6,7,8],[["(\\d{2})(\\d{3,6})","$1 $2",["8[09]|9"],"0$1"],["(\\d{3})(\\d{5})","$1 $2",["59|8"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[37][01]|4[0139]|51|6"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-57]"],"(0$1)"]],"0",0,0,0,0,0,0,"00"],SJ:["47","00","0\\d{4}|(?:[489]\\d|79)\\d{6}",[5,8],0,0,0,0,0,0,"79"],SK:["421","00","[2-689]\\d{8}|[2-59]\\d{6}|[2-5]\\d{5}",[6,7,9],[["(\\d)(\\d{2})(\\d{3,4})","$1 $2 $3",["21"],"0$1"],["(\\d{2})(\\d{2})(\\d{2,3})","$1 $2 $3",["[3-5][1-8]1","[3-5][1-8]1[67]"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{2})","$1/$2 $3 $4",["2"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[689]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1/$2 $3 $4",["[3-5]"],"0$1"]],"0"],SL:["232","00","(?:[237-9]\\d|66)\\d{6}",[8],[["(\\d{2})(\\d{6})","$1 $2",["[236-9]"],"(0$1)"]],"0"],SM:["378","00","(?:0549|[5-7]\\d)\\d{6}",[8,10],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-7]"]],["(\\d{4})(\\d{6})","$1 $2",["0"]]],0,0,"([89]\\d{5})$","0549$1"],SN:["221","00","(?:[378]\\d|93)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[379]"]]]],SO:["252","00","[346-9]\\d{8}|[12679]\\d{7}|[1-5]\\d{6}|[1348]\\d{5}",[6,7,8,9],[["(\\d{2})(\\d{4})","$1 $2",["8[125]"]],["(\\d{6})","$1",["[134]"]],["(\\d)(\\d{6})","$1 $2",["[15]|2[0-79]|3[0-46-8]|4[0-7]"]],["(\\d)(\\d{7})","$1 $2",["(?:2|90)4|[67]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[348]|64|79|90"]],["(\\d{2})(\\d{5,7})","$1 $2",["1|28|6[0-35-9]|7[67]|9[2-9]"]]],"0"],SR:["597","00","(?:[2-5]|[6-8]\\d|90)\\d{5}",[6,7],[["(\\d{2})(\\d{2})(\\d{2})","$1-$2-$3",["56"]],["(\\d{3})(\\d{3})","$1-$2",["[2-5]"]],["(\\d{3})(\\d{4})","$1-$2",["[6-9]"]]]],SS:["211","00","[19]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[19]"],"0$1"]],"0"],ST:["239","00","(?:22|9\\d)\\d{5}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[29]"]]]],SV:["503","00","[25-7]\\d{7}|(?:80\\d|900)\\d{4}(?:\\d{4})?",[7,8,11],[["(\\d{3})(\\d{4})","$1 $2",["[89]"]],["(\\d{4})(\\d{4})","$1 $2",["[25-7]"]],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[89]"]]]],SX:["1","011","7215\\d{6}|(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"(5\\d{6})$|1","721$1",0,"721"],SY:["963","00","[1-359]\\d{8}|[1-5]\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-4]|5[1-3]"],"0$1",1],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[59]"],"0$1",1]],"0"],SZ:["268","00","0800\\d{4}|(?:[237]\\d|900)\\d{6}",[8,9],[["(\\d{4})(\\d{4})","$1 $2",["[0237]"]],["(\\d{5})(\\d{4})","$1 $2",["9"]]]],TA:["290","00","8\\d{3}",[4],0,0,0,0,0,0,"8"],TC:["1","011","(?:[58]\\d\\d|649|900)\\d{7}",[10],0,"1",0,"([2-479]\\d{6})$|1","649$1",0,"649"],TD:["235","00|16","(?:22|30|[689]\\d|77)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[236-9]"]]],0,0,0,0,0,0,0,"00"],TG:["228","00","[279]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[279]"]]]],TH:["66","00[1-9]","(?:001800|[2-57]|[689]\\d)\\d{7}|1\\d{7,9}",[8,9,10,13],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[13-9]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0"],TJ:["992","810","(?:[0-57-9]\\d|66)\\d{7}",[9],[["(\\d{6})(\\d)(\\d{2})","$1 $2 $3",["331","3317"]],["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["44[02-479]|[34]7"]],["(\\d{4})(\\d)(\\d{4})","$1 $2 $3",["3(?:[1245]|3[12])"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["\\d"]]],0,0,0,0,0,0,0,"8~10"],TK:["690","00","[2-47]\\d{3,6}",[4,5,6,7]],TL:["670","00","7\\d{7}|(?:[2-47]\\d|[89]0)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["[2-489]|70"]],["(\\d{4})(\\d{4})","$1 $2",["7"]]]],TM:["993","810","(?:[1-6]\\d|71)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2-$3-$4",["12"],"(8 $1)"],["(\\d{3})(\\d)(\\d{2})(\\d{2})","$1 $2-$3-$4",["[1-5]"],"(8 $1)"],["(\\d{2})(\\d{6})","$1 $2",["[67]"],"8 $1"]],"8",0,0,0,0,0,0,"8~10"],TN:["216","00","[2-57-9]\\d{7}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-57-9]"]]]],TO:["676","00","(?:0800|(?:[5-8]\\d\\d|999)\\d)\\d{3}|[2-8]\\d{4}",[5,7],[["(\\d{2})(\\d{3})","$1-$2",["[2-4]|50|6[09]|7[0-24-69]|8[05]"]],["(\\d{4})(\\d{3})","$1 $2",["0"]],["(\\d{3})(\\d{4})","$1 $2",["[5-9]"]]]],TR:["90","00","4\\d{6}|8\\d{11,12}|(?:[2-58]\\d\\d|900)\\d{7}",[7,10,12,13],[["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["512|8[01589]|90"],"0$1",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["5(?:[0-59]|61)","5(?:[0-59]|61[06])","5(?:[0-59]|61[06]1)"],"0$1",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24][1-8]|3[1-9]"],"(0$1)",1],["(\\d{3})(\\d{3})(\\d{6,7})","$1 $2 $3",["80"],"0$1",1]],"0"],TT:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-46-8]\\d{6})$|1","868$1",0,"868"],TV:["688","00","(?:2|7\\d\\d|90)\\d{4}",[5,6,7],[["(\\d{2})(\\d{3})","$1 $2",["2"]],["(\\d{2})(\\d{4})","$1 $2",["90"]],["(\\d{2})(\\d{5})","$1 $2",["7"]]]],TW:["886","0(?:0[25-79]|19)","[2-689]\\d{8}|7\\d{9,10}|[2-8]\\d{7}|2\\d{6}",[7,8,9,10,11],[["(\\d{2})(\\d)(\\d{4})","$1 $2 $3",["202"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[258]0"],"0$1"],["(\\d)(\\d{3,4})(\\d{4})","$1 $2 $3",["[23568]|4(?:0[02-48]|[1-47-9])|7[1-9]","[23568]|4(?:0[2-48]|[1-47-9])|(?:400|7)[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[49]"],"0$1"],["(\\d{2})(\\d{4})(\\d{4,5})","$1 $2 $3",["7"],"0$1"]],"0",0,0,0,0,0,0,0,"#"],TZ:["255","00[056]","(?:[25-8]\\d|41|90)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[24]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["5"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[67]"],"0$1"]],"0"],UA:["380","00","[89]\\d{9}|[3-9]\\d{8}",[9,10],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6[12][29]|(?:3[1-8]|4[136-8]|5[12457]|6[49])2|(?:56|65)[24]","6[12][29]|(?:35|4[1378]|5[12457]|6[49])2|(?:56|65)[24]|(?:3[1-46-8]|46)2[013-9]"],"0$1"],["(\\d{4})(\\d{5})","$1 $2",["3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6[0135689]|7[4-6])|6(?:[12][3-7]|[459])","3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6(?:[015689]|3[02389])|7[4-6])|6(?:[12][3-7]|[459])"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[3-7]|89|9[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[89]"],"0$1"]],"0",0,0,0,0,0,0,"0~0"],UG:["256","00[057]","800\\d{6}|(?:[29]0|[347]\\d)\\d{7}",[9],[["(\\d{4})(\\d{5})","$1 $2",["202","2024"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["[27-9]|4(?:6[45]|[7-9])"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["[34]"],"0$1"]],"0"],US:["1","011","[2-9]\\d{9}|3\\d{6}",[10],[["(\\d{3})(\\d{4})","$1-$2",["310"],0,1],["(\\d{3})(\\d{3})(\\d{4})","($1) $2-$3",["[2-9]"],0,1,"$1-$2-$3"]],"1",0,0,0,0,0,[["(?:2742|(?:472|983)[2-47-9])\\d{6}|(?:2(?:0[1-35-9]|1[02-9]|2[03-57-9]|3[1459]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-57-9]|1[02-9]|2[013-79]|3[0-24679]|4[167]|5[0-3]|6[01349]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[349]|7[0589]|8[04])|5(?:0[1-57-9]|1[0235-8]|20|3[0149]|4[01]|5[179]|6[1-47]|7[0-5]|8[0256])|6(?:0[1-35-9]|1[024-9]|2[03689]|3[016]|4[0156]|5[01679]|6[0-279]|78|8[0-269])|7(?:0[1-46-8]|1[2-9]|2[04-8]|3[0-247]|4[0378]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[0168]|3[0-2589]|4[03578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[0146-8]|4[01357-9]|5[12469]|7[0-3589]|8[04-69]))[2-9]\\d{6}"],[""],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}"]]],UY:["598","0(?:0|1[3-9]\\d)","0004\\d{2,9}|[1249]\\d{7}|2\\d{3,4}|(?:[49]\\d|80)\\d{5}",[4,5,6,7,8,9,10,11,12,13],[["(\\d{4,5})","$1",["21"]],["(\\d{3})(\\d{3,4})","$1 $2",["0"]],["(\\d{3})(\\d{4})","$1 $2",["[49]0|8"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1"],["(\\d{4})(\\d{4})","$1 $2",["[124]"]],["(\\d{3})(\\d{3})(\\d{2,4})","$1 $2 $3",["0"]],["(\\d{3})(\\d{3})(\\d{3})(\\d{2,4})","$1 $2 $3 $4",["0"]]],"0",0,0,0,0,0,0,"00"," int. "],UZ:["998","00","(?:20|33|[5-9]\\d)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[235-9]"]]]],VA:["39","00","0\\d{5,10}|3[0-8]\\d{7,10}|55\\d{8}|8\\d{5}(?:\\d{2,4})?|(?:1\\d|39)\\d{7,8}",[6,7,8,9,10,11,12],0,0,0,0,0,0,"06698"],VC:["1","011","(?:[58]\\d\\d|784|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","784$1",0,"784"],VE:["58","00","[68]00\\d{7}|(?:[24]\\d|[59]0)\\d{8}",[10],[["(\\d{3})(\\d{7})","$1-$2",["[24-689]"],"0$1"]],"0"],VG:["1","011","(?:284|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-578]\\d{6})$|1","284$1",0,"284"],VI:["1","011","[58]\\d{9}|(?:34|90)0\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","340$1",0,"340"],VN:["84","00","[12]\\d{9}|[135-9]\\d{8}|[16]\\d{7}|[16-8]\\d{6}",[7,8,9,10],[["(\\d{2})(\\d{5})","$1 $2",["80"],"0$1",1],["(\\d{4})(\\d{4,6})","$1 $2",["1"],0,1],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["6"],"0$1",1],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[357-9]"],"0$1",1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["2[48]"],"0$1",1],["(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3",["2"],"0$1",1]],"0"],VU:["678","00","[57-9]\\d{6}|(?:[238]\\d|48)\\d{3}",[5,7],[["(\\d{3})(\\d{4})","$1 $2",["[57-9]"]]]],WF:["681","00","(?:40|72|8\\d{4})\\d{4}|[89]\\d{5}",[6,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[47-9]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]]]],WS:["685","0","(?:[2-6]|8\\d{5})\\d{4}|[78]\\d{6}|[68]\\d{5}",[5,6,7,10],[["(\\d{5})","$1",["[2-5]|6[1-9]"]],["(\\d{3})(\\d{3,7})","$1 $2",["[68]"]],["(\\d{2})(\\d{5})","$1 $2",["7"]]]],XK:["383","00","2\\d{7,8}|3\\d{7,11}|(?:4\\d\\d|[89]00)\\d{5}",[8,9,10,11,12],[["(\\d{3})(\\d{5})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-4]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2|39"],"0$1"],["(\\d{2})(\\d{7,10})","$1 $2",["3"],"0$1"]],"0"],YE:["967","00","(?:1|7\\d)\\d{7}|[1-7]\\d{6}",[7,8,9],[["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-6]|7(?:[24-6]|8[0-7])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["7"],"0$1"]],"0"],YT:["262","00","7093\\d{5}|(?:80|9\\d)\\d{7}|(?:26|63)9\\d{6}",[9],0,"0",0,0,0,0,0,[["269(?:0[0-467]|15|5[0-4]|6\\d|[78]0)\\d{4}"],["(?:639(?:0[0-79]|1[019]|[267]\\d|3[09]|40|5[05-9]|9[04-79])|7093[5-7])\\d{4}"],["80\\d{7}"],0,0,0,0,0,["9(?:(?:39|47)8[01]|769\\d)\\d{4}"]]],ZA:["27","00","[1-79]\\d{8}|8\\d{4,9}",[5,6,7,8,9,10],[["(\\d{2})(\\d{3,4})","$1 $2",["8[1-4]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["8[1-4]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["860"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"]],"0"],ZM:["260","00","800\\d{6}|(?:21|[579]\\d|63)\\d{7}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[28]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["[579]"],"0$1"]],"0"],ZW:["263","00","2(?:[0-57-9]\\d{6,8}|6[0-24-9]\\d{6,7})|[38]\\d{9}|[35-8]\\d{8}|[3-6]\\d{7}|[1-689]\\d{6}|[1-3569]\\d{5}|[1356]\\d{4}",[5,6,7,8,9,10],[["(\\d{3})(\\d{3,5})","$1 $2",["2(?:0[45]|2[278]|[49]8)|3(?:[09]8|17)|6(?:[29]8|37|75)|[23][78]|(?:33|5[15]|6[68])[78]"],"0$1"],["(\\d)(\\d{3})(\\d{2,4})","$1 $2 $3",["[49]"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["80"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["24|8[13-59]|(?:2[05-79]|39|5[45]|6[15-8])2","2(?:02[014]|4|[56]20|[79]2)|392|5(?:42|525)|6(?:[16-8]21|52[013])|8[13-59]"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["2(?:1[39]|2[0157]|[378]|[56][14])|3(?:12|29)","2(?:1[39]|2[0157]|[378]|[56][14])|3(?:123|29)"],"0$1"],["(\\d{4})(\\d{6})","$1 $2",["8"],"0$1"],["(\\d{2})(\\d{3,5})","$1 $2",["1|2(?:0[0-36-9]|12|29|[56])|3(?:1[0-689]|[24-6])|5(?:[0236-9]|1[2-4])|6(?:[013-59]|7[0-46-9])|(?:33|55|6[68])[0-69]|(?:29|3[09]|62)[0-79]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["29[013-9]|39|54"],"0$1"],["(\\d{4})(\\d{3,5})","$1 $2",["(?:25|54)8","258|5483"],"0$1"]],"0"]},nonGeographic:{800:["800",0,"(?:00|[1-9]\\d)\\d{6}",[8],[["(\\d{4})(\\d{4})","$1 $2",["\\d"]]],0,0,0,0,0,0,[0,0,["(?:00|[1-9]\\d)\\d{6}"]]],808:["808",0,"[1-9]\\d{7}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[1-9]"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,0,["[1-9]\\d{7}"]]],870:["870",0,"7\\d{11}|[235-7]\\d{8}",[9,12],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235-7]"]]],0,0,0,0,0,0,[0,["(?:[356]|774[45])\\d{8}|7[6-8]\\d{7}"],0,0,0,0,0,0,["2\\d{8}",[9]]]],878:["878",0,"10\\d{10}",[12],[["(\\d{2})(\\d{5})(\\d{5})","$1 $2 $3",["1"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,["10\\d{10}"]]],881:["881",0,"6\\d{9}|[0-36-9]\\d{8}",[9,10],[["(\\d)(\\d{3})(\\d{5})","$1 $2 $3",["[0-37-9]"]],["(\\d)(\\d{3})(\\d{5,6})","$1 $2 $3",["6"]]],0,0,0,0,0,0,[0,["6\\d{9}|[0-36-9]\\d{8}"]]],882:["882",0,"[13]\\d{6}(?:\\d{2,5})?|[19]\\d{7}|(?:[25]\\d\\d|4)\\d{7}(?:\\d{2})?",[7,8,9,10,11,12],[["(\\d{2})(\\d{5})","$1 $2",["16|342"]],["(\\d{2})(\\d{6})","$1 $2",["49"]],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["1[36]|9"]],["(\\d{2})(\\d{4})(\\d{3})","$1 $2 $3",["3[23]"]],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["16"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["10|23|3(?:[15]|4[57])|4|51"]],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["34"]],["(\\d{2})(\\d{4,5})(\\d{5})","$1 $2 $3",["[1-35]"]]],0,0,0,0,0,0,[0,["342\\d{4}|(?:337|49)\\d{6}|(?:3(?:2|47|7\\d{3})|50\\d{3})\\d{7}",[7,8,9,10,12]],0,0,0,["348[57]\\d{7}",[11]],0,0,["1(?:3(?:0[0347]|[13][0139]|2[035]|4[013568]|6[0459]|7[06]|8[15-8]|9[0689])\\d{4}|6\\d{5,10})|(?:345\\d|9[89])\\d{6}|(?:10|2(?:3|85\\d)|3(?:[15]|[69]\\d\\d)|4[15-8]|51)\\d{8}"]]],883:["883",0,"(?:[1-4]\\d|51)\\d{6,10}",[8,9,10,11,12],[["(\\d{3})(\\d{3})(\\d{2,8})","$1 $2 $3",["[14]|2[24-689]|3[02-689]|51[24-9]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["510"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["21"]],["(\\d{4})(\\d{4})(\\d{4})","$1 $2 $3",["51[13]"]],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[235]"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,["(?:2(?:00\\d\\d|10)|(?:370[1-9]|51\\d0)\\d)\\d{7}|51(?:00\\d{5}|[24-9]0\\d{4,7})|(?:1[0-79]|2[24-689]|3[02-689]|4[0-4])0\\d{5,9}"]]],888:["888",0,"\\d{11}",[11],[["(\\d{3})(\\d{3})(\\d{5})","$1 $2 $3"]],0,0,0,0,0,0,[0,0,0,0,0,0,["\\d{11}"]]],979:["979",0,"[1359]\\d{8}",[9],[["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[1359]"]]],0,0,0,0,0,0,[0,0,0,["[1359]\\d{8}"]]]}};function $t(o,t){var n=Array.prototype.slice.call(t);return n.push(vi),o.apply(this,n)}function el(o,t){o=o.split("-"),t=t.split("-");for(var n=o[0].split("."),r=t[0].split("."),a=0;a<3;a++){var i=Number(n[a]),l=Number(r[a]);if(i>l)return 1;if(l>i)return-1;if(!isNaN(i)&&isNaN(l))return 1;if(isNaN(i)&&!isNaN(l))return-1}return o[1]&&t[1]?o[1]>t[1]?1:o[1]<t[1]?-1:0:!o[1]&&t[1]?1:o[1]&&!t[1]?-1:0}var y0={}.constructor;function Xe(o){return o!=null&&o.constructor===y0}function lt(o){"@babel/helpers - typeof";return lt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},lt(o)}function mn(o,t){if(!(o instanceof t))throw new TypeError("Cannot call a class as a function")}function w0(o,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(o,C0(r.key),r)}}function hn(o,t,n){return t&&w0(o.prototype,t),Object.defineProperty(o,"prototype",{writable:!1}),o}function C0(o){var t=_0(o,"string");return lt(t)=="symbol"?t:t+""}function _0(o,t){if(lt(o)!="object"||!o)return o;var n=o[Symbol.toPrimitive];if(n!==void 0){var r=n.call(o,t);if(lt(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(o)}var x0="1.2.0",k0="1.7.35",tl=" ext. ",S0=/^\d+$/,re=(function(){function o(t){mn(this,o),rl(t),this.metadata=t,al.call(this,t)}return hn(o,[{key:"getCountries",value:function(){return Object.keys(this.metadata.countries).filter(function(n){return n!=="001"})}},{key:"getCountryMetadata",value:function(n){return this.metadata.countries[n]}},{key:"nonGeographic",value:function(){if(!(this.v1||this.v2||this.v3))return this.metadata.nonGeographic||this.metadata.nonGeographical}},{key:"hasCountry",value:function(n){return this.getCountryMetadata(n)!==void 0}},{key:"hasCallingCode",value:function(n){if(this.getCountryCodesForCallingCode(n))return!0;if(this.nonGeographic()){if(this.nonGeographic()[n])return!0}else{var r=this.countryCallingCodes()[n];if(r&&r.length===1&&r[0]==="001")return!0}}},{key:"isNonGeographicCallingCode",value:function(n){return this.nonGeographic()?!!this.nonGeographic()[n]:!this.getCountryCodesForCallingCode(n)}},{key:"country",value:function(n){return this.selectNumberingPlan(n)}},{key:"selectNumberingPlan",value:function(n,r){if(n&&S0.test(n)&&(r=n,n=null),n&&n!=="001"){if(!this.hasCountry(n))throw new Error("Unknown country: ".concat(n));this.numberingPlan=new nl(this.getCountryMetadata(n),this)}else if(r){if(!this.hasCallingCode(r))throw new Error("Unknown calling code: ".concat(r));this.numberingPlan=new nl(this.getNumberingPlanMetadata(r),this)}else this.numberingPlan=void 0;return this}},{key:"getCountryCodesForCallingCode",value:function(n){var r=this.countryCallingCodes()[n];if(r)return r.length===1&&r[0].length===3?void 0:r}},{key:"getCountryCodeForCallingCode",value:function(n){var r=this.getCountryCodesForCallingCode(n);if(r)return r[0]}},{key:"getNumberingPlanMetadata",value:function(n){var r=this.getCountryCodeForCallingCode(n);if(r)return this.getCountryMetadata(r);if(this.nonGeographic()){var a=this.nonGeographic()[n];if(a)return a}else{var i=this.countryCallingCodes()[n];if(i&&i.length===1&&i[0]==="001")return this.metadata.countries["001"]}}},{key:"countryCallingCode",value:function(){return this.numberingPlan.callingCode()}},{key:"IDDPrefix",value:function(){return this.numberingPlan.IDDPrefix()}},{key:"defaultIDDPrefix",value:function(){return this.numberingPlan.defaultIDDPrefix()}},{key:"nationalNumberPattern",value:function(){return this.numberingPlan.nationalNumberPattern()}},{key:"possibleLengths",value:function(){return this.numberingPlan.possibleLengths()}},{key:"formats",value:function(){return this.numberingPlan.formats()}},{key:"nationalPrefixForParsing",value:function(){return this.numberingPlan.nationalPrefixForParsing()}},{key:"nationalPrefixTransformRule",value:function(){return this.numberingPlan.nationalPrefixTransformRule()}},{key:"leadingDigits",value:function(){return this.numberingPlan.leadingDigits()}},{key:"hasTypes",value:function(){return this.numberingPlan.hasTypes()}},{key:"type",value:function(n){return this.numberingPlan.type(n)}},{key:"ext",value:function(){return this.numberingPlan.ext()}},{key:"countryCallingCodes",value:function(){return this.v1?this.metadata.country_phone_code_to_countries:this.metadata.country_calling_codes}},{key:"chooseCountryByCountryCallingCode",value:function(n){return this.selectNumberingPlan(n)}},{key:"hasSelectedNumberingPlan",value:function(){return this.numberingPlan!==void 0}}])})(),nl=(function(){function o(t,n){mn(this,o),this.globalMetadataObject=n,this.metadata=t,al.call(this,n.metadata)}return hn(o,[{key:"callingCode",value:function(){return this.metadata[0]}},{key:"getDefaultCountryMetadataForRegion",value:function(){return this.globalMetadataObject.getNumberingPlanMetadata(this.callingCode())}},{key:"IDDPrefix",value:function(){if(!(this.v1||this.v2))return this.metadata[1]}},{key:"defaultIDDPrefix",value:function(){if(!(this.v1||this.v2))return this.metadata[12]}},{key:"nationalNumberPattern",value:function(){return this.v1||this.v2?this.metadata[1]:this.metadata[2]}},{key:"possibleLengths",value:function(){if(!this.v1)return this.metadata[this.v2?2:3]}},{key:"_getFormats",value:function(n){return n[this.v1?2:this.v2?3:4]}},{key:"formats",value:function(){var n=this,r=this._getFormats(this.metadata)||this._getFormats(this.getDefaultCountryMetadataForRegion())||[];return r.map(function(a){return new B0(a,n)})}},{key:"nationalPrefix",value:function(){return this.metadata[this.v1?3:this.v2?4:5]}},{key:"_getNationalPrefixFormattingRule",value:function(n){return n[this.v1?4:this.v2?5:6]}},{key:"nationalPrefixFormattingRule",value:function(){return this._getNationalPrefixFormattingRule(this.metadata)||this._getNationalPrefixFormattingRule(this.getDefaultCountryMetadataForRegion())}},{key:"_nationalPrefixForParsing",value:function(){return this.metadata[this.v1?5:this.v2?6:7]}},{key:"nationalPrefixForParsing",value:function(){return this._nationalPrefixForParsing()||this.nationalPrefix()}},{key:"nationalPrefixTransformRule",value:function(){return this.metadata[this.v1?6:this.v2?7:8]}},{key:"_getNationalPrefixIsOptionalWhenFormatting",value:function(){return!!this.metadata[this.v1?7:this.v2?8:9]}},{key:"nationalPrefixIsOptionalWhenFormattingInNationalFormat",value:function(){return this._getNationalPrefixIsOptionalWhenFormatting(this.metadata)||this._getNationalPrefixIsOptionalWhenFormatting(this.getDefaultCountryMetadataForRegion())}},{key:"leadingDigits",value:function(){return this.metadata[this.v1?8:this.v2?9:10]}},{key:"types",value:function(){return this.metadata[this.v1?9:this.v2?10:11]}},{key:"hasTypes",value:function(){return this.types()&&this.types().length===0?!1:!!this.types()}},{key:"type",value:function(n){if(this.hasTypes()&&ol(this.types(),n))return new V0(ol(this.types(),n),this)}},{key:"ext",value:function(){return this.v1||this.v2?tl:this.metadata[13]||tl}}])})(),B0=(function(){function o(t,n){mn(this,o),this._format=t,this.metadata=n}return hn(o,[{key:"pattern",value:function(){return this._format[0]}},{key:"format",value:function(){return this._format[1]}},{key:"leadingDigitsPatterns",value:function(){return this._format[2]||[]}},{key:"nationalPrefixFormattingRule",value:function(){return this._format[3]||this.metadata.nationalPrefixFormattingRule()}},{key:"nationalPrefixIsOptionalWhenFormattingInNationalFormat",value:function(){return!!this._format[4]||this.metadata.nationalPrefixIsOptionalWhenFormattingInNationalFormat()}},{key:"nationalPrefixIsMandatoryWhenFormattingInNationalFormat",value:function(){return this.usesNationalPrefix()&&!this.nationalPrefixIsOptionalWhenFormattingInNationalFormat()}},{key:"usesNationalPrefix",value:function(){return!!(this.nationalPrefixFormattingRule()&&!N0.test(this.nationalPrefixFormattingRule()))}},{key:"internationalFormat",value:function(){return this._format[5]||this.format()}}])})(),N0=/^\(?\$1\)?$/,V0=(function(){function o(t,n){mn(this,o),this.type=t,this.metadata=n}return hn(o,[{key:"pattern",value:function(){return this.metadata.v1?this.type:this.type[0]}},{key:"possibleLengths",value:function(){if(!this.metadata.v1)return this.type[1]||this.metadata.possibleLengths()}}])})();function ol(o,t){switch(t){case"FIXED_LINE":return o[0];case"MOBILE":return o[1];case"TOLL_FREE":return o[2];case"PREMIUM_RATE":return o[3];case"PERSONAL_NUMBER":return o[4];case"VOICEMAIL":return o[5];case"UAN":return o[6];case"PAGER":return o[7];case"VOIP":return o[8];case"SHARED_COST":return o[9]}}function rl(o){if(!o)throw new Error("[libphonenumber-js] `metadata` argument not passed. Check your arguments.");if(!Xe(o)||!Xe(o.countries))throw new Error("[libphonenumber-js] `metadata` argument was passed but it's not a valid metadata. Must be an object having `.countries` child object property. Got ".concat(Xe(o)?"an object of shape: { "+Object.keys(o).join(", ")+" }":"a "+P0(o)+": "+o,"."))}var P0=function(t){return lt(t)};function gn(o,t){if(t=new re(t),t.hasCountry(o))return t.selectNumberingPlan(o).countryCallingCode();throw new Error("Unknown country: ".concat(o))}function I0(o,t){return t.countries.hasOwnProperty(o)}function al(o){var t=o.version;typeof t=="number"?(this.v1=t===1,this.v2=t===2,this.v3=t===3,this.v4=t===4):t?el(t,x0)===-1?this.v2=!0:el(t,k0)===-1?this.v3=!0:this.v4=!0:this.v1=!0}function yt(o,t,n){return T0(o,t,void 0,n)}function T0(o,t,n,r){t&&(r=new re(r.metadata),r.selectNumberingPlan(t));var a=r.type(n),i=a&&a.possibleLengths()||r.possibleLengths();if(!i)return"IS_POSSIBLE";var l=o.length,s=i[0];return s===l?"IS_POSSIBLE":s>l?"TOO_SHORT":i[i.length-1]<l?"TOO_LONG":i.indexOf(l,1)>=0?"IS_POSSIBLE":"INVALID_LENGTH"}function E0(o,t,n){if(t===void 0&&(t={}),n=new re(n),t.v2){if(!o.countryCallingCode)throw new Error("Invalid phone number object passed");n.selectNumberingPlan(o.countryCallingCode)}else{if(!o.phone)return!1;if(o.country){if(!n.hasCountry(o.country))throw new Error("Unknown country: ".concat(o.country));n.selectNumberingPlan(o.country)}else{if(!o.countryCallingCode)throw new Error("Invalid phone number object passed");n.selectNumberingPlan(o.countryCallingCode)}}if(n.possibleLengths())return il(o.phone||o.nationalNumber,o.country,n);if(o.countryCallingCode&&n.isNonGeographicCallingCode(o.countryCallingCode))return!0;throw new Error('Missing "possibleLengths" in metadata. Perhaps the metadata has been generated before v1.0.18.')}function il(o,t,n){return yt(o,t,n)==="IS_POSSIBLE"}function Fe(o,t){return o=o||"",new RegExp("^(?:"+t+")$").test(o)}function M0(o,t){var n=typeof Symbol<"u"&&o[Symbol.iterator]||o["@@iterator"];if(n)return(n=n.call(o)).next.bind(n);if(Array.isArray(o)||(n=D0(o))||t){n&&(o=n);var r=0;return function(){return r>=o.length?{done:!0}:{done:!1,value:o[r++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
2
2
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function D0(o,t){if(o){if(typeof o=="string")return ll(o,t);var n={}.toString.call(o).slice(8,-1);return n==="Object"&&o.constructor&&(n=o.constructor.name),n==="Map"||n==="Set"?Array.from(o):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ll(o,t):void 0}}function ll(o,t){(t==null||t>o.length)&&(t=o.length);for(var n=0,r=Array(t);n<t;n++)r[n]=o[n];return r}var F0=["MOBILE","PREMIUM_RATE","TOLL_FREE","SHARED_COST","VOIP","PERSONAL_NUMBER","PAGER","UAN","VOICEMAIL"];function Co(o,t,n){if(t=t||{},!(!o.country&&!o.countryCallingCode)){n=new re(n),n.selectNumberingPlan(o.country,o.countryCallingCode);var r=t.v2?o.nationalNumber:o.phone;if(Fe(r,n.nationalNumberPattern())){if(_o(r,"FIXED_LINE",n))return n.type("MOBILE")&&n.type("MOBILE").pattern()===""||!n.type("MOBILE")||_o(r,"MOBILE",n)?"FIXED_LINE_OR_MOBILE":"FIXED_LINE";for(var a=M0(F0),i;!(i=a()).done;){var l=i.value;if(_o(r,l,n))return l}}}}function _o(o,t,n){return t=n.type(t),!t||!t.pattern()||t.possibleLengths()&&t.possibleLengths().indexOf(o.length)<0?!1:Fe(o,t.pattern())}function R0(o,t,n){if(t=t||{},n=new re(n),n.selectNumberingPlan(o.country,o.countryCallingCode),n.hasTypes())return Co(o,t,n.metadata)!==void 0;var r=t.v2?o.nationalNumber:o.phone;return Fe(r,n.nationalNumberPattern())}function O0(o,t,n){var r=new re(n),a=r.getCountryCodesForCallingCode(o);return a?a.filter(function(i){return A0(t,i,n)}):[]}function A0(o,t,n){var r=new re(n);return r.selectNumberingPlan(t),r.numberingPlan.possibleLengths().indexOf(o.length)>=0}var xo=2,z0=17,L0=3,ge="0-90-9٠-٩۰-۹",j0="-‐-―−ー-",G0="//",H0="..",q0="  ­​⁠ ",U0="()()[]\\[\\]",W0="~⁓∼~",ke="".concat(j0).concat(G0).concat(H0).concat(q0).concat(U0).concat(W0),bn="++",K0=new RegExp("(["+ge+"])");function sl(o,t,n,r){if(t){var a=new re(r);a.selectNumberingPlan(t,n);var i=new RegExp(a.IDDPrefix());if(o.search(i)===0){o=o.slice(o.match(i)[0].length);var l=o.match(K0);if(!(l&&l[1]!=null&&l[1].length>0&&l[1]==="0"))return o}}}function ko(o,t){if(o&&t.numberingPlan.nationalPrefixForParsing()){var n=new RegExp("^(?:"+t.numberingPlan.nationalPrefixForParsing()+")"),r=n.exec(o);if(r){var a,i,l=r.length-1,s=l>0&&r[l];if(t.nationalPrefixTransformRule()&&s)a=o.replace(n,t.nationalPrefixTransformRule()),l>1&&(i=r[1]);else{var d=r[0];a=o.slice(d.length),s&&(i=r[1])}var c;if(s){var u=o.indexOf(r[1]),f=o.slice(0,u);f===t.numberingPlan.nationalPrefix()&&(c=t.numberingPlan.nationalPrefix())}else c=r[0];return{nationalNumber:a,nationalPrefix:c,carrierCode:i}}}return{nationalNumber:o}}function Y0(o,t){var n=typeof Symbol<"u"&&o[Symbol.iterator]||o["@@iterator"];if(n)return(n=n.call(o)).next.bind(n);if(Array.isArray(o)||(n=X0(o))||t){n&&(o=n);var r=0;return function(){return r>=o.length?{done:!0}:{done:!1,value:o[r++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
3
3
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function X0(o,t){if(o){if(typeof o=="string")return dl(o,t);var n={}.toString.call(o).slice(8,-1);return n==="Object"&&o.constructor&&(n=o.constructor.name),n==="Map"||n==="Set"?Array.from(o):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?dl(o,t):void 0}}function dl(o,t){(t==null||t>o.length)&&(t=o.length);for(var n=0,r=Array(t);n<t;n++)r[n]=o[n];return r}function cl(o,t){var n=t.countries,r=t.metadata;r=new re(r);for(var a=Y0(n),i;!(i=a()).done;){var l=i.value;if(r.selectNumberingPlan(l),r.leadingDigits()){if(o&&o.search(r.leadingDigits())===0)return l}else if(Co({phone:o,country:l},void 0,r.metadata))return l}}function So(o,t){var n=t.nationalNumber,r=t.metadata,a=r.getCountryCodesForCallingCode(o);if(a)return a.length===1?a[0]:cl(n,{countries:a,metadata:r.metadata})}function Bo(o,t,n){var r=ko(o,n),a=r.carrierCode,i=r.nationalNumber;if(i!==o){if(!Z0(o,i,n))return{nationalNumber:o};if(n.numberingPlan.possibleLengths()&&(t||(t=So(n.numberingPlan.callingCode(),{nationalNumber:i,metadata:n})),!J0(i,t,n)))return{nationalNumber:o}}return{nationalNumber:i,carrierCode:a}}function Z0(o,t,n){return!(Fe(o,n.nationalNumberPattern())&&!Fe(t,n.nationalNumberPattern()))}function J0(o,t,n){switch(yt(o,t,n)){case"TOO_SHORT":case"INVALID_LENGTH":return!1;default:return!0}}function ul(o,t,n,r,a){var i=t||n?gn(t||n,a):r;if(o.indexOf(i)===0){a=new re(a),a.selectNumberingPlan(t||n,i);var l=o.slice(i.length),s=Bo(l,t,a),d=s.nationalNumber,c=Bo(o,t,a),u=c.nationalNumber;if(!Fe(u,a.nationalNumberPattern())&&Fe(d,a.nationalNumberPattern())||yt(u,t,a)==="TOO_LONG")return{countryCallingCode:i,number:l}}return{number:o}}function No(o,t,n,r,a){if(!o)return{};var i;if(o[0]!=="+"){var l=sl(o,t||n,r,a);if(l&&l!==o)i=!0,o="+"+l;else{if(t||n||r){var s=ul(o,t,n,r,a),d=s.countryCallingCode,c=s.number;if(d)return{countryCallingCodeSource:"FROM_NUMBER_WITHOUT_PLUS_SIGN",countryCallingCode:d,number:c}}return{number:o}}}if(o[1]==="0")return{};a=new re(a);for(var u=2;u-1<=L0&&u<=o.length;){var f=o.slice(1,u);if(a.hasCallingCode(f))return a.selectNumberingPlan(f),{countryCallingCodeSource:i?"FROM_NUMBER_WITH_IDD":"FROM_NUMBER_WITH_PLUS_SIGN",countryCallingCode:f,number:o.slice(u)};u++}return{}}function fl(o){return o.replace(new RegExp("[".concat(ke,"]+"),"g")," ").trim()}var pl=/(\$\d)/;function ml(o,t,n){var r=n.useInternationalFormat,a=n.withNationalPrefix;n.carrierCode,n.metadata;var i=o.replace(new RegExp(t.pattern()),r?t.internationalFormat():a&&t.nationalPrefixFormattingRule()?t.format().replace(pl,t.nationalPrefixFormattingRule()):t.format());return r?fl(i):i}var Q0=/^[\d]+(?:[~\u2053\u223C\uFF5E][\d]+)?$/;function v0(o,t,n){var r=new re(n);if(r.selectNumberingPlan(o,t),r.defaultIDDPrefix())return r.defaultIDDPrefix();if(Q0.test(r.IDDPrefix()))return r.IDDPrefix()}var ep=";ext=",st=function(t){return"([".concat(ge,"]{1,").concat(t,"})")};function hl(o){var t="20",n="15",r="9",a="6",i="[  \\t,]*",l="[:\\..]?[  \\t,-]*",s="#?",d="(?:e?xt(?:ensi(?:ó?|ó))?n?|e?xtn?|доб|anexo)",c="(?:[xx##~~]|int|int)",u="[- ]+",f="[  \\t]*",p="(?:,{2}|;)",$=ep+st(t),C=i+d+l+st(t)+s,y=i+c+l+st(r)+s,m=u+st(a)+"#",w=f+p+l+st(n)+s,k=f+"(?:,)+"+l+st(r)+s;return $+"|"+C+"|"+y+"|"+m+"|"+w+"|"+k}var tp="["+ge+"]{"+xo+"}",np="["+bn+"]{0,1}(?:["+ke+"]*["+ge+"]){3,}["+ke+ge+"]*",op=new RegExp("^["+bn+"]{0,1}(?:["+ke+"]*["+ge+"]){1,2}$","i"),rp=np+"(?:"+hl()+")?",ap=new RegExp("^"+tp+"$|^"+rp+"$","i");function ip(o){return o.length>=xo&&ap.test(o)}function lp(o){return op.test(o)}function sp(o){var t=o.number,n=o.ext;if(!t)return"";if(t[0]!=="+")throw new Error('"formatRFC3966()" expects "number" to be in E.164 format.');return"tel:".concat(t).concat(n?";ext="+n:"")}var gl={formatExtension:function(t,n,r){return"".concat(t).concat(r.ext()).concat(n)}};function dp(o,t,n,r){if(n?n=fp({},gl,n):n=gl,r=new re(r),o.country&&o.country!=="001"){if(!r.hasCountry(o.country))throw new Error("Unknown country: ".concat(o.country));r.selectNumberingPlan(o.country)}else if(o.countryCallingCode)r.selectNumberingPlan(o.countryCallingCode);else return o.phone||"";var a=r.countryCallingCode(),i=n.v2?o.nationalNumber:o.phone,l;switch(t){case"NATIONAL":return i?(l=$n(i,o.carrierCode,"NATIONAL",r,n),Vo(l,o.ext,r,n.formatExtension)):"";case"INTERNATIONAL":return i?(l=$n(i,null,"INTERNATIONAL",r,n),l="+".concat(a," ").concat(l),Vo(l,o.ext,r,n.formatExtension)):"+".concat(a);case"E.164":return"+".concat(a).concat(i);case"RFC3966":return sp({number:"+".concat(a).concat(i),ext:o.ext});case"IDD":if(!n.fromCountry)return;var s=up(i,o.carrierCode,a,n.fromCountry,r);return s?Vo(s,o.ext,r,n.formatExtension):void 0;default:throw new Error('Unknown "format" argument passed to "formatNumber()": "'.concat(t,'"'))}}function $n(o,t,n,r,a){var i=cp(r.formats(),o);return i?ml(o,i,{useInternationalFormat:n==="INTERNATIONAL",withNationalPrefix:!(i.nationalPrefixIsOptionalWhenFormattingInNationalFormat()&&a&&a.nationalPrefix===!1),carrierCode:t,metadata:r}):o}function cp(o,t){return pp(o,function(n){if(n.leadingDigitsPatterns().length>0){var r=n.leadingDigitsPatterns()[n.leadingDigitsPatterns().length-1];if(t.search(r)!==0)return!1}return Fe(t,n.pattern())})}function Vo(o,t,n,r){return t?r(o,t,n):o}function up(o,t,n,r,a){var i=gn(r,a.metadata);if(i===n){var l=$n(o,t,"NATIONAL",a);return n==="1"?n+" "+l:l}var s=v0(r,void 0,a.metadata);if(s)return"".concat(s," ").concat(n," ").concat($n(o,null,"INTERNATIONAL",a))}function fp(){for(var o=1,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];for(;o<n.length;){if(n[o])for(var a in n[o])n[0][a]=n[o][a];o++}return n[0]}function pp(o,t){for(var n=0;n<o.length;){if(t(o[n]))return o[n];n++}}function wt(o){"@babel/helpers - typeof";return wt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},wt(o)}function bl(o,t){var n=Object.keys(o);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(o);t&&(r=r.filter(function(a){return Object.getOwnPropertyDescriptor(o,a).enumerable})),n.push.apply(n,r)}return n}function $l(o){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?bl(Object(n),!0).forEach(function(r){mp(o,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(n)):bl(Object(n)).forEach(function(r){Object.defineProperty(o,r,Object.getOwnPropertyDescriptor(n,r))})}return o}function mp(o,t,n){return(t=yl(t))in o?Object.defineProperty(o,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):o[t]=n,o}function hp(o,t){if(!(o instanceof t))throw new TypeError("Cannot call a class as a function")}function gp(o,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(o,yl(r.key),r)}}function bp(o,t,n){return t&&gp(o.prototype,t),Object.defineProperty(o,"prototype",{writable:!1}),o}function yl(o){var t=$p(o,"string");return wt(t)=="symbol"?t:t+""}function $p(o,t){if(wt(o)!="object"||!o)return o;var n=o[Symbol.toPrimitive];if(n!==void 0){var r=n.call(o,t);if(wt(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(o)}var wl=(function(){function o(t,n,r){if(hp(this,o),!t)throw new TypeError("First argument is required");if(typeof t!="string")throw new TypeError("First argument must be a string");if(t[0]==="+"&&!n)throw new TypeError("`metadata` argument not passed");if(Xe(n)&&Xe(n.countries)){r=n;var a=t;if(!Cp.test(a))throw new Error('Invalid `number` argument passed: must consist of a "+" followed by digits');var i=No(a,void 0,void 0,void 0,r),l=i.countryCallingCode,s=i.number;if(n=s,t=l,!n)throw new Error("Invalid `number` argument passed: too short")}if(!n)throw new TypeError("`nationalNumber` argument is required");if(typeof n!="string")throw new TypeError("`nationalNumber` argument must be a string");rl(r);var d=wp(t,r),c=d.country,u=d.countryCallingCode;this.country=c,this.countryCallingCode=u,this.nationalNumber=n,this.number="+"+this.countryCallingCode+this.nationalNumber,this.getMetadata=function(){return r}}return bp(o,[{key:"setExt",value:function(n){this.ext=n}},{key:"getPossibleCountries",value:function(){return this.country?[this.country]:O0(this.countryCallingCode,this.nationalNumber,this.getMetadata())}},{key:"isPossible",value:function(){return E0(this,{v2:!0},this.getMetadata())}},{key:"isValid",value:function(){return R0(this,{v2:!0},this.getMetadata())}},{key:"isNonGeographic",value:function(){var n=new re(this.getMetadata());return n.isNonGeographicCallingCode(this.countryCallingCode)}},{key:"isEqual",value:function(n){return this.number===n.number&&this.ext===n.ext}},{key:"getType",value:function(){return Co(this,{v2:!0},this.getMetadata())}},{key:"format",value:function(n,r){return dp(this,n,r?$l($l({},r),{},{v2:!0}):{v2:!0},this.getMetadata())}},{key:"formatNational",value:function(n){return this.format("NATIONAL",n)}},{key:"formatInternational",value:function(n){return this.format("INTERNATIONAL",n)}},{key:"getURI",value:function(n){return this.format("RFC3966",n)}}])})(),yp=function(t){return/^[A-Z]{2}$/.test(t)};function wp(o,t){var n,r,a=new re(t);return yp(o)?(n=o,a.selectNumberingPlan(n),r=a.countryCallingCode()):r=o,{country:n,countryCallingCode:r}}var Cp=/^\+\d+$/;function Po(o){"@babel/helpers - typeof";return Po=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Po(o)}function _p(o,t,n){return Object.defineProperty(o,"prototype",{writable:!1}),o}function xp(o,t){if(!(o instanceof t))throw new TypeError("Cannot call a class as a function")}function kp(o,t,n){return t=_t(t),Sp(o,To()?Reflect.construct(t,n||[],_t(o).constructor):t.apply(o,n))}function Sp(o,t){if(t&&(Po(t)=="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Bp(o)}function Bp(o){if(o===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return o}function Np(o,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(t&&t.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),t&&Ct(o,t)}function Io(o){var t=typeof Map=="function"?new Map:void 0;return Io=function(r){if(r===null||!Pp(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(t!==void 0){if(t.has(r))return t.get(r);t.set(r,a)}function a(){return Vp(r,arguments,_t(this).constructor)}return a.prototype=Object.create(r.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),Ct(a,r)},Io(o)}function Vp(o,t,n){if(To())return Reflect.construct.apply(null,arguments);var r=[null];r.push.apply(r,t);var a=new(o.bind.apply(o,r));return n&&Ct(a,n.prototype),a}function To(){try{var o=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(To=function(){return!!o})()}function Pp(o){try{return Function.toString.call(o).indexOf("[native code]")!==-1}catch{return typeof o=="function"}}function Ct(o,t){return Ct=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},Ct(o,t)}function _t(o){return _t=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},_t(o)}var Ie=(function(o){function t(n){var r;return xp(this,t),r=kp(this,t,[n]),Object.setPrototypeOf(r,t.prototype),r.name=r.constructor.name,r}return Np(t,o),_p(t)})(Io(Error)),Cl=new RegExp("(?:"+hl()+")$","i");function Ip(o){var t=o.search(Cl);if(t<0)return{};for(var n=o.slice(0,t),r=o.match(Cl),a=1;a<r.length;){if(r[a])return{number:n,ext:r[a]};a++}}function Tp(o,t){var n=typeof Symbol<"u"&&o[Symbol.iterator]||o["@@iterator"];if(n)return(n=n.call(o)).next.bind(n);if(Array.isArray(o)||(n=Ep(o))||t){n&&(o=n);var r=0;return function(){return r>=o.length?{done:!0}:{done:!1,value:o[r++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
4
4
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Ep(o,t){if(o){if(typeof o=="string")return _l(o,t);var n={}.toString.call(o).slice(8,-1);return n==="Object"&&o.constructor&&(n=o.constructor.name),n==="Map"||n==="Set"?Array.from(o):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_l(o,t):void 0}}function _l(o,t){(t==null||t>o.length)&&(t=o.length);for(var n=0,r=Array(t);n<t;n++)r[n]=o[n];return r}var Mp={0:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9","0":"0","1":"1","2":"2","3":"3","4":"4","5":"5","6":"6","7":"7","8":"8","9":"9","٠":"0","١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","۰":"0","۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9"};function xl(o){return Mp[o]}function yn(o){for(var t="",n=Tp(o.split("")),r;!(r=n()).done;){var a=r.value,i=xl(a);i&&(t+=i)}return t}function Dp(o,t){var n=typeof Symbol<"u"&&o[Symbol.iterator]||o["@@iterator"];if(n)return(n=n.call(o)).next.bind(n);if(Array.isArray(o)||(n=Fp(o))||t){n&&(o=n);var r=0;return function(){return r>=o.length?{done:!0}:{done:!1,value:o[r++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.